1 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5 (initialize): New function conditionally defined.
6 (testcases): Move within conditional block.
7 (main): Call initialize.
8 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9 of gdb.reverse/insn-reverse.c.
10 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11 gdb.reverse/insn-reverse.c.
13 2017-01-26 Yao Qi <yao.qi@linaro.org>
15 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
16 disassemble on address 0.
18 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
19 Yao Qi <yao.qi@linaro.org>
21 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
22 * gdb.dwarf2/implptr-64bit.S: Remove.
23 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
24 variables in caller's context. Add DW_OP_implicit_value.
26 2017-01-25 Yao Qi <yao.qi@linaro.org>
28 * lib/dwarf.exp (Dwarf::_location): Handle
29 DW_OP_GNU_implicit_pointer with proper size.
31 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
33 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
34 and add untested calls.
36 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
38 * gdb.python/python.exp: Check line number against what GDB thinks
39 the line number is for func1.
41 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
43 * gdb.dlang/debug-expr.exp: New file.
45 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
47 Fix test names for the following files:
49 * gdb.ada/exec_changed.exp
50 * gdb.ada/info_types.exp
51 * gdb.arch/aarch64-atomic-inst.exp
52 * gdb.arch/aarch64-fp.exp
53 * gdb.arch/altivec-abi.exp
54 * gdb.arch/altivec-regs.exp
55 * gdb.arch/amd64-byte.exp
56 * gdb.arch/amd64-disp-step.exp
57 * gdb.arch/amd64-dword.exp
58 * gdb.arch/amd64-entry-value-inline.exp
59 * gdb.arch/amd64-entry-value-param.exp
60 * gdb.arch/amd64-entry-value-paramref.exp
61 * gdb.arch/amd64-entry-value.exp
62 * gdb.arch/amd64-i386-address.exp
63 * gdb.arch/amd64-invalid-stack-middle.exp
64 * gdb.arch/amd64-invalid-stack-top.exp
65 * gdb.arch/amd64-optimout-repeat.exp
66 * gdb.arch/amd64-prologue-skip.exp
67 * gdb.arch/amd64-prologue-xmm.exp
68 * gdb.arch/amd64-stap-special-operands.exp
69 * gdb.arch/amd64-stap-wrong-subexp.exp
70 * gdb.arch/amd64-tailcall-cxx.exp
71 * gdb.arch/amd64-tailcall-noret.exp
72 * gdb.arch/amd64-tailcall-ret.exp
73 * gdb.arch/amd64-tailcall-self.exp
74 * gdb.arch/amd64-word.exp
75 * gdb.arch/arm-bl-branch-dest.exp
76 * gdb.arch/arm-disp-step.exp
77 * gdb.arch/arm-neon.exp
78 * gdb.arch/arm-single-step-kernel-helper.exp
79 * gdb.arch/avr-flash-qualifier.exp
80 * gdb.arch/disp-step-insn-reloc.exp
81 * gdb.arch/e500-abi.exp
82 * gdb.arch/e500-regs.exp
83 * gdb.arch/ftrace-insn-reloc.exp
84 * gdb.arch/i386-avx512.exp
85 * gdb.arch/i386-bp_permanent.exp
86 * gdb.arch/i386-byte.exp
87 * gdb.arch/i386-cfi-notcurrent.exp
88 * gdb.arch/i386-disp-step.exp
89 * gdb.arch/i386-dr3-watch.exp
90 * gdb.arch/i386-float.exp
91 * gdb.arch/i386-gnu-cfi.exp
92 * gdb.arch/i386-mpx-map.exp
93 * gdb.arch/i386-mpx-sigsegv.exp
94 * gdb.arch/i386-mpx-simple_segv.exp
95 * gdb.arch/i386-mpx.exp
96 * gdb.arch/i386-permbkpt.exp
97 * gdb.arch/i386-prologue.exp
98 * gdb.arch/i386-signal.exp
99 * gdb.arch/i386-size-overlap.exp
100 * gdb.arch/i386-unwind.exp
101 * gdb.arch/i386-word.exp
102 * gdb.arch/mips-fcr.exp
103 * gdb.arch/powerpc-d128-regs.exp
104 * gdb.arch/powerpc-stackless.exp
105 * gdb.arch/ppc64-atomic-inst.exp
106 * gdb.arch/s390-stackless.exp
107 * gdb.arch/s390-tdbregs.exp
108 * gdb.arch/s390-vregs.exp
109 * gdb.arch/sparc-sysstep.exp
110 * gdb.arch/thumb-bx-pc.exp
111 * gdb.arch/thumb-singlestep.exp
112 * gdb.arch/thumb2-it.exp
113 * gdb.arch/vsx-regs.exp
114 * gdb.asm/asm-source.exp
115 * gdb.base/a2-run.exp
116 * gdb.base/advance.exp
117 * gdb.base/all-bin.exp
120 * gdb.base/arithmet.exp
121 * gdb.base/async-shell.exp
123 * gdb.base/attach-pie-noexec.exp
124 * gdb.base/attach-twice.exp
125 * gdb.base/auto-load.exp
127 * gdb.base/bitfields.exp
128 * gdb.base/break-always.exp
129 * gdb.base/break-caller-line.exp
130 * gdb.base/break-entry.exp
131 * gdb.base/break-inline.exp
132 * gdb.base/break-on-linker-gcd-function.exp
133 * gdb.base/break-probes.exp
135 * gdb.base/breakpoint-shadow.exp
136 * gdb.base/call-ar-st.exp
137 * gdb.base/call-sc.exp
138 * gdb.base/call-signal-resume.exp
139 * gdb.base/call-strs.exp
140 * gdb.base/callfuncs.exp
141 * gdb.base/catch-fork-static.exp
142 * gdb.base/catch-gdb-caused-signals.exp
143 * gdb.base/catch-load.exp
144 * gdb.base/catch-signal-fork.exp
145 * gdb.base/catch-signal.exp
146 * gdb.base/catch-syscall.exp
147 * gdb.base/charset.exp
148 * gdb.base/checkpoint.exp
149 * gdb.base/chng-syms.exp
150 * gdb.base/code-expr.exp
151 * gdb.base/code_elim.exp
152 * gdb.base/commands.exp
153 * gdb.base/completion.exp
154 * gdb.base/complex.exp
155 * gdb.base/cond-expr.exp
156 * gdb.base/condbreak.exp
157 * gdb.base/consecutive.exp
158 * gdb.base/continue-all-already-running.exp
159 * gdb.base/coredump-filter.exp
160 * gdb.base/corefile.exp
162 * gdb.base/debug-expr.exp
163 * gdb.base/define.exp
165 * gdb.base/disabled-location.exp
166 * gdb.base/disasm-end-cu.exp
167 * gdb.base/disasm-optim.exp
168 * gdb.base/display.exp
169 * gdb.base/duplicate-bp.exp
170 * gdb.base/ena-dis-br.exp
171 * gdb.base/ending-run.exp
172 * gdb.base/enumval.exp
173 * gdb.base/environ.exp
174 * gdb.base/eu-strip-infcall.exp
175 * gdb.base/eval-avoid-side-effects.exp
176 * gdb.base/eval-skip.exp
177 * gdb.base/exitsignal.exp
178 * gdb.base/expand-psymtabs.exp
179 * gdb.base/filesym.exp
180 * gdb.base/find-unmapped.exp
181 * gdb.base/finish.exp
183 * gdb.base/foll-exec-mode.exp
184 * gdb.base/foll-exec.exp
185 * gdb.base/foll-fork.exp
186 * gdb.base/fortran-sym-case.exp
187 * gdb.base/freebpcmd.exp
188 * gdb.base/func-ptr.exp
189 * gdb.base/func-ptrs.exp
190 * gdb.base/funcargs.exp
191 * gdb.base/gcore-buffer-overflow.exp
192 * gdb.base/gcore-relro-pie.exp
193 * gdb.base/gcore-relro.exp
195 * gdb.base/gdb1090.exp
196 * gdb.base/gdb11530.exp
197 * gdb.base/gdb11531.exp
198 * gdb.base/gdb1821.exp
199 * gdb.base/gdbindex-stabs.exp
200 * gdb.base/gdbvars.exp
201 * gdb.base/hbreak.exp
202 * gdb.base/hbreak2.exp
203 * gdb.base/included.exp
204 * gdb.base/infcall-input.exp
205 * gdb.base/inferior-died.exp
206 * gdb.base/infnan.exp
207 * gdb.base/info-macros.exp
208 * gdb.base/info-os.exp
209 * gdb.base/info-proc.exp
210 * gdb.base/info-shared.exp
211 * gdb.base/info-target.exp
212 * gdb.base/infoline.exp
213 * gdb.base/interp.exp
214 * gdb.base/interrupt.exp
215 * gdb.base/jit-reader.exp
216 * gdb.base/jit-simple.exp
217 * gdb.base/kill-after-signal.exp
218 * gdb.base/kill-detach-inferiors-cmd.exp
221 * gdb.base/ldbl_e308.exp
222 * gdb.base/line-symtabs.exp
223 * gdb.base/linespecs.exp
225 * gdb.base/long_long.exp
226 * gdb.base/longest-types.exp
228 * gdb.base/max-value-size.exp
229 * gdb.base/memattr.exp
230 * gdb.base/mips_pro.exp
231 * gdb.base/morestack.exp
232 * gdb.base/moribund-step.exp
233 * gdb.base/multi-forks.exp
234 * gdb.base/nested-addr.exp
235 * gdb.base/nextoverexit.exp
236 * gdb.base/noreturn-finish.exp
237 * gdb.base/noreturn-return.exp
238 * gdb.base/nostdlib.exp
239 * gdb.base/offsets.exp
240 * gdb.base/opaque.exp
242 * gdb.base/permissions.exp
243 * gdb.base/print-symbol-loading.exp
244 * gdb.base/prologue-include.exp
245 * gdb.base/psymtab.exp
247 * gdb.base/random-signal.exp
248 * gdb.base/randomize.exp
249 * gdb.base/range-stepping.exp
250 * gdb.base/readline-ask.exp
251 * gdb.base/recpar.exp
252 * gdb.base/recurse.exp
253 * gdb.base/relational.exp
254 * gdb.base/restore.exp
255 * gdb.base/return-nodebug.exp
256 * gdb.base/return.exp
257 * gdb.base/run-after-attach.exp
258 * gdb.base/save-bp.exp
260 * gdb.base/sect-cmd.exp
261 * gdb.base/set-lang-auto.exp
262 * gdb.base/set-noassign.exp
263 * gdb.base/setvar.exp
264 * gdb.base/sigall.exp
265 * gdb.base/sigbpt.exp
266 * gdb.base/siginfo-addr.exp
267 * gdb.base/siginfo-infcall.exp
268 * gdb.base/siginfo-obj.exp
269 * gdb.base/siginfo.exp
270 * gdb.base/signals-state-child.exp
271 * gdb.base/signest.exp
272 * gdb.base/sigstep.exp
273 * gdb.base/sizeof.exp
275 * gdb.base/solib-corrupted.exp
276 * gdb.base/solib-nodir.exp
277 * gdb.base/solib-search.exp
278 * gdb.base/stack-checking.exp
279 * gdb.base/stale-infcall.exp
280 * gdb.base/stap-probe.exp
282 * gdb.base/step-break.exp
283 * gdb.base/step-bt.exp
284 * gdb.base/step-line.exp
285 * gdb.base/step-over-exit.exp
286 * gdb.base/step-over-syscall.exp
287 * gdb.base/step-resume-infcall.exp
288 * gdb.base/step-test.exp
290 * gdb.base/structs3.exp
291 * gdb.base/sym-file.exp
292 * gdb.base/symbol-without-target_section.exp
294 * gdb.base/testenv.exp
295 * gdb.base/ui-redirect.exp
297 * gdb.base/unwindonsignal.exp
298 * gdb.base/value-double-free.exp
299 * gdb.base/vla-datatypes.exp
300 * gdb.base/vla-ptr.exp
301 * gdb.base/vla-sideeffect.exp
302 * gdb.base/volatile.exp
303 * gdb.base/watch-cond-infcall.exp
304 * gdb.base/watch-cond.exp
305 * gdb.base/watch-non-mem.exp
306 * gdb.base/watch-read.exp
307 * gdb.base/watch-vfork.exp
308 * gdb.base/watchpoint-cond-gone.exp
309 * gdb.base/watchpoint-delete.exp
310 * gdb.base/watchpoint-hw-hit-once.exp
311 * gdb.base/watchpoint-hw.exp
312 * gdb.base/watchpoint-stops-at-right-insn.exp
313 * gdb.base/watchpoints.exp
315 * gdb.base/whatis-exp.exp
316 * gdb.btrace/buffer-size.exp
317 * gdb.btrace/data.exp
318 * gdb.btrace/delta.exp
319 * gdb.btrace/dlopen.exp
320 * gdb.btrace/enable.exp
321 * gdb.btrace/exception.exp
322 * gdb.btrace/function_call_history.exp
323 * gdb.btrace/gcore.exp
324 * gdb.btrace/instruction_history.exp
325 * gdb.btrace/nohist.exp
326 * gdb.btrace/reconnect.exp
327 * gdb.btrace/record_goto-step.exp
328 * gdb.btrace/record_goto.exp
329 * gdb.btrace/rn-dl-bind.exp
330 * gdb.btrace/segv.exp
331 * gdb.btrace/step.exp
332 * gdb.btrace/stepi.exp
333 * gdb.btrace/tailcall-only.exp
334 * gdb.btrace/tailcall.exp
336 * gdb.btrace/unknown_functions.exp
337 * gdb.btrace/vdso.exp
338 * gdb.compile/compile-ifunc.exp
339 * gdb.compile/compile-ops.exp
340 * gdb.compile/compile-print.exp
341 * gdb.compile/compile-setjmp.exp
342 * gdb.cp/abstract-origin.exp
343 * gdb.cp/ambiguous.exp
347 * gdb.cp/anon-struct.exp
348 * gdb.cp/anon-union.exp
349 * gdb.cp/arg-reference.exp
350 * gdb.cp/baseenum.exp
352 * gdb.cp/breakpoint.exp
356 * gdb.cp/chained-calls.exp
359 * gdb.cp/cmpd-minsyms.exp
360 * gdb.cp/converts.exp
361 * gdb.cp/cp-relocate.exp
362 * gdb.cp/cpcompletion.exp
365 * gdb.cp/cplusfuncs.exp
366 * gdb.cp/cpsizeof.exp
368 * gdb.cp/derivation.exp
369 * gdb.cp/destrprint.exp
371 * gdb.cp/enum-class.exp
372 * gdb.cp/exception.exp
373 * gdb.cp/exceptprint.exp
374 * gdb.cp/expand-psymtabs-cxx.exp
375 * gdb.cp/expand-sals.exp
376 * gdb.cp/extern-c.exp
377 * gdb.cp/filename.exp
378 * gdb.cp/formatted-ref.exp
379 * gdb.cp/fpointer.exp
383 * gdb.cp/impl-this.exp
384 * gdb.cp/infcall-dlopen.exp
386 * gdb.cp/iostream.exp
390 * gdb.cp/m-static.exp
392 * gdb.cp/mb-inline.exp
393 * gdb.cp/mb-templates.exp
394 * gdb.cp/member-name.exp
395 * gdb.cp/member-ptr.exp
396 * gdb.cp/meth-typedefs.exp
399 * gdb.cp/minsym-fallback.exp
401 * gdb.cp/namelessclass.exp
402 * gdb.cp/namespace-enum.exp
403 * gdb.cp/namespace-nested-import.exp
404 * gdb.cp/namespace.exp
405 * gdb.cp/nextoverthrow.exp
406 * gdb.cp/no-dmgl-verbose.exp
407 * gdb.cp/non-trivial-retval.exp
410 * gdb.cp/nsimport.exp
411 * gdb.cp/nsnested.exp
412 * gdb.cp/nsnoimports.exp
413 * gdb.cp/nsrecurs.exp
414 * gdb.cp/nsstress.exp
416 * gdb.cp/operator.exp
417 * gdb.cp/oranking.exp
418 * gdb.cp/overload-const.exp
419 * gdb.cp/overload.exp
420 * gdb.cp/ovldbreak.exp
422 * gdb.cp/paren-type.exp
423 * gdb.cp/parse-lang.exp
424 * gdb.cp/pass-by-ref.exp
435 * gdb.cp/printmethod.exp
437 * gdb.cp/psymtab-parameter.exp
438 * gdb.cp/ptype-cv-cp.exp
439 * gdb.cp/ptype-flags.exp
440 * gdb.cp/re-set-overloaded.exp
441 * gdb.cp/ref-types.exp
443 * gdb.cp/scope-err.exp
446 * gdb.cp/static-method.exp
447 * gdb.cp/static-print-quit.exp
449 * gdb.cp/templates.exp
450 * gdb.cp/try_catch.exp
451 * gdb.cp/typedef-operator.exp
454 * gdb.cp/using-crash.exp
456 * gdb.cp/virtbase.exp
457 * gdb.cp/virtfunc.exp
458 * gdb.cp/virtfunc2.exp
460 * gdb.disasm/t01_mov.exp
461 * gdb.disasm/t02_mova.exp
462 * gdb.disasm/t03_add.exp
463 * gdb.disasm/t04_sub.exp
464 * gdb.disasm/t05_cmp.exp
465 * gdb.disasm/t06_ari2.exp
466 * gdb.disasm/t07_ari3.exp
467 * gdb.disasm/t08_or.exp
468 * gdb.disasm/t09_xor.exp
469 * gdb.disasm/t10_and.exp
470 * gdb.disasm/t11_logs.exp
471 * gdb.disasm/t12_bit.exp
472 * gdb.disasm/t13_otr.exp
473 * gdb.dlang/circular.exp
474 * gdb.dwarf2/arr-stride.exp
475 * gdb.dwarf2/arr-subrange.exp
476 * gdb.dwarf2/atomic-type.exp
477 * gdb.dwarf2/bad-regnum.exp
478 * gdb.dwarf2/bitfield-parent-optimized-out.exp
479 * gdb.dwarf2/callframecfa.exp
480 * gdb.dwarf2/clztest.exp
481 * gdb.dwarf2/corrupt.exp
482 * gdb.dwarf2/data-loc.exp
483 * gdb.dwarf2/dup-psym.exp
484 * gdb.dwarf2/dw2-anon-mptr.exp
485 * gdb.dwarf2/dw2-anonymous-func.exp
486 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
487 * gdb.dwarf2/dw2-bad-unresolved.exp
488 * gdb.dwarf2/dw2-basic.exp
489 * gdb.dwarf2/dw2-canonicalize-type.exp
490 * gdb.dwarf2/dw2-case-insensitive.exp
491 * gdb.dwarf2/dw2-common-block.exp
492 * gdb.dwarf2/dw2-compdir-oldgcc.exp
493 * gdb.dwarf2/dw2-compressed.exp
494 * gdb.dwarf2/dw2-const.exp
495 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
496 * gdb.dwarf2/dw2-cu-size.exp
497 * gdb.dwarf2/dw2-dup-frame.exp
498 * gdb.dwarf2/dw2-entry-value.exp
499 * gdb.dwarf2/dw2-icycle.exp
500 * gdb.dwarf2/dw2-ifort-parameter.exp
501 * gdb.dwarf2/dw2-inline-break.exp
502 * gdb.dwarf2/dw2-inline-param.exp
503 * gdb.dwarf2/dw2-intercu.exp
504 * gdb.dwarf2/dw2-intermix.exp
505 * gdb.dwarf2/dw2-lexical-block-bare.exp
506 * gdb.dwarf2/dw2-linkage-name-trust.exp
507 * gdb.dwarf2/dw2-minsym-in-cu.exp
508 * gdb.dwarf2/dw2-noloc.exp
509 * gdb.dwarf2/dw2-op-call.exp
510 * gdb.dwarf2/dw2-op-out-param.exp
511 * gdb.dwarf2/dw2-opt-structptr.exp
512 * gdb.dwarf2/dw2-param-error.exp
513 * gdb.dwarf2/dw2-producer.exp
514 * gdb.dwarf2/dw2-ranges-base.exp
515 * gdb.dwarf2/dw2-ref-missing-frame.exp
516 * gdb.dwarf2/dw2-reg-undefined.exp
517 * gdb.dwarf2/dw2-regno-invalid.exp
518 * gdb.dwarf2/dw2-restore.exp
519 * gdb.dwarf2/dw2-restrict.exp
520 * gdb.dwarf2/dw2-single-line-discriminators.exp
521 * gdb.dwarf2/dw2-strp.exp
522 * gdb.dwarf2/dw2-undefined-ret-addr.exp
523 * gdb.dwarf2/dw2-unresolved.exp
524 * gdb.dwarf2/dw2-var-zero-addr.exp
525 * gdb.dwarf2/dw4-sig-types.exp
527 * gdb.dwarf2/dynarr-ptr.exp
528 * gdb.dwarf2/enum-type.exp
529 * gdb.dwarf2/gdb-index.exp
530 * gdb.dwarf2/implptr-64bit.exp
531 * gdb.dwarf2/implptr-optimized-out.exp
532 * gdb.dwarf2/implptr.exp
533 * gdb.dwarf2/implref-array.exp
534 * gdb.dwarf2/implref-const.exp
535 * gdb.dwarf2/implref-global.exp
536 * gdb.dwarf2/implref-struct.exp
537 * gdb.dwarf2/mac-fileno.exp
538 * gdb.dwarf2/main-subprogram.exp
539 * gdb.dwarf2/member-ptr-forwardref.exp
540 * gdb.dwarf2/method-ptr.exp
541 * gdb.dwarf2/missing-sig-type.exp
542 * gdb.dwarf2/nonvar-access.exp
543 * gdb.dwarf2/opaque-type-lookup.exp
544 * gdb.dwarf2/pieces-optimized-out.exp
545 * gdb.dwarf2/pieces.exp
546 * gdb.dwarf2/pr10770.exp
547 * gdb.dwarf2/pr13961.exp
548 * gdb.dwarf2/staticvirtual.exp
549 * gdb.dwarf2/subrange.exp
550 * gdb.dwarf2/symtab-producer.exp
551 * gdb.dwarf2/trace-crash.exp
552 * gdb.dwarf2/typeddwarf.exp
553 * gdb.dwarf2/valop.exp
554 * gdb.dwarf2/watch-notconst.exp
555 * gdb.fortran/array-element.exp
556 * gdb.fortran/charset.exp
557 * gdb.fortran/common-block.exp
558 * gdb.fortran/complex.exp
559 * gdb.fortran/derived-type-function.exp
560 * gdb.fortran/derived-type.exp
561 * gdb.fortran/logical.exp
562 * gdb.fortran/module.exp
563 * gdb.fortran/multi-dim.exp
564 * gdb.fortran/nested-funcs.exp
565 * gdb.fortran/print-formatted.exp
566 * gdb.fortran/subarray.exp
567 * gdb.fortran/vla-alloc-assoc.exp
568 * gdb.fortran/vla-datatypes.exp
569 * gdb.fortran/vla-history.exp
570 * gdb.fortran/vla-ptr-info.exp
571 * gdb.fortran/vla-ptype-sub.exp
572 * gdb.fortran/vla-ptype.exp
573 * gdb.fortran/vla-sizeof.exp
574 * gdb.fortran/vla-type.exp
575 * gdb.fortran/vla-value-sub-arbitrary.exp
576 * gdb.fortran/vla-value-sub-finish.exp
577 * gdb.fortran/vla-value-sub.exp
578 * gdb.fortran/vla-value.exp
579 * gdb.fortran/whatis_type.exp
581 * gdb.go/handcall.exp
583 * gdb.go/integers.exp
589 * gdb.guile/scm-arch.exp
590 * gdb.guile/scm-block.exp
591 * gdb.guile/scm-breakpoint.exp
592 * gdb.guile/scm-cmd.exp
593 * gdb.guile/scm-disasm.exp
594 * gdb.guile/scm-equal.exp
595 * gdb.guile/scm-frame-args.exp
596 * gdb.guile/scm-frame-inline.exp
597 * gdb.guile/scm-frame.exp
598 * gdb.guile/scm-iterator.exp
599 * gdb.guile/scm-math.exp
600 * gdb.guile/scm-objfile.exp
601 * gdb.guile/scm-ports.exp
602 * gdb.guile/scm-symbol.exp
603 * gdb.guile/scm-symtab.exp
604 * gdb.guile/scm-value-cc.exp
605 * gdb.guile/types-module.exp
606 * gdb.linespec/break-ask.exp
607 * gdb.linespec/cpexplicit.exp
608 * gdb.linespec/explicit.exp
609 * gdb.linespec/keywords.exp
610 * gdb.linespec/linespec.exp
611 * gdb.linespec/ls-dollar.exp
612 * gdb.linespec/ls-errs.exp
613 * gdb.linespec/skip-two.exp
614 * gdb.linespec/thread.exp
615 * gdb.mi/mi-async.exp
616 * gdb.mi/mi-basics.exp
617 * gdb.mi/mi-break.exp
618 * gdb.mi/mi-catch-load.exp
620 * gdb.mi/mi-cmd-param-changed.exp
621 * gdb.mi/mi-console.exp
622 * gdb.mi/mi-detach.exp
623 * gdb.mi/mi-disassemble.exp
625 * gdb.mi/mi-file-transfer.exp
627 * gdb.mi/mi-fill-memory.exp
628 * gdb.mi/mi-inheritance-syntax-error.exp
629 * gdb.mi/mi-linespec-err-cp.exp
630 * gdb.mi/mi-logging.exp
631 * gdb.mi/mi-memory-changed.exp
632 * gdb.mi/mi-read-memory.exp
633 * gdb.mi/mi-record-changed.exp
634 * gdb.mi/mi-reg-undefined.exp
636 * gdb.mi/mi-return.exp
637 * gdb.mi/mi-reverse.exp
638 * gdb.mi/mi-simplerun.exp
639 * gdb.mi/mi-solib.exp
640 * gdb.mi/mi-stack.exp
641 * gdb.mi/mi-stepi.exp
642 * gdb.mi/mi-syn-frame.exp
643 * gdb.mi/mi-until.exp
644 * gdb.mi/mi-var-block.exp
645 * gdb.mi/mi-var-child.exp
646 * gdb.mi/mi-var-cmd.exp
647 * gdb.mi/mi-var-cp.exp
648 * gdb.mi/mi-var-display.exp
649 * gdb.mi/mi-var-invalidate.exp
650 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
651 * gdb.mi/mi-vla-fortran.exp
652 * gdb.mi/mi-watch.exp
653 * gdb.mi/mi2-var-child.exp
654 * gdb.mi/user-selected-context-sync.exp
655 * gdb.modula2/unbounded-array.exp
656 * gdb.multi/dummy-frame-restore.exp
657 * gdb.multi/multi-arch-exec.exp
658 * gdb.multi/multi-arch.exp
660 * gdb.multi/watchpoint-multi.exp
661 * gdb.opencl/callfuncs.exp
662 * gdb.opencl/convs_casts.exp
663 * gdb.opencl/datatypes.exp
664 * gdb.opencl/operators.exp
665 * gdb.opencl/vec_comps.exp
666 * gdb.opt/clobbered-registers-O2.exp
667 * gdb.opt/inline-break.exp
668 * gdb.opt/inline-bt.exp
669 * gdb.opt/inline-cmds.exp
670 * gdb.opt/inline-locals.exp
671 * gdb.pascal/case-insensitive-symbols.exp
672 * gdb.pascal/floats.exp
673 * gdb.pascal/gdb11492.exp
674 * gdb.python/lib-types.exp
675 * gdb.python/py-arch.exp
676 * gdb.python/py-as-string.exp
677 * gdb.python/py-bad-printers.exp
678 * gdb.python/py-block.exp
679 * gdb.python/py-breakpoint-create-fail.exp
680 * gdb.python/py-breakpoint.exp
681 * gdb.python/py-caller-is.exp
682 * gdb.python/py-cmd.exp
683 * gdb.python/py-explore-cc.exp
684 * gdb.python/py-explore.exp
685 * gdb.python/py-finish-breakpoint.exp
686 * gdb.python/py-finish-breakpoint2.exp
687 * gdb.python/py-frame-args.exp
688 * gdb.python/py-frame-inline.exp
689 * gdb.python/py-frame.exp
690 * gdb.python/py-framefilter-mi.exp
691 * gdb.python/py-infthread.exp
692 * gdb.python/py-lazy-string.exp
693 * gdb.python/py-linetable.exp
694 * gdb.python/py-mi-events.exp
695 * gdb.python/py-mi-objfile.exp
696 * gdb.python/py-mi.exp
697 * gdb.python/py-objfile.exp
698 * gdb.python/py-pp-integral.exp
699 * gdb.python/py-pp-maint.exp
700 * gdb.python/py-pp-re-notag.exp
701 * gdb.python/py-pp-registration.exp
702 * gdb.python/py-recurse-unwind.exp
703 * gdb.python/py-strfns.exp
704 * gdb.python/py-symbol.exp
705 * gdb.python/py-symtab.exp
706 * gdb.python/py-sync-interp.exp
707 * gdb.python/py-typeprint.exp
708 * gdb.python/py-unwind-maint.exp
709 * gdb.python/py-unwind.exp
710 * gdb.python/py-value-cc.exp
711 * gdb.python/py-xmethods.exp
712 * gdb.reverse/amd64-tailcall-reverse.exp
713 * gdb.reverse/break-precsave.exp
714 * gdb.reverse/break-reverse.exp
715 * gdb.reverse/consecutive-precsave.exp
716 * gdb.reverse/consecutive-reverse.exp
717 * gdb.reverse/finish-precsave.exp
718 * gdb.reverse/finish-reverse-bkpt.exp
719 * gdb.reverse/finish-reverse.exp
720 * gdb.reverse/fstatat-reverse.exp
721 * gdb.reverse/getresuid-reverse.exp
722 * gdb.reverse/i386-precsave.exp
723 * gdb.reverse/i386-reverse.exp
724 * gdb.reverse/i386-sse-reverse.exp
725 * gdb.reverse/i387-env-reverse.exp
726 * gdb.reverse/i387-stack-reverse.exp
727 * gdb.reverse/insn-reverse.exp
728 * gdb.reverse/machinestate-precsave.exp
729 * gdb.reverse/machinestate.exp
730 * gdb.reverse/next-reverse-bkpt-over-sr.exp
731 * gdb.reverse/pipe-reverse.exp
732 * gdb.reverse/readv-reverse.exp
733 * gdb.reverse/recvmsg-reverse.exp
734 * gdb.reverse/rerun-prec.exp
735 * gdb.reverse/s390-mvcle.exp
736 * gdb.reverse/step-precsave.exp
737 * gdb.reverse/step-reverse.exp
738 * gdb.reverse/time-reverse.exp
739 * gdb.reverse/until-precsave.exp
740 * gdb.reverse/until-reverse.exp
741 * gdb.reverse/waitpid-reverse.exp
742 * gdb.reverse/watch-precsave.exp
743 * gdb.reverse/watch-reverse.exp
744 * gdb.rust/generics.exp
745 * gdb.rust/methods.exp
746 * gdb.rust/modules.exp
747 * gdb.rust/simple.exp
748 * gdb.server/connect-with-no-symbol-file.exp
749 * gdb.server/ext-attach.exp
750 * gdb.server/ext-restart.exp
751 * gdb.server/ext-wrapper.exp
752 * gdb.server/file-transfer.exp
753 * gdb.server/server-exec-info.exp
754 * gdb.server/server-kill.exp
755 * gdb.server/server-mon.exp
756 * gdb.server/wrapper.exp
757 * gdb.stabs/exclfwd.exp
758 * gdb.stabs/gdb11479.exp
759 * gdb.threads/clone-new-thread-event.exp
760 * gdb.threads/corethreads.exp
761 * gdb.threads/current-lwp-dead.exp
762 * gdb.threads/dlopen-libpthread.exp
763 * gdb.threads/gcore-thread.exp
764 * gdb.threads/sigstep-threads.exp
765 * gdb.threads/watchpoint-fork.exp
766 * gdb.trace/actions-changed.exp
767 * gdb.trace/backtrace.exp
768 * gdb.trace/change-loc.exp
770 * gdb.trace/collection.exp
771 * gdb.trace/disconnected-tracing.exp
772 * gdb.trace/ftrace.exp
773 * gdb.trace/mi-trace-frame-collected.exp
774 * gdb.trace/mi-trace-unavailable.exp
775 * gdb.trace/mi-traceframe-changed.exp
776 * gdb.trace/mi-tsv-changed.exp
777 * gdb.trace/no-attach-trace.exp
778 * gdb.trace/passc-dyn.exp
780 * gdb.trace/range-stepping.exp
781 * gdb.trace/read-memory.exp
782 * gdb.trace/save-trace.exp
783 * gdb.trace/signal.exp
784 * gdb.trace/status-stop.exp
785 * gdb.trace/tfile.exp
786 * gdb.trace/trace-break.exp
787 * gdb.trace/trace-buffer-size.exp
788 * gdb.trace/trace-condition.exp
789 * gdb.trace/tracefile-pseudo-reg.exp
790 * gdb.trace/tstatus.exp
791 * gdb.trace/unavailable.exp
792 * gdb.trace/while-dyn.exp
793 * gdb.trace/while-stepping.exp
795 2016-12-22 Doug Evans <xdje42@gmail.com>
797 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
800 2016-12-19 Yao Qi <yao.qi@linaro.org>
802 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
803 (test_with_self): Don't call do_steps_and_nexts, and remove
804 code about stepping into xmalloc.
806 2016-12-09 Yao Qi <yao.qi@linaro.org>
808 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
810 2016-12-09 Yao Qi <yao.qi@linaro.org>
812 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
814 2016-12-09 Pedro Alves <palves@redhat.com>
816 * gdb.base/all-architectures-0.exp: New file.
817 * gdb.base/all-architectures-1.exp: New file.
818 * gdb.base/all-architectures-2.exp: New file.
819 * gdb.base/all-architectures-3.exp: New file.
820 * gdb.base/all-architectures-4.exp: New file.
821 * gdb.base/all-architectures-5.exp: New file.
822 * gdb.base/all-architectures-6.exp: New file.
823 * gdb.base/all-architectures-7.exp: New file.
824 * gdb.base/all-architectures.exp.in: New file.
826 2016-12-09 Yao Qi <yao.qi@linaro.org>
828 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
830 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
832 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
834 Remove useless pattern-matching code.
836 2016-12-02 Pedro Alves <palves@redhat.com>
838 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
840 (top level): Call it.
842 2016-12-02 Pedro Alves <palves@redhat.com>
844 * gdb.base/commands.exp (user_defined_command_args_stack_test):
846 (top level): Call it.
848 2016-12-02 Pedro Alves <palves@redhat.com>
851 * gdb.base/commands.exp (user_defined_command_args_eval): New
853 (top level): Call it.
855 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
857 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
860 2016-12-02 Tom Tromey <tom@tromey.com>
862 * gdb.dwarf2/main-subprogram.c: New file.
863 * gdb.dwarf2/main-subprogram.exp: New file.
865 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
867 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
868 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
869 gdb_test_no_output for a couple of cases.
870 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
872 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
874 Fix test names and standardize compilation error messages throughout
878 * gdb.arch/alpha-step.exp
879 * gdb.arch/e500-prologue.exp
880 * gdb.arch/ftrace-insn-reloc.exp
881 * gdb.arch/gdb1291.exp
882 * gdb.arch/gdb1431.exp
883 * gdb.arch/gdb1558.exp
884 * gdb.arch/i386-dr3-watch.exp
885 * gdb.arch/i386-sse-stack-align.exp
886 * gdb.arch/ia64-breakpoint-shadow.exp
887 * gdb.arch/pa-nullify.exp
888 * gdb.arch/powerpc-aix-prologue.exp
889 * gdb.arch/thumb-bx-pc.exp
890 * gdb.base/annota1.exp
891 * gdb.base/annota3.exp
892 * gdb.base/arrayidx.exp
893 * gdb.base/assign.exp
894 * gdb.base/attach.exp
897 * gdb.base/bfp-test.exp
898 * gdb.base/bigcore.exp
899 * gdb.base/bitfields2.exp
900 * gdb.base/break-fun-addr.exp
901 * gdb.base/break-probes.exp
902 * gdb.base/call-rt-st.exp
903 * gdb.base/callexit.exp
904 * gdb.base/catch-fork-kill.exp
905 * gdb.base/charset.exp
906 * gdb.base/checkpoint.exp
907 * gdb.base/comprdebug.exp
908 * gdb.base/constvars.exp
909 * gdb.base/coredump-filter.exp
910 * gdb.base/cursal.exp
911 * gdb.base/cvexpr.exp
912 * gdb.base/detach.exp
913 * gdb.base/display.exp
915 * gdb.base/dprintf-pending.exp
916 * gdb.base/dso2dso.exp
917 * gdb.base/dtrace-probe.exp
919 * gdb.base/enum_cond.exp
920 * gdb.base/exe-lock.exp
921 * gdb.base/exec-invalid-sysroot.exp
922 * gdb.base/execl-update-breakpoints.exp
924 * gdb.base/fileio.exp
926 * gdb.base/finish.exp
927 * gdb.base/fixsection.exp
928 * gdb.base/foll-vfork.exp
929 * gdb.base/frame-args.exp
931 * gdb.base/gdb1250.exp
932 * gdb.base/global-var-nested-by-dso.exp
933 * gdb.base/gnu-ifunc.exp
934 * gdb.base/hashline1.exp
935 * gdb.base/hashline2.exp
936 * gdb.base/hashline3.exp
937 * gdb.base/hbreak-in-shr-unsupported.exp
939 * gdb.base/infcall-input.exp
940 * gdb.base/info-fun.exp
941 * gdb.base/info-shared.exp
942 * gdb.base/jit-simple.exp
943 * gdb.base/jit-so.exp
947 * gdb.base/lineinc.exp
948 * gdb.base/logical.exp
949 * gdb.base/longjmp.exp
950 * gdb.base/macscp.exp
951 * gdb.base/miscexprs.exp
952 * gdb.base/new-ui-echo.exp
953 * gdb.base/new-ui-pending-input.exp
954 * gdb.base/new-ui.exp
955 * gdb.base/nodebug.exp
956 * gdb.base/nofield.exp
957 * gdb.base/offsets.exp
958 * gdb.base/overlays.exp
959 * gdb.base/pending.exp
960 * gdb.base/pointers.exp
961 * gdb.base/pr11022.exp
962 * gdb.base/printcmds.exp
963 * gdb.base/prologue.exp
964 * gdb.base/ptr-typedef.exp
965 * gdb.base/realname-expand.exp
966 * gdb.base/relativedebug.exp
967 * gdb.base/relocate.exp
968 * gdb.base/remote.exp
969 * gdb.base/reread.exp
970 * gdb.base/return2.exp
971 * gdb.base/savedregs.exp
973 * gdb.base/sepdebug.exp
974 * gdb.base/sepsymtab.exp
975 * gdb.base/set-inferior-tty.exp
976 * gdb.base/setshow.exp
977 * gdb.base/shlib-call.exp
978 * gdb.base/sigaltstack.exp
979 * gdb.base/siginfo-addr.exp
980 * gdb.base/signals.exp
981 * gdb.base/signull.exp
982 * gdb.base/sigrepeat.exp
983 * gdb.base/so-impl-ld.exp
984 * gdb.base/solib-display.exp
985 * gdb.base/solib-overlap.exp
986 * gdb.base/solib-search.exp
987 * gdb.base/solib-symbol.exp
988 * gdb.base/structs.exp
989 * gdb.base/structs2.exp
990 * gdb.base/symtab-search-order.exp
992 * gdb.base/unload.exp
993 * gdb.base/varargs.exp
994 * gdb.base/watchpoint-solib.exp
995 * gdb.base/watchpoint.exp
996 * gdb.base/whatis.exp
997 * gdb.base/wrong_frame_bt_full.exp
998 * gdb.btrace/dlopen.exp
999 * gdb.cell/ea-standalone.exp
1000 * gdb.cell/ea-test.exp
1001 * gdb.cp/dispcxx.exp
1002 * gdb.cp/gdb2384.exp
1003 * gdb.cp/method2.exp
1004 * gdb.cp/nextoverthrow.exp
1005 * gdb.cp/pr10728.exp
1006 * gdb.disasm/am33.exp
1007 * gdb.disasm/h8300s.exp
1008 * gdb.disasm/mn10300.exp
1009 * gdb.disasm/sh3.exp
1010 * gdb.dwarf2/dw2-dir-file-name.exp
1011 * gdb.fortran/complex.exp
1012 * gdb.fortran/library-module.exp
1013 * gdb.guile/scm-pretty-print.exp
1014 * gdb.guile/scm-symbol.exp
1015 * gdb.guile/scm-type.exp
1016 * gdb.guile/scm-value.exp
1017 * gdb.linespec/linespec.exp
1020 * gdb.mi/mi-breakpoint-changed.exp
1021 * gdb.mi/mi-dprintf-pending.exp
1022 * gdb.mi/mi-dprintf.exp
1023 * gdb.mi/mi-exit-code.exp
1024 * gdb.mi/mi-pending.exp
1025 * gdb.mi/mi-solib.exp
1026 * gdb.mi/new-ui-mi-sync.exp
1027 * gdb.mi/pr11022.exp
1028 * gdb.mi/user-selected-context-sync.exp
1029 * gdb.opt/solib-intra-step.exp
1030 * gdb.python/py-events.exp
1031 * gdb.python/py-finish-breakpoint.exp
1032 * gdb.python/py-mi.exp
1033 * gdb.python/py-prettyprint.exp
1034 * gdb.python/py-shared.exp
1035 * gdb.python/py-symbol.exp
1036 * gdb.python/py-template.exp
1037 * gdb.python/py-type.exp
1038 * gdb.python/py-value.exp
1039 * gdb.reverse/solib-precsave.exp
1040 * gdb.reverse/solib-reverse.exp
1041 * gdb.server/solib-list.exp
1042 * gdb.stabs/weird.exp
1043 * gdb.threads/reconnect-signal.exp
1044 * gdb.threads/stepi-random-signal.exp
1045 * gdb.trace/actions.exp
1047 * gdb.trace/backtrace.exp
1048 * gdb.trace/change-loc.exp
1049 * gdb.trace/deltrace.exp
1050 * gdb.trace/ftrace-lock.exp
1051 * gdb.trace/ftrace.exp
1052 * gdb.trace/infotrace.exp
1053 * gdb.trace/mi-tracepoint-changed.exp
1054 * gdb.trace/packetlen.exp
1055 * gdb.trace/passcount.exp
1056 * gdb.trace/pending.exp
1057 * gdb.trace/range-stepping.exp
1058 * gdb.trace/report.exp
1059 * gdb.trace/stap-trace.exp
1060 * gdb.trace/tfind.exp
1061 * gdb.trace/trace-break.exp
1062 * gdb.trace/trace-condition.exp
1063 * gdb.trace/trace-enable-disable.exp
1064 * gdb.trace/trace-mt.exp
1065 * gdb.trace/tracecmd.exp
1066 * gdb.trace/tspeed.exp
1070 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1072 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1073 with gdb_test_no_output.
1074 Use command as test name.
1076 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1078 Fix test names starting with uppercase throughout the files.
1080 * gdb.ada/assign_1.exp
1081 * gdb.ada/boolean_expr.exp
1082 * gdb.base/arrayidx.exp
1084 * gdb.base/gcore-buffer-overflow.exp
1085 * gdb.base/testenv.exp
1086 * gdb.compile/compile.exp
1087 * gdb.python/py-framefilter-invalidarg.exp
1088 * gdb.python/py-framefilter.exp
1090 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1092 Fix test names starting with uppercase throughout the files.
1094 * gdb.ada/array_return.exp
1095 * gdb.ada/expr_delims.exp
1096 * gdb.ada/mi_dyn_arr.exp
1097 * gdb.ada/mi_interface.exp
1098 * gdb.ada/mi_var_array.exp
1099 * gdb.ada/watch_arg.exp
1100 * gdb.arch/alpha-step.exp
1101 * gdb.arch/altivec-regs.exp
1102 * gdb.arch/e500-regs.exp
1103 * gdb.arch/powerpc-d128-regs.exp
1104 * gdb.base/arrayidx.exp
1105 * gdb.base/break.exp
1106 * gdb.base/checkpoint.exp
1107 * gdb.base/debug-expr.exp
1108 * gdb.base/dmsym.exp
1109 * gdb.base/radix.exp
1110 * gdb.base/sepdebug.exp
1111 * gdb.base/testenv.exp
1112 * gdb.base/watch_thread_num.exp
1113 * gdb.base/watchpoint-cond-gone.exp
1114 * gdb.cell/break.exp
1115 * gdb.cell/ea-cache.exp
1116 * gdb.compile/compile.exp
1117 * gdb.cp/gdb2495.exp
1118 * gdb.gdb/selftest.exp
1119 * gdb.gdb/xfullpath.exp
1121 * gdb.go/integers.exp
1122 * gdb.objc/basicclass.exp
1123 * gdb.pascal/hello.exp
1124 * gdb.pascal/integers.exp
1125 * gdb.python/py-breakpoint.exp
1126 * gdb.python/py-cmd.exp
1127 * gdb.python/py-linetable.exp
1128 * gdb.python/py-xmethods.exp
1129 * gdb.python/python.exp
1130 * gdb.reverse/consecutive-precsave.exp
1131 * gdb.reverse/finish-precsave.exp
1132 * gdb.reverse/i386-precsave.exp
1133 * gdb.reverse/machinestate-precsave.exp
1134 * gdb.reverse/sigall-precsave.exp
1135 * gdb.reverse/solib-precsave.exp
1136 * gdb.reverse/step-precsave.exp
1137 * gdb.reverse/until-precsave.exp
1138 * gdb.reverse/watch-precsave.exp
1139 * gdb.threads/leader-exit.exp
1140 * gdb.threads/pthreads.exp
1141 * gdb.threads/wp-replication.exp
1142 * gdb.trace/actions.exp
1143 * gdb.trace/mi-tsv-changed.exp
1146 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1148 Fix test names starting with uppercase throughout the files.
1150 * gdb.arch/i386-bp_permanent.exp
1151 * gdb.arch/i386-gnu-cfi.exp
1152 * gdb.base/disasm-end-cu.exp
1153 * gdb.base/macscp.exp
1154 * gdb.base/pending.exp
1155 * gdb.base/watch_thread_num.exp
1156 * gdb.cp/exception.exp
1157 * gdb.cp/gdb2495.exp
1159 * gdb.python/py-evsignal.exp
1160 * gdb.python/python.exp
1161 * gdb.trace/tracecmd.exp
1163 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1165 Fix test names starting with uppercase throughout the files.
1167 * gdb.base/charset.exp
1169 * gdb.base/multi-forks.exp
1170 * gdb.guile/scm-progspace.exp
1171 * gdb.opencl/datatypes.exp
1172 * gdb.python/py-block.exp
1173 * gdb.python/py-function.exp
1174 * gdb.python/py-symbol.exp
1175 * gdb.python/py-symtab.exp
1176 * gdb.python/py-xmethods.exp
1177 * gdb.reverse/break-precsave.exp
1178 * gdb.reverse/break-reverse.exp
1179 * gdb.reverse/consecutive-precsave.exp
1180 * gdb.reverse/consecutive-reverse.exp
1181 * gdb.reverse/finish-precsave.exp
1182 * gdb.reverse/finish-reverse-bkpt.exp
1183 * gdb.reverse/finish-reverse.exp
1184 * gdb.reverse/fstatat-reverse.exp
1185 * gdb.reverse/getresuid-reverse.exp
1186 * gdb.reverse/i386-precsave.exp
1187 * gdb.reverse/i386-reverse.exp
1188 * gdb.reverse/i386-sse-reverse.exp
1189 * gdb.reverse/i387-stack-reverse.exp
1190 * gdb.reverse/insn-reverse.exp
1191 * gdb.reverse/machinestate-precsave.exp
1192 * gdb.reverse/machinestate.exp
1193 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1194 * gdb.reverse/pipe-reverse.exp
1195 * gdb.reverse/readv-reverse.exp
1196 * gdb.reverse/recvmsg-reverse.exp
1197 * gdb.reverse/rerun-prec.exp
1198 * gdb.reverse/s390-mvcle.exp
1199 * gdb.reverse/sigall-precsave.exp
1200 * gdb.reverse/sigall-reverse.exp
1201 * gdb.reverse/solib-precsave.exp
1202 * gdb.reverse/solib-reverse.exp
1203 * gdb.reverse/step-precsave.exp
1204 * gdb.reverse/step-reverse.exp
1205 * gdb.reverse/time-reverse.exp
1206 * gdb.reverse/until-precsave.exp
1207 * gdb.reverse/until-reverse.exp
1208 * gdb.reverse/waitpid-reverse.exp
1209 * gdb.reverse/watch-precsave.exp
1210 * gdb.reverse/watch-reverse.exp
1212 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1214 Fix test names starting with uppercase throughout the files.
1216 * gdb.arch/i386-mpx-simple_segv.exp
1217 * gdb.arch/i386-mpx.exp
1218 * gdb.arch/i386-permbkpt.exp
1219 * gdb.arch/pa-nullify.exp
1220 * gdb.arch/powerpc-d128-regs.exp
1221 * gdb.arch/vsx-regs.exp
1222 * gdb.base/bfp-test.exp
1223 * gdb.base/break.exp
1224 * gdb.base/breakpoint-shadow.exp
1225 * gdb.base/callfuncs.exp
1226 * gdb.base/charset.exp
1227 * gdb.base/commands.exp
1228 * gdb.base/completion.exp
1229 * gdb.base/dfp-test.exp
1231 * gdb.base/ending-run.exp
1233 * gdb.base/expand-psymtabs.exp
1234 * gdb.base/float128.exp
1235 * gdb.base/floatn.exp
1236 * gdb.base/foll-exec-mode.exp
1237 * gdb.base/gdb1056.exp
1238 * gdb.base/gdb11531.exp
1239 * gdb.base/kill-after-signal.exp
1240 * gdb.base/multi-forks.exp
1241 * gdb.base/overlays.exp
1242 * gdb.base/pending.exp
1243 * gdb.base/sepdebug.exp
1244 * gdb.base/testenv.exp
1245 * gdb.base/valgrind-db-attach.exp
1246 * gdb.base/watch_thread_num.exp
1247 * gdb.base/watchpoint-cond-gone.exp
1248 * gdb.base/watchpoint.exp
1249 * gdb.base/watchpoints.exp
1250 * gdb.cp/arg-reference.exp
1251 * gdb.cp/baseenum.exp
1252 * gdb.cp/operator.exp
1254 * gdb.dwarf2/dw2-op-out-param.exp
1255 * gdb.dwarf2/dw2-reg-undefined.exp
1258 * gdb.go/integers.exp
1259 * gdb.go/methods.exp
1260 * gdb.go/package.exp
1261 * gdb.guile/scm-parameter.exp
1262 * gdb.guile/scm-progspace.exp
1263 * gdb.guile/scm-value.exp
1264 * gdb.mi/mi-pending.exp
1265 * gdb.mi/user-selected-context-sync.exp
1266 * gdb.multi/multi-attach.exp
1267 * gdb.multi/tids.exp
1268 * gdb.opt/clobbered-registers-O2.exp
1269 * gdb.pascal/floats.exp
1270 * gdb.pascal/integers.exp
1271 * gdb.python/py-block.exp
1272 * gdb.python/py-events.exp
1273 * gdb.python/py-parameter.exp
1274 * gdb.python/py-symbol.exp
1275 * gdb.python/py-symtab.exp
1276 * gdb.python/py-type.exp
1277 * gdb.python/py-value.exp
1278 * gdb.python/py-xmethods.exp
1279 * gdb.python/python.exp
1280 * gdb.reverse/break-precsave.exp
1281 * gdb.reverse/consecutive-precsave.exp
1282 * gdb.reverse/finish-precsave.exp
1283 * gdb.reverse/i386-precsave.exp
1284 * gdb.reverse/machinestate-precsave.exp
1285 * gdb.reverse/sigall-precsave.exp
1286 * gdb.reverse/solib-precsave.exp
1287 * gdb.reverse/step-precsave.exp
1288 * gdb.reverse/until-precsave.exp
1289 * gdb.reverse/watch-precsave.exp
1290 * gdb.server/ext-attach.exp
1291 * gdb.server/ext-restart.exp
1292 * gdb.server/ext-run.exp
1293 * gdb.server/ext-wrapper.exp
1294 * gdb.stabs/gdb11479.exp
1295 * gdb.stabs/weird.exp
1296 * gdb.threads/attach-many-short-lived-threads.exp
1297 * gdb.threads/kill.exp
1298 * gdb.threads/watchpoint-fork.exp
1300 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1302 Fix test names starting with uppercase throughout all the files below.
1304 * gdb.ada/array_return.exp
1305 * gdb.ada/catch_ex.exp
1306 * gdb.ada/info_exc.exp
1307 * gdb.ada/mi_catch_ex.exp
1308 * gdb.ada/mi_dyn_arr.exp
1309 * gdb.ada/mi_ex_cond.exp
1310 * gdb.ada/mi_exc_info.exp
1311 * gdb.ada/mi_interface.exp
1312 * gdb.ada/mi_task_arg.exp
1313 * gdb.ada/mi_task_info.exp
1314 * gdb.ada/mi_var_array.exp
1315 * gdb.arch/alpha-step.exp
1316 * gdb.arch/amd64-disp-step.exp
1317 * gdb.arch/arm-disp-step.exp
1318 * gdb.arch/disp-step-insn-reloc.exp
1319 * gdb.arch/e500-prologue.exp
1320 * gdb.arch/ftrace-insn-reloc.exp
1321 * gdb.arch/gdb1558.exp
1322 * gdb.arch/i386-bp_permanent.exp
1323 * gdb.arch/i386-disp-step.exp
1324 * gdb.arch/i386-float.exp
1325 * gdb.arch/i386-gnu-cfi.exp
1326 * gdb.arch/ia64-breakpoint-shadow.exp
1327 * gdb.arch/mips16-thunks.exp
1328 * gdb.arch/pa-nullify.exp
1329 * gdb.arch/powerpc-aix-prologue.exp
1330 * gdb.arch/powerpc-power.exp
1331 * gdb.arch/ppc-dfp.exp
1332 * gdb.arch/s390-tdbregs.exp
1333 * gdb.arch/spu-info.exp
1334 * gdb.arch/spu-ls.exp
1335 * gdb.arch/thumb-bx-pc.exp
1336 * gdb.base/advance.exp
1337 * gdb.base/annota-input-while-running.exp
1338 * gdb.base/arrayidx.exp
1339 * gdb.base/asmlabel.exp
1340 * gdb.base/async.exp
1341 * gdb.base/attach-wait-input.exp
1342 * gdb.base/auto-connect-native-target.exp
1343 * gdb.base/batch-preserve-term-settings.exp
1344 * gdb.base/bfp-test.exp
1345 * gdb.base/bigcore.exp
1346 * gdb.base/bp-permanent.exp
1347 * gdb.base/break-always.exp
1348 * gdb.base/break-fun-addr.exp
1349 * gdb.base/break-idempotent.exp
1350 * gdb.base/break-main-file-remove-fail.exp
1351 * gdb.base/break-probes.exp
1352 * gdb.base/break-unload-file.exp
1353 * gdb.base/break.exp
1354 * gdb.base/call-ar-st.exp
1355 * gdb.base/call-rt-st.exp
1356 * gdb.base/call-sc.exp
1357 * gdb.base/call-signal-resume.exp
1358 * gdb.base/call-strs.exp
1359 * gdb.base/callexit.exp
1360 * gdb.base/callfuncs.exp
1361 * gdb.base/catch-gdb-caused-signals.exp
1362 * gdb.base/catch-signal-siginfo-cond.exp
1363 * gdb.base/catch-syscall.exp
1364 * gdb.base/compare-sections.exp
1365 * gdb.base/cond-eval-mode.exp
1366 * gdb.base/condbreak-call-false.exp
1367 * gdb.base/consecutive-step-over.exp
1368 * gdb.base/cursal.exp
1369 * gdb.base/disabled-location.exp
1370 * gdb.base/disasm-end-cu.exp
1371 * gdb.base/display.exp
1372 * gdb.base/double-prompt-target-event-error.exp
1373 * gdb.base/dprintf-bp-same-addr.exp
1374 * gdb.base/dprintf-detach.exp
1375 * gdb.base/dprintf-next.exp
1376 * gdb.base/dprintf-non-stop.exp
1377 * gdb.base/dprintf-pending.exp
1378 * gdb.base/dso2dso.exp
1379 * gdb.base/ending-run.exp
1380 * gdb.base/enum_cond.exp
1381 * gdb.base/examine-backward.exp
1382 * gdb.base/exe-lock.exp
1383 * gdb.base/exec-invalid-sysroot.exp
1384 * gdb.base/execl-update-breakpoints.exp
1385 * gdb.base/execution-termios.exp
1386 * gdb.base/fileio.exp
1387 * gdb.base/fixsection.exp
1388 * gdb.base/foll-exec-mode.exp
1389 * gdb.base/foll-exec.exp
1390 * gdb.base/fork-running-state.exp
1391 * gdb.base/frame-args.exp
1392 * gdb.base/fullpath-expand.exp
1393 * gdb.base/func-ptr.exp
1394 * gdb.base/gcore-relro-pie.exp
1395 * gdb.base/gdb1090.exp
1396 * gdb.base/gdb1555.exp
1397 * gdb.base/global-var-nested-by-dso.exp
1398 * gdb.base/gnu-ifunc.exp
1399 * gdb.base/hbreak-in-shr-unsupported.exp
1400 * gdb.base/hbreak-unmapped.exp
1401 * gdb.base/hook-stop.exp
1402 * gdb.base/infcall-input.exp
1403 * gdb.base/info-fun.exp
1404 * gdb.base/info-shared.exp
1405 * gdb.base/interrupt-noterm.exp
1406 * gdb.base/jit-so.exp
1408 * gdb.base/line-symtabs.exp
1410 * gdb.base/longjmp.exp
1411 * gdb.base/macscp.exp
1412 * gdb.base/max-value-size.exp
1413 * gdb.base/nodebug.exp
1414 * gdb.base/nofield.exp
1415 * gdb.base/overlays.exp
1416 * gdb.base/paginate-after-ctrl-c-running.exp
1417 * gdb.base/paginate-bg-execution.exp
1418 * gdb.base/paginate-inferior-exit.exp
1419 * gdb.base/pending.exp
1420 * gdb.base/pr11022.exp
1421 * gdb.base/printcmds.exp
1422 * gdb.base/ptr-typedef.exp
1423 * gdb.base/ptype.exp
1424 * gdb.base/randomize.exp
1425 * gdb.base/range-stepping.exp
1426 * gdb.base/realname-expand.exp
1427 * gdb.base/relativedebug.exp
1428 * gdb.base/remote.exp
1429 * gdb.base/savedregs.exp
1430 * gdb.base/sepdebug.exp
1431 * gdb.base/set-noassign.exp
1432 * gdb.base/shlib-call.exp
1433 * gdb.base/shreloc.exp
1434 * gdb.base/sigaltstack.exp
1435 * gdb.base/sigbpt.exp
1436 * gdb.base/siginfo-addr.exp
1437 * gdb.base/siginfo-obj.exp
1438 * gdb.base/siginfo-thread.exp
1439 * gdb.base/signest.exp
1440 * gdb.base/signull.exp
1441 * gdb.base/sigrepeat.exp
1443 * gdb.base/so-impl-ld.exp
1444 * gdb.base/solib-corrupted.exp
1445 * gdb.base/solib-disc.exp
1446 * gdb.base/solib-display.exp
1447 * gdb.base/solib-overlap.exp
1448 * gdb.base/solib-search.exp
1449 * gdb.base/solib-symbol.exp
1450 * gdb.base/source-execution.exp
1451 * gdb.base/sss-bp-on-user-bp-2.exp
1452 * gdb.base/sss-bp-on-user-bp.exp
1453 * gdb.base/stack-checking.exp
1454 * gdb.base/stale-infcall.exp
1455 * gdb.base/step-break.exp
1456 * gdb.base/step-line.exp
1457 * gdb.base/step-over-exit.exp
1458 * gdb.base/step-test.exp
1459 * gdb.base/structs.exp
1460 * gdb.base/sym-file.exp
1461 * gdb.base/symtab-search-order.exp
1463 * gdb.base/type-opaque.exp
1464 * gdb.base/unload.exp
1465 * gdb.base/until-nodebug.exp
1466 * gdb.base/until.exp
1467 * gdb.base/unwindonsignal.exp
1468 * gdb.base/watch-cond.exp
1469 * gdb.base/watch-non-mem.exp
1470 * gdb.base/watch_thread_num.exp
1471 * gdb.base/watchpoint-reuse-slot.exp
1472 * gdb.base/watchpoint-solib.exp
1473 * gdb.base/watchpoint.exp
1474 * gdb.btrace/dlopen.exp
1476 * gdb.cell/break.exp
1480 * gdb.cell/dwarfaddr.exp
1481 * gdb.cell/ea-cache.exp
1482 * gdb.cell/ea-standalone.exp
1483 * gdb.cell/ea-test.exp
1484 * gdb.cell/f-regs.exp
1486 * gdb.cell/gcore.exp
1487 * gdb.cell/mem-access.exp
1488 * gdb.cell/ptype.exp
1489 * gdb.cell/registers.exp
1490 * gdb.cell/sizeof.exp
1491 * gdb.cell/solib-symbol.exp
1492 * gdb.cell/solib.exp
1493 * gdb.compile/compile-tls.exp
1494 * gdb.cp/exception.exp
1495 * gdb.cp/gdb2495.exp
1497 * gdb.cp/mb-inline.exp
1498 * gdb.cp/mb-templates.exp
1499 * gdb.cp/pr10687.exp
1501 * gdb.cp/scope-err.exp
1502 * gdb.cp/templates.exp
1503 * gdb.cp/virtfunc.exp
1504 * gdb.dwarf2/dw2-dir-file-name.exp
1505 * gdb.dwarf2/dw2-single-line-discriminators.exp
1506 * gdb.fortran/complex.exp
1507 * gdb.fortran/library-module.exp
1508 * gdb.guile/guile.exp
1509 * gdb.guile/scm-cmd.exp
1510 * gdb.guile/scm-frame-inline.exp
1511 * gdb.guile/scm-objfile.exp
1512 * gdb.guile/scm-pretty-print.exp
1513 * gdb.guile/scm-symbol.exp
1514 * gdb.guile/scm-type.exp
1515 * gdb.guile/scm-value.exp
1516 * gdb.linespec/keywords.exp
1517 * gdb.linespec/ls-errs.exp
1518 * gdb.linespec/macro-relative.exp
1519 * gdb.linespec/thread.exp
1520 * gdb.mi/mi-breakpoint-changed.exp
1521 * gdb.mi/mi-dprintf-pending.exp
1522 * gdb.mi/mi-fullname-deleted.exp
1523 * gdb.mi/mi-logging.exp
1524 * gdb.mi/mi-pending.exp
1525 * gdb.mi/mi-solib.exp
1526 * gdb.mi/new-ui-mi-sync.exp
1527 * gdb.mi/user-selected-context-sync.exp
1528 * gdb.multi/dummy-frame-restore.exp
1529 * gdb.multi/multi-arch-exec.exp
1530 * gdb.multi/remove-inferiors.exp
1531 * gdb.multi/watchpoint-multi-exit.exp
1532 * gdb.opt/solib-intra-step.exp
1533 * gdb.perf/backtrace.exp
1534 * gdb.perf/single-step.exp
1535 * gdb.perf/skip-command.exp
1536 * gdb.perf/skip-prologue.exp
1537 * gdb.perf/solib.exp
1538 * gdb.python/lib-types.exp
1539 * gdb.python/py-as-string.exp
1540 * gdb.python/py-bad-printers.exp
1541 * gdb.python/py-block.exp
1542 * gdb.python/py-breakpoint.exp
1543 * gdb.python/py-cmd.exp
1544 * gdb.python/py-events.exp
1545 * gdb.python/py-evthreads.exp
1546 * gdb.python/py-finish-breakpoint.exp
1547 * gdb.python/py-finish-breakpoint2.exp
1548 * gdb.python/py-frame-inline.exp
1549 * gdb.python/py-frame.exp
1550 * gdb.python/py-inferior.exp
1551 * gdb.python/py-infthread.exp
1552 * gdb.python/py-mi.exp
1553 * gdb.python/py-objfile.exp
1554 * gdb.python/py-pp-maint.exp
1555 * gdb.python/py-pp-registration.exp
1556 * gdb.python/py-prettyprint.exp
1557 * gdb.python/py-recurse-unwind.exp
1558 * gdb.python/py-shared.exp
1559 * gdb.python/py-symbol.exp
1560 * gdb.python/py-symtab.exp
1561 * gdb.python/py-template.exp
1562 * gdb.python/py-type.exp
1563 * gdb.python/py-unwind-maint.exp
1564 * gdb.python/py-unwind.exp
1565 * gdb.python/py-value.exp
1566 * gdb.python/python.exp
1567 * gdb.reverse/finish-reverse-bkpt.exp
1568 * gdb.reverse/insn-reverse.exp
1569 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1570 * gdb.reverse/solib-precsave.exp
1571 * gdb.reverse/solib-reverse.exp
1572 * gdb.stabs/gdb11479.exp
1573 * gdb.stabs/weird.exp
1574 * gdb.threads/fork-child-threads.exp
1575 * gdb.threads/fork-plus-threads.exp
1576 * gdb.threads/fork-thread-pending.exp
1577 * gdb.threads/forking-threads-plus-breakpoint.exp
1578 * gdb.threads/hand-call-in-threads.exp
1579 * gdb.threads/interrupted-hand-call.exp
1580 * gdb.threads/linux-dp.exp
1581 * gdb.threads/local-watch-wrong-thread.exp
1582 * gdb.threads/next-while-other-thread-longjmps.exp
1583 * gdb.threads/non-ldr-exit.exp
1584 * gdb.threads/pending-step.exp
1585 * gdb.threads/print-threads.exp
1586 * gdb.threads/process-dies-while-detaching.exp
1587 * gdb.threads/process-dies-while-handling-bp.exp
1588 * gdb.threads/pthreads.exp
1589 * gdb.threads/queue-signal.exp
1590 * gdb.threads/reconnect-signal.exp
1591 * gdb.threads/signal-command-handle-nopass.exp
1592 * gdb.threads/signal-command-multiple-signals-pending.exp
1593 * gdb.threads/signal-delivered-right-thread.exp
1594 * gdb.threads/signal-sigtrap.exp
1595 * gdb.threads/sigthread.exp
1596 * gdb.threads/staticthreads.exp
1597 * gdb.threads/stepi-random-signal.exp
1598 * gdb.threads/thread-unwindonsignal.exp
1599 * gdb.threads/thread_check.exp
1600 * gdb.threads/thread_events.exp
1601 * gdb.threads/tid-reuse.exp
1602 * gdb.threads/tls-nodebug.exp
1603 * gdb.threads/tls-shared.exp
1604 * gdb.threads/tls-so_extern.exp
1605 * gdb.threads/tls.exp
1606 * gdb.threads/wp-replication.exp
1607 * gdb.trace/actions-changed.exp
1608 * gdb.trace/actions.exp
1609 * gdb.trace/backtrace.exp
1610 * gdb.trace/change-loc.exp
1611 * gdb.trace/collection.exp
1612 * gdb.trace/deltrace.exp
1613 * gdb.trace/disconnected-tracing.exp
1614 * gdb.trace/entry-values.exp
1615 * gdb.trace/ftrace-lock.exp
1616 * gdb.trace/ftrace.exp
1617 * gdb.trace/infotrace.exp
1618 * gdb.trace/mi-trace-frame-collected.exp
1619 * gdb.trace/mi-trace-unavailable.exp
1620 * gdb.trace/mi-traceframe-changed.exp
1621 * gdb.trace/mi-tracepoint-changed.exp
1622 * gdb.trace/mi-tsv-changed.exp
1623 * gdb.trace/no-attach-trace.exp
1624 * gdb.trace/packetlen.exp
1625 * gdb.trace/passc-dyn.exp
1626 * gdb.trace/passcount.exp
1627 * gdb.trace/pending.exp
1628 * gdb.trace/pr16508.exp
1629 * gdb.trace/qtro.exp
1630 * gdb.trace/range-stepping.exp
1631 * gdb.trace/read-memory.exp
1632 * gdb.trace/report.exp
1633 * gdb.trace/save-trace.exp
1634 * gdb.trace/signal.exp
1635 * gdb.trace/stap-trace.exp
1636 * gdb.trace/status-stop.exp
1637 * gdb.trace/strace.exp
1638 * gdb.trace/tfile.exp
1639 * gdb.trace/tfind.exp
1640 * gdb.trace/trace-break.exp
1641 * gdb.trace/trace-condition.exp
1642 * gdb.trace/trace-enable-disable.exp
1643 * gdb.trace/trace-mt.exp
1644 * gdb.trace/tracecmd.exp
1645 * gdb.trace/tracefile-pseudo-reg.exp
1646 * gdb.trace/tspeed.exp
1647 * gdb.trace/tstatus.exp
1649 * gdb.trace/unavailable.exp
1650 * gdb.trace/while-dyn.exp
1651 * gdb.trace/while-stepping.exp
1654 * lib/mi-support.exp
1657 * lib/prelink-support.exp
1658 * lib/selftest-support.exp
1660 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1662 * Makefile.in: Include disable-implicit-rules.mk.
1664 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1666 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1667 non-byte-aligned bit fields.
1669 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1672 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1673 respects the DW_AT_data_bit_offset attribute.
1675 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1677 * gdb.base/default.exp: Fix output of "set language".
1679 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1681 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1682 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1684 * configure.ac: Remove checks for the make program.
1685 * configure: Re-generate.
1687 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1689 * gdb.python/py-recurse-unwind.c (main): Add loop.
1690 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1691 to read_register() and gdb.parse_and_eval(). Make each code
1692 call a separate case that can be individually tested.
1693 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1694 proc. Call cont_and_backtrace for each of the code paths that
1695 we want to test in the unwinder.
1697 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1699 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1700 the definition of struct S.
1702 2016-11-11 Catherine Moore <clm@codesourcery.com>
1704 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1706 2016-11-09 Pedro Alves <palves@redhat.com>
1708 * gdb.base/commands.exp (runto_or_return): New procedure.
1709 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1710 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1711 (progvar_simple_while_test, progvar_complex_if_while_test)
1712 (if_while_breakpoint_command_test)
1713 (infrun_breakpoint_command_test, breakpoint_command_test)
1714 (user_defined_command_test, watchpoint_command_test)
1715 (test_command_prompt_position, redefine_hook_test)
1716 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1717 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1718 multi_line_input and multi_line. Remove gdb_expect and
1719 gdb_stop_suppressing_tests uses.
1720 * lib/gdb.exp (valnum_re): New global.
1721 (multi_line_input): New procedure.
1723 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1725 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1727 (test_setup): Define with proc_with_prefix.
1728 (test_cli_inferior): Likewise.
1729 (test_cli_thread): Likewise.
1730 (test_cli_frame): Likewise.
1731 (test_cli_select_frame): Likewise.
1732 (test_cli_up_down): Likewise.
1733 (test_mi_thread_select): Likewise.
1734 (test_mi_stack_select_frame): Likewise.
1735 (test_cli_in_mi_inferior): Likewise.
1736 (test_cli_in_mi_thread): Likewise.
1737 (test_cli_in_mi_frame): Likewise.
1738 (top level): Do not use with_test_prefix_procname.
1740 2016-11-09 Pedro Alves <palves@redhat.com>
1742 * gdb.base/commands.exp (gdbvar_simple_if_test)
1743 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1744 (progvar_simple_if_test, progvar_simple_while_test)
1745 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1746 (infrun_breakpoint_command_test, breakpoint_command_test)
1747 (user_defined_command_test, watchpoint_command_test)
1748 (test_command_prompt_position, deprecated_command_test)
1749 (bp_deleted_in_command, temporary_breakpoint_commands)
1750 (stray_arg0_test, source_file_with_indented_comment)
1751 (recursive_source_test, if_commands_test)
1752 (error_clears_commands_left, redefine_hook_test)
1753 (redefine_backtrace_test): Use proc_with_prefix.
1754 * lib/gdb.exp (proc_with_prefix): New proc.
1756 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1758 * gdb.base/tui-layout.c: New file.
1759 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1760 disassembly window contains very long lines.
1762 2016-11-08 Tom Tromey <tom@tromey.com>
1764 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1767 2016-11-08 Tom Tromey <tom@tromey.com>
1769 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1772 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1774 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1776 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1778 * gdb.rust/simple.rs: Add test for univariant enums without
1779 discriminants and for encoded struct-like enums.
1781 2016-10-28 Pedro Alves <palves@redhat.com>
1783 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1784 gdb_test_multiple, tighten regexps and match symtabs and line
1785 tables incrementally.
1787 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
1789 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
1792 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
1794 * gdb.base/exec-invalid-sysroot.exp: New file.
1796 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1798 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
1800 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1802 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
1804 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
1806 * gdb.base/killed-outside.exp: Remove $options from a call to
1807 `prepare_for_testing'.
1809 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1811 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1812 Change test message.
1814 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1816 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1819 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1821 * gdb.trace/mi-trace-save.exp: New file.
1823 2016-10-13 Yao Qi <yao.qi@linaro.org>
1825 * gdb.base/code_elim.exp (get_var_address): Remove.
1826 * gdb.base/relocate.exp: Likewise.
1827 * gdb.base/shreloc.exp: Likewise.
1828 * lib/gdb.exp (get_var_address): New.
1830 2016-10-13 Yao Qi <yao.qi@linaro.org>
1832 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
1833 floating point tests if $skip_float_test is false.
1835 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
1837 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
1838 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
1840 Add 1 to argc so we guarantee distinct initial/modified argc values.
1842 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1844 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
1846 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1848 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1849 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1850 * gdb.arch/vsx-regs.exp: Likewise.
1852 2016-10-07 Yao Qi <yao.qi@linaro.org>
1854 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1856 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1858 * gdb.python/python.exp: Test decode_line("*0").
1860 2016-10-06 Doug Evans <dje@google.com>
1862 * gdb.python/py-value.exp (test_value_creation): Add test for large
1863 unsigned 64-bit value.
1865 2016-10-06 Tom Tromey <tom@tromey.com>
1867 * gdb.compile/compile.exp: Change java tests to rust.
1868 * gdb.base/setshow.exp: Change java tests to rust.
1869 * gdb.base/default.exp: Remove java from language list.
1870 * README (Examples): Update language example.
1871 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1873 * lib/gdb.exp (skip_java_tests): Remove.
1874 * lib/java.exp: Remove.
1877 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1879 * gdb.arch/mips-fcr.exp: New test.
1880 * gdb.arch/mips-fcr.c: Source for the new test.
1882 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1884 * gdb.base/solib-disc.exp: Use `standard_output_file'
1887 2016-10-06 Pedro Alves <palves@redhat.com>
1889 * gdb.base/jit-simple-dl.c: New file.
1890 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1891 * gdb.base/jit-simple.c: ... this.
1892 * gdb.base/jit-simple.exp (jit_run): Delete.
1893 (build_jit): New proc.
1894 (jit_test_reread): Recompile either the main program or the shared
1895 library, depending on what is being tested. Skip changing address
1896 if caller wants to. Compare before/after addresses. If testing
1897 standalone, explicitly load the binary. Test "maint info
1899 (top level): Add "standalone vs shared lib" and "change address"
1900 vs "same address" axes.
1902 2016-10-06 Pedro Alves <palves@redhat.com>
1904 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1907 (jit_test_reread): Use with_test_prefix. Reload the main binary
1908 explicitly. Compare the before/after addresses of the JIT
1911 2016-08-15 Doug Evans <dje@google.com>
1913 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1914 for single bitfields is bool.
1915 * gdb.xml/tdesc-regs.exp: Ditto.
1917 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1919 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1921 2016-10-05 Yao Qi <yao.qi@linaro.org>
1923 * lib/gdb.exp (support_complex_tests): Return zero if
1924 gdb_skip_float_test return true.
1926 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1927 Simon Marchi <simon.marchi@ericsson.com>
1930 * gdb.mi/user-selected-context-sync.exp: New file.
1931 * gdb.mi/user-selected-context-sync.c: New file.
1933 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1934 Simon Marchi <simon.marchi@ericsson.com>
1937 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1938 =thread-select-event check.
1940 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1942 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1943 the compulsory L operand changes.
1944 * gdb.arch/powerpc-power.s: Likewise.
1946 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1948 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1949 * gdb.base/jit-attach-pie.c: New file.
1950 * gdb.base/jit-attach-pie.exp: New file.
1952 2016-09-28 Pedro Alves <palves@redhat.com>
1954 * gdb.base/infcall-input.c: New file.
1955 * gdb.base/infcall-input.exp: New file.
1957 2016-09-22 Yao Qi <yao.qi@linaro.org>
1959 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1960 (gdb_exit): Rename it to ...
1961 (gdbserver_gdb_exit): ... Close GDBserver.
1962 (gdb_exit): New proc, call gdbserver_gdb_exit.
1963 (mi_gdb_exit): Likewise.
1965 2016-09-22 Yao Qi <yao.qi@linaro.org>
1967 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1969 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1972 2016-09-22 Yao Qi <yao.qi@linaro.org>
1974 * lib/gdbserver-support.exp: Check the existence of
1975 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1977 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1979 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1981 2016-09-21 Tom Tromey <tom@tromey.com>
1984 * gdb.base/quit.exp: New file.
1986 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1988 * .gitignore: New file.
1990 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1992 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1995 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1997 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1999 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2001 * gdb.cp/casts.cc (decltype): Move it ...
2002 (main): ... with its call to ...
2003 * gdb.cp/casts03.cc: ... a new file.
2004 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2006 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2008 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2010 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2012 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2013 and sync up the test with tests in gas/testsuite/gas/ppc.
2014 * gdb.arch/powerpc-power.exp: Likewise.
2016 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2018 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2020 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2021 Jan Kratochvil <jan.kratochvil@redhat.com>
2023 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2024 make m1's definition to be different from m2's. Use 'dummy' as an
2025 argument for probe 'two'.
2027 2016-09-10 Jon Beniston <jon@beniston.com>
2029 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2032 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2034 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2035 variable declaration.
2036 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2037 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2038 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2039 received HWCAP as its argument.
2041 2016-09-06 Pedro Alves <palves@redhat.com>
2043 * gdb.base/new-ui-pending-input.c: New file.
2044 * gdb.base/new-ui-pending-input.exp: New file.
2045 * gdb.exp (clear_gdb_spawn_id): New procedure.
2046 (with_spawn_id): Check whether gdb_spawn_id exists before
2047 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2050 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2052 * gdb.base/float128.c: New file.
2053 * gdb.base/float128.exp: Likewise.
2054 * gdb.base/floatn.c: Likewise.
2055 * gdb.base/floatn.exp: Likewise.
2057 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2059 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2061 2016-09-05 Pedro Alves <palves@redhat.com>
2064 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2065 unwinders are immediately called as side effect of "source" or
2066 "disable unwinder" commands.
2067 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2069 2016-09-02 Yao Qi <yao.qi@linaro.org>
2071 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2072 is true and $type is "float" or "double".
2074 2016-09-02 Yao Qi <yao.qi@linaro.org>
2076 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2078 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2079 * gdb.base/call-rt-st.exp: Likewise.
2080 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2081 return value instead of gdb,skip_float_test.
2082 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2083 (do_function_calls): Use its return value instead of
2084 gdb,skip_float_test.
2085 * gdb.base/finish.exp: Likewise.
2086 * gdb.base/funcargs.exp: Likewise.
2087 * gdb.base/return.exp: Likewise.
2088 * gdb.base/return2.exp: Likewise.
2089 * gdb.base/varargs.exp: Likewise.
2090 * lib/gdb.exp (gdb_skip_float_test): Change it to
2091 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2093 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2095 * gdb.multi/tids.exp: Test "thread apply all".
2097 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2099 * gdb.base/default.exp (tty): Remove.
2101 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2103 * gdb.python/py-recurse-unwind.c: New file.
2104 * gdb.python/py-recurse-unwind.py: New file.
2105 * gdb.python/py-recurse-unwind.exp: New file.
2107 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2109 * gdb.base/set-inferior-tty.exp: New file.
2110 * gdb.base/set-inferior-tty.c: New file.
2112 2016-08-23 Pedro Alves <palves@redhat.com>
2115 * gdb.base/new-ui-echo.c: New file.
2116 * gdb.base/new-ui-echo.exp: New file.
2118 2016-08-23 Yao Qi <yao.qi@linaro.org>
2120 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2122 * gdb.server/connect-without-multi-process.exp (do_test):
2125 2016-08-23 Yao Qi <yao.qi@linaro.org>
2127 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2128 standalone_txt. Delete gdb_txt and standalone_txt on host
2129 and target. Spawn the binary on target. Copy files from
2132 2016-08-22 Pedro Alves <palves@redhat.com>
2135 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2136 with_test_prefix. Factor out bits to ...
2137 (test_no_vdso): ... this new procedure.
2139 2016-08-19 Carl Love <cel@us.ibm.com>
2141 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2142 maintaining separate logic for constructing the output path.
2143 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2144 * gdb.arch/ppc-dfp.exp: Likewise.
2145 * gdb.arch/ppc-fp.exp: Likewise.
2146 * gdb.arch/vsx-regs.exp: Likewise.
2147 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2148 binprefix for generating the additional binary files.
2150 2016-08-19 Pedro Alves <palves@redhat.com>
2152 * gdb.trace/mi-trace-frame-collected.exp
2153 (test_trace_frame_collected): On x32, expect two registers.
2155 2016-08-18 Carl Love <cel@us.ibm.com>
2157 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2158 and sync up the test with tests in gas/testsuite/gas/ppc.
2159 * gdb.arch/powerpc-power.exp: Likewise.
2161 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2163 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2164 expected error message.
2166 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2168 * gdb.multi/remove-inferiors.exp: New file.
2169 * gdb.multi/remove-inferiors.c: New file.
2171 2016-08-12 Yao Qi <yao.qi@linaro.org>
2173 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2176 2016-08-10 Pedro Alves <palves@redhat.com>
2179 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2182 2016-08-09 Pedro Alves <palves@redhat.com>
2183 Simon Marchi <simon.marchi@ericsson.com>
2186 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2187 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2189 2016-08-09 Pedro Alves <palves@redhat.com>
2192 * gdb.mi/mi-cmd-error.exp: New file.
2194 2016-08-09 Pedro Alves <palves@redhat.com>
2197 * gdb.base/signals-state-child.c: New file.
2198 * gdb.base/signals-state-child.exp: New file.
2199 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2201 2016-08-09 Pedro Alves <palves@redhat.com>
2203 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2205 2016-08-03 Tom Tromey <tom@tromey.com>
2208 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2210 2016-08-01 Yao Qi <yao.qi@linaro.org>
2212 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2213 variable mode to "multi-process" if $multi_process is 1, otherwise
2214 set it to "single-process".
2216 2016-08-01 Yao Qi <yao.qi@linaro.org>
2218 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2219 * gdb.cp/cpexprs.exp: Likewise.
2220 * gdb.cp/m-static.exp: Likewise.
2222 2016-07-26 Tom Tromey <tom@tromey.com>
2225 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2228 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2230 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2231 selecting assembly source files.
2232 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2233 assembly source files.
2234 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2235 assembly source files.
2236 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2237 selecting assembly source files.
2239 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2241 * gdb.base/new-ui.exp (do_test_invalid_args): New
2244 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2246 * gdb.btrace/reconnect.c: New file.
2247 * gdb.btrace/reconnect.exp: New file.
2249 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2251 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2252 to test_catch_syscall_group.
2253 (test_catch_syscall_group): New.
2255 2016-07-21 Tom Tromey <tom@tromey.com>
2257 * gdb.rust/simple.rs (main): Use empty struct expression.
2258 * gdb.rust/simple.exp: Add tests for empty struct expression.
2260 2016-07-21 Yao Qi <yao.qi@linaro.org>
2262 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2263 if gdb_skip_xml_test is true on some targets.
2265 2016-07-21 Yao Qi <yao.qi@linaro.org>
2267 * gdb.server/solib-list.exp: Unset last_loaded_file.
2269 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2271 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2272 "step into captured_main (args)".
2274 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2276 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2278 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2282 2016-07-19 Pedro Alves <palves@redhat.com>
2284 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2285 * gdb.opt/inline-bt.exp: Likewise.
2286 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2287 additional_flags=-Winline.
2288 * gdb.opt/inline-locals.exp: Likewise.
2289 * gdb.opt/inline-markers.c (ATTR): Define.
2290 (inlined_fn): Use it.
2292 2016-07-19 Yao Qi <yao.qi@linaro.org>
2294 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2295 (test_with_self): Remove some code. Remove argument executable.
2296 (top-level): Use do_self_tests.
2298 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2299 Don Breazeal <donb@codesourcery.com>
2301 * gdb.base/maint.exp: Escape paths used in regular expressions.
2302 * gdb.stabs/weird.exp: Likewise.
2304 2016-07-13 Tom Tromey <tom@tromey.com>
2306 PR python/15620, PR python/18620:
2307 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2308 (test_bkpt_events): New procs.
2310 2016-07-13 Tom Tromey <tom@tromey.com>
2313 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2315 (test_watchpoints): Likewise.
2316 (test_bkpt_pending): New proc.
2318 2016-07-13 Tom Tromey <tom@tromey.com>
2321 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2324 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2326 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2327 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2328 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2330 (g): Rename g_end_lbl to g_label.
2331 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2333 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2335 2016-07-12 Tom Tromey <tom@tromey.com>
2338 * gdb.python/py-unwind-maint.exp: Update tests.
2340 2016-07-12 Yao Qi <yao.qi@linaro.org>
2342 * lib/selftest-support.exp (selftest_setup): Match the output
2343 when captured_main is inlined.
2345 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2347 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2349 (print this%a, print this%b, print this): New tests.
2350 * gdb.fortran/derived-types.f90 (this): New object and
2353 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2355 * gdb.ada/arraydim.exp: Remove extra directory level in build
2358 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2360 * lib/ada.exp: Remove extra directory level in build directory.
2361 * gdb.ada/cond_lang.exp: Likewise.
2362 * gdb.ada/exec_changed.exp: Likewise.
2363 * gdb.ada/lang_switch.exp: Likewise.
2365 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2367 * simple.rs: Add test for raw pointer subscripting.
2368 * simple.exp: Add test expectations.
2370 2016-07-05 Yao Qi <yao.qi@linaro.org>
2372 * gdb.mi/mi-reverse.exp: Match =record-started output.
2374 2016-07-01 Pedro Alves <palves@redhat.com>
2376 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2378 (jit_reader_test): Test the jit reader's unwinder.
2379 * gdb.base/jithost.c (jit_function_00_code): New global.
2380 (main): Use memcpy to fill in the mmapped code, instead of poking
2381 bytes manually here.
2382 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2384 (read_debug_info): Save the function's range.
2385 (read_sp): New function.
2386 (unwind_frame): Use it. Also unwind RBP.
2387 (get_frame_id): Use read_sp.
2388 (gdb_init_reader): Use calloc instead of malloc.
2389 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2390 parameter. Use gdb_test_multiple.
2392 2016-07-01 Pedro Alves <palves@redhat.com>
2393 Antoine Tremblay <antoine.tremblay@ericsson.com>
2395 * gdb.threads/process-dies-while-detaching.c: New file.
2396 * gdb.threads/process-dies-while-detaching.exp: New file.
2398 2016-07-01 Pedro Alves <palves@redhat.com>
2400 * gdb.multi/watchpoint-multi-exit.c: New file.
2401 * gdb.multi/watchpoint-multi-exit.exp: New file.
2403 2016-06-30 Pedro Alves <palves@redhat.com>
2405 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2406 unset inferior_spawn_id.
2408 2016-06-30 Pedro Alves <palves@redhat.com>
2410 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2411 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2413 2016-06-29 Yao Qi <yao.qi@linaro.org>
2415 * gdb.base/return.c: Add copyright header.
2417 2016-06-29 Tom Tromey <tom@tromey.com>
2420 * gdb.python/py-framefilter.exp: Add tests for setting priority
2421 and disabling of non-existent frame filter.
2423 2016-06-29 Yao Qi <yao.qi@linaro.org>
2425 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2428 2016-06-28 Yao Qi <yao.qi@linaro.org>
2430 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2431 triplets. Start gdb, execute catch syscall, and continue. Check
2432 gdb's output to determine catch syscall is supported.
2434 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2436 * gdb.rust/simple.rs: Add test for returning unit in a function.
2437 * gdb.rust/simple.exp: Add expectation for functions returning
2440 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2442 * gdb.python/py-breakpoint-create-fail.c,
2443 gdb.python/py-breakpoint-create-fail.exp,
2444 gdb.python/py-breakpoint-create-fail.py: New testcase.
2446 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2449 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2450 * gdb.rust/simple.exp: Add test expectations for new NonZero
2453 2016-06-24 David Taylor <dtaylor@emc.com>
2455 * gdb.base/offsets.exp: New file.
2456 * gdb.base/offsets.c: New file.
2458 2016-06-23 Tom Tromey <tom@tromey.com>
2461 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2462 before any filters are loaded.
2464 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2466 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2467 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2469 * gdb.fortran/derived-type-function.exp: New file.
2470 * gdb.fortran/derived-type-function.f90: New file.
2473 2016-06-21 Pedro Alves <palves@redhat.com>
2475 * gdb.base/new-ui.exp: New file.
2476 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2477 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2478 (with_spawn_id): New procedure.
2480 2016-06-21 Pedro Alves <palves@redhat.com>
2482 * gdb.mi/mi-exec-run.exp: New file.
2484 2016-06-21 Pedro Alves <palves@redhat.com>
2486 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2487 breakpoint command's output on the main UI.
2488 (test_break): New procedure, factored out from calls in the top
2490 (top level): Use foreach_with_prefix to test MI as main UI and as
2493 2016-06-21 Pedro Alves <palves@redhat.com>
2495 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2496 (test_awatch_creation_and_listing)
2497 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2498 Remove 'type' parameter.
2499 (test_watchpoint_all): New parameter mi_mode. Remove
2501 (top level): Use foreach_with_prefix, and add main/separate UI MI
2504 2016-06-21 Pedro Alves <palves@redhat.com>
2506 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2507 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2508 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2509 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2510 (gdb_main_spawn_id, mi_spawn_id): Declare and
2512 (mi_create_inferior_pty): New procedure,
2513 factored out from default_mi_gdb_start.
2514 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2516 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2517 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2518 Use mi_create_inferior_pty.
2519 (mi_gdb_start): Use eval to pass down args list.
2521 2016-06-21 Pedro Alves <palves@redhat.com>
2523 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2524 * gdb.opt/inline-cmds.exp: Add MI tests.
2526 2016-06-21 Pedro Alves <palves@redhat.com>
2528 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2530 2016-06-21 Pedro Alves <palves@redhat.com>
2532 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2533 (top level): Use it instead of mi_execute_to.
2535 2016-06-21 Pedro Alves <palves@redhat.com>
2537 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2538 (cont_handler_str): New.
2539 (signal_stop_handler): Set stop_handler_str instead of printing to
2541 (continue_handler): Set cont_handler_str instead of printing to
2543 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2544 mi_send_resuming_command. Print stop_handler_str and
2545 cont_handler_str instead of expecting the python events print
2548 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2550 * gdb.base/jit-reader.exp: New file.
2551 * gdb.base/jithost.c: New file.
2552 * gdb.base/jithost.h: New file.
2553 * gdb.base/jitreader.c : New file.
2554 * gdb.base/jit-protocol.h: New file.
2556 2016-06-17 Yao Qi <yao.qi@linaro.org>
2558 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2559 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2560 and detach-on-fork. Adjust tests.
2561 (top level): Invoke break_cond_on_syscall with combinations of
2562 syscall, follow-fork-mode and detach-on-fork.
2564 2016-06-17 Yao Qi <yao.qi@linaro.org>
2566 * gdb.base/step-over-exit.c: New.
2567 * gdb.base/step-over-exit.exp: New.
2569 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2571 * gdb.base/float.exp: Add target check for nds32*-*-*.
2572 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2574 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2576 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2577 for unsupported target features.
2578 * gdb.base/call-rt-st.exp: Likewise.
2579 * gdb.base/call-sc.exp: Likewise.
2580 * gdb.base/call-signal-resume.exp: Likewise.
2581 * gdb.base/call-strs.exp: Likewise.
2582 * gdb.base/callexit.exp: Likewise.
2583 * gdb.base/callfuncs.exp: Likewise.
2584 * gdb.base/nodebug.exp: Likewise.
2585 * gdb.base/printcmds.exp: Likewise.
2586 * gdb.base/ptype.exp: Likewise.
2587 * gdb.base/structs.exp: Likewise.
2588 * gdb.base/unwindonsignal.exp: Likewise.
2589 * gdb.cp/gdb2495.exp: Likewise.
2590 * gdb.cp/templates.exp: Likewise.
2591 * gdb.cp/virtfunc.exp: Likewise.
2592 * gdb.threads/hand-call-in-threads.exp: Likewise.
2593 * gdb.threads/interrupted-hand-call.exp: Likewise.
2594 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2596 2016-06-10 Tom Tromey <tom@tromey.com>
2599 * gdb.rust/expr.exp: Add test for integer constant larger than
2602 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2604 * gdb.fortran/nested-funcs.exp: New.
2605 * gdb.fortran/nested-funcs.f90: New.
2607 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2609 * gdb.base/examine-backward.c: New file.
2610 * gdb.base/examine-backward.exp: New file.
2612 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2614 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2617 2016-06-02 Tom Tromey <tom@tromey.com>
2620 * gdb.python/py-shared.exp: Add solib_name test.
2622 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2624 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2626 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2629 * gdb.dwarf2/implref.exp: Rename to...
2630 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2631 * gdb.dwarf2/implref-array.c: New file.
2632 * gdb.dwarf2/implref-array.exp: Likewise.
2633 * gdb.dwarf2/implref-global.c: Likewise.
2634 * gdb.dwarf2/implref-global.exp: Likewise.
2635 * gdb.dwarf2/implref-struct.c: Likewise.
2636 * gdb.dwarf2/implref-struct.exp: Likewise.
2638 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2640 * gdb.trace/trace-condition.exp: Add 64bit tests.
2642 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2644 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2646 (main): Adapt to 8 to 64 bits types.
2647 * gdb.trace/trace-condition.exp: Add new tests.
2649 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2651 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2653 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2655 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2656 Move condition tests...
2657 * gdb.trace/trace-condition.exp: Here.
2659 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2661 * gdb.trace/trace-condition.exp: Add counter-case tests.
2663 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2666 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2667 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2669 2016-05-27 Pedro Alves <palves@redhat.com>
2671 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2673 (top level): Call it, and bail out of DejaGnu is known to be bad.
2675 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2677 * gdb.base/whatis.c: Extend the test case.
2678 * gdb.base/whatis.exp: Add additional tests.
2680 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2682 * gdb.fortran/type.f90: Add pointer variable.
2683 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2685 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2687 * gdb.fortran/vla-type.exp: Fix testcase name.
2689 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2691 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2693 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2695 * gdb.fortran/type.f90: Add nested structures.
2696 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2697 * gdb.fortran/derived-type.exp: Adapt expected output.
2698 * gdb.fortran/vla-type.exp: Adapt expected output.
2700 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2702 * gdb.fortran/whatis_type.exp: Adapt expected output.
2704 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2706 * gdb.fortran/print_type.exp: Fix expected output.
2707 * gdb.fortran/whatis_type.exp: Fix expected output.
2709 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2711 * gdb.fortran/whatis_type.exp: Use multi_line.
2713 2016-05-24 Tom Tromey <tom@tromey.com>
2716 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2717 use value as an index.
2719 2016-05-23 Tom Tromey <tom@tromey.com>
2722 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2725 2016-05-24 Pedro Alves <palves@redhat.com>
2728 * gdb.threads/clone-attach-detach.c: New file.
2729 * gdb.threads/clone-attach-detach.exp: New file.
2731 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2733 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2735 2016-05-23 Tom Tromey <tom@tromey.com>
2737 PR python/19438, PR python/18393:
2738 * gdb.python/py-progspace.exp: Add "dir" test.
2739 * gdb.python/py-objfile.exp: Add "dir" test.
2741 2016-05-23 Yao Qi <yao.qi@linaro.org>
2743 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2744 * gdb.arch/thumb2-it.exp: Likewise.
2746 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2748 * gdb.mi/mi-threads-interrupt.c: New file.
2749 * gdb.mi/mi-threads-interrupt.exp: New file.
2751 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2754 * gdb.mi/mi-async-run.exp: New file.
2755 * gdb.mi/mi-async-run.c: New file.
2757 2016-05-17 Tom Tromey <tom@tromey.com>
2758 Manish Goregaokar <manishsmail@gmail.com>
2760 * lib/rust-support.exp: New file.
2761 * lib/gdb.exp (skip_rust_tests): New proc.
2762 (build_executable_from_specs): Handle rust.
2763 * lib/future.exp (gdb_find_rustc): New proc.
2764 (gdb_default_target_compile): Handle rust.
2765 * gdb.rust/expr.exp: New file.
2766 * gdb.rust/generics.exp: New file.
2767 * gdb.rust/generics.rs: New file.
2768 * gdb.rust/methods.exp: New file.
2769 * gdb.rust/methods.rs: New file.
2770 * gdb.rust/modules.exp: New file.
2771 * gdb.rust/modules.rs: New file.
2772 * gdb.rust/simple.exp: New file.
2773 * gdb.rust/simple.rs: New file.
2775 2016-05-17 Tom Tromey <tom@tromey.com>
2777 * gdb.base/default.exp (set language): Add rust.
2779 2016-05-17 Tom Tromey <tom@tromey.com>
2781 * gdb.gdb/unittest.exp: New file.
2783 2016-05-16 Yao Qi <yao.qi@linaro.org>
2785 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2786 shell_prompt. Update shell_prompt_re.
2788 2016-05-12 Doug Evans <dje@google.com>
2791 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
2792 $options when building executable.
2793 * gdb.dwarf2/fission-loclists-pie.S: New file.
2794 * gdb.dwarf2/fission-loclists-pie.exp: New file.
2796 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2798 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
2799 of [is_remote target],
2801 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2803 * lib/gdb.exp (use_gdb_stub): New procedure.
2805 2016-05-03 Yunlian Jiang <yunlian@google.com>
2806 Doug Evans <dje@google.com>
2809 * gdb.dwarf2/dwp-sepdebug.c: New file.
2810 * gdb.dwarf2/dwp-sepdebug.exp: New file.
2812 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2814 * gdb.base/detach.exp: Remove is_remote check.
2816 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2818 * gdb.base/annota-input-while-running.exp: Don't check for
2819 [is_remote target]. Enable annotations after running to main.
2820 Remove unused "set test..." line.
2822 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2824 * gdb.trace/trace-enable-disable.exp: New file.
2825 * gdb.trace/trace-enable-disable.c: New file.
2827 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2829 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
2830 use it in info sharedlibrary test.
2831 * gdb.trace/ftrace-lock.exp: Likewise.
2832 * gdb.trace/ftrace.exp: Likewise.
2833 * gdb.trace/range-stepping.exp: Likewise.
2834 * gdb.trace/trace-break.exp: Likewise.
2835 * gdb.trace/trace-condition.exp: Likewise.
2836 * gdb.trace/trace-mt.exp: Likewise.
2838 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2840 * lib/gdb.exp (gdb_load_shlibs): Rename to...
2841 (gdb_load_shlib): ... this.
2842 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
2844 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2845 * gdb.base/ctxobj.exp: Likewise.
2846 * gdb.base/dprintf-pending.exp: Likewise.
2847 * gdb.base/dso2dso.exp: Likewise.
2848 * gdb.base/fixsection.exp: Likewise.
2849 * gdb.base/gcore-relro.exp: Likewise.
2850 * gdb.base/gdb1555.exp: Likewise.
2851 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2852 * gdb.base/gnu-ifunc.exp: Likewise.
2853 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2854 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2855 * gdb.base/pending.exp: Likewise.
2856 * gdb.base/print-file-var.exp: Likewise.
2857 * gdb.base/print-symbol-loading.exp: Likewise.
2858 * gdb.base/shlib-call.exp: Likewise.
2859 * gdb.base/shreloc.exp: Likewise.
2860 * gdb.base/so-impl-ld.exp: Likewise.
2861 * gdb.base/solib-disc.exp: Likewise.
2862 * gdb.base/solib-nodir.exp: Likewise.
2863 * gdb.base/solib-overlap.exp: Likewise.
2864 * gdb.base/solib-symbol.exp: Likewise.
2865 * gdb.base/solib-weak.exp (do_test): Likewise.
2866 * gdb.base/sym-file.exp: Likewise.
2867 * gdb.base/symtab-search-order.exp: Likewise.
2868 * gdb.base/type-opaque.exp: Likewise.
2869 * gdb.base/unload.exp: Likewise.
2870 * gdb.base/watchpoint-solib.exp: Likewise.
2871 * gdb.compile/compile.exp: Likewise.
2872 * gdb.cp/gdb2384.exp: Likewise.
2873 * gdb.cp/infcall-dlopen.exp: Likewise.
2874 * gdb.cp/re-set-overloaded.exp: Likewise.
2875 * gdb.fortran/library-module.exp: Likewise.
2876 * gdb.opt/solib-intra-step.exp: Likewise.
2877 * gdb.python/py-finish-breakpoint.exp: Likewise.
2878 * gdb.python/py-shared.exp: Likewise.
2879 * gdb.reverse/solib-precsave.exp: Likewise.
2880 * gdb.reverse/solib-reverse.exp: Likewise.
2881 * gdb.server/solib-list.exp: Likewise.
2882 * gdb.threads/dlopen-libpthread.exp: Likewise.
2883 * gdb.threads/tls-shared.exp: Likewise.
2884 * gdb.threads/tls-so_extern.exp: Likewise.
2885 * gdb.trace/change-loc.exp: Likewise.
2886 * gdb.trace/ftrace-lock.exp: Likewise.
2887 * gdb.trace/ftrace.exp: Likewise.
2888 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2889 * gdb.trace/pending.exp: Likewise.
2890 * gdb.trace/range-stepping.exp: Likewise.
2891 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2892 (strace_info_marker): Likewise.
2893 (strace_probe_marker): Likewise.
2894 (strace_trace_on_same_addr): Likewise.
2895 (strace_trace_on_diff_addr): Likewise.
2896 * gdb.trace/trace-break.exp: Likewise.
2897 * gdb.trace/trace-condition.exp: Likewise.
2898 * gdb.trace/trace-mt.exp: Likewise.
2900 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2902 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2903 result of gdb_remote_download.
2904 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2905 * gdb.base/dso2dso.exp: Likewise.
2906 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2907 * gdb.base/print-file-var.exp: Likewise.
2908 * gdb.base/shlib-call.exp: Likewise.
2909 * gdb.base/shreloc.exp: Likewise.
2910 * gdb.base/solib-overlap.exp: Likewise.
2911 * gdb.base/solib-weak.exp (do_test): Likewise.
2912 * gdb.base/unload.exp: Likewise.
2914 2016-04-27 Yao Qi <yao.qi@linaro.org>
2916 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2919 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2921 * vla-type.exp: Print structure from toplevel.
2923 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2925 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2927 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2930 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2932 * gdb.fortran/vla-type.f90: New file.
2933 * gdb.fortran/vla-type.exp: New file.
2935 2016-04-25 Yao Qi <yao.qi@linaro.org>
2937 * gdb.base/branch-to-self.c: New file.
2938 * gdb.base/branch-to-self.exp: New file.
2940 2016-04-22 Yao Qi <yao.qi@linaro.org>
2942 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2945 2016-04-22 Yao Qi <yao.qi@linaro.org>
2947 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2948 * gdb.base/annota3.exp: Likewise.
2950 2016-04-22 Yao Qi <yao.qi@linaro.org>
2952 * gdb.reverse/step-precsave.exp: Do one step and test program
2953 stops in "callee" and do multiple steps until program goes out
2955 * gdb.reverse/step-reverse.exp: Likewise.
2957 2016-04-22 Yao Qi <yao.qi@linaro.org>
2959 * gdb.trace/signal.exp: Also pass if
2960 $tracepoint_hits($i) > $iterations.
2962 2016-04-22 Yao Qi <yao.qi@linaro.org>
2964 * gdb.trace/signal.c: New file.
2965 * gdb.trace/signal.exp: New file.
2967 2016-04-19 Doug Evans <xdje42@gmail.com>
2969 * gdb.base/bad-file.exp: New file.
2971 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2973 * gdb.dwarf2/implref.exp: New file.
2975 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2977 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2978 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2979 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2980 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2981 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2982 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2983 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2984 * lib/fortran.exp (fortran_int4): New procedure.
2985 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2986 (fortran_logical4): Likewise.
2988 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2990 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2992 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2994 * lib/compiler.c: Add Intel specific preprocessor macros.
2995 * lib/compiler.cc: Likewise.
2997 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2999 * gdb.server/connect-with-no-symbol-file.c: New file.
3000 * gdb.server/connect-with-no-symbol-file.exp: New file.
3002 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3004 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3006 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3008 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3009 standard output directory.
3011 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3013 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3015 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3017 * gdb.btrace/instruction_history.c (loop): Add declaration.
3019 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3021 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3023 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3025 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3026 parentheses to print.
3027 (continue_handler): Likewise.
3029 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3031 * gdb.server/solib-list.exp: Remove is_remote check.
3032 Pass shlib= to gdb_compile. Don't link shared library with
3033 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3034 Run binary filename through "readlink -f" on the target.
3036 2016-04-08 Pedro Alves <palves@redhat.com>
3038 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3039 interpreter filename as argument to gdbserver_spawn.
3040 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3041 Return empty if $last_loaded_file does not exist.
3043 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3045 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3046 * gdb.base/jit-main.c: Use exit after usage.
3048 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3050 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3051 GDBHISTSIZE prior to the tests.
3052 * gdb.base/gdbinit-history.exp: Likewise.
3054 2016-04-07 Pedro Alves <palves@redhat.com>
3056 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3057 instead of build_executable. Use gdb_load_shlibs.
3059 2016-04-07 Yao Qi <yao.qi@linaro.org>
3061 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3062 Execute "si" command.
3064 2016-04-07 Yao Qi <yao.qi@linaro.org>
3066 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3067 number instead of the comments on some line.
3069 2016-04-06 Don Breazeal <donb@codesourcery.com>
3071 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3072 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3074 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3076 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3077 standard_output_file. Remove unused binfile variable.
3079 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3081 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3082 * gdb.python/py-mi-objfile.exp: Match "list main" output
3085 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3087 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3090 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3092 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3094 * gdb.trace/ftrace.exp: Likewise.
3095 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3097 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3098 (gdb_load_shlibs): Copy libraries to test directory when testing
3099 natively. Only set solib-search-path if testing remotely.
3100 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3102 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3104 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3105 gdb_download. Use it even if the target is not remote.
3106 * gdb.base/jit.exp (compile_jit_test): Likewise.
3107 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3108 output directory if the destination board is local, otherwise use
3109 the standard remote_download from DejaGnu.
3110 (gdb_download): Remove.
3111 (gdb_load_shlibs): Use gdb_remote_download instead of
3113 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3114 Use gdb_remote_download instead of gdb_download. Use it even if
3115 the target is not remote.
3116 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3117 instead of gdb_download.
3119 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3121 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3122 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3125 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3128 * gdb.base/printcmds.exp: Add artificial arrays tests.
3130 2016-03-31 Pedro Alves <palves@redhat.com>
3133 * gdb.base/jit-main.c: Include unistd.h.
3134 (ATTACH): Define to 0 if not already defined.
3135 (wait_for_gdb, mypid): New globals.
3136 (WAIT_FOR_GDB): New macro.
3137 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3138 some breakpoint locations.
3139 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3141 (one_jit_test): Add REATTACH parameter, and handle it. Use
3142 continue_to_test_location.
3143 (top level): Test attach, and adjusts calls to one_jit_test.
3145 2016-03-31 Pedro Alves <palves@redhat.com>
3148 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3149 BINSUFFIX parameter, and handle it.
3150 (top level): Adjust calls compile_jit_test.
3152 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3155 * gdb.python/py-mi-events-gdb.py: New file.
3156 * gdb.python/py-mi-events.c: New file.
3157 * gdb.python/py-mi-events.exp: New file.
3159 2016-03-30 Yao Qi <yao.qi@linaro.org>
3161 * gdb.reverse/until-precsave.exp: Match function name only.
3162 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3163 Move malloc to a condition block.
3164 * gdb.reverse/until-reverse.exp: Match function name only.
3166 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3168 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3169 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3170 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3171 variable for GPR 0 instead of assuming it is register 0.
3172 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3173 * lib/trace-support.exp: Add s390 registers.
3175 2016-03-29 Yao Qi <yao.qi@linaro.org>
3177 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3179 2016-03-24 Yao Qi <yao.qi@linaro.org>
3181 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3184 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3186 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3187 maintaining separate logic for constructing the output path.
3189 2016-03-16 Don Breazeal <donb@codesourcery.com>
3191 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3192 Retry fork and waitpid on interrupted system call errors.
3193 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3194 Use with_timeout_factor to increase timeout by factor of 10.
3196 2016-03-15 Don Breazeal <donb@codesourcery.com>
3198 * gdb.cp/scope-err.cc: New test program.
3199 * gdb.cp/scope-err.exp: New test script.
3200 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3201 lines and "set breakpoint here" comment.
3202 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3203 Fixed some whitespace and format issues.
3204 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3205 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3207 2016-03-15 Doug Evans <dje@google.com>
3209 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3210 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3211 All callers updated. Add tests for enums, mixed flags register.
3213 2016-03-15 Doug Evans <dje@google.com>
3215 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3216 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3218 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3220 * gdb.base/default.exp: Add $_as_string to the list of expected
3221 convenience functions.
3223 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3225 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3227 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3229 * gdb.python/py-as-string.exp: New file.
3230 * gdb.python/py-as-string.c: New file.
3232 2016-03-09 Pedro Alves <palves@redhat.com>
3234 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3235 signal" -> "Thread NN received signal" output change.
3236 * gdb.threads/ia64-sigill.exp: Likewise.
3237 * gdb.threads/linux-dp.exp: Likewise.
3238 * gdb.threads/manythreads.exp: Likewise.
3239 * gdb.threads/pending-step.exp: Likewise.
3240 * gdb.threads/print-threads.exp: Likewise.
3241 * gdb.threads/sigstep-threads.exp: Likewise.
3242 * gdb.threads/staticthreads.exp: Likewise.
3243 * gdb.threads/tls.exp: Likewise.
3245 2016-03-09 Pedro Alves <palves@redhat.com>
3247 * gdb.base/command-line-input.exp: New file.
3249 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3251 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3252 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3253 * gdb.trace/pending.exp: Accept leading dot before function name.
3254 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3255 * lib/trace-support.exp: Set registers for ppc.
3257 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3259 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3260 use it for disassembly; accept .main in addition to main in backtrace.
3262 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3263 Marcin Kościelnicki <koriakin@0x04.net>
3265 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3266 (gdb_recursion_test_ptr): New global variable.
3267 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3269 (gdb_c_test): Ditto.
3271 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3273 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3276 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3278 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3279 (bar): Add bar_start_lbl label.
3280 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3281 of foo/bar for emitting DWARF and tracing.
3283 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3285 * analyze-racy-logs.py: Set executable bit.
3287 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3289 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3290 (CHECK_TARGET_TMP): Likewise.
3291 (check-single-racy): New rule.
3292 (check-parallel-racy): Likewise.
3293 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3294 (do-check-parallel-racy): New rule.
3295 (check-racy/%.exp): Likewise.
3296 * README (Racy testcases): New section.
3297 * analyze-racy-logs.py: New file.
3299 2016-03-03 Doug Evans <dje@google.com>
3301 * gdb.base/skip.exp: Use with_test_prefix.
3303 2016-03-03 Yao Qi <yao.qi@linaro.org>
3305 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3306 Invoke step_over_syscall "clone" and break_cond_on_syscall
3308 * gdb.base/step-over-clone.c: New file.
3310 2016-03-03 Yao Qi <yao.qi@linaro.org>
3312 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3315 2016-03-03 Yao Qi <yao.qi@linaro.org>
3317 * gdb.base/disp-step-fork.c: Rename to ...
3318 * gdb.base/step-over-fork.c: ... it. New file.
3319 * gdb.base/disp-step-vfork.c: Rename to ...
3320 * gdb.base/step-over-vfork.c: ... it. New file.
3321 * gdb.base/disp-step-syscall.exp: Rename to ...
3322 * gdb.base/step-over-syscall.exp: ... it. New file.
3323 (disp_step_cross_syscall): Rename to ...
3324 (step_over_syscall): ... it.
3326 2016-03-03 Yao Qi <yao.qi@linaro.org>
3328 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3329 If target supports condition evaluation on target, invoke
3330 break_cond_on_syscall for fork and vfork.
3332 2016-03-03 Yao Qi <yao.qi@linaro.org>
3334 * gdb.base/disp-step-syscall.exp: Don't invoke
3335 support_displaced_stepping.
3336 (disp_step_cross_syscall): Test with displaced stepping off and
3339 2016-03-03 Yao Qi <yao.qi@linaro.org>
3341 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3344 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3347 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3349 * gdb.fortran/vla-history.exp: Remove breakpoint.
3351 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3353 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3356 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3358 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3361 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3363 * gdb.mi/vla.f90: Nullify pointer after declaration.
3365 2016-03-01 Pedro Alves <palves@redhat.com>
3367 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3369 2016-03-01 Pedro Alves <palves@redhat.com>
3371 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3372 before anything else.
3373 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3375 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3376 before anything else.
3377 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3379 2016-03-01 Pedro Alves <palves@redhat.com>
3381 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3383 2016-03-01 Yao Qi <yao.qi@linaro.org>
3385 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3386 prepare_for_testing.
3388 2016-03-01 Yao Qi <yao.qi@linaro.org>
3390 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3392 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3394 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3395 manually constructing the output path.
3397 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3399 * gdb.arch/s390-stackless.S: New.
3400 * gdb.arch/s390-stackless.exp: New.
3402 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3404 * gdb.dlang/circular.c: New file.
3405 * gdb.dlang/circular.exp: New file.
3407 2016-02-26 Yao Qi <yao.qi@linaro.org>
3409 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3410 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3411 (testcases): Update.
3413 2016-02-26 Yao Qi <yao.qi@linaro.org>
3415 * gdb.reverse/aarch64.c: Rename to ...
3416 * gdb.reverse/insn-reverse.c: ... it.
3417 * gdb.reverse/aarch64.exp: Rename to ...
3418 * gdb.reverse/insn-reverse.exp: ... it.
3420 2016-02-26 Yao Qi <yao.qi@linaro.org>
3422 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3423 (testcase_ftype): New.
3424 (testcases): New array.
3426 (main): Call each element in testcases.
3427 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3428 (read_testcase): New.
3429 Do the tests in a loop.
3431 2016-02-25 Yao Qi <yao.qi@linaro.org>
3433 * gdb.base/branches.c: Remove.
3435 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3438 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3440 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3442 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3444 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3446 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3447 change x86_64 call_insn to 'callq'.
3449 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3451 * gdb.trace/tfile-avx.c: Move to...
3452 * gdb.trace/tracefile-pseudo-reg.c: Here.
3453 * gdb.trace/tfile-avx.exp: Move to...
3454 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3456 2016-02-24 Gary Benson <gbenson@redhat.com>
3458 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3461 2016-02-23 Doug Evans <dje@google.com>
3463 * gdb.base/skip.c (test_skip): New function.
3464 (end_test_skip_file_and_function): New function.
3465 (test_skip_file_and_function): New function.
3466 * gdb.base/skip1.c (test_skip): New function.
3467 (skip1_test_skip_file_and_function): New function.
3468 * gdb.base/skip.exp: Add tests for new skip options.
3469 * gdb.base/skip-solib.exp: Update expected output.
3470 * gdb.perf/skip-command.cc: New file.
3471 * gdb.perf/skip-command.exp: New file.
3472 * gdb.perf/skip-command.py: New file.
3474 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3476 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3477 info registers pattern.
3479 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3481 * lib/future.exp: Add D support.
3482 (gdb_find_gdc): New proc.
3483 (gdb_default_target_compile): Add D support.
3485 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3487 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3489 (trace_speed_test): Determine the iteration count for a time
3490 between 15..30 seconds.
3492 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3494 * gdb.arch/i386-mpx-sigsegv.c: New file.
3495 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3496 * gdb.arch/i386-mpx-simple_segv.c: New file.
3497 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3499 2016-02-18 Yao Qi <yao.qi@linaro.org>
3501 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3502 Don't call setup_kfail.
3504 2016-02-18 Yao Qi <yao.qi@linaro.org>
3506 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3507 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3509 2016-02-16 Doug Evans <dje@google.com>
3511 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3512 * gdb.base/skip1.c: Ditto.
3513 * gdb.base/skip.exp: Whitespace cleanup.
3515 2016-02-16 Don Breazeal <donb@codesourcery.com>
3518 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3519 Remove kfail for PR remote/19496.
3521 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3523 * lib/gdb.exp (standard_temp_file): Return a path specific to
3524 the runtest invocation.
3526 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3528 * gdb.trace/save-trace.exp: Change relative path to be in the
3529 standard output directory.
3531 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3533 * gdb.arch/i386-prologue.c: Add missing prototypes.
3535 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3537 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3538 * gdb.arch/i386-prologue.exp: Likewise.
3539 * gdb.arch/i386-size.exp: Likewise.
3541 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3543 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3544 define object file path.
3545 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3547 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3548 standard_output_file to define binfile.
3550 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3552 Fix compatibility with recent gfortran-5.3.1.
3553 * gdb.fortran/vla-history.exp (print vla1 allocated)
3554 (print vla2 allocated, print $2, print $3): Remove
3555 (print $4): Rename to ...
3556 (print $2): ... here.
3557 (print $9): Rename to ...
3558 (print $5): ... here.
3559 (print $10): Rename to ...
3560 (print $6): ... here.
3561 * gdb.fortran/vla.f90: Add pvla initialization.
3563 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3565 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3567 * gdb.fortran/vla-value-sub.exp: Likewise.
3569 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3571 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3573 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3575 * i386-biarch-core.exp: Define corefile using
3576 standard_output_file.
3578 2016-02-12 Yao Qi <yao.qi@linaro.org>
3580 * gdb.arch/arm-single-step-kernel-helper.c: New.
3581 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3583 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3585 * gdb.btrace/tailcall-only.exp: New.
3586 * gdb.btrace/tailcall-only.c: New.
3587 * gdb.btrace/x86_64-tailcall-only.S: New.
3588 * gdb.btrace/i686-tailcall-only.S: New.
3590 2016-02-11 Pedro Alves <palves@redhat.com>
3592 * README (Parallel testing): Add missing double quotes.
3594 2016-02-11 Pedro Alves <palves@redhat.com>
3596 * README (Parallel testing): New section.
3597 (GDB_PARALLEL): Rewrite.
3598 (FORCE_PARALLEL): Document.
3600 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3602 * gdb.trace/tfile-avx.c: New test.
3603 * gdb.trace/tfile-avx.exp: New test.
3605 2016-02-09 Keith Seitz <keiths@redhat.com>
3607 PR breakpoints/19546
3608 * gdb.base/infcall-exec.c: New file.
3609 * gdb.base/infcall-exec2.c: New file.
3610 * gdb.base/infcall-exec.exp: New file.
3612 2016-02-09 Keith Seitz <keiths@redhat.com>
3614 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3615 (toplevel): Call test_bkpt_address.
3617 2016-02-09 Keith Seitz <keiths@redhat.com>
3620 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3621 (toplevel): Call test_bkpt_address.
3623 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3625 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3627 * configure: Regenerate.
3629 2016-02-09 Pedro Alves <palves@redhat.com>
3631 PR breakpoints/19548
3632 * gdb.base/execl-update-breakpoints.c (some_function): New
3635 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3636 Tighten expected GDB output.
3638 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3640 * Makefile.in (ALL_SUBDIRS): Remove.
3641 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3642 (distclean maintainer-clean realclean): Likewise.
3643 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3644 * configure: Regenerate.
3645 * gdb.ada/Makefile.in: Delete.
3646 * gdb.arch/Makefile.in: Likewise.
3647 * gdb.asm/Makefile.in: Likewise.
3648 * gdb.base/Makefile.in: Likewise.
3649 * gdb.btrace/Makefile.in: Likewise.
3650 * gdb.cell/Makefile.in: Likewise.
3651 * gdb.compile/Makefile.in: Likewise.
3652 * gdb.cp/Makefile.in: Likewise.
3653 * gdb.disasm/Makefile.in: Likewise.
3654 * gdb.dlang/Makefile.in: Likewise.
3655 * gdb.dwarf2/Makefile.in: Likewise.
3656 * gdb.fortran/Makefile.in: Likewise.
3657 * gdb.gdb/Makefile.in: Likewise.
3658 * gdb.go/Makefile.in: Likewise.
3659 * gdb.guile/Makefile.in: Likewise.
3660 * gdb.java/Makefile.in: Likewise.
3661 * gdb.linespec/Makefile.in: Likewise.
3662 * gdb.mi/Makefile.in: Likewise.
3663 * gdb.modula2/Makefile.in: Likewise.
3664 * gdb.multi/Makefile.in: Likewise.
3665 * gdb.objc/Makefile.in: Likewise.
3666 * gdb.opencl/Makefile.in: Likewise.
3667 * gdb.opt/Makefile.in: Likewise.
3668 * gdb.pascal/Makefile.in: Likewise.
3669 * gdb.perf/Makefile.in: Likewise.
3670 * gdb.python/Makefile.in: Likewise.
3671 * gdb.reverse/Makefile.in: Likewise.
3672 * gdb.server/Makefile.in: Likewise.
3673 * gdb.stabs/Makefile.in: Likewise.
3674 * gdb.threads/Makefile.in: Likewise.
3675 * gdb.trace/Makefile.in: Likewise.
3676 * gdb.xml/Makefile.in: Likewise.
3677 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3679 (standard_output_file): Remove check for GDB_PARALLEL, always
3680 return path in outputs/$subdir/$testname.
3682 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3684 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3685 (site.exp): Assign abs_srcdir to tcl's srcdir.
3687 2016-02-04 Yao Qi <yao.qi@linaro.org>
3689 * gdb.base/foll-exec-mode.c: Include limits.h.
3690 (main): Add parameters argc and argv. Get directory from
3692 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3694 * gdb.base/foll-exec.c: Include limits.h.
3695 (main): Add parameters argc and argv.
3696 Get directory from argv[0].
3697 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3698 Adjust tests on the number of lines as source code changed.
3699 * gdb.base/foll-vfork-exit.c: Include limits.h.
3700 (main): Add one line of statement before vfork.
3701 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3702 (main): Add parameters argc and argv. Get directory from
3704 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3705 (setup_gdb): Set tbreak to skip some source lines.
3706 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3707 (main): Add parameters argc and argv. Get directory from
3709 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3711 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3712 (main): Add parameters argc and argv. Get directory from
3714 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3717 2016-02-01 Doug Evans <dje@google.com>
3719 * gdb.base/skip.exp: Clean up multiple references to same test name.
3721 2016-02-01 Pedro Alves <palves@redhat.com>
3724 * gdb.threads/forking-threads-plus-breakpoint.exp
3725 (displaced_stepping_supported): New global.
3726 (probe_displaced_stepping_support): New procedure.
3727 (do_test): Add 'displaced' parameter, and use it.
3728 (top level): Check for displaced stepping support. Add displaced
3729 stepping on/off testing axis.
3731 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3733 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3734 pointer. Don't perform further tests on the unassociated pointer
3735 if the first test fails.
3737 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3739 * gdb.base/max-value-size.c: New file.
3740 * gdb.base/max-value-size.exp: New file.
3741 * gdb.base/huge.exp: Disable max-value-size for this test.
3743 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3745 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3747 2016-01-28 Yao Qi <yao.qi@linaro.org>
3749 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3751 2016-01-25 Pedro Alves <palves@redhat.com>
3754 * gdb.base/fork-running-state.c: New file.
3755 * gdb.base/fork-running-state.exp: New file.
3757 2016-01-25 Pedro Alves <palves@redhat.com>
3760 * gdb.base/catch-fork-kill.c: New file.
3761 * gdb.base/catch-fork-kill.exp: New file.
3763 2016-01-25 Pedro Alves <palves@redhat.com>
3765 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3766 Delete, moved to lib/gdb.exp.
3767 * gdb.threads/forking-threads-plus-breakpoint.exp
3768 (foreach_with_prefix): Likewise.
3769 * gdb.threads/process-dies-while-handling-bp.exp
3770 (foreach_with_prefix): Likewise.
3771 * lib/gdb.exp (foreach_with_prefix): New procedure.
3773 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3775 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3776 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3778 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3780 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3783 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3784 Pedro Alves <palves@redhat.com>
3786 Fix testsuite compatibility with Guile.
3787 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
3790 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3792 Fix testsuite compatibility with Guile.
3793 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
3794 (thread 1): New test for backtrace through signal handler.
3796 2016-01-22 Yao Qi <yao.qi@linaro.org>
3799 * gdb.base/multi-forks.c: Include
3800 ../lib/unbuffer_output.c
3801 (main): Call gdb_unbuffer_output.
3803 2016-01-21 Doug Evans <dje@google.com>
3805 * lib/ada.exp (gdb_compile_ada): Fix typo.
3807 2016-01-21 Joel Brobecker <brobecker@adacore.com>
3809 * gdb.base/break-fun-addr.exp: New file.
3810 * gdb.base/break-fun-addr1.c: New file.
3811 * gdb.base/break-fun-addr2.c: New file.
3813 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
3815 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
3816 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
3819 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3821 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
3822 when GDB can not set the vector return value. Add more comments
3825 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
3827 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
3830 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3832 * Makefile.in (DO_RUNTEST): Add --status and update usages.
3834 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3836 * Makefile.in (check-single): Pass --status to runtest.
3837 (check/%.exp): Likewise.
3839 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3841 * Makefile.in (check-parallel): Propagate return code from make
3844 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
3846 * gdb.trace/ftrace.exp: Fix expected message on continue.
3847 * gdb.trace/pending.exp: Fix expected message on continue.
3848 * gdb.trace/trace-break.exp: Fix expected message on continue.
3850 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3852 * lib/gdb.exp (gdb_test): Remove unused global references.
3854 2016-01-18 Pedro Alves <palves@redhat.com>
3856 * gdb.base/async-shell.exp: Adjust expected output.
3857 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3858 * gdb.base/siginfo-thread.exp: Adjust expected output.
3859 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3860 * gdb.java/jnpe.exp: Adjust expected output.
3861 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3862 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3863 * gdb.threads/leader-exit.exp: Adjust expected output.
3864 * gdb.threads/manythreads.exp: Adjust expected output.
3865 * gdb.threads/pthreads.exp: Adjust expected output.
3866 * gdb.threads/schedlock.exp: Adjust expected output.
3867 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3868 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3870 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3872 * gdb.threads/sigthread.exp: Adjust expected output.
3873 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3875 2016-01-18 Yao Qi <yao.qi@linaro.org>
3877 * gdb.guile/scm-section-script.c: Replace @progbits with
3879 * gdb.python/py-section-script.c: Likewise.
3881 2016-01-15 Pedro Alves <palves@redhat.com>
3883 * gdb.multi/tids.exp: Test star wildcard ranges.
3885 2016-01-15 Pedro Alves <palves@redhat.com>
3887 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3888 command from "thread apply" invocation.
3889 (thr_apply_info_thr_invalid): Default the expected output to the
3891 (top level): Add tests that use convenience variables. Add tests
3892 for "thread apply" with a valid TID list, but missing the command.
3894 2016-01-13 Pedro Alves <palves@redhat.com>
3896 * gdb.base/default.exp: Expect $_gthread as well.
3897 * gdb.multi/tids.exp: Test $_gthread.
3898 * gdb.threads/thread-specific.exp: Test $_gthread.
3900 2016-01-13 Pedro Alves <palves@redhat.com>
3902 * gdb.multi/tids.exp: Test "info threads -gid".
3904 2016-01-13 Pedro Alves <palves@redhat.com>
3906 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3908 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3910 2016-01-07 Pedro Alves <palves@redhat.com>
3912 * gdb.base/break.exp: Adjust to output changes.
3913 * gdb.base/hbreak2.exp: Likewise.
3914 * gdb.base/sepdebug.exp: Likewise.
3915 * gdb.base/watch_thread_num.exp: Likewise.
3916 * gdb.linespec/keywords.exp: Likewise.
3917 * gdb.multi/info-threads.exp: Likewise.
3918 * gdb.threads/thread-find.exp: Likewise.
3919 * gdb.multi/tids.c: New file.
3920 * gdb.multi/tids.exp: New file.
3922 2016-01-13 Pedro Alves <palves@redhat.com>
3924 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3926 2016-01-13 Pedro Alves <palves@redhat.com>
3928 * gdb.base/default.exp: Expect $_inferior as well.
3929 * gdb.multi/base.exp: Test $_inferior.
3931 2016-01-13 Pedro Alves <palves@redhat.com>
3933 PR breakpoints/19388
3934 * gdb.base/catch-signal-siginfo-cond.c: New file.
3935 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3937 2016-01-12 Josh Stone <jistone@redhat.com>
3938 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3940 * gdb.base/catch-syscall.c (do_execve): New variable.
3941 (main): Conditionally trigger an execve.
3942 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3943 (test_catch_syscall_execve): New, check entry/return across execve.
3944 (do_syscall_tests): Call test_catch_syscall_execve.
3946 2016-01-12 Pedro Alves <palves@redhat.com>
3948 * gdb.base/random-signal.exp (do_test): New procedure, with body
3949 of testcase moved in.
3951 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3952 Pedro Alves <palves@redhat.com>
3954 * gdb.base/funcargs.exp (finish from indirectly called function):
3955 Reintroduce the case for 'First'.
3957 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3958 Pedro Alves <palves@redhat.com>
3960 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3961 (tcatch_vfork_then_child_follow_exec)
3962 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3965 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3967 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3968 and repeats to unlimited.
3969 * gdb.python/py-value.exp: Likewise.
3970 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3971 and repeats to unlimited.
3973 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3975 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3976 and reordering the functions.
3977 * gdb.multi/hangout.c: Likewise.
3978 * gdb.multi/hello.c: Likewise.
3980 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3982 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3984 (SingleStatisticTestResult.report): Use dict.keys instead of
3987 2016-01-06 Pedro Alves <palves@redhat.com>
3989 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3991 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3993 * gdb.btrace/dlopen.exp: New.
3994 * gdb.btrace/dlopen.c: New.
3995 * gdb.btrace/dlopen-dso.c: New.
3997 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3999 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4000 PATTERN argument is optional.
4002 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4004 * lib/ada.exp (target_compile_ada_from_dir): New function.
4005 (gdb_compile_ada): Reimplement avoiding the use of project files.
4006 * gdb.ada/gnat_ada.gpr: Delete.
4007 * gdb.ada/cond_lang.exp: Adjust test to make path before
4009 * gdb.ada/small_reg_param.exp: Likewise.
4011 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4013 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4015 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4017 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4020 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4022 * gdb.base/break.exp: Remove dead code.
4023 * gdb.base/sepdebug.exp: Likewise.
4025 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4027 * gdb.asm/asm-source.exp: Remove HP-UX references.
4028 * gdb.base/annota1.exp: Likewise.
4029 * gdb.base/annota3.exp: Likewise.
4030 * gdb.base/attach.exp: Likewise.
4031 * gdb.base/bigcore.exp: Likewise.
4032 * gdb.base/break.exp: Likewise.
4033 * gdb.base/call-ar-st.exp: Likewise.
4034 * gdb.base/callfuncs.exp: Likewise.
4035 * gdb.base/catch-fork-static.exp: Likewise.
4036 * gdb.base/display.exp: Likewise.
4037 * gdb.base/foll-exec-mode.exp: Likewise.
4038 * gdb.base/foll-exec.exp: Likewise.
4039 * gdb.base/foll-fork.exp: Likewise.
4040 * gdb.base/foll-vfork.exp: Likewise.
4041 * gdb.base/funcargs.exp: Likewise.
4042 * gdb.base/hbreak2.exp: Likewise.
4043 * gdb.base/inferior-died.exp: Likewise.
4044 * gdb.base/interrupt.exp: Likewise.
4045 * gdb.base/multi-forks.exp: Likewise.
4046 * gdb.base/nodebug.exp: Likewise.
4047 * gdb.base/sepdebug.exp: Likewise.
4048 * gdb.base/solib1.c: Likewise.
4049 * gdb.base/step-test.exp: Likewise.
4050 * gdb.mi/non-stop.c: Likewise.
4051 * gdb.mi/pthreads.c: Likewise.
4052 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4053 * gdb.threads/pthreads.c: Likewise.
4054 * gdb.threads/staticthreads.exp: Likewise.
4055 * lib/future.exp: Likewise.
4056 * lib/gdb.exp: Likewise.
4057 * gdb.base/so-indr-cl.c: Remove.
4058 * gdb.base/so-indr-cl.exp: Likewise.
4059 * gdb.base/solib.c: Likewise.
4060 * gdb.base/solib.exp: Likewise.
4061 * gdb.base/solib2.c: Likewise.
4063 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4065 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4066 * gdb.base/call-ar-st.exp: Likewise.
4067 * gdb.base/callfuncs.exp: Likewise.
4068 * gdb.base/condbreak.exp: Likewise.
4069 * gdb.base/constvars.exp: Likewise.
4070 * gdb.base/hbreak2.exp: Likewise.
4071 * gdb.base/langs.exp: Likewise.
4072 * gdb.base/list.exp: Likewise.
4073 * gdb.base/long_long.exp: Likewise.
4074 * gdb.base/ptype.exp: Likewise.
4075 * gdb.base/scope.exp: Likewise.
4076 * gdb.base/signals.exp: Likewise.
4077 * gdb.base/so-impl-ld.exp: Likewise.
4078 * gdb.base/varargs.exp: Likewise.
4079 * gdb.base/volatile.exp: Likewise.
4080 * gdb.base/whatis.exp: Likewise.
4081 * gdb.cp/cplusfuncs.exp: Likewise.
4082 * gdb.cp/inherit.exp: Likewise.
4083 * gdb.cp/local.exp: Likewise.
4084 * gdb.cp/member-ptr.exp: Likewise.
4085 * gdb.cp/method.exp: Likewise.
4086 * gdb.cp/overload.exp: Likewise.
4087 * gdb.cp/templates.exp: Likewise.
4088 * gdb.stabs/weird.exp: Likewise.
4089 * lib/compiler.c: Likewise.
4090 * lib/compiler.cc: Likewise.
4091 * lib/cp-support.exp: Likewise.
4092 * lib/gdb.exp: Likewise.
4094 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4096 * configure.ac: Remove HP-UX case.
4097 * configure: Regenerate.
4099 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4101 * lib/gdb.exp (gdb_compile): Add function doc.
4103 2015-12-17 Pedro Alves <palves@redhat.com>
4106 * gdb.multi/info-threads.exp: New file.
4108 2015-12-15 Yao Qi <yao.qi@linaro.org>
4110 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4113 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4115 * gdb.base/history-duplicates.exp: Skip if no readline support.
4117 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4119 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4121 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4123 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4125 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4127 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4128 ctrl-C if nointerrupts target property is set.
4129 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4130 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4131 * gdb.base/paginate-bg-execution.exp: Likewise.
4132 * gdb.base/paginate-execution-startup.exp: Likewise.
4133 * gdb.base/random-signal.exp: Likewise.
4134 * gdb.base/range-stepping.exp: Likewise.
4135 * gdb.cp/annota2.exp: Likewise.
4136 * gdb.cp/annota3.exp: Likewise.
4137 * gdb.gdb/selftest.exp: Likewise.
4138 * gdb.threads/continue-pending-status.exp: Likewise.
4139 * gdb.threads/leader-exit.exp: Likewise.
4140 * gdb.threads/manythreads.exp: Likewise.
4141 * gdb.threads/pthreads.exp: Likewise.
4142 * gdb.threads/schedlock.exp: Likewise.
4143 * gdb.threads/sigthread.exp: Likewise.
4145 2015-12-11 Don Breazeal <donb@codesourcery.com>
4147 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4149 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4150 * gdb.base/foll-exec.exp (main): Enable for target remote.
4151 * gdb.base/foll-fork.exp (main): Likewise.
4152 * gdb.base/foll-vfork.exp (main): Likewise.
4153 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4154 (proc continue_to_exit_bp_loc): Use clean_restart.
4155 * gdb.base/pie-execl.exp (main): Disable for target remote.
4156 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4157 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4158 * gdb.threads/execl.exp (main): Likewise.
4159 * gdb.threads/fork-child-threads.exp (main): Likewise.
4160 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4162 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4164 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4165 pid.tid style ptids, instead of just tid.
4166 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4167 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4168 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4169 ptids, instead of just tid.
4171 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4173 * gdb.base/list.exp (test_list_forward): Add end of file error
4175 (test_repeat_list_command): Add end of file error test.
4176 (test_list_backwards): Add beginning of file error test.
4178 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4180 * gdb.base/list.exp (test_list_invalid_args): New function,
4181 defined, and called.
4183 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4185 * gdb.base/list.exp (test_list): Make test names unique.
4187 2015-12-11 Yao Qi <yao.qi@linaro.org>
4189 * gdb.base/coremaker2.c: Remove.
4191 2015-12-10 Pedro Alves <palves@redhat.com>
4193 * gdb.multi/base.exp: Remove stale "spaces" references.
4195 2015-12-10 Pedro Alves <palves@redhat.com>
4197 * gdb.multi/base.exp: Don't use nowarnings.
4198 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4199 * gdb.multi/hangout.c: Include stdio.h.
4200 * gdb.multi/hello.c: Include stdlib.h.
4201 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4202 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4203 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4205 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4207 * gdb.dwarf2/dw2-ranges-base.c: New file.
4208 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4209 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4210 support additional line table, and debug ranges generation.
4211 (Dwarf::ranges): New function, generate .debug_ranges.
4212 (Dwarf::lines): Support generating simple line table programs.
4213 (Dwarf::assemble): Initialise new namespace variables.
4215 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4217 * gdb.base/async.exp (proc test_background): Add case for
4218 asynchronous execution not supported.
4220 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4222 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4223 format and change test names to make them unique.
4225 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4226 Pedro Alves <pedro@redhat.com>
4229 Add checking of floatformats setup on x86_64 hosts.
4230 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4231 (smallval, bigval): New labels/constants.
4232 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4233 float" after loading bigval and smallval.
4235 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4237 * gdb.ada/fun_overload_menu.exp: New testcase.
4238 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4240 2015-12-04 Josh Stone <jistone@redhat.com>
4242 * gdb.base/catch-fork-static.exp: New.
4244 2015-12-03 Yao Qi <yao.qi@linaro.org>
4246 * gdb.base/sizeof.c: Don't include stdio.h and
4247 ../lib/unbuffer_output.c.
4248 (main): New variable 'size' and 'value'. Remove printf and
4249 gdb_unbuffer_output. Assign return value to size and value.
4250 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4252 (check_sizeof): Check the result by printing variable 'size'.
4253 (check_valueof): Check the result by printing variable 'value'.
4255 2015-12-01 Yao Qi <yao.qi@linaro.org>
4257 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4258 for aarch64*-*-linux* target.
4260 2015-11-30 Pedro Alves <palves@redhat.com>
4262 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4264 2015-11-30 Pedro Alves <palves@redhat.com>
4266 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4267 Handle non-stop mode vCont replies.
4269 2015-11-30 Pedro Alves <palves@redhat.com>
4271 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4272 prepare_for_testing. Start gdb with "set non-stop on" appended to
4273 GDBFLAGS. Lax expected stop output.
4275 2015-11-27 Yao Qi <yao.qi@linaro.org>
4277 * gdb.arch/arm-neon.exp: New.
4278 * gdb.arch/arm-neon.c: New.
4280 2015-11-27 Yao Qi <yao.qi@linaro.org>
4282 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4284 2015-11-27 Yao Qi <yao.qi@linaro.org>
4286 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4287 frames-invalid annotation.
4289 2015-11-27 Yao Qi <yao.qi@linaro.org>
4291 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4293 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4295 * gdb.threads/names.exp: New file.
4296 * gdb.threads/names.c: New file.
4297 * README: Mention gdb,no_thread_names.
4299 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4302 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4305 2015-11-24 Pedro Alves <palves@redhat.com>
4308 * gdb.base/display.exp: Expect displays to be sorted in ascending
4309 order. Use multi_line.
4310 * gdb.base/solib-display.exp: Likewise.
4312 2015-11-24 Pedro Alves <palves@redhat.com>
4315 * gdb.base/display.exp: Expect displays to be sorted in ascending
4316 order. Use multi_line.
4317 * gdb.base/solib-display.exp: Likewise.
4319 2015-11-24 Pedro Alves <palves@redhat.com>
4322 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4323 threads in ascending order.
4324 * gdb.base/foll-fork.exp: Likewise.
4325 * gdb.base/foll-vfork.exp: Likewise.
4326 * gdb.base/multi-forks.exp: Likewise.
4327 * gdb.mi/mi-nonstop.exp: Likewise.
4328 * gdb.mi/mi-nsintrall.exp: Likewise.
4329 * gdb.multi/base.exp: Likewise.
4330 * gdb.multi/multi-arch.exp: Likewise.
4331 * gdb.python/py-inferior.exp: Likewise.
4332 * gdb.threads/break-while-running.exp: Likewise.
4333 * gdb.threads/execl.exp: Likewise.
4334 * gdb.threads/gcore-thread.exp: Likewise.
4335 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4336 * gdb.threads/kill.exp: Likewise.
4337 * gdb.threads/linux-dp.exp: Likewise.
4338 * gdb.threads/multiple-step-overs.exp: Likewise.
4339 * gdb.threads/next-bp-other-thread.exp: Likewise.
4340 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4341 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4342 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4343 * gdb.threads/thread-find.exp: Likewise.
4344 * gdb.threads/tls.exp: Likewise.
4345 * lib/mi-support.exp (mi_reverse_list): Delete.
4346 (mi_check_thread_states): No longer reverse list.
4348 2015-11-24 Pedro Alves <palves@redhat.com>
4350 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4353 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4355 * gdb.trace/actions.c: Include trace-common.h.
4356 (main): Add a location for a fast tracepoint.
4357 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4358 the normal tracepoints.
4359 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4361 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4363 * save-trace.exp: Factor out code to these...
4364 (gdb_save_tracepoints): New.
4365 (gdb_load_tracepoints): New.
4366 (do_save_load_test): New.
4368 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4370 * gdb.base/asmlabel.exp: New test.
4371 * gdb.base/asmlabel.c: New test case.
4373 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4375 * gdb.base/wrong_frame_bt_full-main.c: New file.
4376 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4377 * gdb.base/wrong_frame_bt_full.exp: New file.
4379 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4381 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4383 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4385 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4386 pstate register when comparing registers values in
4387 sparc64-*-linux-gnu targets to avoid spurious differences.
4389 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4391 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4393 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4395 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4396 as type argument to gdb_compile.
4397 * gdb.base/nested-subp2.exp: Likewise.
4398 * gdb.base/nested-subp3.exp: Likewise.
4400 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4402 * lib/dwarf.exp (_note): Fix left shift of negative value.
4403 * gdb.trace/trace-condition.exp: Likewise.
4405 2015-11-13 Yao Qi <yao.qi@linaro.org>
4407 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4408 comments about d10v.
4409 (test_scalar_returns): Likewise.
4410 * gdb.base/d10v.ld: Remove.
4411 * gdb.base/overlays.exp: Remove the target triplet checking for
4413 * gdb.base/structs.exp (test_struct_returns): Remove the
4414 comments about d10v.
4415 (test_struct_calls): Likewise.
4417 2015-11-13 Yao Qi <yao.qi@linaro.org>
4419 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4420 * gdb.base/gnu_vector.c: Don't include stdio.h.
4421 (main): Don't print res and call add_some_intvecs.
4423 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4425 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4428 (func4): Use FAST_TRACEPOINT_LABEL.
4429 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4432 (thread_function): Use FAST_TRACEPOINT_LABEL.
4433 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4435 (marker): Use FAST_TRACEPOINT_LABEL.
4436 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4437 (pendfunc1): Remove.
4438 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4439 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4441 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4442 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4445 (marker): Use FAST_TRACEPOINT_LABEL.
4446 * gdb.trace/trace-common.h: New header.
4447 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4450 (marker): Use FAST_TRACEPOINT_LABEL.
4451 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4453 (thread_function): Use FAST_TRACEPOINT_LABEL.
4455 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4457 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4459 * gdb.trace/change-loc.exp: Use global pcreg definition.
4460 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4461 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4463 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4464 * gdb.trace/pending.exp: Likewise.
4465 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4466 * gdb.trace/trace-break.exp: Likewise.
4467 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4469 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4470 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4472 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4474 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4476 * gdb.ada/fin_fun_out: New testcase.
4478 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4480 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4481 value associated with DW_AT_byte_size.
4482 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4483 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4486 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4488 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4489 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4491 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4492 gdb.dwarf2/dw2-canonicalize-type.exp,
4493 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4494 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4495 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4496 provided by gdb_target_symbol_prefix_flags_asm.
4497 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4498 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4499 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4500 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4501 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4502 macros where needed). Use this macro for symbols which require
4503 the prefix provided by SYMBOL_PREFIX.
4505 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4507 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4509 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4510 representing expressions, of more than one list element.
4511 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4512 to prepend linker symbol prefix to f.
4513 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4514 table_1 and table_2.
4515 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4516 Likewise, for f and g.
4517 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4519 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4521 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4522 table_1_ptr and table_2_ptr.
4524 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4525 Joel Brobecker <brobecker@adacore.com>
4527 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4529 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4531 * gdb.reverse/s390-mvcle.c: New test.
4532 * gdb.reverse/s390-mvcle.exp: New file.
4533 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4535 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4537 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4539 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4541 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4543 * gdb.reverse/getresuid-reverse.exp: Likewise.
4544 * gdb.reverse/pipe-reverse.exp: Likewise.
4545 * gdb.reverse/readv-reverse.exp: Likewise.
4546 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4547 * gdb.reverse/time-reverse.exp: Likewise.
4548 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4550 2015-10-30 Yao Qi <yao.qi@linaro.org>
4552 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4553 (empty_cycle): Remove.
4554 (main): Don't call empty_cycle. Don't use watch_count_done.
4555 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4556 empty_cycle. Rewrite the code counting HW watchpoints.
4558 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4560 * gdb.reverse/fstatat-reverse.c: New test.
4561 * gdb.reverse/fstatat-reverse.exp: New file.
4562 * gdb.reverse/getresuid-reverse.c: New test.
4563 * gdb.reverse/getresuid-reverse.exp: New file.
4564 * gdb.reverse/pipe-reverse.c: New test.
4565 * gdb.reverse/pipe-reverse.exp: New file.
4566 * gdb.reverse/readv-reverse.c: New test.
4567 * gdb.reverse/readv-reverse.exp: New file.
4568 * gdb.reverse/recvmsg-reverse.c: New test.
4569 * gdb.reverse/recvmsg-reverse.exp: New file.
4570 * gdb.reverse/time-reverse.c: New test.
4571 * gdb.reverse/time-reverse.exp: New file.
4572 * gdb.reverse/waitpid-reverse.c: New test.
4573 * gdb.reverse/waitpid-reverse.exp: New file.
4575 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4577 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4579 2015-10-26 Doug Evans <dje@google.com>
4582 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4583 * gdb.dwarf2/bad-regnum.c: New file.
4584 * gdb.dwarf2/bad-regnum.exp: New file.
4586 2015-10-26 Doug Evans <dje@google.com>
4589 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4592 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4594 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4595 for a change by "Mention language in compile error message".
4597 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4600 * gdb.python/py-type.c (C::a_method): New.
4601 (C::a_const_method): New.
4602 (C::a_static_method): New.
4604 * gdb.python/py-type.exp (test_fields): Test getting fields
4605 from function and method.
4607 2015-10-21 Keven Boell <keven.boell@intel.com>
4609 * gdb.fortran/vla-alloc-assoc.exp: New file.
4610 * gdb.fortran/vla-datatypes.exp: New file.
4611 * gdb.fortran/vla-datatypes.f90: New file.
4612 * gdb.fortran/vla-history.exp: New file.
4613 * gdb.fortran/vla-ptype-sub.exp: New file.
4614 * gdb.fortran/vla-ptype.exp: New file.
4615 * gdb.fortran/vla-sizeof.exp: New file.
4616 * gdb.fortran/vla-sub.f90: New file.
4617 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4618 * gdb.fortran/vla-value-sub-finish.exp: New file.
4619 * gdb.fortran/vla-value-sub.exp: New file.
4620 * gdb.fortran/vla-value.exp: New file.
4621 * gdb.fortran/vla-ptr-info.exp: New file.
4622 * gdb.mi/mi-vla-fortran.exp: New file.
4623 * gdb.mi/vla.f90: New file.
4625 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4627 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4628 of hardwired timeout value.
4630 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4631 Pedro Alves <palves@redhat.com>
4633 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4634 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4636 2015-10-19 Josh Stone <jistone@redhat.com>
4638 * gdb.base/catch-syscall.c: Include <sched.h>.
4639 (unknown_syscall): New variable.
4640 (main): Trigger a vfork and an unknown syscall.
4641 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4642 (unknown_syscall_number): Likewise.
4643 (check_call_to_syscall): Accept an optional syscall pattern.
4644 (check_return_from_syscall): Likewise.
4645 (check_continue): Likewise.
4646 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4647 (test_catch_syscall_skipping_return): New test toggling off 'catch
4648 syscall' to step over the syscall return, then toggling back on.
4649 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4650 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4651 (do_syscall_tests): Call test_catch_syscall_without_args and
4652 test_catch_syscall_mid_vfork.
4653 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4654 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4656 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4658 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4659 print g_vE): Add new pass patterns.
4660 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4661 print various symbol names for vptr fields.
4663 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4665 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4668 2015-10-12 Yao Qi <yao.qi@linaro.org>
4670 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4672 2015-10-12 Yao Qi <yao.qi@linaro.org>
4674 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4675 is aarch64*-*-linux*.
4677 2015-10-12 Yao Qi <yao.qi@linaro.org>
4679 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4680 (can_relocate_bcond_true): ... it.
4681 (can_relocate_bcond_false): New function.
4683 (can_relocate_bl): Likewise.
4684 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4687 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4689 * gdb.base/nested-addr.c: New file.
4690 * gdb.base/nested-addr.exp: New testcase.
4692 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4694 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4695 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4696 its output. Ignore the output of "record goto begin" and instead
4697 check that GDB is replaying.
4699 2015-10-09 Pedro Alves <palves@redhat.com>
4701 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4702 (top level): Use it in the run with no args test.
4704 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4706 * gdb.dlang/properties.exp: New file.
4708 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4710 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4711 whether or not address 0x1000 is mapped on the target.
4713 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4715 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4718 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4720 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4721 instruction-history test.
4723 2015-09-28 Doug Evans <dje@google.com>
4725 * gdb.base/gcore.c (array_func): Add reference to static_array.
4727 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4729 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4732 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4734 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4735 short or char as base type.
4737 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4739 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4740 to allow any size enum.
4742 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4744 * gdb.ada/array_ptr_renaming.exp: New testcase.
4745 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4746 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4748 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4750 * gdb.trace/ftrace-lock.c: New file.
4751 * gdb.trace/ftrace-lock.exp: New file.
4753 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4755 * gdb.arch/insn-reloc.c: New file.
4756 * gdb.arch/ftrace-insn-reloc.exp: New file.
4758 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4760 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4762 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4763 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4764 * gdb.trace/range-stepping.c: Likewise.
4765 * gdb.trace/trace-break.c: Likewise.
4766 * gdb.trace/trace-mt.c (thread_function): Likewise.
4767 * gdb.trace/ftrace.c (marker): Likewise.
4768 * gdb.trace/trace-condition.c (marker): Likewise.
4769 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4770 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4773 2015-09-18 Doug Evans <xdje42@gmail.com>
4775 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4776 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4778 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4780 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4783 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4785 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4786 the pending breakpoint. Remove timeout override for "Run till
4787 MI pending breakpoint on pendfunc3 on thread 2" test.
4789 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4791 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4794 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4796 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
4797 in breakpoint filename pattern.
4799 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4801 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
4803 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4805 * gdb.linespec/explicit.exp: Check for readline support for
4806 tab-completion tests. Fix obvious typo.
4808 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4810 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
4813 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4815 * gdb.btrace/non-stop.c: New.
4816 * gdb.btrace/non-stop.exp: New.
4818 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
4819 Yao Qi <yao.qi@linaro.org>
4821 * gdb.trace/trace-condition.c: New file.
4822 * gdb.trace/trace-condition.exp: New file.
4824 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
4826 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
4827 for testing bytecode compilation.
4829 2015-09-16 Pedro Alves <palves@redhat.com>
4830 Sandra Loosemore <sandra@codesourcery.com>
4832 * gdb.threads/non-stop-fair-events.c (timeout): New global.
4833 (SECONDS): Redefine.
4834 (main): Call pthread_kill and alarm early.
4835 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
4837 (test): If the target can't hardware step and doesn't support
4838 displaced stepping, increase the timeout.
4840 2015-09-16 Pedro Alves <palves@redhat.com>
4842 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4843 (enable_debug): New procedures.
4844 (test): Use them. Bail out if waiting for threads fails.
4845 (top level): Bail out if a test fails.
4847 2015-09-16 Yao Qi <yao.qi@linaro.org>
4849 * gdb.asm/asm-source.exp: Set asm-arch for
4850 aarch64*-*-* target.
4851 * gdb.asm/aarch64.inc: New file.
4853 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4855 * gdb.ada/array_of_variable_length.exp: New testcase.
4856 * gdb.ada/array_of_variable_length/foo.adb: New file.
4857 * gdb.ada/array_of_variable_length/pck.adb: New file.
4858 * gdb.ada/array_of_variable_length/pck.ads: New file.
4860 2015-09-15 Doug Evans <dje@google.com>
4862 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4863 of function static local variable.
4865 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4867 * gdb.threads/tls-so_extern.exp: New test file.
4868 * gdb.threads/tls-so_extern.c: New test file.
4869 * gdb.threads/tls-so_extern_main.c: New test file.
4871 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4873 * gdb.opt/solib-intra-step-lib.c: New file.
4874 * gdb.opt/solib-intra-step-main.c: New file.
4875 * gdb.opt/solib-intra-step.exp: New file.
4877 2015-09-15 Pedro Alves <palves@redhat.com>
4879 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4880 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4882 2015-09-14 Pedro Alves <palves@redhat.com>
4884 * gdb.base/hook-stop-continue.c: Delete.
4885 * gdb.base/hook-stop-continue.exp: Delete.
4886 * gdb.base/hook-stop-frame.c: Delete.
4887 * gdb.base/hook-stop-frame.exp: Delete.
4888 * gdb.base/hook-stop.c: New file.
4889 * gdb.base/hook-stop.exp: New file.
4891 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4893 * gdb.ada/access_to_packed_array.exp: New testcase.
4894 * gdb.ada/access_to_packed_array/foo.adb: New file.
4895 * gdb.ada/access_to_packed_array/pack.adb: New file.
4896 * gdb.ada/access_to_packed_array/pack.ads: New file.
4898 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4900 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4903 2015-09-11 Don Breazeal <donb@codesourcery.com>
4905 * gdb.base/foll-exec.c: Add copyright header. Fix
4907 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4908 (do_exec_tests): Use clean_restart in place of zap_session,
4909 and for test initialization. Fix formatting issues. Use
4910 fail in place of perror.
4911 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4912 an expect statement to match an expression with output from
4913 the program under debug.
4914 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4915 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4916 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4917 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4918 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4920 2015-09-09 Doug Evans <dje@google.com>
4922 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4924 2015-09-09 Doug Evans <dje@google.com>
4926 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4928 2015-09-09 Doug Evans <dje@google.com>
4930 * gdb.base/savedregs.exp: Fix typo.
4932 2015-09-09 Pedro Alves <palves@redhat.com>
4934 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4936 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4938 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4939 command actually switches threads. Give up on remaining
4940 tests if target fails to stop at breakpoint.
4942 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4944 * gdb.ada/funcall_char.exp: New testcase.
4945 * gdb.ada/funcall_char/foo.adb: New file.
4947 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4949 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4950 expected outputs. Add two testcases for completing ambiguous
4952 * gdb.ada/complete/aux_pck.adb: New file.
4953 * gdb.ada/complete/aux_pck.ads: New file.
4954 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4955 Ambiguous_Func functions.
4956 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4957 * gdb.ada/complete/pck.adb: Likewise.
4959 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4961 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4962 failures to run the test program under GDB.
4964 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4966 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4969 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4971 * gdb.base/run-after-attach.exp: New test file.
4972 * gdb.base/run-after-attach.c: New test file.
4974 2015-08-26 Don Breazeal <donb@codesourcery.com>
4976 * gdb.base/foll-exec-2.c: New test program.
4977 * gdb.base/foll-exec-2.exp: New test.
4979 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4981 * gdb.base/nested-subp1.exp: New file.
4982 * gdb.base/nested-subp1.c: New file.
4983 * gdb.base/nested-subp2.exp: New file.
4984 * gdb.base/nested-subp2.c: New file.
4985 * gdb.base/nested-subp3.exp: New file.
4986 * gdb.base/nested-subp3.c: New file.
4988 2015-08-24 Pedro Alves <palves@redhat.com>
4990 * gdb.server/connect-without-multi-process.c: New file.
4991 * gdb.server/connect-without-multi-process.exp: New file.
4993 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4995 * gdb.opt/inline-markers.c: Make z int.
4997 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4999 * gdb.opt/inline-markers.c: Make z volatile.
5001 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5003 * gdb.opt/inline-bt.c: New volatile global z.
5004 * gdb.opt/inline-cmds.c: Likewise.
5005 * gdb.opt/inline-locals.c: Likewise.
5006 * gdb.opt/inline-markers.c: New extern global z.
5008 (inline_fn): Likewise.
5010 2015-08-24 Pedro Alves <palves@redhat.com>
5012 * config/m32r-stub.exp: Remove file.
5013 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5014 * gdb.base/call-rt-st.exp: Likewise.
5015 * gdb.base/call-strs.exp: Likewise.
5016 * gdb.base/default.exp: Remove references to h8300-*-hms and
5018 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5020 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5022 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5023 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5024 and "return" use KFAIL when GDB can not read/write the vector
5027 2015-08-21 Gary Benson <gbenson@redhat.com>
5029 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5031 2015-08-20 Pedro Alves <palves@redhat.com>
5033 * gdb.server/solib-list.exp: No longer expect an interior stop in
5036 2015-08-20 Pedro Alves <palves@redhat.com>
5038 * gdb.server/connect-stopped-target.c: New file.
5039 * gdb.server/connect-stopped-target.exp: New file.
5041 2015-08-20 Pedro Alves <palves@redhat.com>
5043 * gdb.dwarf2/comp-unit-lang.exp: New file.
5044 * gdb.dwarf2/comp-unit-lang.c: New file.
5046 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5048 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5049 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5051 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5053 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5054 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5056 2015-08-18 Doug Evans <dje@google.com>
5057 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5059 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5060 skip_python_tests. New arg prompt_regexp.
5061 (skip_python_tests): New function.
5062 * lib/mi-support.exp (mi_skip_python_tests): New function.
5063 * gdb.python/py-mi-objfile-gdb.py: New file.
5064 * gdb.python/py-mi-objfile.c: New file.
5065 * gdb.python/py-mi-objfile.exp: New file.
5067 2015-08-17 Keith Seitz <keiths@redhat.com>
5069 * gdb.linespec/explicit.exp: Move strace test from here ...
5070 * gdb.trace/strace.exp: ... to here.
5072 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5074 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5075 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5077 2015-08-14 Doug Evans <xdje42@gmail.com>
5079 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5080 inferior before selecting a new file.
5082 2015-08-14 Doug Evans <xdje42@gmail.com>
5084 * gdb.mi/mi-disassemble.exp: Update.
5085 * gdb.base/disasm-optim.S: New file.
5086 * gdb.base/disasm-optim.c: New file.
5087 * gdb.base/disasm-optim.h: New file.
5088 * gdb.base/disasm-optim.exp: New file.
5090 2015-08-14 Keith Seitz <keiths@redhat.com>
5092 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5095 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5097 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5099 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5101 * gdb.ada/fun_renaming.exp: New testcase.
5102 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5103 * gdb.ada/fun_renaming/pack.adb: New file.
5104 * gdb.ada/fun_renaming/pack.ads: New file.
5106 2015-08-12 Keith Seitz <keiths@redhat.com>
5108 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5109 gdb_get_line_number.
5111 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5113 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5114 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5115 gdb.base/dso2dso.exp: New files.
5117 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5118 Pedro Alves <palves@redhat.com>
5119 Keith Seitz <keiths@redhat.com>
5121 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5124 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5126 * gdb.base/gdbhistsize-history.exp
5127 (test_histsize_history_setting): Use save_vars.
5128 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5130 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5131 * gdb.base/readline.exp: Use save_vars.
5133 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5135 * lib/gdb.exp (save_vars): New proc.
5137 2015-08-11 Keith Seitz <keiths@redhat.com>
5139 * gdb.base/help.exp: Update help_breakpoint_text.
5141 2015-08-11 Keith Seitz <keiths@redhat.com>
5143 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5144 (at toplevel): Call test_explicit_breakpoints.
5145 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5147 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5148 breakpoint conditions, "-cond".
5150 2015-08-11 Keith Seitz <keiths@redhat.com>
5152 * gdb.linespec/3explicit.c: New file.
5153 * gdb.linespec/cpexplicit.cc: New file.
5154 * gdb.linespec/cpexplicit.exp: New file.
5155 * gdb.linespec/explicit.c: New file.
5156 * gdb.linespec/explicit.exp: New file.
5157 * gdb.linespec/explicit2.c: New file.
5158 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5159 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5160 before using in the matching pattern.
5161 Clarify that `prefix' is a regular expression.
5163 2015-08-11 Keith Seitz <keiths@redhat.com>
5165 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5167 Add tests for missing ",FMT" and ",".
5169 2015-08-10 Doug Evans <dje@google.com>
5170 Keith Seitz <keiths@redhat.com>
5173 * gdb.base/completion.exp: Add location completer tests.
5175 2015-08-07 Pedro Alves <palves@redhat.com>
5177 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5179 (top level): Run do_test with and without displaced stepping.
5181 2015-08-07 Pedro Alves <palves@redhat.com>
5183 * gdb.base/valgrind-disp-step.c: New file.
5184 * gdb.base/valgrind-disp-step.exp: New file.
5186 2015-08-07 Pedro Alves <palves@redhat.com>
5188 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5190 (main): Add alarm. Run an infinite loop instead of calling
5192 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5194 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5196 (main): Add alarm. Run an infinite loop instead of calling
5198 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5201 2015-08-07 Pedro Alves <palves@redhat.com>
5203 * gdb.base/checkpoint-ns.exp: New file.
5204 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5207 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5209 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5210 * gdb.btrace/instruction_history.exp: Update.
5211 * gdb.btrace/tsx.exp: New.
5212 * gdb.btrace/tsx.c: New.
5214 2015-08-06 Pedro Alves <palves@redhat.com>
5216 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5218 * gdb.reverse/until-precsave.exp: Bump timeouts.
5220 2015-08-06 Pedro Alves <palves@redhat.com>
5222 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5224 2015-08-06 Pedro Alves <palves@redhat.com>
5227 * gdb.threads/process-dies-while-handling-bp.c: New file.
5228 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5230 2015-08-06 Pedro Alves <palves@redhat.com>
5232 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5233 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5235 2015-08-05 Pedro Alves <palves@redhat.com>
5237 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5238 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5240 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5242 * gdb.base/bp-permanent.exp: Report test as unsupported if
5243 the target cannot stop at the permanent breakpoint.
5245 2015-08-03 Doug Evans <dje@google.com>
5247 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5250 2015-08-03 Doug Evans <dje@google.com>
5252 * Makefile.in (workers/%.worker, build-perf): New rule.
5253 (GDB_PERFTEST_MODE): New variable.
5254 (check-perf): Use it.
5255 (clean): Clean up gdb.perf parallel build subdirs.
5256 * lib/build-piece.exp: New file.
5257 * lib/gdb.exp (make_gdb_parallel_path): New function
5258 (standard_output_file, standard_temp_file): Call it.
5259 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5261 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5263 2015-08-03 Doug Evans <dje@google.com>
5265 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5266 (LOG_FILE_NAME): New global.
5267 (TextReporter.__init__): Initialize self.txt_sum.
5268 (TextReporter.report): Add support for multiple data-points.
5269 Move report to perftest.sum, put raw data in perftest.log.
5270 (TextReporter.start): Open sum and log files.
5271 (TextReporter.end): Close sum and log files.
5272 * gdb.perf/lib/perftest/testresult.py
5273 (SingleStatisticTestResult.record): Handle multiple data-points.
5275 2015-07-31 Pedro Alves <palves@redhat.com>
5277 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5278 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5279 kill_wait_spawned_process instead of explicit "kill -9".
5280 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5281 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5282 kill_wait_spawned_process.
5283 * gdb.base/attach-twice.exp: Likewise.
5284 * gdb.base/attach.exp: Likewise.
5285 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5287 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5288 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5289 kill_wait_spawned_process.
5290 * gdb.base/valgrind-infcall.exp: Likewise.
5291 * gdb.multi/multi-attach.exp: Likewise.
5292 * gdb.python/py-prompt.exp: Likewise.
5293 * gdb.python/py-sync-interp.exp: Likewise.
5294 * gdb.server/ext-attach.exp: Likewise.
5295 * gdb.threads/attach-into-signal.exp (corefunc): Use
5296 spawn_wait_for_attach, spawn_id_get_pid and
5297 kill_wait_spawned_process.
5298 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5299 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5300 spawn_id_get_pid and kill_wait_spawned_process.
5301 * gdb.threads/attach-stopped.exp (corefunc): Use
5302 spawn_wait_for_attach, spawn_id_get_pid and
5303 kill_wait_spawned_process.
5304 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5305 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5306 kill_wait_spawned_process instead of explicit "kill -9".
5307 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5308 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5309 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5310 processes. Don't map cygwin/windows pids here. Now returns a
5313 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5315 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5316 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5319 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5321 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5323 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5326 2014-05-21 Mark Wielaard <mjw@redhat.com>
5328 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5330 2015-07-30 Pedro Alves <palves@redhat.com>
5332 * linux-low.c (handle_extended_wait): Set the child's last
5333 reported status to TARGET_WAITKIND_STOPPED.
5335 2015-07-30 Pedro Alves <palves@redhat.com>
5338 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5339 only shows inferior 1.
5341 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5342 Pedro Alves <palves@redhat.com>
5345 * gdb.threads/fork-plus-threads.c: New file.
5346 * gdb.threads/fork-plus-threads.exp: New file.
5348 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5350 * gdb.base/batch-preserve-term-settings.exp
5351 (test_terminal_settings_preserved_after_cli_exit): Use
5354 2015-07-29 Pedro Alves <palves@redhat.com>
5355 Don Breazeal <donb@codesourcery.com>
5357 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5358 output from both inferior_spawn_id and gdb_spawn_id.
5360 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5362 * gdb.threads/attach-into-signal.exp (corefunc): Use
5363 with_test_prefix on nested loops, uniquefying the test messages.
5365 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5367 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5370 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5372 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5374 (test_terminal_settings_preserved_after_sigterm): New test.
5376 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5378 * gdb.base/batch-preserve-term-settings.exp
5379 (test_terminal_settings_preserved_after_cli_exit): New test.
5381 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5383 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5384 manipulation of saved_gdbflags.
5385 (test_terminal_settings_preserved): Remove global declaration of
5386 the unused variable pagination_prompt. Remove manipulation of
5387 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5390 2015-07-29 Pedro Alves <palves@redhat.com>
5392 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5394 2015-07-29 Pedro Alves <palves@redhat.com>
5396 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5399 2015-07-29 Pedro Alves <palves@redhat.com>
5401 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5402 (main): Call gdb_unbuffer_output.
5403 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5404 (main): Call gdb_unbuffer_output.
5405 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5406 (main): Call gdb_unbuffer_output.
5407 * gdb.base/call-strs.exp: Adjust to step over the
5408 gdb_unbuffer_output call.
5409 * gdb.base/catch-gdb-caused-signals.c: Include
5410 "../lib/unbuffer_output.c".
5411 (main): Call gdb_unbuffer_output.
5412 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5413 (main): Call gdb_unbuffer_output.
5414 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5415 (main): Call gdb_unbuffer_output.
5416 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5417 (main): Call gdb_unbuffer_output.
5418 * gdb.base/shlib-call.exp: Adjust to step over the
5419 gdb_unbuffer_output call.
5420 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5421 (main): Call gdb_unbuffer_output.
5422 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5423 (main): Call gdb_unbuffer_output.
5424 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5425 (main): Rename to ...
5427 (main): Reimplement.
5428 * gdb.base/varargs.exp: Run to test instead of to main.
5429 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5430 (main): Call gdb_unbuffer_output.
5432 2015-07-29 Pedro Alves <palves@redhat.com>
5434 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5435 factore out from mi_continue_dprintf. For call-style dprintfs,
5436 expect dprintf output out of $inferior_spawn_id.
5437 (mi_continue_dprintf): Use mi_expect_dprintf.
5438 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5439 (main): Call gdb_unbuffer_output.
5441 2015-07-29 Pedro Alves <palves@redhat.com>
5443 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5444 (default_mi_gdb_start): Set inferior_spawn_id instead of
5445 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5447 (mi_gdb_test): Always expect inferior output from both
5448 $inferior_spawn_id and $gdb_spawn_id.
5450 2015-07-29 Pedro Alves <palves@redhat.com>
5452 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5453 send_inferior and $inferior_spawn_id.
5455 2015-07-29 Pedro Alves <palves@redhat.com>
5457 * gdb.gdb/complaints.exp (test_initial_complaints)
5458 (test_serial_complaints, test_short_complaints): Use
5460 (test_empty_complaint): Handle $inferior_spawn_id !=
5463 2015-07-29 Pedro Alves <palves@redhat.com>
5465 * gdb.base/varargs.exp: Use gdb_test_stdio.
5467 2015-07-29 Pedro Alves <palves@redhat.com>
5469 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5471 2015-07-29 Pedro Alves <palves@redhat.com>
5473 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5475 2015-07-29 Pedro Alves <palves@redhat.com>
5477 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5478 parameter into two new parameters, "inf_result" and "gdb_result".
5479 Expect inferior output and gdb output from $inferior_spawn_id and
5480 $gdb_spawn_id, respectively. Adjust all callers.
5482 2015-07-29 Pedro Alves <palves@redhat.com>
5484 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5485 of gdb_test_sequence.
5487 2015-07-29 Pedro Alves <palves@redhat.com>
5489 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5490 (saw_spurious_output): Expect inferior output from
5491 $inferior_spawn_id. Use gdb_test_stdio.
5493 2015-07-29 Pedro Alves <palves@redhat.com>
5495 * gdb.base/dprintf.exp: Use standard_testfile. Change
5496 prepare_for_testing call.
5497 (srcfile): Don't set.
5498 (restart): New procedure.
5499 (test_dprintf): New procecure, use to continue over dprintfs.
5500 (test_call, test_agent): New procedures, tests moved here.
5501 Restart gdb and recreate dprintfs. Adjust expected output.
5503 2015-07-29 Pedro Alves <palves@redhat.com>
5505 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5507 2015-07-29 Pedro Alves <palves@redhat.com>
5509 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5511 2015-07-29 Pedro Alves <palves@redhat.com>
5513 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5516 2015-07-29 Pedro Alves <palves@redhat.com>
5518 * lib/gdb.exp (gdb_test_stdio): New procedure.
5520 2015-07-29 Pedro Alves <palves@redhat.com>
5522 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5524 2015-07-29 Pedro Alves <palves@redhat.com>
5526 * gdb.base/call-signal-resume.exp: Remove check for
5527 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5528 * gdb.base/unwindonsignal.exp: Likewise.
5529 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5530 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5532 2015-07-29 Pedro Alves <palves@redhat.com>
5534 * gdb.base/siginfo-addr.c (pass): New function.
5535 (handler): Call it iff si_addr is correct.
5536 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5537 Set a breakpoint at "pass" and continue to it.
5539 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5541 * gdb.python/py-objfile.exp: Make some tests have unique names.
5542 * gdb.python/py-pp-registration.exp: Likewise.
5544 2015-07-28 Pedro Alves <palves@redhat.com>
5546 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5548 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5550 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5552 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5554 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5556 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5558 * gdb.base/gdb-sigterm-2.exp: New test.
5560 2015-07-25 Doug Evans <xdje42@gmail.com>
5563 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5564 (workers/%.worker, build-perf): New rule.
5565 (GDB_PERFTEST_MODE): New variable.
5566 (check-perf): Use it.
5567 (clean): Clean up gdb.perf parallel build subdirs.
5568 * lib/build-piece.exp: New file.
5569 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5570 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5572 (standard_temp_file): Ditto.
5573 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5576 2015-07-24 Doug Evans <dje@google.com>
5578 * gdb.perf/lib/perftest/utils.py: New file.
5579 * gdb.perf/gm-hello.cc: New file.
5580 * gdb.perf/gm-pervasive-typedef.cc: New file.
5581 * gdb.perf/gm-pervasive-typedef.h: New file.
5582 * gdb.perf/gm-std.cc: New file.
5583 * gdb.perf/gm-std.h: New file.
5584 * gdb.perf/gm-use-cerr.cc: New file.
5585 * gdb.perf/gm-utils.h: New file.
5586 * gdb.perf/gmonster-null-lookup.py: New file.
5587 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5588 * gdb.perf/gmonster-print-cerr.py: New file.
5589 * gdb.perf/gmonster-ptype-string.py: New file.
5590 * gdb.perf/gmonster-runto-main.py: New file.
5591 * gdb.perf/gmonster-select-file.py: New file.
5592 * gdb.perf/gmonster1-null-lookup.exp: New file.
5593 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5594 * gdb.perf/gmonster1-print-cerr.exp: New file.
5595 * gdb.perf/gmonster1-ptype-string.exp: New file.
5596 * gdb.perf/gmonster1-runto-main.exp: New file.
5597 * gdb.perf/gmonster1-select-file.exp: New file.
5598 * gdb.perf/gmonster1.cc: New file.
5599 * gdb.perf/gmonster1.exp: New file.
5600 * gdb.perf/gmonster2-null-lookup.exp: New file.
5601 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5602 * gdb.perf/gmonster2-print-cerr.exp: New file.
5603 * gdb.perf/gmonster2-ptype-string.exp: New file.
5604 * gdb.perf/gmonster2-runto-main.exp: New file.
5605 * gdb.perf/gmonster2-select-file.exp: New file.
5606 * gdb.perf/gmonster2.cc: New file.
5607 * gdb.perf/gmonster2.exp: New file.
5609 2015-07-24 Doug Evans <dje@google.com>
5611 * gdb.perf/README: New file.
5612 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5613 * lib/gen-perf-test.exp: New file.
5615 2015-07-24 Doug Evans <dje@google.com>
5617 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5618 (PerfTest::startup): New function.
5619 (PerfTest::run): Return result of calling body.
5620 (PerfTest::assemble): Rewrite.
5621 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5622 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5623 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5624 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5625 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5627 2015-07-24 Doug Evans <dje@google.com>
5629 * lib/gdb.exp (clean_restart): Make executable optional.
5631 2015-07-24 Doug Evans <dje@google.com>
5633 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5634 compiler_info references.
5635 * gdb.cp/temargs.exp: Ditto.
5636 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5637 (get_compiler_info): Early exit if already computed. Set compiler_info
5638 to "unknown" if there was a problem.
5639 (test_compiler_info): Add function comment. Call get_compiler_info.
5641 2015-07-24 Doug Evans <dje@google.com>
5643 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5644 (workers/%.worker, build-perf): New rule.
5645 (GDB_PERFTEST_MODE): New variable.
5646 (check-perf): Use it.
5647 (clean): Clean up gdb.perf parallel build subdirs.
5648 * lib/build-piece.exp: New file.
5649 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5650 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5652 (standard_temp_file): Ditto.
5653 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5656 2015-07-24 Doug Evans <dje@google.com>
5658 * lib/future.exp (gdb_default_target_compile): New option
5660 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5663 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5665 * gdb.base/catch-syscall.exp: Call gdb_exit before
5668 2015-07-24 Pedro Alves <palves@redhat.com>
5670 * gdb.python/py-events.exp: Accept output between the stop event
5672 * gdb.python/py-evsignal.exp: Likewise.
5673 * gdb.python/py-evthreads.exp: Likewise.
5675 2015-07-24 Pedro Alves <palves@redhat.com>
5678 * gdb.threads/non-ldr-exit.c: New file.
5679 * gdb.threads/non-ldr-exit.exp: New file.
5681 2015-07-24 Yao Qi <yao.qi@linaro.org>
5683 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5686 2015-07-24 Yao Qi <yao.qi@linaro.org>
5688 * gdb.server/ext-restart.exp: New file.
5690 2015-07-24 Yao Qi <yao.qi@linaro.org>
5692 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5694 * gdb.server/ext-wrapper.exp: New file.
5696 2015-07-23 Doug Evans <dje@google.com>
5698 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5699 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5701 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5703 * gdb.ada/var_arr_typedef.exp: New testcase.
5704 * gdb.ada/var_arr_typedef/pack.adb: New file.
5705 * gdb.ada/var_arr_typedef/pack.ads: New file.
5706 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5708 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5710 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5712 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5714 * gdb.arch/i386-biarch-core.exp: Replace istarget
5715 by "complete set gnutarget". Remove expectation for the "core-file"
5718 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5720 Revert the previous commit:
5721 Tests for validate symbol file using build-id.
5723 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5725 Tests for validate symbol file using build-id.
5726 * gdb.base/solib-mismatch-lib.c: New file.
5727 * gdb.base/solib-mismatch-libmod.c: New file.
5728 * gdb.base/solib-mismatch.c: New file.
5729 * gdb.base/solib-mismatch.exp: New file.
5731 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5733 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5735 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5736 * gdb.base/siginfo.exp: Likewise.
5737 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5739 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5741 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5743 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5745 * gdb.trace/range-stepping.exp: Check that the target supports
5748 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5750 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5752 2015-07-14 Pedro Alves <palves@redhat.com>
5754 * gdb.base/killed-outside.exp: New file.
5755 * gdb.base/killed-outside.c: New file.
5757 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5759 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5761 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5763 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5765 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5766 infcall tests instead of setting up for KFAIL.
5768 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5770 * gdb.btrace/record_goto-step.exp: New.
5772 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5775 * gdb.compile/compile.c (struct struct_type): Add volatile to
5777 * gdb.compile/compile.exp
5778 (compile code struct_object.selffield = &struct_object): Skip further
5779 struct_object tests if this one xfails.
5781 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5784 * gdb.trace/ax.exp: Add test.
5786 2015-07-07 Yao Qi <yao.qi@linaro.org>
5788 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
5789 instead of istarget "aarch64*-*-*".
5790 * gdb.arch/aarch64-fp.exp: Likewise.
5791 * gdb.base/float.exp: Likewise.
5792 * gdb.reverse/aarch64.exp: Likewise.
5793 * lib/gdb.exp (is_aarch64_target): New proc.
5795 2015-07-07 Yao Qi <yao.qi@linaro.org>
5797 * lib/gdb.exp (is_aarch32_target): New proc.
5798 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
5799 instead of "istarget "arm*-*-*"".
5800 * gdb.arch/arm-disp-step.exp: Likewise.
5801 * gdb.arch/thumb-bx-pc.exp: Likewise.
5802 * gdb.arch/thumb-prologue.exp: Likewise.
5803 * gdb.arch/thumb-singlestep.exp: Likewise.
5804 * gdb.base/disp-step-syscall.exp: Likewise.
5805 * gdb.base/float.exp: Likewise.
5807 2015-07-07 Yao Qi <yao.qi@linaro.org>
5809 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
5810 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
5812 2015-07-07 Yao Qi <yao.qi@linaro.org>
5814 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
5815 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
5817 * gdb.multi/multi-arch.exp: Likewise.
5819 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
5821 * gdb.python/py-lazy-string.exp: Add missing parentheses to
5824 2015-07-07 Yao Qi <yao.qi@linaro.org>
5826 * gdb.arch/thumb-singlestep.exp: Do one more single step.
5828 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
5830 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
5831 '[' and ']' characters.
5833 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
5835 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5837 2015-06-29 Pedro Alves <palves@redhat.com>
5840 * gdb.threads/hand-call-new-thread.c: New file.
5841 * gdb.threads/hand-call-new-thread.c: New file.
5843 2015-06-26 Keith Seitz <keiths@redhat.com>
5844 Doug Evans <dje@google.com>
5847 * gdb.cp/var-tag-2.cc: New file.
5848 * gdb.cp/var-tag-3.cc: New file.
5849 * gdb.cp/var-tag-4.cc: New file.
5850 * gdb.cp/var-tag.cc: New file.
5851 * gdb.cp/var-tag.exp: New file.
5853 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5855 * gdb.base/history-duplicates.exp: New test.
5857 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5859 * gdb.base/completion.exp: Test the completion of the "focus"
5862 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5864 * gdb.arch/amd64-prologue-skip.S: New file.
5865 * gdb.arch/amd64-prologue-skip.exp: New file.
5867 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5869 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5870 is_address_zero_readable check.
5872 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5874 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5875 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5877 2015-06-24 Yao Qi <yao.qi@linaro.org>
5879 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5882 2015-06-24 Yao Qi <yao.qi@linaro.org>
5884 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5885 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5886 * gdb.base/siginfo-thread.exp: Likewise.
5888 2015-06-22 Yao Qi <yao.qi@linaro.org>
5890 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5892 2015-06-22 Yao Qi <yao.qi@linaro.org>
5894 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5896 (skip_hw_watchpoint_tests): Likewise.
5898 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5900 * gdb.base/gdbinit-history.exp: Test the interaction between
5901 setting GDBHISTSIZE and setting the history size via .gdbinit.
5903 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5906 * gdb.base/gdbhistsize-history.exp: New test.
5908 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5910 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5912 * gdb.base/readline.exp: Likewise.
5914 2015-06-17 Yao Qi <yao.qi@linaro.org>
5916 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5919 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5921 * gdb.base/gdbinit-history.exp: Add test case to check that
5922 an unlimited history file does not get truncated on exit.
5924 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5926 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5927 (VECTOR): New macro. Use it...
5928 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5929 ...for these typedefs.
5930 (int8, char1, int1, double1): New typedefs.
5931 (struct just_int2, struct two_int2): New structures.
5932 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5933 (add_structvecs, add_singlevecs): New functions.
5934 (main): Call add_some_intvecs twice.
5935 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5936 the compile and exit upon failure. Try compiling for the "native"
5937 architecture. Test inferior function calls with vector arguments
5938 and vector return value handling with "finish" and "return".
5940 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5942 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5943 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5945 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5947 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5949 PR breakpoints/16465
5950 * gdb.mi/mi-dprintf-pending.c: New file.
5951 * gdb.mi/mi-dprintf-pending.exp: New test.
5952 * gdb.mi/mi-dprintf-pendshr.c: New file.
5954 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5955 Mircea Gherzan <mircea.gherzan@intel.com>
5957 * gdb.arch/i386-mpx-map.c: New file.
5958 * gdb.arch/i386-mpx-map.exp: New File.
5960 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5962 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5963 * gdb.arch/i386-mpx.exp: Indentation fixed.
5965 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5967 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5968 function and improved indentation.
5969 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5970 gdb_test_multiple. Added additional tests to skip the test.
5972 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5974 * gdb.arch/i386-avx512.c: Change path in include file.
5975 * gdb.arch/i386-avx512.exp: Change include dir path
5977 * gdb.arch/i386-mpx.c: Change path in include file.
5978 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5981 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5983 * gdb.compile/compile-print.exp (compile print *vararray@3)
5984 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5986 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5988 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5989 (do not keep jit in memory): ... this.
5990 (expect 5): Change it to ...
5991 (expect no 5): ... this.
5993 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5996 * gdb.mi/mi-detach.exp: New file.
5998 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6001 * gdb.arch/amd64-tailcall-self.S: New file.
6002 * gdb.arch/amd64-tailcall-self.c: New file.
6003 * gdb.arch/amd64-tailcall-self.exp: New file.
6005 2015-05-28 Don Breazeal <donb@codesourcery.com>
6007 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6008 tests for remote targets by checking is_target_gdbserver.
6010 2015-05-27 Doug Evans <dje@google.com>
6012 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6013 * gdb.dwarf2/opaque-type-lookup.c: New file.
6014 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6016 2015-05-26 Doug Evans <dje@google.com>
6018 * gdb.cp/iostream.cc: New file.
6019 * gdb.cp/iostream.exp: New file.
6021 2015-05-26 Doug Evans <dje@google.com>
6023 * gdb.dwarf2/dw2-op-call.exp: Update.
6024 * gdb.dwarf2/dw4-sig-types.exp: Update.
6025 * gdb.dwarf2/implptr.exp: Update.
6026 * gdb.mi/mi-cmd-param-changed.exp: Update.
6028 2015-05-26 Doug Evans <dje@google.com>
6030 * gdb.python/py-lazy-string.c: New file.
6031 * gdb.python/py-lazy-string.exp: New file.
6032 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6033 (main): Update. Add estring3.
6034 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6035 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6037 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6038 Yao Qi <yao.qi@linaro.org>
6040 * gdb.reverse/aarch64.c: New.
6041 * gdb.reverse/aarch64.exp: New.
6043 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6045 * lib/gdb.exp (supports_process_record): Return true for
6047 (supports_reverse): Likewise.
6049 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6051 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6052 Use with_test_prefix.
6054 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6056 * gdb.base/completion.exp: Add test for completion of layout
6059 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6061 * lib/gdb.exp (skip_tui_tests): New proc.
6062 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6064 2015-05-19 Pedro Alves <palves@redhat.com>
6066 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6067 Save the whole env array instead of just HOME. Unset HISTSIZE in
6068 the environment while testing. Restore whole environment
6071 2015-05-16 Doug Evans <xdje42@gmail.com>
6073 * gdb.guile/scm-ports.c: New file.
6074 * gdb.guile/scm-ports.exp: Add memory port tests.
6076 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6078 * gdb.compile/compile-print.c: New file.
6079 * gdb.compile/compile-print.exp: New file.
6081 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6083 * gdb.compile/compile-ops.exp: Cast param to void.
6084 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6085 (compile code struct_object.selffield = &struct_object): Add xfail.
6087 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6089 * gdb.ada/arr_enum_with_gap: New testcase.
6091 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6093 * gdb.ada/byte_packed_arr: New testcase.
6095 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6097 * gdb.ada/pckd_neg: New testcase.
6099 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6102 * gdb.base/gdbinit-history.exp: New test.
6103 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6104 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6106 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6108 * gdb.python/py-xmethods.cc: Enhance test case.
6109 * gdb.python/py-xmethods.exp: New tests.
6110 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6112 (B_indexoper): Likewise.
6113 (global_dm_list) : Add new xmethod worker functions.
6115 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6117 * gdb.base/coredump-filter.exp: Correctly unset
6118 "coredump_var_addr" array.
6120 2015-05-08 Pedro Alves <palves@redhat.com>
6122 * gdb.server/non-existing-program.exp: Unset spawn_id.
6124 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6127 * gdb.python/py-xmethods.exp: Add tests.
6129 2015-05-08 Yao Qi <yao.qi@linaro.org>
6132 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6133 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6134 function set_coredump_filter, and remove remote_exec call.
6135 Remove argument ipid. Callers update.
6136 (top level): Don't get inferior's PID.
6138 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6140 * gdb.base/watch_thread_num.exp: Skip test on targets without
6143 2015-05-06 Pedro Alves <palves@redhat.com>
6146 * gdb.server/non-existing-program.exp: New file.
6148 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6150 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6152 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6154 * gdb.ada/out_of_line_in_inlined: New testcase.
6156 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6158 * gdb.ada/var_rec_arr: New testcase.
6160 2015-04-30 Yao Qi <yao.qi@linaro.org>
6162 * gdb.base/break-idempotent.exp: If
6163 skip_hw_watchpoint_multi_tests returns true, skip the tests
6164 on "rwatch" and "awatch".
6166 2015-04-30 Yao Qi <yao.qi@linaro.org>
6168 * gdb.base/relativedebug.exp: Invoke gdb command
6169 "info sharedlibrary", and if libc.so doesn't have debug info,
6172 2015-04-29 Doug Evans <dje@google.com>
6174 * gdb.python/py-xmethods.exp: Add ptype tests.
6175 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6176 get_result_type method.
6178 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6180 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6181 the target does not support hardware watchpoints.
6183 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6185 * gdb.base/break-always.exp: Abort testing if writing to memory
6188 2015-04-28 Doug Evans <dje@google.com>
6190 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6191 * gdb.python/py-pp-registration.exp: ... here. New file.
6192 * gdb.python/py-pp-registration.c: New file.
6193 * gdb.python/py-pp-registration.py: New file.
6195 2015-04-28 Doug Evans <dje@google.com>
6197 * gdb.python/py-bad-printers.c: New file.
6198 * gdb.python/py-bad-printers.py: New file.
6199 * gdb.python/py-bad-printers.exp: New file.
6201 2015-04-28 Sasha Smundak <asmundak@google.com>
6203 * gdb.python/py-type.exp: New test.
6205 2015-04-28 Andy Wingo <wingo@igalia.com>
6207 * gdb.python/py-parameter.exp:
6208 * gdb.guile/scm-parameter.exp: Escape the path that we are
6209 matching against, as it might contain characters that are special
6210 to regular expressions.
6212 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6214 * gdb.ada/rec_comp: New testcase.
6216 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6218 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6221 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6223 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6224 new tests for verilog output.
6226 2015-04-24 Yao Qi <yao.qi@linaro.org>
6228 * boards/remote-gdbserver-on-localhost.exp: New file.
6230 2015-04-23 Pedro Alves <palves@redhat.com>
6232 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6233 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6234 "end of file", remove $inferior_spawn_id from the indirect list.
6236 2015-04-23 Pedro Alves <palves@redhat.com>
6238 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6240 2015-04-23 Pedro Alves <palves@redhat.com>
6242 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6243 on $any_spawn_id instead of only on $gdb_spawn_id.
6245 2015-04-21 Pierre Muller <muller@sourceware.org>
6248 * lib/pascal.exp (gpc_compile): Add new option "class".
6249 (fpc_compile): Likewise.
6250 * gdb.pascal/case-insensitive-symbols.pas: New file.
6251 * gdb.pascal/case-insensitive-symbols.exp: New file.
6253 2015-04-20 Gary Benson <gbenson@redhat.com>
6255 * gdb.base/attach.exp: Fix three extended remote failures.
6257 2015-04-17 Gary Benson <gbenson@redhat.com>
6259 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6260 the main executable over the remote protocol.
6262 2015-04-16 Pedro Alves <palves@redhat.com>
6264 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6265 a new gdbserver if gdbserver_reconnect_p is set.
6267 2015-04-16 Pedro Alves <palves@redhat.com>
6269 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6270 is set, don't exit gdbserver.
6272 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6274 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6275 appropriate .insn, such that an older assembler can be used.
6276 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6277 the z/Architecture instruction set on 31-bit targets as well.
6279 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6281 * gdb.go/handcall.exp: Remove all logic related to the first
6282 breakpoint and rely on go_runto_main instead.
6283 * gdb.go/strings.exp: Likewise.
6284 * gdb.go/unsafe.exp: Likewise.
6285 * gdb.go/hello.exp: Likewise. Also rename the remaining
6286 breakpoint marker to "breakpoint 1".
6287 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6288 * gdb.go/strings.go: Likewise.
6289 * gdb.go/unsafe.go: Likewise.
6290 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6291 "set breakpoint 2 here" and rename the remaining breakpoint marker
6294 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6296 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6297 if itertools.imap is not present.
6298 * gdb.python/py-objfile.exp: Add parentheses.
6299 * gdb.python/py-type.exp: Same.
6300 * gdb.python/py-unwind-maint.py: Same.
6302 2015-04-15 Yao Qi <yao.qi@linaro.org>
6304 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6305 of ":$ptr_size" and set its form explicitly.
6307 2015-04-15 Pedro Alves <palves@redhat.com>
6308 Yao Qi <yao.qi@linaro.org>
6310 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6311 timeout by factor of 4.
6312 (test_regular_watch): Likewise.
6313 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6314 * gdb.reverse/sigall-reverse.exp: Likewise.
6315 * gdb.reverse/until-precsave.exp: Likewise.
6316 * lib/gdb.exp (with_timeout_factor): New proc.
6317 (gdb_expect): Move some code to ...
6318 (get_largest_timeout): ... here. New procedure.
6320 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6322 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6324 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6326 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6327 to write to the .text section.
6329 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6331 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6332 Handle the case of targets that do not provide PID information.
6334 2015-04-13 Yao Qi <yao.qi@linaro.org>
6336 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6337 and use expect instead of gdb_expect.
6339 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6341 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6342 "coredump_var_addr" to avoid naming conflict with other testcases.
6344 2015-04-10 Pedro Alves <palves@redhat.com>
6346 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6347 gdb_test_sequence and gdb_assert.
6349 2015-04-10 Pedro Alves <palves@redhat.com>
6351 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6352 test messages that don't include the breakpoint address.
6354 2015-04-10 Yao Qi <yao.qi@linaro.org>
6356 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6357 false for some offset and width combinations which aren't
6358 supported by linux kernel.
6360 2015-04-10 Pedro Alves <palves@redhat.com>
6362 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6363 procedure, factored out from ...
6364 (top level): ... here. Add "set displaced-stepping" testing axis.
6365 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6366 parameter "displaced". Use it.
6367 (top level): Use foreach and add "set displaced-stepping" testing
6370 2015-04-10 Pedro Alves <palves@redhat.com>
6372 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6374 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6375 both the address of the instruction that triggers the watchpoint
6376 and the address of the instruction immediately after, and use
6377 those addresses for the test. Fix comment.
6379 2015-04-10 Pedro Alves <palves@redhat.com>
6381 * gdb.base/sigstep.exp (breakpoint_to_handler)
6382 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6383 Test "backtrace" in handler.
6384 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6385 (top level): Add new "displaced" test axis to
6386 breakpoint_to_handler, breakpoint_to_handler_entry and
6387 breakpoint_over_handler.
6389 2015-04-10 Pedro Alves <palves@redhat.com>
6392 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6394 2015-04-10 Yao Qi <yao.qi@linaro.org>
6396 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6397 (test_add_rn_pc): New function.
6398 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6399 (top level): Invoke test_add_rn_pc.
6401 2015-04-10 Pedro Alves <palves@redhat.com>
6404 * gdb.base/step-over-no-symbols.exp: New file.
6406 2015-04-09 Andy Wingo <wingo@igalia.com>
6408 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6409 after the Python tests.
6411 2015-04-08 Keith Seitz <keiths@redhat.com>
6414 * gdb.python/py-completion.exp: New tests for completion.
6415 * gdb.python/py-completion.py (CompleteLimit1): New class.
6416 (CompleteLimit2): Likewise.
6417 (CompleteLimit3): Likewise.
6418 (CompleteLimit4): Likewise.
6419 (CompleteLimit5): Likewise.
6420 (CompleteLimit6): Likewise.
6421 (CompleteLimit7): Likewise.
6423 2015-04-08 Pedro Alves <palves@redhat.com>
6427 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6429 (main): Install it as SIGUSR1 handler.
6430 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6431 parameter. Always use "setup" as prefix. Toggle "set
6432 displaced-stepping" off/on depending on global. Don't switch to
6434 (top level): Add displaced stepping "off/on" test axis. Update
6435 "setup" calls. Wrap each subtest with with_test_prefix. Test
6436 continuing with a queued signal in each thread.
6438 2015-04-08 Pedro Alves <palves@redhat.com>
6440 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6441 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6442 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6443 Return early if running to main fails.
6444 * gdb.trace/while-stepping.exp: Likewise.
6446 2015-04-07 Pedro Alves <palves@redhat.com>
6448 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6449 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6450 interact with inferior program.
6452 2015-04-07 Pedro Alves <palves@redhat.com>
6454 * lib/gdb.exp (inferior_spawn_id): New global.
6455 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6456 spawn id after processing the user code.
6457 (default_gdb_start): Set inferior_spawn_id.
6458 (send_inferior): New procedure.
6459 * lib/gdbserver-support.exp (gdbserver_start): Set
6461 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6463 2015-04-07 Pedro Alves <palves@redhat.com>
6465 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6466 * lib/gdbserver-support.exp (gdbserver_start): Make
6467 $server_spawn_id global.
6468 (gdbserver_start): Don't wait for gdbserver's spawn id with
6470 (close_gdbserver): New procedure.
6471 (gdb_exit): Rename the default version and reimplement.
6473 2015-04-07 Pedro Alves <palves@redhat.com>
6475 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6476 append the substituted item, not the original item.
6478 2015-04-07 Pedro Alves <palves@redhat.com>
6480 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6483 2015-04-07 Pedro Alves <palves@redhat.com>
6485 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6486 output appearing once only.
6488 2015-04-07 Pedro Alves <palves@redhat.com>
6490 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6491 that doesn't expect anything. Return early if running to main
6494 2015-04-07 Yao Qi <yao.qi@linaro.org>
6496 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6497 (child_function): Call alarm.
6498 (main): Move call to alarm into the loop.
6499 * gdb.threads/non-stop-fair-events.exp: Build program with
6502 2015-04-06 Doug Evans <xdje42@gmail.com>
6504 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6505 Fix dest parameter to board_info.
6506 (fpc_compile): Ditto.
6507 (gdb_compile_pascal): Rename dest arg to destfile.
6509 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6511 * gdb.ada/funcall_ref.exp: New file.
6512 * gdb.ada/funcall_ref/foo.adb: New file.
6514 2015-04-02 Yao Qi <yao.qi@linaro.org>
6516 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6519 2015-04-02 Gary Benson <gbenson@redhat.com>
6521 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6523 2015-04-01 Sasha Smundak <asmundak@google.com>
6525 * gdb.python/py-unwind-maint.c: New file.
6526 * gdb.python/py-unwind-maint.exp: New test.
6527 * gdb.python/py-unwind-maint.py: New file.
6528 * gdb.python/py-unwind.c: New file.
6529 * gdb.python/py-unwind.exp: New test.
6530 * gdb.python/py-unwind.py: New test.
6532 2015-04-01 Pedro Alves <palves@redhat.com>
6534 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6535 to fail instead of non-existent $test.
6537 2015-04-01 Pedro Alves <palves@redhat.com>
6539 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6540 GDBFLAGS if not empty.
6542 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6544 * gdb.ada/complete.exp: Remove "multi_line".
6545 * gdb.ada/info_exc.exp: Remove "multi_line".
6546 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6547 * gdb.ada/ptype_field.exp: Remove "multi_line".
6548 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6549 * gdb.ada/tagged.exp: Remove "multi_line".
6550 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6552 * gdb.btrace/delta.exp: Likewise.
6553 * gdb.btrace/exception.exp: Likewise.
6554 * gdb.btrace/function_call_history.exp: Likewise.
6555 * gdb.btrace/instruction_history.exp: Likewise.
6556 * gdb.btrace/nohist.exp: Likewise.
6557 * gdb.btrace/record_goto.exp: Likewise.
6558 * gdb.btrace/segv.exp: Likewise.
6559 * gdb.btrace/stepi.exp: Likewise.
6560 * gdb.btrace/tailcall.exp: Likewise.
6561 * gdb.btrace/unknown_functions.exp: Likewise.
6562 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6563 * lib/gdb.exp: Add the "multi_line" helper.
6565 2015-04-01 Pedro Alves <palves@redhat.com>
6567 * gdb.threads/tid-reuse.c: New file.
6568 * gdb.threads/tid-reuse.exp: New file.
6570 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6573 * gdb.base/coredump-filter.c: New file.
6574 * gdb.base/coredump-filter.exp: Likewise.
6576 2015-03-27 Petr Machata <pmachata@redhat.com>
6578 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6579 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6580 (Dwarf::assemble): Initialize them.
6581 (Dwarf::lines): New function.
6583 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6585 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6586 SYMBOL_PREFIX for x86_64-*-cygwin.
6588 2015-03-26 Andy Wingo <wingo@igalia.com>
6591 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6592 const_value but not a location.
6593 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6594 location defined in non-main CUs are visible.
6596 2015-03-26 Yao Qi <yao.qi@linaro.org>
6599 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6600 Add a line number entry for the same line.
6601 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6602 Add a line number entry for the same line.
6604 2015-03-26 Yao Qi <yao.qi@linaro.org>
6606 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6608 (func): Likewise. Add .Lfunc_1 label.
6610 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6615 2015-03-26 Yao Qi <yao.qi@linaro.org>
6617 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6618 Call gdb_compile instead to compile each .s files without debug
6621 2015-03-26 Yao Qi <yao.qi@linaro.org>
6623 * gdb.base/savedregs.exp (process_saved_regs): Make
6624 "Saved registers:" optional in the pattern.
6626 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6628 * gdb.btrace/next.exp: Merged into step.exp.
6629 * gdb.btrace/finish.exp: Merged into step.exp.
6630 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6631 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6632 "record goto" and checking the exact replay position.
6633 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6634 check for "Recording format" in "info record" output.
6635 * gdb.btrace/record_goto.exp: Choose test file based on target.
6636 * gdb.btrace/x86-record_goto.S: Renamed into ...
6637 * gdb.btrace/x86_64-record_goto.S: ... this.
6638 * gdb.btrace/i686-record_goto.S: New.
6639 * gdb.btrace/x86-tailcall.S: Renamed into ...
6640 * gdb.btrace/x86_64-tailcall.S: ... this.
6641 * gdb.btrace/i686-tailcall.S: New.
6642 * gdb.btrace/x86-tailcall.c: Renamed into ...
6643 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6644 separate statements. Update test.
6645 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6646 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6647 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6648 * gdb.btrace/tailcall.exp: Choose test file based on target.
6649 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6651 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6653 * gdb.btrace/exception.exp: Increase BTS buffer size.
6655 2015-03-24 Pedro Alves <palves@redhat.com>
6657 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6659 2015-03-24 Pedro Alves <palves@redhat.com>
6661 * gdb.threads/schedlock.exp (test_step): No longer expect that
6662 "set scheduler-locking step" with "next" over a function call runs
6665 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6667 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6669 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6671 PR breakpoints/16466
6672 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6673 * gdb.mi/mi-pending.c (thread_func): New function.
6674 (int main): Add threading support required.
6675 * gdb.mi/mi-pending.exp: Add tests for this issue.
6676 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6677 (pendfunc2): Remove stdio dependency.
6678 * gdb.mi/mi-pendshr2.c: New file.
6680 2015-03-23 Keith Seitz <keiths@redhat.com>
6682 * gdb.linespec/keywords.c: New file.
6683 * gdb.linespec/keywords.exp: New file.
6685 2015-03-23 Keith Seitz <keiths@redhat.com>
6688 * gdb.dwarf2/staticvirtual.exp: New test.
6690 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6692 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6693 * README: Remove HP-UX and gdb.hp.
6695 * configure: Regenerate.
6696 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6697 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6698 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6699 gdb.hp/gdb.defects/Makefile.
6700 * gdb.hp/Makefile.in: File deleted.
6701 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6702 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6703 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6704 * gdb.hp/gdb.aCC/run.c: File deleted.
6705 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6706 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6707 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6708 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6709 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6710 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6711 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6712 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6713 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6714 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6715 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6716 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6717 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6718 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6719 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6720 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6721 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6722 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6723 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6724 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6725 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6726 * gdb.hp/gdb.compat/average.c: File deleted.
6727 * gdb.hp/gdb.compat/sum.c: File deleted.
6728 * gdb.hp/gdb.compat/xdb.c: File deleted.
6729 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6730 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6731 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6732 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6733 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6734 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6735 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6736 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6737 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6738 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6739 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6740 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6741 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6742 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6743 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6744 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6745 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6746 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6747 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6748 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6749 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6750 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6751 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6752 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6753 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6754 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6755 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6756 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6757 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6758 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6759 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6760 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6761 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6762 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6763 * gdb.hp/tools/odump: File deleted.
6765 2015-03-19 Pedro Alves <palves@redhat.com>
6767 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6768 (saw_thread_3): New globals.
6769 (top level): Increment them when an event for the corresponding
6771 (no thread starvation): New test.
6773 2015-03-19 Pedro Alves <palves@redhat.com>
6775 * gdb.threads/continue-pending-status.c: New file.
6776 * gdb.threads/continue-pending-status.exp: New file.
6778 2015-03-18 Pedro Alves <palves@redhat.com>
6780 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6781 Use gdb_is_target_remote instead of is_remote. Use
6782 gdb_test_multiple instead of gdb_expect. Exit early if
6783 gdb_test_multiple hits its internal matches. Tighten stepi tests
6784 expected output. Fail on exit with any signal, instead of just
6787 2015-03-18 Yao Qi <yao.qi@linaro.org>
6790 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
6792 * gdb.base/catch-syscall.exp: Don't skip it on
6793 aarch64*-*-linux* target. Remove elements in all_syscalls.
6794 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
6796 (setup_all_syscalls): New proc.
6798 2015-03-16 Yao Qi <yao.qi@linaro.org>
6800 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
6801 (top level): Skip tests if valid_addr_p returns false for
6804 2015-03-11 Andy Wingo <wingo@igalia.com>
6806 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
6808 2015-03-11 Yao Qi <yao.qi@linaro.org>
6810 * gdb.base/catch-syscall.exp: Fix typo in comments.
6812 2015-03-11 Yao Qi <yao.qi@linaro.org>
6814 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
6816 2015-03-09 Pedro Alves <palves@redhat.com>
6818 * dg-extract-results.py: Delete.
6820 2015-03-09 Pedro Alves <palves@redhat.com>
6822 Merge dg-extract-results.sh from GCC upstream (r218843).
6824 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
6825 * dg-extract-results.sh: Use --text with grep to avoid issues with
6826 binary files. Fall back to cat -v, if that doesn't work.
6828 2015-03-05 Pedro Alves <palves@redhat.com>
6830 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
6832 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
6834 * lib/mi-support.exp (mi_expect_interrupt): Accept
6835 alternative event for when in all-stop mode.
6837 2015-03-04 Pedro Alves <palves@redhat.com>
6839 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
6841 2015-03-04 Mark Kettenis <kettenis@gnu.org>
6843 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
6845 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6847 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6848 regexps for GDB's current line display, accept a hex address
6849 preceding the line number.
6851 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6853 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6854 the 'arch1' variable for "s390*-linux*" targets.
6856 2015-03-04 Pedro Alves <palves@redhat.com>
6858 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6859 (main): Pass missing retval argument to pthread_join call.
6861 2015-03-02 Pedro Alves <palves@redhat.com>
6863 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6864 (top level): Call do_test with non-stop as well.
6866 2015-03-02 Pedro Alves <palves@redhat.com>
6868 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6871 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6873 * gdb.arch/s390-vregs.exp: New test.
6874 * gdb.arch/s390-vregs.S: New file.
6876 2015-02-27 Pedro Alves <palves@redhat.com>
6878 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6879 call to catch_command_errors.
6880 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6881 catch_command_errors.
6883 2015-02-27 Pedro Alves <palves@redhat.com>
6885 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6886 "true" for boolean result.
6887 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6890 2015-02-27 Pedro Alves <palves@redhat.com>
6892 * lib/unbuffer_output.c: New file.
6893 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6894 (main): Call gdb_unbuffer_output.
6896 2015-02-27 Yao Qi <yao.qi@linaro.org>
6898 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6901 2015-02-26 Doug Evans <dje@google.com>
6903 * gdb.cp/class2.cc (Dbase, D): New classes.
6904 (main): New local delta.
6905 * gdb.cp/class2.exp: Test printing delta.
6906 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6907 (dynbar): New global.
6908 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6910 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6912 * gdb.compile/compile-ifunc.c: New file.
6913 * gdb.compile/compile-ifunc.exp: New file.
6915 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6917 * gdb.base/structs.exp: Check for correct struct on finish.
6919 2015-02-26 Yao Qi <yao.qi@linaro.org>
6921 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6924 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6926 * gdb.arch/cordic.ko.bz2: New file.
6927 * gdb.arch/cordic.ko.debug.bz2: New file.
6928 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6930 2015-02-25 Yao Qi <yao.qi@linaro.org>
6932 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6933 aarch64*-*-* target.
6935 2015-02-23 Pedro Alves <palves@redhat.com>
6937 * lib/gdb.exp (delete_breakpoints): Rewrite using
6940 2015-02-23 Pedro Alves <palves@redhat.com>
6942 * gdb.base/info-os.c: Include stdlib.h.
6944 2015-02-22 Doug Evans <xdje42@gmail.com>
6947 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6948 is read after symbols have been re-read.
6949 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6950 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6952 2015-02-21 Doug Evans <dje@google.com>
6954 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6956 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6959 * gdb.arch/i386-biarch-core.core.bz2: New file.
6960 * gdb.arch/i386-biarch-core.exp: New file.
6962 2015-02-21 Pedro Alves <palves@redhat.com>
6964 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6967 2015-02-20 Pedro Alves <palves@redhat.com>
6969 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6972 2015-02-20 Pedro Alves <palves@redhat.com>
6974 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6976 2015-02-20 Pedro Alves <palves@redhat.com>
6978 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6979 clean_restart before gdb_target_supports_trace.
6981 2015-02-20 Pedro Alves <palves@redhat.com>
6984 * gdb.threads/clone-thread_db.c: New file.
6985 * gdb.threads/clone-thread_db.exp: New file.
6987 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6989 PR breakpoints/16812
6990 * gdb.base/catch-gdb-caused-signals.c: New file.
6991 * gdb.base/catch-gdb-caused-signals.exp: New file.
6993 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6995 * configure: Regenerated.
6996 * configure.ac: Use GDB_AC_TRANSFORM.
6997 * aclocal.m4: sinclude ../transform.m4.
6999 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7001 * lib/dtrace.exp: New file.
7002 * gdb.base/dtrace-probe.exp: Likewise.
7003 * gdb.base/dtrace-probe.d: Likewise.
7004 * gdb.base/dtrace-probe.c: Likewise.
7005 * lib/pdtrace.in: Likewise.
7006 * configure.ac: Output variables with the transformed names of
7007 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7008 * configure: Regenerated.
7010 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7012 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7013 expected message when trying to access $_probe_* convenience
7014 variables while not on a probe.
7016 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7018 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7020 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7022 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7023 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7025 2015-02-10 Doug Evans <xdje42@gmail.com>
7027 * lib/gdb.exp (gdb_load): Always return a result.
7029 2015-02-10 Pedro Alves <palves@redhat.com>
7031 * gdb.threads/signal-sigtrap.c: New file.
7032 * gdb.threads/signal-sigtrap.exp: New file.
7034 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7036 * gdb.trace/no-attach-trace.c: New file.
7037 * gdb.trace/no-attach-trace.exp: New file.
7039 2015-02-09 Mark Wielaard <mjw@redhat.com>
7041 * gdb.dwarf2/atomic.c: New file.
7042 * gdb.dwarf2/atomic-type.exp: Likewise.
7044 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7046 * gdb.btrace/buffer-size.exp: Update "info record" output.
7047 * gdb.btrace/delta.exp: Update "info record" output.
7048 * gdb.btrace/enable.exp: Update "info record" output.
7049 * gdb.btrace/finish.exp: Update "info record" output.
7050 * gdb.btrace/instruction_history.exp: Update "info record" output.
7051 * gdb.btrace/next.exp: Update "info record" output.
7052 * gdb.btrace/nexti.exp: Update "info record" output.
7053 * gdb.btrace/step.exp: Update "info record" output.
7054 * gdb.btrace/stepi.exp: Update "info record" output.
7055 * gdb.btrace/nohist.exp: Update "info record" output.
7057 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7059 * gdb.btrace/buffer-size: New.
7061 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7063 * gdb.btrace/delta.exp: Update "info record" output.
7064 * gdb.btrace/enable.exp: Update "info record" output.
7065 * gdb.btrace/finish.exp: Update "info record" output.
7066 * gdb.btrace/instruction_history.exp: Update "info record" output.
7067 * gdb.btrace/next.exp: Update "info record" output.
7068 * gdb.btrace/nexti.exp: Update "info record" output.
7069 * gdb.btrace/step.exp: Update "info record" output.
7070 * gdb.btrace/stepi.exp: Update "info record" output.
7071 * gdb.btrace/nohist.exp: Update "info record" output.
7073 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7076 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7078 2015-02-06 Pedro Alves <palves@redhat.com>
7080 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7082 (seconds_left, again): New globals.
7083 (main): Wait seconds_left in a 1-second sleep loop instead of
7084 sleeping 180 seconds. If 'again' is set, reset the seconds
7086 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7087 'again' in the inferior before detaching. Print the seconds left.
7088 (options): New global.
7089 (top level): Build program with -DTIMEOUT=$timeout.
7091 2015-02-06 Pedro Alves <palves@redhat.com>
7093 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7094 determine how many seconds to pass to 'alarm'.
7095 * gdb.base/gdb-sigterm.exp (top level): Build program with
7097 (do_test): Return success/failure indication. Add more verbose
7098 logging. Don't fail if 200 single steps are seen. Instead, fail
7099 when the test times out.
7100 (passes): New global.
7101 (top level): Break the testing loop if testing fails on any
7102 iteration. Use gdb_assert.
7104 2015-02-04 Don Breazeal <donb@codesourcery.com>
7106 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7107 and initialize them.
7108 (ipc_cleanup): New function.
7109 (main): Don't declare shmid, semid, and msqid. Add a call to
7110 atexit so that we call ipc_cleanup on exit.
7112 2015-02-04 Pedro Alves <palves@redhat.com>
7114 * boards/native-extended-gdbserver.exp: Remove any target variant
7115 specifications from the board name before clearing the isremote
7116 flag from board_info.
7118 2015-01-31 Doug Evans <xdje42@gmail.com>
7120 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7122 2015-01-31 Gary Benson <gbenson@redhat.com>
7124 * gdb.base/completion.exp: Disable completion limiting for
7125 existing tests. Add new tests to check completion limiting.
7126 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7128 2015-01-31 Doug Evans <xdje42@gmail.com>
7130 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7132 2015-01-31 Doug Evans <xdje42@gmail.com>
7134 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7135 entries. Duplicate file section script entries.
7136 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7137 inlined entries. Add test for safe-path rejection.
7138 * gdb.python/py-section-script.c: Add duplicate inlined section script
7139 entries. Duplicate file section script entries.
7140 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7141 inlined entries. Add test for safe-path rejection.
7143 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7145 * gdb.ada/disc_arr_bound: New testcase.
7147 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7149 * gdb.ada/mi_var_array: New testcase.
7151 2015-01-27 Doug Evans <dje@google.com>
7153 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7154 Add test for objfile.filename, objfile.username after objfile
7157 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7159 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7160 the second test to print the name attribute of value
7161 returned by the call to gdb.lookup_type, and adjust
7162 the expected output accordingly.
7164 2015-01-25 Mark Wielaard <mjw@redhat.com>
7166 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7167 * gdb.base/disp-step-fork.c: Include unistd.h.
7168 * gdb.base/siginfo-obj.c: Include stdio.h.
7169 * gdb.base/siginfo-thread.c: Likewise.
7170 * gdb.mi/non-stop.c: Include unistd.h.
7171 * gdb.mi/nsthrexec.c: Include stdio.h.
7172 * gdb.mi/pthreads.c: Include unistd.h.
7173 * gdb.modula2/unbounded1.c (main): Declare returns int.
7174 * gdb.reverse/consecutive-reverse.c: Likewise.
7175 * gdb.threads/create-fail.c: Include unistd.h.
7176 * gdb.threads/killed.c: Likewise.
7177 * gdb.threads/linux-dp.c: Likewise.
7178 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7179 * gdb.threads/non-ldr-exc-2.c: Likewise.
7180 * gdb.threads/non-ldr-exc-3.c: Likewise.
7181 * gdb.threads/non-ldr-exc-4.c: Likewise.
7182 * gdb.threads/pthreads.c: Include unistd.h.
7183 (main): Declare returns int.
7184 * gdb.threads/tls-main.c (foo): New declaration.
7185 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7187 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7189 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7190 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7192 2015-01-15 Mark Wielaard <mjw@redhat.com>
7194 * gdb.base/noreturn-return.c: New file.
7195 * gdb.base/noreturn-return.exp: New file.
7196 * gdb.base/noreturn-finish.c: New file.
7197 * gdb.base/noreturn-finish.exp: New file.
7199 2015-01-23 Pedro Alves <palves@redhat.com>
7201 * gdb.threads/continue-pending-after-query.c: New file.
7202 * gdb.threads/continue-pending-after-query.exp: New file.
7204 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7205 Simon Marchi <simon.marchi@ericsson.com>
7207 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7208 * gdb.base/valgrind-db-attach.exp: Same.
7209 * gdb.base/valgrind-infcall.exp: Same.
7210 * lib/mi-support.exp (default_mi_gdb_start): Same.
7211 * lib/prompt.exp (default_prompt_gdb_start): Same.
7212 * lib/gdb.exp (default_gdb_spawn): Same.
7213 (gdb_interact): New.
7216 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7218 * gdb.compile/compile.exp (pointer to jit function): New test.
7220 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7222 * lib/gdb.exp (supports_process_record): Return true for
7224 (supports_reverse): Likewise.
7226 2015-01-15 Don Breazeal <donb@codesourcery.com>
7228 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7229 instead of checking whether the target board is remote and
7230 use spawn_wait_for_attach instead of exec/sleep.
7231 * gdb.base/attach-twice.exp: Likewise.
7233 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7235 * gdb.ada/var_arr_attrs: New testcase.
7237 2015-01-14 Pedro Alves <palves@redhat.com>
7238 Joel Brobecker <brobecker@adacore.com>
7241 * gdb.base/bp-cmds-execution-x-script.c: New file.
7242 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7243 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7245 2015-01-14 Pedro Alves <palves@redhat.com>
7248 * gdb.base/batch-preserve-term-settings.c: New file.
7249 * gdb.base/batch-preserve-term-settings.exp: New file.
7251 2015-01-13 Doug Evans <dje@google.com>
7253 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7256 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7258 * Makefile.in (clean mostlyclean): Do not delete *.py.
7260 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7262 * gdb.python/py-lookup-type.exp: New file.
7264 2015-01-12 Pedro Alves <palves@redhat.com>
7266 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7267 restore GDBFLAGS before returning.
7269 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7271 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7272 is_amd64_regs_target and is_x86_like_target.
7274 2015-01-11 Doug Evans <xdje42@gmail.com>
7276 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7277 is given without an explicit form.
7278 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7280 * gdb.dwarf/corrupt.exp: Ditto.
7281 * gdb.dwarf2/enum-type.exp: Ditto.
7282 * gdb.trace/entry-values.exp: Ditto.
7283 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7285 2015-01-11 Doug Evans <xdje42@gmail.com>
7288 * gdb.base/maint.exp: Remove references to "maint demangle".
7289 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7290 Add tests for explicitly specifying language to demangle.
7291 * gdb.dlang/demangle.exp: Ditto.
7293 2015-01-09 Pedro Alves <palves@redhat.com>
7295 * gdb.threads/non-stop-fair-events.c: New file.
7296 * gdb.threads/non-stop-fair-events.exp: New file.
7298 2015-01-09 Pedro Alves <palves@redhat.com>
7300 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7301 the global scope. Set a breakpoint after all threads are started
7302 rather than stepping over two source lines. Expect the prompt.
7303 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7306 (main): Use threads_started_barrier to wait for all threads to
7307 start. Main thread no longer calls thread_function. Exit after
7309 (loop): New function.
7310 (thread_function): Wait on threads_started_barrier barrier. Call
7311 'loop' at each iteration.
7312 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7313 threads have started, instead of hardcoding number of "next"
7314 steps. Use an access watchpoint instead of a write watchpoint.
7316 2015-01-09 Pedro Alves <palves@redhat.com>
7318 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7319 (thread_func): Wait on barrier.
7320 (main): Wait for all threads to start before stopping GDB.
7321 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7323 (thread1_func, thread2_func): Wait on barrier.
7324 (main): Wait for all threads to start before stopping GDB.
7325 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7327 (thread1_func, thread2_func): Wait on barrier.
7328 (main): Wait for all threads to start before stopping GDB.
7330 2015-01-09 Pedro Alves <palves@redhat.com>
7332 * gdb.threads/attach-many-short-lived-threads.c: New file.
7333 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7335 2014-01-09 Pedro Alves <palves@redhat.com>
7337 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7338 instead of to thread 2.
7339 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7340 Add barrier around each pthread_create call instead of around all
7342 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7343 Set a break on thread_function and have the child threads hit it
7346 2015-01-09 Pedro Alves <palves@redhat.com>
7348 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7349 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7351 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7352 checking whether the target board is remote.
7353 * gdb.multi/multi-attach.exp: Likewise.
7354 * gdb.python/py-sync-interp.exp: Likewise.
7355 * gdb.server/ext-attach.exp: Likewise.
7356 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7357 tests that need to attach, instead of checking whether the target
7358 board is remote at the top of the file.
7360 2015-01-08 Yao Qi <yao@codesourcery.com>
7362 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7364 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7366 Fix testcase compilation.
7367 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7369 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7371 * gdb.python/py-type.exp: Add a couple test about empty
7372 array creation, and negative-length array creation.
7374 2015-01-02 Doug Evans <xdje42@gmail.com>
7376 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7378 2015-01-02 Doug Evans <dje@google.com>
7380 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7382 2014-12-29 Yao Qi <yao@codesourcery.com>
7384 * gdb.trace/entry-values.exp: Update comments. Rename variable
7385 bar_call_foo to returned_from_foo.
7387 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7390 * gdb.linespec/break-asm-file.c: New file.
7391 * gdb.linespec/break-asm-file.exp: New file.
7392 * gdb.linespec/break-asm-file0.s: New file.
7393 * gdb.linespec/break-asm-file1.s: New file.
7395 2014-12-18 Nigel Stephens <nigel@mips.com>
7396 Maciej W. Rozycki <macro@codesourcery.com>
7398 * gdb.base/float.exp: Handle the new output from "info float" on
7401 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7403 Fix MinGW compilation.
7404 * gdb.compile/compile-ops.exp: Update untested message if
7405 !skip_compile_feature_tests.
7406 * gdb.compile/compile-setjmp.exp: Likewise.
7407 * gdb.compile/compile-tls.exp: Likewise.
7408 * gdb.compile/compile.exp: Likewise.
7409 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7410 supported on this host".
7412 2014-12-16 Doug Evans <xdje42@gmail.com>
7414 * boards/stabs.exp: New file.
7416 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7418 * gdb.base/completion.exp: Adjust to format changes of "maint
7419 print user-registers".
7421 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7424 * gdb.arch/aarch64-fp.c: New file.
7425 * gdb.arch/aarch64-fp.exp: New file.
7427 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7429 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7430 r210637, r210913, r211666, r215400, r215817).
7432 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7433 * dg-extract-results.py: New file.
7434 * dg-extract-results.sh: Use it if the environment seems
7437 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7439 * dg-extract-results.py (parse_run): Handle warnings that
7440 are printed before a test harness is run.
7442 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7444 * dg-extract-results.py (Named): Remove __cmp__ method.
7445 (output_variation): Use a key to sort variation.harnesses.
7447 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7449 * dg-extract-results.py: For Python 3, force sys.stdout to
7450 handle surrogate escape sequences.
7451 (safe_open): New function.
7452 (output_segment, main): Use it.
7454 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7456 * dg-extract-results.py (Prog.result_re): Include options
7459 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7461 * dg-extract-results.py (output_variation): Always sort if
7464 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7466 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7467 as long as we get pagination notifications.
7469 2014-12-15 Jason Merrill <jason@redhat.com>
7471 * Makefile.in (check-gdb.%): Restore.
7472 * README: Mention it.
7474 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7476 * gdb.ada/str_uninit: New testcase.
7478 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7481 * gdb.base/vla-stub-define.c: New file.
7482 * gdb.base/vla-stub.c: New file.
7483 * gdb.base/vla-stub.exp: New file.
7485 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7486 Jan Kratochvil <jan.kratochvil@redhat.com>
7487 Tom Tromey <tromey@redhat.com>
7489 * configure.ac: Add gdb.compile/.
7490 * configure: Regenerate.
7491 * gdb.compile/Makefile.in: New file.
7492 * gdb.compile/compile-ops.exp: New file.
7493 * gdb.compile/compile-ops.c: New file.
7494 * gdb.compile/compile-tls.c: New file.
7495 * gdb.compile/compile-tls.exp: New file.
7496 * gdb.compile/compile-constvar.S: New file.
7497 * gdb.compile/compile-constvar.c: New file.
7498 * gdb.compile/compile-mod.c: New file.
7499 * gdb.compile/compile-nodebug.c: New file.
7500 * gdb.compile/compile-setjmp-mod.c: New file.
7501 * gdb.compile/compile-setjmp.c: New file.
7502 * gdb.compile/compile-setjmp.exp: New file.
7503 * gdb.compile/compile-shlib.c: New file.
7504 * gdb.compile/compile.c: New file.
7505 * gdb.compile/compile.exp: New file.
7506 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7508 2014-12-12 Tom Tromey <tromey@redhat.com>
7510 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7511 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7513 2014-12-12 Doug Evans <dje@google.com>
7515 * lib/gdb-python.exp (get_python_valueof): New function.
7516 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7518 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7520 * gdb.base/completion.exp: Add test for completion of "info
7523 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7525 * gdb.base/func-ptrs.c: New file.
7526 * gdb.base/func-ptrs.exp: New file.
7528 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7530 PR breakpoints/17012
7531 * gdb.base/dprintf-detach.c: New file.
7532 * gdb.base/dprintf-detach.exp: New file.
7534 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7536 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7537 * lib/gdb.exp (target_is_gdbserver): New procedure.
7539 2014-12-08 Doug Evans <dje@google.com>
7541 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7543 2014-12-05 Yao Qi <yao@codesourcery.com>
7545 * gdb.guile/scm-error.exp: Remove the third argument to
7546 gdb_remote_download.
7547 * gdb.guile/scm-frame-args.exp: Likewise.
7548 * gdb.guile/scm-section-script.exp: Likewise.
7550 2014-12-05 Yao Qi <yao@codesourcery.com>
7552 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7554 2014-12-04 Doug Evans <dje@google.com>
7556 * gdb.python/py-objfile.exp: Add tests for
7557 objfile.add_separate_debug_file.
7559 2014-12-04 Doug Evans <dje@google.com>
7561 * lib/gdb.exp (get_build_id): New function.
7562 (build_id_debug_filename_get): Rewrite to use it.
7563 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7565 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7567 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7568 `method(long)', not just 0x0.
7569 * gdb.cp/nsalias.exp: Align code labels to 4.
7570 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7571 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7572 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7573 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7574 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7575 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7577 2014-12-02 Doug Evans <dje@google.com>
7580 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7581 * gdb.cp/anon-ns2.cc: ... here. New file.
7582 * gdb.cp/anon-ns.exp: Update.
7584 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7586 * gdb.python/py-events.py (inferior_call_handler): New.
7587 (register_changed_handler, memory_changed_handler): New.
7588 (test_events.invoke): Register new handlers.
7589 * gdb.python/py-events.exp: Add tests for inferior call,
7590 memory_changed and register_changed events.
7592 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7594 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7595 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7596 if the linker doesn't understand this.
7598 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7600 * gdb.python/python.exp: Change expected reply to help().
7602 2014-12-01 Yao Qi <yao@codesourcery.com>
7604 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7605 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7606 * configure: Re-generated.
7608 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7610 * gdb.cp/chained-calls.cc: New file.
7611 * gdb.cp/chained-calls.exp: New file.
7612 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7614 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7616 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7617 * gdb.dwarf2/symtab-producer.exp: Same.
7618 * gdb.gdb/python-interrupts.exp: Same.
7619 * gdb.gdb/python-selftest.exp: Same.
7620 * gdb.python/py-linetable.exp: Same.
7621 * gdb.python/py-type.exp: Same.
7622 * gdb.python/py-value-cc.exp: Same.
7623 * gdb.python/py-value.exp: Same.
7625 2014-11-28 Yao Qi <yao@codesourcery.com>
7627 * gdb.base/break-probes.exp: Match library name prefixed with
7630 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7632 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7633 test expected output. Add parentheses for the call to print.
7634 Remove L suffix from integers.
7636 2014-11-26 Doug Evans <dje@google.com>
7638 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7640 2014-11-22 Yao Qi <yao@codesourcery.com>
7642 * gdb.trace/entry-values.c: Remove asms.
7643 (foo): Add foo_label.
7644 (bar): Add bar_label.
7645 * gdb.trace/entry-values.exp: Remove code computing foo's
7646 length and bar's length.
7647 (Dwarf::assemble): Invoke function_range for bar and use
7648 MACRO_AT_func for foo.
7650 2014-11-22 Yao Qi <yao@codesourcery.com>
7652 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7653 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7654 Use .Lgcc43_procstart instead of gcc43.
7656 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7658 * gdb.ada/n_arr_bound: New testcase.
7660 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7662 PR breakpoints/10737
7663 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7664 test_catch_syscall_multi_arch.
7665 (test_catch_syscall_multi_arch): New function.
7667 2014-11-20 Doug Evans <xdje42@gmail.com>
7669 * gdb.base/maint.exp: Update expected output.
7671 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7673 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7674 4-byte instruction on S390.
7676 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7678 * gdb.ada/arr_arr: New testcase.
7680 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7682 * gdb.ada/pkd_arr_elem: New Testcase.
7684 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7686 * gdb.reverse/break-precsave: Expect completion message for
7688 * gdb.reverse/consecutive-precsave.exp: Likewise.
7689 * gdb.reverse/finish-precsave.exp: Likewise.
7690 * gdb.reverse/i386-precsave.exp: Likewise.
7691 * gdb.reverse/machinestate-precsave.exp: Likewise.
7692 * gdb.reverse/sigall-precsave.exp: Likewise.
7693 * gdb.reverse/solib-precsave.exp: Likewise.
7694 * gdb.reverse/step-precsave.exp: Likewise.
7695 * gdb.reverse/until-precsave.exp: Likewise.
7696 * gdb.reverse/watch-precsave.exp: Likewise.
7698 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7700 * gdb.base/bp-permanent.c: Include unistd.h.
7701 * gdb.python/py-framefilter-mi.c (main): Add return type.
7702 * gdb.python/py-framefilter.c (main): Likewise.
7703 * gdb.trace/actions-changed.c (main): Likewise.
7705 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7707 * gdb.mi/until.c: Add eye-catchers.
7708 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7711 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7713 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7714 function header variants in break1.c.
7715 * gdb.base/ena-dis-br.exp: Likewise.
7716 * gdb.base/hbreak2.exp: Likewise.
7717 * gdb.reverse/until-precsave.exp: Drop references to removed
7718 non-prototype function header variants in ur1.c.
7719 * gdb.reverse/until-reverse.exp: Likewise.
7721 2014-11-17 Petr Machata <pmachata@redhat.com>
7723 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7724 ${_cu_offset_size} bytes abbrev offset.
7726 2014-11-15 Doug Evans <xdje42@gmail.com>
7729 * gdb.base/line-symtabs.exp: New file.
7730 * gdb.base/line-symtabs.c: New file.
7731 * gdb.base/line-symtabs.h: New file.
7733 2014-11-14 Yao Qi <yao@codesourcery.com>
7735 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7736 (func): Add label func_label.
7737 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7738 Replace low_pc and high_pc with MACRO_AT_range.
7739 Replace name, low_pc and high_pc with MACRO_AT_func.
7741 2014-11-14 Yao Qi <yao@codesourcery.com>
7743 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7744 Replace name, low_pc and high_pc with MACRO_AT_func.
7746 2014-11-14 Yao Qi <yao@codesourcery.com>
7748 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7749 produce debug information.
7750 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7752 2014-11-14 Yao Qi <yao@codesourcery.com>
7754 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7755 object and get function length.
7756 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7758 (top-level): Replace gdb_compile and clean_restart with
7759 prepare_for_testing.
7760 * gdb.dwarf2/main.c (main): Add label main_label.
7762 2014-11-14 Yao Qi <yao@codesourcery.com>
7764 * lib/dwarf.exp (function_range): New procedure.
7765 (Dwarf::_handle_macro_at_func): New procedure.
7766 (Dwarf::_handle_macro_at_range): New procedure.
7767 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7769 2014-11-14 Yao Qi <yao@codesourcery.com>
7771 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7772 (_handle_attribute): New procedure.
7774 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7776 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7777 * gdb.base/call-sc.c (zed): Likewise.
7778 * gdb.base/checkpoint.c (main): Likewise.
7779 * gdb.base/dump.c (main): Likewise.
7780 * gdb.base/gcore.c (main): Likewise.
7781 * gdb.base/huge.c (main): Likewise.
7782 * gdb.base/multi-forks.c (main): Likewise.
7783 * gdb.base/pr10179-a.c (main): Likewise.
7784 * gdb.base/savedregs.c (main): Likewise.
7785 * gdb.base/sigaltstack.c (main): Likewise.
7786 * gdb.base/siginfo.c (main): Likewise.
7787 * gdb.base/structs.c (zed): Likewise.
7788 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
7789 * gdb.mi/mi-syn-frame.c (main): Likewise.
7790 * gdb.mi/until.c (foo, main): Likewise.
7791 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
7792 * gdb.base/solib-weak.c (foo): Declare.
7793 * gdb.base/attach-twice.c: Include stdio.h.
7794 * gdb.base/weaklib1.c: Likewise.
7795 * gdb.base/weaklib2.c: Likewise.
7796 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
7797 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
7799 * gdb.base/attach-pie-misread.c: Include stdlib.h.
7800 * gdb.mi/mi-exit-code.c: Likewise.
7801 * gdb.base/break-interp-lib.c: Include string.h.
7802 * gdb.base/coremaker.c: Likewise.
7803 * gdb.base/testenv.c: Likewise.
7804 * gdb.python/py-finish-breakpoint.c: Likewise.
7805 * gdb.base/inferior-died.c: Include sys/wait.h.
7806 * gdb.base/fileio.c: Include time.h.
7807 * gdb.base/async-shell.c: Include unistd.h.
7808 * gdb.base/dprintf-non-stop.c: Likewise.
7809 * gdb.base/info-os.c: Likewise.
7810 * gdb.mi/mi-console.c: Likewise.
7811 * gdb.mi/watch-nonstop.c: Likewise.
7812 * gdb.python/py-events.c: Likewise.
7813 * gdb.base/async.c (baz): Move up before its invocation.
7814 * gdb.base/code_elim2.c (my_global_func): Likewise.
7815 * gdb.base/skip-solib-lib.c (multiply): Likewise.
7816 * gdb.base/advance.c (func2): Likewise.
7818 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7820 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
7822 * gdb.base/annota3.c: Likewise.
7823 * gdb.base/async.c: Likewise.
7824 * gdb.base/average.c: Likewise.
7825 * gdb.base/call-ar-st.c: Likewise.
7826 * gdb.base/call-rt-st.c: Likewise.
7827 * gdb.base/call-sc.c: Likewise.
7828 * gdb.base/call-strs.c: Likewise.
7829 * gdb.base/ending-run.c: Likewise.
7830 * gdb.base/execd-prog.c: Likewise.
7831 * gdb.base/exprs.c: Likewise.
7832 * gdb.base/foll-exec.c: Likewise.
7833 * gdb.base/foll-fork.c: Likewise.
7834 * gdb.base/foll-vfork.c: Likewise.
7835 * gdb.base/funcargs.c: Likewise.
7836 * gdb.base/gcore.c: Likewise.
7837 * gdb.base/jump.c: Likewise.
7838 * gdb.base/langs0.c: Likewise.
7839 * gdb.base/langs1.c: Likewise.
7840 * gdb.base/langs2.c: Likewise.
7841 * gdb.base/mips_pro.c: Likewise.
7842 * gdb.base/nodebug.c: Likewise.
7843 * gdb.base/opaque0.c: Likewise.
7844 * gdb.base/opaque1.c: Likewise.
7845 * gdb.base/recurse.c: Likewise.
7846 * gdb.base/run.c: Likewise.
7847 * gdb.base/scope0.c: Likewise.
7848 * gdb.base/scope1.c: Likewise.
7849 * gdb.base/setshow.c: Likewise.
7850 * gdb.base/setvar.c: Likewise.
7851 * gdb.base/shmain.c: Likewise.
7852 * gdb.base/shr1.c: Likewise.
7853 * gdb.base/shr2.c: Likewise.
7854 * gdb.base/sigall.c: Likewise.
7855 * gdb.base/signals.c: Likewise.
7856 * gdb.base/so-indr-cl.c: Likewise.
7857 * gdb.base/solib2.c: Likewise.
7858 * gdb.base/structs.c: Likewise.
7859 * gdb.base/sum.c: Likewise.
7860 * gdb.base/vforked-prog.c: Likewise.
7861 * gdb.base/watchpoint.c: Likewise.
7862 * gdb.reverse/shr2.c: Likewise.
7863 * gdb.reverse/until-reverse.c: Likewise.
7864 * gdb.reverse/ur1.c: Likewise.
7865 * gdb.reverse/watch-reverse.c: Likewise.
7867 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7869 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7871 * gdb.base/sepdebug.exp: Drop references to removed code.
7873 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7875 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7876 variant. Preserve original line numbering.
7877 * gdb.base/list1.c: Likewise.
7879 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7881 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7883 * gdb.base/break1.c: Likewise.
7884 * gdb.base/break.exp: Drop references to removed code.
7886 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7888 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7891 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7893 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7895 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7897 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7898 logic into perform_all_tests() and invoke it with and without
7899 function header prototypes.
7900 (do_function_calls): Remove conditional XFAIL for PR 5318.
7901 (rerun_and_prepare): Remove duplicate code.
7902 (perform_all_tests): New. Main logic moved here.
7904 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7906 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7907 code guarded by #ifdef NO_PROTOTYPES.
7908 (t_double_many_args): Likewise.
7909 (DEF_FUNC_MANY_ARGS_1): Likewise.
7910 (DEF_FUNC_VALUES_1): Likewise.
7911 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7912 guarded by #ifdef PROTOTYPES.
7914 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7916 * gdb.mi/mi-console.c: Add eye-catcher.
7917 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7918 instead of literal line number.
7920 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7922 * gdb.base/shr2.c: Add eye-catcher.
7923 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7926 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7928 * gdb.base/jump.c: Add eye-catchers.
7929 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7932 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7934 * gdb.base/execd-prog.c: Add eye-catchers.
7935 * gdb.base/foll-exec.c: Likewise.
7936 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7939 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7941 * gdb.base/ending-run.c: Add eye-catchers.
7942 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7943 literal line numbers.
7945 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7947 * gdb.base/call-rt-st.c: Add eye-catchers.
7948 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7949 literal line numbers.
7951 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7953 * gdb.base/call-ar-st.c: Add eye-catchers.
7954 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7955 literal line numbers.
7957 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7959 * gdb.base/average.c: Add eye-catchers.
7960 * gdb.base/sum.c: Likewise.
7961 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7962 regexps dynamically.
7964 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7966 * gdb.base/solib1.c: Add eye-catchers.
7967 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7968 literal line numbers.
7970 2014-11-12 Pedro Alves <palves@redhat.com>
7972 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7975 2014-11-12 Pedro Alves <palves@redhat.com>
7977 * gdb.arch/i386-bp_permanent.c: New file.
7978 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7979 (srcfile): Set to i386-bp_permanent.c.
7980 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7981 that stepi does not execute the 'leave' instruction, instead of
7982 testing it does execute.
7983 * gdb.base/bp-permanent.c: New file.
7984 * gdb.base/bp-permanent.exp: New file.
7986 2014-11-10 Doug Evans <xdje42@gmail.com>
7989 * gdb.base/symtab-search-order.exp: New file.
7990 * gdb.base/symtab-search-order.c: New file.
7991 * gdb.base/symtab-search-order-1.c: New file.
7992 * gdb.base/symtab-search-order-shlib-1.c: New file.
7994 2014-11-07 Pedro Alves <palves@redhat.com>
7997 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8000 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8003 * gdb.cp/pr17494.cc: New file.
8004 * gdb.cp/pr17494.exp: New file.
8006 2014-11-02 Yao Qi <yao@codesourcery.com>
8008 * gdb.python/python.exp: Get working directory and match the
8009 output of "set extended-prompt \\w " with it.
8011 2014-10-30 Doug Evans <dje@google.com>
8013 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8015 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8018 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8020 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8021 * gdb.base/realname-expand.exp: Likewise.
8022 * gdb.linespec/macro-relative.exp: Likewise.
8024 2014-10-29 Pedro Alves <palves@redhat.com>
8027 * gdb.threads/schedlock.c (some_function): New function.
8028 (call_function): New global.
8029 (MAYBE_CALL_SOME_FUNCTION): New macro.
8030 (thread_function): Call it.
8031 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8032 and use it instead of a global counter. Adjust all callers.
8033 (get_current_thread): Use "find current thread" for test message
8034 here rather than having all callers pass down the same string.
8035 (goto_loop): New procedure, factored out from ...
8036 (my_continue): ... this.
8037 (step_ten_loops): Change parameter from test message to command to
8039 (list_count): Delete global.
8040 (check_result): New procedure, factored out from duplicate top
8042 (continue tests): Wrap in with_test_prefix.
8043 (test_step): New procedure, factored out from duplicate top level
8045 (top level): Test "step" in combination with all scheduler-locking
8046 modes. Test "next" in combination with all scheduler-locking
8047 modes, and in combination with stepping over a function call or
8049 * gdb.threads/next-bp-other-thread.c: New file.
8050 * gdb.threads/next-bp-other-thread.exp: New file.
8052 2014-10-29 Pedro Alves <palves@redhat.com>
8055 * gdb.python/python.exp: Test a multi-line command that spawns
8057 * gdb.base/multi-line-starts-subshell.exp: New file.
8059 2014-10-29 Yao Qi <yao@codesourcery.com>
8061 * gdb.base/fileio.exp: Make directories on host.
8063 2014-10-29 Yao Qi <yao@codesourcery.com>
8065 * gdb.base/fileio.c (test_write): Close the file.
8067 2014-10-28 Pedro Alves <palves@redhat.com>
8070 * gdb.base/sigstep.c (no_handler): New global.
8071 (main): If 'no_handler is true, set the signal handlers to
8073 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8074 with_sw_watch and no_handler parameters. Handle them.
8075 (top level) <stepping over handler when stopped at a breakpoint
8076 test>: Add a test axis for testing with a software watchpoint, and
8077 another for testing with the signal handler set to SIG_IGN.
8078 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8079 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8081 2014-10-28 Pedro Alves <palves@redhat.com>
8084 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8085 * gdb.base/sigstep.exp (other_handler_location): New global.
8086 (advance): Support stepping into the signal handler, and running
8087 commands while in the handler.
8088 (in_handler_map): New global.
8089 (top level): In the advance test, add combinations for getting
8090 into the handler with stepping commands, and for running commands
8091 in the handler. Add comment descripting the advancei tests.
8093 2014-10-28 Pedro Alves <palves@redhat.com>
8095 * gdb.base/sigstep.exp: Use build_executable instead of
8096 prepare_for_testing.
8097 (top level): Move code that starts GDB, runs to main and creates a
8099 (restart): ... this new procedure.
8100 (top level): Move backtrace from signal handler test to ...
8101 (validate_backtrace): ... this new procedure.
8102 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8103 with_test_prefix. Always restart GDB.
8104 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8105 with_test_prefix. Always restart GDB. No need to delete
8106 breakpoints after the test.
8107 (test_skip_handler): Remove prefix parameter.
8108 (skip_over_handler, breakpoint_to_handler)
8109 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8110 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8111 restart GDB. No need to delete breakpoints after the test.
8112 (top level): Use foreach to call the test procedures with
8115 2014-10-28 Pedro Alves <palves@redhat.com>
8117 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8118 instead of GNATS numbers.
8119 * gdb.base/sigbpt.exp: Likewise.
8120 * gdb.base/siginfo.exp: Likewise.
8121 * gdb.base/sigstep.exp: Likewise.
8123 2014-10-27 Pedro Alves <palves@redhat.com>
8125 * gdb.base/sigstep.c (dummy): New global.
8126 (main): Issue a couple writes to the new global.
8127 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8129 (skip_over_handler): Use test_skip_handler.
8130 (top level): Call skip_over_handler for stepi and nexti too.
8131 (breakpoint_over_handler): Use test_skip_handler.
8132 (top level): Call breakpoint_over_handler for stepi and nexti too.
8134 2014-10-27 Yao Qi <yao@codesourcery.com>
8136 * gdb.trace/tfile.c (adjust_function_address)
8137 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8138 function descriptor.
8140 2014-10-24 Don Breazeal <donb@codesourcery.com>
8142 * gdb.base/foll-fork.exp (test_follow_fork,
8143 catch_fork_child_follow): Check for updated fork messages emitted
8145 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8146 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8147 vfork_and_exec_child_follow_through_step): Check for updated vfork
8148 messages emitted from infrun.c.
8150 2014-10-24 Pedro Alves <palves@redhat.com>
8152 * gdb.base/corefile.exp: Remove references to ultrix.
8153 * gdb.base/interrupt.exp: Likewise.
8154 * gdb.base/whatis.exp: Likewise.
8155 * gdb.gdb/selftest.exp: Likewise.
8156 * gdb.threads/manythreads.exp: Likewise.
8157 * gdb.threads/print-threads.exp: Likewise.
8158 * gdb.threads/pthreads.exp:: Likewise.
8159 * gdb.threads/schedlock.exp: Likewise.
8161 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8163 * gdb.cp/non-trivial-retval.cc: Add a test case.
8164 * gdb.cp/non-trivial-retval.exp: Add a test.
8166 2014-10-20 Yao Qi <yao@codesourcery.com>
8168 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8169 * gdb.python/py-objfile-script-gdb.py: New file.
8170 * gdb.python/py-objfile-script.exp: Update reference to
8171 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8172 of remote_download. Remove the dest file.
8174 2014-10-20 Yao Qi <yao@codesourcery.com>
8176 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8177 * gdb.base/step-line.exp: Likewise.
8178 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8179 * gdb.dwarf2/dw2-basic.exp: Likewise.
8180 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8181 * gdb.dwarf2/dw2-filename.exp: Likewise.
8182 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8183 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8184 * gdb.dwarf2/dw2-producer.exp: Likewise.
8185 * gdb.dwarf2/mac-fileno.exp: Likewise.
8186 * gdb.python/py-frame-args.exp: Likewise.
8187 * gdb.python/py-framefilter.exp: Likewise.
8188 * gdb.python/py-mi.exp: Likewise.
8189 * gdb.python/py-objfile-script.exp: Likewise
8190 * gdb.python/py-pp-integral.exp: Likewise.
8191 * gdb.python/py-pp-re-notag.exp: Likewise.
8192 * gdb.python/py-prettyprint.exp: Likewise.
8193 * gdb.python/py-section-script.exp: Likewise.
8194 * gdb.python/py-typeprint.exp: Likewise.
8195 * gdb.python/py-xmethods.exp: Likewise.
8196 * gdb.stabs/weird.exp: Likewise.
8197 * gdb.xml/tdesc-regs.exp: Likewise.
8199 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8201 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8202 (out_cu): Use addr_len for the size of addresses.
8203 (out_line): Likewise. Size DW_LNE_set_address instruction
8204 according to addr_len.
8205 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8206 (FUNC): Add START_INSNS to definition.
8208 2014-10-18 Yao Qi <yao@codesourcery.com>
8210 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8211 gdb_has_argv0 return true.
8212 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8213 check [target_info exists noargs], check [gdb_has_argv0]
8215 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8216 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8219 2014-10-17 Doug Evans <dje@google.com>
8221 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8223 * gdb.python/py-events.py: Add clear_objfiles event.
8225 2014-10-17 Doug Evans <dje@google.com>
8227 * gdb.python/py-objfile.exp: Test progspace attribute.
8229 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8231 * gdb.guile/scm-breakpoint.exp: Do not assume any
8232 directory separators when matching source file paths.
8233 * gdb.python/py-breakpoint.exp: Likewise.
8234 * gdb.reverse/break-precsave.exp: Likewise.
8235 * gdb.reverse/break-reverse.exp: Likewise.
8236 * gdb.reverse/consecutive-precsave.exp: Likewise.
8237 * gdb.reverse/finish-precsave.exp: Likewise.
8238 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8239 * gdb.reverse/finish-reverse.exp: Likewise.
8240 * gdb.reverse/i386-precsave.exp: Likewise.
8241 * gdb.reverse/i387-env-reverse.exp: Likewise.
8242 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8243 * gdb.reverse/machinestate-precsave.exp: Likewise.
8244 * gdb.reverse/machinestate.exp: Likewise.
8245 * gdb.reverse/sigall-precsave.exp: Likewise.
8246 * gdb.reverse/solib-precsave.exp: Likewise.
8247 * gdb.reverse/step-precsave.exp: Likewise.
8248 * gdb.reverse/until-precsave.exp: Likewise.
8249 * gdb.reverse/watch-precsave.exp: Likewise.
8250 * gdb.reverse/watch-reverse.exp: Likewise.
8252 2014-10-17 Yao Qi <yao@codesourcery.com>
8254 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8255 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8257 2014-10-17 Pedro Alves <palves@redhat.com>
8260 * gdb.base/bg-execution-repeat.c: New file.
8261 * gdb.base/bg-execution-repeat.exp: New file.
8263 2014-10-17 Pedro Alves <palves@redhat.com>
8266 * gdb.base/continue-all-already-running.c: New file.
8267 * gdb.base/continue-all-already-running.exp: New file.
8269 2014-10-17 Pedro Alves <palves@redhat.com>
8272 * gdb.base/annota-input-while-running.c: New file.
8273 * gdb.base/annota-input-while-running.exp: New file.
8275 2014-10-17 Pedro Alves <palves@redhat.com>
8277 * gdb.base/callfuncs.exp: emove references to osf.
8278 * gdb.base/sigall.exp: Likewise.
8279 * gdb.gdb/selftest.exp: Likewise.
8280 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8281 * gdb.mi/non-stop.c: Likewise.
8282 * gdb.mi/pthreads.c: Likewise.
8283 * gdb.reverse/sigall-precsave.exp: Likewise.
8284 * gdb.reverse/sigall-reverse.exp: Likewise.
8285 * gdb.threads/pthreads.c: Likewise.
8286 * gdb.threads/pthreads.exp: Likewise.
8288 2014-10-17 Yao Qi <yao@codesourcery.com>
8290 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8291 check 'target_info exists noargs'.
8292 (test_command_prompt_position): Likewise.
8293 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8295 (progvar_simple_while_test): Likewise.
8296 (progvar_complex_if_while_test): Likewise.
8297 (if_while_breakpoint_command_test): Likewise.
8298 (infrun_breakpoint_command_test): Likewise.
8299 (breakpoint_command_test): Likewise.
8300 (watchpoint_command_test): Likewise.
8301 (bp_deleted_in_command_test): Likewise.
8302 (temporary_breakpoint_commands): Likewise.
8304 2014-10-16 Yao Qi <yao@codesourcery.com>
8306 * gdb.base/remotetimeout.exp: Remove noargs checking.
8308 2014-10-15 Pedro Alves <palves@redhat.com>
8311 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8312 * gdb.base/breakpoint-in-ro-region.exp
8313 (probe_target_hardware_step): New procedure.
8314 (top level): Probe hardware stepping and hardware breakpoint
8315 support. Test stepping through a read-only region, with both
8316 "breakpoint auto-hw" on and off and both "always-inserted" on and
8319 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8321 * gdb.dlang/demangle.exp: Update for demangling changes.
8323 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8325 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8326 * gdb.cp/non-trivial-retval.exp: Add new tests.
8328 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8332 * gdb.cp/non-trivial-retval.cc: New file.
8333 * gdb.cp/non-trivial-retval.exp: New file.
8335 2014-10-15 Yao Qi <yao@codesourcery.com>
8337 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8340 2014-10-15 Yao Qi <yao@codesourcery.com>
8342 * gdb.python/py-symbol.exp: Match file base name if host is
8343 remote, otherwise match file name with dir name.
8344 * gdb.python/py-symtab.exp: Likewise.
8345 * gdb.python/python.exp: Likewise.
8347 2014-10-15 Yao Qi <yao@codesourcery.com>
8349 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8351 * gdb.python/py-symtab.exp: Likewise.
8352 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8355 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8357 * gdb.ada/addr_arith: New testcase.
8359 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8361 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8362 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8363 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8364 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8366 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8368 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8369 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8370 * gdb.arch/stap-eval-lang-ada.exp: New file.
8372 2014-10-14 Yao Qi <yao@codesourcery.com>
8374 * gdb.mi/mi-var-child.c (nothing1): New function.
8375 (nothing2): New function.
8376 (do_children_tests): Set function pointers by nothing1 and
8378 * gdb.mi/mi-var-child.exp: Step over new added statements.
8379 Update test to match the new output.
8380 * gdb.mi/var-cmd.c (nothing1): New function.
8381 (nothing2): New function.
8382 (do_children_tests): Set function pointers by nothing1 and
8384 * gdb.mi/mi-var-display.exp: Update test to match output.
8385 Step to the line specified by $line_dct_nothing.
8386 Increase the number of lines to step.
8388 2014-10-14 Yao Qi <yao@codesourcery.com>
8390 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8392 * gdb.mi/mi2-var-child.exp: Likewise.
8394 2014-10-13 Doug Evans <dje@google.com>
8396 * gdb.python/py-objfile.exp: Change name of file name test.
8398 2014-10-13 Doug Evans <dje@google.com>
8400 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8401 from the start of the CU.
8403 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8404 Yao Qi <yao@codesourcery.com>
8406 Fix "save breakpoints" for "catch" command.
8407 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8408 Remove -nonewline. Match also the added "main" line.
8410 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8412 Fix "save breakpoints" for "disable $bpnum" command.
8413 * gdb.base/save-bp.c (main): Add label.
8414 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8416 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8418 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8420 2014-10-11 Yao Qi <yao@codesourcery.com>
8422 * gdb.server/server-kill.exp: Execute command
8423 "set remote trace-status-packet on" before "tstatus".
8425 2014-10-11 Yao Qi <yao@codesourcery.com>
8427 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8428 (main): Call getppid.
8429 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8430 and continue to it. Read variable "server_pid".
8432 2014-10-11 Yao Qi <yao@codesourcery.com>
8434 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8436 2014-10-11 Yao Qi <yao@codesourcery.com>
8438 * gdb.threads/thread-find.exp: Don't execute command
8440 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8441 * gdb.threads/linux-dp.exp: Don't check the condition
8442 $threads_created equals to zero.
8444 2014-10-10 Pedro Alves <palves@redhat.com>
8446 * gdb.base/bigcore.exp: Remove references to IRIX.
8447 * gdb.base/funcargs.exp: Likewise.
8448 * gdb.base/interrupt.exp: Likewise.
8449 * gdb.base/mips_pro.exp: Likewise.
8450 * gdb.base/nodebug.exp: Likewise.
8451 * gdb.base/setvar.exp: Likewise.
8452 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8454 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8455 Pedro Alves <palves@redhat.com>
8458 * gdb.base/vdso-warning.c: New file.
8459 * gdb.base/vdso-warning.exp: New file.
8461 2014-10-02 Doug Evans <dje@google.com>
8463 * gdb.base/structs.c (main): Don't run forever.
8465 2014-10-02 Pedro Alves <palves@redhat.com>
8467 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8468 (top level) <stop threads 1, stop threads 2>: Use it.
8470 2014-10-02 Pedro Alves <palves@redhat.com>
8472 * gdb.threads/break-while-running.exp (test): Add new
8473 'update_thread_list' argument. Skip "info threads" if false.
8474 (top level): Add new 'update_thread_list' axis.
8476 2014-10-02 Pedro Alves <palves@redhat.com>
8478 PR breakpoints/17431
8479 * gdb.base/execl-update-breakpoints.c: New file.
8480 * gdb.base/execl-update-breakpoints.exp: New file.
8482 2014-10-01 Pedro Alves <palves@redhat.com>
8484 * gdb.base/breakpoint-in-ro-region.c: New file.
8485 * gdb.base/breakpoint-in-ro-region.exp: New file.
8487 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8489 * gdb.mi/mi-exit-code.exp: New file.
8490 * gdb.mi/mi-exit-code.c: New file.
8492 2014-09-30 Yao Qi <yao@codesourcery.com>
8494 * lib/prelink-support.exp (build_executable_own_libs): Error if
8495 the target isn't native.
8497 2014-09-30 Yao Qi <yao@codesourcery.com>
8499 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8502 2014-09-22 Pedro Alves <palves@redhat.com>
8504 * gdb.threads/break-while-running.exp: New file.
8505 * gdb.threads/break-while-running.c: New file.
8507 2014-09-19 Yao Qi <yao@codesourcery.com>
8509 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8510 Invoke test. Restart GDB with --readnow and invoke test again.
8512 2014-09-19 Yao Qi <yao@codesourcery.com>
8514 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8515 proc set_breakpoint_on_gcd_function. Invoke
8516 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8517 invoke set_breakpoint_on_gcd_function again.
8519 2014-09-18 Doug Evans <dje@google.com>
8521 * gdb.dwarf2/symtab-producer.exp: New file.
8523 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8525 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8526 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8527 * gdb.base/global-var-nested-by-dso.c: Likewise.
8528 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8530 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8531 Pedro Alves <palves@redhat.com>
8533 * gdb.base/watch-bitfields.exp: Pass string other than test file
8534 name to prepare_for_testing.
8535 (watch): New procedure.
8536 (expect_watchpoint): Use with_test_prefix.
8537 (top level): Factor out tests to ...
8538 (test_watch_location, test_regular_watch): ... these new
8539 procedures, and use with_test_prefix and gdb_continue_to_end.
8541 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8543 PR breakpoints/12526
8544 * gdb.base/watch-bitfields.exp: New file.
8545 * gdb.base/watch-bitfields.c: New file.
8547 2014-09-16 Pedro Alves <palves@redhat.com>
8549 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8550 software and hardware addresses, not software address against
8553 2014-09-16 Pedro Alves <palves@redhat.com>
8555 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8556 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8558 2014-09-16 Pedro Alves <palves@redhat.com>
8560 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8562 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8563 "*-*-vxworks*" throughout.
8564 * gdb.base/break.exp: Likewise.
8565 * gdb.base/default.exp: Likewise.
8566 * gdb.base/scope.exp: Likewise.
8567 * gdb.base/sepdebug.exp: Likewise.
8568 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8570 * gdb.base/run.c: Likewise.
8571 * gdb.base/sepdebug.c: Likewise.
8572 * gdb.hp/gdb.aCC/run.c: Likewise.
8573 * gdb.reverse/until-reverse.c: Likewise.
8574 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8576 2014-09-16 Yao Qi <yao@codesourcery.com>
8578 * boards/local-remote-host-native.exp: New file.
8580 2014-09-14 Doug Evans <xdje42@gmail.com>
8582 * gdb.threads/queue-signal.c (thread_count): New variable.
8583 (thread_count_mutex, thread_count_condvar): New variables.
8584 (incr_thread_count, wait_all_threads_running): New functions.
8585 (main): Wait for all threads to be in their thread functions.
8587 2014-09-13 Doug Evans <xdje42@gmail.com>
8589 * gdb.threads/queue-signal.c: New file.
8590 * gdb.threads/queue-signal.exp: New file.
8592 2014-09-13 Doug Evans <xdje42@gmail.com>
8594 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8595 be consistent with what default_gdb_init uses.
8596 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8597 the plain text of the prompt. Add some logging printfs.
8598 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8600 2014-09-12 Pedro Alves <palves@redhat.com>
8602 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8603 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8604 * gdb.arch/i386-size-overlap.exp: Likewise.
8605 * gdb.arch/i386-size.exp: Likewise.
8606 * gdb.arch/i386-unwind.exp: Likewise.
8607 * gdb.base/a2-run.exp: Likewise.
8608 * gdb.base/break.exp: Likewise.
8609 * gdb.base/charset.exp: Likewise.
8610 * gdb.base/chng-syms.exp: Likewise.
8611 * gdb.base/commands.exp: Likewise.
8612 * gdb.base/dbx.exp: Likewise.
8613 * gdb.base/find.exp: Likewise.
8614 * gdb.base/funcargs.exp: Likewise.
8615 * gdb.base/jit-simple.exp: Likewise.
8616 * gdb.base/reread.exp: Likewise.
8617 * gdb.base/sepdebug.exp: Likewise.
8618 * gdb.base/step-bt.exp: Likewise.
8619 * gdb.cp/mb-inline.exp: Likewise.
8620 * gdb.cp/mb-templates.exp: Likewise.
8621 * gdb.objc/basicclass.exp: Likewise.
8622 * gdb.threads/killed.exp: Likewise.
8624 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8627 * gdb.arch/powerpc-stackless.S: New file.
8628 * gdb.arch/powerpc-stackless.exp: New file.
8630 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8632 * gdb.base/attach.c: Include unistd.h.
8633 (main): Call alarm. Add label postloop.
8634 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8635 gdb_breakpoint, gdb_continue_to_breakpoint.
8636 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8638 2014-09-11 Pedro Alves <palves@redhat.com>
8641 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8642 * gdb.base/attach.exp (test_command_line_attach_run): New
8644 (top level): Call it.
8646 2014-09-11 Pedro Alves <palves@redhat.com>
8648 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8649 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8650 (do_command_attach_tests): Use spawn_wait_for_attach.
8651 * gdb.base/solib-overlap.exp: Likewise.
8652 * gdb.multi/multi-attach.exp: Likewise.
8653 * gdb.python/py-prompt.exp: Likewise.
8654 * gdb.python/py-sync-interp.exp: Likewise.
8655 * gdb.server/ext-attach.exp: Likewise.
8657 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8659 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8660 command in testcase. Simplify testcase.
8662 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8664 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8666 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8668 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8670 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8672 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8674 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8676 * gdb.dwarf2/dynarr-ptr.c: New file.
8677 * gdb.dwarf2/dynarr-ptr.exp: New file.
8679 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8681 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8682 of 30 rather than hardcoding 120 for a slow test case. Take the
8683 `gdb,timeout' target setting into account for this calculation.
8684 Don't extend the timeout for the test cases that don't need it.
8686 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8688 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8689 a factor of 2 for a slow test case. Take the `gdb,timeout'
8690 target setting into account for this calculation.
8691 * gdb.reverse/until-precsave.exp: Increase the timeout by
8692 a factor of 15 and 3 respectively rather than adding 120
8693 for a pair of slow test cases. Take the `gdb,timeout'
8694 target setting into account for this calculation.
8696 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8698 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8699 timeout, don't pass one down to gdb_expect.
8700 (gdb_expect): Rework timeout selection.
8702 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8704 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8705 exception on timeout.
8706 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8707 (gdbserver_start_extended): Catch any `gdbserver_start' error
8709 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8710 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8711 `gdbserver_gdb_load' error exceptions.
8713 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8715 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8716 120 on waiting for the TCP socket to open.
8718 2014-09-09 Doug Evans <xdje42@gmail.com>
8720 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8721 _caller_matches, _any_caller_is, _any_caller_matches.
8723 2014-09-09 Doug Evans <xdje42@gmail.com>
8725 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8727 2014-09-09 Yao Qi <yao@codesourcery.com>
8729 * gdb.mi/mi-var-display.exp: Set print symbol off.
8731 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8734 * gdb.base/commands.exp: Add tests to verify user-defined
8735 commands with empty bodies.
8736 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8737 python commands in `show user command`.
8738 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8739 scheme commands in `show user command`.
8741 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8744 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8745 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8746 * gdb.python/py-framefilter-invalidarg.exp: New file.
8747 * gdb.python/py-framefilter-invalidarg.py: New file.
8749 2014-09-06 Doug Evans <xdje42@gmail.com>
8752 * gdb.python/py-caller-is.c: New file.
8753 * gdb.python/py-caller-is.exp: New file.
8755 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8758 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8759 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8761 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8764 * gdb.fortran/print-formatted.exp: New file.
8765 * gdb.fortran/print-formatted.f90: Likewise.
8767 2014-09-03 Sasha Smundak <asmundak@google.com>
8769 * gdb.python/py-frame.exp: Test Frame.read_register.
8771 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8774 * gdb.python/py-completion.exp: New file.
8775 * gdb.python/py-completion.py: Likewise.
8777 2014-08-28 Doug Evans <dje@google.com>
8779 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8780 eax,etc. are live with values set by gdb and thus the compiler can't
8782 * gdb.arch/i386-pseudo.c (main): Ditto.
8784 2014-08-27 Doug Evans <dje@google.com>
8786 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
8788 2014-08-25 Doug Evans <dje@google.com>
8790 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
8793 2014-08-25 Doug Evans <dje@google.com>
8795 * gdb.threads/thread-execl.exp: #include <stdio.h>.
8797 2014-08-24 Yao Qi <yao@codesourcery.com>
8799 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
8801 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
8803 2014-08-22 Doug Evans <dje@google.com>
8806 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
8807 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
8808 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
8810 2014-08-22 Yao Qi <yao@codesourcery.com>
8812 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
8813 * gdb.python/py-finish-breakpoint2.exp: Likewise.
8814 * gdb.python/python.exp: Likewise. Use .py file on the host
8815 instead of the build.
8817 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8819 * gdb.threads/gcore-stale-thread.c: New file.
8820 * gdb.threads/gcore-stale-thread.exp: New file.
8822 2014-08-21 Pedro Alves <palves@redhat.com>
8824 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
8825 * gdb.base/gcore-relro-pie.exp: Likewise.
8826 * gdb.base/gcore-relro.exp: Likewise.
8827 * gdb.base/gcore.exp: Likewise.
8828 * gdb.base/print-symbol-loading.exp: Likewise.
8829 * gdb.threads/gcore-thread.exp: Likewise.
8830 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
8832 2014-08-20 Pedro Alves <palves@redhat.com>
8833 Jan Kratochvil <jan.kratochvil@redhat.com>
8835 * Makefile.in (EXTRA_RULES, CC): New variables, get from
8837 (EXPECT): Handle READ1 being set.
8838 (all): Depend on EXTRA_RULES.
8839 (check-read1, expect-read1, read1.so, read1): New rules.
8840 * README (Testsuite Parameters): Document the READ1 make variable.
8841 (Race detection): New section.
8842 * configure: Regenerate.
8843 * configure.ac: If build==host==target, and running under a
8844 GNU/glibc system, add read1 to the extra Makefile rules.
8845 (EXTRA_RULES): AC_SUBST it.
8846 * lib/read1.c: New file.
8848 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8850 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8851 the handling of variables declared as a typedef to an array
8852 which a DW_AT_data_location attribute.
8854 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8855 Pedro Alves <palves@redhat.com>
8859 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8862 2014-08-19 Pedro Alves <palves@redhat.com>
8864 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8866 2014-08-19 Yao Qi <yao@codesourcery.com>
8868 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8871 2014-08-18 David Blaikie <dblaikie@gmail.com>
8873 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8875 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8877 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8878 attribute in array range.
8880 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8882 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8884 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8887 * gdb.cp/pr17132.cc: New file.
8888 * gdb.cp/pr17132.exp: New file.
8890 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8892 * gdb.python/py-xmethods.py (A_getarrayind)
8893 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8894 Use 'print' with function call syntax.
8895 (E_method_matcher.match): Fix tab vs space indentation mixup.
8897 2014-08-15 Yao Qi <yao@codesourcery.com>
8899 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8902 2014-08-15 Yao Qi <yao@codesourcery.com>
8904 * gdb.cp/casts.exp: Set print symbol off.
8905 * gdb.cp/class2.exp: Likewise.
8906 * gdb.cp/overload.exp: Likewise.
8907 * gdb.cp/templates.exp: Likewise.
8909 2014-08-11 Doug Evans <dje@google.com>
8911 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8912 (test_load_shlib): Update.
8914 2014-08-09 Yao Qi <yao@codesourcery.com>
8916 * gdb.base/display.exp: Invoke is_address_zero_readable.
8917 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8918 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8919 * gdb.base/hbreak-unmapped.exp: Return if
8920 is_address_zero_readable returns true.
8921 * gdb.base/signest.exp: Likewise.
8922 * gdb.base/signull.exp: Likewise.
8923 * gdb.base/sigbpt.exp: Likewise.
8924 * gdb.guile/scm-disasm.exp: Do the test if
8925 is_address_zero_readable returns false.
8926 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8927 * gdb.python/py-arch.exp: Likewise.
8928 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8929 * lib/gdb.exp (is_address_zero_readable): New proc.
8931 2014-08-09 Yao Qi <yao@codesourcery.com>
8934 * gdb.mi/mi-var-display.exp: Make test messages unique.
8936 2014-08-04 Tom Tromey <tromey@redhat.com>
8938 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8941 2014-08-04 Tom Tromey <tromey@redhat.com>
8943 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8946 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8948 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8949 inner_vla_struct_object_size.
8950 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8953 2014-07-30 Pedro Alves <palves@redhat.com>
8955 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8958 2014-07-29 Yao Qi <yao@codesourcery.com>
8961 * gdb.base/until-nodebug.exp: New.
8963 2014-07-28 Doug Evans <xdje42@gmail.com>
8966 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8967 previously existing parameter, and previously ambiguously spelled
8970 2014-07-28 Will Newton <will.newton@linaro.org>
8972 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8974 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8975 Doug Evans <xdje42@gmail.com>
8978 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8980 2014-07-25 Pedro Alves <palves@redhat.com>
8982 * gdb.threads/signal-command-handle-nopass.c: New file.
8983 * gdb.threads/signal-command-handle-nopass.exp: New file.
8984 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8985 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8986 * gdb.threads/signal-delivered-right-thread.c: New file.
8987 * gdb.threads/signal-delivered-right-thread.exp: New file.
8989 2014-07-25 Pedro Alves <palves@redhat.com>
8991 * gdb.base/double-prompt-target-event-error.exp
8992 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8994 (cancel_pagination_in_target_event): Rework double prompt
8996 * gdb.base/paginate-after-ctrl-c-running.exp
8997 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8999 * gdb.base/paginate-bg-execution.exp
9000 (test_bg_execution_pagination_return)
9001 (test_bg_execution_pagination_cancel): Remove '-notransfer
9003 * gdb.base/paginate-execution-startup.exp
9004 (test_fg_execution_pagination_return)
9005 (test_fg_execution_pagination_cancel): Remove '-notransfer
9007 * gdb.base/paginate-inferior-exit.exp
9008 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9010 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9011 * lib/gdb.exp (pagination_prompt): Run text through
9013 (gdb_test_multiple): Match $pagination_prompt instead of
9015 (string_to_regexp): Move to lib/gdb-utils.exp.
9017 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9019 * gdb.arch/amd64-entry-value-paramref.S: New file.
9020 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9021 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9022 * gdb.arch/amd64-optimout-repeat.S: New file.
9023 * gdb.arch/amd64-optimout-repeat.c: New file.
9024 * gdb.arch/amd64-optimout-repeat.exp: New file.
9026 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9029 * gdb.base/statistics.exp: New file.
9031 2014-07-17 Doug Evans <dje@google.com>
9034 * gdb.base/maint.exp: Update testing of per-command stats.
9036 2014-07-16 Pedro Alves <palves@redhat.com>
9038 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9039 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9040 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9041 (tfile_write_buf): New functions.
9042 (add_memory_block): Rewrite using the above.
9043 (adjust_function_address): New function.
9044 (FUNCTION_ADDRESS): New macro.
9045 (write_basic_trace_file): Remove short_x local, and use
9046 tfile_write_16. Change type of func_addr local to unsigned long
9047 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9048 here. Cast argument of add_memory_block to char pointer.
9049 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9050 (main): Remove parameters.
9051 * gdb.trace/tfile.exp: Remove nowarnings.
9053 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9055 * gdb.base/debug-expr.exp: Test string evaluation with
9056 "debug expression" on.
9058 2014-07-15 Pedro Alves <palves@redhat.com>
9060 * gdb.base/reread.exp: Use clean_restart.
9062 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9064 * gdb.arch/avr-flash-qualifer.c: New.
9065 * gdb.arch/avr-flash-qualifer.exp: New.
9067 2014-07-14 Pedro Alves <palves@redhat.com>
9069 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9070 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9072 2014-07-14 Pedro Alves <palves@redhat.com>
9074 * gdb.base/double-prompt-target-event-error.c: New file.
9075 * gdb.base/double-prompt-target-event-error.exp: New file.
9077 2014-07-14 Pedro Alves <palves@redhat.com>
9080 * gdb.base/paginate-inferior-exit.c: New file.
9081 * gdb.base/paginate-inferior-exit.exp: New file.
9083 2014-07-14 Pedro Alves <palves@redhat.com>
9086 * gdb.base/paginate-bg-execution.c: New file.
9087 * gdb.base/paginate-bg-execution.exp: New file.
9089 2014-07-14 Pedro Alves <palves@redhat.com>
9092 * gdb.base/paginate-execution-startup.c: New file.
9093 * gdb.base/paginate-execution-startup.exp: New file.
9094 * lib/gdb.exp (pagination_prompt): New global.
9095 (default_gdb_spawn): New procedure, factored out from
9097 (default_gdb_start): Adjust to call default_gdb_spawn.
9098 (gdb_spawn): New procedure.
9100 2014-07-14 Pedro Alves <palves@redhat.com>
9102 * lib/gdb.exp (gdb_assert): New procedure.
9103 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9105 2014-07-14 Pedro Alves <palves@redhat.com>
9107 * gdb.base/execution-termios.c: New file.
9108 * gdb.base/execution-termios.exp: New file.
9110 2014-07-14 Tom Tromey <tromey@redhat.com>
9112 * gdb.cp/vla-cxx.cc: New file.
9113 * gdb.cp/vla-cxx.exp: New file.
9115 2014-07-14 Tom Tromey <tromey@redhat.com>
9117 * gdb.reverse/rerun-prec.c: New file.
9118 * gdb.reverse/rerun-prec.exp: New file.
9120 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9121 Maciej W. Rozycki <macro@codesourcery.com>
9123 * lib/gdb-utils.exp: New file.
9124 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9125 inline `gdb_init_command' processing.
9126 (gdb_start_cmd): Likewise.
9127 * lib/mi-support.exp (mi_run_cmd): Likewise.
9128 * README: Document `gdb_init_command' and `gdb_init_commands'.
9130 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9132 Fix false FAIL running under a very long directory name.
9133 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9134 and "set print elements 10000". Twice.
9136 2014-07-11 Yao Qi <yao@codesourcery.com>
9138 * gdb.base/exprs.exp: "set print symbol off".
9140 2014-07-11 Pedro Alves <palves@redhat.com>
9142 * gdb.threads/kill.c: New file.
9143 * gdb.threads/kill.exp: New file.
9145 2014-07-10 Yao Qi <yao@codesourcery.com>
9147 * gdb.trace/tfile.c (write_basic_trace_file)
9148 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9149 address written to trace file.
9151 2014-07-09 Pedro Alves <palves@redhat.com>
9153 * gdb.base/attach-wait-input.exp: New file.
9154 * gdb.base/attach-wait-input.c: New file.
9156 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9158 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9159 setting up test structures.
9160 (main): Call new test function.
9161 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9162 test function, continue into test function and walk test
9165 2014-07-02 Yao Qi <yao@codesourcery.com>
9167 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9168 'bar_start' at the beginning of functions 'foo' and 'bar'
9170 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9171 instead of 'foo' and 'bar'.
9173 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9175 * gdb.btrace/segv.exp: New.
9176 * gdb.btrace/segv.c: New.
9178 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9180 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9183 2014-06-30 Mark Wielaard <mjw@redhat.com>
9185 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9186 vulture, vilify, villar): New volatile array constants.
9187 (vindictive, vegetation): New const volatile array constants.
9188 * gdb.base/volatile.exp: Test volatile and const volatile array
9191 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9193 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9194 target lacks support for awatch, rwatch, or hbreak.
9196 2014-06-27 Yao Qi <yao@codesourcery.com>
9198 * gdb.multi/dummy-frame-restore.exp: New.
9199 * gdb.multi/dummy-frame-restore.c: New.
9201 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9203 * gdb.btrace/gcore.exp: New.
9205 2014-06-23 Pedro Alves <palves@redhat.com>
9207 * gdb.base/watchpoint-reuse-slot.c: New file.
9208 * gdb.base/watchpoint-reuse-slot.exp: New file.
9210 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9212 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9213 progspace's filename in 'info', 'enable' and 'disable' command
9216 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9218 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9219 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9220 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9222 2014-06-20 Gary Benson <gbenson@redhat.com>
9224 * gdb.arch/i386-avx.exp: Fix include file location.
9225 * gdb.arch/i386-sse.exp: Likewise.
9227 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9229 * gdb.dlang/expression.exp: New file.
9231 2014-06-19 Pedro Alves <palves@redhat.com>
9233 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9235 (top level): ... here. Iterate running tests under different
9236 scheduler-locking settings.
9238 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9240 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9241 to DW_FORM_addr and use non-zero addresses.
9243 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9246 * gdb.python/py-xmethods.cc: Add global function call counters and
9247 increment them in their respective functions. Remove "cout"
9249 * gdb.python/py-xmethods.exp: Make tests check the global function
9250 call counters instead of depending on inferior IO.
9252 2014-06-18 Don Breazeal <donb@codesourcery.com>
9254 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9256 (explicit_fork_parent_follow): Deleted procedure.
9257 (explicit_fork_child_follow): Deleted procedure.
9258 (test_follow_fork): New procedure.
9259 (do_fork_tests): Replace calls to deleted procedures with
9260 calls to test_follow_fork and reset GDB for subsequent
9263 2014-06-17 Yao Qi <yao@codesourcery.com>
9265 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9268 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9270 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9271 Initialize ptr and S explicitly.
9272 (skip_type_update_when_not_use_rtti_test): Likewise.
9274 2014-06-16 Keith Seitz <keiths@redhat.com>
9277 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9278 the inferior is started.
9280 2014-06-16 Pedro Alves <palves@redhat.com>
9282 * gdb.base/break-main-file-remove-fail.c: New file.
9283 * gdb.base/break-main-file-remove-fail.exp: New file.
9284 * gdb.base/break-unload-file.exp: Use build_executable instead of
9285 prepare_for_testing.
9286 (test_break): New parameter "initial_load". Handle it.
9287 (top level): Add initial_load cmdline/file axis.
9289 2014-06-12 Tom Tromey <tromey@redhat.com>
9291 * gdb.base/completion.exp: Don't use directory name in test.
9293 2014-06-09 Gary Benson <gbenson@redhat.com>
9295 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9296 separate the always-available ANSI-standard signals from the
9297 signals that require checking.
9299 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9303 2014-06-07 Keith Seitz <keiths@redhat.com>
9307 * gdb.cp/var-tag.cc: New file.
9308 * gdb.cp/var-tag.exp: New file.
9309 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9310 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9311 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9312 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9314 2014-06-06 Doug Evans <xdje42@gmail.com>
9316 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9318 2014-06-06 Pedro Alves <palves@redhat.com>
9320 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9321 in target debug output instead of looking at RSP packets,
9322 disabling the test on any target that uses hardware stepping.
9325 2014-06-06 Pedro Alves <palves@redhat.com>
9327 * gdb.base/break-unload-file.exp: Fix typo.
9329 2014-06-06 Yao Qi <yao@codesourcery.com>
9331 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9332 from "jit_function" to "^jit_function".
9334 2014-06-06 Yao Qi <yao@codesourcery.com>
9336 * gdb.base/async.c (foo): Add one statement.
9337 * gdb.base/async.exp: Get the next instruction address and
9338 match the output of "nexti" by instruction address. Match
9339 the hex address in the output of "finish".
9341 2014-06-06 Gary Benson <gbenson@redhat.com>
9343 * gdb.base/call-signals.c: Remove preprocessor conditionals
9344 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9345 SIGSEGV and SIGTERM.
9346 * gdb.base/sigall.c: Likewise.
9347 * gdb.base/unwindonsignal.c: Likewise.
9348 * gdb.reverse/sigall-reverse.c: Likewise.
9350 2014-06-06 Yao Qi <yao@codesourcery.com>
9352 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9353 readable, skip the test.
9355 2014-06-06 Yao Qi <yao@codesourcery.com>
9357 * gdb.threads/staticthreads.c (thread_function): Move the line
9358 setting breakpoint on forward.
9359 * gdb.threads/staticthreads.exp: Update comments.
9361 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9363 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9364 "history-append! type error".
9366 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9368 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9369 erroneous dprintf expected input.
9371 2014-06-04 Doug Evans <xdje42@gmail.com>
9373 * gdb.guile/scm-generics.exp: Delete.
9375 2014-06-04 Doug Evans <xdje42@gmail.com>
9377 * gdb.guile/scm-breakpoint.exp: Update.
9378 Add tests for breakpoint registration.
9380 2014-06-04 Tom Tromey <tromey@redhat.com>
9382 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9384 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9385 inner_vla_struct, vla_union types. Initialize objects of those
9386 types and compute their sizes.
9388 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9389 Hui Zhu <hui@codesourcery.com>
9391 * gdb.base/fileio.exp: Add test for shell not available as well as
9393 * gdb.base/fileio.c (test_system): Check for shell twice.
9395 2014-06-04 Yao Qi <yao@codesourcery.com>
9397 * gdb.base/auto-connect-native-target.exp: Remove redundant
9398 space from the regexp pattern.
9400 2014-06-04 Yao Qi <yao@codesourcery.com>
9402 * gdb.base/default.exp: Replace "child" with "native" in
9405 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9407 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9408 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9409 * gdb.python/py-xmethods.py: Python script supporting the
9410 new testcase and tests.
9412 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9413 Pedro Alves <palves@redhat.com>
9415 PR breakpoints/17000
9416 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9417 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9419 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9421 * gdb.base/subst.exp: Add tests to verify partial path matching
9424 2014-06-03 Pedro Alves <palves@redhat.com>
9426 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9427 target that doesn't use software single-stepping.
9429 2014-06-03 Pedro Alves <palves@redhat.com>
9431 PR breakpoints/17000
9432 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9433 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9435 2014-06-02 Doug Evans <xdje42@gmail.com>
9437 * gdb.guile/scm-parameter.exp: New file.
9439 2014-06-02 Doug Evans <xdje42@gmail.com>
9441 * gdb.guile/scm-cmd.c: New file.
9442 * gdb.guile/scm-cmd.exp: New file.
9444 2014-06-02 Doug Evans <xdje42@gmail.com>
9446 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9447 pretty-printer lookup.
9448 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9449 (make-pp_s-printer): Call it.
9450 (make-pretty-printer-from-dict): New function.
9451 (lookup-pretty-printer-maker-from-dict): New function.
9452 (*pretty-printer*): Simplify.
9453 (make-objfile-pp_s-printer): New function.
9454 (install-objfile-pretty-printers!): New function.
9455 (make-progspace-pp_s-printer): New function.
9456 (install-progspace-pretty-printers!): New function.
9457 * gdb.guile/scm-progspace.c: New file.
9458 * gdb.guile/scm-progspace.exp: New file.
9460 2014-06-02 Pedro Alves <palves@redhat.com>
9462 * gdb.base/dprintf-bp-same-addr.c: New file.
9463 * gdb.base/dprintf-bp-same-addr.exp: New file.
9465 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9467 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9468 * gdb.arch/powerpc-power.s: Likewise.
9470 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9472 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9474 2014-06-01 Yao Qi <yao@codesourcery.com>
9476 * gdb.base/watchpoint.exp (test_watch_location): Check null
9477 pointer can be dereferenced. If not, do the test, otherwise
9480 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9482 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9484 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9486 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9488 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9489 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9490 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9491 * gdb.arch/amd64-invalid-stack-top.c: New file.
9492 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9494 2014-05-30 Pedro Alves <palves@redhat.com>
9496 PR breakpoints/17000
9497 * gdb.base/sss-bp-on-user-bp.c: New file.
9498 * gdb.base/sss-bp-on-user-bp.exp: New file.
9500 2014-05-30 David Blaikie <dblaikie@gmail.com>
9502 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9503 gnu_inline semantics via attribute.
9504 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9505 source explicitly specifies the required semantics.
9507 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9509 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9511 2014-05-29 Pedro Alves <palves@redhat.com>
9512 Tom Tromey <tromey@redhat.com>
9514 * gdb.base/async-shell.exp: Don't enable target-async.
9515 * gdb.base/async.exp
9516 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9518 (top level): Don't test with "target-async".
9519 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9520 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9521 * gdb.base/inferior-died.exp: Don't enable target-async.
9522 * gdb.base/interrupt-noterm.exp: Likewise.
9523 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9524 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9525 * gdb.mi/mi-nonstop.exp: Likewise.
9526 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9527 * gdb.mi/mi-nsintrall.exp: Likewise.
9528 * gdb.mi/mi-nsmoribund.exp: Likewise.
9529 * gdb.mi/mi-nsthrexec.exp: Likewise.
9530 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9531 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9532 * gdb.python/py-evsignal.exp: Don't enable target-async.
9533 * gdb.python/py-evthreads.exp: Likewise.
9534 * gdb.python/py-prompt.exp: Likewise.
9535 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9536 * gdb.server/solib-list.exp: Don't enable target-async.
9537 * gdb.threads/thread-specific-bp.exp: Likewise.
9538 * lib/mi-support.exp: Adjust to use mi-async.
9540 2014-05-29 Pedro Alves <palves@redhat.com>
9543 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9544 reason, even in sync mode.
9546 2014-05-29 Pedro Alves <palves@redhat.com>
9547 Hui Zhu <hui@codesourcery.com>
9550 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9551 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9552 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9553 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9555 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9557 * config/monitor.exp (gdb_target_monitor): Replace use of
9558 "set remotebaud" by "set serial baud".
9560 2014-05-26 Andy Wingo <wingo@igalia.com>
9562 * gdb.guile/scm-breakpoint.exp:
9563 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9564 properties instead of gdb-object-properties.
9566 2014-05-26 Yao Qi <yao@codesourcery.com>
9568 * gdb.server/no-thread-db.exp: Specify source file name
9569 explicitly when setting a breakpoint.
9571 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9573 * gdb.btrace/vdso.c: New.
9574 * gdb.btrace/vdso.exp: New.
9576 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9578 * gdb.base/gcore.exp (capture_command_output): Move ...
9579 * lib/gdb.exp (capture_command_output): ... here.
9581 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9583 * gdb.btrace/data.exp: Test memory access during btrace replay.
9585 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9587 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9589 2014-05-21 Pedro Alves <palves@redhat.com>
9592 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9593 (top level): Test that output related to execution commands is
9594 sent to the console with CLI commands, but not with MI commands.
9595 Test that breakpoint events are always mirrored to the console.
9596 Also expect the new source line to be output after a "next" in
9597 async mode too. Make it a pass/fail test.
9598 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9600 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9602 2014-05-21 Pedro Alves <palves@redhat.com>
9604 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9605 Use them to test variations of "list" after reaching a breakpoint.
9606 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9607 Test "list" with listsize 10 after reaching a breakpoint.
9608 * gdb.python/python.exp (decode_line current location line
9609 number): Adjust expected line number.
9611 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9613 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9614 behavior for $args, pass it directly to "run".
9616 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9618 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9621 2014-05-21 Pedro Alves <palves@redhat.com>
9623 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9624 auto-connect-native-target off".
9625 * gdb.base/auto-connect-native-target.c: New file.
9626 * gdb.base/auto-connect-native-target.exp: New file.
9628 2014-05-21 Pedro Alves <palves@redhat.com>
9630 * gdb.base/default.exp: Test "target native" instead of "target
9633 2014-05-21 Mark Wielaard <mjw@redhat.com>
9635 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9637 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9639 Fix TLS access for -static -pthread.
9640 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9641 <HAVE_TLS> (thread_function, main): Initialize it.
9642 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9644 <$have_tls != "">: Check TLSVAR.
9646 2014-05-21 Pedro Alves <palves@redhat.com>
9648 * gdb.base/dcache-line-read-error.c: New.
9649 * gdb.base/dcache-line-read-error.exp: New.
9651 2014-05-20 Pedro Alves <palves@redhat.com>
9653 * gdb.base/compare-sections.c: New file.
9654 * gdb.base/compare-sections.exp: New file.
9656 2014-05-20 Pedro Alves <palves@redhat.com>
9658 * gdb.base/break-idempotent.c: New file.
9659 * gdb.base/break-idempotent.exp: New file.
9661 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9663 * gdb.btrace/nohist.exp: New.
9665 2014-05-20 Yao Qi <yao@codesourcery.com>
9667 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9668 gdb.reverse directory and gdb_reverse_timeout exists in board
9670 * README: Document gdb_reverse_timeout.
9672 2014-05-20 Yao Qi <yao@codesourcery.com>
9674 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9675 'test_file_name'. Treat args as a string instead of a list.
9676 (gdb_init): Rename argument 'args' by 'test_file_name'.
9678 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9680 * gdb.arch/powerpc-power.exp: New file.
9681 * gdb.arch/powerpc-power.s: New file.
9683 2014-05-16 Doug Evans <dje@google.com>
9685 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9686 * gdb.base/completion.exp: Check that all expected files exist
9687 before doing file completion.
9689 2014-05-16 Doug Evans <dje@google.com>
9691 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9693 (do_syscall_tests_without_xml): Update.
9695 2014-05-16 Pedro Alves <palves@redhat.com>
9697 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9698 instead of "unknown output after running".
9700 2014-05-16 Yao Qi <yao@codesourcery.com>
9702 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9703 file1.txt from host at the end.
9704 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9706 2014-05-15 Doug Evans <dje@google.com>
9708 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9709 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9710 loading file. Add test for TU lookup.
9712 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9714 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9715 calling "-exec-arguments" or "set args" before running the
9718 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9720 * lib/mi-support.exp (mi_expect_stop): Expect message for
9721 inferiors that exit with non-zero exit code.
9723 2014-05-14 Yao Qi <yao@codesourcery.com>
9725 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9726 match absolute path on remote host.
9727 (test_file_list_exec_source_files): Remove "/" from the
9730 2014-05-14 Yao Qi <yao@codesourcery.com>
9732 * boards/local-remote-host-notty.exp (${board}_file): New
9735 2014-05-07 Kyle McMartin <kyle@redhat.com>
9737 Pushed by Joel Brobecker <brobecker@adacore.com>.
9738 * gdb.arch/aarch64-atomic-inst.c: New file.
9739 * gdb.arch/aarch64-atomic-inst.exp: New file.
9741 2014-05-07 Yao Qi <yao@codesourcery.com>
9743 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9744 in current context" too.
9746 2014-05-05 Keith Seitz <keiths@redhat.com>
9748 * gdb.linespec/ls-dollar.exp: Add test for linespec
9749 file:convenience_variable.
9751 2014-05-05 Yao Qi <yao@codesourcery.com>
9753 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9754 traceframes into tfile and ctf trace files. Read data from
9755 trace file and test collected data.
9756 (gdb_collect_locals_test): Likewise.
9757 (gdb_unavailable_registers_test): Likewise.
9758 (gdb_unavailable_floats): Likewise.
9759 (gdb_collect_globals_test): Likewise.
9760 (top-level): Append "ctf" to trace_file_targets if GDB
9763 2014-05-05 Yao Qi <yao@codesourcery.com>
9765 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9767 (gdb_collect_args_test_1): ... it. New proc.
9768 (gdb_collect_locals_test): Move some code to ...
9769 (gdb_collect_locals_test_1): ... it. New proc.
9770 (gdb_unavailable_registers_test): Move some code to ...
9771 (gdb_unavailable_registers_test_1): ... it. New proc.
9772 (gdb_unavailable_floats): Move some code to ...
9773 (gdb_unavailable_floats_1): ... it. New proc.
9775 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9777 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9778 probes to test for bitness recognition.
9779 * gdb.arch/amd64-stap-optional-prefix.exp
9780 (test_probe_value_without_reg): New procedure.
9781 Add code to test for different kinds of bitness.
9783 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9785 PR breakpoints/16889
9786 * gdb.arch/amd64-stap-optional-prefix.S: New file.
9787 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9789 2014-05-01 Pedro Alves <palves@redhat.com>
9791 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
9792 gdb_file_cmd if no file is specified.
9793 * boards/native-extended-gdbserver.exp (gdb_load): Use the
9794 last_loaded_file to set the remote exec-file.
9796 2014-05-01 Pedro Alves <palves@redhat.com>
9798 * boards/local-remote-host.exp: New file.
9800 2014-05-01 Pedro Alves <palves@redhat.com>
9802 * boards/local-remote-host.exp: Rename to ...
9803 * boards/local-remote-host-notty.exp: ... this.
9805 2014-04-28 Joel Brobecker <brobecker@adacore.com>
9807 * gdb.ada/dyn_arrayidx: New testcase.
9809 2014-04-26 Yao Qi <yao@codesourcery.com>
9811 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
9812 and compute the length of function main. Save it in
9814 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
9815 (top-level): Use gdb_compile to compile objects into
9816 executable and restart GDB. Remove invocation to
9817 prepare_for_testing.
9819 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
9820 Pedro Alves <palves@redhat.com>
9823 * gdb.multi/multi-attach.c: New file.
9824 * gdb.multi/multi-attach.exp: New file.
9826 2014-04-25 Pedro Alves <palves@redhat.com>
9828 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
9830 (top level): Test that "set remote conditional-breakpoints-packet
9831 off" works as intended.
9832 * gdb.base/dprintf.exp: Test that "set remote
9833 breakpoint-commands-packet off" works as intended.
9834 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
9836 (top level): Call it.
9837 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
9838 remote fast-tracepoints-packet off" works as intended.
9839 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
9840 * lib/gdb.exp (gdb_is_target_remote): ... here.
9842 2014-04-24 David Blaikie <dblaikie@gmail.com>
9844 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
9845 ensure clang would not discard them.
9846 * gdb.base/gdbvars.c: Ditto.
9847 * gdb.base/memattr.c: Ditto.
9848 * gdb.base/whatis.c: Ditto.
9849 * gdb.python/py-prettyprint.c: Ditto.
9850 * gdb.trace/actions.c: Ditto.
9851 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9852 ensure clang would not discard it.
9854 2014-04-24 David Blaikie <dblaikie@gmail.com>
9856 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9857 clang to emit the full definition of type required by the test
9858 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9860 2014-04-24 David Blaikie <dblaikie@gmail.com>
9862 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9863 coax Clang into emitting the definition of the type.
9864 * gdb.cp/pr10728-x.h (y): Ditto.
9865 * gdb.cp/pr10728-y.cc (y): Ditto.
9867 2014-04-24 David Blaikie <dblaikie@gmail.com>
9869 * gdb.base/label.exp: XFAIL label related tests under Clang.
9870 * gdb.cp/cplabel.exp: Ditto.
9871 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9872 under Clang those using labels.
9874 2014-04-25 Yao Qi <yao@codesourcery.com>
9876 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9878 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9879 partial_label and double_label.
9881 2014-04-24 David Blaikie <dblaikie@gmail.com>
9883 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9885 2014-04-24 David Blaikie <dblaikie@gmail.com>
9887 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9888 of the function to work across GCC and Clang.
9889 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9890 pointer types (const void ** const V void **).
9892 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9893 Walfred Tedeschi <walfred.tedeschi@intel.com>
9895 * Makefile.in (EXECUTABLES): Added i386-avx512.
9896 * gdb.arch/i386-avx512.c: New file.
9897 * gdb.arch/i386-avx512.exp: Likewise.
9899 2014-04-23 Keith Seitz <keiths@redhat.com>
9901 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9902 (mi_make_breakpoint_table): New procedure.
9903 (mi_create_breakpoint): Use mi_make_breakpoint
9904 and return the result.
9905 (mi_make_breakpoint): New procedure.
9906 (mi_build_kv_pairs): New procedure.
9908 * gdb.mi/mi-break.exp: Remove unused globals,
9909 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9910 All callers updated.
9911 * gdb.mi/mi-dprintf.exp: Use variable to track command
9913 Update all callers of mi_create_breakpoint and use
9914 mi_make_breakpoint_table.
9915 Remove any unused global variables.
9916 * gdb.mi/mi-nonstop.exp: Likewise.
9917 * gdb.mi/mi-nsintrall.exp: Likewise.
9918 * gdb.mi/mi-nsmoribund.exp: Likewise.
9919 * gdb.mi/mi-nsthrexec.exp: Likewise.
9920 * gdb.mi/mi-reverse.exp: Likewise.
9921 * gdb.mi/mi-simplerun.exp: Likewise.
9922 * gdb.mi/mi-stepn.exp: Likewise.
9923 * gdb.mi/mi-syn-frame.exp: Likewise.
9924 * gdb.mi/mi-until.exp: Likewise.
9925 * gdb.mi/mi-var-cp.exp: Likewise.
9926 * gdb.mi/mi-var-display.exp: Likewise.
9927 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9928 * gdb.mi/mi2-var-child.exp: Likewise.
9929 * gdb.mi/mi-vla-c99.exp: Likewise.
9930 * lib/mi-support.exp: Likewise.
9932 From Ian Lance Taylor <iant@cygnus.com>:
9933 * lib/gdb.exp (parse_args): New procedure.
9935 2014-04-23 Pedro Alves <palves@redhat.com>
9937 * gdb.base/break-unload-file.c: New file.
9938 * gdb.base/break-unload-file.exp: New file.
9939 * gdb.base/sym-file-lib.c (baz): New function.
9940 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9942 (load): Store the segment's mapped size.
9943 (unload): New function.
9944 (unload_shlib): New function.
9945 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9946 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9947 set a breakpoint at baz, and call it.
9948 * gdb.base/sym-file.exp: New tests for stale breakpoint
9951 2014-04-23 Pedro Alves <palves@redhat.com>
9953 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9954 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9955 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9956 * gdb.base/hbreak-unmapped.c: New file.
9957 * gdb.base/hbreak-unmapped.exp: New file.
9958 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9959 * lib/gdb.exp (gdb_is_target_remote): ... here.
9961 2014-04-22 Pedro Alves <palves@redhat.com>
9963 * gdb.base/consecutive-step-over.c: New file.
9964 * gdb.base/consecutive-step-over.exp: New file.
9966 2014-04-22 Pedro Alves <palves@redhat.com>
9968 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9969 instead of send_gdb/gdb_expect.
9971 2014-04-22 Yao Qi <yao@codesourcery.com>
9973 * lib/trace-support.exp (generate_tracefile): New procedure.
9974 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9976 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9977 if generate_tracefile returns 1.
9979 2014-04-18 Tom Tromey <palves@redhat.com>
9980 Pedro alves <tromey@redhat.com>
9983 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9984 with a backtrace limit.
9985 * gdb.python/py-frame-inline.exp: Test running to an inline
9986 function with a backtrace limit, and printing the newest frame.
9987 * gdb.python/py-frame-inline.c (main): Call f.
9989 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9991 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9993 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9995 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9996 Drop prefix from unsupported source file path.
9998 2014-04-17 Yao Qi <yao@codesourcery.com>
10000 * lib/gdb.exp (with_target_charset): New proc.
10001 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10002 with_target_charset.
10003 (test_print_strings): Likewise.
10004 (test_repeat_bytes): Likewise.
10005 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10008 2014-04-16 Keith Seitz <keiths@redhat.com>
10011 * gdb.dwarf2/corrupt.c: New file.
10012 * gdb.dwarf2/corrupt.exp: New file.
10014 2014-04-16 Keith Seitz <keiths@redhat.com>
10017 * gdb.cp/namelessclass.cc: New file.
10018 * gdb.cp/namelessclass.exp: New file.
10019 * gdb.cp/namelessclass.S: New file.
10021 2014-04-16 Doug Evans <dje@google.com>
10023 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10025 (gdbserver_default_get_comm_port): New function.
10026 (gdbserver_start): Check if board file provided
10027 "gdbserver,get_comm_port" and use it if so.
10028 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10029 (gdb,socketport): Set to "stdio".
10030 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10031 (stdio_gdbserver_template): Delete.
10032 (${board}_get_remote_address): Update.
10033 (${board}_build_remote_cmd): Delete.
10034 (${board}_get_comm_port): New function.
10035 (${board}_spawn): Update.
10036 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10038 (${board}_get_remote_address): Update.
10039 (${board}_get_comm_port): New function.
10041 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10043 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10044 appearing in any order.
10046 2014-04-15 Doug Evans <dje@google.com>
10048 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10049 uninitialized value of "description".
10051 2014-04-15 Keith Seitz <keiths@redhat.com>
10053 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10054 Remove unused globals.
10055 (test_running_the_program): Likewise.
10056 (test_controlled_execution): Likewise.
10057 (test_controlling_breakpoints): Likewise.
10058 (test_program_termination): Likewise.
10060 2014-04-15 Keith Seitz <keiths@redhat.com>
10062 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10064 (test_rbreak_creation_and_listing): Likewise.
10065 (test_ignore_count): Likewise.
10066 (test_error): Likewise.
10068 2014-04-15 Pedro Alves <palves@redhat.com>
10070 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10071 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10073 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10074 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10075 to sym-file-loader.c.
10076 (struct library): Forward declare.
10077 (load_shlib, lookup_function): Change prototypes.
10078 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10079 (translate_offset): Remove declarations.
10080 (get_text_addr): New declaration.
10081 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10082 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10084 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10085 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10086 here from sym-file-loader.h.
10087 (struct library): New structure.
10088 (load_shlib, lookup_function): Change prototypes and adjust to
10089 work with a struct library.
10090 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10091 (translate_offset): Make static.
10092 (get_text_addr): New function.
10093 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10095 2014-04-15 Pedro Alves <palves@redhat.com>
10097 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10099 2014-04-15 Pedro Alves <palves@redhat.com>
10101 * gdb.base/sym-file-loader.c: Include <limits.h>.
10102 (SELF_LINK): New define.
10103 (get_origin): New function.
10104 (load_shlib): Use it.
10105 * gdb.base/sym-file.exp: Don't early return if the target is
10106 remote. Use runto_main, and issue fail is that fails. Use
10108 (shlib_name): Delete.
10109 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10111 2014-04-15 Pedro Alves <palves@redhat.com>
10113 * gdb.base/sym-file.exp: Remove regex characters from test
10114 message. Don't refer to breakpoint numbers in test messages.
10116 2014-04-14 Keith Seitz <keiths@redhat.com>
10119 * gdb.cp/var-tag.cc: New file.
10120 * gdb.cp/var-tag.exp: New file.
10121 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10122 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10123 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10124 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10126 2014-04-14 Tom Tromey <tromey@redhat.com>
10128 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10129 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10131 * gdb.cp/enum-class.exp: New file.
10132 * gdb.cp/enum-class.cc: New file.
10134 2014-04-14 Tom Tromey <tromey@redhat.com>
10136 * gdb.dwarf2/enum-type.exp: New file.
10138 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10140 * gdb.mi/mi-vla-c99.exp: New file.
10141 * gdb.mi/vla.c: New file.
10143 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10145 * gdb.base/vla-datatypes.c: New file.
10146 * gdb.base/vla-datatypes.exp: New file.
10148 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10150 * gdb.base/vla-ptr.c: New file.
10151 * gdb.base/vla-ptr.exp: New file.
10153 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10155 * gdb.dwarf2/count.exp: New file.
10157 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10159 * gdb.base/vla-sideeffect.c: New file.
10160 * gdb.base/vla-sideeffect.exp: New file.
10162 2014-04-14 David Blaikie <dblaikie@gmail.com>
10164 * gdb.mi/non-stop.c: Add return value for non-void function return
10166 * gdb.threads/staticthreads.c: Ditto.
10168 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10169 Doug Evans <xdje42@gmail.com>
10171 * gdb.guile/scm-value.c: Improve test case.
10172 * gdb.guile/scm-value.exp: Add new test.
10174 2014-04-11 David Blaikie <dblaikie@gmail.com>
10176 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10177 override Clang's default.
10179 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10181 Revert the following changes (regressions):
10183 * gdb.base/vla-sideeffect.c: New file.
10184 * gdb.base/vla-sideeffect.exp: New file.
10186 * gdb.dwarf2/count.exp: New file.
10188 * gdb.base/vla-multi.c: New file.
10189 * gdb.base/vla-multi.exp: New file.
10191 * gdb.base/vla-ptr.c: New file.
10192 * gdb.base/vla-ptr.exp: New file.
10194 * gdb.base/vla-datatypes.c: New file.
10195 * gdb.base/vla-datatypes.exp: New file.
10197 * gdb.mi/mi-vla-c99.exp: New file.
10198 * gdb.mi/vla.c: New file.
10200 2014-04-11 Keith Seitz <keiths@redhat.com>
10203 * gdb.cp/cpsizeof.exp: New file.
10204 * gdb.cp/cpsizeof.cc: New file.
10206 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10208 * gdb.mi/mi-vla-c99.exp: New file.
10209 * gdb.mi/vla.c: New file.
10211 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10213 * gdb.base/vla-datatypes.c: New file.
10214 * gdb.base/vla-datatypes.exp: New file.
10216 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10218 * gdb.base/vla-ptr.c: New file.
10219 * gdb.base/vla-ptr.exp: New file.
10221 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10223 * gdb.base/vla-multi.c: New file.
10224 * gdb.base/vla-multi.exp: New file.
10226 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10228 * gdb.dwarf2/count.exp: New file.
10230 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10232 * gdb.base/vla-sideeffect.c: New file.
10233 * gdb.base/vla-sideeffect.exp: New file.
10235 2014-04-11 Yao Qi <yao@codesourcery.com>
10237 * gdb.base/completion.exp: Check file exists before running tests
10238 on file completion.
10240 2014-04-10 Pedro Alves <palves@redhat.com>
10242 * gdb.base/cond-eval-mode.c: New file.
10243 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10244 prepare_for_testing to build the new file. Check result of
10246 (test_break, test_watch): New procedures.
10247 (top level): Use them.
10249 2014-04-08 Pierre Muller <muller@sourceware.org>
10251 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10252 Ctrl-V use for mingw hosts.
10254 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10256 * gdb.python/py-value.c: Improve test case.
10257 * gdb.python/py-value.exp: Add new test.
10259 2014-04-07 David Blaikie <dblaikie@gmail.com>
10261 * lib/compiler.c: Identify the clang compiler.
10262 * lib/compiler.cc: Ditto.
10264 2014-04-03 Yao Qi <yao@codesourcery.com>
10266 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10268 2014-04-01 Anton Blanchard <anton@samba.org>
10270 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10273 2014-04-01 Anton Blanchard <anton@samba.org>
10275 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10276 prepare_for_testing.
10278 2014-04-01 Anton Blanchard <anton@samba.org>
10280 * gdb.arch/ppc64-atomic-inst.c: Remove.
10281 * gdb.arch/ppc64-atomic-inst.S: New file.
10282 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10284 2014-03-31 Doug Evans <dje@google.com>
10286 * gdb.base/print-symbol-loading-lib.c: New file.
10287 * gdb.base/print-symbol-loading-main.c: New file.
10288 * gdb.base/print-symbol-loading.exp: New file.
10290 2014-03-31 Yao Qi <yao@codesourcery.com>
10292 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10294 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10296 * gdb.ada/mi_dyn_arr: New testcase.
10298 2014-03-27 Doug Evans <dje@google.com>
10300 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10302 2014-03-27 Yao Qi <yao@codesourcery.com>
10304 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10305 if target is nios2-*-*.
10307 2014-03-26 Yao Qi <yao@codesourcery.com>
10309 * lib/gdb.exp (readline_is_used): New proc.
10310 * gdb.base/completion.exp: Move tests on command complete up.
10311 Skip the rest of tests if readline is not used.
10312 * gdb.ada/complete.exp: Skp the test if readline is not
10314 * gdb.base/filesym.exp: Likewise.
10315 * gdb.base/macscp.exp: Likewise.
10316 * gdb.base/readline-ask.exp: Likewise.
10317 * gdb.base/readline.exp: Likewise.
10318 * gdb.python/py-cmd.exp: Likewise.
10319 * gdb.trace/tfile.exp: Likewise.
10321 2014-03-26 Yao Qi <yao@codesourcery.com>
10323 * gdb.base/macscp.exp: Fix code format issues.
10325 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10327 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10328 * gdb.asm/powerpc64le.inc: New file.
10330 2014-03-25 Pedro Alves <palves@redhat.com>
10331 Doug Evans <dje@google.com>
10333 * gdb.base/source-execution.c: New file.
10334 * gdb.base/source-execution.exp: New file.
10335 * gdb.base/source-execution.gdb: New file.
10337 2014-03-24 Doug Evans <dje@google.com>
10339 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10342 2014-03-24 Hui Zhu <hui@codesourcery.com>
10343 Pedro Alves <palves@redhat.com>
10345 PR breakpoints/16101
10346 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10347 test pass/fail messages. Detect missing support for dprintf when
10348 breakpoints are actually inserted.
10349 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10350 breakpoints are actually inserted.
10351 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10354 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10356 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10358 2014-03-22 Doug Evans <xdje42@gmail.com>
10360 * gdb.python/python.exp (python not supported): Verify multi-line
10361 python command issues an error.
10362 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10363 guile command issues an error.
10365 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10367 * gdb.threads/thread-specific.exp: Handle the lack of usable
10368 $this_breakpoint and $this_thread.
10370 2014-03-21 Hui Zhu <hui@codesourcery.com>
10372 * gdb.base/attach.exp (do_command_attach_tests): New.
10374 2014-03-20 Tom Tromey <tromey@redhat.com>
10375 Pedro Alves <palves@redhat.com>
10378 * gdb.base/condbreak-call-false.c: New file.
10379 * gdb.base/condbreak-call-false.exp: New file.
10381 2014-03-20 Pedro Alves <palves@redhat.com>
10383 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10385 (block_signals, unblock_signals): Delete.
10386 (child_function_2, main): Remove references to deleted variable
10389 2014-03-20 Pedro Alves <palves@redhat.com>
10391 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10392 Use pthread_kill to signal thread 2.
10393 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10394 Adjust to make the test send itself a signal rather than using the
10395 host's "kill" command.
10397 2014-03-20 Pedro Alves <palves@redhat.com>
10399 * gdb.threads/multiple-step-overs.c: New file.
10400 * gdb.threads/multiple-step-overs.exp: New file.
10401 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10402 Adjust expected infrun debug output.
10404 2014-03-20 Pedro Alves <palves@redhat.com>
10406 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10407 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10409 2014-03-20 Pedro Alves <palves@redhat.com>
10411 PR breakpoints/7143
10412 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10413 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10414 of gdb_test_multiple.
10415 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10416 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10418 2014-03-20 Pedro Alves <palves@redhat.com>
10420 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10421 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10423 2014-03-19 Pedro Alves <palves@redhat.com>
10425 * gdb.base/async.exp: Remove early return.
10427 2014-03-19 Pedro Alves <palves@redhat.com>
10429 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10431 2014-03-19 Pedro Alves <palves@redhat.com>
10433 * gdb.base/async.exp (test_background): Expect \r\n after
10434 "completed." in the fail pattern.
10436 2014-03-19 Pedro Alves <palves@redhat.com>
10438 * gdb.base/async.exp (test_background): New procedure.
10439 Use it for all background execution command tests.
10441 2014-03-19 Pedro Alves <palves@redhat.com>
10443 * gdb.base/async.exp: Use prepare_for_testing.
10445 2014-03-19 Pedro Alves <palves@redhat.com>
10447 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10450 2014-03-19 Pedro Alves <palves@redhat.com>
10452 * gdb.base/async.c (main): Add "jump here" and "until here" line
10454 * gdb.base/async.exp (jump_here): New global.
10455 (jump& test): Use it.
10456 (until_here): New global.
10457 (until& test): Use it.
10459 2014-03-19 Pedro Alves <palves@redhat.com>
10461 * gdb.base/async.exp: Don't frob gdb_protocol.
10463 2014-03-18 Doug Evans <xdje42@gmail.com>
10465 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10466 Fix spelling of exec-done-display.
10468 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10471 * gdb.base/gdb-sigterm.c: New file.
10472 * gdb.base/gdb-sigterm.exp: New file.
10474 2014-03-18 Pedro Alves <palves@redhat.com>
10477 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10478 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10481 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10483 * gdb.ada/pckd_arr_ren: New testcase.
10485 2014-03-13 Doug Evans <xdje42@gmail.com>
10488 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10489 collect after discarding symbols.
10491 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10492 Doug Evans <xdje42@gmail.com>
10494 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10495 to history survives a gc.
10497 2014-03-13 Pedro Alves <palves@redhat.com>
10499 * gdb.base/default.exp: Don't test "target procfs".
10501 2014-03-13 Pedro Alves <palves@redhat.com>
10503 * gdb.base/default.exp: Update "target child" and "target procfs"
10504 tests to not expect "Unix".
10506 2014-03-12 Tom Tromey <tromey@redhat.com>
10508 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10509 New procs. Add target-async tests.
10510 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10511 Add target-async tests.
10513 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10515 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10516 'func_start' and 'func_end' for the beginning and end of the
10517 function code, respectively.
10518 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10519 'func_end' instead of 'func' and 'main'.
10521 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10523 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10524 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10525 generate the debug info assembler source.
10527 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10529 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10530 * gdb.dwarf2/arr-subrange.exp: Likewise.
10531 * gdb.dwarf2/dwz.exp: Likewise.
10532 * gdb.dwarf2/method-ptr.exp: Likewise.
10533 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10534 * gdb.dwarf2/subrange.exp: Likewise.
10535 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10536 * gdb.dwarf2/implptrpiece.exp: Likewise.
10537 * gdb.dwarf2/nostaticblock.exp: Likewise.
10539 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10541 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10542 directory to absolute path name arguments.
10544 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10546 * gdb.ada/tagged_access: New testcase.
10548 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10550 * gdb.btrace/data.exp: Update expected output.
10552 2014-03-06 Yao Qi <yao@codesourcery.com>
10554 * gdb.trace/pr16508.exp: New file.
10556 2014-03-05 Pedro Alves <palves@redhat.com>
10559 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10561 (top level): Adjust to use it. Add tests that exercise breakpoint
10562 interaction with the code-cache.
10564 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10566 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10567 test for 'history-append!'.
10569 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10571 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10572 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10573 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10574 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10575 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10576 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10578 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10580 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10581 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10582 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10584 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10586 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10588 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10590 * gdb.dwarf2/arr-stride.c: New file.
10591 * gdb.dwarf2/arr-stride.exp: New file.
10593 2014-02-26 Pedro Alves <palves@redhat.com>
10595 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10596 that won't ever trigger. Make sure that GDB reports the correct
10597 breakpoint that caused the stop.
10599 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10602 * gdb.base/auto-load-script: New file.
10603 * gdb.base/auto-load.c: New file.
10604 * gdb.base/auto-load.exp: New file.
10607 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10609 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10611 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10612 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10614 2014-02-24 Doug Evans <dje@google.com>
10616 * lib/gdb.exp (run_on_host): Log error output if program fails.
10618 2014-02-21 Pedro Alves <palves@redhat.com>
10620 * gdb.threads/step-after-sr-lock.c: Rename to ...
10621 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10622 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10623 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10626 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10629 * gdb.arch/amd64-stap-special-operands.exp: New file.
10630 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10631 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10632 * gdb.arch/amd64-stap-triplet.S: Likewise.
10633 * gdb.arch/amd64-stap-triplet.c: Likewise.
10635 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10637 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10638 in .section pseudo-op.
10640 2014-02-20 lin zuojian <manjian2006@gmail.com>
10641 Joel Brobecker <brobecker@adacore.com>
10642 Doug Evans <xdje42@gmail.com>
10645 * gdb.dwarf2/dw2-icycle.S: New file.
10646 * gdb.dwarf2/dw2-icycle.c: New file.
10647 * gdb.dwarf2/dw2-icycle.exp: New file.
10649 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10651 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10652 operations on gdb.Value objects.
10653 * gdb.python/py-value-cc.exp: Add new test to test operations on
10656 2014-02-18 Doug Evans <dje@google.com>
10658 * Makefile.in (TESTS): New variable.
10659 (expanded_tests, expanded_tests_or_none): New variables
10660 (check-single): Pass $(expanded_tests_or_none) to runtest.
10661 (check-parallel): Only run tests in $(TESTS) if non-empty.
10662 (check/no-matching-tests-found): New rule.
10663 * README: Document TESTS makefile variable.
10665 2014-02-18 Doug Evans <dje@google.com>
10667 * Makefile.in (check-parallel): rm -rf outputs temp.
10669 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10671 Fix "ERROR: no fileid for" in the testsuite.
10672 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10674 2014-02-12 Doug Evans <dje@google.com>
10676 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10677 (MISCELLANEOUS): New variable.
10678 (clean): rm -rf $(MISCELLANEOUS).
10679 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10680 dwp live in the same directory as symlinks, with each symlink pointed
10681 to a differently named file in a different directory.
10683 2014-02-11 Doug Evans <dje@google.com>
10685 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10686 of Tcl file commands.
10688 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10690 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10691 "kill -SIGUSR1 -1".
10693 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10695 * gdb.ada/tick_length_array_enum_idx: New testcase.
10697 2014-02-10 Doug Evans <xdje42@gmail.com>
10699 * configure.ac (AC_OUTPUT): Add gdb.guile.
10700 * configure: Regenerate.
10701 * lib/gdb-guile.exp: New file.
10702 * lib/gdb.exp (get_target_charset): New function.
10703 * gdb.base/help.exp: Update expected output from "apropos apropos".
10704 * gdb.guile/Makefile.in: New file.
10705 * gdb.guile/guile.exp: New file.
10706 * gdb.guile/scm-arch.c: New file.
10707 * gdb.guile/scm-arch.exp: New file.
10708 * gdb.guile/scm-block.c: New file.
10709 * gdb.guile/scm-block.exp: New file.
10710 * gdb.guile/scm-breakpoint.c: New file.
10711 * gdb.guile/scm-breakpoint.exp: New file.
10712 * gdb.guile/scm-disasm.c: New file.
10713 * gdb.guile/scm-disasm.exp: New file.
10714 * gdb.guile/scm-equal.c: New file.
10715 * gdb.guile/scm-equal.exp: New file.
10716 * gdb.guile/scm-error.exp: New file.
10717 * gdb.guile/scm-error.scm: New file.
10718 * gdb.guile/scm-frame-args.c: New file.
10719 * gdb.guile/scm-frame-args.exp: New file.
10720 * gdb.guile/scm-frame-args.scm: New file.
10721 * gdb.guile/scm-frame-inline.c: New file.
10722 * gdb.guile/scm-frame-inline.exp: New file.
10723 * gdb.guile/scm-frame.c: New file.
10724 * gdb.guile/scm-frame.exp: New file.
10725 * gdb.guile/scm-generics.exp: New file.
10726 * gdb.guile/scm-gsmob.exp: New file.
10727 * gdb.guile/scm-iterator.c: New file.
10728 * gdb.guile/scm-iterator.exp: New file.
10729 * gdb.guile/scm-math.c: New file.
10730 * gdb.guile/scm-math.exp: New file.
10731 * gdb.guile/scm-objfile-script-gdb.in: New file.
10732 * gdb.guile/scm-objfile-script.c: New file.
10733 * gdb.guile/scm-objfile-script.exp: New file.
10734 * gdb.guile/scm-objfile.c: New file.
10735 * gdb.guile/scm-objfile.exp: New file.
10736 * gdb.guile/scm-ports.exp: New file.
10737 * gdb.guile/scm-pretty-print.c: New file.
10738 * gdb.guile/scm-pretty-print.exp: New file.
10739 * gdb.guile/scm-pretty-print.scm: New file.
10740 * gdb.guile/scm-section-script.c: New file.
10741 * gdb.guile/scm-section-script.exp: New file.
10742 * gdb.guile/scm-section-script.scm: New file.
10743 * gdb.guile/scm-symbol.c: New file.
10744 * gdb.guile/scm-symbol.exp: New file.
10745 * gdb.guile/scm-symtab-2.c: New file.
10746 * gdb.guile/scm-symtab.c: New file.
10747 * gdb.guile/scm-symtab.exp: New file.
10748 * gdb.guile/scm-type.c: New file.
10749 * gdb.guile/scm-type.exp: New file.
10750 * gdb.guile/scm-value-cc.cc: New file.
10751 * gdb.guile/scm-value-cc.exp: New file.
10752 * gdb.guile/scm-value.c: New file.
10753 * gdb.guile/scm-value.exp: New file.
10754 * gdb.guile/source2.scm: New file.
10755 * gdb.guile/types-module.cc: New file.
10756 * gdb.guile/types-module.exp: New file.
10758 2014-02-10 Yao Qi <yao@codesourcery.com>
10761 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10762 * configure: Regenerated.
10763 * Makefile.in: New file.
10765 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10767 * gdb.python/py-framefilter.exp: Fix typo.
10769 2014-02-08 Yao Qi <yao@codesourcery.com>
10771 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10772 that no =breakpoint-modified is emitted when breakpoints are
10773 modified through MI commands.
10775 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10776 Pedro Alves <palves@redhat.com>
10778 * gdb.threads/step-after-sr-lock.c: New file.
10779 * gdb.threads/step-after-sr-lock.exp: New file.
10781 2014-02-07 Pedro Alves <palves@redhat.com>
10783 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10785 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10787 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
10788 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
10790 2014-02-06 Doug Evans <xdje42@gmail.com>
10792 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
10795 * gdb.gdb/python-interrupts.exp: New file.
10797 2014-02-05 Yao Qi <yao@codesourcery.com>
10799 * gdb.trace/report.exp (use_collected_data): Test the output
10800 of "info threads" and "info inferiors".
10802 2014-02-05 Yao Qi <yao@codesourcery.com>
10806 2013-05-24 Yao Qi <yao@codesourcery.com>
10808 * gdb.trace/tfile.exp: Test inferior and thread.
10810 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10812 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
10814 * gdb.base/step-bt.c: Call hello via function pointer to make
10815 sure its first instruction is executed on powerpc64le-linux.
10817 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10819 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
10821 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10823 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
10824 of the test patterns for use on little-endian systems.
10826 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10828 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
10829 (decimal_vector): Fix for little-endian.
10831 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10833 * gdb.arch/sparc-sysstep.exp: New file.
10834 * gdb.arch/sparc-sysstep.c: Likewise.
10836 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
10838 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10840 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
10842 2014-01-23 Tom Tromey <tromey@redhat.com>
10844 * gdb.ada/array_char_idx: New testcase.
10846 2014-01-23 Tom Tromey <tromey@redhat.com>
10849 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10850 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10853 2014-01-23 Tom Tromey <tromey@redhat.com>
10856 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10857 string from an inferior frame.
10858 * gdb.python/py-framefilter-mi.exp: Update.
10860 2014-01-22 Doug Evans <dje@google.com>
10862 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10864 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10866 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10868 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10870 * gdb.trace/entry-values.exp: Remove excess space character from
10871 regex patterns. Handle s390 call instruction.
10873 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10875 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10876 define "*_start" label. Make "name" static.
10877 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10878 ${name} by references to ${name}_start.
10880 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10882 * gdb.base/info-macros.exp: Remove "debug" from the compile
10885 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10887 * gdb.dlang/demangle.exp: New file.
10889 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10891 * gdb.dlang/primitive-types.exp: New file.
10893 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10895 * configure.ac: Create gdb.dlang/Makefile.
10896 * configure: Regenerate.
10897 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10898 * gdb.dlang/Makefile.in: New file.
10899 * lib/d-support.exp: New file.
10900 * lib/gdb.exp (skip_d_tests): New proc.
10902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10904 * gdb.btrace/delta.exp: Check reverse stepi.
10905 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10906 * gdb.btrace/finish.exp: New.
10907 * gdb.btrace/next.exp: New.
10908 * gdb.btrace/nexti.exp: New.
10909 * gdb.btrace/record_goto.c: Add comments.
10910 * gdb.btrace/step.exp: New.
10911 * gdb.btrace/stepi.exp: New.
10912 * gdb.btrace/multi-thread-step.c: New.
10913 * gdb.btrace/multi-thread-step.exp: New.
10914 * gdb.btrace/rn-dl-bind.c: New.
10915 * gdb.btrace/rn-dl-bind.exp: New.
10916 * gdb.btrace/data.c: New.
10917 * gdb.btrace/data.exp: New.
10918 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10920 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10922 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10923 * gdb.btrace/exception.exp: Update.
10924 * gdb.btrace/instruction_history.exp: Update.
10925 * gdb.btrace/record_goto.exp: Update.
10926 * gdb.btrace/tailcall.exp: Update.
10927 * gdb.btrace/unknown_functions.exp: Update.
10928 * gdb.btrace/delta.exp: New.
10930 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10932 * gdb.btrace/record_goto.exp: Add backtrace test.
10933 * gdb.btrace/tailcall.exp: Add backtrace test.
10935 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10937 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10938 * gdb.btrace/record_goto.c: New.
10939 * gdb.btrace/record_goto.exp: New.
10940 * gdb.btrace/x86-record_goto.S: New.
10942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10944 * gdb.btrace/function_call_history.exp: Update tests.
10945 * gdb.btrace/instruction_history.exp: Update tests.
10947 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10949 * gdb.btrace/function_call_history.exp: Fix expected field
10950 order for "record function-call-history".
10951 Add new tests for "record function-call-history /c".
10952 * gdb.btrace/exception.cc: New.
10953 * gdb.btrace/exception.exp: New.
10954 * gdb.btrace/tailcall.exp: New.
10955 * gdb.btrace/x86-tailcall.S: New.
10956 * gdb.btrace/x86-tailcall.c: New.
10957 * gdb.btrace/unknown_functions.c: New.
10958 * gdb.btrace/unknown_functions.exp: New.
10959 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10961 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10963 * gdb.btrace/instruction_history.exp: Update.
10964 * gdb.btrace/function_call_history.exp: Update.
10966 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10968 * gdb.btrace/function_call_history.exp: Fix expected function
10970 * gdb.btrace/instruction_history.exp: Initialize traced.
10971 Remove traced_functions.
10973 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10975 * gdb.btrace/function_call_history.exp: Update
10976 * gdb.btrace/instruction_history.exp: Update.
10978 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10980 * gdb.btrace/enable.exp: Update expected text.
10982 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10984 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10987 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10989 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10991 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10993 * lib/gdb.exp (supports_process_record): Return true for
10994 arm*-linux*. (supports_reverse): Likewise.
10996 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11000 * gdb.python/py-type.c: Enhance test case.
11001 * gdb.python/py-value-cc.cc: Likewise
11002 * gdb.python/py-type.exp: Add new tests.
11003 * gdb.python/py-value-cc.exp: Likewise
11005 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11006 Pedro Alves <palves@redhat.com>
11008 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11009 Make "name" extern.
11010 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11011 references to ${name}_start by references to ${name}.
11013 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11015 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11017 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11019 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11021 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11022 Pedro Alves <palves@redhat.com>
11024 * gdb.mi/mi-info-os.exp: Connect to the target with
11025 mi_gdb_target_load.
11027 2014-01-08 Pedro Alves <palves@redhat.com>
11029 * gdb.threads/reconnect-signal.c: New file.
11030 * gdb.threads/reconnect-signal.exp: New file.
11032 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11034 * gdb.base/source-dir.exp: New file.
11036 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11038 * gdb.ada/mi_interface: New testcase.
11040 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11042 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11043 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11044 gdb.ada/pp-rec-component/pck.ads: New files.
11046 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11048 * gdb.python/py-pp-integral.c: New file.
11049 * gdb.python/py-pp-integral.py: New file.
11050 * gdb.python/py-pp-integral.exp: New file.
11052 For older changes see ChangeLog-1993-2013.
11054 ;; Local Variables:
11055 ;; mode: change-log
11058 ;; version-control: never
11061 Copyright 2014-2017 Free Software Foundation, Inc.
11062 Copying and distribution of this file, with or without modification,
11063 are permitted provided the copyright notice and this notice are preserved.