1 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7 * gdb.btrace/enable.exp: Call gdb_exit before
10 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
15 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
17 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
19 * gdb.btrace/data.exp: Likewise.
20 * gdb.btrace/delta.exp: Likewise.
21 * gdb.btrace/dlopen.exp: Likewise.
22 * gdb.btrace/enable-running.exp: Likewise.
23 * gdb.btrace/enable.exp: Likewise.
24 * gdb.btrace/exception.exp: Likewise.
25 * gdb.btrace/function_call_history.exp: Likewise.
26 * gdb.btrace/gcore.exp: Likewise.
27 * gdb.btrace/instruction_history.exp: Likewise.
28 * gdb.btrace/multi-thread-step.exp: Likewise.
29 * gdb.btrace/nohist.exp: Likewise.
30 * gdb.btrace/non-stop.exp: Likewise.
31 * gdb.btrace/reconnect.exp: Likewise.
32 * gdb.btrace/record_goto-step.exp: Likewise.
33 * gdb.btrace/record_goto.exp: Likewise.
34 * gdb.btrace/rn-dl-bind.exp: Likewise.
35 * gdb.btrace/segv.exp: Likewise.
36 * gdb.btrace/step.exp: Likewise.
37 * gdb.btrace/stepi.exp: Likewise.
38 * gdb.btrace/tailcall-only.exp: Likewise.
39 * gdb.btrace/tailcall.exp: Likewise.
40 * gdb.btrace/tsx.exp: Likewise.
41 * gdb.btrace/unknown_functions.exp: Likewise.
42 * gdb.btrace/vdso.exp: Likewise.
44 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
46 * gdb.btrace/enable-running.c: New.
47 * gdb.btrace/enable-running.exp: New.
49 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
51 * gdb.arch/amd64-gs_base.c: New file.
52 * gdb.arch/amd64-gs_base.exp: New file.
54 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
56 * lib/memory.exp: Remove spurious empty newlines.
58 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
60 * gdb.python/py-bad-printers.exp: Load python file using "source".
61 * gdb.python/py-events.exp: Likewise.
62 * gdb.python/py-evsignal.exp: Likewise.
63 * gdb.python/py-evthreads.exp: Likewise.
64 * gdb.python/py-frame-args.exp: Likewise.
65 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
66 * gdb.python/py-framefilter-mi.exp: Likewise.
67 * gdb.python/py-framefilter.exp: Likewise.
68 * gdb.python/py-mi.exp: Likewise.
69 * gdb.python/py-pp-maint.exp: Likewise.
70 * gdb.python/py-pp-registration.exp: Likewise.
71 * gdb.python/py-prettyprint.exp: Likewise.
72 (run_lang_tests): Likewise.
73 * gdb.python/py-typeprint.exp: Likewise.
75 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
77 * lib/memory.exp: New file.
78 * lib/gdb.exp: Load memory.exp.
79 * gdb.base/memattr.exp (delete_memory): Move proc to
80 lib/memory.exp and rename to delete_memory_regions.
81 Replace delete_memory with delete_memory_regions.
82 Cleanup memory regions before tests.
83 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
86 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
88 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
90 (initialize): New function conditionally defined.
91 (testcases): Move within conditional block.
92 (main): Call initialize.
93 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
94 of gdb.reverse/insn-reverse.c.
95 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
96 gdb.reverse/insn-reverse.c.
98 2017-01-26 Yao Qi <yao.qi@linaro.org>
100 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
101 disassemble on address 0.
103 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
104 Yao Qi <yao.qi@linaro.org>
106 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
107 * gdb.dwarf2/implptr-64bit.S: Remove.
108 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
109 variables in caller's context. Add DW_OP_implicit_value.
111 2017-01-25 Yao Qi <yao.qi@linaro.org>
113 * lib/dwarf.exp (Dwarf::_location): Handle
114 DW_OP_GNU_implicit_pointer with proper size.
116 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
118 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
119 and add untested calls.
121 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
123 * gdb.python/python.exp: Check line number against what GDB thinks
124 the line number is for func1.
126 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
128 * gdb.dlang/debug-expr.exp: New file.
130 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
132 Fix test names for the following files:
134 * gdb.ada/exec_changed.exp
135 * gdb.ada/info_types.exp
136 * gdb.arch/aarch64-atomic-inst.exp
137 * gdb.arch/aarch64-fp.exp
138 * gdb.arch/altivec-abi.exp
139 * gdb.arch/altivec-regs.exp
140 * gdb.arch/amd64-byte.exp
141 * gdb.arch/amd64-disp-step.exp
142 * gdb.arch/amd64-dword.exp
143 * gdb.arch/amd64-entry-value-inline.exp
144 * gdb.arch/amd64-entry-value-param.exp
145 * gdb.arch/amd64-entry-value-paramref.exp
146 * gdb.arch/amd64-entry-value.exp
147 * gdb.arch/amd64-i386-address.exp
148 * gdb.arch/amd64-invalid-stack-middle.exp
149 * gdb.arch/amd64-invalid-stack-top.exp
150 * gdb.arch/amd64-optimout-repeat.exp
151 * gdb.arch/amd64-prologue-skip.exp
152 * gdb.arch/amd64-prologue-xmm.exp
153 * gdb.arch/amd64-stap-special-operands.exp
154 * gdb.arch/amd64-stap-wrong-subexp.exp
155 * gdb.arch/amd64-tailcall-cxx.exp
156 * gdb.arch/amd64-tailcall-noret.exp
157 * gdb.arch/amd64-tailcall-ret.exp
158 * gdb.arch/amd64-tailcall-self.exp
159 * gdb.arch/amd64-word.exp
160 * gdb.arch/arm-bl-branch-dest.exp
161 * gdb.arch/arm-disp-step.exp
162 * gdb.arch/arm-neon.exp
163 * gdb.arch/arm-single-step-kernel-helper.exp
164 * gdb.arch/avr-flash-qualifier.exp
165 * gdb.arch/disp-step-insn-reloc.exp
166 * gdb.arch/e500-abi.exp
167 * gdb.arch/e500-regs.exp
168 * gdb.arch/ftrace-insn-reloc.exp
169 * gdb.arch/i386-avx512.exp
170 * gdb.arch/i386-bp_permanent.exp
171 * gdb.arch/i386-byte.exp
172 * gdb.arch/i386-cfi-notcurrent.exp
173 * gdb.arch/i386-disp-step.exp
174 * gdb.arch/i386-dr3-watch.exp
175 * gdb.arch/i386-float.exp
176 * gdb.arch/i386-gnu-cfi.exp
177 * gdb.arch/i386-mpx-map.exp
178 * gdb.arch/i386-mpx-sigsegv.exp
179 * gdb.arch/i386-mpx-simple_segv.exp
180 * gdb.arch/i386-mpx.exp
181 * gdb.arch/i386-permbkpt.exp
182 * gdb.arch/i386-prologue.exp
183 * gdb.arch/i386-signal.exp
184 * gdb.arch/i386-size-overlap.exp
185 * gdb.arch/i386-unwind.exp
186 * gdb.arch/i386-word.exp
187 * gdb.arch/mips-fcr.exp
188 * gdb.arch/powerpc-d128-regs.exp
189 * gdb.arch/powerpc-stackless.exp
190 * gdb.arch/ppc64-atomic-inst.exp
191 * gdb.arch/s390-stackless.exp
192 * gdb.arch/s390-tdbregs.exp
193 * gdb.arch/s390-vregs.exp
194 * gdb.arch/sparc-sysstep.exp
195 * gdb.arch/thumb-bx-pc.exp
196 * gdb.arch/thumb-singlestep.exp
197 * gdb.arch/thumb2-it.exp
198 * gdb.arch/vsx-regs.exp
199 * gdb.asm/asm-source.exp
200 * gdb.base/a2-run.exp
201 * gdb.base/advance.exp
202 * gdb.base/all-bin.exp
205 * gdb.base/arithmet.exp
206 * gdb.base/async-shell.exp
208 * gdb.base/attach-pie-noexec.exp
209 * gdb.base/attach-twice.exp
210 * gdb.base/auto-load.exp
212 * gdb.base/bitfields.exp
213 * gdb.base/break-always.exp
214 * gdb.base/break-caller-line.exp
215 * gdb.base/break-entry.exp
216 * gdb.base/break-inline.exp
217 * gdb.base/break-on-linker-gcd-function.exp
218 * gdb.base/break-probes.exp
220 * gdb.base/breakpoint-shadow.exp
221 * gdb.base/call-ar-st.exp
222 * gdb.base/call-sc.exp
223 * gdb.base/call-signal-resume.exp
224 * gdb.base/call-strs.exp
225 * gdb.base/callfuncs.exp
226 * gdb.base/catch-fork-static.exp
227 * gdb.base/catch-gdb-caused-signals.exp
228 * gdb.base/catch-load.exp
229 * gdb.base/catch-signal-fork.exp
230 * gdb.base/catch-signal.exp
231 * gdb.base/catch-syscall.exp
232 * gdb.base/charset.exp
233 * gdb.base/checkpoint.exp
234 * gdb.base/chng-syms.exp
235 * gdb.base/code-expr.exp
236 * gdb.base/code_elim.exp
237 * gdb.base/commands.exp
238 * gdb.base/completion.exp
239 * gdb.base/complex.exp
240 * gdb.base/cond-expr.exp
241 * gdb.base/condbreak.exp
242 * gdb.base/consecutive.exp
243 * gdb.base/continue-all-already-running.exp
244 * gdb.base/coredump-filter.exp
245 * gdb.base/corefile.exp
247 * gdb.base/debug-expr.exp
248 * gdb.base/define.exp
250 * gdb.base/disabled-location.exp
251 * gdb.base/disasm-end-cu.exp
252 * gdb.base/disasm-optim.exp
253 * gdb.base/display.exp
254 * gdb.base/duplicate-bp.exp
255 * gdb.base/ena-dis-br.exp
256 * gdb.base/ending-run.exp
257 * gdb.base/enumval.exp
258 * gdb.base/environ.exp
259 * gdb.base/eu-strip-infcall.exp
260 * gdb.base/eval-avoid-side-effects.exp
261 * gdb.base/eval-skip.exp
262 * gdb.base/exitsignal.exp
263 * gdb.base/expand-psymtabs.exp
264 * gdb.base/filesym.exp
265 * gdb.base/find-unmapped.exp
266 * gdb.base/finish.exp
268 * gdb.base/foll-exec-mode.exp
269 * gdb.base/foll-exec.exp
270 * gdb.base/foll-fork.exp
271 * gdb.base/fortran-sym-case.exp
272 * gdb.base/freebpcmd.exp
273 * gdb.base/func-ptr.exp
274 * gdb.base/func-ptrs.exp
275 * gdb.base/funcargs.exp
276 * gdb.base/gcore-buffer-overflow.exp
277 * gdb.base/gcore-relro-pie.exp
278 * gdb.base/gcore-relro.exp
280 * gdb.base/gdb1090.exp
281 * gdb.base/gdb11530.exp
282 * gdb.base/gdb11531.exp
283 * gdb.base/gdb1821.exp
284 * gdb.base/gdbindex-stabs.exp
285 * gdb.base/gdbvars.exp
286 * gdb.base/hbreak.exp
287 * gdb.base/hbreak2.exp
288 * gdb.base/included.exp
289 * gdb.base/infcall-input.exp
290 * gdb.base/inferior-died.exp
291 * gdb.base/infnan.exp
292 * gdb.base/info-macros.exp
293 * gdb.base/info-os.exp
294 * gdb.base/info-proc.exp
295 * gdb.base/info-shared.exp
296 * gdb.base/info-target.exp
297 * gdb.base/infoline.exp
298 * gdb.base/interp.exp
299 * gdb.base/interrupt.exp
300 * gdb.base/jit-reader.exp
301 * gdb.base/jit-simple.exp
302 * gdb.base/kill-after-signal.exp
303 * gdb.base/kill-detach-inferiors-cmd.exp
306 * gdb.base/ldbl_e308.exp
307 * gdb.base/line-symtabs.exp
308 * gdb.base/linespecs.exp
310 * gdb.base/long_long.exp
311 * gdb.base/longest-types.exp
313 * gdb.base/max-value-size.exp
314 * gdb.base/memattr.exp
315 * gdb.base/mips_pro.exp
316 * gdb.base/morestack.exp
317 * gdb.base/moribund-step.exp
318 * gdb.base/multi-forks.exp
319 * gdb.base/nested-addr.exp
320 * gdb.base/nextoverexit.exp
321 * gdb.base/noreturn-finish.exp
322 * gdb.base/noreturn-return.exp
323 * gdb.base/nostdlib.exp
324 * gdb.base/offsets.exp
325 * gdb.base/opaque.exp
327 * gdb.base/permissions.exp
328 * gdb.base/print-symbol-loading.exp
329 * gdb.base/prologue-include.exp
330 * gdb.base/psymtab.exp
332 * gdb.base/random-signal.exp
333 * gdb.base/randomize.exp
334 * gdb.base/range-stepping.exp
335 * gdb.base/readline-ask.exp
336 * gdb.base/recpar.exp
337 * gdb.base/recurse.exp
338 * gdb.base/relational.exp
339 * gdb.base/restore.exp
340 * gdb.base/return-nodebug.exp
341 * gdb.base/return.exp
342 * gdb.base/run-after-attach.exp
343 * gdb.base/save-bp.exp
345 * gdb.base/sect-cmd.exp
346 * gdb.base/set-lang-auto.exp
347 * gdb.base/set-noassign.exp
348 * gdb.base/setvar.exp
349 * gdb.base/sigall.exp
350 * gdb.base/sigbpt.exp
351 * gdb.base/siginfo-addr.exp
352 * gdb.base/siginfo-infcall.exp
353 * gdb.base/siginfo-obj.exp
354 * gdb.base/siginfo.exp
355 * gdb.base/signals-state-child.exp
356 * gdb.base/signest.exp
357 * gdb.base/sigstep.exp
358 * gdb.base/sizeof.exp
360 * gdb.base/solib-corrupted.exp
361 * gdb.base/solib-nodir.exp
362 * gdb.base/solib-search.exp
363 * gdb.base/stack-checking.exp
364 * gdb.base/stale-infcall.exp
365 * gdb.base/stap-probe.exp
367 * gdb.base/step-break.exp
368 * gdb.base/step-bt.exp
369 * gdb.base/step-line.exp
370 * gdb.base/step-over-exit.exp
371 * gdb.base/step-over-syscall.exp
372 * gdb.base/step-resume-infcall.exp
373 * gdb.base/step-test.exp
375 * gdb.base/structs3.exp
376 * gdb.base/sym-file.exp
377 * gdb.base/symbol-without-target_section.exp
379 * gdb.base/testenv.exp
380 * gdb.base/ui-redirect.exp
382 * gdb.base/unwindonsignal.exp
383 * gdb.base/value-double-free.exp
384 * gdb.base/vla-datatypes.exp
385 * gdb.base/vla-ptr.exp
386 * gdb.base/vla-sideeffect.exp
387 * gdb.base/volatile.exp
388 * gdb.base/watch-cond-infcall.exp
389 * gdb.base/watch-cond.exp
390 * gdb.base/watch-non-mem.exp
391 * gdb.base/watch-read.exp
392 * gdb.base/watch-vfork.exp
393 * gdb.base/watchpoint-cond-gone.exp
394 * gdb.base/watchpoint-delete.exp
395 * gdb.base/watchpoint-hw-hit-once.exp
396 * gdb.base/watchpoint-hw.exp
397 * gdb.base/watchpoint-stops-at-right-insn.exp
398 * gdb.base/watchpoints.exp
400 * gdb.base/whatis-exp.exp
401 * gdb.btrace/buffer-size.exp
402 * gdb.btrace/data.exp
403 * gdb.btrace/delta.exp
404 * gdb.btrace/dlopen.exp
405 * gdb.btrace/enable.exp
406 * gdb.btrace/exception.exp
407 * gdb.btrace/function_call_history.exp
408 * gdb.btrace/gcore.exp
409 * gdb.btrace/instruction_history.exp
410 * gdb.btrace/nohist.exp
411 * gdb.btrace/reconnect.exp
412 * gdb.btrace/record_goto-step.exp
413 * gdb.btrace/record_goto.exp
414 * gdb.btrace/rn-dl-bind.exp
415 * gdb.btrace/segv.exp
416 * gdb.btrace/step.exp
417 * gdb.btrace/stepi.exp
418 * gdb.btrace/tailcall-only.exp
419 * gdb.btrace/tailcall.exp
421 * gdb.btrace/unknown_functions.exp
422 * gdb.btrace/vdso.exp
423 * gdb.compile/compile-ifunc.exp
424 * gdb.compile/compile-ops.exp
425 * gdb.compile/compile-print.exp
426 * gdb.compile/compile-setjmp.exp
427 * gdb.cp/abstract-origin.exp
428 * gdb.cp/ambiguous.exp
432 * gdb.cp/anon-struct.exp
433 * gdb.cp/anon-union.exp
434 * gdb.cp/arg-reference.exp
435 * gdb.cp/baseenum.exp
437 * gdb.cp/breakpoint.exp
441 * gdb.cp/chained-calls.exp
444 * gdb.cp/cmpd-minsyms.exp
445 * gdb.cp/converts.exp
446 * gdb.cp/cp-relocate.exp
447 * gdb.cp/cpcompletion.exp
450 * gdb.cp/cplusfuncs.exp
451 * gdb.cp/cpsizeof.exp
453 * gdb.cp/derivation.exp
454 * gdb.cp/destrprint.exp
456 * gdb.cp/enum-class.exp
457 * gdb.cp/exception.exp
458 * gdb.cp/exceptprint.exp
459 * gdb.cp/expand-psymtabs-cxx.exp
460 * gdb.cp/expand-sals.exp
461 * gdb.cp/extern-c.exp
462 * gdb.cp/filename.exp
463 * gdb.cp/formatted-ref.exp
464 * gdb.cp/fpointer.exp
468 * gdb.cp/impl-this.exp
469 * gdb.cp/infcall-dlopen.exp
471 * gdb.cp/iostream.exp
475 * gdb.cp/m-static.exp
477 * gdb.cp/mb-inline.exp
478 * gdb.cp/mb-templates.exp
479 * gdb.cp/member-name.exp
480 * gdb.cp/member-ptr.exp
481 * gdb.cp/meth-typedefs.exp
484 * gdb.cp/minsym-fallback.exp
486 * gdb.cp/namelessclass.exp
487 * gdb.cp/namespace-enum.exp
488 * gdb.cp/namespace-nested-import.exp
489 * gdb.cp/namespace.exp
490 * gdb.cp/nextoverthrow.exp
491 * gdb.cp/no-dmgl-verbose.exp
492 * gdb.cp/non-trivial-retval.exp
495 * gdb.cp/nsimport.exp
496 * gdb.cp/nsnested.exp
497 * gdb.cp/nsnoimports.exp
498 * gdb.cp/nsrecurs.exp
499 * gdb.cp/nsstress.exp
501 * gdb.cp/operator.exp
502 * gdb.cp/oranking.exp
503 * gdb.cp/overload-const.exp
504 * gdb.cp/overload.exp
505 * gdb.cp/ovldbreak.exp
507 * gdb.cp/paren-type.exp
508 * gdb.cp/parse-lang.exp
509 * gdb.cp/pass-by-ref.exp
520 * gdb.cp/printmethod.exp
522 * gdb.cp/psymtab-parameter.exp
523 * gdb.cp/ptype-cv-cp.exp
524 * gdb.cp/ptype-flags.exp
525 * gdb.cp/re-set-overloaded.exp
526 * gdb.cp/ref-types.exp
528 * gdb.cp/scope-err.exp
531 * gdb.cp/static-method.exp
532 * gdb.cp/static-print-quit.exp
534 * gdb.cp/templates.exp
535 * gdb.cp/try_catch.exp
536 * gdb.cp/typedef-operator.exp
539 * gdb.cp/using-crash.exp
541 * gdb.cp/virtbase.exp
542 * gdb.cp/virtfunc.exp
543 * gdb.cp/virtfunc2.exp
545 * gdb.disasm/t01_mov.exp
546 * gdb.disasm/t02_mova.exp
547 * gdb.disasm/t03_add.exp
548 * gdb.disasm/t04_sub.exp
549 * gdb.disasm/t05_cmp.exp
550 * gdb.disasm/t06_ari2.exp
551 * gdb.disasm/t07_ari3.exp
552 * gdb.disasm/t08_or.exp
553 * gdb.disasm/t09_xor.exp
554 * gdb.disasm/t10_and.exp
555 * gdb.disasm/t11_logs.exp
556 * gdb.disasm/t12_bit.exp
557 * gdb.disasm/t13_otr.exp
558 * gdb.dlang/circular.exp
559 * gdb.dwarf2/arr-stride.exp
560 * gdb.dwarf2/arr-subrange.exp
561 * gdb.dwarf2/atomic-type.exp
562 * gdb.dwarf2/bad-regnum.exp
563 * gdb.dwarf2/bitfield-parent-optimized-out.exp
564 * gdb.dwarf2/callframecfa.exp
565 * gdb.dwarf2/clztest.exp
566 * gdb.dwarf2/corrupt.exp
567 * gdb.dwarf2/data-loc.exp
568 * gdb.dwarf2/dup-psym.exp
569 * gdb.dwarf2/dw2-anon-mptr.exp
570 * gdb.dwarf2/dw2-anonymous-func.exp
571 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
572 * gdb.dwarf2/dw2-bad-unresolved.exp
573 * gdb.dwarf2/dw2-basic.exp
574 * gdb.dwarf2/dw2-canonicalize-type.exp
575 * gdb.dwarf2/dw2-case-insensitive.exp
576 * gdb.dwarf2/dw2-common-block.exp
577 * gdb.dwarf2/dw2-compdir-oldgcc.exp
578 * gdb.dwarf2/dw2-compressed.exp
579 * gdb.dwarf2/dw2-const.exp
580 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
581 * gdb.dwarf2/dw2-cu-size.exp
582 * gdb.dwarf2/dw2-dup-frame.exp
583 * gdb.dwarf2/dw2-entry-value.exp
584 * gdb.dwarf2/dw2-icycle.exp
585 * gdb.dwarf2/dw2-ifort-parameter.exp
586 * gdb.dwarf2/dw2-inline-break.exp
587 * gdb.dwarf2/dw2-inline-param.exp
588 * gdb.dwarf2/dw2-intercu.exp
589 * gdb.dwarf2/dw2-intermix.exp
590 * gdb.dwarf2/dw2-lexical-block-bare.exp
591 * gdb.dwarf2/dw2-linkage-name-trust.exp
592 * gdb.dwarf2/dw2-minsym-in-cu.exp
593 * gdb.dwarf2/dw2-noloc.exp
594 * gdb.dwarf2/dw2-op-call.exp
595 * gdb.dwarf2/dw2-op-out-param.exp
596 * gdb.dwarf2/dw2-opt-structptr.exp
597 * gdb.dwarf2/dw2-param-error.exp
598 * gdb.dwarf2/dw2-producer.exp
599 * gdb.dwarf2/dw2-ranges-base.exp
600 * gdb.dwarf2/dw2-ref-missing-frame.exp
601 * gdb.dwarf2/dw2-reg-undefined.exp
602 * gdb.dwarf2/dw2-regno-invalid.exp
603 * gdb.dwarf2/dw2-restore.exp
604 * gdb.dwarf2/dw2-restrict.exp
605 * gdb.dwarf2/dw2-single-line-discriminators.exp
606 * gdb.dwarf2/dw2-strp.exp
607 * gdb.dwarf2/dw2-undefined-ret-addr.exp
608 * gdb.dwarf2/dw2-unresolved.exp
609 * gdb.dwarf2/dw2-var-zero-addr.exp
610 * gdb.dwarf2/dw4-sig-types.exp
612 * gdb.dwarf2/dynarr-ptr.exp
613 * gdb.dwarf2/enum-type.exp
614 * gdb.dwarf2/gdb-index.exp
615 * gdb.dwarf2/implptr-64bit.exp
616 * gdb.dwarf2/implptr-optimized-out.exp
617 * gdb.dwarf2/implptr.exp
618 * gdb.dwarf2/implref-array.exp
619 * gdb.dwarf2/implref-const.exp
620 * gdb.dwarf2/implref-global.exp
621 * gdb.dwarf2/implref-struct.exp
622 * gdb.dwarf2/mac-fileno.exp
623 * gdb.dwarf2/main-subprogram.exp
624 * gdb.dwarf2/member-ptr-forwardref.exp
625 * gdb.dwarf2/method-ptr.exp
626 * gdb.dwarf2/missing-sig-type.exp
627 * gdb.dwarf2/nonvar-access.exp
628 * gdb.dwarf2/opaque-type-lookup.exp
629 * gdb.dwarf2/pieces-optimized-out.exp
630 * gdb.dwarf2/pieces.exp
631 * gdb.dwarf2/pr10770.exp
632 * gdb.dwarf2/pr13961.exp
633 * gdb.dwarf2/staticvirtual.exp
634 * gdb.dwarf2/subrange.exp
635 * gdb.dwarf2/symtab-producer.exp
636 * gdb.dwarf2/trace-crash.exp
637 * gdb.dwarf2/typeddwarf.exp
638 * gdb.dwarf2/valop.exp
639 * gdb.dwarf2/watch-notconst.exp
640 * gdb.fortran/array-element.exp
641 * gdb.fortran/charset.exp
642 * gdb.fortran/common-block.exp
643 * gdb.fortran/complex.exp
644 * gdb.fortran/derived-type-function.exp
645 * gdb.fortran/derived-type.exp
646 * gdb.fortran/logical.exp
647 * gdb.fortran/module.exp
648 * gdb.fortran/multi-dim.exp
649 * gdb.fortran/nested-funcs.exp
650 * gdb.fortran/print-formatted.exp
651 * gdb.fortran/subarray.exp
652 * gdb.fortran/vla-alloc-assoc.exp
653 * gdb.fortran/vla-datatypes.exp
654 * gdb.fortran/vla-history.exp
655 * gdb.fortran/vla-ptr-info.exp
656 * gdb.fortran/vla-ptype-sub.exp
657 * gdb.fortran/vla-ptype.exp
658 * gdb.fortran/vla-sizeof.exp
659 * gdb.fortran/vla-type.exp
660 * gdb.fortran/vla-value-sub-arbitrary.exp
661 * gdb.fortran/vla-value-sub-finish.exp
662 * gdb.fortran/vla-value-sub.exp
663 * gdb.fortran/vla-value.exp
664 * gdb.fortran/whatis_type.exp
666 * gdb.go/handcall.exp
668 * gdb.go/integers.exp
674 * gdb.guile/scm-arch.exp
675 * gdb.guile/scm-block.exp
676 * gdb.guile/scm-breakpoint.exp
677 * gdb.guile/scm-cmd.exp
678 * gdb.guile/scm-disasm.exp
679 * gdb.guile/scm-equal.exp
680 * gdb.guile/scm-frame-args.exp
681 * gdb.guile/scm-frame-inline.exp
682 * gdb.guile/scm-frame.exp
683 * gdb.guile/scm-iterator.exp
684 * gdb.guile/scm-math.exp
685 * gdb.guile/scm-objfile.exp
686 * gdb.guile/scm-ports.exp
687 * gdb.guile/scm-symbol.exp
688 * gdb.guile/scm-symtab.exp
689 * gdb.guile/scm-value-cc.exp
690 * gdb.guile/types-module.exp
691 * gdb.linespec/break-ask.exp
692 * gdb.linespec/cpexplicit.exp
693 * gdb.linespec/explicit.exp
694 * gdb.linespec/keywords.exp
695 * gdb.linespec/linespec.exp
696 * gdb.linespec/ls-dollar.exp
697 * gdb.linespec/ls-errs.exp
698 * gdb.linespec/skip-two.exp
699 * gdb.linespec/thread.exp
700 * gdb.mi/mi-async.exp
701 * gdb.mi/mi-basics.exp
702 * gdb.mi/mi-break.exp
703 * gdb.mi/mi-catch-load.exp
705 * gdb.mi/mi-cmd-param-changed.exp
706 * gdb.mi/mi-console.exp
707 * gdb.mi/mi-detach.exp
708 * gdb.mi/mi-disassemble.exp
710 * gdb.mi/mi-file-transfer.exp
712 * gdb.mi/mi-fill-memory.exp
713 * gdb.mi/mi-inheritance-syntax-error.exp
714 * gdb.mi/mi-linespec-err-cp.exp
715 * gdb.mi/mi-logging.exp
716 * gdb.mi/mi-memory-changed.exp
717 * gdb.mi/mi-read-memory.exp
718 * gdb.mi/mi-record-changed.exp
719 * gdb.mi/mi-reg-undefined.exp
721 * gdb.mi/mi-return.exp
722 * gdb.mi/mi-reverse.exp
723 * gdb.mi/mi-simplerun.exp
724 * gdb.mi/mi-solib.exp
725 * gdb.mi/mi-stack.exp
726 * gdb.mi/mi-stepi.exp
727 * gdb.mi/mi-syn-frame.exp
728 * gdb.mi/mi-until.exp
729 * gdb.mi/mi-var-block.exp
730 * gdb.mi/mi-var-child.exp
731 * gdb.mi/mi-var-cmd.exp
732 * gdb.mi/mi-var-cp.exp
733 * gdb.mi/mi-var-display.exp
734 * gdb.mi/mi-var-invalidate.exp
735 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
736 * gdb.mi/mi-vla-fortran.exp
737 * gdb.mi/mi-watch.exp
738 * gdb.mi/mi2-var-child.exp
739 * gdb.mi/user-selected-context-sync.exp
740 * gdb.modula2/unbounded-array.exp
741 * gdb.multi/dummy-frame-restore.exp
742 * gdb.multi/multi-arch-exec.exp
743 * gdb.multi/multi-arch.exp
745 * gdb.multi/watchpoint-multi.exp
746 * gdb.opencl/callfuncs.exp
747 * gdb.opencl/convs_casts.exp
748 * gdb.opencl/datatypes.exp
749 * gdb.opencl/operators.exp
750 * gdb.opencl/vec_comps.exp
751 * gdb.opt/clobbered-registers-O2.exp
752 * gdb.opt/inline-break.exp
753 * gdb.opt/inline-bt.exp
754 * gdb.opt/inline-cmds.exp
755 * gdb.opt/inline-locals.exp
756 * gdb.pascal/case-insensitive-symbols.exp
757 * gdb.pascal/floats.exp
758 * gdb.pascal/gdb11492.exp
759 * gdb.python/lib-types.exp
760 * gdb.python/py-arch.exp
761 * gdb.python/py-as-string.exp
762 * gdb.python/py-bad-printers.exp
763 * gdb.python/py-block.exp
764 * gdb.python/py-breakpoint-create-fail.exp
765 * gdb.python/py-breakpoint.exp
766 * gdb.python/py-caller-is.exp
767 * gdb.python/py-cmd.exp
768 * gdb.python/py-explore-cc.exp
769 * gdb.python/py-explore.exp
770 * gdb.python/py-finish-breakpoint.exp
771 * gdb.python/py-finish-breakpoint2.exp
772 * gdb.python/py-frame-args.exp
773 * gdb.python/py-frame-inline.exp
774 * gdb.python/py-frame.exp
775 * gdb.python/py-framefilter-mi.exp
776 * gdb.python/py-infthread.exp
777 * gdb.python/py-lazy-string.exp
778 * gdb.python/py-linetable.exp
779 * gdb.python/py-mi-events.exp
780 * gdb.python/py-mi-objfile.exp
781 * gdb.python/py-mi.exp
782 * gdb.python/py-objfile.exp
783 * gdb.python/py-pp-integral.exp
784 * gdb.python/py-pp-maint.exp
785 * gdb.python/py-pp-re-notag.exp
786 * gdb.python/py-pp-registration.exp
787 * gdb.python/py-recurse-unwind.exp
788 * gdb.python/py-strfns.exp
789 * gdb.python/py-symbol.exp
790 * gdb.python/py-symtab.exp
791 * gdb.python/py-sync-interp.exp
792 * gdb.python/py-typeprint.exp
793 * gdb.python/py-unwind-maint.exp
794 * gdb.python/py-unwind.exp
795 * gdb.python/py-value-cc.exp
796 * gdb.python/py-xmethods.exp
797 * gdb.reverse/amd64-tailcall-reverse.exp
798 * gdb.reverse/break-precsave.exp
799 * gdb.reverse/break-reverse.exp
800 * gdb.reverse/consecutive-precsave.exp
801 * gdb.reverse/consecutive-reverse.exp
802 * gdb.reverse/finish-precsave.exp
803 * gdb.reverse/finish-reverse-bkpt.exp
804 * gdb.reverse/finish-reverse.exp
805 * gdb.reverse/fstatat-reverse.exp
806 * gdb.reverse/getresuid-reverse.exp
807 * gdb.reverse/i386-precsave.exp
808 * gdb.reverse/i386-reverse.exp
809 * gdb.reverse/i386-sse-reverse.exp
810 * gdb.reverse/i387-env-reverse.exp
811 * gdb.reverse/i387-stack-reverse.exp
812 * gdb.reverse/insn-reverse.exp
813 * gdb.reverse/machinestate-precsave.exp
814 * gdb.reverse/machinestate.exp
815 * gdb.reverse/next-reverse-bkpt-over-sr.exp
816 * gdb.reverse/pipe-reverse.exp
817 * gdb.reverse/readv-reverse.exp
818 * gdb.reverse/recvmsg-reverse.exp
819 * gdb.reverse/rerun-prec.exp
820 * gdb.reverse/s390-mvcle.exp
821 * gdb.reverse/step-precsave.exp
822 * gdb.reverse/step-reverse.exp
823 * gdb.reverse/time-reverse.exp
824 * gdb.reverse/until-precsave.exp
825 * gdb.reverse/until-reverse.exp
826 * gdb.reverse/waitpid-reverse.exp
827 * gdb.reverse/watch-precsave.exp
828 * gdb.reverse/watch-reverse.exp
829 * gdb.rust/generics.exp
830 * gdb.rust/methods.exp
831 * gdb.rust/modules.exp
832 * gdb.rust/simple.exp
833 * gdb.server/connect-with-no-symbol-file.exp
834 * gdb.server/ext-attach.exp
835 * gdb.server/ext-restart.exp
836 * gdb.server/ext-wrapper.exp
837 * gdb.server/file-transfer.exp
838 * gdb.server/server-exec-info.exp
839 * gdb.server/server-kill.exp
840 * gdb.server/server-mon.exp
841 * gdb.server/wrapper.exp
842 * gdb.stabs/exclfwd.exp
843 * gdb.stabs/gdb11479.exp
844 * gdb.threads/clone-new-thread-event.exp
845 * gdb.threads/corethreads.exp
846 * gdb.threads/current-lwp-dead.exp
847 * gdb.threads/dlopen-libpthread.exp
848 * gdb.threads/gcore-thread.exp
849 * gdb.threads/sigstep-threads.exp
850 * gdb.threads/watchpoint-fork.exp
851 * gdb.trace/actions-changed.exp
852 * gdb.trace/backtrace.exp
853 * gdb.trace/change-loc.exp
855 * gdb.trace/collection.exp
856 * gdb.trace/disconnected-tracing.exp
857 * gdb.trace/ftrace.exp
858 * gdb.trace/mi-trace-frame-collected.exp
859 * gdb.trace/mi-trace-unavailable.exp
860 * gdb.trace/mi-traceframe-changed.exp
861 * gdb.trace/mi-tsv-changed.exp
862 * gdb.trace/no-attach-trace.exp
863 * gdb.trace/passc-dyn.exp
865 * gdb.trace/range-stepping.exp
866 * gdb.trace/read-memory.exp
867 * gdb.trace/save-trace.exp
868 * gdb.trace/signal.exp
869 * gdb.trace/status-stop.exp
870 * gdb.trace/tfile.exp
871 * gdb.trace/trace-break.exp
872 * gdb.trace/trace-buffer-size.exp
873 * gdb.trace/trace-condition.exp
874 * gdb.trace/tracefile-pseudo-reg.exp
875 * gdb.trace/tstatus.exp
876 * gdb.trace/unavailable.exp
877 * gdb.trace/while-dyn.exp
878 * gdb.trace/while-stepping.exp
880 2016-12-22 Doug Evans <xdje42@gmail.com>
882 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
885 2016-12-19 Yao Qi <yao.qi@linaro.org>
887 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
888 (test_with_self): Don't call do_steps_and_nexts, and remove
889 code about stepping into xmalloc.
891 2016-12-09 Yao Qi <yao.qi@linaro.org>
893 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
895 2016-12-09 Yao Qi <yao.qi@linaro.org>
897 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
899 2016-12-09 Pedro Alves <palves@redhat.com>
901 * gdb.base/all-architectures-0.exp: New file.
902 * gdb.base/all-architectures-1.exp: New file.
903 * gdb.base/all-architectures-2.exp: New file.
904 * gdb.base/all-architectures-3.exp: New file.
905 * gdb.base/all-architectures-4.exp: New file.
906 * gdb.base/all-architectures-5.exp: New file.
907 * gdb.base/all-architectures-6.exp: New file.
908 * gdb.base/all-architectures-7.exp: New file.
909 * gdb.base/all-architectures.exp.in: New file.
911 2016-12-09 Yao Qi <yao.qi@linaro.org>
913 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
915 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
917 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
919 Remove useless pattern-matching code.
921 2016-12-02 Pedro Alves <palves@redhat.com>
923 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
925 (top level): Call it.
927 2016-12-02 Pedro Alves <palves@redhat.com>
929 * gdb.base/commands.exp (user_defined_command_args_stack_test):
931 (top level): Call it.
933 2016-12-02 Pedro Alves <palves@redhat.com>
936 * gdb.base/commands.exp (user_defined_command_args_eval): New
938 (top level): Call it.
940 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
942 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
945 2016-12-02 Tom Tromey <tom@tromey.com>
947 * gdb.dwarf2/main-subprogram.c: New file.
948 * gdb.dwarf2/main-subprogram.exp: New file.
950 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
952 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
953 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
954 gdb_test_no_output for a couple of cases.
955 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
957 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
959 Fix test names and standardize compilation error messages throughout
963 * gdb.arch/alpha-step.exp
964 * gdb.arch/e500-prologue.exp
965 * gdb.arch/ftrace-insn-reloc.exp
966 * gdb.arch/gdb1291.exp
967 * gdb.arch/gdb1431.exp
968 * gdb.arch/gdb1558.exp
969 * gdb.arch/i386-dr3-watch.exp
970 * gdb.arch/i386-sse-stack-align.exp
971 * gdb.arch/ia64-breakpoint-shadow.exp
972 * gdb.arch/pa-nullify.exp
973 * gdb.arch/powerpc-aix-prologue.exp
974 * gdb.arch/thumb-bx-pc.exp
975 * gdb.base/annota1.exp
976 * gdb.base/annota3.exp
977 * gdb.base/arrayidx.exp
978 * gdb.base/assign.exp
979 * gdb.base/attach.exp
982 * gdb.base/bfp-test.exp
983 * gdb.base/bigcore.exp
984 * gdb.base/bitfields2.exp
985 * gdb.base/break-fun-addr.exp
986 * gdb.base/break-probes.exp
987 * gdb.base/call-rt-st.exp
988 * gdb.base/callexit.exp
989 * gdb.base/catch-fork-kill.exp
990 * gdb.base/charset.exp
991 * gdb.base/checkpoint.exp
992 * gdb.base/comprdebug.exp
993 * gdb.base/constvars.exp
994 * gdb.base/coredump-filter.exp
995 * gdb.base/cursal.exp
996 * gdb.base/cvexpr.exp
997 * gdb.base/detach.exp
998 * gdb.base/display.exp
1000 * gdb.base/dprintf-pending.exp
1001 * gdb.base/dso2dso.exp
1002 * gdb.base/dtrace-probe.exp
1004 * gdb.base/enum_cond.exp
1005 * gdb.base/exe-lock.exp
1006 * gdb.base/exec-invalid-sysroot.exp
1007 * gdb.base/execl-update-breakpoints.exp
1008 * gdb.base/exprs.exp
1009 * gdb.base/fileio.exp
1011 * gdb.base/finish.exp
1012 * gdb.base/fixsection.exp
1013 * gdb.base/foll-vfork.exp
1014 * gdb.base/frame-args.exp
1015 * gdb.base/gcore.exp
1016 * gdb.base/gdb1250.exp
1017 * gdb.base/global-var-nested-by-dso.exp
1018 * gdb.base/gnu-ifunc.exp
1019 * gdb.base/hashline1.exp
1020 * gdb.base/hashline2.exp
1021 * gdb.base/hashline3.exp
1022 * gdb.base/hbreak-in-shr-unsupported.exp
1024 * gdb.base/infcall-input.exp
1025 * gdb.base/info-fun.exp
1026 * gdb.base/info-shared.exp
1027 * gdb.base/jit-simple.exp
1028 * gdb.base/jit-so.exp
1031 * gdb.base/label.exp
1032 * gdb.base/lineinc.exp
1033 * gdb.base/logical.exp
1034 * gdb.base/longjmp.exp
1035 * gdb.base/macscp.exp
1036 * gdb.base/miscexprs.exp
1037 * gdb.base/new-ui-echo.exp
1038 * gdb.base/new-ui-pending-input.exp
1039 * gdb.base/new-ui.exp
1040 * gdb.base/nodebug.exp
1041 * gdb.base/nofield.exp
1042 * gdb.base/offsets.exp
1043 * gdb.base/overlays.exp
1044 * gdb.base/pending.exp
1045 * gdb.base/pointers.exp
1046 * gdb.base/pr11022.exp
1047 * gdb.base/printcmds.exp
1048 * gdb.base/prologue.exp
1049 * gdb.base/ptr-typedef.exp
1050 * gdb.base/realname-expand.exp
1051 * gdb.base/relativedebug.exp
1052 * gdb.base/relocate.exp
1053 * gdb.base/remote.exp
1054 * gdb.base/reread.exp
1055 * gdb.base/return2.exp
1056 * gdb.base/savedregs.exp
1058 * gdb.base/sepdebug.exp
1059 * gdb.base/sepsymtab.exp
1060 * gdb.base/set-inferior-tty.exp
1061 * gdb.base/setshow.exp
1062 * gdb.base/shlib-call.exp
1063 * gdb.base/sigaltstack.exp
1064 * gdb.base/siginfo-addr.exp
1065 * gdb.base/signals.exp
1066 * gdb.base/signull.exp
1067 * gdb.base/sigrepeat.exp
1068 * gdb.base/so-impl-ld.exp
1069 * gdb.base/solib-display.exp
1070 * gdb.base/solib-overlap.exp
1071 * gdb.base/solib-search.exp
1072 * gdb.base/solib-symbol.exp
1073 * gdb.base/structs.exp
1074 * gdb.base/structs2.exp
1075 * gdb.base/symtab-search-order.exp
1076 * gdb.base/twice.exp
1077 * gdb.base/unload.exp
1078 * gdb.base/varargs.exp
1079 * gdb.base/watchpoint-solib.exp
1080 * gdb.base/watchpoint.exp
1081 * gdb.base/whatis.exp
1082 * gdb.base/wrong_frame_bt_full.exp
1083 * gdb.btrace/dlopen.exp
1084 * gdb.cell/ea-standalone.exp
1085 * gdb.cell/ea-test.exp
1086 * gdb.cp/dispcxx.exp
1087 * gdb.cp/gdb2384.exp
1088 * gdb.cp/method2.exp
1089 * gdb.cp/nextoverthrow.exp
1090 * gdb.cp/pr10728.exp
1091 * gdb.disasm/am33.exp
1092 * gdb.disasm/h8300s.exp
1093 * gdb.disasm/mn10300.exp
1094 * gdb.disasm/sh3.exp
1095 * gdb.dwarf2/dw2-dir-file-name.exp
1096 * gdb.fortran/complex.exp
1097 * gdb.fortran/library-module.exp
1098 * gdb.guile/scm-pretty-print.exp
1099 * gdb.guile/scm-symbol.exp
1100 * gdb.guile/scm-type.exp
1101 * gdb.guile/scm-value.exp
1102 * gdb.linespec/linespec.exp
1105 * gdb.mi/mi-breakpoint-changed.exp
1106 * gdb.mi/mi-dprintf-pending.exp
1107 * gdb.mi/mi-dprintf.exp
1108 * gdb.mi/mi-exit-code.exp
1109 * gdb.mi/mi-pending.exp
1110 * gdb.mi/mi-solib.exp
1111 * gdb.mi/new-ui-mi-sync.exp
1112 * gdb.mi/pr11022.exp
1113 * gdb.mi/user-selected-context-sync.exp
1114 * gdb.opt/solib-intra-step.exp
1115 * gdb.python/py-events.exp
1116 * gdb.python/py-finish-breakpoint.exp
1117 * gdb.python/py-mi.exp
1118 * gdb.python/py-prettyprint.exp
1119 * gdb.python/py-shared.exp
1120 * gdb.python/py-symbol.exp
1121 * gdb.python/py-template.exp
1122 * gdb.python/py-type.exp
1123 * gdb.python/py-value.exp
1124 * gdb.reverse/solib-precsave.exp
1125 * gdb.reverse/solib-reverse.exp
1126 * gdb.server/solib-list.exp
1127 * gdb.stabs/weird.exp
1128 * gdb.threads/reconnect-signal.exp
1129 * gdb.threads/stepi-random-signal.exp
1130 * gdb.trace/actions.exp
1132 * gdb.trace/backtrace.exp
1133 * gdb.trace/change-loc.exp
1134 * gdb.trace/deltrace.exp
1135 * gdb.trace/ftrace-lock.exp
1136 * gdb.trace/ftrace.exp
1137 * gdb.trace/infotrace.exp
1138 * gdb.trace/mi-tracepoint-changed.exp
1139 * gdb.trace/packetlen.exp
1140 * gdb.trace/passcount.exp
1141 * gdb.trace/pending.exp
1142 * gdb.trace/range-stepping.exp
1143 * gdb.trace/report.exp
1144 * gdb.trace/stap-trace.exp
1145 * gdb.trace/tfind.exp
1146 * gdb.trace/trace-break.exp
1147 * gdb.trace/trace-condition.exp
1148 * gdb.trace/trace-enable-disable.exp
1149 * gdb.trace/trace-mt.exp
1150 * gdb.trace/tracecmd.exp
1151 * gdb.trace/tspeed.exp
1155 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1157 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1158 with gdb_test_no_output.
1159 Use command as test name.
1161 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1163 Fix test names starting with uppercase throughout the files.
1165 * gdb.ada/assign_1.exp
1166 * gdb.ada/boolean_expr.exp
1167 * gdb.base/arrayidx.exp
1169 * gdb.base/gcore-buffer-overflow.exp
1170 * gdb.base/testenv.exp
1171 * gdb.compile/compile.exp
1172 * gdb.python/py-framefilter-invalidarg.exp
1173 * gdb.python/py-framefilter.exp
1175 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1177 Fix test names starting with uppercase throughout the files.
1179 * gdb.ada/array_return.exp
1180 * gdb.ada/expr_delims.exp
1181 * gdb.ada/mi_dyn_arr.exp
1182 * gdb.ada/mi_interface.exp
1183 * gdb.ada/mi_var_array.exp
1184 * gdb.ada/watch_arg.exp
1185 * gdb.arch/alpha-step.exp
1186 * gdb.arch/altivec-regs.exp
1187 * gdb.arch/e500-regs.exp
1188 * gdb.arch/powerpc-d128-regs.exp
1189 * gdb.base/arrayidx.exp
1190 * gdb.base/break.exp
1191 * gdb.base/checkpoint.exp
1192 * gdb.base/debug-expr.exp
1193 * gdb.base/dmsym.exp
1194 * gdb.base/radix.exp
1195 * gdb.base/sepdebug.exp
1196 * gdb.base/testenv.exp
1197 * gdb.base/watch_thread_num.exp
1198 * gdb.base/watchpoint-cond-gone.exp
1199 * gdb.cell/break.exp
1200 * gdb.cell/ea-cache.exp
1201 * gdb.compile/compile.exp
1202 * gdb.cp/gdb2495.exp
1203 * gdb.gdb/selftest.exp
1204 * gdb.gdb/xfullpath.exp
1206 * gdb.go/integers.exp
1207 * gdb.objc/basicclass.exp
1208 * gdb.pascal/hello.exp
1209 * gdb.pascal/integers.exp
1210 * gdb.python/py-breakpoint.exp
1211 * gdb.python/py-cmd.exp
1212 * gdb.python/py-linetable.exp
1213 * gdb.python/py-xmethods.exp
1214 * gdb.python/python.exp
1215 * gdb.reverse/consecutive-precsave.exp
1216 * gdb.reverse/finish-precsave.exp
1217 * gdb.reverse/i386-precsave.exp
1218 * gdb.reverse/machinestate-precsave.exp
1219 * gdb.reverse/sigall-precsave.exp
1220 * gdb.reverse/solib-precsave.exp
1221 * gdb.reverse/step-precsave.exp
1222 * gdb.reverse/until-precsave.exp
1223 * gdb.reverse/watch-precsave.exp
1224 * gdb.threads/leader-exit.exp
1225 * gdb.threads/pthreads.exp
1226 * gdb.threads/wp-replication.exp
1227 * gdb.trace/actions.exp
1228 * gdb.trace/mi-tsv-changed.exp
1231 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1233 Fix test names starting with uppercase throughout the files.
1235 * gdb.arch/i386-bp_permanent.exp
1236 * gdb.arch/i386-gnu-cfi.exp
1237 * gdb.base/disasm-end-cu.exp
1238 * gdb.base/macscp.exp
1239 * gdb.base/pending.exp
1240 * gdb.base/watch_thread_num.exp
1241 * gdb.cp/exception.exp
1242 * gdb.cp/gdb2495.exp
1244 * gdb.python/py-evsignal.exp
1245 * gdb.python/python.exp
1246 * gdb.trace/tracecmd.exp
1248 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1250 Fix test names starting with uppercase throughout the files.
1252 * gdb.base/charset.exp
1254 * gdb.base/multi-forks.exp
1255 * gdb.guile/scm-progspace.exp
1256 * gdb.opencl/datatypes.exp
1257 * gdb.python/py-block.exp
1258 * gdb.python/py-function.exp
1259 * gdb.python/py-symbol.exp
1260 * gdb.python/py-symtab.exp
1261 * gdb.python/py-xmethods.exp
1262 * gdb.reverse/break-precsave.exp
1263 * gdb.reverse/break-reverse.exp
1264 * gdb.reverse/consecutive-precsave.exp
1265 * gdb.reverse/consecutive-reverse.exp
1266 * gdb.reverse/finish-precsave.exp
1267 * gdb.reverse/finish-reverse-bkpt.exp
1268 * gdb.reverse/finish-reverse.exp
1269 * gdb.reverse/fstatat-reverse.exp
1270 * gdb.reverse/getresuid-reverse.exp
1271 * gdb.reverse/i386-precsave.exp
1272 * gdb.reverse/i386-reverse.exp
1273 * gdb.reverse/i386-sse-reverse.exp
1274 * gdb.reverse/i387-stack-reverse.exp
1275 * gdb.reverse/insn-reverse.exp
1276 * gdb.reverse/machinestate-precsave.exp
1277 * gdb.reverse/machinestate.exp
1278 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1279 * gdb.reverse/pipe-reverse.exp
1280 * gdb.reverse/readv-reverse.exp
1281 * gdb.reverse/recvmsg-reverse.exp
1282 * gdb.reverse/rerun-prec.exp
1283 * gdb.reverse/s390-mvcle.exp
1284 * gdb.reverse/sigall-precsave.exp
1285 * gdb.reverse/sigall-reverse.exp
1286 * gdb.reverse/solib-precsave.exp
1287 * gdb.reverse/solib-reverse.exp
1288 * gdb.reverse/step-precsave.exp
1289 * gdb.reverse/step-reverse.exp
1290 * gdb.reverse/time-reverse.exp
1291 * gdb.reverse/until-precsave.exp
1292 * gdb.reverse/until-reverse.exp
1293 * gdb.reverse/waitpid-reverse.exp
1294 * gdb.reverse/watch-precsave.exp
1295 * gdb.reverse/watch-reverse.exp
1297 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1299 Fix test names starting with uppercase throughout the files.
1301 * gdb.arch/i386-mpx-simple_segv.exp
1302 * gdb.arch/i386-mpx.exp
1303 * gdb.arch/i386-permbkpt.exp
1304 * gdb.arch/pa-nullify.exp
1305 * gdb.arch/powerpc-d128-regs.exp
1306 * gdb.arch/vsx-regs.exp
1307 * gdb.base/bfp-test.exp
1308 * gdb.base/break.exp
1309 * gdb.base/breakpoint-shadow.exp
1310 * gdb.base/callfuncs.exp
1311 * gdb.base/charset.exp
1312 * gdb.base/commands.exp
1313 * gdb.base/completion.exp
1314 * gdb.base/dfp-test.exp
1316 * gdb.base/ending-run.exp
1318 * gdb.base/expand-psymtabs.exp
1319 * gdb.base/float128.exp
1320 * gdb.base/floatn.exp
1321 * gdb.base/foll-exec-mode.exp
1322 * gdb.base/gdb1056.exp
1323 * gdb.base/gdb11531.exp
1324 * gdb.base/kill-after-signal.exp
1325 * gdb.base/multi-forks.exp
1326 * gdb.base/overlays.exp
1327 * gdb.base/pending.exp
1328 * gdb.base/sepdebug.exp
1329 * gdb.base/testenv.exp
1330 * gdb.base/valgrind-db-attach.exp
1331 * gdb.base/watch_thread_num.exp
1332 * gdb.base/watchpoint-cond-gone.exp
1333 * gdb.base/watchpoint.exp
1334 * gdb.base/watchpoints.exp
1335 * gdb.cp/arg-reference.exp
1336 * gdb.cp/baseenum.exp
1337 * gdb.cp/operator.exp
1339 * gdb.dwarf2/dw2-op-out-param.exp
1340 * gdb.dwarf2/dw2-reg-undefined.exp
1343 * gdb.go/integers.exp
1344 * gdb.go/methods.exp
1345 * gdb.go/package.exp
1346 * gdb.guile/scm-parameter.exp
1347 * gdb.guile/scm-progspace.exp
1348 * gdb.guile/scm-value.exp
1349 * gdb.mi/mi-pending.exp
1350 * gdb.mi/user-selected-context-sync.exp
1351 * gdb.multi/multi-attach.exp
1352 * gdb.multi/tids.exp
1353 * gdb.opt/clobbered-registers-O2.exp
1354 * gdb.pascal/floats.exp
1355 * gdb.pascal/integers.exp
1356 * gdb.python/py-block.exp
1357 * gdb.python/py-events.exp
1358 * gdb.python/py-parameter.exp
1359 * gdb.python/py-symbol.exp
1360 * gdb.python/py-symtab.exp
1361 * gdb.python/py-type.exp
1362 * gdb.python/py-value.exp
1363 * gdb.python/py-xmethods.exp
1364 * gdb.python/python.exp
1365 * gdb.reverse/break-precsave.exp
1366 * gdb.reverse/consecutive-precsave.exp
1367 * gdb.reverse/finish-precsave.exp
1368 * gdb.reverse/i386-precsave.exp
1369 * gdb.reverse/machinestate-precsave.exp
1370 * gdb.reverse/sigall-precsave.exp
1371 * gdb.reverse/solib-precsave.exp
1372 * gdb.reverse/step-precsave.exp
1373 * gdb.reverse/until-precsave.exp
1374 * gdb.reverse/watch-precsave.exp
1375 * gdb.server/ext-attach.exp
1376 * gdb.server/ext-restart.exp
1377 * gdb.server/ext-run.exp
1378 * gdb.server/ext-wrapper.exp
1379 * gdb.stabs/gdb11479.exp
1380 * gdb.stabs/weird.exp
1381 * gdb.threads/attach-many-short-lived-threads.exp
1382 * gdb.threads/kill.exp
1383 * gdb.threads/watchpoint-fork.exp
1385 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1387 Fix test names starting with uppercase throughout all the files below.
1389 * gdb.ada/array_return.exp
1390 * gdb.ada/catch_ex.exp
1391 * gdb.ada/info_exc.exp
1392 * gdb.ada/mi_catch_ex.exp
1393 * gdb.ada/mi_dyn_arr.exp
1394 * gdb.ada/mi_ex_cond.exp
1395 * gdb.ada/mi_exc_info.exp
1396 * gdb.ada/mi_interface.exp
1397 * gdb.ada/mi_task_arg.exp
1398 * gdb.ada/mi_task_info.exp
1399 * gdb.ada/mi_var_array.exp
1400 * gdb.arch/alpha-step.exp
1401 * gdb.arch/amd64-disp-step.exp
1402 * gdb.arch/arm-disp-step.exp
1403 * gdb.arch/disp-step-insn-reloc.exp
1404 * gdb.arch/e500-prologue.exp
1405 * gdb.arch/ftrace-insn-reloc.exp
1406 * gdb.arch/gdb1558.exp
1407 * gdb.arch/i386-bp_permanent.exp
1408 * gdb.arch/i386-disp-step.exp
1409 * gdb.arch/i386-float.exp
1410 * gdb.arch/i386-gnu-cfi.exp
1411 * gdb.arch/ia64-breakpoint-shadow.exp
1412 * gdb.arch/mips16-thunks.exp
1413 * gdb.arch/pa-nullify.exp
1414 * gdb.arch/powerpc-aix-prologue.exp
1415 * gdb.arch/powerpc-power.exp
1416 * gdb.arch/ppc-dfp.exp
1417 * gdb.arch/s390-tdbregs.exp
1418 * gdb.arch/spu-info.exp
1419 * gdb.arch/spu-ls.exp
1420 * gdb.arch/thumb-bx-pc.exp
1421 * gdb.base/advance.exp
1422 * gdb.base/annota-input-while-running.exp
1423 * gdb.base/arrayidx.exp
1424 * gdb.base/asmlabel.exp
1425 * gdb.base/async.exp
1426 * gdb.base/attach-wait-input.exp
1427 * gdb.base/auto-connect-native-target.exp
1428 * gdb.base/batch-preserve-term-settings.exp
1429 * gdb.base/bfp-test.exp
1430 * gdb.base/bigcore.exp
1431 * gdb.base/bp-permanent.exp
1432 * gdb.base/break-always.exp
1433 * gdb.base/break-fun-addr.exp
1434 * gdb.base/break-idempotent.exp
1435 * gdb.base/break-main-file-remove-fail.exp
1436 * gdb.base/break-probes.exp
1437 * gdb.base/break-unload-file.exp
1438 * gdb.base/break.exp
1439 * gdb.base/call-ar-st.exp
1440 * gdb.base/call-rt-st.exp
1441 * gdb.base/call-sc.exp
1442 * gdb.base/call-signal-resume.exp
1443 * gdb.base/call-strs.exp
1444 * gdb.base/callexit.exp
1445 * gdb.base/callfuncs.exp
1446 * gdb.base/catch-gdb-caused-signals.exp
1447 * gdb.base/catch-signal-siginfo-cond.exp
1448 * gdb.base/catch-syscall.exp
1449 * gdb.base/compare-sections.exp
1450 * gdb.base/cond-eval-mode.exp
1451 * gdb.base/condbreak-call-false.exp
1452 * gdb.base/consecutive-step-over.exp
1453 * gdb.base/cursal.exp
1454 * gdb.base/disabled-location.exp
1455 * gdb.base/disasm-end-cu.exp
1456 * gdb.base/display.exp
1457 * gdb.base/double-prompt-target-event-error.exp
1458 * gdb.base/dprintf-bp-same-addr.exp
1459 * gdb.base/dprintf-detach.exp
1460 * gdb.base/dprintf-next.exp
1461 * gdb.base/dprintf-non-stop.exp
1462 * gdb.base/dprintf-pending.exp
1463 * gdb.base/dso2dso.exp
1464 * gdb.base/ending-run.exp
1465 * gdb.base/enum_cond.exp
1466 * gdb.base/examine-backward.exp
1467 * gdb.base/exe-lock.exp
1468 * gdb.base/exec-invalid-sysroot.exp
1469 * gdb.base/execl-update-breakpoints.exp
1470 * gdb.base/execution-termios.exp
1471 * gdb.base/fileio.exp
1472 * gdb.base/fixsection.exp
1473 * gdb.base/foll-exec-mode.exp
1474 * gdb.base/foll-exec.exp
1475 * gdb.base/fork-running-state.exp
1476 * gdb.base/frame-args.exp
1477 * gdb.base/fullpath-expand.exp
1478 * gdb.base/func-ptr.exp
1479 * gdb.base/gcore-relro-pie.exp
1480 * gdb.base/gdb1090.exp
1481 * gdb.base/gdb1555.exp
1482 * gdb.base/global-var-nested-by-dso.exp
1483 * gdb.base/gnu-ifunc.exp
1484 * gdb.base/hbreak-in-shr-unsupported.exp
1485 * gdb.base/hbreak-unmapped.exp
1486 * gdb.base/hook-stop.exp
1487 * gdb.base/infcall-input.exp
1488 * gdb.base/info-fun.exp
1489 * gdb.base/info-shared.exp
1490 * gdb.base/interrupt-noterm.exp
1491 * gdb.base/jit-so.exp
1493 * gdb.base/line-symtabs.exp
1495 * gdb.base/longjmp.exp
1496 * gdb.base/macscp.exp
1497 * gdb.base/max-value-size.exp
1498 * gdb.base/nodebug.exp
1499 * gdb.base/nofield.exp
1500 * gdb.base/overlays.exp
1501 * gdb.base/paginate-after-ctrl-c-running.exp
1502 * gdb.base/paginate-bg-execution.exp
1503 * gdb.base/paginate-inferior-exit.exp
1504 * gdb.base/pending.exp
1505 * gdb.base/pr11022.exp
1506 * gdb.base/printcmds.exp
1507 * gdb.base/ptr-typedef.exp
1508 * gdb.base/ptype.exp
1509 * gdb.base/randomize.exp
1510 * gdb.base/range-stepping.exp
1511 * gdb.base/realname-expand.exp
1512 * gdb.base/relativedebug.exp
1513 * gdb.base/remote.exp
1514 * gdb.base/savedregs.exp
1515 * gdb.base/sepdebug.exp
1516 * gdb.base/set-noassign.exp
1517 * gdb.base/shlib-call.exp
1518 * gdb.base/shreloc.exp
1519 * gdb.base/sigaltstack.exp
1520 * gdb.base/sigbpt.exp
1521 * gdb.base/siginfo-addr.exp
1522 * gdb.base/siginfo-obj.exp
1523 * gdb.base/siginfo-thread.exp
1524 * gdb.base/signest.exp
1525 * gdb.base/signull.exp
1526 * gdb.base/sigrepeat.exp
1528 * gdb.base/so-impl-ld.exp
1529 * gdb.base/solib-corrupted.exp
1530 * gdb.base/solib-disc.exp
1531 * gdb.base/solib-display.exp
1532 * gdb.base/solib-overlap.exp
1533 * gdb.base/solib-search.exp
1534 * gdb.base/solib-symbol.exp
1535 * gdb.base/source-execution.exp
1536 * gdb.base/sss-bp-on-user-bp-2.exp
1537 * gdb.base/sss-bp-on-user-bp.exp
1538 * gdb.base/stack-checking.exp
1539 * gdb.base/stale-infcall.exp
1540 * gdb.base/step-break.exp
1541 * gdb.base/step-line.exp
1542 * gdb.base/step-over-exit.exp
1543 * gdb.base/step-test.exp
1544 * gdb.base/structs.exp
1545 * gdb.base/sym-file.exp
1546 * gdb.base/symtab-search-order.exp
1548 * gdb.base/type-opaque.exp
1549 * gdb.base/unload.exp
1550 * gdb.base/until-nodebug.exp
1551 * gdb.base/until.exp
1552 * gdb.base/unwindonsignal.exp
1553 * gdb.base/watch-cond.exp
1554 * gdb.base/watch-non-mem.exp
1555 * gdb.base/watch_thread_num.exp
1556 * gdb.base/watchpoint-reuse-slot.exp
1557 * gdb.base/watchpoint-solib.exp
1558 * gdb.base/watchpoint.exp
1559 * gdb.btrace/dlopen.exp
1561 * gdb.cell/break.exp
1565 * gdb.cell/dwarfaddr.exp
1566 * gdb.cell/ea-cache.exp
1567 * gdb.cell/ea-standalone.exp
1568 * gdb.cell/ea-test.exp
1569 * gdb.cell/f-regs.exp
1571 * gdb.cell/gcore.exp
1572 * gdb.cell/mem-access.exp
1573 * gdb.cell/ptype.exp
1574 * gdb.cell/registers.exp
1575 * gdb.cell/sizeof.exp
1576 * gdb.cell/solib-symbol.exp
1577 * gdb.cell/solib.exp
1578 * gdb.compile/compile-tls.exp
1579 * gdb.cp/exception.exp
1580 * gdb.cp/gdb2495.exp
1582 * gdb.cp/mb-inline.exp
1583 * gdb.cp/mb-templates.exp
1584 * gdb.cp/pr10687.exp
1586 * gdb.cp/scope-err.exp
1587 * gdb.cp/templates.exp
1588 * gdb.cp/virtfunc.exp
1589 * gdb.dwarf2/dw2-dir-file-name.exp
1590 * gdb.dwarf2/dw2-single-line-discriminators.exp
1591 * gdb.fortran/complex.exp
1592 * gdb.fortran/library-module.exp
1593 * gdb.guile/guile.exp
1594 * gdb.guile/scm-cmd.exp
1595 * gdb.guile/scm-frame-inline.exp
1596 * gdb.guile/scm-objfile.exp
1597 * gdb.guile/scm-pretty-print.exp
1598 * gdb.guile/scm-symbol.exp
1599 * gdb.guile/scm-type.exp
1600 * gdb.guile/scm-value.exp
1601 * gdb.linespec/keywords.exp
1602 * gdb.linespec/ls-errs.exp
1603 * gdb.linespec/macro-relative.exp
1604 * gdb.linespec/thread.exp
1605 * gdb.mi/mi-breakpoint-changed.exp
1606 * gdb.mi/mi-dprintf-pending.exp
1607 * gdb.mi/mi-fullname-deleted.exp
1608 * gdb.mi/mi-logging.exp
1609 * gdb.mi/mi-pending.exp
1610 * gdb.mi/mi-solib.exp
1611 * gdb.mi/new-ui-mi-sync.exp
1612 * gdb.mi/user-selected-context-sync.exp
1613 * gdb.multi/dummy-frame-restore.exp
1614 * gdb.multi/multi-arch-exec.exp
1615 * gdb.multi/remove-inferiors.exp
1616 * gdb.multi/watchpoint-multi-exit.exp
1617 * gdb.opt/solib-intra-step.exp
1618 * gdb.perf/backtrace.exp
1619 * gdb.perf/single-step.exp
1620 * gdb.perf/skip-command.exp
1621 * gdb.perf/skip-prologue.exp
1622 * gdb.perf/solib.exp
1623 * gdb.python/lib-types.exp
1624 * gdb.python/py-as-string.exp
1625 * gdb.python/py-bad-printers.exp
1626 * gdb.python/py-block.exp
1627 * gdb.python/py-breakpoint.exp
1628 * gdb.python/py-cmd.exp
1629 * gdb.python/py-events.exp
1630 * gdb.python/py-evthreads.exp
1631 * gdb.python/py-finish-breakpoint.exp
1632 * gdb.python/py-finish-breakpoint2.exp
1633 * gdb.python/py-frame-inline.exp
1634 * gdb.python/py-frame.exp
1635 * gdb.python/py-inferior.exp
1636 * gdb.python/py-infthread.exp
1637 * gdb.python/py-mi.exp
1638 * gdb.python/py-objfile.exp
1639 * gdb.python/py-pp-maint.exp
1640 * gdb.python/py-pp-registration.exp
1641 * gdb.python/py-prettyprint.exp
1642 * gdb.python/py-recurse-unwind.exp
1643 * gdb.python/py-shared.exp
1644 * gdb.python/py-symbol.exp
1645 * gdb.python/py-symtab.exp
1646 * gdb.python/py-template.exp
1647 * gdb.python/py-type.exp
1648 * gdb.python/py-unwind-maint.exp
1649 * gdb.python/py-unwind.exp
1650 * gdb.python/py-value.exp
1651 * gdb.python/python.exp
1652 * gdb.reverse/finish-reverse-bkpt.exp
1653 * gdb.reverse/insn-reverse.exp
1654 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1655 * gdb.reverse/solib-precsave.exp
1656 * gdb.reverse/solib-reverse.exp
1657 * gdb.stabs/gdb11479.exp
1658 * gdb.stabs/weird.exp
1659 * gdb.threads/fork-child-threads.exp
1660 * gdb.threads/fork-plus-threads.exp
1661 * gdb.threads/fork-thread-pending.exp
1662 * gdb.threads/forking-threads-plus-breakpoint.exp
1663 * gdb.threads/hand-call-in-threads.exp
1664 * gdb.threads/interrupted-hand-call.exp
1665 * gdb.threads/linux-dp.exp
1666 * gdb.threads/local-watch-wrong-thread.exp
1667 * gdb.threads/next-while-other-thread-longjmps.exp
1668 * gdb.threads/non-ldr-exit.exp
1669 * gdb.threads/pending-step.exp
1670 * gdb.threads/print-threads.exp
1671 * gdb.threads/process-dies-while-detaching.exp
1672 * gdb.threads/process-dies-while-handling-bp.exp
1673 * gdb.threads/pthreads.exp
1674 * gdb.threads/queue-signal.exp
1675 * gdb.threads/reconnect-signal.exp
1676 * gdb.threads/signal-command-handle-nopass.exp
1677 * gdb.threads/signal-command-multiple-signals-pending.exp
1678 * gdb.threads/signal-delivered-right-thread.exp
1679 * gdb.threads/signal-sigtrap.exp
1680 * gdb.threads/sigthread.exp
1681 * gdb.threads/staticthreads.exp
1682 * gdb.threads/stepi-random-signal.exp
1683 * gdb.threads/thread-unwindonsignal.exp
1684 * gdb.threads/thread_check.exp
1685 * gdb.threads/thread_events.exp
1686 * gdb.threads/tid-reuse.exp
1687 * gdb.threads/tls-nodebug.exp
1688 * gdb.threads/tls-shared.exp
1689 * gdb.threads/tls-so_extern.exp
1690 * gdb.threads/tls.exp
1691 * gdb.threads/wp-replication.exp
1692 * gdb.trace/actions-changed.exp
1693 * gdb.trace/actions.exp
1694 * gdb.trace/backtrace.exp
1695 * gdb.trace/change-loc.exp
1696 * gdb.trace/collection.exp
1697 * gdb.trace/deltrace.exp
1698 * gdb.trace/disconnected-tracing.exp
1699 * gdb.trace/entry-values.exp
1700 * gdb.trace/ftrace-lock.exp
1701 * gdb.trace/ftrace.exp
1702 * gdb.trace/infotrace.exp
1703 * gdb.trace/mi-trace-frame-collected.exp
1704 * gdb.trace/mi-trace-unavailable.exp
1705 * gdb.trace/mi-traceframe-changed.exp
1706 * gdb.trace/mi-tracepoint-changed.exp
1707 * gdb.trace/mi-tsv-changed.exp
1708 * gdb.trace/no-attach-trace.exp
1709 * gdb.trace/packetlen.exp
1710 * gdb.trace/passc-dyn.exp
1711 * gdb.trace/passcount.exp
1712 * gdb.trace/pending.exp
1713 * gdb.trace/pr16508.exp
1714 * gdb.trace/qtro.exp
1715 * gdb.trace/range-stepping.exp
1716 * gdb.trace/read-memory.exp
1717 * gdb.trace/report.exp
1718 * gdb.trace/save-trace.exp
1719 * gdb.trace/signal.exp
1720 * gdb.trace/stap-trace.exp
1721 * gdb.trace/status-stop.exp
1722 * gdb.trace/strace.exp
1723 * gdb.trace/tfile.exp
1724 * gdb.trace/tfind.exp
1725 * gdb.trace/trace-break.exp
1726 * gdb.trace/trace-condition.exp
1727 * gdb.trace/trace-enable-disable.exp
1728 * gdb.trace/trace-mt.exp
1729 * gdb.trace/tracecmd.exp
1730 * gdb.trace/tracefile-pseudo-reg.exp
1731 * gdb.trace/tspeed.exp
1732 * gdb.trace/tstatus.exp
1734 * gdb.trace/unavailable.exp
1735 * gdb.trace/while-dyn.exp
1736 * gdb.trace/while-stepping.exp
1739 * lib/mi-support.exp
1742 * lib/prelink-support.exp
1743 * lib/selftest-support.exp
1745 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1747 * Makefile.in: Include disable-implicit-rules.mk.
1749 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1751 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1752 non-byte-aligned bit fields.
1754 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1757 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1758 respects the DW_AT_data_bit_offset attribute.
1760 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1762 * gdb.base/default.exp: Fix output of "set language".
1764 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1766 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1767 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1769 * configure.ac: Remove checks for the make program.
1770 * configure: Re-generate.
1772 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1774 * gdb.python/py-recurse-unwind.c (main): Add loop.
1775 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1776 to read_register() and gdb.parse_and_eval(). Make each code
1777 call a separate case that can be individually tested.
1778 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1779 proc. Call cont_and_backtrace for each of the code paths that
1780 we want to test in the unwinder.
1782 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1784 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1785 the definition of struct S.
1787 2016-11-11 Catherine Moore <clm@codesourcery.com>
1789 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1791 2016-11-09 Pedro Alves <palves@redhat.com>
1793 * gdb.base/commands.exp (runto_or_return): New procedure.
1794 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1795 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1796 (progvar_simple_while_test, progvar_complex_if_while_test)
1797 (if_while_breakpoint_command_test)
1798 (infrun_breakpoint_command_test, breakpoint_command_test)
1799 (user_defined_command_test, watchpoint_command_test)
1800 (test_command_prompt_position, redefine_hook_test)
1801 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1802 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1803 multi_line_input and multi_line. Remove gdb_expect and
1804 gdb_stop_suppressing_tests uses.
1805 * lib/gdb.exp (valnum_re): New global.
1806 (multi_line_input): New procedure.
1808 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1810 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1812 (test_setup): Define with proc_with_prefix.
1813 (test_cli_inferior): Likewise.
1814 (test_cli_thread): Likewise.
1815 (test_cli_frame): Likewise.
1816 (test_cli_select_frame): Likewise.
1817 (test_cli_up_down): Likewise.
1818 (test_mi_thread_select): Likewise.
1819 (test_mi_stack_select_frame): Likewise.
1820 (test_cli_in_mi_inferior): Likewise.
1821 (test_cli_in_mi_thread): Likewise.
1822 (test_cli_in_mi_frame): Likewise.
1823 (top level): Do not use with_test_prefix_procname.
1825 2016-11-09 Pedro Alves <palves@redhat.com>
1827 * gdb.base/commands.exp (gdbvar_simple_if_test)
1828 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1829 (progvar_simple_if_test, progvar_simple_while_test)
1830 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1831 (infrun_breakpoint_command_test, breakpoint_command_test)
1832 (user_defined_command_test, watchpoint_command_test)
1833 (test_command_prompt_position, deprecated_command_test)
1834 (bp_deleted_in_command, temporary_breakpoint_commands)
1835 (stray_arg0_test, source_file_with_indented_comment)
1836 (recursive_source_test, if_commands_test)
1837 (error_clears_commands_left, redefine_hook_test)
1838 (redefine_backtrace_test): Use proc_with_prefix.
1839 * lib/gdb.exp (proc_with_prefix): New proc.
1841 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1843 * gdb.base/tui-layout.c: New file.
1844 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1845 disassembly window contains very long lines.
1847 2016-11-08 Tom Tromey <tom@tromey.com>
1849 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1852 2016-11-08 Tom Tromey <tom@tromey.com>
1854 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1857 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1859 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1861 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1863 * gdb.rust/simple.rs: Add test for univariant enums without
1864 discriminants and for encoded struct-like enums.
1866 2016-10-28 Pedro Alves <palves@redhat.com>
1868 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1869 gdb_test_multiple, tighten regexps and match symtabs and line
1870 tables incrementally.
1872 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
1874 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
1877 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
1879 * gdb.base/exec-invalid-sysroot.exp: New file.
1881 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1883 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
1885 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1887 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
1889 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
1891 * gdb.base/killed-outside.exp: Remove $options from a call to
1892 `prepare_for_testing'.
1894 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1896 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1897 Change test message.
1899 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1901 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1904 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1906 * gdb.trace/mi-trace-save.exp: New file.
1908 2016-10-13 Yao Qi <yao.qi@linaro.org>
1910 * gdb.base/code_elim.exp (get_var_address): Remove.
1911 * gdb.base/relocate.exp: Likewise.
1912 * gdb.base/shreloc.exp: Likewise.
1913 * lib/gdb.exp (get_var_address): New.
1915 2016-10-13 Yao Qi <yao.qi@linaro.org>
1917 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
1918 floating point tests if $skip_float_test is false.
1920 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
1922 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
1923 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
1925 Add 1 to argc so we guarantee distinct initial/modified argc values.
1927 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1929 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
1931 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1933 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1934 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1935 * gdb.arch/vsx-regs.exp: Likewise.
1937 2016-10-07 Yao Qi <yao.qi@linaro.org>
1939 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1941 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1943 * gdb.python/python.exp: Test decode_line("*0").
1945 2016-10-06 Doug Evans <dje@google.com>
1947 * gdb.python/py-value.exp (test_value_creation): Add test for large
1948 unsigned 64-bit value.
1950 2016-10-06 Tom Tromey <tom@tromey.com>
1952 * gdb.compile/compile.exp: Change java tests to rust.
1953 * gdb.base/setshow.exp: Change java tests to rust.
1954 * gdb.base/default.exp: Remove java from language list.
1955 * README (Examples): Update language example.
1956 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1958 * lib/gdb.exp (skip_java_tests): Remove.
1959 * lib/java.exp: Remove.
1962 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1964 * gdb.arch/mips-fcr.exp: New test.
1965 * gdb.arch/mips-fcr.c: Source for the new test.
1967 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1969 * gdb.base/solib-disc.exp: Use `standard_output_file'
1972 2016-10-06 Pedro Alves <palves@redhat.com>
1974 * gdb.base/jit-simple-dl.c: New file.
1975 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1976 * gdb.base/jit-simple.c: ... this.
1977 * gdb.base/jit-simple.exp (jit_run): Delete.
1978 (build_jit): New proc.
1979 (jit_test_reread): Recompile either the main program or the shared
1980 library, depending on what is being tested. Skip changing address
1981 if caller wants to. Compare before/after addresses. If testing
1982 standalone, explicitly load the binary. Test "maint info
1984 (top level): Add "standalone vs shared lib" and "change address"
1985 vs "same address" axes.
1987 2016-10-06 Pedro Alves <palves@redhat.com>
1989 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1992 (jit_test_reread): Use with_test_prefix. Reload the main binary
1993 explicitly. Compare the before/after addresses of the JIT
1996 2016-08-15 Doug Evans <dje@google.com>
1998 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1999 for single bitfields is bool.
2000 * gdb.xml/tdesc-regs.exp: Ditto.
2002 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2004 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2006 2016-10-05 Yao Qi <yao.qi@linaro.org>
2008 * lib/gdb.exp (support_complex_tests): Return zero if
2009 gdb_skip_float_test return true.
2011 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2012 Simon Marchi <simon.marchi@ericsson.com>
2015 * gdb.mi/user-selected-context-sync.exp: New file.
2016 * gdb.mi/user-selected-context-sync.c: New file.
2018 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2019 Simon Marchi <simon.marchi@ericsson.com>
2022 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2023 =thread-select-event check.
2025 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2027 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2028 the compulsory L operand changes.
2029 * gdb.arch/powerpc-power.s: Likewise.
2031 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2033 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2034 * gdb.base/jit-attach-pie.c: New file.
2035 * gdb.base/jit-attach-pie.exp: New file.
2037 2016-09-28 Pedro Alves <palves@redhat.com>
2039 * gdb.base/infcall-input.c: New file.
2040 * gdb.base/infcall-input.exp: New file.
2042 2016-09-22 Yao Qi <yao.qi@linaro.org>
2044 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2045 (gdb_exit): Rename it to ...
2046 (gdbserver_gdb_exit): ... Close GDBserver.
2047 (gdb_exit): New proc, call gdbserver_gdb_exit.
2048 (mi_gdb_exit): Likewise.
2050 2016-09-22 Yao Qi <yao.qi@linaro.org>
2052 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2054 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2057 2016-09-22 Yao Qi <yao.qi@linaro.org>
2059 * lib/gdbserver-support.exp: Check the existence of
2060 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2062 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2064 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2066 2016-09-21 Tom Tromey <tom@tromey.com>
2069 * gdb.base/quit.exp: New file.
2071 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2073 * .gitignore: New file.
2075 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2077 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2080 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2082 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2084 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2086 * gdb.cp/casts.cc (decltype): Move it ...
2087 (main): ... with its call to ...
2088 * gdb.cp/casts03.cc: ... a new file.
2089 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2091 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2093 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2095 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2097 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2098 and sync up the test with tests in gas/testsuite/gas/ppc.
2099 * gdb.arch/powerpc-power.exp: Likewise.
2101 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2103 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2105 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2106 Jan Kratochvil <jan.kratochvil@redhat.com>
2108 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2109 make m1's definition to be different from m2's. Use 'dummy' as an
2110 argument for probe 'two'.
2112 2016-09-10 Jon Beniston <jon@beniston.com>
2114 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2117 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2119 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2120 variable declaration.
2121 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2122 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2123 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2124 received HWCAP as its argument.
2126 2016-09-06 Pedro Alves <palves@redhat.com>
2128 * gdb.base/new-ui-pending-input.c: New file.
2129 * gdb.base/new-ui-pending-input.exp: New file.
2130 * gdb.exp (clear_gdb_spawn_id): New procedure.
2131 (with_spawn_id): Check whether gdb_spawn_id exists before
2132 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2135 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2137 * gdb.base/float128.c: New file.
2138 * gdb.base/float128.exp: Likewise.
2139 * gdb.base/floatn.c: Likewise.
2140 * gdb.base/floatn.exp: Likewise.
2142 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2144 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2146 2016-09-05 Pedro Alves <palves@redhat.com>
2149 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2150 unwinders are immediately called as side effect of "source" or
2151 "disable unwinder" commands.
2152 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2154 2016-09-02 Yao Qi <yao.qi@linaro.org>
2156 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2157 is true and $type is "float" or "double".
2159 2016-09-02 Yao Qi <yao.qi@linaro.org>
2161 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2163 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2164 * gdb.base/call-rt-st.exp: Likewise.
2165 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2166 return value instead of gdb,skip_float_test.
2167 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2168 (do_function_calls): Use its return value instead of
2169 gdb,skip_float_test.
2170 * gdb.base/finish.exp: Likewise.
2171 * gdb.base/funcargs.exp: Likewise.
2172 * gdb.base/return.exp: Likewise.
2173 * gdb.base/return2.exp: Likewise.
2174 * gdb.base/varargs.exp: Likewise.
2175 * lib/gdb.exp (gdb_skip_float_test): Change it to
2176 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2178 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2180 * gdb.multi/tids.exp: Test "thread apply all".
2182 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2184 * gdb.base/default.exp (tty): Remove.
2186 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2188 * gdb.python/py-recurse-unwind.c: New file.
2189 * gdb.python/py-recurse-unwind.py: New file.
2190 * gdb.python/py-recurse-unwind.exp: New file.
2192 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2194 * gdb.base/set-inferior-tty.exp: New file.
2195 * gdb.base/set-inferior-tty.c: New file.
2197 2016-08-23 Pedro Alves <palves@redhat.com>
2200 * gdb.base/new-ui-echo.c: New file.
2201 * gdb.base/new-ui-echo.exp: New file.
2203 2016-08-23 Yao Qi <yao.qi@linaro.org>
2205 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2207 * gdb.server/connect-without-multi-process.exp (do_test):
2210 2016-08-23 Yao Qi <yao.qi@linaro.org>
2212 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2213 standalone_txt. Delete gdb_txt and standalone_txt on host
2214 and target. Spawn the binary on target. Copy files from
2217 2016-08-22 Pedro Alves <palves@redhat.com>
2220 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2221 with_test_prefix. Factor out bits to ...
2222 (test_no_vdso): ... this new procedure.
2224 2016-08-19 Carl Love <cel@us.ibm.com>
2226 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2227 maintaining separate logic for constructing the output path.
2228 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2229 * gdb.arch/ppc-dfp.exp: Likewise.
2230 * gdb.arch/ppc-fp.exp: Likewise.
2231 * gdb.arch/vsx-regs.exp: Likewise.
2232 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2233 binprefix for generating the additional binary files.
2235 2016-08-19 Pedro Alves <palves@redhat.com>
2237 * gdb.trace/mi-trace-frame-collected.exp
2238 (test_trace_frame_collected): On x32, expect two registers.
2240 2016-08-18 Carl Love <cel@us.ibm.com>
2242 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2243 and sync up the test with tests in gas/testsuite/gas/ppc.
2244 * gdb.arch/powerpc-power.exp: Likewise.
2246 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2248 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2249 expected error message.
2251 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2253 * gdb.multi/remove-inferiors.exp: New file.
2254 * gdb.multi/remove-inferiors.c: New file.
2256 2016-08-12 Yao Qi <yao.qi@linaro.org>
2258 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2261 2016-08-10 Pedro Alves <palves@redhat.com>
2264 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2267 2016-08-09 Pedro Alves <palves@redhat.com>
2268 Simon Marchi <simon.marchi@ericsson.com>
2271 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2272 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2274 2016-08-09 Pedro Alves <palves@redhat.com>
2277 * gdb.mi/mi-cmd-error.exp: New file.
2279 2016-08-09 Pedro Alves <palves@redhat.com>
2282 * gdb.base/signals-state-child.c: New file.
2283 * gdb.base/signals-state-child.exp: New file.
2284 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2286 2016-08-09 Pedro Alves <palves@redhat.com>
2288 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2290 2016-08-03 Tom Tromey <tom@tromey.com>
2293 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2295 2016-08-01 Yao Qi <yao.qi@linaro.org>
2297 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2298 variable mode to "multi-process" if $multi_process is 1, otherwise
2299 set it to "single-process".
2301 2016-08-01 Yao Qi <yao.qi@linaro.org>
2303 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2304 * gdb.cp/cpexprs.exp: Likewise.
2305 * gdb.cp/m-static.exp: Likewise.
2307 2016-07-26 Tom Tromey <tom@tromey.com>
2310 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2313 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2315 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2316 selecting assembly source files.
2317 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2318 assembly source files.
2319 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2320 assembly source files.
2321 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2322 selecting assembly source files.
2324 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2326 * gdb.base/new-ui.exp (do_test_invalid_args): New
2329 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2331 * gdb.btrace/reconnect.c: New file.
2332 * gdb.btrace/reconnect.exp: New file.
2334 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2336 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2337 to test_catch_syscall_group.
2338 (test_catch_syscall_group): New.
2340 2016-07-21 Tom Tromey <tom@tromey.com>
2342 * gdb.rust/simple.rs (main): Use empty struct expression.
2343 * gdb.rust/simple.exp: Add tests for empty struct expression.
2345 2016-07-21 Yao Qi <yao.qi@linaro.org>
2347 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2348 if gdb_skip_xml_test is true on some targets.
2350 2016-07-21 Yao Qi <yao.qi@linaro.org>
2352 * gdb.server/solib-list.exp: Unset last_loaded_file.
2354 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2356 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2357 "step into captured_main (args)".
2359 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2361 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2363 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2365 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2367 2016-07-19 Pedro Alves <palves@redhat.com>
2369 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2370 * gdb.opt/inline-bt.exp: Likewise.
2371 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2372 additional_flags=-Winline.
2373 * gdb.opt/inline-locals.exp: Likewise.
2374 * gdb.opt/inline-markers.c (ATTR): Define.
2375 (inlined_fn): Use it.
2377 2016-07-19 Yao Qi <yao.qi@linaro.org>
2379 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2380 (test_with_self): Remove some code. Remove argument executable.
2381 (top-level): Use do_self_tests.
2383 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2384 Don Breazeal <donb@codesourcery.com>
2386 * gdb.base/maint.exp: Escape paths used in regular expressions.
2387 * gdb.stabs/weird.exp: Likewise.
2389 2016-07-13 Tom Tromey <tom@tromey.com>
2391 PR python/15620, PR python/18620:
2392 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2393 (test_bkpt_events): New procs.
2395 2016-07-13 Tom Tromey <tom@tromey.com>
2398 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2400 (test_watchpoints): Likewise.
2401 (test_bkpt_pending): New proc.
2403 2016-07-13 Tom Tromey <tom@tromey.com>
2406 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2409 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2411 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2412 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2413 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2415 (g): Rename g_end_lbl to g_label.
2416 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2418 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2420 2016-07-12 Tom Tromey <tom@tromey.com>
2423 * gdb.python/py-unwind-maint.exp: Update tests.
2425 2016-07-12 Yao Qi <yao.qi@linaro.org>
2427 * lib/selftest-support.exp (selftest_setup): Match the output
2428 when captured_main is inlined.
2430 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2432 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2434 (print this%a, print this%b, print this): New tests.
2435 * gdb.fortran/derived-types.f90 (this): New object and
2438 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2440 * gdb.ada/arraydim.exp: Remove extra directory level in build
2443 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2445 * lib/ada.exp: Remove extra directory level in build directory.
2446 * gdb.ada/cond_lang.exp: Likewise.
2447 * gdb.ada/exec_changed.exp: Likewise.
2448 * gdb.ada/lang_switch.exp: Likewise.
2450 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2452 * simple.rs: Add test for raw pointer subscripting.
2453 * simple.exp: Add test expectations.
2455 2016-07-05 Yao Qi <yao.qi@linaro.org>
2457 * gdb.mi/mi-reverse.exp: Match =record-started output.
2459 2016-07-01 Pedro Alves <palves@redhat.com>
2461 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2463 (jit_reader_test): Test the jit reader's unwinder.
2464 * gdb.base/jithost.c (jit_function_00_code): New global.
2465 (main): Use memcpy to fill in the mmapped code, instead of poking
2466 bytes manually here.
2467 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2469 (read_debug_info): Save the function's range.
2470 (read_sp): New function.
2471 (unwind_frame): Use it. Also unwind RBP.
2472 (get_frame_id): Use read_sp.
2473 (gdb_init_reader): Use calloc instead of malloc.
2474 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2475 parameter. Use gdb_test_multiple.
2477 2016-07-01 Pedro Alves <palves@redhat.com>
2478 Antoine Tremblay <antoine.tremblay@ericsson.com>
2480 * gdb.threads/process-dies-while-detaching.c: New file.
2481 * gdb.threads/process-dies-while-detaching.exp: New file.
2483 2016-07-01 Pedro Alves <palves@redhat.com>
2485 * gdb.multi/watchpoint-multi-exit.c: New file.
2486 * gdb.multi/watchpoint-multi-exit.exp: New file.
2488 2016-06-30 Pedro Alves <palves@redhat.com>
2490 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2491 unset inferior_spawn_id.
2493 2016-06-30 Pedro Alves <palves@redhat.com>
2495 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2496 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2498 2016-06-29 Yao Qi <yao.qi@linaro.org>
2500 * gdb.base/return.c: Add copyright header.
2502 2016-06-29 Tom Tromey <tom@tromey.com>
2505 * gdb.python/py-framefilter.exp: Add tests for setting priority
2506 and disabling of non-existent frame filter.
2508 2016-06-29 Yao Qi <yao.qi@linaro.org>
2510 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2513 2016-06-28 Yao Qi <yao.qi@linaro.org>
2515 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2516 triplets. Start gdb, execute catch syscall, and continue. Check
2517 gdb's output to determine catch syscall is supported.
2519 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2521 * gdb.rust/simple.rs: Add test for returning unit in a function.
2522 * gdb.rust/simple.exp: Add expectation for functions returning
2525 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2527 * gdb.python/py-breakpoint-create-fail.c,
2528 gdb.python/py-breakpoint-create-fail.exp,
2529 gdb.python/py-breakpoint-create-fail.py: New testcase.
2531 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2534 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2535 * gdb.rust/simple.exp: Add test expectations for new NonZero
2538 2016-06-24 David Taylor <dtaylor@emc.com>
2540 * gdb.base/offsets.exp: New file.
2541 * gdb.base/offsets.c: New file.
2543 2016-06-23 Tom Tromey <tom@tromey.com>
2546 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2547 before any filters are loaded.
2549 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2551 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2552 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2554 * gdb.fortran/derived-type-function.exp: New file.
2555 * gdb.fortran/derived-type-function.f90: New file.
2558 2016-06-21 Pedro Alves <palves@redhat.com>
2560 * gdb.base/new-ui.exp: New file.
2561 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2562 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2563 (with_spawn_id): New procedure.
2565 2016-06-21 Pedro Alves <palves@redhat.com>
2567 * gdb.mi/mi-exec-run.exp: New file.
2569 2016-06-21 Pedro Alves <palves@redhat.com>
2571 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2572 breakpoint command's output on the main UI.
2573 (test_break): New procedure, factored out from calls in the top
2575 (top level): Use foreach_with_prefix to test MI as main UI and as
2578 2016-06-21 Pedro Alves <palves@redhat.com>
2580 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2581 (test_awatch_creation_and_listing)
2582 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2583 Remove 'type' parameter.
2584 (test_watchpoint_all): New parameter mi_mode. Remove
2586 (top level): Use foreach_with_prefix, and add main/separate UI MI
2589 2016-06-21 Pedro Alves <palves@redhat.com>
2591 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2592 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2593 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2594 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2595 (gdb_main_spawn_id, mi_spawn_id): Declare and
2597 (mi_create_inferior_pty): New procedure,
2598 factored out from default_mi_gdb_start.
2599 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2601 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2602 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2603 Use mi_create_inferior_pty.
2604 (mi_gdb_start): Use eval to pass down args list.
2606 2016-06-21 Pedro Alves <palves@redhat.com>
2608 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2609 * gdb.opt/inline-cmds.exp: Add MI tests.
2611 2016-06-21 Pedro Alves <palves@redhat.com>
2613 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2615 2016-06-21 Pedro Alves <palves@redhat.com>
2617 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2618 (top level): Use it instead of mi_execute_to.
2620 2016-06-21 Pedro Alves <palves@redhat.com>
2622 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2623 (cont_handler_str): New.
2624 (signal_stop_handler): Set stop_handler_str instead of printing to
2626 (continue_handler): Set cont_handler_str instead of printing to
2628 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2629 mi_send_resuming_command. Print stop_handler_str and
2630 cont_handler_str instead of expecting the python events print
2633 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2635 * gdb.base/jit-reader.exp: New file.
2636 * gdb.base/jithost.c: New file.
2637 * gdb.base/jithost.h: New file.
2638 * gdb.base/jitreader.c : New file.
2639 * gdb.base/jit-protocol.h: New file.
2641 2016-06-17 Yao Qi <yao.qi@linaro.org>
2643 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2644 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2645 and detach-on-fork. Adjust tests.
2646 (top level): Invoke break_cond_on_syscall with combinations of
2647 syscall, follow-fork-mode and detach-on-fork.
2649 2016-06-17 Yao Qi <yao.qi@linaro.org>
2651 * gdb.base/step-over-exit.c: New.
2652 * gdb.base/step-over-exit.exp: New.
2654 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2656 * gdb.base/float.exp: Add target check for nds32*-*-*.
2657 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2659 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2661 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2662 for unsupported target features.
2663 * gdb.base/call-rt-st.exp: Likewise.
2664 * gdb.base/call-sc.exp: Likewise.
2665 * gdb.base/call-signal-resume.exp: Likewise.
2666 * gdb.base/call-strs.exp: Likewise.
2667 * gdb.base/callexit.exp: Likewise.
2668 * gdb.base/callfuncs.exp: Likewise.
2669 * gdb.base/nodebug.exp: Likewise.
2670 * gdb.base/printcmds.exp: Likewise.
2671 * gdb.base/ptype.exp: Likewise.
2672 * gdb.base/structs.exp: Likewise.
2673 * gdb.base/unwindonsignal.exp: Likewise.
2674 * gdb.cp/gdb2495.exp: Likewise.
2675 * gdb.cp/templates.exp: Likewise.
2676 * gdb.cp/virtfunc.exp: Likewise.
2677 * gdb.threads/hand-call-in-threads.exp: Likewise.
2678 * gdb.threads/interrupted-hand-call.exp: Likewise.
2679 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2681 2016-06-10 Tom Tromey <tom@tromey.com>
2684 * gdb.rust/expr.exp: Add test for integer constant larger than
2687 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2689 * gdb.fortran/nested-funcs.exp: New.
2690 * gdb.fortran/nested-funcs.f90: New.
2692 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2694 * gdb.base/examine-backward.c: New file.
2695 * gdb.base/examine-backward.exp: New file.
2697 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2699 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2702 2016-06-02 Tom Tromey <tom@tromey.com>
2705 * gdb.python/py-shared.exp: Add solib_name test.
2707 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2709 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2711 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2714 * gdb.dwarf2/implref.exp: Rename to...
2715 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2716 * gdb.dwarf2/implref-array.c: New file.
2717 * gdb.dwarf2/implref-array.exp: Likewise.
2718 * gdb.dwarf2/implref-global.c: Likewise.
2719 * gdb.dwarf2/implref-global.exp: Likewise.
2720 * gdb.dwarf2/implref-struct.c: Likewise.
2721 * gdb.dwarf2/implref-struct.exp: Likewise.
2723 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2725 * gdb.trace/trace-condition.exp: Add 64bit tests.
2727 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2729 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2731 (main): Adapt to 8 to 64 bits types.
2732 * gdb.trace/trace-condition.exp: Add new tests.
2734 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2736 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2738 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2740 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2741 Move condition tests...
2742 * gdb.trace/trace-condition.exp: Here.
2744 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2746 * gdb.trace/trace-condition.exp: Add counter-case tests.
2748 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2751 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2752 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2754 2016-05-27 Pedro Alves <palves@redhat.com>
2756 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2758 (top level): Call it, and bail out of DejaGnu is known to be bad.
2760 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2762 * gdb.base/whatis.c: Extend the test case.
2763 * gdb.base/whatis.exp: Add additional tests.
2765 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2767 * gdb.fortran/type.f90: Add pointer variable.
2768 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2770 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2772 * gdb.fortran/vla-type.exp: Fix testcase name.
2774 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2776 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2778 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2780 * gdb.fortran/type.f90: Add nested structures.
2781 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2782 * gdb.fortran/derived-type.exp: Adapt expected output.
2783 * gdb.fortran/vla-type.exp: Adapt expected output.
2785 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2787 * gdb.fortran/whatis_type.exp: Adapt expected output.
2789 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2791 * gdb.fortran/print_type.exp: Fix expected output.
2792 * gdb.fortran/whatis_type.exp: Fix expected output.
2794 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2796 * gdb.fortran/whatis_type.exp: Use multi_line.
2798 2016-05-24 Tom Tromey <tom@tromey.com>
2801 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2802 use value as an index.
2804 2016-05-23 Tom Tromey <tom@tromey.com>
2807 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2810 2016-05-24 Pedro Alves <palves@redhat.com>
2813 * gdb.threads/clone-attach-detach.c: New file.
2814 * gdb.threads/clone-attach-detach.exp: New file.
2816 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2818 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2820 2016-05-23 Tom Tromey <tom@tromey.com>
2822 PR python/19438, PR python/18393:
2823 * gdb.python/py-progspace.exp: Add "dir" test.
2824 * gdb.python/py-objfile.exp: Add "dir" test.
2826 2016-05-23 Yao Qi <yao.qi@linaro.org>
2828 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2829 * gdb.arch/thumb2-it.exp: Likewise.
2831 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2833 * gdb.mi/mi-threads-interrupt.c: New file.
2834 * gdb.mi/mi-threads-interrupt.exp: New file.
2836 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2839 * gdb.mi/mi-async-run.exp: New file.
2840 * gdb.mi/mi-async-run.c: New file.
2842 2016-05-17 Tom Tromey <tom@tromey.com>
2843 Manish Goregaokar <manishsmail@gmail.com>
2845 * lib/rust-support.exp: New file.
2846 * lib/gdb.exp (skip_rust_tests): New proc.
2847 (build_executable_from_specs): Handle rust.
2848 * lib/future.exp (gdb_find_rustc): New proc.
2849 (gdb_default_target_compile): Handle rust.
2850 * gdb.rust/expr.exp: New file.
2851 * gdb.rust/generics.exp: New file.
2852 * gdb.rust/generics.rs: New file.
2853 * gdb.rust/methods.exp: New file.
2854 * gdb.rust/methods.rs: New file.
2855 * gdb.rust/modules.exp: New file.
2856 * gdb.rust/modules.rs: New file.
2857 * gdb.rust/simple.exp: New file.
2858 * gdb.rust/simple.rs: New file.
2860 2016-05-17 Tom Tromey <tom@tromey.com>
2862 * gdb.base/default.exp (set language): Add rust.
2864 2016-05-17 Tom Tromey <tom@tromey.com>
2866 * gdb.gdb/unittest.exp: New file.
2868 2016-05-16 Yao Qi <yao.qi@linaro.org>
2870 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2871 shell_prompt. Update shell_prompt_re.
2873 2016-05-12 Doug Evans <dje@google.com>
2876 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
2877 $options when building executable.
2878 * gdb.dwarf2/fission-loclists-pie.S: New file.
2879 * gdb.dwarf2/fission-loclists-pie.exp: New file.
2881 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2883 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
2884 of [is_remote target],
2886 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2888 * lib/gdb.exp (use_gdb_stub): New procedure.
2890 2016-05-03 Yunlian Jiang <yunlian@google.com>
2891 Doug Evans <dje@google.com>
2894 * gdb.dwarf2/dwp-sepdebug.c: New file.
2895 * gdb.dwarf2/dwp-sepdebug.exp: New file.
2897 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2899 * gdb.base/detach.exp: Remove is_remote check.
2901 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2903 * gdb.base/annota-input-while-running.exp: Don't check for
2904 [is_remote target]. Enable annotations after running to main.
2905 Remove unused "set test..." line.
2907 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2909 * gdb.trace/trace-enable-disable.exp: New file.
2910 * gdb.trace/trace-enable-disable.c: New file.
2912 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2914 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
2915 use it in info sharedlibrary test.
2916 * gdb.trace/ftrace-lock.exp: Likewise.
2917 * gdb.trace/ftrace.exp: Likewise.
2918 * gdb.trace/range-stepping.exp: Likewise.
2919 * gdb.trace/trace-break.exp: Likewise.
2920 * gdb.trace/trace-condition.exp: Likewise.
2921 * gdb.trace/trace-mt.exp: Likewise.
2923 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2925 * lib/gdb.exp (gdb_load_shlibs): Rename to...
2926 (gdb_load_shlib): ... this.
2927 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
2929 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2930 * gdb.base/ctxobj.exp: Likewise.
2931 * gdb.base/dprintf-pending.exp: Likewise.
2932 * gdb.base/dso2dso.exp: Likewise.
2933 * gdb.base/fixsection.exp: Likewise.
2934 * gdb.base/gcore-relro.exp: Likewise.
2935 * gdb.base/gdb1555.exp: Likewise.
2936 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2937 * gdb.base/gnu-ifunc.exp: Likewise.
2938 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2939 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2940 * gdb.base/pending.exp: Likewise.
2941 * gdb.base/print-file-var.exp: Likewise.
2942 * gdb.base/print-symbol-loading.exp: Likewise.
2943 * gdb.base/shlib-call.exp: Likewise.
2944 * gdb.base/shreloc.exp: Likewise.
2945 * gdb.base/so-impl-ld.exp: Likewise.
2946 * gdb.base/solib-disc.exp: Likewise.
2947 * gdb.base/solib-nodir.exp: Likewise.
2948 * gdb.base/solib-overlap.exp: Likewise.
2949 * gdb.base/solib-symbol.exp: Likewise.
2950 * gdb.base/solib-weak.exp (do_test): Likewise.
2951 * gdb.base/sym-file.exp: Likewise.
2952 * gdb.base/symtab-search-order.exp: Likewise.
2953 * gdb.base/type-opaque.exp: Likewise.
2954 * gdb.base/unload.exp: Likewise.
2955 * gdb.base/watchpoint-solib.exp: Likewise.
2956 * gdb.compile/compile.exp: Likewise.
2957 * gdb.cp/gdb2384.exp: Likewise.
2958 * gdb.cp/infcall-dlopen.exp: Likewise.
2959 * gdb.cp/re-set-overloaded.exp: Likewise.
2960 * gdb.fortran/library-module.exp: Likewise.
2961 * gdb.opt/solib-intra-step.exp: Likewise.
2962 * gdb.python/py-finish-breakpoint.exp: Likewise.
2963 * gdb.python/py-shared.exp: Likewise.
2964 * gdb.reverse/solib-precsave.exp: Likewise.
2965 * gdb.reverse/solib-reverse.exp: Likewise.
2966 * gdb.server/solib-list.exp: Likewise.
2967 * gdb.threads/dlopen-libpthread.exp: Likewise.
2968 * gdb.threads/tls-shared.exp: Likewise.
2969 * gdb.threads/tls-so_extern.exp: Likewise.
2970 * gdb.trace/change-loc.exp: Likewise.
2971 * gdb.trace/ftrace-lock.exp: Likewise.
2972 * gdb.trace/ftrace.exp: Likewise.
2973 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2974 * gdb.trace/pending.exp: Likewise.
2975 * gdb.trace/range-stepping.exp: Likewise.
2976 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2977 (strace_info_marker): Likewise.
2978 (strace_probe_marker): Likewise.
2979 (strace_trace_on_same_addr): Likewise.
2980 (strace_trace_on_diff_addr): Likewise.
2981 * gdb.trace/trace-break.exp: Likewise.
2982 * gdb.trace/trace-condition.exp: Likewise.
2983 * gdb.trace/trace-mt.exp: Likewise.
2985 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2987 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2988 result of gdb_remote_download.
2989 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2990 * gdb.base/dso2dso.exp: Likewise.
2991 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2992 * gdb.base/print-file-var.exp: Likewise.
2993 * gdb.base/shlib-call.exp: Likewise.
2994 * gdb.base/shreloc.exp: Likewise.
2995 * gdb.base/solib-overlap.exp: Likewise.
2996 * gdb.base/solib-weak.exp (do_test): Likewise.
2997 * gdb.base/unload.exp: Likewise.
2999 2016-04-27 Yao Qi <yao.qi@linaro.org>
3001 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3004 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3006 * vla-type.exp: Print structure from toplevel.
3008 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3010 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3012 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3015 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3017 * gdb.fortran/vla-type.f90: New file.
3018 * gdb.fortran/vla-type.exp: New file.
3020 2016-04-25 Yao Qi <yao.qi@linaro.org>
3022 * gdb.base/branch-to-self.c: New file.
3023 * gdb.base/branch-to-self.exp: New file.
3025 2016-04-22 Yao Qi <yao.qi@linaro.org>
3027 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3030 2016-04-22 Yao Qi <yao.qi@linaro.org>
3032 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3033 * gdb.base/annota3.exp: Likewise.
3035 2016-04-22 Yao Qi <yao.qi@linaro.org>
3037 * gdb.reverse/step-precsave.exp: Do one step and test program
3038 stops in "callee" and do multiple steps until program goes out
3040 * gdb.reverse/step-reverse.exp: Likewise.
3042 2016-04-22 Yao Qi <yao.qi@linaro.org>
3044 * gdb.trace/signal.exp: Also pass if
3045 $tracepoint_hits($i) > $iterations.
3047 2016-04-22 Yao Qi <yao.qi@linaro.org>
3049 * gdb.trace/signal.c: New file.
3050 * gdb.trace/signal.exp: New file.
3052 2016-04-19 Doug Evans <xdje42@gmail.com>
3054 * gdb.base/bad-file.exp: New file.
3056 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3058 * gdb.dwarf2/implref.exp: New file.
3060 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3062 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3063 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3064 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3065 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3066 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3067 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3068 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3069 * lib/fortran.exp (fortran_int4): New procedure.
3070 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3071 (fortran_logical4): Likewise.
3073 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3075 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3077 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3079 * lib/compiler.c: Add Intel specific preprocessor macros.
3080 * lib/compiler.cc: Likewise.
3082 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3084 * gdb.server/connect-with-no-symbol-file.c: New file.
3085 * gdb.server/connect-with-no-symbol-file.exp: New file.
3087 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3089 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3091 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3093 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3094 standard output directory.
3096 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3098 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3100 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3102 * gdb.btrace/instruction_history.c (loop): Add declaration.
3104 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3106 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3108 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3110 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3111 parentheses to print.
3112 (continue_handler): Likewise.
3114 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3116 * gdb.server/solib-list.exp: Remove is_remote check.
3117 Pass shlib= to gdb_compile. Don't link shared library with
3118 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3119 Run binary filename through "readlink -f" on the target.
3121 2016-04-08 Pedro Alves <palves@redhat.com>
3123 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3124 interpreter filename as argument to gdbserver_spawn.
3125 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3126 Return empty if $last_loaded_file does not exist.
3128 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3130 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3131 * gdb.base/jit-main.c: Use exit after usage.
3133 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3135 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3136 GDBHISTSIZE prior to the tests.
3137 * gdb.base/gdbinit-history.exp: Likewise.
3139 2016-04-07 Pedro Alves <palves@redhat.com>
3141 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3142 instead of build_executable. Use gdb_load_shlibs.
3144 2016-04-07 Yao Qi <yao.qi@linaro.org>
3146 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3147 Execute "si" command.
3149 2016-04-07 Yao Qi <yao.qi@linaro.org>
3151 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3152 number instead of the comments on some line.
3154 2016-04-06 Don Breazeal <donb@codesourcery.com>
3156 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3157 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3159 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3161 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3162 standard_output_file. Remove unused binfile variable.
3164 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3166 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3167 * gdb.python/py-mi-objfile.exp: Match "list main" output
3170 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3172 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3175 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3177 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3179 * gdb.trace/ftrace.exp: Likewise.
3180 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3182 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3183 (gdb_load_shlibs): Copy libraries to test directory when testing
3184 natively. Only set solib-search-path if testing remotely.
3185 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3187 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3189 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3190 gdb_download. Use it even if the target is not remote.
3191 * gdb.base/jit.exp (compile_jit_test): Likewise.
3192 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3193 output directory if the destination board is local, otherwise use
3194 the standard remote_download from DejaGnu.
3195 (gdb_download): Remove.
3196 (gdb_load_shlibs): Use gdb_remote_download instead of
3198 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3199 Use gdb_remote_download instead of gdb_download. Use it even if
3200 the target is not remote.
3201 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3202 instead of gdb_download.
3204 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3206 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3207 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3210 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3213 * gdb.base/printcmds.exp: Add artificial arrays tests.
3215 2016-03-31 Pedro Alves <palves@redhat.com>
3218 * gdb.base/jit-main.c: Include unistd.h.
3219 (ATTACH): Define to 0 if not already defined.
3220 (wait_for_gdb, mypid): New globals.
3221 (WAIT_FOR_GDB): New macro.
3222 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3223 some breakpoint locations.
3224 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3226 (one_jit_test): Add REATTACH parameter, and handle it. Use
3227 continue_to_test_location.
3228 (top level): Test attach, and adjusts calls to one_jit_test.
3230 2016-03-31 Pedro Alves <palves@redhat.com>
3233 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3234 BINSUFFIX parameter, and handle it.
3235 (top level): Adjust calls compile_jit_test.
3237 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3240 * gdb.python/py-mi-events-gdb.py: New file.
3241 * gdb.python/py-mi-events.c: New file.
3242 * gdb.python/py-mi-events.exp: New file.
3244 2016-03-30 Yao Qi <yao.qi@linaro.org>
3246 * gdb.reverse/until-precsave.exp: Match function name only.
3247 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3248 Move malloc to a condition block.
3249 * gdb.reverse/until-reverse.exp: Match function name only.
3251 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3253 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3254 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3255 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3256 variable for GPR 0 instead of assuming it is register 0.
3257 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3258 * lib/trace-support.exp: Add s390 registers.
3260 2016-03-29 Yao Qi <yao.qi@linaro.org>
3262 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3264 2016-03-24 Yao Qi <yao.qi@linaro.org>
3266 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3269 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3271 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3272 maintaining separate logic for constructing the output path.
3274 2016-03-16 Don Breazeal <donb@codesourcery.com>
3276 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3277 Retry fork and waitpid on interrupted system call errors.
3278 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3279 Use with_timeout_factor to increase timeout by factor of 10.
3281 2016-03-15 Don Breazeal <donb@codesourcery.com>
3283 * gdb.cp/scope-err.cc: New test program.
3284 * gdb.cp/scope-err.exp: New test script.
3285 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3286 lines and "set breakpoint here" comment.
3287 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3288 Fixed some whitespace and format issues.
3289 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3290 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3292 2016-03-15 Doug Evans <dje@google.com>
3294 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3295 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3296 All callers updated. Add tests for enums, mixed flags register.
3298 2016-03-15 Doug Evans <dje@google.com>
3300 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3301 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3303 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3305 * gdb.base/default.exp: Add $_as_string to the list of expected
3306 convenience functions.
3308 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3310 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3312 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3314 * gdb.python/py-as-string.exp: New file.
3315 * gdb.python/py-as-string.c: New file.
3317 2016-03-09 Pedro Alves <palves@redhat.com>
3319 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3320 signal" -> "Thread NN received signal" output change.
3321 * gdb.threads/ia64-sigill.exp: Likewise.
3322 * gdb.threads/linux-dp.exp: Likewise.
3323 * gdb.threads/manythreads.exp: Likewise.
3324 * gdb.threads/pending-step.exp: Likewise.
3325 * gdb.threads/print-threads.exp: Likewise.
3326 * gdb.threads/sigstep-threads.exp: Likewise.
3327 * gdb.threads/staticthreads.exp: Likewise.
3328 * gdb.threads/tls.exp: Likewise.
3330 2016-03-09 Pedro Alves <palves@redhat.com>
3332 * gdb.base/command-line-input.exp: New file.
3334 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3336 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3337 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3338 * gdb.trace/pending.exp: Accept leading dot before function name.
3339 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3340 * lib/trace-support.exp: Set registers for ppc.
3342 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3344 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3345 use it for disassembly; accept .main in addition to main in backtrace.
3347 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3348 Marcin Kościelnicki <koriakin@0x04.net>
3350 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3351 (gdb_recursion_test_ptr): New global variable.
3352 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3354 (gdb_c_test): Ditto.
3356 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3358 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3361 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3363 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3364 (bar): Add bar_start_lbl label.
3365 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3366 of foo/bar for emitting DWARF and tracing.
3368 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3370 * analyze-racy-logs.py: Set executable bit.
3372 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3374 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3375 (CHECK_TARGET_TMP): Likewise.
3376 (check-single-racy): New rule.
3377 (check-parallel-racy): Likewise.
3378 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3379 (do-check-parallel-racy): New rule.
3380 (check-racy/%.exp): Likewise.
3381 * README (Racy testcases): New section.
3382 * analyze-racy-logs.py: New file.
3384 2016-03-03 Doug Evans <dje@google.com>
3386 * gdb.base/skip.exp: Use with_test_prefix.
3388 2016-03-03 Yao Qi <yao.qi@linaro.org>
3390 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3391 Invoke step_over_syscall "clone" and break_cond_on_syscall
3393 * gdb.base/step-over-clone.c: New file.
3395 2016-03-03 Yao Qi <yao.qi@linaro.org>
3397 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3400 2016-03-03 Yao Qi <yao.qi@linaro.org>
3402 * gdb.base/disp-step-fork.c: Rename to ...
3403 * gdb.base/step-over-fork.c: ... it. New file.
3404 * gdb.base/disp-step-vfork.c: Rename to ...
3405 * gdb.base/step-over-vfork.c: ... it. New file.
3406 * gdb.base/disp-step-syscall.exp: Rename to ...
3407 * gdb.base/step-over-syscall.exp: ... it. New file.
3408 (disp_step_cross_syscall): Rename to ...
3409 (step_over_syscall): ... it.
3411 2016-03-03 Yao Qi <yao.qi@linaro.org>
3413 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3414 If target supports condition evaluation on target, invoke
3415 break_cond_on_syscall for fork and vfork.
3417 2016-03-03 Yao Qi <yao.qi@linaro.org>
3419 * gdb.base/disp-step-syscall.exp: Don't invoke
3420 support_displaced_stepping.
3421 (disp_step_cross_syscall): Test with displaced stepping off and
3424 2016-03-03 Yao Qi <yao.qi@linaro.org>
3426 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3429 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3432 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3434 * gdb.fortran/vla-history.exp: Remove breakpoint.
3436 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3438 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3441 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3443 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3446 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3448 * gdb.mi/vla.f90: Nullify pointer after declaration.
3450 2016-03-01 Pedro Alves <palves@redhat.com>
3452 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3454 2016-03-01 Pedro Alves <palves@redhat.com>
3456 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3457 before anything else.
3458 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3460 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3461 before anything else.
3462 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3464 2016-03-01 Pedro Alves <palves@redhat.com>
3466 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3468 2016-03-01 Yao Qi <yao.qi@linaro.org>
3470 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3471 prepare_for_testing.
3473 2016-03-01 Yao Qi <yao.qi@linaro.org>
3475 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3477 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3479 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3480 manually constructing the output path.
3482 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3484 * gdb.arch/s390-stackless.S: New.
3485 * gdb.arch/s390-stackless.exp: New.
3487 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3489 * gdb.dlang/circular.c: New file.
3490 * gdb.dlang/circular.exp: New file.
3492 2016-02-26 Yao Qi <yao.qi@linaro.org>
3494 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3495 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3496 (testcases): Update.
3498 2016-02-26 Yao Qi <yao.qi@linaro.org>
3500 * gdb.reverse/aarch64.c: Rename to ...
3501 * gdb.reverse/insn-reverse.c: ... it.
3502 * gdb.reverse/aarch64.exp: Rename to ...
3503 * gdb.reverse/insn-reverse.exp: ... it.
3505 2016-02-26 Yao Qi <yao.qi@linaro.org>
3507 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3508 (testcase_ftype): New.
3509 (testcases): New array.
3511 (main): Call each element in testcases.
3512 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3513 (read_testcase): New.
3514 Do the tests in a loop.
3516 2016-02-25 Yao Qi <yao.qi@linaro.org>
3518 * gdb.base/branches.c: Remove.
3520 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3523 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3525 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3527 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3529 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3531 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3532 change x86_64 call_insn to 'callq'.
3534 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3536 * gdb.trace/tfile-avx.c: Move to...
3537 * gdb.trace/tracefile-pseudo-reg.c: Here.
3538 * gdb.trace/tfile-avx.exp: Move to...
3539 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3541 2016-02-24 Gary Benson <gbenson@redhat.com>
3543 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3546 2016-02-23 Doug Evans <dje@google.com>
3548 * gdb.base/skip.c (test_skip): New function.
3549 (end_test_skip_file_and_function): New function.
3550 (test_skip_file_and_function): New function.
3551 * gdb.base/skip1.c (test_skip): New function.
3552 (skip1_test_skip_file_and_function): New function.
3553 * gdb.base/skip.exp: Add tests for new skip options.
3554 * gdb.base/skip-solib.exp: Update expected output.
3555 * gdb.perf/skip-command.cc: New file.
3556 * gdb.perf/skip-command.exp: New file.
3557 * gdb.perf/skip-command.py: New file.
3559 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3561 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3562 info registers pattern.
3564 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3566 * lib/future.exp: Add D support.
3567 (gdb_find_gdc): New proc.
3568 (gdb_default_target_compile): Add D support.
3570 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3572 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3574 (trace_speed_test): Determine the iteration count for a time
3575 between 15..30 seconds.
3577 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3579 * gdb.arch/i386-mpx-sigsegv.c: New file.
3580 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3581 * gdb.arch/i386-mpx-simple_segv.c: New file.
3582 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3584 2016-02-18 Yao Qi <yao.qi@linaro.org>
3586 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3587 Don't call setup_kfail.
3589 2016-02-18 Yao Qi <yao.qi@linaro.org>
3591 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3592 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3594 2016-02-16 Doug Evans <dje@google.com>
3596 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3597 * gdb.base/skip1.c: Ditto.
3598 * gdb.base/skip.exp: Whitespace cleanup.
3600 2016-02-16 Don Breazeal <donb@codesourcery.com>
3603 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3604 Remove kfail for PR remote/19496.
3606 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3608 * lib/gdb.exp (standard_temp_file): Return a path specific to
3609 the runtest invocation.
3611 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3613 * gdb.trace/save-trace.exp: Change relative path to be in the
3614 standard output directory.
3616 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3618 * gdb.arch/i386-prologue.c: Add missing prototypes.
3620 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3622 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3623 * gdb.arch/i386-prologue.exp: Likewise.
3624 * gdb.arch/i386-size.exp: Likewise.
3626 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3628 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3629 define object file path.
3630 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3632 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3633 standard_output_file to define binfile.
3635 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3637 Fix compatibility with recent gfortran-5.3.1.
3638 * gdb.fortran/vla-history.exp (print vla1 allocated)
3639 (print vla2 allocated, print $2, print $3): Remove
3640 (print $4): Rename to ...
3641 (print $2): ... here.
3642 (print $9): Rename to ...
3643 (print $5): ... here.
3644 (print $10): Rename to ...
3645 (print $6): ... here.
3646 * gdb.fortran/vla.f90: Add pvla initialization.
3648 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3650 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3652 * gdb.fortran/vla-value-sub.exp: Likewise.
3654 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3656 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3658 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3660 * i386-biarch-core.exp: Define corefile using
3661 standard_output_file.
3663 2016-02-12 Yao Qi <yao.qi@linaro.org>
3665 * gdb.arch/arm-single-step-kernel-helper.c: New.
3666 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3668 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3670 * gdb.btrace/tailcall-only.exp: New.
3671 * gdb.btrace/tailcall-only.c: New.
3672 * gdb.btrace/x86_64-tailcall-only.S: New.
3673 * gdb.btrace/i686-tailcall-only.S: New.
3675 2016-02-11 Pedro Alves <palves@redhat.com>
3677 * README (Parallel testing): Add missing double quotes.
3679 2016-02-11 Pedro Alves <palves@redhat.com>
3681 * README (Parallel testing): New section.
3682 (GDB_PARALLEL): Rewrite.
3683 (FORCE_PARALLEL): Document.
3685 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3687 * gdb.trace/tfile-avx.c: New test.
3688 * gdb.trace/tfile-avx.exp: New test.
3690 2016-02-09 Keith Seitz <keiths@redhat.com>
3692 PR breakpoints/19546
3693 * gdb.base/infcall-exec.c: New file.
3694 * gdb.base/infcall-exec2.c: New file.
3695 * gdb.base/infcall-exec.exp: New file.
3697 2016-02-09 Keith Seitz <keiths@redhat.com>
3699 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3700 (toplevel): Call test_bkpt_address.
3702 2016-02-09 Keith Seitz <keiths@redhat.com>
3705 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3706 (toplevel): Call test_bkpt_address.
3708 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3710 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3712 * configure: Regenerate.
3714 2016-02-09 Pedro Alves <palves@redhat.com>
3716 PR breakpoints/19548
3717 * gdb.base/execl-update-breakpoints.c (some_function): New
3720 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3721 Tighten expected GDB output.
3723 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3725 * Makefile.in (ALL_SUBDIRS): Remove.
3726 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3727 (distclean maintainer-clean realclean): Likewise.
3728 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3729 * configure: Regenerate.
3730 * gdb.ada/Makefile.in: Delete.
3731 * gdb.arch/Makefile.in: Likewise.
3732 * gdb.asm/Makefile.in: Likewise.
3733 * gdb.base/Makefile.in: Likewise.
3734 * gdb.btrace/Makefile.in: Likewise.
3735 * gdb.cell/Makefile.in: Likewise.
3736 * gdb.compile/Makefile.in: Likewise.
3737 * gdb.cp/Makefile.in: Likewise.
3738 * gdb.disasm/Makefile.in: Likewise.
3739 * gdb.dlang/Makefile.in: Likewise.
3740 * gdb.dwarf2/Makefile.in: Likewise.
3741 * gdb.fortran/Makefile.in: Likewise.
3742 * gdb.gdb/Makefile.in: Likewise.
3743 * gdb.go/Makefile.in: Likewise.
3744 * gdb.guile/Makefile.in: Likewise.
3745 * gdb.java/Makefile.in: Likewise.
3746 * gdb.linespec/Makefile.in: Likewise.
3747 * gdb.mi/Makefile.in: Likewise.
3748 * gdb.modula2/Makefile.in: Likewise.
3749 * gdb.multi/Makefile.in: Likewise.
3750 * gdb.objc/Makefile.in: Likewise.
3751 * gdb.opencl/Makefile.in: Likewise.
3752 * gdb.opt/Makefile.in: Likewise.
3753 * gdb.pascal/Makefile.in: Likewise.
3754 * gdb.perf/Makefile.in: Likewise.
3755 * gdb.python/Makefile.in: Likewise.
3756 * gdb.reverse/Makefile.in: Likewise.
3757 * gdb.server/Makefile.in: Likewise.
3758 * gdb.stabs/Makefile.in: Likewise.
3759 * gdb.threads/Makefile.in: Likewise.
3760 * gdb.trace/Makefile.in: Likewise.
3761 * gdb.xml/Makefile.in: Likewise.
3762 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3764 (standard_output_file): Remove check for GDB_PARALLEL, always
3765 return path in outputs/$subdir/$testname.
3767 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3769 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3770 (site.exp): Assign abs_srcdir to tcl's srcdir.
3772 2016-02-04 Yao Qi <yao.qi@linaro.org>
3774 * gdb.base/foll-exec-mode.c: Include limits.h.
3775 (main): Add parameters argc and argv. Get directory from
3777 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3779 * gdb.base/foll-exec.c: Include limits.h.
3780 (main): Add parameters argc and argv.
3781 Get directory from argv[0].
3782 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3783 Adjust tests on the number of lines as source code changed.
3784 * gdb.base/foll-vfork-exit.c: Include limits.h.
3785 (main): Add one line of statement before vfork.
3786 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3787 (main): Add parameters argc and argv. Get directory from
3789 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3790 (setup_gdb): Set tbreak to skip some source lines.
3791 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3792 (main): Add parameters argc and argv. Get directory from
3794 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3796 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3797 (main): Add parameters argc and argv. Get directory from
3799 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3802 2016-02-01 Doug Evans <dje@google.com>
3804 * gdb.base/skip.exp: Clean up multiple references to same test name.
3806 2016-02-01 Pedro Alves <palves@redhat.com>
3809 * gdb.threads/forking-threads-plus-breakpoint.exp
3810 (displaced_stepping_supported): New global.
3811 (probe_displaced_stepping_support): New procedure.
3812 (do_test): Add 'displaced' parameter, and use it.
3813 (top level): Check for displaced stepping support. Add displaced
3814 stepping on/off testing axis.
3816 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3818 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3819 pointer. Don't perform further tests on the unassociated pointer
3820 if the first test fails.
3822 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3824 * gdb.base/max-value-size.c: New file.
3825 * gdb.base/max-value-size.exp: New file.
3826 * gdb.base/huge.exp: Disable max-value-size for this test.
3828 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3830 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3832 2016-01-28 Yao Qi <yao.qi@linaro.org>
3834 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3836 2016-01-25 Pedro Alves <palves@redhat.com>
3839 * gdb.base/fork-running-state.c: New file.
3840 * gdb.base/fork-running-state.exp: New file.
3842 2016-01-25 Pedro Alves <palves@redhat.com>
3845 * gdb.base/catch-fork-kill.c: New file.
3846 * gdb.base/catch-fork-kill.exp: New file.
3848 2016-01-25 Pedro Alves <palves@redhat.com>
3850 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3851 Delete, moved to lib/gdb.exp.
3852 * gdb.threads/forking-threads-plus-breakpoint.exp
3853 (foreach_with_prefix): Likewise.
3854 * gdb.threads/process-dies-while-handling-bp.exp
3855 (foreach_with_prefix): Likewise.
3856 * lib/gdb.exp (foreach_with_prefix): New procedure.
3858 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3860 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3861 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3863 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3865 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3868 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3869 Pedro Alves <palves@redhat.com>
3871 Fix testsuite compatibility with Guile.
3872 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
3875 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3877 Fix testsuite compatibility with Guile.
3878 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
3879 (thread 1): New test for backtrace through signal handler.
3881 2016-01-22 Yao Qi <yao.qi@linaro.org>
3884 * gdb.base/multi-forks.c: Include
3885 ../lib/unbuffer_output.c
3886 (main): Call gdb_unbuffer_output.
3888 2016-01-21 Doug Evans <dje@google.com>
3890 * lib/ada.exp (gdb_compile_ada): Fix typo.
3892 2016-01-21 Joel Brobecker <brobecker@adacore.com>
3894 * gdb.base/break-fun-addr.exp: New file.
3895 * gdb.base/break-fun-addr1.c: New file.
3896 * gdb.base/break-fun-addr2.c: New file.
3898 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
3900 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
3901 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
3904 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3906 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
3907 when GDB can not set the vector return value. Add more comments
3910 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
3912 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
3915 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3917 * Makefile.in (DO_RUNTEST): Add --status and update usages.
3919 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3921 * Makefile.in (check-single): Pass --status to runtest.
3922 (check/%.exp): Likewise.
3924 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3926 * Makefile.in (check-parallel): Propagate return code from make
3929 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
3931 * gdb.trace/ftrace.exp: Fix expected message on continue.
3932 * gdb.trace/pending.exp: Fix expected message on continue.
3933 * gdb.trace/trace-break.exp: Fix expected message on continue.
3935 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3937 * lib/gdb.exp (gdb_test): Remove unused global references.
3939 2016-01-18 Pedro Alves <palves@redhat.com>
3941 * gdb.base/async-shell.exp: Adjust expected output.
3942 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3943 * gdb.base/siginfo-thread.exp: Adjust expected output.
3944 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3945 * gdb.java/jnpe.exp: Adjust expected output.
3946 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3947 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3948 * gdb.threads/leader-exit.exp: Adjust expected output.
3949 * gdb.threads/manythreads.exp: Adjust expected output.
3950 * gdb.threads/pthreads.exp: Adjust expected output.
3951 * gdb.threads/schedlock.exp: Adjust expected output.
3952 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3953 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3955 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3957 * gdb.threads/sigthread.exp: Adjust expected output.
3958 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3960 2016-01-18 Yao Qi <yao.qi@linaro.org>
3962 * gdb.guile/scm-section-script.c: Replace @progbits with
3964 * gdb.python/py-section-script.c: Likewise.
3966 2016-01-15 Pedro Alves <palves@redhat.com>
3968 * gdb.multi/tids.exp: Test star wildcard ranges.
3970 2016-01-15 Pedro Alves <palves@redhat.com>
3972 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3973 command from "thread apply" invocation.
3974 (thr_apply_info_thr_invalid): Default the expected output to the
3976 (top level): Add tests that use convenience variables. Add tests
3977 for "thread apply" with a valid TID list, but missing the command.
3979 2016-01-13 Pedro Alves <palves@redhat.com>
3981 * gdb.base/default.exp: Expect $_gthread as well.
3982 * gdb.multi/tids.exp: Test $_gthread.
3983 * gdb.threads/thread-specific.exp: Test $_gthread.
3985 2016-01-13 Pedro Alves <palves@redhat.com>
3987 * gdb.multi/tids.exp: Test "info threads -gid".
3989 2016-01-13 Pedro Alves <palves@redhat.com>
3991 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3993 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3995 2016-01-07 Pedro Alves <palves@redhat.com>
3997 * gdb.base/break.exp: Adjust to output changes.
3998 * gdb.base/hbreak2.exp: Likewise.
3999 * gdb.base/sepdebug.exp: Likewise.
4000 * gdb.base/watch_thread_num.exp: Likewise.
4001 * gdb.linespec/keywords.exp: Likewise.
4002 * gdb.multi/info-threads.exp: Likewise.
4003 * gdb.threads/thread-find.exp: Likewise.
4004 * gdb.multi/tids.c: New file.
4005 * gdb.multi/tids.exp: New file.
4007 2016-01-13 Pedro Alves <palves@redhat.com>
4009 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4011 2016-01-13 Pedro Alves <palves@redhat.com>
4013 * gdb.base/default.exp: Expect $_inferior as well.
4014 * gdb.multi/base.exp: Test $_inferior.
4016 2016-01-13 Pedro Alves <palves@redhat.com>
4018 PR breakpoints/19388
4019 * gdb.base/catch-signal-siginfo-cond.c: New file.
4020 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4022 2016-01-12 Josh Stone <jistone@redhat.com>
4023 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4025 * gdb.base/catch-syscall.c (do_execve): New variable.
4026 (main): Conditionally trigger an execve.
4027 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4028 (test_catch_syscall_execve): New, check entry/return across execve.
4029 (do_syscall_tests): Call test_catch_syscall_execve.
4031 2016-01-12 Pedro Alves <palves@redhat.com>
4033 * gdb.base/random-signal.exp (do_test): New procedure, with body
4034 of testcase moved in.
4036 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4037 Pedro Alves <palves@redhat.com>
4039 * gdb.base/funcargs.exp (finish from indirectly called function):
4040 Reintroduce the case for 'First'.
4042 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4043 Pedro Alves <palves@redhat.com>
4045 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4046 (tcatch_vfork_then_child_follow_exec)
4047 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4050 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4052 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4053 and repeats to unlimited.
4054 * gdb.python/py-value.exp: Likewise.
4055 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4056 and repeats to unlimited.
4058 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4060 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4061 and reordering the functions.
4062 * gdb.multi/hangout.c: Likewise.
4063 * gdb.multi/hello.c: Likewise.
4065 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4067 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4069 (SingleStatisticTestResult.report): Use dict.keys instead of
4072 2016-01-06 Pedro Alves <palves@redhat.com>
4074 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4076 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4078 * gdb.btrace/dlopen.exp: New.
4079 * gdb.btrace/dlopen.c: New.
4080 * gdb.btrace/dlopen-dso.c: New.
4082 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4084 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4085 PATTERN argument is optional.
4087 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4089 * lib/ada.exp (target_compile_ada_from_dir): New function.
4090 (gdb_compile_ada): Reimplement avoiding the use of project files.
4091 * gdb.ada/gnat_ada.gpr: Delete.
4092 * gdb.ada/cond_lang.exp: Adjust test to make path before
4094 * gdb.ada/small_reg_param.exp: Likewise.
4096 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4098 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4100 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4102 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4105 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4107 * gdb.base/break.exp: Remove dead code.
4108 * gdb.base/sepdebug.exp: Likewise.
4110 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4112 * gdb.asm/asm-source.exp: Remove HP-UX references.
4113 * gdb.base/annota1.exp: Likewise.
4114 * gdb.base/annota3.exp: Likewise.
4115 * gdb.base/attach.exp: Likewise.
4116 * gdb.base/bigcore.exp: Likewise.
4117 * gdb.base/break.exp: Likewise.
4118 * gdb.base/call-ar-st.exp: Likewise.
4119 * gdb.base/callfuncs.exp: Likewise.
4120 * gdb.base/catch-fork-static.exp: Likewise.
4121 * gdb.base/display.exp: Likewise.
4122 * gdb.base/foll-exec-mode.exp: Likewise.
4123 * gdb.base/foll-exec.exp: Likewise.
4124 * gdb.base/foll-fork.exp: Likewise.
4125 * gdb.base/foll-vfork.exp: Likewise.
4126 * gdb.base/funcargs.exp: Likewise.
4127 * gdb.base/hbreak2.exp: Likewise.
4128 * gdb.base/inferior-died.exp: Likewise.
4129 * gdb.base/interrupt.exp: Likewise.
4130 * gdb.base/multi-forks.exp: Likewise.
4131 * gdb.base/nodebug.exp: Likewise.
4132 * gdb.base/sepdebug.exp: Likewise.
4133 * gdb.base/solib1.c: Likewise.
4134 * gdb.base/step-test.exp: Likewise.
4135 * gdb.mi/non-stop.c: Likewise.
4136 * gdb.mi/pthreads.c: Likewise.
4137 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4138 * gdb.threads/pthreads.c: Likewise.
4139 * gdb.threads/staticthreads.exp: Likewise.
4140 * lib/future.exp: Likewise.
4141 * lib/gdb.exp: Likewise.
4142 * gdb.base/so-indr-cl.c: Remove.
4143 * gdb.base/so-indr-cl.exp: Likewise.
4144 * gdb.base/solib.c: Likewise.
4145 * gdb.base/solib.exp: Likewise.
4146 * gdb.base/solib2.c: Likewise.
4148 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4150 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4151 * gdb.base/call-ar-st.exp: Likewise.
4152 * gdb.base/callfuncs.exp: Likewise.
4153 * gdb.base/condbreak.exp: Likewise.
4154 * gdb.base/constvars.exp: Likewise.
4155 * gdb.base/hbreak2.exp: Likewise.
4156 * gdb.base/langs.exp: Likewise.
4157 * gdb.base/list.exp: Likewise.
4158 * gdb.base/long_long.exp: Likewise.
4159 * gdb.base/ptype.exp: Likewise.
4160 * gdb.base/scope.exp: Likewise.
4161 * gdb.base/signals.exp: Likewise.
4162 * gdb.base/so-impl-ld.exp: Likewise.
4163 * gdb.base/varargs.exp: Likewise.
4164 * gdb.base/volatile.exp: Likewise.
4165 * gdb.base/whatis.exp: Likewise.
4166 * gdb.cp/cplusfuncs.exp: Likewise.
4167 * gdb.cp/inherit.exp: Likewise.
4168 * gdb.cp/local.exp: Likewise.
4169 * gdb.cp/member-ptr.exp: Likewise.
4170 * gdb.cp/method.exp: Likewise.
4171 * gdb.cp/overload.exp: Likewise.
4172 * gdb.cp/templates.exp: Likewise.
4173 * gdb.stabs/weird.exp: Likewise.
4174 * lib/compiler.c: Likewise.
4175 * lib/compiler.cc: Likewise.
4176 * lib/cp-support.exp: Likewise.
4177 * lib/gdb.exp: Likewise.
4179 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4181 * configure.ac: Remove HP-UX case.
4182 * configure: Regenerate.
4184 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4186 * lib/gdb.exp (gdb_compile): Add function doc.
4188 2015-12-17 Pedro Alves <palves@redhat.com>
4191 * gdb.multi/info-threads.exp: New file.
4193 2015-12-15 Yao Qi <yao.qi@linaro.org>
4195 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4198 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4200 * gdb.base/history-duplicates.exp: Skip if no readline support.
4202 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4204 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4206 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4208 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4210 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4212 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4213 ctrl-C if nointerrupts target property is set.
4214 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4215 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4216 * gdb.base/paginate-bg-execution.exp: Likewise.
4217 * gdb.base/paginate-execution-startup.exp: Likewise.
4218 * gdb.base/random-signal.exp: Likewise.
4219 * gdb.base/range-stepping.exp: Likewise.
4220 * gdb.cp/annota2.exp: Likewise.
4221 * gdb.cp/annota3.exp: Likewise.
4222 * gdb.gdb/selftest.exp: Likewise.
4223 * gdb.threads/continue-pending-status.exp: Likewise.
4224 * gdb.threads/leader-exit.exp: Likewise.
4225 * gdb.threads/manythreads.exp: Likewise.
4226 * gdb.threads/pthreads.exp: Likewise.
4227 * gdb.threads/schedlock.exp: Likewise.
4228 * gdb.threads/sigthread.exp: Likewise.
4230 2015-12-11 Don Breazeal <donb@codesourcery.com>
4232 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4234 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4235 * gdb.base/foll-exec.exp (main): Enable for target remote.
4236 * gdb.base/foll-fork.exp (main): Likewise.
4237 * gdb.base/foll-vfork.exp (main): Likewise.
4238 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4239 (proc continue_to_exit_bp_loc): Use clean_restart.
4240 * gdb.base/pie-execl.exp (main): Disable for target remote.
4241 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4242 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4243 * gdb.threads/execl.exp (main): Likewise.
4244 * gdb.threads/fork-child-threads.exp (main): Likewise.
4245 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4247 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4249 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4250 pid.tid style ptids, instead of just tid.
4251 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4252 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4253 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4254 ptids, instead of just tid.
4256 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4258 * gdb.base/list.exp (test_list_forward): Add end of file error
4260 (test_repeat_list_command): Add end of file error test.
4261 (test_list_backwards): Add beginning of file error test.
4263 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4265 * gdb.base/list.exp (test_list_invalid_args): New function,
4266 defined, and called.
4268 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4270 * gdb.base/list.exp (test_list): Make test names unique.
4272 2015-12-11 Yao Qi <yao.qi@linaro.org>
4274 * gdb.base/coremaker2.c: Remove.
4276 2015-12-10 Pedro Alves <palves@redhat.com>
4278 * gdb.multi/base.exp: Remove stale "spaces" references.
4280 2015-12-10 Pedro Alves <palves@redhat.com>
4282 * gdb.multi/base.exp: Don't use nowarnings.
4283 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4284 * gdb.multi/hangout.c: Include stdio.h.
4285 * gdb.multi/hello.c: Include stdlib.h.
4286 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4287 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4288 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4290 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4292 * gdb.dwarf2/dw2-ranges-base.c: New file.
4293 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4294 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4295 support additional line table, and debug ranges generation.
4296 (Dwarf::ranges): New function, generate .debug_ranges.
4297 (Dwarf::lines): Support generating simple line table programs.
4298 (Dwarf::assemble): Initialise new namespace variables.
4300 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4302 * gdb.base/async.exp (proc test_background): Add case for
4303 asynchronous execution not supported.
4305 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4307 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4308 format and change test names to make them unique.
4310 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4311 Pedro Alves <pedro@redhat.com>
4314 Add checking of floatformats setup on x86_64 hosts.
4315 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4316 (smallval, bigval): New labels/constants.
4317 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4318 float" after loading bigval and smallval.
4320 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4322 * gdb.ada/fun_overload_menu.exp: New testcase.
4323 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4325 2015-12-04 Josh Stone <jistone@redhat.com>
4327 * gdb.base/catch-fork-static.exp: New.
4329 2015-12-03 Yao Qi <yao.qi@linaro.org>
4331 * gdb.base/sizeof.c: Don't include stdio.h and
4332 ../lib/unbuffer_output.c.
4333 (main): New variable 'size' and 'value'. Remove printf and
4334 gdb_unbuffer_output. Assign return value to size and value.
4335 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4337 (check_sizeof): Check the result by printing variable 'size'.
4338 (check_valueof): Check the result by printing variable 'value'.
4340 2015-12-01 Yao Qi <yao.qi@linaro.org>
4342 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4343 for aarch64*-*-linux* target.
4345 2015-11-30 Pedro Alves <palves@redhat.com>
4347 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4349 2015-11-30 Pedro Alves <palves@redhat.com>
4351 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4352 Handle non-stop mode vCont replies.
4354 2015-11-30 Pedro Alves <palves@redhat.com>
4356 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4357 prepare_for_testing. Start gdb with "set non-stop on" appended to
4358 GDBFLAGS. Lax expected stop output.
4360 2015-11-27 Yao Qi <yao.qi@linaro.org>
4362 * gdb.arch/arm-neon.exp: New.
4363 * gdb.arch/arm-neon.c: New.
4365 2015-11-27 Yao Qi <yao.qi@linaro.org>
4367 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4369 2015-11-27 Yao Qi <yao.qi@linaro.org>
4371 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4372 frames-invalid annotation.
4374 2015-11-27 Yao Qi <yao.qi@linaro.org>
4376 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4378 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4380 * gdb.threads/names.exp: New file.
4381 * gdb.threads/names.c: New file.
4382 * README: Mention gdb,no_thread_names.
4384 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4387 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4390 2015-11-24 Pedro Alves <palves@redhat.com>
4393 * gdb.base/display.exp: Expect displays to be sorted in ascending
4394 order. Use multi_line.
4395 * gdb.base/solib-display.exp: Likewise.
4397 2015-11-24 Pedro Alves <palves@redhat.com>
4400 * gdb.base/display.exp: Expect displays to be sorted in ascending
4401 order. Use multi_line.
4402 * gdb.base/solib-display.exp: Likewise.
4404 2015-11-24 Pedro Alves <palves@redhat.com>
4407 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4408 threads in ascending order.
4409 * gdb.base/foll-fork.exp: Likewise.
4410 * gdb.base/foll-vfork.exp: Likewise.
4411 * gdb.base/multi-forks.exp: Likewise.
4412 * gdb.mi/mi-nonstop.exp: Likewise.
4413 * gdb.mi/mi-nsintrall.exp: Likewise.
4414 * gdb.multi/base.exp: Likewise.
4415 * gdb.multi/multi-arch.exp: Likewise.
4416 * gdb.python/py-inferior.exp: Likewise.
4417 * gdb.threads/break-while-running.exp: Likewise.
4418 * gdb.threads/execl.exp: Likewise.
4419 * gdb.threads/gcore-thread.exp: Likewise.
4420 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4421 * gdb.threads/kill.exp: Likewise.
4422 * gdb.threads/linux-dp.exp: Likewise.
4423 * gdb.threads/multiple-step-overs.exp: Likewise.
4424 * gdb.threads/next-bp-other-thread.exp: Likewise.
4425 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4426 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4427 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4428 * gdb.threads/thread-find.exp: Likewise.
4429 * gdb.threads/tls.exp: Likewise.
4430 * lib/mi-support.exp (mi_reverse_list): Delete.
4431 (mi_check_thread_states): No longer reverse list.
4433 2015-11-24 Pedro Alves <palves@redhat.com>
4435 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4438 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4440 * gdb.trace/actions.c: Include trace-common.h.
4441 (main): Add a location for a fast tracepoint.
4442 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4443 the normal tracepoints.
4444 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4446 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4448 * save-trace.exp: Factor out code to these...
4449 (gdb_save_tracepoints): New.
4450 (gdb_load_tracepoints): New.
4451 (do_save_load_test): New.
4453 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4455 * gdb.base/asmlabel.exp: New test.
4456 * gdb.base/asmlabel.c: New test case.
4458 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4460 * gdb.base/wrong_frame_bt_full-main.c: New file.
4461 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4462 * gdb.base/wrong_frame_bt_full.exp: New file.
4464 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4466 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4468 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4470 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4471 pstate register when comparing registers values in
4472 sparc64-*-linux-gnu targets to avoid spurious differences.
4474 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4476 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4478 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4480 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4481 as type argument to gdb_compile.
4482 * gdb.base/nested-subp2.exp: Likewise.
4483 * gdb.base/nested-subp3.exp: Likewise.
4485 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4487 * lib/dwarf.exp (_note): Fix left shift of negative value.
4488 * gdb.trace/trace-condition.exp: Likewise.
4490 2015-11-13 Yao Qi <yao.qi@linaro.org>
4492 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4493 comments about d10v.
4494 (test_scalar_returns): Likewise.
4495 * gdb.base/d10v.ld: Remove.
4496 * gdb.base/overlays.exp: Remove the target triplet checking for
4498 * gdb.base/structs.exp (test_struct_returns): Remove the
4499 comments about d10v.
4500 (test_struct_calls): Likewise.
4502 2015-11-13 Yao Qi <yao.qi@linaro.org>
4504 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4505 * gdb.base/gnu_vector.c: Don't include stdio.h.
4506 (main): Don't print res and call add_some_intvecs.
4508 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4510 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4513 (func4): Use FAST_TRACEPOINT_LABEL.
4514 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4517 (thread_function): Use FAST_TRACEPOINT_LABEL.
4518 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4520 (marker): Use FAST_TRACEPOINT_LABEL.
4521 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4522 (pendfunc1): Remove.
4523 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4524 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4526 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4527 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4530 (marker): Use FAST_TRACEPOINT_LABEL.
4531 * gdb.trace/trace-common.h: New header.
4532 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4535 (marker): Use FAST_TRACEPOINT_LABEL.
4536 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4538 (thread_function): Use FAST_TRACEPOINT_LABEL.
4540 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4542 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4544 * gdb.trace/change-loc.exp: Use global pcreg definition.
4545 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4546 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4548 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4549 * gdb.trace/pending.exp: Likewise.
4550 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4551 * gdb.trace/trace-break.exp: Likewise.
4552 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4554 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4555 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4557 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4559 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4561 * gdb.ada/fin_fun_out: New testcase.
4563 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4565 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4566 value associated with DW_AT_byte_size.
4567 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4568 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4571 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4573 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4574 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4576 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4577 gdb.dwarf2/dw2-canonicalize-type.exp,
4578 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4579 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4580 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4581 provided by gdb_target_symbol_prefix_flags_asm.
4582 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4583 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4584 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4585 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4586 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4587 macros where needed). Use this macro for symbols which require
4588 the prefix provided by SYMBOL_PREFIX.
4590 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4592 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4594 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4595 representing expressions, of more than one list element.
4596 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4597 to prepend linker symbol prefix to f.
4598 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4599 table_1 and table_2.
4600 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4601 Likewise, for f and g.
4602 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4604 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4606 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4607 table_1_ptr and table_2_ptr.
4609 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4610 Joel Brobecker <brobecker@adacore.com>
4612 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4614 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4616 * gdb.reverse/s390-mvcle.c: New test.
4617 * gdb.reverse/s390-mvcle.exp: New file.
4618 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4620 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4622 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4624 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4626 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4628 * gdb.reverse/getresuid-reverse.exp: Likewise.
4629 * gdb.reverse/pipe-reverse.exp: Likewise.
4630 * gdb.reverse/readv-reverse.exp: Likewise.
4631 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4632 * gdb.reverse/time-reverse.exp: Likewise.
4633 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4635 2015-10-30 Yao Qi <yao.qi@linaro.org>
4637 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4638 (empty_cycle): Remove.
4639 (main): Don't call empty_cycle. Don't use watch_count_done.
4640 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4641 empty_cycle. Rewrite the code counting HW watchpoints.
4643 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4645 * gdb.reverse/fstatat-reverse.c: New test.
4646 * gdb.reverse/fstatat-reverse.exp: New file.
4647 * gdb.reverse/getresuid-reverse.c: New test.
4648 * gdb.reverse/getresuid-reverse.exp: New file.
4649 * gdb.reverse/pipe-reverse.c: New test.
4650 * gdb.reverse/pipe-reverse.exp: New file.
4651 * gdb.reverse/readv-reverse.c: New test.
4652 * gdb.reverse/readv-reverse.exp: New file.
4653 * gdb.reverse/recvmsg-reverse.c: New test.
4654 * gdb.reverse/recvmsg-reverse.exp: New file.
4655 * gdb.reverse/time-reverse.c: New test.
4656 * gdb.reverse/time-reverse.exp: New file.
4657 * gdb.reverse/waitpid-reverse.c: New test.
4658 * gdb.reverse/waitpid-reverse.exp: New file.
4660 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4662 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4664 2015-10-26 Doug Evans <dje@google.com>
4667 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4668 * gdb.dwarf2/bad-regnum.c: New file.
4669 * gdb.dwarf2/bad-regnum.exp: New file.
4671 2015-10-26 Doug Evans <dje@google.com>
4674 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4677 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4679 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4680 for a change by "Mention language in compile error message".
4682 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4685 * gdb.python/py-type.c (C::a_method): New.
4686 (C::a_const_method): New.
4687 (C::a_static_method): New.
4689 * gdb.python/py-type.exp (test_fields): Test getting fields
4690 from function and method.
4692 2015-10-21 Keven Boell <keven.boell@intel.com>
4694 * gdb.fortran/vla-alloc-assoc.exp: New file.
4695 * gdb.fortran/vla-datatypes.exp: New file.
4696 * gdb.fortran/vla-datatypes.f90: New file.
4697 * gdb.fortran/vla-history.exp: New file.
4698 * gdb.fortran/vla-ptype-sub.exp: New file.
4699 * gdb.fortran/vla-ptype.exp: New file.
4700 * gdb.fortran/vla-sizeof.exp: New file.
4701 * gdb.fortran/vla-sub.f90: New file.
4702 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4703 * gdb.fortran/vla-value-sub-finish.exp: New file.
4704 * gdb.fortran/vla-value-sub.exp: New file.
4705 * gdb.fortran/vla-value.exp: New file.
4706 * gdb.fortran/vla-ptr-info.exp: New file.
4707 * gdb.mi/mi-vla-fortran.exp: New file.
4708 * gdb.mi/vla.f90: New file.
4710 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4712 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4713 of hardwired timeout value.
4715 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4716 Pedro Alves <palves@redhat.com>
4718 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4719 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4721 2015-10-19 Josh Stone <jistone@redhat.com>
4723 * gdb.base/catch-syscall.c: Include <sched.h>.
4724 (unknown_syscall): New variable.
4725 (main): Trigger a vfork and an unknown syscall.
4726 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4727 (unknown_syscall_number): Likewise.
4728 (check_call_to_syscall): Accept an optional syscall pattern.
4729 (check_return_from_syscall): Likewise.
4730 (check_continue): Likewise.
4731 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4732 (test_catch_syscall_skipping_return): New test toggling off 'catch
4733 syscall' to step over the syscall return, then toggling back on.
4734 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4735 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4736 (do_syscall_tests): Call test_catch_syscall_without_args and
4737 test_catch_syscall_mid_vfork.
4738 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4739 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4741 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4743 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4744 print g_vE): Add new pass patterns.
4745 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4746 print various symbol names for vptr fields.
4748 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4750 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4753 2015-10-12 Yao Qi <yao.qi@linaro.org>
4755 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4757 2015-10-12 Yao Qi <yao.qi@linaro.org>
4759 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4760 is aarch64*-*-linux*.
4762 2015-10-12 Yao Qi <yao.qi@linaro.org>
4764 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4765 (can_relocate_bcond_true): ... it.
4766 (can_relocate_bcond_false): New function.
4768 (can_relocate_bl): Likewise.
4769 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4772 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4774 * gdb.base/nested-addr.c: New file.
4775 * gdb.base/nested-addr.exp: New testcase.
4777 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4779 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4780 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4781 its output. Ignore the output of "record goto begin" and instead
4782 check that GDB is replaying.
4784 2015-10-09 Pedro Alves <palves@redhat.com>
4786 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4787 (top level): Use it in the run with no args test.
4789 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4791 * gdb.dlang/properties.exp: New file.
4793 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4795 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4796 whether or not address 0x1000 is mapped on the target.
4798 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4800 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4803 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4805 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4806 instruction-history test.
4808 2015-09-28 Doug Evans <dje@google.com>
4810 * gdb.base/gcore.c (array_func): Add reference to static_array.
4812 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4814 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4817 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4819 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4820 short or char as base type.
4822 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4824 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4825 to allow any size enum.
4827 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4829 * gdb.ada/array_ptr_renaming.exp: New testcase.
4830 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4831 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4833 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4835 * gdb.trace/ftrace-lock.c: New file.
4836 * gdb.trace/ftrace-lock.exp: New file.
4838 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4840 * gdb.arch/insn-reloc.c: New file.
4841 * gdb.arch/ftrace-insn-reloc.exp: New file.
4843 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4845 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4847 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4848 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4849 * gdb.trace/range-stepping.c: Likewise.
4850 * gdb.trace/trace-break.c: Likewise.
4851 * gdb.trace/trace-mt.c (thread_function): Likewise.
4852 * gdb.trace/ftrace.c (marker): Likewise.
4853 * gdb.trace/trace-condition.c (marker): Likewise.
4854 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4855 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4858 2015-09-18 Doug Evans <xdje42@gmail.com>
4860 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4861 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4863 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4865 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4868 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4870 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4871 the pending breakpoint. Remove timeout override for "Run till
4872 MI pending breakpoint on pendfunc3 on thread 2" test.
4874 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4876 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4879 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4881 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
4882 in breakpoint filename pattern.
4884 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4886 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
4888 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4890 * gdb.linespec/explicit.exp: Check for readline support for
4891 tab-completion tests. Fix obvious typo.
4893 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4895 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
4898 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4900 * gdb.btrace/non-stop.c: New.
4901 * gdb.btrace/non-stop.exp: New.
4903 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
4904 Yao Qi <yao.qi@linaro.org>
4906 * gdb.trace/trace-condition.c: New file.
4907 * gdb.trace/trace-condition.exp: New file.
4909 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
4911 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
4912 for testing bytecode compilation.
4914 2015-09-16 Pedro Alves <palves@redhat.com>
4915 Sandra Loosemore <sandra@codesourcery.com>
4917 * gdb.threads/non-stop-fair-events.c (timeout): New global.
4918 (SECONDS): Redefine.
4919 (main): Call pthread_kill and alarm early.
4920 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
4922 (test): If the target can't hardware step and doesn't support
4923 displaced stepping, increase the timeout.
4925 2015-09-16 Pedro Alves <palves@redhat.com>
4927 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4928 (enable_debug): New procedures.
4929 (test): Use them. Bail out if waiting for threads fails.
4930 (top level): Bail out if a test fails.
4932 2015-09-16 Yao Qi <yao.qi@linaro.org>
4934 * gdb.asm/asm-source.exp: Set asm-arch for
4935 aarch64*-*-* target.
4936 * gdb.asm/aarch64.inc: New file.
4938 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4940 * gdb.ada/array_of_variable_length.exp: New testcase.
4941 * gdb.ada/array_of_variable_length/foo.adb: New file.
4942 * gdb.ada/array_of_variable_length/pck.adb: New file.
4943 * gdb.ada/array_of_variable_length/pck.ads: New file.
4945 2015-09-15 Doug Evans <dje@google.com>
4947 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4948 of function static local variable.
4950 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4952 * gdb.threads/tls-so_extern.exp: New test file.
4953 * gdb.threads/tls-so_extern.c: New test file.
4954 * gdb.threads/tls-so_extern_main.c: New test file.
4956 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4958 * gdb.opt/solib-intra-step-lib.c: New file.
4959 * gdb.opt/solib-intra-step-main.c: New file.
4960 * gdb.opt/solib-intra-step.exp: New file.
4962 2015-09-15 Pedro Alves <palves@redhat.com>
4964 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4965 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4967 2015-09-14 Pedro Alves <palves@redhat.com>
4969 * gdb.base/hook-stop-continue.c: Delete.
4970 * gdb.base/hook-stop-continue.exp: Delete.
4971 * gdb.base/hook-stop-frame.c: Delete.
4972 * gdb.base/hook-stop-frame.exp: Delete.
4973 * gdb.base/hook-stop.c: New file.
4974 * gdb.base/hook-stop.exp: New file.
4976 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4978 * gdb.ada/access_to_packed_array.exp: New testcase.
4979 * gdb.ada/access_to_packed_array/foo.adb: New file.
4980 * gdb.ada/access_to_packed_array/pack.adb: New file.
4981 * gdb.ada/access_to_packed_array/pack.ads: New file.
4983 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4985 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4988 2015-09-11 Don Breazeal <donb@codesourcery.com>
4990 * gdb.base/foll-exec.c: Add copyright header. Fix
4992 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4993 (do_exec_tests): Use clean_restart in place of zap_session,
4994 and for test initialization. Fix formatting issues. Use
4995 fail in place of perror.
4996 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4997 an expect statement to match an expression with output from
4998 the program under debug.
4999 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5000 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5001 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5002 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5003 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5005 2015-09-09 Doug Evans <dje@google.com>
5007 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5009 2015-09-09 Doug Evans <dje@google.com>
5011 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5013 2015-09-09 Doug Evans <dje@google.com>
5015 * gdb.base/savedregs.exp: Fix typo.
5017 2015-09-09 Pedro Alves <palves@redhat.com>
5019 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5021 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5023 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5024 command actually switches threads. Give up on remaining
5025 tests if target fails to stop at breakpoint.
5027 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5029 * gdb.ada/funcall_char.exp: New testcase.
5030 * gdb.ada/funcall_char/foo.adb: New file.
5032 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5034 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5035 expected outputs. Add two testcases for completing ambiguous
5037 * gdb.ada/complete/aux_pck.adb: New file.
5038 * gdb.ada/complete/aux_pck.ads: New file.
5039 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5040 Ambiguous_Func functions.
5041 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5042 * gdb.ada/complete/pck.adb: Likewise.
5044 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5046 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5047 failures to run the test program under GDB.
5049 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5051 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5054 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5056 * gdb.base/run-after-attach.exp: New test file.
5057 * gdb.base/run-after-attach.c: New test file.
5059 2015-08-26 Don Breazeal <donb@codesourcery.com>
5061 * gdb.base/foll-exec-2.c: New test program.
5062 * gdb.base/foll-exec-2.exp: New test.
5064 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5066 * gdb.base/nested-subp1.exp: New file.
5067 * gdb.base/nested-subp1.c: New file.
5068 * gdb.base/nested-subp2.exp: New file.
5069 * gdb.base/nested-subp2.c: New file.
5070 * gdb.base/nested-subp3.exp: New file.
5071 * gdb.base/nested-subp3.c: New file.
5073 2015-08-24 Pedro Alves <palves@redhat.com>
5075 * gdb.server/connect-without-multi-process.c: New file.
5076 * gdb.server/connect-without-multi-process.exp: New file.
5078 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5080 * gdb.opt/inline-markers.c: Make z int.
5082 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5084 * gdb.opt/inline-markers.c: Make z volatile.
5086 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5088 * gdb.opt/inline-bt.c: New volatile global z.
5089 * gdb.opt/inline-cmds.c: Likewise.
5090 * gdb.opt/inline-locals.c: Likewise.
5091 * gdb.opt/inline-markers.c: New extern global z.
5093 (inline_fn): Likewise.
5095 2015-08-24 Pedro Alves <palves@redhat.com>
5097 * config/m32r-stub.exp: Remove file.
5098 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5099 * gdb.base/call-rt-st.exp: Likewise.
5100 * gdb.base/call-strs.exp: Likewise.
5101 * gdb.base/default.exp: Remove references to h8300-*-hms and
5103 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5105 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5107 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5108 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5109 and "return" use KFAIL when GDB can not read/write the vector
5112 2015-08-21 Gary Benson <gbenson@redhat.com>
5114 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5116 2015-08-20 Pedro Alves <palves@redhat.com>
5118 * gdb.server/solib-list.exp: No longer expect an interior stop in
5121 2015-08-20 Pedro Alves <palves@redhat.com>
5123 * gdb.server/connect-stopped-target.c: New file.
5124 * gdb.server/connect-stopped-target.exp: New file.
5126 2015-08-20 Pedro Alves <palves@redhat.com>
5128 * gdb.dwarf2/comp-unit-lang.exp: New file.
5129 * gdb.dwarf2/comp-unit-lang.c: New file.
5131 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5133 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5134 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5136 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5138 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5139 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5141 2015-08-18 Doug Evans <dje@google.com>
5142 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5144 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5145 skip_python_tests. New arg prompt_regexp.
5146 (skip_python_tests): New function.
5147 * lib/mi-support.exp (mi_skip_python_tests): New function.
5148 * gdb.python/py-mi-objfile-gdb.py: New file.
5149 * gdb.python/py-mi-objfile.c: New file.
5150 * gdb.python/py-mi-objfile.exp: New file.
5152 2015-08-17 Keith Seitz <keiths@redhat.com>
5154 * gdb.linespec/explicit.exp: Move strace test from here ...
5155 * gdb.trace/strace.exp: ... to here.
5157 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5159 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5160 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5162 2015-08-14 Doug Evans <xdje42@gmail.com>
5164 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5165 inferior before selecting a new file.
5167 2015-08-14 Doug Evans <xdje42@gmail.com>
5169 * gdb.mi/mi-disassemble.exp: Update.
5170 * gdb.base/disasm-optim.S: New file.
5171 * gdb.base/disasm-optim.c: New file.
5172 * gdb.base/disasm-optim.h: New file.
5173 * gdb.base/disasm-optim.exp: New file.
5175 2015-08-14 Keith Seitz <keiths@redhat.com>
5177 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5180 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5182 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5184 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5186 * gdb.ada/fun_renaming.exp: New testcase.
5187 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5188 * gdb.ada/fun_renaming/pack.adb: New file.
5189 * gdb.ada/fun_renaming/pack.ads: New file.
5191 2015-08-12 Keith Seitz <keiths@redhat.com>
5193 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5194 gdb_get_line_number.
5196 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5198 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5199 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5200 gdb.base/dso2dso.exp: New files.
5202 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5203 Pedro Alves <palves@redhat.com>
5204 Keith Seitz <keiths@redhat.com>
5206 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5209 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5211 * gdb.base/gdbhistsize-history.exp
5212 (test_histsize_history_setting): Use save_vars.
5213 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5215 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5216 * gdb.base/readline.exp: Use save_vars.
5218 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5220 * lib/gdb.exp (save_vars): New proc.
5222 2015-08-11 Keith Seitz <keiths@redhat.com>
5224 * gdb.base/help.exp: Update help_breakpoint_text.
5226 2015-08-11 Keith Seitz <keiths@redhat.com>
5228 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5229 (at toplevel): Call test_explicit_breakpoints.
5230 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5232 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5233 breakpoint conditions, "-cond".
5235 2015-08-11 Keith Seitz <keiths@redhat.com>
5237 * gdb.linespec/3explicit.c: New file.
5238 * gdb.linespec/cpexplicit.cc: New file.
5239 * gdb.linespec/cpexplicit.exp: New file.
5240 * gdb.linespec/explicit.c: New file.
5241 * gdb.linespec/explicit.exp: New file.
5242 * gdb.linespec/explicit2.c: New file.
5243 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5244 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5245 before using in the matching pattern.
5246 Clarify that `prefix' is a regular expression.
5248 2015-08-11 Keith Seitz <keiths@redhat.com>
5250 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5252 Add tests for missing ",FMT" and ",".
5254 2015-08-10 Doug Evans <dje@google.com>
5255 Keith Seitz <keiths@redhat.com>
5258 * gdb.base/completion.exp: Add location completer tests.
5260 2015-08-07 Pedro Alves <palves@redhat.com>
5262 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5264 (top level): Run do_test with and without displaced stepping.
5266 2015-08-07 Pedro Alves <palves@redhat.com>
5268 * gdb.base/valgrind-disp-step.c: New file.
5269 * gdb.base/valgrind-disp-step.exp: New file.
5271 2015-08-07 Pedro Alves <palves@redhat.com>
5273 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5275 (main): Add alarm. Run an infinite loop instead of calling
5277 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5279 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5281 (main): Add alarm. Run an infinite loop instead of calling
5283 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5286 2015-08-07 Pedro Alves <palves@redhat.com>
5288 * gdb.base/checkpoint-ns.exp: New file.
5289 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5292 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5294 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5295 * gdb.btrace/instruction_history.exp: Update.
5296 * gdb.btrace/tsx.exp: New.
5297 * gdb.btrace/tsx.c: New.
5299 2015-08-06 Pedro Alves <palves@redhat.com>
5301 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5303 * gdb.reverse/until-precsave.exp: Bump timeouts.
5305 2015-08-06 Pedro Alves <palves@redhat.com>
5307 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5309 2015-08-06 Pedro Alves <palves@redhat.com>
5312 * gdb.threads/process-dies-while-handling-bp.c: New file.
5313 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5315 2015-08-06 Pedro Alves <palves@redhat.com>
5317 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5318 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5320 2015-08-05 Pedro Alves <palves@redhat.com>
5322 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5323 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5325 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5327 * gdb.base/bp-permanent.exp: Report test as unsupported if
5328 the target cannot stop at the permanent breakpoint.
5330 2015-08-03 Doug Evans <dje@google.com>
5332 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5335 2015-08-03 Doug Evans <dje@google.com>
5337 * Makefile.in (workers/%.worker, build-perf): New rule.
5338 (GDB_PERFTEST_MODE): New variable.
5339 (check-perf): Use it.
5340 (clean): Clean up gdb.perf parallel build subdirs.
5341 * lib/build-piece.exp: New file.
5342 * lib/gdb.exp (make_gdb_parallel_path): New function
5343 (standard_output_file, standard_temp_file): Call it.
5344 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5346 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5348 2015-08-03 Doug Evans <dje@google.com>
5350 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5351 (LOG_FILE_NAME): New global.
5352 (TextReporter.__init__): Initialize self.txt_sum.
5353 (TextReporter.report): Add support for multiple data-points.
5354 Move report to perftest.sum, put raw data in perftest.log.
5355 (TextReporter.start): Open sum and log files.
5356 (TextReporter.end): Close sum and log files.
5357 * gdb.perf/lib/perftest/testresult.py
5358 (SingleStatisticTestResult.record): Handle multiple data-points.
5360 2015-07-31 Pedro Alves <palves@redhat.com>
5362 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5363 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5364 kill_wait_spawned_process instead of explicit "kill -9".
5365 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5366 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5367 kill_wait_spawned_process.
5368 * gdb.base/attach-twice.exp: Likewise.
5369 * gdb.base/attach.exp: Likewise.
5370 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5372 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5373 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5374 kill_wait_spawned_process.
5375 * gdb.base/valgrind-infcall.exp: Likewise.
5376 * gdb.multi/multi-attach.exp: Likewise.
5377 * gdb.python/py-prompt.exp: Likewise.
5378 * gdb.python/py-sync-interp.exp: Likewise.
5379 * gdb.server/ext-attach.exp: Likewise.
5380 * gdb.threads/attach-into-signal.exp (corefunc): Use
5381 spawn_wait_for_attach, spawn_id_get_pid and
5382 kill_wait_spawned_process.
5383 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5384 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5385 spawn_id_get_pid and kill_wait_spawned_process.
5386 * gdb.threads/attach-stopped.exp (corefunc): Use
5387 spawn_wait_for_attach, spawn_id_get_pid and
5388 kill_wait_spawned_process.
5389 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5390 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5391 kill_wait_spawned_process instead of explicit "kill -9".
5392 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5393 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5394 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5395 processes. Don't map cygwin/windows pids here. Now returns a
5398 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5400 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5401 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5404 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5406 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5408 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5411 2014-05-21 Mark Wielaard <mjw@redhat.com>
5413 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5415 2015-07-30 Pedro Alves <palves@redhat.com>
5417 * linux-low.c (handle_extended_wait): Set the child's last
5418 reported status to TARGET_WAITKIND_STOPPED.
5420 2015-07-30 Pedro Alves <palves@redhat.com>
5423 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5424 only shows inferior 1.
5426 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5427 Pedro Alves <palves@redhat.com>
5430 * gdb.threads/fork-plus-threads.c: New file.
5431 * gdb.threads/fork-plus-threads.exp: New file.
5433 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5435 * gdb.base/batch-preserve-term-settings.exp
5436 (test_terminal_settings_preserved_after_cli_exit): Use
5439 2015-07-29 Pedro Alves <palves@redhat.com>
5440 Don Breazeal <donb@codesourcery.com>
5442 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5443 output from both inferior_spawn_id and gdb_spawn_id.
5445 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5447 * gdb.threads/attach-into-signal.exp (corefunc): Use
5448 with_test_prefix on nested loops, uniquefying the test messages.
5450 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5452 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5455 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5457 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5459 (test_terminal_settings_preserved_after_sigterm): New test.
5461 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5463 * gdb.base/batch-preserve-term-settings.exp
5464 (test_terminal_settings_preserved_after_cli_exit): New test.
5466 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5468 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5469 manipulation of saved_gdbflags.
5470 (test_terminal_settings_preserved): Remove global declaration of
5471 the unused variable pagination_prompt. Remove manipulation of
5472 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5475 2015-07-29 Pedro Alves <palves@redhat.com>
5477 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5479 2015-07-29 Pedro Alves <palves@redhat.com>
5481 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5484 2015-07-29 Pedro Alves <palves@redhat.com>
5486 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5487 (main): Call gdb_unbuffer_output.
5488 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5489 (main): Call gdb_unbuffer_output.
5490 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5491 (main): Call gdb_unbuffer_output.
5492 * gdb.base/call-strs.exp: Adjust to step over the
5493 gdb_unbuffer_output call.
5494 * gdb.base/catch-gdb-caused-signals.c: Include
5495 "../lib/unbuffer_output.c".
5496 (main): Call gdb_unbuffer_output.
5497 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5498 (main): Call gdb_unbuffer_output.
5499 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5500 (main): Call gdb_unbuffer_output.
5501 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5502 (main): Call gdb_unbuffer_output.
5503 * gdb.base/shlib-call.exp: Adjust to step over the
5504 gdb_unbuffer_output call.
5505 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5506 (main): Call gdb_unbuffer_output.
5507 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5508 (main): Call gdb_unbuffer_output.
5509 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5510 (main): Rename to ...
5512 (main): Reimplement.
5513 * gdb.base/varargs.exp: Run to test instead of to main.
5514 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5515 (main): Call gdb_unbuffer_output.
5517 2015-07-29 Pedro Alves <palves@redhat.com>
5519 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5520 factore out from mi_continue_dprintf. For call-style dprintfs,
5521 expect dprintf output out of $inferior_spawn_id.
5522 (mi_continue_dprintf): Use mi_expect_dprintf.
5523 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5524 (main): Call gdb_unbuffer_output.
5526 2015-07-29 Pedro Alves <palves@redhat.com>
5528 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5529 (default_mi_gdb_start): Set inferior_spawn_id instead of
5530 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5532 (mi_gdb_test): Always expect inferior output from both
5533 $inferior_spawn_id and $gdb_spawn_id.
5535 2015-07-29 Pedro Alves <palves@redhat.com>
5537 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5538 send_inferior and $inferior_spawn_id.
5540 2015-07-29 Pedro Alves <palves@redhat.com>
5542 * gdb.gdb/complaints.exp (test_initial_complaints)
5543 (test_serial_complaints, test_short_complaints): Use
5545 (test_empty_complaint): Handle $inferior_spawn_id !=
5548 2015-07-29 Pedro Alves <palves@redhat.com>
5550 * gdb.base/varargs.exp: Use gdb_test_stdio.
5552 2015-07-29 Pedro Alves <palves@redhat.com>
5554 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5556 2015-07-29 Pedro Alves <palves@redhat.com>
5558 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5560 2015-07-29 Pedro Alves <palves@redhat.com>
5562 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5563 parameter into two new parameters, "inf_result" and "gdb_result".
5564 Expect inferior output and gdb output from $inferior_spawn_id and
5565 $gdb_spawn_id, respectively. Adjust all callers.
5567 2015-07-29 Pedro Alves <palves@redhat.com>
5569 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5570 of gdb_test_sequence.
5572 2015-07-29 Pedro Alves <palves@redhat.com>
5574 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5575 (saw_spurious_output): Expect inferior output from
5576 $inferior_spawn_id. Use gdb_test_stdio.
5578 2015-07-29 Pedro Alves <palves@redhat.com>
5580 * gdb.base/dprintf.exp: Use standard_testfile. Change
5581 prepare_for_testing call.
5582 (srcfile): Don't set.
5583 (restart): New procedure.
5584 (test_dprintf): New procecure, use to continue over dprintfs.
5585 (test_call, test_agent): New procedures, tests moved here.
5586 Restart gdb and recreate dprintfs. Adjust expected output.
5588 2015-07-29 Pedro Alves <palves@redhat.com>
5590 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5592 2015-07-29 Pedro Alves <palves@redhat.com>
5594 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5596 2015-07-29 Pedro Alves <palves@redhat.com>
5598 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5601 2015-07-29 Pedro Alves <palves@redhat.com>
5603 * lib/gdb.exp (gdb_test_stdio): New procedure.
5605 2015-07-29 Pedro Alves <palves@redhat.com>
5607 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5609 2015-07-29 Pedro Alves <palves@redhat.com>
5611 * gdb.base/call-signal-resume.exp: Remove check for
5612 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5613 * gdb.base/unwindonsignal.exp: Likewise.
5614 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5615 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5617 2015-07-29 Pedro Alves <palves@redhat.com>
5619 * gdb.base/siginfo-addr.c (pass): New function.
5620 (handler): Call it iff si_addr is correct.
5621 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5622 Set a breakpoint at "pass" and continue to it.
5624 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5626 * gdb.python/py-objfile.exp: Make some tests have unique names.
5627 * gdb.python/py-pp-registration.exp: Likewise.
5629 2015-07-28 Pedro Alves <palves@redhat.com>
5631 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5633 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5635 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5637 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5639 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5641 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5643 * gdb.base/gdb-sigterm-2.exp: New test.
5645 2015-07-25 Doug Evans <xdje42@gmail.com>
5648 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5649 (workers/%.worker, build-perf): New rule.
5650 (GDB_PERFTEST_MODE): New variable.
5651 (check-perf): Use it.
5652 (clean): Clean up gdb.perf parallel build subdirs.
5653 * lib/build-piece.exp: New file.
5654 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5655 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5657 (standard_temp_file): Ditto.
5658 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5661 2015-07-24 Doug Evans <dje@google.com>
5663 * gdb.perf/lib/perftest/utils.py: New file.
5664 * gdb.perf/gm-hello.cc: New file.
5665 * gdb.perf/gm-pervasive-typedef.cc: New file.
5666 * gdb.perf/gm-pervasive-typedef.h: New file.
5667 * gdb.perf/gm-std.cc: New file.
5668 * gdb.perf/gm-std.h: New file.
5669 * gdb.perf/gm-use-cerr.cc: New file.
5670 * gdb.perf/gm-utils.h: New file.
5671 * gdb.perf/gmonster-null-lookup.py: New file.
5672 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5673 * gdb.perf/gmonster-print-cerr.py: New file.
5674 * gdb.perf/gmonster-ptype-string.py: New file.
5675 * gdb.perf/gmonster-runto-main.py: New file.
5676 * gdb.perf/gmonster-select-file.py: New file.
5677 * gdb.perf/gmonster1-null-lookup.exp: New file.
5678 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5679 * gdb.perf/gmonster1-print-cerr.exp: New file.
5680 * gdb.perf/gmonster1-ptype-string.exp: New file.
5681 * gdb.perf/gmonster1-runto-main.exp: New file.
5682 * gdb.perf/gmonster1-select-file.exp: New file.
5683 * gdb.perf/gmonster1.cc: New file.
5684 * gdb.perf/gmonster1.exp: New file.
5685 * gdb.perf/gmonster2-null-lookup.exp: New file.
5686 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5687 * gdb.perf/gmonster2-print-cerr.exp: New file.
5688 * gdb.perf/gmonster2-ptype-string.exp: New file.
5689 * gdb.perf/gmonster2-runto-main.exp: New file.
5690 * gdb.perf/gmonster2-select-file.exp: New file.
5691 * gdb.perf/gmonster2.cc: New file.
5692 * gdb.perf/gmonster2.exp: New file.
5694 2015-07-24 Doug Evans <dje@google.com>
5696 * gdb.perf/README: New file.
5697 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5698 * lib/gen-perf-test.exp: New file.
5700 2015-07-24 Doug Evans <dje@google.com>
5702 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5703 (PerfTest::startup): New function.
5704 (PerfTest::run): Return result of calling body.
5705 (PerfTest::assemble): Rewrite.
5706 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5707 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5708 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5709 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5710 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5712 2015-07-24 Doug Evans <dje@google.com>
5714 * lib/gdb.exp (clean_restart): Make executable optional.
5716 2015-07-24 Doug Evans <dje@google.com>
5718 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5719 compiler_info references.
5720 * gdb.cp/temargs.exp: Ditto.
5721 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5722 (get_compiler_info): Early exit if already computed. Set compiler_info
5723 to "unknown" if there was a problem.
5724 (test_compiler_info): Add function comment. Call get_compiler_info.
5726 2015-07-24 Doug Evans <dje@google.com>
5728 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5729 (workers/%.worker, build-perf): New rule.
5730 (GDB_PERFTEST_MODE): New variable.
5731 (check-perf): Use it.
5732 (clean): Clean up gdb.perf parallel build subdirs.
5733 * lib/build-piece.exp: New file.
5734 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5735 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5737 (standard_temp_file): Ditto.
5738 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5741 2015-07-24 Doug Evans <dje@google.com>
5743 * lib/future.exp (gdb_default_target_compile): New option
5745 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5748 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5750 * gdb.base/catch-syscall.exp: Call gdb_exit before
5753 2015-07-24 Pedro Alves <palves@redhat.com>
5755 * gdb.python/py-events.exp: Accept output between the stop event
5757 * gdb.python/py-evsignal.exp: Likewise.
5758 * gdb.python/py-evthreads.exp: Likewise.
5760 2015-07-24 Pedro Alves <palves@redhat.com>
5763 * gdb.threads/non-ldr-exit.c: New file.
5764 * gdb.threads/non-ldr-exit.exp: New file.
5766 2015-07-24 Yao Qi <yao.qi@linaro.org>
5768 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5771 2015-07-24 Yao Qi <yao.qi@linaro.org>
5773 * gdb.server/ext-restart.exp: New file.
5775 2015-07-24 Yao Qi <yao.qi@linaro.org>
5777 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5779 * gdb.server/ext-wrapper.exp: New file.
5781 2015-07-23 Doug Evans <dje@google.com>
5783 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5784 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5786 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5788 * gdb.ada/var_arr_typedef.exp: New testcase.
5789 * gdb.ada/var_arr_typedef/pack.adb: New file.
5790 * gdb.ada/var_arr_typedef/pack.ads: New file.
5791 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5793 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5795 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5797 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5799 * gdb.arch/i386-biarch-core.exp: Replace istarget
5800 by "complete set gnutarget". Remove expectation for the "core-file"
5803 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5805 Revert the previous commit:
5806 Tests for validate symbol file using build-id.
5808 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5810 Tests for validate symbol file using build-id.
5811 * gdb.base/solib-mismatch-lib.c: New file.
5812 * gdb.base/solib-mismatch-libmod.c: New file.
5813 * gdb.base/solib-mismatch.c: New file.
5814 * gdb.base/solib-mismatch.exp: New file.
5816 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5818 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5820 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5821 * gdb.base/siginfo.exp: Likewise.
5822 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5824 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5826 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5828 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5830 * gdb.trace/range-stepping.exp: Check that the target supports
5833 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5835 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5837 2015-07-14 Pedro Alves <palves@redhat.com>
5839 * gdb.base/killed-outside.exp: New file.
5840 * gdb.base/killed-outside.c: New file.
5842 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5844 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5846 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5848 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5850 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5851 infcall tests instead of setting up for KFAIL.
5853 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5855 * gdb.btrace/record_goto-step.exp: New.
5857 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5860 * gdb.compile/compile.c (struct struct_type): Add volatile to
5862 * gdb.compile/compile.exp
5863 (compile code struct_object.selffield = &struct_object): Skip further
5864 struct_object tests if this one xfails.
5866 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5869 * gdb.trace/ax.exp: Add test.
5871 2015-07-07 Yao Qi <yao.qi@linaro.org>
5873 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
5874 instead of istarget "aarch64*-*-*".
5875 * gdb.arch/aarch64-fp.exp: Likewise.
5876 * gdb.base/float.exp: Likewise.
5877 * gdb.reverse/aarch64.exp: Likewise.
5878 * lib/gdb.exp (is_aarch64_target): New proc.
5880 2015-07-07 Yao Qi <yao.qi@linaro.org>
5882 * lib/gdb.exp (is_aarch32_target): New proc.
5883 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
5884 instead of "istarget "arm*-*-*"".
5885 * gdb.arch/arm-disp-step.exp: Likewise.
5886 * gdb.arch/thumb-bx-pc.exp: Likewise.
5887 * gdb.arch/thumb-prologue.exp: Likewise.
5888 * gdb.arch/thumb-singlestep.exp: Likewise.
5889 * gdb.base/disp-step-syscall.exp: Likewise.
5890 * gdb.base/float.exp: Likewise.
5892 2015-07-07 Yao Qi <yao.qi@linaro.org>
5894 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
5895 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
5897 2015-07-07 Yao Qi <yao.qi@linaro.org>
5899 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
5900 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
5902 * gdb.multi/multi-arch.exp: Likewise.
5904 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
5906 * gdb.python/py-lazy-string.exp: Add missing parentheses to
5909 2015-07-07 Yao Qi <yao.qi@linaro.org>
5911 * gdb.arch/thumb-singlestep.exp: Do one more single step.
5913 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
5915 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
5916 '[' and ']' characters.
5918 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
5920 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5922 2015-06-29 Pedro Alves <palves@redhat.com>
5925 * gdb.threads/hand-call-new-thread.c: New file.
5926 * gdb.threads/hand-call-new-thread.c: New file.
5928 2015-06-26 Keith Seitz <keiths@redhat.com>
5929 Doug Evans <dje@google.com>
5932 * gdb.cp/var-tag-2.cc: New file.
5933 * gdb.cp/var-tag-3.cc: New file.
5934 * gdb.cp/var-tag-4.cc: New file.
5935 * gdb.cp/var-tag.cc: New file.
5936 * gdb.cp/var-tag.exp: New file.
5938 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5940 * gdb.base/history-duplicates.exp: New test.
5942 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5944 * gdb.base/completion.exp: Test the completion of the "focus"
5947 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5949 * gdb.arch/amd64-prologue-skip.S: New file.
5950 * gdb.arch/amd64-prologue-skip.exp: New file.
5952 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5954 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5955 is_address_zero_readable check.
5957 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5959 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5960 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5962 2015-06-24 Yao Qi <yao.qi@linaro.org>
5964 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5967 2015-06-24 Yao Qi <yao.qi@linaro.org>
5969 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5970 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5971 * gdb.base/siginfo-thread.exp: Likewise.
5973 2015-06-22 Yao Qi <yao.qi@linaro.org>
5975 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5977 2015-06-22 Yao Qi <yao.qi@linaro.org>
5979 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5981 (skip_hw_watchpoint_tests): Likewise.
5983 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5985 * gdb.base/gdbinit-history.exp: Test the interaction between
5986 setting GDBHISTSIZE and setting the history size via .gdbinit.
5988 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5991 * gdb.base/gdbhistsize-history.exp: New test.
5993 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5995 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5997 * gdb.base/readline.exp: Likewise.
5999 2015-06-17 Yao Qi <yao.qi@linaro.org>
6001 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6004 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6006 * gdb.base/gdbinit-history.exp: Add test case to check that
6007 an unlimited history file does not get truncated on exit.
6009 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6011 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6012 (VECTOR): New macro. Use it...
6013 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6014 ...for these typedefs.
6015 (int8, char1, int1, double1): New typedefs.
6016 (struct just_int2, struct two_int2): New structures.
6017 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6018 (add_structvecs, add_singlevecs): New functions.
6019 (main): Call add_some_intvecs twice.
6020 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6021 the compile and exit upon failure. Try compiling for the "native"
6022 architecture. Test inferior function calls with vector arguments
6023 and vector return value handling with "finish" and "return".
6025 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6027 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6028 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6030 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6032 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6034 PR breakpoints/16465
6035 * gdb.mi/mi-dprintf-pending.c: New file.
6036 * gdb.mi/mi-dprintf-pending.exp: New test.
6037 * gdb.mi/mi-dprintf-pendshr.c: New file.
6039 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6040 Mircea Gherzan <mircea.gherzan@intel.com>
6042 * gdb.arch/i386-mpx-map.c: New file.
6043 * gdb.arch/i386-mpx-map.exp: New File.
6045 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6047 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6048 * gdb.arch/i386-mpx.exp: Indentation fixed.
6050 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6052 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6053 function and improved indentation.
6054 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6055 gdb_test_multiple. Added additional tests to skip the test.
6057 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6059 * gdb.arch/i386-avx512.c: Change path in include file.
6060 * gdb.arch/i386-avx512.exp: Change include dir path
6062 * gdb.arch/i386-mpx.c: Change path in include file.
6063 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6066 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6068 * gdb.compile/compile-print.exp (compile print *vararray@3)
6069 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6071 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6073 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6074 (do not keep jit in memory): ... this.
6075 (expect 5): Change it to ...
6076 (expect no 5): ... this.
6078 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6081 * gdb.mi/mi-detach.exp: New file.
6083 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6086 * gdb.arch/amd64-tailcall-self.S: New file.
6087 * gdb.arch/amd64-tailcall-self.c: New file.
6088 * gdb.arch/amd64-tailcall-self.exp: New file.
6090 2015-05-28 Don Breazeal <donb@codesourcery.com>
6092 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6093 tests for remote targets by checking is_target_gdbserver.
6095 2015-05-27 Doug Evans <dje@google.com>
6097 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6098 * gdb.dwarf2/opaque-type-lookup.c: New file.
6099 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6101 2015-05-26 Doug Evans <dje@google.com>
6103 * gdb.cp/iostream.cc: New file.
6104 * gdb.cp/iostream.exp: New file.
6106 2015-05-26 Doug Evans <dje@google.com>
6108 * gdb.dwarf2/dw2-op-call.exp: Update.
6109 * gdb.dwarf2/dw4-sig-types.exp: Update.
6110 * gdb.dwarf2/implptr.exp: Update.
6111 * gdb.mi/mi-cmd-param-changed.exp: Update.
6113 2015-05-26 Doug Evans <dje@google.com>
6115 * gdb.python/py-lazy-string.c: New file.
6116 * gdb.python/py-lazy-string.exp: New file.
6117 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6118 (main): Update. Add estring3.
6119 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6120 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6122 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6123 Yao Qi <yao.qi@linaro.org>
6125 * gdb.reverse/aarch64.c: New.
6126 * gdb.reverse/aarch64.exp: New.
6128 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6130 * lib/gdb.exp (supports_process_record): Return true for
6132 (supports_reverse): Likewise.
6134 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6136 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6137 Use with_test_prefix.
6139 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6141 * gdb.base/completion.exp: Add test for completion of layout
6144 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6146 * lib/gdb.exp (skip_tui_tests): New proc.
6147 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6149 2015-05-19 Pedro Alves <palves@redhat.com>
6151 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6152 Save the whole env array instead of just HOME. Unset HISTSIZE in
6153 the environment while testing. Restore whole environment
6156 2015-05-16 Doug Evans <xdje42@gmail.com>
6158 * gdb.guile/scm-ports.c: New file.
6159 * gdb.guile/scm-ports.exp: Add memory port tests.
6161 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6163 * gdb.compile/compile-print.c: New file.
6164 * gdb.compile/compile-print.exp: New file.
6166 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6168 * gdb.compile/compile-ops.exp: Cast param to void.
6169 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6170 (compile code struct_object.selffield = &struct_object): Add xfail.
6172 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6174 * gdb.ada/arr_enum_with_gap: New testcase.
6176 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6178 * gdb.ada/byte_packed_arr: New testcase.
6180 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6182 * gdb.ada/pckd_neg: New testcase.
6184 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6187 * gdb.base/gdbinit-history.exp: New test.
6188 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6189 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6191 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6193 * gdb.python/py-xmethods.cc: Enhance test case.
6194 * gdb.python/py-xmethods.exp: New tests.
6195 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6197 (B_indexoper): Likewise.
6198 (global_dm_list) : Add new xmethod worker functions.
6200 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6202 * gdb.base/coredump-filter.exp: Correctly unset
6203 "coredump_var_addr" array.
6205 2015-05-08 Pedro Alves <palves@redhat.com>
6207 * gdb.server/non-existing-program.exp: Unset spawn_id.
6209 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6212 * gdb.python/py-xmethods.exp: Add tests.
6214 2015-05-08 Yao Qi <yao.qi@linaro.org>
6217 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6218 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6219 function set_coredump_filter, and remove remote_exec call.
6220 Remove argument ipid. Callers update.
6221 (top level): Don't get inferior's PID.
6223 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6225 * gdb.base/watch_thread_num.exp: Skip test on targets without
6228 2015-05-06 Pedro Alves <palves@redhat.com>
6231 * gdb.server/non-existing-program.exp: New file.
6233 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6235 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6237 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6239 * gdb.ada/out_of_line_in_inlined: New testcase.
6241 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6243 * gdb.ada/var_rec_arr: New testcase.
6245 2015-04-30 Yao Qi <yao.qi@linaro.org>
6247 * gdb.base/break-idempotent.exp: If
6248 skip_hw_watchpoint_multi_tests returns true, skip the tests
6249 on "rwatch" and "awatch".
6251 2015-04-30 Yao Qi <yao.qi@linaro.org>
6253 * gdb.base/relativedebug.exp: Invoke gdb command
6254 "info sharedlibrary", and if libc.so doesn't have debug info,
6257 2015-04-29 Doug Evans <dje@google.com>
6259 * gdb.python/py-xmethods.exp: Add ptype tests.
6260 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6261 get_result_type method.
6263 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6265 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6266 the target does not support hardware watchpoints.
6268 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6270 * gdb.base/break-always.exp: Abort testing if writing to memory
6273 2015-04-28 Doug Evans <dje@google.com>
6275 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6276 * gdb.python/py-pp-registration.exp: ... here. New file.
6277 * gdb.python/py-pp-registration.c: New file.
6278 * gdb.python/py-pp-registration.py: New file.
6280 2015-04-28 Doug Evans <dje@google.com>
6282 * gdb.python/py-bad-printers.c: New file.
6283 * gdb.python/py-bad-printers.py: New file.
6284 * gdb.python/py-bad-printers.exp: New file.
6286 2015-04-28 Sasha Smundak <asmundak@google.com>
6288 * gdb.python/py-type.exp: New test.
6290 2015-04-28 Andy Wingo <wingo@igalia.com>
6292 * gdb.python/py-parameter.exp:
6293 * gdb.guile/scm-parameter.exp: Escape the path that we are
6294 matching against, as it might contain characters that are special
6295 to regular expressions.
6297 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6299 * gdb.ada/rec_comp: New testcase.
6301 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6303 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6306 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6308 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6309 new tests for verilog output.
6311 2015-04-24 Yao Qi <yao.qi@linaro.org>
6313 * boards/remote-gdbserver-on-localhost.exp: New file.
6315 2015-04-23 Pedro Alves <palves@redhat.com>
6317 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6318 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6319 "end of file", remove $inferior_spawn_id from the indirect list.
6321 2015-04-23 Pedro Alves <palves@redhat.com>
6323 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6325 2015-04-23 Pedro Alves <palves@redhat.com>
6327 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6328 on $any_spawn_id instead of only on $gdb_spawn_id.
6330 2015-04-21 Pierre Muller <muller@sourceware.org>
6333 * lib/pascal.exp (gpc_compile): Add new option "class".
6334 (fpc_compile): Likewise.
6335 * gdb.pascal/case-insensitive-symbols.pas: New file.
6336 * gdb.pascal/case-insensitive-symbols.exp: New file.
6338 2015-04-20 Gary Benson <gbenson@redhat.com>
6340 * gdb.base/attach.exp: Fix three extended remote failures.
6342 2015-04-17 Gary Benson <gbenson@redhat.com>
6344 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6345 the main executable over the remote protocol.
6347 2015-04-16 Pedro Alves <palves@redhat.com>
6349 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6350 a new gdbserver if gdbserver_reconnect_p is set.
6352 2015-04-16 Pedro Alves <palves@redhat.com>
6354 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6355 is set, don't exit gdbserver.
6357 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6359 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6360 appropriate .insn, such that an older assembler can be used.
6361 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6362 the z/Architecture instruction set on 31-bit targets as well.
6364 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6366 * gdb.go/handcall.exp: Remove all logic related to the first
6367 breakpoint and rely on go_runto_main instead.
6368 * gdb.go/strings.exp: Likewise.
6369 * gdb.go/unsafe.exp: Likewise.
6370 * gdb.go/hello.exp: Likewise. Also rename the remaining
6371 breakpoint marker to "breakpoint 1".
6372 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6373 * gdb.go/strings.go: Likewise.
6374 * gdb.go/unsafe.go: Likewise.
6375 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6376 "set breakpoint 2 here" and rename the remaining breakpoint marker
6379 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6381 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6382 if itertools.imap is not present.
6383 * gdb.python/py-objfile.exp: Add parentheses.
6384 * gdb.python/py-type.exp: Same.
6385 * gdb.python/py-unwind-maint.py: Same.
6387 2015-04-15 Yao Qi <yao.qi@linaro.org>
6389 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6390 of ":$ptr_size" and set its form explicitly.
6392 2015-04-15 Pedro Alves <palves@redhat.com>
6393 Yao Qi <yao.qi@linaro.org>
6395 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6396 timeout by factor of 4.
6397 (test_regular_watch): Likewise.
6398 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6399 * gdb.reverse/sigall-reverse.exp: Likewise.
6400 * gdb.reverse/until-precsave.exp: Likewise.
6401 * lib/gdb.exp (with_timeout_factor): New proc.
6402 (gdb_expect): Move some code to ...
6403 (get_largest_timeout): ... here. New procedure.
6405 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6407 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6409 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6411 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6412 to write to the .text section.
6414 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6416 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6417 Handle the case of targets that do not provide PID information.
6419 2015-04-13 Yao Qi <yao.qi@linaro.org>
6421 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6422 and use expect instead of gdb_expect.
6424 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6426 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6427 "coredump_var_addr" to avoid naming conflict with other testcases.
6429 2015-04-10 Pedro Alves <palves@redhat.com>
6431 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6432 gdb_test_sequence and gdb_assert.
6434 2015-04-10 Pedro Alves <palves@redhat.com>
6436 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6437 test messages that don't include the breakpoint address.
6439 2015-04-10 Yao Qi <yao.qi@linaro.org>
6441 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6442 false for some offset and width combinations which aren't
6443 supported by linux kernel.
6445 2015-04-10 Pedro Alves <palves@redhat.com>
6447 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6448 procedure, factored out from ...
6449 (top level): ... here. Add "set displaced-stepping" testing axis.
6450 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6451 parameter "displaced". Use it.
6452 (top level): Use foreach and add "set displaced-stepping" testing
6455 2015-04-10 Pedro Alves <palves@redhat.com>
6457 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6459 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6460 both the address of the instruction that triggers the watchpoint
6461 and the address of the instruction immediately after, and use
6462 those addresses for the test. Fix comment.
6464 2015-04-10 Pedro Alves <palves@redhat.com>
6466 * gdb.base/sigstep.exp (breakpoint_to_handler)
6467 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6468 Test "backtrace" in handler.
6469 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6470 (top level): Add new "displaced" test axis to
6471 breakpoint_to_handler, breakpoint_to_handler_entry and
6472 breakpoint_over_handler.
6474 2015-04-10 Pedro Alves <palves@redhat.com>
6477 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6479 2015-04-10 Yao Qi <yao.qi@linaro.org>
6481 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6482 (test_add_rn_pc): New function.
6483 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6484 (top level): Invoke test_add_rn_pc.
6486 2015-04-10 Pedro Alves <palves@redhat.com>
6489 * gdb.base/step-over-no-symbols.exp: New file.
6491 2015-04-09 Andy Wingo <wingo@igalia.com>
6493 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6494 after the Python tests.
6496 2015-04-08 Keith Seitz <keiths@redhat.com>
6499 * gdb.python/py-completion.exp: New tests for completion.
6500 * gdb.python/py-completion.py (CompleteLimit1): New class.
6501 (CompleteLimit2): Likewise.
6502 (CompleteLimit3): Likewise.
6503 (CompleteLimit4): Likewise.
6504 (CompleteLimit5): Likewise.
6505 (CompleteLimit6): Likewise.
6506 (CompleteLimit7): Likewise.
6508 2015-04-08 Pedro Alves <palves@redhat.com>
6512 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6514 (main): Install it as SIGUSR1 handler.
6515 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6516 parameter. Always use "setup" as prefix. Toggle "set
6517 displaced-stepping" off/on depending on global. Don't switch to
6519 (top level): Add displaced stepping "off/on" test axis. Update
6520 "setup" calls. Wrap each subtest with with_test_prefix. Test
6521 continuing with a queued signal in each thread.
6523 2015-04-08 Pedro Alves <palves@redhat.com>
6525 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6526 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6527 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6528 Return early if running to main fails.
6529 * gdb.trace/while-stepping.exp: Likewise.
6531 2015-04-07 Pedro Alves <palves@redhat.com>
6533 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6534 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6535 interact with inferior program.
6537 2015-04-07 Pedro Alves <palves@redhat.com>
6539 * lib/gdb.exp (inferior_spawn_id): New global.
6540 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6541 spawn id after processing the user code.
6542 (default_gdb_start): Set inferior_spawn_id.
6543 (send_inferior): New procedure.
6544 * lib/gdbserver-support.exp (gdbserver_start): Set
6546 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6548 2015-04-07 Pedro Alves <palves@redhat.com>
6550 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6551 * lib/gdbserver-support.exp (gdbserver_start): Make
6552 $server_spawn_id global.
6553 (gdbserver_start): Don't wait for gdbserver's spawn id with
6555 (close_gdbserver): New procedure.
6556 (gdb_exit): Rename the default version and reimplement.
6558 2015-04-07 Pedro Alves <palves@redhat.com>
6560 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6561 append the substituted item, not the original item.
6563 2015-04-07 Pedro Alves <palves@redhat.com>
6565 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6568 2015-04-07 Pedro Alves <palves@redhat.com>
6570 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6571 output appearing once only.
6573 2015-04-07 Pedro Alves <palves@redhat.com>
6575 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6576 that doesn't expect anything. Return early if running to main
6579 2015-04-07 Yao Qi <yao.qi@linaro.org>
6581 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6582 (child_function): Call alarm.
6583 (main): Move call to alarm into the loop.
6584 * gdb.threads/non-stop-fair-events.exp: Build program with
6587 2015-04-06 Doug Evans <xdje42@gmail.com>
6589 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6590 Fix dest parameter to board_info.
6591 (fpc_compile): Ditto.
6592 (gdb_compile_pascal): Rename dest arg to destfile.
6594 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6596 * gdb.ada/funcall_ref.exp: New file.
6597 * gdb.ada/funcall_ref/foo.adb: New file.
6599 2015-04-02 Yao Qi <yao.qi@linaro.org>
6601 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6604 2015-04-02 Gary Benson <gbenson@redhat.com>
6606 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6608 2015-04-01 Sasha Smundak <asmundak@google.com>
6610 * gdb.python/py-unwind-maint.c: New file.
6611 * gdb.python/py-unwind-maint.exp: New test.
6612 * gdb.python/py-unwind-maint.py: New file.
6613 * gdb.python/py-unwind.c: New file.
6614 * gdb.python/py-unwind.exp: New test.
6615 * gdb.python/py-unwind.py: New test.
6617 2015-04-01 Pedro Alves <palves@redhat.com>
6619 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6620 to fail instead of non-existent $test.
6622 2015-04-01 Pedro Alves <palves@redhat.com>
6624 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6625 GDBFLAGS if not empty.
6627 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6629 * gdb.ada/complete.exp: Remove "multi_line".
6630 * gdb.ada/info_exc.exp: Remove "multi_line".
6631 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6632 * gdb.ada/ptype_field.exp: Remove "multi_line".
6633 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6634 * gdb.ada/tagged.exp: Remove "multi_line".
6635 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6637 * gdb.btrace/delta.exp: Likewise.
6638 * gdb.btrace/exception.exp: Likewise.
6639 * gdb.btrace/function_call_history.exp: Likewise.
6640 * gdb.btrace/instruction_history.exp: Likewise.
6641 * gdb.btrace/nohist.exp: Likewise.
6642 * gdb.btrace/record_goto.exp: Likewise.
6643 * gdb.btrace/segv.exp: Likewise.
6644 * gdb.btrace/stepi.exp: Likewise.
6645 * gdb.btrace/tailcall.exp: Likewise.
6646 * gdb.btrace/unknown_functions.exp: Likewise.
6647 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6648 * lib/gdb.exp: Add the "multi_line" helper.
6650 2015-04-01 Pedro Alves <palves@redhat.com>
6652 * gdb.threads/tid-reuse.c: New file.
6653 * gdb.threads/tid-reuse.exp: New file.
6655 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6658 * gdb.base/coredump-filter.c: New file.
6659 * gdb.base/coredump-filter.exp: Likewise.
6661 2015-03-27 Petr Machata <pmachata@redhat.com>
6663 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6664 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6665 (Dwarf::assemble): Initialize them.
6666 (Dwarf::lines): New function.
6668 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6670 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6671 SYMBOL_PREFIX for x86_64-*-cygwin.
6673 2015-03-26 Andy Wingo <wingo@igalia.com>
6676 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6677 const_value but not a location.
6678 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6679 location defined in non-main CUs are visible.
6681 2015-03-26 Yao Qi <yao.qi@linaro.org>
6684 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6685 Add a line number entry for the same line.
6686 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6687 Add a line number entry for the same line.
6689 2015-03-26 Yao Qi <yao.qi@linaro.org>
6691 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6693 (func): Likewise. Add .Lfunc_1 label.
6695 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6700 2015-03-26 Yao Qi <yao.qi@linaro.org>
6702 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6703 Call gdb_compile instead to compile each .s files without debug
6706 2015-03-26 Yao Qi <yao.qi@linaro.org>
6708 * gdb.base/savedregs.exp (process_saved_regs): Make
6709 "Saved registers:" optional in the pattern.
6711 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6713 * gdb.btrace/next.exp: Merged into step.exp.
6714 * gdb.btrace/finish.exp: Merged into step.exp.
6715 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6716 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6717 "record goto" and checking the exact replay position.
6718 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6719 check for "Recording format" in "info record" output.
6720 * gdb.btrace/record_goto.exp: Choose test file based on target.
6721 * gdb.btrace/x86-record_goto.S: Renamed into ...
6722 * gdb.btrace/x86_64-record_goto.S: ... this.
6723 * gdb.btrace/i686-record_goto.S: New.
6724 * gdb.btrace/x86-tailcall.S: Renamed into ...
6725 * gdb.btrace/x86_64-tailcall.S: ... this.
6726 * gdb.btrace/i686-tailcall.S: New.
6727 * gdb.btrace/x86-tailcall.c: Renamed into ...
6728 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6729 separate statements. Update test.
6730 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6731 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6732 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6733 * gdb.btrace/tailcall.exp: Choose test file based on target.
6734 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6736 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6738 * gdb.btrace/exception.exp: Increase BTS buffer size.
6740 2015-03-24 Pedro Alves <palves@redhat.com>
6742 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6744 2015-03-24 Pedro Alves <palves@redhat.com>
6746 * gdb.threads/schedlock.exp (test_step): No longer expect that
6747 "set scheduler-locking step" with "next" over a function call runs
6750 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6752 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6754 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6756 PR breakpoints/16466
6757 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6758 * gdb.mi/mi-pending.c (thread_func): New function.
6759 (int main): Add threading support required.
6760 * gdb.mi/mi-pending.exp: Add tests for this issue.
6761 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6762 (pendfunc2): Remove stdio dependency.
6763 * gdb.mi/mi-pendshr2.c: New file.
6765 2015-03-23 Keith Seitz <keiths@redhat.com>
6767 * gdb.linespec/keywords.c: New file.
6768 * gdb.linespec/keywords.exp: New file.
6770 2015-03-23 Keith Seitz <keiths@redhat.com>
6773 * gdb.dwarf2/staticvirtual.exp: New test.
6775 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6777 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6778 * README: Remove HP-UX and gdb.hp.
6780 * configure: Regenerate.
6781 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6782 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6783 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6784 gdb.hp/gdb.defects/Makefile.
6785 * gdb.hp/Makefile.in: File deleted.
6786 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6787 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6788 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6789 * gdb.hp/gdb.aCC/run.c: File deleted.
6790 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6791 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6792 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6793 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6794 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6795 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6796 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6797 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6798 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6799 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6800 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6801 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6802 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6803 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6804 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6805 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6806 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6807 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6808 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6809 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6810 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6811 * gdb.hp/gdb.compat/average.c: File deleted.
6812 * gdb.hp/gdb.compat/sum.c: File deleted.
6813 * gdb.hp/gdb.compat/xdb.c: File deleted.
6814 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6815 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6816 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6817 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6818 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6819 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6820 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6821 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6822 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6823 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6824 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6825 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6826 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6827 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6828 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6829 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6830 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6831 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6832 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6833 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6834 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6835 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6836 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6837 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6838 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6839 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6840 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6841 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6842 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6843 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6844 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6845 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6846 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6847 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6848 * gdb.hp/tools/odump: File deleted.
6850 2015-03-19 Pedro Alves <palves@redhat.com>
6852 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6853 (saw_thread_3): New globals.
6854 (top level): Increment them when an event for the corresponding
6856 (no thread starvation): New test.
6858 2015-03-19 Pedro Alves <palves@redhat.com>
6860 * gdb.threads/continue-pending-status.c: New file.
6861 * gdb.threads/continue-pending-status.exp: New file.
6863 2015-03-18 Pedro Alves <palves@redhat.com>
6865 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6866 Use gdb_is_target_remote instead of is_remote. Use
6867 gdb_test_multiple instead of gdb_expect. Exit early if
6868 gdb_test_multiple hits its internal matches. Tighten stepi tests
6869 expected output. Fail on exit with any signal, instead of just
6872 2015-03-18 Yao Qi <yao.qi@linaro.org>
6875 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
6877 * gdb.base/catch-syscall.exp: Don't skip it on
6878 aarch64*-*-linux* target. Remove elements in all_syscalls.
6879 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
6881 (setup_all_syscalls): New proc.
6883 2015-03-16 Yao Qi <yao.qi@linaro.org>
6885 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
6886 (top level): Skip tests if valid_addr_p returns false for
6889 2015-03-11 Andy Wingo <wingo@igalia.com>
6891 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
6893 2015-03-11 Yao Qi <yao.qi@linaro.org>
6895 * gdb.base/catch-syscall.exp: Fix typo in comments.
6897 2015-03-11 Yao Qi <yao.qi@linaro.org>
6899 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
6901 2015-03-09 Pedro Alves <palves@redhat.com>
6903 * dg-extract-results.py: Delete.
6905 2015-03-09 Pedro Alves <palves@redhat.com>
6907 Merge dg-extract-results.sh from GCC upstream (r218843).
6909 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
6910 * dg-extract-results.sh: Use --text with grep to avoid issues with
6911 binary files. Fall back to cat -v, if that doesn't work.
6913 2015-03-05 Pedro Alves <palves@redhat.com>
6915 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
6917 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
6919 * lib/mi-support.exp (mi_expect_interrupt): Accept
6920 alternative event for when in all-stop mode.
6922 2015-03-04 Pedro Alves <palves@redhat.com>
6924 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
6926 2015-03-04 Mark Kettenis <kettenis@gnu.org>
6928 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
6930 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6932 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6933 regexps for GDB's current line display, accept a hex address
6934 preceding the line number.
6936 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6938 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6939 the 'arch1' variable for "s390*-linux*" targets.
6941 2015-03-04 Pedro Alves <palves@redhat.com>
6943 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6944 (main): Pass missing retval argument to pthread_join call.
6946 2015-03-02 Pedro Alves <palves@redhat.com>
6948 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6949 (top level): Call do_test with non-stop as well.
6951 2015-03-02 Pedro Alves <palves@redhat.com>
6953 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6956 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6958 * gdb.arch/s390-vregs.exp: New test.
6959 * gdb.arch/s390-vregs.S: New file.
6961 2015-02-27 Pedro Alves <palves@redhat.com>
6963 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6964 call to catch_command_errors.
6965 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6966 catch_command_errors.
6968 2015-02-27 Pedro Alves <palves@redhat.com>
6970 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6971 "true" for boolean result.
6972 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6975 2015-02-27 Pedro Alves <palves@redhat.com>
6977 * lib/unbuffer_output.c: New file.
6978 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6979 (main): Call gdb_unbuffer_output.
6981 2015-02-27 Yao Qi <yao.qi@linaro.org>
6983 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6986 2015-02-26 Doug Evans <dje@google.com>
6988 * gdb.cp/class2.cc (Dbase, D): New classes.
6989 (main): New local delta.
6990 * gdb.cp/class2.exp: Test printing delta.
6991 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6992 (dynbar): New global.
6993 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6995 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6997 * gdb.compile/compile-ifunc.c: New file.
6998 * gdb.compile/compile-ifunc.exp: New file.
7000 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7002 * gdb.base/structs.exp: Check for correct struct on finish.
7004 2015-02-26 Yao Qi <yao.qi@linaro.org>
7006 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7009 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7011 * gdb.arch/cordic.ko.bz2: New file.
7012 * gdb.arch/cordic.ko.debug.bz2: New file.
7013 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7015 2015-02-25 Yao Qi <yao.qi@linaro.org>
7017 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7018 aarch64*-*-* target.
7020 2015-02-23 Pedro Alves <palves@redhat.com>
7022 * lib/gdb.exp (delete_breakpoints): Rewrite using
7025 2015-02-23 Pedro Alves <palves@redhat.com>
7027 * gdb.base/info-os.c: Include stdlib.h.
7029 2015-02-22 Doug Evans <xdje42@gmail.com>
7032 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7033 is read after symbols have been re-read.
7034 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7035 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7037 2015-02-21 Doug Evans <dje@google.com>
7039 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7041 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7044 * gdb.arch/i386-biarch-core.core.bz2: New file.
7045 * gdb.arch/i386-biarch-core.exp: New file.
7047 2015-02-21 Pedro Alves <palves@redhat.com>
7049 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7052 2015-02-20 Pedro Alves <palves@redhat.com>
7054 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7057 2015-02-20 Pedro Alves <palves@redhat.com>
7059 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7061 2015-02-20 Pedro Alves <palves@redhat.com>
7063 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7064 clean_restart before gdb_target_supports_trace.
7066 2015-02-20 Pedro Alves <palves@redhat.com>
7069 * gdb.threads/clone-thread_db.c: New file.
7070 * gdb.threads/clone-thread_db.exp: New file.
7072 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7074 PR breakpoints/16812
7075 * gdb.base/catch-gdb-caused-signals.c: New file.
7076 * gdb.base/catch-gdb-caused-signals.exp: New file.
7078 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7080 * configure: Regenerated.
7081 * configure.ac: Use GDB_AC_TRANSFORM.
7082 * aclocal.m4: sinclude ../transform.m4.
7084 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7086 * lib/dtrace.exp: New file.
7087 * gdb.base/dtrace-probe.exp: Likewise.
7088 * gdb.base/dtrace-probe.d: Likewise.
7089 * gdb.base/dtrace-probe.c: Likewise.
7090 * lib/pdtrace.in: Likewise.
7091 * configure.ac: Output variables with the transformed names of
7092 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7093 * configure: Regenerated.
7095 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7097 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7098 expected message when trying to access $_probe_* convenience
7099 variables while not on a probe.
7101 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7103 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7105 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7107 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7108 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7110 2015-02-10 Doug Evans <xdje42@gmail.com>
7112 * lib/gdb.exp (gdb_load): Always return a result.
7114 2015-02-10 Pedro Alves <palves@redhat.com>
7116 * gdb.threads/signal-sigtrap.c: New file.
7117 * gdb.threads/signal-sigtrap.exp: New file.
7119 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7121 * gdb.trace/no-attach-trace.c: New file.
7122 * gdb.trace/no-attach-trace.exp: New file.
7124 2015-02-09 Mark Wielaard <mjw@redhat.com>
7126 * gdb.dwarf2/atomic.c: New file.
7127 * gdb.dwarf2/atomic-type.exp: Likewise.
7129 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7131 * gdb.btrace/buffer-size.exp: Update "info record" output.
7132 * gdb.btrace/delta.exp: Update "info record" output.
7133 * gdb.btrace/enable.exp: Update "info record" output.
7134 * gdb.btrace/finish.exp: Update "info record" output.
7135 * gdb.btrace/instruction_history.exp: Update "info record" output.
7136 * gdb.btrace/next.exp: Update "info record" output.
7137 * gdb.btrace/nexti.exp: Update "info record" output.
7138 * gdb.btrace/step.exp: Update "info record" output.
7139 * gdb.btrace/stepi.exp: Update "info record" output.
7140 * gdb.btrace/nohist.exp: Update "info record" output.
7142 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7144 * gdb.btrace/buffer-size: New.
7146 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7148 * gdb.btrace/delta.exp: Update "info record" output.
7149 * gdb.btrace/enable.exp: Update "info record" output.
7150 * gdb.btrace/finish.exp: Update "info record" output.
7151 * gdb.btrace/instruction_history.exp: Update "info record" output.
7152 * gdb.btrace/next.exp: Update "info record" output.
7153 * gdb.btrace/nexti.exp: Update "info record" output.
7154 * gdb.btrace/step.exp: Update "info record" output.
7155 * gdb.btrace/stepi.exp: Update "info record" output.
7156 * gdb.btrace/nohist.exp: Update "info record" output.
7158 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7161 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7163 2015-02-06 Pedro Alves <palves@redhat.com>
7165 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7167 (seconds_left, again): New globals.
7168 (main): Wait seconds_left in a 1-second sleep loop instead of
7169 sleeping 180 seconds. If 'again' is set, reset the seconds
7171 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7172 'again' in the inferior before detaching. Print the seconds left.
7173 (options): New global.
7174 (top level): Build program with -DTIMEOUT=$timeout.
7176 2015-02-06 Pedro Alves <palves@redhat.com>
7178 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7179 determine how many seconds to pass to 'alarm'.
7180 * gdb.base/gdb-sigterm.exp (top level): Build program with
7182 (do_test): Return success/failure indication. Add more verbose
7183 logging. Don't fail if 200 single steps are seen. Instead, fail
7184 when the test times out.
7185 (passes): New global.
7186 (top level): Break the testing loop if testing fails on any
7187 iteration. Use gdb_assert.
7189 2015-02-04 Don Breazeal <donb@codesourcery.com>
7191 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7192 and initialize them.
7193 (ipc_cleanup): New function.
7194 (main): Don't declare shmid, semid, and msqid. Add a call to
7195 atexit so that we call ipc_cleanup on exit.
7197 2015-02-04 Pedro Alves <palves@redhat.com>
7199 * boards/native-extended-gdbserver.exp: Remove any target variant
7200 specifications from the board name before clearing the isremote
7201 flag from board_info.
7203 2015-01-31 Doug Evans <xdje42@gmail.com>
7205 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7207 2015-01-31 Gary Benson <gbenson@redhat.com>
7209 * gdb.base/completion.exp: Disable completion limiting for
7210 existing tests. Add new tests to check completion limiting.
7211 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7213 2015-01-31 Doug Evans <xdje42@gmail.com>
7215 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7217 2015-01-31 Doug Evans <xdje42@gmail.com>
7219 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7220 entries. Duplicate file section script entries.
7221 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7222 inlined entries. Add test for safe-path rejection.
7223 * gdb.python/py-section-script.c: Add duplicate inlined section script
7224 entries. Duplicate file section script entries.
7225 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7226 inlined entries. Add test for safe-path rejection.
7228 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7230 * gdb.ada/disc_arr_bound: New testcase.
7232 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7234 * gdb.ada/mi_var_array: New testcase.
7236 2015-01-27 Doug Evans <dje@google.com>
7238 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7239 Add test for objfile.filename, objfile.username after objfile
7242 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7244 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7245 the second test to print the name attribute of value
7246 returned by the call to gdb.lookup_type, and adjust
7247 the expected output accordingly.
7249 2015-01-25 Mark Wielaard <mjw@redhat.com>
7251 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7252 * gdb.base/disp-step-fork.c: Include unistd.h.
7253 * gdb.base/siginfo-obj.c: Include stdio.h.
7254 * gdb.base/siginfo-thread.c: Likewise.
7255 * gdb.mi/non-stop.c: Include unistd.h.
7256 * gdb.mi/nsthrexec.c: Include stdio.h.
7257 * gdb.mi/pthreads.c: Include unistd.h.
7258 * gdb.modula2/unbounded1.c (main): Declare returns int.
7259 * gdb.reverse/consecutive-reverse.c: Likewise.
7260 * gdb.threads/create-fail.c: Include unistd.h.
7261 * gdb.threads/killed.c: Likewise.
7262 * gdb.threads/linux-dp.c: Likewise.
7263 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7264 * gdb.threads/non-ldr-exc-2.c: Likewise.
7265 * gdb.threads/non-ldr-exc-3.c: Likewise.
7266 * gdb.threads/non-ldr-exc-4.c: Likewise.
7267 * gdb.threads/pthreads.c: Include unistd.h.
7268 (main): Declare returns int.
7269 * gdb.threads/tls-main.c (foo): New declaration.
7270 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7272 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7274 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7275 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7277 2015-01-15 Mark Wielaard <mjw@redhat.com>
7279 * gdb.base/noreturn-return.c: New file.
7280 * gdb.base/noreturn-return.exp: New file.
7281 * gdb.base/noreturn-finish.c: New file.
7282 * gdb.base/noreturn-finish.exp: New file.
7284 2015-01-23 Pedro Alves <palves@redhat.com>
7286 * gdb.threads/continue-pending-after-query.c: New file.
7287 * gdb.threads/continue-pending-after-query.exp: New file.
7289 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7290 Simon Marchi <simon.marchi@ericsson.com>
7292 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7293 * gdb.base/valgrind-db-attach.exp: Same.
7294 * gdb.base/valgrind-infcall.exp: Same.
7295 * lib/mi-support.exp (default_mi_gdb_start): Same.
7296 * lib/prompt.exp (default_prompt_gdb_start): Same.
7297 * lib/gdb.exp (default_gdb_spawn): Same.
7298 (gdb_interact): New.
7301 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7303 * gdb.compile/compile.exp (pointer to jit function): New test.
7305 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7307 * lib/gdb.exp (supports_process_record): Return true for
7309 (supports_reverse): Likewise.
7311 2015-01-15 Don Breazeal <donb@codesourcery.com>
7313 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7314 instead of checking whether the target board is remote and
7315 use spawn_wait_for_attach instead of exec/sleep.
7316 * gdb.base/attach-twice.exp: Likewise.
7318 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7320 * gdb.ada/var_arr_attrs: New testcase.
7322 2015-01-14 Pedro Alves <palves@redhat.com>
7323 Joel Brobecker <brobecker@adacore.com>
7326 * gdb.base/bp-cmds-execution-x-script.c: New file.
7327 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7328 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7330 2015-01-14 Pedro Alves <palves@redhat.com>
7333 * gdb.base/batch-preserve-term-settings.c: New file.
7334 * gdb.base/batch-preserve-term-settings.exp: New file.
7336 2015-01-13 Doug Evans <dje@google.com>
7338 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7341 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7343 * Makefile.in (clean mostlyclean): Do not delete *.py.
7345 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7347 * gdb.python/py-lookup-type.exp: New file.
7349 2015-01-12 Pedro Alves <palves@redhat.com>
7351 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7352 restore GDBFLAGS before returning.
7354 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7356 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7357 is_amd64_regs_target and is_x86_like_target.
7359 2015-01-11 Doug Evans <xdje42@gmail.com>
7361 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7362 is given without an explicit form.
7363 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7365 * gdb.dwarf/corrupt.exp: Ditto.
7366 * gdb.dwarf2/enum-type.exp: Ditto.
7367 * gdb.trace/entry-values.exp: Ditto.
7368 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7370 2015-01-11 Doug Evans <xdje42@gmail.com>
7373 * gdb.base/maint.exp: Remove references to "maint demangle".
7374 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7375 Add tests for explicitly specifying language to demangle.
7376 * gdb.dlang/demangle.exp: Ditto.
7378 2015-01-09 Pedro Alves <palves@redhat.com>
7380 * gdb.threads/non-stop-fair-events.c: New file.
7381 * gdb.threads/non-stop-fair-events.exp: New file.
7383 2015-01-09 Pedro Alves <palves@redhat.com>
7385 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7386 the global scope. Set a breakpoint after all threads are started
7387 rather than stepping over two source lines. Expect the prompt.
7388 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7391 (main): Use threads_started_barrier to wait for all threads to
7392 start. Main thread no longer calls thread_function. Exit after
7394 (loop): New function.
7395 (thread_function): Wait on threads_started_barrier barrier. Call
7396 'loop' at each iteration.
7397 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7398 threads have started, instead of hardcoding number of "next"
7399 steps. Use an access watchpoint instead of a write watchpoint.
7401 2015-01-09 Pedro Alves <palves@redhat.com>
7403 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7404 (thread_func): Wait on barrier.
7405 (main): Wait for all threads to start before stopping GDB.
7406 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7408 (thread1_func, thread2_func): Wait on barrier.
7409 (main): Wait for all threads to start before stopping GDB.
7410 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7412 (thread1_func, thread2_func): Wait on barrier.
7413 (main): Wait for all threads to start before stopping GDB.
7415 2015-01-09 Pedro Alves <palves@redhat.com>
7417 * gdb.threads/attach-many-short-lived-threads.c: New file.
7418 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7420 2014-01-09 Pedro Alves <palves@redhat.com>
7422 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7423 instead of to thread 2.
7424 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7425 Add barrier around each pthread_create call instead of around all
7427 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7428 Set a break on thread_function and have the child threads hit it
7431 2015-01-09 Pedro Alves <palves@redhat.com>
7433 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7434 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7436 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7437 checking whether the target board is remote.
7438 * gdb.multi/multi-attach.exp: Likewise.
7439 * gdb.python/py-sync-interp.exp: Likewise.
7440 * gdb.server/ext-attach.exp: Likewise.
7441 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7442 tests that need to attach, instead of checking whether the target
7443 board is remote at the top of the file.
7445 2015-01-08 Yao Qi <yao@codesourcery.com>
7447 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7449 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7451 Fix testcase compilation.
7452 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7454 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7456 * gdb.python/py-type.exp: Add a couple test about empty
7457 array creation, and negative-length array creation.
7459 2015-01-02 Doug Evans <xdje42@gmail.com>
7461 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7463 2015-01-02 Doug Evans <dje@google.com>
7465 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7467 2014-12-29 Yao Qi <yao@codesourcery.com>
7469 * gdb.trace/entry-values.exp: Update comments. Rename variable
7470 bar_call_foo to returned_from_foo.
7472 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7475 * gdb.linespec/break-asm-file.c: New file.
7476 * gdb.linespec/break-asm-file.exp: New file.
7477 * gdb.linespec/break-asm-file0.s: New file.
7478 * gdb.linespec/break-asm-file1.s: New file.
7480 2014-12-18 Nigel Stephens <nigel@mips.com>
7481 Maciej W. Rozycki <macro@codesourcery.com>
7483 * gdb.base/float.exp: Handle the new output from "info float" on
7486 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7488 Fix MinGW compilation.
7489 * gdb.compile/compile-ops.exp: Update untested message if
7490 !skip_compile_feature_tests.
7491 * gdb.compile/compile-setjmp.exp: Likewise.
7492 * gdb.compile/compile-tls.exp: Likewise.
7493 * gdb.compile/compile.exp: Likewise.
7494 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7495 supported on this host".
7497 2014-12-16 Doug Evans <xdje42@gmail.com>
7499 * boards/stabs.exp: New file.
7501 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7503 * gdb.base/completion.exp: Adjust to format changes of "maint
7504 print user-registers".
7506 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7509 * gdb.arch/aarch64-fp.c: New file.
7510 * gdb.arch/aarch64-fp.exp: New file.
7512 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7514 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7515 r210637, r210913, r211666, r215400, r215817).
7517 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7518 * dg-extract-results.py: New file.
7519 * dg-extract-results.sh: Use it if the environment seems
7522 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7524 * dg-extract-results.py (parse_run): Handle warnings that
7525 are printed before a test harness is run.
7527 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7529 * dg-extract-results.py (Named): Remove __cmp__ method.
7530 (output_variation): Use a key to sort variation.harnesses.
7532 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7534 * dg-extract-results.py: For Python 3, force sys.stdout to
7535 handle surrogate escape sequences.
7536 (safe_open): New function.
7537 (output_segment, main): Use it.
7539 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7541 * dg-extract-results.py (Prog.result_re): Include options
7544 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7546 * dg-extract-results.py (output_variation): Always sort if
7549 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7551 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7552 as long as we get pagination notifications.
7554 2014-12-15 Jason Merrill <jason@redhat.com>
7556 * Makefile.in (check-gdb.%): Restore.
7557 * README: Mention it.
7559 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7561 * gdb.ada/str_uninit: New testcase.
7563 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7566 * gdb.base/vla-stub-define.c: New file.
7567 * gdb.base/vla-stub.c: New file.
7568 * gdb.base/vla-stub.exp: New file.
7570 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7571 Jan Kratochvil <jan.kratochvil@redhat.com>
7572 Tom Tromey <tromey@redhat.com>
7574 * configure.ac: Add gdb.compile/.
7575 * configure: Regenerate.
7576 * gdb.compile/Makefile.in: New file.
7577 * gdb.compile/compile-ops.exp: New file.
7578 * gdb.compile/compile-ops.c: New file.
7579 * gdb.compile/compile-tls.c: New file.
7580 * gdb.compile/compile-tls.exp: New file.
7581 * gdb.compile/compile-constvar.S: New file.
7582 * gdb.compile/compile-constvar.c: New file.
7583 * gdb.compile/compile-mod.c: New file.
7584 * gdb.compile/compile-nodebug.c: New file.
7585 * gdb.compile/compile-setjmp-mod.c: New file.
7586 * gdb.compile/compile-setjmp.c: New file.
7587 * gdb.compile/compile-setjmp.exp: New file.
7588 * gdb.compile/compile-shlib.c: New file.
7589 * gdb.compile/compile.c: New file.
7590 * gdb.compile/compile.exp: New file.
7591 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7593 2014-12-12 Tom Tromey <tromey@redhat.com>
7595 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7596 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7598 2014-12-12 Doug Evans <dje@google.com>
7600 * lib/gdb-python.exp (get_python_valueof): New function.
7601 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7603 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7605 * gdb.base/completion.exp: Add test for completion of "info
7608 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7610 * gdb.base/func-ptrs.c: New file.
7611 * gdb.base/func-ptrs.exp: New file.
7613 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7615 PR breakpoints/17012
7616 * gdb.base/dprintf-detach.c: New file.
7617 * gdb.base/dprintf-detach.exp: New file.
7619 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7621 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7622 * lib/gdb.exp (target_is_gdbserver): New procedure.
7624 2014-12-08 Doug Evans <dje@google.com>
7626 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7628 2014-12-05 Yao Qi <yao@codesourcery.com>
7630 * gdb.guile/scm-error.exp: Remove the third argument to
7631 gdb_remote_download.
7632 * gdb.guile/scm-frame-args.exp: Likewise.
7633 * gdb.guile/scm-section-script.exp: Likewise.
7635 2014-12-05 Yao Qi <yao@codesourcery.com>
7637 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7639 2014-12-04 Doug Evans <dje@google.com>
7641 * gdb.python/py-objfile.exp: Add tests for
7642 objfile.add_separate_debug_file.
7644 2014-12-04 Doug Evans <dje@google.com>
7646 * lib/gdb.exp (get_build_id): New function.
7647 (build_id_debug_filename_get): Rewrite to use it.
7648 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7650 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7652 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7653 `method(long)', not just 0x0.
7654 * gdb.cp/nsalias.exp: Align code labels to 4.
7655 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7656 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7657 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7658 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7659 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7660 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7662 2014-12-02 Doug Evans <dje@google.com>
7665 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7666 * gdb.cp/anon-ns2.cc: ... here. New file.
7667 * gdb.cp/anon-ns.exp: Update.
7669 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7671 * gdb.python/py-events.py (inferior_call_handler): New.
7672 (register_changed_handler, memory_changed_handler): New.
7673 (test_events.invoke): Register new handlers.
7674 * gdb.python/py-events.exp: Add tests for inferior call,
7675 memory_changed and register_changed events.
7677 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7679 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7680 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7681 if the linker doesn't understand this.
7683 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7685 * gdb.python/python.exp: Change expected reply to help().
7687 2014-12-01 Yao Qi <yao@codesourcery.com>
7689 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7690 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7691 * configure: Re-generated.
7693 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7695 * gdb.cp/chained-calls.cc: New file.
7696 * gdb.cp/chained-calls.exp: New file.
7697 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7699 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7701 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7702 * gdb.dwarf2/symtab-producer.exp: Same.
7703 * gdb.gdb/python-interrupts.exp: Same.
7704 * gdb.gdb/python-selftest.exp: Same.
7705 * gdb.python/py-linetable.exp: Same.
7706 * gdb.python/py-type.exp: Same.
7707 * gdb.python/py-value-cc.exp: Same.
7708 * gdb.python/py-value.exp: Same.
7710 2014-11-28 Yao Qi <yao@codesourcery.com>
7712 * gdb.base/break-probes.exp: Match library name prefixed with
7715 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7717 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7718 test expected output. Add parentheses for the call to print.
7719 Remove L suffix from integers.
7721 2014-11-26 Doug Evans <dje@google.com>
7723 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7725 2014-11-22 Yao Qi <yao@codesourcery.com>
7727 * gdb.trace/entry-values.c: Remove asms.
7728 (foo): Add foo_label.
7729 (bar): Add bar_label.
7730 * gdb.trace/entry-values.exp: Remove code computing foo's
7731 length and bar's length.
7732 (Dwarf::assemble): Invoke function_range for bar and use
7733 MACRO_AT_func for foo.
7735 2014-11-22 Yao Qi <yao@codesourcery.com>
7737 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7738 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7739 Use .Lgcc43_procstart instead of gcc43.
7741 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7743 * gdb.ada/n_arr_bound: New testcase.
7745 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7747 PR breakpoints/10737
7748 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7749 test_catch_syscall_multi_arch.
7750 (test_catch_syscall_multi_arch): New function.
7752 2014-11-20 Doug Evans <xdje42@gmail.com>
7754 * gdb.base/maint.exp: Update expected output.
7756 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7758 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7759 4-byte instruction on S390.
7761 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7763 * gdb.ada/arr_arr: New testcase.
7765 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7767 * gdb.ada/pkd_arr_elem: New Testcase.
7769 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7771 * gdb.reverse/break-precsave: Expect completion message for
7773 * gdb.reverse/consecutive-precsave.exp: Likewise.
7774 * gdb.reverse/finish-precsave.exp: Likewise.
7775 * gdb.reverse/i386-precsave.exp: Likewise.
7776 * gdb.reverse/machinestate-precsave.exp: Likewise.
7777 * gdb.reverse/sigall-precsave.exp: Likewise.
7778 * gdb.reverse/solib-precsave.exp: Likewise.
7779 * gdb.reverse/step-precsave.exp: Likewise.
7780 * gdb.reverse/until-precsave.exp: Likewise.
7781 * gdb.reverse/watch-precsave.exp: Likewise.
7783 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7785 * gdb.base/bp-permanent.c: Include unistd.h.
7786 * gdb.python/py-framefilter-mi.c (main): Add return type.
7787 * gdb.python/py-framefilter.c (main): Likewise.
7788 * gdb.trace/actions-changed.c (main): Likewise.
7790 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7792 * gdb.mi/until.c: Add eye-catchers.
7793 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7796 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7798 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7799 function header variants in break1.c.
7800 * gdb.base/ena-dis-br.exp: Likewise.
7801 * gdb.base/hbreak2.exp: Likewise.
7802 * gdb.reverse/until-precsave.exp: Drop references to removed
7803 non-prototype function header variants in ur1.c.
7804 * gdb.reverse/until-reverse.exp: Likewise.
7806 2014-11-17 Petr Machata <pmachata@redhat.com>
7808 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7809 ${_cu_offset_size} bytes abbrev offset.
7811 2014-11-15 Doug Evans <xdje42@gmail.com>
7814 * gdb.base/line-symtabs.exp: New file.
7815 * gdb.base/line-symtabs.c: New file.
7816 * gdb.base/line-symtabs.h: New file.
7818 2014-11-14 Yao Qi <yao@codesourcery.com>
7820 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7821 (func): Add label func_label.
7822 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7823 Replace low_pc and high_pc with MACRO_AT_range.
7824 Replace name, low_pc and high_pc with MACRO_AT_func.
7826 2014-11-14 Yao Qi <yao@codesourcery.com>
7828 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7829 Replace name, low_pc and high_pc with MACRO_AT_func.
7831 2014-11-14 Yao Qi <yao@codesourcery.com>
7833 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7834 produce debug information.
7835 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7837 2014-11-14 Yao Qi <yao@codesourcery.com>
7839 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7840 object and get function length.
7841 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7843 (top-level): Replace gdb_compile and clean_restart with
7844 prepare_for_testing.
7845 * gdb.dwarf2/main.c (main): Add label main_label.
7847 2014-11-14 Yao Qi <yao@codesourcery.com>
7849 * lib/dwarf.exp (function_range): New procedure.
7850 (Dwarf::_handle_macro_at_func): New procedure.
7851 (Dwarf::_handle_macro_at_range): New procedure.
7852 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7854 2014-11-14 Yao Qi <yao@codesourcery.com>
7856 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7857 (_handle_attribute): New procedure.
7859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7861 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7862 * gdb.base/call-sc.c (zed): Likewise.
7863 * gdb.base/checkpoint.c (main): Likewise.
7864 * gdb.base/dump.c (main): Likewise.
7865 * gdb.base/gcore.c (main): Likewise.
7866 * gdb.base/huge.c (main): Likewise.
7867 * gdb.base/multi-forks.c (main): Likewise.
7868 * gdb.base/pr10179-a.c (main): Likewise.
7869 * gdb.base/savedregs.c (main): Likewise.
7870 * gdb.base/sigaltstack.c (main): Likewise.
7871 * gdb.base/siginfo.c (main): Likewise.
7872 * gdb.base/structs.c (zed): Likewise.
7873 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
7874 * gdb.mi/mi-syn-frame.c (main): Likewise.
7875 * gdb.mi/until.c (foo, main): Likewise.
7876 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
7877 * gdb.base/solib-weak.c (foo): Declare.
7878 * gdb.base/attach-twice.c: Include stdio.h.
7879 * gdb.base/weaklib1.c: Likewise.
7880 * gdb.base/weaklib2.c: Likewise.
7881 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
7882 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
7884 * gdb.base/attach-pie-misread.c: Include stdlib.h.
7885 * gdb.mi/mi-exit-code.c: Likewise.
7886 * gdb.base/break-interp-lib.c: Include string.h.
7887 * gdb.base/coremaker.c: Likewise.
7888 * gdb.base/testenv.c: Likewise.
7889 * gdb.python/py-finish-breakpoint.c: Likewise.
7890 * gdb.base/inferior-died.c: Include sys/wait.h.
7891 * gdb.base/fileio.c: Include time.h.
7892 * gdb.base/async-shell.c: Include unistd.h.
7893 * gdb.base/dprintf-non-stop.c: Likewise.
7894 * gdb.base/info-os.c: Likewise.
7895 * gdb.mi/mi-console.c: Likewise.
7896 * gdb.mi/watch-nonstop.c: Likewise.
7897 * gdb.python/py-events.c: Likewise.
7898 * gdb.base/async.c (baz): Move up before its invocation.
7899 * gdb.base/code_elim2.c (my_global_func): Likewise.
7900 * gdb.base/skip-solib-lib.c (multiply): Likewise.
7901 * gdb.base/advance.c (func2): Likewise.
7903 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7905 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
7907 * gdb.base/annota3.c: Likewise.
7908 * gdb.base/async.c: Likewise.
7909 * gdb.base/average.c: Likewise.
7910 * gdb.base/call-ar-st.c: Likewise.
7911 * gdb.base/call-rt-st.c: Likewise.
7912 * gdb.base/call-sc.c: Likewise.
7913 * gdb.base/call-strs.c: Likewise.
7914 * gdb.base/ending-run.c: Likewise.
7915 * gdb.base/execd-prog.c: Likewise.
7916 * gdb.base/exprs.c: Likewise.
7917 * gdb.base/foll-exec.c: Likewise.
7918 * gdb.base/foll-fork.c: Likewise.
7919 * gdb.base/foll-vfork.c: Likewise.
7920 * gdb.base/funcargs.c: Likewise.
7921 * gdb.base/gcore.c: Likewise.
7922 * gdb.base/jump.c: Likewise.
7923 * gdb.base/langs0.c: Likewise.
7924 * gdb.base/langs1.c: Likewise.
7925 * gdb.base/langs2.c: Likewise.
7926 * gdb.base/mips_pro.c: Likewise.
7927 * gdb.base/nodebug.c: Likewise.
7928 * gdb.base/opaque0.c: Likewise.
7929 * gdb.base/opaque1.c: Likewise.
7930 * gdb.base/recurse.c: Likewise.
7931 * gdb.base/run.c: Likewise.
7932 * gdb.base/scope0.c: Likewise.
7933 * gdb.base/scope1.c: Likewise.
7934 * gdb.base/setshow.c: Likewise.
7935 * gdb.base/setvar.c: Likewise.
7936 * gdb.base/shmain.c: Likewise.
7937 * gdb.base/shr1.c: Likewise.
7938 * gdb.base/shr2.c: Likewise.
7939 * gdb.base/sigall.c: Likewise.
7940 * gdb.base/signals.c: Likewise.
7941 * gdb.base/so-indr-cl.c: Likewise.
7942 * gdb.base/solib2.c: Likewise.
7943 * gdb.base/structs.c: Likewise.
7944 * gdb.base/sum.c: Likewise.
7945 * gdb.base/vforked-prog.c: Likewise.
7946 * gdb.base/watchpoint.c: Likewise.
7947 * gdb.reverse/shr2.c: Likewise.
7948 * gdb.reverse/until-reverse.c: Likewise.
7949 * gdb.reverse/ur1.c: Likewise.
7950 * gdb.reverse/watch-reverse.c: Likewise.
7952 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7954 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7956 * gdb.base/sepdebug.exp: Drop references to removed code.
7958 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7960 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7961 variant. Preserve original line numbering.
7962 * gdb.base/list1.c: Likewise.
7964 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7966 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7968 * gdb.base/break1.c: Likewise.
7969 * gdb.base/break.exp: Drop references to removed code.
7971 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7973 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7976 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7978 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7980 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7982 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7983 logic into perform_all_tests() and invoke it with and without
7984 function header prototypes.
7985 (do_function_calls): Remove conditional XFAIL for PR 5318.
7986 (rerun_and_prepare): Remove duplicate code.
7987 (perform_all_tests): New. Main logic moved here.
7989 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7991 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7992 code guarded by #ifdef NO_PROTOTYPES.
7993 (t_double_many_args): Likewise.
7994 (DEF_FUNC_MANY_ARGS_1): Likewise.
7995 (DEF_FUNC_VALUES_1): Likewise.
7996 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7997 guarded by #ifdef PROTOTYPES.
7999 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8001 * gdb.mi/mi-console.c: Add eye-catcher.
8002 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8003 instead of literal line number.
8005 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8007 * gdb.base/shr2.c: Add eye-catcher.
8008 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8011 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8013 * gdb.base/jump.c: Add eye-catchers.
8014 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8017 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8019 * gdb.base/execd-prog.c: Add eye-catchers.
8020 * gdb.base/foll-exec.c: Likewise.
8021 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8024 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8026 * gdb.base/ending-run.c: Add eye-catchers.
8027 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8028 literal line numbers.
8030 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8032 * gdb.base/call-rt-st.c: Add eye-catchers.
8033 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8034 literal line numbers.
8036 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8038 * gdb.base/call-ar-st.c: Add eye-catchers.
8039 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8040 literal line numbers.
8042 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8044 * gdb.base/average.c: Add eye-catchers.
8045 * gdb.base/sum.c: Likewise.
8046 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8047 regexps dynamically.
8049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8051 * gdb.base/solib1.c: Add eye-catchers.
8052 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8053 literal line numbers.
8055 2014-11-12 Pedro Alves <palves@redhat.com>
8057 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8060 2014-11-12 Pedro Alves <palves@redhat.com>
8062 * gdb.arch/i386-bp_permanent.c: New file.
8063 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8064 (srcfile): Set to i386-bp_permanent.c.
8065 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8066 that stepi does not execute the 'leave' instruction, instead of
8067 testing it does execute.
8068 * gdb.base/bp-permanent.c: New file.
8069 * gdb.base/bp-permanent.exp: New file.
8071 2014-11-10 Doug Evans <xdje42@gmail.com>
8074 * gdb.base/symtab-search-order.exp: New file.
8075 * gdb.base/symtab-search-order.c: New file.
8076 * gdb.base/symtab-search-order-1.c: New file.
8077 * gdb.base/symtab-search-order-shlib-1.c: New file.
8079 2014-11-07 Pedro Alves <palves@redhat.com>
8082 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8085 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8088 * gdb.cp/pr17494.cc: New file.
8089 * gdb.cp/pr17494.exp: New file.
8091 2014-11-02 Yao Qi <yao@codesourcery.com>
8093 * gdb.python/python.exp: Get working directory and match the
8094 output of "set extended-prompt \\w " with it.
8096 2014-10-30 Doug Evans <dje@google.com>
8098 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8100 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8103 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8105 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8106 * gdb.base/realname-expand.exp: Likewise.
8107 * gdb.linespec/macro-relative.exp: Likewise.
8109 2014-10-29 Pedro Alves <palves@redhat.com>
8112 * gdb.threads/schedlock.c (some_function): New function.
8113 (call_function): New global.
8114 (MAYBE_CALL_SOME_FUNCTION): New macro.
8115 (thread_function): Call it.
8116 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8117 and use it instead of a global counter. Adjust all callers.
8118 (get_current_thread): Use "find current thread" for test message
8119 here rather than having all callers pass down the same string.
8120 (goto_loop): New procedure, factored out from ...
8121 (my_continue): ... this.
8122 (step_ten_loops): Change parameter from test message to command to
8124 (list_count): Delete global.
8125 (check_result): New procedure, factored out from duplicate top
8127 (continue tests): Wrap in with_test_prefix.
8128 (test_step): New procedure, factored out from duplicate top level
8130 (top level): Test "step" in combination with all scheduler-locking
8131 modes. Test "next" in combination with all scheduler-locking
8132 modes, and in combination with stepping over a function call or
8134 * gdb.threads/next-bp-other-thread.c: New file.
8135 * gdb.threads/next-bp-other-thread.exp: New file.
8137 2014-10-29 Pedro Alves <palves@redhat.com>
8140 * gdb.python/python.exp: Test a multi-line command that spawns
8142 * gdb.base/multi-line-starts-subshell.exp: New file.
8144 2014-10-29 Yao Qi <yao@codesourcery.com>
8146 * gdb.base/fileio.exp: Make directories on host.
8148 2014-10-29 Yao Qi <yao@codesourcery.com>
8150 * gdb.base/fileio.c (test_write): Close the file.
8152 2014-10-28 Pedro Alves <palves@redhat.com>
8155 * gdb.base/sigstep.c (no_handler): New global.
8156 (main): If 'no_handler is true, set the signal handlers to
8158 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8159 with_sw_watch and no_handler parameters. Handle them.
8160 (top level) <stepping over handler when stopped at a breakpoint
8161 test>: Add a test axis for testing with a software watchpoint, and
8162 another for testing with the signal handler set to SIG_IGN.
8163 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8164 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8166 2014-10-28 Pedro Alves <palves@redhat.com>
8169 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8170 * gdb.base/sigstep.exp (other_handler_location): New global.
8171 (advance): Support stepping into the signal handler, and running
8172 commands while in the handler.
8173 (in_handler_map): New global.
8174 (top level): In the advance test, add combinations for getting
8175 into the handler with stepping commands, and for running commands
8176 in the handler. Add comment descripting the advancei tests.
8178 2014-10-28 Pedro Alves <palves@redhat.com>
8180 * gdb.base/sigstep.exp: Use build_executable instead of
8181 prepare_for_testing.
8182 (top level): Move code that starts GDB, runs to main and creates a
8184 (restart): ... this new procedure.
8185 (top level): Move backtrace from signal handler test to ...
8186 (validate_backtrace): ... this new procedure.
8187 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8188 with_test_prefix. Always restart GDB.
8189 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8190 with_test_prefix. Always restart GDB. No need to delete
8191 breakpoints after the test.
8192 (test_skip_handler): Remove prefix parameter.
8193 (skip_over_handler, breakpoint_to_handler)
8194 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8195 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8196 restart GDB. No need to delete breakpoints after the test.
8197 (top level): Use foreach to call the test procedures with
8200 2014-10-28 Pedro Alves <palves@redhat.com>
8202 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8203 instead of GNATS numbers.
8204 * gdb.base/sigbpt.exp: Likewise.
8205 * gdb.base/siginfo.exp: Likewise.
8206 * gdb.base/sigstep.exp: Likewise.
8208 2014-10-27 Pedro Alves <palves@redhat.com>
8210 * gdb.base/sigstep.c (dummy): New global.
8211 (main): Issue a couple writes to the new global.
8212 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8214 (skip_over_handler): Use test_skip_handler.
8215 (top level): Call skip_over_handler for stepi and nexti too.
8216 (breakpoint_over_handler): Use test_skip_handler.
8217 (top level): Call breakpoint_over_handler for stepi and nexti too.
8219 2014-10-27 Yao Qi <yao@codesourcery.com>
8221 * gdb.trace/tfile.c (adjust_function_address)
8222 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8223 function descriptor.
8225 2014-10-24 Don Breazeal <donb@codesourcery.com>
8227 * gdb.base/foll-fork.exp (test_follow_fork,
8228 catch_fork_child_follow): Check for updated fork messages emitted
8230 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8231 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8232 vfork_and_exec_child_follow_through_step): Check for updated vfork
8233 messages emitted from infrun.c.
8235 2014-10-24 Pedro Alves <palves@redhat.com>
8237 * gdb.base/corefile.exp: Remove references to ultrix.
8238 * gdb.base/interrupt.exp: Likewise.
8239 * gdb.base/whatis.exp: Likewise.
8240 * gdb.gdb/selftest.exp: Likewise.
8241 * gdb.threads/manythreads.exp: Likewise.
8242 * gdb.threads/print-threads.exp: Likewise.
8243 * gdb.threads/pthreads.exp:: Likewise.
8244 * gdb.threads/schedlock.exp: Likewise.
8246 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8248 * gdb.cp/non-trivial-retval.cc: Add a test case.
8249 * gdb.cp/non-trivial-retval.exp: Add a test.
8251 2014-10-20 Yao Qi <yao@codesourcery.com>
8253 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8254 * gdb.python/py-objfile-script-gdb.py: New file.
8255 * gdb.python/py-objfile-script.exp: Update reference to
8256 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8257 of remote_download. Remove the dest file.
8259 2014-10-20 Yao Qi <yao@codesourcery.com>
8261 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8262 * gdb.base/step-line.exp: Likewise.
8263 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8264 * gdb.dwarf2/dw2-basic.exp: Likewise.
8265 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8266 * gdb.dwarf2/dw2-filename.exp: Likewise.
8267 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8268 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8269 * gdb.dwarf2/dw2-producer.exp: Likewise.
8270 * gdb.dwarf2/mac-fileno.exp: Likewise.
8271 * gdb.python/py-frame-args.exp: Likewise.
8272 * gdb.python/py-framefilter.exp: Likewise.
8273 * gdb.python/py-mi.exp: Likewise.
8274 * gdb.python/py-objfile-script.exp: Likewise
8275 * gdb.python/py-pp-integral.exp: Likewise.
8276 * gdb.python/py-pp-re-notag.exp: Likewise.
8277 * gdb.python/py-prettyprint.exp: Likewise.
8278 * gdb.python/py-section-script.exp: Likewise.
8279 * gdb.python/py-typeprint.exp: Likewise.
8280 * gdb.python/py-xmethods.exp: Likewise.
8281 * gdb.stabs/weird.exp: Likewise.
8282 * gdb.xml/tdesc-regs.exp: Likewise.
8284 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8286 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8287 (out_cu): Use addr_len for the size of addresses.
8288 (out_line): Likewise. Size DW_LNE_set_address instruction
8289 according to addr_len.
8290 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8291 (FUNC): Add START_INSNS to definition.
8293 2014-10-18 Yao Qi <yao@codesourcery.com>
8295 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8296 gdb_has_argv0 return true.
8297 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8298 check [target_info exists noargs], check [gdb_has_argv0]
8300 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8301 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8304 2014-10-17 Doug Evans <dje@google.com>
8306 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8308 * gdb.python/py-events.py: Add clear_objfiles event.
8310 2014-10-17 Doug Evans <dje@google.com>
8312 * gdb.python/py-objfile.exp: Test progspace attribute.
8314 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8316 * gdb.guile/scm-breakpoint.exp: Do not assume any
8317 directory separators when matching source file paths.
8318 * gdb.python/py-breakpoint.exp: Likewise.
8319 * gdb.reverse/break-precsave.exp: Likewise.
8320 * gdb.reverse/break-reverse.exp: Likewise.
8321 * gdb.reverse/consecutive-precsave.exp: Likewise.
8322 * gdb.reverse/finish-precsave.exp: Likewise.
8323 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8324 * gdb.reverse/finish-reverse.exp: Likewise.
8325 * gdb.reverse/i386-precsave.exp: Likewise.
8326 * gdb.reverse/i387-env-reverse.exp: Likewise.
8327 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8328 * gdb.reverse/machinestate-precsave.exp: Likewise.
8329 * gdb.reverse/machinestate.exp: Likewise.
8330 * gdb.reverse/sigall-precsave.exp: Likewise.
8331 * gdb.reverse/solib-precsave.exp: Likewise.
8332 * gdb.reverse/step-precsave.exp: Likewise.
8333 * gdb.reverse/until-precsave.exp: Likewise.
8334 * gdb.reverse/watch-precsave.exp: Likewise.
8335 * gdb.reverse/watch-reverse.exp: Likewise.
8337 2014-10-17 Yao Qi <yao@codesourcery.com>
8339 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8340 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8342 2014-10-17 Pedro Alves <palves@redhat.com>
8345 * gdb.base/bg-execution-repeat.c: New file.
8346 * gdb.base/bg-execution-repeat.exp: New file.
8348 2014-10-17 Pedro Alves <palves@redhat.com>
8351 * gdb.base/continue-all-already-running.c: New file.
8352 * gdb.base/continue-all-already-running.exp: New file.
8354 2014-10-17 Pedro Alves <palves@redhat.com>
8357 * gdb.base/annota-input-while-running.c: New file.
8358 * gdb.base/annota-input-while-running.exp: New file.
8360 2014-10-17 Pedro Alves <palves@redhat.com>
8362 * gdb.base/callfuncs.exp: emove references to osf.
8363 * gdb.base/sigall.exp: Likewise.
8364 * gdb.gdb/selftest.exp: Likewise.
8365 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8366 * gdb.mi/non-stop.c: Likewise.
8367 * gdb.mi/pthreads.c: Likewise.
8368 * gdb.reverse/sigall-precsave.exp: Likewise.
8369 * gdb.reverse/sigall-reverse.exp: Likewise.
8370 * gdb.threads/pthreads.c: Likewise.
8371 * gdb.threads/pthreads.exp: Likewise.
8373 2014-10-17 Yao Qi <yao@codesourcery.com>
8375 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8376 check 'target_info exists noargs'.
8377 (test_command_prompt_position): Likewise.
8378 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8380 (progvar_simple_while_test): Likewise.
8381 (progvar_complex_if_while_test): Likewise.
8382 (if_while_breakpoint_command_test): Likewise.
8383 (infrun_breakpoint_command_test): Likewise.
8384 (breakpoint_command_test): Likewise.
8385 (watchpoint_command_test): Likewise.
8386 (bp_deleted_in_command_test): Likewise.
8387 (temporary_breakpoint_commands): Likewise.
8389 2014-10-16 Yao Qi <yao@codesourcery.com>
8391 * gdb.base/remotetimeout.exp: Remove noargs checking.
8393 2014-10-15 Pedro Alves <palves@redhat.com>
8396 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8397 * gdb.base/breakpoint-in-ro-region.exp
8398 (probe_target_hardware_step): New procedure.
8399 (top level): Probe hardware stepping and hardware breakpoint
8400 support. Test stepping through a read-only region, with both
8401 "breakpoint auto-hw" on and off and both "always-inserted" on and
8404 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8406 * gdb.dlang/demangle.exp: Update for demangling changes.
8408 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8410 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8411 * gdb.cp/non-trivial-retval.exp: Add new tests.
8413 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8417 * gdb.cp/non-trivial-retval.cc: New file.
8418 * gdb.cp/non-trivial-retval.exp: New file.
8420 2014-10-15 Yao Qi <yao@codesourcery.com>
8422 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8425 2014-10-15 Yao Qi <yao@codesourcery.com>
8427 * gdb.python/py-symbol.exp: Match file base name if host is
8428 remote, otherwise match file name with dir name.
8429 * gdb.python/py-symtab.exp: Likewise.
8430 * gdb.python/python.exp: Likewise.
8432 2014-10-15 Yao Qi <yao@codesourcery.com>
8434 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8436 * gdb.python/py-symtab.exp: Likewise.
8437 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8440 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8442 * gdb.ada/addr_arith: New testcase.
8444 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8446 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8447 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8448 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8449 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8451 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8453 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8454 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8455 * gdb.arch/stap-eval-lang-ada.exp: New file.
8457 2014-10-14 Yao Qi <yao@codesourcery.com>
8459 * gdb.mi/mi-var-child.c (nothing1): New function.
8460 (nothing2): New function.
8461 (do_children_tests): Set function pointers by nothing1 and
8463 * gdb.mi/mi-var-child.exp: Step over new added statements.
8464 Update test to match the new output.
8465 * gdb.mi/var-cmd.c (nothing1): New function.
8466 (nothing2): New function.
8467 (do_children_tests): Set function pointers by nothing1 and
8469 * gdb.mi/mi-var-display.exp: Update test to match output.
8470 Step to the line specified by $line_dct_nothing.
8471 Increase the number of lines to step.
8473 2014-10-14 Yao Qi <yao@codesourcery.com>
8475 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8477 * gdb.mi/mi2-var-child.exp: Likewise.
8479 2014-10-13 Doug Evans <dje@google.com>
8481 * gdb.python/py-objfile.exp: Change name of file name test.
8483 2014-10-13 Doug Evans <dje@google.com>
8485 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8486 from the start of the CU.
8488 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8489 Yao Qi <yao@codesourcery.com>
8491 Fix "save breakpoints" for "catch" command.
8492 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8493 Remove -nonewline. Match also the added "main" line.
8495 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8497 Fix "save breakpoints" for "disable $bpnum" command.
8498 * gdb.base/save-bp.c (main): Add label.
8499 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8501 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8503 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8505 2014-10-11 Yao Qi <yao@codesourcery.com>
8507 * gdb.server/server-kill.exp: Execute command
8508 "set remote trace-status-packet on" before "tstatus".
8510 2014-10-11 Yao Qi <yao@codesourcery.com>
8512 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8513 (main): Call getppid.
8514 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8515 and continue to it. Read variable "server_pid".
8517 2014-10-11 Yao Qi <yao@codesourcery.com>
8519 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8521 2014-10-11 Yao Qi <yao@codesourcery.com>
8523 * gdb.threads/thread-find.exp: Don't execute command
8525 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8526 * gdb.threads/linux-dp.exp: Don't check the condition
8527 $threads_created equals to zero.
8529 2014-10-10 Pedro Alves <palves@redhat.com>
8531 * gdb.base/bigcore.exp: Remove references to IRIX.
8532 * gdb.base/funcargs.exp: Likewise.
8533 * gdb.base/interrupt.exp: Likewise.
8534 * gdb.base/mips_pro.exp: Likewise.
8535 * gdb.base/nodebug.exp: Likewise.
8536 * gdb.base/setvar.exp: Likewise.
8537 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8539 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8540 Pedro Alves <palves@redhat.com>
8543 * gdb.base/vdso-warning.c: New file.
8544 * gdb.base/vdso-warning.exp: New file.
8546 2014-10-02 Doug Evans <dje@google.com>
8548 * gdb.base/structs.c (main): Don't run forever.
8550 2014-10-02 Pedro Alves <palves@redhat.com>
8552 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8553 (top level) <stop threads 1, stop threads 2>: Use it.
8555 2014-10-02 Pedro Alves <palves@redhat.com>
8557 * gdb.threads/break-while-running.exp (test): Add new
8558 'update_thread_list' argument. Skip "info threads" if false.
8559 (top level): Add new 'update_thread_list' axis.
8561 2014-10-02 Pedro Alves <palves@redhat.com>
8563 PR breakpoints/17431
8564 * gdb.base/execl-update-breakpoints.c: New file.
8565 * gdb.base/execl-update-breakpoints.exp: New file.
8567 2014-10-01 Pedro Alves <palves@redhat.com>
8569 * gdb.base/breakpoint-in-ro-region.c: New file.
8570 * gdb.base/breakpoint-in-ro-region.exp: New file.
8572 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8574 * gdb.mi/mi-exit-code.exp: New file.
8575 * gdb.mi/mi-exit-code.c: New file.
8577 2014-09-30 Yao Qi <yao@codesourcery.com>
8579 * lib/prelink-support.exp (build_executable_own_libs): Error if
8580 the target isn't native.
8582 2014-09-30 Yao Qi <yao@codesourcery.com>
8584 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8587 2014-09-22 Pedro Alves <palves@redhat.com>
8589 * gdb.threads/break-while-running.exp: New file.
8590 * gdb.threads/break-while-running.c: New file.
8592 2014-09-19 Yao Qi <yao@codesourcery.com>
8594 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8595 Invoke test. Restart GDB with --readnow and invoke test again.
8597 2014-09-19 Yao Qi <yao@codesourcery.com>
8599 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8600 proc set_breakpoint_on_gcd_function. Invoke
8601 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8602 invoke set_breakpoint_on_gcd_function again.
8604 2014-09-18 Doug Evans <dje@google.com>
8606 * gdb.dwarf2/symtab-producer.exp: New file.
8608 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8610 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8611 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8612 * gdb.base/global-var-nested-by-dso.c: Likewise.
8613 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8615 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8616 Pedro Alves <palves@redhat.com>
8618 * gdb.base/watch-bitfields.exp: Pass string other than test file
8619 name to prepare_for_testing.
8620 (watch): New procedure.
8621 (expect_watchpoint): Use with_test_prefix.
8622 (top level): Factor out tests to ...
8623 (test_watch_location, test_regular_watch): ... these new
8624 procedures, and use with_test_prefix and gdb_continue_to_end.
8626 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8628 PR breakpoints/12526
8629 * gdb.base/watch-bitfields.exp: New file.
8630 * gdb.base/watch-bitfields.c: New file.
8632 2014-09-16 Pedro Alves <palves@redhat.com>
8634 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8635 software and hardware addresses, not software address against
8638 2014-09-16 Pedro Alves <palves@redhat.com>
8640 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8641 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8643 2014-09-16 Pedro Alves <palves@redhat.com>
8645 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8647 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8648 "*-*-vxworks*" throughout.
8649 * gdb.base/break.exp: Likewise.
8650 * gdb.base/default.exp: Likewise.
8651 * gdb.base/scope.exp: Likewise.
8652 * gdb.base/sepdebug.exp: Likewise.
8653 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8655 * gdb.base/run.c: Likewise.
8656 * gdb.base/sepdebug.c: Likewise.
8657 * gdb.hp/gdb.aCC/run.c: Likewise.
8658 * gdb.reverse/until-reverse.c: Likewise.
8659 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8661 2014-09-16 Yao Qi <yao@codesourcery.com>
8663 * boards/local-remote-host-native.exp: New file.
8665 2014-09-14 Doug Evans <xdje42@gmail.com>
8667 * gdb.threads/queue-signal.c (thread_count): New variable.
8668 (thread_count_mutex, thread_count_condvar): New variables.
8669 (incr_thread_count, wait_all_threads_running): New functions.
8670 (main): Wait for all threads to be in their thread functions.
8672 2014-09-13 Doug Evans <xdje42@gmail.com>
8674 * gdb.threads/queue-signal.c: New file.
8675 * gdb.threads/queue-signal.exp: New file.
8677 2014-09-13 Doug Evans <xdje42@gmail.com>
8679 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8680 be consistent with what default_gdb_init uses.
8681 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8682 the plain text of the prompt. Add some logging printfs.
8683 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8685 2014-09-12 Pedro Alves <palves@redhat.com>
8687 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8688 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8689 * gdb.arch/i386-size-overlap.exp: Likewise.
8690 * gdb.arch/i386-size.exp: Likewise.
8691 * gdb.arch/i386-unwind.exp: Likewise.
8692 * gdb.base/a2-run.exp: Likewise.
8693 * gdb.base/break.exp: Likewise.
8694 * gdb.base/charset.exp: Likewise.
8695 * gdb.base/chng-syms.exp: Likewise.
8696 * gdb.base/commands.exp: Likewise.
8697 * gdb.base/dbx.exp: Likewise.
8698 * gdb.base/find.exp: Likewise.
8699 * gdb.base/funcargs.exp: Likewise.
8700 * gdb.base/jit-simple.exp: Likewise.
8701 * gdb.base/reread.exp: Likewise.
8702 * gdb.base/sepdebug.exp: Likewise.
8703 * gdb.base/step-bt.exp: Likewise.
8704 * gdb.cp/mb-inline.exp: Likewise.
8705 * gdb.cp/mb-templates.exp: Likewise.
8706 * gdb.objc/basicclass.exp: Likewise.
8707 * gdb.threads/killed.exp: Likewise.
8709 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8712 * gdb.arch/powerpc-stackless.S: New file.
8713 * gdb.arch/powerpc-stackless.exp: New file.
8715 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8717 * gdb.base/attach.c: Include unistd.h.
8718 (main): Call alarm. Add label postloop.
8719 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8720 gdb_breakpoint, gdb_continue_to_breakpoint.
8721 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8723 2014-09-11 Pedro Alves <palves@redhat.com>
8726 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8727 * gdb.base/attach.exp (test_command_line_attach_run): New
8729 (top level): Call it.
8731 2014-09-11 Pedro Alves <palves@redhat.com>
8733 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8734 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8735 (do_command_attach_tests): Use spawn_wait_for_attach.
8736 * gdb.base/solib-overlap.exp: Likewise.
8737 * gdb.multi/multi-attach.exp: Likewise.
8738 * gdb.python/py-prompt.exp: Likewise.
8739 * gdb.python/py-sync-interp.exp: Likewise.
8740 * gdb.server/ext-attach.exp: Likewise.
8742 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8744 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8745 command in testcase. Simplify testcase.
8747 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8749 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8751 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8753 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8755 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8757 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8759 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8761 * gdb.dwarf2/dynarr-ptr.c: New file.
8762 * gdb.dwarf2/dynarr-ptr.exp: New file.
8764 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8766 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8767 of 30 rather than hardcoding 120 for a slow test case. Take the
8768 `gdb,timeout' target setting into account for this calculation.
8769 Don't extend the timeout for the test cases that don't need it.
8771 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8773 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8774 a factor of 2 for a slow test case. Take the `gdb,timeout'
8775 target setting into account for this calculation.
8776 * gdb.reverse/until-precsave.exp: Increase the timeout by
8777 a factor of 15 and 3 respectively rather than adding 120
8778 for a pair of slow test cases. Take the `gdb,timeout'
8779 target setting into account for this calculation.
8781 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8783 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8784 timeout, don't pass one down to gdb_expect.
8785 (gdb_expect): Rework timeout selection.
8787 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8789 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8790 exception on timeout.
8791 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8792 (gdbserver_start_extended): Catch any `gdbserver_start' error
8794 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8795 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8796 `gdbserver_gdb_load' error exceptions.
8798 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8800 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8801 120 on waiting for the TCP socket to open.
8803 2014-09-09 Doug Evans <xdje42@gmail.com>
8805 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8806 _caller_matches, _any_caller_is, _any_caller_matches.
8808 2014-09-09 Doug Evans <xdje42@gmail.com>
8810 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8812 2014-09-09 Yao Qi <yao@codesourcery.com>
8814 * gdb.mi/mi-var-display.exp: Set print symbol off.
8816 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8819 * gdb.base/commands.exp: Add tests to verify user-defined
8820 commands with empty bodies.
8821 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8822 python commands in `show user command`.
8823 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8824 scheme commands in `show user command`.
8826 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8829 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8830 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8831 * gdb.python/py-framefilter-invalidarg.exp: New file.
8832 * gdb.python/py-framefilter-invalidarg.py: New file.
8834 2014-09-06 Doug Evans <xdje42@gmail.com>
8837 * gdb.python/py-caller-is.c: New file.
8838 * gdb.python/py-caller-is.exp: New file.
8840 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8843 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8844 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8846 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8849 * gdb.fortran/print-formatted.exp: New file.
8850 * gdb.fortran/print-formatted.f90: Likewise.
8852 2014-09-03 Sasha Smundak <asmundak@google.com>
8854 * gdb.python/py-frame.exp: Test Frame.read_register.
8856 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8859 * gdb.python/py-completion.exp: New file.
8860 * gdb.python/py-completion.py: Likewise.
8862 2014-08-28 Doug Evans <dje@google.com>
8864 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8865 eax,etc. are live with values set by gdb and thus the compiler can't
8867 * gdb.arch/i386-pseudo.c (main): Ditto.
8869 2014-08-27 Doug Evans <dje@google.com>
8871 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
8873 2014-08-25 Doug Evans <dje@google.com>
8875 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
8878 2014-08-25 Doug Evans <dje@google.com>
8880 * gdb.threads/thread-execl.exp: #include <stdio.h>.
8882 2014-08-24 Yao Qi <yao@codesourcery.com>
8884 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
8886 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
8888 2014-08-22 Doug Evans <dje@google.com>
8891 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
8892 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
8893 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
8895 2014-08-22 Yao Qi <yao@codesourcery.com>
8897 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
8898 * gdb.python/py-finish-breakpoint2.exp: Likewise.
8899 * gdb.python/python.exp: Likewise. Use .py file on the host
8900 instead of the build.
8902 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8904 * gdb.threads/gcore-stale-thread.c: New file.
8905 * gdb.threads/gcore-stale-thread.exp: New file.
8907 2014-08-21 Pedro Alves <palves@redhat.com>
8909 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
8910 * gdb.base/gcore-relro-pie.exp: Likewise.
8911 * gdb.base/gcore-relro.exp: Likewise.
8912 * gdb.base/gcore.exp: Likewise.
8913 * gdb.base/print-symbol-loading.exp: Likewise.
8914 * gdb.threads/gcore-thread.exp: Likewise.
8915 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
8917 2014-08-20 Pedro Alves <palves@redhat.com>
8918 Jan Kratochvil <jan.kratochvil@redhat.com>
8920 * Makefile.in (EXTRA_RULES, CC): New variables, get from
8922 (EXPECT): Handle READ1 being set.
8923 (all): Depend on EXTRA_RULES.
8924 (check-read1, expect-read1, read1.so, read1): New rules.
8925 * README (Testsuite Parameters): Document the READ1 make variable.
8926 (Race detection): New section.
8927 * configure: Regenerate.
8928 * configure.ac: If build==host==target, and running under a
8929 GNU/glibc system, add read1 to the extra Makefile rules.
8930 (EXTRA_RULES): AC_SUBST it.
8931 * lib/read1.c: New file.
8933 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8935 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8936 the handling of variables declared as a typedef to an array
8937 which a DW_AT_data_location attribute.
8939 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8940 Pedro Alves <palves@redhat.com>
8944 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8947 2014-08-19 Pedro Alves <palves@redhat.com>
8949 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8951 2014-08-19 Yao Qi <yao@codesourcery.com>
8953 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8956 2014-08-18 David Blaikie <dblaikie@gmail.com>
8958 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8960 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8962 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8963 attribute in array range.
8965 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8967 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8969 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8972 * gdb.cp/pr17132.cc: New file.
8973 * gdb.cp/pr17132.exp: New file.
8975 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8977 * gdb.python/py-xmethods.py (A_getarrayind)
8978 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8979 Use 'print' with function call syntax.
8980 (E_method_matcher.match): Fix tab vs space indentation mixup.
8982 2014-08-15 Yao Qi <yao@codesourcery.com>
8984 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8987 2014-08-15 Yao Qi <yao@codesourcery.com>
8989 * gdb.cp/casts.exp: Set print symbol off.
8990 * gdb.cp/class2.exp: Likewise.
8991 * gdb.cp/overload.exp: Likewise.
8992 * gdb.cp/templates.exp: Likewise.
8994 2014-08-11 Doug Evans <dje@google.com>
8996 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8997 (test_load_shlib): Update.
8999 2014-08-09 Yao Qi <yao@codesourcery.com>
9001 * gdb.base/display.exp: Invoke is_address_zero_readable.
9002 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9003 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9004 * gdb.base/hbreak-unmapped.exp: Return if
9005 is_address_zero_readable returns true.
9006 * gdb.base/signest.exp: Likewise.
9007 * gdb.base/signull.exp: Likewise.
9008 * gdb.base/sigbpt.exp: Likewise.
9009 * gdb.guile/scm-disasm.exp: Do the test if
9010 is_address_zero_readable returns false.
9011 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9012 * gdb.python/py-arch.exp: Likewise.
9013 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9014 * lib/gdb.exp (is_address_zero_readable): New proc.
9016 2014-08-09 Yao Qi <yao@codesourcery.com>
9019 * gdb.mi/mi-var-display.exp: Make test messages unique.
9021 2014-08-04 Tom Tromey <tromey@redhat.com>
9023 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9026 2014-08-04 Tom Tromey <tromey@redhat.com>
9028 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9031 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9033 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9034 inner_vla_struct_object_size.
9035 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9038 2014-07-30 Pedro Alves <palves@redhat.com>
9040 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9043 2014-07-29 Yao Qi <yao@codesourcery.com>
9046 * gdb.base/until-nodebug.exp: New.
9048 2014-07-28 Doug Evans <xdje42@gmail.com>
9051 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9052 previously existing parameter, and previously ambiguously spelled
9055 2014-07-28 Will Newton <will.newton@linaro.org>
9057 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9059 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9060 Doug Evans <xdje42@gmail.com>
9063 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9065 2014-07-25 Pedro Alves <palves@redhat.com>
9067 * gdb.threads/signal-command-handle-nopass.c: New file.
9068 * gdb.threads/signal-command-handle-nopass.exp: New file.
9069 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9070 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9071 * gdb.threads/signal-delivered-right-thread.c: New file.
9072 * gdb.threads/signal-delivered-right-thread.exp: New file.
9074 2014-07-25 Pedro Alves <palves@redhat.com>
9076 * gdb.base/double-prompt-target-event-error.exp
9077 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9079 (cancel_pagination_in_target_event): Rework double prompt
9081 * gdb.base/paginate-after-ctrl-c-running.exp
9082 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9084 * gdb.base/paginate-bg-execution.exp
9085 (test_bg_execution_pagination_return)
9086 (test_bg_execution_pagination_cancel): Remove '-notransfer
9088 * gdb.base/paginate-execution-startup.exp
9089 (test_fg_execution_pagination_return)
9090 (test_fg_execution_pagination_cancel): Remove '-notransfer
9092 * gdb.base/paginate-inferior-exit.exp
9093 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9095 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9096 * lib/gdb.exp (pagination_prompt): Run text through
9098 (gdb_test_multiple): Match $pagination_prompt instead of
9100 (string_to_regexp): Move to lib/gdb-utils.exp.
9102 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9104 * gdb.arch/amd64-entry-value-paramref.S: New file.
9105 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9106 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9107 * gdb.arch/amd64-optimout-repeat.S: New file.
9108 * gdb.arch/amd64-optimout-repeat.c: New file.
9109 * gdb.arch/amd64-optimout-repeat.exp: New file.
9111 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9114 * gdb.base/statistics.exp: New file.
9116 2014-07-17 Doug Evans <dje@google.com>
9119 * gdb.base/maint.exp: Update testing of per-command stats.
9121 2014-07-16 Pedro Alves <palves@redhat.com>
9123 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9124 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9125 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9126 (tfile_write_buf): New functions.
9127 (add_memory_block): Rewrite using the above.
9128 (adjust_function_address): New function.
9129 (FUNCTION_ADDRESS): New macro.
9130 (write_basic_trace_file): Remove short_x local, and use
9131 tfile_write_16. Change type of func_addr local to unsigned long
9132 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9133 here. Cast argument of add_memory_block to char pointer.
9134 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9135 (main): Remove parameters.
9136 * gdb.trace/tfile.exp: Remove nowarnings.
9138 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9140 * gdb.base/debug-expr.exp: Test string evaluation with
9141 "debug expression" on.
9143 2014-07-15 Pedro Alves <palves@redhat.com>
9145 * gdb.base/reread.exp: Use clean_restart.
9147 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9149 * gdb.arch/avr-flash-qualifer.c: New.
9150 * gdb.arch/avr-flash-qualifer.exp: New.
9152 2014-07-14 Pedro Alves <palves@redhat.com>
9154 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9155 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9157 2014-07-14 Pedro Alves <palves@redhat.com>
9159 * gdb.base/double-prompt-target-event-error.c: New file.
9160 * gdb.base/double-prompt-target-event-error.exp: New file.
9162 2014-07-14 Pedro Alves <palves@redhat.com>
9165 * gdb.base/paginate-inferior-exit.c: New file.
9166 * gdb.base/paginate-inferior-exit.exp: New file.
9168 2014-07-14 Pedro Alves <palves@redhat.com>
9171 * gdb.base/paginate-bg-execution.c: New file.
9172 * gdb.base/paginate-bg-execution.exp: New file.
9174 2014-07-14 Pedro Alves <palves@redhat.com>
9177 * gdb.base/paginate-execution-startup.c: New file.
9178 * gdb.base/paginate-execution-startup.exp: New file.
9179 * lib/gdb.exp (pagination_prompt): New global.
9180 (default_gdb_spawn): New procedure, factored out from
9182 (default_gdb_start): Adjust to call default_gdb_spawn.
9183 (gdb_spawn): New procedure.
9185 2014-07-14 Pedro Alves <palves@redhat.com>
9187 * lib/gdb.exp (gdb_assert): New procedure.
9188 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9190 2014-07-14 Pedro Alves <palves@redhat.com>
9192 * gdb.base/execution-termios.c: New file.
9193 * gdb.base/execution-termios.exp: New file.
9195 2014-07-14 Tom Tromey <tromey@redhat.com>
9197 * gdb.cp/vla-cxx.cc: New file.
9198 * gdb.cp/vla-cxx.exp: New file.
9200 2014-07-14 Tom Tromey <tromey@redhat.com>
9202 * gdb.reverse/rerun-prec.c: New file.
9203 * gdb.reverse/rerun-prec.exp: New file.
9205 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9206 Maciej W. Rozycki <macro@codesourcery.com>
9208 * lib/gdb-utils.exp: New file.
9209 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9210 inline `gdb_init_command' processing.
9211 (gdb_start_cmd): Likewise.
9212 * lib/mi-support.exp (mi_run_cmd): Likewise.
9213 * README: Document `gdb_init_command' and `gdb_init_commands'.
9215 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9217 Fix false FAIL running under a very long directory name.
9218 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9219 and "set print elements 10000". Twice.
9221 2014-07-11 Yao Qi <yao@codesourcery.com>
9223 * gdb.base/exprs.exp: "set print symbol off".
9225 2014-07-11 Pedro Alves <palves@redhat.com>
9227 * gdb.threads/kill.c: New file.
9228 * gdb.threads/kill.exp: New file.
9230 2014-07-10 Yao Qi <yao@codesourcery.com>
9232 * gdb.trace/tfile.c (write_basic_trace_file)
9233 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9234 address written to trace file.
9236 2014-07-09 Pedro Alves <palves@redhat.com>
9238 * gdb.base/attach-wait-input.exp: New file.
9239 * gdb.base/attach-wait-input.c: New file.
9241 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9243 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9244 setting up test structures.
9245 (main): Call new test function.
9246 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9247 test function, continue into test function and walk test
9250 2014-07-02 Yao Qi <yao@codesourcery.com>
9252 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9253 'bar_start' at the beginning of functions 'foo' and 'bar'
9255 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9256 instead of 'foo' and 'bar'.
9258 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9260 * gdb.btrace/segv.exp: New.
9261 * gdb.btrace/segv.c: New.
9263 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9265 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9268 2014-06-30 Mark Wielaard <mjw@redhat.com>
9270 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9271 vulture, vilify, villar): New volatile array constants.
9272 (vindictive, vegetation): New const volatile array constants.
9273 * gdb.base/volatile.exp: Test volatile and const volatile array
9276 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9278 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9279 target lacks support for awatch, rwatch, or hbreak.
9281 2014-06-27 Yao Qi <yao@codesourcery.com>
9283 * gdb.multi/dummy-frame-restore.exp: New.
9284 * gdb.multi/dummy-frame-restore.c: New.
9286 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9288 * gdb.btrace/gcore.exp: New.
9290 2014-06-23 Pedro Alves <palves@redhat.com>
9292 * gdb.base/watchpoint-reuse-slot.c: New file.
9293 * gdb.base/watchpoint-reuse-slot.exp: New file.
9295 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9297 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9298 progspace's filename in 'info', 'enable' and 'disable' command
9301 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9303 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9304 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9305 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9307 2014-06-20 Gary Benson <gbenson@redhat.com>
9309 * gdb.arch/i386-avx.exp: Fix include file location.
9310 * gdb.arch/i386-sse.exp: Likewise.
9312 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9314 * gdb.dlang/expression.exp: New file.
9316 2014-06-19 Pedro Alves <palves@redhat.com>
9318 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9320 (top level): ... here. Iterate running tests under different
9321 scheduler-locking settings.
9323 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9325 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9326 to DW_FORM_addr and use non-zero addresses.
9328 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9331 * gdb.python/py-xmethods.cc: Add global function call counters and
9332 increment them in their respective functions. Remove "cout"
9334 * gdb.python/py-xmethods.exp: Make tests check the global function
9335 call counters instead of depending on inferior IO.
9337 2014-06-18 Don Breazeal <donb@codesourcery.com>
9339 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9341 (explicit_fork_parent_follow): Deleted procedure.
9342 (explicit_fork_child_follow): Deleted procedure.
9343 (test_follow_fork): New procedure.
9344 (do_fork_tests): Replace calls to deleted procedures with
9345 calls to test_follow_fork and reset GDB for subsequent
9348 2014-06-17 Yao Qi <yao@codesourcery.com>
9350 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9353 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9355 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9356 Initialize ptr and S explicitly.
9357 (skip_type_update_when_not_use_rtti_test): Likewise.
9359 2014-06-16 Keith Seitz <keiths@redhat.com>
9362 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9363 the inferior is started.
9365 2014-06-16 Pedro Alves <palves@redhat.com>
9367 * gdb.base/break-main-file-remove-fail.c: New file.
9368 * gdb.base/break-main-file-remove-fail.exp: New file.
9369 * gdb.base/break-unload-file.exp: Use build_executable instead of
9370 prepare_for_testing.
9371 (test_break): New parameter "initial_load". Handle it.
9372 (top level): Add initial_load cmdline/file axis.
9374 2014-06-12 Tom Tromey <tromey@redhat.com>
9376 * gdb.base/completion.exp: Don't use directory name in test.
9378 2014-06-09 Gary Benson <gbenson@redhat.com>
9380 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9381 separate the always-available ANSI-standard signals from the
9382 signals that require checking.
9384 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9388 2014-06-07 Keith Seitz <keiths@redhat.com>
9392 * gdb.cp/var-tag.cc: New file.
9393 * gdb.cp/var-tag.exp: New file.
9394 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9395 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9396 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9397 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9399 2014-06-06 Doug Evans <xdje42@gmail.com>
9401 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9403 2014-06-06 Pedro Alves <palves@redhat.com>
9405 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9406 in target debug output instead of looking at RSP packets,
9407 disabling the test on any target that uses hardware stepping.
9410 2014-06-06 Pedro Alves <palves@redhat.com>
9412 * gdb.base/break-unload-file.exp: Fix typo.
9414 2014-06-06 Yao Qi <yao@codesourcery.com>
9416 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9417 from "jit_function" to "^jit_function".
9419 2014-06-06 Yao Qi <yao@codesourcery.com>
9421 * gdb.base/async.c (foo): Add one statement.
9422 * gdb.base/async.exp: Get the next instruction address and
9423 match the output of "nexti" by instruction address. Match
9424 the hex address in the output of "finish".
9426 2014-06-06 Gary Benson <gbenson@redhat.com>
9428 * gdb.base/call-signals.c: Remove preprocessor conditionals
9429 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9430 SIGSEGV and SIGTERM.
9431 * gdb.base/sigall.c: Likewise.
9432 * gdb.base/unwindonsignal.c: Likewise.
9433 * gdb.reverse/sigall-reverse.c: Likewise.
9435 2014-06-06 Yao Qi <yao@codesourcery.com>
9437 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9438 readable, skip the test.
9440 2014-06-06 Yao Qi <yao@codesourcery.com>
9442 * gdb.threads/staticthreads.c (thread_function): Move the line
9443 setting breakpoint on forward.
9444 * gdb.threads/staticthreads.exp: Update comments.
9446 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9448 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9449 "history-append! type error".
9451 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9453 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9454 erroneous dprintf expected input.
9456 2014-06-04 Doug Evans <xdje42@gmail.com>
9458 * gdb.guile/scm-generics.exp: Delete.
9460 2014-06-04 Doug Evans <xdje42@gmail.com>
9462 * gdb.guile/scm-breakpoint.exp: Update.
9463 Add tests for breakpoint registration.
9465 2014-06-04 Tom Tromey <tromey@redhat.com>
9467 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9469 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9470 inner_vla_struct, vla_union types. Initialize objects of those
9471 types and compute their sizes.
9473 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9474 Hui Zhu <hui@codesourcery.com>
9476 * gdb.base/fileio.exp: Add test for shell not available as well as
9478 * gdb.base/fileio.c (test_system): Check for shell twice.
9480 2014-06-04 Yao Qi <yao@codesourcery.com>
9482 * gdb.base/auto-connect-native-target.exp: Remove redundant
9483 space from the regexp pattern.
9485 2014-06-04 Yao Qi <yao@codesourcery.com>
9487 * gdb.base/default.exp: Replace "child" with "native" in
9490 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9492 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9493 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9494 * gdb.python/py-xmethods.py: Python script supporting the
9495 new testcase and tests.
9497 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9498 Pedro Alves <palves@redhat.com>
9500 PR breakpoints/17000
9501 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9502 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9504 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9506 * gdb.base/subst.exp: Add tests to verify partial path matching
9509 2014-06-03 Pedro Alves <palves@redhat.com>
9511 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9512 target that doesn't use software single-stepping.
9514 2014-06-03 Pedro Alves <palves@redhat.com>
9516 PR breakpoints/17000
9517 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9518 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9520 2014-06-02 Doug Evans <xdje42@gmail.com>
9522 * gdb.guile/scm-parameter.exp: New file.
9524 2014-06-02 Doug Evans <xdje42@gmail.com>
9526 * gdb.guile/scm-cmd.c: New file.
9527 * gdb.guile/scm-cmd.exp: New file.
9529 2014-06-02 Doug Evans <xdje42@gmail.com>
9531 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9532 pretty-printer lookup.
9533 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9534 (make-pp_s-printer): Call it.
9535 (make-pretty-printer-from-dict): New function.
9536 (lookup-pretty-printer-maker-from-dict): New function.
9537 (*pretty-printer*): Simplify.
9538 (make-objfile-pp_s-printer): New function.
9539 (install-objfile-pretty-printers!): New function.
9540 (make-progspace-pp_s-printer): New function.
9541 (install-progspace-pretty-printers!): New function.
9542 * gdb.guile/scm-progspace.c: New file.
9543 * gdb.guile/scm-progspace.exp: New file.
9545 2014-06-02 Pedro Alves <palves@redhat.com>
9547 * gdb.base/dprintf-bp-same-addr.c: New file.
9548 * gdb.base/dprintf-bp-same-addr.exp: New file.
9550 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9552 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9553 * gdb.arch/powerpc-power.s: Likewise.
9555 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9557 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9559 2014-06-01 Yao Qi <yao@codesourcery.com>
9561 * gdb.base/watchpoint.exp (test_watch_location): Check null
9562 pointer can be dereferenced. If not, do the test, otherwise
9565 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9567 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9569 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9571 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9573 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9574 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9575 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9576 * gdb.arch/amd64-invalid-stack-top.c: New file.
9577 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9579 2014-05-30 Pedro Alves <palves@redhat.com>
9581 PR breakpoints/17000
9582 * gdb.base/sss-bp-on-user-bp.c: New file.
9583 * gdb.base/sss-bp-on-user-bp.exp: New file.
9585 2014-05-30 David Blaikie <dblaikie@gmail.com>
9587 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9588 gnu_inline semantics via attribute.
9589 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9590 source explicitly specifies the required semantics.
9592 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9594 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9596 2014-05-29 Pedro Alves <palves@redhat.com>
9597 Tom Tromey <tromey@redhat.com>
9599 * gdb.base/async-shell.exp: Don't enable target-async.
9600 * gdb.base/async.exp
9601 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9603 (top level): Don't test with "target-async".
9604 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9605 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9606 * gdb.base/inferior-died.exp: Don't enable target-async.
9607 * gdb.base/interrupt-noterm.exp: Likewise.
9608 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9609 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9610 * gdb.mi/mi-nonstop.exp: Likewise.
9611 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9612 * gdb.mi/mi-nsintrall.exp: Likewise.
9613 * gdb.mi/mi-nsmoribund.exp: Likewise.
9614 * gdb.mi/mi-nsthrexec.exp: Likewise.
9615 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9616 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9617 * gdb.python/py-evsignal.exp: Don't enable target-async.
9618 * gdb.python/py-evthreads.exp: Likewise.
9619 * gdb.python/py-prompt.exp: Likewise.
9620 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9621 * gdb.server/solib-list.exp: Don't enable target-async.
9622 * gdb.threads/thread-specific-bp.exp: Likewise.
9623 * lib/mi-support.exp: Adjust to use mi-async.
9625 2014-05-29 Pedro Alves <palves@redhat.com>
9628 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9629 reason, even in sync mode.
9631 2014-05-29 Pedro Alves <palves@redhat.com>
9632 Hui Zhu <hui@codesourcery.com>
9635 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9636 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9637 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9638 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9640 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9642 * config/monitor.exp (gdb_target_monitor): Replace use of
9643 "set remotebaud" by "set serial baud".
9645 2014-05-26 Andy Wingo <wingo@igalia.com>
9647 * gdb.guile/scm-breakpoint.exp:
9648 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9649 properties instead of gdb-object-properties.
9651 2014-05-26 Yao Qi <yao@codesourcery.com>
9653 * gdb.server/no-thread-db.exp: Specify source file name
9654 explicitly when setting a breakpoint.
9656 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9658 * gdb.btrace/vdso.c: New.
9659 * gdb.btrace/vdso.exp: New.
9661 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9663 * gdb.base/gcore.exp (capture_command_output): Move ...
9664 * lib/gdb.exp (capture_command_output): ... here.
9666 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9668 * gdb.btrace/data.exp: Test memory access during btrace replay.
9670 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9672 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9674 2014-05-21 Pedro Alves <palves@redhat.com>
9677 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9678 (top level): Test that output related to execution commands is
9679 sent to the console with CLI commands, but not with MI commands.
9680 Test that breakpoint events are always mirrored to the console.
9681 Also expect the new source line to be output after a "next" in
9682 async mode too. Make it a pass/fail test.
9683 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9685 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9687 2014-05-21 Pedro Alves <palves@redhat.com>
9689 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9690 Use them to test variations of "list" after reaching a breakpoint.
9691 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9692 Test "list" with listsize 10 after reaching a breakpoint.
9693 * gdb.python/python.exp (decode_line current location line
9694 number): Adjust expected line number.
9696 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9698 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9699 behavior for $args, pass it directly to "run".
9701 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9703 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9706 2014-05-21 Pedro Alves <palves@redhat.com>
9708 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9709 auto-connect-native-target off".
9710 * gdb.base/auto-connect-native-target.c: New file.
9711 * gdb.base/auto-connect-native-target.exp: New file.
9713 2014-05-21 Pedro Alves <palves@redhat.com>
9715 * gdb.base/default.exp: Test "target native" instead of "target
9718 2014-05-21 Mark Wielaard <mjw@redhat.com>
9720 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9722 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9724 Fix TLS access for -static -pthread.
9725 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9726 <HAVE_TLS> (thread_function, main): Initialize it.
9727 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9729 <$have_tls != "">: Check TLSVAR.
9731 2014-05-21 Pedro Alves <palves@redhat.com>
9733 * gdb.base/dcache-line-read-error.c: New.
9734 * gdb.base/dcache-line-read-error.exp: New.
9736 2014-05-20 Pedro Alves <palves@redhat.com>
9738 * gdb.base/compare-sections.c: New file.
9739 * gdb.base/compare-sections.exp: New file.
9741 2014-05-20 Pedro Alves <palves@redhat.com>
9743 * gdb.base/break-idempotent.c: New file.
9744 * gdb.base/break-idempotent.exp: New file.
9746 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9748 * gdb.btrace/nohist.exp: New.
9750 2014-05-20 Yao Qi <yao@codesourcery.com>
9752 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9753 gdb.reverse directory and gdb_reverse_timeout exists in board
9755 * README: Document gdb_reverse_timeout.
9757 2014-05-20 Yao Qi <yao@codesourcery.com>
9759 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9760 'test_file_name'. Treat args as a string instead of a list.
9761 (gdb_init): Rename argument 'args' by 'test_file_name'.
9763 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9765 * gdb.arch/powerpc-power.exp: New file.
9766 * gdb.arch/powerpc-power.s: New file.
9768 2014-05-16 Doug Evans <dje@google.com>
9770 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9771 * gdb.base/completion.exp: Check that all expected files exist
9772 before doing file completion.
9774 2014-05-16 Doug Evans <dje@google.com>
9776 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9778 (do_syscall_tests_without_xml): Update.
9780 2014-05-16 Pedro Alves <palves@redhat.com>
9782 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9783 instead of "unknown output after running".
9785 2014-05-16 Yao Qi <yao@codesourcery.com>
9787 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9788 file1.txt from host at the end.
9789 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9791 2014-05-15 Doug Evans <dje@google.com>
9793 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9794 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9795 loading file. Add test for TU lookup.
9797 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9799 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9800 calling "-exec-arguments" or "set args" before running the
9803 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9805 * lib/mi-support.exp (mi_expect_stop): Expect message for
9806 inferiors that exit with non-zero exit code.
9808 2014-05-14 Yao Qi <yao@codesourcery.com>
9810 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9811 match absolute path on remote host.
9812 (test_file_list_exec_source_files): Remove "/" from the
9815 2014-05-14 Yao Qi <yao@codesourcery.com>
9817 * boards/local-remote-host-notty.exp (${board}_file): New
9820 2014-05-07 Kyle McMartin <kyle@redhat.com>
9822 Pushed by Joel Brobecker <brobecker@adacore.com>.
9823 * gdb.arch/aarch64-atomic-inst.c: New file.
9824 * gdb.arch/aarch64-atomic-inst.exp: New file.
9826 2014-05-07 Yao Qi <yao@codesourcery.com>
9828 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9829 in current context" too.
9831 2014-05-05 Keith Seitz <keiths@redhat.com>
9833 * gdb.linespec/ls-dollar.exp: Add test for linespec
9834 file:convenience_variable.
9836 2014-05-05 Yao Qi <yao@codesourcery.com>
9838 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9839 traceframes into tfile and ctf trace files. Read data from
9840 trace file and test collected data.
9841 (gdb_collect_locals_test): Likewise.
9842 (gdb_unavailable_registers_test): Likewise.
9843 (gdb_unavailable_floats): Likewise.
9844 (gdb_collect_globals_test): Likewise.
9845 (top-level): Append "ctf" to trace_file_targets if GDB
9848 2014-05-05 Yao Qi <yao@codesourcery.com>
9850 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9852 (gdb_collect_args_test_1): ... it. New proc.
9853 (gdb_collect_locals_test): Move some code to ...
9854 (gdb_collect_locals_test_1): ... it. New proc.
9855 (gdb_unavailable_registers_test): Move some code to ...
9856 (gdb_unavailable_registers_test_1): ... it. New proc.
9857 (gdb_unavailable_floats): Move some code to ...
9858 (gdb_unavailable_floats_1): ... it. New proc.
9860 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9862 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9863 probes to test for bitness recognition.
9864 * gdb.arch/amd64-stap-optional-prefix.exp
9865 (test_probe_value_without_reg): New procedure.
9866 Add code to test for different kinds of bitness.
9868 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9870 PR breakpoints/16889
9871 * gdb.arch/amd64-stap-optional-prefix.S: New file.
9872 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9874 2014-05-01 Pedro Alves <palves@redhat.com>
9876 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
9877 gdb_file_cmd if no file is specified.
9878 * boards/native-extended-gdbserver.exp (gdb_load): Use the
9879 last_loaded_file to set the remote exec-file.
9881 2014-05-01 Pedro Alves <palves@redhat.com>
9883 * boards/local-remote-host.exp: New file.
9885 2014-05-01 Pedro Alves <palves@redhat.com>
9887 * boards/local-remote-host.exp: Rename to ...
9888 * boards/local-remote-host-notty.exp: ... this.
9890 2014-04-28 Joel Brobecker <brobecker@adacore.com>
9892 * gdb.ada/dyn_arrayidx: New testcase.
9894 2014-04-26 Yao Qi <yao@codesourcery.com>
9896 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
9897 and compute the length of function main. Save it in
9899 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
9900 (top-level): Use gdb_compile to compile objects into
9901 executable and restart GDB. Remove invocation to
9902 prepare_for_testing.
9904 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
9905 Pedro Alves <palves@redhat.com>
9908 * gdb.multi/multi-attach.c: New file.
9909 * gdb.multi/multi-attach.exp: New file.
9911 2014-04-25 Pedro Alves <palves@redhat.com>
9913 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
9915 (top level): Test that "set remote conditional-breakpoints-packet
9916 off" works as intended.
9917 * gdb.base/dprintf.exp: Test that "set remote
9918 breakpoint-commands-packet off" works as intended.
9919 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
9921 (top level): Call it.
9922 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
9923 remote fast-tracepoints-packet off" works as intended.
9924 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
9925 * lib/gdb.exp (gdb_is_target_remote): ... here.
9927 2014-04-24 David Blaikie <dblaikie@gmail.com>
9929 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
9930 ensure clang would not discard them.
9931 * gdb.base/gdbvars.c: Ditto.
9932 * gdb.base/memattr.c: Ditto.
9933 * gdb.base/whatis.c: Ditto.
9934 * gdb.python/py-prettyprint.c: Ditto.
9935 * gdb.trace/actions.c: Ditto.
9936 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9937 ensure clang would not discard it.
9939 2014-04-24 David Blaikie <dblaikie@gmail.com>
9941 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9942 clang to emit the full definition of type required by the test
9943 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9945 2014-04-24 David Blaikie <dblaikie@gmail.com>
9947 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9948 coax Clang into emitting the definition of the type.
9949 * gdb.cp/pr10728-x.h (y): Ditto.
9950 * gdb.cp/pr10728-y.cc (y): Ditto.
9952 2014-04-24 David Blaikie <dblaikie@gmail.com>
9954 * gdb.base/label.exp: XFAIL label related tests under Clang.
9955 * gdb.cp/cplabel.exp: Ditto.
9956 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9957 under Clang those using labels.
9959 2014-04-25 Yao Qi <yao@codesourcery.com>
9961 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9963 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9964 partial_label and double_label.
9966 2014-04-24 David Blaikie <dblaikie@gmail.com>
9968 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9970 2014-04-24 David Blaikie <dblaikie@gmail.com>
9972 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9973 of the function to work across GCC and Clang.
9974 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9975 pointer types (const void ** const V void **).
9977 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9978 Walfred Tedeschi <walfred.tedeschi@intel.com>
9980 * Makefile.in (EXECUTABLES): Added i386-avx512.
9981 * gdb.arch/i386-avx512.c: New file.
9982 * gdb.arch/i386-avx512.exp: Likewise.
9984 2014-04-23 Keith Seitz <keiths@redhat.com>
9986 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9987 (mi_make_breakpoint_table): New procedure.
9988 (mi_create_breakpoint): Use mi_make_breakpoint
9989 and return the result.
9990 (mi_make_breakpoint): New procedure.
9991 (mi_build_kv_pairs): New procedure.
9993 * gdb.mi/mi-break.exp: Remove unused globals,
9994 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9995 All callers updated.
9996 * gdb.mi/mi-dprintf.exp: Use variable to track command
9998 Update all callers of mi_create_breakpoint and use
9999 mi_make_breakpoint_table.
10000 Remove any unused global variables.
10001 * gdb.mi/mi-nonstop.exp: Likewise.
10002 * gdb.mi/mi-nsintrall.exp: Likewise.
10003 * gdb.mi/mi-nsmoribund.exp: Likewise.
10004 * gdb.mi/mi-nsthrexec.exp: Likewise.
10005 * gdb.mi/mi-reverse.exp: Likewise.
10006 * gdb.mi/mi-simplerun.exp: Likewise.
10007 * gdb.mi/mi-stepn.exp: Likewise.
10008 * gdb.mi/mi-syn-frame.exp: Likewise.
10009 * gdb.mi/mi-until.exp: Likewise.
10010 * gdb.mi/mi-var-cp.exp: Likewise.
10011 * gdb.mi/mi-var-display.exp: Likewise.
10012 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10013 * gdb.mi/mi2-var-child.exp: Likewise.
10014 * gdb.mi/mi-vla-c99.exp: Likewise.
10015 * lib/mi-support.exp: Likewise.
10017 From Ian Lance Taylor <iant@cygnus.com>:
10018 * lib/gdb.exp (parse_args): New procedure.
10020 2014-04-23 Pedro Alves <palves@redhat.com>
10022 * gdb.base/break-unload-file.c: New file.
10023 * gdb.base/break-unload-file.exp: New file.
10024 * gdb.base/sym-file-lib.c (baz): New function.
10025 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10027 (load): Store the segment's mapped size.
10028 (unload): New function.
10029 (unload_shlib): New function.
10030 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10031 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10032 set a breakpoint at baz, and call it.
10033 * gdb.base/sym-file.exp: New tests for stale breakpoint
10036 2014-04-23 Pedro Alves <palves@redhat.com>
10038 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10039 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10040 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10041 * gdb.base/hbreak-unmapped.c: New file.
10042 * gdb.base/hbreak-unmapped.exp: New file.
10043 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10044 * lib/gdb.exp (gdb_is_target_remote): ... here.
10046 2014-04-22 Pedro Alves <palves@redhat.com>
10048 * gdb.base/consecutive-step-over.c: New file.
10049 * gdb.base/consecutive-step-over.exp: New file.
10051 2014-04-22 Pedro Alves <palves@redhat.com>
10053 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10054 instead of send_gdb/gdb_expect.
10056 2014-04-22 Yao Qi <yao@codesourcery.com>
10058 * lib/trace-support.exp (generate_tracefile): New procedure.
10059 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10061 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10062 if generate_tracefile returns 1.
10064 2014-04-18 Tom Tromey <palves@redhat.com>
10065 Pedro alves <tromey@redhat.com>
10068 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10069 with a backtrace limit.
10070 * gdb.python/py-frame-inline.exp: Test running to an inline
10071 function with a backtrace limit, and printing the newest frame.
10072 * gdb.python/py-frame-inline.c (main): Call f.
10074 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10076 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10078 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10080 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10081 Drop prefix from unsupported source file path.
10083 2014-04-17 Yao Qi <yao@codesourcery.com>
10085 * lib/gdb.exp (with_target_charset): New proc.
10086 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10087 with_target_charset.
10088 (test_print_strings): Likewise.
10089 (test_repeat_bytes): Likewise.
10090 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10093 2014-04-16 Keith Seitz <keiths@redhat.com>
10096 * gdb.dwarf2/corrupt.c: New file.
10097 * gdb.dwarf2/corrupt.exp: New file.
10099 2014-04-16 Keith Seitz <keiths@redhat.com>
10102 * gdb.cp/namelessclass.cc: New file.
10103 * gdb.cp/namelessclass.exp: New file.
10104 * gdb.cp/namelessclass.S: New file.
10106 2014-04-16 Doug Evans <dje@google.com>
10108 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10110 (gdbserver_default_get_comm_port): New function.
10111 (gdbserver_start): Check if board file provided
10112 "gdbserver,get_comm_port" and use it if so.
10113 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10114 (gdb,socketport): Set to "stdio".
10115 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10116 (stdio_gdbserver_template): Delete.
10117 (${board}_get_remote_address): Update.
10118 (${board}_build_remote_cmd): Delete.
10119 (${board}_get_comm_port): New function.
10120 (${board}_spawn): Update.
10121 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10123 (${board}_get_remote_address): Update.
10124 (${board}_get_comm_port): New function.
10126 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10128 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10129 appearing in any order.
10131 2014-04-15 Doug Evans <dje@google.com>
10133 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10134 uninitialized value of "description".
10136 2014-04-15 Keith Seitz <keiths@redhat.com>
10138 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10139 Remove unused globals.
10140 (test_running_the_program): Likewise.
10141 (test_controlled_execution): Likewise.
10142 (test_controlling_breakpoints): Likewise.
10143 (test_program_termination): Likewise.
10145 2014-04-15 Keith Seitz <keiths@redhat.com>
10147 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10149 (test_rbreak_creation_and_listing): Likewise.
10150 (test_ignore_count): Likewise.
10151 (test_error): Likewise.
10153 2014-04-15 Pedro Alves <palves@redhat.com>
10155 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10156 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10158 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10159 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10160 to sym-file-loader.c.
10161 (struct library): Forward declare.
10162 (load_shlib, lookup_function): Change prototypes.
10163 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10164 (translate_offset): Remove declarations.
10165 (get_text_addr): New declaration.
10166 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10167 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10169 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10170 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10171 here from sym-file-loader.h.
10172 (struct library): New structure.
10173 (load_shlib, lookup_function): Change prototypes and adjust to
10174 work with a struct library.
10175 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10176 (translate_offset): Make static.
10177 (get_text_addr): New function.
10178 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10180 2014-04-15 Pedro Alves <palves@redhat.com>
10182 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10184 2014-04-15 Pedro Alves <palves@redhat.com>
10186 * gdb.base/sym-file-loader.c: Include <limits.h>.
10187 (SELF_LINK): New define.
10188 (get_origin): New function.
10189 (load_shlib): Use it.
10190 * gdb.base/sym-file.exp: Don't early return if the target is
10191 remote. Use runto_main, and issue fail is that fails. Use
10193 (shlib_name): Delete.
10194 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10196 2014-04-15 Pedro Alves <palves@redhat.com>
10198 * gdb.base/sym-file.exp: Remove regex characters from test
10199 message. Don't refer to breakpoint numbers in test messages.
10201 2014-04-14 Keith Seitz <keiths@redhat.com>
10204 * gdb.cp/var-tag.cc: New file.
10205 * gdb.cp/var-tag.exp: New file.
10206 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10207 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10208 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10209 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10211 2014-04-14 Tom Tromey <tromey@redhat.com>
10213 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10214 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10216 * gdb.cp/enum-class.exp: New file.
10217 * gdb.cp/enum-class.cc: New file.
10219 2014-04-14 Tom Tromey <tromey@redhat.com>
10221 * gdb.dwarf2/enum-type.exp: New file.
10223 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10225 * gdb.mi/mi-vla-c99.exp: New file.
10226 * gdb.mi/vla.c: New file.
10228 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10230 * gdb.base/vla-datatypes.c: New file.
10231 * gdb.base/vla-datatypes.exp: New file.
10233 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10235 * gdb.base/vla-ptr.c: New file.
10236 * gdb.base/vla-ptr.exp: New file.
10238 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10240 * gdb.dwarf2/count.exp: New file.
10242 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10244 * gdb.base/vla-sideeffect.c: New file.
10245 * gdb.base/vla-sideeffect.exp: New file.
10247 2014-04-14 David Blaikie <dblaikie@gmail.com>
10249 * gdb.mi/non-stop.c: Add return value for non-void function return
10251 * gdb.threads/staticthreads.c: Ditto.
10253 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10254 Doug Evans <xdje42@gmail.com>
10256 * gdb.guile/scm-value.c: Improve test case.
10257 * gdb.guile/scm-value.exp: Add new test.
10259 2014-04-11 David Blaikie <dblaikie@gmail.com>
10261 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10262 override Clang's default.
10264 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10266 Revert the following changes (regressions):
10268 * gdb.base/vla-sideeffect.c: New file.
10269 * gdb.base/vla-sideeffect.exp: New file.
10271 * gdb.dwarf2/count.exp: New file.
10273 * gdb.base/vla-multi.c: New file.
10274 * gdb.base/vla-multi.exp: New file.
10276 * gdb.base/vla-ptr.c: New file.
10277 * gdb.base/vla-ptr.exp: New file.
10279 * gdb.base/vla-datatypes.c: New file.
10280 * gdb.base/vla-datatypes.exp: New file.
10282 * gdb.mi/mi-vla-c99.exp: New file.
10283 * gdb.mi/vla.c: New file.
10285 2014-04-11 Keith Seitz <keiths@redhat.com>
10288 * gdb.cp/cpsizeof.exp: New file.
10289 * gdb.cp/cpsizeof.cc: New file.
10291 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10293 * gdb.mi/mi-vla-c99.exp: New file.
10294 * gdb.mi/vla.c: New file.
10296 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10298 * gdb.base/vla-datatypes.c: New file.
10299 * gdb.base/vla-datatypes.exp: New file.
10301 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10303 * gdb.base/vla-ptr.c: New file.
10304 * gdb.base/vla-ptr.exp: New file.
10306 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10308 * gdb.base/vla-multi.c: New file.
10309 * gdb.base/vla-multi.exp: New file.
10311 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10313 * gdb.dwarf2/count.exp: New file.
10315 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10317 * gdb.base/vla-sideeffect.c: New file.
10318 * gdb.base/vla-sideeffect.exp: New file.
10320 2014-04-11 Yao Qi <yao@codesourcery.com>
10322 * gdb.base/completion.exp: Check file exists before running tests
10323 on file completion.
10325 2014-04-10 Pedro Alves <palves@redhat.com>
10327 * gdb.base/cond-eval-mode.c: New file.
10328 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10329 prepare_for_testing to build the new file. Check result of
10331 (test_break, test_watch): New procedures.
10332 (top level): Use them.
10334 2014-04-08 Pierre Muller <muller@sourceware.org>
10336 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10337 Ctrl-V use for mingw hosts.
10339 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10341 * gdb.python/py-value.c: Improve test case.
10342 * gdb.python/py-value.exp: Add new test.
10344 2014-04-07 David Blaikie <dblaikie@gmail.com>
10346 * lib/compiler.c: Identify the clang compiler.
10347 * lib/compiler.cc: Ditto.
10349 2014-04-03 Yao Qi <yao@codesourcery.com>
10351 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10353 2014-04-01 Anton Blanchard <anton@samba.org>
10355 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10358 2014-04-01 Anton Blanchard <anton@samba.org>
10360 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10361 prepare_for_testing.
10363 2014-04-01 Anton Blanchard <anton@samba.org>
10365 * gdb.arch/ppc64-atomic-inst.c: Remove.
10366 * gdb.arch/ppc64-atomic-inst.S: New file.
10367 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10369 2014-03-31 Doug Evans <dje@google.com>
10371 * gdb.base/print-symbol-loading-lib.c: New file.
10372 * gdb.base/print-symbol-loading-main.c: New file.
10373 * gdb.base/print-symbol-loading.exp: New file.
10375 2014-03-31 Yao Qi <yao@codesourcery.com>
10377 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10379 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10381 * gdb.ada/mi_dyn_arr: New testcase.
10383 2014-03-27 Doug Evans <dje@google.com>
10385 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10387 2014-03-27 Yao Qi <yao@codesourcery.com>
10389 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10390 if target is nios2-*-*.
10392 2014-03-26 Yao Qi <yao@codesourcery.com>
10394 * lib/gdb.exp (readline_is_used): New proc.
10395 * gdb.base/completion.exp: Move tests on command complete up.
10396 Skip the rest of tests if readline is not used.
10397 * gdb.ada/complete.exp: Skp the test if readline is not
10399 * gdb.base/filesym.exp: Likewise.
10400 * gdb.base/macscp.exp: Likewise.
10401 * gdb.base/readline-ask.exp: Likewise.
10402 * gdb.base/readline.exp: Likewise.
10403 * gdb.python/py-cmd.exp: Likewise.
10404 * gdb.trace/tfile.exp: Likewise.
10406 2014-03-26 Yao Qi <yao@codesourcery.com>
10408 * gdb.base/macscp.exp: Fix code format issues.
10410 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10412 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10413 * gdb.asm/powerpc64le.inc: New file.
10415 2014-03-25 Pedro Alves <palves@redhat.com>
10416 Doug Evans <dje@google.com>
10418 * gdb.base/source-execution.c: New file.
10419 * gdb.base/source-execution.exp: New file.
10420 * gdb.base/source-execution.gdb: New file.
10422 2014-03-24 Doug Evans <dje@google.com>
10424 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10427 2014-03-24 Hui Zhu <hui@codesourcery.com>
10428 Pedro Alves <palves@redhat.com>
10430 PR breakpoints/16101
10431 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10432 test pass/fail messages. Detect missing support for dprintf when
10433 breakpoints are actually inserted.
10434 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10435 breakpoints are actually inserted.
10436 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10439 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10441 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10443 2014-03-22 Doug Evans <xdje42@gmail.com>
10445 * gdb.python/python.exp (python not supported): Verify multi-line
10446 python command issues an error.
10447 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10448 guile command issues an error.
10450 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10452 * gdb.threads/thread-specific.exp: Handle the lack of usable
10453 $this_breakpoint and $this_thread.
10455 2014-03-21 Hui Zhu <hui@codesourcery.com>
10457 * gdb.base/attach.exp (do_command_attach_tests): New.
10459 2014-03-20 Tom Tromey <tromey@redhat.com>
10460 Pedro Alves <palves@redhat.com>
10463 * gdb.base/condbreak-call-false.c: New file.
10464 * gdb.base/condbreak-call-false.exp: New file.
10466 2014-03-20 Pedro Alves <palves@redhat.com>
10468 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10470 (block_signals, unblock_signals): Delete.
10471 (child_function_2, main): Remove references to deleted variable
10474 2014-03-20 Pedro Alves <palves@redhat.com>
10476 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10477 Use pthread_kill to signal thread 2.
10478 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10479 Adjust to make the test send itself a signal rather than using the
10480 host's "kill" command.
10482 2014-03-20 Pedro Alves <palves@redhat.com>
10484 * gdb.threads/multiple-step-overs.c: New file.
10485 * gdb.threads/multiple-step-overs.exp: New file.
10486 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10487 Adjust expected infrun debug output.
10489 2014-03-20 Pedro Alves <palves@redhat.com>
10491 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10492 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10494 2014-03-20 Pedro Alves <palves@redhat.com>
10496 PR breakpoints/7143
10497 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10498 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10499 of gdb_test_multiple.
10500 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10501 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10503 2014-03-20 Pedro Alves <palves@redhat.com>
10505 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10506 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10508 2014-03-19 Pedro Alves <palves@redhat.com>
10510 * gdb.base/async.exp: Remove early return.
10512 2014-03-19 Pedro Alves <palves@redhat.com>
10514 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10516 2014-03-19 Pedro Alves <palves@redhat.com>
10518 * gdb.base/async.exp (test_background): Expect \r\n after
10519 "completed." in the fail pattern.
10521 2014-03-19 Pedro Alves <palves@redhat.com>
10523 * gdb.base/async.exp (test_background): New procedure.
10524 Use it for all background execution command tests.
10526 2014-03-19 Pedro Alves <palves@redhat.com>
10528 * gdb.base/async.exp: Use prepare_for_testing.
10530 2014-03-19 Pedro Alves <palves@redhat.com>
10532 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10535 2014-03-19 Pedro Alves <palves@redhat.com>
10537 * gdb.base/async.c (main): Add "jump here" and "until here" line
10539 * gdb.base/async.exp (jump_here): New global.
10540 (jump& test): Use it.
10541 (until_here): New global.
10542 (until& test): Use it.
10544 2014-03-19 Pedro Alves <palves@redhat.com>
10546 * gdb.base/async.exp: Don't frob gdb_protocol.
10548 2014-03-18 Doug Evans <xdje42@gmail.com>
10550 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10551 Fix spelling of exec-done-display.
10553 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10556 * gdb.base/gdb-sigterm.c: New file.
10557 * gdb.base/gdb-sigterm.exp: New file.
10559 2014-03-18 Pedro Alves <palves@redhat.com>
10562 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10563 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10566 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10568 * gdb.ada/pckd_arr_ren: New testcase.
10570 2014-03-13 Doug Evans <xdje42@gmail.com>
10573 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10574 collect after discarding symbols.
10576 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10577 Doug Evans <xdje42@gmail.com>
10579 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10580 to history survives a gc.
10582 2014-03-13 Pedro Alves <palves@redhat.com>
10584 * gdb.base/default.exp: Don't test "target procfs".
10586 2014-03-13 Pedro Alves <palves@redhat.com>
10588 * gdb.base/default.exp: Update "target child" and "target procfs"
10589 tests to not expect "Unix".
10591 2014-03-12 Tom Tromey <tromey@redhat.com>
10593 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10594 New procs. Add target-async tests.
10595 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10596 Add target-async tests.
10598 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10600 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10601 'func_start' and 'func_end' for the beginning and end of the
10602 function code, respectively.
10603 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10604 'func_end' instead of 'func' and 'main'.
10606 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10608 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10609 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10610 generate the debug info assembler source.
10612 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10614 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10615 * gdb.dwarf2/arr-subrange.exp: Likewise.
10616 * gdb.dwarf2/dwz.exp: Likewise.
10617 * gdb.dwarf2/method-ptr.exp: Likewise.
10618 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10619 * gdb.dwarf2/subrange.exp: Likewise.
10620 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10621 * gdb.dwarf2/implptrpiece.exp: Likewise.
10622 * gdb.dwarf2/nostaticblock.exp: Likewise.
10624 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10626 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10627 directory to absolute path name arguments.
10629 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10631 * gdb.ada/tagged_access: New testcase.
10633 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10635 * gdb.btrace/data.exp: Update expected output.
10637 2014-03-06 Yao Qi <yao@codesourcery.com>
10639 * gdb.trace/pr16508.exp: New file.
10641 2014-03-05 Pedro Alves <palves@redhat.com>
10644 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10646 (top level): Adjust to use it. Add tests that exercise breakpoint
10647 interaction with the code-cache.
10649 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10651 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10652 test for 'history-append!'.
10654 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10656 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10657 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10658 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10659 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10660 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10661 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10663 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10665 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10666 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10667 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10669 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10671 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10673 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10675 * gdb.dwarf2/arr-stride.c: New file.
10676 * gdb.dwarf2/arr-stride.exp: New file.
10678 2014-02-26 Pedro Alves <palves@redhat.com>
10680 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10681 that won't ever trigger. Make sure that GDB reports the correct
10682 breakpoint that caused the stop.
10684 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10687 * gdb.base/auto-load-script: New file.
10688 * gdb.base/auto-load.c: New file.
10689 * gdb.base/auto-load.exp: New file.
10692 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10694 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10696 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10697 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10699 2014-02-24 Doug Evans <dje@google.com>
10701 * lib/gdb.exp (run_on_host): Log error output if program fails.
10703 2014-02-21 Pedro Alves <palves@redhat.com>
10705 * gdb.threads/step-after-sr-lock.c: Rename to ...
10706 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10707 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10708 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10711 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10714 * gdb.arch/amd64-stap-special-operands.exp: New file.
10715 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10716 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10717 * gdb.arch/amd64-stap-triplet.S: Likewise.
10718 * gdb.arch/amd64-stap-triplet.c: Likewise.
10720 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10722 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10723 in .section pseudo-op.
10725 2014-02-20 lin zuojian <manjian2006@gmail.com>
10726 Joel Brobecker <brobecker@adacore.com>
10727 Doug Evans <xdje42@gmail.com>
10730 * gdb.dwarf2/dw2-icycle.S: New file.
10731 * gdb.dwarf2/dw2-icycle.c: New file.
10732 * gdb.dwarf2/dw2-icycle.exp: New file.
10734 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10736 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10737 operations on gdb.Value objects.
10738 * gdb.python/py-value-cc.exp: Add new test to test operations on
10741 2014-02-18 Doug Evans <dje@google.com>
10743 * Makefile.in (TESTS): New variable.
10744 (expanded_tests, expanded_tests_or_none): New variables
10745 (check-single): Pass $(expanded_tests_or_none) to runtest.
10746 (check-parallel): Only run tests in $(TESTS) if non-empty.
10747 (check/no-matching-tests-found): New rule.
10748 * README: Document TESTS makefile variable.
10750 2014-02-18 Doug Evans <dje@google.com>
10752 * Makefile.in (check-parallel): rm -rf outputs temp.
10754 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10756 Fix "ERROR: no fileid for" in the testsuite.
10757 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10759 2014-02-12 Doug Evans <dje@google.com>
10761 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10762 (MISCELLANEOUS): New variable.
10763 (clean): rm -rf $(MISCELLANEOUS).
10764 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10765 dwp live in the same directory as symlinks, with each symlink pointed
10766 to a differently named file in a different directory.
10768 2014-02-11 Doug Evans <dje@google.com>
10770 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10771 of Tcl file commands.
10773 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10775 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10776 "kill -SIGUSR1 -1".
10778 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10780 * gdb.ada/tick_length_array_enum_idx: New testcase.
10782 2014-02-10 Doug Evans <xdje42@gmail.com>
10784 * configure.ac (AC_OUTPUT): Add gdb.guile.
10785 * configure: Regenerate.
10786 * lib/gdb-guile.exp: New file.
10787 * lib/gdb.exp (get_target_charset): New function.
10788 * gdb.base/help.exp: Update expected output from "apropos apropos".
10789 * gdb.guile/Makefile.in: New file.
10790 * gdb.guile/guile.exp: New file.
10791 * gdb.guile/scm-arch.c: New file.
10792 * gdb.guile/scm-arch.exp: New file.
10793 * gdb.guile/scm-block.c: New file.
10794 * gdb.guile/scm-block.exp: New file.
10795 * gdb.guile/scm-breakpoint.c: New file.
10796 * gdb.guile/scm-breakpoint.exp: New file.
10797 * gdb.guile/scm-disasm.c: New file.
10798 * gdb.guile/scm-disasm.exp: New file.
10799 * gdb.guile/scm-equal.c: New file.
10800 * gdb.guile/scm-equal.exp: New file.
10801 * gdb.guile/scm-error.exp: New file.
10802 * gdb.guile/scm-error.scm: New file.
10803 * gdb.guile/scm-frame-args.c: New file.
10804 * gdb.guile/scm-frame-args.exp: New file.
10805 * gdb.guile/scm-frame-args.scm: New file.
10806 * gdb.guile/scm-frame-inline.c: New file.
10807 * gdb.guile/scm-frame-inline.exp: New file.
10808 * gdb.guile/scm-frame.c: New file.
10809 * gdb.guile/scm-frame.exp: New file.
10810 * gdb.guile/scm-generics.exp: New file.
10811 * gdb.guile/scm-gsmob.exp: New file.
10812 * gdb.guile/scm-iterator.c: New file.
10813 * gdb.guile/scm-iterator.exp: New file.
10814 * gdb.guile/scm-math.c: New file.
10815 * gdb.guile/scm-math.exp: New file.
10816 * gdb.guile/scm-objfile-script-gdb.in: New file.
10817 * gdb.guile/scm-objfile-script.c: New file.
10818 * gdb.guile/scm-objfile-script.exp: New file.
10819 * gdb.guile/scm-objfile.c: New file.
10820 * gdb.guile/scm-objfile.exp: New file.
10821 * gdb.guile/scm-ports.exp: New file.
10822 * gdb.guile/scm-pretty-print.c: New file.
10823 * gdb.guile/scm-pretty-print.exp: New file.
10824 * gdb.guile/scm-pretty-print.scm: New file.
10825 * gdb.guile/scm-section-script.c: New file.
10826 * gdb.guile/scm-section-script.exp: New file.
10827 * gdb.guile/scm-section-script.scm: New file.
10828 * gdb.guile/scm-symbol.c: New file.
10829 * gdb.guile/scm-symbol.exp: New file.
10830 * gdb.guile/scm-symtab-2.c: New file.
10831 * gdb.guile/scm-symtab.c: New file.
10832 * gdb.guile/scm-symtab.exp: New file.
10833 * gdb.guile/scm-type.c: New file.
10834 * gdb.guile/scm-type.exp: New file.
10835 * gdb.guile/scm-value-cc.cc: New file.
10836 * gdb.guile/scm-value-cc.exp: New file.
10837 * gdb.guile/scm-value.c: New file.
10838 * gdb.guile/scm-value.exp: New file.
10839 * gdb.guile/source2.scm: New file.
10840 * gdb.guile/types-module.cc: New file.
10841 * gdb.guile/types-module.exp: New file.
10843 2014-02-10 Yao Qi <yao@codesourcery.com>
10846 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10847 * configure: Regenerated.
10848 * Makefile.in: New file.
10850 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10852 * gdb.python/py-framefilter.exp: Fix typo.
10854 2014-02-08 Yao Qi <yao@codesourcery.com>
10856 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10857 that no =breakpoint-modified is emitted when breakpoints are
10858 modified through MI commands.
10860 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10861 Pedro Alves <palves@redhat.com>
10863 * gdb.threads/step-after-sr-lock.c: New file.
10864 * gdb.threads/step-after-sr-lock.exp: New file.
10866 2014-02-07 Pedro Alves <palves@redhat.com>
10868 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10870 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10872 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
10873 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
10875 2014-02-06 Doug Evans <xdje42@gmail.com>
10877 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
10880 * gdb.gdb/python-interrupts.exp: New file.
10882 2014-02-05 Yao Qi <yao@codesourcery.com>
10884 * gdb.trace/report.exp (use_collected_data): Test the output
10885 of "info threads" and "info inferiors".
10887 2014-02-05 Yao Qi <yao@codesourcery.com>
10891 2013-05-24 Yao Qi <yao@codesourcery.com>
10893 * gdb.trace/tfile.exp: Test inferior and thread.
10895 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10897 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
10899 * gdb.base/step-bt.c: Call hello via function pointer to make
10900 sure its first instruction is executed on powerpc64le-linux.
10902 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10904 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
10906 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10908 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
10909 of the test patterns for use on little-endian systems.
10911 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10913 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
10914 (decimal_vector): Fix for little-endian.
10916 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10918 * gdb.arch/sparc-sysstep.exp: New file.
10919 * gdb.arch/sparc-sysstep.c: Likewise.
10921 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
10923 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10925 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
10927 2014-01-23 Tom Tromey <tromey@redhat.com>
10929 * gdb.ada/array_char_idx: New testcase.
10931 2014-01-23 Tom Tromey <tromey@redhat.com>
10934 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10935 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10938 2014-01-23 Tom Tromey <tromey@redhat.com>
10941 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10942 string from an inferior frame.
10943 * gdb.python/py-framefilter-mi.exp: Update.
10945 2014-01-22 Doug Evans <dje@google.com>
10947 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10949 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10951 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10953 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10955 * gdb.trace/entry-values.exp: Remove excess space character from
10956 regex patterns. Handle s390 call instruction.
10958 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10960 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10961 define "*_start" label. Make "name" static.
10962 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10963 ${name} by references to ${name}_start.
10965 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10967 * gdb.base/info-macros.exp: Remove "debug" from the compile
10970 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10972 * gdb.dlang/demangle.exp: New file.
10974 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10976 * gdb.dlang/primitive-types.exp: New file.
10978 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10980 * configure.ac: Create gdb.dlang/Makefile.
10981 * configure: Regenerate.
10982 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10983 * gdb.dlang/Makefile.in: New file.
10984 * lib/d-support.exp: New file.
10985 * lib/gdb.exp (skip_d_tests): New proc.
10987 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10989 * gdb.btrace/delta.exp: Check reverse stepi.
10990 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10991 * gdb.btrace/finish.exp: New.
10992 * gdb.btrace/next.exp: New.
10993 * gdb.btrace/nexti.exp: New.
10994 * gdb.btrace/record_goto.c: Add comments.
10995 * gdb.btrace/step.exp: New.
10996 * gdb.btrace/stepi.exp: New.
10997 * gdb.btrace/multi-thread-step.c: New.
10998 * gdb.btrace/multi-thread-step.exp: New.
10999 * gdb.btrace/rn-dl-bind.c: New.
11000 * gdb.btrace/rn-dl-bind.exp: New.
11001 * gdb.btrace/data.c: New.
11002 * gdb.btrace/data.exp: New.
11003 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11007 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11008 * gdb.btrace/exception.exp: Update.
11009 * gdb.btrace/instruction_history.exp: Update.
11010 * gdb.btrace/record_goto.exp: Update.
11011 * gdb.btrace/tailcall.exp: Update.
11012 * gdb.btrace/unknown_functions.exp: Update.
11013 * gdb.btrace/delta.exp: New.
11015 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11017 * gdb.btrace/record_goto.exp: Add backtrace test.
11018 * gdb.btrace/tailcall.exp: Add backtrace test.
11020 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11022 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11023 * gdb.btrace/record_goto.c: New.
11024 * gdb.btrace/record_goto.exp: New.
11025 * gdb.btrace/x86-record_goto.S: New.
11027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11029 * gdb.btrace/function_call_history.exp: Update tests.
11030 * gdb.btrace/instruction_history.exp: Update tests.
11032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11034 * gdb.btrace/function_call_history.exp: Fix expected field
11035 order for "record function-call-history".
11036 Add new tests for "record function-call-history /c".
11037 * gdb.btrace/exception.cc: New.
11038 * gdb.btrace/exception.exp: New.
11039 * gdb.btrace/tailcall.exp: New.
11040 * gdb.btrace/x86-tailcall.S: New.
11041 * gdb.btrace/x86-tailcall.c: New.
11042 * gdb.btrace/unknown_functions.c: New.
11043 * gdb.btrace/unknown_functions.exp: New.
11044 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11046 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11048 * gdb.btrace/instruction_history.exp: Update.
11049 * gdb.btrace/function_call_history.exp: Update.
11051 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11053 * gdb.btrace/function_call_history.exp: Fix expected function
11055 * gdb.btrace/instruction_history.exp: Initialize traced.
11056 Remove traced_functions.
11058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11060 * gdb.btrace/function_call_history.exp: Update
11061 * gdb.btrace/instruction_history.exp: Update.
11063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11065 * gdb.btrace/enable.exp: Update expected text.
11067 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11069 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11072 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11074 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11076 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11078 * lib/gdb.exp (supports_process_record): Return true for
11079 arm*-linux*. (supports_reverse): Likewise.
11081 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11085 * gdb.python/py-type.c: Enhance test case.
11086 * gdb.python/py-value-cc.cc: Likewise
11087 * gdb.python/py-type.exp: Add new tests.
11088 * gdb.python/py-value-cc.exp: Likewise
11090 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11091 Pedro Alves <palves@redhat.com>
11093 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11094 Make "name" extern.
11095 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11096 references to ${name}_start by references to ${name}.
11098 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11100 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11102 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11104 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11106 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11107 Pedro Alves <palves@redhat.com>
11109 * gdb.mi/mi-info-os.exp: Connect to the target with
11110 mi_gdb_target_load.
11112 2014-01-08 Pedro Alves <palves@redhat.com>
11114 * gdb.threads/reconnect-signal.c: New file.
11115 * gdb.threads/reconnect-signal.exp: New file.
11117 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11119 * gdb.base/source-dir.exp: New file.
11121 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11123 * gdb.ada/mi_interface: New testcase.
11125 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11127 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11128 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11129 gdb.ada/pp-rec-component/pck.ads: New files.
11131 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11133 * gdb.python/py-pp-integral.c: New file.
11134 * gdb.python/py-pp-integral.py: New file.
11135 * gdb.python/py-pp-integral.exp: New file.
11137 For older changes see ChangeLog-1993-2013.
11139 ;; Local Variables:
11140 ;; mode: change-log
11143 ;; version-control: never
11146 Copyright 2014-2017 Free Software Foundation, Inc.
11147 Copying and distribution of this file, with or without modification,
11148 are permitted provided the copyright notice and this notice are preserved.