1 2016-03-09 Pedro Alves <palves@redhat.com>
3 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4 signal" -> "Thread NN received signal" output change.
5 * gdb.threads/ia64-sigill.exp: Likewise.
6 * gdb.threads/linux-dp.exp: Likewise.
7 * gdb.threads/manythreads.exp: Likewise.
8 * gdb.threads/pending-step.exp: Likewise.
9 * gdb.threads/print-threads.exp: Likewise.
10 * gdb.threads/sigstep-threads.exp: Likewise.
11 * gdb.threads/staticthreads.exp: Likewise.
12 * gdb.threads/tls.exp: Likewise.
14 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
17 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
18 * gdb.trace/pending.exp: Accept leading dot before function name.
19 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
20 * lib/trace-support.exp: Set registers for ppc.
22 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
24 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
25 use it for disassembly; accept .main in addition to main in backtrace.
27 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
28 Marcin Kościelnicki <koriakin@0x04.net>
30 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
31 (gdb_recursion_test_ptr): New global variable.
32 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
36 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
38 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
41 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
43 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
44 (bar): Add bar_start_lbl label.
45 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
46 of foo/bar for emitting DWARF and tracing.
48 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
50 * analyze-racy-logs.py: Set executable bit.
52 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
54 * Makefile.in (DEFAULT_RACY_ITER): New variable.
55 (CHECK_TARGET_TMP): Likewise.
56 (check-single-racy): New rule.
57 (check-parallel-racy): Likewise.
58 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
59 (do-check-parallel-racy): New rule.
60 (check-racy/%.exp): Likewise.
61 * README (Racy testcases): New section.
62 * analyze-racy-logs.py: New file.
64 2016-03-03 Doug Evans <dje@google.com>
66 * gdb.base/skip.exp: Use with_test_prefix.
68 2016-03-03 Yao Qi <yao.qi@linaro.org>
70 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
71 Invoke step_over_syscall "clone" and break_cond_on_syscall
73 * gdb.base/step-over-clone.c: New file.
75 2016-03-03 Yao Qi <yao.qi@linaro.org>
77 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
80 2016-03-03 Yao Qi <yao.qi@linaro.org>
82 * gdb.base/disp-step-fork.c: Rename to ...
83 * gdb.base/step-over-fork.c: ... it. New file.
84 * gdb.base/disp-step-vfork.c: Rename to ...
85 * gdb.base/step-over-vfork.c: ... it. New file.
86 * gdb.base/disp-step-syscall.exp: Rename to ...
87 * gdb.base/step-over-syscall.exp: ... it. New file.
88 (disp_step_cross_syscall): Rename to ...
89 (step_over_syscall): ... it.
91 2016-03-03 Yao Qi <yao.qi@linaro.org>
93 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
94 If target supports condition evaluation on target, invoke
95 break_cond_on_syscall for fork and vfork.
97 2016-03-03 Yao Qi <yao.qi@linaro.org>
99 * gdb.base/disp-step-syscall.exp: Don't invoke
100 support_displaced_stepping.
101 (disp_step_cross_syscall): Test with displaced stepping off and
104 2016-03-03 Yao Qi <yao.qi@linaro.org>
106 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
109 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
112 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
114 * gdb.fortran/vla-history.exp: Remove breakpoint.
116 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
118 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
120 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
122 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
124 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
126 * gdb.mi/vla.f90: Nullify pointer after declaration.
128 2016-03-01 Pedro Alves <palves@redhat.com>
130 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
132 2016-03-01 Pedro Alves <palves@redhat.com>
134 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
135 before anything else.
136 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
138 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
139 before anything else.
140 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
142 2016-03-01 Pedro Alves <palves@redhat.com>
144 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
146 2016-03-01 Yao Qi <yao.qi@linaro.org>
148 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
151 2016-03-01 Yao Qi <yao.qi@linaro.org>
153 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
155 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
157 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
158 manually constructing the output path.
160 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
162 * gdb.arch/s390-stackless.S: New.
163 * gdb.arch/s390-stackless.exp: New.
165 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
167 * gdb.dlang/circular.c: New file.
168 * gdb.dlang/circular.exp: New file.
170 2016-02-26 Yao Qi <yao.qi@linaro.org>
172 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
173 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
176 2016-02-26 Yao Qi <yao.qi@linaro.org>
178 * gdb.reverse/aarch64.c: Rename to ...
179 * gdb.reverse/insn-reverse.c: ... it.
180 * gdb.reverse/aarch64.exp: Rename to ...
181 * gdb.reverse/insn-reverse.exp: ... it.
183 2016-02-26 Yao Qi <yao.qi@linaro.org>
185 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
186 (testcase_ftype): New.
187 (testcases): New array.
189 (main): Call each element in testcases.
190 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
191 (read_testcase): New.
192 Do the tests in a loop.
194 2016-02-25 Yao Qi <yao.qi@linaro.org>
196 * gdb.base/branches.c: Remove.
198 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
201 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
203 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
205 * gdb.trace/ftrace.exp: Remove unnecessary target check.
207 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
209 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
210 change x86_64 call_insn to 'callq'.
212 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
214 * gdb.trace/tfile-avx.c: Move to...
215 * gdb.trace/tracefile-pseudo-reg.c: Here.
216 * gdb.trace/tfile-avx.exp: Move to...
217 * gdb.trace/tracefile-pseudo-reg.exp: Here.
219 2016-02-24 Gary Benson <gbenson@redhat.com>
221 * gdb.base/attach-pie-noexec.exp: Do not expect an error
224 2016-02-23 Doug Evans <dje@google.com>
226 * gdb.base/skip.c (test_skip): New function.
227 (end_test_skip_file_and_function): New function.
228 (test_skip_file_and_function): New function.
229 * gdb.base/skip1.c (test_skip): New function.
230 (skip1_test_skip_file_and_function): New function.
231 * gdb.base/skip.exp: Add tests for new skip options.
232 * gdb.base/skip-solib.exp: Update expected output.
233 * gdb.perf/skip-command.cc: New file.
234 * gdb.perf/skip-command.exp: New file.
235 * gdb.perf/skip-command.py: New file.
237 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
239 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
240 info registers pattern.
242 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
244 * lib/future.exp: Add D support.
245 (gdb_find_gdc): New proc.
246 (gdb_default_target_compile): Add D support.
248 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
250 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
252 (trace_speed_test): Determine the iteration count for a time
253 between 15..30 seconds.
255 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
257 * gdb.arch/i386-mpx-sigsegv.c: New file.
258 * gdb.arch/i386-mpx-sigsegv.exp: New file.
259 * gdb.arch/i386-mpx-simple_segv.c: New file.
260 * gdb.arch/i386-mpx-simple_segv.exp: New file.
262 2016-02-18 Yao Qi <yao.qi@linaro.org>
264 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
265 Don't call setup_kfail.
267 2016-02-18 Yao Qi <yao.qi@linaro.org>
269 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
270 Set "set breakpoint condition-evaluation" per $cond_bp_target.
272 2016-02-16 Doug Evans <dje@google.com>
274 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
275 * gdb.base/skip1.c: Ditto.
276 * gdb.base/skip.exp: Whitespace cleanup.
278 2016-02-16 Don Breazeal <donb@codesourcery.com>
281 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
282 Remove kfail for PR remote/19496.
284 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
286 * lib/gdb.exp (standard_temp_file): Return a path specific to
287 the runtest invocation.
289 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
291 * gdb.trace/save-trace.exp: Change relative path to be in the
292 standard output directory.
294 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
296 * gdb.arch/i386-prologue.c: Add missing prototypes.
298 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
300 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
301 * gdb.arch/i386-prologue.exp: Likewise.
302 * gdb.arch/i386-size.exp: Likewise.
304 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
306 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
307 define object file path.
308 * gdb.btrace/gcore.exp: Use standard_output_file to define core
310 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
311 standard_output_file to define binfile.
313 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
315 Fix compatibility with recent gfortran-5.3.1.
316 * gdb.fortran/vla-history.exp (print vla1 allocated)
317 (print vla2 allocated, print $2, print $3): Remove
318 (print $4): Rename to ...
319 (print $2): ... here.
320 (print $9): Rename to ...
321 (print $5): ... here.
322 (print $10): Rename to ...
323 (print $6): ... here.
324 * gdb.fortran/vla.f90: Add pvla initialization.
326 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
328 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
330 * gdb.fortran/vla-value-sub.exp: Likewise.
332 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
334 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
336 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
338 * i386-biarch-core.exp: Define corefile using
339 standard_output_file.
341 2016-02-12 Yao Qi <yao.qi@linaro.org>
343 * gdb.arch/arm-single-step-kernel-helper.c: New.
344 * gdb.arch/arm-single-step-kernel-helper.exp: New.
346 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
348 * gdb.btrace/tailcall-only.exp: New.
349 * gdb.btrace/tailcall-only.c: New.
350 * gdb.btrace/x86_64-tailcall-only.S: New.
351 * gdb.btrace/i686-tailcall-only.S: New.
353 2016-02-11 Pedro Alves <palves@redhat.com>
355 * README (Parallel testing): Add missing double quotes.
357 2016-02-11 Pedro Alves <palves@redhat.com>
359 * README (Parallel testing): New section.
360 (GDB_PARALLEL): Rewrite.
361 (FORCE_PARALLEL): Document.
363 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
365 * gdb.trace/tfile-avx.c: New test.
366 * gdb.trace/tfile-avx.exp: New test.
368 2016-02-09 Keith Seitz <keiths@redhat.com>
371 * gdb.base/infcall-exec.c: New file.
372 * gdb.base/infcall-exec2.c: New file.
373 * gdb.base/infcall-exec.exp: New file.
375 2016-02-09 Keith Seitz <keiths@redhat.com>
377 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
378 (toplevel): Call test_bkpt_address.
380 2016-02-09 Keith Seitz <keiths@redhat.com>
383 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
384 (toplevel): Call test_bkpt_address.
386 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
388 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
390 * configure: Regenerate.
392 2016-02-09 Pedro Alves <palves@redhat.com>
395 * gdb.base/execl-update-breakpoints.c (some_function): New
398 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
399 Tighten expected GDB output.
401 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
403 * Makefile.in (ALL_SUBDIRS): Remove.
404 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
405 (distclean maintainer-clean realclean): Likewise.
406 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
407 * configure: Regenerate.
408 * gdb.ada/Makefile.in: Delete.
409 * gdb.arch/Makefile.in: Likewise.
410 * gdb.asm/Makefile.in: Likewise.
411 * gdb.base/Makefile.in: Likewise.
412 * gdb.btrace/Makefile.in: Likewise.
413 * gdb.cell/Makefile.in: Likewise.
414 * gdb.compile/Makefile.in: Likewise.
415 * gdb.cp/Makefile.in: Likewise.
416 * gdb.disasm/Makefile.in: Likewise.
417 * gdb.dlang/Makefile.in: Likewise.
418 * gdb.dwarf2/Makefile.in: Likewise.
419 * gdb.fortran/Makefile.in: Likewise.
420 * gdb.gdb/Makefile.in: Likewise.
421 * gdb.go/Makefile.in: Likewise.
422 * gdb.guile/Makefile.in: Likewise.
423 * gdb.java/Makefile.in: Likewise.
424 * gdb.linespec/Makefile.in: Likewise.
425 * gdb.mi/Makefile.in: Likewise.
426 * gdb.modula2/Makefile.in: Likewise.
427 * gdb.multi/Makefile.in: Likewise.
428 * gdb.objc/Makefile.in: Likewise.
429 * gdb.opencl/Makefile.in: Likewise.
430 * gdb.opt/Makefile.in: Likewise.
431 * gdb.pascal/Makefile.in: Likewise.
432 * gdb.perf/Makefile.in: Likewise.
433 * gdb.python/Makefile.in: Likewise.
434 * gdb.reverse/Makefile.in: Likewise.
435 * gdb.server/Makefile.in: Likewise.
436 * gdb.stabs/Makefile.in: Likewise.
437 * gdb.threads/Makefile.in: Likewise.
438 * gdb.trace/Makefile.in: Likewise.
439 * gdb.xml/Makefile.in: Likewise.
440 * lib/gdb.exp (make_gdb_parallel_path): Add check for
442 (standard_output_file): Remove check for GDB_PARALLEL, always
443 return path in outputs/$subdir/$testname.
445 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
447 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
448 (site.exp): Assign abs_srcdir to tcl's srcdir.
450 2016-02-04 Yao Qi <yao.qi@linaro.org>
452 * gdb.base/foll-exec-mode.c: Include limits.h.
453 (main): Add parameters argc and argv. Get directory from
455 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
457 * gdb.base/foll-exec.c: Include limits.h.
458 (main): Add parameters argc and argv.
459 Get directory from argv[0].
460 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
461 Adjust tests on the number of lines as source code changed.
462 * gdb.base/foll-vfork-exit.c: Include limits.h.
463 (main): Add one line of statement before vfork.
464 * gdb.base/foll-vfork.c: Include limits.h and string.h.
465 (main): Add parameters argc and argv. Get directory from
467 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
468 (setup_gdb): Set tbreak to skip some source lines.
469 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
470 (main): Add parameters argc and argv. Get directory from
472 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
474 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
475 (main): Add parameters argc and argv. Get directory from
477 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
480 2016-02-01 Doug Evans <dje@google.com>
482 * gdb.base/skip.exp: Clean up multiple references to same test name.
484 2016-02-01 Pedro Alves <palves@redhat.com>
487 * gdb.threads/forking-threads-plus-breakpoint.exp
488 (displaced_stepping_supported): New global.
489 (probe_displaced_stepping_support): New procedure.
490 (do_test): Add 'displaced' parameter, and use it.
491 (top level): Check for displaced stepping support. Add displaced
492 stepping on/off testing axis.
494 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
496 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
497 pointer. Don't perform further tests on the unassociated pointer
498 if the first test fails.
500 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
502 * gdb.base/max-value-size.c: New file.
503 * gdb.base/max-value-size.exp: New file.
504 * gdb.base/huge.exp: Disable max-value-size for this test.
506 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
508 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
510 2016-01-28 Yao Qi <yao.qi@linaro.org>
512 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
514 2016-01-25 Pedro Alves <palves@redhat.com>
517 * gdb.base/fork-running-state.c: New file.
518 * gdb.base/fork-running-state.exp: New file.
520 2016-01-25 Pedro Alves <palves@redhat.com>
523 * gdb.base/catch-fork-kill.c: New file.
524 * gdb.base/catch-fork-kill.exp: New file.
526 2016-01-25 Pedro Alves <palves@redhat.com>
528 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
529 Delete, moved to lib/gdb.exp.
530 * gdb.threads/forking-threads-plus-breakpoint.exp
531 (foreach_with_prefix): Likewise.
532 * gdb.threads/process-dies-while-handling-bp.exp
533 (foreach_with_prefix): Likewise.
534 * lib/gdb.exp (foreach_with_prefix): New procedure.
536 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
538 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
539 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
541 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
543 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
546 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
547 Pedro Alves <palves@redhat.com>
549 Fix testsuite compatibility with Guile.
550 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
553 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
555 Fix testsuite compatibility with Guile.
556 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
557 (thread 1): New test for backtrace through signal handler.
559 2016-01-22 Yao Qi <yao.qi@linaro.org>
562 * gdb.base/multi-forks.c: Include
563 ../lib/unbuffer_output.c
564 (main): Call gdb_unbuffer_output.
566 2016-01-21 Doug Evans <dje@google.com>
568 * lib/ada.exp (gdb_compile_ada): Fix typo.
570 2016-01-21 Joel Brobecker <brobecker@adacore.com>
572 * gdb.base/break-fun-addr.exp: New file.
573 * gdb.base/break-fun-addr1.c: New file.
574 * gdb.base/break-fun-addr2.c: New file.
576 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
578 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
579 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
582 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
584 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
585 when GDB can not set the vector return value. Add more comments
588 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
590 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
593 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
595 * Makefile.in (DO_RUNTEST): Add --status and update usages.
597 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
599 * Makefile.in (check-single): Pass --status to runtest.
600 (check/%.exp): Likewise.
602 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
604 * Makefile.in (check-parallel): Propagate return code from make
607 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
609 * gdb.trace/ftrace.exp: Fix expected message on continue.
610 * gdb.trace/pending.exp: Fix expected message on continue.
611 * gdb.trace/trace-break.exp: Fix expected message on continue.
613 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
615 * lib/gdb.exp (gdb_test): Remove unused global references.
617 2016-01-18 Pedro Alves <palves@redhat.com>
619 * gdb.base/async-shell.exp: Adjust expected output.
620 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
621 * gdb.base/siginfo-thread.exp: Adjust expected output.
622 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
623 * gdb.java/jnpe.exp: Adjust expected output.
624 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
625 * gdb.threads/continue-pending-status.exp: Adjust expected output.
626 * gdb.threads/leader-exit.exp: Adjust expected output.
627 * gdb.threads/manythreads.exp: Adjust expected output.
628 * gdb.threads/pthreads.exp: Adjust expected output.
629 * gdb.threads/schedlock.exp: Adjust expected output.
630 * gdb.threads/siginfo-threads.exp: Adjust expected output.
631 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
633 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
635 * gdb.threads/sigthread.exp: Adjust expected output.
636 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
638 2016-01-18 Yao Qi <yao.qi@linaro.org>
640 * gdb.guile/scm-section-script.c: Replace @progbits with
642 * gdb.python/py-section-script.c: Likewise.
644 2016-01-15 Pedro Alves <palves@redhat.com>
646 * gdb.multi/tids.exp: Test star wildcard ranges.
648 2016-01-15 Pedro Alves <palves@redhat.com>
650 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
651 command from "thread apply" invocation.
652 (thr_apply_info_thr_invalid): Default the expected output to the
654 (top level): Add tests that use convenience variables. Add tests
655 for "thread apply" with a valid TID list, but missing the command.
657 2016-01-13 Pedro Alves <palves@redhat.com>
659 * gdb.base/default.exp: Expect $_gthread as well.
660 * gdb.multi/tids.exp: Test $_gthread.
661 * gdb.threads/thread-specific.exp: Test $_gthread.
663 2016-01-13 Pedro Alves <palves@redhat.com>
665 * gdb.multi/tids.exp: Test "info threads -gid".
667 2016-01-13 Pedro Alves <palves@redhat.com>
669 * gdb.multi/tids.exp: Test InferiorThread.global_num and
671 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
673 2016-01-07 Pedro Alves <palves@redhat.com>
675 * gdb.base/break.exp: Adjust to output changes.
676 * gdb.base/hbreak2.exp: Likewise.
677 * gdb.base/sepdebug.exp: Likewise.
678 * gdb.base/watch_thread_num.exp: Likewise.
679 * gdb.linespec/keywords.exp: Likewise.
680 * gdb.multi/info-threads.exp: Likewise.
681 * gdb.threads/thread-find.exp: Likewise.
682 * gdb.multi/tids.c: New file.
683 * gdb.multi/tids.exp: New file.
685 2016-01-13 Pedro Alves <palves@redhat.com>
687 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
689 2016-01-13 Pedro Alves <palves@redhat.com>
691 * gdb.base/default.exp: Expect $_inferior as well.
692 * gdb.multi/base.exp: Test $_inferior.
694 2016-01-13 Pedro Alves <palves@redhat.com>
697 * gdb.base/catch-signal-siginfo-cond.c: New file.
698 * gdb.base/catch-signal-siginfo-cond.exp: New file.
700 2016-01-12 Josh Stone <jistone@redhat.com>
701 Philippe Waroquiers <philippe.waroquiers@skynet.be>
703 * gdb.base/catch-syscall.c (do_execve): New variable.
704 (main): Conditionally trigger an execve.
705 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
706 (test_catch_syscall_execve): New, check entry/return across execve.
707 (do_syscall_tests): Call test_catch_syscall_execve.
709 2016-01-12 Pedro Alves <palves@redhat.com>
711 * gdb.base/random-signal.exp (do_test): New procedure, with body
712 of testcase moved in.
714 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
715 Pedro Alves <palves@redhat.com>
717 * gdb.base/funcargs.exp (finish from indirectly called function):
718 Reintroduce the case for 'First'.
720 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
721 Pedro Alves <palves@redhat.com>
723 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
724 (tcatch_vfork_then_child_follow_exec)
725 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
728 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
730 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
731 and repeats to unlimited.
732 * gdb.python/py-value.exp: Likewise.
733 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
734 and repeats to unlimited.
736 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
738 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
739 and reordering the functions.
740 * gdb.multi/hangout.c: Likewise.
741 * gdb.multi/hello.c: Likewise.
743 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
745 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
747 (SingleStatisticTestResult.report): Use dict.keys instead of
750 2016-01-06 Pedro Alves <palves@redhat.com>
752 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
754 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
756 * gdb.btrace/dlopen.exp: New.
757 * gdb.btrace/dlopen.c: New.
758 * gdb.btrace/dlopen-dso.c: New.
760 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
762 * lib/gdb.exp (gdb_test): Update comments to clarify that the
763 PATTERN argument is optional.
765 2015-12-24 Joel Brobecker <brobecker@adacore.com>
767 * lib/ada.exp (target_compile_ada_from_dir): New function.
768 (gdb_compile_ada): Reimplement avoiding the use of project files.
769 * gdb.ada/gnat_ada.gpr: Delete.
770 * gdb.ada/cond_lang.exp: Adjust test to make path before
772 * gdb.ada/small_reg_param.exp: Likewise.
774 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
776 * gdb.base/foll-vork.exp: Remove HP-UX special case.
778 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
780 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
783 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
785 * gdb.base/break.exp: Remove dead code.
786 * gdb.base/sepdebug.exp: Likewise.
788 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
790 * gdb.asm/asm-source.exp: Remove HP-UX references.
791 * gdb.base/annota1.exp: Likewise.
792 * gdb.base/annota3.exp: Likewise.
793 * gdb.base/attach.exp: Likewise.
794 * gdb.base/bigcore.exp: Likewise.
795 * gdb.base/break.exp: Likewise.
796 * gdb.base/call-ar-st.exp: Likewise.
797 * gdb.base/callfuncs.exp: Likewise.
798 * gdb.base/catch-fork-static.exp: Likewise.
799 * gdb.base/display.exp: Likewise.
800 * gdb.base/foll-exec-mode.exp: Likewise.
801 * gdb.base/foll-exec.exp: Likewise.
802 * gdb.base/foll-fork.exp: Likewise.
803 * gdb.base/foll-vfork.exp: Likewise.
804 * gdb.base/funcargs.exp: Likewise.
805 * gdb.base/hbreak2.exp: Likewise.
806 * gdb.base/inferior-died.exp: Likewise.
807 * gdb.base/interrupt.exp: Likewise.
808 * gdb.base/multi-forks.exp: Likewise.
809 * gdb.base/nodebug.exp: Likewise.
810 * gdb.base/sepdebug.exp: Likewise.
811 * gdb.base/solib1.c: Likewise.
812 * gdb.base/step-test.exp: Likewise.
813 * gdb.mi/non-stop.c: Likewise.
814 * gdb.mi/pthreads.c: Likewise.
815 * gdb.multi/bkpt-multi-exec.ex: Likewise.
816 * gdb.threads/pthreads.c: Likewise.
817 * gdb.threads/staticthreads.exp: Likewise.
818 * lib/future.exp: Likewise.
819 * lib/gdb.exp: Likewise.
820 * gdb.base/so-indr-cl.c: Remove.
821 * gdb.base/so-indr-cl.exp: Likewise.
822 * gdb.base/solib.c: Likewise.
823 * gdb.base/solib.exp: Likewise.
824 * gdb.base/solib2.c: Likewise.
826 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
828 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
829 * gdb.base/call-ar-st.exp: Likewise.
830 * gdb.base/callfuncs.exp: Likewise.
831 * gdb.base/condbreak.exp: Likewise.
832 * gdb.base/constvars.exp: Likewise.
833 * gdb.base/hbreak2.exp: Likewise.
834 * gdb.base/langs.exp: Likewise.
835 * gdb.base/list.exp: Likewise.
836 * gdb.base/long_long.exp: Likewise.
837 * gdb.base/ptype.exp: Likewise.
838 * gdb.base/scope.exp: Likewise.
839 * gdb.base/signals.exp: Likewise.
840 * gdb.base/so-impl-ld.exp: Likewise.
841 * gdb.base/varargs.exp: Likewise.
842 * gdb.base/volatile.exp: Likewise.
843 * gdb.base/whatis.exp: Likewise.
844 * gdb.cp/cplusfuncs.exp: Likewise.
845 * gdb.cp/inherit.exp: Likewise.
846 * gdb.cp/local.exp: Likewise.
847 * gdb.cp/member-ptr.exp: Likewise.
848 * gdb.cp/method.exp: Likewise.
849 * gdb.cp/overload.exp: Likewise.
850 * gdb.cp/templates.exp: Likewise.
851 * gdb.stabs/weird.exp: Likewise.
852 * lib/compiler.c: Likewise.
853 * lib/compiler.cc: Likewise.
854 * lib/cp-support.exp: Likewise.
855 * lib/gdb.exp: Likewise.
857 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
859 * configure.ac: Remove HP-UX case.
860 * configure: Regenerate.
862 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
864 * lib/gdb.exp (gdb_compile): Add function doc.
866 2015-12-17 Pedro Alves <palves@redhat.com>
869 * gdb.multi/info-threads.exp: New file.
871 2015-12-15 Yao Qi <yao.qi@linaro.org>
873 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
876 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
878 * gdb.base/history-duplicates.exp: Skip if no readline support.
880 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
882 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
884 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
886 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
888 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
890 * gdb.base/completion.exp: Skip tests that interrupt GDB with
891 ctrl-C if nointerrupts target property is set.
892 * gdb.base/double-prompt-target-event-error.exp: Likewise.
893 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
894 * gdb.base/paginate-bg-execution.exp: Likewise.
895 * gdb.base/paginate-execution-startup.exp: Likewise.
896 * gdb.base/random-signal.exp: Likewise.
897 * gdb.base/range-stepping.exp: Likewise.
898 * gdb.cp/annota2.exp: Likewise.
899 * gdb.cp/annota3.exp: Likewise.
900 * gdb.gdb/selftest.exp: Likewise.
901 * gdb.threads/continue-pending-status.exp: Likewise.
902 * gdb.threads/leader-exit.exp: Likewise.
903 * gdb.threads/manythreads.exp: Likewise.
904 * gdb.threads/pthreads.exp: Likewise.
905 * gdb.threads/schedlock.exp: Likewise.
906 * gdb.threads/sigthread.exp: Likewise.
908 2015-12-11 Don Breazeal <donb@codesourcery.com>
910 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
912 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
913 * gdb.base/foll-exec.exp (main): Enable for target remote.
914 * gdb.base/foll-fork.exp (main): Likewise.
915 * gdb.base/foll-vfork.exp (main): Likewise.
916 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
917 (proc continue_to_exit_bp_loc): Use clean_restart.
918 * gdb.base/pie-execl.exp (main): Disable for target remote.
919 * gdb.base/watch-vfork.exp (main): Enable for target remote.
920 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
921 * gdb.threads/execl.exp (main): Likewise.
922 * gdb.threads/fork-child-threads.exp (main): Likewise.
923 * gdb.threads/fork-plus-threads.exp (main): Disable for target
925 * gdb.threads/fork-thread-pending.exp (main): Enable for target
927 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
928 pid.tid style ptids, instead of just tid.
929 * gdb.threads/thread-execl.exp (main): Enable for target remote.
930 * gdb.threads/watchpoint-fork.exp (main): Likewise.
931 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
932 ptids, instead of just tid.
934 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
936 * gdb.base/list.exp (test_list_forward): Add end of file error
938 (test_repeat_list_command): Add end of file error test.
939 (test_list_backwards): Add beginning of file error test.
941 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
943 * gdb.base/list.exp (test_list_invalid_args): New function,
946 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
948 * gdb.base/list.exp (test_list): Make test names unique.
950 2015-12-11 Yao Qi <yao.qi@linaro.org>
952 * gdb.base/coremaker2.c: Remove.
954 2015-12-10 Pedro Alves <palves@redhat.com>
956 * gdb.multi/base.exp: Remove stale "spaces" references.
958 2015-12-10 Pedro Alves <palves@redhat.com>
960 * gdb.multi/base.exp: Don't use nowarnings.
961 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
962 * gdb.multi/hangout.c: Include stdio.h.
963 * gdb.multi/hello.c: Include stdlib.h.
964 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
965 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
966 * gdb.multi/multi-arch.exp: Don't use nowarnings.
968 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
970 * gdb.dwarf2/dw2-ranges-base.c: New file.
971 * gdb.dwarf2/dw2-ranges-base.exp: New file.
972 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
973 support additional line table, and debug ranges generation.
974 (Dwarf::ranges): New function, generate .debug_ranges.
975 (Dwarf::lines): Support generating simple line table programs.
976 (Dwarf::assemble): Initialise new namespace variables.
978 2015-12-09 Kevin Buettner <kevinb@redhat.com>
980 * gdb.base/async.exp (proc test_background): Add case for
981 asynchronous execution not supported.
983 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
985 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
986 format and change test names to make them unique.
988 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
989 Pedro Alves <pedro@redhat.com>
992 Add checking of floatformats setup on x86_64 hosts.
993 * gdb.arch/i386-float.S (main): Load bigval and smallval.
994 (smallval, bigval): New labels/constants.
995 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
996 float" after loading bigval and smallval.
998 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1000 * gdb.ada/fun_overload_menu.exp: New testcase.
1001 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1003 2015-12-04 Josh Stone <jistone@redhat.com>
1005 * gdb.base/catch-fork-static.exp: New.
1007 2015-12-03 Yao Qi <yao.qi@linaro.org>
1009 * gdb.base/sizeof.c: Don't include stdio.h and
1010 ../lib/unbuffer_output.c.
1011 (main): New variable 'size' and 'value'. Remove printf and
1012 gdb_unbuffer_output. Assign return value to size and value.
1013 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1015 (check_sizeof): Check the result by printing variable 'size'.
1016 (check_valueof): Check the result by printing variable 'value'.
1018 2015-12-01 Yao Qi <yao.qi@linaro.org>
1020 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1021 for aarch64*-*-linux* target.
1023 2015-11-30 Pedro Alves <palves@redhat.com>
1025 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1027 2015-11-30 Pedro Alves <palves@redhat.com>
1029 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1030 Handle non-stop mode vCont replies.
1032 2015-11-30 Pedro Alves <palves@redhat.com>
1034 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1035 prepare_for_testing. Start gdb with "set non-stop on" appended to
1036 GDBFLAGS. Lax expected stop output.
1038 2015-11-27 Yao Qi <yao.qi@linaro.org>
1040 * gdb.arch/arm-neon.exp: New.
1041 * gdb.arch/arm-neon.c: New.
1043 2015-11-27 Yao Qi <yao.qi@linaro.org>
1045 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1047 2015-11-27 Yao Qi <yao.qi@linaro.org>
1049 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1050 frames-invalid annotation.
1052 2015-11-27 Yao Qi <yao.qi@linaro.org>
1054 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1056 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1058 * gdb.threads/names.exp: New file.
1059 * gdb.threads/names.c: New file.
1060 * README: Mention gdb,no_thread_names.
1062 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1065 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1068 2015-11-24 Pedro Alves <palves@redhat.com>
1071 * gdb.base/display.exp: Expect displays to be sorted in ascending
1072 order. Use multi_line.
1073 * gdb.base/solib-display.exp: Likewise.
1075 2015-11-24 Pedro Alves <palves@redhat.com>
1078 * gdb.base/display.exp: Expect displays to be sorted in ascending
1079 order. Use multi_line.
1080 * gdb.base/solib-display.exp: Likewise.
1082 2015-11-24 Pedro Alves <palves@redhat.com>
1085 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1086 threads in ascending order.
1087 * gdb.base/foll-fork.exp: Likewise.
1088 * gdb.base/foll-vfork.exp: Likewise.
1089 * gdb.base/multi-forks.exp: Likewise.
1090 * gdb.mi/mi-nonstop.exp: Likewise.
1091 * gdb.mi/mi-nsintrall.exp: Likewise.
1092 * gdb.multi/base.exp: Likewise.
1093 * gdb.multi/multi-arch.exp: Likewise.
1094 * gdb.python/py-inferior.exp: Likewise.
1095 * gdb.threads/break-while-running.exp: Likewise.
1096 * gdb.threads/execl.exp: Likewise.
1097 * gdb.threads/gcore-thread.exp: Likewise.
1098 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1099 * gdb.threads/kill.exp: Likewise.
1100 * gdb.threads/linux-dp.exp: Likewise.
1101 * gdb.threads/multiple-step-overs.exp: Likewise.
1102 * gdb.threads/next-bp-other-thread.exp: Likewise.
1103 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1104 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1105 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1106 * gdb.threads/thread-find.exp: Likewise.
1107 * gdb.threads/tls.exp: Likewise.
1108 * lib/mi-support.exp (mi_reverse_list): Delete.
1109 (mi_check_thread_states): No longer reverse list.
1111 2015-11-24 Pedro Alves <palves@redhat.com>
1113 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1116 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1118 * gdb.trace/actions.c: Include trace-common.h.
1119 (main): Add a location for a fast tracepoint.
1120 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1121 the normal tracepoints.
1122 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1124 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1126 * save-trace.exp: Factor out code to these...
1127 (gdb_save_tracepoints): New.
1128 (gdb_load_tracepoints): New.
1129 (do_save_load_test): New.
1131 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1133 * gdb.base/asmlabel.exp: New test.
1134 * gdb.base/asmlabel.c: New test case.
1136 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1138 * gdb.base/wrong_frame_bt_full-main.c: New file.
1139 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1140 * gdb.base/wrong_frame_bt_full.exp: New file.
1142 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1144 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1146 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1148 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1149 pstate register when comparing registers values in
1150 sparc64-*-linux-gnu targets to avoid spurious differences.
1152 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1154 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1156 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1158 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1159 as type argument to gdb_compile.
1160 * gdb.base/nested-subp2.exp: Likewise.
1161 * gdb.base/nested-subp3.exp: Likewise.
1163 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1165 * lib/dwarf.exp (_note): Fix left shift of negative value.
1166 * gdb.trace/trace-condition.exp: Likewise.
1168 2015-11-13 Yao Qi <yao.qi@linaro.org>
1170 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1171 comments about d10v.
1172 (test_scalar_returns): Likewise.
1173 * gdb.base/d10v.ld: Remove.
1174 * gdb.base/overlays.exp: Remove the target triplet checking for
1176 * gdb.base/structs.exp (test_struct_returns): Remove the
1177 comments about d10v.
1178 (test_struct_calls): Likewise.
1180 2015-11-13 Yao Qi <yao.qi@linaro.org>
1182 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1183 * gdb.base/gnu_vector.c: Don't include stdio.h.
1184 (main): Don't print res and call add_some_intvecs.
1186 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1188 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1191 (func4): Use FAST_TRACEPOINT_LABEL.
1192 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1195 (thread_function): Use FAST_TRACEPOINT_LABEL.
1196 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1198 (marker): Use FAST_TRACEPOINT_LABEL.
1199 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1200 (pendfunc1): Remove.
1201 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1202 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1204 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1205 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1208 (marker): Use FAST_TRACEPOINT_LABEL.
1209 * gdb.trace/trace-common.h: New header.
1210 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1213 (marker): Use FAST_TRACEPOINT_LABEL.
1214 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1216 (thread_function): Use FAST_TRACEPOINT_LABEL.
1218 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1220 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1222 * gdb.trace/change-loc.exp: Use global pcreg definition.
1223 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1224 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1226 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1227 * gdb.trace/pending.exp: Likewise.
1228 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1229 * gdb.trace/trace-break.exp: Likewise.
1230 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1232 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1233 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1235 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1237 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1239 * gdb.ada/fin_fun_out: New testcase.
1241 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1243 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1244 value associated with DW_AT_byte_size.
1245 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1246 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1249 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1251 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1252 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1254 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1255 gdb.dwarf2/dw2-canonicalize-type.exp,
1256 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1257 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1258 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1259 provided by gdb_target_symbol_prefix_flags_asm.
1260 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1261 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1262 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1263 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1264 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1265 macros where needed). Use this macro for symbols which require
1266 the prefix provided by SYMBOL_PREFIX.
1268 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1270 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1272 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1273 representing expressions, of more than one list element.
1274 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1275 to prepend linker symbol prefix to f.
1276 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1277 table_1 and table_2.
1278 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1279 Likewise, for f and g.
1280 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1282 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1284 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1285 table_1_ptr and table_2_ptr.
1287 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1288 Joel Brobecker <brobecker@adacore.com>
1290 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1292 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1294 * gdb.reverse/s390-mvcle.c: New test.
1295 * gdb.reverse/s390-mvcle.exp: New file.
1296 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1298 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1300 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1302 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1304 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1306 * gdb.reverse/getresuid-reverse.exp: Likewise.
1307 * gdb.reverse/pipe-reverse.exp: Likewise.
1308 * gdb.reverse/readv-reverse.exp: Likewise.
1309 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1310 * gdb.reverse/time-reverse.exp: Likewise.
1311 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1313 2015-10-30 Yao Qi <yao.qi@linaro.org>
1315 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1316 (empty_cycle): Remove.
1317 (main): Don't call empty_cycle. Don't use watch_count_done.
1318 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1319 empty_cycle. Rewrite the code counting HW watchpoints.
1321 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1323 * gdb.reverse/fstatat-reverse.c: New test.
1324 * gdb.reverse/fstatat-reverse.exp: New file.
1325 * gdb.reverse/getresuid-reverse.c: New test.
1326 * gdb.reverse/getresuid-reverse.exp: New file.
1327 * gdb.reverse/pipe-reverse.c: New test.
1328 * gdb.reverse/pipe-reverse.exp: New file.
1329 * gdb.reverse/readv-reverse.c: New test.
1330 * gdb.reverse/readv-reverse.exp: New file.
1331 * gdb.reverse/recvmsg-reverse.c: New test.
1332 * gdb.reverse/recvmsg-reverse.exp: New file.
1333 * gdb.reverse/time-reverse.c: New test.
1334 * gdb.reverse/time-reverse.exp: New file.
1335 * gdb.reverse/waitpid-reverse.c: New test.
1336 * gdb.reverse/waitpid-reverse.exp: New file.
1338 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1340 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1342 2015-10-26 Doug Evans <dje@google.com>
1345 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1346 * gdb.dwarf2/bad-regnum.c: New file.
1347 * gdb.dwarf2/bad-regnum.exp: New file.
1349 2015-10-26 Doug Evans <dje@google.com>
1352 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1355 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1357 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1358 for a change by "Mention language in compile error message".
1360 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1363 * gdb.python/py-type.c (C::a_method): New.
1364 (C::a_const_method): New.
1365 (C::a_static_method): New.
1367 * gdb.python/py-type.exp (test_fields): Test getting fields
1368 from function and method.
1370 2015-10-21 Keven Boell <keven.boell@intel.com>
1372 * gdb.fortran/vla-alloc-assoc.exp: New file.
1373 * gdb.fortran/vla-datatypes.exp: New file.
1374 * gdb.fortran/vla-datatypes.f90: New file.
1375 * gdb.fortran/vla-history.exp: New file.
1376 * gdb.fortran/vla-ptype-sub.exp: New file.
1377 * gdb.fortran/vla-ptype.exp: New file.
1378 * gdb.fortran/vla-sizeof.exp: New file.
1379 * gdb.fortran/vla-sub.f90: New file.
1380 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1381 * gdb.fortran/vla-value-sub-finish.exp: New file.
1382 * gdb.fortran/vla-value-sub.exp: New file.
1383 * gdb.fortran/vla-value.exp: New file.
1384 * gdb.fortran/vla-ptr-info.exp: New file.
1385 * gdb.mi/mi-vla-fortran.exp: New file.
1386 * gdb.mi/vla.f90: New file.
1388 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1390 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1391 of hardwired timeout value.
1393 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1394 Pedro Alves <palves@redhat.com>
1396 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1397 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1399 2015-10-19 Josh Stone <jistone@redhat.com>
1401 * gdb.base/catch-syscall.c: Include <sched.h>.
1402 (unknown_syscall): New variable.
1403 (main): Trigger a vfork and an unknown syscall.
1404 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1405 (unknown_syscall_number): Likewise.
1406 (check_call_to_syscall): Accept an optional syscall pattern.
1407 (check_return_from_syscall): Likewise.
1408 (check_continue): Likewise.
1409 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1410 (test_catch_syscall_skipping_return): New test toggling off 'catch
1411 syscall' to step over the syscall return, then toggling back on.
1412 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1413 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1414 (do_syscall_tests): Call test_catch_syscall_without_args and
1415 test_catch_syscall_mid_vfork.
1416 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1417 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1419 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1421 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1422 print g_vE): Add new pass patterns.
1423 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1424 print various symbol names for vptr fields.
1426 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1428 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1431 2015-10-12 Yao Qi <yao.qi@linaro.org>
1433 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1435 2015-10-12 Yao Qi <yao.qi@linaro.org>
1437 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1438 is aarch64*-*-linux*.
1440 2015-10-12 Yao Qi <yao.qi@linaro.org>
1442 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1443 (can_relocate_bcond_true): ... it.
1444 (can_relocate_bcond_false): New function.
1446 (can_relocate_bl): Likewise.
1447 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1450 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1452 * gdb.base/nested-addr.c: New file.
1453 * gdb.base/nested-addr.exp: New testcase.
1455 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1457 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1458 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1459 its output. Ignore the output of "record goto begin" and instead
1460 check that GDB is replaying.
1462 2015-10-09 Pedro Alves <palves@redhat.com>
1464 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1465 (top level): Use it in the run with no args test.
1467 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1469 * gdb.dlang/properties.exp: New file.
1471 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1473 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1474 whether or not address 0x1000 is mapped on the target.
1476 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1478 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1481 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1483 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1484 instruction-history test.
1486 2015-09-28 Doug Evans <dje@google.com>
1488 * gdb.base/gcore.c (array_func): Add reference to static_array.
1490 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1492 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1495 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1497 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1498 short or char as base type.
1500 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1502 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1503 to allow any size enum.
1505 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1507 * gdb.ada/array_ptr_renaming.exp: New testcase.
1508 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1509 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1511 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1513 * gdb.trace/ftrace-lock.c: New file.
1514 * gdb.trace/ftrace-lock.exp: New file.
1516 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1518 * gdb.arch/insn-reloc.c: New file.
1519 * gdb.arch/ftrace-insn-reloc.exp: New file.
1521 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1523 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1525 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1526 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1527 * gdb.trace/range-stepping.c: Likewise.
1528 * gdb.trace/trace-break.c: Likewise.
1529 * gdb.trace/trace-mt.c (thread_function): Likewise.
1530 * gdb.trace/ftrace.c (marker): Likewise.
1531 * gdb.trace/trace-condition.c (marker): Likewise.
1532 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1533 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1536 2015-09-18 Doug Evans <xdje42@gmail.com>
1538 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1539 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1541 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1543 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1546 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1548 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1549 the pending breakpoint. Remove timeout override for "Run till
1550 MI pending breakpoint on pendfunc3 on thread 2" test.
1552 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1554 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1557 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1559 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1560 in breakpoint filename pattern.
1562 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1564 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1566 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1568 * gdb.linespec/explicit.exp: Check for readline support for
1569 tab-completion tests. Fix obvious typo.
1571 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1573 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1576 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1578 * gdb.btrace/non-stop.c: New.
1579 * gdb.btrace/non-stop.exp: New.
1581 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1582 Yao Qi <yao.qi@linaro.org>
1584 * gdb.trace/trace-condition.c: New file.
1585 * gdb.trace/trace-condition.exp: New file.
1587 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1589 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1590 for testing bytecode compilation.
1592 2015-09-16 Pedro Alves <palves@redhat.com>
1593 Sandra Loosemore <sandra@codesourcery.com>
1595 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1596 (SECONDS): Redefine.
1597 (main): Call pthread_kill and alarm early.
1598 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1600 (test): If the target can't hardware step and doesn't support
1601 displaced stepping, increase the timeout.
1603 2015-09-16 Pedro Alves <palves@redhat.com>
1605 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1606 (enable_debug): New procedures.
1607 (test): Use them. Bail out if waiting for threads fails.
1608 (top level): Bail out if a test fails.
1610 2015-09-16 Yao Qi <yao.qi@linaro.org>
1612 * gdb.asm/asm-source.exp: Set asm-arch for
1613 aarch64*-*-* target.
1614 * gdb.asm/aarch64.inc: New file.
1616 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1618 * gdb.ada/array_of_variable_length.exp: New testcase.
1619 * gdb.ada/array_of_variable_length/foo.adb: New file.
1620 * gdb.ada/array_of_variable_length/pck.adb: New file.
1621 * gdb.ada/array_of_variable_length/pck.ads: New file.
1623 2015-09-15 Doug Evans <dje@google.com>
1625 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1626 of function static local variable.
1628 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1630 * gdb.threads/tls-so_extern.exp: New test file.
1631 * gdb.threads/tls-so_extern.c: New test file.
1632 * gdb.threads/tls-so_extern_main.c: New test file.
1634 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1636 * gdb.opt/solib-intra-step-lib.c: New file.
1637 * gdb.opt/solib-intra-step-main.c: New file.
1638 * gdb.opt/solib-intra-step.exp: New file.
1640 2015-09-15 Pedro Alves <palves@redhat.com>
1642 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1643 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1645 2015-09-14 Pedro Alves <palves@redhat.com>
1647 * gdb.base/hook-stop-continue.c: Delete.
1648 * gdb.base/hook-stop-continue.exp: Delete.
1649 * gdb.base/hook-stop-frame.c: Delete.
1650 * gdb.base/hook-stop-frame.exp: Delete.
1651 * gdb.base/hook-stop.c: New file.
1652 * gdb.base/hook-stop.exp: New file.
1654 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1656 * gdb.ada/access_to_packed_array.exp: New testcase.
1657 * gdb.ada/access_to_packed_array/foo.adb: New file.
1658 * gdb.ada/access_to_packed_array/pack.adb: New file.
1659 * gdb.ada/access_to_packed_array/pack.ads: New file.
1661 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1663 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1666 2015-09-11 Don Breazeal <donb@codesourcery.com>
1668 * gdb.base/foll-exec.c: Add copyright header. Fix
1670 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1671 (do_exec_tests): Use clean_restart in place of zap_session,
1672 and for test initialization. Fix formatting issues. Use
1673 fail in place of perror.
1674 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1675 an expect statement to match an expression with output from
1676 the program under debug.
1677 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1678 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1679 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1680 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1681 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1683 2015-09-09 Doug Evans <dje@google.com>
1685 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1687 2015-09-09 Doug Evans <dje@google.com>
1689 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1691 2015-09-09 Doug Evans <dje@google.com>
1693 * gdb.base/savedregs.exp: Fix typo.
1695 2015-09-09 Pedro Alves <palves@redhat.com>
1697 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1699 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1701 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1702 command actually switches threads. Give up on remaining
1703 tests if target fails to stop at breakpoint.
1705 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1707 * gdb.ada/funcall_char.exp: New testcase.
1708 * gdb.ada/funcall_char/foo.adb: New file.
1710 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1712 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1713 expected outputs. Add two testcases for completing ambiguous
1715 * gdb.ada/complete/aux_pck.adb: New file.
1716 * gdb.ada/complete/aux_pck.ads: New file.
1717 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1718 Ambiguous_Func functions.
1719 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1720 * gdb.ada/complete/pck.adb: Likewise.
1722 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1724 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1725 failures to run the test program under GDB.
1727 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1729 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1732 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1734 * gdb.base/run-after-attach.exp: New test file.
1735 * gdb.base/run-after-attach.c: New test file.
1737 2015-08-26 Don Breazeal <donb@codesourcery.com>
1739 * gdb.base/foll-exec-2.c: New test program.
1740 * gdb.base/foll-exec-2.exp: New test.
1742 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1744 * gdb.base/nested-subp1.exp: New file.
1745 * gdb.base/nested-subp1.c: New file.
1746 * gdb.base/nested-subp2.exp: New file.
1747 * gdb.base/nested-subp2.c: New file.
1748 * gdb.base/nested-subp3.exp: New file.
1749 * gdb.base/nested-subp3.c: New file.
1751 2015-08-24 Pedro Alves <palves@redhat.com>
1753 * gdb.server/connect-without-multi-process.c: New file.
1754 * gdb.server/connect-without-multi-process.exp: New file.
1756 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1758 * gdb.opt/inline-markers.c: Make z int.
1760 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1762 * gdb.opt/inline-markers.c: Make z volatile.
1764 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1766 * gdb.opt/inline-bt.c: New volatile global z.
1767 * gdb.opt/inline-cmds.c: Likewise.
1768 * gdb.opt/inline-locals.c: Likewise.
1769 * gdb.opt/inline-markers.c: New extern global z.
1771 (inline_fn): Likewise.
1773 2015-08-24 Pedro Alves <palves@redhat.com>
1775 * config/m32r-stub.exp: Remove file.
1776 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1777 * gdb.base/call-rt-st.exp: Likewise.
1778 * gdb.base/call-strs.exp: Likewise.
1779 * gdb.base/default.exp: Remove references to h8300-*-hms and
1781 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1783 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1785 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1786 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1787 and "return" use KFAIL when GDB can not read/write the vector
1790 2015-08-21 Gary Benson <gbenson@redhat.com>
1792 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1794 2015-08-20 Pedro Alves <palves@redhat.com>
1796 * gdb.server/solib-list.exp: No longer expect an interior stop in
1799 2015-08-20 Pedro Alves <palves@redhat.com>
1801 * gdb.server/connect-stopped-target.c: New file.
1802 * gdb.server/connect-stopped-target.exp: New file.
1804 2015-08-20 Pedro Alves <palves@redhat.com>
1806 * gdb.dwarf2/comp-unit-lang.exp: New file.
1807 * gdb.dwarf2/comp-unit-lang.c: New file.
1809 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1811 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1812 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1814 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1816 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1817 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1819 2015-08-18 Doug Evans <dje@google.com>
1820 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1822 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1823 skip_python_tests. New arg prompt_regexp.
1824 (skip_python_tests): New function.
1825 * lib/mi-support.exp (mi_skip_python_tests): New function.
1826 * gdb.python/py-mi-objfile-gdb.py: New file.
1827 * gdb.python/py-mi-objfile.c: New file.
1828 * gdb.python/py-mi-objfile.exp: New file.
1830 2015-08-17 Keith Seitz <keiths@redhat.com>
1832 * gdb.linespec/explicit.exp: Move strace test from here ...
1833 * gdb.trace/strace.exp: ... to here.
1835 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1837 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1838 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1840 2015-08-14 Doug Evans <xdje42@gmail.com>
1842 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1843 inferior before selecting a new file.
1845 2015-08-14 Doug Evans <xdje42@gmail.com>
1847 * gdb.mi/mi-disassemble.exp: Update.
1848 * gdb.base/disasm-optim.S: New file.
1849 * gdb.base/disasm-optim.c: New file.
1850 * gdb.base/disasm-optim.h: New file.
1851 * gdb.base/disasm-optim.exp: New file.
1853 2015-08-14 Keith Seitz <keiths@redhat.com>
1855 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1858 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1860 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1862 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1864 * gdb.ada/fun_renaming.exp: New testcase.
1865 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1866 * gdb.ada/fun_renaming/pack.adb: New file.
1867 * gdb.ada/fun_renaming/pack.ads: New file.
1869 2015-08-12 Keith Seitz <keiths@redhat.com>
1871 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1872 gdb_get_line_number.
1874 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1876 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1877 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1878 gdb.base/dso2dso.exp: New files.
1880 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1881 Pedro Alves <palves@redhat.com>
1882 Keith Seitz <keiths@redhat.com>
1884 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1887 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1889 * gdb.base/gdbhistsize-history.exp
1890 (test_histsize_history_setting): Use save_vars.
1891 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1893 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1894 * gdb.base/readline.exp: Use save_vars.
1896 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1898 * lib/gdb.exp (save_vars): New proc.
1900 2015-08-11 Keith Seitz <keiths@redhat.com>
1902 * gdb.base/help.exp: Update help_breakpoint_text.
1904 2015-08-11 Keith Seitz <keiths@redhat.com>
1906 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1907 (at toplevel): Call test_explicit_breakpoints.
1908 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1910 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1911 breakpoint conditions, "-cond".
1913 2015-08-11 Keith Seitz <keiths@redhat.com>
1915 * gdb.linespec/3explicit.c: New file.
1916 * gdb.linespec/cpexplicit.cc: New file.
1917 * gdb.linespec/cpexplicit.exp: New file.
1918 * gdb.linespec/explicit.c: New file.
1919 * gdb.linespec/explicit.exp: New file.
1920 * gdb.linespec/explicit2.c: New file.
1921 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1922 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1923 before using in the matching pattern.
1924 Clarify that `prefix' is a regular expression.
1926 2015-08-11 Keith Seitz <keiths@redhat.com>
1928 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1930 Add tests for missing ",FMT" and ",".
1932 2015-08-10 Doug Evans <dje@google.com>
1933 Keith Seitz <keiths@redhat.com>
1936 * gdb.base/completion.exp: Add location completer tests.
1938 2015-08-07 Pedro Alves <palves@redhat.com>
1940 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1942 (top level): Run do_test with and without displaced stepping.
1944 2015-08-07 Pedro Alves <palves@redhat.com>
1946 * gdb.base/valgrind-disp-step.c: New file.
1947 * gdb.base/valgrind-disp-step.exp: New file.
1949 2015-08-07 Pedro Alves <palves@redhat.com>
1951 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1953 (main): Add alarm. Run an infinite loop instead of calling
1955 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1957 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1959 (main): Add alarm. Run an infinite loop instead of calling
1961 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1964 2015-08-07 Pedro Alves <palves@redhat.com>
1966 * gdb.base/checkpoint-ns.exp: New file.
1967 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1970 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1972 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1973 * gdb.btrace/instruction_history.exp: Update.
1974 * gdb.btrace/tsx.exp: New.
1975 * gdb.btrace/tsx.c: New.
1977 2015-08-06 Pedro Alves <palves@redhat.com>
1979 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1981 * gdb.reverse/until-precsave.exp: Bump timeouts.
1983 2015-08-06 Pedro Alves <palves@redhat.com>
1985 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1987 2015-08-06 Pedro Alves <palves@redhat.com>
1990 * gdb.threads/process-dies-while-handling-bp.c: New file.
1991 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1993 2015-08-06 Pedro Alves <palves@redhat.com>
1995 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1996 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1998 2015-08-05 Pedro Alves <palves@redhat.com>
2000 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2001 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2003 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2005 * gdb.base/bp-permanent.exp: Report test as unsupported if
2006 the target cannot stop at the permanent breakpoint.
2008 2015-08-03 Doug Evans <dje@google.com>
2010 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2013 2015-08-03 Doug Evans <dje@google.com>
2015 * Makefile.in (workers/%.worker, build-perf): New rule.
2016 (GDB_PERFTEST_MODE): New variable.
2017 (check-perf): Use it.
2018 (clean): Clean up gdb.perf parallel build subdirs.
2019 * lib/build-piece.exp: New file.
2020 * lib/gdb.exp (make_gdb_parallel_path): New function
2021 (standard_output_file, standard_temp_file): Call it.
2022 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2024 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2026 2015-08-03 Doug Evans <dje@google.com>
2028 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2029 (LOG_FILE_NAME): New global.
2030 (TextReporter.__init__): Initialize self.txt_sum.
2031 (TextReporter.report): Add support for multiple data-points.
2032 Move report to perftest.sum, put raw data in perftest.log.
2033 (TextReporter.start): Open sum and log files.
2034 (TextReporter.end): Close sum and log files.
2035 * gdb.perf/lib/perftest/testresult.py
2036 (SingleStatisticTestResult.record): Handle multiple data-points.
2038 2015-07-31 Pedro Alves <palves@redhat.com>
2040 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2041 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2042 kill_wait_spawned_process instead of explicit "kill -9".
2043 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2044 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2045 kill_wait_spawned_process.
2046 * gdb.base/attach-twice.exp: Likewise.
2047 * gdb.base/attach.exp: Likewise.
2048 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2050 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2051 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2052 kill_wait_spawned_process.
2053 * gdb.base/valgrind-infcall.exp: Likewise.
2054 * gdb.multi/multi-attach.exp: Likewise.
2055 * gdb.python/py-prompt.exp: Likewise.
2056 * gdb.python/py-sync-interp.exp: Likewise.
2057 * gdb.server/ext-attach.exp: Likewise.
2058 * gdb.threads/attach-into-signal.exp (corefunc): Use
2059 spawn_wait_for_attach, spawn_id_get_pid and
2060 kill_wait_spawned_process.
2061 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2062 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2063 spawn_id_get_pid and kill_wait_spawned_process.
2064 * gdb.threads/attach-stopped.exp (corefunc): Use
2065 spawn_wait_for_attach, spawn_id_get_pid and
2066 kill_wait_spawned_process.
2067 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2068 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2069 kill_wait_spawned_process instead of explicit "kill -9".
2070 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2071 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2072 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2073 processes. Don't map cygwin/windows pids here. Now returns a
2076 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2078 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2079 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2082 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2084 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2086 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2089 2014-05-21 Mark Wielaard <mjw@redhat.com>
2091 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2093 2015-07-30 Pedro Alves <palves@redhat.com>
2095 * linux-low.c (handle_extended_wait): Set the child's last
2096 reported status to TARGET_WAITKIND_STOPPED.
2098 2015-07-30 Pedro Alves <palves@redhat.com>
2101 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2102 only shows inferior 1.
2104 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2105 Pedro Alves <palves@redhat.com>
2108 * gdb.threads/fork-plus-threads.c: New file.
2109 * gdb.threads/fork-plus-threads.exp: New file.
2111 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2113 * gdb.base/batch-preserve-term-settings.exp
2114 (test_terminal_settings_preserved_after_cli_exit): Use
2117 2015-07-29 Pedro Alves <palves@redhat.com>
2118 Don Breazeal <donb@codesourcery.com>
2120 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2121 output from both inferior_spawn_id and gdb_spawn_id.
2123 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2125 * gdb.threads/attach-into-signal.exp (corefunc): Use
2126 with_test_prefix on nested loops, uniquefying the test messages.
2128 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2130 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2133 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2135 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2137 (test_terminal_settings_preserved_after_sigterm): New test.
2139 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2141 * gdb.base/batch-preserve-term-settings.exp
2142 (test_terminal_settings_preserved_after_cli_exit): New test.
2144 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2146 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2147 manipulation of saved_gdbflags.
2148 (test_terminal_settings_preserved): Remove global declaration of
2149 the unused variable pagination_prompt. Remove manipulation of
2150 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2153 2015-07-29 Pedro Alves <palves@redhat.com>
2155 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2157 2015-07-29 Pedro Alves <palves@redhat.com>
2159 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2162 2015-07-29 Pedro Alves <palves@redhat.com>
2164 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2165 (main): Call gdb_unbuffer_output.
2166 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2167 (main): Call gdb_unbuffer_output.
2168 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2169 (main): Call gdb_unbuffer_output.
2170 * gdb.base/call-strs.exp: Adjust to step over the
2171 gdb_unbuffer_output call.
2172 * gdb.base/catch-gdb-caused-signals.c: Include
2173 "../lib/unbuffer_output.c".
2174 (main): Call gdb_unbuffer_output.
2175 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2176 (main): Call gdb_unbuffer_output.
2177 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2178 (main): Call gdb_unbuffer_output.
2179 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2180 (main): Call gdb_unbuffer_output.
2181 * gdb.base/shlib-call.exp: Adjust to step over the
2182 gdb_unbuffer_output call.
2183 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2184 (main): Call gdb_unbuffer_output.
2185 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2186 (main): Call gdb_unbuffer_output.
2187 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2188 (main): Rename to ...
2190 (main): Reimplement.
2191 * gdb.base/varargs.exp: Run to test instead of to main.
2192 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2193 (main): Call gdb_unbuffer_output.
2195 2015-07-29 Pedro Alves <palves@redhat.com>
2197 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2198 factore out from mi_continue_dprintf. For call-style dprintfs,
2199 expect dprintf output out of $inferior_spawn_id.
2200 (mi_continue_dprintf): Use mi_expect_dprintf.
2201 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2202 (main): Call gdb_unbuffer_output.
2204 2015-07-29 Pedro Alves <palves@redhat.com>
2206 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2207 (default_mi_gdb_start): Set inferior_spawn_id instead of
2208 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2210 (mi_gdb_test): Always expect inferior output from both
2211 $inferior_spawn_id and $gdb_spawn_id.
2213 2015-07-29 Pedro Alves <palves@redhat.com>
2215 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2216 send_inferior and $inferior_spawn_id.
2218 2015-07-29 Pedro Alves <palves@redhat.com>
2220 * gdb.gdb/complaints.exp (test_initial_complaints)
2221 (test_serial_complaints, test_short_complaints): Use
2223 (test_empty_complaint): Handle $inferior_spawn_id !=
2226 2015-07-29 Pedro Alves <palves@redhat.com>
2228 * gdb.base/varargs.exp: Use gdb_test_stdio.
2230 2015-07-29 Pedro Alves <palves@redhat.com>
2232 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2234 2015-07-29 Pedro Alves <palves@redhat.com>
2236 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2238 2015-07-29 Pedro Alves <palves@redhat.com>
2240 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2241 parameter into two new parameters, "inf_result" and "gdb_result".
2242 Expect inferior output and gdb output from $inferior_spawn_id and
2243 $gdb_spawn_id, respectively. Adjust all callers.
2245 2015-07-29 Pedro Alves <palves@redhat.com>
2247 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2248 of gdb_test_sequence.
2250 2015-07-29 Pedro Alves <palves@redhat.com>
2252 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2253 (saw_spurious_output): Expect inferior output from
2254 $inferior_spawn_id. Use gdb_test_stdio.
2256 2015-07-29 Pedro Alves <palves@redhat.com>
2258 * gdb.base/dprintf.exp: Use standard_testfile. Change
2259 prepare_for_testing call.
2260 (srcfile): Don't set.
2261 (restart): New procedure.
2262 (test_dprintf): New procecure, use to continue over dprintfs.
2263 (test_call, test_agent): New procedures, tests moved here.
2264 Restart gdb and recreate dprintfs. Adjust expected output.
2266 2015-07-29 Pedro Alves <palves@redhat.com>
2268 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2270 2015-07-29 Pedro Alves <palves@redhat.com>
2272 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2274 2015-07-29 Pedro Alves <palves@redhat.com>
2276 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2279 2015-07-29 Pedro Alves <palves@redhat.com>
2281 * lib/gdb.exp (gdb_test_stdio): New procedure.
2283 2015-07-29 Pedro Alves <palves@redhat.com>
2285 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2287 2015-07-29 Pedro Alves <palves@redhat.com>
2289 * gdb.base/call-signal-resume.exp: Remove check for
2290 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2291 * gdb.base/unwindonsignal.exp: Likewise.
2292 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2293 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2295 2015-07-29 Pedro Alves <palves@redhat.com>
2297 * gdb.base/siginfo-addr.c (pass): New function.
2298 (handler): Call it iff si_addr is correct.
2299 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2300 Set a breakpoint at "pass" and continue to it.
2302 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2304 * gdb.python/py-objfile.exp: Make some tests have unique names.
2305 * gdb.python/py-pp-registration.exp: Likewise.
2307 2015-07-28 Pedro Alves <palves@redhat.com>
2309 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2311 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2313 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2315 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2317 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2319 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2321 * gdb.base/gdb-sigterm-2.exp: New test.
2323 2015-07-25 Doug Evans <xdje42@gmail.com>
2326 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2327 (workers/%.worker, build-perf): New rule.
2328 (GDB_PERFTEST_MODE): New variable.
2329 (check-perf): Use it.
2330 (clean): Clean up gdb.perf parallel build subdirs.
2331 * lib/build-piece.exp: New file.
2332 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2333 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2335 (standard_temp_file): Ditto.
2336 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2339 2015-07-24 Doug Evans <dje@google.com>
2341 * gdb.perf/lib/perftest/utils.py: New file.
2342 * gdb.perf/gm-hello.cc: New file.
2343 * gdb.perf/gm-pervasive-typedef.cc: New file.
2344 * gdb.perf/gm-pervasive-typedef.h: New file.
2345 * gdb.perf/gm-std.cc: New file.
2346 * gdb.perf/gm-std.h: New file.
2347 * gdb.perf/gm-use-cerr.cc: New file.
2348 * gdb.perf/gm-utils.h: New file.
2349 * gdb.perf/gmonster-null-lookup.py: New file.
2350 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2351 * gdb.perf/gmonster-print-cerr.py: New file.
2352 * gdb.perf/gmonster-ptype-string.py: New file.
2353 * gdb.perf/gmonster-runto-main.py: New file.
2354 * gdb.perf/gmonster-select-file.py: New file.
2355 * gdb.perf/gmonster1-null-lookup.exp: New file.
2356 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2357 * gdb.perf/gmonster1-print-cerr.exp: New file.
2358 * gdb.perf/gmonster1-ptype-string.exp: New file.
2359 * gdb.perf/gmonster1-runto-main.exp: New file.
2360 * gdb.perf/gmonster1-select-file.exp: New file.
2361 * gdb.perf/gmonster1.cc: New file.
2362 * gdb.perf/gmonster1.exp: New file.
2363 * gdb.perf/gmonster2-null-lookup.exp: New file.
2364 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2365 * gdb.perf/gmonster2-print-cerr.exp: New file.
2366 * gdb.perf/gmonster2-ptype-string.exp: New file.
2367 * gdb.perf/gmonster2-runto-main.exp: New file.
2368 * gdb.perf/gmonster2-select-file.exp: New file.
2369 * gdb.perf/gmonster2.cc: New file.
2370 * gdb.perf/gmonster2.exp: New file.
2372 2015-07-24 Doug Evans <dje@google.com>
2374 * gdb.perf/README: New file.
2375 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2376 * lib/gen-perf-test.exp: New file.
2378 2015-07-24 Doug Evans <dje@google.com>
2380 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2381 (PerfTest::startup): New function.
2382 (PerfTest::run): Return result of calling body.
2383 (PerfTest::assemble): Rewrite.
2384 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2385 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2386 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2387 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2388 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2390 2015-07-24 Doug Evans <dje@google.com>
2392 * lib/gdb.exp (clean_restart): Make executable optional.
2394 2015-07-24 Doug Evans <dje@google.com>
2396 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2397 compiler_info references.
2398 * gdb.cp/temargs.exp: Ditto.
2399 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2400 (get_compiler_info): Early exit if already computed. Set compiler_info
2401 to "unknown" if there was a problem.
2402 (test_compiler_info): Add function comment. Call get_compiler_info.
2404 2015-07-24 Doug Evans <dje@google.com>
2406 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2407 (workers/%.worker, build-perf): New rule.
2408 (GDB_PERFTEST_MODE): New variable.
2409 (check-perf): Use it.
2410 (clean): Clean up gdb.perf parallel build subdirs.
2411 * lib/build-piece.exp: New file.
2412 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2413 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2415 (standard_temp_file): Ditto.
2416 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2419 2015-07-24 Doug Evans <dje@google.com>
2421 * lib/future.exp (gdb_default_target_compile): New option
2423 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2426 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2428 * gdb.base/catch-syscall.exp: Call gdb_exit before
2431 2015-07-24 Pedro Alves <palves@redhat.com>
2433 * gdb.python/py-events.exp: Accept output between the stop event
2435 * gdb.python/py-evsignal.exp: Likewise.
2436 * gdb.python/py-evthreads.exp: Likewise.
2438 2015-07-24 Pedro Alves <palves@redhat.com>
2441 * gdb.threads/non-ldr-exit.c: New file.
2442 * gdb.threads/non-ldr-exit.exp: New file.
2444 2015-07-24 Yao Qi <yao.qi@linaro.org>
2446 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2449 2015-07-24 Yao Qi <yao.qi@linaro.org>
2451 * gdb.server/ext-restart.exp: New file.
2453 2015-07-24 Yao Qi <yao.qi@linaro.org>
2455 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2457 * gdb.server/ext-wrapper.exp: New file.
2459 2015-07-23 Doug Evans <dje@google.com>
2461 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2462 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2464 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2466 * gdb.ada/var_arr_typedef.exp: New testcase.
2467 * gdb.ada/var_arr_typedef/pack.adb: New file.
2468 * gdb.ada/var_arr_typedef/pack.ads: New file.
2469 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2471 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2473 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2475 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2477 * gdb.arch/i386-biarch-core.exp: Replace istarget
2478 by "complete set gnutarget". Remove expectation for the "core-file"
2481 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2483 Revert the previous commit:
2484 Tests for validate symbol file using build-id.
2486 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2488 Tests for validate symbol file using build-id.
2489 * gdb.base/solib-mismatch-lib.c: New file.
2490 * gdb.base/solib-mismatch-libmod.c: New file.
2491 * gdb.base/solib-mismatch.c: New file.
2492 * gdb.base/solib-mismatch.exp: New file.
2494 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2496 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2498 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2499 * gdb.base/siginfo.exp: Likewise.
2500 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2502 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2504 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2506 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2508 * gdb.trace/range-stepping.exp: Check that the target supports
2511 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2513 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2515 2015-07-14 Pedro Alves <palves@redhat.com>
2517 * gdb.base/killed-outside.exp: New file.
2518 * gdb.base/killed-outside.c: New file.
2520 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2522 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2524 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2526 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2528 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2529 infcall tests instead of setting up for KFAIL.
2531 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2533 * gdb.btrace/record_goto-step.exp: New.
2535 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2538 * gdb.compile/compile.c (struct struct_type): Add volatile to
2540 * gdb.compile/compile.exp
2541 (compile code struct_object.selffield = &struct_object): Skip further
2542 struct_object tests if this one xfails.
2544 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2547 * gdb.trace/ax.exp: Add test.
2549 2015-07-07 Yao Qi <yao.qi@linaro.org>
2551 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2552 instead of istarget "aarch64*-*-*".
2553 * gdb.arch/aarch64-fp.exp: Likewise.
2554 * gdb.base/float.exp: Likewise.
2555 * gdb.reverse/aarch64.exp: Likewise.
2556 * lib/gdb.exp (is_aarch64_target): New proc.
2558 2015-07-07 Yao Qi <yao.qi@linaro.org>
2560 * lib/gdb.exp (is_aarch32_target): New proc.
2561 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2562 instead of "istarget "arm*-*-*"".
2563 * gdb.arch/arm-disp-step.exp: Likewise.
2564 * gdb.arch/thumb-bx-pc.exp: Likewise.
2565 * gdb.arch/thumb-prologue.exp: Likewise.
2566 * gdb.arch/thumb-singlestep.exp: Likewise.
2567 * gdb.base/disp-step-syscall.exp: Likewise.
2568 * gdb.base/float.exp: Likewise.
2570 2015-07-07 Yao Qi <yao.qi@linaro.org>
2572 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2573 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2575 2015-07-07 Yao Qi <yao.qi@linaro.org>
2577 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2578 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2580 * gdb.multi/multi-arch.exp: Likewise.
2582 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2584 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2587 2015-07-07 Yao Qi <yao.qi@linaro.org>
2589 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2591 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2593 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2594 '[' and ']' characters.
2596 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2598 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2600 2015-06-29 Pedro Alves <palves@redhat.com>
2603 * gdb.threads/hand-call-new-thread.c: New file.
2604 * gdb.threads/hand-call-new-thread.c: New file.
2606 2015-06-26 Keith Seitz <keiths@redhat.com>
2607 Doug Evans <dje@google.com>
2610 * gdb.cp/var-tag-2.cc: New file.
2611 * gdb.cp/var-tag-3.cc: New file.
2612 * gdb.cp/var-tag-4.cc: New file.
2613 * gdb.cp/var-tag.cc: New file.
2614 * gdb.cp/var-tag.exp: New file.
2616 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2618 * gdb.base/history-duplicates.exp: New test.
2620 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2622 * gdb.base/completion.exp: Test the completion of the "focus"
2625 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2627 * gdb.arch/amd64-prologue-skip.S: New file.
2628 * gdb.arch/amd64-prologue-skip.exp: New file.
2630 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2632 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2633 is_address_zero_readable check.
2635 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2637 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2638 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2640 2015-06-24 Yao Qi <yao.qi@linaro.org>
2642 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2645 2015-06-24 Yao Qi <yao.qi@linaro.org>
2647 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2648 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2649 * gdb.base/siginfo-thread.exp: Likewise.
2651 2015-06-22 Yao Qi <yao.qi@linaro.org>
2653 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2655 2015-06-22 Yao Qi <yao.qi@linaro.org>
2657 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2659 (skip_hw_watchpoint_tests): Likewise.
2661 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2663 * gdb.base/gdbinit-history.exp: Test the interaction between
2664 setting GDBHISTSIZE and setting the history size via .gdbinit.
2666 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2669 * gdb.base/gdbhistsize-history.exp: New test.
2671 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2673 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2675 * gdb.base/readline.exp: Likewise.
2677 2015-06-17 Yao Qi <yao.qi@linaro.org>
2679 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2682 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2684 * gdb.base/gdbinit-history.exp: Add test case to check that
2685 an unlimited history file does not get truncated on exit.
2687 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2689 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2690 (VECTOR): New macro. Use it...
2691 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2692 ...for these typedefs.
2693 (int8, char1, int1, double1): New typedefs.
2694 (struct just_int2, struct two_int2): New structures.
2695 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2696 (add_structvecs, add_singlevecs): New functions.
2697 (main): Call add_some_intvecs twice.
2698 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2699 the compile and exit upon failure. Try compiling for the "native"
2700 architecture. Test inferior function calls with vector arguments
2701 and vector return value handling with "finish" and "return".
2703 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2705 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2706 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2708 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2710 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2712 PR breakpoints/16465
2713 * gdb.mi/mi-dprintf-pending.c: New file.
2714 * gdb.mi/mi-dprintf-pending.exp: New test.
2715 * gdb.mi/mi-dprintf-pendshr.c: New file.
2717 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2718 Mircea Gherzan <mircea.gherzan@intel.com>
2720 * gdb.arch/i386-mpx-map.c: New file.
2721 * gdb.arch/i386-mpx-map.exp: New File.
2723 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2725 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2726 * gdb.arch/i386-mpx.exp: Indentation fixed.
2728 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2730 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2731 function and improved indentation.
2732 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2733 gdb_test_multiple. Added additional tests to skip the test.
2735 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2737 * gdb.arch/i386-avx512.c: Change path in include file.
2738 * gdb.arch/i386-avx512.exp: Change include dir path
2740 * gdb.arch/i386-mpx.c: Change path in include file.
2741 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2744 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2746 * gdb.compile/compile-print.exp (compile print *vararray@3)
2747 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2749 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2751 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2752 (do not keep jit in memory): ... this.
2753 (expect 5): Change it to ...
2754 (expect no 5): ... this.
2756 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2759 * gdb.mi/mi-detach.exp: New file.
2761 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2764 * gdb.arch/amd64-tailcall-self.S: New file.
2765 * gdb.arch/amd64-tailcall-self.c: New file.
2766 * gdb.arch/amd64-tailcall-self.exp: New file.
2768 2015-05-28 Don Breazeal <donb@codesourcery.com>
2770 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2771 tests for remote targets by checking is_target_gdbserver.
2773 2015-05-27 Doug Evans <dje@google.com>
2775 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2776 * gdb.dwarf2/opaque-type-lookup.c: New file.
2777 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2779 2015-05-26 Doug Evans <dje@google.com>
2781 * gdb.cp/iostream.cc: New file.
2782 * gdb.cp/iostream.exp: New file.
2784 2015-05-26 Doug Evans <dje@google.com>
2786 * gdb.dwarf2/dw2-op-call.exp: Update.
2787 * gdb.dwarf2/dw4-sig-types.exp: Update.
2788 * gdb.dwarf2/implptr.exp: Update.
2789 * gdb.mi/mi-cmd-param-changed.exp: Update.
2791 2015-05-26 Doug Evans <dje@google.com>
2793 * gdb.python/py-lazy-string.c: New file.
2794 * gdb.python/py-lazy-string.exp: New file.
2795 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2796 (main): Update. Add estring3.
2797 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2798 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2800 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2801 Yao Qi <yao.qi@linaro.org>
2803 * gdb.reverse/aarch64.c: New.
2804 * gdb.reverse/aarch64.exp: New.
2806 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2808 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2809 (supports_reverse): Likewise.
2811 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2813 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2814 Use with_test_prefix.
2816 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2818 * gdb.base/completion.exp: Add test for completion of layout
2821 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2823 * lib/gdb.exp (skip_tui_tests): New proc.
2824 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2826 2015-05-19 Pedro Alves <palves@redhat.com>
2828 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2829 Save the whole env array instead of just HOME. Unset HISTSIZE in
2830 the environment while testing. Restore whole environment
2833 2015-05-16 Doug Evans <xdje42@gmail.com>
2835 * gdb.guile/scm-ports.c: New file.
2836 * gdb.guile/scm-ports.exp: Add memory port tests.
2838 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2840 * gdb.compile/compile-print.c: New file.
2841 * gdb.compile/compile-print.exp: New file.
2843 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2845 * gdb.compile/compile-ops.exp: Cast param to void.
2846 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2847 (compile code struct_object.selffield = &struct_object): Add xfail.
2849 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2851 * gdb.ada/arr_enum_with_gap: New testcase.
2853 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2855 * gdb.ada/byte_packed_arr: New testcase.
2857 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2859 * gdb.ada/pckd_neg: New testcase.
2861 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2864 * gdb.base/gdbinit-history.exp: New test.
2865 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2866 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2868 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2870 * gdb.python/py-xmethods.cc: Enhance test case.
2871 * gdb.python/py-xmethods.exp: New tests.
2872 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2874 (B_indexoper): Likewise.
2875 (global_dm_list) : Add new xmethod worker functions.
2877 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2879 * gdb.base/coredump-filter.exp: Correctly unset
2880 "coredump_var_addr" array.
2882 2015-05-08 Pedro Alves <palves@redhat.com>
2884 * gdb.server/non-existing-program.exp: Unset spawn_id.
2886 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2889 * gdb.python/py-xmethods.exp: Add tests.
2891 2015-05-08 Yao Qi <yao.qi@linaro.org>
2894 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2895 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2896 function set_coredump_filter, and remove remote_exec call.
2897 Remove argument ipid. Callers update.
2898 (top level): Don't get inferior's PID.
2900 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2902 * gdb.base/watch_thread_num.exp: Skip test on targets without
2905 2015-05-06 Pedro Alves <palves@redhat.com>
2908 * gdb.server/non-existing-program.exp: New file.
2910 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2912 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2914 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2916 * gdb.ada/out_of_line_in_inlined: New testcase.
2918 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2920 * gdb.ada/var_rec_arr: New testcase.
2922 2015-04-30 Yao Qi <yao.qi@linaro.org>
2924 * gdb.base/break-idempotent.exp: If
2925 skip_hw_watchpoint_multi_tests returns true, skip the tests
2926 on "rwatch" and "awatch".
2928 2015-04-30 Yao Qi <yao.qi@linaro.org>
2930 * gdb.base/relativedebug.exp: Invoke gdb command
2931 "info sharedlibrary", and if libc.so doesn't have debug info,
2934 2015-04-29 Doug Evans <dje@google.com>
2936 * gdb.python/py-xmethods.exp: Add ptype tests.
2937 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2938 get_result_type method.
2940 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2942 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2943 the target does not support hardware watchpoints.
2945 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2947 * gdb.base/break-always.exp: Abort testing if writing to memory
2950 2015-04-28 Doug Evans <dje@google.com>
2952 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2953 * gdb.python/py-pp-registration.exp: ... here. New file.
2954 * gdb.python/py-pp-registration.c: New file.
2955 * gdb.python/py-pp-registration.py: New file.
2957 2015-04-28 Doug Evans <dje@google.com>
2959 * gdb.python/py-bad-printers.c: New file.
2960 * gdb.python/py-bad-printers.py: New file.
2961 * gdb.python/py-bad-printers.exp: New file.
2963 2015-04-28 Sasha Smundak <asmundak@google.com>
2965 * gdb.python/py-type.exp: New test.
2967 2015-04-28 Andy Wingo <wingo@igalia.com>
2969 * gdb.python/py-parameter.exp:
2970 * gdb.guile/scm-parameter.exp: Escape the path that we are
2971 matching against, as it might contain characters that are special
2972 to regular expressions.
2974 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2976 * gdb.ada/rec_comp: New testcase.
2978 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2980 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2983 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2985 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2986 new tests for verilog output.
2988 2015-04-24 Yao Qi <yao.qi@linaro.org>
2990 * boards/remote-gdbserver-on-localhost.exp: New file.
2992 2015-04-23 Pedro Alves <palves@redhat.com>
2994 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2995 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2996 "end of file", remove $inferior_spawn_id from the indirect list.
2998 2015-04-23 Pedro Alves <palves@redhat.com>
3000 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3002 2015-04-23 Pedro Alves <palves@redhat.com>
3004 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3005 on $any_spawn_id instead of only on $gdb_spawn_id.
3007 2015-04-21 Pierre Muller <muller@sourceware.org>
3010 * lib/pascal.exp (gpc_compile): Add new option "class".
3011 (fpc_compile): Likewise.
3012 * gdb.pascal/case-insensitive-symbols.pas: New file.
3013 * gdb.pascal/case-insensitive-symbols.exp: New file.
3015 2015-04-20 Gary Benson <gbenson@redhat.com>
3017 * gdb.base/attach.exp: Fix three extended remote failures.
3019 2015-04-17 Gary Benson <gbenson@redhat.com>
3021 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3022 the main executable over the remote protocol.
3024 2015-04-16 Pedro Alves <palves@redhat.com>
3026 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3027 a new gdbserver if gdbserver_reconnect_p is set.
3029 2015-04-16 Pedro Alves <palves@redhat.com>
3031 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3032 is set, don't exit gdbserver.
3034 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3036 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3037 appropriate .insn, such that an older assembler can be used.
3038 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3039 the z/Architecture instruction set on 31-bit targets as well.
3041 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3043 * gdb.go/handcall.exp: Remove all logic related to the first
3044 breakpoint and rely on go_runto_main instead.
3045 * gdb.go/strings.exp: Likewise.
3046 * gdb.go/unsafe.exp: Likewise.
3047 * gdb.go/hello.exp: Likewise. Also rename the remaining
3048 breakpoint marker to "breakpoint 1".
3049 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3050 * gdb.go/strings.go: Likewise.
3051 * gdb.go/unsafe.go: Likewise.
3052 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3053 "set breakpoint 2 here" and rename the remaining breakpoint marker
3056 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3058 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3059 if itertools.imap is not present.
3060 * gdb.python/py-objfile.exp: Add parentheses.
3061 * gdb.python/py-type.exp: Same.
3062 * gdb.python/py-unwind-maint.py: Same.
3064 2015-04-15 Yao Qi <yao.qi@linaro.org>
3066 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3067 of ":$ptr_size" and set its form explicitly.
3069 2015-04-15 Pedro Alves <palves@redhat.com>
3070 Yao Qi <yao.qi@linaro.org>
3072 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3073 timeout by factor of 4.
3074 (test_regular_watch): Likewise.
3075 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3076 * gdb.reverse/sigall-reverse.exp: Likewise.
3077 * gdb.reverse/until-precsave.exp: Likewise.
3078 * lib/gdb.exp (with_timeout_factor): New proc.
3079 (gdb_expect): Move some code to ...
3080 (get_largest_timeout): ... here. New procedure.
3082 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3084 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3086 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3088 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3089 to write to the .text section.
3091 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3093 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3094 Handle the case of targets that do not provide PID information.
3096 2015-04-13 Yao Qi <yao.qi@linaro.org>
3098 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3099 and use expect instead of gdb_expect.
3101 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3103 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3104 "coredump_var_addr" to avoid naming conflict with other testcases.
3106 2015-04-10 Pedro Alves <palves@redhat.com>
3108 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3109 gdb_test_sequence and gdb_assert.
3111 2015-04-10 Pedro Alves <palves@redhat.com>
3113 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3114 test messages that don't include the breakpoint address.
3116 2015-04-10 Yao Qi <yao.qi@linaro.org>
3118 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3119 false for some offset and width combinations which aren't
3120 supported by linux kernel.
3122 2015-04-10 Pedro Alves <palves@redhat.com>
3124 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3125 procedure, factored out from ...
3126 (top level): ... here. Add "set displaced-stepping" testing axis.
3127 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3128 parameter "displaced". Use it.
3129 (top level): Use foreach and add "set displaced-stepping" testing
3132 2015-04-10 Pedro Alves <palves@redhat.com>
3134 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3136 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3137 both the address of the instruction that triggers the watchpoint
3138 and the address of the instruction immediately after, and use
3139 those addresses for the test. Fix comment.
3141 2015-04-10 Pedro Alves <palves@redhat.com>
3143 * gdb.base/sigstep.exp (breakpoint_to_handler)
3144 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3145 Test "backtrace" in handler.
3146 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3147 (top level): Add new "displaced" test axis to
3148 breakpoint_to_handler, breakpoint_to_handler_entry and
3149 breakpoint_over_handler.
3151 2015-04-10 Pedro Alves <palves@redhat.com>
3154 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3156 2015-04-10 Yao Qi <yao.qi@linaro.org>
3158 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3159 (test_add_rn_pc): New function.
3160 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3161 (top level): Invoke test_add_rn_pc.
3163 2015-04-10 Pedro Alves <palves@redhat.com>
3166 * gdb.base/step-over-no-symbols.exp: New file.
3168 2015-04-09 Andy Wingo <wingo@igalia.com>
3170 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3171 after the Python tests.
3173 2015-04-08 Keith Seitz <keiths@redhat.com>
3176 * gdb.python/py-completion.exp: New tests for completion.
3177 * gdb.python/py-completion.py (CompleteLimit1): New class.
3178 (CompleteLimit2): Likewise.
3179 (CompleteLimit3): Likewise.
3180 (CompleteLimit4): Likewise.
3181 (CompleteLimit5): Likewise.
3182 (CompleteLimit6): Likewise.
3183 (CompleteLimit7): Likewise.
3185 2015-04-08 Pedro Alves <palves@redhat.com>
3189 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3191 (main): Install it as SIGUSR1 handler.
3192 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3193 parameter. Always use "setup" as prefix. Toggle "set
3194 displaced-stepping" off/on depending on global. Don't switch to
3196 (top level): Add displaced stepping "off/on" test axis. Update
3197 "setup" calls. Wrap each subtest with with_test_prefix. Test
3198 continuing with a queued signal in each thread.
3200 2015-04-08 Pedro Alves <palves@redhat.com>
3202 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3203 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3204 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3205 Return early if running to main fails.
3206 * gdb.trace/while-stepping.exp: Likewise.
3208 2015-04-07 Pedro Alves <palves@redhat.com>
3210 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3211 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3212 interact with inferior program.
3214 2015-04-07 Pedro Alves <palves@redhat.com>
3216 * lib/gdb.exp (inferior_spawn_id): New global.
3217 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3218 spawn id after processing the user code.
3219 (default_gdb_start): Set inferior_spawn_id.
3220 (send_inferior): New procedure.
3221 * lib/gdbserver-support.exp (gdbserver_start): Set
3223 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3225 2015-04-07 Pedro Alves <palves@redhat.com>
3227 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3228 * lib/gdbserver-support.exp (gdbserver_start): Make
3229 $server_spawn_id global.
3230 (gdbserver_start): Don't wait for gdbserver's spawn id with
3232 (close_gdbserver): New procedure.
3233 (gdb_exit): Rename the default version and reimplement.
3235 2015-04-07 Pedro Alves <palves@redhat.com>
3237 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3238 append the substituted item, not the original item.
3240 2015-04-07 Pedro Alves <palves@redhat.com>
3242 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3245 2015-04-07 Pedro Alves <palves@redhat.com>
3247 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3248 output appearing once only.
3250 2015-04-07 Pedro Alves <palves@redhat.com>
3252 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3253 that doesn't expect anything. Return early if running to main
3256 2015-04-07 Yao Qi <yao.qi@linaro.org>
3258 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3259 (child_function): Call alarm.
3260 (main): Move call to alarm into the loop.
3261 * gdb.threads/non-stop-fair-events.exp: Build program with
3264 2015-04-06 Doug Evans <xdje42@gmail.com>
3266 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3267 Fix dest parameter to board_info.
3268 (fpc_compile): Ditto.
3269 (gdb_compile_pascal): Rename dest arg to destfile.
3271 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3273 * gdb.ada/funcall_ref.exp: New file.
3274 * gdb.ada/funcall_ref/foo.adb: New file.
3276 2015-04-02 Yao Qi <yao.qi@linaro.org>
3278 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3281 2015-04-02 Gary Benson <gbenson@redhat.com>
3283 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3285 2015-04-01 Sasha Smundak <asmundak@google.com>
3287 * gdb.python/py-unwind-maint.c: New file.
3288 * gdb.python/py-unwind-maint.exp: New test.
3289 * gdb.python/py-unwind-maint.py: New file.
3290 * gdb.python/py-unwind.c: New file.
3291 * gdb.python/py-unwind.exp: New test.
3292 * gdb.python/py-unwind.py: New test.
3294 2015-04-01 Pedro Alves <palves@redhat.com>
3296 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3297 to fail instead of non-existent $test.
3299 2015-04-01 Pedro Alves <palves@redhat.com>
3301 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3302 GDBFLAGS if not empty.
3304 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3306 * gdb.ada/complete.exp: Remove "multi_line".
3307 * gdb.ada/info_exc.exp: Remove "multi_line".
3308 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3309 * gdb.ada/ptype_field.exp: Remove "multi_line".
3310 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3311 * gdb.ada/tagged.exp: Remove "multi_line".
3312 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3314 * gdb.btrace/delta.exp: Likewise.
3315 * gdb.btrace/exception.exp: Likewise.
3316 * gdb.btrace/function_call_history.exp: Likewise.
3317 * gdb.btrace/instruction_history.exp: Likewise.
3318 * gdb.btrace/nohist.exp: Likewise.
3319 * gdb.btrace/record_goto.exp: Likewise.
3320 * gdb.btrace/segv.exp: Likewise.
3321 * gdb.btrace/stepi.exp: Likewise.
3322 * gdb.btrace/tailcall.exp: Likewise.
3323 * gdb.btrace/unknown_functions.exp: Likewise.
3324 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3325 * lib/gdb.exp: Add the "multi_line" helper.
3327 2015-04-01 Pedro Alves <palves@redhat.com>
3329 * gdb.threads/tid-reuse.c: New file.
3330 * gdb.threads/tid-reuse.exp: New file.
3332 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3335 * gdb.base/coredump-filter.c: New file.
3336 * gdb.base/coredump-filter.exp: Likewise.
3338 2015-03-27 Petr Machata <pmachata@redhat.com>
3340 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3341 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3342 (Dwarf::assemble): Initialize them.
3343 (Dwarf::lines): New function.
3345 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3347 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3348 SYMBOL_PREFIX for x86_64-*-cygwin.
3350 2015-03-26 Andy Wingo <wingo@igalia.com>
3353 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3354 const_value but not a location.
3355 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3356 location defined in non-main CUs are visible.
3358 2015-03-26 Yao Qi <yao.qi@linaro.org>
3361 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3362 Add a line number entry for the same line.
3363 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3364 Add a line number entry for the same line.
3366 2015-03-26 Yao Qi <yao.qi@linaro.org>
3368 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3370 (func): Likewise. Add .Lfunc_1 label.
3372 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3377 2015-03-26 Yao Qi <yao.qi@linaro.org>
3379 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3380 Call gdb_compile instead to compile each .s files without debug
3383 2015-03-26 Yao Qi <yao.qi@linaro.org>
3385 * gdb.base/savedregs.exp (process_saved_regs): Make
3386 "Saved registers:" optional in the pattern.
3388 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3390 * gdb.btrace/next.exp: Merged into step.exp.
3391 * gdb.btrace/finish.exp: Merged into step.exp.
3392 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3393 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3394 "record goto" and checking the exact replay position.
3395 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3396 check for "Recording format" in "info record" output.
3397 * gdb.btrace/record_goto.exp: Choose test file based on target.
3398 * gdb.btrace/x86-record_goto.S: Renamed into ...
3399 * gdb.btrace/x86_64-record_goto.S: ... this.
3400 * gdb.btrace/i686-record_goto.S: New.
3401 * gdb.btrace/x86-tailcall.S: Renamed into ...
3402 * gdb.btrace/x86_64-tailcall.S: ... this.
3403 * gdb.btrace/i686-tailcall.S: New.
3404 * gdb.btrace/x86-tailcall.c: Renamed into ...
3405 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3406 separate statements. Update test.
3407 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3408 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3409 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3410 * gdb.btrace/tailcall.exp: Choose test file based on target.
3411 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3413 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3415 * gdb.btrace/exception.exp: Increase BTS buffer size.
3417 2015-03-24 Pedro Alves <palves@redhat.com>
3419 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3421 2015-03-24 Pedro Alves <palves@redhat.com>
3423 * gdb.threads/schedlock.exp (test_step): No longer expect that
3424 "set scheduler-locking step" with "next" over a function call runs
3427 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3429 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3431 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3433 PR breakpoints/16466
3434 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3435 * gdb.mi/mi-pending.c (thread_func): New function.
3436 (int main): Add threading support required.
3437 * gdb.mi/mi-pending.exp: Add tests for this issue.
3438 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3439 (pendfunc2): Remove stdio dependency.
3440 * gdb.mi/mi-pendshr2.c: New file.
3442 2015-03-23 Keith Seitz <keiths@redhat.com>
3444 * gdb.linespec/keywords.c: New file.
3445 * gdb.linespec/keywords.exp: New file.
3447 2015-03-23 Keith Seitz <keiths@redhat.com>
3450 * gdb.dwarf2/staticvirtual.exp: New test.
3452 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3454 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3455 * README: Remove HP-UX and gdb.hp.
3457 * configure: Regenerate.
3458 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3459 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3460 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3461 gdb.hp/gdb.defects/Makefile.
3462 * gdb.hp/Makefile.in: File deleted.
3463 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3464 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3465 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3466 * gdb.hp/gdb.aCC/run.c: File deleted.
3467 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3468 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3469 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3470 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3471 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3472 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3473 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3474 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3475 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3476 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3477 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3478 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3479 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3480 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3481 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3482 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3483 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3484 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3485 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3486 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3487 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3488 * gdb.hp/gdb.compat/average.c: File deleted.
3489 * gdb.hp/gdb.compat/sum.c: File deleted.
3490 * gdb.hp/gdb.compat/xdb.c: File deleted.
3491 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3492 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3493 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3494 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3495 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3496 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3497 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3498 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3499 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3500 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3501 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3502 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3503 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3504 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3505 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3506 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3507 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3508 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3509 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3510 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3511 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3512 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3513 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3514 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3515 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3516 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3517 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3518 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3519 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3520 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3521 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3522 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3523 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3524 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3525 * gdb.hp/tools/odump: File deleted.
3527 2015-03-19 Pedro Alves <palves@redhat.com>
3529 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3530 (saw_thread_3): New globals.
3531 (top level): Increment them when an event for the corresponding
3533 (no thread starvation): New test.
3535 2015-03-19 Pedro Alves <palves@redhat.com>
3537 * gdb.threads/continue-pending-status.c: New file.
3538 * gdb.threads/continue-pending-status.exp: New file.
3540 2015-03-18 Pedro Alves <palves@redhat.com>
3542 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3543 Use gdb_is_target_remote instead of is_remote. Use
3544 gdb_test_multiple instead of gdb_expect. Exit early if
3545 gdb_test_multiple hits its internal matches. Tighten stepi tests
3546 expected output. Fail on exit with any signal, instead of just
3549 2015-03-18 Yao Qi <yao.qi@linaro.org>
3552 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3554 * gdb.base/catch-syscall.exp: Don't skip it on
3555 aarch64*-*-linux* target. Remove elements in all_syscalls.
3556 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3558 (setup_all_syscalls): New proc.
3560 2015-03-16 Yao Qi <yao.qi@linaro.org>
3562 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3563 (top level): Skip tests if valid_addr_p returns false for
3566 2015-03-11 Andy Wingo <wingo@igalia.com>
3568 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3570 2015-03-11 Yao Qi <yao.qi@linaro.org>
3572 * gdb.base/catch-syscall.exp: Fix typo in comments.
3574 2015-03-11 Yao Qi <yao.qi@linaro.org>
3576 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3578 2015-03-09 Pedro Alves <palves@redhat.com>
3580 * dg-extract-results.py: Delete.
3582 2015-03-09 Pedro Alves <palves@redhat.com>
3584 Merge dg-extract-results.sh from GCC upstream (r218843).
3586 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3587 * dg-extract-results.sh: Use --text with grep to avoid issues with
3588 binary files. Fall back to cat -v, if that doesn't work.
3590 2015-03-05 Pedro Alves <palves@redhat.com>
3592 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3594 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3596 * lib/mi-support.exp (mi_expect_interrupt): Accept
3597 alternative event for when in all-stop mode.
3599 2015-03-04 Pedro Alves <palves@redhat.com>
3601 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3603 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3605 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3607 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3609 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3610 regexps for GDB's current line display, accept a hex address
3611 preceding the line number.
3613 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3615 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3616 the 'arch1' variable for "s390*-linux*" targets.
3618 2015-03-04 Pedro Alves <palves@redhat.com>
3620 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3621 (main): Pass missing retval argument to pthread_join call.
3623 2015-03-02 Pedro Alves <palves@redhat.com>
3625 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3626 (top level): Call do_test with non-stop as well.
3628 2015-03-02 Pedro Alves <palves@redhat.com>
3630 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3633 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3635 * gdb.arch/s390-vregs.exp: New test.
3636 * gdb.arch/s390-vregs.S: New file.
3638 2015-02-27 Pedro Alves <palves@redhat.com>
3640 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3641 call to catch_command_errors.
3642 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3643 catch_command_errors.
3645 2015-02-27 Pedro Alves <palves@redhat.com>
3647 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3648 "true" for boolean result.
3649 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3652 2015-02-27 Pedro Alves <palves@redhat.com>
3654 * lib/unbuffer_output.c: New file.
3655 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3656 (main): Call gdb_unbuffer_output.
3658 2015-02-27 Yao Qi <yao.qi@linaro.org>
3660 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3663 2015-02-26 Doug Evans <dje@google.com>
3665 * gdb.cp/class2.cc (Dbase, D): New classes.
3666 (main): New local delta.
3667 * gdb.cp/class2.exp: Test printing delta.
3668 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3669 (dynbar): New global.
3670 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3672 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3674 * gdb.compile/compile-ifunc.c: New file.
3675 * gdb.compile/compile-ifunc.exp: New file.
3677 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3679 * gdb.base/structs.exp: Check for correct struct on finish.
3681 2015-02-26 Yao Qi <yao.qi@linaro.org>
3683 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3686 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3688 * gdb.arch/cordic.ko.bz2: New file.
3689 * gdb.arch/cordic.ko.debug.bz2: New file.
3690 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3692 2015-02-25 Yao Qi <yao.qi@linaro.org>
3694 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3695 aarch64*-*-* target.
3697 2015-02-23 Pedro Alves <palves@redhat.com>
3699 * lib/gdb.exp (delete_breakpoints): Rewrite using
3702 2015-02-23 Pedro Alves <palves@redhat.com>
3704 * gdb.base/info-os.c: Include stdlib.h.
3706 2015-02-22 Doug Evans <xdje42@gmail.com>
3709 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3710 is read after symbols have been re-read.
3711 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3712 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3714 2015-02-21 Doug Evans <dje@google.com>
3716 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3718 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3721 * gdb.arch/i386-biarch-core.core.bz2: New file.
3722 * gdb.arch/i386-biarch-core.exp: New file.
3724 2015-02-21 Pedro Alves <palves@redhat.com>
3726 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3729 2015-02-20 Pedro Alves <palves@redhat.com>
3731 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3734 2015-02-20 Pedro Alves <palves@redhat.com>
3736 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3738 2015-02-20 Pedro Alves <palves@redhat.com>
3740 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3741 clean_restart before gdb_target_supports_trace.
3743 2015-02-20 Pedro Alves <palves@redhat.com>
3746 * gdb.threads/clone-thread_db.c: New file.
3747 * gdb.threads/clone-thread_db.exp: New file.
3749 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3751 PR breakpoints/16812
3752 * gdb.base/catch-gdb-caused-signals.c: New file.
3753 * gdb.base/catch-gdb-caused-signals.exp: New file.
3755 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3757 * configure: Regenerated.
3758 * configure.ac: Use GDB_AC_TRANSFORM.
3759 * aclocal.m4: sinclude ../transform.m4.
3761 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3763 * lib/dtrace.exp: New file.
3764 * gdb.base/dtrace-probe.exp: Likewise.
3765 * gdb.base/dtrace-probe.d: Likewise.
3766 * gdb.base/dtrace-probe.c: Likewise.
3767 * lib/pdtrace.in: Likewise.
3768 * configure.ac: Output variables with the transformed names of
3769 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3770 * configure: Regenerated.
3772 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3774 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3775 expected message when trying to access $_probe_* convenience
3776 variables while not on a probe.
3778 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3780 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3782 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3784 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3785 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3787 2015-02-10 Doug Evans <xdje42@gmail.com>
3789 * lib/gdb.exp (gdb_load): Always return a result.
3791 2015-02-10 Pedro Alves <palves@redhat.com>
3793 * gdb.threads/signal-sigtrap.c: New file.
3794 * gdb.threads/signal-sigtrap.exp: New file.
3796 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3798 * gdb.trace/no-attach-trace.c: New file.
3799 * gdb.trace/no-attach-trace.exp: New file.
3801 2015-02-09 Mark Wielaard <mjw@redhat.com>
3803 * gdb.dwarf2/atomic.c: New file.
3804 * gdb.dwarf2/atomic-type.exp: Likewise.
3806 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3808 * gdb.btrace/buffer-size.exp: Update "info record" output.
3809 * gdb.btrace/delta.exp: Update "info record" output.
3810 * gdb.btrace/enable.exp: Update "info record" output.
3811 * gdb.btrace/finish.exp: Update "info record" output.
3812 * gdb.btrace/instruction_history.exp: Update "info record" output.
3813 * gdb.btrace/next.exp: Update "info record" output.
3814 * gdb.btrace/nexti.exp: Update "info record" output.
3815 * gdb.btrace/step.exp: Update "info record" output.
3816 * gdb.btrace/stepi.exp: Update "info record" output.
3817 * gdb.btrace/nohist.exp: Update "info record" output.
3819 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3821 * gdb.btrace/buffer-size: New.
3823 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3825 * gdb.btrace/delta.exp: Update "info record" output.
3826 * gdb.btrace/enable.exp: Update "info record" output.
3827 * gdb.btrace/finish.exp: Update "info record" output.
3828 * gdb.btrace/instruction_history.exp: Update "info record" output.
3829 * gdb.btrace/next.exp: Update "info record" output.
3830 * gdb.btrace/nexti.exp: Update "info record" output.
3831 * gdb.btrace/step.exp: Update "info record" output.
3832 * gdb.btrace/stepi.exp: Update "info record" output.
3833 * gdb.btrace/nohist.exp: Update "info record" output.
3835 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3838 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3840 2015-02-06 Pedro Alves <palves@redhat.com>
3842 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3844 (seconds_left, again): New globals.
3845 (main): Wait seconds_left in a 1-second sleep loop instead of
3846 sleeping 180 seconds. If 'again' is set, reset the seconds
3848 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3849 'again' in the inferior before detaching. Print the seconds left.
3850 (options): New global.
3851 (top level): Build program with -DTIMEOUT=$timeout.
3853 2015-02-06 Pedro Alves <palves@redhat.com>
3855 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3856 determine how many seconds to pass to 'alarm'.
3857 * gdb.base/gdb-sigterm.exp (top level): Build program with
3859 (do_test): Return success/failure indication. Add more verbose
3860 logging. Don't fail if 200 single steps are seen. Instead, fail
3861 when the test times out.
3862 (passes): New global.
3863 (top level): Break the testing loop if testing fails on any
3864 iteration. Use gdb_assert.
3866 2015-02-04 Don Breazeal <donb@codesourcery.com>
3868 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3869 and initialize them.
3870 (ipc_cleanup): New function.
3871 (main): Don't declare shmid, semid, and msqid. Add a call to
3872 atexit so that we call ipc_cleanup on exit.
3874 2015-02-04 Pedro Alves <palves@redhat.com>
3876 * boards/native-extended-gdbserver.exp: Remove any target variant
3877 specifications from the board name before clearing the isremote
3878 flag from board_info.
3880 2015-01-31 Doug Evans <xdje42@gmail.com>
3882 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3884 2015-01-31 Gary Benson <gbenson@redhat.com>
3886 * gdb.base/completion.exp: Disable completion limiting for
3887 existing tests. Add new tests to check completion limiting.
3888 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3890 2015-01-31 Doug Evans <xdje42@gmail.com>
3892 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3894 2015-01-31 Doug Evans <xdje42@gmail.com>
3896 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3897 entries. Duplicate file section script entries.
3898 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3899 inlined entries. Add test for safe-path rejection.
3900 * gdb.python/py-section-script.c: Add duplicate inlined section script
3901 entries. Duplicate file section script entries.
3902 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3903 inlined entries. Add test for safe-path rejection.
3905 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3907 * gdb.ada/disc_arr_bound: New testcase.
3909 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3911 * gdb.ada/mi_var_array: New testcase.
3913 2015-01-27 Doug Evans <dje@google.com>
3915 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3916 Add test for objfile.filename, objfile.username after objfile
3919 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3921 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3922 the second test to print the name attribute of value
3923 returned by the call to gdb.lookup_type, and adjust
3924 the expected output accordingly.
3926 2015-01-25 Mark Wielaard <mjw@redhat.com>
3928 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3929 * gdb.base/disp-step-fork.c: Include unistd.h.
3930 * gdb.base/siginfo-obj.c: Include stdio.h.
3931 * gdb.base/siginfo-thread.c: Likewise.
3932 * gdb.mi/non-stop.c: Include unistd.h.
3933 * gdb.mi/nsthrexec.c: Include stdio.h.
3934 * gdb.mi/pthreads.c: Include unistd.h.
3935 * gdb.modula2/unbounded1.c (main): Declare returns int.
3936 * gdb.reverse/consecutive-reverse.c: Likewise.
3937 * gdb.threads/create-fail.c: Include unistd.h.
3938 * gdb.threads/killed.c: Likewise.
3939 * gdb.threads/linux-dp.c: Likewise.
3940 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3941 * gdb.threads/non-ldr-exc-2.c: Likewise.
3942 * gdb.threads/non-ldr-exc-3.c: Likewise.
3943 * gdb.threads/non-ldr-exc-4.c: Likewise.
3944 * gdb.threads/pthreads.c: Include unistd.h.
3945 (main): Declare returns int.
3946 * gdb.threads/tls-main.c (foo): New declaration.
3947 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3949 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3951 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3952 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3954 2015-01-15 Mark Wielaard <mjw@redhat.com>
3956 * gdb.base/noreturn-return.c: New file.
3957 * gdb.base/noreturn-return.exp: New file.
3958 * gdb.base/noreturn-finish.c: New file.
3959 * gdb.base/noreturn-finish.exp: New file.
3961 2015-01-23 Pedro Alves <palves@redhat.com>
3963 * gdb.threads/continue-pending-after-query.c: New file.
3964 * gdb.threads/continue-pending-after-query.exp: New file.
3966 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3967 Simon Marchi <simon.marchi@ericsson.com>
3969 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3970 * gdb.base/valgrind-db-attach.exp: Same.
3971 * gdb.base/valgrind-infcall.exp: Same.
3972 * lib/mi-support.exp (default_mi_gdb_start): Same.
3973 * lib/prompt.exp (default_prompt_gdb_start): Same.
3974 * lib/gdb.exp (default_gdb_spawn): Same.
3975 (gdb_interact): New.
3978 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3980 * gdb.compile/compile.exp (pointer to jit function): New test.
3982 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3984 * lib/gdb.exp (supports_process_record): Return true for
3986 (supports_reverse): Likewise.
3988 2015-01-15 Don Breazeal <donb@codesourcery.com>
3990 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3991 instead of checking whether the target board is remote and
3992 use spawn_wait_for_attach instead of exec/sleep.
3993 * gdb.base/attach-twice.exp: Likewise.
3995 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3997 * gdb.ada/var_arr_attrs: New testcase.
3999 2015-01-14 Pedro Alves <palves@redhat.com>
4000 Joel Brobecker <brobecker@adacore.com>
4003 * gdb.base/bp-cmds-execution-x-script.c: New file.
4004 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4005 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4007 2015-01-14 Pedro Alves <palves@redhat.com>
4010 * gdb.base/batch-preserve-term-settings.c: New file.
4011 * gdb.base/batch-preserve-term-settings.exp: New file.
4013 2015-01-13 Doug Evans <dje@google.com>
4015 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4018 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4020 * Makefile.in (clean mostlyclean): Do not delete *.py.
4022 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4024 * gdb.python/py-lookup-type.exp: New file.
4026 2015-01-12 Pedro Alves <palves@redhat.com>
4028 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4029 restore GDBFLAGS before returning.
4031 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4033 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4034 is_amd64_regs_target and is_x86_like_target.
4036 2015-01-11 Doug Evans <xdje42@gmail.com>
4038 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4039 is given without an explicit form.
4040 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4042 * gdb.dwarf/corrupt.exp: Ditto.
4043 * gdb.dwarf2/enum-type.exp: Ditto.
4044 * gdb.trace/entry-values.exp: Ditto.
4045 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4047 2015-01-11 Doug Evans <xdje42@gmail.com>
4050 * gdb.base/maint.exp: Remove references to "maint demangle".
4051 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4052 Add tests for explicitly specifying language to demangle.
4053 * gdb.dlang/demangle.exp: Ditto.
4055 2015-01-09 Pedro Alves <palves@redhat.com>
4057 * gdb.threads/non-stop-fair-events.c: New file.
4058 * gdb.threads/non-stop-fair-events.exp: New file.
4060 2015-01-09 Pedro Alves <palves@redhat.com>
4062 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4063 the global scope. Set a breakpoint after all threads are started
4064 rather than stepping over two source lines. Expect the prompt.
4065 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4068 (main): Use threads_started_barrier to wait for all threads to
4069 start. Main thread no longer calls thread_function. Exit after
4071 (loop): New function.
4072 (thread_function): Wait on threads_started_barrier barrier. Call
4073 'loop' at each iteration.
4074 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4075 threads have started, instead of hardcoding number of "next"
4076 steps. Use an access watchpoint instead of a write watchpoint.
4078 2015-01-09 Pedro Alves <palves@redhat.com>
4080 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4081 (thread_func): Wait on barrier.
4082 (main): Wait for all threads to start before stopping GDB.
4083 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4085 (thread1_func, thread2_func): Wait on barrier.
4086 (main): Wait for all threads to start before stopping GDB.
4087 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4089 (thread1_func, thread2_func): Wait on barrier.
4090 (main): Wait for all threads to start before stopping GDB.
4092 2015-01-09 Pedro Alves <palves@redhat.com>
4094 * gdb.threads/attach-many-short-lived-threads.c: New file.
4095 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4097 2014-01-09 Pedro Alves <palves@redhat.com>
4099 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4100 instead of to thread 2.
4101 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4102 Add barrier around each pthread_create call instead of around all
4104 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4105 Set a break on thread_function and have the child threads hit it
4108 2015-01-09 Pedro Alves <palves@redhat.com>
4110 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4111 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4113 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4114 checking whether the target board is remote.
4115 * gdb.multi/multi-attach.exp: Likewise.
4116 * gdb.python/py-sync-interp.exp: Likewise.
4117 * gdb.server/ext-attach.exp: Likewise.
4118 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4119 tests that need to attach, instead of checking whether the target
4120 board is remote at the top of the file.
4122 2015-01-08 Yao Qi <yao@codesourcery.com>
4124 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4126 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4128 Fix testcase compilation.
4129 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4131 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4133 * gdb.python/py-type.exp: Add a couple test about empty
4134 array creation, and negative-length array creation.
4136 2015-01-02 Doug Evans <xdje42@gmail.com>
4138 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4140 2015-01-02 Doug Evans <dje@google.com>
4142 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4144 2014-12-29 Yao Qi <yao@codesourcery.com>
4146 * gdb.trace/entry-values.exp: Update comments. Rename variable
4147 bar_call_foo to returned_from_foo.
4149 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4152 * gdb.linespec/break-asm-file.c: New file.
4153 * gdb.linespec/break-asm-file.exp: New file.
4154 * gdb.linespec/break-asm-file0.s: New file.
4155 * gdb.linespec/break-asm-file1.s: New file.
4157 2014-12-18 Nigel Stephens <nigel@mips.com>
4158 Maciej W. Rozycki <macro@codesourcery.com>
4160 * gdb.base/float.exp: Handle the new output from "info float" on
4163 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4165 Fix MinGW compilation.
4166 * gdb.compile/compile-ops.exp: Update untested message if
4167 !skip_compile_feature_tests.
4168 * gdb.compile/compile-setjmp.exp: Likewise.
4169 * gdb.compile/compile-tls.exp: Likewise.
4170 * gdb.compile/compile.exp: Likewise.
4171 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4172 supported on this host".
4174 2014-12-16 Doug Evans <xdje42@gmail.com>
4176 * boards/stabs.exp: New file.
4178 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4180 * gdb.base/completion.exp: Adjust to format changes of "maint
4181 print user-registers".
4183 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4186 * gdb.arch/aarch64-fp.c: New file.
4187 * gdb.arch/aarch64-fp.exp: New file.
4189 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4191 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4192 r210637, r210913, r211666, r215400, r215817).
4194 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4195 * dg-extract-results.py: New file.
4196 * dg-extract-results.sh: Use it if the environment seems
4199 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4201 * dg-extract-results.py (parse_run): Handle warnings that
4202 are printed before a test harness is run.
4204 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4206 * dg-extract-results.py (Named): Remove __cmp__ method.
4207 (output_variation): Use a key to sort variation.harnesses.
4209 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4211 * dg-extract-results.py: For Python 3, force sys.stdout to
4212 handle surrogate escape sequences.
4213 (safe_open): New function.
4214 (output_segment, main): Use it.
4216 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4218 * dg-extract-results.py (Prog.result_re): Include options
4221 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4223 * dg-extract-results.py (output_variation): Always sort if
4226 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4228 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4229 as long as we get pagination notifications.
4231 2014-12-15 Jason Merrill <jason@redhat.com>
4233 * Makefile.in (check-gdb.%): Restore.
4234 * README: Mention it.
4236 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4238 * gdb.ada/str_uninit: New testcase.
4240 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4243 * gdb.base/vla-stub-define.c: New file.
4244 * gdb.base/vla-stub.c: New file.
4245 * gdb.base/vla-stub.exp: New file.
4247 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4248 Jan Kratochvil <jan.kratochvil@redhat.com>
4249 Tom Tromey <tromey@redhat.com>
4251 * configure.ac: Add gdb.compile/.
4252 * configure: Regenerate.
4253 * gdb.compile/Makefile.in: New file.
4254 * gdb.compile/compile-ops.exp: New file.
4255 * gdb.compile/compile-ops.c: New file.
4256 * gdb.compile/compile-tls.c: New file.
4257 * gdb.compile/compile-tls.exp: New file.
4258 * gdb.compile/compile-constvar.S: New file.
4259 * gdb.compile/compile-constvar.c: New file.
4260 * gdb.compile/compile-mod.c: New file.
4261 * gdb.compile/compile-nodebug.c: New file.
4262 * gdb.compile/compile-setjmp-mod.c: New file.
4263 * gdb.compile/compile-setjmp.c: New file.
4264 * gdb.compile/compile-setjmp.exp: New file.
4265 * gdb.compile/compile-shlib.c: New file.
4266 * gdb.compile/compile.c: New file.
4267 * gdb.compile/compile.exp: New file.
4268 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4270 2014-12-12 Tom Tromey <tromey@redhat.com>
4272 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4273 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4275 2014-12-12 Doug Evans <dje@google.com>
4277 * lib/gdb-python.exp (get_python_valueof): New function.
4278 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4280 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4282 * gdb.base/completion.exp: Add test for completion of "info
4285 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4287 * gdb.base/func-ptrs.c: New file.
4288 * gdb.base/func-ptrs.exp: New file.
4290 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4292 PR breakpoints/17012
4293 * gdb.base/dprintf-detach.c: New file.
4294 * gdb.base/dprintf-detach.exp: New file.
4296 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4298 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4299 * lib/gdb.exp (target_is_gdbserver): New procedure.
4301 2014-12-08 Doug Evans <dje@google.com>
4303 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4305 2014-12-05 Yao Qi <yao@codesourcery.com>
4307 * gdb.guile/scm-error.exp: Remove the third argument to
4308 gdb_remote_download.
4309 * gdb.guile/scm-frame-args.exp: Likewise.
4310 * gdb.guile/scm-section-script.exp: Likewise.
4312 2014-12-05 Yao Qi <yao@codesourcery.com>
4314 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4316 2014-12-04 Doug Evans <dje@google.com>
4318 * gdb.python/py-objfile.exp: Add tests for
4319 objfile.add_separate_debug_file.
4321 2014-12-04 Doug Evans <dje@google.com>
4323 * lib/gdb.exp (get_build_id): New function.
4324 (build_id_debug_filename_get): Rewrite to use it.
4325 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4327 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4329 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4330 `method(long)', not just 0x0.
4331 * gdb.cp/nsalias.exp: Align code labels to 4.
4332 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4333 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4334 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4335 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4336 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4337 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4339 2014-12-02 Doug Evans <dje@google.com>
4342 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4343 * gdb.cp/anon-ns2.cc: ... here. New file.
4344 * gdb.cp/anon-ns.exp: Update.
4346 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4348 * gdb.python/py-events.py (inferior_call_handler): New.
4349 (register_changed_handler, memory_changed_handler): New.
4350 (test_events.invoke): Register new handlers.
4351 * gdb.python/py-events.exp: Add tests for inferior call,
4352 memory_changed and register_changed events.
4354 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4356 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4357 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4358 if the linker doesn't understand this.
4360 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4362 * gdb.python/python.exp: Change expected reply to help().
4364 2014-12-01 Yao Qi <yao@codesourcery.com>
4366 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4367 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4368 * configure: Re-generated.
4370 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4372 * gdb.cp/chained-calls.cc: New file.
4373 * gdb.cp/chained-calls.exp: New file.
4374 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4376 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4378 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4379 * gdb.dwarf2/symtab-producer.exp: Same.
4380 * gdb.gdb/python-interrupts.exp: Same.
4381 * gdb.gdb/python-selftest.exp: Same.
4382 * gdb.python/py-linetable.exp: Same.
4383 * gdb.python/py-type.exp: Same.
4384 * gdb.python/py-value-cc.exp: Same.
4385 * gdb.python/py-value.exp: Same.
4387 2014-11-28 Yao Qi <yao@codesourcery.com>
4389 * gdb.base/break-probes.exp: Match library name prefixed with
4392 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4394 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4395 test expected output. Add parentheses for the call to print.
4396 Remove L suffix from integers.
4398 2014-11-26 Doug Evans <dje@google.com>
4400 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4402 2014-11-22 Yao Qi <yao@codesourcery.com>
4404 * gdb.trace/entry-values.c: Remove asms.
4405 (foo): Add foo_label.
4406 (bar): Add bar_label.
4407 * gdb.trace/entry-values.exp: Remove code computing foo's
4408 length and bar's length.
4409 (Dwarf::assemble): Invoke function_range for bar and use
4410 MACRO_AT_func for foo.
4412 2014-11-22 Yao Qi <yao@codesourcery.com>
4414 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4415 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4416 Use .Lgcc43_procstart instead of gcc43.
4418 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4420 * gdb.ada/n_arr_bound: New testcase.
4422 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4424 PR breakpoints/10737
4425 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4426 test_catch_syscall_multi_arch.
4427 (test_catch_syscall_multi_arch): New function.
4429 2014-11-20 Doug Evans <xdje42@gmail.com>
4431 * gdb.base/maint.exp: Update expected output.
4433 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4435 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4436 4-byte instruction on S390.
4438 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4440 * gdb.ada/arr_arr: New testcase.
4442 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4444 * gdb.ada/pkd_arr_elem: New Testcase.
4446 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4448 * gdb.reverse/break-precsave: Expect completion message for
4450 * gdb.reverse/consecutive-precsave.exp: Likewise.
4451 * gdb.reverse/finish-precsave.exp: Likewise.
4452 * gdb.reverse/i386-precsave.exp: Likewise.
4453 * gdb.reverse/machinestate-precsave.exp: Likewise.
4454 * gdb.reverse/sigall-precsave.exp: Likewise.
4455 * gdb.reverse/solib-precsave.exp: Likewise.
4456 * gdb.reverse/step-precsave.exp: Likewise.
4457 * gdb.reverse/until-precsave.exp: Likewise.
4458 * gdb.reverse/watch-precsave.exp: Likewise.
4460 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4462 * gdb.base/bp-permanent.c: Include unistd.h.
4463 * gdb.python/py-framefilter-mi.c (main): Add return type.
4464 * gdb.python/py-framefilter.c (main): Likewise.
4465 * gdb.trace/actions-changed.c (main): Likewise.
4467 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4469 * gdb.mi/until.c: Add eye-catchers.
4470 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4473 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4475 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4476 function header variants in break1.c.
4477 * gdb.base/ena-dis-br.exp: Likewise.
4478 * gdb.base/hbreak2.exp: Likewise.
4479 * gdb.reverse/until-precsave.exp: Drop references to removed
4480 non-prototype function header variants in ur1.c.
4481 * gdb.reverse/until-reverse.exp: Likewise.
4483 2014-11-17 Petr Machata <pmachata@redhat.com>
4485 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4486 ${_cu_offset_size} bytes abbrev offset.
4488 2014-11-15 Doug Evans <xdje42@gmail.com>
4491 * gdb.base/line-symtabs.exp: New file.
4492 * gdb.base/line-symtabs.c: New file.
4493 * gdb.base/line-symtabs.h: New file.
4495 2014-11-14 Yao Qi <yao@codesourcery.com>
4497 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4498 (func): Add label func_label.
4499 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4500 Replace low_pc and high_pc with MACRO_AT_range.
4501 Replace name, low_pc and high_pc with MACRO_AT_func.
4503 2014-11-14 Yao Qi <yao@codesourcery.com>
4505 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4506 Replace name, low_pc and high_pc with MACRO_AT_func.
4508 2014-11-14 Yao Qi <yao@codesourcery.com>
4510 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4511 produce debug information.
4512 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4514 2014-11-14 Yao Qi <yao@codesourcery.com>
4516 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4517 object and get function length.
4518 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4520 (top-level): Replace gdb_compile and clean_restart with
4521 prepare_for_testing.
4522 * gdb.dwarf2/main.c (main): Add label main_label.
4524 2014-11-14 Yao Qi <yao@codesourcery.com>
4526 * lib/dwarf.exp (function_range): New procedure.
4527 (Dwarf::_handle_macro_at_func): New procedure.
4528 (Dwarf::_handle_macro_at_range): New procedure.
4529 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4531 2014-11-14 Yao Qi <yao@codesourcery.com>
4533 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4534 (_handle_attribute): New procedure.
4536 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4538 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4539 * gdb.base/call-sc.c (zed): Likewise.
4540 * gdb.base/checkpoint.c (main): Likewise.
4541 * gdb.base/dump.c (main): Likewise.
4542 * gdb.base/gcore.c (main): Likewise.
4543 * gdb.base/huge.c (main): Likewise.
4544 * gdb.base/multi-forks.c (main): Likewise.
4545 * gdb.base/pr10179-a.c (main): Likewise.
4546 * gdb.base/savedregs.c (main): Likewise.
4547 * gdb.base/sigaltstack.c (main): Likewise.
4548 * gdb.base/siginfo.c (main): Likewise.
4549 * gdb.base/structs.c (zed): Likewise.
4550 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4551 * gdb.mi/mi-syn-frame.c (main): Likewise.
4552 * gdb.mi/until.c (foo, main): Likewise.
4553 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4554 * gdb.base/solib-weak.c (foo): Declare.
4555 * gdb.base/attach-twice.c: Include stdio.h.
4556 * gdb.base/weaklib1.c: Likewise.
4557 * gdb.base/weaklib2.c: Likewise.
4558 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4559 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4561 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4562 * gdb.mi/mi-exit-code.c: Likewise.
4563 * gdb.base/break-interp-lib.c: Include string.h.
4564 * gdb.base/coremaker.c: Likewise.
4565 * gdb.base/testenv.c: Likewise.
4566 * gdb.python/py-finish-breakpoint.c: Likewise.
4567 * gdb.base/inferior-died.c: Include sys/wait.h.
4568 * gdb.base/fileio.c: Include time.h.
4569 * gdb.base/async-shell.c: Include unistd.h.
4570 * gdb.base/dprintf-non-stop.c: Likewise.
4571 * gdb.base/info-os.c: Likewise.
4572 * gdb.mi/mi-console.c: Likewise.
4573 * gdb.mi/watch-nonstop.c: Likewise.
4574 * gdb.python/py-events.c: Likewise.
4575 * gdb.base/async.c (baz): Move up before its invocation.
4576 * gdb.base/code_elim2.c (my_global_func): Likewise.
4577 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4578 * gdb.base/advance.c (func2): Likewise.
4580 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4582 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4584 * gdb.base/annota3.c: Likewise.
4585 * gdb.base/async.c: Likewise.
4586 * gdb.base/average.c: Likewise.
4587 * gdb.base/call-ar-st.c: Likewise.
4588 * gdb.base/call-rt-st.c: Likewise.
4589 * gdb.base/call-sc.c: Likewise.
4590 * gdb.base/call-strs.c: Likewise.
4591 * gdb.base/ending-run.c: Likewise.
4592 * gdb.base/execd-prog.c: Likewise.
4593 * gdb.base/exprs.c: Likewise.
4594 * gdb.base/foll-exec.c: Likewise.
4595 * gdb.base/foll-fork.c: Likewise.
4596 * gdb.base/foll-vfork.c: Likewise.
4597 * gdb.base/funcargs.c: Likewise.
4598 * gdb.base/gcore.c: Likewise.
4599 * gdb.base/jump.c: Likewise.
4600 * gdb.base/langs0.c: Likewise.
4601 * gdb.base/langs1.c: Likewise.
4602 * gdb.base/langs2.c: Likewise.
4603 * gdb.base/mips_pro.c: Likewise.
4604 * gdb.base/nodebug.c: Likewise.
4605 * gdb.base/opaque0.c: Likewise.
4606 * gdb.base/opaque1.c: Likewise.
4607 * gdb.base/recurse.c: Likewise.
4608 * gdb.base/run.c: Likewise.
4609 * gdb.base/scope0.c: Likewise.
4610 * gdb.base/scope1.c: Likewise.
4611 * gdb.base/setshow.c: Likewise.
4612 * gdb.base/setvar.c: Likewise.
4613 * gdb.base/shmain.c: Likewise.
4614 * gdb.base/shr1.c: Likewise.
4615 * gdb.base/shr2.c: Likewise.
4616 * gdb.base/sigall.c: Likewise.
4617 * gdb.base/signals.c: Likewise.
4618 * gdb.base/so-indr-cl.c: Likewise.
4619 * gdb.base/solib2.c: Likewise.
4620 * gdb.base/structs.c: Likewise.
4621 * gdb.base/sum.c: Likewise.
4622 * gdb.base/vforked-prog.c: Likewise.
4623 * gdb.base/watchpoint.c: Likewise.
4624 * gdb.reverse/shr2.c: Likewise.
4625 * gdb.reverse/until-reverse.c: Likewise.
4626 * gdb.reverse/ur1.c: Likewise.
4627 * gdb.reverse/watch-reverse.c: Likewise.
4629 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4631 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4633 * gdb.base/sepdebug.exp: Drop references to removed code.
4635 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4637 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4638 variant. Preserve original line numbering.
4639 * gdb.base/list1.c: Likewise.
4641 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4643 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4645 * gdb.base/break1.c: Likewise.
4646 * gdb.base/break.exp: Drop references to removed code.
4648 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4650 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4653 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4655 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4657 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4659 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4660 logic into perform_all_tests() and invoke it with and without
4661 function header prototypes.
4662 (do_function_calls): Remove conditional XFAIL for PR 5318.
4663 (rerun_and_prepare): Remove duplicate code.
4664 (perform_all_tests): New. Main logic moved here.
4666 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4668 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4669 code guarded by #ifdef NO_PROTOTYPES.
4670 (t_double_many_args): Likewise.
4671 (DEF_FUNC_MANY_ARGS_1): Likewise.
4672 (DEF_FUNC_VALUES_1): Likewise.
4673 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4674 guarded by #ifdef PROTOTYPES.
4676 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4678 * gdb.mi/mi-console.c: Add eye-catcher.
4679 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4680 instead of literal line number.
4682 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4684 * gdb.base/shr2.c: Add eye-catcher.
4685 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4688 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4690 * gdb.base/jump.c: Add eye-catchers.
4691 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4694 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4696 * gdb.base/execd-prog.c: Add eye-catchers.
4697 * gdb.base/foll-exec.c: Likewise.
4698 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4701 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4703 * gdb.base/ending-run.c: Add eye-catchers.
4704 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4705 literal line numbers.
4707 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4709 * gdb.base/call-rt-st.c: Add eye-catchers.
4710 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4711 literal line numbers.
4713 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4715 * gdb.base/call-ar-st.c: Add eye-catchers.
4716 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4717 literal line numbers.
4719 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4721 * gdb.base/average.c: Add eye-catchers.
4722 * gdb.base/sum.c: Likewise.
4723 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4724 regexps dynamically.
4726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4728 * gdb.base/solib1.c: Add eye-catchers.
4729 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4730 literal line numbers.
4732 2014-11-12 Pedro Alves <palves@redhat.com>
4734 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4737 2014-11-12 Pedro Alves <palves@redhat.com>
4739 * gdb.arch/i386-bp_permanent.c: New file.
4740 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4741 (srcfile): Set to i386-bp_permanent.c.
4742 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4743 that stepi does not execute the 'leave' instruction, instead of
4744 testing it does execute.
4745 * gdb.base/bp-permanent.c: New file.
4746 * gdb.base/bp-permanent.exp: New file.
4748 2014-11-10 Doug Evans <xdje42@gmail.com>
4751 * gdb.base/symtab-search-order.exp: New file.
4752 * gdb.base/symtab-search-order.c: New file.
4753 * gdb.base/symtab-search-order-1.c: New file.
4754 * gdb.base/symtab-search-order-shlib-1.c: New file.
4756 2014-11-07 Pedro Alves <palves@redhat.com>
4759 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4762 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4765 * gdb.cp/pr17494.cc: New file.
4766 * gdb.cp/pr17494.exp: New file.
4768 2014-11-02 Yao Qi <yao@codesourcery.com>
4770 * gdb.python/python.exp: Get working directory and match the
4771 output of "set extended-prompt \\w " with it.
4773 2014-10-30 Doug Evans <dje@google.com>
4775 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4777 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4780 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4782 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4783 * gdb.base/realname-expand.exp: Likewise.
4784 * gdb.linespec/macro-relative.exp: Likewise.
4786 2014-10-29 Pedro Alves <palves@redhat.com>
4789 * gdb.threads/schedlock.c (some_function): New function.
4790 (call_function): New global.
4791 (MAYBE_CALL_SOME_FUNCTION): New macro.
4792 (thread_function): Call it.
4793 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4794 and use it instead of a global counter. Adjust all callers.
4795 (get_current_thread): Use "find current thread" for test message
4796 here rather than having all callers pass down the same string.
4797 (goto_loop): New procedure, factored out from ...
4798 (my_continue): ... this.
4799 (step_ten_loops): Change parameter from test message to command to
4801 (list_count): Delete global.
4802 (check_result): New procedure, factored out from duplicate top
4804 (continue tests): Wrap in with_test_prefix.
4805 (test_step): New procedure, factored out from duplicate top level
4807 (top level): Test "step" in combination with all scheduler-locking
4808 modes. Test "next" in combination with all scheduler-locking
4809 modes, and in combination with stepping over a function call or
4811 * gdb.threads/next-bp-other-thread.c: New file.
4812 * gdb.threads/next-bp-other-thread.exp: New file.
4814 2014-10-29 Pedro Alves <palves@redhat.com>
4817 * gdb.python/python.exp: Test a multi-line command that spawns
4819 * gdb.base/multi-line-starts-subshell.exp: New file.
4821 2014-10-29 Yao Qi <yao@codesourcery.com>
4823 * gdb.base/fileio.exp: Make directories on host.
4825 2014-10-29 Yao Qi <yao@codesourcery.com>
4827 * gdb.base/fileio.c (test_write): Close the file.
4829 2014-10-28 Pedro Alves <palves@redhat.com>
4832 * gdb.base/sigstep.c (no_handler): New global.
4833 (main): If 'no_handler is true, set the signal handlers to
4835 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4836 with_sw_watch and no_handler parameters. Handle them.
4837 (top level) <stepping over handler when stopped at a breakpoint
4838 test>: Add a test axis for testing with a software watchpoint, and
4839 another for testing with the signal handler set to SIG_IGN.
4840 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4841 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4843 2014-10-28 Pedro Alves <palves@redhat.com>
4846 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4847 * gdb.base/sigstep.exp (other_handler_location): New global.
4848 (advance): Support stepping into the signal handler, and running
4849 commands while in the handler.
4850 (in_handler_map): New global.
4851 (top level): In the advance test, add combinations for getting
4852 into the handler with stepping commands, and for running commands
4853 in the handler. Add comment descripting the advancei tests.
4855 2014-10-28 Pedro Alves <palves@redhat.com>
4857 * gdb.base/sigstep.exp: Use build_executable instead of
4858 prepare_for_testing.
4859 (top level): Move code that starts GDB, runs to main and creates a
4861 (restart): ... this new procedure.
4862 (top level): Move backtrace from signal handler test to ...
4863 (validate_backtrace): ... this new procedure.
4864 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4865 with_test_prefix. Always restart GDB.
4866 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4867 with_test_prefix. Always restart GDB. No need to delete
4868 breakpoints after the test.
4869 (test_skip_handler): Remove prefix parameter.
4870 (skip_over_handler, breakpoint_to_handler)
4871 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4872 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4873 restart GDB. No need to delete breakpoints after the test.
4874 (top level): Use foreach to call the test procedures with
4877 2014-10-28 Pedro Alves <palves@redhat.com>
4879 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4880 instead of GNATS numbers.
4881 * gdb.base/sigbpt.exp: Likewise.
4882 * gdb.base/siginfo.exp: Likewise.
4883 * gdb.base/sigstep.exp: Likewise.
4885 2014-10-27 Pedro Alves <palves@redhat.com>
4887 * gdb.base/sigstep.c (dummy): New global.
4888 (main): Issue a couple writes to the new global.
4889 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4891 (skip_over_handler): Use test_skip_handler.
4892 (top level): Call skip_over_handler for stepi and nexti too.
4893 (breakpoint_over_handler): Use test_skip_handler.
4894 (top level): Call breakpoint_over_handler for stepi and nexti too.
4896 2014-10-27 Yao Qi <yao@codesourcery.com>
4898 * gdb.trace/tfile.c (adjust_function_address)
4899 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4900 function descriptor.
4902 2014-10-24 Don Breazeal <donb@codesourcery.com>
4904 * gdb.base/foll-fork.exp (test_follow_fork,
4905 catch_fork_child_follow): Check for updated fork messages emitted
4907 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4908 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4909 vfork_and_exec_child_follow_through_step): Check for updated vfork
4910 messages emitted from infrun.c.
4912 2014-10-24 Pedro Alves <palves@redhat.com>
4914 * gdb.base/corefile.exp: Remove references to ultrix.
4915 * gdb.base/interrupt.exp: Likewise.
4916 * gdb.base/whatis.exp: Likewise.
4917 * gdb.gdb/selftest.exp: Likewise.
4918 * gdb.threads/manythreads.exp: Likewise.
4919 * gdb.threads/print-threads.exp: Likewise.
4920 * gdb.threads/pthreads.exp:: Likewise.
4921 * gdb.threads/schedlock.exp: Likewise.
4923 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4925 * gdb.cp/non-trivial-retval.cc: Add a test case.
4926 * gdb.cp/non-trivial-retval.exp: Add a test.
4928 2014-10-20 Yao Qi <yao@codesourcery.com>
4930 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4931 * gdb.python/py-objfile-script-gdb.py: New file.
4932 * gdb.python/py-objfile-script.exp: Update reference to
4933 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4934 of remote_download. Remove the dest file.
4936 2014-10-20 Yao Qi <yao@codesourcery.com>
4938 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4939 * gdb.base/step-line.exp: Likewise.
4940 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4941 * gdb.dwarf2/dw2-basic.exp: Likewise.
4942 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4943 * gdb.dwarf2/dw2-filename.exp: Likewise.
4944 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4945 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4946 * gdb.dwarf2/dw2-producer.exp: Likewise.
4947 * gdb.dwarf2/mac-fileno.exp: Likewise.
4948 * gdb.python/py-frame-args.exp: Likewise.
4949 * gdb.python/py-framefilter.exp: Likewise.
4950 * gdb.python/py-mi.exp: Likewise.
4951 * gdb.python/py-objfile-script.exp: Likewise
4952 * gdb.python/py-pp-integral.exp: Likewise.
4953 * gdb.python/py-pp-re-notag.exp: Likewise.
4954 * gdb.python/py-prettyprint.exp: Likewise.
4955 * gdb.python/py-section-script.exp: Likewise.
4956 * gdb.python/py-typeprint.exp: Likewise.
4957 * gdb.python/py-xmethods.exp: Likewise.
4958 * gdb.stabs/weird.exp: Likewise.
4959 * gdb.xml/tdesc-regs.exp: Likewise.
4961 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4963 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4964 (out_cu): Use addr_len for the size of addresses.
4965 (out_line): Likewise. Size DW_LNE_set_address instruction
4966 according to addr_len.
4967 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4968 (FUNC): Add START_INSNS to definition.
4970 2014-10-18 Yao Qi <yao@codesourcery.com>
4972 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4973 gdb_has_argv0 return true.
4974 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4975 check [target_info exists noargs], check [gdb_has_argv0]
4977 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4978 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4981 2014-10-17 Doug Evans <dje@google.com>
4983 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4985 * gdb.python/py-events.py: Add clear_objfiles event.
4987 2014-10-17 Doug Evans <dje@google.com>
4989 * gdb.python/py-objfile.exp: Test progspace attribute.
4991 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4993 * gdb.guile/scm-breakpoint.exp: Do not assume any
4994 directory separators when matching source file paths.
4995 * gdb.python/py-breakpoint.exp: Likewise.
4996 * gdb.reverse/break-precsave.exp: Likewise.
4997 * gdb.reverse/break-reverse.exp: Likewise.
4998 * gdb.reverse/consecutive-precsave.exp: Likewise.
4999 * gdb.reverse/finish-precsave.exp: Likewise.
5000 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5001 * gdb.reverse/finish-reverse.exp: Likewise.
5002 * gdb.reverse/i386-precsave.exp: Likewise.
5003 * gdb.reverse/i387-env-reverse.exp: Likewise.
5004 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5005 * gdb.reverse/machinestate-precsave.exp: Likewise.
5006 * gdb.reverse/machinestate.exp: Likewise.
5007 * gdb.reverse/sigall-precsave.exp: Likewise.
5008 * gdb.reverse/solib-precsave.exp: Likewise.
5009 * gdb.reverse/step-precsave.exp: Likewise.
5010 * gdb.reverse/until-precsave.exp: Likewise.
5011 * gdb.reverse/watch-precsave.exp: Likewise.
5012 * gdb.reverse/watch-reverse.exp: Likewise.
5014 2014-10-17 Yao Qi <yao@codesourcery.com>
5016 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5017 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5019 2014-10-17 Pedro Alves <palves@redhat.com>
5022 * gdb.base/bg-execution-repeat.c: New file.
5023 * gdb.base/bg-execution-repeat.exp: New file.
5025 2014-10-17 Pedro Alves <palves@redhat.com>
5028 * gdb.base/continue-all-already-running.c: New file.
5029 * gdb.base/continue-all-already-running.exp: New file.
5031 2014-10-17 Pedro Alves <palves@redhat.com>
5034 * gdb.base/annota-input-while-running.c: New file.
5035 * gdb.base/annota-input-while-running.exp: New file.
5037 2014-10-17 Pedro Alves <palves@redhat.com>
5039 * gdb.base/callfuncs.exp: emove references to osf.
5040 * gdb.base/sigall.exp: Likewise.
5041 * gdb.gdb/selftest.exp: Likewise.
5042 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5043 * gdb.mi/non-stop.c: Likewise.
5044 * gdb.mi/pthreads.c: Likewise.
5045 * gdb.reverse/sigall-precsave.exp: Likewise.
5046 * gdb.reverse/sigall-reverse.exp: Likewise.
5047 * gdb.threads/pthreads.c: Likewise.
5048 * gdb.threads/pthreads.exp: Likewise.
5050 2014-10-17 Yao Qi <yao@codesourcery.com>
5052 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5053 check 'target_info exists noargs'.
5054 (test_command_prompt_position): Likewise.
5055 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5057 (progvar_simple_while_test): Likewise.
5058 (progvar_complex_if_while_test): Likewise.
5059 (if_while_breakpoint_command_test): Likewise.
5060 (infrun_breakpoint_command_test): Likewise.
5061 (breakpoint_command_test): Likewise.
5062 (watchpoint_command_test): Likewise.
5063 (bp_deleted_in_command_test): Likewise.
5064 (temporary_breakpoint_commands): Likewise.
5066 2014-10-16 Yao Qi <yao@codesourcery.com>
5068 * gdb.base/remotetimeout.exp: Remove noargs checking.
5070 2014-10-15 Pedro Alves <palves@redhat.com>
5073 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5074 * gdb.base/breakpoint-in-ro-region.exp
5075 (probe_target_hardware_step): New procedure.
5076 (top level): Probe hardware stepping and hardware breakpoint
5077 support. Test stepping through a read-only region, with both
5078 "breakpoint auto-hw" on and off and both "always-inserted" on and
5081 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5083 * gdb.dlang/demangle.exp: Update for demangling changes.
5085 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5087 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5088 * gdb.cp/non-trivial-retval.exp: Add new tests.
5090 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5094 * gdb.cp/non-trivial-retval.cc: New file.
5095 * gdb.cp/non-trivial-retval.exp: New file.
5097 2014-10-15 Yao Qi <yao@codesourcery.com>
5099 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5102 2014-10-15 Yao Qi <yao@codesourcery.com>
5104 * gdb.python/py-symbol.exp: Match file base name if host is
5105 remote, otherwise match file name with dir name.
5106 * gdb.python/py-symtab.exp: Likewise.
5107 * gdb.python/python.exp: Likewise.
5109 2014-10-15 Yao Qi <yao@codesourcery.com>
5111 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5113 * gdb.python/py-symtab.exp: Likewise.
5114 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5117 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5119 * gdb.ada/addr_arith: New testcase.
5121 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5123 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5124 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5125 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5126 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5128 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5130 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5131 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5132 * gdb.arch/stap-eval-lang-ada.exp: New file.
5134 2014-10-14 Yao Qi <yao@codesourcery.com>
5136 * gdb.mi/mi-var-child.c (nothing1): New function.
5137 (nothing2): New function.
5138 (do_children_tests): Set function pointers by nothing1 and
5140 * gdb.mi/mi-var-child.exp: Step over new added statements.
5141 Update test to match the new output.
5142 * gdb.mi/var-cmd.c (nothing1): New function.
5143 (nothing2): New function.
5144 (do_children_tests): Set function pointers by nothing1 and
5146 * gdb.mi/mi-var-display.exp: Update test to match output.
5147 Step to the line specified by $line_dct_nothing.
5148 Increase the number of lines to step.
5150 2014-10-14 Yao Qi <yao@codesourcery.com>
5152 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5154 * gdb.mi/mi2-var-child.exp: Likewise.
5156 2014-10-13 Doug Evans <dje@google.com>
5158 * gdb.python/py-objfile.exp: Change name of file name test.
5160 2014-10-13 Doug Evans <dje@google.com>
5162 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5163 from the start of the CU.
5165 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5166 Yao Qi <yao@codesourcery.com>
5168 Fix "save breakpoints" for "catch" command.
5169 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5170 Remove -nonewline. Match also the added "main" line.
5172 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5174 Fix "save breakpoints" for "disable $bpnum" command.
5175 * gdb.base/save-bp.c (main): Add label.
5176 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5178 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5180 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5182 2014-10-11 Yao Qi <yao@codesourcery.com>
5184 * gdb.server/server-kill.exp: Execute command
5185 "set remote trace-status-packet on" before "tstatus".
5187 2014-10-11 Yao Qi <yao@codesourcery.com>
5189 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5190 (main): Call getppid.
5191 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5192 and continue to it. Read variable "server_pid".
5194 2014-10-11 Yao Qi <yao@codesourcery.com>
5196 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5198 2014-10-11 Yao Qi <yao@codesourcery.com>
5200 * gdb.threads/thread-find.exp: Don't execute command
5202 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5203 * gdb.threads/linux-dp.exp: Don't check the condition
5204 $threads_created equals to zero.
5206 2014-10-10 Pedro Alves <palves@redhat.com>
5208 * gdb.base/bigcore.exp: Remove references to IRIX.
5209 * gdb.base/funcargs.exp: Likewise.
5210 * gdb.base/interrupt.exp: Likewise.
5211 * gdb.base/mips_pro.exp: Likewise.
5212 * gdb.base/nodebug.exp: Likewise.
5213 * gdb.base/setvar.exp: Likewise.
5214 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5216 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5217 Pedro Alves <palves@redhat.com>
5220 * gdb.base/vdso-warning.c: New file.
5221 * gdb.base/vdso-warning.exp: New file.
5223 2014-10-02 Doug Evans <dje@google.com>
5225 * gdb.base/structs.c (main): Don't run forever.
5227 2014-10-02 Pedro Alves <palves@redhat.com>
5229 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5230 (top level) <stop threads 1, stop threads 2>: Use it.
5232 2014-10-02 Pedro Alves <palves@redhat.com>
5234 * gdb.threads/break-while-running.exp (test): Add new
5235 'update_thread_list' argument. Skip "info threads" if false.
5236 (top level): Add new 'update_thread_list' axis.
5238 2014-10-02 Pedro Alves <palves@redhat.com>
5240 PR breakpoints/17431
5241 * gdb.base/execl-update-breakpoints.c: New file.
5242 * gdb.base/execl-update-breakpoints.exp: New file.
5244 2014-10-01 Pedro Alves <palves@redhat.com>
5246 * gdb.base/breakpoint-in-ro-region.c: New file.
5247 * gdb.base/breakpoint-in-ro-region.exp: New file.
5249 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5251 * gdb.mi/mi-exit-code.exp: New file.
5252 * gdb.mi/mi-exit-code.c: New file.
5254 2014-09-30 Yao Qi <yao@codesourcery.com>
5256 * lib/prelink-support.exp (build_executable_own_libs): Error if
5257 the target isn't native.
5259 2014-09-30 Yao Qi <yao@codesourcery.com>
5261 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5264 2014-09-22 Pedro Alves <palves@redhat.com>
5266 * gdb.threads/break-while-running.exp: New file.
5267 * gdb.threads/break-while-running.c: New file.
5269 2014-09-19 Yao Qi <yao@codesourcery.com>
5271 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5272 Invoke test. Restart GDB with --readnow and invoke test again.
5274 2014-09-19 Yao Qi <yao@codesourcery.com>
5276 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5277 proc set_breakpoint_on_gcd_function. Invoke
5278 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5279 invoke set_breakpoint_on_gcd_function again.
5281 2014-09-18 Doug Evans <dje@google.com>
5283 * gdb.dwarf2/symtab-producer.exp: New file.
5285 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5287 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5288 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5289 * gdb.base/global-var-nested-by-dso.c: Likewise.
5290 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5292 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5293 Pedro Alves <palves@redhat.com>
5295 * gdb.base/watch-bitfields.exp: Pass string other than test file
5296 name to prepare_for_testing.
5297 (watch): New procedure.
5298 (expect_watchpoint): Use with_test_prefix.
5299 (top level): Factor out tests to ...
5300 (test_watch_location, test_regular_watch): ... these new
5301 procedures, and use with_test_prefix and gdb_continue_to_end.
5303 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5305 PR breakpoints/12526
5306 * gdb.base/watch-bitfields.exp: New file.
5307 * gdb.base/watch-bitfields.c: New file.
5309 2014-09-16 Pedro Alves <palves@redhat.com>
5311 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5312 software and hardware addresses, not software address against
5315 2014-09-16 Pedro Alves <palves@redhat.com>
5317 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5318 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5320 2014-09-16 Pedro Alves <palves@redhat.com>
5322 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5324 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5325 "*-*-vxworks*" throughout.
5326 * gdb.base/break.exp: Likewise.
5327 * gdb.base/default.exp: Likewise.
5328 * gdb.base/scope.exp: Likewise.
5329 * gdb.base/sepdebug.exp: Likewise.
5330 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5332 * gdb.base/run.c: Likewise.
5333 * gdb.base/sepdebug.c: Likewise.
5334 * gdb.hp/gdb.aCC/run.c: Likewise.
5335 * gdb.reverse/until-reverse.c: Likewise.
5336 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5338 2014-09-16 Yao Qi <yao@codesourcery.com>
5340 * boards/local-remote-host-native.exp: New file.
5342 2014-09-14 Doug Evans <xdje42@gmail.com>
5344 * gdb.threads/queue-signal.c (thread_count): New variable.
5345 (thread_count_mutex, thread_count_condvar): New variables.
5346 (incr_thread_count, wait_all_threads_running): New functions.
5347 (main): Wait for all threads to be in their thread functions.
5349 2014-09-13 Doug Evans <xdje42@gmail.com>
5351 * gdb.threads/queue-signal.c: New file.
5352 * gdb.threads/queue-signal.exp: New file.
5354 2014-09-13 Doug Evans <xdje42@gmail.com>
5356 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5357 be consistent with what default_gdb_init uses.
5358 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5359 the plain text of the prompt. Add some logging printfs.
5360 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5362 2014-09-12 Pedro Alves <palves@redhat.com>
5364 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5365 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5366 * gdb.arch/i386-size-overlap.exp: Likewise.
5367 * gdb.arch/i386-size.exp: Likewise.
5368 * gdb.arch/i386-unwind.exp: Likewise.
5369 * gdb.base/a2-run.exp: Likewise.
5370 * gdb.base/break.exp: Likewise.
5371 * gdb.base/charset.exp: Likewise.
5372 * gdb.base/chng-syms.exp: Likewise.
5373 * gdb.base/commands.exp: Likewise.
5374 * gdb.base/dbx.exp: Likewise.
5375 * gdb.base/find.exp: Likewise.
5376 * gdb.base/funcargs.exp: Likewise.
5377 * gdb.base/jit-simple.exp: Likewise.
5378 * gdb.base/reread.exp: Likewise.
5379 * gdb.base/sepdebug.exp: Likewise.
5380 * gdb.base/step-bt.exp: Likewise.
5381 * gdb.cp/mb-inline.exp: Likewise.
5382 * gdb.cp/mb-templates.exp: Likewise.
5383 * gdb.objc/basicclass.exp: Likewise.
5384 * gdb.threads/killed.exp: Likewise.
5386 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5389 * gdb.arch/powerpc-stackless.S: New file.
5390 * gdb.arch/powerpc-stackless.exp: New file.
5392 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5394 * gdb.base/attach.c: Include unistd.h.
5395 (main): Call alarm. Add label postloop.
5396 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5397 gdb_breakpoint, gdb_continue_to_breakpoint.
5398 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5400 2014-09-11 Pedro Alves <palves@redhat.com>
5403 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5404 * gdb.base/attach.exp (test_command_line_attach_run): New
5406 (top level): Call it.
5408 2014-09-11 Pedro Alves <palves@redhat.com>
5410 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5411 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5412 (do_command_attach_tests): Use spawn_wait_for_attach.
5413 * gdb.base/solib-overlap.exp: Likewise.
5414 * gdb.multi/multi-attach.exp: Likewise.
5415 * gdb.python/py-prompt.exp: Likewise.
5416 * gdb.python/py-sync-interp.exp: Likewise.
5417 * gdb.server/ext-attach.exp: Likewise.
5419 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5421 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5422 command in testcase. Simplify testcase.
5424 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5426 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5428 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5430 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5432 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5434 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5436 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5438 * gdb.dwarf2/dynarr-ptr.c: New file.
5439 * gdb.dwarf2/dynarr-ptr.exp: New file.
5441 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5443 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5444 of 30 rather than hardcoding 120 for a slow test case. Take the
5445 `gdb,timeout' target setting into account for this calculation.
5446 Don't extend the timeout for the test cases that don't need it.
5448 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5450 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5451 a factor of 2 for a slow test case. Take the `gdb,timeout'
5452 target setting into account for this calculation.
5453 * gdb.reverse/until-precsave.exp: Increase the timeout by
5454 a factor of 15 and 3 respectively rather than adding 120
5455 for a pair of slow test cases. Take the `gdb,timeout'
5456 target setting into account for this calculation.
5458 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5460 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5461 timeout, don't pass one down to gdb_expect.
5462 (gdb_expect): Rework timeout selection.
5464 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5466 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5467 exception on timeout.
5468 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5469 (gdbserver_start_extended): Catch any `gdbserver_start' error
5471 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5472 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5473 `gdbserver_gdb_load' error exceptions.
5475 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5477 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5478 120 on waiting for the TCP socket to open.
5480 2014-09-09 Doug Evans <xdje42@gmail.com>
5482 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5483 _caller_matches, _any_caller_is, _any_caller_matches.
5485 2014-09-09 Doug Evans <xdje42@gmail.com>
5487 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5489 2014-09-09 Yao Qi <yao@codesourcery.com>
5491 * gdb.mi/mi-var-display.exp: Set print symbol off.
5493 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5496 * gdb.base/commands.exp: Add tests to verify user-defined
5497 commands with empty bodies.
5498 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5499 python commands in `show user command`.
5500 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5501 scheme commands in `show user command`.
5503 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5506 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5507 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5508 * gdb.python/py-framefilter-invalidarg.exp: New file.
5509 * gdb.python/py-framefilter-invalidarg.py: New file.
5511 2014-09-06 Doug Evans <xdje42@gmail.com>
5514 * gdb.python/py-caller-is.c: New file.
5515 * gdb.python/py-caller-is.exp: New file.
5517 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5520 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5521 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5523 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5526 * gdb.fortran/print-formatted.exp: New file.
5527 * gdb.fortran/print-formatted.f90: Likewise.
5529 2014-09-03 Sasha Smundak <asmundak@google.com>
5531 * gdb.python/py-frame.exp: Test Frame.read_register.
5533 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5536 * gdb.python/py-completion.exp: New file.
5537 * gdb.python/py-completion.py: Likewise.
5539 2014-08-28 Doug Evans <dje@google.com>
5541 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5542 eax,etc. are live with values set by gdb and thus the compiler can't
5544 * gdb.arch/i386-pseudo.c (main): Ditto.
5546 2014-08-27 Doug Evans <dje@google.com>
5548 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5550 2014-08-25 Doug Evans <dje@google.com>
5552 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5555 2014-08-25 Doug Evans <dje@google.com>
5557 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5559 2014-08-24 Yao Qi <yao@codesourcery.com>
5561 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5563 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5565 2014-08-22 Doug Evans <dje@google.com>
5568 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5569 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5570 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5572 2014-08-22 Yao Qi <yao@codesourcery.com>
5574 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5575 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5576 * gdb.python/python.exp: Likewise. Use .py file on the host
5577 instead of the build.
5579 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5581 * gdb.threads/gcore-stale-thread.c: New file.
5582 * gdb.threads/gcore-stale-thread.exp: New file.
5584 2014-08-21 Pedro Alves <palves@redhat.com>
5586 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5587 * gdb.base/gcore-relro-pie.exp: Likewise.
5588 * gdb.base/gcore-relro.exp: Likewise.
5589 * gdb.base/gcore.exp: Likewise.
5590 * gdb.base/print-symbol-loading.exp: Likewise.
5591 * gdb.threads/gcore-thread.exp: Likewise.
5592 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5594 2014-08-20 Pedro Alves <palves@redhat.com>
5595 Jan Kratochvil <jan.kratochvil@redhat.com>
5597 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5599 (EXPECT): Handle READ1 being set.
5600 (all): Depend on EXTRA_RULES.
5601 (check-read1, expect-read1, read1.so, read1): New rules.
5602 * README (Testsuite Parameters): Document the READ1 make variable.
5603 (Race detection): New section.
5604 * configure: Regenerate.
5605 * configure.ac: If build==host==target, and running under a
5606 GNU/glibc system, add read1 to the extra Makefile rules.
5607 (EXTRA_RULES): AC_SUBST it.
5608 * lib/read1.c: New file.
5610 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5612 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5613 the handling of variables declared as a typedef to an array
5614 which a DW_AT_data_location attribute.
5616 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5617 Pedro Alves <palves@redhat.com>
5621 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5624 2014-08-19 Pedro Alves <palves@redhat.com>
5626 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5628 2014-08-19 Yao Qi <yao@codesourcery.com>
5630 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5633 2014-08-18 David Blaikie <dblaikie@gmail.com>
5635 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5637 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5639 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5640 attribute in array range.
5642 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5644 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5646 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5649 * gdb.cp/pr17132.cc: New file.
5650 * gdb.cp/pr17132.exp: New file.
5652 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5654 * gdb.python/py-xmethods.py (A_getarrayind)
5655 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5656 Use 'print' with function call syntax.
5657 (E_method_matcher.match): Fix tab vs space indentation mixup.
5659 2014-08-15 Yao Qi <yao@codesourcery.com>
5661 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5664 2014-08-15 Yao Qi <yao@codesourcery.com>
5666 * gdb.cp/casts.exp: Set print symbol off.
5667 * gdb.cp/class2.exp: Likewise.
5668 * gdb.cp/overload.exp: Likewise.
5669 * gdb.cp/templates.exp: Likewise.
5671 2014-08-11 Doug Evans <dje@google.com>
5673 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5674 (test_load_shlib): Update.
5676 2014-08-09 Yao Qi <yao@codesourcery.com>
5678 * gdb.base/display.exp: Invoke is_address_zero_readable.
5679 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5680 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5681 * gdb.base/hbreak-unmapped.exp: Return if
5682 is_address_zero_readable returns true.
5683 * gdb.base/signest.exp: Likewise.
5684 * gdb.base/signull.exp: Likewise.
5685 * gdb.base/sigbpt.exp: Likewise.
5686 * gdb.guile/scm-disasm.exp: Do the test if
5687 is_address_zero_readable returns false.
5688 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5689 * gdb.python/py-arch.exp: Likewise.
5690 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5691 * lib/gdb.exp (is_address_zero_readable): New proc.
5693 2014-08-09 Yao Qi <yao@codesourcery.com>
5696 * gdb.mi/mi-var-display.exp: Make test messages unique.
5698 2014-08-04 Tom Tromey <tromey@redhat.com>
5700 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5703 2014-08-04 Tom Tromey <tromey@redhat.com>
5705 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5708 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5710 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5711 inner_vla_struct_object_size.
5712 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5715 2014-07-30 Pedro Alves <palves@redhat.com>
5717 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5720 2014-07-29 Yao Qi <yao@codesourcery.com>
5723 * gdb.base/until-nodebug.exp: New.
5725 2014-07-28 Doug Evans <xdje42@gmail.com>
5728 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5729 previously existing parameter, and previously ambiguously spelled
5732 2014-07-28 Will Newton <will.newton@linaro.org>
5734 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5736 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5737 Doug Evans <xdje42@gmail.com>
5740 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5742 2014-07-25 Pedro Alves <palves@redhat.com>
5744 * gdb.threads/signal-command-handle-nopass.c: New file.
5745 * gdb.threads/signal-command-handle-nopass.exp: New file.
5746 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5747 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5748 * gdb.threads/signal-delivered-right-thread.c: New file.
5749 * gdb.threads/signal-delivered-right-thread.exp: New file.
5751 2014-07-25 Pedro Alves <palves@redhat.com>
5753 * gdb.base/double-prompt-target-event-error.exp
5754 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5756 (cancel_pagination_in_target_event): Rework double prompt
5758 * gdb.base/paginate-after-ctrl-c-running.exp
5759 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5761 * gdb.base/paginate-bg-execution.exp
5762 (test_bg_execution_pagination_return)
5763 (test_bg_execution_pagination_cancel): Remove '-notransfer
5765 * gdb.base/paginate-execution-startup.exp
5766 (test_fg_execution_pagination_return)
5767 (test_fg_execution_pagination_cancel): Remove '-notransfer
5769 * gdb.base/paginate-inferior-exit.exp
5770 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5772 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5773 * lib/gdb.exp (pagination_prompt): Run text through
5775 (gdb_test_multiple): Match $pagination_prompt instead of
5777 (string_to_regexp): Move to lib/gdb-utils.exp.
5779 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5781 * gdb.arch/amd64-entry-value-paramref.S: New file.
5782 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5783 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5784 * gdb.arch/amd64-optimout-repeat.S: New file.
5785 * gdb.arch/amd64-optimout-repeat.c: New file.
5786 * gdb.arch/amd64-optimout-repeat.exp: New file.
5788 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5791 * gdb.base/statistics.exp: New file.
5793 2014-07-17 Doug Evans <dje@google.com>
5796 * gdb.base/maint.exp: Update testing of per-command stats.
5798 2014-07-16 Pedro Alves <palves@redhat.com>
5800 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5801 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5802 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5803 (tfile_write_buf): New functions.
5804 (add_memory_block): Rewrite using the above.
5805 (adjust_function_address): New function.
5806 (FUNCTION_ADDRESS): New macro.
5807 (write_basic_trace_file): Remove short_x local, and use
5808 tfile_write_16. Change type of func_addr local to unsigned long
5809 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5810 here. Cast argument of add_memory_block to char pointer.
5811 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5812 (main): Remove parameters.
5813 * gdb.trace/tfile.exp: Remove nowarnings.
5815 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5817 * gdb.base/debug-expr.exp: Test string evaluation with
5818 "debug expression" on.
5820 2014-07-15 Pedro Alves <palves@redhat.com>
5822 * gdb.base/reread.exp: Use clean_restart.
5824 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5826 * gdb.arch/avr-flash-qualifer.c: New.
5827 * gdb.arch/avr-flash-qualifer.exp: New.
5829 2014-07-14 Pedro Alves <palves@redhat.com>
5831 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5832 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5834 2014-07-14 Pedro Alves <palves@redhat.com>
5836 * gdb.base/double-prompt-target-event-error.c: New file.
5837 * gdb.base/double-prompt-target-event-error.exp: New file.
5839 2014-07-14 Pedro Alves <palves@redhat.com>
5842 * gdb.base/paginate-inferior-exit.c: New file.
5843 * gdb.base/paginate-inferior-exit.exp: New file.
5845 2014-07-14 Pedro Alves <palves@redhat.com>
5848 * gdb.base/paginate-bg-execution.c: New file.
5849 * gdb.base/paginate-bg-execution.exp: New file.
5851 2014-07-14 Pedro Alves <palves@redhat.com>
5854 * gdb.base/paginate-execution-startup.c: New file.
5855 * gdb.base/paginate-execution-startup.exp: New file.
5856 * lib/gdb.exp (pagination_prompt): New global.
5857 (default_gdb_spawn): New procedure, factored out from
5859 (default_gdb_start): Adjust to call default_gdb_spawn.
5860 (gdb_spawn): New procedure.
5862 2014-07-14 Pedro Alves <palves@redhat.com>
5864 * lib/gdb.exp (gdb_assert): New procedure.
5865 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5867 2014-07-14 Pedro Alves <palves@redhat.com>
5869 * gdb.base/execution-termios.c: New file.
5870 * gdb.base/execution-termios.exp: New file.
5872 2014-07-14 Tom Tromey <tromey@redhat.com>
5874 * gdb.cp/vla-cxx.cc: New file.
5875 * gdb.cp/vla-cxx.exp: New file.
5877 2014-07-14 Tom Tromey <tromey@redhat.com>
5879 * gdb.reverse/rerun-prec.c: New file.
5880 * gdb.reverse/rerun-prec.exp: New file.
5882 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5883 Maciej W. Rozycki <macro@codesourcery.com>
5885 * lib/gdb-utils.exp: New file.
5886 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5887 inline `gdb_init_command' processing.
5888 (gdb_start_cmd): Likewise.
5889 * lib/mi-support.exp (mi_run_cmd): Likewise.
5890 * README: Document `gdb_init_command' and `gdb_init_commands'.
5892 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5894 Fix false FAIL running under a very long directory name.
5895 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5896 and "set print elements 10000". Twice.
5898 2014-07-11 Yao Qi <yao@codesourcery.com>
5900 * gdb.base/exprs.exp: "set print symbol off".
5902 2014-07-11 Pedro Alves <palves@redhat.com>
5904 * gdb.threads/kill.c: New file.
5905 * gdb.threads/kill.exp: New file.
5907 2014-07-10 Yao Qi <yao@codesourcery.com>
5909 * gdb.trace/tfile.c (write_basic_trace_file)
5910 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5911 address written to trace file.
5913 2014-07-09 Pedro Alves <palves@redhat.com>
5915 * gdb.base/attach-wait-input.exp: New file.
5916 * gdb.base/attach-wait-input.c: New file.
5918 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5920 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5921 setting up test structures.
5922 (main): Call new test function.
5923 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5924 test function, continue into test function and walk test
5927 2014-07-02 Yao Qi <yao@codesourcery.com>
5929 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5930 'bar_start' at the beginning of functions 'foo' and 'bar'
5932 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5933 instead of 'foo' and 'bar'.
5935 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5937 * gdb.btrace/segv.exp: New.
5938 * gdb.btrace/segv.c: New.
5940 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5942 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5945 2014-06-30 Mark Wielaard <mjw@redhat.com>
5947 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5948 vulture, vilify, villar): New volatile array constants.
5949 (vindictive, vegetation): New const volatile array constants.
5950 * gdb.base/volatile.exp: Test volatile and const volatile array
5953 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5955 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5956 target lacks support for awatch, rwatch, or hbreak.
5958 2014-06-27 Yao Qi <yao@codesourcery.com>
5960 * gdb.multi/dummy-frame-restore.exp: New.
5961 * gdb.multi/dummy-frame-restore.c: New.
5963 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5965 * gdb.btrace/gcore.exp: New.
5967 2014-06-23 Pedro Alves <palves@redhat.com>
5969 * gdb.base/watchpoint-reuse-slot.c: New file.
5970 * gdb.base/watchpoint-reuse-slot.exp: New file.
5972 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5974 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5975 progspace's filename in 'info', 'enable' and 'disable' command
5978 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5980 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5981 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5982 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5984 2014-06-20 Gary Benson <gbenson@redhat.com>
5986 * gdb.arch/i386-avx.exp: Fix include file location.
5987 * gdb.arch/i386-sse.exp: Likewise.
5989 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5991 * gdb.dlang/expression.exp: New file.
5993 2014-06-19 Pedro Alves <palves@redhat.com>
5995 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5997 (top level): ... here. Iterate running tests under different
5998 scheduler-locking settings.
6000 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6002 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6003 to DW_FORM_addr and use non-zero addresses.
6005 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6008 * gdb.python/py-xmethods.cc: Add global function call counters and
6009 increment them in their respective functions. Remove "cout"
6011 * gdb.python/py-xmethods.exp: Make tests check the global function
6012 call counters instead of depending on inferior IO.
6014 2014-06-18 Don Breazeal <donb@codesourcery.com>
6016 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6018 (explicit_fork_parent_follow): Deleted procedure.
6019 (explicit_fork_child_follow): Deleted procedure.
6020 (test_follow_fork): New procedure.
6021 (do_fork_tests): Replace calls to deleted procedures with
6022 calls to test_follow_fork and reset GDB for subsequent
6025 2014-06-17 Yao Qi <yao@codesourcery.com>
6027 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6030 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6032 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6033 Initialize ptr and S explicitly.
6034 (skip_type_update_when_not_use_rtti_test): Likewise.
6036 2014-06-16 Keith Seitz <keiths@redhat.com>
6039 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6040 the inferior is started.
6042 2014-06-16 Pedro Alves <palves@redhat.com>
6044 * gdb.base/break-main-file-remove-fail.c: New file.
6045 * gdb.base/break-main-file-remove-fail.exp: New file.
6046 * gdb.base/break-unload-file.exp: Use build_executable instead of
6047 prepare_for_testing.
6048 (test_break): New parameter "initial_load". Handle it.
6049 (top level): Add initial_load cmdline/file axis.
6051 2014-06-12 Tom Tromey <tromey@redhat.com>
6053 * gdb.base/completion.exp: Don't use directory name in test.
6055 2014-06-09 Gary Benson <gbenson@redhat.com>
6057 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6058 separate the always-available ANSI-standard signals from the
6059 signals that require checking.
6061 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6065 2014-06-07 Keith Seitz <keiths@redhat.com>
6069 * gdb.cp/var-tag.cc: New file.
6070 * gdb.cp/var-tag.exp: New file.
6071 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6072 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6073 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6074 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6076 2014-06-06 Doug Evans <xdje42@gmail.com>
6078 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6080 2014-06-06 Pedro Alves <palves@redhat.com>
6082 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6083 in target debug output instead of looking at RSP packets,
6084 disabling the test on any target that uses hardware stepping.
6087 2014-06-06 Pedro Alves <palves@redhat.com>
6089 * gdb.base/break-unload-file.exp: Fix typo.
6091 2014-06-06 Yao Qi <yao@codesourcery.com>
6093 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6094 from "jit_function" to "^jit_function".
6096 2014-06-06 Yao Qi <yao@codesourcery.com>
6098 * gdb.base/async.c (foo): Add one statement.
6099 * gdb.base/async.exp: Get the next instruction address and
6100 match the output of "nexti" by instruction address. Match
6101 the hex address in the output of "finish".
6103 2014-06-06 Gary Benson <gbenson@redhat.com>
6105 * gdb.base/call-signals.c: Remove preprocessor conditionals
6106 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6107 SIGSEGV and SIGTERM.
6108 * gdb.base/sigall.c: Likewise.
6109 * gdb.base/unwindonsignal.c: Likewise.
6110 * gdb.reverse/sigall-reverse.c: Likewise.
6112 2014-06-06 Yao Qi <yao@codesourcery.com>
6114 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6115 readable, skip the test.
6117 2014-06-06 Yao Qi <yao@codesourcery.com>
6119 * gdb.threads/staticthreads.c (thread_function): Move the line
6120 setting breakpoint on forward.
6121 * gdb.threads/staticthreads.exp: Update comments.
6123 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6125 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6126 "history-append! type error".
6128 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6130 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6131 erroneous dprintf expected input.
6133 2014-06-04 Doug Evans <xdje42@gmail.com>
6135 * gdb.guile/scm-generics.exp: Delete.
6137 2014-06-04 Doug Evans <xdje42@gmail.com>
6139 * gdb.guile/scm-breakpoint.exp: Update.
6140 Add tests for breakpoint registration.
6142 2014-06-04 Tom Tromey <tromey@redhat.com>
6144 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6146 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6147 inner_vla_struct, vla_union types. Initialize objects of those
6148 types and compute their sizes.
6150 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6151 Hui Zhu <hui@codesourcery.com>
6153 * gdb.base/fileio.exp: Add test for shell not available as well as
6155 * gdb.base/fileio.c (test_system): Check for shell twice.
6157 2014-06-04 Yao Qi <yao@codesourcery.com>
6159 * gdb.base/auto-connect-native-target.exp: Remove redundant
6160 space from the regexp pattern.
6162 2014-06-04 Yao Qi <yao@codesourcery.com>
6164 * gdb.base/default.exp: Replace "child" with "native" in
6167 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6169 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6170 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6171 * gdb.python/py-xmethods.py: Python script supporting the
6172 new testcase and tests.
6174 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6175 Pedro Alves <palves@redhat.com>
6177 PR breakpoints/17000
6178 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6179 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6181 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6183 * gdb.base/subst.exp: Add tests to verify partial path matching
6186 2014-06-03 Pedro Alves <palves@redhat.com>
6188 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6189 target that doesn't use software single-stepping.
6191 2014-06-03 Pedro Alves <palves@redhat.com>
6193 PR breakpoints/17000
6194 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6195 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6197 2014-06-02 Doug Evans <xdje42@gmail.com>
6199 * gdb.guile/scm-parameter.exp: New file.
6201 2014-06-02 Doug Evans <xdje42@gmail.com>
6203 * gdb.guile/scm-cmd.c: New file.
6204 * gdb.guile/scm-cmd.exp: New file.
6206 2014-06-02 Doug Evans <xdje42@gmail.com>
6208 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6209 pretty-printer lookup.
6210 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6211 (make-pp_s-printer): Call it.
6212 (make-pretty-printer-from-dict): New function.
6213 (lookup-pretty-printer-maker-from-dict): New function.
6214 (*pretty-printer*): Simplify.
6215 (make-objfile-pp_s-printer): New function.
6216 (install-objfile-pretty-printers!): New function.
6217 (make-progspace-pp_s-printer): New function.
6218 (install-progspace-pretty-printers!): New function.
6219 * gdb.guile/scm-progspace.c: New file.
6220 * gdb.guile/scm-progspace.exp: New file.
6222 2014-06-02 Pedro Alves <palves@redhat.com>
6224 * gdb.base/dprintf-bp-same-addr.c: New file.
6225 * gdb.base/dprintf-bp-same-addr.exp: New file.
6227 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6229 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6230 * gdb.arch/powerpc-power.s: Likewise.
6232 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6234 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6236 2014-06-01 Yao Qi <yao@codesourcery.com>
6238 * gdb.base/watchpoint.exp (test_watch_location): Check null
6239 pointer can be dereferenced. If not, do the test, otherwise
6242 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6244 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6246 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6248 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6250 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6251 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6252 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6253 * gdb.arch/amd64-invalid-stack-top.c: New file.
6254 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6256 2014-05-30 Pedro Alves <palves@redhat.com>
6258 PR breakpoints/17000
6259 * gdb.base/sss-bp-on-user-bp.c: New file.
6260 * gdb.base/sss-bp-on-user-bp.exp: New file.
6262 2014-05-30 David Blaikie <dblaikie@gmail.com>
6264 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6265 gnu_inline semantics via attribute.
6266 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6267 source explicitly specifies the required semantics.
6269 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6271 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6273 2014-05-29 Pedro Alves <palves@redhat.com>
6274 Tom Tromey <tromey@redhat.com>
6276 * gdb.base/async-shell.exp: Don't enable target-async.
6277 * gdb.base/async.exp
6278 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6280 (top level): Don't test with "target-async".
6281 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6282 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6283 * gdb.base/inferior-died.exp: Don't enable target-async.
6284 * gdb.base/interrupt-noterm.exp: Likewise.
6285 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6286 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6287 * gdb.mi/mi-nonstop.exp: Likewise.
6288 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6289 * gdb.mi/mi-nsintrall.exp: Likewise.
6290 * gdb.mi/mi-nsmoribund.exp: Likewise.
6291 * gdb.mi/mi-nsthrexec.exp: Likewise.
6292 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6293 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6294 * gdb.python/py-evsignal.exp: Don't enable target-async.
6295 * gdb.python/py-evthreads.exp: Likewise.
6296 * gdb.python/py-prompt.exp: Likewise.
6297 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6298 * gdb.server/solib-list.exp: Don't enable target-async.
6299 * gdb.threads/thread-specific-bp.exp: Likewise.
6300 * lib/mi-support.exp: Adjust to use mi-async.
6302 2014-05-29 Pedro Alves <palves@redhat.com>
6305 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6306 reason, even in sync mode.
6308 2014-05-29 Pedro Alves <palves@redhat.com>
6309 Hui Zhu <hui@codesourcery.com>
6312 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6313 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6314 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6315 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6317 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6319 * config/monitor.exp (gdb_target_monitor): Replace use of
6320 "set remotebaud" by "set serial baud".
6322 2014-05-26 Andy Wingo <wingo@igalia.com>
6324 * gdb.guile/scm-breakpoint.exp:
6325 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6326 properties instead of gdb-object-properties.
6328 2014-05-26 Yao Qi <yao@codesourcery.com>
6330 * gdb.server/no-thread-db.exp: Specify source file name
6331 explicitly when setting a breakpoint.
6333 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6335 * gdb.btrace/vdso.c: New.
6336 * gdb.btrace/vdso.exp: New.
6338 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6340 * gdb.base/gcore.exp (capture_command_output): Move ...
6341 * lib/gdb.exp (capture_command_output): ... here.
6343 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6345 * gdb.btrace/data.exp: Test memory access during btrace replay.
6347 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6349 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6351 2014-05-21 Pedro Alves <palves@redhat.com>
6354 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6355 (top level): Test that output related to execution commands is
6356 sent to the console with CLI commands, but not with MI commands.
6357 Test that breakpoint events are always mirrored to the console.
6358 Also expect the new source line to be output after a "next" in
6359 async mode too. Make it a pass/fail test.
6360 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6362 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6364 2014-05-21 Pedro Alves <palves@redhat.com>
6366 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6367 Use them to test variations of "list" after reaching a breakpoint.
6368 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6369 Test "list" with listsize 10 after reaching a breakpoint.
6370 * gdb.python/python.exp (decode_line current location line
6371 number): Adjust expected line number.
6373 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6375 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6376 behavior for $args, pass it directly to "run".
6378 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6380 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6383 2014-05-21 Pedro Alves <palves@redhat.com>
6385 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6386 auto-connect-native-target off".
6387 * gdb.base/auto-connect-native-target.c: New file.
6388 * gdb.base/auto-connect-native-target.exp: New file.
6390 2014-05-21 Pedro Alves <palves@redhat.com>
6392 * gdb.base/default.exp: Test "target native" instead of "target
6395 2014-05-21 Mark Wielaard <mjw@redhat.com>
6397 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6399 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6401 Fix TLS access for -static -pthread.
6402 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6403 <HAVE_TLS> (thread_function, main): Initialize it.
6404 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6406 <$have_tls != "">: Check TLSVAR.
6408 2014-05-21 Pedro Alves <palves@redhat.com>
6410 * gdb.base/dcache-line-read-error.c: New.
6411 * gdb.base/dcache-line-read-error.exp: New.
6413 2014-05-20 Pedro Alves <palves@redhat.com>
6415 * gdb.base/compare-sections.c: New file.
6416 * gdb.base/compare-sections.exp: New file.
6418 2014-05-20 Pedro Alves <palves@redhat.com>
6420 * gdb.base/break-idempotent.c: New file.
6421 * gdb.base/break-idempotent.exp: New file.
6423 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6425 * gdb.btrace/nohist.exp: New.
6427 2014-05-20 Yao Qi <yao@codesourcery.com>
6429 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6430 gdb.reverse directory and gdb_reverse_timeout exists in board
6432 * README: Document gdb_reverse_timeout.
6434 2014-05-20 Yao Qi <yao@codesourcery.com>
6436 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6437 'test_file_name'. Treat args as a string instead of a list.
6438 (gdb_init): Rename argument 'args' by 'test_file_name'.
6440 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6442 * gdb.arch/powerpc-power.exp: New file.
6443 * gdb.arch/powerpc-power.s: New file.
6445 2014-05-16 Doug Evans <dje@google.com>
6447 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6448 * gdb.base/completion.exp: Check that all expected files exist
6449 before doing file completion.
6451 2014-05-16 Doug Evans <dje@google.com>
6453 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6455 (do_syscall_tests_without_xml): Update.
6457 2014-05-16 Pedro Alves <palves@redhat.com>
6459 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6460 instead of "unknown output after running".
6462 2014-05-16 Yao Qi <yao@codesourcery.com>
6464 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6465 file1.txt from host at the end.
6466 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6468 2014-05-15 Doug Evans <dje@google.com>
6470 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6471 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6472 loading file. Add test for TU lookup.
6474 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6476 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6477 calling "-exec-arguments" or "set args" before running the
6480 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6482 * lib/mi-support.exp (mi_expect_stop): Expect message for
6483 inferiors that exit with non-zero exit code.
6485 2014-05-14 Yao Qi <yao@codesourcery.com>
6487 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6488 match absolute path on remote host.
6489 (test_file_list_exec_source_files): Remove "/" from the
6492 2014-05-14 Yao Qi <yao@codesourcery.com>
6494 * boards/local-remote-host-notty.exp (${board}_file): New
6497 2014-05-07 Kyle McMartin <kyle@redhat.com>
6499 Pushed by Joel Brobecker <brobecker@adacore.com>.
6500 * gdb.arch/aarch64-atomic-inst.c: New file.
6501 * gdb.arch/aarch64-atomic-inst.exp: New file.
6503 2014-05-07 Yao Qi <yao@codesourcery.com>
6505 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6506 in current context" too.
6508 2014-05-05 Keith Seitz <keiths@redhat.com>
6510 * gdb.linespec/ls-dollar.exp: Add test for linespec
6511 file:convenience_variable.
6513 2014-05-05 Yao Qi <yao@codesourcery.com>
6515 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6516 traceframes into tfile and ctf trace files. Read data from
6517 trace file and test collected data.
6518 (gdb_collect_locals_test): Likewise.
6519 (gdb_unavailable_registers_test): Likewise.
6520 (gdb_unavailable_floats): Likewise.
6521 (gdb_collect_globals_test): Likewise.
6522 (top-level): Append "ctf" to trace_file_targets if GDB
6525 2014-05-05 Yao Qi <yao@codesourcery.com>
6527 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6529 (gdb_collect_args_test_1): ... it. New proc.
6530 (gdb_collect_locals_test): Move some code to ...
6531 (gdb_collect_locals_test_1): ... it. New proc.
6532 (gdb_unavailable_registers_test): Move some code to ...
6533 (gdb_unavailable_registers_test_1): ... it. New proc.
6534 (gdb_unavailable_floats): Move some code to ...
6535 (gdb_unavailable_floats_1): ... it. New proc.
6537 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6539 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6540 probes to test for bitness recognition.
6541 * gdb.arch/amd64-stap-optional-prefix.exp
6542 (test_probe_value_without_reg): New procedure.
6543 Add code to test for different kinds of bitness.
6545 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6547 PR breakpoints/16889
6548 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6549 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6551 2014-05-01 Pedro Alves <palves@redhat.com>
6553 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6554 gdb_file_cmd if no file is specified.
6555 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6556 last_loaded_file to set the remote exec-file.
6558 2014-05-01 Pedro Alves <palves@redhat.com>
6560 * boards/local-remote-host.exp: New file.
6562 2014-05-01 Pedro Alves <palves@redhat.com>
6564 * boards/local-remote-host.exp: Rename to ...
6565 * boards/local-remote-host-notty.exp: ... this.
6567 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6569 * gdb.ada/dyn_arrayidx: New testcase.
6571 2014-04-26 Yao Qi <yao@codesourcery.com>
6573 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6574 and compute the length of function main. Save it in
6576 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6577 (top-level): Use gdb_compile to compile objects into
6578 executable and restart GDB. Remove invocation to
6579 prepare_for_testing.
6581 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6582 Pedro Alves <palves@redhat.com>
6585 * gdb.multi/multi-attach.c: New file.
6586 * gdb.multi/multi-attach.exp: New file.
6588 2014-04-25 Pedro Alves <palves@redhat.com>
6590 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6592 (top level): Test that "set remote conditional-breakpoints-packet
6593 off" works as intended.
6594 * gdb.base/dprintf.exp: Test that "set remote
6595 breakpoint-commands-packet off" works as intended.
6596 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6598 (top level): Call it.
6599 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6600 remote fast-tracepoints-packet off" works as intended.
6601 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6602 * lib/gdb.exp (gdb_is_target_remote): ... here.
6604 2014-04-24 David Blaikie <dblaikie@gmail.com>
6606 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6607 ensure clang would not discard them.
6608 * gdb.base/gdbvars.c: Ditto.
6609 * gdb.base/memattr.c: Ditto.
6610 * gdb.base/whatis.c: Ditto.
6611 * gdb.python/py-prettyprint.c: Ditto.
6612 * gdb.trace/actions.c: Ditto.
6613 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6614 ensure clang would not discard it.
6616 2014-04-24 David Blaikie <dblaikie@gmail.com>
6618 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6619 clang to emit the full definition of type required by the test
6620 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6622 2014-04-24 David Blaikie <dblaikie@gmail.com>
6624 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6625 coax Clang into emitting the definition of the type.
6626 * gdb.cp/pr10728-x.h (y): Ditto.
6627 * gdb.cp/pr10728-y.cc (y): Ditto.
6629 2014-04-24 David Blaikie <dblaikie@gmail.com>
6631 * gdb.base/label.exp: XFAIL label related tests under Clang.
6632 * gdb.cp/cplabel.exp: Ditto.
6633 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6634 under Clang those using labels.
6636 2014-04-25 Yao Qi <yao@codesourcery.com>
6638 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6640 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6641 partial_label and double_label.
6643 2014-04-24 David Blaikie <dblaikie@gmail.com>
6645 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6647 2014-04-24 David Blaikie <dblaikie@gmail.com>
6649 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6650 of the function to work across GCC and Clang.
6651 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6652 pointer types (const void ** const V void **).
6654 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6655 Walfred Tedeschi <walfred.tedeschi@intel.com>
6657 * Makefile.in (EXECUTABLES): Added i386-avx512.
6658 * gdb.arch/i386-avx512.c: New file.
6659 * gdb.arch/i386-avx512.exp: Likewise.
6661 2014-04-23 Keith Seitz <keiths@redhat.com>
6663 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6664 (mi_make_breakpoint_table): New procedure.
6665 (mi_create_breakpoint): Use mi_make_breakpoint
6666 and return the result.
6667 (mi_make_breakpoint): New procedure.
6668 (mi_build_kv_pairs): New procedure.
6670 * gdb.mi/mi-break.exp: Remove unused globals,
6671 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6672 All callers updated.
6673 * gdb.mi/mi-dprintf.exp: Use variable to track command
6675 Update all callers of mi_create_breakpoint and use
6676 mi_make_breakpoint_table.
6677 Remove any unused global variables.
6678 * gdb.mi/mi-nonstop.exp: Likewise.
6679 * gdb.mi/mi-nsintrall.exp: Likewise.
6680 * gdb.mi/mi-nsmoribund.exp: Likewise.
6681 * gdb.mi/mi-nsthrexec.exp: Likewise.
6682 * gdb.mi/mi-reverse.exp: Likewise.
6683 * gdb.mi/mi-simplerun.exp: Likewise.
6684 * gdb.mi/mi-stepn.exp: Likewise.
6685 * gdb.mi/mi-syn-frame.exp: Likewise.
6686 * gdb.mi/mi-until.exp: Likewise.
6687 * gdb.mi/mi-var-cp.exp: Likewise.
6688 * gdb.mi/mi-var-display.exp: Likewise.
6689 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6690 * gdb.mi/mi2-var-child.exp: Likewise.
6691 * gdb.mi/mi-vla-c99.exp: Likewise.
6692 * lib/mi-support.exp: Likewise.
6694 From Ian Lance Taylor <iant@cygnus.com>:
6695 * lib/gdb.exp (parse_args): New procedure.
6697 2014-04-23 Pedro Alves <palves@redhat.com>
6699 * gdb.base/break-unload-file.c: New file.
6700 * gdb.base/break-unload-file.exp: New file.
6701 * gdb.base/sym-file-lib.c (baz): New function.
6702 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6704 (load): Store the segment's mapped size.
6705 (unload): New function.
6706 (unload_shlib): New function.
6707 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6708 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6709 set a breakpoint at baz, and call it.
6710 * gdb.base/sym-file.exp: New tests for stale breakpoint
6713 2014-04-23 Pedro Alves <palves@redhat.com>
6715 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6716 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6717 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6718 * gdb.base/hbreak-unmapped.c: New file.
6719 * gdb.base/hbreak-unmapped.exp: New file.
6720 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6721 * lib/gdb.exp (gdb_is_target_remote): ... here.
6723 2014-04-22 Pedro Alves <palves@redhat.com>
6725 * gdb.base/consecutive-step-over.c: New file.
6726 * gdb.base/consecutive-step-over.exp: New file.
6728 2014-04-22 Pedro Alves <palves@redhat.com>
6730 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6731 instead of send_gdb/gdb_expect.
6733 2014-04-22 Yao Qi <yao@codesourcery.com>
6735 * lib/trace-support.exp (generate_tracefile): New procedure.
6736 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6738 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6739 if generate_tracefile returns 1.
6741 2014-04-18 Tom Tromey <palves@redhat.com>
6742 Pedro alves <tromey@redhat.com>
6745 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6746 with a backtrace limit.
6747 * gdb.python/py-frame-inline.exp: Test running to an inline
6748 function with a backtrace limit, and printing the newest frame.
6749 * gdb.python/py-frame-inline.c (main): Call f.
6751 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6753 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6755 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6757 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6758 Drop prefix from unsupported source file path.
6760 2014-04-17 Yao Qi <yao@codesourcery.com>
6762 * lib/gdb.exp (with_target_charset): New proc.
6763 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6764 with_target_charset.
6765 (test_print_strings): Likewise.
6766 (test_repeat_bytes): Likewise.
6767 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6770 2014-04-16 Keith Seitz <keiths@redhat.com>
6773 * gdb.dwarf2/corrupt.c: New file.
6774 * gdb.dwarf2/corrupt.exp: New file.
6776 2014-04-16 Keith Seitz <keiths@redhat.com>
6779 * gdb.cp/namelessclass.cc: New file.
6780 * gdb.cp/namelessclass.exp: New file.
6781 * gdb.cp/namelessclass.S: New file.
6783 2014-04-16 Doug Evans <dje@google.com>
6785 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6787 (gdbserver_default_get_comm_port): New function.
6788 (gdbserver_start): Check if board file provided
6789 "gdbserver,get_comm_port" and use it if so.
6790 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6791 (gdb,socketport): Set to "stdio".
6792 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6793 (stdio_gdbserver_template): Delete.
6794 (${board}_get_remote_address): Update.
6795 (${board}_build_remote_cmd): Delete.
6796 (${board}_get_comm_port): New function.
6797 (${board}_spawn): Update.
6798 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6800 (${board}_get_remote_address): Update.
6801 (${board}_get_comm_port): New function.
6803 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6805 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6806 appearing in any order.
6808 2014-04-15 Doug Evans <dje@google.com>
6810 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6811 uninitialized value of "description".
6813 2014-04-15 Keith Seitz <keiths@redhat.com>
6815 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6816 Remove unused globals.
6817 (test_running_the_program): Likewise.
6818 (test_controlled_execution): Likewise.
6819 (test_controlling_breakpoints): Likewise.
6820 (test_program_termination): Likewise.
6822 2014-04-15 Keith Seitz <keiths@redhat.com>
6824 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6826 (test_rbreak_creation_and_listing): Likewise.
6827 (test_ignore_count): Likewise.
6828 (test_error): Likewise.
6830 2014-04-15 Pedro Alves <palves@redhat.com>
6832 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6833 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6835 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6836 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6837 to sym-file-loader.c.
6838 (struct library): Forward declare.
6839 (load_shlib, lookup_function): Change prototypes.
6840 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6841 (translate_offset): Remove declarations.
6842 (get_text_addr): New declaration.
6843 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6844 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6846 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6847 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6848 here from sym-file-loader.h.
6849 (struct library): New structure.
6850 (load_shlib, lookup_function): Change prototypes and adjust to
6851 work with a struct library.
6852 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6853 (translate_offset): Make static.
6854 (get_text_addr): New function.
6855 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6857 2014-04-15 Pedro Alves <palves@redhat.com>
6859 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6861 2014-04-15 Pedro Alves <palves@redhat.com>
6863 * gdb.base/sym-file-loader.c: Include <limits.h>.
6864 (SELF_LINK): New define.
6865 (get_origin): New function.
6866 (load_shlib): Use it.
6867 * gdb.base/sym-file.exp: Don't early return if the target is
6868 remote. Use runto_main, and issue fail is that fails. Use
6870 (shlib_name): Delete.
6871 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6873 2014-04-15 Pedro Alves <palves@redhat.com>
6875 * gdb.base/sym-file.exp: Remove regex characters from test
6876 message. Don't refer to breakpoint numbers in test messages.
6878 2014-04-14 Keith Seitz <keiths@redhat.com>
6881 * gdb.cp/var-tag.cc: New file.
6882 * gdb.cp/var-tag.exp: New file.
6883 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6884 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6885 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6886 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6888 2014-04-14 Tom Tromey <tromey@redhat.com>
6890 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6891 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6893 * gdb.cp/enum-class.exp: New file.
6894 * gdb.cp/enum-class.cc: New file.
6896 2014-04-14 Tom Tromey <tromey@redhat.com>
6898 * gdb.dwarf2/enum-type.exp: New file.
6900 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6902 * gdb.mi/mi-vla-c99.exp: New file.
6903 * gdb.mi/vla.c: New file.
6905 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6907 * gdb.base/vla-datatypes.c: New file.
6908 * gdb.base/vla-datatypes.exp: New file.
6910 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6912 * gdb.base/vla-ptr.c: New file.
6913 * gdb.base/vla-ptr.exp: New file.
6915 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6917 * gdb.dwarf2/count.exp: New file.
6919 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6921 * gdb.base/vla-sideeffect.c: New file.
6922 * gdb.base/vla-sideeffect.exp: New file.
6924 2014-04-14 David Blaikie <dblaikie@gmail.com>
6926 * gdb.mi/non-stop.c: Add return value for non-void function return
6928 * gdb.threads/staticthreads.c: Ditto.
6930 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6931 Doug Evans <xdje42@gmail.com>
6933 * gdb.guile/scm-value.c: Improve test case.
6934 * gdb.guile/scm-value.exp: Add new test.
6936 2014-04-11 David Blaikie <dblaikie@gmail.com>
6938 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6939 override Clang's default.
6941 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6943 Revert the following changes (regressions):
6945 * gdb.base/vla-sideeffect.c: New file.
6946 * gdb.base/vla-sideeffect.exp: New file.
6948 * gdb.dwarf2/count.exp: New file.
6950 * gdb.base/vla-multi.c: New file.
6951 * gdb.base/vla-multi.exp: New file.
6953 * gdb.base/vla-ptr.c: New file.
6954 * gdb.base/vla-ptr.exp: New file.
6956 * gdb.base/vla-datatypes.c: New file.
6957 * gdb.base/vla-datatypes.exp: New file.
6959 * gdb.mi/mi-vla-c99.exp: New file.
6960 * gdb.mi/vla.c: New file.
6962 2014-04-11 Keith Seitz <keiths@redhat.com>
6965 * gdb.cp/cpsizeof.exp: New file.
6966 * gdb.cp/cpsizeof.cc: New file.
6968 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6970 * gdb.mi/mi-vla-c99.exp: New file.
6971 * gdb.mi/vla.c: New file.
6973 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6975 * gdb.base/vla-datatypes.c: New file.
6976 * gdb.base/vla-datatypes.exp: New file.
6978 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6980 * gdb.base/vla-ptr.c: New file.
6981 * gdb.base/vla-ptr.exp: New file.
6983 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6985 * gdb.base/vla-multi.c: New file.
6986 * gdb.base/vla-multi.exp: New file.
6988 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6990 * gdb.dwarf2/count.exp: New file.
6992 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6994 * gdb.base/vla-sideeffect.c: New file.
6995 * gdb.base/vla-sideeffect.exp: New file.
6997 2014-04-11 Yao Qi <yao@codesourcery.com>
6999 * gdb.base/completion.exp: Check file exists before running tests
7002 2014-04-10 Pedro Alves <palves@redhat.com>
7004 * gdb.base/cond-eval-mode.c: New file.
7005 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7006 prepare_for_testing to build the new file. Check result of
7008 (test_break, test_watch): New procedures.
7009 (top level): Use them.
7011 2014-04-08 Pierre Muller <muller@sourceware.org>
7013 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7014 Ctrl-V use for mingw hosts.
7016 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7018 * gdb.python/py-value.c: Improve test case.
7019 * gdb.python/py-value.exp: Add new test.
7021 2014-04-07 David Blaikie <dblaikie@gmail.com>
7023 * lib/compiler.c: Identify the clang compiler.
7024 * lib/compiler.cc: Ditto.
7026 2014-04-03 Yao Qi <yao@codesourcery.com>
7028 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7030 2014-04-01 Anton Blanchard <anton@samba.org>
7032 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7035 2014-04-01 Anton Blanchard <anton@samba.org>
7037 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7038 prepare_for_testing.
7040 2014-04-01 Anton Blanchard <anton@samba.org>
7042 * gdb.arch/ppc64-atomic-inst.c: Remove.
7043 * gdb.arch/ppc64-atomic-inst.S: New file.
7044 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7046 2014-03-31 Doug Evans <dje@google.com>
7048 * gdb.base/print-symbol-loading-lib.c: New file.
7049 * gdb.base/print-symbol-loading-main.c: New file.
7050 * gdb.base/print-symbol-loading.exp: New file.
7052 2014-03-31 Yao Qi <yao@codesourcery.com>
7054 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7056 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7058 * gdb.ada/mi_dyn_arr: New testcase.
7060 2014-03-27 Doug Evans <dje@google.com>
7062 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7064 2014-03-27 Yao Qi <yao@codesourcery.com>
7066 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7067 if target is nios2-*-*.
7069 2014-03-26 Yao Qi <yao@codesourcery.com>
7071 * lib/gdb.exp (readline_is_used): New proc.
7072 * gdb.base/completion.exp: Move tests on command complete up.
7073 Skip the rest of tests if readline is not used.
7074 * gdb.ada/complete.exp: Skp the test if readline is not
7076 * gdb.base/filesym.exp: Likewise.
7077 * gdb.base/macscp.exp: Likewise.
7078 * gdb.base/readline-ask.exp: Likewise.
7079 * gdb.base/readline.exp: Likewise.
7080 * gdb.python/py-cmd.exp: Likewise.
7081 * gdb.trace/tfile.exp: Likewise.
7083 2014-03-26 Yao Qi <yao@codesourcery.com>
7085 * gdb.base/macscp.exp: Fix code format issues.
7087 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7089 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7090 * gdb.asm/powerpc64le.inc: New file.
7092 2014-03-25 Pedro Alves <palves@redhat.com>
7093 Doug Evans <dje@google.com>
7095 * gdb.base/source-execution.c: New file.
7096 * gdb.base/source-execution.exp: New file.
7097 * gdb.base/source-execution.gdb: New file.
7099 2014-03-24 Doug Evans <dje@google.com>
7101 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7104 2014-03-24 Hui Zhu <hui@codesourcery.com>
7105 Pedro Alves <palves@redhat.com>
7107 PR breakpoints/16101
7108 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7109 test pass/fail messages. Detect missing support for dprintf when
7110 breakpoints are actually inserted.
7111 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7112 breakpoints are actually inserted.
7113 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7116 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7118 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7120 2014-03-22 Doug Evans <xdje42@gmail.com>
7122 * gdb.python/python.exp (python not supported): Verify multi-line
7123 python command issues an error.
7124 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7125 guile command issues an error.
7127 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7129 * gdb.threads/thread-specific.exp: Handle the lack of usable
7130 $this_breakpoint and $this_thread.
7132 2014-03-21 Hui Zhu <hui@codesourcery.com>
7134 * gdb.base/attach.exp (do_command_attach_tests): New.
7136 2014-03-20 Tom Tromey <tromey@redhat.com>
7137 Pedro Alves <palves@redhat.com>
7140 * gdb.base/condbreak-call-false.c: New file.
7141 * gdb.base/condbreak-call-false.exp: New file.
7143 2014-03-20 Pedro Alves <palves@redhat.com>
7145 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7147 (block_signals, unblock_signals): Delete.
7148 (child_function_2, main): Remove references to deleted variable
7151 2014-03-20 Pedro Alves <palves@redhat.com>
7153 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7154 Use pthread_kill to signal thread 2.
7155 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7156 Adjust to make the test send itself a signal rather than using the
7157 host's "kill" command.
7159 2014-03-20 Pedro Alves <palves@redhat.com>
7161 * gdb.threads/multiple-step-overs.c: New file.
7162 * gdb.threads/multiple-step-overs.exp: New file.
7163 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7164 Adjust expected infrun debug output.
7166 2014-03-20 Pedro Alves <palves@redhat.com>
7168 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7169 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7171 2014-03-20 Pedro Alves <palves@redhat.com>
7174 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7175 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7176 of gdb_test_multiple.
7177 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7178 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7180 2014-03-20 Pedro Alves <palves@redhat.com>
7182 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7183 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7185 2014-03-19 Pedro Alves <palves@redhat.com>
7187 * gdb.base/async.exp: Remove early return.
7189 2014-03-19 Pedro Alves <palves@redhat.com>
7191 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7193 2014-03-19 Pedro Alves <palves@redhat.com>
7195 * gdb.base/async.exp (test_background): Expect \r\n after
7196 "completed." in the fail pattern.
7198 2014-03-19 Pedro Alves <palves@redhat.com>
7200 * gdb.base/async.exp (test_background): New procedure.
7201 Use it for all background execution command tests.
7203 2014-03-19 Pedro Alves <palves@redhat.com>
7205 * gdb.base/async.exp: Use prepare_for_testing.
7207 2014-03-19 Pedro Alves <palves@redhat.com>
7209 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7212 2014-03-19 Pedro Alves <palves@redhat.com>
7214 * gdb.base/async.c (main): Add "jump here" and "until here" line
7216 * gdb.base/async.exp (jump_here): New global.
7217 (jump& test): Use it.
7218 (until_here): New global.
7219 (until& test): Use it.
7221 2014-03-19 Pedro Alves <palves@redhat.com>
7223 * gdb.base/async.exp: Don't frob gdb_protocol.
7225 2014-03-18 Doug Evans <xdje42@gmail.com>
7227 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7228 Fix spelling of exec-done-display.
7230 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7233 * gdb.base/gdb-sigterm.c: New file.
7234 * gdb.base/gdb-sigterm.exp: New file.
7236 2014-03-18 Pedro Alves <palves@redhat.com>
7239 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7240 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7243 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7245 * gdb.ada/pckd_arr_ren: New testcase.
7247 2014-03-13 Doug Evans <xdje42@gmail.com>
7250 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7251 collect after discarding symbols.
7253 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7254 Doug Evans <xdje42@gmail.com>
7256 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7257 to history survives a gc.
7259 2014-03-13 Pedro Alves <palves@redhat.com>
7261 * gdb.base/default.exp: Don't test "target procfs".
7263 2014-03-13 Pedro Alves <palves@redhat.com>
7265 * gdb.base/default.exp: Update "target child" and "target procfs"
7266 tests to not expect "Unix".
7268 2014-03-12 Tom Tromey <tromey@redhat.com>
7270 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7271 New procs. Add target-async tests.
7272 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7273 Add target-async tests.
7275 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7277 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7278 'func_start' and 'func_end' for the beginning and end of the
7279 function code, respectively.
7280 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7281 'func_end' instead of 'func' and 'main'.
7283 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7285 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7286 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7287 generate the debug info assembler source.
7289 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7291 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7292 * gdb.dwarf2/arr-subrange.exp: Likewise.
7293 * gdb.dwarf2/dwz.exp: Likewise.
7294 * gdb.dwarf2/method-ptr.exp: Likewise.
7295 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7296 * gdb.dwarf2/subrange.exp: Likewise.
7297 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7298 * gdb.dwarf2/implptrpiece.exp: Likewise.
7299 * gdb.dwarf2/nostaticblock.exp: Likewise.
7301 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7303 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7304 directory to absolute path name arguments.
7306 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7308 * gdb.ada/tagged_access: New testcase.
7310 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7312 * gdb.btrace/data.exp: Update expected output.
7314 2014-03-06 Yao Qi <yao@codesourcery.com>
7316 * gdb.trace/pr16508.exp: New file.
7318 2014-03-05 Pedro Alves <palves@redhat.com>
7321 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7323 (top level): Adjust to use it. Add tests that exercise breakpoint
7324 interaction with the code-cache.
7326 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7328 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7329 test for 'history-append!'.
7331 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7333 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7334 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7335 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7336 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7337 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7338 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7340 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7342 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7343 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7344 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7346 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7348 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7350 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7352 * gdb.dwarf2/arr-stride.c: New file.
7353 * gdb.dwarf2/arr-stride.exp: New file.
7355 2014-02-26 Pedro Alves <palves@redhat.com>
7357 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7358 that won't ever trigger. Make sure that GDB reports the correct
7359 breakpoint that caused the stop.
7361 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7364 * gdb.base/auto-load-script: New file.
7365 * gdb.base/auto-load.c: New file.
7366 * gdb.base/auto-load.exp: New file.
7369 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7371 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7373 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7374 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7376 2014-02-24 Doug Evans <dje@google.com>
7378 * lib/gdb.exp (run_on_host): Log error output if program fails.
7380 2014-02-21 Pedro Alves <palves@redhat.com>
7382 * gdb.threads/step-after-sr-lock.c: Rename to ...
7383 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7384 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7385 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7388 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7391 * gdb.arch/amd64-stap-special-operands.exp: New file.
7392 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7393 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7394 * gdb.arch/amd64-stap-triplet.S: Likewise.
7395 * gdb.arch/amd64-stap-triplet.c: Likewise.
7397 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7399 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7400 in .section pseudo-op.
7402 2014-02-20 lin zuojian <manjian2006@gmail.com>
7403 Joel Brobecker <brobecker@adacore.com>
7404 Doug Evans <xdje42@gmail.com>
7407 * gdb.dwarf2/dw2-icycle.S: New file.
7408 * gdb.dwarf2/dw2-icycle.c: New file.
7409 * gdb.dwarf2/dw2-icycle.exp: New file.
7411 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7413 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7414 operations on gdb.Value objects.
7415 * gdb.python/py-value-cc.exp: Add new test to test operations on
7418 2014-02-18 Doug Evans <dje@google.com>
7420 * Makefile.in (TESTS): New variable.
7421 (expanded_tests, expanded_tests_or_none): New variables
7422 (check-single): Pass $(expanded_tests_or_none) to runtest.
7423 (check-parallel): Only run tests in $(TESTS) if non-empty.
7424 (check/no-matching-tests-found): New rule.
7425 * README: Document TESTS makefile variable.
7427 2014-02-18 Doug Evans <dje@google.com>
7429 * Makefile.in (check-parallel): rm -rf outputs temp.
7431 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7433 Fix "ERROR: no fileid for" in the testsuite.
7434 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7436 2014-02-12 Doug Evans <dje@google.com>
7438 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7439 (MISCELLANEOUS): New variable.
7440 (clean): rm -rf $(MISCELLANEOUS).
7441 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7442 dwp live in the same directory as symlinks, with each symlink pointed
7443 to a differently named file in a different directory.
7445 2014-02-11 Doug Evans <dje@google.com>
7447 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7448 of Tcl file commands.
7450 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7452 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7455 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7457 * gdb.ada/tick_length_array_enum_idx: New testcase.
7459 2014-02-10 Doug Evans <xdje42@gmail.com>
7461 * configure.ac (AC_OUTPUT): Add gdb.guile.
7462 * configure: Regenerate.
7463 * lib/gdb-guile.exp: New file.
7464 * lib/gdb.exp (get_target_charset): New function.
7465 * gdb.base/help.exp: Update expected output from "apropos apropos".
7466 * gdb.guile/Makefile.in: New file.
7467 * gdb.guile/guile.exp: New file.
7468 * gdb.guile/scm-arch.c: New file.
7469 * gdb.guile/scm-arch.exp: New file.
7470 * gdb.guile/scm-block.c: New file.
7471 * gdb.guile/scm-block.exp: New file.
7472 * gdb.guile/scm-breakpoint.c: New file.
7473 * gdb.guile/scm-breakpoint.exp: New file.
7474 * gdb.guile/scm-disasm.c: New file.
7475 * gdb.guile/scm-disasm.exp: New file.
7476 * gdb.guile/scm-equal.c: New file.
7477 * gdb.guile/scm-equal.exp: New file.
7478 * gdb.guile/scm-error.exp: New file.
7479 * gdb.guile/scm-error.scm: New file.
7480 * gdb.guile/scm-frame-args.c: New file.
7481 * gdb.guile/scm-frame-args.exp: New file.
7482 * gdb.guile/scm-frame-args.scm: New file.
7483 * gdb.guile/scm-frame-inline.c: New file.
7484 * gdb.guile/scm-frame-inline.exp: New file.
7485 * gdb.guile/scm-frame.c: New file.
7486 * gdb.guile/scm-frame.exp: New file.
7487 * gdb.guile/scm-generics.exp: New file.
7488 * gdb.guile/scm-gsmob.exp: New file.
7489 * gdb.guile/scm-iterator.c: New file.
7490 * gdb.guile/scm-iterator.exp: New file.
7491 * gdb.guile/scm-math.c: New file.
7492 * gdb.guile/scm-math.exp: New file.
7493 * gdb.guile/scm-objfile-script-gdb.in: New file.
7494 * gdb.guile/scm-objfile-script.c: New file.
7495 * gdb.guile/scm-objfile-script.exp: New file.
7496 * gdb.guile/scm-objfile.c: New file.
7497 * gdb.guile/scm-objfile.exp: New file.
7498 * gdb.guile/scm-ports.exp: New file.
7499 * gdb.guile/scm-pretty-print.c: New file.
7500 * gdb.guile/scm-pretty-print.exp: New file.
7501 * gdb.guile/scm-pretty-print.scm: New file.
7502 * gdb.guile/scm-section-script.c: New file.
7503 * gdb.guile/scm-section-script.exp: New file.
7504 * gdb.guile/scm-section-script.scm: New file.
7505 * gdb.guile/scm-symbol.c: New file.
7506 * gdb.guile/scm-symbol.exp: New file.
7507 * gdb.guile/scm-symtab-2.c: New file.
7508 * gdb.guile/scm-symtab.c: New file.
7509 * gdb.guile/scm-symtab.exp: New file.
7510 * gdb.guile/scm-type.c: New file.
7511 * gdb.guile/scm-type.exp: New file.
7512 * gdb.guile/scm-value-cc.cc: New file.
7513 * gdb.guile/scm-value-cc.exp: New file.
7514 * gdb.guile/scm-value.c: New file.
7515 * gdb.guile/scm-value.exp: New file.
7516 * gdb.guile/source2.scm: New file.
7517 * gdb.guile/types-module.cc: New file.
7518 * gdb.guile/types-module.exp: New file.
7520 2014-02-10 Yao Qi <yao@codesourcery.com>
7523 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7524 * configure: Regenerated.
7525 * Makefile.in: New file.
7527 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7529 * gdb.python/py-framefilter.exp: Fix typo.
7531 2014-02-08 Yao Qi <yao@codesourcery.com>
7533 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7534 that no =breakpoint-modified is emitted when breakpoints are
7535 modified through MI commands.
7537 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7538 Pedro Alves <palves@redhat.com>
7540 * gdb.threads/step-after-sr-lock.c: New file.
7541 * gdb.threads/step-after-sr-lock.exp: New file.
7543 2014-02-07 Pedro Alves <palves@redhat.com>
7545 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7547 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7549 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7550 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7552 2014-02-06 Doug Evans <xdje42@gmail.com>
7554 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7557 * gdb.gdb/python-interrupts.exp: New file.
7559 2014-02-05 Yao Qi <yao@codesourcery.com>
7561 * gdb.trace/report.exp (use_collected_data): Test the output
7562 of "info threads" and "info inferiors".
7564 2014-02-05 Yao Qi <yao@codesourcery.com>
7568 2013-05-24 Yao Qi <yao@codesourcery.com>
7570 * gdb.trace/tfile.exp: Test inferior and thread.
7572 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7574 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7576 * gdb.base/step-bt.c: Call hello via function pointer to make
7577 sure its first instruction is executed on powerpc64le-linux.
7579 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7581 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7583 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7585 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7586 of the test patterns for use on little-endian systems.
7588 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7590 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7591 (decimal_vector): Fix for little-endian.
7593 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7595 * gdb.arch/sparc-sysstep.exp: New file.
7596 * gdb.arch/sparc-sysstep.c: Likewise.
7598 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7600 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7602 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7604 2014-01-23 Tom Tromey <tromey@redhat.com>
7606 * gdb.ada/array_char_idx: New testcase.
7608 2014-01-23 Tom Tromey <tromey@redhat.com>
7611 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7612 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7615 2014-01-23 Tom Tromey <tromey@redhat.com>
7618 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7619 string from an inferior frame.
7620 * gdb.python/py-framefilter-mi.exp: Update.
7622 2014-01-22 Doug Evans <dje@google.com>
7624 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7626 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7628 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7630 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7632 * gdb.trace/entry-values.exp: Remove excess space character from
7633 regex patterns. Handle s390 call instruction.
7635 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7637 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7638 define "*_start" label. Make "name" static.
7639 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7640 ${name} by references to ${name}_start.
7642 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7644 * gdb.base/info-macros.exp: Remove "debug" from the compile
7647 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7649 * gdb.dlang/demangle.exp: New file.
7651 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7653 * gdb.dlang/primitive-types.exp: New file.
7655 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7657 * configure.ac: Create gdb.dlang/Makefile.
7658 * configure: Regenerate.
7659 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7660 * gdb.dlang/Makefile.in: New file.
7661 * lib/d-support.exp: New file.
7662 * lib/gdb.exp (skip_d_tests): New proc.
7664 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7666 * gdb.btrace/delta.exp: Check reverse stepi.
7667 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7668 * gdb.btrace/finish.exp: New.
7669 * gdb.btrace/next.exp: New.
7670 * gdb.btrace/nexti.exp: New.
7671 * gdb.btrace/record_goto.c: Add comments.
7672 * gdb.btrace/step.exp: New.
7673 * gdb.btrace/stepi.exp: New.
7674 * gdb.btrace/multi-thread-step.c: New.
7675 * gdb.btrace/multi-thread-step.exp: New.
7676 * gdb.btrace/rn-dl-bind.c: New.
7677 * gdb.btrace/rn-dl-bind.exp: New.
7678 * gdb.btrace/data.c: New.
7679 * gdb.btrace/data.exp: New.
7680 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7682 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7684 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7685 * gdb.btrace/exception.exp: Update.
7686 * gdb.btrace/instruction_history.exp: Update.
7687 * gdb.btrace/record_goto.exp: Update.
7688 * gdb.btrace/tailcall.exp: Update.
7689 * gdb.btrace/unknown_functions.exp: Update.
7690 * gdb.btrace/delta.exp: New.
7692 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7694 * gdb.btrace/record_goto.exp: Add backtrace test.
7695 * gdb.btrace/tailcall.exp: Add backtrace test.
7697 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7699 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7700 * gdb.btrace/record_goto.c: New.
7701 * gdb.btrace/record_goto.exp: New.
7702 * gdb.btrace/x86-record_goto.S: New.
7704 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7706 * gdb.btrace/function_call_history.exp: Update tests.
7707 * gdb.btrace/instruction_history.exp: Update tests.
7709 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7711 * gdb.btrace/function_call_history.exp: Fix expected field
7712 order for "record function-call-history".
7713 Add new tests for "record function-call-history /c".
7714 * gdb.btrace/exception.cc: New.
7715 * gdb.btrace/exception.exp: New.
7716 * gdb.btrace/tailcall.exp: New.
7717 * gdb.btrace/x86-tailcall.S: New.
7718 * gdb.btrace/x86-tailcall.c: New.
7719 * gdb.btrace/unknown_functions.c: New.
7720 * gdb.btrace/unknown_functions.exp: New.
7721 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7725 * gdb.btrace/instruction_history.exp: Update.
7726 * gdb.btrace/function_call_history.exp: Update.
7728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7730 * gdb.btrace/function_call_history.exp: Fix expected function
7732 * gdb.btrace/instruction_history.exp: Initialize traced.
7733 Remove traced_functions.
7735 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7737 * gdb.btrace/function_call_history.exp: Update
7738 * gdb.btrace/instruction_history.exp: Update.
7740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7742 * gdb.btrace/enable.exp: Update expected text.
7744 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7746 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7749 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7751 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7753 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7755 * lib/gdb.exp (supports_process_record): Return true for
7756 arm*-linux*. (supports_reverse): Likewise.
7758 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7762 * gdb.python/py-type.c: Enhance test case.
7763 * gdb.python/py-value-cc.cc: Likewise
7764 * gdb.python/py-type.exp: Add new tests.
7765 * gdb.python/py-value-cc.exp: Likewise
7767 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7768 Pedro Alves <palves@redhat.com>
7770 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7772 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7773 references to ${name}_start by references to ${name}.
7775 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7777 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7779 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7781 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7783 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7784 Pedro Alves <palves@redhat.com>
7786 * gdb.mi/mi-info-os.exp: Connect to the target with
7789 2014-01-08 Pedro Alves <palves@redhat.com>
7791 * gdb.threads/reconnect-signal.c: New file.
7792 * gdb.threads/reconnect-signal.exp: New file.
7794 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7796 * gdb.base/source-dir.exp: New file.
7798 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7800 * gdb.ada/mi_interface: New testcase.
7802 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7804 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7805 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7806 gdb.ada/pp-rec-component/pck.ads: New files.
7808 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7810 * gdb.python/py-pp-integral.c: New file.
7811 * gdb.python/py-pp-integral.py: New file.
7812 * gdb.python/py-pp-integral.exp: New file.
7814 For older changes see ChangeLog-1993-2013.
7820 ;; version-control: never
7823 Copyright 2014-2016 Free Software Foundation, Inc.
7824 Copying and distribution of this file, with or without modification,
7825 are permitted provided the copyright notice and this notice are preserved.