1 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4 taking a 2-byte value out of a 4-byte DWARF implicit value on
6 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7 logic. Add test cases for DW_OP_implicit.
9 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
15 * gdb.btrace/enable.exp: Call gdb_exit before
18 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
20 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
23 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
25 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
27 * gdb.btrace/data.exp: Likewise.
28 * gdb.btrace/delta.exp: Likewise.
29 * gdb.btrace/dlopen.exp: Likewise.
30 * gdb.btrace/enable-running.exp: Likewise.
31 * gdb.btrace/enable.exp: Likewise.
32 * gdb.btrace/exception.exp: Likewise.
33 * gdb.btrace/function_call_history.exp: Likewise.
34 * gdb.btrace/gcore.exp: Likewise.
35 * gdb.btrace/instruction_history.exp: Likewise.
36 * gdb.btrace/multi-thread-step.exp: Likewise.
37 * gdb.btrace/nohist.exp: Likewise.
38 * gdb.btrace/non-stop.exp: Likewise.
39 * gdb.btrace/reconnect.exp: Likewise.
40 * gdb.btrace/record_goto-step.exp: Likewise.
41 * gdb.btrace/record_goto.exp: Likewise.
42 * gdb.btrace/rn-dl-bind.exp: Likewise.
43 * gdb.btrace/segv.exp: Likewise.
44 * gdb.btrace/step.exp: Likewise.
45 * gdb.btrace/stepi.exp: Likewise.
46 * gdb.btrace/tailcall-only.exp: Likewise.
47 * gdb.btrace/tailcall.exp: Likewise.
48 * gdb.btrace/tsx.exp: Likewise.
49 * gdb.btrace/unknown_functions.exp: Likewise.
50 * gdb.btrace/vdso.exp: Likewise.
52 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
54 * gdb.btrace/enable-running.c: New.
55 * gdb.btrace/enable-running.exp: New.
57 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
59 * gdb.arch/amd64-gs_base.c: New file.
60 * gdb.arch/amd64-gs_base.exp: New file.
62 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
64 * lib/memory.exp: Remove spurious empty newlines.
66 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
68 * gdb.python/py-bad-printers.exp: Load python file using "source".
69 * gdb.python/py-events.exp: Likewise.
70 * gdb.python/py-evsignal.exp: Likewise.
71 * gdb.python/py-evthreads.exp: Likewise.
72 * gdb.python/py-frame-args.exp: Likewise.
73 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
74 * gdb.python/py-framefilter-mi.exp: Likewise.
75 * gdb.python/py-framefilter.exp: Likewise.
76 * gdb.python/py-mi.exp: Likewise.
77 * gdb.python/py-pp-maint.exp: Likewise.
78 * gdb.python/py-pp-registration.exp: Likewise.
79 * gdb.python/py-prettyprint.exp: Likewise.
80 (run_lang_tests): Likewise.
81 * gdb.python/py-typeprint.exp: Likewise.
83 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
85 * lib/memory.exp: New file.
86 * lib/gdb.exp: Load memory.exp.
87 * gdb.base/memattr.exp (delete_memory): Move proc to
88 lib/memory.exp and rename to delete_memory_regions.
89 Replace delete_memory with delete_memory_regions.
90 Cleanup memory regions before tests.
91 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
94 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
96 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
98 (initialize): New function conditionally defined.
99 (testcases): Move within conditional block.
100 (main): Call initialize.
101 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
102 of gdb.reverse/insn-reverse.c.
103 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
104 gdb.reverse/insn-reverse.c.
106 2017-01-26 Yao Qi <yao.qi@linaro.org>
108 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
109 disassemble on address 0.
111 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
112 Yao Qi <yao.qi@linaro.org>
114 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
115 * gdb.dwarf2/implptr-64bit.S: Remove.
116 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
117 variables in caller's context. Add DW_OP_implicit_value.
119 2017-01-25 Yao Qi <yao.qi@linaro.org>
121 * lib/dwarf.exp (Dwarf::_location): Handle
122 DW_OP_GNU_implicit_pointer with proper size.
124 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
126 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
127 and add untested calls.
129 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
131 * gdb.python/python.exp: Check line number against what GDB thinks
132 the line number is for func1.
134 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
136 * gdb.dlang/debug-expr.exp: New file.
138 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
140 Fix test names for the following files:
142 * gdb.ada/exec_changed.exp
143 * gdb.ada/info_types.exp
144 * gdb.arch/aarch64-atomic-inst.exp
145 * gdb.arch/aarch64-fp.exp
146 * gdb.arch/altivec-abi.exp
147 * gdb.arch/altivec-regs.exp
148 * gdb.arch/amd64-byte.exp
149 * gdb.arch/amd64-disp-step.exp
150 * gdb.arch/amd64-dword.exp
151 * gdb.arch/amd64-entry-value-inline.exp
152 * gdb.arch/amd64-entry-value-param.exp
153 * gdb.arch/amd64-entry-value-paramref.exp
154 * gdb.arch/amd64-entry-value.exp
155 * gdb.arch/amd64-i386-address.exp
156 * gdb.arch/amd64-invalid-stack-middle.exp
157 * gdb.arch/amd64-invalid-stack-top.exp
158 * gdb.arch/amd64-optimout-repeat.exp
159 * gdb.arch/amd64-prologue-skip.exp
160 * gdb.arch/amd64-prologue-xmm.exp
161 * gdb.arch/amd64-stap-special-operands.exp
162 * gdb.arch/amd64-stap-wrong-subexp.exp
163 * gdb.arch/amd64-tailcall-cxx.exp
164 * gdb.arch/amd64-tailcall-noret.exp
165 * gdb.arch/amd64-tailcall-ret.exp
166 * gdb.arch/amd64-tailcall-self.exp
167 * gdb.arch/amd64-word.exp
168 * gdb.arch/arm-bl-branch-dest.exp
169 * gdb.arch/arm-disp-step.exp
170 * gdb.arch/arm-neon.exp
171 * gdb.arch/arm-single-step-kernel-helper.exp
172 * gdb.arch/avr-flash-qualifier.exp
173 * gdb.arch/disp-step-insn-reloc.exp
174 * gdb.arch/e500-abi.exp
175 * gdb.arch/e500-regs.exp
176 * gdb.arch/ftrace-insn-reloc.exp
177 * gdb.arch/i386-avx512.exp
178 * gdb.arch/i386-bp_permanent.exp
179 * gdb.arch/i386-byte.exp
180 * gdb.arch/i386-cfi-notcurrent.exp
181 * gdb.arch/i386-disp-step.exp
182 * gdb.arch/i386-dr3-watch.exp
183 * gdb.arch/i386-float.exp
184 * gdb.arch/i386-gnu-cfi.exp
185 * gdb.arch/i386-mpx-map.exp
186 * gdb.arch/i386-mpx-sigsegv.exp
187 * gdb.arch/i386-mpx-simple_segv.exp
188 * gdb.arch/i386-mpx.exp
189 * gdb.arch/i386-permbkpt.exp
190 * gdb.arch/i386-prologue.exp
191 * gdb.arch/i386-signal.exp
192 * gdb.arch/i386-size-overlap.exp
193 * gdb.arch/i386-unwind.exp
194 * gdb.arch/i386-word.exp
195 * gdb.arch/mips-fcr.exp
196 * gdb.arch/powerpc-d128-regs.exp
197 * gdb.arch/powerpc-stackless.exp
198 * gdb.arch/ppc64-atomic-inst.exp
199 * gdb.arch/s390-stackless.exp
200 * gdb.arch/s390-tdbregs.exp
201 * gdb.arch/s390-vregs.exp
202 * gdb.arch/sparc-sysstep.exp
203 * gdb.arch/thumb-bx-pc.exp
204 * gdb.arch/thumb-singlestep.exp
205 * gdb.arch/thumb2-it.exp
206 * gdb.arch/vsx-regs.exp
207 * gdb.asm/asm-source.exp
208 * gdb.base/a2-run.exp
209 * gdb.base/advance.exp
210 * gdb.base/all-bin.exp
213 * gdb.base/arithmet.exp
214 * gdb.base/async-shell.exp
216 * gdb.base/attach-pie-noexec.exp
217 * gdb.base/attach-twice.exp
218 * gdb.base/auto-load.exp
220 * gdb.base/bitfields.exp
221 * gdb.base/break-always.exp
222 * gdb.base/break-caller-line.exp
223 * gdb.base/break-entry.exp
224 * gdb.base/break-inline.exp
225 * gdb.base/break-on-linker-gcd-function.exp
226 * gdb.base/break-probes.exp
228 * gdb.base/breakpoint-shadow.exp
229 * gdb.base/call-ar-st.exp
230 * gdb.base/call-sc.exp
231 * gdb.base/call-signal-resume.exp
232 * gdb.base/call-strs.exp
233 * gdb.base/callfuncs.exp
234 * gdb.base/catch-fork-static.exp
235 * gdb.base/catch-gdb-caused-signals.exp
236 * gdb.base/catch-load.exp
237 * gdb.base/catch-signal-fork.exp
238 * gdb.base/catch-signal.exp
239 * gdb.base/catch-syscall.exp
240 * gdb.base/charset.exp
241 * gdb.base/checkpoint.exp
242 * gdb.base/chng-syms.exp
243 * gdb.base/code-expr.exp
244 * gdb.base/code_elim.exp
245 * gdb.base/commands.exp
246 * gdb.base/completion.exp
247 * gdb.base/complex.exp
248 * gdb.base/cond-expr.exp
249 * gdb.base/condbreak.exp
250 * gdb.base/consecutive.exp
251 * gdb.base/continue-all-already-running.exp
252 * gdb.base/coredump-filter.exp
253 * gdb.base/corefile.exp
255 * gdb.base/debug-expr.exp
256 * gdb.base/define.exp
258 * gdb.base/disabled-location.exp
259 * gdb.base/disasm-end-cu.exp
260 * gdb.base/disasm-optim.exp
261 * gdb.base/display.exp
262 * gdb.base/duplicate-bp.exp
263 * gdb.base/ena-dis-br.exp
264 * gdb.base/ending-run.exp
265 * gdb.base/enumval.exp
266 * gdb.base/environ.exp
267 * gdb.base/eu-strip-infcall.exp
268 * gdb.base/eval-avoid-side-effects.exp
269 * gdb.base/eval-skip.exp
270 * gdb.base/exitsignal.exp
271 * gdb.base/expand-psymtabs.exp
272 * gdb.base/filesym.exp
273 * gdb.base/find-unmapped.exp
274 * gdb.base/finish.exp
276 * gdb.base/foll-exec-mode.exp
277 * gdb.base/foll-exec.exp
278 * gdb.base/foll-fork.exp
279 * gdb.base/fortran-sym-case.exp
280 * gdb.base/freebpcmd.exp
281 * gdb.base/func-ptr.exp
282 * gdb.base/func-ptrs.exp
283 * gdb.base/funcargs.exp
284 * gdb.base/gcore-buffer-overflow.exp
285 * gdb.base/gcore-relro-pie.exp
286 * gdb.base/gcore-relro.exp
288 * gdb.base/gdb1090.exp
289 * gdb.base/gdb11530.exp
290 * gdb.base/gdb11531.exp
291 * gdb.base/gdb1821.exp
292 * gdb.base/gdbindex-stabs.exp
293 * gdb.base/gdbvars.exp
294 * gdb.base/hbreak.exp
295 * gdb.base/hbreak2.exp
296 * gdb.base/included.exp
297 * gdb.base/infcall-input.exp
298 * gdb.base/inferior-died.exp
299 * gdb.base/infnan.exp
300 * gdb.base/info-macros.exp
301 * gdb.base/info-os.exp
302 * gdb.base/info-proc.exp
303 * gdb.base/info-shared.exp
304 * gdb.base/info-target.exp
305 * gdb.base/infoline.exp
306 * gdb.base/interp.exp
307 * gdb.base/interrupt.exp
308 * gdb.base/jit-reader.exp
309 * gdb.base/jit-simple.exp
310 * gdb.base/kill-after-signal.exp
311 * gdb.base/kill-detach-inferiors-cmd.exp
314 * gdb.base/ldbl_e308.exp
315 * gdb.base/line-symtabs.exp
316 * gdb.base/linespecs.exp
318 * gdb.base/long_long.exp
319 * gdb.base/longest-types.exp
321 * gdb.base/max-value-size.exp
322 * gdb.base/memattr.exp
323 * gdb.base/mips_pro.exp
324 * gdb.base/morestack.exp
325 * gdb.base/moribund-step.exp
326 * gdb.base/multi-forks.exp
327 * gdb.base/nested-addr.exp
328 * gdb.base/nextoverexit.exp
329 * gdb.base/noreturn-finish.exp
330 * gdb.base/noreturn-return.exp
331 * gdb.base/nostdlib.exp
332 * gdb.base/offsets.exp
333 * gdb.base/opaque.exp
335 * gdb.base/permissions.exp
336 * gdb.base/print-symbol-loading.exp
337 * gdb.base/prologue-include.exp
338 * gdb.base/psymtab.exp
340 * gdb.base/random-signal.exp
341 * gdb.base/randomize.exp
342 * gdb.base/range-stepping.exp
343 * gdb.base/readline-ask.exp
344 * gdb.base/recpar.exp
345 * gdb.base/recurse.exp
346 * gdb.base/relational.exp
347 * gdb.base/restore.exp
348 * gdb.base/return-nodebug.exp
349 * gdb.base/return.exp
350 * gdb.base/run-after-attach.exp
351 * gdb.base/save-bp.exp
353 * gdb.base/sect-cmd.exp
354 * gdb.base/set-lang-auto.exp
355 * gdb.base/set-noassign.exp
356 * gdb.base/setvar.exp
357 * gdb.base/sigall.exp
358 * gdb.base/sigbpt.exp
359 * gdb.base/siginfo-addr.exp
360 * gdb.base/siginfo-infcall.exp
361 * gdb.base/siginfo-obj.exp
362 * gdb.base/siginfo.exp
363 * gdb.base/signals-state-child.exp
364 * gdb.base/signest.exp
365 * gdb.base/sigstep.exp
366 * gdb.base/sizeof.exp
368 * gdb.base/solib-corrupted.exp
369 * gdb.base/solib-nodir.exp
370 * gdb.base/solib-search.exp
371 * gdb.base/stack-checking.exp
372 * gdb.base/stale-infcall.exp
373 * gdb.base/stap-probe.exp
375 * gdb.base/step-break.exp
376 * gdb.base/step-bt.exp
377 * gdb.base/step-line.exp
378 * gdb.base/step-over-exit.exp
379 * gdb.base/step-over-syscall.exp
380 * gdb.base/step-resume-infcall.exp
381 * gdb.base/step-test.exp
383 * gdb.base/structs3.exp
384 * gdb.base/sym-file.exp
385 * gdb.base/symbol-without-target_section.exp
387 * gdb.base/testenv.exp
388 * gdb.base/ui-redirect.exp
390 * gdb.base/unwindonsignal.exp
391 * gdb.base/value-double-free.exp
392 * gdb.base/vla-datatypes.exp
393 * gdb.base/vla-ptr.exp
394 * gdb.base/vla-sideeffect.exp
395 * gdb.base/volatile.exp
396 * gdb.base/watch-cond-infcall.exp
397 * gdb.base/watch-cond.exp
398 * gdb.base/watch-non-mem.exp
399 * gdb.base/watch-read.exp
400 * gdb.base/watch-vfork.exp
401 * gdb.base/watchpoint-cond-gone.exp
402 * gdb.base/watchpoint-delete.exp
403 * gdb.base/watchpoint-hw-hit-once.exp
404 * gdb.base/watchpoint-hw.exp
405 * gdb.base/watchpoint-stops-at-right-insn.exp
406 * gdb.base/watchpoints.exp
408 * gdb.base/whatis-exp.exp
409 * gdb.btrace/buffer-size.exp
410 * gdb.btrace/data.exp
411 * gdb.btrace/delta.exp
412 * gdb.btrace/dlopen.exp
413 * gdb.btrace/enable.exp
414 * gdb.btrace/exception.exp
415 * gdb.btrace/function_call_history.exp
416 * gdb.btrace/gcore.exp
417 * gdb.btrace/instruction_history.exp
418 * gdb.btrace/nohist.exp
419 * gdb.btrace/reconnect.exp
420 * gdb.btrace/record_goto-step.exp
421 * gdb.btrace/record_goto.exp
422 * gdb.btrace/rn-dl-bind.exp
423 * gdb.btrace/segv.exp
424 * gdb.btrace/step.exp
425 * gdb.btrace/stepi.exp
426 * gdb.btrace/tailcall-only.exp
427 * gdb.btrace/tailcall.exp
429 * gdb.btrace/unknown_functions.exp
430 * gdb.btrace/vdso.exp
431 * gdb.compile/compile-ifunc.exp
432 * gdb.compile/compile-ops.exp
433 * gdb.compile/compile-print.exp
434 * gdb.compile/compile-setjmp.exp
435 * gdb.cp/abstract-origin.exp
436 * gdb.cp/ambiguous.exp
440 * gdb.cp/anon-struct.exp
441 * gdb.cp/anon-union.exp
442 * gdb.cp/arg-reference.exp
443 * gdb.cp/baseenum.exp
445 * gdb.cp/breakpoint.exp
449 * gdb.cp/chained-calls.exp
452 * gdb.cp/cmpd-minsyms.exp
453 * gdb.cp/converts.exp
454 * gdb.cp/cp-relocate.exp
455 * gdb.cp/cpcompletion.exp
458 * gdb.cp/cplusfuncs.exp
459 * gdb.cp/cpsizeof.exp
461 * gdb.cp/derivation.exp
462 * gdb.cp/destrprint.exp
464 * gdb.cp/enum-class.exp
465 * gdb.cp/exception.exp
466 * gdb.cp/exceptprint.exp
467 * gdb.cp/expand-psymtabs-cxx.exp
468 * gdb.cp/expand-sals.exp
469 * gdb.cp/extern-c.exp
470 * gdb.cp/filename.exp
471 * gdb.cp/formatted-ref.exp
472 * gdb.cp/fpointer.exp
476 * gdb.cp/impl-this.exp
477 * gdb.cp/infcall-dlopen.exp
479 * gdb.cp/iostream.exp
483 * gdb.cp/m-static.exp
485 * gdb.cp/mb-inline.exp
486 * gdb.cp/mb-templates.exp
487 * gdb.cp/member-name.exp
488 * gdb.cp/member-ptr.exp
489 * gdb.cp/meth-typedefs.exp
492 * gdb.cp/minsym-fallback.exp
494 * gdb.cp/namelessclass.exp
495 * gdb.cp/namespace-enum.exp
496 * gdb.cp/namespace-nested-import.exp
497 * gdb.cp/namespace.exp
498 * gdb.cp/nextoverthrow.exp
499 * gdb.cp/no-dmgl-verbose.exp
500 * gdb.cp/non-trivial-retval.exp
503 * gdb.cp/nsimport.exp
504 * gdb.cp/nsnested.exp
505 * gdb.cp/nsnoimports.exp
506 * gdb.cp/nsrecurs.exp
507 * gdb.cp/nsstress.exp
509 * gdb.cp/operator.exp
510 * gdb.cp/oranking.exp
511 * gdb.cp/overload-const.exp
512 * gdb.cp/overload.exp
513 * gdb.cp/ovldbreak.exp
515 * gdb.cp/paren-type.exp
516 * gdb.cp/parse-lang.exp
517 * gdb.cp/pass-by-ref.exp
528 * gdb.cp/printmethod.exp
530 * gdb.cp/psymtab-parameter.exp
531 * gdb.cp/ptype-cv-cp.exp
532 * gdb.cp/ptype-flags.exp
533 * gdb.cp/re-set-overloaded.exp
534 * gdb.cp/ref-types.exp
536 * gdb.cp/scope-err.exp
539 * gdb.cp/static-method.exp
540 * gdb.cp/static-print-quit.exp
542 * gdb.cp/templates.exp
543 * gdb.cp/try_catch.exp
544 * gdb.cp/typedef-operator.exp
547 * gdb.cp/using-crash.exp
549 * gdb.cp/virtbase.exp
550 * gdb.cp/virtfunc.exp
551 * gdb.cp/virtfunc2.exp
553 * gdb.disasm/t01_mov.exp
554 * gdb.disasm/t02_mova.exp
555 * gdb.disasm/t03_add.exp
556 * gdb.disasm/t04_sub.exp
557 * gdb.disasm/t05_cmp.exp
558 * gdb.disasm/t06_ari2.exp
559 * gdb.disasm/t07_ari3.exp
560 * gdb.disasm/t08_or.exp
561 * gdb.disasm/t09_xor.exp
562 * gdb.disasm/t10_and.exp
563 * gdb.disasm/t11_logs.exp
564 * gdb.disasm/t12_bit.exp
565 * gdb.disasm/t13_otr.exp
566 * gdb.dlang/circular.exp
567 * gdb.dwarf2/arr-stride.exp
568 * gdb.dwarf2/arr-subrange.exp
569 * gdb.dwarf2/atomic-type.exp
570 * gdb.dwarf2/bad-regnum.exp
571 * gdb.dwarf2/bitfield-parent-optimized-out.exp
572 * gdb.dwarf2/callframecfa.exp
573 * gdb.dwarf2/clztest.exp
574 * gdb.dwarf2/corrupt.exp
575 * gdb.dwarf2/data-loc.exp
576 * gdb.dwarf2/dup-psym.exp
577 * gdb.dwarf2/dw2-anon-mptr.exp
578 * gdb.dwarf2/dw2-anonymous-func.exp
579 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
580 * gdb.dwarf2/dw2-bad-unresolved.exp
581 * gdb.dwarf2/dw2-basic.exp
582 * gdb.dwarf2/dw2-canonicalize-type.exp
583 * gdb.dwarf2/dw2-case-insensitive.exp
584 * gdb.dwarf2/dw2-common-block.exp
585 * gdb.dwarf2/dw2-compdir-oldgcc.exp
586 * gdb.dwarf2/dw2-compressed.exp
587 * gdb.dwarf2/dw2-const.exp
588 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
589 * gdb.dwarf2/dw2-cu-size.exp
590 * gdb.dwarf2/dw2-dup-frame.exp
591 * gdb.dwarf2/dw2-entry-value.exp
592 * gdb.dwarf2/dw2-icycle.exp
593 * gdb.dwarf2/dw2-ifort-parameter.exp
594 * gdb.dwarf2/dw2-inline-break.exp
595 * gdb.dwarf2/dw2-inline-param.exp
596 * gdb.dwarf2/dw2-intercu.exp
597 * gdb.dwarf2/dw2-intermix.exp
598 * gdb.dwarf2/dw2-lexical-block-bare.exp
599 * gdb.dwarf2/dw2-linkage-name-trust.exp
600 * gdb.dwarf2/dw2-minsym-in-cu.exp
601 * gdb.dwarf2/dw2-noloc.exp
602 * gdb.dwarf2/dw2-op-call.exp
603 * gdb.dwarf2/dw2-op-out-param.exp
604 * gdb.dwarf2/dw2-opt-structptr.exp
605 * gdb.dwarf2/dw2-param-error.exp
606 * gdb.dwarf2/dw2-producer.exp
607 * gdb.dwarf2/dw2-ranges-base.exp
608 * gdb.dwarf2/dw2-ref-missing-frame.exp
609 * gdb.dwarf2/dw2-reg-undefined.exp
610 * gdb.dwarf2/dw2-regno-invalid.exp
611 * gdb.dwarf2/dw2-restore.exp
612 * gdb.dwarf2/dw2-restrict.exp
613 * gdb.dwarf2/dw2-single-line-discriminators.exp
614 * gdb.dwarf2/dw2-strp.exp
615 * gdb.dwarf2/dw2-undefined-ret-addr.exp
616 * gdb.dwarf2/dw2-unresolved.exp
617 * gdb.dwarf2/dw2-var-zero-addr.exp
618 * gdb.dwarf2/dw4-sig-types.exp
620 * gdb.dwarf2/dynarr-ptr.exp
621 * gdb.dwarf2/enum-type.exp
622 * gdb.dwarf2/gdb-index.exp
623 * gdb.dwarf2/implptr-64bit.exp
624 * gdb.dwarf2/implptr-optimized-out.exp
625 * gdb.dwarf2/implptr.exp
626 * gdb.dwarf2/implref-array.exp
627 * gdb.dwarf2/implref-const.exp
628 * gdb.dwarf2/implref-global.exp
629 * gdb.dwarf2/implref-struct.exp
630 * gdb.dwarf2/mac-fileno.exp
631 * gdb.dwarf2/main-subprogram.exp
632 * gdb.dwarf2/member-ptr-forwardref.exp
633 * gdb.dwarf2/method-ptr.exp
634 * gdb.dwarf2/missing-sig-type.exp
635 * gdb.dwarf2/nonvar-access.exp
636 * gdb.dwarf2/opaque-type-lookup.exp
637 * gdb.dwarf2/pieces-optimized-out.exp
638 * gdb.dwarf2/pieces.exp
639 * gdb.dwarf2/pr10770.exp
640 * gdb.dwarf2/pr13961.exp
641 * gdb.dwarf2/staticvirtual.exp
642 * gdb.dwarf2/subrange.exp
643 * gdb.dwarf2/symtab-producer.exp
644 * gdb.dwarf2/trace-crash.exp
645 * gdb.dwarf2/typeddwarf.exp
646 * gdb.dwarf2/valop.exp
647 * gdb.dwarf2/watch-notconst.exp
648 * gdb.fortran/array-element.exp
649 * gdb.fortran/charset.exp
650 * gdb.fortran/common-block.exp
651 * gdb.fortran/complex.exp
652 * gdb.fortran/derived-type-function.exp
653 * gdb.fortran/derived-type.exp
654 * gdb.fortran/logical.exp
655 * gdb.fortran/module.exp
656 * gdb.fortran/multi-dim.exp
657 * gdb.fortran/nested-funcs.exp
658 * gdb.fortran/print-formatted.exp
659 * gdb.fortran/subarray.exp
660 * gdb.fortran/vla-alloc-assoc.exp
661 * gdb.fortran/vla-datatypes.exp
662 * gdb.fortran/vla-history.exp
663 * gdb.fortran/vla-ptr-info.exp
664 * gdb.fortran/vla-ptype-sub.exp
665 * gdb.fortran/vla-ptype.exp
666 * gdb.fortran/vla-sizeof.exp
667 * gdb.fortran/vla-type.exp
668 * gdb.fortran/vla-value-sub-arbitrary.exp
669 * gdb.fortran/vla-value-sub-finish.exp
670 * gdb.fortran/vla-value-sub.exp
671 * gdb.fortran/vla-value.exp
672 * gdb.fortran/whatis_type.exp
674 * gdb.go/handcall.exp
676 * gdb.go/integers.exp
682 * gdb.guile/scm-arch.exp
683 * gdb.guile/scm-block.exp
684 * gdb.guile/scm-breakpoint.exp
685 * gdb.guile/scm-cmd.exp
686 * gdb.guile/scm-disasm.exp
687 * gdb.guile/scm-equal.exp
688 * gdb.guile/scm-frame-args.exp
689 * gdb.guile/scm-frame-inline.exp
690 * gdb.guile/scm-frame.exp
691 * gdb.guile/scm-iterator.exp
692 * gdb.guile/scm-math.exp
693 * gdb.guile/scm-objfile.exp
694 * gdb.guile/scm-ports.exp
695 * gdb.guile/scm-symbol.exp
696 * gdb.guile/scm-symtab.exp
697 * gdb.guile/scm-value-cc.exp
698 * gdb.guile/types-module.exp
699 * gdb.linespec/break-ask.exp
700 * gdb.linespec/cpexplicit.exp
701 * gdb.linespec/explicit.exp
702 * gdb.linespec/keywords.exp
703 * gdb.linespec/linespec.exp
704 * gdb.linespec/ls-dollar.exp
705 * gdb.linespec/ls-errs.exp
706 * gdb.linespec/skip-two.exp
707 * gdb.linespec/thread.exp
708 * gdb.mi/mi-async.exp
709 * gdb.mi/mi-basics.exp
710 * gdb.mi/mi-break.exp
711 * gdb.mi/mi-catch-load.exp
713 * gdb.mi/mi-cmd-param-changed.exp
714 * gdb.mi/mi-console.exp
715 * gdb.mi/mi-detach.exp
716 * gdb.mi/mi-disassemble.exp
718 * gdb.mi/mi-file-transfer.exp
720 * gdb.mi/mi-fill-memory.exp
721 * gdb.mi/mi-inheritance-syntax-error.exp
722 * gdb.mi/mi-linespec-err-cp.exp
723 * gdb.mi/mi-logging.exp
724 * gdb.mi/mi-memory-changed.exp
725 * gdb.mi/mi-read-memory.exp
726 * gdb.mi/mi-record-changed.exp
727 * gdb.mi/mi-reg-undefined.exp
729 * gdb.mi/mi-return.exp
730 * gdb.mi/mi-reverse.exp
731 * gdb.mi/mi-simplerun.exp
732 * gdb.mi/mi-solib.exp
733 * gdb.mi/mi-stack.exp
734 * gdb.mi/mi-stepi.exp
735 * gdb.mi/mi-syn-frame.exp
736 * gdb.mi/mi-until.exp
737 * gdb.mi/mi-var-block.exp
738 * gdb.mi/mi-var-child.exp
739 * gdb.mi/mi-var-cmd.exp
740 * gdb.mi/mi-var-cp.exp
741 * gdb.mi/mi-var-display.exp
742 * gdb.mi/mi-var-invalidate.exp
743 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
744 * gdb.mi/mi-vla-fortran.exp
745 * gdb.mi/mi-watch.exp
746 * gdb.mi/mi2-var-child.exp
747 * gdb.mi/user-selected-context-sync.exp
748 * gdb.modula2/unbounded-array.exp
749 * gdb.multi/dummy-frame-restore.exp
750 * gdb.multi/multi-arch-exec.exp
751 * gdb.multi/multi-arch.exp
753 * gdb.multi/watchpoint-multi.exp
754 * gdb.opencl/callfuncs.exp
755 * gdb.opencl/convs_casts.exp
756 * gdb.opencl/datatypes.exp
757 * gdb.opencl/operators.exp
758 * gdb.opencl/vec_comps.exp
759 * gdb.opt/clobbered-registers-O2.exp
760 * gdb.opt/inline-break.exp
761 * gdb.opt/inline-bt.exp
762 * gdb.opt/inline-cmds.exp
763 * gdb.opt/inline-locals.exp
764 * gdb.pascal/case-insensitive-symbols.exp
765 * gdb.pascal/floats.exp
766 * gdb.pascal/gdb11492.exp
767 * gdb.python/lib-types.exp
768 * gdb.python/py-arch.exp
769 * gdb.python/py-as-string.exp
770 * gdb.python/py-bad-printers.exp
771 * gdb.python/py-block.exp
772 * gdb.python/py-breakpoint-create-fail.exp
773 * gdb.python/py-breakpoint.exp
774 * gdb.python/py-caller-is.exp
775 * gdb.python/py-cmd.exp
776 * gdb.python/py-explore-cc.exp
777 * gdb.python/py-explore.exp
778 * gdb.python/py-finish-breakpoint.exp
779 * gdb.python/py-finish-breakpoint2.exp
780 * gdb.python/py-frame-args.exp
781 * gdb.python/py-frame-inline.exp
782 * gdb.python/py-frame.exp
783 * gdb.python/py-framefilter-mi.exp
784 * gdb.python/py-infthread.exp
785 * gdb.python/py-lazy-string.exp
786 * gdb.python/py-linetable.exp
787 * gdb.python/py-mi-events.exp
788 * gdb.python/py-mi-objfile.exp
789 * gdb.python/py-mi.exp
790 * gdb.python/py-objfile.exp
791 * gdb.python/py-pp-integral.exp
792 * gdb.python/py-pp-maint.exp
793 * gdb.python/py-pp-re-notag.exp
794 * gdb.python/py-pp-registration.exp
795 * gdb.python/py-recurse-unwind.exp
796 * gdb.python/py-strfns.exp
797 * gdb.python/py-symbol.exp
798 * gdb.python/py-symtab.exp
799 * gdb.python/py-sync-interp.exp
800 * gdb.python/py-typeprint.exp
801 * gdb.python/py-unwind-maint.exp
802 * gdb.python/py-unwind.exp
803 * gdb.python/py-value-cc.exp
804 * gdb.python/py-xmethods.exp
805 * gdb.reverse/amd64-tailcall-reverse.exp
806 * gdb.reverse/break-precsave.exp
807 * gdb.reverse/break-reverse.exp
808 * gdb.reverse/consecutive-precsave.exp
809 * gdb.reverse/consecutive-reverse.exp
810 * gdb.reverse/finish-precsave.exp
811 * gdb.reverse/finish-reverse-bkpt.exp
812 * gdb.reverse/finish-reverse.exp
813 * gdb.reverse/fstatat-reverse.exp
814 * gdb.reverse/getresuid-reverse.exp
815 * gdb.reverse/i386-precsave.exp
816 * gdb.reverse/i386-reverse.exp
817 * gdb.reverse/i386-sse-reverse.exp
818 * gdb.reverse/i387-env-reverse.exp
819 * gdb.reverse/i387-stack-reverse.exp
820 * gdb.reverse/insn-reverse.exp
821 * gdb.reverse/machinestate-precsave.exp
822 * gdb.reverse/machinestate.exp
823 * gdb.reverse/next-reverse-bkpt-over-sr.exp
824 * gdb.reverse/pipe-reverse.exp
825 * gdb.reverse/readv-reverse.exp
826 * gdb.reverse/recvmsg-reverse.exp
827 * gdb.reverse/rerun-prec.exp
828 * gdb.reverse/s390-mvcle.exp
829 * gdb.reverse/step-precsave.exp
830 * gdb.reverse/step-reverse.exp
831 * gdb.reverse/time-reverse.exp
832 * gdb.reverse/until-precsave.exp
833 * gdb.reverse/until-reverse.exp
834 * gdb.reverse/waitpid-reverse.exp
835 * gdb.reverse/watch-precsave.exp
836 * gdb.reverse/watch-reverse.exp
837 * gdb.rust/generics.exp
838 * gdb.rust/methods.exp
839 * gdb.rust/modules.exp
840 * gdb.rust/simple.exp
841 * gdb.server/connect-with-no-symbol-file.exp
842 * gdb.server/ext-attach.exp
843 * gdb.server/ext-restart.exp
844 * gdb.server/ext-wrapper.exp
845 * gdb.server/file-transfer.exp
846 * gdb.server/server-exec-info.exp
847 * gdb.server/server-kill.exp
848 * gdb.server/server-mon.exp
849 * gdb.server/wrapper.exp
850 * gdb.stabs/exclfwd.exp
851 * gdb.stabs/gdb11479.exp
852 * gdb.threads/clone-new-thread-event.exp
853 * gdb.threads/corethreads.exp
854 * gdb.threads/current-lwp-dead.exp
855 * gdb.threads/dlopen-libpthread.exp
856 * gdb.threads/gcore-thread.exp
857 * gdb.threads/sigstep-threads.exp
858 * gdb.threads/watchpoint-fork.exp
859 * gdb.trace/actions-changed.exp
860 * gdb.trace/backtrace.exp
861 * gdb.trace/change-loc.exp
863 * gdb.trace/collection.exp
864 * gdb.trace/disconnected-tracing.exp
865 * gdb.trace/ftrace.exp
866 * gdb.trace/mi-trace-frame-collected.exp
867 * gdb.trace/mi-trace-unavailable.exp
868 * gdb.trace/mi-traceframe-changed.exp
869 * gdb.trace/mi-tsv-changed.exp
870 * gdb.trace/no-attach-trace.exp
871 * gdb.trace/passc-dyn.exp
873 * gdb.trace/range-stepping.exp
874 * gdb.trace/read-memory.exp
875 * gdb.trace/save-trace.exp
876 * gdb.trace/signal.exp
877 * gdb.trace/status-stop.exp
878 * gdb.trace/tfile.exp
879 * gdb.trace/trace-break.exp
880 * gdb.trace/trace-buffer-size.exp
881 * gdb.trace/trace-condition.exp
882 * gdb.trace/tracefile-pseudo-reg.exp
883 * gdb.trace/tstatus.exp
884 * gdb.trace/unavailable.exp
885 * gdb.trace/while-dyn.exp
886 * gdb.trace/while-stepping.exp
888 2016-12-22 Doug Evans <xdje42@gmail.com>
890 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
893 2016-12-19 Yao Qi <yao.qi@linaro.org>
895 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
896 (test_with_self): Don't call do_steps_and_nexts, and remove
897 code about stepping into xmalloc.
899 2016-12-09 Yao Qi <yao.qi@linaro.org>
901 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
903 2016-12-09 Yao Qi <yao.qi@linaro.org>
905 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
907 2016-12-09 Pedro Alves <palves@redhat.com>
909 * gdb.base/all-architectures-0.exp: New file.
910 * gdb.base/all-architectures-1.exp: New file.
911 * gdb.base/all-architectures-2.exp: New file.
912 * gdb.base/all-architectures-3.exp: New file.
913 * gdb.base/all-architectures-4.exp: New file.
914 * gdb.base/all-architectures-5.exp: New file.
915 * gdb.base/all-architectures-6.exp: New file.
916 * gdb.base/all-architectures-7.exp: New file.
917 * gdb.base/all-architectures.exp.in: New file.
919 2016-12-09 Yao Qi <yao.qi@linaro.org>
921 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
923 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
925 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
927 Remove useless pattern-matching code.
929 2016-12-02 Pedro Alves <palves@redhat.com>
931 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
933 (top level): Call it.
935 2016-12-02 Pedro Alves <palves@redhat.com>
937 * gdb.base/commands.exp (user_defined_command_args_stack_test):
939 (top level): Call it.
941 2016-12-02 Pedro Alves <palves@redhat.com>
944 * gdb.base/commands.exp (user_defined_command_args_eval): New
946 (top level): Call it.
948 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
950 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
953 2016-12-02 Tom Tromey <tom@tromey.com>
955 * gdb.dwarf2/main-subprogram.c: New file.
956 * gdb.dwarf2/main-subprogram.exp: New file.
958 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
960 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
961 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
962 gdb_test_no_output for a couple of cases.
963 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
965 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
967 Fix test names and standardize compilation error messages throughout
971 * gdb.arch/alpha-step.exp
972 * gdb.arch/e500-prologue.exp
973 * gdb.arch/ftrace-insn-reloc.exp
974 * gdb.arch/gdb1291.exp
975 * gdb.arch/gdb1431.exp
976 * gdb.arch/gdb1558.exp
977 * gdb.arch/i386-dr3-watch.exp
978 * gdb.arch/i386-sse-stack-align.exp
979 * gdb.arch/ia64-breakpoint-shadow.exp
980 * gdb.arch/pa-nullify.exp
981 * gdb.arch/powerpc-aix-prologue.exp
982 * gdb.arch/thumb-bx-pc.exp
983 * gdb.base/annota1.exp
984 * gdb.base/annota3.exp
985 * gdb.base/arrayidx.exp
986 * gdb.base/assign.exp
987 * gdb.base/attach.exp
990 * gdb.base/bfp-test.exp
991 * gdb.base/bigcore.exp
992 * gdb.base/bitfields2.exp
993 * gdb.base/break-fun-addr.exp
994 * gdb.base/break-probes.exp
995 * gdb.base/call-rt-st.exp
996 * gdb.base/callexit.exp
997 * gdb.base/catch-fork-kill.exp
998 * gdb.base/charset.exp
999 * gdb.base/checkpoint.exp
1000 * gdb.base/comprdebug.exp
1001 * gdb.base/constvars.exp
1002 * gdb.base/coredump-filter.exp
1003 * gdb.base/cursal.exp
1004 * gdb.base/cvexpr.exp
1005 * gdb.base/detach.exp
1006 * gdb.base/display.exp
1007 * gdb.base/dmsym.exp
1008 * gdb.base/dprintf-pending.exp
1009 * gdb.base/dso2dso.exp
1010 * gdb.base/dtrace-probe.exp
1012 * gdb.base/enum_cond.exp
1013 * gdb.base/exe-lock.exp
1014 * gdb.base/exec-invalid-sysroot.exp
1015 * gdb.base/execl-update-breakpoints.exp
1016 * gdb.base/exprs.exp
1017 * gdb.base/fileio.exp
1019 * gdb.base/finish.exp
1020 * gdb.base/fixsection.exp
1021 * gdb.base/foll-vfork.exp
1022 * gdb.base/frame-args.exp
1023 * gdb.base/gcore.exp
1024 * gdb.base/gdb1250.exp
1025 * gdb.base/global-var-nested-by-dso.exp
1026 * gdb.base/gnu-ifunc.exp
1027 * gdb.base/hashline1.exp
1028 * gdb.base/hashline2.exp
1029 * gdb.base/hashline3.exp
1030 * gdb.base/hbreak-in-shr-unsupported.exp
1032 * gdb.base/infcall-input.exp
1033 * gdb.base/info-fun.exp
1034 * gdb.base/info-shared.exp
1035 * gdb.base/jit-simple.exp
1036 * gdb.base/jit-so.exp
1039 * gdb.base/label.exp
1040 * gdb.base/lineinc.exp
1041 * gdb.base/logical.exp
1042 * gdb.base/longjmp.exp
1043 * gdb.base/macscp.exp
1044 * gdb.base/miscexprs.exp
1045 * gdb.base/new-ui-echo.exp
1046 * gdb.base/new-ui-pending-input.exp
1047 * gdb.base/new-ui.exp
1048 * gdb.base/nodebug.exp
1049 * gdb.base/nofield.exp
1050 * gdb.base/offsets.exp
1051 * gdb.base/overlays.exp
1052 * gdb.base/pending.exp
1053 * gdb.base/pointers.exp
1054 * gdb.base/pr11022.exp
1055 * gdb.base/printcmds.exp
1056 * gdb.base/prologue.exp
1057 * gdb.base/ptr-typedef.exp
1058 * gdb.base/realname-expand.exp
1059 * gdb.base/relativedebug.exp
1060 * gdb.base/relocate.exp
1061 * gdb.base/remote.exp
1062 * gdb.base/reread.exp
1063 * gdb.base/return2.exp
1064 * gdb.base/savedregs.exp
1066 * gdb.base/sepdebug.exp
1067 * gdb.base/sepsymtab.exp
1068 * gdb.base/set-inferior-tty.exp
1069 * gdb.base/setshow.exp
1070 * gdb.base/shlib-call.exp
1071 * gdb.base/sigaltstack.exp
1072 * gdb.base/siginfo-addr.exp
1073 * gdb.base/signals.exp
1074 * gdb.base/signull.exp
1075 * gdb.base/sigrepeat.exp
1076 * gdb.base/so-impl-ld.exp
1077 * gdb.base/solib-display.exp
1078 * gdb.base/solib-overlap.exp
1079 * gdb.base/solib-search.exp
1080 * gdb.base/solib-symbol.exp
1081 * gdb.base/structs.exp
1082 * gdb.base/structs2.exp
1083 * gdb.base/symtab-search-order.exp
1084 * gdb.base/twice.exp
1085 * gdb.base/unload.exp
1086 * gdb.base/varargs.exp
1087 * gdb.base/watchpoint-solib.exp
1088 * gdb.base/watchpoint.exp
1089 * gdb.base/whatis.exp
1090 * gdb.base/wrong_frame_bt_full.exp
1091 * gdb.btrace/dlopen.exp
1092 * gdb.cell/ea-standalone.exp
1093 * gdb.cell/ea-test.exp
1094 * gdb.cp/dispcxx.exp
1095 * gdb.cp/gdb2384.exp
1096 * gdb.cp/method2.exp
1097 * gdb.cp/nextoverthrow.exp
1098 * gdb.cp/pr10728.exp
1099 * gdb.disasm/am33.exp
1100 * gdb.disasm/h8300s.exp
1101 * gdb.disasm/mn10300.exp
1102 * gdb.disasm/sh3.exp
1103 * gdb.dwarf2/dw2-dir-file-name.exp
1104 * gdb.fortran/complex.exp
1105 * gdb.fortran/library-module.exp
1106 * gdb.guile/scm-pretty-print.exp
1107 * gdb.guile/scm-symbol.exp
1108 * gdb.guile/scm-type.exp
1109 * gdb.guile/scm-value.exp
1110 * gdb.linespec/linespec.exp
1113 * gdb.mi/mi-breakpoint-changed.exp
1114 * gdb.mi/mi-dprintf-pending.exp
1115 * gdb.mi/mi-dprintf.exp
1116 * gdb.mi/mi-exit-code.exp
1117 * gdb.mi/mi-pending.exp
1118 * gdb.mi/mi-solib.exp
1119 * gdb.mi/new-ui-mi-sync.exp
1120 * gdb.mi/pr11022.exp
1121 * gdb.mi/user-selected-context-sync.exp
1122 * gdb.opt/solib-intra-step.exp
1123 * gdb.python/py-events.exp
1124 * gdb.python/py-finish-breakpoint.exp
1125 * gdb.python/py-mi.exp
1126 * gdb.python/py-prettyprint.exp
1127 * gdb.python/py-shared.exp
1128 * gdb.python/py-symbol.exp
1129 * gdb.python/py-template.exp
1130 * gdb.python/py-type.exp
1131 * gdb.python/py-value.exp
1132 * gdb.reverse/solib-precsave.exp
1133 * gdb.reverse/solib-reverse.exp
1134 * gdb.server/solib-list.exp
1135 * gdb.stabs/weird.exp
1136 * gdb.threads/reconnect-signal.exp
1137 * gdb.threads/stepi-random-signal.exp
1138 * gdb.trace/actions.exp
1140 * gdb.trace/backtrace.exp
1141 * gdb.trace/change-loc.exp
1142 * gdb.trace/deltrace.exp
1143 * gdb.trace/ftrace-lock.exp
1144 * gdb.trace/ftrace.exp
1145 * gdb.trace/infotrace.exp
1146 * gdb.trace/mi-tracepoint-changed.exp
1147 * gdb.trace/packetlen.exp
1148 * gdb.trace/passcount.exp
1149 * gdb.trace/pending.exp
1150 * gdb.trace/range-stepping.exp
1151 * gdb.trace/report.exp
1152 * gdb.trace/stap-trace.exp
1153 * gdb.trace/tfind.exp
1154 * gdb.trace/trace-break.exp
1155 * gdb.trace/trace-condition.exp
1156 * gdb.trace/trace-enable-disable.exp
1157 * gdb.trace/trace-mt.exp
1158 * gdb.trace/tracecmd.exp
1159 * gdb.trace/tspeed.exp
1163 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1165 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1166 with gdb_test_no_output.
1167 Use command as test name.
1169 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1171 Fix test names starting with uppercase throughout the files.
1173 * gdb.ada/assign_1.exp
1174 * gdb.ada/boolean_expr.exp
1175 * gdb.base/arrayidx.exp
1177 * gdb.base/gcore-buffer-overflow.exp
1178 * gdb.base/testenv.exp
1179 * gdb.compile/compile.exp
1180 * gdb.python/py-framefilter-invalidarg.exp
1181 * gdb.python/py-framefilter.exp
1183 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1185 Fix test names starting with uppercase throughout the files.
1187 * gdb.ada/array_return.exp
1188 * gdb.ada/expr_delims.exp
1189 * gdb.ada/mi_dyn_arr.exp
1190 * gdb.ada/mi_interface.exp
1191 * gdb.ada/mi_var_array.exp
1192 * gdb.ada/watch_arg.exp
1193 * gdb.arch/alpha-step.exp
1194 * gdb.arch/altivec-regs.exp
1195 * gdb.arch/e500-regs.exp
1196 * gdb.arch/powerpc-d128-regs.exp
1197 * gdb.base/arrayidx.exp
1198 * gdb.base/break.exp
1199 * gdb.base/checkpoint.exp
1200 * gdb.base/debug-expr.exp
1201 * gdb.base/dmsym.exp
1202 * gdb.base/radix.exp
1203 * gdb.base/sepdebug.exp
1204 * gdb.base/testenv.exp
1205 * gdb.base/watch_thread_num.exp
1206 * gdb.base/watchpoint-cond-gone.exp
1207 * gdb.cell/break.exp
1208 * gdb.cell/ea-cache.exp
1209 * gdb.compile/compile.exp
1210 * gdb.cp/gdb2495.exp
1211 * gdb.gdb/selftest.exp
1212 * gdb.gdb/xfullpath.exp
1214 * gdb.go/integers.exp
1215 * gdb.objc/basicclass.exp
1216 * gdb.pascal/hello.exp
1217 * gdb.pascal/integers.exp
1218 * gdb.python/py-breakpoint.exp
1219 * gdb.python/py-cmd.exp
1220 * gdb.python/py-linetable.exp
1221 * gdb.python/py-xmethods.exp
1222 * gdb.python/python.exp
1223 * gdb.reverse/consecutive-precsave.exp
1224 * gdb.reverse/finish-precsave.exp
1225 * gdb.reverse/i386-precsave.exp
1226 * gdb.reverse/machinestate-precsave.exp
1227 * gdb.reverse/sigall-precsave.exp
1228 * gdb.reverse/solib-precsave.exp
1229 * gdb.reverse/step-precsave.exp
1230 * gdb.reverse/until-precsave.exp
1231 * gdb.reverse/watch-precsave.exp
1232 * gdb.threads/leader-exit.exp
1233 * gdb.threads/pthreads.exp
1234 * gdb.threads/wp-replication.exp
1235 * gdb.trace/actions.exp
1236 * gdb.trace/mi-tsv-changed.exp
1239 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1241 Fix test names starting with uppercase throughout the files.
1243 * gdb.arch/i386-bp_permanent.exp
1244 * gdb.arch/i386-gnu-cfi.exp
1245 * gdb.base/disasm-end-cu.exp
1246 * gdb.base/macscp.exp
1247 * gdb.base/pending.exp
1248 * gdb.base/watch_thread_num.exp
1249 * gdb.cp/exception.exp
1250 * gdb.cp/gdb2495.exp
1252 * gdb.python/py-evsignal.exp
1253 * gdb.python/python.exp
1254 * gdb.trace/tracecmd.exp
1256 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1258 Fix test names starting with uppercase throughout the files.
1260 * gdb.base/charset.exp
1262 * gdb.base/multi-forks.exp
1263 * gdb.guile/scm-progspace.exp
1264 * gdb.opencl/datatypes.exp
1265 * gdb.python/py-block.exp
1266 * gdb.python/py-function.exp
1267 * gdb.python/py-symbol.exp
1268 * gdb.python/py-symtab.exp
1269 * gdb.python/py-xmethods.exp
1270 * gdb.reverse/break-precsave.exp
1271 * gdb.reverse/break-reverse.exp
1272 * gdb.reverse/consecutive-precsave.exp
1273 * gdb.reverse/consecutive-reverse.exp
1274 * gdb.reverse/finish-precsave.exp
1275 * gdb.reverse/finish-reverse-bkpt.exp
1276 * gdb.reverse/finish-reverse.exp
1277 * gdb.reverse/fstatat-reverse.exp
1278 * gdb.reverse/getresuid-reverse.exp
1279 * gdb.reverse/i386-precsave.exp
1280 * gdb.reverse/i386-reverse.exp
1281 * gdb.reverse/i386-sse-reverse.exp
1282 * gdb.reverse/i387-stack-reverse.exp
1283 * gdb.reverse/insn-reverse.exp
1284 * gdb.reverse/machinestate-precsave.exp
1285 * gdb.reverse/machinestate.exp
1286 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1287 * gdb.reverse/pipe-reverse.exp
1288 * gdb.reverse/readv-reverse.exp
1289 * gdb.reverse/recvmsg-reverse.exp
1290 * gdb.reverse/rerun-prec.exp
1291 * gdb.reverse/s390-mvcle.exp
1292 * gdb.reverse/sigall-precsave.exp
1293 * gdb.reverse/sigall-reverse.exp
1294 * gdb.reverse/solib-precsave.exp
1295 * gdb.reverse/solib-reverse.exp
1296 * gdb.reverse/step-precsave.exp
1297 * gdb.reverse/step-reverse.exp
1298 * gdb.reverse/time-reverse.exp
1299 * gdb.reverse/until-precsave.exp
1300 * gdb.reverse/until-reverse.exp
1301 * gdb.reverse/waitpid-reverse.exp
1302 * gdb.reverse/watch-precsave.exp
1303 * gdb.reverse/watch-reverse.exp
1305 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1307 Fix test names starting with uppercase throughout the files.
1309 * gdb.arch/i386-mpx-simple_segv.exp
1310 * gdb.arch/i386-mpx.exp
1311 * gdb.arch/i386-permbkpt.exp
1312 * gdb.arch/pa-nullify.exp
1313 * gdb.arch/powerpc-d128-regs.exp
1314 * gdb.arch/vsx-regs.exp
1315 * gdb.base/bfp-test.exp
1316 * gdb.base/break.exp
1317 * gdb.base/breakpoint-shadow.exp
1318 * gdb.base/callfuncs.exp
1319 * gdb.base/charset.exp
1320 * gdb.base/commands.exp
1321 * gdb.base/completion.exp
1322 * gdb.base/dfp-test.exp
1324 * gdb.base/ending-run.exp
1326 * gdb.base/expand-psymtabs.exp
1327 * gdb.base/float128.exp
1328 * gdb.base/floatn.exp
1329 * gdb.base/foll-exec-mode.exp
1330 * gdb.base/gdb1056.exp
1331 * gdb.base/gdb11531.exp
1332 * gdb.base/kill-after-signal.exp
1333 * gdb.base/multi-forks.exp
1334 * gdb.base/overlays.exp
1335 * gdb.base/pending.exp
1336 * gdb.base/sepdebug.exp
1337 * gdb.base/testenv.exp
1338 * gdb.base/valgrind-db-attach.exp
1339 * gdb.base/watch_thread_num.exp
1340 * gdb.base/watchpoint-cond-gone.exp
1341 * gdb.base/watchpoint.exp
1342 * gdb.base/watchpoints.exp
1343 * gdb.cp/arg-reference.exp
1344 * gdb.cp/baseenum.exp
1345 * gdb.cp/operator.exp
1347 * gdb.dwarf2/dw2-op-out-param.exp
1348 * gdb.dwarf2/dw2-reg-undefined.exp
1351 * gdb.go/integers.exp
1352 * gdb.go/methods.exp
1353 * gdb.go/package.exp
1354 * gdb.guile/scm-parameter.exp
1355 * gdb.guile/scm-progspace.exp
1356 * gdb.guile/scm-value.exp
1357 * gdb.mi/mi-pending.exp
1358 * gdb.mi/user-selected-context-sync.exp
1359 * gdb.multi/multi-attach.exp
1360 * gdb.multi/tids.exp
1361 * gdb.opt/clobbered-registers-O2.exp
1362 * gdb.pascal/floats.exp
1363 * gdb.pascal/integers.exp
1364 * gdb.python/py-block.exp
1365 * gdb.python/py-events.exp
1366 * gdb.python/py-parameter.exp
1367 * gdb.python/py-symbol.exp
1368 * gdb.python/py-symtab.exp
1369 * gdb.python/py-type.exp
1370 * gdb.python/py-value.exp
1371 * gdb.python/py-xmethods.exp
1372 * gdb.python/python.exp
1373 * gdb.reverse/break-precsave.exp
1374 * gdb.reverse/consecutive-precsave.exp
1375 * gdb.reverse/finish-precsave.exp
1376 * gdb.reverse/i386-precsave.exp
1377 * gdb.reverse/machinestate-precsave.exp
1378 * gdb.reverse/sigall-precsave.exp
1379 * gdb.reverse/solib-precsave.exp
1380 * gdb.reverse/step-precsave.exp
1381 * gdb.reverse/until-precsave.exp
1382 * gdb.reverse/watch-precsave.exp
1383 * gdb.server/ext-attach.exp
1384 * gdb.server/ext-restart.exp
1385 * gdb.server/ext-run.exp
1386 * gdb.server/ext-wrapper.exp
1387 * gdb.stabs/gdb11479.exp
1388 * gdb.stabs/weird.exp
1389 * gdb.threads/attach-many-short-lived-threads.exp
1390 * gdb.threads/kill.exp
1391 * gdb.threads/watchpoint-fork.exp
1393 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1395 Fix test names starting with uppercase throughout all the files below.
1397 * gdb.ada/array_return.exp
1398 * gdb.ada/catch_ex.exp
1399 * gdb.ada/info_exc.exp
1400 * gdb.ada/mi_catch_ex.exp
1401 * gdb.ada/mi_dyn_arr.exp
1402 * gdb.ada/mi_ex_cond.exp
1403 * gdb.ada/mi_exc_info.exp
1404 * gdb.ada/mi_interface.exp
1405 * gdb.ada/mi_task_arg.exp
1406 * gdb.ada/mi_task_info.exp
1407 * gdb.ada/mi_var_array.exp
1408 * gdb.arch/alpha-step.exp
1409 * gdb.arch/amd64-disp-step.exp
1410 * gdb.arch/arm-disp-step.exp
1411 * gdb.arch/disp-step-insn-reloc.exp
1412 * gdb.arch/e500-prologue.exp
1413 * gdb.arch/ftrace-insn-reloc.exp
1414 * gdb.arch/gdb1558.exp
1415 * gdb.arch/i386-bp_permanent.exp
1416 * gdb.arch/i386-disp-step.exp
1417 * gdb.arch/i386-float.exp
1418 * gdb.arch/i386-gnu-cfi.exp
1419 * gdb.arch/ia64-breakpoint-shadow.exp
1420 * gdb.arch/mips16-thunks.exp
1421 * gdb.arch/pa-nullify.exp
1422 * gdb.arch/powerpc-aix-prologue.exp
1423 * gdb.arch/powerpc-power.exp
1424 * gdb.arch/ppc-dfp.exp
1425 * gdb.arch/s390-tdbregs.exp
1426 * gdb.arch/spu-info.exp
1427 * gdb.arch/spu-ls.exp
1428 * gdb.arch/thumb-bx-pc.exp
1429 * gdb.base/advance.exp
1430 * gdb.base/annota-input-while-running.exp
1431 * gdb.base/arrayidx.exp
1432 * gdb.base/asmlabel.exp
1433 * gdb.base/async.exp
1434 * gdb.base/attach-wait-input.exp
1435 * gdb.base/auto-connect-native-target.exp
1436 * gdb.base/batch-preserve-term-settings.exp
1437 * gdb.base/bfp-test.exp
1438 * gdb.base/bigcore.exp
1439 * gdb.base/bp-permanent.exp
1440 * gdb.base/break-always.exp
1441 * gdb.base/break-fun-addr.exp
1442 * gdb.base/break-idempotent.exp
1443 * gdb.base/break-main-file-remove-fail.exp
1444 * gdb.base/break-probes.exp
1445 * gdb.base/break-unload-file.exp
1446 * gdb.base/break.exp
1447 * gdb.base/call-ar-st.exp
1448 * gdb.base/call-rt-st.exp
1449 * gdb.base/call-sc.exp
1450 * gdb.base/call-signal-resume.exp
1451 * gdb.base/call-strs.exp
1452 * gdb.base/callexit.exp
1453 * gdb.base/callfuncs.exp
1454 * gdb.base/catch-gdb-caused-signals.exp
1455 * gdb.base/catch-signal-siginfo-cond.exp
1456 * gdb.base/catch-syscall.exp
1457 * gdb.base/compare-sections.exp
1458 * gdb.base/cond-eval-mode.exp
1459 * gdb.base/condbreak-call-false.exp
1460 * gdb.base/consecutive-step-over.exp
1461 * gdb.base/cursal.exp
1462 * gdb.base/disabled-location.exp
1463 * gdb.base/disasm-end-cu.exp
1464 * gdb.base/display.exp
1465 * gdb.base/double-prompt-target-event-error.exp
1466 * gdb.base/dprintf-bp-same-addr.exp
1467 * gdb.base/dprintf-detach.exp
1468 * gdb.base/dprintf-next.exp
1469 * gdb.base/dprintf-non-stop.exp
1470 * gdb.base/dprintf-pending.exp
1471 * gdb.base/dso2dso.exp
1472 * gdb.base/ending-run.exp
1473 * gdb.base/enum_cond.exp
1474 * gdb.base/examine-backward.exp
1475 * gdb.base/exe-lock.exp
1476 * gdb.base/exec-invalid-sysroot.exp
1477 * gdb.base/execl-update-breakpoints.exp
1478 * gdb.base/execution-termios.exp
1479 * gdb.base/fileio.exp
1480 * gdb.base/fixsection.exp
1481 * gdb.base/foll-exec-mode.exp
1482 * gdb.base/foll-exec.exp
1483 * gdb.base/fork-running-state.exp
1484 * gdb.base/frame-args.exp
1485 * gdb.base/fullpath-expand.exp
1486 * gdb.base/func-ptr.exp
1487 * gdb.base/gcore-relro-pie.exp
1488 * gdb.base/gdb1090.exp
1489 * gdb.base/gdb1555.exp
1490 * gdb.base/global-var-nested-by-dso.exp
1491 * gdb.base/gnu-ifunc.exp
1492 * gdb.base/hbreak-in-shr-unsupported.exp
1493 * gdb.base/hbreak-unmapped.exp
1494 * gdb.base/hook-stop.exp
1495 * gdb.base/infcall-input.exp
1496 * gdb.base/info-fun.exp
1497 * gdb.base/info-shared.exp
1498 * gdb.base/interrupt-noterm.exp
1499 * gdb.base/jit-so.exp
1501 * gdb.base/line-symtabs.exp
1503 * gdb.base/longjmp.exp
1504 * gdb.base/macscp.exp
1505 * gdb.base/max-value-size.exp
1506 * gdb.base/nodebug.exp
1507 * gdb.base/nofield.exp
1508 * gdb.base/overlays.exp
1509 * gdb.base/paginate-after-ctrl-c-running.exp
1510 * gdb.base/paginate-bg-execution.exp
1511 * gdb.base/paginate-inferior-exit.exp
1512 * gdb.base/pending.exp
1513 * gdb.base/pr11022.exp
1514 * gdb.base/printcmds.exp
1515 * gdb.base/ptr-typedef.exp
1516 * gdb.base/ptype.exp
1517 * gdb.base/randomize.exp
1518 * gdb.base/range-stepping.exp
1519 * gdb.base/realname-expand.exp
1520 * gdb.base/relativedebug.exp
1521 * gdb.base/remote.exp
1522 * gdb.base/savedregs.exp
1523 * gdb.base/sepdebug.exp
1524 * gdb.base/set-noassign.exp
1525 * gdb.base/shlib-call.exp
1526 * gdb.base/shreloc.exp
1527 * gdb.base/sigaltstack.exp
1528 * gdb.base/sigbpt.exp
1529 * gdb.base/siginfo-addr.exp
1530 * gdb.base/siginfo-obj.exp
1531 * gdb.base/siginfo-thread.exp
1532 * gdb.base/signest.exp
1533 * gdb.base/signull.exp
1534 * gdb.base/sigrepeat.exp
1536 * gdb.base/so-impl-ld.exp
1537 * gdb.base/solib-corrupted.exp
1538 * gdb.base/solib-disc.exp
1539 * gdb.base/solib-display.exp
1540 * gdb.base/solib-overlap.exp
1541 * gdb.base/solib-search.exp
1542 * gdb.base/solib-symbol.exp
1543 * gdb.base/source-execution.exp
1544 * gdb.base/sss-bp-on-user-bp-2.exp
1545 * gdb.base/sss-bp-on-user-bp.exp
1546 * gdb.base/stack-checking.exp
1547 * gdb.base/stale-infcall.exp
1548 * gdb.base/step-break.exp
1549 * gdb.base/step-line.exp
1550 * gdb.base/step-over-exit.exp
1551 * gdb.base/step-test.exp
1552 * gdb.base/structs.exp
1553 * gdb.base/sym-file.exp
1554 * gdb.base/symtab-search-order.exp
1556 * gdb.base/type-opaque.exp
1557 * gdb.base/unload.exp
1558 * gdb.base/until-nodebug.exp
1559 * gdb.base/until.exp
1560 * gdb.base/unwindonsignal.exp
1561 * gdb.base/watch-cond.exp
1562 * gdb.base/watch-non-mem.exp
1563 * gdb.base/watch_thread_num.exp
1564 * gdb.base/watchpoint-reuse-slot.exp
1565 * gdb.base/watchpoint-solib.exp
1566 * gdb.base/watchpoint.exp
1567 * gdb.btrace/dlopen.exp
1569 * gdb.cell/break.exp
1573 * gdb.cell/dwarfaddr.exp
1574 * gdb.cell/ea-cache.exp
1575 * gdb.cell/ea-standalone.exp
1576 * gdb.cell/ea-test.exp
1577 * gdb.cell/f-regs.exp
1579 * gdb.cell/gcore.exp
1580 * gdb.cell/mem-access.exp
1581 * gdb.cell/ptype.exp
1582 * gdb.cell/registers.exp
1583 * gdb.cell/sizeof.exp
1584 * gdb.cell/solib-symbol.exp
1585 * gdb.cell/solib.exp
1586 * gdb.compile/compile-tls.exp
1587 * gdb.cp/exception.exp
1588 * gdb.cp/gdb2495.exp
1590 * gdb.cp/mb-inline.exp
1591 * gdb.cp/mb-templates.exp
1592 * gdb.cp/pr10687.exp
1594 * gdb.cp/scope-err.exp
1595 * gdb.cp/templates.exp
1596 * gdb.cp/virtfunc.exp
1597 * gdb.dwarf2/dw2-dir-file-name.exp
1598 * gdb.dwarf2/dw2-single-line-discriminators.exp
1599 * gdb.fortran/complex.exp
1600 * gdb.fortran/library-module.exp
1601 * gdb.guile/guile.exp
1602 * gdb.guile/scm-cmd.exp
1603 * gdb.guile/scm-frame-inline.exp
1604 * gdb.guile/scm-objfile.exp
1605 * gdb.guile/scm-pretty-print.exp
1606 * gdb.guile/scm-symbol.exp
1607 * gdb.guile/scm-type.exp
1608 * gdb.guile/scm-value.exp
1609 * gdb.linespec/keywords.exp
1610 * gdb.linespec/ls-errs.exp
1611 * gdb.linespec/macro-relative.exp
1612 * gdb.linespec/thread.exp
1613 * gdb.mi/mi-breakpoint-changed.exp
1614 * gdb.mi/mi-dprintf-pending.exp
1615 * gdb.mi/mi-fullname-deleted.exp
1616 * gdb.mi/mi-logging.exp
1617 * gdb.mi/mi-pending.exp
1618 * gdb.mi/mi-solib.exp
1619 * gdb.mi/new-ui-mi-sync.exp
1620 * gdb.mi/user-selected-context-sync.exp
1621 * gdb.multi/dummy-frame-restore.exp
1622 * gdb.multi/multi-arch-exec.exp
1623 * gdb.multi/remove-inferiors.exp
1624 * gdb.multi/watchpoint-multi-exit.exp
1625 * gdb.opt/solib-intra-step.exp
1626 * gdb.perf/backtrace.exp
1627 * gdb.perf/single-step.exp
1628 * gdb.perf/skip-command.exp
1629 * gdb.perf/skip-prologue.exp
1630 * gdb.perf/solib.exp
1631 * gdb.python/lib-types.exp
1632 * gdb.python/py-as-string.exp
1633 * gdb.python/py-bad-printers.exp
1634 * gdb.python/py-block.exp
1635 * gdb.python/py-breakpoint.exp
1636 * gdb.python/py-cmd.exp
1637 * gdb.python/py-events.exp
1638 * gdb.python/py-evthreads.exp
1639 * gdb.python/py-finish-breakpoint.exp
1640 * gdb.python/py-finish-breakpoint2.exp
1641 * gdb.python/py-frame-inline.exp
1642 * gdb.python/py-frame.exp
1643 * gdb.python/py-inferior.exp
1644 * gdb.python/py-infthread.exp
1645 * gdb.python/py-mi.exp
1646 * gdb.python/py-objfile.exp
1647 * gdb.python/py-pp-maint.exp
1648 * gdb.python/py-pp-registration.exp
1649 * gdb.python/py-prettyprint.exp
1650 * gdb.python/py-recurse-unwind.exp
1651 * gdb.python/py-shared.exp
1652 * gdb.python/py-symbol.exp
1653 * gdb.python/py-symtab.exp
1654 * gdb.python/py-template.exp
1655 * gdb.python/py-type.exp
1656 * gdb.python/py-unwind-maint.exp
1657 * gdb.python/py-unwind.exp
1658 * gdb.python/py-value.exp
1659 * gdb.python/python.exp
1660 * gdb.reverse/finish-reverse-bkpt.exp
1661 * gdb.reverse/insn-reverse.exp
1662 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1663 * gdb.reverse/solib-precsave.exp
1664 * gdb.reverse/solib-reverse.exp
1665 * gdb.stabs/gdb11479.exp
1666 * gdb.stabs/weird.exp
1667 * gdb.threads/fork-child-threads.exp
1668 * gdb.threads/fork-plus-threads.exp
1669 * gdb.threads/fork-thread-pending.exp
1670 * gdb.threads/forking-threads-plus-breakpoint.exp
1671 * gdb.threads/hand-call-in-threads.exp
1672 * gdb.threads/interrupted-hand-call.exp
1673 * gdb.threads/linux-dp.exp
1674 * gdb.threads/local-watch-wrong-thread.exp
1675 * gdb.threads/next-while-other-thread-longjmps.exp
1676 * gdb.threads/non-ldr-exit.exp
1677 * gdb.threads/pending-step.exp
1678 * gdb.threads/print-threads.exp
1679 * gdb.threads/process-dies-while-detaching.exp
1680 * gdb.threads/process-dies-while-handling-bp.exp
1681 * gdb.threads/pthreads.exp
1682 * gdb.threads/queue-signal.exp
1683 * gdb.threads/reconnect-signal.exp
1684 * gdb.threads/signal-command-handle-nopass.exp
1685 * gdb.threads/signal-command-multiple-signals-pending.exp
1686 * gdb.threads/signal-delivered-right-thread.exp
1687 * gdb.threads/signal-sigtrap.exp
1688 * gdb.threads/sigthread.exp
1689 * gdb.threads/staticthreads.exp
1690 * gdb.threads/stepi-random-signal.exp
1691 * gdb.threads/thread-unwindonsignal.exp
1692 * gdb.threads/thread_check.exp
1693 * gdb.threads/thread_events.exp
1694 * gdb.threads/tid-reuse.exp
1695 * gdb.threads/tls-nodebug.exp
1696 * gdb.threads/tls-shared.exp
1697 * gdb.threads/tls-so_extern.exp
1698 * gdb.threads/tls.exp
1699 * gdb.threads/wp-replication.exp
1700 * gdb.trace/actions-changed.exp
1701 * gdb.trace/actions.exp
1702 * gdb.trace/backtrace.exp
1703 * gdb.trace/change-loc.exp
1704 * gdb.trace/collection.exp
1705 * gdb.trace/deltrace.exp
1706 * gdb.trace/disconnected-tracing.exp
1707 * gdb.trace/entry-values.exp
1708 * gdb.trace/ftrace-lock.exp
1709 * gdb.trace/ftrace.exp
1710 * gdb.trace/infotrace.exp
1711 * gdb.trace/mi-trace-frame-collected.exp
1712 * gdb.trace/mi-trace-unavailable.exp
1713 * gdb.trace/mi-traceframe-changed.exp
1714 * gdb.trace/mi-tracepoint-changed.exp
1715 * gdb.trace/mi-tsv-changed.exp
1716 * gdb.trace/no-attach-trace.exp
1717 * gdb.trace/packetlen.exp
1718 * gdb.trace/passc-dyn.exp
1719 * gdb.trace/passcount.exp
1720 * gdb.trace/pending.exp
1721 * gdb.trace/pr16508.exp
1722 * gdb.trace/qtro.exp
1723 * gdb.trace/range-stepping.exp
1724 * gdb.trace/read-memory.exp
1725 * gdb.trace/report.exp
1726 * gdb.trace/save-trace.exp
1727 * gdb.trace/signal.exp
1728 * gdb.trace/stap-trace.exp
1729 * gdb.trace/status-stop.exp
1730 * gdb.trace/strace.exp
1731 * gdb.trace/tfile.exp
1732 * gdb.trace/tfind.exp
1733 * gdb.trace/trace-break.exp
1734 * gdb.trace/trace-condition.exp
1735 * gdb.trace/trace-enable-disable.exp
1736 * gdb.trace/trace-mt.exp
1737 * gdb.trace/tracecmd.exp
1738 * gdb.trace/tracefile-pseudo-reg.exp
1739 * gdb.trace/tspeed.exp
1740 * gdb.trace/tstatus.exp
1742 * gdb.trace/unavailable.exp
1743 * gdb.trace/while-dyn.exp
1744 * gdb.trace/while-stepping.exp
1747 * lib/mi-support.exp
1750 * lib/prelink-support.exp
1751 * lib/selftest-support.exp
1753 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1755 * Makefile.in: Include disable-implicit-rules.mk.
1757 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1759 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1760 non-byte-aligned bit fields.
1762 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1765 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1766 respects the DW_AT_data_bit_offset attribute.
1768 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1770 * gdb.base/default.exp: Fix output of "set language".
1772 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1774 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1775 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1777 * configure.ac: Remove checks for the make program.
1778 * configure: Re-generate.
1780 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1782 * gdb.python/py-recurse-unwind.c (main): Add loop.
1783 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1784 to read_register() and gdb.parse_and_eval(). Make each code
1785 call a separate case that can be individually tested.
1786 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1787 proc. Call cont_and_backtrace for each of the code paths that
1788 we want to test in the unwinder.
1790 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1792 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1793 the definition of struct S.
1795 2016-11-11 Catherine Moore <clm@codesourcery.com>
1797 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1799 2016-11-09 Pedro Alves <palves@redhat.com>
1801 * gdb.base/commands.exp (runto_or_return): New procedure.
1802 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1803 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1804 (progvar_simple_while_test, progvar_complex_if_while_test)
1805 (if_while_breakpoint_command_test)
1806 (infrun_breakpoint_command_test, breakpoint_command_test)
1807 (user_defined_command_test, watchpoint_command_test)
1808 (test_command_prompt_position, redefine_hook_test)
1809 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1810 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1811 multi_line_input and multi_line. Remove gdb_expect and
1812 gdb_stop_suppressing_tests uses.
1813 * lib/gdb.exp (valnum_re): New global.
1814 (multi_line_input): New procedure.
1816 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1818 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1820 (test_setup): Define with proc_with_prefix.
1821 (test_cli_inferior): Likewise.
1822 (test_cli_thread): Likewise.
1823 (test_cli_frame): Likewise.
1824 (test_cli_select_frame): Likewise.
1825 (test_cli_up_down): Likewise.
1826 (test_mi_thread_select): Likewise.
1827 (test_mi_stack_select_frame): Likewise.
1828 (test_cli_in_mi_inferior): Likewise.
1829 (test_cli_in_mi_thread): Likewise.
1830 (test_cli_in_mi_frame): Likewise.
1831 (top level): Do not use with_test_prefix_procname.
1833 2016-11-09 Pedro Alves <palves@redhat.com>
1835 * gdb.base/commands.exp (gdbvar_simple_if_test)
1836 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1837 (progvar_simple_if_test, progvar_simple_while_test)
1838 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1839 (infrun_breakpoint_command_test, breakpoint_command_test)
1840 (user_defined_command_test, watchpoint_command_test)
1841 (test_command_prompt_position, deprecated_command_test)
1842 (bp_deleted_in_command, temporary_breakpoint_commands)
1843 (stray_arg0_test, source_file_with_indented_comment)
1844 (recursive_source_test, if_commands_test)
1845 (error_clears_commands_left, redefine_hook_test)
1846 (redefine_backtrace_test): Use proc_with_prefix.
1847 * lib/gdb.exp (proc_with_prefix): New proc.
1849 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1851 * gdb.base/tui-layout.c: New file.
1852 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1853 disassembly window contains very long lines.
1855 2016-11-08 Tom Tromey <tom@tromey.com>
1857 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1860 2016-11-08 Tom Tromey <tom@tromey.com>
1862 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1865 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1867 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1869 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1871 * gdb.rust/simple.rs: Add test for univariant enums without
1872 discriminants and for encoded struct-like enums.
1874 2016-10-28 Pedro Alves <palves@redhat.com>
1876 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1877 gdb_test_multiple, tighten regexps and match symtabs and line
1878 tables incrementally.
1880 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
1882 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
1885 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
1887 * gdb.base/exec-invalid-sysroot.exp: New file.
1889 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1891 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
1893 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1895 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
1897 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
1899 * gdb.base/killed-outside.exp: Remove $options from a call to
1900 `prepare_for_testing'.
1902 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1904 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1905 Change test message.
1907 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1909 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1912 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1914 * gdb.trace/mi-trace-save.exp: New file.
1916 2016-10-13 Yao Qi <yao.qi@linaro.org>
1918 * gdb.base/code_elim.exp (get_var_address): Remove.
1919 * gdb.base/relocate.exp: Likewise.
1920 * gdb.base/shreloc.exp: Likewise.
1921 * lib/gdb.exp (get_var_address): New.
1923 2016-10-13 Yao Qi <yao.qi@linaro.org>
1925 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
1926 floating point tests if $skip_float_test is false.
1928 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
1930 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
1931 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
1933 Add 1 to argc so we guarantee distinct initial/modified argc values.
1935 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1937 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
1939 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1941 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1942 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1943 * gdb.arch/vsx-regs.exp: Likewise.
1945 2016-10-07 Yao Qi <yao.qi@linaro.org>
1947 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1949 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1951 * gdb.python/python.exp: Test decode_line("*0").
1953 2016-10-06 Doug Evans <dje@google.com>
1955 * gdb.python/py-value.exp (test_value_creation): Add test for large
1956 unsigned 64-bit value.
1958 2016-10-06 Tom Tromey <tom@tromey.com>
1960 * gdb.compile/compile.exp: Change java tests to rust.
1961 * gdb.base/setshow.exp: Change java tests to rust.
1962 * gdb.base/default.exp: Remove java from language list.
1963 * README (Examples): Update language example.
1964 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1966 * lib/gdb.exp (skip_java_tests): Remove.
1967 * lib/java.exp: Remove.
1970 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1972 * gdb.arch/mips-fcr.exp: New test.
1973 * gdb.arch/mips-fcr.c: Source for the new test.
1975 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1977 * gdb.base/solib-disc.exp: Use `standard_output_file'
1980 2016-10-06 Pedro Alves <palves@redhat.com>
1982 * gdb.base/jit-simple-dl.c: New file.
1983 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1984 * gdb.base/jit-simple.c: ... this.
1985 * gdb.base/jit-simple.exp (jit_run): Delete.
1986 (build_jit): New proc.
1987 (jit_test_reread): Recompile either the main program or the shared
1988 library, depending on what is being tested. Skip changing address
1989 if caller wants to. Compare before/after addresses. If testing
1990 standalone, explicitly load the binary. Test "maint info
1992 (top level): Add "standalone vs shared lib" and "change address"
1993 vs "same address" axes.
1995 2016-10-06 Pedro Alves <palves@redhat.com>
1997 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2000 (jit_test_reread): Use with_test_prefix. Reload the main binary
2001 explicitly. Compare the before/after addresses of the JIT
2004 2016-08-15 Doug Evans <dje@google.com>
2006 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2007 for single bitfields is bool.
2008 * gdb.xml/tdesc-regs.exp: Ditto.
2010 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2012 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2014 2016-10-05 Yao Qi <yao.qi@linaro.org>
2016 * lib/gdb.exp (support_complex_tests): Return zero if
2017 gdb_skip_float_test return true.
2019 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2020 Simon Marchi <simon.marchi@ericsson.com>
2023 * gdb.mi/user-selected-context-sync.exp: New file.
2024 * gdb.mi/user-selected-context-sync.c: New file.
2026 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2027 Simon Marchi <simon.marchi@ericsson.com>
2030 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2031 =thread-select-event check.
2033 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2035 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2036 the compulsory L operand changes.
2037 * gdb.arch/powerpc-power.s: Likewise.
2039 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2041 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2042 * gdb.base/jit-attach-pie.c: New file.
2043 * gdb.base/jit-attach-pie.exp: New file.
2045 2016-09-28 Pedro Alves <palves@redhat.com>
2047 * gdb.base/infcall-input.c: New file.
2048 * gdb.base/infcall-input.exp: New file.
2050 2016-09-22 Yao Qi <yao.qi@linaro.org>
2052 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2053 (gdb_exit): Rename it to ...
2054 (gdbserver_gdb_exit): ... Close GDBserver.
2055 (gdb_exit): New proc, call gdbserver_gdb_exit.
2056 (mi_gdb_exit): Likewise.
2058 2016-09-22 Yao Qi <yao.qi@linaro.org>
2060 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2062 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2065 2016-09-22 Yao Qi <yao.qi@linaro.org>
2067 * lib/gdbserver-support.exp: Check the existence of
2068 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2070 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2072 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2074 2016-09-21 Tom Tromey <tom@tromey.com>
2077 * gdb.base/quit.exp: New file.
2079 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2081 * .gitignore: New file.
2083 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2085 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2088 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2090 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2092 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 * gdb.cp/casts.cc (decltype): Move it ...
2095 (main): ... with its call to ...
2096 * gdb.cp/casts03.cc: ... a new file.
2097 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2099 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2101 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2103 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2105 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2106 and sync up the test with tests in gas/testsuite/gas/ppc.
2107 * gdb.arch/powerpc-power.exp: Likewise.
2109 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2111 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2113 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2114 Jan Kratochvil <jan.kratochvil@redhat.com>
2116 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2117 make m1's definition to be different from m2's. Use 'dummy' as an
2118 argument for probe 'two'.
2120 2016-09-10 Jon Beniston <jon@beniston.com>
2122 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2125 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2127 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2128 variable declaration.
2129 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2130 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2131 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2132 received HWCAP as its argument.
2134 2016-09-06 Pedro Alves <palves@redhat.com>
2136 * gdb.base/new-ui-pending-input.c: New file.
2137 * gdb.base/new-ui-pending-input.exp: New file.
2138 * gdb.exp (clear_gdb_spawn_id): New procedure.
2139 (with_spawn_id): Check whether gdb_spawn_id exists before
2140 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2143 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2145 * gdb.base/float128.c: New file.
2146 * gdb.base/float128.exp: Likewise.
2147 * gdb.base/floatn.c: Likewise.
2148 * gdb.base/floatn.exp: Likewise.
2150 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2152 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2154 2016-09-05 Pedro Alves <palves@redhat.com>
2157 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2158 unwinders are immediately called as side effect of "source" or
2159 "disable unwinder" commands.
2160 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2162 2016-09-02 Yao Qi <yao.qi@linaro.org>
2164 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2165 is true and $type is "float" or "double".
2167 2016-09-02 Yao Qi <yao.qi@linaro.org>
2169 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2171 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2172 * gdb.base/call-rt-st.exp: Likewise.
2173 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2174 return value instead of gdb,skip_float_test.
2175 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2176 (do_function_calls): Use its return value instead of
2177 gdb,skip_float_test.
2178 * gdb.base/finish.exp: Likewise.
2179 * gdb.base/funcargs.exp: Likewise.
2180 * gdb.base/return.exp: Likewise.
2181 * gdb.base/return2.exp: Likewise.
2182 * gdb.base/varargs.exp: Likewise.
2183 * lib/gdb.exp (gdb_skip_float_test): Change it to
2184 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2186 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2188 * gdb.multi/tids.exp: Test "thread apply all".
2190 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2192 * gdb.base/default.exp (tty): Remove.
2194 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2196 * gdb.python/py-recurse-unwind.c: New file.
2197 * gdb.python/py-recurse-unwind.py: New file.
2198 * gdb.python/py-recurse-unwind.exp: New file.
2200 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2202 * gdb.base/set-inferior-tty.exp: New file.
2203 * gdb.base/set-inferior-tty.c: New file.
2205 2016-08-23 Pedro Alves <palves@redhat.com>
2208 * gdb.base/new-ui-echo.c: New file.
2209 * gdb.base/new-ui-echo.exp: New file.
2211 2016-08-23 Yao Qi <yao.qi@linaro.org>
2213 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2215 * gdb.server/connect-without-multi-process.exp (do_test):
2218 2016-08-23 Yao Qi <yao.qi@linaro.org>
2220 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2221 standalone_txt. Delete gdb_txt and standalone_txt on host
2222 and target. Spawn the binary on target. Copy files from
2225 2016-08-22 Pedro Alves <palves@redhat.com>
2228 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2229 with_test_prefix. Factor out bits to ...
2230 (test_no_vdso): ... this new procedure.
2232 2016-08-19 Carl Love <cel@us.ibm.com>
2234 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2235 maintaining separate logic for constructing the output path.
2236 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2237 * gdb.arch/ppc-dfp.exp: Likewise.
2238 * gdb.arch/ppc-fp.exp: Likewise.
2239 * gdb.arch/vsx-regs.exp: Likewise.
2240 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2241 binprefix for generating the additional binary files.
2243 2016-08-19 Pedro Alves <palves@redhat.com>
2245 * gdb.trace/mi-trace-frame-collected.exp
2246 (test_trace_frame_collected): On x32, expect two registers.
2248 2016-08-18 Carl Love <cel@us.ibm.com>
2250 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2251 and sync up the test with tests in gas/testsuite/gas/ppc.
2252 * gdb.arch/powerpc-power.exp: Likewise.
2254 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2256 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2257 expected error message.
2259 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2261 * gdb.multi/remove-inferiors.exp: New file.
2262 * gdb.multi/remove-inferiors.c: New file.
2264 2016-08-12 Yao Qi <yao.qi@linaro.org>
2266 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2269 2016-08-10 Pedro Alves <palves@redhat.com>
2272 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2275 2016-08-09 Pedro Alves <palves@redhat.com>
2276 Simon Marchi <simon.marchi@ericsson.com>
2279 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2280 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2282 2016-08-09 Pedro Alves <palves@redhat.com>
2285 * gdb.mi/mi-cmd-error.exp: New file.
2287 2016-08-09 Pedro Alves <palves@redhat.com>
2290 * gdb.base/signals-state-child.c: New file.
2291 * gdb.base/signals-state-child.exp: New file.
2292 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2294 2016-08-09 Pedro Alves <palves@redhat.com>
2296 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2298 2016-08-03 Tom Tromey <tom@tromey.com>
2301 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2303 2016-08-01 Yao Qi <yao.qi@linaro.org>
2305 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2306 variable mode to "multi-process" if $multi_process is 1, otherwise
2307 set it to "single-process".
2309 2016-08-01 Yao Qi <yao.qi@linaro.org>
2311 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2312 * gdb.cp/cpexprs.exp: Likewise.
2313 * gdb.cp/m-static.exp: Likewise.
2315 2016-07-26 Tom Tromey <tom@tromey.com>
2318 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2321 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2323 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2324 selecting assembly source files.
2325 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2326 assembly source files.
2327 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2328 assembly source files.
2329 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2330 selecting assembly source files.
2332 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2334 * gdb.base/new-ui.exp (do_test_invalid_args): New
2337 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2339 * gdb.btrace/reconnect.c: New file.
2340 * gdb.btrace/reconnect.exp: New file.
2342 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2344 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2345 to test_catch_syscall_group.
2346 (test_catch_syscall_group): New.
2348 2016-07-21 Tom Tromey <tom@tromey.com>
2350 * gdb.rust/simple.rs (main): Use empty struct expression.
2351 * gdb.rust/simple.exp: Add tests for empty struct expression.
2353 2016-07-21 Yao Qi <yao.qi@linaro.org>
2355 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2356 if gdb_skip_xml_test is true on some targets.
2358 2016-07-21 Yao Qi <yao.qi@linaro.org>
2360 * gdb.server/solib-list.exp: Unset last_loaded_file.
2362 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2364 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2365 "step into captured_main (args)".
2367 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2369 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2371 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2373 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2375 2016-07-19 Pedro Alves <palves@redhat.com>
2377 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2378 * gdb.opt/inline-bt.exp: Likewise.
2379 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2380 additional_flags=-Winline.
2381 * gdb.opt/inline-locals.exp: Likewise.
2382 * gdb.opt/inline-markers.c (ATTR): Define.
2383 (inlined_fn): Use it.
2385 2016-07-19 Yao Qi <yao.qi@linaro.org>
2387 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2388 (test_with_self): Remove some code. Remove argument executable.
2389 (top-level): Use do_self_tests.
2391 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2392 Don Breazeal <donb@codesourcery.com>
2394 * gdb.base/maint.exp: Escape paths used in regular expressions.
2395 * gdb.stabs/weird.exp: Likewise.
2397 2016-07-13 Tom Tromey <tom@tromey.com>
2399 PR python/15620, PR python/18620:
2400 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2401 (test_bkpt_events): New procs.
2403 2016-07-13 Tom Tromey <tom@tromey.com>
2406 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2408 (test_watchpoints): Likewise.
2409 (test_bkpt_pending): New proc.
2411 2016-07-13 Tom Tromey <tom@tromey.com>
2414 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2417 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2419 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2420 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2421 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2423 (g): Rename g_end_lbl to g_label.
2424 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2426 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2428 2016-07-12 Tom Tromey <tom@tromey.com>
2431 * gdb.python/py-unwind-maint.exp: Update tests.
2433 2016-07-12 Yao Qi <yao.qi@linaro.org>
2435 * lib/selftest-support.exp (selftest_setup): Match the output
2436 when captured_main is inlined.
2438 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2440 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2442 (print this%a, print this%b, print this): New tests.
2443 * gdb.fortran/derived-types.f90 (this): New object and
2446 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2448 * gdb.ada/arraydim.exp: Remove extra directory level in build
2451 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2453 * lib/ada.exp: Remove extra directory level in build directory.
2454 * gdb.ada/cond_lang.exp: Likewise.
2455 * gdb.ada/exec_changed.exp: Likewise.
2456 * gdb.ada/lang_switch.exp: Likewise.
2458 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2460 * simple.rs: Add test for raw pointer subscripting.
2461 * simple.exp: Add test expectations.
2463 2016-07-05 Yao Qi <yao.qi@linaro.org>
2465 * gdb.mi/mi-reverse.exp: Match =record-started output.
2467 2016-07-01 Pedro Alves <palves@redhat.com>
2469 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2471 (jit_reader_test): Test the jit reader's unwinder.
2472 * gdb.base/jithost.c (jit_function_00_code): New global.
2473 (main): Use memcpy to fill in the mmapped code, instead of poking
2474 bytes manually here.
2475 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2477 (read_debug_info): Save the function's range.
2478 (read_sp): New function.
2479 (unwind_frame): Use it. Also unwind RBP.
2480 (get_frame_id): Use read_sp.
2481 (gdb_init_reader): Use calloc instead of malloc.
2482 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2483 parameter. Use gdb_test_multiple.
2485 2016-07-01 Pedro Alves <palves@redhat.com>
2486 Antoine Tremblay <antoine.tremblay@ericsson.com>
2488 * gdb.threads/process-dies-while-detaching.c: New file.
2489 * gdb.threads/process-dies-while-detaching.exp: New file.
2491 2016-07-01 Pedro Alves <palves@redhat.com>
2493 * gdb.multi/watchpoint-multi-exit.c: New file.
2494 * gdb.multi/watchpoint-multi-exit.exp: New file.
2496 2016-06-30 Pedro Alves <palves@redhat.com>
2498 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2499 unset inferior_spawn_id.
2501 2016-06-30 Pedro Alves <palves@redhat.com>
2503 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2504 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2506 2016-06-29 Yao Qi <yao.qi@linaro.org>
2508 * gdb.base/return.c: Add copyright header.
2510 2016-06-29 Tom Tromey <tom@tromey.com>
2513 * gdb.python/py-framefilter.exp: Add tests for setting priority
2514 and disabling of non-existent frame filter.
2516 2016-06-29 Yao Qi <yao.qi@linaro.org>
2518 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2521 2016-06-28 Yao Qi <yao.qi@linaro.org>
2523 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2524 triplets. Start gdb, execute catch syscall, and continue. Check
2525 gdb's output to determine catch syscall is supported.
2527 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2529 * gdb.rust/simple.rs: Add test for returning unit in a function.
2530 * gdb.rust/simple.exp: Add expectation for functions returning
2533 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2535 * gdb.python/py-breakpoint-create-fail.c,
2536 gdb.python/py-breakpoint-create-fail.exp,
2537 gdb.python/py-breakpoint-create-fail.py: New testcase.
2539 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2542 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2543 * gdb.rust/simple.exp: Add test expectations for new NonZero
2546 2016-06-24 David Taylor <dtaylor@emc.com>
2548 * gdb.base/offsets.exp: New file.
2549 * gdb.base/offsets.c: New file.
2551 2016-06-23 Tom Tromey <tom@tromey.com>
2554 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2555 before any filters are loaded.
2557 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2559 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2560 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2562 * gdb.fortran/derived-type-function.exp: New file.
2563 * gdb.fortran/derived-type-function.f90: New file.
2566 2016-06-21 Pedro Alves <palves@redhat.com>
2568 * gdb.base/new-ui.exp: New file.
2569 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2570 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2571 (with_spawn_id): New procedure.
2573 2016-06-21 Pedro Alves <palves@redhat.com>
2575 * gdb.mi/mi-exec-run.exp: New file.
2577 2016-06-21 Pedro Alves <palves@redhat.com>
2579 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2580 breakpoint command's output on the main UI.
2581 (test_break): New procedure, factored out from calls in the top
2583 (top level): Use foreach_with_prefix to test MI as main UI and as
2586 2016-06-21 Pedro Alves <palves@redhat.com>
2588 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2589 (test_awatch_creation_and_listing)
2590 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2591 Remove 'type' parameter.
2592 (test_watchpoint_all): New parameter mi_mode. Remove
2594 (top level): Use foreach_with_prefix, and add main/separate UI MI
2597 2016-06-21 Pedro Alves <palves@redhat.com>
2599 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2600 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2601 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2602 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2603 (gdb_main_spawn_id, mi_spawn_id): Declare and
2605 (mi_create_inferior_pty): New procedure,
2606 factored out from default_mi_gdb_start.
2607 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2609 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2610 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2611 Use mi_create_inferior_pty.
2612 (mi_gdb_start): Use eval to pass down args list.
2614 2016-06-21 Pedro Alves <palves@redhat.com>
2616 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2617 * gdb.opt/inline-cmds.exp: Add MI tests.
2619 2016-06-21 Pedro Alves <palves@redhat.com>
2621 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2623 2016-06-21 Pedro Alves <palves@redhat.com>
2625 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2626 (top level): Use it instead of mi_execute_to.
2628 2016-06-21 Pedro Alves <palves@redhat.com>
2630 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2631 (cont_handler_str): New.
2632 (signal_stop_handler): Set stop_handler_str instead of printing to
2634 (continue_handler): Set cont_handler_str instead of printing to
2636 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2637 mi_send_resuming_command. Print stop_handler_str and
2638 cont_handler_str instead of expecting the python events print
2641 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2643 * gdb.base/jit-reader.exp: New file.
2644 * gdb.base/jithost.c: New file.
2645 * gdb.base/jithost.h: New file.
2646 * gdb.base/jitreader.c : New file.
2647 * gdb.base/jit-protocol.h: New file.
2649 2016-06-17 Yao Qi <yao.qi@linaro.org>
2651 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2652 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2653 and detach-on-fork. Adjust tests.
2654 (top level): Invoke break_cond_on_syscall with combinations of
2655 syscall, follow-fork-mode and detach-on-fork.
2657 2016-06-17 Yao Qi <yao.qi@linaro.org>
2659 * gdb.base/step-over-exit.c: New.
2660 * gdb.base/step-over-exit.exp: New.
2662 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2664 * gdb.base/float.exp: Add target check for nds32*-*-*.
2665 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2667 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2669 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2670 for unsupported target features.
2671 * gdb.base/call-rt-st.exp: Likewise.
2672 * gdb.base/call-sc.exp: Likewise.
2673 * gdb.base/call-signal-resume.exp: Likewise.
2674 * gdb.base/call-strs.exp: Likewise.
2675 * gdb.base/callexit.exp: Likewise.
2676 * gdb.base/callfuncs.exp: Likewise.
2677 * gdb.base/nodebug.exp: Likewise.
2678 * gdb.base/printcmds.exp: Likewise.
2679 * gdb.base/ptype.exp: Likewise.
2680 * gdb.base/structs.exp: Likewise.
2681 * gdb.base/unwindonsignal.exp: Likewise.
2682 * gdb.cp/gdb2495.exp: Likewise.
2683 * gdb.cp/templates.exp: Likewise.
2684 * gdb.cp/virtfunc.exp: Likewise.
2685 * gdb.threads/hand-call-in-threads.exp: Likewise.
2686 * gdb.threads/interrupted-hand-call.exp: Likewise.
2687 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2689 2016-06-10 Tom Tromey <tom@tromey.com>
2692 * gdb.rust/expr.exp: Add test for integer constant larger than
2695 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2697 * gdb.fortran/nested-funcs.exp: New.
2698 * gdb.fortran/nested-funcs.f90: New.
2700 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2702 * gdb.base/examine-backward.c: New file.
2703 * gdb.base/examine-backward.exp: New file.
2705 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2707 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2710 2016-06-02 Tom Tromey <tom@tromey.com>
2713 * gdb.python/py-shared.exp: Add solib_name test.
2715 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2717 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2719 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2722 * gdb.dwarf2/implref.exp: Rename to...
2723 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2724 * gdb.dwarf2/implref-array.c: New file.
2725 * gdb.dwarf2/implref-array.exp: Likewise.
2726 * gdb.dwarf2/implref-global.c: Likewise.
2727 * gdb.dwarf2/implref-global.exp: Likewise.
2728 * gdb.dwarf2/implref-struct.c: Likewise.
2729 * gdb.dwarf2/implref-struct.exp: Likewise.
2731 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2733 * gdb.trace/trace-condition.exp: Add 64bit tests.
2735 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2737 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2739 (main): Adapt to 8 to 64 bits types.
2740 * gdb.trace/trace-condition.exp: Add new tests.
2742 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2744 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2746 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2748 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2749 Move condition tests...
2750 * gdb.trace/trace-condition.exp: Here.
2752 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2754 * gdb.trace/trace-condition.exp: Add counter-case tests.
2756 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2759 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2760 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2762 2016-05-27 Pedro Alves <palves@redhat.com>
2764 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2766 (top level): Call it, and bail out of DejaGnu is known to be bad.
2768 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2770 * gdb.base/whatis.c: Extend the test case.
2771 * gdb.base/whatis.exp: Add additional tests.
2773 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2775 * gdb.fortran/type.f90: Add pointer variable.
2776 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2778 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2780 * gdb.fortran/vla-type.exp: Fix testcase name.
2782 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2784 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2786 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2788 * gdb.fortran/type.f90: Add nested structures.
2789 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2790 * gdb.fortran/derived-type.exp: Adapt expected output.
2791 * gdb.fortran/vla-type.exp: Adapt expected output.
2793 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2795 * gdb.fortran/whatis_type.exp: Adapt expected output.
2797 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2799 * gdb.fortran/print_type.exp: Fix expected output.
2800 * gdb.fortran/whatis_type.exp: Fix expected output.
2802 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2804 * gdb.fortran/whatis_type.exp: Use multi_line.
2806 2016-05-24 Tom Tromey <tom@tromey.com>
2809 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2810 use value as an index.
2812 2016-05-23 Tom Tromey <tom@tromey.com>
2815 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2818 2016-05-24 Pedro Alves <palves@redhat.com>
2821 * gdb.threads/clone-attach-detach.c: New file.
2822 * gdb.threads/clone-attach-detach.exp: New file.
2824 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2826 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2828 2016-05-23 Tom Tromey <tom@tromey.com>
2830 PR python/19438, PR python/18393:
2831 * gdb.python/py-progspace.exp: Add "dir" test.
2832 * gdb.python/py-objfile.exp: Add "dir" test.
2834 2016-05-23 Yao Qi <yao.qi@linaro.org>
2836 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2837 * gdb.arch/thumb2-it.exp: Likewise.
2839 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2841 * gdb.mi/mi-threads-interrupt.c: New file.
2842 * gdb.mi/mi-threads-interrupt.exp: New file.
2844 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2847 * gdb.mi/mi-async-run.exp: New file.
2848 * gdb.mi/mi-async-run.c: New file.
2850 2016-05-17 Tom Tromey <tom@tromey.com>
2851 Manish Goregaokar <manishsmail@gmail.com>
2853 * lib/rust-support.exp: New file.
2854 * lib/gdb.exp (skip_rust_tests): New proc.
2855 (build_executable_from_specs): Handle rust.
2856 * lib/future.exp (gdb_find_rustc): New proc.
2857 (gdb_default_target_compile): Handle rust.
2858 * gdb.rust/expr.exp: New file.
2859 * gdb.rust/generics.exp: New file.
2860 * gdb.rust/generics.rs: New file.
2861 * gdb.rust/methods.exp: New file.
2862 * gdb.rust/methods.rs: New file.
2863 * gdb.rust/modules.exp: New file.
2864 * gdb.rust/modules.rs: New file.
2865 * gdb.rust/simple.exp: New file.
2866 * gdb.rust/simple.rs: New file.
2868 2016-05-17 Tom Tromey <tom@tromey.com>
2870 * gdb.base/default.exp (set language): Add rust.
2872 2016-05-17 Tom Tromey <tom@tromey.com>
2874 * gdb.gdb/unittest.exp: New file.
2876 2016-05-16 Yao Qi <yao.qi@linaro.org>
2878 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2879 shell_prompt. Update shell_prompt_re.
2881 2016-05-12 Doug Evans <dje@google.com>
2884 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
2885 $options when building executable.
2886 * gdb.dwarf2/fission-loclists-pie.S: New file.
2887 * gdb.dwarf2/fission-loclists-pie.exp: New file.
2889 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2891 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
2892 of [is_remote target],
2894 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2896 * lib/gdb.exp (use_gdb_stub): New procedure.
2898 2016-05-03 Yunlian Jiang <yunlian@google.com>
2899 Doug Evans <dje@google.com>
2902 * gdb.dwarf2/dwp-sepdebug.c: New file.
2903 * gdb.dwarf2/dwp-sepdebug.exp: New file.
2905 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2907 * gdb.base/detach.exp: Remove is_remote check.
2909 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2911 * gdb.base/annota-input-while-running.exp: Don't check for
2912 [is_remote target]. Enable annotations after running to main.
2913 Remove unused "set test..." line.
2915 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2917 * gdb.trace/trace-enable-disable.exp: New file.
2918 * gdb.trace/trace-enable-disable.c: New file.
2920 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2922 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
2923 use it in info sharedlibrary test.
2924 * gdb.trace/ftrace-lock.exp: Likewise.
2925 * gdb.trace/ftrace.exp: Likewise.
2926 * gdb.trace/range-stepping.exp: Likewise.
2927 * gdb.trace/trace-break.exp: Likewise.
2928 * gdb.trace/trace-condition.exp: Likewise.
2929 * gdb.trace/trace-mt.exp: Likewise.
2931 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2933 * lib/gdb.exp (gdb_load_shlibs): Rename to...
2934 (gdb_load_shlib): ... this.
2935 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
2937 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2938 * gdb.base/ctxobj.exp: Likewise.
2939 * gdb.base/dprintf-pending.exp: Likewise.
2940 * gdb.base/dso2dso.exp: Likewise.
2941 * gdb.base/fixsection.exp: Likewise.
2942 * gdb.base/gcore-relro.exp: Likewise.
2943 * gdb.base/gdb1555.exp: Likewise.
2944 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2945 * gdb.base/gnu-ifunc.exp: Likewise.
2946 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2947 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2948 * gdb.base/pending.exp: Likewise.
2949 * gdb.base/print-file-var.exp: Likewise.
2950 * gdb.base/print-symbol-loading.exp: Likewise.
2951 * gdb.base/shlib-call.exp: Likewise.
2952 * gdb.base/shreloc.exp: Likewise.
2953 * gdb.base/so-impl-ld.exp: Likewise.
2954 * gdb.base/solib-disc.exp: Likewise.
2955 * gdb.base/solib-nodir.exp: Likewise.
2956 * gdb.base/solib-overlap.exp: Likewise.
2957 * gdb.base/solib-symbol.exp: Likewise.
2958 * gdb.base/solib-weak.exp (do_test): Likewise.
2959 * gdb.base/sym-file.exp: Likewise.
2960 * gdb.base/symtab-search-order.exp: Likewise.
2961 * gdb.base/type-opaque.exp: Likewise.
2962 * gdb.base/unload.exp: Likewise.
2963 * gdb.base/watchpoint-solib.exp: Likewise.
2964 * gdb.compile/compile.exp: Likewise.
2965 * gdb.cp/gdb2384.exp: Likewise.
2966 * gdb.cp/infcall-dlopen.exp: Likewise.
2967 * gdb.cp/re-set-overloaded.exp: Likewise.
2968 * gdb.fortran/library-module.exp: Likewise.
2969 * gdb.opt/solib-intra-step.exp: Likewise.
2970 * gdb.python/py-finish-breakpoint.exp: Likewise.
2971 * gdb.python/py-shared.exp: Likewise.
2972 * gdb.reverse/solib-precsave.exp: Likewise.
2973 * gdb.reverse/solib-reverse.exp: Likewise.
2974 * gdb.server/solib-list.exp: Likewise.
2975 * gdb.threads/dlopen-libpthread.exp: Likewise.
2976 * gdb.threads/tls-shared.exp: Likewise.
2977 * gdb.threads/tls-so_extern.exp: Likewise.
2978 * gdb.trace/change-loc.exp: Likewise.
2979 * gdb.trace/ftrace-lock.exp: Likewise.
2980 * gdb.trace/ftrace.exp: Likewise.
2981 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2982 * gdb.trace/pending.exp: Likewise.
2983 * gdb.trace/range-stepping.exp: Likewise.
2984 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2985 (strace_info_marker): Likewise.
2986 (strace_probe_marker): Likewise.
2987 (strace_trace_on_same_addr): Likewise.
2988 (strace_trace_on_diff_addr): Likewise.
2989 * gdb.trace/trace-break.exp: Likewise.
2990 * gdb.trace/trace-condition.exp: Likewise.
2991 * gdb.trace/trace-mt.exp: Likewise.
2993 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2995 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2996 result of gdb_remote_download.
2997 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2998 * gdb.base/dso2dso.exp: Likewise.
2999 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3000 * gdb.base/print-file-var.exp: Likewise.
3001 * gdb.base/shlib-call.exp: Likewise.
3002 * gdb.base/shreloc.exp: Likewise.
3003 * gdb.base/solib-overlap.exp: Likewise.
3004 * gdb.base/solib-weak.exp (do_test): Likewise.
3005 * gdb.base/unload.exp: Likewise.
3007 2016-04-27 Yao Qi <yao.qi@linaro.org>
3009 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3012 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3014 * vla-type.exp: Print structure from toplevel.
3016 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3018 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3020 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3023 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3025 * gdb.fortran/vla-type.f90: New file.
3026 * gdb.fortran/vla-type.exp: New file.
3028 2016-04-25 Yao Qi <yao.qi@linaro.org>
3030 * gdb.base/branch-to-self.c: New file.
3031 * gdb.base/branch-to-self.exp: New file.
3033 2016-04-22 Yao Qi <yao.qi@linaro.org>
3035 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3038 2016-04-22 Yao Qi <yao.qi@linaro.org>
3040 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3041 * gdb.base/annota3.exp: Likewise.
3043 2016-04-22 Yao Qi <yao.qi@linaro.org>
3045 * gdb.reverse/step-precsave.exp: Do one step and test program
3046 stops in "callee" and do multiple steps until program goes out
3048 * gdb.reverse/step-reverse.exp: Likewise.
3050 2016-04-22 Yao Qi <yao.qi@linaro.org>
3052 * gdb.trace/signal.exp: Also pass if
3053 $tracepoint_hits($i) > $iterations.
3055 2016-04-22 Yao Qi <yao.qi@linaro.org>
3057 * gdb.trace/signal.c: New file.
3058 * gdb.trace/signal.exp: New file.
3060 2016-04-19 Doug Evans <xdje42@gmail.com>
3062 * gdb.base/bad-file.exp: New file.
3064 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3066 * gdb.dwarf2/implref.exp: New file.
3068 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3070 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3071 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3072 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3073 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3074 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3075 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3076 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3077 * lib/fortran.exp (fortran_int4): New procedure.
3078 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3079 (fortran_logical4): Likewise.
3081 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3083 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3085 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3087 * lib/compiler.c: Add Intel specific preprocessor macros.
3088 * lib/compiler.cc: Likewise.
3090 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3092 * gdb.server/connect-with-no-symbol-file.c: New file.
3093 * gdb.server/connect-with-no-symbol-file.exp: New file.
3095 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3097 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3099 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3101 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3102 standard output directory.
3104 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3106 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3108 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3110 * gdb.btrace/instruction_history.c (loop): Add declaration.
3112 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3114 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3116 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3118 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3119 parentheses to print.
3120 (continue_handler): Likewise.
3122 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3124 * gdb.server/solib-list.exp: Remove is_remote check.
3125 Pass shlib= to gdb_compile. Don't link shared library with
3126 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3127 Run binary filename through "readlink -f" on the target.
3129 2016-04-08 Pedro Alves <palves@redhat.com>
3131 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3132 interpreter filename as argument to gdbserver_spawn.
3133 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3134 Return empty if $last_loaded_file does not exist.
3136 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3138 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3139 * gdb.base/jit-main.c: Use exit after usage.
3141 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3143 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3144 GDBHISTSIZE prior to the tests.
3145 * gdb.base/gdbinit-history.exp: Likewise.
3147 2016-04-07 Pedro Alves <palves@redhat.com>
3149 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3150 instead of build_executable. Use gdb_load_shlibs.
3152 2016-04-07 Yao Qi <yao.qi@linaro.org>
3154 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3155 Execute "si" command.
3157 2016-04-07 Yao Qi <yao.qi@linaro.org>
3159 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3160 number instead of the comments on some line.
3162 2016-04-06 Don Breazeal <donb@codesourcery.com>
3164 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3165 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3167 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3169 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3170 standard_output_file. Remove unused binfile variable.
3172 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3174 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3175 * gdb.python/py-mi-objfile.exp: Match "list main" output
3178 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3180 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3183 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3185 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3187 * gdb.trace/ftrace.exp: Likewise.
3188 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3190 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3191 (gdb_load_shlibs): Copy libraries to test directory when testing
3192 natively. Only set solib-search-path if testing remotely.
3193 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3195 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3197 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3198 gdb_download. Use it even if the target is not remote.
3199 * gdb.base/jit.exp (compile_jit_test): Likewise.
3200 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3201 output directory if the destination board is local, otherwise use
3202 the standard remote_download from DejaGnu.
3203 (gdb_download): Remove.
3204 (gdb_load_shlibs): Use gdb_remote_download instead of
3206 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3207 Use gdb_remote_download instead of gdb_download. Use it even if
3208 the target is not remote.
3209 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3210 instead of gdb_download.
3212 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3214 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3215 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3218 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3221 * gdb.base/printcmds.exp: Add artificial arrays tests.
3223 2016-03-31 Pedro Alves <palves@redhat.com>
3226 * gdb.base/jit-main.c: Include unistd.h.
3227 (ATTACH): Define to 0 if not already defined.
3228 (wait_for_gdb, mypid): New globals.
3229 (WAIT_FOR_GDB): New macro.
3230 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3231 some breakpoint locations.
3232 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3234 (one_jit_test): Add REATTACH parameter, and handle it. Use
3235 continue_to_test_location.
3236 (top level): Test attach, and adjusts calls to one_jit_test.
3238 2016-03-31 Pedro Alves <palves@redhat.com>
3241 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3242 BINSUFFIX parameter, and handle it.
3243 (top level): Adjust calls compile_jit_test.
3245 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3248 * gdb.python/py-mi-events-gdb.py: New file.
3249 * gdb.python/py-mi-events.c: New file.
3250 * gdb.python/py-mi-events.exp: New file.
3252 2016-03-30 Yao Qi <yao.qi@linaro.org>
3254 * gdb.reverse/until-precsave.exp: Match function name only.
3255 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3256 Move malloc to a condition block.
3257 * gdb.reverse/until-reverse.exp: Match function name only.
3259 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3261 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3262 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3263 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3264 variable for GPR 0 instead of assuming it is register 0.
3265 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3266 * lib/trace-support.exp: Add s390 registers.
3268 2016-03-29 Yao Qi <yao.qi@linaro.org>
3270 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3272 2016-03-24 Yao Qi <yao.qi@linaro.org>
3274 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3277 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3279 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3280 maintaining separate logic for constructing the output path.
3282 2016-03-16 Don Breazeal <donb@codesourcery.com>
3284 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3285 Retry fork and waitpid on interrupted system call errors.
3286 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3287 Use with_timeout_factor to increase timeout by factor of 10.
3289 2016-03-15 Don Breazeal <donb@codesourcery.com>
3291 * gdb.cp/scope-err.cc: New test program.
3292 * gdb.cp/scope-err.exp: New test script.
3293 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3294 lines and "set breakpoint here" comment.
3295 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3296 Fixed some whitespace and format issues.
3297 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3298 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3300 2016-03-15 Doug Evans <dje@google.com>
3302 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3303 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3304 All callers updated. Add tests for enums, mixed flags register.
3306 2016-03-15 Doug Evans <dje@google.com>
3308 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3309 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3311 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3313 * gdb.base/default.exp: Add $_as_string to the list of expected
3314 convenience functions.
3316 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3318 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3320 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3322 * gdb.python/py-as-string.exp: New file.
3323 * gdb.python/py-as-string.c: New file.
3325 2016-03-09 Pedro Alves <palves@redhat.com>
3327 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3328 signal" -> "Thread NN received signal" output change.
3329 * gdb.threads/ia64-sigill.exp: Likewise.
3330 * gdb.threads/linux-dp.exp: Likewise.
3331 * gdb.threads/manythreads.exp: Likewise.
3332 * gdb.threads/pending-step.exp: Likewise.
3333 * gdb.threads/print-threads.exp: Likewise.
3334 * gdb.threads/sigstep-threads.exp: Likewise.
3335 * gdb.threads/staticthreads.exp: Likewise.
3336 * gdb.threads/tls.exp: Likewise.
3338 2016-03-09 Pedro Alves <palves@redhat.com>
3340 * gdb.base/command-line-input.exp: New file.
3342 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3344 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3345 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3346 * gdb.trace/pending.exp: Accept leading dot before function name.
3347 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3348 * lib/trace-support.exp: Set registers for ppc.
3350 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3352 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3353 use it for disassembly; accept .main in addition to main in backtrace.
3355 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3356 Marcin Kościelnicki <koriakin@0x04.net>
3358 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3359 (gdb_recursion_test_ptr): New global variable.
3360 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3362 (gdb_c_test): Ditto.
3364 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3366 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3369 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3371 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3372 (bar): Add bar_start_lbl label.
3373 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3374 of foo/bar for emitting DWARF and tracing.
3376 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3378 * analyze-racy-logs.py: Set executable bit.
3380 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3382 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3383 (CHECK_TARGET_TMP): Likewise.
3384 (check-single-racy): New rule.
3385 (check-parallel-racy): Likewise.
3386 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3387 (do-check-parallel-racy): New rule.
3388 (check-racy/%.exp): Likewise.
3389 * README (Racy testcases): New section.
3390 * analyze-racy-logs.py: New file.
3392 2016-03-03 Doug Evans <dje@google.com>
3394 * gdb.base/skip.exp: Use with_test_prefix.
3396 2016-03-03 Yao Qi <yao.qi@linaro.org>
3398 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3399 Invoke step_over_syscall "clone" and break_cond_on_syscall
3401 * gdb.base/step-over-clone.c: New file.
3403 2016-03-03 Yao Qi <yao.qi@linaro.org>
3405 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3408 2016-03-03 Yao Qi <yao.qi@linaro.org>
3410 * gdb.base/disp-step-fork.c: Rename to ...
3411 * gdb.base/step-over-fork.c: ... it. New file.
3412 * gdb.base/disp-step-vfork.c: Rename to ...
3413 * gdb.base/step-over-vfork.c: ... it. New file.
3414 * gdb.base/disp-step-syscall.exp: Rename to ...
3415 * gdb.base/step-over-syscall.exp: ... it. New file.
3416 (disp_step_cross_syscall): Rename to ...
3417 (step_over_syscall): ... it.
3419 2016-03-03 Yao Qi <yao.qi@linaro.org>
3421 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3422 If target supports condition evaluation on target, invoke
3423 break_cond_on_syscall for fork and vfork.
3425 2016-03-03 Yao Qi <yao.qi@linaro.org>
3427 * gdb.base/disp-step-syscall.exp: Don't invoke
3428 support_displaced_stepping.
3429 (disp_step_cross_syscall): Test with displaced stepping off and
3432 2016-03-03 Yao Qi <yao.qi@linaro.org>
3434 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3437 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3440 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3442 * gdb.fortran/vla-history.exp: Remove breakpoint.
3444 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3446 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3449 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3451 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3454 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3456 * gdb.mi/vla.f90: Nullify pointer after declaration.
3458 2016-03-01 Pedro Alves <palves@redhat.com>
3460 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3462 2016-03-01 Pedro Alves <palves@redhat.com>
3464 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3465 before anything else.
3466 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3468 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3469 before anything else.
3470 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3472 2016-03-01 Pedro Alves <palves@redhat.com>
3474 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3476 2016-03-01 Yao Qi <yao.qi@linaro.org>
3478 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3479 prepare_for_testing.
3481 2016-03-01 Yao Qi <yao.qi@linaro.org>
3483 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3485 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3487 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3488 manually constructing the output path.
3490 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3492 * gdb.arch/s390-stackless.S: New.
3493 * gdb.arch/s390-stackless.exp: New.
3495 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3497 * gdb.dlang/circular.c: New file.
3498 * gdb.dlang/circular.exp: New file.
3500 2016-02-26 Yao Qi <yao.qi@linaro.org>
3502 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3503 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3504 (testcases): Update.
3506 2016-02-26 Yao Qi <yao.qi@linaro.org>
3508 * gdb.reverse/aarch64.c: Rename to ...
3509 * gdb.reverse/insn-reverse.c: ... it.
3510 * gdb.reverse/aarch64.exp: Rename to ...
3511 * gdb.reverse/insn-reverse.exp: ... it.
3513 2016-02-26 Yao Qi <yao.qi@linaro.org>
3515 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3516 (testcase_ftype): New.
3517 (testcases): New array.
3519 (main): Call each element in testcases.
3520 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3521 (read_testcase): New.
3522 Do the tests in a loop.
3524 2016-02-25 Yao Qi <yao.qi@linaro.org>
3526 * gdb.base/branches.c: Remove.
3528 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3531 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3533 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3535 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3537 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3539 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3540 change x86_64 call_insn to 'callq'.
3542 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3544 * gdb.trace/tfile-avx.c: Move to...
3545 * gdb.trace/tracefile-pseudo-reg.c: Here.
3546 * gdb.trace/tfile-avx.exp: Move to...
3547 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3549 2016-02-24 Gary Benson <gbenson@redhat.com>
3551 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3554 2016-02-23 Doug Evans <dje@google.com>
3556 * gdb.base/skip.c (test_skip): New function.
3557 (end_test_skip_file_and_function): New function.
3558 (test_skip_file_and_function): New function.
3559 * gdb.base/skip1.c (test_skip): New function.
3560 (skip1_test_skip_file_and_function): New function.
3561 * gdb.base/skip.exp: Add tests for new skip options.
3562 * gdb.base/skip-solib.exp: Update expected output.
3563 * gdb.perf/skip-command.cc: New file.
3564 * gdb.perf/skip-command.exp: New file.
3565 * gdb.perf/skip-command.py: New file.
3567 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3569 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3570 info registers pattern.
3572 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3574 * lib/future.exp: Add D support.
3575 (gdb_find_gdc): New proc.
3576 (gdb_default_target_compile): Add D support.
3578 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3580 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3582 (trace_speed_test): Determine the iteration count for a time
3583 between 15..30 seconds.
3585 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3587 * gdb.arch/i386-mpx-sigsegv.c: New file.
3588 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3589 * gdb.arch/i386-mpx-simple_segv.c: New file.
3590 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3592 2016-02-18 Yao Qi <yao.qi@linaro.org>
3594 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3595 Don't call setup_kfail.
3597 2016-02-18 Yao Qi <yao.qi@linaro.org>
3599 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3600 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3602 2016-02-16 Doug Evans <dje@google.com>
3604 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3605 * gdb.base/skip1.c: Ditto.
3606 * gdb.base/skip.exp: Whitespace cleanup.
3608 2016-02-16 Don Breazeal <donb@codesourcery.com>
3611 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3612 Remove kfail for PR remote/19496.
3614 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3616 * lib/gdb.exp (standard_temp_file): Return a path specific to
3617 the runtest invocation.
3619 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3621 * gdb.trace/save-trace.exp: Change relative path to be in the
3622 standard output directory.
3624 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3626 * gdb.arch/i386-prologue.c: Add missing prototypes.
3628 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3630 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3631 * gdb.arch/i386-prologue.exp: Likewise.
3632 * gdb.arch/i386-size.exp: Likewise.
3634 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3636 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3637 define object file path.
3638 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3640 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3641 standard_output_file to define binfile.
3643 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3645 Fix compatibility with recent gfortran-5.3.1.
3646 * gdb.fortran/vla-history.exp (print vla1 allocated)
3647 (print vla2 allocated, print $2, print $3): Remove
3648 (print $4): Rename to ...
3649 (print $2): ... here.
3650 (print $9): Rename to ...
3651 (print $5): ... here.
3652 (print $10): Rename to ...
3653 (print $6): ... here.
3654 * gdb.fortran/vla.f90: Add pvla initialization.
3656 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3658 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3660 * gdb.fortran/vla-value-sub.exp: Likewise.
3662 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3664 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3666 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3668 * i386-biarch-core.exp: Define corefile using
3669 standard_output_file.
3671 2016-02-12 Yao Qi <yao.qi@linaro.org>
3673 * gdb.arch/arm-single-step-kernel-helper.c: New.
3674 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3676 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3678 * gdb.btrace/tailcall-only.exp: New.
3679 * gdb.btrace/tailcall-only.c: New.
3680 * gdb.btrace/x86_64-tailcall-only.S: New.
3681 * gdb.btrace/i686-tailcall-only.S: New.
3683 2016-02-11 Pedro Alves <palves@redhat.com>
3685 * README (Parallel testing): Add missing double quotes.
3687 2016-02-11 Pedro Alves <palves@redhat.com>
3689 * README (Parallel testing): New section.
3690 (GDB_PARALLEL): Rewrite.
3691 (FORCE_PARALLEL): Document.
3693 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3695 * gdb.trace/tfile-avx.c: New test.
3696 * gdb.trace/tfile-avx.exp: New test.
3698 2016-02-09 Keith Seitz <keiths@redhat.com>
3700 PR breakpoints/19546
3701 * gdb.base/infcall-exec.c: New file.
3702 * gdb.base/infcall-exec2.c: New file.
3703 * gdb.base/infcall-exec.exp: New file.
3705 2016-02-09 Keith Seitz <keiths@redhat.com>
3707 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3708 (toplevel): Call test_bkpt_address.
3710 2016-02-09 Keith Seitz <keiths@redhat.com>
3713 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3714 (toplevel): Call test_bkpt_address.
3716 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3718 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3720 * configure: Regenerate.
3722 2016-02-09 Pedro Alves <palves@redhat.com>
3724 PR breakpoints/19548
3725 * gdb.base/execl-update-breakpoints.c (some_function): New
3728 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3729 Tighten expected GDB output.
3731 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3733 * Makefile.in (ALL_SUBDIRS): Remove.
3734 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3735 (distclean maintainer-clean realclean): Likewise.
3736 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3737 * configure: Regenerate.
3738 * gdb.ada/Makefile.in: Delete.
3739 * gdb.arch/Makefile.in: Likewise.
3740 * gdb.asm/Makefile.in: Likewise.
3741 * gdb.base/Makefile.in: Likewise.
3742 * gdb.btrace/Makefile.in: Likewise.
3743 * gdb.cell/Makefile.in: Likewise.
3744 * gdb.compile/Makefile.in: Likewise.
3745 * gdb.cp/Makefile.in: Likewise.
3746 * gdb.disasm/Makefile.in: Likewise.
3747 * gdb.dlang/Makefile.in: Likewise.
3748 * gdb.dwarf2/Makefile.in: Likewise.
3749 * gdb.fortran/Makefile.in: Likewise.
3750 * gdb.gdb/Makefile.in: Likewise.
3751 * gdb.go/Makefile.in: Likewise.
3752 * gdb.guile/Makefile.in: Likewise.
3753 * gdb.java/Makefile.in: Likewise.
3754 * gdb.linespec/Makefile.in: Likewise.
3755 * gdb.mi/Makefile.in: Likewise.
3756 * gdb.modula2/Makefile.in: Likewise.
3757 * gdb.multi/Makefile.in: Likewise.
3758 * gdb.objc/Makefile.in: Likewise.
3759 * gdb.opencl/Makefile.in: Likewise.
3760 * gdb.opt/Makefile.in: Likewise.
3761 * gdb.pascal/Makefile.in: Likewise.
3762 * gdb.perf/Makefile.in: Likewise.
3763 * gdb.python/Makefile.in: Likewise.
3764 * gdb.reverse/Makefile.in: Likewise.
3765 * gdb.server/Makefile.in: Likewise.
3766 * gdb.stabs/Makefile.in: Likewise.
3767 * gdb.threads/Makefile.in: Likewise.
3768 * gdb.trace/Makefile.in: Likewise.
3769 * gdb.xml/Makefile.in: Likewise.
3770 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3772 (standard_output_file): Remove check for GDB_PARALLEL, always
3773 return path in outputs/$subdir/$testname.
3775 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3777 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3778 (site.exp): Assign abs_srcdir to tcl's srcdir.
3780 2016-02-04 Yao Qi <yao.qi@linaro.org>
3782 * gdb.base/foll-exec-mode.c: Include limits.h.
3783 (main): Add parameters argc and argv. Get directory from
3785 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3787 * gdb.base/foll-exec.c: Include limits.h.
3788 (main): Add parameters argc and argv.
3789 Get directory from argv[0].
3790 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3791 Adjust tests on the number of lines as source code changed.
3792 * gdb.base/foll-vfork-exit.c: Include limits.h.
3793 (main): Add one line of statement before vfork.
3794 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3795 (main): Add parameters argc and argv. Get directory from
3797 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3798 (setup_gdb): Set tbreak to skip some source lines.
3799 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3800 (main): Add parameters argc and argv. Get directory from
3802 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3804 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3805 (main): Add parameters argc and argv. Get directory from
3807 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3810 2016-02-01 Doug Evans <dje@google.com>
3812 * gdb.base/skip.exp: Clean up multiple references to same test name.
3814 2016-02-01 Pedro Alves <palves@redhat.com>
3817 * gdb.threads/forking-threads-plus-breakpoint.exp
3818 (displaced_stepping_supported): New global.
3819 (probe_displaced_stepping_support): New procedure.
3820 (do_test): Add 'displaced' parameter, and use it.
3821 (top level): Check for displaced stepping support. Add displaced
3822 stepping on/off testing axis.
3824 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3826 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3827 pointer. Don't perform further tests on the unassociated pointer
3828 if the first test fails.
3830 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3832 * gdb.base/max-value-size.c: New file.
3833 * gdb.base/max-value-size.exp: New file.
3834 * gdb.base/huge.exp: Disable max-value-size for this test.
3836 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3838 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3840 2016-01-28 Yao Qi <yao.qi@linaro.org>
3842 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3844 2016-01-25 Pedro Alves <palves@redhat.com>
3847 * gdb.base/fork-running-state.c: New file.
3848 * gdb.base/fork-running-state.exp: New file.
3850 2016-01-25 Pedro Alves <palves@redhat.com>
3853 * gdb.base/catch-fork-kill.c: New file.
3854 * gdb.base/catch-fork-kill.exp: New file.
3856 2016-01-25 Pedro Alves <palves@redhat.com>
3858 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3859 Delete, moved to lib/gdb.exp.
3860 * gdb.threads/forking-threads-plus-breakpoint.exp
3861 (foreach_with_prefix): Likewise.
3862 * gdb.threads/process-dies-while-handling-bp.exp
3863 (foreach_with_prefix): Likewise.
3864 * lib/gdb.exp (foreach_with_prefix): New procedure.
3866 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3868 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3869 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3871 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3873 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3876 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3877 Pedro Alves <palves@redhat.com>
3879 Fix testsuite compatibility with Guile.
3880 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
3883 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3885 Fix testsuite compatibility with Guile.
3886 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
3887 (thread 1): New test for backtrace through signal handler.
3889 2016-01-22 Yao Qi <yao.qi@linaro.org>
3892 * gdb.base/multi-forks.c: Include
3893 ../lib/unbuffer_output.c
3894 (main): Call gdb_unbuffer_output.
3896 2016-01-21 Doug Evans <dje@google.com>
3898 * lib/ada.exp (gdb_compile_ada): Fix typo.
3900 2016-01-21 Joel Brobecker <brobecker@adacore.com>
3902 * gdb.base/break-fun-addr.exp: New file.
3903 * gdb.base/break-fun-addr1.c: New file.
3904 * gdb.base/break-fun-addr2.c: New file.
3906 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
3908 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
3909 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
3912 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3914 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
3915 when GDB can not set the vector return value. Add more comments
3918 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
3920 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
3923 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3925 * Makefile.in (DO_RUNTEST): Add --status and update usages.
3927 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3929 * Makefile.in (check-single): Pass --status to runtest.
3930 (check/%.exp): Likewise.
3932 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3934 * Makefile.in (check-parallel): Propagate return code from make
3937 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
3939 * gdb.trace/ftrace.exp: Fix expected message on continue.
3940 * gdb.trace/pending.exp: Fix expected message on continue.
3941 * gdb.trace/trace-break.exp: Fix expected message on continue.
3943 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3945 * lib/gdb.exp (gdb_test): Remove unused global references.
3947 2016-01-18 Pedro Alves <palves@redhat.com>
3949 * gdb.base/async-shell.exp: Adjust expected output.
3950 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3951 * gdb.base/siginfo-thread.exp: Adjust expected output.
3952 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3953 * gdb.java/jnpe.exp: Adjust expected output.
3954 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3955 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3956 * gdb.threads/leader-exit.exp: Adjust expected output.
3957 * gdb.threads/manythreads.exp: Adjust expected output.
3958 * gdb.threads/pthreads.exp: Adjust expected output.
3959 * gdb.threads/schedlock.exp: Adjust expected output.
3960 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3961 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3963 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3965 * gdb.threads/sigthread.exp: Adjust expected output.
3966 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3968 2016-01-18 Yao Qi <yao.qi@linaro.org>
3970 * gdb.guile/scm-section-script.c: Replace @progbits with
3972 * gdb.python/py-section-script.c: Likewise.
3974 2016-01-15 Pedro Alves <palves@redhat.com>
3976 * gdb.multi/tids.exp: Test star wildcard ranges.
3978 2016-01-15 Pedro Alves <palves@redhat.com>
3980 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3981 command from "thread apply" invocation.
3982 (thr_apply_info_thr_invalid): Default the expected output to the
3984 (top level): Add tests that use convenience variables. Add tests
3985 for "thread apply" with a valid TID list, but missing the command.
3987 2016-01-13 Pedro Alves <palves@redhat.com>
3989 * gdb.base/default.exp: Expect $_gthread as well.
3990 * gdb.multi/tids.exp: Test $_gthread.
3991 * gdb.threads/thread-specific.exp: Test $_gthread.
3993 2016-01-13 Pedro Alves <palves@redhat.com>
3995 * gdb.multi/tids.exp: Test "info threads -gid".
3997 2016-01-13 Pedro Alves <palves@redhat.com>
3999 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4001 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4003 2016-01-07 Pedro Alves <palves@redhat.com>
4005 * gdb.base/break.exp: Adjust to output changes.
4006 * gdb.base/hbreak2.exp: Likewise.
4007 * gdb.base/sepdebug.exp: Likewise.
4008 * gdb.base/watch_thread_num.exp: Likewise.
4009 * gdb.linespec/keywords.exp: Likewise.
4010 * gdb.multi/info-threads.exp: Likewise.
4011 * gdb.threads/thread-find.exp: Likewise.
4012 * gdb.multi/tids.c: New file.
4013 * gdb.multi/tids.exp: New file.
4015 2016-01-13 Pedro Alves <palves@redhat.com>
4017 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4019 2016-01-13 Pedro Alves <palves@redhat.com>
4021 * gdb.base/default.exp: Expect $_inferior as well.
4022 * gdb.multi/base.exp: Test $_inferior.
4024 2016-01-13 Pedro Alves <palves@redhat.com>
4026 PR breakpoints/19388
4027 * gdb.base/catch-signal-siginfo-cond.c: New file.
4028 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4030 2016-01-12 Josh Stone <jistone@redhat.com>
4031 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4033 * gdb.base/catch-syscall.c (do_execve): New variable.
4034 (main): Conditionally trigger an execve.
4035 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4036 (test_catch_syscall_execve): New, check entry/return across execve.
4037 (do_syscall_tests): Call test_catch_syscall_execve.
4039 2016-01-12 Pedro Alves <palves@redhat.com>
4041 * gdb.base/random-signal.exp (do_test): New procedure, with body
4042 of testcase moved in.
4044 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4045 Pedro Alves <palves@redhat.com>
4047 * gdb.base/funcargs.exp (finish from indirectly called function):
4048 Reintroduce the case for 'First'.
4050 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4051 Pedro Alves <palves@redhat.com>
4053 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4054 (tcatch_vfork_then_child_follow_exec)
4055 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4058 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4060 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4061 and repeats to unlimited.
4062 * gdb.python/py-value.exp: Likewise.
4063 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4064 and repeats to unlimited.
4066 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4068 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4069 and reordering the functions.
4070 * gdb.multi/hangout.c: Likewise.
4071 * gdb.multi/hello.c: Likewise.
4073 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4075 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4077 (SingleStatisticTestResult.report): Use dict.keys instead of
4080 2016-01-06 Pedro Alves <palves@redhat.com>
4082 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4084 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4086 * gdb.btrace/dlopen.exp: New.
4087 * gdb.btrace/dlopen.c: New.
4088 * gdb.btrace/dlopen-dso.c: New.
4090 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4092 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4093 PATTERN argument is optional.
4095 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4097 * lib/ada.exp (target_compile_ada_from_dir): New function.
4098 (gdb_compile_ada): Reimplement avoiding the use of project files.
4099 * gdb.ada/gnat_ada.gpr: Delete.
4100 * gdb.ada/cond_lang.exp: Adjust test to make path before
4102 * gdb.ada/small_reg_param.exp: Likewise.
4104 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4106 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4108 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4110 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4113 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4115 * gdb.base/break.exp: Remove dead code.
4116 * gdb.base/sepdebug.exp: Likewise.
4118 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4120 * gdb.asm/asm-source.exp: Remove HP-UX references.
4121 * gdb.base/annota1.exp: Likewise.
4122 * gdb.base/annota3.exp: Likewise.
4123 * gdb.base/attach.exp: Likewise.
4124 * gdb.base/bigcore.exp: Likewise.
4125 * gdb.base/break.exp: Likewise.
4126 * gdb.base/call-ar-st.exp: Likewise.
4127 * gdb.base/callfuncs.exp: Likewise.
4128 * gdb.base/catch-fork-static.exp: Likewise.
4129 * gdb.base/display.exp: Likewise.
4130 * gdb.base/foll-exec-mode.exp: Likewise.
4131 * gdb.base/foll-exec.exp: Likewise.
4132 * gdb.base/foll-fork.exp: Likewise.
4133 * gdb.base/foll-vfork.exp: Likewise.
4134 * gdb.base/funcargs.exp: Likewise.
4135 * gdb.base/hbreak2.exp: Likewise.
4136 * gdb.base/inferior-died.exp: Likewise.
4137 * gdb.base/interrupt.exp: Likewise.
4138 * gdb.base/multi-forks.exp: Likewise.
4139 * gdb.base/nodebug.exp: Likewise.
4140 * gdb.base/sepdebug.exp: Likewise.
4141 * gdb.base/solib1.c: Likewise.
4142 * gdb.base/step-test.exp: Likewise.
4143 * gdb.mi/non-stop.c: Likewise.
4144 * gdb.mi/pthreads.c: Likewise.
4145 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4146 * gdb.threads/pthreads.c: Likewise.
4147 * gdb.threads/staticthreads.exp: Likewise.
4148 * lib/future.exp: Likewise.
4149 * lib/gdb.exp: Likewise.
4150 * gdb.base/so-indr-cl.c: Remove.
4151 * gdb.base/so-indr-cl.exp: Likewise.
4152 * gdb.base/solib.c: Likewise.
4153 * gdb.base/solib.exp: Likewise.
4154 * gdb.base/solib2.c: Likewise.
4156 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4158 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4159 * gdb.base/call-ar-st.exp: Likewise.
4160 * gdb.base/callfuncs.exp: Likewise.
4161 * gdb.base/condbreak.exp: Likewise.
4162 * gdb.base/constvars.exp: Likewise.
4163 * gdb.base/hbreak2.exp: Likewise.
4164 * gdb.base/langs.exp: Likewise.
4165 * gdb.base/list.exp: Likewise.
4166 * gdb.base/long_long.exp: Likewise.
4167 * gdb.base/ptype.exp: Likewise.
4168 * gdb.base/scope.exp: Likewise.
4169 * gdb.base/signals.exp: Likewise.
4170 * gdb.base/so-impl-ld.exp: Likewise.
4171 * gdb.base/varargs.exp: Likewise.
4172 * gdb.base/volatile.exp: Likewise.
4173 * gdb.base/whatis.exp: Likewise.
4174 * gdb.cp/cplusfuncs.exp: Likewise.
4175 * gdb.cp/inherit.exp: Likewise.
4176 * gdb.cp/local.exp: Likewise.
4177 * gdb.cp/member-ptr.exp: Likewise.
4178 * gdb.cp/method.exp: Likewise.
4179 * gdb.cp/overload.exp: Likewise.
4180 * gdb.cp/templates.exp: Likewise.
4181 * gdb.stabs/weird.exp: Likewise.
4182 * lib/compiler.c: Likewise.
4183 * lib/compiler.cc: Likewise.
4184 * lib/cp-support.exp: Likewise.
4185 * lib/gdb.exp: Likewise.
4187 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4189 * configure.ac: Remove HP-UX case.
4190 * configure: Regenerate.
4192 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4194 * lib/gdb.exp (gdb_compile): Add function doc.
4196 2015-12-17 Pedro Alves <palves@redhat.com>
4199 * gdb.multi/info-threads.exp: New file.
4201 2015-12-15 Yao Qi <yao.qi@linaro.org>
4203 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4206 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4208 * gdb.base/history-duplicates.exp: Skip if no readline support.
4210 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4212 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4214 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4216 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4218 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4220 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4221 ctrl-C if nointerrupts target property is set.
4222 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4223 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4224 * gdb.base/paginate-bg-execution.exp: Likewise.
4225 * gdb.base/paginate-execution-startup.exp: Likewise.
4226 * gdb.base/random-signal.exp: Likewise.
4227 * gdb.base/range-stepping.exp: Likewise.
4228 * gdb.cp/annota2.exp: Likewise.
4229 * gdb.cp/annota3.exp: Likewise.
4230 * gdb.gdb/selftest.exp: Likewise.
4231 * gdb.threads/continue-pending-status.exp: Likewise.
4232 * gdb.threads/leader-exit.exp: Likewise.
4233 * gdb.threads/manythreads.exp: Likewise.
4234 * gdb.threads/pthreads.exp: Likewise.
4235 * gdb.threads/schedlock.exp: Likewise.
4236 * gdb.threads/sigthread.exp: Likewise.
4238 2015-12-11 Don Breazeal <donb@codesourcery.com>
4240 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4242 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4243 * gdb.base/foll-exec.exp (main): Enable for target remote.
4244 * gdb.base/foll-fork.exp (main): Likewise.
4245 * gdb.base/foll-vfork.exp (main): Likewise.
4246 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4247 (proc continue_to_exit_bp_loc): Use clean_restart.
4248 * gdb.base/pie-execl.exp (main): Disable for target remote.
4249 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4250 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4251 * gdb.threads/execl.exp (main): Likewise.
4252 * gdb.threads/fork-child-threads.exp (main): Likewise.
4253 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4255 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4257 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4258 pid.tid style ptids, instead of just tid.
4259 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4260 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4261 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4262 ptids, instead of just tid.
4264 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4266 * gdb.base/list.exp (test_list_forward): Add end of file error
4268 (test_repeat_list_command): Add end of file error test.
4269 (test_list_backwards): Add beginning of file error test.
4271 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4273 * gdb.base/list.exp (test_list_invalid_args): New function,
4274 defined, and called.
4276 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4278 * gdb.base/list.exp (test_list): Make test names unique.
4280 2015-12-11 Yao Qi <yao.qi@linaro.org>
4282 * gdb.base/coremaker2.c: Remove.
4284 2015-12-10 Pedro Alves <palves@redhat.com>
4286 * gdb.multi/base.exp: Remove stale "spaces" references.
4288 2015-12-10 Pedro Alves <palves@redhat.com>
4290 * gdb.multi/base.exp: Don't use nowarnings.
4291 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4292 * gdb.multi/hangout.c: Include stdio.h.
4293 * gdb.multi/hello.c: Include stdlib.h.
4294 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4295 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4296 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4298 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4300 * gdb.dwarf2/dw2-ranges-base.c: New file.
4301 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4302 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4303 support additional line table, and debug ranges generation.
4304 (Dwarf::ranges): New function, generate .debug_ranges.
4305 (Dwarf::lines): Support generating simple line table programs.
4306 (Dwarf::assemble): Initialise new namespace variables.
4308 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4310 * gdb.base/async.exp (proc test_background): Add case for
4311 asynchronous execution not supported.
4313 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4315 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4316 format and change test names to make them unique.
4318 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4319 Pedro Alves <pedro@redhat.com>
4322 Add checking of floatformats setup on x86_64 hosts.
4323 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4324 (smallval, bigval): New labels/constants.
4325 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4326 float" after loading bigval and smallval.
4328 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4330 * gdb.ada/fun_overload_menu.exp: New testcase.
4331 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4333 2015-12-04 Josh Stone <jistone@redhat.com>
4335 * gdb.base/catch-fork-static.exp: New.
4337 2015-12-03 Yao Qi <yao.qi@linaro.org>
4339 * gdb.base/sizeof.c: Don't include stdio.h and
4340 ../lib/unbuffer_output.c.
4341 (main): New variable 'size' and 'value'. Remove printf and
4342 gdb_unbuffer_output. Assign return value to size and value.
4343 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4345 (check_sizeof): Check the result by printing variable 'size'.
4346 (check_valueof): Check the result by printing variable 'value'.
4348 2015-12-01 Yao Qi <yao.qi@linaro.org>
4350 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4351 for aarch64*-*-linux* target.
4353 2015-11-30 Pedro Alves <palves@redhat.com>
4355 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4357 2015-11-30 Pedro Alves <palves@redhat.com>
4359 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4360 Handle non-stop mode vCont replies.
4362 2015-11-30 Pedro Alves <palves@redhat.com>
4364 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4365 prepare_for_testing. Start gdb with "set non-stop on" appended to
4366 GDBFLAGS. Lax expected stop output.
4368 2015-11-27 Yao Qi <yao.qi@linaro.org>
4370 * gdb.arch/arm-neon.exp: New.
4371 * gdb.arch/arm-neon.c: New.
4373 2015-11-27 Yao Qi <yao.qi@linaro.org>
4375 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4377 2015-11-27 Yao Qi <yao.qi@linaro.org>
4379 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4380 frames-invalid annotation.
4382 2015-11-27 Yao Qi <yao.qi@linaro.org>
4384 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4386 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4388 * gdb.threads/names.exp: New file.
4389 * gdb.threads/names.c: New file.
4390 * README: Mention gdb,no_thread_names.
4392 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4395 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4398 2015-11-24 Pedro Alves <palves@redhat.com>
4401 * gdb.base/display.exp: Expect displays to be sorted in ascending
4402 order. Use multi_line.
4403 * gdb.base/solib-display.exp: Likewise.
4405 2015-11-24 Pedro Alves <palves@redhat.com>
4408 * gdb.base/display.exp: Expect displays to be sorted in ascending
4409 order. Use multi_line.
4410 * gdb.base/solib-display.exp: Likewise.
4412 2015-11-24 Pedro Alves <palves@redhat.com>
4415 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4416 threads in ascending order.
4417 * gdb.base/foll-fork.exp: Likewise.
4418 * gdb.base/foll-vfork.exp: Likewise.
4419 * gdb.base/multi-forks.exp: Likewise.
4420 * gdb.mi/mi-nonstop.exp: Likewise.
4421 * gdb.mi/mi-nsintrall.exp: Likewise.
4422 * gdb.multi/base.exp: Likewise.
4423 * gdb.multi/multi-arch.exp: Likewise.
4424 * gdb.python/py-inferior.exp: Likewise.
4425 * gdb.threads/break-while-running.exp: Likewise.
4426 * gdb.threads/execl.exp: Likewise.
4427 * gdb.threads/gcore-thread.exp: Likewise.
4428 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4429 * gdb.threads/kill.exp: Likewise.
4430 * gdb.threads/linux-dp.exp: Likewise.
4431 * gdb.threads/multiple-step-overs.exp: Likewise.
4432 * gdb.threads/next-bp-other-thread.exp: Likewise.
4433 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4434 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4435 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4436 * gdb.threads/thread-find.exp: Likewise.
4437 * gdb.threads/tls.exp: Likewise.
4438 * lib/mi-support.exp (mi_reverse_list): Delete.
4439 (mi_check_thread_states): No longer reverse list.
4441 2015-11-24 Pedro Alves <palves@redhat.com>
4443 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4446 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4448 * gdb.trace/actions.c: Include trace-common.h.
4449 (main): Add a location for a fast tracepoint.
4450 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4451 the normal tracepoints.
4452 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4454 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4456 * save-trace.exp: Factor out code to these...
4457 (gdb_save_tracepoints): New.
4458 (gdb_load_tracepoints): New.
4459 (do_save_load_test): New.
4461 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4463 * gdb.base/asmlabel.exp: New test.
4464 * gdb.base/asmlabel.c: New test case.
4466 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4468 * gdb.base/wrong_frame_bt_full-main.c: New file.
4469 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4470 * gdb.base/wrong_frame_bt_full.exp: New file.
4472 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4474 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4476 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4478 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4479 pstate register when comparing registers values in
4480 sparc64-*-linux-gnu targets to avoid spurious differences.
4482 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4484 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4486 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4488 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4489 as type argument to gdb_compile.
4490 * gdb.base/nested-subp2.exp: Likewise.
4491 * gdb.base/nested-subp3.exp: Likewise.
4493 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4495 * lib/dwarf.exp (_note): Fix left shift of negative value.
4496 * gdb.trace/trace-condition.exp: Likewise.
4498 2015-11-13 Yao Qi <yao.qi@linaro.org>
4500 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4501 comments about d10v.
4502 (test_scalar_returns): Likewise.
4503 * gdb.base/d10v.ld: Remove.
4504 * gdb.base/overlays.exp: Remove the target triplet checking for
4506 * gdb.base/structs.exp (test_struct_returns): Remove the
4507 comments about d10v.
4508 (test_struct_calls): Likewise.
4510 2015-11-13 Yao Qi <yao.qi@linaro.org>
4512 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4513 * gdb.base/gnu_vector.c: Don't include stdio.h.
4514 (main): Don't print res and call add_some_intvecs.
4516 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4518 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4521 (func4): Use FAST_TRACEPOINT_LABEL.
4522 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4525 (thread_function): Use FAST_TRACEPOINT_LABEL.
4526 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4528 (marker): Use FAST_TRACEPOINT_LABEL.
4529 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4530 (pendfunc1): Remove.
4531 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4532 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4534 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4535 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4538 (marker): Use FAST_TRACEPOINT_LABEL.
4539 * gdb.trace/trace-common.h: New header.
4540 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4543 (marker): Use FAST_TRACEPOINT_LABEL.
4544 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4546 (thread_function): Use FAST_TRACEPOINT_LABEL.
4548 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4550 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4552 * gdb.trace/change-loc.exp: Use global pcreg definition.
4553 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4554 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4556 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4557 * gdb.trace/pending.exp: Likewise.
4558 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4559 * gdb.trace/trace-break.exp: Likewise.
4560 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4562 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4563 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4565 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4567 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4569 * gdb.ada/fin_fun_out: New testcase.
4571 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4573 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4574 value associated with DW_AT_byte_size.
4575 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4576 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4579 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4581 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4582 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4584 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4585 gdb.dwarf2/dw2-canonicalize-type.exp,
4586 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4587 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4588 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4589 provided by gdb_target_symbol_prefix_flags_asm.
4590 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4591 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4592 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4593 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4594 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4595 macros where needed). Use this macro for symbols which require
4596 the prefix provided by SYMBOL_PREFIX.
4598 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4600 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4602 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4603 representing expressions, of more than one list element.
4604 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4605 to prepend linker symbol prefix to f.
4606 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4607 table_1 and table_2.
4608 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4609 Likewise, for f and g.
4610 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4612 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4614 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4615 table_1_ptr and table_2_ptr.
4617 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4618 Joel Brobecker <brobecker@adacore.com>
4620 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4622 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4624 * gdb.reverse/s390-mvcle.c: New test.
4625 * gdb.reverse/s390-mvcle.exp: New file.
4626 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4628 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4630 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4632 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4634 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4636 * gdb.reverse/getresuid-reverse.exp: Likewise.
4637 * gdb.reverse/pipe-reverse.exp: Likewise.
4638 * gdb.reverse/readv-reverse.exp: Likewise.
4639 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4640 * gdb.reverse/time-reverse.exp: Likewise.
4641 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4643 2015-10-30 Yao Qi <yao.qi@linaro.org>
4645 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4646 (empty_cycle): Remove.
4647 (main): Don't call empty_cycle. Don't use watch_count_done.
4648 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4649 empty_cycle. Rewrite the code counting HW watchpoints.
4651 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4653 * gdb.reverse/fstatat-reverse.c: New test.
4654 * gdb.reverse/fstatat-reverse.exp: New file.
4655 * gdb.reverse/getresuid-reverse.c: New test.
4656 * gdb.reverse/getresuid-reverse.exp: New file.
4657 * gdb.reverse/pipe-reverse.c: New test.
4658 * gdb.reverse/pipe-reverse.exp: New file.
4659 * gdb.reverse/readv-reverse.c: New test.
4660 * gdb.reverse/readv-reverse.exp: New file.
4661 * gdb.reverse/recvmsg-reverse.c: New test.
4662 * gdb.reverse/recvmsg-reverse.exp: New file.
4663 * gdb.reverse/time-reverse.c: New test.
4664 * gdb.reverse/time-reverse.exp: New file.
4665 * gdb.reverse/waitpid-reverse.c: New test.
4666 * gdb.reverse/waitpid-reverse.exp: New file.
4668 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4670 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4672 2015-10-26 Doug Evans <dje@google.com>
4675 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4676 * gdb.dwarf2/bad-regnum.c: New file.
4677 * gdb.dwarf2/bad-regnum.exp: New file.
4679 2015-10-26 Doug Evans <dje@google.com>
4682 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4685 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4687 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4688 for a change by "Mention language in compile error message".
4690 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4693 * gdb.python/py-type.c (C::a_method): New.
4694 (C::a_const_method): New.
4695 (C::a_static_method): New.
4697 * gdb.python/py-type.exp (test_fields): Test getting fields
4698 from function and method.
4700 2015-10-21 Keven Boell <keven.boell@intel.com>
4702 * gdb.fortran/vla-alloc-assoc.exp: New file.
4703 * gdb.fortran/vla-datatypes.exp: New file.
4704 * gdb.fortran/vla-datatypes.f90: New file.
4705 * gdb.fortran/vla-history.exp: New file.
4706 * gdb.fortran/vla-ptype-sub.exp: New file.
4707 * gdb.fortran/vla-ptype.exp: New file.
4708 * gdb.fortran/vla-sizeof.exp: New file.
4709 * gdb.fortran/vla-sub.f90: New file.
4710 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4711 * gdb.fortran/vla-value-sub-finish.exp: New file.
4712 * gdb.fortran/vla-value-sub.exp: New file.
4713 * gdb.fortran/vla-value.exp: New file.
4714 * gdb.fortran/vla-ptr-info.exp: New file.
4715 * gdb.mi/mi-vla-fortran.exp: New file.
4716 * gdb.mi/vla.f90: New file.
4718 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4720 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4721 of hardwired timeout value.
4723 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4724 Pedro Alves <palves@redhat.com>
4726 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4727 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4729 2015-10-19 Josh Stone <jistone@redhat.com>
4731 * gdb.base/catch-syscall.c: Include <sched.h>.
4732 (unknown_syscall): New variable.
4733 (main): Trigger a vfork and an unknown syscall.
4734 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4735 (unknown_syscall_number): Likewise.
4736 (check_call_to_syscall): Accept an optional syscall pattern.
4737 (check_return_from_syscall): Likewise.
4738 (check_continue): Likewise.
4739 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4740 (test_catch_syscall_skipping_return): New test toggling off 'catch
4741 syscall' to step over the syscall return, then toggling back on.
4742 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4743 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4744 (do_syscall_tests): Call test_catch_syscall_without_args and
4745 test_catch_syscall_mid_vfork.
4746 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4747 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4749 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4751 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4752 print g_vE): Add new pass patterns.
4753 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4754 print various symbol names for vptr fields.
4756 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4758 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4761 2015-10-12 Yao Qi <yao.qi@linaro.org>
4763 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4765 2015-10-12 Yao Qi <yao.qi@linaro.org>
4767 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4768 is aarch64*-*-linux*.
4770 2015-10-12 Yao Qi <yao.qi@linaro.org>
4772 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4773 (can_relocate_bcond_true): ... it.
4774 (can_relocate_bcond_false): New function.
4776 (can_relocate_bl): Likewise.
4777 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4780 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4782 * gdb.base/nested-addr.c: New file.
4783 * gdb.base/nested-addr.exp: New testcase.
4785 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4787 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4788 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4789 its output. Ignore the output of "record goto begin" and instead
4790 check that GDB is replaying.
4792 2015-10-09 Pedro Alves <palves@redhat.com>
4794 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4795 (top level): Use it in the run with no args test.
4797 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4799 * gdb.dlang/properties.exp: New file.
4801 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4803 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4804 whether or not address 0x1000 is mapped on the target.
4806 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4808 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4811 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4813 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4814 instruction-history test.
4816 2015-09-28 Doug Evans <dje@google.com>
4818 * gdb.base/gcore.c (array_func): Add reference to static_array.
4820 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4822 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4825 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4827 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4828 short or char as base type.
4830 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4832 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4833 to allow any size enum.
4835 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4837 * gdb.ada/array_ptr_renaming.exp: New testcase.
4838 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4839 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4841 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4843 * gdb.trace/ftrace-lock.c: New file.
4844 * gdb.trace/ftrace-lock.exp: New file.
4846 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4848 * gdb.arch/insn-reloc.c: New file.
4849 * gdb.arch/ftrace-insn-reloc.exp: New file.
4851 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4853 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4855 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4856 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4857 * gdb.trace/range-stepping.c: Likewise.
4858 * gdb.trace/trace-break.c: Likewise.
4859 * gdb.trace/trace-mt.c (thread_function): Likewise.
4860 * gdb.trace/ftrace.c (marker): Likewise.
4861 * gdb.trace/trace-condition.c (marker): Likewise.
4862 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4863 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4866 2015-09-18 Doug Evans <xdje42@gmail.com>
4868 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4869 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4871 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4873 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4876 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4878 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4879 the pending breakpoint. Remove timeout override for "Run till
4880 MI pending breakpoint on pendfunc3 on thread 2" test.
4882 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4884 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4887 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4889 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
4890 in breakpoint filename pattern.
4892 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4894 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
4896 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4898 * gdb.linespec/explicit.exp: Check for readline support for
4899 tab-completion tests. Fix obvious typo.
4901 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4903 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
4906 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4908 * gdb.btrace/non-stop.c: New.
4909 * gdb.btrace/non-stop.exp: New.
4911 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
4912 Yao Qi <yao.qi@linaro.org>
4914 * gdb.trace/trace-condition.c: New file.
4915 * gdb.trace/trace-condition.exp: New file.
4917 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
4919 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
4920 for testing bytecode compilation.
4922 2015-09-16 Pedro Alves <palves@redhat.com>
4923 Sandra Loosemore <sandra@codesourcery.com>
4925 * gdb.threads/non-stop-fair-events.c (timeout): New global.
4926 (SECONDS): Redefine.
4927 (main): Call pthread_kill and alarm early.
4928 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
4930 (test): If the target can't hardware step and doesn't support
4931 displaced stepping, increase the timeout.
4933 2015-09-16 Pedro Alves <palves@redhat.com>
4935 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4936 (enable_debug): New procedures.
4937 (test): Use them. Bail out if waiting for threads fails.
4938 (top level): Bail out if a test fails.
4940 2015-09-16 Yao Qi <yao.qi@linaro.org>
4942 * gdb.asm/asm-source.exp: Set asm-arch for
4943 aarch64*-*-* target.
4944 * gdb.asm/aarch64.inc: New file.
4946 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4948 * gdb.ada/array_of_variable_length.exp: New testcase.
4949 * gdb.ada/array_of_variable_length/foo.adb: New file.
4950 * gdb.ada/array_of_variable_length/pck.adb: New file.
4951 * gdb.ada/array_of_variable_length/pck.ads: New file.
4953 2015-09-15 Doug Evans <dje@google.com>
4955 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4956 of function static local variable.
4958 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4960 * gdb.threads/tls-so_extern.exp: New test file.
4961 * gdb.threads/tls-so_extern.c: New test file.
4962 * gdb.threads/tls-so_extern_main.c: New test file.
4964 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4966 * gdb.opt/solib-intra-step-lib.c: New file.
4967 * gdb.opt/solib-intra-step-main.c: New file.
4968 * gdb.opt/solib-intra-step.exp: New file.
4970 2015-09-15 Pedro Alves <palves@redhat.com>
4972 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4973 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4975 2015-09-14 Pedro Alves <palves@redhat.com>
4977 * gdb.base/hook-stop-continue.c: Delete.
4978 * gdb.base/hook-stop-continue.exp: Delete.
4979 * gdb.base/hook-stop-frame.c: Delete.
4980 * gdb.base/hook-stop-frame.exp: Delete.
4981 * gdb.base/hook-stop.c: New file.
4982 * gdb.base/hook-stop.exp: New file.
4984 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4986 * gdb.ada/access_to_packed_array.exp: New testcase.
4987 * gdb.ada/access_to_packed_array/foo.adb: New file.
4988 * gdb.ada/access_to_packed_array/pack.adb: New file.
4989 * gdb.ada/access_to_packed_array/pack.ads: New file.
4991 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4993 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4996 2015-09-11 Don Breazeal <donb@codesourcery.com>
4998 * gdb.base/foll-exec.c: Add copyright header. Fix
5000 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5001 (do_exec_tests): Use clean_restart in place of zap_session,
5002 and for test initialization. Fix formatting issues. Use
5003 fail in place of perror.
5004 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5005 an expect statement to match an expression with output from
5006 the program under debug.
5007 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5008 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5009 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5010 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5011 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5013 2015-09-09 Doug Evans <dje@google.com>
5015 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5017 2015-09-09 Doug Evans <dje@google.com>
5019 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5021 2015-09-09 Doug Evans <dje@google.com>
5023 * gdb.base/savedregs.exp: Fix typo.
5025 2015-09-09 Pedro Alves <palves@redhat.com>
5027 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5029 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5031 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5032 command actually switches threads. Give up on remaining
5033 tests if target fails to stop at breakpoint.
5035 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5037 * gdb.ada/funcall_char.exp: New testcase.
5038 * gdb.ada/funcall_char/foo.adb: New file.
5040 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5042 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5043 expected outputs. Add two testcases for completing ambiguous
5045 * gdb.ada/complete/aux_pck.adb: New file.
5046 * gdb.ada/complete/aux_pck.ads: New file.
5047 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5048 Ambiguous_Func functions.
5049 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5050 * gdb.ada/complete/pck.adb: Likewise.
5052 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5054 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5055 failures to run the test program under GDB.
5057 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5059 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5062 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5064 * gdb.base/run-after-attach.exp: New test file.
5065 * gdb.base/run-after-attach.c: New test file.
5067 2015-08-26 Don Breazeal <donb@codesourcery.com>
5069 * gdb.base/foll-exec-2.c: New test program.
5070 * gdb.base/foll-exec-2.exp: New test.
5072 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5074 * gdb.base/nested-subp1.exp: New file.
5075 * gdb.base/nested-subp1.c: New file.
5076 * gdb.base/nested-subp2.exp: New file.
5077 * gdb.base/nested-subp2.c: New file.
5078 * gdb.base/nested-subp3.exp: New file.
5079 * gdb.base/nested-subp3.c: New file.
5081 2015-08-24 Pedro Alves <palves@redhat.com>
5083 * gdb.server/connect-without-multi-process.c: New file.
5084 * gdb.server/connect-without-multi-process.exp: New file.
5086 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5088 * gdb.opt/inline-markers.c: Make z int.
5090 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5092 * gdb.opt/inline-markers.c: Make z volatile.
5094 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5096 * gdb.opt/inline-bt.c: New volatile global z.
5097 * gdb.opt/inline-cmds.c: Likewise.
5098 * gdb.opt/inline-locals.c: Likewise.
5099 * gdb.opt/inline-markers.c: New extern global z.
5101 (inline_fn): Likewise.
5103 2015-08-24 Pedro Alves <palves@redhat.com>
5105 * config/m32r-stub.exp: Remove file.
5106 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5107 * gdb.base/call-rt-st.exp: Likewise.
5108 * gdb.base/call-strs.exp: Likewise.
5109 * gdb.base/default.exp: Remove references to h8300-*-hms and
5111 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5113 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5115 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5116 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5117 and "return" use KFAIL when GDB can not read/write the vector
5120 2015-08-21 Gary Benson <gbenson@redhat.com>
5122 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5124 2015-08-20 Pedro Alves <palves@redhat.com>
5126 * gdb.server/solib-list.exp: No longer expect an interior stop in
5129 2015-08-20 Pedro Alves <palves@redhat.com>
5131 * gdb.server/connect-stopped-target.c: New file.
5132 * gdb.server/connect-stopped-target.exp: New file.
5134 2015-08-20 Pedro Alves <palves@redhat.com>
5136 * gdb.dwarf2/comp-unit-lang.exp: New file.
5137 * gdb.dwarf2/comp-unit-lang.c: New file.
5139 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5141 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5142 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5144 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5146 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5147 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5149 2015-08-18 Doug Evans <dje@google.com>
5150 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5152 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5153 skip_python_tests. New arg prompt_regexp.
5154 (skip_python_tests): New function.
5155 * lib/mi-support.exp (mi_skip_python_tests): New function.
5156 * gdb.python/py-mi-objfile-gdb.py: New file.
5157 * gdb.python/py-mi-objfile.c: New file.
5158 * gdb.python/py-mi-objfile.exp: New file.
5160 2015-08-17 Keith Seitz <keiths@redhat.com>
5162 * gdb.linespec/explicit.exp: Move strace test from here ...
5163 * gdb.trace/strace.exp: ... to here.
5165 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5167 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5168 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5170 2015-08-14 Doug Evans <xdje42@gmail.com>
5172 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5173 inferior before selecting a new file.
5175 2015-08-14 Doug Evans <xdje42@gmail.com>
5177 * gdb.mi/mi-disassemble.exp: Update.
5178 * gdb.base/disasm-optim.S: New file.
5179 * gdb.base/disasm-optim.c: New file.
5180 * gdb.base/disasm-optim.h: New file.
5181 * gdb.base/disasm-optim.exp: New file.
5183 2015-08-14 Keith Seitz <keiths@redhat.com>
5185 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5188 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5190 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5192 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5194 * gdb.ada/fun_renaming.exp: New testcase.
5195 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5196 * gdb.ada/fun_renaming/pack.adb: New file.
5197 * gdb.ada/fun_renaming/pack.ads: New file.
5199 2015-08-12 Keith Seitz <keiths@redhat.com>
5201 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5202 gdb_get_line_number.
5204 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5206 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5207 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5208 gdb.base/dso2dso.exp: New files.
5210 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5211 Pedro Alves <palves@redhat.com>
5212 Keith Seitz <keiths@redhat.com>
5214 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5217 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5219 * gdb.base/gdbhistsize-history.exp
5220 (test_histsize_history_setting): Use save_vars.
5221 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5223 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5224 * gdb.base/readline.exp: Use save_vars.
5226 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5228 * lib/gdb.exp (save_vars): New proc.
5230 2015-08-11 Keith Seitz <keiths@redhat.com>
5232 * gdb.base/help.exp: Update help_breakpoint_text.
5234 2015-08-11 Keith Seitz <keiths@redhat.com>
5236 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5237 (at toplevel): Call test_explicit_breakpoints.
5238 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5240 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5241 breakpoint conditions, "-cond".
5243 2015-08-11 Keith Seitz <keiths@redhat.com>
5245 * gdb.linespec/3explicit.c: New file.
5246 * gdb.linespec/cpexplicit.cc: New file.
5247 * gdb.linespec/cpexplicit.exp: New file.
5248 * gdb.linespec/explicit.c: New file.
5249 * gdb.linespec/explicit.exp: New file.
5250 * gdb.linespec/explicit2.c: New file.
5251 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5252 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5253 before using in the matching pattern.
5254 Clarify that `prefix' is a regular expression.
5256 2015-08-11 Keith Seitz <keiths@redhat.com>
5258 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5260 Add tests for missing ",FMT" and ",".
5262 2015-08-10 Doug Evans <dje@google.com>
5263 Keith Seitz <keiths@redhat.com>
5266 * gdb.base/completion.exp: Add location completer tests.
5268 2015-08-07 Pedro Alves <palves@redhat.com>
5270 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5272 (top level): Run do_test with and without displaced stepping.
5274 2015-08-07 Pedro Alves <palves@redhat.com>
5276 * gdb.base/valgrind-disp-step.c: New file.
5277 * gdb.base/valgrind-disp-step.exp: New file.
5279 2015-08-07 Pedro Alves <palves@redhat.com>
5281 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5283 (main): Add alarm. Run an infinite loop instead of calling
5285 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5287 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5289 (main): Add alarm. Run an infinite loop instead of calling
5291 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5294 2015-08-07 Pedro Alves <palves@redhat.com>
5296 * gdb.base/checkpoint-ns.exp: New file.
5297 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5300 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5302 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5303 * gdb.btrace/instruction_history.exp: Update.
5304 * gdb.btrace/tsx.exp: New.
5305 * gdb.btrace/tsx.c: New.
5307 2015-08-06 Pedro Alves <palves@redhat.com>
5309 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5311 * gdb.reverse/until-precsave.exp: Bump timeouts.
5313 2015-08-06 Pedro Alves <palves@redhat.com>
5315 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5317 2015-08-06 Pedro Alves <palves@redhat.com>
5320 * gdb.threads/process-dies-while-handling-bp.c: New file.
5321 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5323 2015-08-06 Pedro Alves <palves@redhat.com>
5325 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5326 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5328 2015-08-05 Pedro Alves <palves@redhat.com>
5330 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5331 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5333 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5335 * gdb.base/bp-permanent.exp: Report test as unsupported if
5336 the target cannot stop at the permanent breakpoint.
5338 2015-08-03 Doug Evans <dje@google.com>
5340 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5343 2015-08-03 Doug Evans <dje@google.com>
5345 * Makefile.in (workers/%.worker, build-perf): New rule.
5346 (GDB_PERFTEST_MODE): New variable.
5347 (check-perf): Use it.
5348 (clean): Clean up gdb.perf parallel build subdirs.
5349 * lib/build-piece.exp: New file.
5350 * lib/gdb.exp (make_gdb_parallel_path): New function
5351 (standard_output_file, standard_temp_file): Call it.
5352 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5354 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5356 2015-08-03 Doug Evans <dje@google.com>
5358 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5359 (LOG_FILE_NAME): New global.
5360 (TextReporter.__init__): Initialize self.txt_sum.
5361 (TextReporter.report): Add support for multiple data-points.
5362 Move report to perftest.sum, put raw data in perftest.log.
5363 (TextReporter.start): Open sum and log files.
5364 (TextReporter.end): Close sum and log files.
5365 * gdb.perf/lib/perftest/testresult.py
5366 (SingleStatisticTestResult.record): Handle multiple data-points.
5368 2015-07-31 Pedro Alves <palves@redhat.com>
5370 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5371 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5372 kill_wait_spawned_process instead of explicit "kill -9".
5373 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5374 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5375 kill_wait_spawned_process.
5376 * gdb.base/attach-twice.exp: Likewise.
5377 * gdb.base/attach.exp: Likewise.
5378 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5380 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5381 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5382 kill_wait_spawned_process.
5383 * gdb.base/valgrind-infcall.exp: Likewise.
5384 * gdb.multi/multi-attach.exp: Likewise.
5385 * gdb.python/py-prompt.exp: Likewise.
5386 * gdb.python/py-sync-interp.exp: Likewise.
5387 * gdb.server/ext-attach.exp: Likewise.
5388 * gdb.threads/attach-into-signal.exp (corefunc): Use
5389 spawn_wait_for_attach, spawn_id_get_pid and
5390 kill_wait_spawned_process.
5391 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5392 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5393 spawn_id_get_pid and kill_wait_spawned_process.
5394 * gdb.threads/attach-stopped.exp (corefunc): Use
5395 spawn_wait_for_attach, spawn_id_get_pid and
5396 kill_wait_spawned_process.
5397 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5398 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5399 kill_wait_spawned_process instead of explicit "kill -9".
5400 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5401 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5402 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5403 processes. Don't map cygwin/windows pids here. Now returns a
5406 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5408 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5409 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5412 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5414 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5416 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5419 2014-05-21 Mark Wielaard <mjw@redhat.com>
5421 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5423 2015-07-30 Pedro Alves <palves@redhat.com>
5425 * linux-low.c (handle_extended_wait): Set the child's last
5426 reported status to TARGET_WAITKIND_STOPPED.
5428 2015-07-30 Pedro Alves <palves@redhat.com>
5431 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5432 only shows inferior 1.
5434 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5435 Pedro Alves <palves@redhat.com>
5438 * gdb.threads/fork-plus-threads.c: New file.
5439 * gdb.threads/fork-plus-threads.exp: New file.
5441 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5443 * gdb.base/batch-preserve-term-settings.exp
5444 (test_terminal_settings_preserved_after_cli_exit): Use
5447 2015-07-29 Pedro Alves <palves@redhat.com>
5448 Don Breazeal <donb@codesourcery.com>
5450 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5451 output from both inferior_spawn_id and gdb_spawn_id.
5453 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5455 * gdb.threads/attach-into-signal.exp (corefunc): Use
5456 with_test_prefix on nested loops, uniquefying the test messages.
5458 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5460 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5463 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5465 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5467 (test_terminal_settings_preserved_after_sigterm): New test.
5469 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5471 * gdb.base/batch-preserve-term-settings.exp
5472 (test_terminal_settings_preserved_after_cli_exit): New test.
5474 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5476 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5477 manipulation of saved_gdbflags.
5478 (test_terminal_settings_preserved): Remove global declaration of
5479 the unused variable pagination_prompt. Remove manipulation of
5480 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5483 2015-07-29 Pedro Alves <palves@redhat.com>
5485 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5487 2015-07-29 Pedro Alves <palves@redhat.com>
5489 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5492 2015-07-29 Pedro Alves <palves@redhat.com>
5494 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5495 (main): Call gdb_unbuffer_output.
5496 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5497 (main): Call gdb_unbuffer_output.
5498 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5499 (main): Call gdb_unbuffer_output.
5500 * gdb.base/call-strs.exp: Adjust to step over the
5501 gdb_unbuffer_output call.
5502 * gdb.base/catch-gdb-caused-signals.c: Include
5503 "../lib/unbuffer_output.c".
5504 (main): Call gdb_unbuffer_output.
5505 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5506 (main): Call gdb_unbuffer_output.
5507 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5508 (main): Call gdb_unbuffer_output.
5509 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5510 (main): Call gdb_unbuffer_output.
5511 * gdb.base/shlib-call.exp: Adjust to step over the
5512 gdb_unbuffer_output call.
5513 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5514 (main): Call gdb_unbuffer_output.
5515 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5516 (main): Call gdb_unbuffer_output.
5517 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5518 (main): Rename to ...
5520 (main): Reimplement.
5521 * gdb.base/varargs.exp: Run to test instead of to main.
5522 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5523 (main): Call gdb_unbuffer_output.
5525 2015-07-29 Pedro Alves <palves@redhat.com>
5527 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5528 factore out from mi_continue_dprintf. For call-style dprintfs,
5529 expect dprintf output out of $inferior_spawn_id.
5530 (mi_continue_dprintf): Use mi_expect_dprintf.
5531 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5532 (main): Call gdb_unbuffer_output.
5534 2015-07-29 Pedro Alves <palves@redhat.com>
5536 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5537 (default_mi_gdb_start): Set inferior_spawn_id instead of
5538 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5540 (mi_gdb_test): Always expect inferior output from both
5541 $inferior_spawn_id and $gdb_spawn_id.
5543 2015-07-29 Pedro Alves <palves@redhat.com>
5545 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5546 send_inferior and $inferior_spawn_id.
5548 2015-07-29 Pedro Alves <palves@redhat.com>
5550 * gdb.gdb/complaints.exp (test_initial_complaints)
5551 (test_serial_complaints, test_short_complaints): Use
5553 (test_empty_complaint): Handle $inferior_spawn_id !=
5556 2015-07-29 Pedro Alves <palves@redhat.com>
5558 * gdb.base/varargs.exp: Use gdb_test_stdio.
5560 2015-07-29 Pedro Alves <palves@redhat.com>
5562 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5564 2015-07-29 Pedro Alves <palves@redhat.com>
5566 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5568 2015-07-29 Pedro Alves <palves@redhat.com>
5570 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5571 parameter into two new parameters, "inf_result" and "gdb_result".
5572 Expect inferior output and gdb output from $inferior_spawn_id and
5573 $gdb_spawn_id, respectively. Adjust all callers.
5575 2015-07-29 Pedro Alves <palves@redhat.com>
5577 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5578 of gdb_test_sequence.
5580 2015-07-29 Pedro Alves <palves@redhat.com>
5582 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5583 (saw_spurious_output): Expect inferior output from
5584 $inferior_spawn_id. Use gdb_test_stdio.
5586 2015-07-29 Pedro Alves <palves@redhat.com>
5588 * gdb.base/dprintf.exp: Use standard_testfile. Change
5589 prepare_for_testing call.
5590 (srcfile): Don't set.
5591 (restart): New procedure.
5592 (test_dprintf): New procecure, use to continue over dprintfs.
5593 (test_call, test_agent): New procedures, tests moved here.
5594 Restart gdb and recreate dprintfs. Adjust expected output.
5596 2015-07-29 Pedro Alves <palves@redhat.com>
5598 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5600 2015-07-29 Pedro Alves <palves@redhat.com>
5602 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5604 2015-07-29 Pedro Alves <palves@redhat.com>
5606 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5609 2015-07-29 Pedro Alves <palves@redhat.com>
5611 * lib/gdb.exp (gdb_test_stdio): New procedure.
5613 2015-07-29 Pedro Alves <palves@redhat.com>
5615 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5617 2015-07-29 Pedro Alves <palves@redhat.com>
5619 * gdb.base/call-signal-resume.exp: Remove check for
5620 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5621 * gdb.base/unwindonsignal.exp: Likewise.
5622 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5623 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5625 2015-07-29 Pedro Alves <palves@redhat.com>
5627 * gdb.base/siginfo-addr.c (pass): New function.
5628 (handler): Call it iff si_addr is correct.
5629 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5630 Set a breakpoint at "pass" and continue to it.
5632 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5634 * gdb.python/py-objfile.exp: Make some tests have unique names.
5635 * gdb.python/py-pp-registration.exp: Likewise.
5637 2015-07-28 Pedro Alves <palves@redhat.com>
5639 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5641 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5643 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5645 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5647 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5649 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5651 * gdb.base/gdb-sigterm-2.exp: New test.
5653 2015-07-25 Doug Evans <xdje42@gmail.com>
5656 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5657 (workers/%.worker, build-perf): New rule.
5658 (GDB_PERFTEST_MODE): New variable.
5659 (check-perf): Use it.
5660 (clean): Clean up gdb.perf parallel build subdirs.
5661 * lib/build-piece.exp: New file.
5662 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5663 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5665 (standard_temp_file): Ditto.
5666 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5669 2015-07-24 Doug Evans <dje@google.com>
5671 * gdb.perf/lib/perftest/utils.py: New file.
5672 * gdb.perf/gm-hello.cc: New file.
5673 * gdb.perf/gm-pervasive-typedef.cc: New file.
5674 * gdb.perf/gm-pervasive-typedef.h: New file.
5675 * gdb.perf/gm-std.cc: New file.
5676 * gdb.perf/gm-std.h: New file.
5677 * gdb.perf/gm-use-cerr.cc: New file.
5678 * gdb.perf/gm-utils.h: New file.
5679 * gdb.perf/gmonster-null-lookup.py: New file.
5680 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5681 * gdb.perf/gmonster-print-cerr.py: New file.
5682 * gdb.perf/gmonster-ptype-string.py: New file.
5683 * gdb.perf/gmonster-runto-main.py: New file.
5684 * gdb.perf/gmonster-select-file.py: New file.
5685 * gdb.perf/gmonster1-null-lookup.exp: New file.
5686 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5687 * gdb.perf/gmonster1-print-cerr.exp: New file.
5688 * gdb.perf/gmonster1-ptype-string.exp: New file.
5689 * gdb.perf/gmonster1-runto-main.exp: New file.
5690 * gdb.perf/gmonster1-select-file.exp: New file.
5691 * gdb.perf/gmonster1.cc: New file.
5692 * gdb.perf/gmonster1.exp: New file.
5693 * gdb.perf/gmonster2-null-lookup.exp: New file.
5694 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5695 * gdb.perf/gmonster2-print-cerr.exp: New file.
5696 * gdb.perf/gmonster2-ptype-string.exp: New file.
5697 * gdb.perf/gmonster2-runto-main.exp: New file.
5698 * gdb.perf/gmonster2-select-file.exp: New file.
5699 * gdb.perf/gmonster2.cc: New file.
5700 * gdb.perf/gmonster2.exp: New file.
5702 2015-07-24 Doug Evans <dje@google.com>
5704 * gdb.perf/README: New file.
5705 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5706 * lib/gen-perf-test.exp: New file.
5708 2015-07-24 Doug Evans <dje@google.com>
5710 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5711 (PerfTest::startup): New function.
5712 (PerfTest::run): Return result of calling body.
5713 (PerfTest::assemble): Rewrite.
5714 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5715 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5716 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5717 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5718 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5720 2015-07-24 Doug Evans <dje@google.com>
5722 * lib/gdb.exp (clean_restart): Make executable optional.
5724 2015-07-24 Doug Evans <dje@google.com>
5726 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5727 compiler_info references.
5728 * gdb.cp/temargs.exp: Ditto.
5729 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5730 (get_compiler_info): Early exit if already computed. Set compiler_info
5731 to "unknown" if there was a problem.
5732 (test_compiler_info): Add function comment. Call get_compiler_info.
5734 2015-07-24 Doug Evans <dje@google.com>
5736 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5737 (workers/%.worker, build-perf): New rule.
5738 (GDB_PERFTEST_MODE): New variable.
5739 (check-perf): Use it.
5740 (clean): Clean up gdb.perf parallel build subdirs.
5741 * lib/build-piece.exp: New file.
5742 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5743 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5745 (standard_temp_file): Ditto.
5746 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5749 2015-07-24 Doug Evans <dje@google.com>
5751 * lib/future.exp (gdb_default_target_compile): New option
5753 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5756 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5758 * gdb.base/catch-syscall.exp: Call gdb_exit before
5761 2015-07-24 Pedro Alves <palves@redhat.com>
5763 * gdb.python/py-events.exp: Accept output between the stop event
5765 * gdb.python/py-evsignal.exp: Likewise.
5766 * gdb.python/py-evthreads.exp: Likewise.
5768 2015-07-24 Pedro Alves <palves@redhat.com>
5771 * gdb.threads/non-ldr-exit.c: New file.
5772 * gdb.threads/non-ldr-exit.exp: New file.
5774 2015-07-24 Yao Qi <yao.qi@linaro.org>
5776 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5779 2015-07-24 Yao Qi <yao.qi@linaro.org>
5781 * gdb.server/ext-restart.exp: New file.
5783 2015-07-24 Yao Qi <yao.qi@linaro.org>
5785 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5787 * gdb.server/ext-wrapper.exp: New file.
5789 2015-07-23 Doug Evans <dje@google.com>
5791 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5792 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5794 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5796 * gdb.ada/var_arr_typedef.exp: New testcase.
5797 * gdb.ada/var_arr_typedef/pack.adb: New file.
5798 * gdb.ada/var_arr_typedef/pack.ads: New file.
5799 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5801 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5803 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5805 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5807 * gdb.arch/i386-biarch-core.exp: Replace istarget
5808 by "complete set gnutarget". Remove expectation for the "core-file"
5811 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5813 Revert the previous commit:
5814 Tests for validate symbol file using build-id.
5816 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5818 Tests for validate symbol file using build-id.
5819 * gdb.base/solib-mismatch-lib.c: New file.
5820 * gdb.base/solib-mismatch-libmod.c: New file.
5821 * gdb.base/solib-mismatch.c: New file.
5822 * gdb.base/solib-mismatch.exp: New file.
5824 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5826 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5828 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5829 * gdb.base/siginfo.exp: Likewise.
5830 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5832 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5834 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5836 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5838 * gdb.trace/range-stepping.exp: Check that the target supports
5841 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5843 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5845 2015-07-14 Pedro Alves <palves@redhat.com>
5847 * gdb.base/killed-outside.exp: New file.
5848 * gdb.base/killed-outside.c: New file.
5850 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5852 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5854 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5856 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5858 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5859 infcall tests instead of setting up for KFAIL.
5861 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5863 * gdb.btrace/record_goto-step.exp: New.
5865 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5868 * gdb.compile/compile.c (struct struct_type): Add volatile to
5870 * gdb.compile/compile.exp
5871 (compile code struct_object.selffield = &struct_object): Skip further
5872 struct_object tests if this one xfails.
5874 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5877 * gdb.trace/ax.exp: Add test.
5879 2015-07-07 Yao Qi <yao.qi@linaro.org>
5881 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
5882 instead of istarget "aarch64*-*-*".
5883 * gdb.arch/aarch64-fp.exp: Likewise.
5884 * gdb.base/float.exp: Likewise.
5885 * gdb.reverse/aarch64.exp: Likewise.
5886 * lib/gdb.exp (is_aarch64_target): New proc.
5888 2015-07-07 Yao Qi <yao.qi@linaro.org>
5890 * lib/gdb.exp (is_aarch32_target): New proc.
5891 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
5892 instead of "istarget "arm*-*-*"".
5893 * gdb.arch/arm-disp-step.exp: Likewise.
5894 * gdb.arch/thumb-bx-pc.exp: Likewise.
5895 * gdb.arch/thumb-prologue.exp: Likewise.
5896 * gdb.arch/thumb-singlestep.exp: Likewise.
5897 * gdb.base/disp-step-syscall.exp: Likewise.
5898 * gdb.base/float.exp: Likewise.
5900 2015-07-07 Yao Qi <yao.qi@linaro.org>
5902 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
5903 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
5905 2015-07-07 Yao Qi <yao.qi@linaro.org>
5907 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
5908 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
5910 * gdb.multi/multi-arch.exp: Likewise.
5912 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
5914 * gdb.python/py-lazy-string.exp: Add missing parentheses to
5917 2015-07-07 Yao Qi <yao.qi@linaro.org>
5919 * gdb.arch/thumb-singlestep.exp: Do one more single step.
5921 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
5923 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
5924 '[' and ']' characters.
5926 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
5928 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5930 2015-06-29 Pedro Alves <palves@redhat.com>
5933 * gdb.threads/hand-call-new-thread.c: New file.
5934 * gdb.threads/hand-call-new-thread.c: New file.
5936 2015-06-26 Keith Seitz <keiths@redhat.com>
5937 Doug Evans <dje@google.com>
5940 * gdb.cp/var-tag-2.cc: New file.
5941 * gdb.cp/var-tag-3.cc: New file.
5942 * gdb.cp/var-tag-4.cc: New file.
5943 * gdb.cp/var-tag.cc: New file.
5944 * gdb.cp/var-tag.exp: New file.
5946 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5948 * gdb.base/history-duplicates.exp: New test.
5950 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5952 * gdb.base/completion.exp: Test the completion of the "focus"
5955 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5957 * gdb.arch/amd64-prologue-skip.S: New file.
5958 * gdb.arch/amd64-prologue-skip.exp: New file.
5960 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5962 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5963 is_address_zero_readable check.
5965 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5967 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5968 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5970 2015-06-24 Yao Qi <yao.qi@linaro.org>
5972 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5975 2015-06-24 Yao Qi <yao.qi@linaro.org>
5977 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5978 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5979 * gdb.base/siginfo-thread.exp: Likewise.
5981 2015-06-22 Yao Qi <yao.qi@linaro.org>
5983 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5985 2015-06-22 Yao Qi <yao.qi@linaro.org>
5987 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5989 (skip_hw_watchpoint_tests): Likewise.
5991 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5993 * gdb.base/gdbinit-history.exp: Test the interaction between
5994 setting GDBHISTSIZE and setting the history size via .gdbinit.
5996 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5999 * gdb.base/gdbhistsize-history.exp: New test.
6001 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6003 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6005 * gdb.base/readline.exp: Likewise.
6007 2015-06-17 Yao Qi <yao.qi@linaro.org>
6009 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6012 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6014 * gdb.base/gdbinit-history.exp: Add test case to check that
6015 an unlimited history file does not get truncated on exit.
6017 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6019 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6020 (VECTOR): New macro. Use it...
6021 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6022 ...for these typedefs.
6023 (int8, char1, int1, double1): New typedefs.
6024 (struct just_int2, struct two_int2): New structures.
6025 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6026 (add_structvecs, add_singlevecs): New functions.
6027 (main): Call add_some_intvecs twice.
6028 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6029 the compile and exit upon failure. Try compiling for the "native"
6030 architecture. Test inferior function calls with vector arguments
6031 and vector return value handling with "finish" and "return".
6033 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6035 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6036 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6038 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6040 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6042 PR breakpoints/16465
6043 * gdb.mi/mi-dprintf-pending.c: New file.
6044 * gdb.mi/mi-dprintf-pending.exp: New test.
6045 * gdb.mi/mi-dprintf-pendshr.c: New file.
6047 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6048 Mircea Gherzan <mircea.gherzan@intel.com>
6050 * gdb.arch/i386-mpx-map.c: New file.
6051 * gdb.arch/i386-mpx-map.exp: New File.
6053 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6055 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6056 * gdb.arch/i386-mpx.exp: Indentation fixed.
6058 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6060 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6061 function and improved indentation.
6062 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6063 gdb_test_multiple. Added additional tests to skip the test.
6065 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6067 * gdb.arch/i386-avx512.c: Change path in include file.
6068 * gdb.arch/i386-avx512.exp: Change include dir path
6070 * gdb.arch/i386-mpx.c: Change path in include file.
6071 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6074 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6076 * gdb.compile/compile-print.exp (compile print *vararray@3)
6077 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6079 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6081 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6082 (do not keep jit in memory): ... this.
6083 (expect 5): Change it to ...
6084 (expect no 5): ... this.
6086 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6089 * gdb.mi/mi-detach.exp: New file.
6091 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6094 * gdb.arch/amd64-tailcall-self.S: New file.
6095 * gdb.arch/amd64-tailcall-self.c: New file.
6096 * gdb.arch/amd64-tailcall-self.exp: New file.
6098 2015-05-28 Don Breazeal <donb@codesourcery.com>
6100 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6101 tests for remote targets by checking is_target_gdbserver.
6103 2015-05-27 Doug Evans <dje@google.com>
6105 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6106 * gdb.dwarf2/opaque-type-lookup.c: New file.
6107 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6109 2015-05-26 Doug Evans <dje@google.com>
6111 * gdb.cp/iostream.cc: New file.
6112 * gdb.cp/iostream.exp: New file.
6114 2015-05-26 Doug Evans <dje@google.com>
6116 * gdb.dwarf2/dw2-op-call.exp: Update.
6117 * gdb.dwarf2/dw4-sig-types.exp: Update.
6118 * gdb.dwarf2/implptr.exp: Update.
6119 * gdb.mi/mi-cmd-param-changed.exp: Update.
6121 2015-05-26 Doug Evans <dje@google.com>
6123 * gdb.python/py-lazy-string.c: New file.
6124 * gdb.python/py-lazy-string.exp: New file.
6125 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6126 (main): Update. Add estring3.
6127 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6128 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6130 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6131 Yao Qi <yao.qi@linaro.org>
6133 * gdb.reverse/aarch64.c: New.
6134 * gdb.reverse/aarch64.exp: New.
6136 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6138 * lib/gdb.exp (supports_process_record): Return true for
6140 (supports_reverse): Likewise.
6142 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6144 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6145 Use with_test_prefix.
6147 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6149 * gdb.base/completion.exp: Add test for completion of layout
6152 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6154 * lib/gdb.exp (skip_tui_tests): New proc.
6155 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6157 2015-05-19 Pedro Alves <palves@redhat.com>
6159 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6160 Save the whole env array instead of just HOME. Unset HISTSIZE in
6161 the environment while testing. Restore whole environment
6164 2015-05-16 Doug Evans <xdje42@gmail.com>
6166 * gdb.guile/scm-ports.c: New file.
6167 * gdb.guile/scm-ports.exp: Add memory port tests.
6169 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6171 * gdb.compile/compile-print.c: New file.
6172 * gdb.compile/compile-print.exp: New file.
6174 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6176 * gdb.compile/compile-ops.exp: Cast param to void.
6177 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6178 (compile code struct_object.selffield = &struct_object): Add xfail.
6180 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6182 * gdb.ada/arr_enum_with_gap: New testcase.
6184 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6186 * gdb.ada/byte_packed_arr: New testcase.
6188 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6190 * gdb.ada/pckd_neg: New testcase.
6192 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6195 * gdb.base/gdbinit-history.exp: New test.
6196 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6197 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6199 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6201 * gdb.python/py-xmethods.cc: Enhance test case.
6202 * gdb.python/py-xmethods.exp: New tests.
6203 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6205 (B_indexoper): Likewise.
6206 (global_dm_list) : Add new xmethod worker functions.
6208 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6210 * gdb.base/coredump-filter.exp: Correctly unset
6211 "coredump_var_addr" array.
6213 2015-05-08 Pedro Alves <palves@redhat.com>
6215 * gdb.server/non-existing-program.exp: Unset spawn_id.
6217 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6220 * gdb.python/py-xmethods.exp: Add tests.
6222 2015-05-08 Yao Qi <yao.qi@linaro.org>
6225 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6226 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6227 function set_coredump_filter, and remove remote_exec call.
6228 Remove argument ipid. Callers update.
6229 (top level): Don't get inferior's PID.
6231 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6233 * gdb.base/watch_thread_num.exp: Skip test on targets without
6236 2015-05-06 Pedro Alves <palves@redhat.com>
6239 * gdb.server/non-existing-program.exp: New file.
6241 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6243 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6245 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6247 * gdb.ada/out_of_line_in_inlined: New testcase.
6249 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6251 * gdb.ada/var_rec_arr: New testcase.
6253 2015-04-30 Yao Qi <yao.qi@linaro.org>
6255 * gdb.base/break-idempotent.exp: If
6256 skip_hw_watchpoint_multi_tests returns true, skip the tests
6257 on "rwatch" and "awatch".
6259 2015-04-30 Yao Qi <yao.qi@linaro.org>
6261 * gdb.base/relativedebug.exp: Invoke gdb command
6262 "info sharedlibrary", and if libc.so doesn't have debug info,
6265 2015-04-29 Doug Evans <dje@google.com>
6267 * gdb.python/py-xmethods.exp: Add ptype tests.
6268 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6269 get_result_type method.
6271 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6273 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6274 the target does not support hardware watchpoints.
6276 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6278 * gdb.base/break-always.exp: Abort testing if writing to memory
6281 2015-04-28 Doug Evans <dje@google.com>
6283 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6284 * gdb.python/py-pp-registration.exp: ... here. New file.
6285 * gdb.python/py-pp-registration.c: New file.
6286 * gdb.python/py-pp-registration.py: New file.
6288 2015-04-28 Doug Evans <dje@google.com>
6290 * gdb.python/py-bad-printers.c: New file.
6291 * gdb.python/py-bad-printers.py: New file.
6292 * gdb.python/py-bad-printers.exp: New file.
6294 2015-04-28 Sasha Smundak <asmundak@google.com>
6296 * gdb.python/py-type.exp: New test.
6298 2015-04-28 Andy Wingo <wingo@igalia.com>
6300 * gdb.python/py-parameter.exp:
6301 * gdb.guile/scm-parameter.exp: Escape the path that we are
6302 matching against, as it might contain characters that are special
6303 to regular expressions.
6305 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6307 * gdb.ada/rec_comp: New testcase.
6309 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6311 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6314 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6316 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6317 new tests for verilog output.
6319 2015-04-24 Yao Qi <yao.qi@linaro.org>
6321 * boards/remote-gdbserver-on-localhost.exp: New file.
6323 2015-04-23 Pedro Alves <palves@redhat.com>
6325 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6326 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6327 "end of file", remove $inferior_spawn_id from the indirect list.
6329 2015-04-23 Pedro Alves <palves@redhat.com>
6331 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6333 2015-04-23 Pedro Alves <palves@redhat.com>
6335 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6336 on $any_spawn_id instead of only on $gdb_spawn_id.
6338 2015-04-21 Pierre Muller <muller@sourceware.org>
6341 * lib/pascal.exp (gpc_compile): Add new option "class".
6342 (fpc_compile): Likewise.
6343 * gdb.pascal/case-insensitive-symbols.pas: New file.
6344 * gdb.pascal/case-insensitive-symbols.exp: New file.
6346 2015-04-20 Gary Benson <gbenson@redhat.com>
6348 * gdb.base/attach.exp: Fix three extended remote failures.
6350 2015-04-17 Gary Benson <gbenson@redhat.com>
6352 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6353 the main executable over the remote protocol.
6355 2015-04-16 Pedro Alves <palves@redhat.com>
6357 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6358 a new gdbserver if gdbserver_reconnect_p is set.
6360 2015-04-16 Pedro Alves <palves@redhat.com>
6362 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6363 is set, don't exit gdbserver.
6365 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6367 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6368 appropriate .insn, such that an older assembler can be used.
6369 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6370 the z/Architecture instruction set on 31-bit targets as well.
6372 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6374 * gdb.go/handcall.exp: Remove all logic related to the first
6375 breakpoint and rely on go_runto_main instead.
6376 * gdb.go/strings.exp: Likewise.
6377 * gdb.go/unsafe.exp: Likewise.
6378 * gdb.go/hello.exp: Likewise. Also rename the remaining
6379 breakpoint marker to "breakpoint 1".
6380 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6381 * gdb.go/strings.go: Likewise.
6382 * gdb.go/unsafe.go: Likewise.
6383 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6384 "set breakpoint 2 here" and rename the remaining breakpoint marker
6387 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6389 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6390 if itertools.imap is not present.
6391 * gdb.python/py-objfile.exp: Add parentheses.
6392 * gdb.python/py-type.exp: Same.
6393 * gdb.python/py-unwind-maint.py: Same.
6395 2015-04-15 Yao Qi <yao.qi@linaro.org>
6397 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6398 of ":$ptr_size" and set its form explicitly.
6400 2015-04-15 Pedro Alves <palves@redhat.com>
6401 Yao Qi <yao.qi@linaro.org>
6403 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6404 timeout by factor of 4.
6405 (test_regular_watch): Likewise.
6406 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6407 * gdb.reverse/sigall-reverse.exp: Likewise.
6408 * gdb.reverse/until-precsave.exp: Likewise.
6409 * lib/gdb.exp (with_timeout_factor): New proc.
6410 (gdb_expect): Move some code to ...
6411 (get_largest_timeout): ... here. New procedure.
6413 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6415 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6417 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6419 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6420 to write to the .text section.
6422 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6424 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6425 Handle the case of targets that do not provide PID information.
6427 2015-04-13 Yao Qi <yao.qi@linaro.org>
6429 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6430 and use expect instead of gdb_expect.
6432 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6434 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6435 "coredump_var_addr" to avoid naming conflict with other testcases.
6437 2015-04-10 Pedro Alves <palves@redhat.com>
6439 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6440 gdb_test_sequence and gdb_assert.
6442 2015-04-10 Pedro Alves <palves@redhat.com>
6444 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6445 test messages that don't include the breakpoint address.
6447 2015-04-10 Yao Qi <yao.qi@linaro.org>
6449 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6450 false for some offset and width combinations which aren't
6451 supported by linux kernel.
6453 2015-04-10 Pedro Alves <palves@redhat.com>
6455 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6456 procedure, factored out from ...
6457 (top level): ... here. Add "set displaced-stepping" testing axis.
6458 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6459 parameter "displaced". Use it.
6460 (top level): Use foreach and add "set displaced-stepping" testing
6463 2015-04-10 Pedro Alves <palves@redhat.com>
6465 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6467 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6468 both the address of the instruction that triggers the watchpoint
6469 and the address of the instruction immediately after, and use
6470 those addresses for the test. Fix comment.
6472 2015-04-10 Pedro Alves <palves@redhat.com>
6474 * gdb.base/sigstep.exp (breakpoint_to_handler)
6475 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6476 Test "backtrace" in handler.
6477 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6478 (top level): Add new "displaced" test axis to
6479 breakpoint_to_handler, breakpoint_to_handler_entry and
6480 breakpoint_over_handler.
6482 2015-04-10 Pedro Alves <palves@redhat.com>
6485 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6487 2015-04-10 Yao Qi <yao.qi@linaro.org>
6489 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6490 (test_add_rn_pc): New function.
6491 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6492 (top level): Invoke test_add_rn_pc.
6494 2015-04-10 Pedro Alves <palves@redhat.com>
6497 * gdb.base/step-over-no-symbols.exp: New file.
6499 2015-04-09 Andy Wingo <wingo@igalia.com>
6501 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6502 after the Python tests.
6504 2015-04-08 Keith Seitz <keiths@redhat.com>
6507 * gdb.python/py-completion.exp: New tests for completion.
6508 * gdb.python/py-completion.py (CompleteLimit1): New class.
6509 (CompleteLimit2): Likewise.
6510 (CompleteLimit3): Likewise.
6511 (CompleteLimit4): Likewise.
6512 (CompleteLimit5): Likewise.
6513 (CompleteLimit6): Likewise.
6514 (CompleteLimit7): Likewise.
6516 2015-04-08 Pedro Alves <palves@redhat.com>
6520 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6522 (main): Install it as SIGUSR1 handler.
6523 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6524 parameter. Always use "setup" as prefix. Toggle "set
6525 displaced-stepping" off/on depending on global. Don't switch to
6527 (top level): Add displaced stepping "off/on" test axis. Update
6528 "setup" calls. Wrap each subtest with with_test_prefix. Test
6529 continuing with a queued signal in each thread.
6531 2015-04-08 Pedro Alves <palves@redhat.com>
6533 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6534 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6535 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6536 Return early if running to main fails.
6537 * gdb.trace/while-stepping.exp: Likewise.
6539 2015-04-07 Pedro Alves <palves@redhat.com>
6541 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6542 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6543 interact with inferior program.
6545 2015-04-07 Pedro Alves <palves@redhat.com>
6547 * lib/gdb.exp (inferior_spawn_id): New global.
6548 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6549 spawn id after processing the user code.
6550 (default_gdb_start): Set inferior_spawn_id.
6551 (send_inferior): New procedure.
6552 * lib/gdbserver-support.exp (gdbserver_start): Set
6554 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6556 2015-04-07 Pedro Alves <palves@redhat.com>
6558 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6559 * lib/gdbserver-support.exp (gdbserver_start): Make
6560 $server_spawn_id global.
6561 (gdbserver_start): Don't wait for gdbserver's spawn id with
6563 (close_gdbserver): New procedure.
6564 (gdb_exit): Rename the default version and reimplement.
6566 2015-04-07 Pedro Alves <palves@redhat.com>
6568 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6569 append the substituted item, not the original item.
6571 2015-04-07 Pedro Alves <palves@redhat.com>
6573 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6576 2015-04-07 Pedro Alves <palves@redhat.com>
6578 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6579 output appearing once only.
6581 2015-04-07 Pedro Alves <palves@redhat.com>
6583 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6584 that doesn't expect anything. Return early if running to main
6587 2015-04-07 Yao Qi <yao.qi@linaro.org>
6589 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6590 (child_function): Call alarm.
6591 (main): Move call to alarm into the loop.
6592 * gdb.threads/non-stop-fair-events.exp: Build program with
6595 2015-04-06 Doug Evans <xdje42@gmail.com>
6597 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6598 Fix dest parameter to board_info.
6599 (fpc_compile): Ditto.
6600 (gdb_compile_pascal): Rename dest arg to destfile.
6602 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6604 * gdb.ada/funcall_ref.exp: New file.
6605 * gdb.ada/funcall_ref/foo.adb: New file.
6607 2015-04-02 Yao Qi <yao.qi@linaro.org>
6609 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6612 2015-04-02 Gary Benson <gbenson@redhat.com>
6614 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6616 2015-04-01 Sasha Smundak <asmundak@google.com>
6618 * gdb.python/py-unwind-maint.c: New file.
6619 * gdb.python/py-unwind-maint.exp: New test.
6620 * gdb.python/py-unwind-maint.py: New file.
6621 * gdb.python/py-unwind.c: New file.
6622 * gdb.python/py-unwind.exp: New test.
6623 * gdb.python/py-unwind.py: New test.
6625 2015-04-01 Pedro Alves <palves@redhat.com>
6627 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6628 to fail instead of non-existent $test.
6630 2015-04-01 Pedro Alves <palves@redhat.com>
6632 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6633 GDBFLAGS if not empty.
6635 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6637 * gdb.ada/complete.exp: Remove "multi_line".
6638 * gdb.ada/info_exc.exp: Remove "multi_line".
6639 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6640 * gdb.ada/ptype_field.exp: Remove "multi_line".
6641 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6642 * gdb.ada/tagged.exp: Remove "multi_line".
6643 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6645 * gdb.btrace/delta.exp: Likewise.
6646 * gdb.btrace/exception.exp: Likewise.
6647 * gdb.btrace/function_call_history.exp: Likewise.
6648 * gdb.btrace/instruction_history.exp: Likewise.
6649 * gdb.btrace/nohist.exp: Likewise.
6650 * gdb.btrace/record_goto.exp: Likewise.
6651 * gdb.btrace/segv.exp: Likewise.
6652 * gdb.btrace/stepi.exp: Likewise.
6653 * gdb.btrace/tailcall.exp: Likewise.
6654 * gdb.btrace/unknown_functions.exp: Likewise.
6655 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6656 * lib/gdb.exp: Add the "multi_line" helper.
6658 2015-04-01 Pedro Alves <palves@redhat.com>
6660 * gdb.threads/tid-reuse.c: New file.
6661 * gdb.threads/tid-reuse.exp: New file.
6663 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6666 * gdb.base/coredump-filter.c: New file.
6667 * gdb.base/coredump-filter.exp: Likewise.
6669 2015-03-27 Petr Machata <pmachata@redhat.com>
6671 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6672 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6673 (Dwarf::assemble): Initialize them.
6674 (Dwarf::lines): New function.
6676 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6678 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6679 SYMBOL_PREFIX for x86_64-*-cygwin.
6681 2015-03-26 Andy Wingo <wingo@igalia.com>
6684 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6685 const_value but not a location.
6686 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6687 location defined in non-main CUs are visible.
6689 2015-03-26 Yao Qi <yao.qi@linaro.org>
6692 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6693 Add a line number entry for the same line.
6694 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6695 Add a line number entry for the same line.
6697 2015-03-26 Yao Qi <yao.qi@linaro.org>
6699 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6701 (func): Likewise. Add .Lfunc_1 label.
6703 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6708 2015-03-26 Yao Qi <yao.qi@linaro.org>
6710 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6711 Call gdb_compile instead to compile each .s files without debug
6714 2015-03-26 Yao Qi <yao.qi@linaro.org>
6716 * gdb.base/savedregs.exp (process_saved_regs): Make
6717 "Saved registers:" optional in the pattern.
6719 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6721 * gdb.btrace/next.exp: Merged into step.exp.
6722 * gdb.btrace/finish.exp: Merged into step.exp.
6723 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6724 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6725 "record goto" and checking the exact replay position.
6726 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6727 check for "Recording format" in "info record" output.
6728 * gdb.btrace/record_goto.exp: Choose test file based on target.
6729 * gdb.btrace/x86-record_goto.S: Renamed into ...
6730 * gdb.btrace/x86_64-record_goto.S: ... this.
6731 * gdb.btrace/i686-record_goto.S: New.
6732 * gdb.btrace/x86-tailcall.S: Renamed into ...
6733 * gdb.btrace/x86_64-tailcall.S: ... this.
6734 * gdb.btrace/i686-tailcall.S: New.
6735 * gdb.btrace/x86-tailcall.c: Renamed into ...
6736 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6737 separate statements. Update test.
6738 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6739 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6740 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6741 * gdb.btrace/tailcall.exp: Choose test file based on target.
6742 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6744 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6746 * gdb.btrace/exception.exp: Increase BTS buffer size.
6748 2015-03-24 Pedro Alves <palves@redhat.com>
6750 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6752 2015-03-24 Pedro Alves <palves@redhat.com>
6754 * gdb.threads/schedlock.exp (test_step): No longer expect that
6755 "set scheduler-locking step" with "next" over a function call runs
6758 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6760 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6762 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6764 PR breakpoints/16466
6765 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6766 * gdb.mi/mi-pending.c (thread_func): New function.
6767 (int main): Add threading support required.
6768 * gdb.mi/mi-pending.exp: Add tests for this issue.
6769 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6770 (pendfunc2): Remove stdio dependency.
6771 * gdb.mi/mi-pendshr2.c: New file.
6773 2015-03-23 Keith Seitz <keiths@redhat.com>
6775 * gdb.linespec/keywords.c: New file.
6776 * gdb.linespec/keywords.exp: New file.
6778 2015-03-23 Keith Seitz <keiths@redhat.com>
6781 * gdb.dwarf2/staticvirtual.exp: New test.
6783 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6785 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6786 * README: Remove HP-UX and gdb.hp.
6788 * configure: Regenerate.
6789 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6790 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6791 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6792 gdb.hp/gdb.defects/Makefile.
6793 * gdb.hp/Makefile.in: File deleted.
6794 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6795 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6796 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6797 * gdb.hp/gdb.aCC/run.c: File deleted.
6798 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6799 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6800 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6801 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6802 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6803 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6804 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6805 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6806 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6807 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6808 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6809 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6810 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6811 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6812 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6813 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6814 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6815 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6816 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6817 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6818 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6819 * gdb.hp/gdb.compat/average.c: File deleted.
6820 * gdb.hp/gdb.compat/sum.c: File deleted.
6821 * gdb.hp/gdb.compat/xdb.c: File deleted.
6822 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6823 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6824 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6825 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6826 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6827 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6828 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6829 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6830 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6831 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6832 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6833 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6834 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6835 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6836 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6837 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6838 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6839 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6840 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6841 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6842 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6843 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6844 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6845 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6846 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6847 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6848 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6849 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6850 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6851 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6852 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6853 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6854 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6855 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6856 * gdb.hp/tools/odump: File deleted.
6858 2015-03-19 Pedro Alves <palves@redhat.com>
6860 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6861 (saw_thread_3): New globals.
6862 (top level): Increment them when an event for the corresponding
6864 (no thread starvation): New test.
6866 2015-03-19 Pedro Alves <palves@redhat.com>
6868 * gdb.threads/continue-pending-status.c: New file.
6869 * gdb.threads/continue-pending-status.exp: New file.
6871 2015-03-18 Pedro Alves <palves@redhat.com>
6873 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6874 Use gdb_is_target_remote instead of is_remote. Use
6875 gdb_test_multiple instead of gdb_expect. Exit early if
6876 gdb_test_multiple hits its internal matches. Tighten stepi tests
6877 expected output. Fail on exit with any signal, instead of just
6880 2015-03-18 Yao Qi <yao.qi@linaro.org>
6883 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
6885 * gdb.base/catch-syscall.exp: Don't skip it on
6886 aarch64*-*-linux* target. Remove elements in all_syscalls.
6887 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
6889 (setup_all_syscalls): New proc.
6891 2015-03-16 Yao Qi <yao.qi@linaro.org>
6893 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
6894 (top level): Skip tests if valid_addr_p returns false for
6897 2015-03-11 Andy Wingo <wingo@igalia.com>
6899 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
6901 2015-03-11 Yao Qi <yao.qi@linaro.org>
6903 * gdb.base/catch-syscall.exp: Fix typo in comments.
6905 2015-03-11 Yao Qi <yao.qi@linaro.org>
6907 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
6909 2015-03-09 Pedro Alves <palves@redhat.com>
6911 * dg-extract-results.py: Delete.
6913 2015-03-09 Pedro Alves <palves@redhat.com>
6915 Merge dg-extract-results.sh from GCC upstream (r218843).
6917 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
6918 * dg-extract-results.sh: Use --text with grep to avoid issues with
6919 binary files. Fall back to cat -v, if that doesn't work.
6921 2015-03-05 Pedro Alves <palves@redhat.com>
6923 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
6925 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
6927 * lib/mi-support.exp (mi_expect_interrupt): Accept
6928 alternative event for when in all-stop mode.
6930 2015-03-04 Pedro Alves <palves@redhat.com>
6932 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
6934 2015-03-04 Mark Kettenis <kettenis@gnu.org>
6936 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
6938 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6940 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6941 regexps for GDB's current line display, accept a hex address
6942 preceding the line number.
6944 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6946 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6947 the 'arch1' variable for "s390*-linux*" targets.
6949 2015-03-04 Pedro Alves <palves@redhat.com>
6951 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6952 (main): Pass missing retval argument to pthread_join call.
6954 2015-03-02 Pedro Alves <palves@redhat.com>
6956 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6957 (top level): Call do_test with non-stop as well.
6959 2015-03-02 Pedro Alves <palves@redhat.com>
6961 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6964 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6966 * gdb.arch/s390-vregs.exp: New test.
6967 * gdb.arch/s390-vregs.S: New file.
6969 2015-02-27 Pedro Alves <palves@redhat.com>
6971 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6972 call to catch_command_errors.
6973 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6974 catch_command_errors.
6976 2015-02-27 Pedro Alves <palves@redhat.com>
6978 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6979 "true" for boolean result.
6980 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6983 2015-02-27 Pedro Alves <palves@redhat.com>
6985 * lib/unbuffer_output.c: New file.
6986 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6987 (main): Call gdb_unbuffer_output.
6989 2015-02-27 Yao Qi <yao.qi@linaro.org>
6991 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6994 2015-02-26 Doug Evans <dje@google.com>
6996 * gdb.cp/class2.cc (Dbase, D): New classes.
6997 (main): New local delta.
6998 * gdb.cp/class2.exp: Test printing delta.
6999 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7000 (dynbar): New global.
7001 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7003 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7005 * gdb.compile/compile-ifunc.c: New file.
7006 * gdb.compile/compile-ifunc.exp: New file.
7008 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7010 * gdb.base/structs.exp: Check for correct struct on finish.
7012 2015-02-26 Yao Qi <yao.qi@linaro.org>
7014 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7017 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7019 * gdb.arch/cordic.ko.bz2: New file.
7020 * gdb.arch/cordic.ko.debug.bz2: New file.
7021 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7023 2015-02-25 Yao Qi <yao.qi@linaro.org>
7025 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7026 aarch64*-*-* target.
7028 2015-02-23 Pedro Alves <palves@redhat.com>
7030 * lib/gdb.exp (delete_breakpoints): Rewrite using
7033 2015-02-23 Pedro Alves <palves@redhat.com>
7035 * gdb.base/info-os.c: Include stdlib.h.
7037 2015-02-22 Doug Evans <xdje42@gmail.com>
7040 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7041 is read after symbols have been re-read.
7042 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7043 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7045 2015-02-21 Doug Evans <dje@google.com>
7047 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7049 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7052 * gdb.arch/i386-biarch-core.core.bz2: New file.
7053 * gdb.arch/i386-biarch-core.exp: New file.
7055 2015-02-21 Pedro Alves <palves@redhat.com>
7057 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7060 2015-02-20 Pedro Alves <palves@redhat.com>
7062 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7065 2015-02-20 Pedro Alves <palves@redhat.com>
7067 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7069 2015-02-20 Pedro Alves <palves@redhat.com>
7071 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7072 clean_restart before gdb_target_supports_trace.
7074 2015-02-20 Pedro Alves <palves@redhat.com>
7077 * gdb.threads/clone-thread_db.c: New file.
7078 * gdb.threads/clone-thread_db.exp: New file.
7080 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7082 PR breakpoints/16812
7083 * gdb.base/catch-gdb-caused-signals.c: New file.
7084 * gdb.base/catch-gdb-caused-signals.exp: New file.
7086 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7088 * configure: Regenerated.
7089 * configure.ac: Use GDB_AC_TRANSFORM.
7090 * aclocal.m4: sinclude ../transform.m4.
7092 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7094 * lib/dtrace.exp: New file.
7095 * gdb.base/dtrace-probe.exp: Likewise.
7096 * gdb.base/dtrace-probe.d: Likewise.
7097 * gdb.base/dtrace-probe.c: Likewise.
7098 * lib/pdtrace.in: Likewise.
7099 * configure.ac: Output variables with the transformed names of
7100 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7101 * configure: Regenerated.
7103 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7105 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7106 expected message when trying to access $_probe_* convenience
7107 variables while not on a probe.
7109 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7111 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7113 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7115 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7116 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7118 2015-02-10 Doug Evans <xdje42@gmail.com>
7120 * lib/gdb.exp (gdb_load): Always return a result.
7122 2015-02-10 Pedro Alves <palves@redhat.com>
7124 * gdb.threads/signal-sigtrap.c: New file.
7125 * gdb.threads/signal-sigtrap.exp: New file.
7127 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7129 * gdb.trace/no-attach-trace.c: New file.
7130 * gdb.trace/no-attach-trace.exp: New file.
7132 2015-02-09 Mark Wielaard <mjw@redhat.com>
7134 * gdb.dwarf2/atomic.c: New file.
7135 * gdb.dwarf2/atomic-type.exp: Likewise.
7137 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7139 * gdb.btrace/buffer-size.exp: Update "info record" output.
7140 * gdb.btrace/delta.exp: Update "info record" output.
7141 * gdb.btrace/enable.exp: Update "info record" output.
7142 * gdb.btrace/finish.exp: Update "info record" output.
7143 * gdb.btrace/instruction_history.exp: Update "info record" output.
7144 * gdb.btrace/next.exp: Update "info record" output.
7145 * gdb.btrace/nexti.exp: Update "info record" output.
7146 * gdb.btrace/step.exp: Update "info record" output.
7147 * gdb.btrace/stepi.exp: Update "info record" output.
7148 * gdb.btrace/nohist.exp: Update "info record" output.
7150 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7152 * gdb.btrace/buffer-size: New.
7154 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7156 * gdb.btrace/delta.exp: Update "info record" output.
7157 * gdb.btrace/enable.exp: Update "info record" output.
7158 * gdb.btrace/finish.exp: Update "info record" output.
7159 * gdb.btrace/instruction_history.exp: Update "info record" output.
7160 * gdb.btrace/next.exp: Update "info record" output.
7161 * gdb.btrace/nexti.exp: Update "info record" output.
7162 * gdb.btrace/step.exp: Update "info record" output.
7163 * gdb.btrace/stepi.exp: Update "info record" output.
7164 * gdb.btrace/nohist.exp: Update "info record" output.
7166 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7169 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7171 2015-02-06 Pedro Alves <palves@redhat.com>
7173 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7175 (seconds_left, again): New globals.
7176 (main): Wait seconds_left in a 1-second sleep loop instead of
7177 sleeping 180 seconds. If 'again' is set, reset the seconds
7179 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7180 'again' in the inferior before detaching. Print the seconds left.
7181 (options): New global.
7182 (top level): Build program with -DTIMEOUT=$timeout.
7184 2015-02-06 Pedro Alves <palves@redhat.com>
7186 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7187 determine how many seconds to pass to 'alarm'.
7188 * gdb.base/gdb-sigterm.exp (top level): Build program with
7190 (do_test): Return success/failure indication. Add more verbose
7191 logging. Don't fail if 200 single steps are seen. Instead, fail
7192 when the test times out.
7193 (passes): New global.
7194 (top level): Break the testing loop if testing fails on any
7195 iteration. Use gdb_assert.
7197 2015-02-04 Don Breazeal <donb@codesourcery.com>
7199 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7200 and initialize them.
7201 (ipc_cleanup): New function.
7202 (main): Don't declare shmid, semid, and msqid. Add a call to
7203 atexit so that we call ipc_cleanup on exit.
7205 2015-02-04 Pedro Alves <palves@redhat.com>
7207 * boards/native-extended-gdbserver.exp: Remove any target variant
7208 specifications from the board name before clearing the isremote
7209 flag from board_info.
7211 2015-01-31 Doug Evans <xdje42@gmail.com>
7213 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7215 2015-01-31 Gary Benson <gbenson@redhat.com>
7217 * gdb.base/completion.exp: Disable completion limiting for
7218 existing tests. Add new tests to check completion limiting.
7219 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7221 2015-01-31 Doug Evans <xdje42@gmail.com>
7223 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7225 2015-01-31 Doug Evans <xdje42@gmail.com>
7227 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7228 entries. Duplicate file section script entries.
7229 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7230 inlined entries. Add test for safe-path rejection.
7231 * gdb.python/py-section-script.c: Add duplicate inlined section script
7232 entries. Duplicate file section script entries.
7233 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7234 inlined entries. Add test for safe-path rejection.
7236 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7238 * gdb.ada/disc_arr_bound: New testcase.
7240 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7242 * gdb.ada/mi_var_array: New testcase.
7244 2015-01-27 Doug Evans <dje@google.com>
7246 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7247 Add test for objfile.filename, objfile.username after objfile
7250 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7252 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7253 the second test to print the name attribute of value
7254 returned by the call to gdb.lookup_type, and adjust
7255 the expected output accordingly.
7257 2015-01-25 Mark Wielaard <mjw@redhat.com>
7259 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7260 * gdb.base/disp-step-fork.c: Include unistd.h.
7261 * gdb.base/siginfo-obj.c: Include stdio.h.
7262 * gdb.base/siginfo-thread.c: Likewise.
7263 * gdb.mi/non-stop.c: Include unistd.h.
7264 * gdb.mi/nsthrexec.c: Include stdio.h.
7265 * gdb.mi/pthreads.c: Include unistd.h.
7266 * gdb.modula2/unbounded1.c (main): Declare returns int.
7267 * gdb.reverse/consecutive-reverse.c: Likewise.
7268 * gdb.threads/create-fail.c: Include unistd.h.
7269 * gdb.threads/killed.c: Likewise.
7270 * gdb.threads/linux-dp.c: Likewise.
7271 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7272 * gdb.threads/non-ldr-exc-2.c: Likewise.
7273 * gdb.threads/non-ldr-exc-3.c: Likewise.
7274 * gdb.threads/non-ldr-exc-4.c: Likewise.
7275 * gdb.threads/pthreads.c: Include unistd.h.
7276 (main): Declare returns int.
7277 * gdb.threads/tls-main.c (foo): New declaration.
7278 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7280 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7282 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7283 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7285 2015-01-15 Mark Wielaard <mjw@redhat.com>
7287 * gdb.base/noreturn-return.c: New file.
7288 * gdb.base/noreturn-return.exp: New file.
7289 * gdb.base/noreturn-finish.c: New file.
7290 * gdb.base/noreturn-finish.exp: New file.
7292 2015-01-23 Pedro Alves <palves@redhat.com>
7294 * gdb.threads/continue-pending-after-query.c: New file.
7295 * gdb.threads/continue-pending-after-query.exp: New file.
7297 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7298 Simon Marchi <simon.marchi@ericsson.com>
7300 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7301 * gdb.base/valgrind-db-attach.exp: Same.
7302 * gdb.base/valgrind-infcall.exp: Same.
7303 * lib/mi-support.exp (default_mi_gdb_start): Same.
7304 * lib/prompt.exp (default_prompt_gdb_start): Same.
7305 * lib/gdb.exp (default_gdb_spawn): Same.
7306 (gdb_interact): New.
7309 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7311 * gdb.compile/compile.exp (pointer to jit function): New test.
7313 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7315 * lib/gdb.exp (supports_process_record): Return true for
7317 (supports_reverse): Likewise.
7319 2015-01-15 Don Breazeal <donb@codesourcery.com>
7321 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7322 instead of checking whether the target board is remote and
7323 use spawn_wait_for_attach instead of exec/sleep.
7324 * gdb.base/attach-twice.exp: Likewise.
7326 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7328 * gdb.ada/var_arr_attrs: New testcase.
7330 2015-01-14 Pedro Alves <palves@redhat.com>
7331 Joel Brobecker <brobecker@adacore.com>
7334 * gdb.base/bp-cmds-execution-x-script.c: New file.
7335 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7336 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7338 2015-01-14 Pedro Alves <palves@redhat.com>
7341 * gdb.base/batch-preserve-term-settings.c: New file.
7342 * gdb.base/batch-preserve-term-settings.exp: New file.
7344 2015-01-13 Doug Evans <dje@google.com>
7346 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7349 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7351 * Makefile.in (clean mostlyclean): Do not delete *.py.
7353 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7355 * gdb.python/py-lookup-type.exp: New file.
7357 2015-01-12 Pedro Alves <palves@redhat.com>
7359 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7360 restore GDBFLAGS before returning.
7362 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7364 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7365 is_amd64_regs_target and is_x86_like_target.
7367 2015-01-11 Doug Evans <xdje42@gmail.com>
7369 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7370 is given without an explicit form.
7371 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7373 * gdb.dwarf/corrupt.exp: Ditto.
7374 * gdb.dwarf2/enum-type.exp: Ditto.
7375 * gdb.trace/entry-values.exp: Ditto.
7376 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7378 2015-01-11 Doug Evans <xdje42@gmail.com>
7381 * gdb.base/maint.exp: Remove references to "maint demangle".
7382 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7383 Add tests for explicitly specifying language to demangle.
7384 * gdb.dlang/demangle.exp: Ditto.
7386 2015-01-09 Pedro Alves <palves@redhat.com>
7388 * gdb.threads/non-stop-fair-events.c: New file.
7389 * gdb.threads/non-stop-fair-events.exp: New file.
7391 2015-01-09 Pedro Alves <palves@redhat.com>
7393 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7394 the global scope. Set a breakpoint after all threads are started
7395 rather than stepping over two source lines. Expect the prompt.
7396 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7399 (main): Use threads_started_barrier to wait for all threads to
7400 start. Main thread no longer calls thread_function. Exit after
7402 (loop): New function.
7403 (thread_function): Wait on threads_started_barrier barrier. Call
7404 'loop' at each iteration.
7405 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7406 threads have started, instead of hardcoding number of "next"
7407 steps. Use an access watchpoint instead of a write watchpoint.
7409 2015-01-09 Pedro Alves <palves@redhat.com>
7411 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7412 (thread_func): Wait on barrier.
7413 (main): Wait for all threads to start before stopping GDB.
7414 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7416 (thread1_func, thread2_func): Wait on barrier.
7417 (main): Wait for all threads to start before stopping GDB.
7418 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7420 (thread1_func, thread2_func): Wait on barrier.
7421 (main): Wait for all threads to start before stopping GDB.
7423 2015-01-09 Pedro Alves <palves@redhat.com>
7425 * gdb.threads/attach-many-short-lived-threads.c: New file.
7426 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7428 2014-01-09 Pedro Alves <palves@redhat.com>
7430 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7431 instead of to thread 2.
7432 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7433 Add barrier around each pthread_create call instead of around all
7435 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7436 Set a break on thread_function and have the child threads hit it
7439 2015-01-09 Pedro Alves <palves@redhat.com>
7441 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7442 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7444 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7445 checking whether the target board is remote.
7446 * gdb.multi/multi-attach.exp: Likewise.
7447 * gdb.python/py-sync-interp.exp: Likewise.
7448 * gdb.server/ext-attach.exp: Likewise.
7449 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7450 tests that need to attach, instead of checking whether the target
7451 board is remote at the top of the file.
7453 2015-01-08 Yao Qi <yao@codesourcery.com>
7455 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7457 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7459 Fix testcase compilation.
7460 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7462 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7464 * gdb.python/py-type.exp: Add a couple test about empty
7465 array creation, and negative-length array creation.
7467 2015-01-02 Doug Evans <xdje42@gmail.com>
7469 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7471 2015-01-02 Doug Evans <dje@google.com>
7473 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7475 2014-12-29 Yao Qi <yao@codesourcery.com>
7477 * gdb.trace/entry-values.exp: Update comments. Rename variable
7478 bar_call_foo to returned_from_foo.
7480 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7483 * gdb.linespec/break-asm-file.c: New file.
7484 * gdb.linespec/break-asm-file.exp: New file.
7485 * gdb.linespec/break-asm-file0.s: New file.
7486 * gdb.linespec/break-asm-file1.s: New file.
7488 2014-12-18 Nigel Stephens <nigel@mips.com>
7489 Maciej W. Rozycki <macro@codesourcery.com>
7491 * gdb.base/float.exp: Handle the new output from "info float" on
7494 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7496 Fix MinGW compilation.
7497 * gdb.compile/compile-ops.exp: Update untested message if
7498 !skip_compile_feature_tests.
7499 * gdb.compile/compile-setjmp.exp: Likewise.
7500 * gdb.compile/compile-tls.exp: Likewise.
7501 * gdb.compile/compile.exp: Likewise.
7502 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7503 supported on this host".
7505 2014-12-16 Doug Evans <xdje42@gmail.com>
7507 * boards/stabs.exp: New file.
7509 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7511 * gdb.base/completion.exp: Adjust to format changes of "maint
7512 print user-registers".
7514 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7517 * gdb.arch/aarch64-fp.c: New file.
7518 * gdb.arch/aarch64-fp.exp: New file.
7520 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7522 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7523 r210637, r210913, r211666, r215400, r215817).
7525 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7526 * dg-extract-results.py: New file.
7527 * dg-extract-results.sh: Use it if the environment seems
7530 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7532 * dg-extract-results.py (parse_run): Handle warnings that
7533 are printed before a test harness is run.
7535 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7537 * dg-extract-results.py (Named): Remove __cmp__ method.
7538 (output_variation): Use a key to sort variation.harnesses.
7540 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7542 * dg-extract-results.py: For Python 3, force sys.stdout to
7543 handle surrogate escape sequences.
7544 (safe_open): New function.
7545 (output_segment, main): Use it.
7547 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7549 * dg-extract-results.py (Prog.result_re): Include options
7552 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7554 * dg-extract-results.py (output_variation): Always sort if
7557 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7559 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7560 as long as we get pagination notifications.
7562 2014-12-15 Jason Merrill <jason@redhat.com>
7564 * Makefile.in (check-gdb.%): Restore.
7565 * README: Mention it.
7567 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7569 * gdb.ada/str_uninit: New testcase.
7571 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7574 * gdb.base/vla-stub-define.c: New file.
7575 * gdb.base/vla-stub.c: New file.
7576 * gdb.base/vla-stub.exp: New file.
7578 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7579 Jan Kratochvil <jan.kratochvil@redhat.com>
7580 Tom Tromey <tromey@redhat.com>
7582 * configure.ac: Add gdb.compile/.
7583 * configure: Regenerate.
7584 * gdb.compile/Makefile.in: New file.
7585 * gdb.compile/compile-ops.exp: New file.
7586 * gdb.compile/compile-ops.c: New file.
7587 * gdb.compile/compile-tls.c: New file.
7588 * gdb.compile/compile-tls.exp: New file.
7589 * gdb.compile/compile-constvar.S: New file.
7590 * gdb.compile/compile-constvar.c: New file.
7591 * gdb.compile/compile-mod.c: New file.
7592 * gdb.compile/compile-nodebug.c: New file.
7593 * gdb.compile/compile-setjmp-mod.c: New file.
7594 * gdb.compile/compile-setjmp.c: New file.
7595 * gdb.compile/compile-setjmp.exp: New file.
7596 * gdb.compile/compile-shlib.c: New file.
7597 * gdb.compile/compile.c: New file.
7598 * gdb.compile/compile.exp: New file.
7599 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7601 2014-12-12 Tom Tromey <tromey@redhat.com>
7603 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7604 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7606 2014-12-12 Doug Evans <dje@google.com>
7608 * lib/gdb-python.exp (get_python_valueof): New function.
7609 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7611 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7613 * gdb.base/completion.exp: Add test for completion of "info
7616 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7618 * gdb.base/func-ptrs.c: New file.
7619 * gdb.base/func-ptrs.exp: New file.
7621 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7623 PR breakpoints/17012
7624 * gdb.base/dprintf-detach.c: New file.
7625 * gdb.base/dprintf-detach.exp: New file.
7627 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7629 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7630 * lib/gdb.exp (target_is_gdbserver): New procedure.
7632 2014-12-08 Doug Evans <dje@google.com>
7634 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7636 2014-12-05 Yao Qi <yao@codesourcery.com>
7638 * gdb.guile/scm-error.exp: Remove the third argument to
7639 gdb_remote_download.
7640 * gdb.guile/scm-frame-args.exp: Likewise.
7641 * gdb.guile/scm-section-script.exp: Likewise.
7643 2014-12-05 Yao Qi <yao@codesourcery.com>
7645 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7647 2014-12-04 Doug Evans <dje@google.com>
7649 * gdb.python/py-objfile.exp: Add tests for
7650 objfile.add_separate_debug_file.
7652 2014-12-04 Doug Evans <dje@google.com>
7654 * lib/gdb.exp (get_build_id): New function.
7655 (build_id_debug_filename_get): Rewrite to use it.
7656 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7658 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7660 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7661 `method(long)', not just 0x0.
7662 * gdb.cp/nsalias.exp: Align code labels to 4.
7663 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7664 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7665 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7666 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7667 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7668 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7670 2014-12-02 Doug Evans <dje@google.com>
7673 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7674 * gdb.cp/anon-ns2.cc: ... here. New file.
7675 * gdb.cp/anon-ns.exp: Update.
7677 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7679 * gdb.python/py-events.py (inferior_call_handler): New.
7680 (register_changed_handler, memory_changed_handler): New.
7681 (test_events.invoke): Register new handlers.
7682 * gdb.python/py-events.exp: Add tests for inferior call,
7683 memory_changed and register_changed events.
7685 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7687 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7688 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7689 if the linker doesn't understand this.
7691 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7693 * gdb.python/python.exp: Change expected reply to help().
7695 2014-12-01 Yao Qi <yao@codesourcery.com>
7697 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7698 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7699 * configure: Re-generated.
7701 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7703 * gdb.cp/chained-calls.cc: New file.
7704 * gdb.cp/chained-calls.exp: New file.
7705 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7707 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7709 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7710 * gdb.dwarf2/symtab-producer.exp: Same.
7711 * gdb.gdb/python-interrupts.exp: Same.
7712 * gdb.gdb/python-selftest.exp: Same.
7713 * gdb.python/py-linetable.exp: Same.
7714 * gdb.python/py-type.exp: Same.
7715 * gdb.python/py-value-cc.exp: Same.
7716 * gdb.python/py-value.exp: Same.
7718 2014-11-28 Yao Qi <yao@codesourcery.com>
7720 * gdb.base/break-probes.exp: Match library name prefixed with
7723 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7725 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7726 test expected output. Add parentheses for the call to print.
7727 Remove L suffix from integers.
7729 2014-11-26 Doug Evans <dje@google.com>
7731 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7733 2014-11-22 Yao Qi <yao@codesourcery.com>
7735 * gdb.trace/entry-values.c: Remove asms.
7736 (foo): Add foo_label.
7737 (bar): Add bar_label.
7738 * gdb.trace/entry-values.exp: Remove code computing foo's
7739 length and bar's length.
7740 (Dwarf::assemble): Invoke function_range for bar and use
7741 MACRO_AT_func for foo.
7743 2014-11-22 Yao Qi <yao@codesourcery.com>
7745 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7746 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7747 Use .Lgcc43_procstart instead of gcc43.
7749 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7751 * gdb.ada/n_arr_bound: New testcase.
7753 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7755 PR breakpoints/10737
7756 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7757 test_catch_syscall_multi_arch.
7758 (test_catch_syscall_multi_arch): New function.
7760 2014-11-20 Doug Evans <xdje42@gmail.com>
7762 * gdb.base/maint.exp: Update expected output.
7764 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7766 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7767 4-byte instruction on S390.
7769 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7771 * gdb.ada/arr_arr: New testcase.
7773 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7775 * gdb.ada/pkd_arr_elem: New Testcase.
7777 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7779 * gdb.reverse/break-precsave: Expect completion message for
7781 * gdb.reverse/consecutive-precsave.exp: Likewise.
7782 * gdb.reverse/finish-precsave.exp: Likewise.
7783 * gdb.reverse/i386-precsave.exp: Likewise.
7784 * gdb.reverse/machinestate-precsave.exp: Likewise.
7785 * gdb.reverse/sigall-precsave.exp: Likewise.
7786 * gdb.reverse/solib-precsave.exp: Likewise.
7787 * gdb.reverse/step-precsave.exp: Likewise.
7788 * gdb.reverse/until-precsave.exp: Likewise.
7789 * gdb.reverse/watch-precsave.exp: Likewise.
7791 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7793 * gdb.base/bp-permanent.c: Include unistd.h.
7794 * gdb.python/py-framefilter-mi.c (main): Add return type.
7795 * gdb.python/py-framefilter.c (main): Likewise.
7796 * gdb.trace/actions-changed.c (main): Likewise.
7798 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7800 * gdb.mi/until.c: Add eye-catchers.
7801 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7804 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7806 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7807 function header variants in break1.c.
7808 * gdb.base/ena-dis-br.exp: Likewise.
7809 * gdb.base/hbreak2.exp: Likewise.
7810 * gdb.reverse/until-precsave.exp: Drop references to removed
7811 non-prototype function header variants in ur1.c.
7812 * gdb.reverse/until-reverse.exp: Likewise.
7814 2014-11-17 Petr Machata <pmachata@redhat.com>
7816 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7817 ${_cu_offset_size} bytes abbrev offset.
7819 2014-11-15 Doug Evans <xdje42@gmail.com>
7822 * gdb.base/line-symtabs.exp: New file.
7823 * gdb.base/line-symtabs.c: New file.
7824 * gdb.base/line-symtabs.h: New file.
7826 2014-11-14 Yao Qi <yao@codesourcery.com>
7828 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7829 (func): Add label func_label.
7830 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7831 Replace low_pc and high_pc with MACRO_AT_range.
7832 Replace name, low_pc and high_pc with MACRO_AT_func.
7834 2014-11-14 Yao Qi <yao@codesourcery.com>
7836 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7837 Replace name, low_pc and high_pc with MACRO_AT_func.
7839 2014-11-14 Yao Qi <yao@codesourcery.com>
7841 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7842 produce debug information.
7843 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7845 2014-11-14 Yao Qi <yao@codesourcery.com>
7847 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7848 object and get function length.
7849 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7851 (top-level): Replace gdb_compile and clean_restart with
7852 prepare_for_testing.
7853 * gdb.dwarf2/main.c (main): Add label main_label.
7855 2014-11-14 Yao Qi <yao@codesourcery.com>
7857 * lib/dwarf.exp (function_range): New procedure.
7858 (Dwarf::_handle_macro_at_func): New procedure.
7859 (Dwarf::_handle_macro_at_range): New procedure.
7860 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7862 2014-11-14 Yao Qi <yao@codesourcery.com>
7864 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7865 (_handle_attribute): New procedure.
7867 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7869 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7870 * gdb.base/call-sc.c (zed): Likewise.
7871 * gdb.base/checkpoint.c (main): Likewise.
7872 * gdb.base/dump.c (main): Likewise.
7873 * gdb.base/gcore.c (main): Likewise.
7874 * gdb.base/huge.c (main): Likewise.
7875 * gdb.base/multi-forks.c (main): Likewise.
7876 * gdb.base/pr10179-a.c (main): Likewise.
7877 * gdb.base/savedregs.c (main): Likewise.
7878 * gdb.base/sigaltstack.c (main): Likewise.
7879 * gdb.base/siginfo.c (main): Likewise.
7880 * gdb.base/structs.c (zed): Likewise.
7881 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
7882 * gdb.mi/mi-syn-frame.c (main): Likewise.
7883 * gdb.mi/until.c (foo, main): Likewise.
7884 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
7885 * gdb.base/solib-weak.c (foo): Declare.
7886 * gdb.base/attach-twice.c: Include stdio.h.
7887 * gdb.base/weaklib1.c: Likewise.
7888 * gdb.base/weaklib2.c: Likewise.
7889 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
7890 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
7892 * gdb.base/attach-pie-misread.c: Include stdlib.h.
7893 * gdb.mi/mi-exit-code.c: Likewise.
7894 * gdb.base/break-interp-lib.c: Include string.h.
7895 * gdb.base/coremaker.c: Likewise.
7896 * gdb.base/testenv.c: Likewise.
7897 * gdb.python/py-finish-breakpoint.c: Likewise.
7898 * gdb.base/inferior-died.c: Include sys/wait.h.
7899 * gdb.base/fileio.c: Include time.h.
7900 * gdb.base/async-shell.c: Include unistd.h.
7901 * gdb.base/dprintf-non-stop.c: Likewise.
7902 * gdb.base/info-os.c: Likewise.
7903 * gdb.mi/mi-console.c: Likewise.
7904 * gdb.mi/watch-nonstop.c: Likewise.
7905 * gdb.python/py-events.c: Likewise.
7906 * gdb.base/async.c (baz): Move up before its invocation.
7907 * gdb.base/code_elim2.c (my_global_func): Likewise.
7908 * gdb.base/skip-solib-lib.c (multiply): Likewise.
7909 * gdb.base/advance.c (func2): Likewise.
7911 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7913 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
7915 * gdb.base/annota3.c: Likewise.
7916 * gdb.base/async.c: Likewise.
7917 * gdb.base/average.c: Likewise.
7918 * gdb.base/call-ar-st.c: Likewise.
7919 * gdb.base/call-rt-st.c: Likewise.
7920 * gdb.base/call-sc.c: Likewise.
7921 * gdb.base/call-strs.c: Likewise.
7922 * gdb.base/ending-run.c: Likewise.
7923 * gdb.base/execd-prog.c: Likewise.
7924 * gdb.base/exprs.c: Likewise.
7925 * gdb.base/foll-exec.c: Likewise.
7926 * gdb.base/foll-fork.c: Likewise.
7927 * gdb.base/foll-vfork.c: Likewise.
7928 * gdb.base/funcargs.c: Likewise.
7929 * gdb.base/gcore.c: Likewise.
7930 * gdb.base/jump.c: Likewise.
7931 * gdb.base/langs0.c: Likewise.
7932 * gdb.base/langs1.c: Likewise.
7933 * gdb.base/langs2.c: Likewise.
7934 * gdb.base/mips_pro.c: Likewise.
7935 * gdb.base/nodebug.c: Likewise.
7936 * gdb.base/opaque0.c: Likewise.
7937 * gdb.base/opaque1.c: Likewise.
7938 * gdb.base/recurse.c: Likewise.
7939 * gdb.base/run.c: Likewise.
7940 * gdb.base/scope0.c: Likewise.
7941 * gdb.base/scope1.c: Likewise.
7942 * gdb.base/setshow.c: Likewise.
7943 * gdb.base/setvar.c: Likewise.
7944 * gdb.base/shmain.c: Likewise.
7945 * gdb.base/shr1.c: Likewise.
7946 * gdb.base/shr2.c: Likewise.
7947 * gdb.base/sigall.c: Likewise.
7948 * gdb.base/signals.c: Likewise.
7949 * gdb.base/so-indr-cl.c: Likewise.
7950 * gdb.base/solib2.c: Likewise.
7951 * gdb.base/structs.c: Likewise.
7952 * gdb.base/sum.c: Likewise.
7953 * gdb.base/vforked-prog.c: Likewise.
7954 * gdb.base/watchpoint.c: Likewise.
7955 * gdb.reverse/shr2.c: Likewise.
7956 * gdb.reverse/until-reverse.c: Likewise.
7957 * gdb.reverse/ur1.c: Likewise.
7958 * gdb.reverse/watch-reverse.c: Likewise.
7960 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7962 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7964 * gdb.base/sepdebug.exp: Drop references to removed code.
7966 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7968 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7969 variant. Preserve original line numbering.
7970 * gdb.base/list1.c: Likewise.
7972 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7974 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7976 * gdb.base/break1.c: Likewise.
7977 * gdb.base/break.exp: Drop references to removed code.
7979 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7981 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7984 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7986 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7990 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7991 logic into perform_all_tests() and invoke it with and without
7992 function header prototypes.
7993 (do_function_calls): Remove conditional XFAIL for PR 5318.
7994 (rerun_and_prepare): Remove duplicate code.
7995 (perform_all_tests): New. Main logic moved here.
7997 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7999 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8000 code guarded by #ifdef NO_PROTOTYPES.
8001 (t_double_many_args): Likewise.
8002 (DEF_FUNC_MANY_ARGS_1): Likewise.
8003 (DEF_FUNC_VALUES_1): Likewise.
8004 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8005 guarded by #ifdef PROTOTYPES.
8007 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8009 * gdb.mi/mi-console.c: Add eye-catcher.
8010 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8011 instead of literal line number.
8013 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8015 * gdb.base/shr2.c: Add eye-catcher.
8016 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8019 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8021 * gdb.base/jump.c: Add eye-catchers.
8022 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8025 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8027 * gdb.base/execd-prog.c: Add eye-catchers.
8028 * gdb.base/foll-exec.c: Likewise.
8029 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8034 * gdb.base/ending-run.c: Add eye-catchers.
8035 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8036 literal line numbers.
8038 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8040 * gdb.base/call-rt-st.c: Add eye-catchers.
8041 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8042 literal line numbers.
8044 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8046 * gdb.base/call-ar-st.c: Add eye-catchers.
8047 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8048 literal line numbers.
8050 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8052 * gdb.base/average.c: Add eye-catchers.
8053 * gdb.base/sum.c: Likewise.
8054 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8055 regexps dynamically.
8057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8059 * gdb.base/solib1.c: Add eye-catchers.
8060 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8061 literal line numbers.
8063 2014-11-12 Pedro Alves <palves@redhat.com>
8065 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8068 2014-11-12 Pedro Alves <palves@redhat.com>
8070 * gdb.arch/i386-bp_permanent.c: New file.
8071 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8072 (srcfile): Set to i386-bp_permanent.c.
8073 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8074 that stepi does not execute the 'leave' instruction, instead of
8075 testing it does execute.
8076 * gdb.base/bp-permanent.c: New file.
8077 * gdb.base/bp-permanent.exp: New file.
8079 2014-11-10 Doug Evans <xdje42@gmail.com>
8082 * gdb.base/symtab-search-order.exp: New file.
8083 * gdb.base/symtab-search-order.c: New file.
8084 * gdb.base/symtab-search-order-1.c: New file.
8085 * gdb.base/symtab-search-order-shlib-1.c: New file.
8087 2014-11-07 Pedro Alves <palves@redhat.com>
8090 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8093 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8096 * gdb.cp/pr17494.cc: New file.
8097 * gdb.cp/pr17494.exp: New file.
8099 2014-11-02 Yao Qi <yao@codesourcery.com>
8101 * gdb.python/python.exp: Get working directory and match the
8102 output of "set extended-prompt \\w " with it.
8104 2014-10-30 Doug Evans <dje@google.com>
8106 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8108 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8111 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8113 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8114 * gdb.base/realname-expand.exp: Likewise.
8115 * gdb.linespec/macro-relative.exp: Likewise.
8117 2014-10-29 Pedro Alves <palves@redhat.com>
8120 * gdb.threads/schedlock.c (some_function): New function.
8121 (call_function): New global.
8122 (MAYBE_CALL_SOME_FUNCTION): New macro.
8123 (thread_function): Call it.
8124 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8125 and use it instead of a global counter. Adjust all callers.
8126 (get_current_thread): Use "find current thread" for test message
8127 here rather than having all callers pass down the same string.
8128 (goto_loop): New procedure, factored out from ...
8129 (my_continue): ... this.
8130 (step_ten_loops): Change parameter from test message to command to
8132 (list_count): Delete global.
8133 (check_result): New procedure, factored out from duplicate top
8135 (continue tests): Wrap in with_test_prefix.
8136 (test_step): New procedure, factored out from duplicate top level
8138 (top level): Test "step" in combination with all scheduler-locking
8139 modes. Test "next" in combination with all scheduler-locking
8140 modes, and in combination with stepping over a function call or
8142 * gdb.threads/next-bp-other-thread.c: New file.
8143 * gdb.threads/next-bp-other-thread.exp: New file.
8145 2014-10-29 Pedro Alves <palves@redhat.com>
8148 * gdb.python/python.exp: Test a multi-line command that spawns
8150 * gdb.base/multi-line-starts-subshell.exp: New file.
8152 2014-10-29 Yao Qi <yao@codesourcery.com>
8154 * gdb.base/fileio.exp: Make directories on host.
8156 2014-10-29 Yao Qi <yao@codesourcery.com>
8158 * gdb.base/fileio.c (test_write): Close the file.
8160 2014-10-28 Pedro Alves <palves@redhat.com>
8163 * gdb.base/sigstep.c (no_handler): New global.
8164 (main): If 'no_handler is true, set the signal handlers to
8166 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8167 with_sw_watch and no_handler parameters. Handle them.
8168 (top level) <stepping over handler when stopped at a breakpoint
8169 test>: Add a test axis for testing with a software watchpoint, and
8170 another for testing with the signal handler set to SIG_IGN.
8171 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8172 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8174 2014-10-28 Pedro Alves <palves@redhat.com>
8177 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8178 * gdb.base/sigstep.exp (other_handler_location): New global.
8179 (advance): Support stepping into the signal handler, and running
8180 commands while in the handler.
8181 (in_handler_map): New global.
8182 (top level): In the advance test, add combinations for getting
8183 into the handler with stepping commands, and for running commands
8184 in the handler. Add comment descripting the advancei tests.
8186 2014-10-28 Pedro Alves <palves@redhat.com>
8188 * gdb.base/sigstep.exp: Use build_executable instead of
8189 prepare_for_testing.
8190 (top level): Move code that starts GDB, runs to main and creates a
8192 (restart): ... this new procedure.
8193 (top level): Move backtrace from signal handler test to ...
8194 (validate_backtrace): ... this new procedure.
8195 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8196 with_test_prefix. Always restart GDB.
8197 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8198 with_test_prefix. Always restart GDB. No need to delete
8199 breakpoints after the test.
8200 (test_skip_handler): Remove prefix parameter.
8201 (skip_over_handler, breakpoint_to_handler)
8202 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8203 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8204 restart GDB. No need to delete breakpoints after the test.
8205 (top level): Use foreach to call the test procedures with
8208 2014-10-28 Pedro Alves <palves@redhat.com>
8210 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8211 instead of GNATS numbers.
8212 * gdb.base/sigbpt.exp: Likewise.
8213 * gdb.base/siginfo.exp: Likewise.
8214 * gdb.base/sigstep.exp: Likewise.
8216 2014-10-27 Pedro Alves <palves@redhat.com>
8218 * gdb.base/sigstep.c (dummy): New global.
8219 (main): Issue a couple writes to the new global.
8220 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8222 (skip_over_handler): Use test_skip_handler.
8223 (top level): Call skip_over_handler for stepi and nexti too.
8224 (breakpoint_over_handler): Use test_skip_handler.
8225 (top level): Call breakpoint_over_handler for stepi and nexti too.
8227 2014-10-27 Yao Qi <yao@codesourcery.com>
8229 * gdb.trace/tfile.c (adjust_function_address)
8230 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8231 function descriptor.
8233 2014-10-24 Don Breazeal <donb@codesourcery.com>
8235 * gdb.base/foll-fork.exp (test_follow_fork,
8236 catch_fork_child_follow): Check for updated fork messages emitted
8238 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8239 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8240 vfork_and_exec_child_follow_through_step): Check for updated vfork
8241 messages emitted from infrun.c.
8243 2014-10-24 Pedro Alves <palves@redhat.com>
8245 * gdb.base/corefile.exp: Remove references to ultrix.
8246 * gdb.base/interrupt.exp: Likewise.
8247 * gdb.base/whatis.exp: Likewise.
8248 * gdb.gdb/selftest.exp: Likewise.
8249 * gdb.threads/manythreads.exp: Likewise.
8250 * gdb.threads/print-threads.exp: Likewise.
8251 * gdb.threads/pthreads.exp:: Likewise.
8252 * gdb.threads/schedlock.exp: Likewise.
8254 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8256 * gdb.cp/non-trivial-retval.cc: Add a test case.
8257 * gdb.cp/non-trivial-retval.exp: Add a test.
8259 2014-10-20 Yao Qi <yao@codesourcery.com>
8261 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8262 * gdb.python/py-objfile-script-gdb.py: New file.
8263 * gdb.python/py-objfile-script.exp: Update reference to
8264 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8265 of remote_download. Remove the dest file.
8267 2014-10-20 Yao Qi <yao@codesourcery.com>
8269 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8270 * gdb.base/step-line.exp: Likewise.
8271 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8272 * gdb.dwarf2/dw2-basic.exp: Likewise.
8273 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8274 * gdb.dwarf2/dw2-filename.exp: Likewise.
8275 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8276 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8277 * gdb.dwarf2/dw2-producer.exp: Likewise.
8278 * gdb.dwarf2/mac-fileno.exp: Likewise.
8279 * gdb.python/py-frame-args.exp: Likewise.
8280 * gdb.python/py-framefilter.exp: Likewise.
8281 * gdb.python/py-mi.exp: Likewise.
8282 * gdb.python/py-objfile-script.exp: Likewise
8283 * gdb.python/py-pp-integral.exp: Likewise.
8284 * gdb.python/py-pp-re-notag.exp: Likewise.
8285 * gdb.python/py-prettyprint.exp: Likewise.
8286 * gdb.python/py-section-script.exp: Likewise.
8287 * gdb.python/py-typeprint.exp: Likewise.
8288 * gdb.python/py-xmethods.exp: Likewise.
8289 * gdb.stabs/weird.exp: Likewise.
8290 * gdb.xml/tdesc-regs.exp: Likewise.
8292 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8294 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8295 (out_cu): Use addr_len for the size of addresses.
8296 (out_line): Likewise. Size DW_LNE_set_address instruction
8297 according to addr_len.
8298 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8299 (FUNC): Add START_INSNS to definition.
8301 2014-10-18 Yao Qi <yao@codesourcery.com>
8303 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8304 gdb_has_argv0 return true.
8305 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8306 check [target_info exists noargs], check [gdb_has_argv0]
8308 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8309 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8312 2014-10-17 Doug Evans <dje@google.com>
8314 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8316 * gdb.python/py-events.py: Add clear_objfiles event.
8318 2014-10-17 Doug Evans <dje@google.com>
8320 * gdb.python/py-objfile.exp: Test progspace attribute.
8322 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8324 * gdb.guile/scm-breakpoint.exp: Do not assume any
8325 directory separators when matching source file paths.
8326 * gdb.python/py-breakpoint.exp: Likewise.
8327 * gdb.reverse/break-precsave.exp: Likewise.
8328 * gdb.reverse/break-reverse.exp: Likewise.
8329 * gdb.reverse/consecutive-precsave.exp: Likewise.
8330 * gdb.reverse/finish-precsave.exp: Likewise.
8331 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8332 * gdb.reverse/finish-reverse.exp: Likewise.
8333 * gdb.reverse/i386-precsave.exp: Likewise.
8334 * gdb.reverse/i387-env-reverse.exp: Likewise.
8335 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8336 * gdb.reverse/machinestate-precsave.exp: Likewise.
8337 * gdb.reverse/machinestate.exp: Likewise.
8338 * gdb.reverse/sigall-precsave.exp: Likewise.
8339 * gdb.reverse/solib-precsave.exp: Likewise.
8340 * gdb.reverse/step-precsave.exp: Likewise.
8341 * gdb.reverse/until-precsave.exp: Likewise.
8342 * gdb.reverse/watch-precsave.exp: Likewise.
8343 * gdb.reverse/watch-reverse.exp: Likewise.
8345 2014-10-17 Yao Qi <yao@codesourcery.com>
8347 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8348 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8350 2014-10-17 Pedro Alves <palves@redhat.com>
8353 * gdb.base/bg-execution-repeat.c: New file.
8354 * gdb.base/bg-execution-repeat.exp: New file.
8356 2014-10-17 Pedro Alves <palves@redhat.com>
8359 * gdb.base/continue-all-already-running.c: New file.
8360 * gdb.base/continue-all-already-running.exp: New file.
8362 2014-10-17 Pedro Alves <palves@redhat.com>
8365 * gdb.base/annota-input-while-running.c: New file.
8366 * gdb.base/annota-input-while-running.exp: New file.
8368 2014-10-17 Pedro Alves <palves@redhat.com>
8370 * gdb.base/callfuncs.exp: emove references to osf.
8371 * gdb.base/sigall.exp: Likewise.
8372 * gdb.gdb/selftest.exp: Likewise.
8373 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8374 * gdb.mi/non-stop.c: Likewise.
8375 * gdb.mi/pthreads.c: Likewise.
8376 * gdb.reverse/sigall-precsave.exp: Likewise.
8377 * gdb.reverse/sigall-reverse.exp: Likewise.
8378 * gdb.threads/pthreads.c: Likewise.
8379 * gdb.threads/pthreads.exp: Likewise.
8381 2014-10-17 Yao Qi <yao@codesourcery.com>
8383 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8384 check 'target_info exists noargs'.
8385 (test_command_prompt_position): Likewise.
8386 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8388 (progvar_simple_while_test): Likewise.
8389 (progvar_complex_if_while_test): Likewise.
8390 (if_while_breakpoint_command_test): Likewise.
8391 (infrun_breakpoint_command_test): Likewise.
8392 (breakpoint_command_test): Likewise.
8393 (watchpoint_command_test): Likewise.
8394 (bp_deleted_in_command_test): Likewise.
8395 (temporary_breakpoint_commands): Likewise.
8397 2014-10-16 Yao Qi <yao@codesourcery.com>
8399 * gdb.base/remotetimeout.exp: Remove noargs checking.
8401 2014-10-15 Pedro Alves <palves@redhat.com>
8404 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8405 * gdb.base/breakpoint-in-ro-region.exp
8406 (probe_target_hardware_step): New procedure.
8407 (top level): Probe hardware stepping and hardware breakpoint
8408 support. Test stepping through a read-only region, with both
8409 "breakpoint auto-hw" on and off and both "always-inserted" on and
8412 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8414 * gdb.dlang/demangle.exp: Update for demangling changes.
8416 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8418 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8419 * gdb.cp/non-trivial-retval.exp: Add new tests.
8421 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8425 * gdb.cp/non-trivial-retval.cc: New file.
8426 * gdb.cp/non-trivial-retval.exp: New file.
8428 2014-10-15 Yao Qi <yao@codesourcery.com>
8430 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8433 2014-10-15 Yao Qi <yao@codesourcery.com>
8435 * gdb.python/py-symbol.exp: Match file base name if host is
8436 remote, otherwise match file name with dir name.
8437 * gdb.python/py-symtab.exp: Likewise.
8438 * gdb.python/python.exp: Likewise.
8440 2014-10-15 Yao Qi <yao@codesourcery.com>
8442 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8444 * gdb.python/py-symtab.exp: Likewise.
8445 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8448 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8450 * gdb.ada/addr_arith: New testcase.
8452 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8454 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8455 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8456 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8457 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8459 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8461 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8462 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8463 * gdb.arch/stap-eval-lang-ada.exp: New file.
8465 2014-10-14 Yao Qi <yao@codesourcery.com>
8467 * gdb.mi/mi-var-child.c (nothing1): New function.
8468 (nothing2): New function.
8469 (do_children_tests): Set function pointers by nothing1 and
8471 * gdb.mi/mi-var-child.exp: Step over new added statements.
8472 Update test to match the new output.
8473 * gdb.mi/var-cmd.c (nothing1): New function.
8474 (nothing2): New function.
8475 (do_children_tests): Set function pointers by nothing1 and
8477 * gdb.mi/mi-var-display.exp: Update test to match output.
8478 Step to the line specified by $line_dct_nothing.
8479 Increase the number of lines to step.
8481 2014-10-14 Yao Qi <yao@codesourcery.com>
8483 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8485 * gdb.mi/mi2-var-child.exp: Likewise.
8487 2014-10-13 Doug Evans <dje@google.com>
8489 * gdb.python/py-objfile.exp: Change name of file name test.
8491 2014-10-13 Doug Evans <dje@google.com>
8493 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8494 from the start of the CU.
8496 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8497 Yao Qi <yao@codesourcery.com>
8499 Fix "save breakpoints" for "catch" command.
8500 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8501 Remove -nonewline. Match also the added "main" line.
8503 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8505 Fix "save breakpoints" for "disable $bpnum" command.
8506 * gdb.base/save-bp.c (main): Add label.
8507 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8509 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8511 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8513 2014-10-11 Yao Qi <yao@codesourcery.com>
8515 * gdb.server/server-kill.exp: Execute command
8516 "set remote trace-status-packet on" before "tstatus".
8518 2014-10-11 Yao Qi <yao@codesourcery.com>
8520 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8521 (main): Call getppid.
8522 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8523 and continue to it. Read variable "server_pid".
8525 2014-10-11 Yao Qi <yao@codesourcery.com>
8527 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8529 2014-10-11 Yao Qi <yao@codesourcery.com>
8531 * gdb.threads/thread-find.exp: Don't execute command
8533 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8534 * gdb.threads/linux-dp.exp: Don't check the condition
8535 $threads_created equals to zero.
8537 2014-10-10 Pedro Alves <palves@redhat.com>
8539 * gdb.base/bigcore.exp: Remove references to IRIX.
8540 * gdb.base/funcargs.exp: Likewise.
8541 * gdb.base/interrupt.exp: Likewise.
8542 * gdb.base/mips_pro.exp: Likewise.
8543 * gdb.base/nodebug.exp: Likewise.
8544 * gdb.base/setvar.exp: Likewise.
8545 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8547 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8548 Pedro Alves <palves@redhat.com>
8551 * gdb.base/vdso-warning.c: New file.
8552 * gdb.base/vdso-warning.exp: New file.
8554 2014-10-02 Doug Evans <dje@google.com>
8556 * gdb.base/structs.c (main): Don't run forever.
8558 2014-10-02 Pedro Alves <palves@redhat.com>
8560 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8561 (top level) <stop threads 1, stop threads 2>: Use it.
8563 2014-10-02 Pedro Alves <palves@redhat.com>
8565 * gdb.threads/break-while-running.exp (test): Add new
8566 'update_thread_list' argument. Skip "info threads" if false.
8567 (top level): Add new 'update_thread_list' axis.
8569 2014-10-02 Pedro Alves <palves@redhat.com>
8571 PR breakpoints/17431
8572 * gdb.base/execl-update-breakpoints.c: New file.
8573 * gdb.base/execl-update-breakpoints.exp: New file.
8575 2014-10-01 Pedro Alves <palves@redhat.com>
8577 * gdb.base/breakpoint-in-ro-region.c: New file.
8578 * gdb.base/breakpoint-in-ro-region.exp: New file.
8580 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8582 * gdb.mi/mi-exit-code.exp: New file.
8583 * gdb.mi/mi-exit-code.c: New file.
8585 2014-09-30 Yao Qi <yao@codesourcery.com>
8587 * lib/prelink-support.exp (build_executable_own_libs): Error if
8588 the target isn't native.
8590 2014-09-30 Yao Qi <yao@codesourcery.com>
8592 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8595 2014-09-22 Pedro Alves <palves@redhat.com>
8597 * gdb.threads/break-while-running.exp: New file.
8598 * gdb.threads/break-while-running.c: New file.
8600 2014-09-19 Yao Qi <yao@codesourcery.com>
8602 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8603 Invoke test. Restart GDB with --readnow and invoke test again.
8605 2014-09-19 Yao Qi <yao@codesourcery.com>
8607 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8608 proc set_breakpoint_on_gcd_function. Invoke
8609 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8610 invoke set_breakpoint_on_gcd_function again.
8612 2014-09-18 Doug Evans <dje@google.com>
8614 * gdb.dwarf2/symtab-producer.exp: New file.
8616 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8618 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8619 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8620 * gdb.base/global-var-nested-by-dso.c: Likewise.
8621 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8623 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8624 Pedro Alves <palves@redhat.com>
8626 * gdb.base/watch-bitfields.exp: Pass string other than test file
8627 name to prepare_for_testing.
8628 (watch): New procedure.
8629 (expect_watchpoint): Use with_test_prefix.
8630 (top level): Factor out tests to ...
8631 (test_watch_location, test_regular_watch): ... these new
8632 procedures, and use with_test_prefix and gdb_continue_to_end.
8634 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8636 PR breakpoints/12526
8637 * gdb.base/watch-bitfields.exp: New file.
8638 * gdb.base/watch-bitfields.c: New file.
8640 2014-09-16 Pedro Alves <palves@redhat.com>
8642 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8643 software and hardware addresses, not software address against
8646 2014-09-16 Pedro Alves <palves@redhat.com>
8648 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8649 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8651 2014-09-16 Pedro Alves <palves@redhat.com>
8653 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8655 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8656 "*-*-vxworks*" throughout.
8657 * gdb.base/break.exp: Likewise.
8658 * gdb.base/default.exp: Likewise.
8659 * gdb.base/scope.exp: Likewise.
8660 * gdb.base/sepdebug.exp: Likewise.
8661 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8663 * gdb.base/run.c: Likewise.
8664 * gdb.base/sepdebug.c: Likewise.
8665 * gdb.hp/gdb.aCC/run.c: Likewise.
8666 * gdb.reverse/until-reverse.c: Likewise.
8667 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8669 2014-09-16 Yao Qi <yao@codesourcery.com>
8671 * boards/local-remote-host-native.exp: New file.
8673 2014-09-14 Doug Evans <xdje42@gmail.com>
8675 * gdb.threads/queue-signal.c (thread_count): New variable.
8676 (thread_count_mutex, thread_count_condvar): New variables.
8677 (incr_thread_count, wait_all_threads_running): New functions.
8678 (main): Wait for all threads to be in their thread functions.
8680 2014-09-13 Doug Evans <xdje42@gmail.com>
8682 * gdb.threads/queue-signal.c: New file.
8683 * gdb.threads/queue-signal.exp: New file.
8685 2014-09-13 Doug Evans <xdje42@gmail.com>
8687 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8688 be consistent with what default_gdb_init uses.
8689 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8690 the plain text of the prompt. Add some logging printfs.
8691 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8693 2014-09-12 Pedro Alves <palves@redhat.com>
8695 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8696 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8697 * gdb.arch/i386-size-overlap.exp: Likewise.
8698 * gdb.arch/i386-size.exp: Likewise.
8699 * gdb.arch/i386-unwind.exp: Likewise.
8700 * gdb.base/a2-run.exp: Likewise.
8701 * gdb.base/break.exp: Likewise.
8702 * gdb.base/charset.exp: Likewise.
8703 * gdb.base/chng-syms.exp: Likewise.
8704 * gdb.base/commands.exp: Likewise.
8705 * gdb.base/dbx.exp: Likewise.
8706 * gdb.base/find.exp: Likewise.
8707 * gdb.base/funcargs.exp: Likewise.
8708 * gdb.base/jit-simple.exp: Likewise.
8709 * gdb.base/reread.exp: Likewise.
8710 * gdb.base/sepdebug.exp: Likewise.
8711 * gdb.base/step-bt.exp: Likewise.
8712 * gdb.cp/mb-inline.exp: Likewise.
8713 * gdb.cp/mb-templates.exp: Likewise.
8714 * gdb.objc/basicclass.exp: Likewise.
8715 * gdb.threads/killed.exp: Likewise.
8717 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8720 * gdb.arch/powerpc-stackless.S: New file.
8721 * gdb.arch/powerpc-stackless.exp: New file.
8723 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8725 * gdb.base/attach.c: Include unistd.h.
8726 (main): Call alarm. Add label postloop.
8727 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8728 gdb_breakpoint, gdb_continue_to_breakpoint.
8729 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8731 2014-09-11 Pedro Alves <palves@redhat.com>
8734 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8735 * gdb.base/attach.exp (test_command_line_attach_run): New
8737 (top level): Call it.
8739 2014-09-11 Pedro Alves <palves@redhat.com>
8741 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8742 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8743 (do_command_attach_tests): Use spawn_wait_for_attach.
8744 * gdb.base/solib-overlap.exp: Likewise.
8745 * gdb.multi/multi-attach.exp: Likewise.
8746 * gdb.python/py-prompt.exp: Likewise.
8747 * gdb.python/py-sync-interp.exp: Likewise.
8748 * gdb.server/ext-attach.exp: Likewise.
8750 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8752 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8753 command in testcase. Simplify testcase.
8755 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8757 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8759 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8761 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8763 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8765 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8767 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8769 * gdb.dwarf2/dynarr-ptr.c: New file.
8770 * gdb.dwarf2/dynarr-ptr.exp: New file.
8772 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8774 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8775 of 30 rather than hardcoding 120 for a slow test case. Take the
8776 `gdb,timeout' target setting into account for this calculation.
8777 Don't extend the timeout for the test cases that don't need it.
8779 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8781 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8782 a factor of 2 for a slow test case. Take the `gdb,timeout'
8783 target setting into account for this calculation.
8784 * gdb.reverse/until-precsave.exp: Increase the timeout by
8785 a factor of 15 and 3 respectively rather than adding 120
8786 for a pair of slow test cases. Take the `gdb,timeout'
8787 target setting into account for this calculation.
8789 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8791 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8792 timeout, don't pass one down to gdb_expect.
8793 (gdb_expect): Rework timeout selection.
8795 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8797 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8798 exception on timeout.
8799 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8800 (gdbserver_start_extended): Catch any `gdbserver_start' error
8802 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8803 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8804 `gdbserver_gdb_load' error exceptions.
8806 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8808 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8809 120 on waiting for the TCP socket to open.
8811 2014-09-09 Doug Evans <xdje42@gmail.com>
8813 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8814 _caller_matches, _any_caller_is, _any_caller_matches.
8816 2014-09-09 Doug Evans <xdje42@gmail.com>
8818 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8820 2014-09-09 Yao Qi <yao@codesourcery.com>
8822 * gdb.mi/mi-var-display.exp: Set print symbol off.
8824 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8827 * gdb.base/commands.exp: Add tests to verify user-defined
8828 commands with empty bodies.
8829 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8830 python commands in `show user command`.
8831 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8832 scheme commands in `show user command`.
8834 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8837 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8838 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8839 * gdb.python/py-framefilter-invalidarg.exp: New file.
8840 * gdb.python/py-framefilter-invalidarg.py: New file.
8842 2014-09-06 Doug Evans <xdje42@gmail.com>
8845 * gdb.python/py-caller-is.c: New file.
8846 * gdb.python/py-caller-is.exp: New file.
8848 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8851 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8852 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8854 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8857 * gdb.fortran/print-formatted.exp: New file.
8858 * gdb.fortran/print-formatted.f90: Likewise.
8860 2014-09-03 Sasha Smundak <asmundak@google.com>
8862 * gdb.python/py-frame.exp: Test Frame.read_register.
8864 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8867 * gdb.python/py-completion.exp: New file.
8868 * gdb.python/py-completion.py: Likewise.
8870 2014-08-28 Doug Evans <dje@google.com>
8872 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8873 eax,etc. are live with values set by gdb and thus the compiler can't
8875 * gdb.arch/i386-pseudo.c (main): Ditto.
8877 2014-08-27 Doug Evans <dje@google.com>
8879 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
8881 2014-08-25 Doug Evans <dje@google.com>
8883 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
8886 2014-08-25 Doug Evans <dje@google.com>
8888 * gdb.threads/thread-execl.exp: #include <stdio.h>.
8890 2014-08-24 Yao Qi <yao@codesourcery.com>
8892 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
8894 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
8896 2014-08-22 Doug Evans <dje@google.com>
8899 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
8900 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
8901 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
8903 2014-08-22 Yao Qi <yao@codesourcery.com>
8905 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
8906 * gdb.python/py-finish-breakpoint2.exp: Likewise.
8907 * gdb.python/python.exp: Likewise. Use .py file on the host
8908 instead of the build.
8910 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8912 * gdb.threads/gcore-stale-thread.c: New file.
8913 * gdb.threads/gcore-stale-thread.exp: New file.
8915 2014-08-21 Pedro Alves <palves@redhat.com>
8917 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
8918 * gdb.base/gcore-relro-pie.exp: Likewise.
8919 * gdb.base/gcore-relro.exp: Likewise.
8920 * gdb.base/gcore.exp: Likewise.
8921 * gdb.base/print-symbol-loading.exp: Likewise.
8922 * gdb.threads/gcore-thread.exp: Likewise.
8923 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
8925 2014-08-20 Pedro Alves <palves@redhat.com>
8926 Jan Kratochvil <jan.kratochvil@redhat.com>
8928 * Makefile.in (EXTRA_RULES, CC): New variables, get from
8930 (EXPECT): Handle READ1 being set.
8931 (all): Depend on EXTRA_RULES.
8932 (check-read1, expect-read1, read1.so, read1): New rules.
8933 * README (Testsuite Parameters): Document the READ1 make variable.
8934 (Race detection): New section.
8935 * configure: Regenerate.
8936 * configure.ac: If build==host==target, and running under a
8937 GNU/glibc system, add read1 to the extra Makefile rules.
8938 (EXTRA_RULES): AC_SUBST it.
8939 * lib/read1.c: New file.
8941 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8943 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8944 the handling of variables declared as a typedef to an array
8945 which a DW_AT_data_location attribute.
8947 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8948 Pedro Alves <palves@redhat.com>
8952 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8955 2014-08-19 Pedro Alves <palves@redhat.com>
8957 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8959 2014-08-19 Yao Qi <yao@codesourcery.com>
8961 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8964 2014-08-18 David Blaikie <dblaikie@gmail.com>
8966 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8968 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8970 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8971 attribute in array range.
8973 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8975 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8977 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8980 * gdb.cp/pr17132.cc: New file.
8981 * gdb.cp/pr17132.exp: New file.
8983 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8985 * gdb.python/py-xmethods.py (A_getarrayind)
8986 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8987 Use 'print' with function call syntax.
8988 (E_method_matcher.match): Fix tab vs space indentation mixup.
8990 2014-08-15 Yao Qi <yao@codesourcery.com>
8992 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8995 2014-08-15 Yao Qi <yao@codesourcery.com>
8997 * gdb.cp/casts.exp: Set print symbol off.
8998 * gdb.cp/class2.exp: Likewise.
8999 * gdb.cp/overload.exp: Likewise.
9000 * gdb.cp/templates.exp: Likewise.
9002 2014-08-11 Doug Evans <dje@google.com>
9004 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9005 (test_load_shlib): Update.
9007 2014-08-09 Yao Qi <yao@codesourcery.com>
9009 * gdb.base/display.exp: Invoke is_address_zero_readable.
9010 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9011 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9012 * gdb.base/hbreak-unmapped.exp: Return if
9013 is_address_zero_readable returns true.
9014 * gdb.base/signest.exp: Likewise.
9015 * gdb.base/signull.exp: Likewise.
9016 * gdb.base/sigbpt.exp: Likewise.
9017 * gdb.guile/scm-disasm.exp: Do the test if
9018 is_address_zero_readable returns false.
9019 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9020 * gdb.python/py-arch.exp: Likewise.
9021 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9022 * lib/gdb.exp (is_address_zero_readable): New proc.
9024 2014-08-09 Yao Qi <yao@codesourcery.com>
9027 * gdb.mi/mi-var-display.exp: Make test messages unique.
9029 2014-08-04 Tom Tromey <tromey@redhat.com>
9031 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9034 2014-08-04 Tom Tromey <tromey@redhat.com>
9036 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9039 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9041 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9042 inner_vla_struct_object_size.
9043 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9046 2014-07-30 Pedro Alves <palves@redhat.com>
9048 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9051 2014-07-29 Yao Qi <yao@codesourcery.com>
9054 * gdb.base/until-nodebug.exp: New.
9056 2014-07-28 Doug Evans <xdje42@gmail.com>
9059 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9060 previously existing parameter, and previously ambiguously spelled
9063 2014-07-28 Will Newton <will.newton@linaro.org>
9065 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9067 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9068 Doug Evans <xdje42@gmail.com>
9071 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9073 2014-07-25 Pedro Alves <palves@redhat.com>
9075 * gdb.threads/signal-command-handle-nopass.c: New file.
9076 * gdb.threads/signal-command-handle-nopass.exp: New file.
9077 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9078 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9079 * gdb.threads/signal-delivered-right-thread.c: New file.
9080 * gdb.threads/signal-delivered-right-thread.exp: New file.
9082 2014-07-25 Pedro Alves <palves@redhat.com>
9084 * gdb.base/double-prompt-target-event-error.exp
9085 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9087 (cancel_pagination_in_target_event): Rework double prompt
9089 * gdb.base/paginate-after-ctrl-c-running.exp
9090 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9092 * gdb.base/paginate-bg-execution.exp
9093 (test_bg_execution_pagination_return)
9094 (test_bg_execution_pagination_cancel): Remove '-notransfer
9096 * gdb.base/paginate-execution-startup.exp
9097 (test_fg_execution_pagination_return)
9098 (test_fg_execution_pagination_cancel): Remove '-notransfer
9100 * gdb.base/paginate-inferior-exit.exp
9101 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9103 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9104 * lib/gdb.exp (pagination_prompt): Run text through
9106 (gdb_test_multiple): Match $pagination_prompt instead of
9108 (string_to_regexp): Move to lib/gdb-utils.exp.
9110 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9112 * gdb.arch/amd64-entry-value-paramref.S: New file.
9113 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9114 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9115 * gdb.arch/amd64-optimout-repeat.S: New file.
9116 * gdb.arch/amd64-optimout-repeat.c: New file.
9117 * gdb.arch/amd64-optimout-repeat.exp: New file.
9119 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9122 * gdb.base/statistics.exp: New file.
9124 2014-07-17 Doug Evans <dje@google.com>
9127 * gdb.base/maint.exp: Update testing of per-command stats.
9129 2014-07-16 Pedro Alves <palves@redhat.com>
9131 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9132 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9133 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9134 (tfile_write_buf): New functions.
9135 (add_memory_block): Rewrite using the above.
9136 (adjust_function_address): New function.
9137 (FUNCTION_ADDRESS): New macro.
9138 (write_basic_trace_file): Remove short_x local, and use
9139 tfile_write_16. Change type of func_addr local to unsigned long
9140 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9141 here. Cast argument of add_memory_block to char pointer.
9142 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9143 (main): Remove parameters.
9144 * gdb.trace/tfile.exp: Remove nowarnings.
9146 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9148 * gdb.base/debug-expr.exp: Test string evaluation with
9149 "debug expression" on.
9151 2014-07-15 Pedro Alves <palves@redhat.com>
9153 * gdb.base/reread.exp: Use clean_restart.
9155 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9157 * gdb.arch/avr-flash-qualifer.c: New.
9158 * gdb.arch/avr-flash-qualifer.exp: New.
9160 2014-07-14 Pedro Alves <palves@redhat.com>
9162 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9163 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9165 2014-07-14 Pedro Alves <palves@redhat.com>
9167 * gdb.base/double-prompt-target-event-error.c: New file.
9168 * gdb.base/double-prompt-target-event-error.exp: New file.
9170 2014-07-14 Pedro Alves <palves@redhat.com>
9173 * gdb.base/paginate-inferior-exit.c: New file.
9174 * gdb.base/paginate-inferior-exit.exp: New file.
9176 2014-07-14 Pedro Alves <palves@redhat.com>
9179 * gdb.base/paginate-bg-execution.c: New file.
9180 * gdb.base/paginate-bg-execution.exp: New file.
9182 2014-07-14 Pedro Alves <palves@redhat.com>
9185 * gdb.base/paginate-execution-startup.c: New file.
9186 * gdb.base/paginate-execution-startup.exp: New file.
9187 * lib/gdb.exp (pagination_prompt): New global.
9188 (default_gdb_spawn): New procedure, factored out from
9190 (default_gdb_start): Adjust to call default_gdb_spawn.
9191 (gdb_spawn): New procedure.
9193 2014-07-14 Pedro Alves <palves@redhat.com>
9195 * lib/gdb.exp (gdb_assert): New procedure.
9196 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9198 2014-07-14 Pedro Alves <palves@redhat.com>
9200 * gdb.base/execution-termios.c: New file.
9201 * gdb.base/execution-termios.exp: New file.
9203 2014-07-14 Tom Tromey <tromey@redhat.com>
9205 * gdb.cp/vla-cxx.cc: New file.
9206 * gdb.cp/vla-cxx.exp: New file.
9208 2014-07-14 Tom Tromey <tromey@redhat.com>
9210 * gdb.reverse/rerun-prec.c: New file.
9211 * gdb.reverse/rerun-prec.exp: New file.
9213 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9214 Maciej W. Rozycki <macro@codesourcery.com>
9216 * lib/gdb-utils.exp: New file.
9217 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9218 inline `gdb_init_command' processing.
9219 (gdb_start_cmd): Likewise.
9220 * lib/mi-support.exp (mi_run_cmd): Likewise.
9221 * README: Document `gdb_init_command' and `gdb_init_commands'.
9223 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9225 Fix false FAIL running under a very long directory name.
9226 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9227 and "set print elements 10000". Twice.
9229 2014-07-11 Yao Qi <yao@codesourcery.com>
9231 * gdb.base/exprs.exp: "set print symbol off".
9233 2014-07-11 Pedro Alves <palves@redhat.com>
9235 * gdb.threads/kill.c: New file.
9236 * gdb.threads/kill.exp: New file.
9238 2014-07-10 Yao Qi <yao@codesourcery.com>
9240 * gdb.trace/tfile.c (write_basic_trace_file)
9241 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9242 address written to trace file.
9244 2014-07-09 Pedro Alves <palves@redhat.com>
9246 * gdb.base/attach-wait-input.exp: New file.
9247 * gdb.base/attach-wait-input.c: New file.
9249 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9251 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9252 setting up test structures.
9253 (main): Call new test function.
9254 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9255 test function, continue into test function and walk test
9258 2014-07-02 Yao Qi <yao@codesourcery.com>
9260 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9261 'bar_start' at the beginning of functions 'foo' and 'bar'
9263 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9264 instead of 'foo' and 'bar'.
9266 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9268 * gdb.btrace/segv.exp: New.
9269 * gdb.btrace/segv.c: New.
9271 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9273 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9276 2014-06-30 Mark Wielaard <mjw@redhat.com>
9278 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9279 vulture, vilify, villar): New volatile array constants.
9280 (vindictive, vegetation): New const volatile array constants.
9281 * gdb.base/volatile.exp: Test volatile and const volatile array
9284 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9286 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9287 target lacks support for awatch, rwatch, or hbreak.
9289 2014-06-27 Yao Qi <yao@codesourcery.com>
9291 * gdb.multi/dummy-frame-restore.exp: New.
9292 * gdb.multi/dummy-frame-restore.c: New.
9294 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9296 * gdb.btrace/gcore.exp: New.
9298 2014-06-23 Pedro Alves <palves@redhat.com>
9300 * gdb.base/watchpoint-reuse-slot.c: New file.
9301 * gdb.base/watchpoint-reuse-slot.exp: New file.
9303 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9305 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9306 progspace's filename in 'info', 'enable' and 'disable' command
9309 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9311 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9312 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9313 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9315 2014-06-20 Gary Benson <gbenson@redhat.com>
9317 * gdb.arch/i386-avx.exp: Fix include file location.
9318 * gdb.arch/i386-sse.exp: Likewise.
9320 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9322 * gdb.dlang/expression.exp: New file.
9324 2014-06-19 Pedro Alves <palves@redhat.com>
9326 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9328 (top level): ... here. Iterate running tests under different
9329 scheduler-locking settings.
9331 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9333 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9334 to DW_FORM_addr and use non-zero addresses.
9336 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9339 * gdb.python/py-xmethods.cc: Add global function call counters and
9340 increment them in their respective functions. Remove "cout"
9342 * gdb.python/py-xmethods.exp: Make tests check the global function
9343 call counters instead of depending on inferior IO.
9345 2014-06-18 Don Breazeal <donb@codesourcery.com>
9347 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9349 (explicit_fork_parent_follow): Deleted procedure.
9350 (explicit_fork_child_follow): Deleted procedure.
9351 (test_follow_fork): New procedure.
9352 (do_fork_tests): Replace calls to deleted procedures with
9353 calls to test_follow_fork and reset GDB for subsequent
9356 2014-06-17 Yao Qi <yao@codesourcery.com>
9358 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9361 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9363 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9364 Initialize ptr and S explicitly.
9365 (skip_type_update_when_not_use_rtti_test): Likewise.
9367 2014-06-16 Keith Seitz <keiths@redhat.com>
9370 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9371 the inferior is started.
9373 2014-06-16 Pedro Alves <palves@redhat.com>
9375 * gdb.base/break-main-file-remove-fail.c: New file.
9376 * gdb.base/break-main-file-remove-fail.exp: New file.
9377 * gdb.base/break-unload-file.exp: Use build_executable instead of
9378 prepare_for_testing.
9379 (test_break): New parameter "initial_load". Handle it.
9380 (top level): Add initial_load cmdline/file axis.
9382 2014-06-12 Tom Tromey <tromey@redhat.com>
9384 * gdb.base/completion.exp: Don't use directory name in test.
9386 2014-06-09 Gary Benson <gbenson@redhat.com>
9388 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9389 separate the always-available ANSI-standard signals from the
9390 signals that require checking.
9392 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9396 2014-06-07 Keith Seitz <keiths@redhat.com>
9400 * gdb.cp/var-tag.cc: New file.
9401 * gdb.cp/var-tag.exp: New file.
9402 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9403 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9404 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9405 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9407 2014-06-06 Doug Evans <xdje42@gmail.com>
9409 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9411 2014-06-06 Pedro Alves <palves@redhat.com>
9413 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9414 in target debug output instead of looking at RSP packets,
9415 disabling the test on any target that uses hardware stepping.
9418 2014-06-06 Pedro Alves <palves@redhat.com>
9420 * gdb.base/break-unload-file.exp: Fix typo.
9422 2014-06-06 Yao Qi <yao@codesourcery.com>
9424 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9425 from "jit_function" to "^jit_function".
9427 2014-06-06 Yao Qi <yao@codesourcery.com>
9429 * gdb.base/async.c (foo): Add one statement.
9430 * gdb.base/async.exp: Get the next instruction address and
9431 match the output of "nexti" by instruction address. Match
9432 the hex address in the output of "finish".
9434 2014-06-06 Gary Benson <gbenson@redhat.com>
9436 * gdb.base/call-signals.c: Remove preprocessor conditionals
9437 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9438 SIGSEGV and SIGTERM.
9439 * gdb.base/sigall.c: Likewise.
9440 * gdb.base/unwindonsignal.c: Likewise.
9441 * gdb.reverse/sigall-reverse.c: Likewise.
9443 2014-06-06 Yao Qi <yao@codesourcery.com>
9445 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9446 readable, skip the test.
9448 2014-06-06 Yao Qi <yao@codesourcery.com>
9450 * gdb.threads/staticthreads.c (thread_function): Move the line
9451 setting breakpoint on forward.
9452 * gdb.threads/staticthreads.exp: Update comments.
9454 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9456 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9457 "history-append! type error".
9459 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9461 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9462 erroneous dprintf expected input.
9464 2014-06-04 Doug Evans <xdje42@gmail.com>
9466 * gdb.guile/scm-generics.exp: Delete.
9468 2014-06-04 Doug Evans <xdje42@gmail.com>
9470 * gdb.guile/scm-breakpoint.exp: Update.
9471 Add tests for breakpoint registration.
9473 2014-06-04 Tom Tromey <tromey@redhat.com>
9475 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9477 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9478 inner_vla_struct, vla_union types. Initialize objects of those
9479 types and compute their sizes.
9481 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9482 Hui Zhu <hui@codesourcery.com>
9484 * gdb.base/fileio.exp: Add test for shell not available as well as
9486 * gdb.base/fileio.c (test_system): Check for shell twice.
9488 2014-06-04 Yao Qi <yao@codesourcery.com>
9490 * gdb.base/auto-connect-native-target.exp: Remove redundant
9491 space from the regexp pattern.
9493 2014-06-04 Yao Qi <yao@codesourcery.com>
9495 * gdb.base/default.exp: Replace "child" with "native" in
9498 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9500 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9501 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9502 * gdb.python/py-xmethods.py: Python script supporting the
9503 new testcase and tests.
9505 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9506 Pedro Alves <palves@redhat.com>
9508 PR breakpoints/17000
9509 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9510 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9512 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9514 * gdb.base/subst.exp: Add tests to verify partial path matching
9517 2014-06-03 Pedro Alves <palves@redhat.com>
9519 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9520 target that doesn't use software single-stepping.
9522 2014-06-03 Pedro Alves <palves@redhat.com>
9524 PR breakpoints/17000
9525 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9526 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9528 2014-06-02 Doug Evans <xdje42@gmail.com>
9530 * gdb.guile/scm-parameter.exp: New file.
9532 2014-06-02 Doug Evans <xdje42@gmail.com>
9534 * gdb.guile/scm-cmd.c: New file.
9535 * gdb.guile/scm-cmd.exp: New file.
9537 2014-06-02 Doug Evans <xdje42@gmail.com>
9539 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9540 pretty-printer lookup.
9541 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9542 (make-pp_s-printer): Call it.
9543 (make-pretty-printer-from-dict): New function.
9544 (lookup-pretty-printer-maker-from-dict): New function.
9545 (*pretty-printer*): Simplify.
9546 (make-objfile-pp_s-printer): New function.
9547 (install-objfile-pretty-printers!): New function.
9548 (make-progspace-pp_s-printer): New function.
9549 (install-progspace-pretty-printers!): New function.
9550 * gdb.guile/scm-progspace.c: New file.
9551 * gdb.guile/scm-progspace.exp: New file.
9553 2014-06-02 Pedro Alves <palves@redhat.com>
9555 * gdb.base/dprintf-bp-same-addr.c: New file.
9556 * gdb.base/dprintf-bp-same-addr.exp: New file.
9558 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9560 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9561 * gdb.arch/powerpc-power.s: Likewise.
9563 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9565 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9567 2014-06-01 Yao Qi <yao@codesourcery.com>
9569 * gdb.base/watchpoint.exp (test_watch_location): Check null
9570 pointer can be dereferenced. If not, do the test, otherwise
9573 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9575 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9577 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9579 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9581 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9582 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9583 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9584 * gdb.arch/amd64-invalid-stack-top.c: New file.
9585 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9587 2014-05-30 Pedro Alves <palves@redhat.com>
9589 PR breakpoints/17000
9590 * gdb.base/sss-bp-on-user-bp.c: New file.
9591 * gdb.base/sss-bp-on-user-bp.exp: New file.
9593 2014-05-30 David Blaikie <dblaikie@gmail.com>
9595 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9596 gnu_inline semantics via attribute.
9597 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9598 source explicitly specifies the required semantics.
9600 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9602 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9604 2014-05-29 Pedro Alves <palves@redhat.com>
9605 Tom Tromey <tromey@redhat.com>
9607 * gdb.base/async-shell.exp: Don't enable target-async.
9608 * gdb.base/async.exp
9609 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9611 (top level): Don't test with "target-async".
9612 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9613 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9614 * gdb.base/inferior-died.exp: Don't enable target-async.
9615 * gdb.base/interrupt-noterm.exp: Likewise.
9616 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9617 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9618 * gdb.mi/mi-nonstop.exp: Likewise.
9619 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9620 * gdb.mi/mi-nsintrall.exp: Likewise.
9621 * gdb.mi/mi-nsmoribund.exp: Likewise.
9622 * gdb.mi/mi-nsthrexec.exp: Likewise.
9623 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9624 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9625 * gdb.python/py-evsignal.exp: Don't enable target-async.
9626 * gdb.python/py-evthreads.exp: Likewise.
9627 * gdb.python/py-prompt.exp: Likewise.
9628 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9629 * gdb.server/solib-list.exp: Don't enable target-async.
9630 * gdb.threads/thread-specific-bp.exp: Likewise.
9631 * lib/mi-support.exp: Adjust to use mi-async.
9633 2014-05-29 Pedro Alves <palves@redhat.com>
9636 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9637 reason, even in sync mode.
9639 2014-05-29 Pedro Alves <palves@redhat.com>
9640 Hui Zhu <hui@codesourcery.com>
9643 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9644 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9645 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9646 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9648 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9650 * config/monitor.exp (gdb_target_monitor): Replace use of
9651 "set remotebaud" by "set serial baud".
9653 2014-05-26 Andy Wingo <wingo@igalia.com>
9655 * gdb.guile/scm-breakpoint.exp:
9656 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9657 properties instead of gdb-object-properties.
9659 2014-05-26 Yao Qi <yao@codesourcery.com>
9661 * gdb.server/no-thread-db.exp: Specify source file name
9662 explicitly when setting a breakpoint.
9664 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9666 * gdb.btrace/vdso.c: New.
9667 * gdb.btrace/vdso.exp: New.
9669 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9671 * gdb.base/gcore.exp (capture_command_output): Move ...
9672 * lib/gdb.exp (capture_command_output): ... here.
9674 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9676 * gdb.btrace/data.exp: Test memory access during btrace replay.
9678 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9680 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9682 2014-05-21 Pedro Alves <palves@redhat.com>
9685 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9686 (top level): Test that output related to execution commands is
9687 sent to the console with CLI commands, but not with MI commands.
9688 Test that breakpoint events are always mirrored to the console.
9689 Also expect the new source line to be output after a "next" in
9690 async mode too. Make it a pass/fail test.
9691 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9693 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9695 2014-05-21 Pedro Alves <palves@redhat.com>
9697 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9698 Use them to test variations of "list" after reaching a breakpoint.
9699 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9700 Test "list" with listsize 10 after reaching a breakpoint.
9701 * gdb.python/python.exp (decode_line current location line
9702 number): Adjust expected line number.
9704 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9706 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9707 behavior for $args, pass it directly to "run".
9709 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9711 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9714 2014-05-21 Pedro Alves <palves@redhat.com>
9716 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9717 auto-connect-native-target off".
9718 * gdb.base/auto-connect-native-target.c: New file.
9719 * gdb.base/auto-connect-native-target.exp: New file.
9721 2014-05-21 Pedro Alves <palves@redhat.com>
9723 * gdb.base/default.exp: Test "target native" instead of "target
9726 2014-05-21 Mark Wielaard <mjw@redhat.com>
9728 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9730 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9732 Fix TLS access for -static -pthread.
9733 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9734 <HAVE_TLS> (thread_function, main): Initialize it.
9735 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9737 <$have_tls != "">: Check TLSVAR.
9739 2014-05-21 Pedro Alves <palves@redhat.com>
9741 * gdb.base/dcache-line-read-error.c: New.
9742 * gdb.base/dcache-line-read-error.exp: New.
9744 2014-05-20 Pedro Alves <palves@redhat.com>
9746 * gdb.base/compare-sections.c: New file.
9747 * gdb.base/compare-sections.exp: New file.
9749 2014-05-20 Pedro Alves <palves@redhat.com>
9751 * gdb.base/break-idempotent.c: New file.
9752 * gdb.base/break-idempotent.exp: New file.
9754 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9756 * gdb.btrace/nohist.exp: New.
9758 2014-05-20 Yao Qi <yao@codesourcery.com>
9760 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9761 gdb.reverse directory and gdb_reverse_timeout exists in board
9763 * README: Document gdb_reverse_timeout.
9765 2014-05-20 Yao Qi <yao@codesourcery.com>
9767 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9768 'test_file_name'. Treat args as a string instead of a list.
9769 (gdb_init): Rename argument 'args' by 'test_file_name'.
9771 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9773 * gdb.arch/powerpc-power.exp: New file.
9774 * gdb.arch/powerpc-power.s: New file.
9776 2014-05-16 Doug Evans <dje@google.com>
9778 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9779 * gdb.base/completion.exp: Check that all expected files exist
9780 before doing file completion.
9782 2014-05-16 Doug Evans <dje@google.com>
9784 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9786 (do_syscall_tests_without_xml): Update.
9788 2014-05-16 Pedro Alves <palves@redhat.com>
9790 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9791 instead of "unknown output after running".
9793 2014-05-16 Yao Qi <yao@codesourcery.com>
9795 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9796 file1.txt from host at the end.
9797 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9799 2014-05-15 Doug Evans <dje@google.com>
9801 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9802 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9803 loading file. Add test for TU lookup.
9805 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9807 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9808 calling "-exec-arguments" or "set args" before running the
9811 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9813 * lib/mi-support.exp (mi_expect_stop): Expect message for
9814 inferiors that exit with non-zero exit code.
9816 2014-05-14 Yao Qi <yao@codesourcery.com>
9818 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9819 match absolute path on remote host.
9820 (test_file_list_exec_source_files): Remove "/" from the
9823 2014-05-14 Yao Qi <yao@codesourcery.com>
9825 * boards/local-remote-host-notty.exp (${board}_file): New
9828 2014-05-07 Kyle McMartin <kyle@redhat.com>
9830 Pushed by Joel Brobecker <brobecker@adacore.com>.
9831 * gdb.arch/aarch64-atomic-inst.c: New file.
9832 * gdb.arch/aarch64-atomic-inst.exp: New file.
9834 2014-05-07 Yao Qi <yao@codesourcery.com>
9836 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9837 in current context" too.
9839 2014-05-05 Keith Seitz <keiths@redhat.com>
9841 * gdb.linespec/ls-dollar.exp: Add test for linespec
9842 file:convenience_variable.
9844 2014-05-05 Yao Qi <yao@codesourcery.com>
9846 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9847 traceframes into tfile and ctf trace files. Read data from
9848 trace file and test collected data.
9849 (gdb_collect_locals_test): Likewise.
9850 (gdb_unavailable_registers_test): Likewise.
9851 (gdb_unavailable_floats): Likewise.
9852 (gdb_collect_globals_test): Likewise.
9853 (top-level): Append "ctf" to trace_file_targets if GDB
9856 2014-05-05 Yao Qi <yao@codesourcery.com>
9858 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9860 (gdb_collect_args_test_1): ... it. New proc.
9861 (gdb_collect_locals_test): Move some code to ...
9862 (gdb_collect_locals_test_1): ... it. New proc.
9863 (gdb_unavailable_registers_test): Move some code to ...
9864 (gdb_unavailable_registers_test_1): ... it. New proc.
9865 (gdb_unavailable_floats): Move some code to ...
9866 (gdb_unavailable_floats_1): ... it. New proc.
9868 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9870 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9871 probes to test for bitness recognition.
9872 * gdb.arch/amd64-stap-optional-prefix.exp
9873 (test_probe_value_without_reg): New procedure.
9874 Add code to test for different kinds of bitness.
9876 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9878 PR breakpoints/16889
9879 * gdb.arch/amd64-stap-optional-prefix.S: New file.
9880 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9882 2014-05-01 Pedro Alves <palves@redhat.com>
9884 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
9885 gdb_file_cmd if no file is specified.
9886 * boards/native-extended-gdbserver.exp (gdb_load): Use the
9887 last_loaded_file to set the remote exec-file.
9889 2014-05-01 Pedro Alves <palves@redhat.com>
9891 * boards/local-remote-host.exp: New file.
9893 2014-05-01 Pedro Alves <palves@redhat.com>
9895 * boards/local-remote-host.exp: Rename to ...
9896 * boards/local-remote-host-notty.exp: ... this.
9898 2014-04-28 Joel Brobecker <brobecker@adacore.com>
9900 * gdb.ada/dyn_arrayidx: New testcase.
9902 2014-04-26 Yao Qi <yao@codesourcery.com>
9904 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
9905 and compute the length of function main. Save it in
9907 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
9908 (top-level): Use gdb_compile to compile objects into
9909 executable and restart GDB. Remove invocation to
9910 prepare_for_testing.
9912 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
9913 Pedro Alves <palves@redhat.com>
9916 * gdb.multi/multi-attach.c: New file.
9917 * gdb.multi/multi-attach.exp: New file.
9919 2014-04-25 Pedro Alves <palves@redhat.com>
9921 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
9923 (top level): Test that "set remote conditional-breakpoints-packet
9924 off" works as intended.
9925 * gdb.base/dprintf.exp: Test that "set remote
9926 breakpoint-commands-packet off" works as intended.
9927 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
9929 (top level): Call it.
9930 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
9931 remote fast-tracepoints-packet off" works as intended.
9932 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
9933 * lib/gdb.exp (gdb_is_target_remote): ... here.
9935 2014-04-24 David Blaikie <dblaikie@gmail.com>
9937 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
9938 ensure clang would not discard them.
9939 * gdb.base/gdbvars.c: Ditto.
9940 * gdb.base/memattr.c: Ditto.
9941 * gdb.base/whatis.c: Ditto.
9942 * gdb.python/py-prettyprint.c: Ditto.
9943 * gdb.trace/actions.c: Ditto.
9944 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9945 ensure clang would not discard it.
9947 2014-04-24 David Blaikie <dblaikie@gmail.com>
9949 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9950 clang to emit the full definition of type required by the test
9951 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9953 2014-04-24 David Blaikie <dblaikie@gmail.com>
9955 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9956 coax Clang into emitting the definition of the type.
9957 * gdb.cp/pr10728-x.h (y): Ditto.
9958 * gdb.cp/pr10728-y.cc (y): Ditto.
9960 2014-04-24 David Blaikie <dblaikie@gmail.com>
9962 * gdb.base/label.exp: XFAIL label related tests under Clang.
9963 * gdb.cp/cplabel.exp: Ditto.
9964 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9965 under Clang those using labels.
9967 2014-04-25 Yao Qi <yao@codesourcery.com>
9969 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9971 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9972 partial_label and double_label.
9974 2014-04-24 David Blaikie <dblaikie@gmail.com>
9976 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9978 2014-04-24 David Blaikie <dblaikie@gmail.com>
9980 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9981 of the function to work across GCC and Clang.
9982 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9983 pointer types (const void ** const V void **).
9985 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9986 Walfred Tedeschi <walfred.tedeschi@intel.com>
9988 * Makefile.in (EXECUTABLES): Added i386-avx512.
9989 * gdb.arch/i386-avx512.c: New file.
9990 * gdb.arch/i386-avx512.exp: Likewise.
9992 2014-04-23 Keith Seitz <keiths@redhat.com>
9994 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9995 (mi_make_breakpoint_table): New procedure.
9996 (mi_create_breakpoint): Use mi_make_breakpoint
9997 and return the result.
9998 (mi_make_breakpoint): New procedure.
9999 (mi_build_kv_pairs): New procedure.
10001 * gdb.mi/mi-break.exp: Remove unused globals,
10002 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10003 All callers updated.
10004 * gdb.mi/mi-dprintf.exp: Use variable to track command
10006 Update all callers of mi_create_breakpoint and use
10007 mi_make_breakpoint_table.
10008 Remove any unused global variables.
10009 * gdb.mi/mi-nonstop.exp: Likewise.
10010 * gdb.mi/mi-nsintrall.exp: Likewise.
10011 * gdb.mi/mi-nsmoribund.exp: Likewise.
10012 * gdb.mi/mi-nsthrexec.exp: Likewise.
10013 * gdb.mi/mi-reverse.exp: Likewise.
10014 * gdb.mi/mi-simplerun.exp: Likewise.
10015 * gdb.mi/mi-stepn.exp: Likewise.
10016 * gdb.mi/mi-syn-frame.exp: Likewise.
10017 * gdb.mi/mi-until.exp: Likewise.
10018 * gdb.mi/mi-var-cp.exp: Likewise.
10019 * gdb.mi/mi-var-display.exp: Likewise.
10020 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10021 * gdb.mi/mi2-var-child.exp: Likewise.
10022 * gdb.mi/mi-vla-c99.exp: Likewise.
10023 * lib/mi-support.exp: Likewise.
10025 From Ian Lance Taylor <iant@cygnus.com>:
10026 * lib/gdb.exp (parse_args): New procedure.
10028 2014-04-23 Pedro Alves <palves@redhat.com>
10030 * gdb.base/break-unload-file.c: New file.
10031 * gdb.base/break-unload-file.exp: New file.
10032 * gdb.base/sym-file-lib.c (baz): New function.
10033 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10035 (load): Store the segment's mapped size.
10036 (unload): New function.
10037 (unload_shlib): New function.
10038 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10039 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10040 set a breakpoint at baz, and call it.
10041 * gdb.base/sym-file.exp: New tests for stale breakpoint
10044 2014-04-23 Pedro Alves <palves@redhat.com>
10046 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10047 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10048 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10049 * gdb.base/hbreak-unmapped.c: New file.
10050 * gdb.base/hbreak-unmapped.exp: New file.
10051 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10052 * lib/gdb.exp (gdb_is_target_remote): ... here.
10054 2014-04-22 Pedro Alves <palves@redhat.com>
10056 * gdb.base/consecutive-step-over.c: New file.
10057 * gdb.base/consecutive-step-over.exp: New file.
10059 2014-04-22 Pedro Alves <palves@redhat.com>
10061 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10062 instead of send_gdb/gdb_expect.
10064 2014-04-22 Yao Qi <yao@codesourcery.com>
10066 * lib/trace-support.exp (generate_tracefile): New procedure.
10067 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10069 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10070 if generate_tracefile returns 1.
10072 2014-04-18 Tom Tromey <palves@redhat.com>
10073 Pedro alves <tromey@redhat.com>
10076 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10077 with a backtrace limit.
10078 * gdb.python/py-frame-inline.exp: Test running to an inline
10079 function with a backtrace limit, and printing the newest frame.
10080 * gdb.python/py-frame-inline.c (main): Call f.
10082 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10084 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10086 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10088 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10089 Drop prefix from unsupported source file path.
10091 2014-04-17 Yao Qi <yao@codesourcery.com>
10093 * lib/gdb.exp (with_target_charset): New proc.
10094 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10095 with_target_charset.
10096 (test_print_strings): Likewise.
10097 (test_repeat_bytes): Likewise.
10098 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10101 2014-04-16 Keith Seitz <keiths@redhat.com>
10104 * gdb.dwarf2/corrupt.c: New file.
10105 * gdb.dwarf2/corrupt.exp: New file.
10107 2014-04-16 Keith Seitz <keiths@redhat.com>
10110 * gdb.cp/namelessclass.cc: New file.
10111 * gdb.cp/namelessclass.exp: New file.
10112 * gdb.cp/namelessclass.S: New file.
10114 2014-04-16 Doug Evans <dje@google.com>
10116 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10118 (gdbserver_default_get_comm_port): New function.
10119 (gdbserver_start): Check if board file provided
10120 "gdbserver,get_comm_port" and use it if so.
10121 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10122 (gdb,socketport): Set to "stdio".
10123 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10124 (stdio_gdbserver_template): Delete.
10125 (${board}_get_remote_address): Update.
10126 (${board}_build_remote_cmd): Delete.
10127 (${board}_get_comm_port): New function.
10128 (${board}_spawn): Update.
10129 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10131 (${board}_get_remote_address): Update.
10132 (${board}_get_comm_port): New function.
10134 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10136 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10137 appearing in any order.
10139 2014-04-15 Doug Evans <dje@google.com>
10141 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10142 uninitialized value of "description".
10144 2014-04-15 Keith Seitz <keiths@redhat.com>
10146 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10147 Remove unused globals.
10148 (test_running_the_program): Likewise.
10149 (test_controlled_execution): Likewise.
10150 (test_controlling_breakpoints): Likewise.
10151 (test_program_termination): Likewise.
10153 2014-04-15 Keith Seitz <keiths@redhat.com>
10155 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10157 (test_rbreak_creation_and_listing): Likewise.
10158 (test_ignore_count): Likewise.
10159 (test_error): Likewise.
10161 2014-04-15 Pedro Alves <palves@redhat.com>
10163 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10164 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10166 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10167 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10168 to sym-file-loader.c.
10169 (struct library): Forward declare.
10170 (load_shlib, lookup_function): Change prototypes.
10171 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10172 (translate_offset): Remove declarations.
10173 (get_text_addr): New declaration.
10174 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10175 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10177 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10178 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10179 here from sym-file-loader.h.
10180 (struct library): New structure.
10181 (load_shlib, lookup_function): Change prototypes and adjust to
10182 work with a struct library.
10183 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10184 (translate_offset): Make static.
10185 (get_text_addr): New function.
10186 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10188 2014-04-15 Pedro Alves <palves@redhat.com>
10190 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10192 2014-04-15 Pedro Alves <palves@redhat.com>
10194 * gdb.base/sym-file-loader.c: Include <limits.h>.
10195 (SELF_LINK): New define.
10196 (get_origin): New function.
10197 (load_shlib): Use it.
10198 * gdb.base/sym-file.exp: Don't early return if the target is
10199 remote. Use runto_main, and issue fail is that fails. Use
10201 (shlib_name): Delete.
10202 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10204 2014-04-15 Pedro Alves <palves@redhat.com>
10206 * gdb.base/sym-file.exp: Remove regex characters from test
10207 message. Don't refer to breakpoint numbers in test messages.
10209 2014-04-14 Keith Seitz <keiths@redhat.com>
10212 * gdb.cp/var-tag.cc: New file.
10213 * gdb.cp/var-tag.exp: New file.
10214 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10215 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10216 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10217 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10219 2014-04-14 Tom Tromey <tromey@redhat.com>
10221 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10222 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10224 * gdb.cp/enum-class.exp: New file.
10225 * gdb.cp/enum-class.cc: New file.
10227 2014-04-14 Tom Tromey <tromey@redhat.com>
10229 * gdb.dwarf2/enum-type.exp: New file.
10231 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10233 * gdb.mi/mi-vla-c99.exp: New file.
10234 * gdb.mi/vla.c: New file.
10236 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10238 * gdb.base/vla-datatypes.c: New file.
10239 * gdb.base/vla-datatypes.exp: New file.
10241 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10243 * gdb.base/vla-ptr.c: New file.
10244 * gdb.base/vla-ptr.exp: New file.
10246 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10248 * gdb.dwarf2/count.exp: New file.
10250 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10252 * gdb.base/vla-sideeffect.c: New file.
10253 * gdb.base/vla-sideeffect.exp: New file.
10255 2014-04-14 David Blaikie <dblaikie@gmail.com>
10257 * gdb.mi/non-stop.c: Add return value for non-void function return
10259 * gdb.threads/staticthreads.c: Ditto.
10261 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10262 Doug Evans <xdje42@gmail.com>
10264 * gdb.guile/scm-value.c: Improve test case.
10265 * gdb.guile/scm-value.exp: Add new test.
10267 2014-04-11 David Blaikie <dblaikie@gmail.com>
10269 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10270 override Clang's default.
10272 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10274 Revert the following changes (regressions):
10276 * gdb.base/vla-sideeffect.c: New file.
10277 * gdb.base/vla-sideeffect.exp: New file.
10279 * gdb.dwarf2/count.exp: New file.
10281 * gdb.base/vla-multi.c: New file.
10282 * gdb.base/vla-multi.exp: New file.
10284 * gdb.base/vla-ptr.c: New file.
10285 * gdb.base/vla-ptr.exp: New file.
10287 * gdb.base/vla-datatypes.c: New file.
10288 * gdb.base/vla-datatypes.exp: New file.
10290 * gdb.mi/mi-vla-c99.exp: New file.
10291 * gdb.mi/vla.c: New file.
10293 2014-04-11 Keith Seitz <keiths@redhat.com>
10296 * gdb.cp/cpsizeof.exp: New file.
10297 * gdb.cp/cpsizeof.cc: New file.
10299 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10301 * gdb.mi/mi-vla-c99.exp: New file.
10302 * gdb.mi/vla.c: New file.
10304 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10306 * gdb.base/vla-datatypes.c: New file.
10307 * gdb.base/vla-datatypes.exp: New file.
10309 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10311 * gdb.base/vla-ptr.c: New file.
10312 * gdb.base/vla-ptr.exp: New file.
10314 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10316 * gdb.base/vla-multi.c: New file.
10317 * gdb.base/vla-multi.exp: New file.
10319 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10321 * gdb.dwarf2/count.exp: New file.
10323 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10325 * gdb.base/vla-sideeffect.c: New file.
10326 * gdb.base/vla-sideeffect.exp: New file.
10328 2014-04-11 Yao Qi <yao@codesourcery.com>
10330 * gdb.base/completion.exp: Check file exists before running tests
10331 on file completion.
10333 2014-04-10 Pedro Alves <palves@redhat.com>
10335 * gdb.base/cond-eval-mode.c: New file.
10336 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10337 prepare_for_testing to build the new file. Check result of
10339 (test_break, test_watch): New procedures.
10340 (top level): Use them.
10342 2014-04-08 Pierre Muller <muller@sourceware.org>
10344 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10345 Ctrl-V use for mingw hosts.
10347 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10349 * gdb.python/py-value.c: Improve test case.
10350 * gdb.python/py-value.exp: Add new test.
10352 2014-04-07 David Blaikie <dblaikie@gmail.com>
10354 * lib/compiler.c: Identify the clang compiler.
10355 * lib/compiler.cc: Ditto.
10357 2014-04-03 Yao Qi <yao@codesourcery.com>
10359 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10361 2014-04-01 Anton Blanchard <anton@samba.org>
10363 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10366 2014-04-01 Anton Blanchard <anton@samba.org>
10368 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10369 prepare_for_testing.
10371 2014-04-01 Anton Blanchard <anton@samba.org>
10373 * gdb.arch/ppc64-atomic-inst.c: Remove.
10374 * gdb.arch/ppc64-atomic-inst.S: New file.
10375 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10377 2014-03-31 Doug Evans <dje@google.com>
10379 * gdb.base/print-symbol-loading-lib.c: New file.
10380 * gdb.base/print-symbol-loading-main.c: New file.
10381 * gdb.base/print-symbol-loading.exp: New file.
10383 2014-03-31 Yao Qi <yao@codesourcery.com>
10385 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10387 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10389 * gdb.ada/mi_dyn_arr: New testcase.
10391 2014-03-27 Doug Evans <dje@google.com>
10393 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10395 2014-03-27 Yao Qi <yao@codesourcery.com>
10397 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10398 if target is nios2-*-*.
10400 2014-03-26 Yao Qi <yao@codesourcery.com>
10402 * lib/gdb.exp (readline_is_used): New proc.
10403 * gdb.base/completion.exp: Move tests on command complete up.
10404 Skip the rest of tests if readline is not used.
10405 * gdb.ada/complete.exp: Skp the test if readline is not
10407 * gdb.base/filesym.exp: Likewise.
10408 * gdb.base/macscp.exp: Likewise.
10409 * gdb.base/readline-ask.exp: Likewise.
10410 * gdb.base/readline.exp: Likewise.
10411 * gdb.python/py-cmd.exp: Likewise.
10412 * gdb.trace/tfile.exp: Likewise.
10414 2014-03-26 Yao Qi <yao@codesourcery.com>
10416 * gdb.base/macscp.exp: Fix code format issues.
10418 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10420 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10421 * gdb.asm/powerpc64le.inc: New file.
10423 2014-03-25 Pedro Alves <palves@redhat.com>
10424 Doug Evans <dje@google.com>
10426 * gdb.base/source-execution.c: New file.
10427 * gdb.base/source-execution.exp: New file.
10428 * gdb.base/source-execution.gdb: New file.
10430 2014-03-24 Doug Evans <dje@google.com>
10432 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10435 2014-03-24 Hui Zhu <hui@codesourcery.com>
10436 Pedro Alves <palves@redhat.com>
10438 PR breakpoints/16101
10439 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10440 test pass/fail messages. Detect missing support for dprintf when
10441 breakpoints are actually inserted.
10442 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10443 breakpoints are actually inserted.
10444 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10447 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10449 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10451 2014-03-22 Doug Evans <xdje42@gmail.com>
10453 * gdb.python/python.exp (python not supported): Verify multi-line
10454 python command issues an error.
10455 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10456 guile command issues an error.
10458 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10460 * gdb.threads/thread-specific.exp: Handle the lack of usable
10461 $this_breakpoint and $this_thread.
10463 2014-03-21 Hui Zhu <hui@codesourcery.com>
10465 * gdb.base/attach.exp (do_command_attach_tests): New.
10467 2014-03-20 Tom Tromey <tromey@redhat.com>
10468 Pedro Alves <palves@redhat.com>
10471 * gdb.base/condbreak-call-false.c: New file.
10472 * gdb.base/condbreak-call-false.exp: New file.
10474 2014-03-20 Pedro Alves <palves@redhat.com>
10476 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10478 (block_signals, unblock_signals): Delete.
10479 (child_function_2, main): Remove references to deleted variable
10482 2014-03-20 Pedro Alves <palves@redhat.com>
10484 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10485 Use pthread_kill to signal thread 2.
10486 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10487 Adjust to make the test send itself a signal rather than using the
10488 host's "kill" command.
10490 2014-03-20 Pedro Alves <palves@redhat.com>
10492 * gdb.threads/multiple-step-overs.c: New file.
10493 * gdb.threads/multiple-step-overs.exp: New file.
10494 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10495 Adjust expected infrun debug output.
10497 2014-03-20 Pedro Alves <palves@redhat.com>
10499 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10500 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10502 2014-03-20 Pedro Alves <palves@redhat.com>
10504 PR breakpoints/7143
10505 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10506 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10507 of gdb_test_multiple.
10508 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10509 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10511 2014-03-20 Pedro Alves <palves@redhat.com>
10513 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10514 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10516 2014-03-19 Pedro Alves <palves@redhat.com>
10518 * gdb.base/async.exp: Remove early return.
10520 2014-03-19 Pedro Alves <palves@redhat.com>
10522 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10524 2014-03-19 Pedro Alves <palves@redhat.com>
10526 * gdb.base/async.exp (test_background): Expect \r\n after
10527 "completed." in the fail pattern.
10529 2014-03-19 Pedro Alves <palves@redhat.com>
10531 * gdb.base/async.exp (test_background): New procedure.
10532 Use it for all background execution command tests.
10534 2014-03-19 Pedro Alves <palves@redhat.com>
10536 * gdb.base/async.exp: Use prepare_for_testing.
10538 2014-03-19 Pedro Alves <palves@redhat.com>
10540 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10543 2014-03-19 Pedro Alves <palves@redhat.com>
10545 * gdb.base/async.c (main): Add "jump here" and "until here" line
10547 * gdb.base/async.exp (jump_here): New global.
10548 (jump& test): Use it.
10549 (until_here): New global.
10550 (until& test): Use it.
10552 2014-03-19 Pedro Alves <palves@redhat.com>
10554 * gdb.base/async.exp: Don't frob gdb_protocol.
10556 2014-03-18 Doug Evans <xdje42@gmail.com>
10558 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10559 Fix spelling of exec-done-display.
10561 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10564 * gdb.base/gdb-sigterm.c: New file.
10565 * gdb.base/gdb-sigterm.exp: New file.
10567 2014-03-18 Pedro Alves <palves@redhat.com>
10570 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10571 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10574 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10576 * gdb.ada/pckd_arr_ren: New testcase.
10578 2014-03-13 Doug Evans <xdje42@gmail.com>
10581 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10582 collect after discarding symbols.
10584 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10585 Doug Evans <xdje42@gmail.com>
10587 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10588 to history survives a gc.
10590 2014-03-13 Pedro Alves <palves@redhat.com>
10592 * gdb.base/default.exp: Don't test "target procfs".
10594 2014-03-13 Pedro Alves <palves@redhat.com>
10596 * gdb.base/default.exp: Update "target child" and "target procfs"
10597 tests to not expect "Unix".
10599 2014-03-12 Tom Tromey <tromey@redhat.com>
10601 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10602 New procs. Add target-async tests.
10603 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10604 Add target-async tests.
10606 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10608 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10609 'func_start' and 'func_end' for the beginning and end of the
10610 function code, respectively.
10611 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10612 'func_end' instead of 'func' and 'main'.
10614 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10616 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10617 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10618 generate the debug info assembler source.
10620 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10622 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10623 * gdb.dwarf2/arr-subrange.exp: Likewise.
10624 * gdb.dwarf2/dwz.exp: Likewise.
10625 * gdb.dwarf2/method-ptr.exp: Likewise.
10626 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10627 * gdb.dwarf2/subrange.exp: Likewise.
10628 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10629 * gdb.dwarf2/implptrpiece.exp: Likewise.
10630 * gdb.dwarf2/nostaticblock.exp: Likewise.
10632 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10634 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10635 directory to absolute path name arguments.
10637 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10639 * gdb.ada/tagged_access: New testcase.
10641 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10643 * gdb.btrace/data.exp: Update expected output.
10645 2014-03-06 Yao Qi <yao@codesourcery.com>
10647 * gdb.trace/pr16508.exp: New file.
10649 2014-03-05 Pedro Alves <palves@redhat.com>
10652 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10654 (top level): Adjust to use it. Add tests that exercise breakpoint
10655 interaction with the code-cache.
10657 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10659 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10660 test for 'history-append!'.
10662 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10664 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10665 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10666 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10667 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10668 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10669 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10671 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10673 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10674 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10675 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10677 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10679 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10681 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10683 * gdb.dwarf2/arr-stride.c: New file.
10684 * gdb.dwarf2/arr-stride.exp: New file.
10686 2014-02-26 Pedro Alves <palves@redhat.com>
10688 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10689 that won't ever trigger. Make sure that GDB reports the correct
10690 breakpoint that caused the stop.
10692 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10695 * gdb.base/auto-load-script: New file.
10696 * gdb.base/auto-load.c: New file.
10697 * gdb.base/auto-load.exp: New file.
10700 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10702 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10704 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10705 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10707 2014-02-24 Doug Evans <dje@google.com>
10709 * lib/gdb.exp (run_on_host): Log error output if program fails.
10711 2014-02-21 Pedro Alves <palves@redhat.com>
10713 * gdb.threads/step-after-sr-lock.c: Rename to ...
10714 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10715 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10716 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10719 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10722 * gdb.arch/amd64-stap-special-operands.exp: New file.
10723 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10724 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10725 * gdb.arch/amd64-stap-triplet.S: Likewise.
10726 * gdb.arch/amd64-stap-triplet.c: Likewise.
10728 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10730 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10731 in .section pseudo-op.
10733 2014-02-20 lin zuojian <manjian2006@gmail.com>
10734 Joel Brobecker <brobecker@adacore.com>
10735 Doug Evans <xdje42@gmail.com>
10738 * gdb.dwarf2/dw2-icycle.S: New file.
10739 * gdb.dwarf2/dw2-icycle.c: New file.
10740 * gdb.dwarf2/dw2-icycle.exp: New file.
10742 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10744 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10745 operations on gdb.Value objects.
10746 * gdb.python/py-value-cc.exp: Add new test to test operations on
10749 2014-02-18 Doug Evans <dje@google.com>
10751 * Makefile.in (TESTS): New variable.
10752 (expanded_tests, expanded_tests_or_none): New variables
10753 (check-single): Pass $(expanded_tests_or_none) to runtest.
10754 (check-parallel): Only run tests in $(TESTS) if non-empty.
10755 (check/no-matching-tests-found): New rule.
10756 * README: Document TESTS makefile variable.
10758 2014-02-18 Doug Evans <dje@google.com>
10760 * Makefile.in (check-parallel): rm -rf outputs temp.
10762 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10764 Fix "ERROR: no fileid for" in the testsuite.
10765 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10767 2014-02-12 Doug Evans <dje@google.com>
10769 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10770 (MISCELLANEOUS): New variable.
10771 (clean): rm -rf $(MISCELLANEOUS).
10772 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10773 dwp live in the same directory as symlinks, with each symlink pointed
10774 to a differently named file in a different directory.
10776 2014-02-11 Doug Evans <dje@google.com>
10778 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10779 of Tcl file commands.
10781 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10783 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10784 "kill -SIGUSR1 -1".
10786 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10788 * gdb.ada/tick_length_array_enum_idx: New testcase.
10790 2014-02-10 Doug Evans <xdje42@gmail.com>
10792 * configure.ac (AC_OUTPUT): Add gdb.guile.
10793 * configure: Regenerate.
10794 * lib/gdb-guile.exp: New file.
10795 * lib/gdb.exp (get_target_charset): New function.
10796 * gdb.base/help.exp: Update expected output from "apropos apropos".
10797 * gdb.guile/Makefile.in: New file.
10798 * gdb.guile/guile.exp: New file.
10799 * gdb.guile/scm-arch.c: New file.
10800 * gdb.guile/scm-arch.exp: New file.
10801 * gdb.guile/scm-block.c: New file.
10802 * gdb.guile/scm-block.exp: New file.
10803 * gdb.guile/scm-breakpoint.c: New file.
10804 * gdb.guile/scm-breakpoint.exp: New file.
10805 * gdb.guile/scm-disasm.c: New file.
10806 * gdb.guile/scm-disasm.exp: New file.
10807 * gdb.guile/scm-equal.c: New file.
10808 * gdb.guile/scm-equal.exp: New file.
10809 * gdb.guile/scm-error.exp: New file.
10810 * gdb.guile/scm-error.scm: New file.
10811 * gdb.guile/scm-frame-args.c: New file.
10812 * gdb.guile/scm-frame-args.exp: New file.
10813 * gdb.guile/scm-frame-args.scm: New file.
10814 * gdb.guile/scm-frame-inline.c: New file.
10815 * gdb.guile/scm-frame-inline.exp: New file.
10816 * gdb.guile/scm-frame.c: New file.
10817 * gdb.guile/scm-frame.exp: New file.
10818 * gdb.guile/scm-generics.exp: New file.
10819 * gdb.guile/scm-gsmob.exp: New file.
10820 * gdb.guile/scm-iterator.c: New file.
10821 * gdb.guile/scm-iterator.exp: New file.
10822 * gdb.guile/scm-math.c: New file.
10823 * gdb.guile/scm-math.exp: New file.
10824 * gdb.guile/scm-objfile-script-gdb.in: New file.
10825 * gdb.guile/scm-objfile-script.c: New file.
10826 * gdb.guile/scm-objfile-script.exp: New file.
10827 * gdb.guile/scm-objfile.c: New file.
10828 * gdb.guile/scm-objfile.exp: New file.
10829 * gdb.guile/scm-ports.exp: New file.
10830 * gdb.guile/scm-pretty-print.c: New file.
10831 * gdb.guile/scm-pretty-print.exp: New file.
10832 * gdb.guile/scm-pretty-print.scm: New file.
10833 * gdb.guile/scm-section-script.c: New file.
10834 * gdb.guile/scm-section-script.exp: New file.
10835 * gdb.guile/scm-section-script.scm: New file.
10836 * gdb.guile/scm-symbol.c: New file.
10837 * gdb.guile/scm-symbol.exp: New file.
10838 * gdb.guile/scm-symtab-2.c: New file.
10839 * gdb.guile/scm-symtab.c: New file.
10840 * gdb.guile/scm-symtab.exp: New file.
10841 * gdb.guile/scm-type.c: New file.
10842 * gdb.guile/scm-type.exp: New file.
10843 * gdb.guile/scm-value-cc.cc: New file.
10844 * gdb.guile/scm-value-cc.exp: New file.
10845 * gdb.guile/scm-value.c: New file.
10846 * gdb.guile/scm-value.exp: New file.
10847 * gdb.guile/source2.scm: New file.
10848 * gdb.guile/types-module.cc: New file.
10849 * gdb.guile/types-module.exp: New file.
10851 2014-02-10 Yao Qi <yao@codesourcery.com>
10854 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10855 * configure: Regenerated.
10856 * Makefile.in: New file.
10858 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10860 * gdb.python/py-framefilter.exp: Fix typo.
10862 2014-02-08 Yao Qi <yao@codesourcery.com>
10864 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10865 that no =breakpoint-modified is emitted when breakpoints are
10866 modified through MI commands.
10868 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10869 Pedro Alves <palves@redhat.com>
10871 * gdb.threads/step-after-sr-lock.c: New file.
10872 * gdb.threads/step-after-sr-lock.exp: New file.
10874 2014-02-07 Pedro Alves <palves@redhat.com>
10876 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10878 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10880 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
10881 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
10883 2014-02-06 Doug Evans <xdje42@gmail.com>
10885 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
10888 * gdb.gdb/python-interrupts.exp: New file.
10890 2014-02-05 Yao Qi <yao@codesourcery.com>
10892 * gdb.trace/report.exp (use_collected_data): Test the output
10893 of "info threads" and "info inferiors".
10895 2014-02-05 Yao Qi <yao@codesourcery.com>
10899 2013-05-24 Yao Qi <yao@codesourcery.com>
10901 * gdb.trace/tfile.exp: Test inferior and thread.
10903 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10905 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
10907 * gdb.base/step-bt.c: Call hello via function pointer to make
10908 sure its first instruction is executed on powerpc64le-linux.
10910 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10912 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
10914 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10916 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
10917 of the test patterns for use on little-endian systems.
10919 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10921 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
10922 (decimal_vector): Fix for little-endian.
10924 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10926 * gdb.arch/sparc-sysstep.exp: New file.
10927 * gdb.arch/sparc-sysstep.c: Likewise.
10929 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
10931 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10933 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
10935 2014-01-23 Tom Tromey <tromey@redhat.com>
10937 * gdb.ada/array_char_idx: New testcase.
10939 2014-01-23 Tom Tromey <tromey@redhat.com>
10942 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10943 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10946 2014-01-23 Tom Tromey <tromey@redhat.com>
10949 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10950 string from an inferior frame.
10951 * gdb.python/py-framefilter-mi.exp: Update.
10953 2014-01-22 Doug Evans <dje@google.com>
10955 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10957 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10959 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10961 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10963 * gdb.trace/entry-values.exp: Remove excess space character from
10964 regex patterns. Handle s390 call instruction.
10966 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10968 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10969 define "*_start" label. Make "name" static.
10970 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10971 ${name} by references to ${name}_start.
10973 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10975 * gdb.base/info-macros.exp: Remove "debug" from the compile
10978 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10980 * gdb.dlang/demangle.exp: New file.
10982 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10984 * gdb.dlang/primitive-types.exp: New file.
10986 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10988 * configure.ac: Create gdb.dlang/Makefile.
10989 * configure: Regenerate.
10990 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10991 * gdb.dlang/Makefile.in: New file.
10992 * lib/d-support.exp: New file.
10993 * lib/gdb.exp (skip_d_tests): New proc.
10995 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10997 * gdb.btrace/delta.exp: Check reverse stepi.
10998 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10999 * gdb.btrace/finish.exp: New.
11000 * gdb.btrace/next.exp: New.
11001 * gdb.btrace/nexti.exp: New.
11002 * gdb.btrace/record_goto.c: Add comments.
11003 * gdb.btrace/step.exp: New.
11004 * gdb.btrace/stepi.exp: New.
11005 * gdb.btrace/multi-thread-step.c: New.
11006 * gdb.btrace/multi-thread-step.exp: New.
11007 * gdb.btrace/rn-dl-bind.c: New.
11008 * gdb.btrace/rn-dl-bind.exp: New.
11009 * gdb.btrace/data.c: New.
11010 * gdb.btrace/data.exp: New.
11011 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11015 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11016 * gdb.btrace/exception.exp: Update.
11017 * gdb.btrace/instruction_history.exp: Update.
11018 * gdb.btrace/record_goto.exp: Update.
11019 * gdb.btrace/tailcall.exp: Update.
11020 * gdb.btrace/unknown_functions.exp: Update.
11021 * gdb.btrace/delta.exp: New.
11023 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11025 * gdb.btrace/record_goto.exp: Add backtrace test.
11026 * gdb.btrace/tailcall.exp: Add backtrace test.
11028 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11030 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11031 * gdb.btrace/record_goto.c: New.
11032 * gdb.btrace/record_goto.exp: New.
11033 * gdb.btrace/x86-record_goto.S: New.
11035 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11037 * gdb.btrace/function_call_history.exp: Update tests.
11038 * gdb.btrace/instruction_history.exp: Update tests.
11040 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11042 * gdb.btrace/function_call_history.exp: Fix expected field
11043 order for "record function-call-history".
11044 Add new tests for "record function-call-history /c".
11045 * gdb.btrace/exception.cc: New.
11046 * gdb.btrace/exception.exp: New.
11047 * gdb.btrace/tailcall.exp: New.
11048 * gdb.btrace/x86-tailcall.S: New.
11049 * gdb.btrace/x86-tailcall.c: New.
11050 * gdb.btrace/unknown_functions.c: New.
11051 * gdb.btrace/unknown_functions.exp: New.
11052 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11054 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11056 * gdb.btrace/instruction_history.exp: Update.
11057 * gdb.btrace/function_call_history.exp: Update.
11059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11061 * gdb.btrace/function_call_history.exp: Fix expected function
11063 * gdb.btrace/instruction_history.exp: Initialize traced.
11064 Remove traced_functions.
11066 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11068 * gdb.btrace/function_call_history.exp: Update
11069 * gdb.btrace/instruction_history.exp: Update.
11071 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11073 * gdb.btrace/enable.exp: Update expected text.
11075 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11077 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11080 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11082 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11084 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11086 * lib/gdb.exp (supports_process_record): Return true for
11087 arm*-linux*. (supports_reverse): Likewise.
11089 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11093 * gdb.python/py-type.c: Enhance test case.
11094 * gdb.python/py-value-cc.cc: Likewise
11095 * gdb.python/py-type.exp: Add new tests.
11096 * gdb.python/py-value-cc.exp: Likewise
11098 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11099 Pedro Alves <palves@redhat.com>
11101 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11102 Make "name" extern.
11103 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11104 references to ${name}_start by references to ${name}.
11106 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11108 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11110 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11112 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11114 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11115 Pedro Alves <palves@redhat.com>
11117 * gdb.mi/mi-info-os.exp: Connect to the target with
11118 mi_gdb_target_load.
11120 2014-01-08 Pedro Alves <palves@redhat.com>
11122 * gdb.threads/reconnect-signal.c: New file.
11123 * gdb.threads/reconnect-signal.exp: New file.
11125 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11127 * gdb.base/source-dir.exp: New file.
11129 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11131 * gdb.ada/mi_interface: New testcase.
11133 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11135 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11136 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11137 gdb.ada/pp-rec-component/pck.ads: New files.
11139 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11141 * gdb.python/py-pp-integral.c: New file.
11142 * gdb.python/py-pp-integral.py: New file.
11143 * gdb.python/py-pp-integral.exp: New file.
11145 For older changes see ChangeLog-1993-2013.
11147 ;; Local Variables:
11148 ;; mode: change-log
11151 ;; version-control: never
11154 Copyright 2014-2017 Free Software Foundation, Inc.
11155 Copying and distribution of this file, with or without modification,
11156 are permitted provided the copyright notice and this notice are preserved.