1 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4 (site.exp): Assign abs_srcdir to tcl's srcdir.
6 2016-02-04 Yao Qi <yao.qi@linaro.org>
8 * gdb.base/foll-exec-mode.c: Include limits.h.
9 (main): Add parameters argc and argv. Get directory from
11 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13 * gdb.base/foll-exec.c: Include limits.h.
14 (main): Add parameters argc and argv.
15 Get directory from argv[0].
16 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17 Adjust tests on the number of lines as source code changed.
18 * gdb.base/foll-vfork-exit.c: Include limits.h.
19 (main): Add one line of statement before vfork.
20 * gdb.base/foll-vfork.c: Include limits.h and string.h.
21 (main): Add parameters argc and argv. Get directory from
23 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
24 (setup_gdb): Set tbreak to skip some source lines.
25 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
26 (main): Add parameters argc and argv. Get directory from
28 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
30 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
31 (main): Add parameters argc and argv. Get directory from
33 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
36 2016-02-01 Doug Evans <dje@google.com>
38 * gdb.base/skip.exp: Clean up multiple references to same test name.
40 2016-02-01 Pedro Alves <palves@redhat.com>
43 * gdb.threads/forking-threads-plus-breakpoint.exp
44 (displaced_stepping_supported): New global.
45 (probe_displaced_stepping_support): New procedure.
46 (do_test): Add 'displaced' parameter, and use it.
47 (top level): Check for displaced stepping support. Add displaced
48 stepping on/off testing axis.
50 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
52 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
53 pointer. Don't perform further tests on the unassociated pointer
54 if the first test fails.
56 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
58 * gdb.base/max-value-size.c: New file.
59 * gdb.base/max-value-size.exp: New file.
60 * gdb.base/huge.exp: Disable max-value-size for this test.
62 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
64 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
66 2016-01-28 Yao Qi <yao.qi@linaro.org>
68 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
70 2016-01-25 Pedro Alves <palves@redhat.com>
73 * gdb.base/fork-running-state.c: New file.
74 * gdb.base/fork-running-state.exp: New file.
76 2016-01-25 Pedro Alves <palves@redhat.com>
79 * gdb.base/catch-fork-kill.c: New file.
80 * gdb.base/catch-fork-kill.exp: New file.
82 2016-01-25 Pedro Alves <palves@redhat.com>
84 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
85 Delete, moved to lib/gdb.exp.
86 * gdb.threads/forking-threads-plus-breakpoint.exp
87 (foreach_with_prefix): Likewise.
88 * gdb.threads/process-dies-while-handling-bp.exp
89 (foreach_with_prefix): Likewise.
90 * lib/gdb.exp (foreach_with_prefix): New procedure.
92 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
94 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
95 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
97 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
99 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
102 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
103 Pedro Alves <palves@redhat.com>
105 Fix testsuite compatibility with Guile.
106 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
109 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
111 Fix testsuite compatibility with Guile.
112 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
113 (thread 1): New test for backtrace through signal handler.
115 2016-01-22 Yao Qi <yao.qi@linaro.org>
118 * gdb.base/multi-forks.c: Include
119 ../lib/unbuffer_output.c
120 (main): Call gdb_unbuffer_output.
122 2016-01-21 Doug Evans <dje@google.com>
124 * lib/ada.exp (gdb_compile_ada): Fix typo.
126 2016-01-21 Joel Brobecker <brobecker@adacore.com>
128 * gdb.base/break-fun-addr.exp: New file.
129 * gdb.base/break-fun-addr1.c: New file.
130 * gdb.base/break-fun-addr2.c: New file.
132 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
134 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
135 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
138 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
140 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
141 when GDB can not set the vector return value. Add more comments
144 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
146 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
149 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
151 * Makefile.in (DO_RUNTEST): Add --status and update usages.
153 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
155 * Makefile.in (check-single): Pass --status to runtest.
156 (check/%.exp): Likewise.
158 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
160 * Makefile.in (check-parallel): Propagate return code from make
163 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
165 * gdb.trace/ftrace.exp: Fix expected message on continue.
166 * gdb.trace/pending.exp: Fix expected message on continue.
167 * gdb.trace/trace-break.exp: Fix expected message on continue.
169 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
171 * lib/gdb.exp (gdb_test): Remove unused global references.
173 2016-01-18 Pedro Alves <palves@redhat.com>
175 * gdb.base/async-shell.exp: Adjust expected output.
176 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
177 * gdb.base/siginfo-thread.exp: Adjust expected output.
178 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
179 * gdb.java/jnpe.exp: Adjust expected output.
180 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
181 * gdb.threads/continue-pending-status.exp: Adjust expected output.
182 * gdb.threads/leader-exit.exp: Adjust expected output.
183 * gdb.threads/manythreads.exp: Adjust expected output.
184 * gdb.threads/pthreads.exp: Adjust expected output.
185 * gdb.threads/schedlock.exp: Adjust expected output.
186 * gdb.threads/siginfo-threads.exp: Adjust expected output.
187 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
189 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
191 * gdb.threads/sigthread.exp: Adjust expected output.
192 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
194 2016-01-18 Yao Qi <yao.qi@linaro.org>
196 * gdb.guile/scm-section-script.c: Replace @progbits with
198 * gdb.python/py-section-script.c: Likewise.
200 2016-01-15 Pedro Alves <palves@redhat.com>
202 * gdb.multi/tids.exp: Test star wildcard ranges.
204 2016-01-15 Pedro Alves <palves@redhat.com>
206 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
207 command from "thread apply" invocation.
208 (thr_apply_info_thr_invalid): Default the expected output to the
210 (top level): Add tests that use convenience variables. Add tests
211 for "thread apply" with a valid TID list, but missing the command.
213 2016-01-13 Pedro Alves <palves@redhat.com>
215 * gdb.base/default.exp: Expect $_gthread as well.
216 * gdb.multi/tids.exp: Test $_gthread.
217 * gdb.threads/thread-specific.exp: Test $_gthread.
219 2016-01-13 Pedro Alves <palves@redhat.com>
221 * gdb.multi/tids.exp: Test "info threads -gid".
223 2016-01-13 Pedro Alves <palves@redhat.com>
225 * gdb.multi/tids.exp: Test InferiorThread.global_num and
227 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
229 2016-01-07 Pedro Alves <palves@redhat.com>
231 * gdb.base/break.exp: Adjust to output changes.
232 * gdb.base/hbreak2.exp: Likewise.
233 * gdb.base/sepdebug.exp: Likewise.
234 * gdb.base/watch_thread_num.exp: Likewise.
235 * gdb.linespec/keywords.exp: Likewise.
236 * gdb.multi/info-threads.exp: Likewise.
237 * gdb.threads/thread-find.exp: Likewise.
238 * gdb.multi/tids.c: New file.
239 * gdb.multi/tids.exp: New file.
241 2016-01-13 Pedro Alves <palves@redhat.com>
243 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
245 2016-01-13 Pedro Alves <palves@redhat.com>
247 * gdb.base/default.exp: Expect $_inferior as well.
248 * gdb.multi/base.exp: Test $_inferior.
250 2016-01-13 Pedro Alves <palves@redhat.com>
253 * gdb.base/catch-signal-siginfo-cond.c: New file.
254 * gdb.base/catch-signal-siginfo-cond.exp: New file.
256 2016-01-12 Josh Stone <jistone@redhat.com>
257 Philippe Waroquiers <philippe.waroquiers@skynet.be>
259 * gdb.base/catch-syscall.c (do_execve): New variable.
260 (main): Conditionally trigger an execve.
261 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
262 (test_catch_syscall_execve): New, check entry/return across execve.
263 (do_syscall_tests): Call test_catch_syscall_execve.
265 2016-01-12 Pedro Alves <palves@redhat.com>
267 * gdb.base/random-signal.exp (do_test): New procedure, with body
268 of testcase moved in.
270 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
271 Pedro Alves <palves@redhat.com>
273 * gdb.base/funcargs.exp (finish from indirectly called function):
274 Reintroduce the case for 'First'.
276 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
277 Pedro Alves <palves@redhat.com>
279 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
280 (tcatch_vfork_then_child_follow_exec)
281 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
284 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
286 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
287 and repeats to unlimited.
288 * gdb.python/py-value.exp: Likewise.
289 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
290 and repeats to unlimited.
292 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
294 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
295 and reordering the functions.
296 * gdb.multi/hangout.c: Likewise.
297 * gdb.multi/hello.c: Likewise.
299 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
301 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
303 (SingleStatisticTestResult.report): Use dict.keys instead of
306 2016-01-06 Pedro Alves <palves@redhat.com>
308 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
310 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
312 * gdb.btrace/dlopen.exp: New.
313 * gdb.btrace/dlopen.c: New.
314 * gdb.btrace/dlopen-dso.c: New.
316 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
318 * lib/gdb.exp (gdb_test): Update comments to clarify that the
319 PATTERN argument is optional.
321 2015-12-24 Joel Brobecker <brobecker@adacore.com>
323 * lib/ada.exp (target_compile_ada_from_dir): New function.
324 (gdb_compile_ada): Reimplement avoiding the use of project files.
325 * gdb.ada/gnat_ada.gpr: Delete.
326 * gdb.ada/cond_lang.exp: Adjust test to make path before
328 * gdb.ada/small_reg_param.exp: Likewise.
330 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
332 * gdb.base/foll-vork.exp: Remove HP-UX special case.
334 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
336 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
339 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
341 * gdb.base/break.exp: Remove dead code.
342 * gdb.base/sepdebug.exp: Likewise.
344 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
346 * gdb.asm/asm-source.exp: Remove HP-UX references.
347 * gdb.base/annota1.exp: Likewise.
348 * gdb.base/annota3.exp: Likewise.
349 * gdb.base/attach.exp: Likewise.
350 * gdb.base/bigcore.exp: Likewise.
351 * gdb.base/break.exp: Likewise.
352 * gdb.base/call-ar-st.exp: Likewise.
353 * gdb.base/callfuncs.exp: Likewise.
354 * gdb.base/catch-fork-static.exp: Likewise.
355 * gdb.base/display.exp: Likewise.
356 * gdb.base/foll-exec-mode.exp: Likewise.
357 * gdb.base/foll-exec.exp: Likewise.
358 * gdb.base/foll-fork.exp: Likewise.
359 * gdb.base/foll-vfork.exp: Likewise.
360 * gdb.base/funcargs.exp: Likewise.
361 * gdb.base/hbreak2.exp: Likewise.
362 * gdb.base/inferior-died.exp: Likewise.
363 * gdb.base/interrupt.exp: Likewise.
364 * gdb.base/multi-forks.exp: Likewise.
365 * gdb.base/nodebug.exp: Likewise.
366 * gdb.base/sepdebug.exp: Likewise.
367 * gdb.base/solib1.c: Likewise.
368 * gdb.base/step-test.exp: Likewise.
369 * gdb.mi/non-stop.c: Likewise.
370 * gdb.mi/pthreads.c: Likewise.
371 * gdb.multi/bkpt-multi-exec.ex: Likewise.
372 * gdb.threads/pthreads.c: Likewise.
373 * gdb.threads/staticthreads.exp: Likewise.
374 * lib/future.exp: Likewise.
375 * lib/gdb.exp: Likewise.
376 * gdb.base/so-indr-cl.c: Remove.
377 * gdb.base/so-indr-cl.exp: Likewise.
378 * gdb.base/solib.c: Likewise.
379 * gdb.base/solib.exp: Likewise.
380 * gdb.base/solib2.c: Likewise.
382 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
384 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
385 * gdb.base/call-ar-st.exp: Likewise.
386 * gdb.base/callfuncs.exp: Likewise.
387 * gdb.base/condbreak.exp: Likewise.
388 * gdb.base/constvars.exp: Likewise.
389 * gdb.base/hbreak2.exp: Likewise.
390 * gdb.base/langs.exp: Likewise.
391 * gdb.base/list.exp: Likewise.
392 * gdb.base/long_long.exp: Likewise.
393 * gdb.base/ptype.exp: Likewise.
394 * gdb.base/scope.exp: Likewise.
395 * gdb.base/signals.exp: Likewise.
396 * gdb.base/so-impl-ld.exp: Likewise.
397 * gdb.base/varargs.exp: Likewise.
398 * gdb.base/volatile.exp: Likewise.
399 * gdb.base/whatis.exp: Likewise.
400 * gdb.cp/cplusfuncs.exp: Likewise.
401 * gdb.cp/inherit.exp: Likewise.
402 * gdb.cp/local.exp: Likewise.
403 * gdb.cp/member-ptr.exp: Likewise.
404 * gdb.cp/method.exp: Likewise.
405 * gdb.cp/overload.exp: Likewise.
406 * gdb.cp/templates.exp: Likewise.
407 * gdb.stabs/weird.exp: Likewise.
408 * lib/compiler.c: Likewise.
409 * lib/compiler.cc: Likewise.
410 * lib/cp-support.exp: Likewise.
411 * lib/gdb.exp: Likewise.
413 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
415 * configure.ac: Remove HP-UX case.
416 * configure: Regenerate.
418 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
420 * lib/gdb.exp (gdb_compile): Add function doc.
422 2015-12-17 Pedro Alves <palves@redhat.com>
425 * gdb.multi/info-threads.exp: New file.
427 2015-12-15 Yao Qi <yao.qi@linaro.org>
429 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
432 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
434 * gdb.base/history-duplicates.exp: Skip if no readline support.
436 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
438 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
440 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
442 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
444 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
446 * gdb.base/completion.exp: Skip tests that interrupt GDB with
447 ctrl-C if nointerrupts target property is set.
448 * gdb.base/double-prompt-target-event-error.exp: Likewise.
449 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
450 * gdb.base/paginate-bg-execution.exp: Likewise.
451 * gdb.base/paginate-execution-startup.exp: Likewise.
452 * gdb.base/random-signal.exp: Likewise.
453 * gdb.base/range-stepping.exp: Likewise.
454 * gdb.cp/annota2.exp: Likewise.
455 * gdb.cp/annota3.exp: Likewise.
456 * gdb.gdb/selftest.exp: Likewise.
457 * gdb.threads/continue-pending-status.exp: Likewise.
458 * gdb.threads/leader-exit.exp: Likewise.
459 * gdb.threads/manythreads.exp: Likewise.
460 * gdb.threads/pthreads.exp: Likewise.
461 * gdb.threads/schedlock.exp: Likewise.
462 * gdb.threads/sigthread.exp: Likewise.
464 2015-12-11 Don Breazeal <donb@codesourcery.com>
466 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
468 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
469 * gdb.base/foll-exec.exp (main): Enable for target remote.
470 * gdb.base/foll-fork.exp (main): Likewise.
471 * gdb.base/foll-vfork.exp (main): Likewise.
472 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
473 (proc continue_to_exit_bp_loc): Use clean_restart.
474 * gdb.base/pie-execl.exp (main): Disable for target remote.
475 * gdb.base/watch-vfork.exp (main): Enable for target remote.
476 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
477 * gdb.threads/execl.exp (main): Likewise.
478 * gdb.threads/fork-child-threads.exp (main): Likewise.
479 * gdb.threads/fork-plus-threads.exp (main): Disable for target
481 * gdb.threads/fork-thread-pending.exp (main): Enable for target
483 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
484 pid.tid style ptids, instead of just tid.
485 * gdb.threads/thread-execl.exp (main): Enable for target remote.
486 * gdb.threads/watchpoint-fork.exp (main): Likewise.
487 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
488 ptids, instead of just tid.
490 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
492 * gdb.base/list.exp (test_list_forward): Add end of file error
494 (test_repeat_list_command): Add end of file error test.
495 (test_list_backwards): Add beginning of file error test.
497 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
499 * gdb.base/list.exp (test_list_invalid_args): New function,
502 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
504 * gdb.base/list.exp (test_list): Make test names unique.
506 2015-12-11 Yao Qi <yao.qi@linaro.org>
508 * gdb.base/coremaker2.c: Remove.
510 2015-12-10 Pedro Alves <palves@redhat.com>
512 * gdb.multi/base.exp: Remove stale "spaces" references.
514 2015-12-10 Pedro Alves <palves@redhat.com>
516 * gdb.multi/base.exp: Don't use nowarnings.
517 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
518 * gdb.multi/hangout.c: Include stdio.h.
519 * gdb.multi/hello.c: Include stdlib.h.
520 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
521 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
522 * gdb.multi/multi-arch.exp: Don't use nowarnings.
524 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
526 * gdb.dwarf2/dw2-ranges-base.c: New file.
527 * gdb.dwarf2/dw2-ranges-base.exp: New file.
528 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
529 support additional line table, and debug ranges generation.
530 (Dwarf::ranges): New function, generate .debug_ranges.
531 (Dwarf::lines): Support generating simple line table programs.
532 (Dwarf::assemble): Initialise new namespace variables.
534 2015-12-09 Kevin Buettner <kevinb@redhat.com>
536 * gdb.base/async.exp (proc test_background): Add case for
537 asynchronous execution not supported.
539 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
541 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
542 format and change test names to make them unique.
544 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
545 Pedro Alves <pedro@redhat.com>
548 Add checking of floatformats setup on x86_64 hosts.
549 * gdb.arch/i386-float.S (main): Load bigval and smallval.
550 (smallval, bigval): New labels/constants.
551 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
552 float" after loading bigval and smallval.
554 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
556 * gdb.ada/fun_overload_menu.exp: New testcase.
557 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
559 2015-12-04 Josh Stone <jistone@redhat.com>
561 * gdb.base/catch-fork-static.exp: New.
563 2015-12-03 Yao Qi <yao.qi@linaro.org>
565 * gdb.base/sizeof.c: Don't include stdio.h and
566 ../lib/unbuffer_output.c.
567 (main): New variable 'size' and 'value'. Remove printf and
568 gdb_unbuffer_output. Assign return value to size and value.
569 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
571 (check_sizeof): Check the result by printing variable 'size'.
572 (check_valueof): Check the result by printing variable 'value'.
574 2015-12-01 Yao Qi <yao.qi@linaro.org>
576 * gdb.base/disp-step-syscall.exp: Define syscall instruction
577 for aarch64*-*-linux* target.
579 2015-11-30 Pedro Alves <palves@redhat.com>
581 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
583 2015-11-30 Pedro Alves <palves@redhat.com>
585 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
586 Handle non-stop mode vCont replies.
588 2015-11-30 Pedro Alves <palves@redhat.com>
590 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
591 prepare_for_testing. Start gdb with "set non-stop on" appended to
592 GDBFLAGS. Lax expected stop output.
594 2015-11-27 Yao Qi <yao.qi@linaro.org>
596 * gdb.arch/arm-neon.exp: New.
597 * gdb.arch/arm-neon.c: New.
599 2015-11-27 Yao Qi <yao.qi@linaro.org>
601 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
603 2015-11-27 Yao Qi <yao.qi@linaro.org>
605 * gdb.cp/annota2.exp: Allow multiple occurrences of the
606 frames-invalid annotation.
608 2015-11-27 Yao Qi <yao.qi@linaro.org>
610 * gdb.cp/annota2.exp: Use ${frames_invalid}.
612 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
614 * gdb.threads/names.exp: New file.
615 * gdb.threads/names.c: New file.
616 * README: Mention gdb,no_thread_names.
618 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
621 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
624 2015-11-24 Pedro Alves <palves@redhat.com>
627 * gdb.base/display.exp: Expect displays to be sorted in ascending
628 order. Use multi_line.
629 * gdb.base/solib-display.exp: Likewise.
631 2015-11-24 Pedro Alves <palves@redhat.com>
634 * gdb.base/display.exp: Expect displays to be sorted in ascending
635 order. Use multi_line.
636 * gdb.base/solib-display.exp: Likewise.
638 2015-11-24 Pedro Alves <palves@redhat.com>
641 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
642 threads in ascending order.
643 * gdb.base/foll-fork.exp: Likewise.
644 * gdb.base/foll-vfork.exp: Likewise.
645 * gdb.base/multi-forks.exp: Likewise.
646 * gdb.mi/mi-nonstop.exp: Likewise.
647 * gdb.mi/mi-nsintrall.exp: Likewise.
648 * gdb.multi/base.exp: Likewise.
649 * gdb.multi/multi-arch.exp: Likewise.
650 * gdb.python/py-inferior.exp: Likewise.
651 * gdb.threads/break-while-running.exp: Likewise.
652 * gdb.threads/execl.exp: Likewise.
653 * gdb.threads/gcore-thread.exp: Likewise.
654 * gdb.threads/info-threads-cur-sal.exp: Likewise.
655 * gdb.threads/kill.exp: Likewise.
656 * gdb.threads/linux-dp.exp: Likewise.
657 * gdb.threads/multiple-step-overs.exp: Likewise.
658 * gdb.threads/next-bp-other-thread.exp: Likewise.
659 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
660 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
661 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
662 * gdb.threads/thread-find.exp: Likewise.
663 * gdb.threads/tls.exp: Likewise.
664 * lib/mi-support.exp (mi_reverse_list): Delete.
665 (mi_check_thread_states): No longer reverse list.
667 2015-11-24 Pedro Alves <palves@redhat.com>
669 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
672 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
674 * gdb.trace/actions.c: Include trace-common.h.
675 (main): Add a location for a fast tracepoint.
676 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
677 the normal tracepoints.
678 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
680 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
682 * save-trace.exp: Factor out code to these...
683 (gdb_save_tracepoints): New.
684 (gdb_load_tracepoints): New.
685 (do_save_load_test): New.
687 2015-11-23 Kevin Buettner <kevinb@redhat.com>
689 * gdb.base/asmlabel.exp: New test.
690 * gdb.base/asmlabel.c: New test case.
692 2015-11-23 Joel Brobecker <brobecker@adacore.com>
694 * gdb.base/wrong_frame_bt_full-main.c: New file.
695 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
696 * gdb.base/wrong_frame_bt_full.exp: New file.
698 2015-11-23 Joel Brobecker <brobecker@adacore.com>
700 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
702 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
704 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
705 pstate register when comparing registers values in
706 sparc64-*-linux-gnu targets to avoid spurious differences.
708 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
710 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
712 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
714 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
715 as type argument to gdb_compile.
716 * gdb.base/nested-subp2.exp: Likewise.
717 * gdb.base/nested-subp3.exp: Likewise.
719 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
721 * lib/dwarf.exp (_note): Fix left shift of negative value.
722 * gdb.trace/trace-condition.exp: Likewise.
724 2015-11-13 Yao Qi <yao.qi@linaro.org>
726 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
728 (test_scalar_returns): Likewise.
729 * gdb.base/d10v.ld: Remove.
730 * gdb.base/overlays.exp: Remove the target triplet checking for
732 * gdb.base/structs.exp (test_struct_returns): Remove the
734 (test_struct_calls): Likewise.
736 2015-11-13 Yao Qi <yao.qi@linaro.org>
738 * gdb.base/gnu_vector.exp: Check the return value by "p res".
739 * gdb.base/gnu_vector.c: Don't include stdio.h.
740 (main): Don't print res and call add_some_intvecs.
742 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
744 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
747 (func4): Use FAST_TRACEPOINT_LABEL.
748 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
751 (thread_function): Use FAST_TRACEPOINT_LABEL.
752 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
754 (marker): Use FAST_TRACEPOINT_LABEL.
755 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
757 (pendfunc): Use FAST_TRACEPOINT_LABEL.
758 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
760 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
761 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
764 (marker): Use FAST_TRACEPOINT_LABEL.
765 * gdb.trace/trace-common.h: New header.
766 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
769 (marker): Use FAST_TRACEPOINT_LABEL.
770 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
772 (thread_function): Use FAST_TRACEPOINT_LABEL.
774 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
776 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
778 * gdb.trace/change-loc.exp: Use global pcreg definition.
779 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
780 * gdb.trace/entry-values.exp: Use global spreg definition, add $
782 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
783 * gdb.trace/pending.exp: Likewise.
784 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
785 * gdb.trace/trace-break.exp: Likewise.
786 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
788 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
789 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
791 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
793 2015-11-09 Joel Brobecker <brobecker@adacore.com>
795 * gdb.ada/fin_fun_out: New testcase.
797 2015-11-07 Kevin Buettner <kevinb@redhat.com>
799 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
800 value associated with DW_AT_byte_size.
801 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
802 constants for DW_AT_byte_size, DW_AT_lower_bound, and
805 2015-11-07 Kevin Buettner <kevinb@redhat.com>
807 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
808 (gdb_target_symbol_prefix_flags): Define in terms of _asm
810 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
811 gdb.dwarf2/dw2-canonicalize-type.exp,
812 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
813 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
814 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
815 provided by gdb_target_symbol_prefix_flags_asm.
816 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
817 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
818 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
819 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
820 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
821 macros where needed). Use this macro for symbols which require
822 the prefix provided by SYMBOL_PREFIX.
824 2015-11-05 Kevin Buettner <kevinb@redhat.com>
826 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
828 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
829 representing expressions, of more than one list element.
830 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
831 to prepend linker symbol prefix to f.
832 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
834 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
835 Likewise, for f and g.
836 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
838 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
840 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
841 table_1_ptr and table_2_ptr.
843 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
844 Joel Brobecker <brobecker@adacore.com>
846 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
848 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
850 * gdb.reverse/s390-mvcle.c: New test.
851 * gdb.reverse/s390-mvcle.exp: New file.
852 * lib/gdb.exp: Enable reverse tests on s390*-linux.
854 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
856 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
858 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
860 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
862 * gdb.reverse/getresuid-reverse.exp: Likewise.
863 * gdb.reverse/pipe-reverse.exp: Likewise.
864 * gdb.reverse/readv-reverse.exp: Likewise.
865 * gdb.reverse/recvmsg-reverse.exp: Likewise.
866 * gdb.reverse/time-reverse.exp: Likewise.
867 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
869 2015-10-30 Yao Qi <yao.qi@linaro.org>
871 * gdb.threads/wp-replication.c (watch_count_done): Remove.
872 (empty_cycle): Remove.
873 (main): Don't call empty_cycle. Don't use watch_count_done.
874 * gdb.threads/wp-replication.exp: Don't set breakpoint on
875 empty_cycle. Rewrite the code counting HW watchpoints.
877 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
879 * gdb.reverse/fstatat-reverse.c: New test.
880 * gdb.reverse/fstatat-reverse.exp: New file.
881 * gdb.reverse/getresuid-reverse.c: New test.
882 * gdb.reverse/getresuid-reverse.exp: New file.
883 * gdb.reverse/pipe-reverse.c: New test.
884 * gdb.reverse/pipe-reverse.exp: New file.
885 * gdb.reverse/readv-reverse.c: New test.
886 * gdb.reverse/readv-reverse.exp: New file.
887 * gdb.reverse/recvmsg-reverse.c: New test.
888 * gdb.reverse/recvmsg-reverse.exp: New file.
889 * gdb.reverse/time-reverse.c: New test.
890 * gdb.reverse/time-reverse.exp: New file.
891 * gdb.reverse/waitpid-reverse.c: New test.
892 * gdb.reverse/waitpid-reverse.exp: New file.
894 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
896 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
898 2015-10-26 Doug Evans <dje@google.com>
901 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
902 * gdb.dwarf2/bad-regnum.c: New file.
903 * gdb.dwarf2/bad-regnum.exp: New file.
905 2015-10-26 Doug Evans <dje@google.com>
908 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
911 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
913 * gdb.compile/compile.exp (compile code globalvar): Update expectation
914 for a change by "Mention language in compile error message".
916 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
919 * gdb.python/py-type.c (C::a_method): New.
920 (C::a_const_method): New.
921 (C::a_static_method): New.
923 * gdb.python/py-type.exp (test_fields): Test getting fields
924 from function and method.
926 2015-10-21 Keven Boell <keven.boell@intel.com>
928 * gdb.fortran/vla-alloc-assoc.exp: New file.
929 * gdb.fortran/vla-datatypes.exp: New file.
930 * gdb.fortran/vla-datatypes.f90: New file.
931 * gdb.fortran/vla-history.exp: New file.
932 * gdb.fortran/vla-ptype-sub.exp: New file.
933 * gdb.fortran/vla-ptype.exp: New file.
934 * gdb.fortran/vla-sizeof.exp: New file.
935 * gdb.fortran/vla-sub.f90: New file.
936 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
937 * gdb.fortran/vla-value-sub-finish.exp: New file.
938 * gdb.fortran/vla-value-sub.exp: New file.
939 * gdb.fortran/vla-value.exp: New file.
940 * gdb.fortran/vla-ptr-info.exp: New file.
941 * gdb.mi/mi-vla-fortran.exp: New file.
942 * gdb.mi/vla.f90: New file.
944 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
946 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
947 of hardwired timeout value.
949 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
950 Pedro Alves <palves@redhat.com>
952 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
953 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
955 2015-10-19 Josh Stone <jistone@redhat.com>
957 * gdb.base/catch-syscall.c: Include <sched.h>.
958 (unknown_syscall): New variable.
959 (main): Trigger a vfork and an unknown syscall.
960 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
961 (unknown_syscall_number): Likewise.
962 (check_call_to_syscall): Accept an optional syscall pattern.
963 (check_return_from_syscall): Likewise.
964 (check_continue): Likewise.
965 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
966 (test_catch_syscall_skipping_return): New test toggling off 'catch
967 syscall' to step over the syscall return, then toggling back on.
968 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
969 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
970 (do_syscall_tests): Call test_catch_syscall_without_args and
971 test_catch_syscall_mid_vfork.
972 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
973 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
975 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
977 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
978 print g_vE): Add new pass patterns.
979 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
980 print various symbol names for vptr fields.
982 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
984 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
987 2015-10-12 Yao Qi <yao.qi@linaro.org>
989 * gdb.arch/disp-step-insn-reloc.exp: New test case.
991 2015-10-12 Yao Qi <yao.qi@linaro.org>
993 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
994 is aarch64*-*-linux*.
996 2015-10-12 Yao Qi <yao.qi@linaro.org>
998 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
999 (can_relocate_bcond_true): ... it.
1000 (can_relocate_bcond_false): New function.
1002 (can_relocate_bl): Likewise.
1003 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1006 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1008 * gdb.base/nested-addr.c: New file.
1009 * gdb.base/nested-addr.exp: New testcase.
1011 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1013 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1014 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1015 its output. Ignore the output of "record goto begin" and instead
1016 check that GDB is replaying.
1018 2015-10-09 Pedro Alves <palves@redhat.com>
1020 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1021 (top level): Use it in the run with no args test.
1023 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1025 * gdb.dlang/properties.exp: New file.
1027 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1029 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1030 whether or not address 0x1000 is mapped on the target.
1032 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1034 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1037 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1039 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1040 instruction-history test.
1042 2015-09-28 Doug Evans <dje@google.com>
1044 * gdb.base/gcore.c (array_func): Add reference to static_array.
1046 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1048 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1051 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1053 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1054 short or char as base type.
1056 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1058 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1059 to allow any size enum.
1061 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1063 * gdb.ada/array_ptr_renaming.exp: New testcase.
1064 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1065 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1067 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1069 * gdb.trace/ftrace-lock.c: New file.
1070 * gdb.trace/ftrace-lock.exp: New file.
1072 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1074 * gdb.arch/insn-reloc.c: New file.
1075 * gdb.arch/ftrace-insn-reloc.exp: New file.
1077 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1079 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1081 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1082 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1083 * gdb.trace/range-stepping.c: Likewise.
1084 * gdb.trace/trace-break.c: Likewise.
1085 * gdb.trace/trace-mt.c (thread_function): Likewise.
1086 * gdb.trace/ftrace.c (marker): Likewise.
1087 * gdb.trace/trace-condition.c (marker): Likewise.
1088 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1089 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1092 2015-09-18 Doug Evans <xdje42@gmail.com>
1094 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1095 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1097 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1099 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1102 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1104 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1105 the pending breakpoint. Remove timeout override for "Run till
1106 MI pending breakpoint on pendfunc3 on thread 2" test.
1108 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1110 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1113 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1115 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1116 in breakpoint filename pattern.
1118 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1120 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1122 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1124 * gdb.linespec/explicit.exp: Check for readline support for
1125 tab-completion tests. Fix obvious typo.
1127 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1129 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1132 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1134 * gdb.btrace/non-stop.c: New.
1135 * gdb.btrace/non-stop.exp: New.
1137 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1138 Yao Qi <yao.qi@linaro.org>
1140 * gdb.trace/trace-condition.c: New file.
1141 * gdb.trace/trace-condition.exp: New file.
1143 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1145 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1146 for testing bytecode compilation.
1148 2015-09-16 Pedro Alves <palves@redhat.com>
1149 Sandra Loosemore <sandra@codesourcery.com>
1151 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1152 (SECONDS): Redefine.
1153 (main): Call pthread_kill and alarm early.
1154 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1156 (test): If the target can't hardware step and doesn't support
1157 displaced stepping, increase the timeout.
1159 2015-09-16 Pedro Alves <palves@redhat.com>
1161 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1162 (enable_debug): New procedures.
1163 (test): Use them. Bail out if waiting for threads fails.
1164 (top level): Bail out if a test fails.
1166 2015-09-16 Yao Qi <yao.qi@linaro.org>
1168 * gdb.asm/asm-source.exp: Set asm-arch for
1169 aarch64*-*-* target.
1170 * gdb.asm/aarch64.inc: New file.
1172 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1174 * gdb.ada/array_of_variable_length.exp: New testcase.
1175 * gdb.ada/array_of_variable_length/foo.adb: New file.
1176 * gdb.ada/array_of_variable_length/pck.adb: New file.
1177 * gdb.ada/array_of_variable_length/pck.ads: New file.
1179 2015-09-15 Doug Evans <dje@google.com>
1181 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1182 of function static local variable.
1184 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1186 * gdb.threads/tls-so_extern.exp: New test file.
1187 * gdb.threads/tls-so_extern.c: New test file.
1188 * gdb.threads/tls-so_extern_main.c: New test file.
1190 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1192 * gdb.opt/solib-intra-step-lib.c: New file.
1193 * gdb.opt/solib-intra-step-main.c: New file.
1194 * gdb.opt/solib-intra-step.exp: New file.
1196 2015-09-15 Pedro Alves <palves@redhat.com>
1198 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1199 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1201 2015-09-14 Pedro Alves <palves@redhat.com>
1203 * gdb.base/hook-stop-continue.c: Delete.
1204 * gdb.base/hook-stop-continue.exp: Delete.
1205 * gdb.base/hook-stop-frame.c: Delete.
1206 * gdb.base/hook-stop-frame.exp: Delete.
1207 * gdb.base/hook-stop.c: New file.
1208 * gdb.base/hook-stop.exp: New file.
1210 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1212 * gdb.ada/access_to_packed_array.exp: New testcase.
1213 * gdb.ada/access_to_packed_array/foo.adb: New file.
1214 * gdb.ada/access_to_packed_array/pack.adb: New file.
1215 * gdb.ada/access_to_packed_array/pack.ads: New file.
1217 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1219 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1222 2015-09-11 Don Breazeal <donb@codesourcery.com>
1224 * gdb.base/foll-exec.c: Add copyright header. Fix
1226 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1227 (do_exec_tests): Use clean_restart in place of zap_session,
1228 and for test initialization. Fix formatting issues. Use
1229 fail in place of perror.
1230 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1231 an expect statement to match an expression with output from
1232 the program under debug.
1233 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1234 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1235 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1236 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1237 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1239 2015-09-09 Doug Evans <dje@google.com>
1241 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1243 2015-09-09 Doug Evans <dje@google.com>
1245 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1247 2015-09-09 Doug Evans <dje@google.com>
1249 * gdb.base/savedregs.exp: Fix typo.
1251 2015-09-09 Pedro Alves <palves@redhat.com>
1253 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1255 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1257 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1258 command actually switches threads. Give up on remaining
1259 tests if target fails to stop at breakpoint.
1261 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1263 * gdb.ada/funcall_char.exp: New testcase.
1264 * gdb.ada/funcall_char/foo.adb: New file.
1266 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1268 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1269 expected outputs. Add two testcases for completing ambiguous
1271 * gdb.ada/complete/aux_pck.adb: New file.
1272 * gdb.ada/complete/aux_pck.ads: New file.
1273 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1274 Ambiguous_Func functions.
1275 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1276 * gdb.ada/complete/pck.adb: Likewise.
1278 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1280 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1281 failures to run the test program under GDB.
1283 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1285 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1288 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1290 * gdb.base/run-after-attach.exp: New test file.
1291 * gdb.base/run-after-attach.c: New test file.
1293 2015-08-26 Don Breazeal <donb@codesourcery.com>
1295 * gdb.base/foll-exec-2.c: New test program.
1296 * gdb.base/foll-exec-2.exp: New test.
1298 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1300 * gdb.base/nested-subp1.exp: New file.
1301 * gdb.base/nested-subp1.c: New file.
1302 * gdb.base/nested-subp2.exp: New file.
1303 * gdb.base/nested-subp2.c: New file.
1304 * gdb.base/nested-subp3.exp: New file.
1305 * gdb.base/nested-subp3.c: New file.
1307 2015-08-24 Pedro Alves <palves@redhat.com>
1309 * gdb.server/connect-without-multi-process.c: New file.
1310 * gdb.server/connect-without-multi-process.exp: New file.
1312 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1314 * gdb.opt/inline-markers.c: Make z int.
1316 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1318 * gdb.opt/inline-markers.c: Make z volatile.
1320 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1322 * gdb.opt/inline-bt.c: New volatile global z.
1323 * gdb.opt/inline-cmds.c: Likewise.
1324 * gdb.opt/inline-locals.c: Likewise.
1325 * gdb.opt/inline-markers.c: New extern global z.
1327 (inline_fn): Likewise.
1329 2015-08-24 Pedro Alves <palves@redhat.com>
1331 * config/m32r-stub.exp: Remove file.
1332 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1333 * gdb.base/call-rt-st.exp: Likewise.
1334 * gdb.base/call-strs.exp: Likewise.
1335 * gdb.base/default.exp: Remove references to h8300-*-hms and
1337 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1339 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1341 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1342 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1343 and "return" use KFAIL when GDB can not read/write the vector
1346 2015-08-21 Gary Benson <gbenson@redhat.com>
1348 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1350 2015-08-20 Pedro Alves <palves@redhat.com>
1352 * gdb.server/solib-list.exp: No longer expect an interior stop in
1355 2015-08-20 Pedro Alves <palves@redhat.com>
1357 * gdb.server/connect-stopped-target.c: New file.
1358 * gdb.server/connect-stopped-target.exp: New file.
1360 2015-08-20 Pedro Alves <palves@redhat.com>
1362 * gdb.dwarf2/comp-unit-lang.exp: New file.
1363 * gdb.dwarf2/comp-unit-lang.c: New file.
1365 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1367 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1368 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1370 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1372 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1373 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1375 2015-08-18 Doug Evans <dje@google.com>
1376 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1378 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1379 skip_python_tests. New arg prompt_regexp.
1380 (skip_python_tests): New function.
1381 * lib/mi-support.exp (mi_skip_python_tests): New function.
1382 * gdb.python/py-mi-objfile-gdb.py: New file.
1383 * gdb.python/py-mi-objfile.c: New file.
1384 * gdb.python/py-mi-objfile.exp: New file.
1386 2015-08-17 Keith Seitz <keiths@redhat.com>
1388 * gdb.linespec/explicit.exp: Move strace test from here ...
1389 * gdb.trace/strace.exp: ... to here.
1391 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1393 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1394 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1396 2015-08-14 Doug Evans <xdje42@gmail.com>
1398 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1399 inferior before selecting a new file.
1401 2015-08-14 Doug Evans <xdje42@gmail.com>
1403 * gdb.mi/mi-disassemble.exp: Update.
1404 * gdb.base/disasm-optim.S: New file.
1405 * gdb.base/disasm-optim.c: New file.
1406 * gdb.base/disasm-optim.h: New file.
1407 * gdb.base/disasm-optim.exp: New file.
1409 2015-08-14 Keith Seitz <keiths@redhat.com>
1411 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1414 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1416 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1418 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1420 * gdb.ada/fun_renaming.exp: New testcase.
1421 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1422 * gdb.ada/fun_renaming/pack.adb: New file.
1423 * gdb.ada/fun_renaming/pack.ads: New file.
1425 2015-08-12 Keith Seitz <keiths@redhat.com>
1427 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1428 gdb_get_line_number.
1430 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1432 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1433 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1434 gdb.base/dso2dso.exp: New files.
1436 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1437 Pedro Alves <palves@redhat.com>
1438 Keith Seitz <keiths@redhat.com>
1440 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1443 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1445 * gdb.base/gdbhistsize-history.exp
1446 (test_histsize_history_setting): Use save_vars.
1447 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1449 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1450 * gdb.base/readline.exp: Use save_vars.
1452 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1454 * lib/gdb.exp (save_vars): New proc.
1456 2015-08-11 Keith Seitz <keiths@redhat.com>
1458 * gdb.base/help.exp: Update help_breakpoint_text.
1460 2015-08-11 Keith Seitz <keiths@redhat.com>
1462 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1463 (at toplevel): Call test_explicit_breakpoints.
1464 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1466 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1467 breakpoint conditions, "-cond".
1469 2015-08-11 Keith Seitz <keiths@redhat.com>
1471 * gdb.linespec/3explicit.c: New file.
1472 * gdb.linespec/cpexplicit.cc: New file.
1473 * gdb.linespec/cpexplicit.exp: New file.
1474 * gdb.linespec/explicit.c: New file.
1475 * gdb.linespec/explicit.exp: New file.
1476 * gdb.linespec/explicit2.c: New file.
1477 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1478 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1479 before using in the matching pattern.
1480 Clarify that `prefix' is a regular expression.
1482 2015-08-11 Keith Seitz <keiths@redhat.com>
1484 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1486 Add tests for missing ",FMT" and ",".
1488 2015-08-10 Doug Evans <dje@google.com>
1489 Keith Seitz <keiths@redhat.com>
1492 * gdb.base/completion.exp: Add location completer tests.
1494 2015-08-07 Pedro Alves <palves@redhat.com>
1496 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1498 (top level): Run do_test with and without displaced stepping.
1500 2015-08-07 Pedro Alves <palves@redhat.com>
1502 * gdb.base/valgrind-disp-step.c: New file.
1503 * gdb.base/valgrind-disp-step.exp: New file.
1505 2015-08-07 Pedro Alves <palves@redhat.com>
1507 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1509 (main): Add alarm. Run an infinite loop instead of calling
1511 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1513 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1515 (main): Add alarm. Run an infinite loop instead of calling
1517 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1520 2015-08-07 Pedro Alves <palves@redhat.com>
1522 * gdb.base/checkpoint-ns.exp: New file.
1523 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1526 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1528 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1529 * gdb.btrace/instruction_history.exp: Update.
1530 * gdb.btrace/tsx.exp: New.
1531 * gdb.btrace/tsx.c: New.
1533 2015-08-06 Pedro Alves <palves@redhat.com>
1535 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1537 * gdb.reverse/until-precsave.exp: Bump timeouts.
1539 2015-08-06 Pedro Alves <palves@redhat.com>
1541 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1543 2015-08-06 Pedro Alves <palves@redhat.com>
1546 * gdb.threads/process-dies-while-handling-bp.c: New file.
1547 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1549 2015-08-06 Pedro Alves <palves@redhat.com>
1551 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1552 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1554 2015-08-05 Pedro Alves <palves@redhat.com>
1556 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1557 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1559 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1561 * gdb.base/bp-permanent.exp: Report test as unsupported if
1562 the target cannot stop at the permanent breakpoint.
1564 2015-08-03 Doug Evans <dje@google.com>
1566 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1569 2015-08-03 Doug Evans <dje@google.com>
1571 * Makefile.in (workers/%.worker, build-perf): New rule.
1572 (GDB_PERFTEST_MODE): New variable.
1573 (check-perf): Use it.
1574 (clean): Clean up gdb.perf parallel build subdirs.
1575 * lib/build-piece.exp: New file.
1576 * lib/gdb.exp (make_gdb_parallel_path): New function
1577 (standard_output_file, standard_temp_file): Call it.
1578 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1580 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1582 2015-08-03 Doug Evans <dje@google.com>
1584 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1585 (LOG_FILE_NAME): New global.
1586 (TextReporter.__init__): Initialize self.txt_sum.
1587 (TextReporter.report): Add support for multiple data-points.
1588 Move report to perftest.sum, put raw data in perftest.log.
1589 (TextReporter.start): Open sum and log files.
1590 (TextReporter.end): Close sum and log files.
1591 * gdb.perf/lib/perftest/testresult.py
1592 (SingleStatisticTestResult.record): Handle multiple data-points.
1594 2015-07-31 Pedro Alves <palves@redhat.com>
1596 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1597 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1598 kill_wait_spawned_process instead of explicit "kill -9".
1599 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1600 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1601 kill_wait_spawned_process.
1602 * gdb.base/attach-twice.exp: Likewise.
1603 * gdb.base/attach.exp: Likewise.
1604 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1606 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1607 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1608 kill_wait_spawned_process.
1609 * gdb.base/valgrind-infcall.exp: Likewise.
1610 * gdb.multi/multi-attach.exp: Likewise.
1611 * gdb.python/py-prompt.exp: Likewise.
1612 * gdb.python/py-sync-interp.exp: Likewise.
1613 * gdb.server/ext-attach.exp: Likewise.
1614 * gdb.threads/attach-into-signal.exp (corefunc): Use
1615 spawn_wait_for_attach, spawn_id_get_pid and
1616 kill_wait_spawned_process.
1617 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1618 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1619 spawn_id_get_pid and kill_wait_spawned_process.
1620 * gdb.threads/attach-stopped.exp (corefunc): Use
1621 spawn_wait_for_attach, spawn_id_get_pid and
1622 kill_wait_spawned_process.
1623 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1624 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1625 kill_wait_spawned_process instead of explicit "kill -9".
1626 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1627 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1628 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1629 processes. Don't map cygwin/windows pids here. Now returns a
1632 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1634 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1635 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1638 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1640 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1642 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1645 2014-05-21 Mark Wielaard <mjw@redhat.com>
1647 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1649 2015-07-30 Pedro Alves <palves@redhat.com>
1651 * linux-low.c (handle_extended_wait): Set the child's last
1652 reported status to TARGET_WAITKIND_STOPPED.
1654 2015-07-30 Pedro Alves <palves@redhat.com>
1657 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1658 only shows inferior 1.
1660 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1661 Pedro Alves <palves@redhat.com>
1664 * gdb.threads/fork-plus-threads.c: New file.
1665 * gdb.threads/fork-plus-threads.exp: New file.
1667 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1669 * gdb.base/batch-preserve-term-settings.exp
1670 (test_terminal_settings_preserved_after_cli_exit): Use
1673 2015-07-29 Pedro Alves <palves@redhat.com>
1674 Don Breazeal <donb@codesourcery.com>
1676 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1677 output from both inferior_spawn_id and gdb_spawn_id.
1679 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1681 * gdb.threads/attach-into-signal.exp (corefunc): Use
1682 with_test_prefix on nested loops, uniquefying the test messages.
1684 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1686 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1689 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1691 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1693 (test_terminal_settings_preserved_after_sigterm): New test.
1695 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1697 * gdb.base/batch-preserve-term-settings.exp
1698 (test_terminal_settings_preserved_after_cli_exit): New test.
1700 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1702 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1703 manipulation of saved_gdbflags.
1704 (test_terminal_settings_preserved): Remove global declaration of
1705 the unused variable pagination_prompt. Remove manipulation of
1706 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1709 2015-07-29 Pedro Alves <palves@redhat.com>
1711 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1713 2015-07-29 Pedro Alves <palves@redhat.com>
1715 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1718 2015-07-29 Pedro Alves <palves@redhat.com>
1720 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1721 (main): Call gdb_unbuffer_output.
1722 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1723 (main): Call gdb_unbuffer_output.
1724 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1725 (main): Call gdb_unbuffer_output.
1726 * gdb.base/call-strs.exp: Adjust to step over the
1727 gdb_unbuffer_output call.
1728 * gdb.base/catch-gdb-caused-signals.c: Include
1729 "../lib/unbuffer_output.c".
1730 (main): Call gdb_unbuffer_output.
1731 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1732 (main): Call gdb_unbuffer_output.
1733 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1734 (main): Call gdb_unbuffer_output.
1735 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1736 (main): Call gdb_unbuffer_output.
1737 * gdb.base/shlib-call.exp: Adjust to step over the
1738 gdb_unbuffer_output call.
1739 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1740 (main): Call gdb_unbuffer_output.
1741 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1742 (main): Call gdb_unbuffer_output.
1743 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1744 (main): Rename to ...
1746 (main): Reimplement.
1747 * gdb.base/varargs.exp: Run to test instead of to main.
1748 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1749 (main): Call gdb_unbuffer_output.
1751 2015-07-29 Pedro Alves <palves@redhat.com>
1753 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1754 factore out from mi_continue_dprintf. For call-style dprintfs,
1755 expect dprintf output out of $inferior_spawn_id.
1756 (mi_continue_dprintf): Use mi_expect_dprintf.
1757 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1758 (main): Call gdb_unbuffer_output.
1760 2015-07-29 Pedro Alves <palves@redhat.com>
1762 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1763 (default_mi_gdb_start): Set inferior_spawn_id instead of
1764 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1766 (mi_gdb_test): Always expect inferior output from both
1767 $inferior_spawn_id and $gdb_spawn_id.
1769 2015-07-29 Pedro Alves <palves@redhat.com>
1771 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1772 send_inferior and $inferior_spawn_id.
1774 2015-07-29 Pedro Alves <palves@redhat.com>
1776 * gdb.gdb/complaints.exp (test_initial_complaints)
1777 (test_serial_complaints, test_short_complaints): Use
1779 (test_empty_complaint): Handle $inferior_spawn_id !=
1782 2015-07-29 Pedro Alves <palves@redhat.com>
1784 * gdb.base/varargs.exp: Use gdb_test_stdio.
1786 2015-07-29 Pedro Alves <palves@redhat.com>
1788 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1790 2015-07-29 Pedro Alves <palves@redhat.com>
1792 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1794 2015-07-29 Pedro Alves <palves@redhat.com>
1796 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1797 parameter into two new parameters, "inf_result" and "gdb_result".
1798 Expect inferior output and gdb output from $inferior_spawn_id and
1799 $gdb_spawn_id, respectively. Adjust all callers.
1801 2015-07-29 Pedro Alves <palves@redhat.com>
1803 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1804 of gdb_test_sequence.
1806 2015-07-29 Pedro Alves <palves@redhat.com>
1808 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1809 (saw_spurious_output): Expect inferior output from
1810 $inferior_spawn_id. Use gdb_test_stdio.
1812 2015-07-29 Pedro Alves <palves@redhat.com>
1814 * gdb.base/dprintf.exp: Use standard_testfile. Change
1815 prepare_for_testing call.
1816 (srcfile): Don't set.
1817 (restart): New procedure.
1818 (test_dprintf): New procecure, use to continue over dprintfs.
1819 (test_call, test_agent): New procedures, tests moved here.
1820 Restart gdb and recreate dprintfs. Adjust expected output.
1822 2015-07-29 Pedro Alves <palves@redhat.com>
1824 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1826 2015-07-29 Pedro Alves <palves@redhat.com>
1828 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1830 2015-07-29 Pedro Alves <palves@redhat.com>
1832 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1835 2015-07-29 Pedro Alves <palves@redhat.com>
1837 * lib/gdb.exp (gdb_test_stdio): New procedure.
1839 2015-07-29 Pedro Alves <palves@redhat.com>
1841 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1843 2015-07-29 Pedro Alves <palves@redhat.com>
1845 * gdb.base/call-signal-resume.exp: Remove check for
1846 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1847 * gdb.base/unwindonsignal.exp: Likewise.
1848 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1849 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1851 2015-07-29 Pedro Alves <palves@redhat.com>
1853 * gdb.base/siginfo-addr.c (pass): New function.
1854 (handler): Call it iff si_addr is correct.
1855 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1856 Set a breakpoint at "pass" and continue to it.
1858 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1860 * gdb.python/py-objfile.exp: Make some tests have unique names.
1861 * gdb.python/py-pp-registration.exp: Likewise.
1863 2015-07-28 Pedro Alves <palves@redhat.com>
1865 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1867 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1869 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1871 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1873 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1875 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1877 * gdb.base/gdb-sigterm-2.exp: New test.
1879 2015-07-25 Doug Evans <xdje42@gmail.com>
1882 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1883 (workers/%.worker, build-perf): New rule.
1884 (GDB_PERFTEST_MODE): New variable.
1885 (check-perf): Use it.
1886 (clean): Clean up gdb.perf parallel build subdirs.
1887 * lib/build-piece.exp: New file.
1888 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1889 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1891 (standard_temp_file): Ditto.
1892 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1895 2015-07-24 Doug Evans <dje@google.com>
1897 * gdb.perf/lib/perftest/utils.py: New file.
1898 * gdb.perf/gm-hello.cc: New file.
1899 * gdb.perf/gm-pervasive-typedef.cc: New file.
1900 * gdb.perf/gm-pervasive-typedef.h: New file.
1901 * gdb.perf/gm-std.cc: New file.
1902 * gdb.perf/gm-std.h: New file.
1903 * gdb.perf/gm-use-cerr.cc: New file.
1904 * gdb.perf/gm-utils.h: New file.
1905 * gdb.perf/gmonster-null-lookup.py: New file.
1906 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1907 * gdb.perf/gmonster-print-cerr.py: New file.
1908 * gdb.perf/gmonster-ptype-string.py: New file.
1909 * gdb.perf/gmonster-runto-main.py: New file.
1910 * gdb.perf/gmonster-select-file.py: New file.
1911 * gdb.perf/gmonster1-null-lookup.exp: New file.
1912 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1913 * gdb.perf/gmonster1-print-cerr.exp: New file.
1914 * gdb.perf/gmonster1-ptype-string.exp: New file.
1915 * gdb.perf/gmonster1-runto-main.exp: New file.
1916 * gdb.perf/gmonster1-select-file.exp: New file.
1917 * gdb.perf/gmonster1.cc: New file.
1918 * gdb.perf/gmonster1.exp: New file.
1919 * gdb.perf/gmonster2-null-lookup.exp: New file.
1920 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1921 * gdb.perf/gmonster2-print-cerr.exp: New file.
1922 * gdb.perf/gmonster2-ptype-string.exp: New file.
1923 * gdb.perf/gmonster2-runto-main.exp: New file.
1924 * gdb.perf/gmonster2-select-file.exp: New file.
1925 * gdb.perf/gmonster2.cc: New file.
1926 * gdb.perf/gmonster2.exp: New file.
1928 2015-07-24 Doug Evans <dje@google.com>
1930 * gdb.perf/README: New file.
1931 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1932 * lib/gen-perf-test.exp: New file.
1934 2015-07-24 Doug Evans <dje@google.com>
1936 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1937 (PerfTest::startup): New function.
1938 (PerfTest::run): Return result of calling body.
1939 (PerfTest::assemble): Rewrite.
1940 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1941 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1942 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1943 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1944 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1946 2015-07-24 Doug Evans <dje@google.com>
1948 * lib/gdb.exp (clean_restart): Make executable optional.
1950 2015-07-24 Doug Evans <dje@google.com>
1952 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1953 compiler_info references.
1954 * gdb.cp/temargs.exp: Ditto.
1955 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1956 (get_compiler_info): Early exit if already computed. Set compiler_info
1957 to "unknown" if there was a problem.
1958 (test_compiler_info): Add function comment. Call get_compiler_info.
1960 2015-07-24 Doug Evans <dje@google.com>
1962 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1963 (workers/%.worker, build-perf): New rule.
1964 (GDB_PERFTEST_MODE): New variable.
1965 (check-perf): Use it.
1966 (clean): Clean up gdb.perf parallel build subdirs.
1967 * lib/build-piece.exp: New file.
1968 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1969 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1971 (standard_temp_file): Ditto.
1972 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1975 2015-07-24 Doug Evans <dje@google.com>
1977 * lib/future.exp (gdb_default_target_compile): New option
1979 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1982 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1984 * gdb.base/catch-syscall.exp: Call gdb_exit before
1987 2015-07-24 Pedro Alves <palves@redhat.com>
1989 * gdb.python/py-events.exp: Accept output between the stop event
1991 * gdb.python/py-evsignal.exp: Likewise.
1992 * gdb.python/py-evthreads.exp: Likewise.
1994 2015-07-24 Pedro Alves <palves@redhat.com>
1997 * gdb.threads/non-ldr-exit.c: New file.
1998 * gdb.threads/non-ldr-exit.exp: New file.
2000 2015-07-24 Yao Qi <yao.qi@linaro.org>
2002 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2005 2015-07-24 Yao Qi <yao.qi@linaro.org>
2007 * gdb.server/ext-restart.exp: New file.
2009 2015-07-24 Yao Qi <yao.qi@linaro.org>
2011 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2013 * gdb.server/ext-wrapper.exp: New file.
2015 2015-07-23 Doug Evans <dje@google.com>
2017 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2018 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2020 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2022 * gdb.ada/var_arr_typedef.exp: New testcase.
2023 * gdb.ada/var_arr_typedef/pack.adb: New file.
2024 * gdb.ada/var_arr_typedef/pack.ads: New file.
2025 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2027 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2029 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2031 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2033 * gdb.arch/i386-biarch-core.exp: Replace istarget
2034 by "complete set gnutarget". Remove expectation for the "core-file"
2037 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2039 Revert the previous commit:
2040 Tests for validate symbol file using build-id.
2042 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2044 Tests for validate symbol file using build-id.
2045 * gdb.base/solib-mismatch-lib.c: New file.
2046 * gdb.base/solib-mismatch-libmod.c: New file.
2047 * gdb.base/solib-mismatch.c: New file.
2048 * gdb.base/solib-mismatch.exp: New file.
2050 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2052 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2054 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2055 * gdb.base/siginfo.exp: Likewise.
2056 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2058 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2060 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2062 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2064 * gdb.trace/range-stepping.exp: Check that the target supports
2067 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2069 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2071 2015-07-14 Pedro Alves <palves@redhat.com>
2073 * gdb.base/killed-outside.exp: New file.
2074 * gdb.base/killed-outside.c: New file.
2076 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2078 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2080 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2082 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2084 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2085 infcall tests instead of setting up for KFAIL.
2087 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2089 * gdb.btrace/record_goto-step.exp: New.
2091 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 * gdb.compile/compile.c (struct struct_type): Add volatile to
2096 * gdb.compile/compile.exp
2097 (compile code struct_object.selffield = &struct_object): Skip further
2098 struct_object tests if this one xfails.
2100 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2103 * gdb.trace/ax.exp: Add test.
2105 2015-07-07 Yao Qi <yao.qi@linaro.org>
2107 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2108 instead of istarget "aarch64*-*-*".
2109 * gdb.arch/aarch64-fp.exp: Likewise.
2110 * gdb.base/float.exp: Likewise.
2111 * gdb.reverse/aarch64.exp: Likewise.
2112 * lib/gdb.exp (is_aarch64_target): New proc.
2114 2015-07-07 Yao Qi <yao.qi@linaro.org>
2116 * lib/gdb.exp (is_aarch32_target): New proc.
2117 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2118 instead of "istarget "arm*-*-*"".
2119 * gdb.arch/arm-disp-step.exp: Likewise.
2120 * gdb.arch/thumb-bx-pc.exp: Likewise.
2121 * gdb.arch/thumb-prologue.exp: Likewise.
2122 * gdb.arch/thumb-singlestep.exp: Likewise.
2123 * gdb.base/disp-step-syscall.exp: Likewise.
2124 * gdb.base/float.exp: Likewise.
2126 2015-07-07 Yao Qi <yao.qi@linaro.org>
2128 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2129 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2131 2015-07-07 Yao Qi <yao.qi@linaro.org>
2133 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2134 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2136 * gdb.multi/multi-arch.exp: Likewise.
2138 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2140 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2143 2015-07-07 Yao Qi <yao.qi@linaro.org>
2145 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2147 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2149 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2150 '[' and ']' characters.
2152 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2154 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2156 2015-06-29 Pedro Alves <palves@redhat.com>
2159 * gdb.threads/hand-call-new-thread.c: New file.
2160 * gdb.threads/hand-call-new-thread.c: New file.
2162 2015-06-26 Keith Seitz <keiths@redhat.com>
2163 Doug Evans <dje@google.com>
2166 * gdb.cp/var-tag-2.cc: New file.
2167 * gdb.cp/var-tag-3.cc: New file.
2168 * gdb.cp/var-tag-4.cc: New file.
2169 * gdb.cp/var-tag.cc: New file.
2170 * gdb.cp/var-tag.exp: New file.
2172 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2174 * gdb.base/history-duplicates.exp: New test.
2176 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2178 * gdb.base/completion.exp: Test the completion of the "focus"
2181 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2183 * gdb.arch/amd64-prologue-skip.S: New file.
2184 * gdb.arch/amd64-prologue-skip.exp: New file.
2186 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2188 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2189 is_address_zero_readable check.
2191 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2193 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2194 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2196 2015-06-24 Yao Qi <yao.qi@linaro.org>
2198 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2201 2015-06-24 Yao Qi <yao.qi@linaro.org>
2203 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2204 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2205 * gdb.base/siginfo-thread.exp: Likewise.
2207 2015-06-22 Yao Qi <yao.qi@linaro.org>
2209 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2211 2015-06-22 Yao Qi <yao.qi@linaro.org>
2213 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2215 (skip_hw_watchpoint_tests): Likewise.
2217 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2219 * gdb.base/gdbinit-history.exp: Test the interaction between
2220 setting GDBHISTSIZE and setting the history size via .gdbinit.
2222 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2225 * gdb.base/gdbhistsize-history.exp: New test.
2227 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2229 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2231 * gdb.base/readline.exp: Likewise.
2233 2015-06-17 Yao Qi <yao.qi@linaro.org>
2235 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2238 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2240 * gdb.base/gdbinit-history.exp: Add test case to check that
2241 an unlimited history file does not get truncated on exit.
2243 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2245 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2246 (VECTOR): New macro. Use it...
2247 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2248 ...for these typedefs.
2249 (int8, char1, int1, double1): New typedefs.
2250 (struct just_int2, struct two_int2): New structures.
2251 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2252 (add_structvecs, add_singlevecs): New functions.
2253 (main): Call add_some_intvecs twice.
2254 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2255 the compile and exit upon failure. Try compiling for the "native"
2256 architecture. Test inferior function calls with vector arguments
2257 and vector return value handling with "finish" and "return".
2259 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2261 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2262 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2264 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2266 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2268 PR breakpoints/16465
2269 * gdb.mi/mi-dprintf-pending.c: New file.
2270 * gdb.mi/mi-dprintf-pending.exp: New test.
2271 * gdb.mi/mi-dprintf-pendshr.c: New file.
2273 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2274 Mircea Gherzan <mircea.gherzan@intel.com>
2276 * gdb.arch/i386-mpx-map.c: New file.
2277 * gdb.arch/i386-mpx-map.exp: New File.
2279 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2281 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2282 * gdb.arch/i386-mpx.exp: Indentation fixed.
2284 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2286 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2287 function and improved indentation.
2288 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2289 gdb_test_multiple. Added additional tests to skip the test.
2291 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2293 * gdb.arch/i386-avx512.c: Change path in include file.
2294 * gdb.arch/i386-avx512.exp: Change include dir path
2296 * gdb.arch/i386-mpx.c: Change path in include file.
2297 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2300 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2302 * gdb.compile/compile-print.exp (compile print *vararray@3)
2303 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2305 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2307 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2308 (do not keep jit in memory): ... this.
2309 (expect 5): Change it to ...
2310 (expect no 5): ... this.
2312 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2315 * gdb.mi/mi-detach.exp: New file.
2317 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2320 * gdb.arch/amd64-tailcall-self.S: New file.
2321 * gdb.arch/amd64-tailcall-self.c: New file.
2322 * gdb.arch/amd64-tailcall-self.exp: New file.
2324 2015-05-28 Don Breazeal <donb@codesourcery.com>
2326 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2327 tests for remote targets by checking is_target_gdbserver.
2329 2015-05-27 Doug Evans <dje@google.com>
2331 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2332 * gdb.dwarf2/opaque-type-lookup.c: New file.
2333 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2335 2015-05-26 Doug Evans <dje@google.com>
2337 * gdb.cp/iostream.cc: New file.
2338 * gdb.cp/iostream.exp: New file.
2340 2015-05-26 Doug Evans <dje@google.com>
2342 * gdb.dwarf2/dw2-op-call.exp: Update.
2343 * gdb.dwarf2/dw4-sig-types.exp: Update.
2344 * gdb.dwarf2/implptr.exp: Update.
2345 * gdb.mi/mi-cmd-param-changed.exp: Update.
2347 2015-05-26 Doug Evans <dje@google.com>
2349 * gdb.python/py-lazy-string.c: New file.
2350 * gdb.python/py-lazy-string.exp: New file.
2351 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2352 (main): Update. Add estring3.
2353 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2354 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2356 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2357 Yao Qi <yao.qi@linaro.org>
2359 * gdb.reverse/aarch64.c: New.
2360 * gdb.reverse/aarch64.exp: New.
2362 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2364 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2365 (supports_reverse): Likewise.
2367 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2369 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2370 Use with_test_prefix.
2372 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2374 * gdb.base/completion.exp: Add test for completion of layout
2377 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2379 * lib/gdb.exp (skip_tui_tests): New proc.
2380 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2382 2015-05-19 Pedro Alves <palves@redhat.com>
2384 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2385 Save the whole env array instead of just HOME. Unset HISTSIZE in
2386 the environment while testing. Restore whole environment
2389 2015-05-16 Doug Evans <xdje42@gmail.com>
2391 * gdb.guile/scm-ports.c: New file.
2392 * gdb.guile/scm-ports.exp: Add memory port tests.
2394 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2396 * gdb.compile/compile-print.c: New file.
2397 * gdb.compile/compile-print.exp: New file.
2399 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2401 * gdb.compile/compile-ops.exp: Cast param to void.
2402 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2403 (compile code struct_object.selffield = &struct_object): Add xfail.
2405 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2407 * gdb.ada/arr_enum_with_gap: New testcase.
2409 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2411 * gdb.ada/byte_packed_arr: New testcase.
2413 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2415 * gdb.ada/pckd_neg: New testcase.
2417 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2420 * gdb.base/gdbinit-history.exp: New test.
2421 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2422 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2424 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2426 * gdb.python/py-xmethods.cc: Enhance test case.
2427 * gdb.python/py-xmethods.exp: New tests.
2428 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2430 (B_indexoper): Likewise.
2431 (global_dm_list) : Add new xmethod worker functions.
2433 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2435 * gdb.base/coredump-filter.exp: Correctly unset
2436 "coredump_var_addr" array.
2438 2015-05-08 Pedro Alves <palves@redhat.com>
2440 * gdb.server/non-existing-program.exp: Unset spawn_id.
2442 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2445 * gdb.python/py-xmethods.exp: Add tests.
2447 2015-05-08 Yao Qi <yao.qi@linaro.org>
2450 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2451 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2452 function set_coredump_filter, and remove remote_exec call.
2453 Remove argument ipid. Callers update.
2454 (top level): Don't get inferior's PID.
2456 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2458 * gdb.base/watch_thread_num.exp: Skip test on targets without
2461 2015-05-06 Pedro Alves <palves@redhat.com>
2464 * gdb.server/non-existing-program.exp: New file.
2466 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2468 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2470 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2472 * gdb.ada/out_of_line_in_inlined: New testcase.
2474 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2476 * gdb.ada/var_rec_arr: New testcase.
2478 2015-04-30 Yao Qi <yao.qi@linaro.org>
2480 * gdb.base/break-idempotent.exp: If
2481 skip_hw_watchpoint_multi_tests returns true, skip the tests
2482 on "rwatch" and "awatch".
2484 2015-04-30 Yao Qi <yao.qi@linaro.org>
2486 * gdb.base/relativedebug.exp: Invoke gdb command
2487 "info sharedlibrary", and if libc.so doesn't have debug info,
2490 2015-04-29 Doug Evans <dje@google.com>
2492 * gdb.python/py-xmethods.exp: Add ptype tests.
2493 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2494 get_result_type method.
2496 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2498 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2499 the target does not support hardware watchpoints.
2501 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2503 * gdb.base/break-always.exp: Abort testing if writing to memory
2506 2015-04-28 Doug Evans <dje@google.com>
2508 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2509 * gdb.python/py-pp-registration.exp: ... here. New file.
2510 * gdb.python/py-pp-registration.c: New file.
2511 * gdb.python/py-pp-registration.py: New file.
2513 2015-04-28 Doug Evans <dje@google.com>
2515 * gdb.python/py-bad-printers.c: New file.
2516 * gdb.python/py-bad-printers.py: New file.
2517 * gdb.python/py-bad-printers.exp: New file.
2519 2015-04-28 Sasha Smundak <asmundak@google.com>
2521 * gdb.python/py-type.exp: New test.
2523 2015-04-28 Andy Wingo <wingo@igalia.com>
2525 * gdb.python/py-parameter.exp:
2526 * gdb.guile/scm-parameter.exp: Escape the path that we are
2527 matching against, as it might contain characters that are special
2528 to regular expressions.
2530 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2532 * gdb.ada/rec_comp: New testcase.
2534 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2536 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2539 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2541 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2542 new tests for verilog output.
2544 2015-04-24 Yao Qi <yao.qi@linaro.org>
2546 * boards/remote-gdbserver-on-localhost.exp: New file.
2548 2015-04-23 Pedro Alves <palves@redhat.com>
2550 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2551 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2552 "end of file", remove $inferior_spawn_id from the indirect list.
2554 2015-04-23 Pedro Alves <palves@redhat.com>
2556 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2558 2015-04-23 Pedro Alves <palves@redhat.com>
2560 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2561 on $any_spawn_id instead of only on $gdb_spawn_id.
2563 2015-04-21 Pierre Muller <muller@sourceware.org>
2566 * lib/pascal.exp (gpc_compile): Add new option "class".
2567 (fpc_compile): Likewise.
2568 * gdb.pascal/case-insensitive-symbols.pas: New file.
2569 * gdb.pascal/case-insensitive-symbols.exp: New file.
2571 2015-04-20 Gary Benson <gbenson@redhat.com>
2573 * gdb.base/attach.exp: Fix three extended remote failures.
2575 2015-04-17 Gary Benson <gbenson@redhat.com>
2577 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2578 the main executable over the remote protocol.
2580 2015-04-16 Pedro Alves <palves@redhat.com>
2582 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2583 a new gdbserver if gdbserver_reconnect_p is set.
2585 2015-04-16 Pedro Alves <palves@redhat.com>
2587 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2588 is set, don't exit gdbserver.
2590 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2592 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2593 appropriate .insn, such that an older assembler can be used.
2594 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2595 the z/Architecture instruction set on 31-bit targets as well.
2597 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2599 * gdb.go/handcall.exp: Remove all logic related to the first
2600 breakpoint and rely on go_runto_main instead.
2601 * gdb.go/strings.exp: Likewise.
2602 * gdb.go/unsafe.exp: Likewise.
2603 * gdb.go/hello.exp: Likewise. Also rename the remaining
2604 breakpoint marker to "breakpoint 1".
2605 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2606 * gdb.go/strings.go: Likewise.
2607 * gdb.go/unsafe.go: Likewise.
2608 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2609 "set breakpoint 2 here" and rename the remaining breakpoint marker
2612 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2614 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2615 if itertools.imap is not present.
2616 * gdb.python/py-objfile.exp: Add parentheses.
2617 * gdb.python/py-type.exp: Same.
2618 * gdb.python/py-unwind-maint.py: Same.
2620 2015-04-15 Yao Qi <yao.qi@linaro.org>
2622 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2623 of ":$ptr_size" and set its form explicitly.
2625 2015-04-15 Pedro Alves <palves@redhat.com>
2626 Yao Qi <yao.qi@linaro.org>
2628 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2629 timeout by factor of 4.
2630 (test_regular_watch): Likewise.
2631 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2632 * gdb.reverse/sigall-reverse.exp: Likewise.
2633 * gdb.reverse/until-precsave.exp: Likewise.
2634 * lib/gdb.exp (with_timeout_factor): New proc.
2635 (gdb_expect): Move some code to ...
2636 (get_largest_timeout): ... here. New procedure.
2638 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
2640 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2642 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2644 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2645 to write to the .text section.
2647 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
2649 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2650 Handle the case of targets that do not provide PID information.
2652 2015-04-13 Yao Qi <yao.qi@linaro.org>
2654 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2655 and use expect instead of gdb_expect.
2657 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2659 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2660 "coredump_var_addr" to avoid naming conflict with other testcases.
2662 2015-04-10 Pedro Alves <palves@redhat.com>
2664 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2665 gdb_test_sequence and gdb_assert.
2667 2015-04-10 Pedro Alves <palves@redhat.com>
2669 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2670 test messages that don't include the breakpoint address.
2672 2015-04-10 Yao Qi <yao.qi@linaro.org>
2674 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2675 false for some offset and width combinations which aren't
2676 supported by linux kernel.
2678 2015-04-10 Pedro Alves <palves@redhat.com>
2680 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2681 procedure, factored out from ...
2682 (top level): ... here. Add "set displaced-stepping" testing axis.
2683 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2684 parameter "displaced". Use it.
2685 (top level): Use foreach and add "set displaced-stepping" testing
2688 2015-04-10 Pedro Alves <palves@redhat.com>
2690 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2692 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2693 both the address of the instruction that triggers the watchpoint
2694 and the address of the instruction immediately after, and use
2695 those addresses for the test. Fix comment.
2697 2015-04-10 Pedro Alves <palves@redhat.com>
2699 * gdb.base/sigstep.exp (breakpoint_to_handler)
2700 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2701 Test "backtrace" in handler.
2702 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2703 (top level): Add new "displaced" test axis to
2704 breakpoint_to_handler, breakpoint_to_handler_entry and
2705 breakpoint_over_handler.
2707 2015-04-10 Pedro Alves <palves@redhat.com>
2710 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2712 2015-04-10 Yao Qi <yao.qi@linaro.org>
2714 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2715 (test_add_rn_pc): New function.
2716 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2717 (top level): Invoke test_add_rn_pc.
2719 2015-04-10 Pedro Alves <palves@redhat.com>
2722 * gdb.base/step-over-no-symbols.exp: New file.
2724 2015-04-09 Andy Wingo <wingo@igalia.com>
2726 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2727 after the Python tests.
2729 2015-04-08 Keith Seitz <keiths@redhat.com>
2732 * gdb.python/py-completion.exp: New tests for completion.
2733 * gdb.python/py-completion.py (CompleteLimit1): New class.
2734 (CompleteLimit2): Likewise.
2735 (CompleteLimit3): Likewise.
2736 (CompleteLimit4): Likewise.
2737 (CompleteLimit5): Likewise.
2738 (CompleteLimit6): Likewise.
2739 (CompleteLimit7): Likewise.
2741 2015-04-08 Pedro Alves <palves@redhat.com>
2745 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2747 (main): Install it as SIGUSR1 handler.
2748 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2749 parameter. Always use "setup" as prefix. Toggle "set
2750 displaced-stepping" off/on depending on global. Don't switch to
2752 (top level): Add displaced stepping "off/on" test axis. Update
2753 "setup" calls. Wrap each subtest with with_test_prefix. Test
2754 continuing with a queued signal in each thread.
2756 2015-04-08 Pedro Alves <palves@redhat.com>
2758 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2759 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2760 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2761 Return early if running to main fails.
2762 * gdb.trace/while-stepping.exp: Likewise.
2764 2015-04-07 Pedro Alves <palves@redhat.com>
2766 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2767 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2768 interact with inferior program.
2770 2015-04-07 Pedro Alves <palves@redhat.com>
2772 * lib/gdb.exp (inferior_spawn_id): New global.
2773 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2774 spawn id after processing the user code.
2775 (default_gdb_start): Set inferior_spawn_id.
2776 (send_inferior): New procedure.
2777 * lib/gdbserver-support.exp (gdbserver_start): Set
2779 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2781 2015-04-07 Pedro Alves <palves@redhat.com>
2783 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2784 * lib/gdbserver-support.exp (gdbserver_start): Make
2785 $server_spawn_id global.
2786 (gdbserver_start): Don't wait for gdbserver's spawn id with
2788 (close_gdbserver): New procedure.
2789 (gdb_exit): Rename the default version and reimplement.
2791 2015-04-07 Pedro Alves <palves@redhat.com>
2793 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
2794 append the substituted item, not the original item.
2796 2015-04-07 Pedro Alves <palves@redhat.com>
2798 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2801 2015-04-07 Pedro Alves <palves@redhat.com>
2803 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2804 output appearing once only.
2806 2015-04-07 Pedro Alves <palves@redhat.com>
2808 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2809 that doesn't expect anything. Return early if running to main
2812 2015-04-07 Yao Qi <yao.qi@linaro.org>
2814 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2815 (child_function): Call alarm.
2816 (main): Move call to alarm into the loop.
2817 * gdb.threads/non-stop-fair-events.exp: Build program with
2820 2015-04-06 Doug Evans <xdje42@gmail.com>
2822 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2823 Fix dest parameter to board_info.
2824 (fpc_compile): Ditto.
2825 (gdb_compile_pascal): Rename dest arg to destfile.
2827 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2829 * gdb.ada/funcall_ref.exp: New file.
2830 * gdb.ada/funcall_ref/foo.adb: New file.
2832 2015-04-02 Yao Qi <yao.qi@linaro.org>
2834 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2837 2015-04-02 Gary Benson <gbenson@redhat.com>
2839 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2841 2015-04-01 Sasha Smundak <asmundak@google.com>
2843 * gdb.python/py-unwind-maint.c: New file.
2844 * gdb.python/py-unwind-maint.exp: New test.
2845 * gdb.python/py-unwind-maint.py: New file.
2846 * gdb.python/py-unwind.c: New file.
2847 * gdb.python/py-unwind.exp: New test.
2848 * gdb.python/py-unwind.py: New test.
2850 2015-04-01 Pedro Alves <palves@redhat.com>
2852 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2853 to fail instead of non-existent $test.
2855 2015-04-01 Pedro Alves <palves@redhat.com>
2857 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2858 GDBFLAGS if not empty.
2860 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2862 * gdb.ada/complete.exp: Remove "multi_line".
2863 * gdb.ada/info_exc.exp: Remove "multi_line".
2864 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2865 * gdb.ada/ptype_field.exp: Remove "multi_line".
2866 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2867 * gdb.ada/tagged.exp: Remove "multi_line".
2868 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2870 * gdb.btrace/delta.exp: Likewise.
2871 * gdb.btrace/exception.exp: Likewise.
2872 * gdb.btrace/function_call_history.exp: Likewise.
2873 * gdb.btrace/instruction_history.exp: Likewise.
2874 * gdb.btrace/nohist.exp: Likewise.
2875 * gdb.btrace/record_goto.exp: Likewise.
2876 * gdb.btrace/segv.exp: Likewise.
2877 * gdb.btrace/stepi.exp: Likewise.
2878 * gdb.btrace/tailcall.exp: Likewise.
2879 * gdb.btrace/unknown_functions.exp: Likewise.
2880 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2881 * lib/gdb.exp: Add the "multi_line" helper.
2883 2015-04-01 Pedro Alves <palves@redhat.com>
2885 * gdb.threads/tid-reuse.c: New file.
2886 * gdb.threads/tid-reuse.exp: New file.
2888 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2891 * gdb.base/coredump-filter.c: New file.
2892 * gdb.base/coredump-filter.exp: Likewise.
2894 2015-03-27 Petr Machata <pmachata@redhat.com>
2896 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2897 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2898 (Dwarf::assemble): Initialize them.
2899 (Dwarf::lines): New function.
2901 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2903 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2904 SYMBOL_PREFIX for x86_64-*-cygwin.
2906 2015-03-26 Andy Wingo <wingo@igalia.com>
2909 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2910 const_value but not a location.
2911 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2912 location defined in non-main CUs are visible.
2914 2015-03-26 Yao Qi <yao.qi@linaro.org>
2917 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2918 Add a line number entry for the same line.
2919 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2920 Add a line number entry for the same line.
2922 2015-03-26 Yao Qi <yao.qi@linaro.org>
2924 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2926 (func): Likewise. Add .Lfunc_1 label.
2928 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2933 2015-03-26 Yao Qi <yao.qi@linaro.org>
2935 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2936 Call gdb_compile instead to compile each .s files without debug
2939 2015-03-26 Yao Qi <yao.qi@linaro.org>
2941 * gdb.base/savedregs.exp (process_saved_regs): Make
2942 "Saved registers:" optional in the pattern.
2944 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2946 * gdb.btrace/next.exp: Merged into step.exp.
2947 * gdb.btrace/finish.exp: Merged into step.exp.
2948 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2949 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2950 "record goto" and checking the exact replay position.
2951 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2952 check for "Recording format" in "info record" output.
2953 * gdb.btrace/record_goto.exp: Choose test file based on target.
2954 * gdb.btrace/x86-record_goto.S: Renamed into ...
2955 * gdb.btrace/x86_64-record_goto.S: ... this.
2956 * gdb.btrace/i686-record_goto.S: New.
2957 * gdb.btrace/x86-tailcall.S: Renamed into ...
2958 * gdb.btrace/x86_64-tailcall.S: ... this.
2959 * gdb.btrace/i686-tailcall.S: New.
2960 * gdb.btrace/x86-tailcall.c: Renamed into ...
2961 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2962 separate statements. Update test.
2963 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2964 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2965 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2966 * gdb.btrace/tailcall.exp: Choose test file based on target.
2967 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2969 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2971 * gdb.btrace/exception.exp: Increase BTS buffer size.
2973 2015-03-24 Pedro Alves <palves@redhat.com>
2975 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2977 2015-03-24 Pedro Alves <palves@redhat.com>
2979 * gdb.threads/schedlock.exp (test_step): No longer expect that
2980 "set scheduler-locking step" with "next" over a function call runs
2983 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2985 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2987 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2989 PR breakpoints/16466
2990 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2991 * gdb.mi/mi-pending.c (thread_func): New function.
2992 (int main): Add threading support required.
2993 * gdb.mi/mi-pending.exp: Add tests for this issue.
2994 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2995 (pendfunc2): Remove stdio dependency.
2996 * gdb.mi/mi-pendshr2.c: New file.
2998 2015-03-23 Keith Seitz <keiths@redhat.com>
3000 * gdb.linespec/keywords.c: New file.
3001 * gdb.linespec/keywords.exp: New file.
3003 2015-03-23 Keith Seitz <keiths@redhat.com>
3006 * gdb.dwarf2/staticvirtual.exp: New test.
3008 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3010 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3011 * README: Remove HP-UX and gdb.hp.
3013 * configure: Regenerate.
3014 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3015 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3016 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3017 gdb.hp/gdb.defects/Makefile.
3018 * gdb.hp/Makefile.in: File deleted.
3019 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3020 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3021 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3022 * gdb.hp/gdb.aCC/run.c: File deleted.
3023 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3024 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3025 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3026 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3027 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3028 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3029 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3030 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3031 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3032 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3033 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3034 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3035 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3036 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3037 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3038 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3039 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3040 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3041 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3042 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3043 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3044 * gdb.hp/gdb.compat/average.c: File deleted.
3045 * gdb.hp/gdb.compat/sum.c: File deleted.
3046 * gdb.hp/gdb.compat/xdb.c: File deleted.
3047 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3048 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3049 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3050 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3051 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3052 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3053 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3054 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3055 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3056 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3057 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3058 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3059 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3060 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3061 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3062 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3063 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3064 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3065 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3066 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3067 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3068 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3069 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3070 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3071 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3072 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3073 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3074 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3075 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3076 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3077 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3078 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3079 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3080 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3081 * gdb.hp/tools/odump: File deleted.
3083 2015-03-19 Pedro Alves <palves@redhat.com>
3085 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3086 (saw_thread_3): New globals.
3087 (top level): Increment them when an event for the corresponding
3089 (no thread starvation): New test.
3091 2015-03-19 Pedro Alves <palves@redhat.com>
3093 * gdb.threads/continue-pending-status.c: New file.
3094 * gdb.threads/continue-pending-status.exp: New file.
3096 2015-03-18 Pedro Alves <palves@redhat.com>
3098 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3099 Use gdb_is_target_remote instead of is_remote. Use
3100 gdb_test_multiple instead of gdb_expect. Exit early if
3101 gdb_test_multiple hits its internal matches. Tighten stepi tests
3102 expected output. Fail on exit with any signal, instead of just
3105 2015-03-18 Yao Qi <yao.qi@linaro.org>
3108 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3110 * gdb.base/catch-syscall.exp: Don't skip it on
3111 aarch64*-*-linux* target. Remove elements in all_syscalls.
3112 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3114 (setup_all_syscalls): New proc.
3116 2015-03-16 Yao Qi <yao.qi@linaro.org>
3118 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3119 (top level): Skip tests if valid_addr_p returns false for
3122 2015-03-11 Andy Wingo <wingo@igalia.com>
3124 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3126 2015-03-11 Yao Qi <yao.qi@linaro.org>
3128 * gdb.base/catch-syscall.exp: Fix typo in comments.
3130 2015-03-11 Yao Qi <yao.qi@linaro.org>
3132 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3134 2015-03-09 Pedro Alves <palves@redhat.com>
3136 * dg-extract-results.py: Delete.
3138 2015-03-09 Pedro Alves <palves@redhat.com>
3140 Merge dg-extract-results.sh from GCC upstream (r218843).
3142 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3143 * dg-extract-results.sh: Use --text with grep to avoid issues with
3144 binary files. Fall back to cat -v, if that doesn't work.
3146 2015-03-05 Pedro Alves <palves@redhat.com>
3148 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3150 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3152 * lib/mi-support.exp (mi_expect_interrupt): Accept
3153 alternative event for when in all-stop mode.
3155 2015-03-04 Pedro Alves <palves@redhat.com>
3157 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3159 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3161 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3163 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3165 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3166 regexps for GDB's current line display, accept a hex address
3167 preceding the line number.
3169 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3171 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3172 the 'arch1' variable for "s390*-linux*" targets.
3174 2015-03-04 Pedro Alves <palves@redhat.com>
3176 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3177 (main): Pass missing retval argument to pthread_join call.
3179 2015-03-02 Pedro Alves <palves@redhat.com>
3181 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3182 (top level): Call do_test with non-stop as well.
3184 2015-03-02 Pedro Alves <palves@redhat.com>
3186 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3189 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3191 * gdb.arch/s390-vregs.exp: New test.
3192 * gdb.arch/s390-vregs.S: New file.
3194 2015-02-27 Pedro Alves <palves@redhat.com>
3196 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3197 call to catch_command_errors.
3198 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3199 catch_command_errors.
3201 2015-02-27 Pedro Alves <palves@redhat.com>
3203 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3204 "true" for boolean result.
3205 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3208 2015-02-27 Pedro Alves <palves@redhat.com>
3210 * lib/unbuffer_output.c: New file.
3211 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3212 (main): Call gdb_unbuffer_output.
3214 2015-02-27 Yao Qi <yao.qi@linaro.org>
3216 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3219 2015-02-26 Doug Evans <dje@google.com>
3221 * gdb.cp/class2.cc (Dbase, D): New classes.
3222 (main): New local delta.
3223 * gdb.cp/class2.exp: Test printing delta.
3224 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3225 (dynbar): New global.
3226 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3228 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3230 * gdb.compile/compile-ifunc.c: New file.
3231 * gdb.compile/compile-ifunc.exp: New file.
3233 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3235 * gdb.base/structs.exp: Check for correct struct on finish.
3237 2015-02-26 Yao Qi <yao.qi@linaro.org>
3239 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3242 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3244 * gdb.arch/cordic.ko.bz2: New file.
3245 * gdb.arch/cordic.ko.debug.bz2: New file.
3246 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3248 2015-02-25 Yao Qi <yao.qi@linaro.org>
3250 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3251 aarch64*-*-* target.
3253 2015-02-23 Pedro Alves <palves@redhat.com>
3255 * lib/gdb.exp (delete_breakpoints): Rewrite using
3258 2015-02-23 Pedro Alves <palves@redhat.com>
3260 * gdb.base/info-os.c: Include stdlib.h.
3262 2015-02-22 Doug Evans <xdje42@gmail.com>
3265 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3266 is read after symbols have been re-read.
3267 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3268 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3270 2015-02-21 Doug Evans <dje@google.com>
3272 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3274 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3277 * gdb.arch/i386-biarch-core.core.bz2: New file.
3278 * gdb.arch/i386-biarch-core.exp: New file.
3280 2015-02-21 Pedro Alves <palves@redhat.com>
3282 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3285 2015-02-20 Pedro Alves <palves@redhat.com>
3287 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3290 2015-02-20 Pedro Alves <palves@redhat.com>
3292 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3294 2015-02-20 Pedro Alves <palves@redhat.com>
3296 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3297 clean_restart before gdb_target_supports_trace.
3299 2015-02-20 Pedro Alves <palves@redhat.com>
3302 * gdb.threads/clone-thread_db.c: New file.
3303 * gdb.threads/clone-thread_db.exp: New file.
3305 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3307 PR breakpoints/16812
3308 * gdb.base/catch-gdb-caused-signals.c: New file.
3309 * gdb.base/catch-gdb-caused-signals.exp: New file.
3311 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3313 * configure: Regenerated.
3314 * configure.ac: Use GDB_AC_TRANSFORM.
3315 * aclocal.m4: sinclude ../transform.m4.
3317 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3319 * lib/dtrace.exp: New file.
3320 * gdb.base/dtrace-probe.exp: Likewise.
3321 * gdb.base/dtrace-probe.d: Likewise.
3322 * gdb.base/dtrace-probe.c: Likewise.
3323 * lib/pdtrace.in: Likewise.
3324 * configure.ac: Output variables with the transformed names of
3325 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3326 * configure: Regenerated.
3328 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3330 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3331 expected message when trying to access $_probe_* convenience
3332 variables while not on a probe.
3334 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3336 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3338 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3340 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3341 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3343 2015-02-10 Doug Evans <xdje42@gmail.com>
3345 * lib/gdb.exp (gdb_load): Always return a result.
3347 2015-02-10 Pedro Alves <palves@redhat.com>
3349 * gdb.threads/signal-sigtrap.c: New file.
3350 * gdb.threads/signal-sigtrap.exp: New file.
3352 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3354 * gdb.trace/no-attach-trace.c: New file.
3355 * gdb.trace/no-attach-trace.exp: New file.
3357 2015-02-09 Mark Wielaard <mjw@redhat.com>
3359 * gdb.dwarf2/atomic.c: New file.
3360 * gdb.dwarf2/atomic-type.exp: Likewise.
3362 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3364 * gdb.btrace/buffer-size.exp: Update "info record" output.
3365 * gdb.btrace/delta.exp: Update "info record" output.
3366 * gdb.btrace/enable.exp: Update "info record" output.
3367 * gdb.btrace/finish.exp: Update "info record" output.
3368 * gdb.btrace/instruction_history.exp: Update "info record" output.
3369 * gdb.btrace/next.exp: Update "info record" output.
3370 * gdb.btrace/nexti.exp: Update "info record" output.
3371 * gdb.btrace/step.exp: Update "info record" output.
3372 * gdb.btrace/stepi.exp: Update "info record" output.
3373 * gdb.btrace/nohist.exp: Update "info record" output.
3375 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3377 * gdb.btrace/buffer-size: New.
3379 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3381 * gdb.btrace/delta.exp: Update "info record" output.
3382 * gdb.btrace/enable.exp: Update "info record" output.
3383 * gdb.btrace/finish.exp: Update "info record" output.
3384 * gdb.btrace/instruction_history.exp: Update "info record" output.
3385 * gdb.btrace/next.exp: Update "info record" output.
3386 * gdb.btrace/nexti.exp: Update "info record" output.
3387 * gdb.btrace/step.exp: Update "info record" output.
3388 * gdb.btrace/stepi.exp: Update "info record" output.
3389 * gdb.btrace/nohist.exp: Update "info record" output.
3391 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3394 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3396 2015-02-06 Pedro Alves <palves@redhat.com>
3398 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3400 (seconds_left, again): New globals.
3401 (main): Wait seconds_left in a 1-second sleep loop instead of
3402 sleeping 180 seconds. If 'again' is set, reset the seconds
3404 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3405 'again' in the inferior before detaching. Print the seconds left.
3406 (options): New global.
3407 (top level): Build program with -DTIMEOUT=$timeout.
3409 2015-02-06 Pedro Alves <palves@redhat.com>
3411 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3412 determine how many seconds to pass to 'alarm'.
3413 * gdb.base/gdb-sigterm.exp (top level): Build program with
3415 (do_test): Return success/failure indication. Add more verbose
3416 logging. Don't fail if 200 single steps are seen. Instead, fail
3417 when the test times out.
3418 (passes): New global.
3419 (top level): Break the testing loop if testing fails on any
3420 iteration. Use gdb_assert.
3422 2015-02-04 Don Breazeal <donb@codesourcery.com>
3424 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3425 and initialize them.
3426 (ipc_cleanup): New function.
3427 (main): Don't declare shmid, semid, and msqid. Add a call to
3428 atexit so that we call ipc_cleanup on exit.
3430 2015-02-04 Pedro Alves <palves@redhat.com>
3432 * boards/native-extended-gdbserver.exp: Remove any target variant
3433 specifications from the board name before clearing the isremote
3434 flag from board_info.
3436 2015-01-31 Doug Evans <xdje42@gmail.com>
3438 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3440 2015-01-31 Gary Benson <gbenson@redhat.com>
3442 * gdb.base/completion.exp: Disable completion limiting for
3443 existing tests. Add new tests to check completion limiting.
3444 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3446 2015-01-31 Doug Evans <xdje42@gmail.com>
3448 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3450 2015-01-31 Doug Evans <xdje42@gmail.com>
3452 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3453 entries. Duplicate file section script entries.
3454 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3455 inlined entries. Add test for safe-path rejection.
3456 * gdb.python/py-section-script.c: Add duplicate inlined section script
3457 entries. Duplicate file section script entries.
3458 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3459 inlined entries. Add test for safe-path rejection.
3461 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3463 * gdb.ada/disc_arr_bound: New testcase.
3465 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3467 * gdb.ada/mi_var_array: New testcase.
3469 2015-01-27 Doug Evans <dje@google.com>
3471 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3472 Add test for objfile.filename, objfile.username after objfile
3475 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3477 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3478 the second test to print the name attribute of value
3479 returned by the call to gdb.lookup_type, and adjust
3480 the expected output accordingly.
3482 2015-01-25 Mark Wielaard <mjw@redhat.com>
3484 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3485 * gdb.base/disp-step-fork.c: Include unistd.h.
3486 * gdb.base/siginfo-obj.c: Include stdio.h.
3487 * gdb.base/siginfo-thread.c: Likewise.
3488 * gdb.mi/non-stop.c: Include unistd.h.
3489 * gdb.mi/nsthrexec.c: Include stdio.h.
3490 * gdb.mi/pthreads.c: Include unistd.h.
3491 * gdb.modula2/unbounded1.c (main): Declare returns int.
3492 * gdb.reverse/consecutive-reverse.c: Likewise.
3493 * gdb.threads/create-fail.c: Include unistd.h.
3494 * gdb.threads/killed.c: Likewise.
3495 * gdb.threads/linux-dp.c: Likewise.
3496 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3497 * gdb.threads/non-ldr-exc-2.c: Likewise.
3498 * gdb.threads/non-ldr-exc-3.c: Likewise.
3499 * gdb.threads/non-ldr-exc-4.c: Likewise.
3500 * gdb.threads/pthreads.c: Include unistd.h.
3501 (main): Declare returns int.
3502 * gdb.threads/tls-main.c (foo): New declaration.
3503 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3505 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3507 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3508 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3510 2015-01-15 Mark Wielaard <mjw@redhat.com>
3512 * gdb.base/noreturn-return.c: New file.
3513 * gdb.base/noreturn-return.exp: New file.
3514 * gdb.base/noreturn-finish.c: New file.
3515 * gdb.base/noreturn-finish.exp: New file.
3517 2015-01-23 Pedro Alves <palves@redhat.com>
3519 * gdb.threads/continue-pending-after-query.c: New file.
3520 * gdb.threads/continue-pending-after-query.exp: New file.
3522 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3523 Simon Marchi <simon.marchi@ericsson.com>
3525 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3526 * gdb.base/valgrind-db-attach.exp: Same.
3527 * gdb.base/valgrind-infcall.exp: Same.
3528 * lib/mi-support.exp (default_mi_gdb_start): Same.
3529 * lib/prompt.exp (default_prompt_gdb_start): Same.
3530 * lib/gdb.exp (default_gdb_spawn): Same.
3531 (gdb_interact): New.
3534 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3536 * gdb.compile/compile.exp (pointer to jit function): New test.
3538 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3540 * lib/gdb.exp (supports_process_record): Return true for
3542 (supports_reverse): Likewise.
3544 2015-01-15 Don Breazeal <donb@codesourcery.com>
3546 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3547 instead of checking whether the target board is remote and
3548 use spawn_wait_for_attach instead of exec/sleep.
3549 * gdb.base/attach-twice.exp: Likewise.
3551 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3553 * gdb.ada/var_arr_attrs: New testcase.
3555 2015-01-14 Pedro Alves <palves@redhat.com>
3556 Joel Brobecker <brobecker@adacore.com>
3559 * gdb.base/bp-cmds-execution-x-script.c: New file.
3560 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3561 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3563 2015-01-14 Pedro Alves <palves@redhat.com>
3566 * gdb.base/batch-preserve-term-settings.c: New file.
3567 * gdb.base/batch-preserve-term-settings.exp: New file.
3569 2015-01-13 Doug Evans <dje@google.com>
3571 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3574 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3576 * Makefile.in (clean mostlyclean): Do not delete *.py.
3578 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3580 * gdb.python/py-lookup-type.exp: New file.
3582 2015-01-12 Pedro Alves <palves@redhat.com>
3584 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3585 restore GDBFLAGS before returning.
3587 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3589 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3590 is_amd64_regs_target and is_x86_like_target.
3592 2015-01-11 Doug Evans <xdje42@gmail.com>
3594 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3595 is given without an explicit form.
3596 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3598 * gdb.dwarf/corrupt.exp: Ditto.
3599 * gdb.dwarf2/enum-type.exp: Ditto.
3600 * gdb.trace/entry-values.exp: Ditto.
3601 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3603 2015-01-11 Doug Evans <xdje42@gmail.com>
3606 * gdb.base/maint.exp: Remove references to "maint demangle".
3607 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3608 Add tests for explicitly specifying language to demangle.
3609 * gdb.dlang/demangle.exp: Ditto.
3611 2015-01-09 Pedro Alves <palves@redhat.com>
3613 * gdb.threads/non-stop-fair-events.c: New file.
3614 * gdb.threads/non-stop-fair-events.exp: New file.
3616 2015-01-09 Pedro Alves <palves@redhat.com>
3618 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3619 the global scope. Set a breakpoint after all threads are started
3620 rather than stepping over two source lines. Expect the prompt.
3621 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3624 (main): Use threads_started_barrier to wait for all threads to
3625 start. Main thread no longer calls thread_function. Exit after
3627 (loop): New function.
3628 (thread_function): Wait on threads_started_barrier barrier. Call
3629 'loop' at each iteration.
3630 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3631 threads have started, instead of hardcoding number of "next"
3632 steps. Use an access watchpoint instead of a write watchpoint.
3634 2015-01-09 Pedro Alves <palves@redhat.com>
3636 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3637 (thread_func): Wait on barrier.
3638 (main): Wait for all threads to start before stopping GDB.
3639 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3641 (thread1_func, thread2_func): Wait on barrier.
3642 (main): Wait for all threads to start before stopping GDB.
3643 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3645 (thread1_func, thread2_func): Wait on barrier.
3646 (main): Wait for all threads to start before stopping GDB.
3648 2015-01-09 Pedro Alves <palves@redhat.com>
3650 * gdb.threads/attach-many-short-lived-threads.c: New file.
3651 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3653 2014-01-09 Pedro Alves <palves@redhat.com>
3655 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3656 instead of to thread 2.
3657 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3658 Add barrier around each pthread_create call instead of around all
3660 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3661 Set a break on thread_function and have the child threads hit it
3664 2015-01-09 Pedro Alves <palves@redhat.com>
3666 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3667 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3669 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3670 checking whether the target board is remote.
3671 * gdb.multi/multi-attach.exp: Likewise.
3672 * gdb.python/py-sync-interp.exp: Likewise.
3673 * gdb.server/ext-attach.exp: Likewise.
3674 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3675 tests that need to attach, instead of checking whether the target
3676 board is remote at the top of the file.
3678 2015-01-08 Yao Qi <yao@codesourcery.com>
3680 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3682 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3684 Fix testcase compilation.
3685 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3687 2015-01-06 Joel Brobecker <brobecker@adacore.com>
3689 * gdb.python/py-type.exp: Add a couple test about empty
3690 array creation, and negative-length array creation.
3692 2015-01-02 Doug Evans <xdje42@gmail.com>
3694 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3696 2015-01-02 Doug Evans <dje@google.com>
3698 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3700 2014-12-29 Yao Qi <yao@codesourcery.com>
3702 * gdb.trace/entry-values.exp: Update comments. Rename variable
3703 bar_call_foo to returned_from_foo.
3705 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3708 * gdb.linespec/break-asm-file.c: New file.
3709 * gdb.linespec/break-asm-file.exp: New file.
3710 * gdb.linespec/break-asm-file0.s: New file.
3711 * gdb.linespec/break-asm-file1.s: New file.
3713 2014-12-18 Nigel Stephens <nigel@mips.com>
3714 Maciej W. Rozycki <macro@codesourcery.com>
3716 * gdb.base/float.exp: Handle the new output from "info float" on
3719 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3721 Fix MinGW compilation.
3722 * gdb.compile/compile-ops.exp: Update untested message if
3723 !skip_compile_feature_tests.
3724 * gdb.compile/compile-setjmp.exp: Likewise.
3725 * gdb.compile/compile-tls.exp: Likewise.
3726 * gdb.compile/compile.exp: Likewise.
3727 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3728 supported on this host".
3730 2014-12-16 Doug Evans <xdje42@gmail.com>
3732 * boards/stabs.exp: New file.
3734 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3736 * gdb.base/completion.exp: Adjust to format changes of "maint
3737 print user-registers".
3739 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
3742 * gdb.arch/aarch64-fp.c: New file.
3743 * gdb.arch/aarch64-fp.exp: New file.
3745 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3747 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3748 r210637, r210913, r211666, r215400, r215817).
3750 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3751 * dg-extract-results.py: New file.
3752 * dg-extract-results.sh: Use it if the environment seems
3755 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3757 * dg-extract-results.py (parse_run): Handle warnings that
3758 are printed before a test harness is run.
3760 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3762 * dg-extract-results.py (Named): Remove __cmp__ method.
3763 (output_variation): Use a key to sort variation.harnesses.
3765 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3767 * dg-extract-results.py: For Python 3, force sys.stdout to
3768 handle surrogate escape sequences.
3769 (safe_open): New function.
3770 (output_segment, main): Use it.
3772 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3774 * dg-extract-results.py (Prog.result_re): Include options
3777 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3779 * dg-extract-results.py (output_variation): Always sort if
3782 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3784 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3785 as long as we get pagination notifications.
3787 2014-12-15 Jason Merrill <jason@redhat.com>
3789 * Makefile.in (check-gdb.%): Restore.
3790 * README: Mention it.
3792 2014-12-13 Joel Brobecker <brobecker@adacore.com>
3794 * gdb.ada/str_uninit: New testcase.
3796 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3799 * gdb.base/vla-stub-define.c: New file.
3800 * gdb.base/vla-stub.c: New file.
3801 * gdb.base/vla-stub.exp: New file.
3803 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3804 Jan Kratochvil <jan.kratochvil@redhat.com>
3805 Tom Tromey <tromey@redhat.com>
3807 * configure.ac: Add gdb.compile/.
3808 * configure: Regenerate.
3809 * gdb.compile/Makefile.in: New file.
3810 * gdb.compile/compile-ops.exp: New file.
3811 * gdb.compile/compile-ops.c: New file.
3812 * gdb.compile/compile-tls.c: New file.
3813 * gdb.compile/compile-tls.exp: New file.
3814 * gdb.compile/compile-constvar.S: New file.
3815 * gdb.compile/compile-constvar.c: New file.
3816 * gdb.compile/compile-mod.c: New file.
3817 * gdb.compile/compile-nodebug.c: New file.
3818 * gdb.compile/compile-setjmp-mod.c: New file.
3819 * gdb.compile/compile-setjmp.c: New file.
3820 * gdb.compile/compile-setjmp.exp: New file.
3821 * gdb.compile/compile-shlib.c: New file.
3822 * gdb.compile/compile.c: New file.
3823 * gdb.compile/compile.exp: New file.
3824 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3826 2014-12-12 Tom Tromey <tromey@redhat.com>
3828 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3829 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3831 2014-12-12 Doug Evans <dje@google.com>
3833 * lib/gdb-python.exp (get_python_valueof): New function.
3834 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3836 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3838 * gdb.base/completion.exp: Add test for completion of "info
3841 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3843 * gdb.base/func-ptrs.c: New file.
3844 * gdb.base/func-ptrs.exp: New file.
3846 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3848 PR breakpoints/17012
3849 * gdb.base/dprintf-detach.c: New file.
3850 * gdb.base/dprintf-detach.exp: New file.
3852 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3854 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3855 * lib/gdb.exp (target_is_gdbserver): New procedure.
3857 2014-12-08 Doug Evans <dje@google.com>
3859 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3861 2014-12-05 Yao Qi <yao@codesourcery.com>
3863 * gdb.guile/scm-error.exp: Remove the third argument to
3864 gdb_remote_download.
3865 * gdb.guile/scm-frame-args.exp: Likewise.
3866 * gdb.guile/scm-section-script.exp: Likewise.
3868 2014-12-05 Yao Qi <yao@codesourcery.com>
3870 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3872 2014-12-04 Doug Evans <dje@google.com>
3874 * gdb.python/py-objfile.exp: Add tests for
3875 objfile.add_separate_debug_file.
3877 2014-12-04 Doug Evans <dje@google.com>
3879 * lib/gdb.exp (get_build_id): New function.
3880 (build_id_debug_filename_get): Rewrite to use it.
3881 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3883 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3885 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3886 `method(long)', not just 0x0.
3887 * gdb.cp/nsalias.exp: Align code labels to 4.
3888 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3889 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3890 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3891 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3892 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3893 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3895 2014-12-02 Doug Evans <dje@google.com>
3898 * gdb.cp/anon-ns.cc: Move guts of this file to ...
3899 * gdb.cp/anon-ns2.cc: ... here. New file.
3900 * gdb.cp/anon-ns.exp: Update.
3902 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
3904 * gdb.python/py-events.py (inferior_call_handler): New.
3905 (register_changed_handler, memory_changed_handler): New.
3906 (test_events.invoke): Register new handlers.
3907 * gdb.python/py-events.exp: Add tests for inferior call,
3908 memory_changed and register_changed events.
3910 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3912 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3913 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3914 if the linker doesn't understand this.
3916 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3918 * gdb.python/python.exp: Change expected reply to help().
3920 2014-12-01 Yao Qi <yao@codesourcery.com>
3922 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3923 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3924 * configure: Re-generated.
3926 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3928 * gdb.cp/chained-calls.cc: New file.
3929 * gdb.cp/chained-calls.exp: New file.
3930 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3932 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3934 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3935 * gdb.dwarf2/symtab-producer.exp: Same.
3936 * gdb.gdb/python-interrupts.exp: Same.
3937 * gdb.gdb/python-selftest.exp: Same.
3938 * gdb.python/py-linetable.exp: Same.
3939 * gdb.python/py-type.exp: Same.
3940 * gdb.python/py-value-cc.exp: Same.
3941 * gdb.python/py-value.exp: Same.
3943 2014-11-28 Yao Qi <yao@codesourcery.com>
3945 * gdb.base/break-probes.exp: Match library name prefixed with
3948 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3950 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3951 test expected output. Add parentheses for the call to print.
3952 Remove L suffix from integers.
3954 2014-11-26 Doug Evans <dje@google.com>
3956 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3958 2014-11-22 Yao Qi <yao@codesourcery.com>
3960 * gdb.trace/entry-values.c: Remove asms.
3961 (foo): Add foo_label.
3962 (bar): Add bar_label.
3963 * gdb.trace/entry-values.exp: Remove code computing foo's
3964 length and bar's length.
3965 (Dwarf::assemble): Invoke function_range for bar and use
3966 MACRO_AT_func for foo.
3968 2014-11-22 Yao Qi <yao@codesourcery.com>
3970 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3971 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3972 Use .Lgcc43_procstart instead of gcc43.
3974 2014-11-21 Joel Brobecker <brobecker@adacore.com>
3976 * gdb.ada/n_arr_bound: New testcase.
3978 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3980 PR breakpoints/10737
3981 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3982 test_catch_syscall_multi_arch.
3983 (test_catch_syscall_multi_arch): New function.
3985 2014-11-20 Doug Evans <xdje42@gmail.com>
3987 * gdb.base/maint.exp: Update expected output.
3989 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3991 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3992 4-byte instruction on S390.
3994 2014-11-19 Joel Brobecker <brobecker@adacore.com>
3996 * gdb.ada/arr_arr: New testcase.
3998 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4000 * gdb.ada/pkd_arr_elem: New Testcase.
4002 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4004 * gdb.reverse/break-precsave: Expect completion message for
4006 * gdb.reverse/consecutive-precsave.exp: Likewise.
4007 * gdb.reverse/finish-precsave.exp: Likewise.
4008 * gdb.reverse/i386-precsave.exp: Likewise.
4009 * gdb.reverse/machinestate-precsave.exp: Likewise.
4010 * gdb.reverse/sigall-precsave.exp: Likewise.
4011 * gdb.reverse/solib-precsave.exp: Likewise.
4012 * gdb.reverse/step-precsave.exp: Likewise.
4013 * gdb.reverse/until-precsave.exp: Likewise.
4014 * gdb.reverse/watch-precsave.exp: Likewise.
4016 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4018 * gdb.base/bp-permanent.c: Include unistd.h.
4019 * gdb.python/py-framefilter-mi.c (main): Add return type.
4020 * gdb.python/py-framefilter.c (main): Likewise.
4021 * gdb.trace/actions-changed.c (main): Likewise.
4023 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4025 * gdb.mi/until.c: Add eye-catchers.
4026 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4029 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4031 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4032 function header variants in break1.c.
4033 * gdb.base/ena-dis-br.exp: Likewise.
4034 * gdb.base/hbreak2.exp: Likewise.
4035 * gdb.reverse/until-precsave.exp: Drop references to removed
4036 non-prototype function header variants in ur1.c.
4037 * gdb.reverse/until-reverse.exp: Likewise.
4039 2014-11-17 Petr Machata <pmachata@redhat.com>
4041 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4042 ${_cu_offset_size} bytes abbrev offset.
4044 2014-11-15 Doug Evans <xdje42@gmail.com>
4047 * gdb.base/line-symtabs.exp: New file.
4048 * gdb.base/line-symtabs.c: New file.
4049 * gdb.base/line-symtabs.h: New file.
4051 2014-11-14 Yao Qi <yao@codesourcery.com>
4053 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4054 (func): Add label func_label.
4055 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4056 Replace low_pc and high_pc with MACRO_AT_range.
4057 Replace name, low_pc and high_pc with MACRO_AT_func.
4059 2014-11-14 Yao Qi <yao@codesourcery.com>
4061 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4062 Replace name, low_pc and high_pc with MACRO_AT_func.
4064 2014-11-14 Yao Qi <yao@codesourcery.com>
4066 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4067 produce debug information.
4068 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4070 2014-11-14 Yao Qi <yao@codesourcery.com>
4072 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4073 object and get function length.
4074 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4076 (top-level): Replace gdb_compile and clean_restart with
4077 prepare_for_testing.
4078 * gdb.dwarf2/main.c (main): Add label main_label.
4080 2014-11-14 Yao Qi <yao@codesourcery.com>
4082 * lib/dwarf.exp (function_range): New procedure.
4083 (Dwarf::_handle_macro_at_func): New procedure.
4084 (Dwarf::_handle_macro_at_range): New procedure.
4085 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4087 2014-11-14 Yao Qi <yao@codesourcery.com>
4089 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4090 (_handle_attribute): New procedure.
4092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4094 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4095 * gdb.base/call-sc.c (zed): Likewise.
4096 * gdb.base/checkpoint.c (main): Likewise.
4097 * gdb.base/dump.c (main): Likewise.
4098 * gdb.base/gcore.c (main): Likewise.
4099 * gdb.base/huge.c (main): Likewise.
4100 * gdb.base/multi-forks.c (main): Likewise.
4101 * gdb.base/pr10179-a.c (main): Likewise.
4102 * gdb.base/savedregs.c (main): Likewise.
4103 * gdb.base/sigaltstack.c (main): Likewise.
4104 * gdb.base/siginfo.c (main): Likewise.
4105 * gdb.base/structs.c (zed): Likewise.
4106 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4107 * gdb.mi/mi-syn-frame.c (main): Likewise.
4108 * gdb.mi/until.c (foo, main): Likewise.
4109 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4110 * gdb.base/solib-weak.c (foo): Declare.
4111 * gdb.base/attach-twice.c: Include stdio.h.
4112 * gdb.base/weaklib1.c: Likewise.
4113 * gdb.base/weaklib2.c: Likewise.
4114 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4115 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4117 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4118 * gdb.mi/mi-exit-code.c: Likewise.
4119 * gdb.base/break-interp-lib.c: Include string.h.
4120 * gdb.base/coremaker.c: Likewise.
4121 * gdb.base/testenv.c: Likewise.
4122 * gdb.python/py-finish-breakpoint.c: Likewise.
4123 * gdb.base/inferior-died.c: Include sys/wait.h.
4124 * gdb.base/fileio.c: Include time.h.
4125 * gdb.base/async-shell.c: Include unistd.h.
4126 * gdb.base/dprintf-non-stop.c: Likewise.
4127 * gdb.base/info-os.c: Likewise.
4128 * gdb.mi/mi-console.c: Likewise.
4129 * gdb.mi/watch-nonstop.c: Likewise.
4130 * gdb.python/py-events.c: Likewise.
4131 * gdb.base/async.c (baz): Move up before its invocation.
4132 * gdb.base/code_elim2.c (my_global_func): Likewise.
4133 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4134 * gdb.base/advance.c (func2): Likewise.
4136 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4138 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4140 * gdb.base/annota3.c: Likewise.
4141 * gdb.base/async.c: Likewise.
4142 * gdb.base/average.c: Likewise.
4143 * gdb.base/call-ar-st.c: Likewise.
4144 * gdb.base/call-rt-st.c: Likewise.
4145 * gdb.base/call-sc.c: Likewise.
4146 * gdb.base/call-strs.c: Likewise.
4147 * gdb.base/ending-run.c: Likewise.
4148 * gdb.base/execd-prog.c: Likewise.
4149 * gdb.base/exprs.c: Likewise.
4150 * gdb.base/foll-exec.c: Likewise.
4151 * gdb.base/foll-fork.c: Likewise.
4152 * gdb.base/foll-vfork.c: Likewise.
4153 * gdb.base/funcargs.c: Likewise.
4154 * gdb.base/gcore.c: Likewise.
4155 * gdb.base/jump.c: Likewise.
4156 * gdb.base/langs0.c: Likewise.
4157 * gdb.base/langs1.c: Likewise.
4158 * gdb.base/langs2.c: Likewise.
4159 * gdb.base/mips_pro.c: Likewise.
4160 * gdb.base/nodebug.c: Likewise.
4161 * gdb.base/opaque0.c: Likewise.
4162 * gdb.base/opaque1.c: Likewise.
4163 * gdb.base/recurse.c: Likewise.
4164 * gdb.base/run.c: Likewise.
4165 * gdb.base/scope0.c: Likewise.
4166 * gdb.base/scope1.c: Likewise.
4167 * gdb.base/setshow.c: Likewise.
4168 * gdb.base/setvar.c: Likewise.
4169 * gdb.base/shmain.c: Likewise.
4170 * gdb.base/shr1.c: Likewise.
4171 * gdb.base/shr2.c: Likewise.
4172 * gdb.base/sigall.c: Likewise.
4173 * gdb.base/signals.c: Likewise.
4174 * gdb.base/so-indr-cl.c: Likewise.
4175 * gdb.base/solib2.c: Likewise.
4176 * gdb.base/structs.c: Likewise.
4177 * gdb.base/sum.c: Likewise.
4178 * gdb.base/vforked-prog.c: Likewise.
4179 * gdb.base/watchpoint.c: Likewise.
4180 * gdb.reverse/shr2.c: Likewise.
4181 * gdb.reverse/until-reverse.c: Likewise.
4182 * gdb.reverse/ur1.c: Likewise.
4183 * gdb.reverse/watch-reverse.c: Likewise.
4185 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4187 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4189 * gdb.base/sepdebug.exp: Drop references to removed code.
4191 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4193 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4194 variant. Preserve original line numbering.
4195 * gdb.base/list1.c: Likewise.
4197 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4199 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4201 * gdb.base/break1.c: Likewise.
4202 * gdb.base/break.exp: Drop references to removed code.
4204 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4206 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4209 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4211 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4213 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4215 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4216 logic into perform_all_tests() and invoke it with and without
4217 function header prototypes.
4218 (do_function_calls): Remove conditional XFAIL for PR 5318.
4219 (rerun_and_prepare): Remove duplicate code.
4220 (perform_all_tests): New. Main logic moved here.
4222 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4224 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4225 code guarded by #ifdef NO_PROTOTYPES.
4226 (t_double_many_args): Likewise.
4227 (DEF_FUNC_MANY_ARGS_1): Likewise.
4228 (DEF_FUNC_VALUES_1): Likewise.
4229 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4230 guarded by #ifdef PROTOTYPES.
4232 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4234 * gdb.mi/mi-console.c: Add eye-catcher.
4235 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4236 instead of literal line number.
4238 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4240 * gdb.base/shr2.c: Add eye-catcher.
4241 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4244 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4246 * gdb.base/jump.c: Add eye-catchers.
4247 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4250 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4252 * gdb.base/execd-prog.c: Add eye-catchers.
4253 * gdb.base/foll-exec.c: Likewise.
4254 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4257 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4259 * gdb.base/ending-run.c: Add eye-catchers.
4260 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4261 literal line numbers.
4263 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4265 * gdb.base/call-rt-st.c: Add eye-catchers.
4266 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4267 literal line numbers.
4269 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4271 * gdb.base/call-ar-st.c: Add eye-catchers.
4272 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4273 literal line numbers.
4275 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4277 * gdb.base/average.c: Add eye-catchers.
4278 * gdb.base/sum.c: Likewise.
4279 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4280 regexps dynamically.
4282 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4284 * gdb.base/solib1.c: Add eye-catchers.
4285 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4286 literal line numbers.
4288 2014-11-12 Pedro Alves <palves@redhat.com>
4290 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4293 2014-11-12 Pedro Alves <palves@redhat.com>
4295 * gdb.arch/i386-bp_permanent.c: New file.
4296 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4297 (srcfile): Set to i386-bp_permanent.c.
4298 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4299 that stepi does not execute the 'leave' instruction, instead of
4300 testing it does execute.
4301 * gdb.base/bp-permanent.c: New file.
4302 * gdb.base/bp-permanent.exp: New file.
4304 2014-11-10 Doug Evans <xdje42@gmail.com>
4307 * gdb.base/symtab-search-order.exp: New file.
4308 * gdb.base/symtab-search-order.c: New file.
4309 * gdb.base/symtab-search-order-1.c: New file.
4310 * gdb.base/symtab-search-order-shlib-1.c: New file.
4312 2014-11-07 Pedro Alves <palves@redhat.com>
4315 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4318 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4321 * gdb.cp/pr17494.cc: New file.
4322 * gdb.cp/pr17494.exp: New file.
4324 2014-11-02 Yao Qi <yao@codesourcery.com>
4326 * gdb.python/python.exp: Get working directory and match the
4327 output of "set extended-prompt \\w " with it.
4329 2014-10-30 Doug Evans <dje@google.com>
4331 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4333 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4336 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4338 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4339 * gdb.base/realname-expand.exp: Likewise.
4340 * gdb.linespec/macro-relative.exp: Likewise.
4342 2014-10-29 Pedro Alves <palves@redhat.com>
4345 * gdb.threads/schedlock.c (some_function): New function.
4346 (call_function): New global.
4347 (MAYBE_CALL_SOME_FUNCTION): New macro.
4348 (thread_function): Call it.
4349 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4350 and use it instead of a global counter. Adjust all callers.
4351 (get_current_thread): Use "find current thread" for test message
4352 here rather than having all callers pass down the same string.
4353 (goto_loop): New procedure, factored out from ...
4354 (my_continue): ... this.
4355 (step_ten_loops): Change parameter from test message to command to
4357 (list_count): Delete global.
4358 (check_result): New procedure, factored out from duplicate top
4360 (continue tests): Wrap in with_test_prefix.
4361 (test_step): New procedure, factored out from duplicate top level
4363 (top level): Test "step" in combination with all scheduler-locking
4364 modes. Test "next" in combination with all scheduler-locking
4365 modes, and in combination with stepping over a function call or
4367 * gdb.threads/next-bp-other-thread.c: New file.
4368 * gdb.threads/next-bp-other-thread.exp: New file.
4370 2014-10-29 Pedro Alves <palves@redhat.com>
4373 * gdb.python/python.exp: Test a multi-line command that spawns
4375 * gdb.base/multi-line-starts-subshell.exp: New file.
4377 2014-10-29 Yao Qi <yao@codesourcery.com>
4379 * gdb.base/fileio.exp: Make directories on host.
4381 2014-10-29 Yao Qi <yao@codesourcery.com>
4383 * gdb.base/fileio.c (test_write): Close the file.
4385 2014-10-28 Pedro Alves <palves@redhat.com>
4388 * gdb.base/sigstep.c (no_handler): New global.
4389 (main): If 'no_handler is true, set the signal handlers to
4391 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4392 with_sw_watch and no_handler parameters. Handle them.
4393 (top level) <stepping over handler when stopped at a breakpoint
4394 test>: Add a test axis for testing with a software watchpoint, and
4395 another for testing with the signal handler set to SIG_IGN.
4396 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4397 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4399 2014-10-28 Pedro Alves <palves@redhat.com>
4402 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4403 * gdb.base/sigstep.exp (other_handler_location): New global.
4404 (advance): Support stepping into the signal handler, and running
4405 commands while in the handler.
4406 (in_handler_map): New global.
4407 (top level): In the advance test, add combinations for getting
4408 into the handler with stepping commands, and for running commands
4409 in the handler. Add comment descripting the advancei tests.
4411 2014-10-28 Pedro Alves <palves@redhat.com>
4413 * gdb.base/sigstep.exp: Use build_executable instead of
4414 prepare_for_testing.
4415 (top level): Move code that starts GDB, runs to main and creates a
4417 (restart): ... this new procedure.
4418 (top level): Move backtrace from signal handler test to ...
4419 (validate_backtrace): ... this new procedure.
4420 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4421 with_test_prefix. Always restart GDB.
4422 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4423 with_test_prefix. Always restart GDB. No need to delete
4424 breakpoints after the test.
4425 (test_skip_handler): Remove prefix parameter.
4426 (skip_over_handler, breakpoint_to_handler)
4427 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4428 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4429 restart GDB. No need to delete breakpoints after the test.
4430 (top level): Use foreach to call the test procedures with
4433 2014-10-28 Pedro Alves <palves@redhat.com>
4435 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4436 instead of GNATS numbers.
4437 * gdb.base/sigbpt.exp: Likewise.
4438 * gdb.base/siginfo.exp: Likewise.
4439 * gdb.base/sigstep.exp: Likewise.
4441 2014-10-27 Pedro Alves <palves@redhat.com>
4443 * gdb.base/sigstep.c (dummy): New global.
4444 (main): Issue a couple writes to the new global.
4445 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4447 (skip_over_handler): Use test_skip_handler.
4448 (top level): Call skip_over_handler for stepi and nexti too.
4449 (breakpoint_over_handler): Use test_skip_handler.
4450 (top level): Call breakpoint_over_handler for stepi and nexti too.
4452 2014-10-27 Yao Qi <yao@codesourcery.com>
4454 * gdb.trace/tfile.c (adjust_function_address)
4455 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4456 function descriptor.
4458 2014-10-24 Don Breazeal <donb@codesourcery.com>
4460 * gdb.base/foll-fork.exp (test_follow_fork,
4461 catch_fork_child_follow): Check for updated fork messages emitted
4463 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4464 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4465 vfork_and_exec_child_follow_through_step): Check for updated vfork
4466 messages emitted from infrun.c.
4468 2014-10-24 Pedro Alves <palves@redhat.com>
4470 * gdb.base/corefile.exp: Remove references to ultrix.
4471 * gdb.base/interrupt.exp: Likewise.
4472 * gdb.base/whatis.exp: Likewise.
4473 * gdb.gdb/selftest.exp: Likewise.
4474 * gdb.threads/manythreads.exp: Likewise.
4475 * gdb.threads/print-threads.exp: Likewise.
4476 * gdb.threads/pthreads.exp:: Likewise.
4477 * gdb.threads/schedlock.exp: Likewise.
4479 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4481 * gdb.cp/non-trivial-retval.cc: Add a test case.
4482 * gdb.cp/non-trivial-retval.exp: Add a test.
4484 2014-10-20 Yao Qi <yao@codesourcery.com>
4486 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4487 * gdb.python/py-objfile-script-gdb.py: New file.
4488 * gdb.python/py-objfile-script.exp: Update reference to
4489 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4490 of remote_download. Remove the dest file.
4492 2014-10-20 Yao Qi <yao@codesourcery.com>
4494 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4495 * gdb.base/step-line.exp: Likewise.
4496 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4497 * gdb.dwarf2/dw2-basic.exp: Likewise.
4498 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4499 * gdb.dwarf2/dw2-filename.exp: Likewise.
4500 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4501 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4502 * gdb.dwarf2/dw2-producer.exp: Likewise.
4503 * gdb.dwarf2/mac-fileno.exp: Likewise.
4504 * gdb.python/py-frame-args.exp: Likewise.
4505 * gdb.python/py-framefilter.exp: Likewise.
4506 * gdb.python/py-mi.exp: Likewise.
4507 * gdb.python/py-objfile-script.exp: Likewise
4508 * gdb.python/py-pp-integral.exp: Likewise.
4509 * gdb.python/py-pp-re-notag.exp: Likewise.
4510 * gdb.python/py-prettyprint.exp: Likewise.
4511 * gdb.python/py-section-script.exp: Likewise.
4512 * gdb.python/py-typeprint.exp: Likewise.
4513 * gdb.python/py-xmethods.exp: Likewise.
4514 * gdb.stabs/weird.exp: Likewise.
4515 * gdb.xml/tdesc-regs.exp: Likewise.
4517 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4519 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4520 (out_cu): Use addr_len for the size of addresses.
4521 (out_line): Likewise. Size DW_LNE_set_address instruction
4522 according to addr_len.
4523 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4524 (FUNC): Add START_INSNS to definition.
4526 2014-10-18 Yao Qi <yao@codesourcery.com>
4528 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4529 gdb_has_argv0 return true.
4530 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4531 check [target_info exists noargs], check [gdb_has_argv0]
4533 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4534 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4537 2014-10-17 Doug Evans <dje@google.com>
4539 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4541 * gdb.python/py-events.py: Add clear_objfiles event.
4543 2014-10-17 Doug Evans <dje@google.com>
4545 * gdb.python/py-objfile.exp: Test progspace attribute.
4547 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4549 * gdb.guile/scm-breakpoint.exp: Do not assume any
4550 directory separators when matching source file paths.
4551 * gdb.python/py-breakpoint.exp: Likewise.
4552 * gdb.reverse/break-precsave.exp: Likewise.
4553 * gdb.reverse/break-reverse.exp: Likewise.
4554 * gdb.reverse/consecutive-precsave.exp: Likewise.
4555 * gdb.reverse/finish-precsave.exp: Likewise.
4556 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4557 * gdb.reverse/finish-reverse.exp: Likewise.
4558 * gdb.reverse/i386-precsave.exp: Likewise.
4559 * gdb.reverse/i387-env-reverse.exp: Likewise.
4560 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4561 * gdb.reverse/machinestate-precsave.exp: Likewise.
4562 * gdb.reverse/machinestate.exp: Likewise.
4563 * gdb.reverse/sigall-precsave.exp: Likewise.
4564 * gdb.reverse/solib-precsave.exp: Likewise.
4565 * gdb.reverse/step-precsave.exp: Likewise.
4566 * gdb.reverse/until-precsave.exp: Likewise.
4567 * gdb.reverse/watch-precsave.exp: Likewise.
4568 * gdb.reverse/watch-reverse.exp: Likewise.
4570 2014-10-17 Yao Qi <yao@codesourcery.com>
4572 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4573 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4575 2014-10-17 Pedro Alves <palves@redhat.com>
4578 * gdb.base/bg-execution-repeat.c: New file.
4579 * gdb.base/bg-execution-repeat.exp: New file.
4581 2014-10-17 Pedro Alves <palves@redhat.com>
4584 * gdb.base/continue-all-already-running.c: New file.
4585 * gdb.base/continue-all-already-running.exp: New file.
4587 2014-10-17 Pedro Alves <palves@redhat.com>
4590 * gdb.base/annota-input-while-running.c: New file.
4591 * gdb.base/annota-input-while-running.exp: New file.
4593 2014-10-17 Pedro Alves <palves@redhat.com>
4595 * gdb.base/callfuncs.exp: emove references to osf.
4596 * gdb.base/sigall.exp: Likewise.
4597 * gdb.gdb/selftest.exp: Likewise.
4598 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4599 * gdb.mi/non-stop.c: Likewise.
4600 * gdb.mi/pthreads.c: Likewise.
4601 * gdb.reverse/sigall-precsave.exp: Likewise.
4602 * gdb.reverse/sigall-reverse.exp: Likewise.
4603 * gdb.threads/pthreads.c: Likewise.
4604 * gdb.threads/pthreads.exp: Likewise.
4606 2014-10-17 Yao Qi <yao@codesourcery.com>
4608 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4609 check 'target_info exists noargs'.
4610 (test_command_prompt_position): Likewise.
4611 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4613 (progvar_simple_while_test): Likewise.
4614 (progvar_complex_if_while_test): Likewise.
4615 (if_while_breakpoint_command_test): Likewise.
4616 (infrun_breakpoint_command_test): Likewise.
4617 (breakpoint_command_test): Likewise.
4618 (watchpoint_command_test): Likewise.
4619 (bp_deleted_in_command_test): Likewise.
4620 (temporary_breakpoint_commands): Likewise.
4622 2014-10-16 Yao Qi <yao@codesourcery.com>
4624 * gdb.base/remotetimeout.exp: Remove noargs checking.
4626 2014-10-15 Pedro Alves <palves@redhat.com>
4629 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4630 * gdb.base/breakpoint-in-ro-region.exp
4631 (probe_target_hardware_step): New procedure.
4632 (top level): Probe hardware stepping and hardware breakpoint
4633 support. Test stepping through a read-only region, with both
4634 "breakpoint auto-hw" on and off and both "always-inserted" on and
4637 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4639 * gdb.dlang/demangle.exp: Update for demangling changes.
4641 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4643 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4644 * gdb.cp/non-trivial-retval.exp: Add new tests.
4646 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4650 * gdb.cp/non-trivial-retval.cc: New file.
4651 * gdb.cp/non-trivial-retval.exp: New file.
4653 2014-10-15 Yao Qi <yao@codesourcery.com>
4655 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4658 2014-10-15 Yao Qi <yao@codesourcery.com>
4660 * gdb.python/py-symbol.exp: Match file base name if host is
4661 remote, otherwise match file name with dir name.
4662 * gdb.python/py-symtab.exp: Likewise.
4663 * gdb.python/python.exp: Likewise.
4665 2014-10-15 Yao Qi <yao@codesourcery.com>
4667 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4669 * gdb.python/py-symtab.exp: Likewise.
4670 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4673 2014-10-14 Joel Brobecker <brobecker@adacore.com>
4675 * gdb.ada/addr_arith: New testcase.
4677 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4679 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4680 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4681 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4682 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4684 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4686 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4687 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4688 * gdb.arch/stap-eval-lang-ada.exp: New file.
4690 2014-10-14 Yao Qi <yao@codesourcery.com>
4692 * gdb.mi/mi-var-child.c (nothing1): New function.
4693 (nothing2): New function.
4694 (do_children_tests): Set function pointers by nothing1 and
4696 * gdb.mi/mi-var-child.exp: Step over new added statements.
4697 Update test to match the new output.
4698 * gdb.mi/var-cmd.c (nothing1): New function.
4699 (nothing2): New function.
4700 (do_children_tests): Set function pointers by nothing1 and
4702 * gdb.mi/mi-var-display.exp: Update test to match output.
4703 Step to the line specified by $line_dct_nothing.
4704 Increase the number of lines to step.
4706 2014-10-14 Yao Qi <yao@codesourcery.com>
4708 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4710 * gdb.mi/mi2-var-child.exp: Likewise.
4712 2014-10-13 Doug Evans <dje@google.com>
4714 * gdb.python/py-objfile.exp: Change name of file name test.
4716 2014-10-13 Doug Evans <dje@google.com>
4718 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4719 from the start of the CU.
4721 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4722 Yao Qi <yao@codesourcery.com>
4724 Fix "save breakpoints" for "catch" command.
4725 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4726 Remove -nonewline. Match also the added "main" line.
4728 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4730 Fix "save breakpoints" for "disable $bpnum" command.
4731 * gdb.base/save-bp.c (main): Add label.
4732 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4734 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4736 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4738 2014-10-11 Yao Qi <yao@codesourcery.com>
4740 * gdb.server/server-kill.exp: Execute command
4741 "set remote trace-status-packet on" before "tstatus".
4743 2014-10-11 Yao Qi <yao@codesourcery.com>
4745 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4746 (main): Call getppid.
4747 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4748 and continue to it. Read variable "server_pid".
4750 2014-10-11 Yao Qi <yao@codesourcery.com>
4752 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4754 2014-10-11 Yao Qi <yao@codesourcery.com>
4756 * gdb.threads/thread-find.exp: Don't execute command
4758 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4759 * gdb.threads/linux-dp.exp: Don't check the condition
4760 $threads_created equals to zero.
4762 2014-10-10 Pedro Alves <palves@redhat.com>
4764 * gdb.base/bigcore.exp: Remove references to IRIX.
4765 * gdb.base/funcargs.exp: Likewise.
4766 * gdb.base/interrupt.exp: Likewise.
4767 * gdb.base/mips_pro.exp: Likewise.
4768 * gdb.base/nodebug.exp: Likewise.
4769 * gdb.base/setvar.exp: Likewise.
4770 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4772 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4773 Pedro Alves <palves@redhat.com>
4776 * gdb.base/vdso-warning.c: New file.
4777 * gdb.base/vdso-warning.exp: New file.
4779 2014-10-02 Doug Evans <dje@google.com>
4781 * gdb.base/structs.c (main): Don't run forever.
4783 2014-10-02 Pedro Alves <palves@redhat.com>
4785 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4786 (top level) <stop threads 1, stop threads 2>: Use it.
4788 2014-10-02 Pedro Alves <palves@redhat.com>
4790 * gdb.threads/break-while-running.exp (test): Add new
4791 'update_thread_list' argument. Skip "info threads" if false.
4792 (top level): Add new 'update_thread_list' axis.
4794 2014-10-02 Pedro Alves <palves@redhat.com>
4796 PR breakpoints/17431
4797 * gdb.base/execl-update-breakpoints.c: New file.
4798 * gdb.base/execl-update-breakpoints.exp: New file.
4800 2014-10-01 Pedro Alves <palves@redhat.com>
4802 * gdb.base/breakpoint-in-ro-region.c: New file.
4803 * gdb.base/breakpoint-in-ro-region.exp: New file.
4805 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4807 * gdb.mi/mi-exit-code.exp: New file.
4808 * gdb.mi/mi-exit-code.c: New file.
4810 2014-09-30 Yao Qi <yao@codesourcery.com>
4812 * lib/prelink-support.exp (build_executable_own_libs): Error if
4813 the target isn't native.
4815 2014-09-30 Yao Qi <yao@codesourcery.com>
4817 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4820 2014-09-22 Pedro Alves <palves@redhat.com>
4822 * gdb.threads/break-while-running.exp: New file.
4823 * gdb.threads/break-while-running.c: New file.
4825 2014-09-19 Yao Qi <yao@codesourcery.com>
4827 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4828 Invoke test. Restart GDB with --readnow and invoke test again.
4830 2014-09-19 Yao Qi <yao@codesourcery.com>
4832 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4833 proc set_breakpoint_on_gcd_function. Invoke
4834 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4835 invoke set_breakpoint_on_gcd_function again.
4837 2014-09-18 Doug Evans <dje@google.com>
4839 * gdb.dwarf2/symtab-producer.exp: New file.
4841 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4843 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4844 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4845 * gdb.base/global-var-nested-by-dso.c: Likewise.
4846 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4848 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4849 Pedro Alves <palves@redhat.com>
4851 * gdb.base/watch-bitfields.exp: Pass string other than test file
4852 name to prepare_for_testing.
4853 (watch): New procedure.
4854 (expect_watchpoint): Use with_test_prefix.
4855 (top level): Factor out tests to ...
4856 (test_watch_location, test_regular_watch): ... these new
4857 procedures, and use with_test_prefix and gdb_continue_to_end.
4859 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4861 PR breakpoints/12526
4862 * gdb.base/watch-bitfields.exp: New file.
4863 * gdb.base/watch-bitfields.c: New file.
4865 2014-09-16 Pedro Alves <palves@redhat.com>
4867 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4868 software and hardware addresses, not software address against
4871 2014-09-16 Pedro Alves <palves@redhat.com>
4873 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4874 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4876 2014-09-16 Pedro Alves <palves@redhat.com>
4878 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4880 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4881 "*-*-vxworks*" throughout.
4882 * gdb.base/break.exp: Likewise.
4883 * gdb.base/default.exp: Likewise.
4884 * gdb.base/scope.exp: Likewise.
4885 * gdb.base/sepdebug.exp: Likewise.
4886 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4888 * gdb.base/run.c: Likewise.
4889 * gdb.base/sepdebug.c: Likewise.
4890 * gdb.hp/gdb.aCC/run.c: Likewise.
4891 * gdb.reverse/until-reverse.c: Likewise.
4892 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4894 2014-09-16 Yao Qi <yao@codesourcery.com>
4896 * boards/local-remote-host-native.exp: New file.
4898 2014-09-14 Doug Evans <xdje42@gmail.com>
4900 * gdb.threads/queue-signal.c (thread_count): New variable.
4901 (thread_count_mutex, thread_count_condvar): New variables.
4902 (incr_thread_count, wait_all_threads_running): New functions.
4903 (main): Wait for all threads to be in their thread functions.
4905 2014-09-13 Doug Evans <xdje42@gmail.com>
4907 * gdb.threads/queue-signal.c: New file.
4908 * gdb.threads/queue-signal.exp: New file.
4910 2014-09-13 Doug Evans <xdje42@gmail.com>
4912 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4913 be consistent with what default_gdb_init uses.
4914 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4915 the plain text of the prompt. Add some logging printfs.
4916 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4918 2014-09-12 Pedro Alves <palves@redhat.com>
4920 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4921 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4922 * gdb.arch/i386-size-overlap.exp: Likewise.
4923 * gdb.arch/i386-size.exp: Likewise.
4924 * gdb.arch/i386-unwind.exp: Likewise.
4925 * gdb.base/a2-run.exp: Likewise.
4926 * gdb.base/break.exp: Likewise.
4927 * gdb.base/charset.exp: Likewise.
4928 * gdb.base/chng-syms.exp: Likewise.
4929 * gdb.base/commands.exp: Likewise.
4930 * gdb.base/dbx.exp: Likewise.
4931 * gdb.base/find.exp: Likewise.
4932 * gdb.base/funcargs.exp: Likewise.
4933 * gdb.base/jit-simple.exp: Likewise.
4934 * gdb.base/reread.exp: Likewise.
4935 * gdb.base/sepdebug.exp: Likewise.
4936 * gdb.base/step-bt.exp: Likewise.
4937 * gdb.cp/mb-inline.exp: Likewise.
4938 * gdb.cp/mb-templates.exp: Likewise.
4939 * gdb.objc/basicclass.exp: Likewise.
4940 * gdb.threads/killed.exp: Likewise.
4942 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4945 * gdb.arch/powerpc-stackless.S: New file.
4946 * gdb.arch/powerpc-stackless.exp: New file.
4948 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4950 * gdb.base/attach.c: Include unistd.h.
4951 (main): Call alarm. Add label postloop.
4952 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4953 gdb_breakpoint, gdb_continue_to_breakpoint.
4954 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4956 2014-09-11 Pedro Alves <palves@redhat.com>
4959 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4960 * gdb.base/attach.exp (test_command_line_attach_run): New
4962 (top level): Call it.
4964 2014-09-11 Pedro Alves <palves@redhat.com>
4966 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4967 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4968 (do_command_attach_tests): Use spawn_wait_for_attach.
4969 * gdb.base/solib-overlap.exp: Likewise.
4970 * gdb.multi/multi-attach.exp: Likewise.
4971 * gdb.python/py-prompt.exp: Likewise.
4972 * gdb.python/py-sync-interp.exp: Likewise.
4973 * gdb.server/ext-attach.exp: Likewise.
4975 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4977 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4978 command in testcase. Simplify testcase.
4980 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4982 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4984 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4986 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4988 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4990 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4992 2014-09-10 Joel Brobecker <brobecker@adacore.com>
4994 * gdb.dwarf2/dynarr-ptr.c: New file.
4995 * gdb.dwarf2/dynarr-ptr.exp: New file.
4997 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4999 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5000 of 30 rather than hardcoding 120 for a slow test case. Take the
5001 `gdb,timeout' target setting into account for this calculation.
5002 Don't extend the timeout for the test cases that don't need it.
5004 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5006 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5007 a factor of 2 for a slow test case. Take the `gdb,timeout'
5008 target setting into account for this calculation.
5009 * gdb.reverse/until-precsave.exp: Increase the timeout by
5010 a factor of 15 and 3 respectively rather than adding 120
5011 for a pair of slow test cases. Take the `gdb,timeout'
5012 target setting into account for this calculation.
5014 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5016 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5017 timeout, don't pass one down to gdb_expect.
5018 (gdb_expect): Rework timeout selection.
5020 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5022 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5023 exception on timeout.
5024 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5025 (gdbserver_start_extended): Catch any `gdbserver_start' error
5027 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5028 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5029 `gdbserver_gdb_load' error exceptions.
5031 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5033 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5034 120 on waiting for the TCP socket to open.
5036 2014-09-09 Doug Evans <xdje42@gmail.com>
5038 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5039 _caller_matches, _any_caller_is, _any_caller_matches.
5041 2014-09-09 Doug Evans <xdje42@gmail.com>
5043 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5045 2014-09-09 Yao Qi <yao@codesourcery.com>
5047 * gdb.mi/mi-var-display.exp: Set print symbol off.
5049 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5052 * gdb.base/commands.exp: Add tests to verify user-defined
5053 commands with empty bodies.
5054 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5055 python commands in `show user command`.
5056 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5057 scheme commands in `show user command`.
5059 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5062 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5063 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5064 * gdb.python/py-framefilter-invalidarg.exp: New file.
5065 * gdb.python/py-framefilter-invalidarg.py: New file.
5067 2014-09-06 Doug Evans <xdje42@gmail.com>
5070 * gdb.python/py-caller-is.c: New file.
5071 * gdb.python/py-caller-is.exp: New file.
5073 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5076 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5077 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5079 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5082 * gdb.fortran/print-formatted.exp: New file.
5083 * gdb.fortran/print-formatted.f90: Likewise.
5085 2014-09-03 Sasha Smundak <asmundak@google.com>
5087 * gdb.python/py-frame.exp: Test Frame.read_register.
5089 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5092 * gdb.python/py-completion.exp: New file.
5093 * gdb.python/py-completion.py: Likewise.
5095 2014-08-28 Doug Evans <dje@google.com>
5097 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5098 eax,etc. are live with values set by gdb and thus the compiler can't
5100 * gdb.arch/i386-pseudo.c (main): Ditto.
5102 2014-08-27 Doug Evans <dje@google.com>
5104 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5106 2014-08-25 Doug Evans <dje@google.com>
5108 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5111 2014-08-25 Doug Evans <dje@google.com>
5113 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5115 2014-08-24 Yao Qi <yao@codesourcery.com>
5117 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5119 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5121 2014-08-22 Doug Evans <dje@google.com>
5124 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5125 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5126 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5128 2014-08-22 Yao Qi <yao@codesourcery.com>
5130 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5131 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5132 * gdb.python/python.exp: Likewise. Use .py file on the host
5133 instead of the build.
5135 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5137 * gdb.threads/gcore-stale-thread.c: New file.
5138 * gdb.threads/gcore-stale-thread.exp: New file.
5140 2014-08-21 Pedro Alves <palves@redhat.com>
5142 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5143 * gdb.base/gcore-relro-pie.exp: Likewise.
5144 * gdb.base/gcore-relro.exp: Likewise.
5145 * gdb.base/gcore.exp: Likewise.
5146 * gdb.base/print-symbol-loading.exp: Likewise.
5147 * gdb.threads/gcore-thread.exp: Likewise.
5148 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5150 2014-08-20 Pedro Alves <palves@redhat.com>
5151 Jan Kratochvil <jan.kratochvil@redhat.com>
5153 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5155 (EXPECT): Handle READ1 being set.
5156 (all): Depend on EXTRA_RULES.
5157 (check-read1, expect-read1, read1.so, read1): New rules.
5158 * README (Testsuite Parameters): Document the READ1 make variable.
5159 (Race detection): New section.
5160 * configure: Regenerate.
5161 * configure.ac: If build==host==target, and running under a
5162 GNU/glibc system, add read1 to the extra Makefile rules.
5163 (EXTRA_RULES): AC_SUBST it.
5164 * lib/read1.c: New file.
5166 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5168 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5169 the handling of variables declared as a typedef to an array
5170 which a DW_AT_data_location attribute.
5172 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5173 Pedro Alves <palves@redhat.com>
5177 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5180 2014-08-19 Pedro Alves <palves@redhat.com>
5182 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5184 2014-08-19 Yao Qi <yao@codesourcery.com>
5186 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5189 2014-08-18 David Blaikie <dblaikie@gmail.com>
5191 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5193 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5195 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5196 attribute in array range.
5198 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5200 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5202 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5205 * gdb.cp/pr17132.cc: New file.
5206 * gdb.cp/pr17132.exp: New file.
5208 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5210 * gdb.python/py-xmethods.py (A_getarrayind)
5211 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5212 Use 'print' with function call syntax.
5213 (E_method_matcher.match): Fix tab vs space indentation mixup.
5215 2014-08-15 Yao Qi <yao@codesourcery.com>
5217 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5220 2014-08-15 Yao Qi <yao@codesourcery.com>
5222 * gdb.cp/casts.exp: Set print symbol off.
5223 * gdb.cp/class2.exp: Likewise.
5224 * gdb.cp/overload.exp: Likewise.
5225 * gdb.cp/templates.exp: Likewise.
5227 2014-08-11 Doug Evans <dje@google.com>
5229 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5230 (test_load_shlib): Update.
5232 2014-08-09 Yao Qi <yao@codesourcery.com>
5234 * gdb.base/display.exp: Invoke is_address_zero_readable.
5235 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5236 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5237 * gdb.base/hbreak-unmapped.exp: Return if
5238 is_address_zero_readable returns true.
5239 * gdb.base/signest.exp: Likewise.
5240 * gdb.base/signull.exp: Likewise.
5241 * gdb.base/sigbpt.exp: Likewise.
5242 * gdb.guile/scm-disasm.exp: Do the test if
5243 is_address_zero_readable returns false.
5244 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5245 * gdb.python/py-arch.exp: Likewise.
5246 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5247 * lib/gdb.exp (is_address_zero_readable): New proc.
5249 2014-08-09 Yao Qi <yao@codesourcery.com>
5252 * gdb.mi/mi-var-display.exp: Make test messages unique.
5254 2014-08-04 Tom Tromey <tromey@redhat.com>
5256 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5259 2014-08-04 Tom Tromey <tromey@redhat.com>
5261 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5264 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5266 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5267 inner_vla_struct_object_size.
5268 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5271 2014-07-30 Pedro Alves <palves@redhat.com>
5273 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5276 2014-07-29 Yao Qi <yao@codesourcery.com>
5279 * gdb.base/until-nodebug.exp: New.
5281 2014-07-28 Doug Evans <xdje42@gmail.com>
5284 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5285 previously existing parameter, and previously ambiguously spelled
5288 2014-07-28 Will Newton <will.newton@linaro.org>
5290 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5292 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5293 Doug Evans <xdje42@gmail.com>
5296 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5298 2014-07-25 Pedro Alves <palves@redhat.com>
5300 * gdb.threads/signal-command-handle-nopass.c: New file.
5301 * gdb.threads/signal-command-handle-nopass.exp: New file.
5302 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5303 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5304 * gdb.threads/signal-delivered-right-thread.c: New file.
5305 * gdb.threads/signal-delivered-right-thread.exp: New file.
5307 2014-07-25 Pedro Alves <palves@redhat.com>
5309 * gdb.base/double-prompt-target-event-error.exp
5310 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5312 (cancel_pagination_in_target_event): Rework double prompt
5314 * gdb.base/paginate-after-ctrl-c-running.exp
5315 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5317 * gdb.base/paginate-bg-execution.exp
5318 (test_bg_execution_pagination_return)
5319 (test_bg_execution_pagination_cancel): Remove '-notransfer
5321 * gdb.base/paginate-execution-startup.exp
5322 (test_fg_execution_pagination_return)
5323 (test_fg_execution_pagination_cancel): Remove '-notransfer
5325 * gdb.base/paginate-inferior-exit.exp
5326 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5328 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5329 * lib/gdb.exp (pagination_prompt): Run text through
5331 (gdb_test_multiple): Match $pagination_prompt instead of
5333 (string_to_regexp): Move to lib/gdb-utils.exp.
5335 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5337 * gdb.arch/amd64-entry-value-paramref.S: New file.
5338 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5339 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5340 * gdb.arch/amd64-optimout-repeat.S: New file.
5341 * gdb.arch/amd64-optimout-repeat.c: New file.
5342 * gdb.arch/amd64-optimout-repeat.exp: New file.
5344 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5347 * gdb.base/statistics.exp: New file.
5349 2014-07-17 Doug Evans <dje@google.com>
5352 * gdb.base/maint.exp: Update testing of per-command stats.
5354 2014-07-16 Pedro Alves <palves@redhat.com>
5356 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5357 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5358 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5359 (tfile_write_buf): New functions.
5360 (add_memory_block): Rewrite using the above.
5361 (adjust_function_address): New function.
5362 (FUNCTION_ADDRESS): New macro.
5363 (write_basic_trace_file): Remove short_x local, and use
5364 tfile_write_16. Change type of func_addr local to unsigned long
5365 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5366 here. Cast argument of add_memory_block to char pointer.
5367 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5368 (main): Remove parameters.
5369 * gdb.trace/tfile.exp: Remove nowarnings.
5371 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5373 * gdb.base/debug-expr.exp: Test string evaluation with
5374 "debug expression" on.
5376 2014-07-15 Pedro Alves <palves@redhat.com>
5378 * gdb.base/reread.exp: Use clean_restart.
5380 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5382 * gdb.arch/avr-flash-qualifer.c: New.
5383 * gdb.arch/avr-flash-qualifer.exp: New.
5385 2014-07-14 Pedro Alves <palves@redhat.com>
5387 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5388 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5390 2014-07-14 Pedro Alves <palves@redhat.com>
5392 * gdb.base/double-prompt-target-event-error.c: New file.
5393 * gdb.base/double-prompt-target-event-error.exp: New file.
5395 2014-07-14 Pedro Alves <palves@redhat.com>
5398 * gdb.base/paginate-inferior-exit.c: New file.
5399 * gdb.base/paginate-inferior-exit.exp: New file.
5401 2014-07-14 Pedro Alves <palves@redhat.com>
5404 * gdb.base/paginate-bg-execution.c: New file.
5405 * gdb.base/paginate-bg-execution.exp: New file.
5407 2014-07-14 Pedro Alves <palves@redhat.com>
5410 * gdb.base/paginate-execution-startup.c: New file.
5411 * gdb.base/paginate-execution-startup.exp: New file.
5412 * lib/gdb.exp (pagination_prompt): New global.
5413 (default_gdb_spawn): New procedure, factored out from
5415 (default_gdb_start): Adjust to call default_gdb_spawn.
5416 (gdb_spawn): New procedure.
5418 2014-07-14 Pedro Alves <palves@redhat.com>
5420 * lib/gdb.exp (gdb_assert): New procedure.
5421 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5423 2014-07-14 Pedro Alves <palves@redhat.com>
5425 * gdb.base/execution-termios.c: New file.
5426 * gdb.base/execution-termios.exp: New file.
5428 2014-07-14 Tom Tromey <tromey@redhat.com>
5430 * gdb.cp/vla-cxx.cc: New file.
5431 * gdb.cp/vla-cxx.exp: New file.
5433 2014-07-14 Tom Tromey <tromey@redhat.com>
5435 * gdb.reverse/rerun-prec.c: New file.
5436 * gdb.reverse/rerun-prec.exp: New file.
5438 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5439 Maciej W. Rozycki <macro@codesourcery.com>
5441 * lib/gdb-utils.exp: New file.
5442 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5443 inline `gdb_init_command' processing.
5444 (gdb_start_cmd): Likewise.
5445 * lib/mi-support.exp (mi_run_cmd): Likewise.
5446 * README: Document `gdb_init_command' and `gdb_init_commands'.
5448 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5450 Fix false FAIL running under a very long directory name.
5451 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5452 and "set print elements 10000". Twice.
5454 2014-07-11 Yao Qi <yao@codesourcery.com>
5456 * gdb.base/exprs.exp: "set print symbol off".
5458 2014-07-11 Pedro Alves <palves@redhat.com>
5460 * gdb.threads/kill.c: New file.
5461 * gdb.threads/kill.exp: New file.
5463 2014-07-10 Yao Qi <yao@codesourcery.com>
5465 * gdb.trace/tfile.c (write_basic_trace_file)
5466 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5467 address written to trace file.
5469 2014-07-09 Pedro Alves <palves@redhat.com>
5471 * gdb.base/attach-wait-input.exp: New file.
5472 * gdb.base/attach-wait-input.c: New file.
5474 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5476 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5477 setting up test structures.
5478 (main): Call new test function.
5479 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5480 test function, continue into test function and walk test
5483 2014-07-02 Yao Qi <yao@codesourcery.com>
5485 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5486 'bar_start' at the beginning of functions 'foo' and 'bar'
5488 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5489 instead of 'foo' and 'bar'.
5491 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5493 * gdb.btrace/segv.exp: New.
5494 * gdb.btrace/segv.c: New.
5496 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5498 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5501 2014-06-30 Mark Wielaard <mjw@redhat.com>
5503 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5504 vulture, vilify, villar): New volatile array constants.
5505 (vindictive, vegetation): New const volatile array constants.
5506 * gdb.base/volatile.exp: Test volatile and const volatile array
5509 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5511 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5512 target lacks support for awatch, rwatch, or hbreak.
5514 2014-06-27 Yao Qi <yao@codesourcery.com>
5516 * gdb.multi/dummy-frame-restore.exp: New.
5517 * gdb.multi/dummy-frame-restore.c: New.
5519 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5521 * gdb.btrace/gcore.exp: New.
5523 2014-06-23 Pedro Alves <palves@redhat.com>
5525 * gdb.base/watchpoint-reuse-slot.c: New file.
5526 * gdb.base/watchpoint-reuse-slot.exp: New file.
5528 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5530 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5531 progspace's filename in 'info', 'enable' and 'disable' command
5534 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5536 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5537 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5538 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5540 2014-06-20 Gary Benson <gbenson@redhat.com>
5542 * gdb.arch/i386-avx.exp: Fix include file location.
5543 * gdb.arch/i386-sse.exp: Likewise.
5545 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5547 * gdb.dlang/expression.exp: New file.
5549 2014-06-19 Pedro Alves <palves@redhat.com>
5551 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5553 (top level): ... here. Iterate running tests under different
5554 scheduler-locking settings.
5556 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5558 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5559 to DW_FORM_addr and use non-zero addresses.
5561 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5564 * gdb.python/py-xmethods.cc: Add global function call counters and
5565 increment them in their respective functions. Remove "cout"
5567 * gdb.python/py-xmethods.exp: Make tests check the global function
5568 call counters instead of depending on inferior IO.
5570 2014-06-18 Don Breazeal <donb@codesourcery.com>
5572 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5574 (explicit_fork_parent_follow): Deleted procedure.
5575 (explicit_fork_child_follow): Deleted procedure.
5576 (test_follow_fork): New procedure.
5577 (do_fork_tests): Replace calls to deleted procedures with
5578 calls to test_follow_fork and reset GDB for subsequent
5581 2014-06-17 Yao Qi <yao@codesourcery.com>
5583 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5586 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5588 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5589 Initialize ptr and S explicitly.
5590 (skip_type_update_when_not_use_rtti_test): Likewise.
5592 2014-06-16 Keith Seitz <keiths@redhat.com>
5595 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5596 the inferior is started.
5598 2014-06-16 Pedro Alves <palves@redhat.com>
5600 * gdb.base/break-main-file-remove-fail.c: New file.
5601 * gdb.base/break-main-file-remove-fail.exp: New file.
5602 * gdb.base/break-unload-file.exp: Use build_executable instead of
5603 prepare_for_testing.
5604 (test_break): New parameter "initial_load". Handle it.
5605 (top level): Add initial_load cmdline/file axis.
5607 2014-06-12 Tom Tromey <tromey@redhat.com>
5609 * gdb.base/completion.exp: Don't use directory name in test.
5611 2014-06-09 Gary Benson <gbenson@redhat.com>
5613 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5614 separate the always-available ANSI-standard signals from the
5615 signals that require checking.
5617 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5621 2014-06-07 Keith Seitz <keiths@redhat.com>
5625 * gdb.cp/var-tag.cc: New file.
5626 * gdb.cp/var-tag.exp: New file.
5627 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5628 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5629 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5630 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5632 2014-06-06 Doug Evans <xdje42@gmail.com>
5634 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5636 2014-06-06 Pedro Alves <palves@redhat.com>
5638 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5639 in target debug output instead of looking at RSP packets,
5640 disabling the test on any target that uses hardware stepping.
5643 2014-06-06 Pedro Alves <palves@redhat.com>
5645 * gdb.base/break-unload-file.exp: Fix typo.
5647 2014-06-06 Yao Qi <yao@codesourcery.com>
5649 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5650 from "jit_function" to "^jit_function".
5652 2014-06-06 Yao Qi <yao@codesourcery.com>
5654 * gdb.base/async.c (foo): Add one statement.
5655 * gdb.base/async.exp: Get the next instruction address and
5656 match the output of "nexti" by instruction address. Match
5657 the hex address in the output of "finish".
5659 2014-06-06 Gary Benson <gbenson@redhat.com>
5661 * gdb.base/call-signals.c: Remove preprocessor conditionals
5662 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5663 SIGSEGV and SIGTERM.
5664 * gdb.base/sigall.c: Likewise.
5665 * gdb.base/unwindonsignal.c: Likewise.
5666 * gdb.reverse/sigall-reverse.c: Likewise.
5668 2014-06-06 Yao Qi <yao@codesourcery.com>
5670 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5671 readable, skip the test.
5673 2014-06-06 Yao Qi <yao@codesourcery.com>
5675 * gdb.threads/staticthreads.c (thread_function): Move the line
5676 setting breakpoint on forward.
5677 * gdb.threads/staticthreads.exp: Update comments.
5679 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5681 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5682 "history-append! type error".
5684 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5686 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5687 erroneous dprintf expected input.
5689 2014-06-04 Doug Evans <xdje42@gmail.com>
5691 * gdb.guile/scm-generics.exp: Delete.
5693 2014-06-04 Doug Evans <xdje42@gmail.com>
5695 * gdb.guile/scm-breakpoint.exp: Update.
5696 Add tests for breakpoint registration.
5698 2014-06-04 Tom Tromey <tromey@redhat.com>
5700 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5702 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5703 inner_vla_struct, vla_union types. Initialize objects of those
5704 types and compute their sizes.
5706 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5707 Hui Zhu <hui@codesourcery.com>
5709 * gdb.base/fileio.exp: Add test for shell not available as well as
5711 * gdb.base/fileio.c (test_system): Check for shell twice.
5713 2014-06-04 Yao Qi <yao@codesourcery.com>
5715 * gdb.base/auto-connect-native-target.exp: Remove redundant
5716 space from the regexp pattern.
5718 2014-06-04 Yao Qi <yao@codesourcery.com>
5720 * gdb.base/default.exp: Replace "child" with "native" in
5723 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5725 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5726 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5727 * gdb.python/py-xmethods.py: Python script supporting the
5728 new testcase and tests.
5730 2014-06-03 Joel Brobecker <brobecker@adacore.com>
5731 Pedro Alves <palves@redhat.com>
5733 PR breakpoints/17000
5734 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5735 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5737 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5739 * gdb.base/subst.exp: Add tests to verify partial path matching
5742 2014-06-03 Pedro Alves <palves@redhat.com>
5744 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5745 target that doesn't use software single-stepping.
5747 2014-06-03 Pedro Alves <palves@redhat.com>
5749 PR breakpoints/17000
5750 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5751 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5753 2014-06-02 Doug Evans <xdje42@gmail.com>
5755 * gdb.guile/scm-parameter.exp: New file.
5757 2014-06-02 Doug Evans <xdje42@gmail.com>
5759 * gdb.guile/scm-cmd.c: New file.
5760 * gdb.guile/scm-cmd.exp: New file.
5762 2014-06-02 Doug Evans <xdje42@gmail.com>
5764 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5765 pretty-printer lookup.
5766 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5767 (make-pp_s-printer): Call it.
5768 (make-pretty-printer-from-dict): New function.
5769 (lookup-pretty-printer-maker-from-dict): New function.
5770 (*pretty-printer*): Simplify.
5771 (make-objfile-pp_s-printer): New function.
5772 (install-objfile-pretty-printers!): New function.
5773 (make-progspace-pp_s-printer): New function.
5774 (install-progspace-pretty-printers!): New function.
5775 * gdb.guile/scm-progspace.c: New file.
5776 * gdb.guile/scm-progspace.exp: New file.
5778 2014-06-02 Pedro Alves <palves@redhat.com>
5780 * gdb.base/dprintf-bp-same-addr.c: New file.
5781 * gdb.base/dprintf-bp-same-addr.exp: New file.
5783 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5785 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5786 * gdb.arch/powerpc-power.s: Likewise.
5788 2014-06-02 Joel Brobecker <brobecker@adacore.com>
5790 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5792 2014-06-01 Yao Qi <yao@codesourcery.com>
5794 * gdb.base/watchpoint.exp (test_watch_location): Check null
5795 pointer can be dereferenced. If not, do the test, otherwise
5798 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5800 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5802 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5804 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
5806 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5807 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5808 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5809 * gdb.arch/amd64-invalid-stack-top.c: New file.
5810 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5812 2014-05-30 Pedro Alves <palves@redhat.com>
5814 PR breakpoints/17000
5815 * gdb.base/sss-bp-on-user-bp.c: New file.
5816 * gdb.base/sss-bp-on-user-bp.exp: New file.
5818 2014-05-30 David Blaikie <dblaikie@gmail.com>
5820 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5821 gnu_inline semantics via attribute.
5822 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5823 source explicitly specifies the required semantics.
5825 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5827 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5829 2014-05-29 Pedro Alves <palves@redhat.com>
5830 Tom Tromey <tromey@redhat.com>
5832 * gdb.base/async-shell.exp: Don't enable target-async.
5833 * gdb.base/async.exp
5834 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5836 (top level): Don't test with "target-async".
5837 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5838 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5839 * gdb.base/inferior-died.exp: Don't enable target-async.
5840 * gdb.base/interrupt-noterm.exp: Likewise.
5841 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5842 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5843 * gdb.mi/mi-nonstop.exp: Likewise.
5844 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5845 * gdb.mi/mi-nsintrall.exp: Likewise.
5846 * gdb.mi/mi-nsmoribund.exp: Likewise.
5847 * gdb.mi/mi-nsthrexec.exp: Likewise.
5848 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5849 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5850 * gdb.python/py-evsignal.exp: Don't enable target-async.
5851 * gdb.python/py-evthreads.exp: Likewise.
5852 * gdb.python/py-prompt.exp: Likewise.
5853 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5854 * gdb.server/solib-list.exp: Don't enable target-async.
5855 * gdb.threads/thread-specific-bp.exp: Likewise.
5856 * lib/mi-support.exp: Adjust to use mi-async.
5858 2014-05-29 Pedro Alves <palves@redhat.com>
5861 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5862 reason, even in sync mode.
5864 2014-05-29 Pedro Alves <palves@redhat.com>
5865 Hui Zhu <hui@codesourcery.com>
5868 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5869 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5870 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5871 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5873 2014-05-28 Joel Brobecker <brobecker@adacore.com>
5875 * config/monitor.exp (gdb_target_monitor): Replace use of
5876 "set remotebaud" by "set serial baud".
5878 2014-05-26 Andy Wingo <wingo@igalia.com>
5880 * gdb.guile/scm-breakpoint.exp:
5881 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5882 properties instead of gdb-object-properties.
5884 2014-05-26 Yao Qi <yao@codesourcery.com>
5886 * gdb.server/no-thread-db.exp: Specify source file name
5887 explicitly when setting a breakpoint.
5889 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5891 * gdb.btrace/vdso.c: New.
5892 * gdb.btrace/vdso.exp: New.
5894 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5896 * gdb.base/gcore.exp (capture_command_output): Move ...
5897 * lib/gdb.exp (capture_command_output): ... here.
5899 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5901 * gdb.btrace/data.exp: Test memory access during btrace replay.
5903 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5905 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5907 2014-05-21 Pedro Alves <palves@redhat.com>
5910 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5911 (top level): Test that output related to execution commands is
5912 sent to the console with CLI commands, but not with MI commands.
5913 Test that breakpoint events are always mirrored to the console.
5914 Also expect the new source line to be output after a "next" in
5915 async mode too. Make it a pass/fail test.
5916 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5918 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5920 2014-05-21 Pedro Alves <palves@redhat.com>
5922 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5923 Use them to test variations of "list" after reaching a breakpoint.
5924 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5925 Test "list" with listsize 10 after reaching a breakpoint.
5926 * gdb.python/python.exp (decode_line current location line
5927 number): Adjust expected line number.
5929 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5931 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5932 behavior for $args, pass it directly to "run".
5934 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5936 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5939 2014-05-21 Pedro Alves <palves@redhat.com>
5941 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5942 auto-connect-native-target off".
5943 * gdb.base/auto-connect-native-target.c: New file.
5944 * gdb.base/auto-connect-native-target.exp: New file.
5946 2014-05-21 Pedro Alves <palves@redhat.com>
5948 * gdb.base/default.exp: Test "target native" instead of "target
5951 2014-05-21 Mark Wielaard <mjw@redhat.com>
5953 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5955 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5957 Fix TLS access for -static -pthread.
5958 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5959 <HAVE_TLS> (thread_function, main): Initialize it.
5960 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5962 <$have_tls != "">: Check TLSVAR.
5964 2014-05-21 Pedro Alves <palves@redhat.com>
5966 * gdb.base/dcache-line-read-error.c: New.
5967 * gdb.base/dcache-line-read-error.exp: New.
5969 2014-05-20 Pedro Alves <palves@redhat.com>
5971 * gdb.base/compare-sections.c: New file.
5972 * gdb.base/compare-sections.exp: New file.
5974 2014-05-20 Pedro Alves <palves@redhat.com>
5976 * gdb.base/break-idempotent.c: New file.
5977 * gdb.base/break-idempotent.exp: New file.
5979 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5981 * gdb.btrace/nohist.exp: New.
5983 2014-05-20 Yao Qi <yao@codesourcery.com>
5985 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5986 gdb.reverse directory and gdb_reverse_timeout exists in board
5988 * README: Document gdb_reverse_timeout.
5990 2014-05-20 Yao Qi <yao@codesourcery.com>
5992 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5993 'test_file_name'. Treat args as a string instead of a list.
5994 (gdb_init): Rename argument 'args' by 'test_file_name'.
5996 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5998 * gdb.arch/powerpc-power.exp: New file.
5999 * gdb.arch/powerpc-power.s: New file.
6001 2014-05-16 Doug Evans <dje@google.com>
6003 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6004 * gdb.base/completion.exp: Check that all expected files exist
6005 before doing file completion.
6007 2014-05-16 Doug Evans <dje@google.com>
6009 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6011 (do_syscall_tests_without_xml): Update.
6013 2014-05-16 Pedro Alves <palves@redhat.com>
6015 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6016 instead of "unknown output after running".
6018 2014-05-16 Yao Qi <yao@codesourcery.com>
6020 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6021 file1.txt from host at the end.
6022 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6024 2014-05-15 Doug Evans <dje@google.com>
6026 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6027 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6028 loading file. Add test for TU lookup.
6030 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6032 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6033 calling "-exec-arguments" or "set args" before running the
6036 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6038 * lib/mi-support.exp (mi_expect_stop): Expect message for
6039 inferiors that exit with non-zero exit code.
6041 2014-05-14 Yao Qi <yao@codesourcery.com>
6043 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6044 match absolute path on remote host.
6045 (test_file_list_exec_source_files): Remove "/" from the
6048 2014-05-14 Yao Qi <yao@codesourcery.com>
6050 * boards/local-remote-host-notty.exp (${board}_file): New
6053 2014-05-07 Kyle McMartin <kyle@redhat.com>
6055 Pushed by Joel Brobecker <brobecker@adacore.com>.
6056 * gdb.arch/aarch64-atomic-inst.c: New file.
6057 * gdb.arch/aarch64-atomic-inst.exp: New file.
6059 2014-05-07 Yao Qi <yao@codesourcery.com>
6061 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6062 in current context" too.
6064 2014-05-05 Keith Seitz <keiths@redhat.com>
6066 * gdb.linespec/ls-dollar.exp: Add test for linespec
6067 file:convenience_variable.
6069 2014-05-05 Yao Qi <yao@codesourcery.com>
6071 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6072 traceframes into tfile and ctf trace files. Read data from
6073 trace file and test collected data.
6074 (gdb_collect_locals_test): Likewise.
6075 (gdb_unavailable_registers_test): Likewise.
6076 (gdb_unavailable_floats): Likewise.
6077 (gdb_collect_globals_test): Likewise.
6078 (top-level): Append "ctf" to trace_file_targets if GDB
6081 2014-05-05 Yao Qi <yao@codesourcery.com>
6083 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6085 (gdb_collect_args_test_1): ... it. New proc.
6086 (gdb_collect_locals_test): Move some code to ...
6087 (gdb_collect_locals_test_1): ... it. New proc.
6088 (gdb_unavailable_registers_test): Move some code to ...
6089 (gdb_unavailable_registers_test_1): ... it. New proc.
6090 (gdb_unavailable_floats): Move some code to ...
6091 (gdb_unavailable_floats_1): ... it. New proc.
6093 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6095 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6096 probes to test for bitness recognition.
6097 * gdb.arch/amd64-stap-optional-prefix.exp
6098 (test_probe_value_without_reg): New procedure.
6099 Add code to test for different kinds of bitness.
6101 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6103 PR breakpoints/16889
6104 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6105 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6107 2014-05-01 Pedro Alves <palves@redhat.com>
6109 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6110 gdb_file_cmd if no file is specified.
6111 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6112 last_loaded_file to set the remote exec-file.
6114 2014-05-01 Pedro Alves <palves@redhat.com>
6116 * boards/local-remote-host.exp: New file.
6118 2014-05-01 Pedro Alves <palves@redhat.com>
6120 * boards/local-remote-host.exp: Rename to ...
6121 * boards/local-remote-host-notty.exp: ... this.
6123 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6125 * gdb.ada/dyn_arrayidx: New testcase.
6127 2014-04-26 Yao Qi <yao@codesourcery.com>
6129 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6130 and compute the length of function main. Save it in
6132 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6133 (top-level): Use gdb_compile to compile objects into
6134 executable and restart GDB. Remove invocation to
6135 prepare_for_testing.
6137 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6138 Pedro Alves <palves@redhat.com>
6141 * gdb.multi/multi-attach.c: New file.
6142 * gdb.multi/multi-attach.exp: New file.
6144 2014-04-25 Pedro Alves <palves@redhat.com>
6146 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6148 (top level): Test that "set remote conditional-breakpoints-packet
6149 off" works as intended.
6150 * gdb.base/dprintf.exp: Test that "set remote
6151 breakpoint-commands-packet off" works as intended.
6152 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6154 (top level): Call it.
6155 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6156 remote fast-tracepoints-packet off" works as intended.
6157 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6158 * lib/gdb.exp (gdb_is_target_remote): ... here.
6160 2014-04-24 David Blaikie <dblaikie@gmail.com>
6162 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6163 ensure clang would not discard them.
6164 * gdb.base/gdbvars.c: Ditto.
6165 * gdb.base/memattr.c: Ditto.
6166 * gdb.base/whatis.c: Ditto.
6167 * gdb.python/py-prettyprint.c: Ditto.
6168 * gdb.trace/actions.c: Ditto.
6169 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6170 ensure clang would not discard it.
6172 2014-04-24 David Blaikie <dblaikie@gmail.com>
6174 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6175 clang to emit the full definition of type required by the test
6176 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6178 2014-04-24 David Blaikie <dblaikie@gmail.com>
6180 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6181 coax Clang into emitting the definition of the type.
6182 * gdb.cp/pr10728-x.h (y): Ditto.
6183 * gdb.cp/pr10728-y.cc (y): Ditto.
6185 2014-04-24 David Blaikie <dblaikie@gmail.com>
6187 * gdb.base/label.exp: XFAIL label related tests under Clang.
6188 * gdb.cp/cplabel.exp: Ditto.
6189 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6190 under Clang those using labels.
6192 2014-04-25 Yao Qi <yao@codesourcery.com>
6194 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6196 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6197 partial_label and double_label.
6199 2014-04-24 David Blaikie <dblaikie@gmail.com>
6201 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6203 2014-04-24 David Blaikie <dblaikie@gmail.com>
6205 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6206 of the function to work across GCC and Clang.
6207 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6208 pointer types (const void ** const V void **).
6210 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6211 Walfred Tedeschi <walfred.tedeschi@intel.com>
6213 * Makefile.in (EXECUTABLES): Added i386-avx512.
6214 * gdb.arch/i386-avx512.c: New file.
6215 * gdb.arch/i386-avx512.exp: Likewise.
6217 2014-04-23 Keith Seitz <keiths@redhat.com>
6219 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6220 (mi_make_breakpoint_table): New procedure.
6221 (mi_create_breakpoint): Use mi_make_breakpoint
6222 and return the result.
6223 (mi_make_breakpoint): New procedure.
6224 (mi_build_kv_pairs): New procedure.
6226 * gdb.mi/mi-break.exp: Remove unused globals,
6227 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6228 All callers updated.
6229 * gdb.mi/mi-dprintf.exp: Use variable to track command
6231 Update all callers of mi_create_breakpoint and use
6232 mi_make_breakpoint_table.
6233 Remove any unused global variables.
6234 * gdb.mi/mi-nonstop.exp: Likewise.
6235 * gdb.mi/mi-nsintrall.exp: Likewise.
6236 * gdb.mi/mi-nsmoribund.exp: Likewise.
6237 * gdb.mi/mi-nsthrexec.exp: Likewise.
6238 * gdb.mi/mi-reverse.exp: Likewise.
6239 * gdb.mi/mi-simplerun.exp: Likewise.
6240 * gdb.mi/mi-stepn.exp: Likewise.
6241 * gdb.mi/mi-syn-frame.exp: Likewise.
6242 * gdb.mi/mi-until.exp: Likewise.
6243 * gdb.mi/mi-var-cp.exp: Likewise.
6244 * gdb.mi/mi-var-display.exp: Likewise.
6245 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6246 * gdb.mi/mi2-var-child.exp: Likewise.
6247 * gdb.mi/mi-vla-c99.exp: Likewise.
6248 * lib/mi-support.exp: Likewise.
6250 From Ian Lance Taylor <iant@cygnus.com>:
6251 * lib/gdb.exp (parse_args): New procedure.
6253 2014-04-23 Pedro Alves <palves@redhat.com>
6255 * gdb.base/break-unload-file.c: New file.
6256 * gdb.base/break-unload-file.exp: New file.
6257 * gdb.base/sym-file-lib.c (baz): New function.
6258 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6260 (load): Store the segment's mapped size.
6261 (unload): New function.
6262 (unload_shlib): New function.
6263 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6264 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6265 set a breakpoint at baz, and call it.
6266 * gdb.base/sym-file.exp: New tests for stale breakpoint
6269 2014-04-23 Pedro Alves <palves@redhat.com>
6271 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6272 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6273 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6274 * gdb.base/hbreak-unmapped.c: New file.
6275 * gdb.base/hbreak-unmapped.exp: New file.
6276 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6277 * lib/gdb.exp (gdb_is_target_remote): ... here.
6279 2014-04-22 Pedro Alves <palves@redhat.com>
6281 * gdb.base/consecutive-step-over.c: New file.
6282 * gdb.base/consecutive-step-over.exp: New file.
6284 2014-04-22 Pedro Alves <palves@redhat.com>
6286 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6287 instead of send_gdb/gdb_expect.
6289 2014-04-22 Yao Qi <yao@codesourcery.com>
6291 * lib/trace-support.exp (generate_tracefile): New procedure.
6292 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6294 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6295 if generate_tracefile returns 1.
6297 2014-04-18 Tom Tromey <palves@redhat.com>
6298 Pedro alves <tromey@redhat.com>
6301 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6302 with a backtrace limit.
6303 * gdb.python/py-frame-inline.exp: Test running to an inline
6304 function with a backtrace limit, and printing the newest frame.
6305 * gdb.python/py-frame-inline.c (main): Call f.
6307 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6309 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6311 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6313 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6314 Drop prefix from unsupported source file path.
6316 2014-04-17 Yao Qi <yao@codesourcery.com>
6318 * lib/gdb.exp (with_target_charset): New proc.
6319 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6320 with_target_charset.
6321 (test_print_strings): Likewise.
6322 (test_repeat_bytes): Likewise.
6323 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6326 2014-04-16 Keith Seitz <keiths@redhat.com>
6329 * gdb.dwarf2/corrupt.c: New file.
6330 * gdb.dwarf2/corrupt.exp: New file.
6332 2014-04-16 Keith Seitz <keiths@redhat.com>
6335 * gdb.cp/namelessclass.cc: New file.
6336 * gdb.cp/namelessclass.exp: New file.
6337 * gdb.cp/namelessclass.S: New file.
6339 2014-04-16 Doug Evans <dje@google.com>
6341 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6343 (gdbserver_default_get_comm_port): New function.
6344 (gdbserver_start): Check if board file provided
6345 "gdbserver,get_comm_port" and use it if so.
6346 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6347 (gdb,socketport): Set to "stdio".
6348 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6349 (stdio_gdbserver_template): Delete.
6350 (${board}_get_remote_address): Update.
6351 (${board}_build_remote_cmd): Delete.
6352 (${board}_get_comm_port): New function.
6353 (${board}_spawn): Update.
6354 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6356 (${board}_get_remote_address): Update.
6357 (${board}_get_comm_port): New function.
6359 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6361 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6362 appearing in any order.
6364 2014-04-15 Doug Evans <dje@google.com>
6366 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6367 uninitialized value of "description".
6369 2014-04-15 Keith Seitz <keiths@redhat.com>
6371 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6372 Remove unused globals.
6373 (test_running_the_program): Likewise.
6374 (test_controlled_execution): Likewise.
6375 (test_controlling_breakpoints): Likewise.
6376 (test_program_termination): Likewise.
6378 2014-04-15 Keith Seitz <keiths@redhat.com>
6380 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6382 (test_rbreak_creation_and_listing): Likewise.
6383 (test_ignore_count): Likewise.
6384 (test_error): Likewise.
6386 2014-04-15 Pedro Alves <palves@redhat.com>
6388 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6389 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6391 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6392 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6393 to sym-file-loader.c.
6394 (struct library): Forward declare.
6395 (load_shlib, lookup_function): Change prototypes.
6396 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6397 (translate_offset): Remove declarations.
6398 (get_text_addr): New declaration.
6399 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6400 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6402 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6403 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6404 here from sym-file-loader.h.
6405 (struct library): New structure.
6406 (load_shlib, lookup_function): Change prototypes and adjust to
6407 work with a struct library.
6408 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6409 (translate_offset): Make static.
6410 (get_text_addr): New function.
6411 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6413 2014-04-15 Pedro Alves <palves@redhat.com>
6415 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6417 2014-04-15 Pedro Alves <palves@redhat.com>
6419 * gdb.base/sym-file-loader.c: Include <limits.h>.
6420 (SELF_LINK): New define.
6421 (get_origin): New function.
6422 (load_shlib): Use it.
6423 * gdb.base/sym-file.exp: Don't early return if the target is
6424 remote. Use runto_main, and issue fail is that fails. Use
6426 (shlib_name): Delete.
6427 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6429 2014-04-15 Pedro Alves <palves@redhat.com>
6431 * gdb.base/sym-file.exp: Remove regex characters from test
6432 message. Don't refer to breakpoint numbers in test messages.
6434 2014-04-14 Keith Seitz <keiths@redhat.com>
6437 * gdb.cp/var-tag.cc: New file.
6438 * gdb.cp/var-tag.exp: New file.
6439 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6440 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6441 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6442 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6444 2014-04-14 Tom Tromey <tromey@redhat.com>
6446 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6447 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6449 * gdb.cp/enum-class.exp: New file.
6450 * gdb.cp/enum-class.cc: New file.
6452 2014-04-14 Tom Tromey <tromey@redhat.com>
6454 * gdb.dwarf2/enum-type.exp: New file.
6456 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6458 * gdb.mi/mi-vla-c99.exp: New file.
6459 * gdb.mi/vla.c: New file.
6461 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6463 * gdb.base/vla-datatypes.c: New file.
6464 * gdb.base/vla-datatypes.exp: New file.
6466 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6468 * gdb.base/vla-ptr.c: New file.
6469 * gdb.base/vla-ptr.exp: New file.
6471 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6473 * gdb.dwarf2/count.exp: New file.
6475 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6477 * gdb.base/vla-sideeffect.c: New file.
6478 * gdb.base/vla-sideeffect.exp: New file.
6480 2014-04-14 David Blaikie <dblaikie@gmail.com>
6482 * gdb.mi/non-stop.c: Add return value for non-void function return
6484 * gdb.threads/staticthreads.c: Ditto.
6486 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6487 Doug Evans <xdje42@gmail.com>
6489 * gdb.guile/scm-value.c: Improve test case.
6490 * gdb.guile/scm-value.exp: Add new test.
6492 2014-04-11 David Blaikie <dblaikie@gmail.com>
6494 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6495 override Clang's default.
6497 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6499 Revert the following changes (regressions):
6501 * gdb.base/vla-sideeffect.c: New file.
6502 * gdb.base/vla-sideeffect.exp: New file.
6504 * gdb.dwarf2/count.exp: New file.
6506 * gdb.base/vla-multi.c: New file.
6507 * gdb.base/vla-multi.exp: New file.
6509 * gdb.base/vla-ptr.c: New file.
6510 * gdb.base/vla-ptr.exp: New file.
6512 * gdb.base/vla-datatypes.c: New file.
6513 * gdb.base/vla-datatypes.exp: New file.
6515 * gdb.mi/mi-vla-c99.exp: New file.
6516 * gdb.mi/vla.c: New file.
6518 2014-04-11 Keith Seitz <keiths@redhat.com>
6521 * gdb.cp/cpsizeof.exp: New file.
6522 * gdb.cp/cpsizeof.cc: New file.
6524 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6526 * gdb.mi/mi-vla-c99.exp: New file.
6527 * gdb.mi/vla.c: New file.
6529 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6531 * gdb.base/vla-datatypes.c: New file.
6532 * gdb.base/vla-datatypes.exp: New file.
6534 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6536 * gdb.base/vla-ptr.c: New file.
6537 * gdb.base/vla-ptr.exp: New file.
6539 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6541 * gdb.base/vla-multi.c: New file.
6542 * gdb.base/vla-multi.exp: New file.
6544 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6546 * gdb.dwarf2/count.exp: New file.
6548 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6550 * gdb.base/vla-sideeffect.c: New file.
6551 * gdb.base/vla-sideeffect.exp: New file.
6553 2014-04-11 Yao Qi <yao@codesourcery.com>
6555 * gdb.base/completion.exp: Check file exists before running tests
6558 2014-04-10 Pedro Alves <palves@redhat.com>
6560 * gdb.base/cond-eval-mode.c: New file.
6561 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6562 prepare_for_testing to build the new file. Check result of
6564 (test_break, test_watch): New procedures.
6565 (top level): Use them.
6567 2014-04-08 Pierre Muller <muller@sourceware.org>
6569 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6570 Ctrl-V use for mingw hosts.
6572 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6574 * gdb.python/py-value.c: Improve test case.
6575 * gdb.python/py-value.exp: Add new test.
6577 2014-04-07 David Blaikie <dblaikie@gmail.com>
6579 * lib/compiler.c: Identify the clang compiler.
6580 * lib/compiler.cc: Ditto.
6582 2014-04-03 Yao Qi <yao@codesourcery.com>
6584 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6586 2014-04-01 Anton Blanchard <anton@samba.org>
6588 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6591 2014-04-01 Anton Blanchard <anton@samba.org>
6593 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6594 prepare_for_testing.
6596 2014-04-01 Anton Blanchard <anton@samba.org>
6598 * gdb.arch/ppc64-atomic-inst.c: Remove.
6599 * gdb.arch/ppc64-atomic-inst.S: New file.
6600 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6602 2014-03-31 Doug Evans <dje@google.com>
6604 * gdb.base/print-symbol-loading-lib.c: New file.
6605 * gdb.base/print-symbol-loading-main.c: New file.
6606 * gdb.base/print-symbol-loading.exp: New file.
6608 2014-03-31 Yao Qi <yao@codesourcery.com>
6610 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6612 2014-03-28 Joel Brobecker <brobecker@adacore.com>
6614 * gdb.ada/mi_dyn_arr: New testcase.
6616 2014-03-27 Doug Evans <dje@google.com>
6618 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6620 2014-03-27 Yao Qi <yao@codesourcery.com>
6622 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6623 if target is nios2-*-*.
6625 2014-03-26 Yao Qi <yao@codesourcery.com>
6627 * lib/gdb.exp (readline_is_used): New proc.
6628 * gdb.base/completion.exp: Move tests on command complete up.
6629 Skip the rest of tests if readline is not used.
6630 * gdb.ada/complete.exp: Skp the test if readline is not
6632 * gdb.base/filesym.exp: Likewise.
6633 * gdb.base/macscp.exp: Likewise.
6634 * gdb.base/readline-ask.exp: Likewise.
6635 * gdb.base/readline.exp: Likewise.
6636 * gdb.python/py-cmd.exp: Likewise.
6637 * gdb.trace/tfile.exp: Likewise.
6639 2014-03-26 Yao Qi <yao@codesourcery.com>
6641 * gdb.base/macscp.exp: Fix code format issues.
6643 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6645 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6646 * gdb.asm/powerpc64le.inc: New file.
6648 2014-03-25 Pedro Alves <palves@redhat.com>
6649 Doug Evans <dje@google.com>
6651 * gdb.base/source-execution.c: New file.
6652 * gdb.base/source-execution.exp: New file.
6653 * gdb.base/source-execution.gdb: New file.
6655 2014-03-24 Doug Evans <dje@google.com>
6657 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6660 2014-03-24 Hui Zhu <hui@codesourcery.com>
6661 Pedro Alves <palves@redhat.com>
6663 PR breakpoints/16101
6664 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6665 test pass/fail messages. Detect missing support for dprintf when
6666 breakpoints are actually inserted.
6667 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6668 breakpoints are actually inserted.
6669 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6672 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6674 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6676 2014-03-22 Doug Evans <xdje42@gmail.com>
6678 * gdb.python/python.exp (python not supported): Verify multi-line
6679 python command issues an error.
6680 * gdb.guile/guile.exp (guile not supported): Verify multi-line
6681 guile command issues an error.
6683 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6685 * gdb.threads/thread-specific.exp: Handle the lack of usable
6686 $this_breakpoint and $this_thread.
6688 2014-03-21 Hui Zhu <hui@codesourcery.com>
6690 * gdb.base/attach.exp (do_command_attach_tests): New.
6692 2014-03-20 Tom Tromey <tromey@redhat.com>
6693 Pedro Alves <palves@redhat.com>
6696 * gdb.base/condbreak-call-false.c: New file.
6697 * gdb.base/condbreak-call-false.exp: New file.
6699 2014-03-20 Pedro Alves <palves@redhat.com>
6701 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6703 (block_signals, unblock_signals): Delete.
6704 (child_function_2, main): Remove references to deleted variable
6707 2014-03-20 Pedro Alves <palves@redhat.com>
6709 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6710 Use pthread_kill to signal thread 2.
6711 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6712 Adjust to make the test send itself a signal rather than using the
6713 host's "kill" command.
6715 2014-03-20 Pedro Alves <palves@redhat.com>
6717 * gdb.threads/multiple-step-overs.c: New file.
6718 * gdb.threads/multiple-step-overs.exp: New file.
6719 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6720 Adjust expected infrun debug output.
6722 2014-03-20 Pedro Alves <palves@redhat.com>
6724 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6725 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6727 2014-03-20 Pedro Alves <palves@redhat.com>
6730 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6731 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6732 of gdb_test_multiple.
6733 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6734 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6736 2014-03-20 Pedro Alves <palves@redhat.com>
6738 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6739 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6741 2014-03-19 Pedro Alves <palves@redhat.com>
6743 * gdb.base/async.exp: Remove early return.
6745 2014-03-19 Pedro Alves <palves@redhat.com>
6747 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6749 2014-03-19 Pedro Alves <palves@redhat.com>
6751 * gdb.base/async.exp (test_background): Expect \r\n after
6752 "completed." in the fail pattern.
6754 2014-03-19 Pedro Alves <palves@redhat.com>
6756 * gdb.base/async.exp (test_background): New procedure.
6757 Use it for all background execution command tests.
6759 2014-03-19 Pedro Alves <palves@redhat.com>
6761 * gdb.base/async.exp: Use prepare_for_testing.
6763 2014-03-19 Pedro Alves <palves@redhat.com>
6765 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6768 2014-03-19 Pedro Alves <palves@redhat.com>
6770 * gdb.base/async.c (main): Add "jump here" and "until here" line
6772 * gdb.base/async.exp (jump_here): New global.
6773 (jump& test): Use it.
6774 (until_here): New global.
6775 (until& test): Use it.
6777 2014-03-19 Pedro Alves <palves@redhat.com>
6779 * gdb.base/async.exp: Don't frob gdb_protocol.
6781 2014-03-18 Doug Evans <xdje42@gmail.com>
6783 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6784 Fix spelling of exec-done-display.
6786 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6789 * gdb.base/gdb-sigterm.c: New file.
6790 * gdb.base/gdb-sigterm.exp: New file.
6792 2014-03-18 Pedro Alves <palves@redhat.com>
6795 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6796 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6799 2014-03-17 Joel Brobecker <brobecker@adacore.com>
6801 * gdb.ada/pckd_arr_ren: New testcase.
6803 2014-03-13 Doug Evans <xdje42@gmail.com>
6806 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6807 collect after discarding symbols.
6809 2014-03-13 Ludovic Courtès <ludo@gnu.org>
6810 Doug Evans <xdje42@gmail.com>
6812 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6813 to history survives a gc.
6815 2014-03-13 Pedro Alves <palves@redhat.com>
6817 * gdb.base/default.exp: Don't test "target procfs".
6819 2014-03-13 Pedro Alves <palves@redhat.com>
6821 * gdb.base/default.exp: Update "target child" and "target procfs"
6822 tests to not expect "Unix".
6824 2014-03-12 Tom Tromey <tromey@redhat.com>
6826 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6827 New procs. Add target-async tests.
6828 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6829 Add target-async tests.
6831 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6833 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6834 'func_start' and 'func_end' for the beginning and end of the
6835 function code, respectively.
6836 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6837 'func_end' instead of 'func' and 'main'.
6839 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6841 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6842 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6843 generate the debug info assembler source.
6845 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6847 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6848 * gdb.dwarf2/arr-subrange.exp: Likewise.
6849 * gdb.dwarf2/dwz.exp: Likewise.
6850 * gdb.dwarf2/method-ptr.exp: Likewise.
6851 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6852 * gdb.dwarf2/subrange.exp: Likewise.
6853 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6854 * gdb.dwarf2/implptrpiece.exp: Likewise.
6855 * gdb.dwarf2/nostaticblock.exp: Likewise.
6857 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6859 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6860 directory to absolute path name arguments.
6862 2014-03-10 Joel Brobecker <brobecker@adacore.com>
6864 * gdb.ada/tagged_access: New testcase.
6866 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6868 * gdb.btrace/data.exp: Update expected output.
6870 2014-03-06 Yao Qi <yao@codesourcery.com>
6872 * gdb.trace/pr16508.exp: New file.
6874 2014-03-05 Pedro Alves <palves@redhat.com>
6877 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6879 (top level): Adjust to use it. Add tests that exercise breakpoint
6880 interaction with the code-cache.
6882 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6884 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6885 test for 'history-append!'.
6887 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6889 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6890 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6891 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6892 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6893 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6894 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6896 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6898 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6899 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6900 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6902 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6904 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6906 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6908 * gdb.dwarf2/arr-stride.c: New file.
6909 * gdb.dwarf2/arr-stride.exp: New file.
6911 2014-02-26 Pedro Alves <palves@redhat.com>
6913 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6914 that won't ever trigger. Make sure that GDB reports the correct
6915 breakpoint that caused the stop.
6917 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6920 * gdb.base/auto-load-script: New file.
6921 * gdb.base/auto-load.c: New file.
6922 * gdb.base/auto-load.exp: New file.
6925 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6927 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6929 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6930 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6932 2014-02-24 Doug Evans <dje@google.com>
6934 * lib/gdb.exp (run_on_host): Log error output if program fails.
6936 2014-02-21 Pedro Alves <palves@redhat.com>
6938 * gdb.threads/step-after-sr-lock.c: Rename to ...
6939 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6940 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6941 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6944 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6947 * gdb.arch/amd64-stap-special-operands.exp: New file.
6948 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6949 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6950 * gdb.arch/amd64-stap-triplet.S: Likewise.
6951 * gdb.arch/amd64-stap-triplet.c: Likewise.
6953 2014-02-20 Joel Brobecker <brobecker@adacore.com>
6955 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6956 in .section pseudo-op.
6958 2014-02-20 lin zuojian <manjian2006@gmail.com>
6959 Joel Brobecker <brobecker@adacore.com>
6960 Doug Evans <xdje42@gmail.com>
6963 * gdb.dwarf2/dw2-icycle.S: New file.
6964 * gdb.dwarf2/dw2-icycle.c: New file.
6965 * gdb.dwarf2/dw2-icycle.exp: New file.
6967 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6969 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6970 operations on gdb.Value objects.
6971 * gdb.python/py-value-cc.exp: Add new test to test operations on
6974 2014-02-18 Doug Evans <dje@google.com>
6976 * Makefile.in (TESTS): New variable.
6977 (expanded_tests, expanded_tests_or_none): New variables
6978 (check-single): Pass $(expanded_tests_or_none) to runtest.
6979 (check-parallel): Only run tests in $(TESTS) if non-empty.
6980 (check/no-matching-tests-found): New rule.
6981 * README: Document TESTS makefile variable.
6983 2014-02-18 Doug Evans <dje@google.com>
6985 * Makefile.in (check-parallel): rm -rf outputs temp.
6987 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6989 Fix "ERROR: no fileid for" in the testsuite.
6990 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6992 2014-02-12 Doug Evans <dje@google.com>
6994 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6995 (MISCELLANEOUS): New variable.
6996 (clean): rm -rf $(MISCELLANEOUS).
6997 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6998 dwp live in the same directory as symlinks, with each symlink pointed
6999 to a differently named file in a different directory.
7001 2014-02-11 Doug Evans <dje@google.com>
7003 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7004 of Tcl file commands.
7006 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7008 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7011 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7013 * gdb.ada/tick_length_array_enum_idx: New testcase.
7015 2014-02-10 Doug Evans <xdje42@gmail.com>
7017 * configure.ac (AC_OUTPUT): Add gdb.guile.
7018 * configure: Regenerate.
7019 * lib/gdb-guile.exp: New file.
7020 * lib/gdb.exp (get_target_charset): New function.
7021 * gdb.base/help.exp: Update expected output from "apropos apropos".
7022 * gdb.guile/Makefile.in: New file.
7023 * gdb.guile/guile.exp: New file.
7024 * gdb.guile/scm-arch.c: New file.
7025 * gdb.guile/scm-arch.exp: New file.
7026 * gdb.guile/scm-block.c: New file.
7027 * gdb.guile/scm-block.exp: New file.
7028 * gdb.guile/scm-breakpoint.c: New file.
7029 * gdb.guile/scm-breakpoint.exp: New file.
7030 * gdb.guile/scm-disasm.c: New file.
7031 * gdb.guile/scm-disasm.exp: New file.
7032 * gdb.guile/scm-equal.c: New file.
7033 * gdb.guile/scm-equal.exp: New file.
7034 * gdb.guile/scm-error.exp: New file.
7035 * gdb.guile/scm-error.scm: New file.
7036 * gdb.guile/scm-frame-args.c: New file.
7037 * gdb.guile/scm-frame-args.exp: New file.
7038 * gdb.guile/scm-frame-args.scm: New file.
7039 * gdb.guile/scm-frame-inline.c: New file.
7040 * gdb.guile/scm-frame-inline.exp: New file.
7041 * gdb.guile/scm-frame.c: New file.
7042 * gdb.guile/scm-frame.exp: New file.
7043 * gdb.guile/scm-generics.exp: New file.
7044 * gdb.guile/scm-gsmob.exp: New file.
7045 * gdb.guile/scm-iterator.c: New file.
7046 * gdb.guile/scm-iterator.exp: New file.
7047 * gdb.guile/scm-math.c: New file.
7048 * gdb.guile/scm-math.exp: New file.
7049 * gdb.guile/scm-objfile-script-gdb.in: New file.
7050 * gdb.guile/scm-objfile-script.c: New file.
7051 * gdb.guile/scm-objfile-script.exp: New file.
7052 * gdb.guile/scm-objfile.c: New file.
7053 * gdb.guile/scm-objfile.exp: New file.
7054 * gdb.guile/scm-ports.exp: New file.
7055 * gdb.guile/scm-pretty-print.c: New file.
7056 * gdb.guile/scm-pretty-print.exp: New file.
7057 * gdb.guile/scm-pretty-print.scm: New file.
7058 * gdb.guile/scm-section-script.c: New file.
7059 * gdb.guile/scm-section-script.exp: New file.
7060 * gdb.guile/scm-section-script.scm: New file.
7061 * gdb.guile/scm-symbol.c: New file.
7062 * gdb.guile/scm-symbol.exp: New file.
7063 * gdb.guile/scm-symtab-2.c: New file.
7064 * gdb.guile/scm-symtab.c: New file.
7065 * gdb.guile/scm-symtab.exp: New file.
7066 * gdb.guile/scm-type.c: New file.
7067 * gdb.guile/scm-type.exp: New file.
7068 * gdb.guile/scm-value-cc.cc: New file.
7069 * gdb.guile/scm-value-cc.exp: New file.
7070 * gdb.guile/scm-value.c: New file.
7071 * gdb.guile/scm-value.exp: New file.
7072 * gdb.guile/source2.scm: New file.
7073 * gdb.guile/types-module.cc: New file.
7074 * gdb.guile/types-module.exp: New file.
7076 2014-02-10 Yao Qi <yao@codesourcery.com>
7079 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7080 * configure: Regenerated.
7081 * Makefile.in: New file.
7083 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7085 * gdb.python/py-framefilter.exp: Fix typo.
7087 2014-02-08 Yao Qi <yao@codesourcery.com>
7089 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7090 that no =breakpoint-modified is emitted when breakpoints are
7091 modified through MI commands.
7093 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7094 Pedro Alves <palves@redhat.com>
7096 * gdb.threads/step-after-sr-lock.c: New file.
7097 * gdb.threads/step-after-sr-lock.exp: New file.
7099 2014-02-07 Pedro Alves <palves@redhat.com>
7101 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7103 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7105 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7106 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7108 2014-02-06 Doug Evans <xdje42@gmail.com>
7110 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7113 * gdb.gdb/python-interrupts.exp: New file.
7115 2014-02-05 Yao Qi <yao@codesourcery.com>
7117 * gdb.trace/report.exp (use_collected_data): Test the output
7118 of "info threads" and "info inferiors".
7120 2014-02-05 Yao Qi <yao@codesourcery.com>
7124 2013-05-24 Yao Qi <yao@codesourcery.com>
7126 * gdb.trace/tfile.exp: Test inferior and thread.
7128 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7130 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7132 * gdb.base/step-bt.c: Call hello via function pointer to make
7133 sure its first instruction is executed on powerpc64le-linux.
7135 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7137 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7139 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7141 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7142 of the test patterns for use on little-endian systems.
7144 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7146 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7147 (decimal_vector): Fix for little-endian.
7149 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7151 * gdb.arch/sparc-sysstep.exp: New file.
7152 * gdb.arch/sparc-sysstep.c: Likewise.
7154 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7156 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7158 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7160 2014-01-23 Tom Tromey <tromey@redhat.com>
7162 * gdb.ada/array_char_idx: New testcase.
7164 2014-01-23 Tom Tromey <tromey@redhat.com>
7167 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7168 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7171 2014-01-23 Tom Tromey <tromey@redhat.com>
7174 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7175 string from an inferior frame.
7176 * gdb.python/py-framefilter-mi.exp: Update.
7178 2014-01-22 Doug Evans <dje@google.com>
7180 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7182 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7184 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7186 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7188 * gdb.trace/entry-values.exp: Remove excess space character from
7189 regex patterns. Handle s390 call instruction.
7191 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7193 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7194 define "*_start" label. Make "name" static.
7195 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7196 ${name} by references to ${name}_start.
7198 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7200 * gdb.base/info-macros.exp: Remove "debug" from the compile
7203 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7205 * gdb.dlang/demangle.exp: New file.
7207 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7209 * gdb.dlang/primitive-types.exp: New file.
7211 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7213 * configure.ac: Create gdb.dlang/Makefile.
7214 * configure: Regenerate.
7215 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7216 * gdb.dlang/Makefile.in: New file.
7217 * lib/d-support.exp: New file.
7218 * lib/gdb.exp (skip_d_tests): New proc.
7220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7222 * gdb.btrace/delta.exp: Check reverse stepi.
7223 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7224 * gdb.btrace/finish.exp: New.
7225 * gdb.btrace/next.exp: New.
7226 * gdb.btrace/nexti.exp: New.
7227 * gdb.btrace/record_goto.c: Add comments.
7228 * gdb.btrace/step.exp: New.
7229 * gdb.btrace/stepi.exp: New.
7230 * gdb.btrace/multi-thread-step.c: New.
7231 * gdb.btrace/multi-thread-step.exp: New.
7232 * gdb.btrace/rn-dl-bind.c: New.
7233 * gdb.btrace/rn-dl-bind.exp: New.
7234 * gdb.btrace/data.c: New.
7235 * gdb.btrace/data.exp: New.
7236 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7238 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7240 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7241 * gdb.btrace/exception.exp: Update.
7242 * gdb.btrace/instruction_history.exp: Update.
7243 * gdb.btrace/record_goto.exp: Update.
7244 * gdb.btrace/tailcall.exp: Update.
7245 * gdb.btrace/unknown_functions.exp: Update.
7246 * gdb.btrace/delta.exp: New.
7248 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7250 * gdb.btrace/record_goto.exp: Add backtrace test.
7251 * gdb.btrace/tailcall.exp: Add backtrace test.
7253 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7255 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7256 * gdb.btrace/record_goto.c: New.
7257 * gdb.btrace/record_goto.exp: New.
7258 * gdb.btrace/x86-record_goto.S: New.
7260 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7262 * gdb.btrace/function_call_history.exp: Update tests.
7263 * gdb.btrace/instruction_history.exp: Update tests.
7265 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7267 * gdb.btrace/function_call_history.exp: Fix expected field
7268 order for "record function-call-history".
7269 Add new tests for "record function-call-history /c".
7270 * gdb.btrace/exception.cc: New.
7271 * gdb.btrace/exception.exp: New.
7272 * gdb.btrace/tailcall.exp: New.
7273 * gdb.btrace/x86-tailcall.S: New.
7274 * gdb.btrace/x86-tailcall.c: New.
7275 * gdb.btrace/unknown_functions.c: New.
7276 * gdb.btrace/unknown_functions.exp: New.
7277 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7279 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7281 * gdb.btrace/instruction_history.exp: Update.
7282 * gdb.btrace/function_call_history.exp: Update.
7284 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7286 * gdb.btrace/function_call_history.exp: Fix expected function
7288 * gdb.btrace/instruction_history.exp: Initialize traced.
7289 Remove traced_functions.
7291 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7293 * gdb.btrace/function_call_history.exp: Update
7294 * gdb.btrace/instruction_history.exp: Update.
7296 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7298 * gdb.btrace/enable.exp: Update expected text.
7300 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7302 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7305 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7307 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7309 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7311 * lib/gdb.exp (supports_process_record): Return true for
7312 arm*-linux*. (supports_reverse): Likewise.
7314 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7318 * gdb.python/py-type.c: Enhance test case.
7319 * gdb.python/py-value-cc.cc: Likewise
7320 * gdb.python/py-type.exp: Add new tests.
7321 * gdb.python/py-value-cc.exp: Likewise
7323 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7324 Pedro Alves <palves@redhat.com>
7326 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7328 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7329 references to ${name}_start by references to ${name}.
7331 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7333 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7335 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7337 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7339 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7340 Pedro Alves <palves@redhat.com>
7342 * gdb.mi/mi-info-os.exp: Connect to the target with
7345 2014-01-08 Pedro Alves <palves@redhat.com>
7347 * gdb.threads/reconnect-signal.c: New file.
7348 * gdb.threads/reconnect-signal.exp: New file.
7350 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7352 * gdb.base/source-dir.exp: New file.
7354 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7356 * gdb.ada/mi_interface: New testcase.
7358 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7360 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7361 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7362 gdb.ada/pp-rec-component/pck.ads: New files.
7364 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7366 * gdb.python/py-pp-integral.c: New file.
7367 * gdb.python/py-pp-integral.py: New file.
7368 * gdb.python/py-pp-integral.exp: New file.
7370 For older changes see ChangeLog-1993-2013.
7376 ;; version-control: never
7379 Copyright 2014-2016 Free Software Foundation, Inc.
7380 Copying and distribution of this file, with or without modification,
7381 are permitted provided the copyright notice and this notice are preserved.