1 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6 2017-02-10 Tom Tromey <tom@tromey.com>
8 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
13 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
15 2017-02-08 Jerome Guitton <guitton@adacore.com>
17 * gdb.base/define.exp: Add test for command abbreviations
20 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
22 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
23 * gdb.reverse/insn-reverse-x86.c: New file.
25 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
28 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
30 2017-02-03 Tom Tromey <tom@tromey.com>
33 * gdb.rust/simple.exp: Add new tests.
35 2017-02-02 Pedro Alves <palves@redhat.com>
37 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
40 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
42 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
43 taking a 2-byte value out of a 4-byte DWARF implicit value on
45 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
46 logic. Add test cases for DW_OP_implicit.
48 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
50 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
52 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
54 * gdb.btrace/enable.exp: Call gdb_exit before
57 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
59 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
62 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
64 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
66 * gdb.btrace/data.exp: Likewise.
67 * gdb.btrace/delta.exp: Likewise.
68 * gdb.btrace/dlopen.exp: Likewise.
69 * gdb.btrace/enable-running.exp: Likewise.
70 * gdb.btrace/enable.exp: Likewise.
71 * gdb.btrace/exception.exp: Likewise.
72 * gdb.btrace/function_call_history.exp: Likewise.
73 * gdb.btrace/gcore.exp: Likewise.
74 * gdb.btrace/instruction_history.exp: Likewise.
75 * gdb.btrace/multi-thread-step.exp: Likewise.
76 * gdb.btrace/nohist.exp: Likewise.
77 * gdb.btrace/non-stop.exp: Likewise.
78 * gdb.btrace/reconnect.exp: Likewise.
79 * gdb.btrace/record_goto-step.exp: Likewise.
80 * gdb.btrace/record_goto.exp: Likewise.
81 * gdb.btrace/rn-dl-bind.exp: Likewise.
82 * gdb.btrace/segv.exp: Likewise.
83 * gdb.btrace/step.exp: Likewise.
84 * gdb.btrace/stepi.exp: Likewise.
85 * gdb.btrace/tailcall-only.exp: Likewise.
86 * gdb.btrace/tailcall.exp: Likewise.
87 * gdb.btrace/tsx.exp: Likewise.
88 * gdb.btrace/unknown_functions.exp: Likewise.
89 * gdb.btrace/vdso.exp: Likewise.
91 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
93 * gdb.btrace/enable-running.c: New.
94 * gdb.btrace/enable-running.exp: New.
96 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
98 * gdb.arch/amd64-gs_base.c: New file.
99 * gdb.arch/amd64-gs_base.exp: New file.
101 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
103 * lib/memory.exp: Remove spurious empty newlines.
105 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
107 * gdb.python/py-bad-printers.exp: Load python file using "source".
108 * gdb.python/py-events.exp: Likewise.
109 * gdb.python/py-evsignal.exp: Likewise.
110 * gdb.python/py-evthreads.exp: Likewise.
111 * gdb.python/py-frame-args.exp: Likewise.
112 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
113 * gdb.python/py-framefilter-mi.exp: Likewise.
114 * gdb.python/py-framefilter.exp: Likewise.
115 * gdb.python/py-mi.exp: Likewise.
116 * gdb.python/py-pp-maint.exp: Likewise.
117 * gdb.python/py-pp-registration.exp: Likewise.
118 * gdb.python/py-prettyprint.exp: Likewise.
119 (run_lang_tests): Likewise.
120 * gdb.python/py-typeprint.exp: Likewise.
122 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
124 * lib/memory.exp: New file.
125 * lib/gdb.exp: Load memory.exp.
126 * gdb.base/memattr.exp (delete_memory): Move proc to
127 lib/memory.exp and rename to delete_memory_regions.
128 Replace delete_memory with delete_memory_regions.
129 Cleanup memory regions before tests.
130 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
133 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
135 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
137 (initialize): New function conditionally defined.
138 (testcases): Move within conditional block.
139 (main): Call initialize.
140 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
141 of gdb.reverse/insn-reverse.c.
142 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
143 gdb.reverse/insn-reverse.c.
145 2017-01-26 Yao Qi <yao.qi@linaro.org>
147 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
148 disassemble on address 0.
150 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
151 Yao Qi <yao.qi@linaro.org>
153 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
154 * gdb.dwarf2/implptr-64bit.S: Remove.
155 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
156 variables in caller's context. Add DW_OP_implicit_value.
158 2017-01-25 Yao Qi <yao.qi@linaro.org>
160 * lib/dwarf.exp (Dwarf::_location): Handle
161 DW_OP_GNU_implicit_pointer with proper size.
163 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
165 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
166 and add untested calls.
168 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
170 * gdb.python/python.exp: Check line number against what GDB thinks
171 the line number is for func1.
173 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
175 * gdb.dlang/debug-expr.exp: New file.
177 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
179 Fix test names for the following files:
181 * gdb.ada/exec_changed.exp
182 * gdb.ada/info_types.exp
183 * gdb.arch/aarch64-atomic-inst.exp
184 * gdb.arch/aarch64-fp.exp
185 * gdb.arch/altivec-abi.exp
186 * gdb.arch/altivec-regs.exp
187 * gdb.arch/amd64-byte.exp
188 * gdb.arch/amd64-disp-step.exp
189 * gdb.arch/amd64-dword.exp
190 * gdb.arch/amd64-entry-value-inline.exp
191 * gdb.arch/amd64-entry-value-param.exp
192 * gdb.arch/amd64-entry-value-paramref.exp
193 * gdb.arch/amd64-entry-value.exp
194 * gdb.arch/amd64-i386-address.exp
195 * gdb.arch/amd64-invalid-stack-middle.exp
196 * gdb.arch/amd64-invalid-stack-top.exp
197 * gdb.arch/amd64-optimout-repeat.exp
198 * gdb.arch/amd64-prologue-skip.exp
199 * gdb.arch/amd64-prologue-xmm.exp
200 * gdb.arch/amd64-stap-special-operands.exp
201 * gdb.arch/amd64-stap-wrong-subexp.exp
202 * gdb.arch/amd64-tailcall-cxx.exp
203 * gdb.arch/amd64-tailcall-noret.exp
204 * gdb.arch/amd64-tailcall-ret.exp
205 * gdb.arch/amd64-tailcall-self.exp
206 * gdb.arch/amd64-word.exp
207 * gdb.arch/arm-bl-branch-dest.exp
208 * gdb.arch/arm-disp-step.exp
209 * gdb.arch/arm-neon.exp
210 * gdb.arch/arm-single-step-kernel-helper.exp
211 * gdb.arch/avr-flash-qualifier.exp
212 * gdb.arch/disp-step-insn-reloc.exp
213 * gdb.arch/e500-abi.exp
214 * gdb.arch/e500-regs.exp
215 * gdb.arch/ftrace-insn-reloc.exp
216 * gdb.arch/i386-avx512.exp
217 * gdb.arch/i386-bp_permanent.exp
218 * gdb.arch/i386-byte.exp
219 * gdb.arch/i386-cfi-notcurrent.exp
220 * gdb.arch/i386-disp-step.exp
221 * gdb.arch/i386-dr3-watch.exp
222 * gdb.arch/i386-float.exp
223 * gdb.arch/i386-gnu-cfi.exp
224 * gdb.arch/i386-mpx-map.exp
225 * gdb.arch/i386-mpx-sigsegv.exp
226 * gdb.arch/i386-mpx-simple_segv.exp
227 * gdb.arch/i386-mpx.exp
228 * gdb.arch/i386-permbkpt.exp
229 * gdb.arch/i386-prologue.exp
230 * gdb.arch/i386-signal.exp
231 * gdb.arch/i386-size-overlap.exp
232 * gdb.arch/i386-unwind.exp
233 * gdb.arch/i386-word.exp
234 * gdb.arch/mips-fcr.exp
235 * gdb.arch/powerpc-d128-regs.exp
236 * gdb.arch/powerpc-stackless.exp
237 * gdb.arch/ppc64-atomic-inst.exp
238 * gdb.arch/s390-stackless.exp
239 * gdb.arch/s390-tdbregs.exp
240 * gdb.arch/s390-vregs.exp
241 * gdb.arch/sparc-sysstep.exp
242 * gdb.arch/thumb-bx-pc.exp
243 * gdb.arch/thumb-singlestep.exp
244 * gdb.arch/thumb2-it.exp
245 * gdb.arch/vsx-regs.exp
246 * gdb.asm/asm-source.exp
247 * gdb.base/a2-run.exp
248 * gdb.base/advance.exp
249 * gdb.base/all-bin.exp
252 * gdb.base/arithmet.exp
253 * gdb.base/async-shell.exp
255 * gdb.base/attach-pie-noexec.exp
256 * gdb.base/attach-twice.exp
257 * gdb.base/auto-load.exp
259 * gdb.base/bitfields.exp
260 * gdb.base/break-always.exp
261 * gdb.base/break-caller-line.exp
262 * gdb.base/break-entry.exp
263 * gdb.base/break-inline.exp
264 * gdb.base/break-on-linker-gcd-function.exp
265 * gdb.base/break-probes.exp
267 * gdb.base/breakpoint-shadow.exp
268 * gdb.base/call-ar-st.exp
269 * gdb.base/call-sc.exp
270 * gdb.base/call-signal-resume.exp
271 * gdb.base/call-strs.exp
272 * gdb.base/callfuncs.exp
273 * gdb.base/catch-fork-static.exp
274 * gdb.base/catch-gdb-caused-signals.exp
275 * gdb.base/catch-load.exp
276 * gdb.base/catch-signal-fork.exp
277 * gdb.base/catch-signal.exp
278 * gdb.base/catch-syscall.exp
279 * gdb.base/charset.exp
280 * gdb.base/checkpoint.exp
281 * gdb.base/chng-syms.exp
282 * gdb.base/code-expr.exp
283 * gdb.base/code_elim.exp
284 * gdb.base/commands.exp
285 * gdb.base/completion.exp
286 * gdb.base/complex.exp
287 * gdb.base/cond-expr.exp
288 * gdb.base/condbreak.exp
289 * gdb.base/consecutive.exp
290 * gdb.base/continue-all-already-running.exp
291 * gdb.base/coredump-filter.exp
292 * gdb.base/corefile.exp
294 * gdb.base/debug-expr.exp
295 * gdb.base/define.exp
297 * gdb.base/disabled-location.exp
298 * gdb.base/disasm-end-cu.exp
299 * gdb.base/disasm-optim.exp
300 * gdb.base/display.exp
301 * gdb.base/duplicate-bp.exp
302 * gdb.base/ena-dis-br.exp
303 * gdb.base/ending-run.exp
304 * gdb.base/enumval.exp
305 * gdb.base/environ.exp
306 * gdb.base/eu-strip-infcall.exp
307 * gdb.base/eval-avoid-side-effects.exp
308 * gdb.base/eval-skip.exp
309 * gdb.base/exitsignal.exp
310 * gdb.base/expand-psymtabs.exp
311 * gdb.base/filesym.exp
312 * gdb.base/find-unmapped.exp
313 * gdb.base/finish.exp
315 * gdb.base/foll-exec-mode.exp
316 * gdb.base/foll-exec.exp
317 * gdb.base/foll-fork.exp
318 * gdb.base/fortran-sym-case.exp
319 * gdb.base/freebpcmd.exp
320 * gdb.base/func-ptr.exp
321 * gdb.base/func-ptrs.exp
322 * gdb.base/funcargs.exp
323 * gdb.base/gcore-buffer-overflow.exp
324 * gdb.base/gcore-relro-pie.exp
325 * gdb.base/gcore-relro.exp
327 * gdb.base/gdb1090.exp
328 * gdb.base/gdb11530.exp
329 * gdb.base/gdb11531.exp
330 * gdb.base/gdb1821.exp
331 * gdb.base/gdbindex-stabs.exp
332 * gdb.base/gdbvars.exp
333 * gdb.base/hbreak.exp
334 * gdb.base/hbreak2.exp
335 * gdb.base/included.exp
336 * gdb.base/infcall-input.exp
337 * gdb.base/inferior-died.exp
338 * gdb.base/infnan.exp
339 * gdb.base/info-macros.exp
340 * gdb.base/info-os.exp
341 * gdb.base/info-proc.exp
342 * gdb.base/info-shared.exp
343 * gdb.base/info-target.exp
344 * gdb.base/infoline.exp
345 * gdb.base/interp.exp
346 * gdb.base/interrupt.exp
347 * gdb.base/jit-reader.exp
348 * gdb.base/jit-simple.exp
349 * gdb.base/kill-after-signal.exp
350 * gdb.base/kill-detach-inferiors-cmd.exp
353 * gdb.base/ldbl_e308.exp
354 * gdb.base/line-symtabs.exp
355 * gdb.base/linespecs.exp
357 * gdb.base/long_long.exp
358 * gdb.base/longest-types.exp
360 * gdb.base/max-value-size.exp
361 * gdb.base/memattr.exp
362 * gdb.base/mips_pro.exp
363 * gdb.base/morestack.exp
364 * gdb.base/moribund-step.exp
365 * gdb.base/multi-forks.exp
366 * gdb.base/nested-addr.exp
367 * gdb.base/nextoverexit.exp
368 * gdb.base/noreturn-finish.exp
369 * gdb.base/noreturn-return.exp
370 * gdb.base/nostdlib.exp
371 * gdb.base/offsets.exp
372 * gdb.base/opaque.exp
374 * gdb.base/permissions.exp
375 * gdb.base/print-symbol-loading.exp
376 * gdb.base/prologue-include.exp
377 * gdb.base/psymtab.exp
379 * gdb.base/random-signal.exp
380 * gdb.base/randomize.exp
381 * gdb.base/range-stepping.exp
382 * gdb.base/readline-ask.exp
383 * gdb.base/recpar.exp
384 * gdb.base/recurse.exp
385 * gdb.base/relational.exp
386 * gdb.base/restore.exp
387 * gdb.base/return-nodebug.exp
388 * gdb.base/return.exp
389 * gdb.base/run-after-attach.exp
390 * gdb.base/save-bp.exp
392 * gdb.base/sect-cmd.exp
393 * gdb.base/set-lang-auto.exp
394 * gdb.base/set-noassign.exp
395 * gdb.base/setvar.exp
396 * gdb.base/sigall.exp
397 * gdb.base/sigbpt.exp
398 * gdb.base/siginfo-addr.exp
399 * gdb.base/siginfo-infcall.exp
400 * gdb.base/siginfo-obj.exp
401 * gdb.base/siginfo.exp
402 * gdb.base/signals-state-child.exp
403 * gdb.base/signest.exp
404 * gdb.base/sigstep.exp
405 * gdb.base/sizeof.exp
407 * gdb.base/solib-corrupted.exp
408 * gdb.base/solib-nodir.exp
409 * gdb.base/solib-search.exp
410 * gdb.base/stack-checking.exp
411 * gdb.base/stale-infcall.exp
412 * gdb.base/stap-probe.exp
414 * gdb.base/step-break.exp
415 * gdb.base/step-bt.exp
416 * gdb.base/step-line.exp
417 * gdb.base/step-over-exit.exp
418 * gdb.base/step-over-syscall.exp
419 * gdb.base/step-resume-infcall.exp
420 * gdb.base/step-test.exp
422 * gdb.base/structs3.exp
423 * gdb.base/sym-file.exp
424 * gdb.base/symbol-without-target_section.exp
426 * gdb.base/testenv.exp
427 * gdb.base/ui-redirect.exp
429 * gdb.base/unwindonsignal.exp
430 * gdb.base/value-double-free.exp
431 * gdb.base/vla-datatypes.exp
432 * gdb.base/vla-ptr.exp
433 * gdb.base/vla-sideeffect.exp
434 * gdb.base/volatile.exp
435 * gdb.base/watch-cond-infcall.exp
436 * gdb.base/watch-cond.exp
437 * gdb.base/watch-non-mem.exp
438 * gdb.base/watch-read.exp
439 * gdb.base/watch-vfork.exp
440 * gdb.base/watchpoint-cond-gone.exp
441 * gdb.base/watchpoint-delete.exp
442 * gdb.base/watchpoint-hw-hit-once.exp
443 * gdb.base/watchpoint-hw.exp
444 * gdb.base/watchpoint-stops-at-right-insn.exp
445 * gdb.base/watchpoints.exp
447 * gdb.base/whatis-exp.exp
448 * gdb.btrace/buffer-size.exp
449 * gdb.btrace/data.exp
450 * gdb.btrace/delta.exp
451 * gdb.btrace/dlopen.exp
452 * gdb.btrace/enable.exp
453 * gdb.btrace/exception.exp
454 * gdb.btrace/function_call_history.exp
455 * gdb.btrace/gcore.exp
456 * gdb.btrace/instruction_history.exp
457 * gdb.btrace/nohist.exp
458 * gdb.btrace/reconnect.exp
459 * gdb.btrace/record_goto-step.exp
460 * gdb.btrace/record_goto.exp
461 * gdb.btrace/rn-dl-bind.exp
462 * gdb.btrace/segv.exp
463 * gdb.btrace/step.exp
464 * gdb.btrace/stepi.exp
465 * gdb.btrace/tailcall-only.exp
466 * gdb.btrace/tailcall.exp
468 * gdb.btrace/unknown_functions.exp
469 * gdb.btrace/vdso.exp
470 * gdb.compile/compile-ifunc.exp
471 * gdb.compile/compile-ops.exp
472 * gdb.compile/compile-print.exp
473 * gdb.compile/compile-setjmp.exp
474 * gdb.cp/abstract-origin.exp
475 * gdb.cp/ambiguous.exp
479 * gdb.cp/anon-struct.exp
480 * gdb.cp/anon-union.exp
481 * gdb.cp/arg-reference.exp
482 * gdb.cp/baseenum.exp
484 * gdb.cp/breakpoint.exp
488 * gdb.cp/chained-calls.exp
491 * gdb.cp/cmpd-minsyms.exp
492 * gdb.cp/converts.exp
493 * gdb.cp/cp-relocate.exp
494 * gdb.cp/cpcompletion.exp
497 * gdb.cp/cplusfuncs.exp
498 * gdb.cp/cpsizeof.exp
500 * gdb.cp/derivation.exp
501 * gdb.cp/destrprint.exp
503 * gdb.cp/enum-class.exp
504 * gdb.cp/exception.exp
505 * gdb.cp/exceptprint.exp
506 * gdb.cp/expand-psymtabs-cxx.exp
507 * gdb.cp/expand-sals.exp
508 * gdb.cp/extern-c.exp
509 * gdb.cp/filename.exp
510 * gdb.cp/formatted-ref.exp
511 * gdb.cp/fpointer.exp
515 * gdb.cp/impl-this.exp
516 * gdb.cp/infcall-dlopen.exp
518 * gdb.cp/iostream.exp
522 * gdb.cp/m-static.exp
524 * gdb.cp/mb-inline.exp
525 * gdb.cp/mb-templates.exp
526 * gdb.cp/member-name.exp
527 * gdb.cp/member-ptr.exp
528 * gdb.cp/meth-typedefs.exp
531 * gdb.cp/minsym-fallback.exp
533 * gdb.cp/namelessclass.exp
534 * gdb.cp/namespace-enum.exp
535 * gdb.cp/namespace-nested-import.exp
536 * gdb.cp/namespace.exp
537 * gdb.cp/nextoverthrow.exp
538 * gdb.cp/no-dmgl-verbose.exp
539 * gdb.cp/non-trivial-retval.exp
542 * gdb.cp/nsimport.exp
543 * gdb.cp/nsnested.exp
544 * gdb.cp/nsnoimports.exp
545 * gdb.cp/nsrecurs.exp
546 * gdb.cp/nsstress.exp
548 * gdb.cp/operator.exp
549 * gdb.cp/oranking.exp
550 * gdb.cp/overload-const.exp
551 * gdb.cp/overload.exp
552 * gdb.cp/ovldbreak.exp
554 * gdb.cp/paren-type.exp
555 * gdb.cp/parse-lang.exp
556 * gdb.cp/pass-by-ref.exp
567 * gdb.cp/printmethod.exp
569 * gdb.cp/psymtab-parameter.exp
570 * gdb.cp/ptype-cv-cp.exp
571 * gdb.cp/ptype-flags.exp
572 * gdb.cp/re-set-overloaded.exp
573 * gdb.cp/ref-types.exp
575 * gdb.cp/scope-err.exp
578 * gdb.cp/static-method.exp
579 * gdb.cp/static-print-quit.exp
581 * gdb.cp/templates.exp
582 * gdb.cp/try_catch.exp
583 * gdb.cp/typedef-operator.exp
586 * gdb.cp/using-crash.exp
588 * gdb.cp/virtbase.exp
589 * gdb.cp/virtfunc.exp
590 * gdb.cp/virtfunc2.exp
592 * gdb.disasm/t01_mov.exp
593 * gdb.disasm/t02_mova.exp
594 * gdb.disasm/t03_add.exp
595 * gdb.disasm/t04_sub.exp
596 * gdb.disasm/t05_cmp.exp
597 * gdb.disasm/t06_ari2.exp
598 * gdb.disasm/t07_ari3.exp
599 * gdb.disasm/t08_or.exp
600 * gdb.disasm/t09_xor.exp
601 * gdb.disasm/t10_and.exp
602 * gdb.disasm/t11_logs.exp
603 * gdb.disasm/t12_bit.exp
604 * gdb.disasm/t13_otr.exp
605 * gdb.dlang/circular.exp
606 * gdb.dwarf2/arr-stride.exp
607 * gdb.dwarf2/arr-subrange.exp
608 * gdb.dwarf2/atomic-type.exp
609 * gdb.dwarf2/bad-regnum.exp
610 * gdb.dwarf2/bitfield-parent-optimized-out.exp
611 * gdb.dwarf2/callframecfa.exp
612 * gdb.dwarf2/clztest.exp
613 * gdb.dwarf2/corrupt.exp
614 * gdb.dwarf2/data-loc.exp
615 * gdb.dwarf2/dup-psym.exp
616 * gdb.dwarf2/dw2-anon-mptr.exp
617 * gdb.dwarf2/dw2-anonymous-func.exp
618 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
619 * gdb.dwarf2/dw2-bad-unresolved.exp
620 * gdb.dwarf2/dw2-basic.exp
621 * gdb.dwarf2/dw2-canonicalize-type.exp
622 * gdb.dwarf2/dw2-case-insensitive.exp
623 * gdb.dwarf2/dw2-common-block.exp
624 * gdb.dwarf2/dw2-compdir-oldgcc.exp
625 * gdb.dwarf2/dw2-compressed.exp
626 * gdb.dwarf2/dw2-const.exp
627 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
628 * gdb.dwarf2/dw2-cu-size.exp
629 * gdb.dwarf2/dw2-dup-frame.exp
630 * gdb.dwarf2/dw2-entry-value.exp
631 * gdb.dwarf2/dw2-icycle.exp
632 * gdb.dwarf2/dw2-ifort-parameter.exp
633 * gdb.dwarf2/dw2-inline-break.exp
634 * gdb.dwarf2/dw2-inline-param.exp
635 * gdb.dwarf2/dw2-intercu.exp
636 * gdb.dwarf2/dw2-intermix.exp
637 * gdb.dwarf2/dw2-lexical-block-bare.exp
638 * gdb.dwarf2/dw2-linkage-name-trust.exp
639 * gdb.dwarf2/dw2-minsym-in-cu.exp
640 * gdb.dwarf2/dw2-noloc.exp
641 * gdb.dwarf2/dw2-op-call.exp
642 * gdb.dwarf2/dw2-op-out-param.exp
643 * gdb.dwarf2/dw2-opt-structptr.exp
644 * gdb.dwarf2/dw2-param-error.exp
645 * gdb.dwarf2/dw2-producer.exp
646 * gdb.dwarf2/dw2-ranges-base.exp
647 * gdb.dwarf2/dw2-ref-missing-frame.exp
648 * gdb.dwarf2/dw2-reg-undefined.exp
649 * gdb.dwarf2/dw2-regno-invalid.exp
650 * gdb.dwarf2/dw2-restore.exp
651 * gdb.dwarf2/dw2-restrict.exp
652 * gdb.dwarf2/dw2-single-line-discriminators.exp
653 * gdb.dwarf2/dw2-strp.exp
654 * gdb.dwarf2/dw2-undefined-ret-addr.exp
655 * gdb.dwarf2/dw2-unresolved.exp
656 * gdb.dwarf2/dw2-var-zero-addr.exp
657 * gdb.dwarf2/dw4-sig-types.exp
659 * gdb.dwarf2/dynarr-ptr.exp
660 * gdb.dwarf2/enum-type.exp
661 * gdb.dwarf2/gdb-index.exp
662 * gdb.dwarf2/implptr-64bit.exp
663 * gdb.dwarf2/implptr-optimized-out.exp
664 * gdb.dwarf2/implptr.exp
665 * gdb.dwarf2/implref-array.exp
666 * gdb.dwarf2/implref-const.exp
667 * gdb.dwarf2/implref-global.exp
668 * gdb.dwarf2/implref-struct.exp
669 * gdb.dwarf2/mac-fileno.exp
670 * gdb.dwarf2/main-subprogram.exp
671 * gdb.dwarf2/member-ptr-forwardref.exp
672 * gdb.dwarf2/method-ptr.exp
673 * gdb.dwarf2/missing-sig-type.exp
674 * gdb.dwarf2/nonvar-access.exp
675 * gdb.dwarf2/opaque-type-lookup.exp
676 * gdb.dwarf2/pieces-optimized-out.exp
677 * gdb.dwarf2/pieces.exp
678 * gdb.dwarf2/pr10770.exp
679 * gdb.dwarf2/pr13961.exp
680 * gdb.dwarf2/staticvirtual.exp
681 * gdb.dwarf2/subrange.exp
682 * gdb.dwarf2/symtab-producer.exp
683 * gdb.dwarf2/trace-crash.exp
684 * gdb.dwarf2/typeddwarf.exp
685 * gdb.dwarf2/valop.exp
686 * gdb.dwarf2/watch-notconst.exp
687 * gdb.fortran/array-element.exp
688 * gdb.fortran/charset.exp
689 * gdb.fortran/common-block.exp
690 * gdb.fortran/complex.exp
691 * gdb.fortran/derived-type-function.exp
692 * gdb.fortran/derived-type.exp
693 * gdb.fortran/logical.exp
694 * gdb.fortran/module.exp
695 * gdb.fortran/multi-dim.exp
696 * gdb.fortran/nested-funcs.exp
697 * gdb.fortran/print-formatted.exp
698 * gdb.fortran/subarray.exp
699 * gdb.fortran/vla-alloc-assoc.exp
700 * gdb.fortran/vla-datatypes.exp
701 * gdb.fortran/vla-history.exp
702 * gdb.fortran/vla-ptr-info.exp
703 * gdb.fortran/vla-ptype-sub.exp
704 * gdb.fortran/vla-ptype.exp
705 * gdb.fortran/vla-sizeof.exp
706 * gdb.fortran/vla-type.exp
707 * gdb.fortran/vla-value-sub-arbitrary.exp
708 * gdb.fortran/vla-value-sub-finish.exp
709 * gdb.fortran/vla-value-sub.exp
710 * gdb.fortran/vla-value.exp
711 * gdb.fortran/whatis_type.exp
713 * gdb.go/handcall.exp
715 * gdb.go/integers.exp
721 * gdb.guile/scm-arch.exp
722 * gdb.guile/scm-block.exp
723 * gdb.guile/scm-breakpoint.exp
724 * gdb.guile/scm-cmd.exp
725 * gdb.guile/scm-disasm.exp
726 * gdb.guile/scm-equal.exp
727 * gdb.guile/scm-frame-args.exp
728 * gdb.guile/scm-frame-inline.exp
729 * gdb.guile/scm-frame.exp
730 * gdb.guile/scm-iterator.exp
731 * gdb.guile/scm-math.exp
732 * gdb.guile/scm-objfile.exp
733 * gdb.guile/scm-ports.exp
734 * gdb.guile/scm-symbol.exp
735 * gdb.guile/scm-symtab.exp
736 * gdb.guile/scm-value-cc.exp
737 * gdb.guile/types-module.exp
738 * gdb.linespec/break-ask.exp
739 * gdb.linespec/cpexplicit.exp
740 * gdb.linespec/explicit.exp
741 * gdb.linespec/keywords.exp
742 * gdb.linespec/linespec.exp
743 * gdb.linespec/ls-dollar.exp
744 * gdb.linespec/ls-errs.exp
745 * gdb.linespec/skip-two.exp
746 * gdb.linespec/thread.exp
747 * gdb.mi/mi-async.exp
748 * gdb.mi/mi-basics.exp
749 * gdb.mi/mi-break.exp
750 * gdb.mi/mi-catch-load.exp
752 * gdb.mi/mi-cmd-param-changed.exp
753 * gdb.mi/mi-console.exp
754 * gdb.mi/mi-detach.exp
755 * gdb.mi/mi-disassemble.exp
757 * gdb.mi/mi-file-transfer.exp
759 * gdb.mi/mi-fill-memory.exp
760 * gdb.mi/mi-inheritance-syntax-error.exp
761 * gdb.mi/mi-linespec-err-cp.exp
762 * gdb.mi/mi-logging.exp
763 * gdb.mi/mi-memory-changed.exp
764 * gdb.mi/mi-read-memory.exp
765 * gdb.mi/mi-record-changed.exp
766 * gdb.mi/mi-reg-undefined.exp
768 * gdb.mi/mi-return.exp
769 * gdb.mi/mi-reverse.exp
770 * gdb.mi/mi-simplerun.exp
771 * gdb.mi/mi-solib.exp
772 * gdb.mi/mi-stack.exp
773 * gdb.mi/mi-stepi.exp
774 * gdb.mi/mi-syn-frame.exp
775 * gdb.mi/mi-until.exp
776 * gdb.mi/mi-var-block.exp
777 * gdb.mi/mi-var-child.exp
778 * gdb.mi/mi-var-cmd.exp
779 * gdb.mi/mi-var-cp.exp
780 * gdb.mi/mi-var-display.exp
781 * gdb.mi/mi-var-invalidate.exp
782 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
783 * gdb.mi/mi-vla-fortran.exp
784 * gdb.mi/mi-watch.exp
785 * gdb.mi/mi2-var-child.exp
786 * gdb.mi/user-selected-context-sync.exp
787 * gdb.modula2/unbounded-array.exp
788 * gdb.multi/dummy-frame-restore.exp
789 * gdb.multi/multi-arch-exec.exp
790 * gdb.multi/multi-arch.exp
792 * gdb.multi/watchpoint-multi.exp
793 * gdb.opencl/callfuncs.exp
794 * gdb.opencl/convs_casts.exp
795 * gdb.opencl/datatypes.exp
796 * gdb.opencl/operators.exp
797 * gdb.opencl/vec_comps.exp
798 * gdb.opt/clobbered-registers-O2.exp
799 * gdb.opt/inline-break.exp
800 * gdb.opt/inline-bt.exp
801 * gdb.opt/inline-cmds.exp
802 * gdb.opt/inline-locals.exp
803 * gdb.pascal/case-insensitive-symbols.exp
804 * gdb.pascal/floats.exp
805 * gdb.pascal/gdb11492.exp
806 * gdb.python/lib-types.exp
807 * gdb.python/py-arch.exp
808 * gdb.python/py-as-string.exp
809 * gdb.python/py-bad-printers.exp
810 * gdb.python/py-block.exp
811 * gdb.python/py-breakpoint-create-fail.exp
812 * gdb.python/py-breakpoint.exp
813 * gdb.python/py-caller-is.exp
814 * gdb.python/py-cmd.exp
815 * gdb.python/py-explore-cc.exp
816 * gdb.python/py-explore.exp
817 * gdb.python/py-finish-breakpoint.exp
818 * gdb.python/py-finish-breakpoint2.exp
819 * gdb.python/py-frame-args.exp
820 * gdb.python/py-frame-inline.exp
821 * gdb.python/py-frame.exp
822 * gdb.python/py-framefilter-mi.exp
823 * gdb.python/py-infthread.exp
824 * gdb.python/py-lazy-string.exp
825 * gdb.python/py-linetable.exp
826 * gdb.python/py-mi-events.exp
827 * gdb.python/py-mi-objfile.exp
828 * gdb.python/py-mi.exp
829 * gdb.python/py-objfile.exp
830 * gdb.python/py-pp-integral.exp
831 * gdb.python/py-pp-maint.exp
832 * gdb.python/py-pp-re-notag.exp
833 * gdb.python/py-pp-registration.exp
834 * gdb.python/py-recurse-unwind.exp
835 * gdb.python/py-strfns.exp
836 * gdb.python/py-symbol.exp
837 * gdb.python/py-symtab.exp
838 * gdb.python/py-sync-interp.exp
839 * gdb.python/py-typeprint.exp
840 * gdb.python/py-unwind-maint.exp
841 * gdb.python/py-unwind.exp
842 * gdb.python/py-value-cc.exp
843 * gdb.python/py-xmethods.exp
844 * gdb.reverse/amd64-tailcall-reverse.exp
845 * gdb.reverse/break-precsave.exp
846 * gdb.reverse/break-reverse.exp
847 * gdb.reverse/consecutive-precsave.exp
848 * gdb.reverse/consecutive-reverse.exp
849 * gdb.reverse/finish-precsave.exp
850 * gdb.reverse/finish-reverse-bkpt.exp
851 * gdb.reverse/finish-reverse.exp
852 * gdb.reverse/fstatat-reverse.exp
853 * gdb.reverse/getresuid-reverse.exp
854 * gdb.reverse/i386-precsave.exp
855 * gdb.reverse/i386-reverse.exp
856 * gdb.reverse/i386-sse-reverse.exp
857 * gdb.reverse/i387-env-reverse.exp
858 * gdb.reverse/i387-stack-reverse.exp
859 * gdb.reverse/insn-reverse.exp
860 * gdb.reverse/machinestate-precsave.exp
861 * gdb.reverse/machinestate.exp
862 * gdb.reverse/next-reverse-bkpt-over-sr.exp
863 * gdb.reverse/pipe-reverse.exp
864 * gdb.reverse/readv-reverse.exp
865 * gdb.reverse/recvmsg-reverse.exp
866 * gdb.reverse/rerun-prec.exp
867 * gdb.reverse/s390-mvcle.exp
868 * gdb.reverse/step-precsave.exp
869 * gdb.reverse/step-reverse.exp
870 * gdb.reverse/time-reverse.exp
871 * gdb.reverse/until-precsave.exp
872 * gdb.reverse/until-reverse.exp
873 * gdb.reverse/waitpid-reverse.exp
874 * gdb.reverse/watch-precsave.exp
875 * gdb.reverse/watch-reverse.exp
876 * gdb.rust/generics.exp
877 * gdb.rust/methods.exp
878 * gdb.rust/modules.exp
879 * gdb.rust/simple.exp
880 * gdb.server/connect-with-no-symbol-file.exp
881 * gdb.server/ext-attach.exp
882 * gdb.server/ext-restart.exp
883 * gdb.server/ext-wrapper.exp
884 * gdb.server/file-transfer.exp
885 * gdb.server/server-exec-info.exp
886 * gdb.server/server-kill.exp
887 * gdb.server/server-mon.exp
888 * gdb.server/wrapper.exp
889 * gdb.stabs/exclfwd.exp
890 * gdb.stabs/gdb11479.exp
891 * gdb.threads/clone-new-thread-event.exp
892 * gdb.threads/corethreads.exp
893 * gdb.threads/current-lwp-dead.exp
894 * gdb.threads/dlopen-libpthread.exp
895 * gdb.threads/gcore-thread.exp
896 * gdb.threads/sigstep-threads.exp
897 * gdb.threads/watchpoint-fork.exp
898 * gdb.trace/actions-changed.exp
899 * gdb.trace/backtrace.exp
900 * gdb.trace/change-loc.exp
902 * gdb.trace/collection.exp
903 * gdb.trace/disconnected-tracing.exp
904 * gdb.trace/ftrace.exp
905 * gdb.trace/mi-trace-frame-collected.exp
906 * gdb.trace/mi-trace-unavailable.exp
907 * gdb.trace/mi-traceframe-changed.exp
908 * gdb.trace/mi-tsv-changed.exp
909 * gdb.trace/no-attach-trace.exp
910 * gdb.trace/passc-dyn.exp
912 * gdb.trace/range-stepping.exp
913 * gdb.trace/read-memory.exp
914 * gdb.trace/save-trace.exp
915 * gdb.trace/signal.exp
916 * gdb.trace/status-stop.exp
917 * gdb.trace/tfile.exp
918 * gdb.trace/trace-break.exp
919 * gdb.trace/trace-buffer-size.exp
920 * gdb.trace/trace-condition.exp
921 * gdb.trace/tracefile-pseudo-reg.exp
922 * gdb.trace/tstatus.exp
923 * gdb.trace/unavailable.exp
924 * gdb.trace/while-dyn.exp
925 * gdb.trace/while-stepping.exp
927 2016-12-22 Doug Evans <xdje42@gmail.com>
929 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
932 2016-12-19 Yao Qi <yao.qi@linaro.org>
934 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
935 (test_with_self): Don't call do_steps_and_nexts, and remove
936 code about stepping into xmalloc.
938 2016-12-09 Yao Qi <yao.qi@linaro.org>
940 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
942 2016-12-09 Yao Qi <yao.qi@linaro.org>
944 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
946 2016-12-09 Pedro Alves <palves@redhat.com>
948 * gdb.base/all-architectures-0.exp: New file.
949 * gdb.base/all-architectures-1.exp: New file.
950 * gdb.base/all-architectures-2.exp: New file.
951 * gdb.base/all-architectures-3.exp: New file.
952 * gdb.base/all-architectures-4.exp: New file.
953 * gdb.base/all-architectures-5.exp: New file.
954 * gdb.base/all-architectures-6.exp: New file.
955 * gdb.base/all-architectures-7.exp: New file.
956 * gdb.base/all-architectures.exp.in: New file.
958 2016-12-09 Yao Qi <yao.qi@linaro.org>
960 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
962 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
964 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
966 Remove useless pattern-matching code.
968 2016-12-02 Pedro Alves <palves@redhat.com>
970 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
972 (top level): Call it.
974 2016-12-02 Pedro Alves <palves@redhat.com>
976 * gdb.base/commands.exp (user_defined_command_args_stack_test):
978 (top level): Call it.
980 2016-12-02 Pedro Alves <palves@redhat.com>
983 * gdb.base/commands.exp (user_defined_command_args_eval): New
985 (top level): Call it.
987 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
989 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
992 2016-12-02 Tom Tromey <tom@tromey.com>
994 * gdb.dwarf2/main-subprogram.c: New file.
995 * gdb.dwarf2/main-subprogram.exp: New file.
997 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
999 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1000 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1001 gdb_test_no_output for a couple of cases.
1002 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1004 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1006 Fix test names and standardize compilation error messages throughout
1007 the following files:
1010 * gdb.arch/alpha-step.exp
1011 * gdb.arch/e500-prologue.exp
1012 * gdb.arch/ftrace-insn-reloc.exp
1013 * gdb.arch/gdb1291.exp
1014 * gdb.arch/gdb1431.exp
1015 * gdb.arch/gdb1558.exp
1016 * gdb.arch/i386-dr3-watch.exp
1017 * gdb.arch/i386-sse-stack-align.exp
1018 * gdb.arch/ia64-breakpoint-shadow.exp
1019 * gdb.arch/pa-nullify.exp
1020 * gdb.arch/powerpc-aix-prologue.exp
1021 * gdb.arch/thumb-bx-pc.exp
1022 * gdb.base/annota1.exp
1023 * gdb.base/annota3.exp
1024 * gdb.base/arrayidx.exp
1025 * gdb.base/assign.exp
1026 * gdb.base/attach.exp
1029 * gdb.base/bfp-test.exp
1030 * gdb.base/bigcore.exp
1031 * gdb.base/bitfields2.exp
1032 * gdb.base/break-fun-addr.exp
1033 * gdb.base/break-probes.exp
1034 * gdb.base/call-rt-st.exp
1035 * gdb.base/callexit.exp
1036 * gdb.base/catch-fork-kill.exp
1037 * gdb.base/charset.exp
1038 * gdb.base/checkpoint.exp
1039 * gdb.base/comprdebug.exp
1040 * gdb.base/constvars.exp
1041 * gdb.base/coredump-filter.exp
1042 * gdb.base/cursal.exp
1043 * gdb.base/cvexpr.exp
1044 * gdb.base/detach.exp
1045 * gdb.base/display.exp
1046 * gdb.base/dmsym.exp
1047 * gdb.base/dprintf-pending.exp
1048 * gdb.base/dso2dso.exp
1049 * gdb.base/dtrace-probe.exp
1051 * gdb.base/enum_cond.exp
1052 * gdb.base/exe-lock.exp
1053 * gdb.base/exec-invalid-sysroot.exp
1054 * gdb.base/execl-update-breakpoints.exp
1055 * gdb.base/exprs.exp
1056 * gdb.base/fileio.exp
1058 * gdb.base/finish.exp
1059 * gdb.base/fixsection.exp
1060 * gdb.base/foll-vfork.exp
1061 * gdb.base/frame-args.exp
1062 * gdb.base/gcore.exp
1063 * gdb.base/gdb1250.exp
1064 * gdb.base/global-var-nested-by-dso.exp
1065 * gdb.base/gnu-ifunc.exp
1066 * gdb.base/hashline1.exp
1067 * gdb.base/hashline2.exp
1068 * gdb.base/hashline3.exp
1069 * gdb.base/hbreak-in-shr-unsupported.exp
1071 * gdb.base/infcall-input.exp
1072 * gdb.base/info-fun.exp
1073 * gdb.base/info-shared.exp
1074 * gdb.base/jit-simple.exp
1075 * gdb.base/jit-so.exp
1078 * gdb.base/label.exp
1079 * gdb.base/lineinc.exp
1080 * gdb.base/logical.exp
1081 * gdb.base/longjmp.exp
1082 * gdb.base/macscp.exp
1083 * gdb.base/miscexprs.exp
1084 * gdb.base/new-ui-echo.exp
1085 * gdb.base/new-ui-pending-input.exp
1086 * gdb.base/new-ui.exp
1087 * gdb.base/nodebug.exp
1088 * gdb.base/nofield.exp
1089 * gdb.base/offsets.exp
1090 * gdb.base/overlays.exp
1091 * gdb.base/pending.exp
1092 * gdb.base/pointers.exp
1093 * gdb.base/pr11022.exp
1094 * gdb.base/printcmds.exp
1095 * gdb.base/prologue.exp
1096 * gdb.base/ptr-typedef.exp
1097 * gdb.base/realname-expand.exp
1098 * gdb.base/relativedebug.exp
1099 * gdb.base/relocate.exp
1100 * gdb.base/remote.exp
1101 * gdb.base/reread.exp
1102 * gdb.base/return2.exp
1103 * gdb.base/savedregs.exp
1105 * gdb.base/sepdebug.exp
1106 * gdb.base/sepsymtab.exp
1107 * gdb.base/set-inferior-tty.exp
1108 * gdb.base/setshow.exp
1109 * gdb.base/shlib-call.exp
1110 * gdb.base/sigaltstack.exp
1111 * gdb.base/siginfo-addr.exp
1112 * gdb.base/signals.exp
1113 * gdb.base/signull.exp
1114 * gdb.base/sigrepeat.exp
1115 * gdb.base/so-impl-ld.exp
1116 * gdb.base/solib-display.exp
1117 * gdb.base/solib-overlap.exp
1118 * gdb.base/solib-search.exp
1119 * gdb.base/solib-symbol.exp
1120 * gdb.base/structs.exp
1121 * gdb.base/structs2.exp
1122 * gdb.base/symtab-search-order.exp
1123 * gdb.base/twice.exp
1124 * gdb.base/unload.exp
1125 * gdb.base/varargs.exp
1126 * gdb.base/watchpoint-solib.exp
1127 * gdb.base/watchpoint.exp
1128 * gdb.base/whatis.exp
1129 * gdb.base/wrong_frame_bt_full.exp
1130 * gdb.btrace/dlopen.exp
1131 * gdb.cell/ea-standalone.exp
1132 * gdb.cell/ea-test.exp
1133 * gdb.cp/dispcxx.exp
1134 * gdb.cp/gdb2384.exp
1135 * gdb.cp/method2.exp
1136 * gdb.cp/nextoverthrow.exp
1137 * gdb.cp/pr10728.exp
1138 * gdb.disasm/am33.exp
1139 * gdb.disasm/h8300s.exp
1140 * gdb.disasm/mn10300.exp
1141 * gdb.disasm/sh3.exp
1142 * gdb.dwarf2/dw2-dir-file-name.exp
1143 * gdb.fortran/complex.exp
1144 * gdb.fortran/library-module.exp
1145 * gdb.guile/scm-pretty-print.exp
1146 * gdb.guile/scm-symbol.exp
1147 * gdb.guile/scm-type.exp
1148 * gdb.guile/scm-value.exp
1149 * gdb.linespec/linespec.exp
1152 * gdb.mi/mi-breakpoint-changed.exp
1153 * gdb.mi/mi-dprintf-pending.exp
1154 * gdb.mi/mi-dprintf.exp
1155 * gdb.mi/mi-exit-code.exp
1156 * gdb.mi/mi-pending.exp
1157 * gdb.mi/mi-solib.exp
1158 * gdb.mi/new-ui-mi-sync.exp
1159 * gdb.mi/pr11022.exp
1160 * gdb.mi/user-selected-context-sync.exp
1161 * gdb.opt/solib-intra-step.exp
1162 * gdb.python/py-events.exp
1163 * gdb.python/py-finish-breakpoint.exp
1164 * gdb.python/py-mi.exp
1165 * gdb.python/py-prettyprint.exp
1166 * gdb.python/py-shared.exp
1167 * gdb.python/py-symbol.exp
1168 * gdb.python/py-template.exp
1169 * gdb.python/py-type.exp
1170 * gdb.python/py-value.exp
1171 * gdb.reverse/solib-precsave.exp
1172 * gdb.reverse/solib-reverse.exp
1173 * gdb.server/solib-list.exp
1174 * gdb.stabs/weird.exp
1175 * gdb.threads/reconnect-signal.exp
1176 * gdb.threads/stepi-random-signal.exp
1177 * gdb.trace/actions.exp
1179 * gdb.trace/backtrace.exp
1180 * gdb.trace/change-loc.exp
1181 * gdb.trace/deltrace.exp
1182 * gdb.trace/ftrace-lock.exp
1183 * gdb.trace/ftrace.exp
1184 * gdb.trace/infotrace.exp
1185 * gdb.trace/mi-tracepoint-changed.exp
1186 * gdb.trace/packetlen.exp
1187 * gdb.trace/passcount.exp
1188 * gdb.trace/pending.exp
1189 * gdb.trace/range-stepping.exp
1190 * gdb.trace/report.exp
1191 * gdb.trace/stap-trace.exp
1192 * gdb.trace/tfind.exp
1193 * gdb.trace/trace-break.exp
1194 * gdb.trace/trace-condition.exp
1195 * gdb.trace/trace-enable-disable.exp
1196 * gdb.trace/trace-mt.exp
1197 * gdb.trace/tracecmd.exp
1198 * gdb.trace/tspeed.exp
1202 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1204 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1205 with gdb_test_no_output.
1206 Use command as test name.
1208 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1210 Fix test names starting with uppercase throughout the files.
1212 * gdb.ada/assign_1.exp
1213 * gdb.ada/boolean_expr.exp
1214 * gdb.base/arrayidx.exp
1216 * gdb.base/gcore-buffer-overflow.exp
1217 * gdb.base/testenv.exp
1218 * gdb.compile/compile.exp
1219 * gdb.python/py-framefilter-invalidarg.exp
1220 * gdb.python/py-framefilter.exp
1222 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1224 Fix test names starting with uppercase throughout the files.
1226 * gdb.ada/array_return.exp
1227 * gdb.ada/expr_delims.exp
1228 * gdb.ada/mi_dyn_arr.exp
1229 * gdb.ada/mi_interface.exp
1230 * gdb.ada/mi_var_array.exp
1231 * gdb.ada/watch_arg.exp
1232 * gdb.arch/alpha-step.exp
1233 * gdb.arch/altivec-regs.exp
1234 * gdb.arch/e500-regs.exp
1235 * gdb.arch/powerpc-d128-regs.exp
1236 * gdb.base/arrayidx.exp
1237 * gdb.base/break.exp
1238 * gdb.base/checkpoint.exp
1239 * gdb.base/debug-expr.exp
1240 * gdb.base/dmsym.exp
1241 * gdb.base/radix.exp
1242 * gdb.base/sepdebug.exp
1243 * gdb.base/testenv.exp
1244 * gdb.base/watch_thread_num.exp
1245 * gdb.base/watchpoint-cond-gone.exp
1246 * gdb.cell/break.exp
1247 * gdb.cell/ea-cache.exp
1248 * gdb.compile/compile.exp
1249 * gdb.cp/gdb2495.exp
1250 * gdb.gdb/selftest.exp
1251 * gdb.gdb/xfullpath.exp
1253 * gdb.go/integers.exp
1254 * gdb.objc/basicclass.exp
1255 * gdb.pascal/hello.exp
1256 * gdb.pascal/integers.exp
1257 * gdb.python/py-breakpoint.exp
1258 * gdb.python/py-cmd.exp
1259 * gdb.python/py-linetable.exp
1260 * gdb.python/py-xmethods.exp
1261 * gdb.python/python.exp
1262 * gdb.reverse/consecutive-precsave.exp
1263 * gdb.reverse/finish-precsave.exp
1264 * gdb.reverse/i386-precsave.exp
1265 * gdb.reverse/machinestate-precsave.exp
1266 * gdb.reverse/sigall-precsave.exp
1267 * gdb.reverse/solib-precsave.exp
1268 * gdb.reverse/step-precsave.exp
1269 * gdb.reverse/until-precsave.exp
1270 * gdb.reverse/watch-precsave.exp
1271 * gdb.threads/leader-exit.exp
1272 * gdb.threads/pthreads.exp
1273 * gdb.threads/wp-replication.exp
1274 * gdb.trace/actions.exp
1275 * gdb.trace/mi-tsv-changed.exp
1278 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1280 Fix test names starting with uppercase throughout the files.
1282 * gdb.arch/i386-bp_permanent.exp
1283 * gdb.arch/i386-gnu-cfi.exp
1284 * gdb.base/disasm-end-cu.exp
1285 * gdb.base/macscp.exp
1286 * gdb.base/pending.exp
1287 * gdb.base/watch_thread_num.exp
1288 * gdb.cp/exception.exp
1289 * gdb.cp/gdb2495.exp
1291 * gdb.python/py-evsignal.exp
1292 * gdb.python/python.exp
1293 * gdb.trace/tracecmd.exp
1295 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1297 Fix test names starting with uppercase throughout the files.
1299 * gdb.base/charset.exp
1301 * gdb.base/multi-forks.exp
1302 * gdb.guile/scm-progspace.exp
1303 * gdb.opencl/datatypes.exp
1304 * gdb.python/py-block.exp
1305 * gdb.python/py-function.exp
1306 * gdb.python/py-symbol.exp
1307 * gdb.python/py-symtab.exp
1308 * gdb.python/py-xmethods.exp
1309 * gdb.reverse/break-precsave.exp
1310 * gdb.reverse/break-reverse.exp
1311 * gdb.reverse/consecutive-precsave.exp
1312 * gdb.reverse/consecutive-reverse.exp
1313 * gdb.reverse/finish-precsave.exp
1314 * gdb.reverse/finish-reverse-bkpt.exp
1315 * gdb.reverse/finish-reverse.exp
1316 * gdb.reverse/fstatat-reverse.exp
1317 * gdb.reverse/getresuid-reverse.exp
1318 * gdb.reverse/i386-precsave.exp
1319 * gdb.reverse/i386-reverse.exp
1320 * gdb.reverse/i386-sse-reverse.exp
1321 * gdb.reverse/i387-stack-reverse.exp
1322 * gdb.reverse/insn-reverse.exp
1323 * gdb.reverse/machinestate-precsave.exp
1324 * gdb.reverse/machinestate.exp
1325 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1326 * gdb.reverse/pipe-reverse.exp
1327 * gdb.reverse/readv-reverse.exp
1328 * gdb.reverse/recvmsg-reverse.exp
1329 * gdb.reverse/rerun-prec.exp
1330 * gdb.reverse/s390-mvcle.exp
1331 * gdb.reverse/sigall-precsave.exp
1332 * gdb.reverse/sigall-reverse.exp
1333 * gdb.reverse/solib-precsave.exp
1334 * gdb.reverse/solib-reverse.exp
1335 * gdb.reverse/step-precsave.exp
1336 * gdb.reverse/step-reverse.exp
1337 * gdb.reverse/time-reverse.exp
1338 * gdb.reverse/until-precsave.exp
1339 * gdb.reverse/until-reverse.exp
1340 * gdb.reverse/waitpid-reverse.exp
1341 * gdb.reverse/watch-precsave.exp
1342 * gdb.reverse/watch-reverse.exp
1344 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1346 Fix test names starting with uppercase throughout the files.
1348 * gdb.arch/i386-mpx-simple_segv.exp
1349 * gdb.arch/i386-mpx.exp
1350 * gdb.arch/i386-permbkpt.exp
1351 * gdb.arch/pa-nullify.exp
1352 * gdb.arch/powerpc-d128-regs.exp
1353 * gdb.arch/vsx-regs.exp
1354 * gdb.base/bfp-test.exp
1355 * gdb.base/break.exp
1356 * gdb.base/breakpoint-shadow.exp
1357 * gdb.base/callfuncs.exp
1358 * gdb.base/charset.exp
1359 * gdb.base/commands.exp
1360 * gdb.base/completion.exp
1361 * gdb.base/dfp-test.exp
1363 * gdb.base/ending-run.exp
1365 * gdb.base/expand-psymtabs.exp
1366 * gdb.base/float128.exp
1367 * gdb.base/floatn.exp
1368 * gdb.base/foll-exec-mode.exp
1369 * gdb.base/gdb1056.exp
1370 * gdb.base/gdb11531.exp
1371 * gdb.base/kill-after-signal.exp
1372 * gdb.base/multi-forks.exp
1373 * gdb.base/overlays.exp
1374 * gdb.base/pending.exp
1375 * gdb.base/sepdebug.exp
1376 * gdb.base/testenv.exp
1377 * gdb.base/valgrind-db-attach.exp
1378 * gdb.base/watch_thread_num.exp
1379 * gdb.base/watchpoint-cond-gone.exp
1380 * gdb.base/watchpoint.exp
1381 * gdb.base/watchpoints.exp
1382 * gdb.cp/arg-reference.exp
1383 * gdb.cp/baseenum.exp
1384 * gdb.cp/operator.exp
1386 * gdb.dwarf2/dw2-op-out-param.exp
1387 * gdb.dwarf2/dw2-reg-undefined.exp
1390 * gdb.go/integers.exp
1391 * gdb.go/methods.exp
1392 * gdb.go/package.exp
1393 * gdb.guile/scm-parameter.exp
1394 * gdb.guile/scm-progspace.exp
1395 * gdb.guile/scm-value.exp
1396 * gdb.mi/mi-pending.exp
1397 * gdb.mi/user-selected-context-sync.exp
1398 * gdb.multi/multi-attach.exp
1399 * gdb.multi/tids.exp
1400 * gdb.opt/clobbered-registers-O2.exp
1401 * gdb.pascal/floats.exp
1402 * gdb.pascal/integers.exp
1403 * gdb.python/py-block.exp
1404 * gdb.python/py-events.exp
1405 * gdb.python/py-parameter.exp
1406 * gdb.python/py-symbol.exp
1407 * gdb.python/py-symtab.exp
1408 * gdb.python/py-type.exp
1409 * gdb.python/py-value.exp
1410 * gdb.python/py-xmethods.exp
1411 * gdb.python/python.exp
1412 * gdb.reverse/break-precsave.exp
1413 * gdb.reverse/consecutive-precsave.exp
1414 * gdb.reverse/finish-precsave.exp
1415 * gdb.reverse/i386-precsave.exp
1416 * gdb.reverse/machinestate-precsave.exp
1417 * gdb.reverse/sigall-precsave.exp
1418 * gdb.reverse/solib-precsave.exp
1419 * gdb.reverse/step-precsave.exp
1420 * gdb.reverse/until-precsave.exp
1421 * gdb.reverse/watch-precsave.exp
1422 * gdb.server/ext-attach.exp
1423 * gdb.server/ext-restart.exp
1424 * gdb.server/ext-run.exp
1425 * gdb.server/ext-wrapper.exp
1426 * gdb.stabs/gdb11479.exp
1427 * gdb.stabs/weird.exp
1428 * gdb.threads/attach-many-short-lived-threads.exp
1429 * gdb.threads/kill.exp
1430 * gdb.threads/watchpoint-fork.exp
1432 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1434 Fix test names starting with uppercase throughout all the files below.
1436 * gdb.ada/array_return.exp
1437 * gdb.ada/catch_ex.exp
1438 * gdb.ada/info_exc.exp
1439 * gdb.ada/mi_catch_ex.exp
1440 * gdb.ada/mi_dyn_arr.exp
1441 * gdb.ada/mi_ex_cond.exp
1442 * gdb.ada/mi_exc_info.exp
1443 * gdb.ada/mi_interface.exp
1444 * gdb.ada/mi_task_arg.exp
1445 * gdb.ada/mi_task_info.exp
1446 * gdb.ada/mi_var_array.exp
1447 * gdb.arch/alpha-step.exp
1448 * gdb.arch/amd64-disp-step.exp
1449 * gdb.arch/arm-disp-step.exp
1450 * gdb.arch/disp-step-insn-reloc.exp
1451 * gdb.arch/e500-prologue.exp
1452 * gdb.arch/ftrace-insn-reloc.exp
1453 * gdb.arch/gdb1558.exp
1454 * gdb.arch/i386-bp_permanent.exp
1455 * gdb.arch/i386-disp-step.exp
1456 * gdb.arch/i386-float.exp
1457 * gdb.arch/i386-gnu-cfi.exp
1458 * gdb.arch/ia64-breakpoint-shadow.exp
1459 * gdb.arch/mips16-thunks.exp
1460 * gdb.arch/pa-nullify.exp
1461 * gdb.arch/powerpc-aix-prologue.exp
1462 * gdb.arch/powerpc-power.exp
1463 * gdb.arch/ppc-dfp.exp
1464 * gdb.arch/s390-tdbregs.exp
1465 * gdb.arch/spu-info.exp
1466 * gdb.arch/spu-ls.exp
1467 * gdb.arch/thumb-bx-pc.exp
1468 * gdb.base/advance.exp
1469 * gdb.base/annota-input-while-running.exp
1470 * gdb.base/arrayidx.exp
1471 * gdb.base/asmlabel.exp
1472 * gdb.base/async.exp
1473 * gdb.base/attach-wait-input.exp
1474 * gdb.base/auto-connect-native-target.exp
1475 * gdb.base/batch-preserve-term-settings.exp
1476 * gdb.base/bfp-test.exp
1477 * gdb.base/bigcore.exp
1478 * gdb.base/bp-permanent.exp
1479 * gdb.base/break-always.exp
1480 * gdb.base/break-fun-addr.exp
1481 * gdb.base/break-idempotent.exp
1482 * gdb.base/break-main-file-remove-fail.exp
1483 * gdb.base/break-probes.exp
1484 * gdb.base/break-unload-file.exp
1485 * gdb.base/break.exp
1486 * gdb.base/call-ar-st.exp
1487 * gdb.base/call-rt-st.exp
1488 * gdb.base/call-sc.exp
1489 * gdb.base/call-signal-resume.exp
1490 * gdb.base/call-strs.exp
1491 * gdb.base/callexit.exp
1492 * gdb.base/callfuncs.exp
1493 * gdb.base/catch-gdb-caused-signals.exp
1494 * gdb.base/catch-signal-siginfo-cond.exp
1495 * gdb.base/catch-syscall.exp
1496 * gdb.base/compare-sections.exp
1497 * gdb.base/cond-eval-mode.exp
1498 * gdb.base/condbreak-call-false.exp
1499 * gdb.base/consecutive-step-over.exp
1500 * gdb.base/cursal.exp
1501 * gdb.base/disabled-location.exp
1502 * gdb.base/disasm-end-cu.exp
1503 * gdb.base/display.exp
1504 * gdb.base/double-prompt-target-event-error.exp
1505 * gdb.base/dprintf-bp-same-addr.exp
1506 * gdb.base/dprintf-detach.exp
1507 * gdb.base/dprintf-next.exp
1508 * gdb.base/dprintf-non-stop.exp
1509 * gdb.base/dprintf-pending.exp
1510 * gdb.base/dso2dso.exp
1511 * gdb.base/ending-run.exp
1512 * gdb.base/enum_cond.exp
1513 * gdb.base/examine-backward.exp
1514 * gdb.base/exe-lock.exp
1515 * gdb.base/exec-invalid-sysroot.exp
1516 * gdb.base/execl-update-breakpoints.exp
1517 * gdb.base/execution-termios.exp
1518 * gdb.base/fileio.exp
1519 * gdb.base/fixsection.exp
1520 * gdb.base/foll-exec-mode.exp
1521 * gdb.base/foll-exec.exp
1522 * gdb.base/fork-running-state.exp
1523 * gdb.base/frame-args.exp
1524 * gdb.base/fullpath-expand.exp
1525 * gdb.base/func-ptr.exp
1526 * gdb.base/gcore-relro-pie.exp
1527 * gdb.base/gdb1090.exp
1528 * gdb.base/gdb1555.exp
1529 * gdb.base/global-var-nested-by-dso.exp
1530 * gdb.base/gnu-ifunc.exp
1531 * gdb.base/hbreak-in-shr-unsupported.exp
1532 * gdb.base/hbreak-unmapped.exp
1533 * gdb.base/hook-stop.exp
1534 * gdb.base/infcall-input.exp
1535 * gdb.base/info-fun.exp
1536 * gdb.base/info-shared.exp
1537 * gdb.base/interrupt-noterm.exp
1538 * gdb.base/jit-so.exp
1540 * gdb.base/line-symtabs.exp
1542 * gdb.base/longjmp.exp
1543 * gdb.base/macscp.exp
1544 * gdb.base/max-value-size.exp
1545 * gdb.base/nodebug.exp
1546 * gdb.base/nofield.exp
1547 * gdb.base/overlays.exp
1548 * gdb.base/paginate-after-ctrl-c-running.exp
1549 * gdb.base/paginate-bg-execution.exp
1550 * gdb.base/paginate-inferior-exit.exp
1551 * gdb.base/pending.exp
1552 * gdb.base/pr11022.exp
1553 * gdb.base/printcmds.exp
1554 * gdb.base/ptr-typedef.exp
1555 * gdb.base/ptype.exp
1556 * gdb.base/randomize.exp
1557 * gdb.base/range-stepping.exp
1558 * gdb.base/realname-expand.exp
1559 * gdb.base/relativedebug.exp
1560 * gdb.base/remote.exp
1561 * gdb.base/savedregs.exp
1562 * gdb.base/sepdebug.exp
1563 * gdb.base/set-noassign.exp
1564 * gdb.base/shlib-call.exp
1565 * gdb.base/shreloc.exp
1566 * gdb.base/sigaltstack.exp
1567 * gdb.base/sigbpt.exp
1568 * gdb.base/siginfo-addr.exp
1569 * gdb.base/siginfo-obj.exp
1570 * gdb.base/siginfo-thread.exp
1571 * gdb.base/signest.exp
1572 * gdb.base/signull.exp
1573 * gdb.base/sigrepeat.exp
1575 * gdb.base/so-impl-ld.exp
1576 * gdb.base/solib-corrupted.exp
1577 * gdb.base/solib-disc.exp
1578 * gdb.base/solib-display.exp
1579 * gdb.base/solib-overlap.exp
1580 * gdb.base/solib-search.exp
1581 * gdb.base/solib-symbol.exp
1582 * gdb.base/source-execution.exp
1583 * gdb.base/sss-bp-on-user-bp-2.exp
1584 * gdb.base/sss-bp-on-user-bp.exp
1585 * gdb.base/stack-checking.exp
1586 * gdb.base/stale-infcall.exp
1587 * gdb.base/step-break.exp
1588 * gdb.base/step-line.exp
1589 * gdb.base/step-over-exit.exp
1590 * gdb.base/step-test.exp
1591 * gdb.base/structs.exp
1592 * gdb.base/sym-file.exp
1593 * gdb.base/symtab-search-order.exp
1595 * gdb.base/type-opaque.exp
1596 * gdb.base/unload.exp
1597 * gdb.base/until-nodebug.exp
1598 * gdb.base/until.exp
1599 * gdb.base/unwindonsignal.exp
1600 * gdb.base/watch-cond.exp
1601 * gdb.base/watch-non-mem.exp
1602 * gdb.base/watch_thread_num.exp
1603 * gdb.base/watchpoint-reuse-slot.exp
1604 * gdb.base/watchpoint-solib.exp
1605 * gdb.base/watchpoint.exp
1606 * gdb.btrace/dlopen.exp
1608 * gdb.cell/break.exp
1612 * gdb.cell/dwarfaddr.exp
1613 * gdb.cell/ea-cache.exp
1614 * gdb.cell/ea-standalone.exp
1615 * gdb.cell/ea-test.exp
1616 * gdb.cell/f-regs.exp
1618 * gdb.cell/gcore.exp
1619 * gdb.cell/mem-access.exp
1620 * gdb.cell/ptype.exp
1621 * gdb.cell/registers.exp
1622 * gdb.cell/sizeof.exp
1623 * gdb.cell/solib-symbol.exp
1624 * gdb.cell/solib.exp
1625 * gdb.compile/compile-tls.exp
1626 * gdb.cp/exception.exp
1627 * gdb.cp/gdb2495.exp
1629 * gdb.cp/mb-inline.exp
1630 * gdb.cp/mb-templates.exp
1631 * gdb.cp/pr10687.exp
1633 * gdb.cp/scope-err.exp
1634 * gdb.cp/templates.exp
1635 * gdb.cp/virtfunc.exp
1636 * gdb.dwarf2/dw2-dir-file-name.exp
1637 * gdb.dwarf2/dw2-single-line-discriminators.exp
1638 * gdb.fortran/complex.exp
1639 * gdb.fortran/library-module.exp
1640 * gdb.guile/guile.exp
1641 * gdb.guile/scm-cmd.exp
1642 * gdb.guile/scm-frame-inline.exp
1643 * gdb.guile/scm-objfile.exp
1644 * gdb.guile/scm-pretty-print.exp
1645 * gdb.guile/scm-symbol.exp
1646 * gdb.guile/scm-type.exp
1647 * gdb.guile/scm-value.exp
1648 * gdb.linespec/keywords.exp
1649 * gdb.linespec/ls-errs.exp
1650 * gdb.linespec/macro-relative.exp
1651 * gdb.linespec/thread.exp
1652 * gdb.mi/mi-breakpoint-changed.exp
1653 * gdb.mi/mi-dprintf-pending.exp
1654 * gdb.mi/mi-fullname-deleted.exp
1655 * gdb.mi/mi-logging.exp
1656 * gdb.mi/mi-pending.exp
1657 * gdb.mi/mi-solib.exp
1658 * gdb.mi/new-ui-mi-sync.exp
1659 * gdb.mi/user-selected-context-sync.exp
1660 * gdb.multi/dummy-frame-restore.exp
1661 * gdb.multi/multi-arch-exec.exp
1662 * gdb.multi/remove-inferiors.exp
1663 * gdb.multi/watchpoint-multi-exit.exp
1664 * gdb.opt/solib-intra-step.exp
1665 * gdb.perf/backtrace.exp
1666 * gdb.perf/single-step.exp
1667 * gdb.perf/skip-command.exp
1668 * gdb.perf/skip-prologue.exp
1669 * gdb.perf/solib.exp
1670 * gdb.python/lib-types.exp
1671 * gdb.python/py-as-string.exp
1672 * gdb.python/py-bad-printers.exp
1673 * gdb.python/py-block.exp
1674 * gdb.python/py-breakpoint.exp
1675 * gdb.python/py-cmd.exp
1676 * gdb.python/py-events.exp
1677 * gdb.python/py-evthreads.exp
1678 * gdb.python/py-finish-breakpoint.exp
1679 * gdb.python/py-finish-breakpoint2.exp
1680 * gdb.python/py-frame-inline.exp
1681 * gdb.python/py-frame.exp
1682 * gdb.python/py-inferior.exp
1683 * gdb.python/py-infthread.exp
1684 * gdb.python/py-mi.exp
1685 * gdb.python/py-objfile.exp
1686 * gdb.python/py-pp-maint.exp
1687 * gdb.python/py-pp-registration.exp
1688 * gdb.python/py-prettyprint.exp
1689 * gdb.python/py-recurse-unwind.exp
1690 * gdb.python/py-shared.exp
1691 * gdb.python/py-symbol.exp
1692 * gdb.python/py-symtab.exp
1693 * gdb.python/py-template.exp
1694 * gdb.python/py-type.exp
1695 * gdb.python/py-unwind-maint.exp
1696 * gdb.python/py-unwind.exp
1697 * gdb.python/py-value.exp
1698 * gdb.python/python.exp
1699 * gdb.reverse/finish-reverse-bkpt.exp
1700 * gdb.reverse/insn-reverse.exp
1701 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1702 * gdb.reverse/solib-precsave.exp
1703 * gdb.reverse/solib-reverse.exp
1704 * gdb.stabs/gdb11479.exp
1705 * gdb.stabs/weird.exp
1706 * gdb.threads/fork-child-threads.exp
1707 * gdb.threads/fork-plus-threads.exp
1708 * gdb.threads/fork-thread-pending.exp
1709 * gdb.threads/forking-threads-plus-breakpoint.exp
1710 * gdb.threads/hand-call-in-threads.exp
1711 * gdb.threads/interrupted-hand-call.exp
1712 * gdb.threads/linux-dp.exp
1713 * gdb.threads/local-watch-wrong-thread.exp
1714 * gdb.threads/next-while-other-thread-longjmps.exp
1715 * gdb.threads/non-ldr-exit.exp
1716 * gdb.threads/pending-step.exp
1717 * gdb.threads/print-threads.exp
1718 * gdb.threads/process-dies-while-detaching.exp
1719 * gdb.threads/process-dies-while-handling-bp.exp
1720 * gdb.threads/pthreads.exp
1721 * gdb.threads/queue-signal.exp
1722 * gdb.threads/reconnect-signal.exp
1723 * gdb.threads/signal-command-handle-nopass.exp
1724 * gdb.threads/signal-command-multiple-signals-pending.exp
1725 * gdb.threads/signal-delivered-right-thread.exp
1726 * gdb.threads/signal-sigtrap.exp
1727 * gdb.threads/sigthread.exp
1728 * gdb.threads/staticthreads.exp
1729 * gdb.threads/stepi-random-signal.exp
1730 * gdb.threads/thread-unwindonsignal.exp
1731 * gdb.threads/thread_check.exp
1732 * gdb.threads/thread_events.exp
1733 * gdb.threads/tid-reuse.exp
1734 * gdb.threads/tls-nodebug.exp
1735 * gdb.threads/tls-shared.exp
1736 * gdb.threads/tls-so_extern.exp
1737 * gdb.threads/tls.exp
1738 * gdb.threads/wp-replication.exp
1739 * gdb.trace/actions-changed.exp
1740 * gdb.trace/actions.exp
1741 * gdb.trace/backtrace.exp
1742 * gdb.trace/change-loc.exp
1743 * gdb.trace/collection.exp
1744 * gdb.trace/deltrace.exp
1745 * gdb.trace/disconnected-tracing.exp
1746 * gdb.trace/entry-values.exp
1747 * gdb.trace/ftrace-lock.exp
1748 * gdb.trace/ftrace.exp
1749 * gdb.trace/infotrace.exp
1750 * gdb.trace/mi-trace-frame-collected.exp
1751 * gdb.trace/mi-trace-unavailable.exp
1752 * gdb.trace/mi-traceframe-changed.exp
1753 * gdb.trace/mi-tracepoint-changed.exp
1754 * gdb.trace/mi-tsv-changed.exp
1755 * gdb.trace/no-attach-trace.exp
1756 * gdb.trace/packetlen.exp
1757 * gdb.trace/passc-dyn.exp
1758 * gdb.trace/passcount.exp
1759 * gdb.trace/pending.exp
1760 * gdb.trace/pr16508.exp
1761 * gdb.trace/qtro.exp
1762 * gdb.trace/range-stepping.exp
1763 * gdb.trace/read-memory.exp
1764 * gdb.trace/report.exp
1765 * gdb.trace/save-trace.exp
1766 * gdb.trace/signal.exp
1767 * gdb.trace/stap-trace.exp
1768 * gdb.trace/status-stop.exp
1769 * gdb.trace/strace.exp
1770 * gdb.trace/tfile.exp
1771 * gdb.trace/tfind.exp
1772 * gdb.trace/trace-break.exp
1773 * gdb.trace/trace-condition.exp
1774 * gdb.trace/trace-enable-disable.exp
1775 * gdb.trace/trace-mt.exp
1776 * gdb.trace/tracecmd.exp
1777 * gdb.trace/tracefile-pseudo-reg.exp
1778 * gdb.trace/tspeed.exp
1779 * gdb.trace/tstatus.exp
1781 * gdb.trace/unavailable.exp
1782 * gdb.trace/while-dyn.exp
1783 * gdb.trace/while-stepping.exp
1786 * lib/mi-support.exp
1789 * lib/prelink-support.exp
1790 * lib/selftest-support.exp
1792 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1794 * Makefile.in: Include disable-implicit-rules.mk.
1796 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1798 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1799 non-byte-aligned bit fields.
1801 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1804 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1805 respects the DW_AT_data_bit_offset attribute.
1807 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1809 * gdb.base/default.exp: Fix output of "set language".
1811 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1813 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1814 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1816 * configure.ac: Remove checks for the make program.
1817 * configure: Re-generate.
1819 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1821 * gdb.python/py-recurse-unwind.c (main): Add loop.
1822 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1823 to read_register() and gdb.parse_and_eval(). Make each code
1824 call a separate case that can be individually tested.
1825 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1826 proc. Call cont_and_backtrace for each of the code paths that
1827 we want to test in the unwinder.
1829 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1831 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1832 the definition of struct S.
1834 2016-11-11 Catherine Moore <clm@codesourcery.com>
1836 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1838 2016-11-09 Pedro Alves <palves@redhat.com>
1840 * gdb.base/commands.exp (runto_or_return): New procedure.
1841 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1842 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1843 (progvar_simple_while_test, progvar_complex_if_while_test)
1844 (if_while_breakpoint_command_test)
1845 (infrun_breakpoint_command_test, breakpoint_command_test)
1846 (user_defined_command_test, watchpoint_command_test)
1847 (test_command_prompt_position, redefine_hook_test)
1848 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1849 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1850 multi_line_input and multi_line. Remove gdb_expect and
1851 gdb_stop_suppressing_tests uses.
1852 * lib/gdb.exp (valnum_re): New global.
1853 (multi_line_input): New procedure.
1855 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1857 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1859 (test_setup): Define with proc_with_prefix.
1860 (test_cli_inferior): Likewise.
1861 (test_cli_thread): Likewise.
1862 (test_cli_frame): Likewise.
1863 (test_cli_select_frame): Likewise.
1864 (test_cli_up_down): Likewise.
1865 (test_mi_thread_select): Likewise.
1866 (test_mi_stack_select_frame): Likewise.
1867 (test_cli_in_mi_inferior): Likewise.
1868 (test_cli_in_mi_thread): Likewise.
1869 (test_cli_in_mi_frame): Likewise.
1870 (top level): Do not use with_test_prefix_procname.
1872 2016-11-09 Pedro Alves <palves@redhat.com>
1874 * gdb.base/commands.exp (gdbvar_simple_if_test)
1875 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1876 (progvar_simple_if_test, progvar_simple_while_test)
1877 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1878 (infrun_breakpoint_command_test, breakpoint_command_test)
1879 (user_defined_command_test, watchpoint_command_test)
1880 (test_command_prompt_position, deprecated_command_test)
1881 (bp_deleted_in_command, temporary_breakpoint_commands)
1882 (stray_arg0_test, source_file_with_indented_comment)
1883 (recursive_source_test, if_commands_test)
1884 (error_clears_commands_left, redefine_hook_test)
1885 (redefine_backtrace_test): Use proc_with_prefix.
1886 * lib/gdb.exp (proc_with_prefix): New proc.
1888 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1890 * gdb.base/tui-layout.c: New file.
1891 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1892 disassembly window contains very long lines.
1894 2016-11-08 Tom Tromey <tom@tromey.com>
1896 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1899 2016-11-08 Tom Tromey <tom@tromey.com>
1901 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1904 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1906 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1908 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1910 * gdb.rust/simple.rs: Add test for univariant enums without
1911 discriminants and for encoded struct-like enums.
1913 2016-10-28 Pedro Alves <palves@redhat.com>
1915 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1916 gdb_test_multiple, tighten regexps and match symtabs and line
1917 tables incrementally.
1919 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
1921 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
1924 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
1926 * gdb.base/exec-invalid-sysroot.exp: New file.
1928 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1930 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
1932 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1934 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
1936 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
1938 * gdb.base/killed-outside.exp: Remove $options from a call to
1939 `prepare_for_testing'.
1941 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1943 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1944 Change test message.
1946 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1948 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1951 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1953 * gdb.trace/mi-trace-save.exp: New file.
1955 2016-10-13 Yao Qi <yao.qi@linaro.org>
1957 * gdb.base/code_elim.exp (get_var_address): Remove.
1958 * gdb.base/relocate.exp: Likewise.
1959 * gdb.base/shreloc.exp: Likewise.
1960 * lib/gdb.exp (get_var_address): New.
1962 2016-10-13 Yao Qi <yao.qi@linaro.org>
1964 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
1965 floating point tests if $skip_float_test is false.
1967 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
1969 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
1970 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
1972 Add 1 to argc so we guarantee distinct initial/modified argc values.
1974 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1976 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
1978 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1980 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1981 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1982 * gdb.arch/vsx-regs.exp: Likewise.
1984 2016-10-07 Yao Qi <yao.qi@linaro.org>
1986 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1988 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1990 * gdb.python/python.exp: Test decode_line("*0").
1992 2016-10-06 Doug Evans <dje@google.com>
1994 * gdb.python/py-value.exp (test_value_creation): Add test for large
1995 unsigned 64-bit value.
1997 2016-10-06 Tom Tromey <tom@tromey.com>
1999 * gdb.compile/compile.exp: Change java tests to rust.
2000 * gdb.base/setshow.exp: Change java tests to rust.
2001 * gdb.base/default.exp: Remove java from language list.
2002 * README (Examples): Update language example.
2003 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2005 * lib/gdb.exp (skip_java_tests): Remove.
2006 * lib/java.exp: Remove.
2009 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2011 * gdb.arch/mips-fcr.exp: New test.
2012 * gdb.arch/mips-fcr.c: Source for the new test.
2014 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2016 * gdb.base/solib-disc.exp: Use `standard_output_file'
2019 2016-10-06 Pedro Alves <palves@redhat.com>
2021 * gdb.base/jit-simple-dl.c: New file.
2022 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2023 * gdb.base/jit-simple.c: ... this.
2024 * gdb.base/jit-simple.exp (jit_run): Delete.
2025 (build_jit): New proc.
2026 (jit_test_reread): Recompile either the main program or the shared
2027 library, depending on what is being tested. Skip changing address
2028 if caller wants to. Compare before/after addresses. If testing
2029 standalone, explicitly load the binary. Test "maint info
2031 (top level): Add "standalone vs shared lib" and "change address"
2032 vs "same address" axes.
2034 2016-10-06 Pedro Alves <palves@redhat.com>
2036 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2039 (jit_test_reread): Use with_test_prefix. Reload the main binary
2040 explicitly. Compare the before/after addresses of the JIT
2043 2016-08-15 Doug Evans <dje@google.com>
2045 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2046 for single bitfields is bool.
2047 * gdb.xml/tdesc-regs.exp: Ditto.
2049 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2051 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2053 2016-10-05 Yao Qi <yao.qi@linaro.org>
2055 * lib/gdb.exp (support_complex_tests): Return zero if
2056 gdb_skip_float_test return true.
2058 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2059 Simon Marchi <simon.marchi@ericsson.com>
2062 * gdb.mi/user-selected-context-sync.exp: New file.
2063 * gdb.mi/user-selected-context-sync.c: New file.
2065 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2066 Simon Marchi <simon.marchi@ericsson.com>
2069 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2070 =thread-select-event check.
2072 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2074 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2075 the compulsory L operand changes.
2076 * gdb.arch/powerpc-power.s: Likewise.
2078 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2080 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2081 * gdb.base/jit-attach-pie.c: New file.
2082 * gdb.base/jit-attach-pie.exp: New file.
2084 2016-09-28 Pedro Alves <palves@redhat.com>
2086 * gdb.base/infcall-input.c: New file.
2087 * gdb.base/infcall-input.exp: New file.
2089 2016-09-22 Yao Qi <yao.qi@linaro.org>
2091 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2092 (gdb_exit): Rename it to ...
2093 (gdbserver_gdb_exit): ... Close GDBserver.
2094 (gdb_exit): New proc, call gdbserver_gdb_exit.
2095 (mi_gdb_exit): Likewise.
2097 2016-09-22 Yao Qi <yao.qi@linaro.org>
2099 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2101 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2104 2016-09-22 Yao Qi <yao.qi@linaro.org>
2106 * lib/gdbserver-support.exp: Check the existence of
2107 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2109 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2111 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2113 2016-09-21 Tom Tromey <tom@tromey.com>
2116 * gdb.base/quit.exp: New file.
2118 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2120 * .gitignore: New file.
2122 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2124 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2127 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2129 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2131 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2133 * gdb.cp/casts.cc (decltype): Move it ...
2134 (main): ... with its call to ...
2135 * gdb.cp/casts03.cc: ... a new file.
2136 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2138 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2140 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2142 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2144 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2145 and sync up the test with tests in gas/testsuite/gas/ppc.
2146 * gdb.arch/powerpc-power.exp: Likewise.
2148 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2150 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2152 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2153 Jan Kratochvil <jan.kratochvil@redhat.com>
2155 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2156 make m1's definition to be different from m2's. Use 'dummy' as an
2157 argument for probe 'two'.
2159 2016-09-10 Jon Beniston <jon@beniston.com>
2161 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2164 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2166 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2167 variable declaration.
2168 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2169 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2170 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2171 received HWCAP as its argument.
2173 2016-09-06 Pedro Alves <palves@redhat.com>
2175 * gdb.base/new-ui-pending-input.c: New file.
2176 * gdb.base/new-ui-pending-input.exp: New file.
2177 * gdb.exp (clear_gdb_spawn_id): New procedure.
2178 (with_spawn_id): Check whether gdb_spawn_id exists before
2179 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2182 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2184 * gdb.base/float128.c: New file.
2185 * gdb.base/float128.exp: Likewise.
2186 * gdb.base/floatn.c: Likewise.
2187 * gdb.base/floatn.exp: Likewise.
2189 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2191 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2193 2016-09-05 Pedro Alves <palves@redhat.com>
2196 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2197 unwinders are immediately called as side effect of "source" or
2198 "disable unwinder" commands.
2199 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2201 2016-09-02 Yao Qi <yao.qi@linaro.org>
2203 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2204 is true and $type is "float" or "double".
2206 2016-09-02 Yao Qi <yao.qi@linaro.org>
2208 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2210 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2211 * gdb.base/call-rt-st.exp: Likewise.
2212 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2213 return value instead of gdb,skip_float_test.
2214 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2215 (do_function_calls): Use its return value instead of
2216 gdb,skip_float_test.
2217 * gdb.base/finish.exp: Likewise.
2218 * gdb.base/funcargs.exp: Likewise.
2219 * gdb.base/return.exp: Likewise.
2220 * gdb.base/return2.exp: Likewise.
2221 * gdb.base/varargs.exp: Likewise.
2222 * lib/gdb.exp (gdb_skip_float_test): Change it to
2223 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2225 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2227 * gdb.multi/tids.exp: Test "thread apply all".
2229 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2231 * gdb.base/default.exp (tty): Remove.
2233 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2235 * gdb.python/py-recurse-unwind.c: New file.
2236 * gdb.python/py-recurse-unwind.py: New file.
2237 * gdb.python/py-recurse-unwind.exp: New file.
2239 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2241 * gdb.base/set-inferior-tty.exp: New file.
2242 * gdb.base/set-inferior-tty.c: New file.
2244 2016-08-23 Pedro Alves <palves@redhat.com>
2247 * gdb.base/new-ui-echo.c: New file.
2248 * gdb.base/new-ui-echo.exp: New file.
2250 2016-08-23 Yao Qi <yao.qi@linaro.org>
2252 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2254 * gdb.server/connect-without-multi-process.exp (do_test):
2257 2016-08-23 Yao Qi <yao.qi@linaro.org>
2259 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2260 standalone_txt. Delete gdb_txt and standalone_txt on host
2261 and target. Spawn the binary on target. Copy files from
2264 2016-08-22 Pedro Alves <palves@redhat.com>
2267 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2268 with_test_prefix. Factor out bits to ...
2269 (test_no_vdso): ... this new procedure.
2271 2016-08-19 Carl Love <cel@us.ibm.com>
2273 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2274 maintaining separate logic for constructing the output path.
2275 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2276 * gdb.arch/ppc-dfp.exp: Likewise.
2277 * gdb.arch/ppc-fp.exp: Likewise.
2278 * gdb.arch/vsx-regs.exp: Likewise.
2279 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2280 binprefix for generating the additional binary files.
2282 2016-08-19 Pedro Alves <palves@redhat.com>
2284 * gdb.trace/mi-trace-frame-collected.exp
2285 (test_trace_frame_collected): On x32, expect two registers.
2287 2016-08-18 Carl Love <cel@us.ibm.com>
2289 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2290 and sync up the test with tests in gas/testsuite/gas/ppc.
2291 * gdb.arch/powerpc-power.exp: Likewise.
2293 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2295 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2296 expected error message.
2298 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2300 * gdb.multi/remove-inferiors.exp: New file.
2301 * gdb.multi/remove-inferiors.c: New file.
2303 2016-08-12 Yao Qi <yao.qi@linaro.org>
2305 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2308 2016-08-10 Pedro Alves <palves@redhat.com>
2311 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2314 2016-08-09 Pedro Alves <palves@redhat.com>
2315 Simon Marchi <simon.marchi@ericsson.com>
2318 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2319 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2321 2016-08-09 Pedro Alves <palves@redhat.com>
2324 * gdb.mi/mi-cmd-error.exp: New file.
2326 2016-08-09 Pedro Alves <palves@redhat.com>
2329 * gdb.base/signals-state-child.c: New file.
2330 * gdb.base/signals-state-child.exp: New file.
2331 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2333 2016-08-09 Pedro Alves <palves@redhat.com>
2335 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2337 2016-08-03 Tom Tromey <tom@tromey.com>
2340 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2342 2016-08-01 Yao Qi <yao.qi@linaro.org>
2344 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2345 variable mode to "multi-process" if $multi_process is 1, otherwise
2346 set it to "single-process".
2348 2016-08-01 Yao Qi <yao.qi@linaro.org>
2350 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2351 * gdb.cp/cpexprs.exp: Likewise.
2352 * gdb.cp/m-static.exp: Likewise.
2354 2016-07-26 Tom Tromey <tom@tromey.com>
2357 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2360 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2362 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2363 selecting assembly source files.
2364 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2365 assembly source files.
2366 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2367 assembly source files.
2368 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2369 selecting assembly source files.
2371 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2373 * gdb.base/new-ui.exp (do_test_invalid_args): New
2376 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2378 * gdb.btrace/reconnect.c: New file.
2379 * gdb.btrace/reconnect.exp: New file.
2381 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2383 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2384 to test_catch_syscall_group.
2385 (test_catch_syscall_group): New.
2387 2016-07-21 Tom Tromey <tom@tromey.com>
2389 * gdb.rust/simple.rs (main): Use empty struct expression.
2390 * gdb.rust/simple.exp: Add tests for empty struct expression.
2392 2016-07-21 Yao Qi <yao.qi@linaro.org>
2394 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2395 if gdb_skip_xml_test is true on some targets.
2397 2016-07-21 Yao Qi <yao.qi@linaro.org>
2399 * gdb.server/solib-list.exp: Unset last_loaded_file.
2401 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2403 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2404 "step into captured_main (args)".
2406 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2408 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2410 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2412 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2414 2016-07-19 Pedro Alves <palves@redhat.com>
2416 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2417 * gdb.opt/inline-bt.exp: Likewise.
2418 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2419 additional_flags=-Winline.
2420 * gdb.opt/inline-locals.exp: Likewise.
2421 * gdb.opt/inline-markers.c (ATTR): Define.
2422 (inlined_fn): Use it.
2424 2016-07-19 Yao Qi <yao.qi@linaro.org>
2426 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2427 (test_with_self): Remove some code. Remove argument executable.
2428 (top-level): Use do_self_tests.
2430 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2431 Don Breazeal <donb@codesourcery.com>
2433 * gdb.base/maint.exp: Escape paths used in regular expressions.
2434 * gdb.stabs/weird.exp: Likewise.
2436 2016-07-13 Tom Tromey <tom@tromey.com>
2438 PR python/15620, PR python/18620:
2439 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2440 (test_bkpt_events): New procs.
2442 2016-07-13 Tom Tromey <tom@tromey.com>
2445 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2447 (test_watchpoints): Likewise.
2448 (test_bkpt_pending): New proc.
2450 2016-07-13 Tom Tromey <tom@tromey.com>
2453 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2456 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2458 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2459 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2460 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2462 (g): Rename g_end_lbl to g_label.
2463 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2465 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2467 2016-07-12 Tom Tromey <tom@tromey.com>
2470 * gdb.python/py-unwind-maint.exp: Update tests.
2472 2016-07-12 Yao Qi <yao.qi@linaro.org>
2474 * lib/selftest-support.exp (selftest_setup): Match the output
2475 when captured_main is inlined.
2477 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2479 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2481 (print this%a, print this%b, print this): New tests.
2482 * gdb.fortran/derived-types.f90 (this): New object and
2485 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2487 * gdb.ada/arraydim.exp: Remove extra directory level in build
2490 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2492 * lib/ada.exp: Remove extra directory level in build directory.
2493 * gdb.ada/cond_lang.exp: Likewise.
2494 * gdb.ada/exec_changed.exp: Likewise.
2495 * gdb.ada/lang_switch.exp: Likewise.
2497 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2499 * simple.rs: Add test for raw pointer subscripting.
2500 * simple.exp: Add test expectations.
2502 2016-07-05 Yao Qi <yao.qi@linaro.org>
2504 * gdb.mi/mi-reverse.exp: Match =record-started output.
2506 2016-07-01 Pedro Alves <palves@redhat.com>
2508 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2510 (jit_reader_test): Test the jit reader's unwinder.
2511 * gdb.base/jithost.c (jit_function_00_code): New global.
2512 (main): Use memcpy to fill in the mmapped code, instead of poking
2513 bytes manually here.
2514 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2516 (read_debug_info): Save the function's range.
2517 (read_sp): New function.
2518 (unwind_frame): Use it. Also unwind RBP.
2519 (get_frame_id): Use read_sp.
2520 (gdb_init_reader): Use calloc instead of malloc.
2521 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2522 parameter. Use gdb_test_multiple.
2524 2016-07-01 Pedro Alves <palves@redhat.com>
2525 Antoine Tremblay <antoine.tremblay@ericsson.com>
2527 * gdb.threads/process-dies-while-detaching.c: New file.
2528 * gdb.threads/process-dies-while-detaching.exp: New file.
2530 2016-07-01 Pedro Alves <palves@redhat.com>
2532 * gdb.multi/watchpoint-multi-exit.c: New file.
2533 * gdb.multi/watchpoint-multi-exit.exp: New file.
2535 2016-06-30 Pedro Alves <palves@redhat.com>
2537 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2538 unset inferior_spawn_id.
2540 2016-06-30 Pedro Alves <palves@redhat.com>
2542 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2543 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2545 2016-06-29 Yao Qi <yao.qi@linaro.org>
2547 * gdb.base/return.c: Add copyright header.
2549 2016-06-29 Tom Tromey <tom@tromey.com>
2552 * gdb.python/py-framefilter.exp: Add tests for setting priority
2553 and disabling of non-existent frame filter.
2555 2016-06-29 Yao Qi <yao.qi@linaro.org>
2557 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2560 2016-06-28 Yao Qi <yao.qi@linaro.org>
2562 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2563 triplets. Start gdb, execute catch syscall, and continue. Check
2564 gdb's output to determine catch syscall is supported.
2566 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2568 * gdb.rust/simple.rs: Add test for returning unit in a function.
2569 * gdb.rust/simple.exp: Add expectation for functions returning
2572 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2574 * gdb.python/py-breakpoint-create-fail.c,
2575 gdb.python/py-breakpoint-create-fail.exp,
2576 gdb.python/py-breakpoint-create-fail.py: New testcase.
2578 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2581 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2582 * gdb.rust/simple.exp: Add test expectations for new NonZero
2585 2016-06-24 David Taylor <dtaylor@emc.com>
2587 * gdb.base/offsets.exp: New file.
2588 * gdb.base/offsets.c: New file.
2590 2016-06-23 Tom Tromey <tom@tromey.com>
2593 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2594 before any filters are loaded.
2596 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2598 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2599 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2601 * gdb.fortran/derived-type-function.exp: New file.
2602 * gdb.fortran/derived-type-function.f90: New file.
2605 2016-06-21 Pedro Alves <palves@redhat.com>
2607 * gdb.base/new-ui.exp: New file.
2608 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2609 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2610 (with_spawn_id): New procedure.
2612 2016-06-21 Pedro Alves <palves@redhat.com>
2614 * gdb.mi/mi-exec-run.exp: New file.
2616 2016-06-21 Pedro Alves <palves@redhat.com>
2618 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2619 breakpoint command's output on the main UI.
2620 (test_break): New procedure, factored out from calls in the top
2622 (top level): Use foreach_with_prefix to test MI as main UI and as
2625 2016-06-21 Pedro Alves <palves@redhat.com>
2627 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2628 (test_awatch_creation_and_listing)
2629 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2630 Remove 'type' parameter.
2631 (test_watchpoint_all): New parameter mi_mode. Remove
2633 (top level): Use foreach_with_prefix, and add main/separate UI MI
2636 2016-06-21 Pedro Alves <palves@redhat.com>
2638 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2639 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2640 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2641 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2642 (gdb_main_spawn_id, mi_spawn_id): Declare and
2644 (mi_create_inferior_pty): New procedure,
2645 factored out from default_mi_gdb_start.
2646 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2648 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2649 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2650 Use mi_create_inferior_pty.
2651 (mi_gdb_start): Use eval to pass down args list.
2653 2016-06-21 Pedro Alves <palves@redhat.com>
2655 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2656 * gdb.opt/inline-cmds.exp: Add MI tests.
2658 2016-06-21 Pedro Alves <palves@redhat.com>
2660 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2662 2016-06-21 Pedro Alves <palves@redhat.com>
2664 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2665 (top level): Use it instead of mi_execute_to.
2667 2016-06-21 Pedro Alves <palves@redhat.com>
2669 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2670 (cont_handler_str): New.
2671 (signal_stop_handler): Set stop_handler_str instead of printing to
2673 (continue_handler): Set cont_handler_str instead of printing to
2675 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2676 mi_send_resuming_command. Print stop_handler_str and
2677 cont_handler_str instead of expecting the python events print
2680 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2682 * gdb.base/jit-reader.exp: New file.
2683 * gdb.base/jithost.c: New file.
2684 * gdb.base/jithost.h: New file.
2685 * gdb.base/jitreader.c : New file.
2686 * gdb.base/jit-protocol.h: New file.
2688 2016-06-17 Yao Qi <yao.qi@linaro.org>
2690 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2691 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2692 and detach-on-fork. Adjust tests.
2693 (top level): Invoke break_cond_on_syscall with combinations of
2694 syscall, follow-fork-mode and detach-on-fork.
2696 2016-06-17 Yao Qi <yao.qi@linaro.org>
2698 * gdb.base/step-over-exit.c: New.
2699 * gdb.base/step-over-exit.exp: New.
2701 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2703 * gdb.base/float.exp: Add target check for nds32*-*-*.
2704 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2706 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2708 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2709 for unsupported target features.
2710 * gdb.base/call-rt-st.exp: Likewise.
2711 * gdb.base/call-sc.exp: Likewise.
2712 * gdb.base/call-signal-resume.exp: Likewise.
2713 * gdb.base/call-strs.exp: Likewise.
2714 * gdb.base/callexit.exp: Likewise.
2715 * gdb.base/callfuncs.exp: Likewise.
2716 * gdb.base/nodebug.exp: Likewise.
2717 * gdb.base/printcmds.exp: Likewise.
2718 * gdb.base/ptype.exp: Likewise.
2719 * gdb.base/structs.exp: Likewise.
2720 * gdb.base/unwindonsignal.exp: Likewise.
2721 * gdb.cp/gdb2495.exp: Likewise.
2722 * gdb.cp/templates.exp: Likewise.
2723 * gdb.cp/virtfunc.exp: Likewise.
2724 * gdb.threads/hand-call-in-threads.exp: Likewise.
2725 * gdb.threads/interrupted-hand-call.exp: Likewise.
2726 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2728 2016-06-10 Tom Tromey <tom@tromey.com>
2731 * gdb.rust/expr.exp: Add test for integer constant larger than
2734 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2736 * gdb.fortran/nested-funcs.exp: New.
2737 * gdb.fortran/nested-funcs.f90: New.
2739 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2741 * gdb.base/examine-backward.c: New file.
2742 * gdb.base/examine-backward.exp: New file.
2744 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2746 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2749 2016-06-02 Tom Tromey <tom@tromey.com>
2752 * gdb.python/py-shared.exp: Add solib_name test.
2754 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2756 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2758 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2761 * gdb.dwarf2/implref.exp: Rename to...
2762 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2763 * gdb.dwarf2/implref-array.c: New file.
2764 * gdb.dwarf2/implref-array.exp: Likewise.
2765 * gdb.dwarf2/implref-global.c: Likewise.
2766 * gdb.dwarf2/implref-global.exp: Likewise.
2767 * gdb.dwarf2/implref-struct.c: Likewise.
2768 * gdb.dwarf2/implref-struct.exp: Likewise.
2770 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2772 * gdb.trace/trace-condition.exp: Add 64bit tests.
2774 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2776 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2778 (main): Adapt to 8 to 64 bits types.
2779 * gdb.trace/trace-condition.exp: Add new tests.
2781 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2783 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2785 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2787 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2788 Move condition tests...
2789 * gdb.trace/trace-condition.exp: Here.
2791 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2793 * gdb.trace/trace-condition.exp: Add counter-case tests.
2795 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2798 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2799 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2801 2016-05-27 Pedro Alves <palves@redhat.com>
2803 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2805 (top level): Call it, and bail out of DejaGnu is known to be bad.
2807 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2809 * gdb.base/whatis.c: Extend the test case.
2810 * gdb.base/whatis.exp: Add additional tests.
2812 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2814 * gdb.fortran/type.f90: Add pointer variable.
2815 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2817 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2819 * gdb.fortran/vla-type.exp: Fix testcase name.
2821 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2823 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2825 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2827 * gdb.fortran/type.f90: Add nested structures.
2828 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2829 * gdb.fortran/derived-type.exp: Adapt expected output.
2830 * gdb.fortran/vla-type.exp: Adapt expected output.
2832 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2834 * gdb.fortran/whatis_type.exp: Adapt expected output.
2836 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2838 * gdb.fortran/print_type.exp: Fix expected output.
2839 * gdb.fortran/whatis_type.exp: Fix expected output.
2841 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2843 * gdb.fortran/whatis_type.exp: Use multi_line.
2845 2016-05-24 Tom Tromey <tom@tromey.com>
2848 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2849 use value as an index.
2851 2016-05-23 Tom Tromey <tom@tromey.com>
2854 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2857 2016-05-24 Pedro Alves <palves@redhat.com>
2860 * gdb.threads/clone-attach-detach.c: New file.
2861 * gdb.threads/clone-attach-detach.exp: New file.
2863 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2865 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2867 2016-05-23 Tom Tromey <tom@tromey.com>
2869 PR python/19438, PR python/18393:
2870 * gdb.python/py-progspace.exp: Add "dir" test.
2871 * gdb.python/py-objfile.exp: Add "dir" test.
2873 2016-05-23 Yao Qi <yao.qi@linaro.org>
2875 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2876 * gdb.arch/thumb2-it.exp: Likewise.
2878 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2880 * gdb.mi/mi-threads-interrupt.c: New file.
2881 * gdb.mi/mi-threads-interrupt.exp: New file.
2883 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2886 * gdb.mi/mi-async-run.exp: New file.
2887 * gdb.mi/mi-async-run.c: New file.
2889 2016-05-17 Tom Tromey <tom@tromey.com>
2890 Manish Goregaokar <manishsmail@gmail.com>
2892 * lib/rust-support.exp: New file.
2893 * lib/gdb.exp (skip_rust_tests): New proc.
2894 (build_executable_from_specs): Handle rust.
2895 * lib/future.exp (gdb_find_rustc): New proc.
2896 (gdb_default_target_compile): Handle rust.
2897 * gdb.rust/expr.exp: New file.
2898 * gdb.rust/generics.exp: New file.
2899 * gdb.rust/generics.rs: New file.
2900 * gdb.rust/methods.exp: New file.
2901 * gdb.rust/methods.rs: New file.
2902 * gdb.rust/modules.exp: New file.
2903 * gdb.rust/modules.rs: New file.
2904 * gdb.rust/simple.exp: New file.
2905 * gdb.rust/simple.rs: New file.
2907 2016-05-17 Tom Tromey <tom@tromey.com>
2909 * gdb.base/default.exp (set language): Add rust.
2911 2016-05-17 Tom Tromey <tom@tromey.com>
2913 * gdb.gdb/unittest.exp: New file.
2915 2016-05-16 Yao Qi <yao.qi@linaro.org>
2917 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2918 shell_prompt. Update shell_prompt_re.
2920 2016-05-12 Doug Evans <dje@google.com>
2923 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
2924 $options when building executable.
2925 * gdb.dwarf2/fission-loclists-pie.S: New file.
2926 * gdb.dwarf2/fission-loclists-pie.exp: New file.
2928 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2930 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
2931 of [is_remote target],
2933 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2935 * lib/gdb.exp (use_gdb_stub): New procedure.
2937 2016-05-03 Yunlian Jiang <yunlian@google.com>
2938 Doug Evans <dje@google.com>
2941 * gdb.dwarf2/dwp-sepdebug.c: New file.
2942 * gdb.dwarf2/dwp-sepdebug.exp: New file.
2944 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2946 * gdb.base/detach.exp: Remove is_remote check.
2948 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2950 * gdb.base/annota-input-while-running.exp: Don't check for
2951 [is_remote target]. Enable annotations after running to main.
2952 Remove unused "set test..." line.
2954 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2956 * gdb.trace/trace-enable-disable.exp: New file.
2957 * gdb.trace/trace-enable-disable.c: New file.
2959 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2961 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
2962 use it in info sharedlibrary test.
2963 * gdb.trace/ftrace-lock.exp: Likewise.
2964 * gdb.trace/ftrace.exp: Likewise.
2965 * gdb.trace/range-stepping.exp: Likewise.
2966 * gdb.trace/trace-break.exp: Likewise.
2967 * gdb.trace/trace-condition.exp: Likewise.
2968 * gdb.trace/trace-mt.exp: Likewise.
2970 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2972 * lib/gdb.exp (gdb_load_shlibs): Rename to...
2973 (gdb_load_shlib): ... this.
2974 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
2976 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2977 * gdb.base/ctxobj.exp: Likewise.
2978 * gdb.base/dprintf-pending.exp: Likewise.
2979 * gdb.base/dso2dso.exp: Likewise.
2980 * gdb.base/fixsection.exp: Likewise.
2981 * gdb.base/gcore-relro.exp: Likewise.
2982 * gdb.base/gdb1555.exp: Likewise.
2983 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2984 * gdb.base/gnu-ifunc.exp: Likewise.
2985 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2986 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2987 * gdb.base/pending.exp: Likewise.
2988 * gdb.base/print-file-var.exp: Likewise.
2989 * gdb.base/print-symbol-loading.exp: Likewise.
2990 * gdb.base/shlib-call.exp: Likewise.
2991 * gdb.base/shreloc.exp: Likewise.
2992 * gdb.base/so-impl-ld.exp: Likewise.
2993 * gdb.base/solib-disc.exp: Likewise.
2994 * gdb.base/solib-nodir.exp: Likewise.
2995 * gdb.base/solib-overlap.exp: Likewise.
2996 * gdb.base/solib-symbol.exp: Likewise.
2997 * gdb.base/solib-weak.exp (do_test): Likewise.
2998 * gdb.base/sym-file.exp: Likewise.
2999 * gdb.base/symtab-search-order.exp: Likewise.
3000 * gdb.base/type-opaque.exp: Likewise.
3001 * gdb.base/unload.exp: Likewise.
3002 * gdb.base/watchpoint-solib.exp: Likewise.
3003 * gdb.compile/compile.exp: Likewise.
3004 * gdb.cp/gdb2384.exp: Likewise.
3005 * gdb.cp/infcall-dlopen.exp: Likewise.
3006 * gdb.cp/re-set-overloaded.exp: Likewise.
3007 * gdb.fortran/library-module.exp: Likewise.
3008 * gdb.opt/solib-intra-step.exp: Likewise.
3009 * gdb.python/py-finish-breakpoint.exp: Likewise.
3010 * gdb.python/py-shared.exp: Likewise.
3011 * gdb.reverse/solib-precsave.exp: Likewise.
3012 * gdb.reverse/solib-reverse.exp: Likewise.
3013 * gdb.server/solib-list.exp: Likewise.
3014 * gdb.threads/dlopen-libpthread.exp: Likewise.
3015 * gdb.threads/tls-shared.exp: Likewise.
3016 * gdb.threads/tls-so_extern.exp: Likewise.
3017 * gdb.trace/change-loc.exp: Likewise.
3018 * gdb.trace/ftrace-lock.exp: Likewise.
3019 * gdb.trace/ftrace.exp: Likewise.
3020 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3021 * gdb.trace/pending.exp: Likewise.
3022 * gdb.trace/range-stepping.exp: Likewise.
3023 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3024 (strace_info_marker): Likewise.
3025 (strace_probe_marker): Likewise.
3026 (strace_trace_on_same_addr): Likewise.
3027 (strace_trace_on_diff_addr): Likewise.
3028 * gdb.trace/trace-break.exp: Likewise.
3029 * gdb.trace/trace-condition.exp: Likewise.
3030 * gdb.trace/trace-mt.exp: Likewise.
3032 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3034 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3035 result of gdb_remote_download.
3036 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3037 * gdb.base/dso2dso.exp: Likewise.
3038 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3039 * gdb.base/print-file-var.exp: Likewise.
3040 * gdb.base/shlib-call.exp: Likewise.
3041 * gdb.base/shreloc.exp: Likewise.
3042 * gdb.base/solib-overlap.exp: Likewise.
3043 * gdb.base/solib-weak.exp (do_test): Likewise.
3044 * gdb.base/unload.exp: Likewise.
3046 2016-04-27 Yao Qi <yao.qi@linaro.org>
3048 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3051 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3053 * vla-type.exp: Print structure from toplevel.
3055 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3057 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3059 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3062 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3064 * gdb.fortran/vla-type.f90: New file.
3065 * gdb.fortran/vla-type.exp: New file.
3067 2016-04-25 Yao Qi <yao.qi@linaro.org>
3069 * gdb.base/branch-to-self.c: New file.
3070 * gdb.base/branch-to-self.exp: New file.
3072 2016-04-22 Yao Qi <yao.qi@linaro.org>
3074 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3077 2016-04-22 Yao Qi <yao.qi@linaro.org>
3079 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3080 * gdb.base/annota3.exp: Likewise.
3082 2016-04-22 Yao Qi <yao.qi@linaro.org>
3084 * gdb.reverse/step-precsave.exp: Do one step and test program
3085 stops in "callee" and do multiple steps until program goes out
3087 * gdb.reverse/step-reverse.exp: Likewise.
3089 2016-04-22 Yao Qi <yao.qi@linaro.org>
3091 * gdb.trace/signal.exp: Also pass if
3092 $tracepoint_hits($i) > $iterations.
3094 2016-04-22 Yao Qi <yao.qi@linaro.org>
3096 * gdb.trace/signal.c: New file.
3097 * gdb.trace/signal.exp: New file.
3099 2016-04-19 Doug Evans <xdje42@gmail.com>
3101 * gdb.base/bad-file.exp: New file.
3103 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3105 * gdb.dwarf2/implref.exp: New file.
3107 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3109 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3110 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3111 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3112 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3113 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3114 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3115 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3116 * lib/fortran.exp (fortran_int4): New procedure.
3117 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3118 (fortran_logical4): Likewise.
3120 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3122 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3124 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3126 * lib/compiler.c: Add Intel specific preprocessor macros.
3127 * lib/compiler.cc: Likewise.
3129 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3131 * gdb.server/connect-with-no-symbol-file.c: New file.
3132 * gdb.server/connect-with-no-symbol-file.exp: New file.
3134 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3136 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3138 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3140 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3141 standard output directory.
3143 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3145 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3147 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3149 * gdb.btrace/instruction_history.c (loop): Add declaration.
3151 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3153 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3155 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3157 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3158 parentheses to print.
3159 (continue_handler): Likewise.
3161 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3163 * gdb.server/solib-list.exp: Remove is_remote check.
3164 Pass shlib= to gdb_compile. Don't link shared library with
3165 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3166 Run binary filename through "readlink -f" on the target.
3168 2016-04-08 Pedro Alves <palves@redhat.com>
3170 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3171 interpreter filename as argument to gdbserver_spawn.
3172 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3173 Return empty if $last_loaded_file does not exist.
3175 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3177 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3178 * gdb.base/jit-main.c: Use exit after usage.
3180 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3182 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3183 GDBHISTSIZE prior to the tests.
3184 * gdb.base/gdbinit-history.exp: Likewise.
3186 2016-04-07 Pedro Alves <palves@redhat.com>
3188 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3189 instead of build_executable. Use gdb_load_shlibs.
3191 2016-04-07 Yao Qi <yao.qi@linaro.org>
3193 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3194 Execute "si" command.
3196 2016-04-07 Yao Qi <yao.qi@linaro.org>
3198 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3199 number instead of the comments on some line.
3201 2016-04-06 Don Breazeal <donb@codesourcery.com>
3203 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3204 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3206 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3208 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3209 standard_output_file. Remove unused binfile variable.
3211 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3213 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3214 * gdb.python/py-mi-objfile.exp: Match "list main" output
3217 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3219 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3222 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3224 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3226 * gdb.trace/ftrace.exp: Likewise.
3227 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3229 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3230 (gdb_load_shlibs): Copy libraries to test directory when testing
3231 natively. Only set solib-search-path if testing remotely.
3232 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3234 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3236 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3237 gdb_download. Use it even if the target is not remote.
3238 * gdb.base/jit.exp (compile_jit_test): Likewise.
3239 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3240 output directory if the destination board is local, otherwise use
3241 the standard remote_download from DejaGnu.
3242 (gdb_download): Remove.
3243 (gdb_load_shlibs): Use gdb_remote_download instead of
3245 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3246 Use gdb_remote_download instead of gdb_download. Use it even if
3247 the target is not remote.
3248 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3249 instead of gdb_download.
3251 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3253 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3254 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3257 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3260 * gdb.base/printcmds.exp: Add artificial arrays tests.
3262 2016-03-31 Pedro Alves <palves@redhat.com>
3265 * gdb.base/jit-main.c: Include unistd.h.
3266 (ATTACH): Define to 0 if not already defined.
3267 (wait_for_gdb, mypid): New globals.
3268 (WAIT_FOR_GDB): New macro.
3269 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3270 some breakpoint locations.
3271 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3273 (one_jit_test): Add REATTACH parameter, and handle it. Use
3274 continue_to_test_location.
3275 (top level): Test attach, and adjusts calls to one_jit_test.
3277 2016-03-31 Pedro Alves <palves@redhat.com>
3280 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3281 BINSUFFIX parameter, and handle it.
3282 (top level): Adjust calls compile_jit_test.
3284 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3287 * gdb.python/py-mi-events-gdb.py: New file.
3288 * gdb.python/py-mi-events.c: New file.
3289 * gdb.python/py-mi-events.exp: New file.
3291 2016-03-30 Yao Qi <yao.qi@linaro.org>
3293 * gdb.reverse/until-precsave.exp: Match function name only.
3294 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3295 Move malloc to a condition block.
3296 * gdb.reverse/until-reverse.exp: Match function name only.
3298 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3300 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3301 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3302 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3303 variable for GPR 0 instead of assuming it is register 0.
3304 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3305 * lib/trace-support.exp: Add s390 registers.
3307 2016-03-29 Yao Qi <yao.qi@linaro.org>
3309 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3311 2016-03-24 Yao Qi <yao.qi@linaro.org>
3313 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3316 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3318 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3319 maintaining separate logic for constructing the output path.
3321 2016-03-16 Don Breazeal <donb@codesourcery.com>
3323 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3324 Retry fork and waitpid on interrupted system call errors.
3325 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3326 Use with_timeout_factor to increase timeout by factor of 10.
3328 2016-03-15 Don Breazeal <donb@codesourcery.com>
3330 * gdb.cp/scope-err.cc: New test program.
3331 * gdb.cp/scope-err.exp: New test script.
3332 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3333 lines and "set breakpoint here" comment.
3334 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3335 Fixed some whitespace and format issues.
3336 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3337 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3339 2016-03-15 Doug Evans <dje@google.com>
3341 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3342 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3343 All callers updated. Add tests for enums, mixed flags register.
3345 2016-03-15 Doug Evans <dje@google.com>
3347 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3348 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3350 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3352 * gdb.base/default.exp: Add $_as_string to the list of expected
3353 convenience functions.
3355 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3357 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3359 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3361 * gdb.python/py-as-string.exp: New file.
3362 * gdb.python/py-as-string.c: New file.
3364 2016-03-09 Pedro Alves <palves@redhat.com>
3366 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3367 signal" -> "Thread NN received signal" output change.
3368 * gdb.threads/ia64-sigill.exp: Likewise.
3369 * gdb.threads/linux-dp.exp: Likewise.
3370 * gdb.threads/manythreads.exp: Likewise.
3371 * gdb.threads/pending-step.exp: Likewise.
3372 * gdb.threads/print-threads.exp: Likewise.
3373 * gdb.threads/sigstep-threads.exp: Likewise.
3374 * gdb.threads/staticthreads.exp: Likewise.
3375 * gdb.threads/tls.exp: Likewise.
3377 2016-03-09 Pedro Alves <palves@redhat.com>
3379 * gdb.base/command-line-input.exp: New file.
3381 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3383 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3384 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3385 * gdb.trace/pending.exp: Accept leading dot before function name.
3386 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3387 * lib/trace-support.exp: Set registers for ppc.
3389 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3391 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3392 use it for disassembly; accept .main in addition to main in backtrace.
3394 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3395 Marcin Kościelnicki <koriakin@0x04.net>
3397 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3398 (gdb_recursion_test_ptr): New global variable.
3399 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3401 (gdb_c_test): Ditto.
3403 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3405 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3408 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3410 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3411 (bar): Add bar_start_lbl label.
3412 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3413 of foo/bar for emitting DWARF and tracing.
3415 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3417 * analyze-racy-logs.py: Set executable bit.
3419 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3421 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3422 (CHECK_TARGET_TMP): Likewise.
3423 (check-single-racy): New rule.
3424 (check-parallel-racy): Likewise.
3425 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3426 (do-check-parallel-racy): New rule.
3427 (check-racy/%.exp): Likewise.
3428 * README (Racy testcases): New section.
3429 * analyze-racy-logs.py: New file.
3431 2016-03-03 Doug Evans <dje@google.com>
3433 * gdb.base/skip.exp: Use with_test_prefix.
3435 2016-03-03 Yao Qi <yao.qi@linaro.org>
3437 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3438 Invoke step_over_syscall "clone" and break_cond_on_syscall
3440 * gdb.base/step-over-clone.c: New file.
3442 2016-03-03 Yao Qi <yao.qi@linaro.org>
3444 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3447 2016-03-03 Yao Qi <yao.qi@linaro.org>
3449 * gdb.base/disp-step-fork.c: Rename to ...
3450 * gdb.base/step-over-fork.c: ... it. New file.
3451 * gdb.base/disp-step-vfork.c: Rename to ...
3452 * gdb.base/step-over-vfork.c: ... it. New file.
3453 * gdb.base/disp-step-syscall.exp: Rename to ...
3454 * gdb.base/step-over-syscall.exp: ... it. New file.
3455 (disp_step_cross_syscall): Rename to ...
3456 (step_over_syscall): ... it.
3458 2016-03-03 Yao Qi <yao.qi@linaro.org>
3460 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3461 If target supports condition evaluation on target, invoke
3462 break_cond_on_syscall for fork and vfork.
3464 2016-03-03 Yao Qi <yao.qi@linaro.org>
3466 * gdb.base/disp-step-syscall.exp: Don't invoke
3467 support_displaced_stepping.
3468 (disp_step_cross_syscall): Test with displaced stepping off and
3471 2016-03-03 Yao Qi <yao.qi@linaro.org>
3473 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3476 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3479 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3481 * gdb.fortran/vla-history.exp: Remove breakpoint.
3483 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3485 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3488 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3490 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3493 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3495 * gdb.mi/vla.f90: Nullify pointer after declaration.
3497 2016-03-01 Pedro Alves <palves@redhat.com>
3499 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3501 2016-03-01 Pedro Alves <palves@redhat.com>
3503 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3504 before anything else.
3505 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3507 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3508 before anything else.
3509 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3511 2016-03-01 Pedro Alves <palves@redhat.com>
3513 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3515 2016-03-01 Yao Qi <yao.qi@linaro.org>
3517 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3518 prepare_for_testing.
3520 2016-03-01 Yao Qi <yao.qi@linaro.org>
3522 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3524 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3526 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3527 manually constructing the output path.
3529 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3531 * gdb.arch/s390-stackless.S: New.
3532 * gdb.arch/s390-stackless.exp: New.
3534 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3536 * gdb.dlang/circular.c: New file.
3537 * gdb.dlang/circular.exp: New file.
3539 2016-02-26 Yao Qi <yao.qi@linaro.org>
3541 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3542 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3543 (testcases): Update.
3545 2016-02-26 Yao Qi <yao.qi@linaro.org>
3547 * gdb.reverse/aarch64.c: Rename to ...
3548 * gdb.reverse/insn-reverse.c: ... it.
3549 * gdb.reverse/aarch64.exp: Rename to ...
3550 * gdb.reverse/insn-reverse.exp: ... it.
3552 2016-02-26 Yao Qi <yao.qi@linaro.org>
3554 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3555 (testcase_ftype): New.
3556 (testcases): New array.
3558 (main): Call each element in testcases.
3559 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3560 (read_testcase): New.
3561 Do the tests in a loop.
3563 2016-02-25 Yao Qi <yao.qi@linaro.org>
3565 * gdb.base/branches.c: Remove.
3567 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3570 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3572 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3574 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3576 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3578 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3579 change x86_64 call_insn to 'callq'.
3581 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3583 * gdb.trace/tfile-avx.c: Move to...
3584 * gdb.trace/tracefile-pseudo-reg.c: Here.
3585 * gdb.trace/tfile-avx.exp: Move to...
3586 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3588 2016-02-24 Gary Benson <gbenson@redhat.com>
3590 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3593 2016-02-23 Doug Evans <dje@google.com>
3595 * gdb.base/skip.c (test_skip): New function.
3596 (end_test_skip_file_and_function): New function.
3597 (test_skip_file_and_function): New function.
3598 * gdb.base/skip1.c (test_skip): New function.
3599 (skip1_test_skip_file_and_function): New function.
3600 * gdb.base/skip.exp: Add tests for new skip options.
3601 * gdb.base/skip-solib.exp: Update expected output.
3602 * gdb.perf/skip-command.cc: New file.
3603 * gdb.perf/skip-command.exp: New file.
3604 * gdb.perf/skip-command.py: New file.
3606 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3608 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3609 info registers pattern.
3611 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3613 * lib/future.exp: Add D support.
3614 (gdb_find_gdc): New proc.
3615 (gdb_default_target_compile): Add D support.
3617 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3619 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3621 (trace_speed_test): Determine the iteration count for a time
3622 between 15..30 seconds.
3624 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3626 * gdb.arch/i386-mpx-sigsegv.c: New file.
3627 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3628 * gdb.arch/i386-mpx-simple_segv.c: New file.
3629 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3631 2016-02-18 Yao Qi <yao.qi@linaro.org>
3633 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3634 Don't call setup_kfail.
3636 2016-02-18 Yao Qi <yao.qi@linaro.org>
3638 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3639 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3641 2016-02-16 Doug Evans <dje@google.com>
3643 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3644 * gdb.base/skip1.c: Ditto.
3645 * gdb.base/skip.exp: Whitespace cleanup.
3647 2016-02-16 Don Breazeal <donb@codesourcery.com>
3650 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3651 Remove kfail for PR remote/19496.
3653 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3655 * lib/gdb.exp (standard_temp_file): Return a path specific to
3656 the runtest invocation.
3658 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3660 * gdb.trace/save-trace.exp: Change relative path to be in the
3661 standard output directory.
3663 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3665 * gdb.arch/i386-prologue.c: Add missing prototypes.
3667 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3669 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3670 * gdb.arch/i386-prologue.exp: Likewise.
3671 * gdb.arch/i386-size.exp: Likewise.
3673 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3675 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3676 define object file path.
3677 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3679 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3680 standard_output_file to define binfile.
3682 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3684 Fix compatibility with recent gfortran-5.3.1.
3685 * gdb.fortran/vla-history.exp (print vla1 allocated)
3686 (print vla2 allocated, print $2, print $3): Remove
3687 (print $4): Rename to ...
3688 (print $2): ... here.
3689 (print $9): Rename to ...
3690 (print $5): ... here.
3691 (print $10): Rename to ...
3692 (print $6): ... here.
3693 * gdb.fortran/vla.f90: Add pvla initialization.
3695 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3697 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3699 * gdb.fortran/vla-value-sub.exp: Likewise.
3701 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3703 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3705 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3707 * i386-biarch-core.exp: Define corefile using
3708 standard_output_file.
3710 2016-02-12 Yao Qi <yao.qi@linaro.org>
3712 * gdb.arch/arm-single-step-kernel-helper.c: New.
3713 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3715 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3717 * gdb.btrace/tailcall-only.exp: New.
3718 * gdb.btrace/tailcall-only.c: New.
3719 * gdb.btrace/x86_64-tailcall-only.S: New.
3720 * gdb.btrace/i686-tailcall-only.S: New.
3722 2016-02-11 Pedro Alves <palves@redhat.com>
3724 * README (Parallel testing): Add missing double quotes.
3726 2016-02-11 Pedro Alves <palves@redhat.com>
3728 * README (Parallel testing): New section.
3729 (GDB_PARALLEL): Rewrite.
3730 (FORCE_PARALLEL): Document.
3732 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3734 * gdb.trace/tfile-avx.c: New test.
3735 * gdb.trace/tfile-avx.exp: New test.
3737 2016-02-09 Keith Seitz <keiths@redhat.com>
3739 PR breakpoints/19546
3740 * gdb.base/infcall-exec.c: New file.
3741 * gdb.base/infcall-exec2.c: New file.
3742 * gdb.base/infcall-exec.exp: New file.
3744 2016-02-09 Keith Seitz <keiths@redhat.com>
3746 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3747 (toplevel): Call test_bkpt_address.
3749 2016-02-09 Keith Seitz <keiths@redhat.com>
3752 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3753 (toplevel): Call test_bkpt_address.
3755 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3757 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3759 * configure: Regenerate.
3761 2016-02-09 Pedro Alves <palves@redhat.com>
3763 PR breakpoints/19548
3764 * gdb.base/execl-update-breakpoints.c (some_function): New
3767 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3768 Tighten expected GDB output.
3770 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3772 * Makefile.in (ALL_SUBDIRS): Remove.
3773 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3774 (distclean maintainer-clean realclean): Likewise.
3775 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3776 * configure: Regenerate.
3777 * gdb.ada/Makefile.in: Delete.
3778 * gdb.arch/Makefile.in: Likewise.
3779 * gdb.asm/Makefile.in: Likewise.
3780 * gdb.base/Makefile.in: Likewise.
3781 * gdb.btrace/Makefile.in: Likewise.
3782 * gdb.cell/Makefile.in: Likewise.
3783 * gdb.compile/Makefile.in: Likewise.
3784 * gdb.cp/Makefile.in: Likewise.
3785 * gdb.disasm/Makefile.in: Likewise.
3786 * gdb.dlang/Makefile.in: Likewise.
3787 * gdb.dwarf2/Makefile.in: Likewise.
3788 * gdb.fortran/Makefile.in: Likewise.
3789 * gdb.gdb/Makefile.in: Likewise.
3790 * gdb.go/Makefile.in: Likewise.
3791 * gdb.guile/Makefile.in: Likewise.
3792 * gdb.java/Makefile.in: Likewise.
3793 * gdb.linespec/Makefile.in: Likewise.
3794 * gdb.mi/Makefile.in: Likewise.
3795 * gdb.modula2/Makefile.in: Likewise.
3796 * gdb.multi/Makefile.in: Likewise.
3797 * gdb.objc/Makefile.in: Likewise.
3798 * gdb.opencl/Makefile.in: Likewise.
3799 * gdb.opt/Makefile.in: Likewise.
3800 * gdb.pascal/Makefile.in: Likewise.
3801 * gdb.perf/Makefile.in: Likewise.
3802 * gdb.python/Makefile.in: Likewise.
3803 * gdb.reverse/Makefile.in: Likewise.
3804 * gdb.server/Makefile.in: Likewise.
3805 * gdb.stabs/Makefile.in: Likewise.
3806 * gdb.threads/Makefile.in: Likewise.
3807 * gdb.trace/Makefile.in: Likewise.
3808 * gdb.xml/Makefile.in: Likewise.
3809 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3811 (standard_output_file): Remove check for GDB_PARALLEL, always
3812 return path in outputs/$subdir/$testname.
3814 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3816 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3817 (site.exp): Assign abs_srcdir to tcl's srcdir.
3819 2016-02-04 Yao Qi <yao.qi@linaro.org>
3821 * gdb.base/foll-exec-mode.c: Include limits.h.
3822 (main): Add parameters argc and argv. Get directory from
3824 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3826 * gdb.base/foll-exec.c: Include limits.h.
3827 (main): Add parameters argc and argv.
3828 Get directory from argv[0].
3829 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3830 Adjust tests on the number of lines as source code changed.
3831 * gdb.base/foll-vfork-exit.c: Include limits.h.
3832 (main): Add one line of statement before vfork.
3833 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3834 (main): Add parameters argc and argv. Get directory from
3836 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3837 (setup_gdb): Set tbreak to skip some source lines.
3838 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3839 (main): Add parameters argc and argv. Get directory from
3841 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3843 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3844 (main): Add parameters argc and argv. Get directory from
3846 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3849 2016-02-01 Doug Evans <dje@google.com>
3851 * gdb.base/skip.exp: Clean up multiple references to same test name.
3853 2016-02-01 Pedro Alves <palves@redhat.com>
3856 * gdb.threads/forking-threads-plus-breakpoint.exp
3857 (displaced_stepping_supported): New global.
3858 (probe_displaced_stepping_support): New procedure.
3859 (do_test): Add 'displaced' parameter, and use it.
3860 (top level): Check for displaced stepping support. Add displaced
3861 stepping on/off testing axis.
3863 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3865 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3866 pointer. Don't perform further tests on the unassociated pointer
3867 if the first test fails.
3869 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3871 * gdb.base/max-value-size.c: New file.
3872 * gdb.base/max-value-size.exp: New file.
3873 * gdb.base/huge.exp: Disable max-value-size for this test.
3875 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3877 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3879 2016-01-28 Yao Qi <yao.qi@linaro.org>
3881 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3883 2016-01-25 Pedro Alves <palves@redhat.com>
3886 * gdb.base/fork-running-state.c: New file.
3887 * gdb.base/fork-running-state.exp: New file.
3889 2016-01-25 Pedro Alves <palves@redhat.com>
3892 * gdb.base/catch-fork-kill.c: New file.
3893 * gdb.base/catch-fork-kill.exp: New file.
3895 2016-01-25 Pedro Alves <palves@redhat.com>
3897 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3898 Delete, moved to lib/gdb.exp.
3899 * gdb.threads/forking-threads-plus-breakpoint.exp
3900 (foreach_with_prefix): Likewise.
3901 * gdb.threads/process-dies-while-handling-bp.exp
3902 (foreach_with_prefix): Likewise.
3903 * lib/gdb.exp (foreach_with_prefix): New procedure.
3905 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3907 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3908 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3910 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3912 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3915 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3916 Pedro Alves <palves@redhat.com>
3918 Fix testsuite compatibility with Guile.
3919 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
3922 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3924 Fix testsuite compatibility with Guile.
3925 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
3926 (thread 1): New test for backtrace through signal handler.
3928 2016-01-22 Yao Qi <yao.qi@linaro.org>
3931 * gdb.base/multi-forks.c: Include
3932 ../lib/unbuffer_output.c
3933 (main): Call gdb_unbuffer_output.
3935 2016-01-21 Doug Evans <dje@google.com>
3937 * lib/ada.exp (gdb_compile_ada): Fix typo.
3939 2016-01-21 Joel Brobecker <brobecker@adacore.com>
3941 * gdb.base/break-fun-addr.exp: New file.
3942 * gdb.base/break-fun-addr1.c: New file.
3943 * gdb.base/break-fun-addr2.c: New file.
3945 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
3947 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
3948 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
3951 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3953 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
3954 when GDB can not set the vector return value. Add more comments
3957 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
3959 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
3962 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3964 * Makefile.in (DO_RUNTEST): Add --status and update usages.
3966 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3968 * Makefile.in (check-single): Pass --status to runtest.
3969 (check/%.exp): Likewise.
3971 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3973 * Makefile.in (check-parallel): Propagate return code from make
3976 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
3978 * gdb.trace/ftrace.exp: Fix expected message on continue.
3979 * gdb.trace/pending.exp: Fix expected message on continue.
3980 * gdb.trace/trace-break.exp: Fix expected message on continue.
3982 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3984 * lib/gdb.exp (gdb_test): Remove unused global references.
3986 2016-01-18 Pedro Alves <palves@redhat.com>
3988 * gdb.base/async-shell.exp: Adjust expected output.
3989 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3990 * gdb.base/siginfo-thread.exp: Adjust expected output.
3991 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3992 * gdb.java/jnpe.exp: Adjust expected output.
3993 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3994 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3995 * gdb.threads/leader-exit.exp: Adjust expected output.
3996 * gdb.threads/manythreads.exp: Adjust expected output.
3997 * gdb.threads/pthreads.exp: Adjust expected output.
3998 * gdb.threads/schedlock.exp: Adjust expected output.
3999 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4000 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4002 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4004 * gdb.threads/sigthread.exp: Adjust expected output.
4005 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4007 2016-01-18 Yao Qi <yao.qi@linaro.org>
4009 * gdb.guile/scm-section-script.c: Replace @progbits with
4011 * gdb.python/py-section-script.c: Likewise.
4013 2016-01-15 Pedro Alves <palves@redhat.com>
4015 * gdb.multi/tids.exp: Test star wildcard ranges.
4017 2016-01-15 Pedro Alves <palves@redhat.com>
4019 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4020 command from "thread apply" invocation.
4021 (thr_apply_info_thr_invalid): Default the expected output to the
4023 (top level): Add tests that use convenience variables. Add tests
4024 for "thread apply" with a valid TID list, but missing the command.
4026 2016-01-13 Pedro Alves <palves@redhat.com>
4028 * gdb.base/default.exp: Expect $_gthread as well.
4029 * gdb.multi/tids.exp: Test $_gthread.
4030 * gdb.threads/thread-specific.exp: Test $_gthread.
4032 2016-01-13 Pedro Alves <palves@redhat.com>
4034 * gdb.multi/tids.exp: Test "info threads -gid".
4036 2016-01-13 Pedro Alves <palves@redhat.com>
4038 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4040 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4042 2016-01-07 Pedro Alves <palves@redhat.com>
4044 * gdb.base/break.exp: Adjust to output changes.
4045 * gdb.base/hbreak2.exp: Likewise.
4046 * gdb.base/sepdebug.exp: Likewise.
4047 * gdb.base/watch_thread_num.exp: Likewise.
4048 * gdb.linespec/keywords.exp: Likewise.
4049 * gdb.multi/info-threads.exp: Likewise.
4050 * gdb.threads/thread-find.exp: Likewise.
4051 * gdb.multi/tids.c: New file.
4052 * gdb.multi/tids.exp: New file.
4054 2016-01-13 Pedro Alves <palves@redhat.com>
4056 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4058 2016-01-13 Pedro Alves <palves@redhat.com>
4060 * gdb.base/default.exp: Expect $_inferior as well.
4061 * gdb.multi/base.exp: Test $_inferior.
4063 2016-01-13 Pedro Alves <palves@redhat.com>
4065 PR breakpoints/19388
4066 * gdb.base/catch-signal-siginfo-cond.c: New file.
4067 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4069 2016-01-12 Josh Stone <jistone@redhat.com>
4070 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4072 * gdb.base/catch-syscall.c (do_execve): New variable.
4073 (main): Conditionally trigger an execve.
4074 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4075 (test_catch_syscall_execve): New, check entry/return across execve.
4076 (do_syscall_tests): Call test_catch_syscall_execve.
4078 2016-01-12 Pedro Alves <palves@redhat.com>
4080 * gdb.base/random-signal.exp (do_test): New procedure, with body
4081 of testcase moved in.
4083 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4084 Pedro Alves <palves@redhat.com>
4086 * gdb.base/funcargs.exp (finish from indirectly called function):
4087 Reintroduce the case for 'First'.
4089 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4090 Pedro Alves <palves@redhat.com>
4092 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4093 (tcatch_vfork_then_child_follow_exec)
4094 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4097 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4099 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4100 and repeats to unlimited.
4101 * gdb.python/py-value.exp: Likewise.
4102 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4103 and repeats to unlimited.
4105 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4107 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4108 and reordering the functions.
4109 * gdb.multi/hangout.c: Likewise.
4110 * gdb.multi/hello.c: Likewise.
4112 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4114 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4116 (SingleStatisticTestResult.report): Use dict.keys instead of
4119 2016-01-06 Pedro Alves <palves@redhat.com>
4121 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4123 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4125 * gdb.btrace/dlopen.exp: New.
4126 * gdb.btrace/dlopen.c: New.
4127 * gdb.btrace/dlopen-dso.c: New.
4129 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4131 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4132 PATTERN argument is optional.
4134 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4136 * lib/ada.exp (target_compile_ada_from_dir): New function.
4137 (gdb_compile_ada): Reimplement avoiding the use of project files.
4138 * gdb.ada/gnat_ada.gpr: Delete.
4139 * gdb.ada/cond_lang.exp: Adjust test to make path before
4141 * gdb.ada/small_reg_param.exp: Likewise.
4143 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4145 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4147 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4149 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4152 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4154 * gdb.base/break.exp: Remove dead code.
4155 * gdb.base/sepdebug.exp: Likewise.
4157 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4159 * gdb.asm/asm-source.exp: Remove HP-UX references.
4160 * gdb.base/annota1.exp: Likewise.
4161 * gdb.base/annota3.exp: Likewise.
4162 * gdb.base/attach.exp: Likewise.
4163 * gdb.base/bigcore.exp: Likewise.
4164 * gdb.base/break.exp: Likewise.
4165 * gdb.base/call-ar-st.exp: Likewise.
4166 * gdb.base/callfuncs.exp: Likewise.
4167 * gdb.base/catch-fork-static.exp: Likewise.
4168 * gdb.base/display.exp: Likewise.
4169 * gdb.base/foll-exec-mode.exp: Likewise.
4170 * gdb.base/foll-exec.exp: Likewise.
4171 * gdb.base/foll-fork.exp: Likewise.
4172 * gdb.base/foll-vfork.exp: Likewise.
4173 * gdb.base/funcargs.exp: Likewise.
4174 * gdb.base/hbreak2.exp: Likewise.
4175 * gdb.base/inferior-died.exp: Likewise.
4176 * gdb.base/interrupt.exp: Likewise.
4177 * gdb.base/multi-forks.exp: Likewise.
4178 * gdb.base/nodebug.exp: Likewise.
4179 * gdb.base/sepdebug.exp: Likewise.
4180 * gdb.base/solib1.c: Likewise.
4181 * gdb.base/step-test.exp: Likewise.
4182 * gdb.mi/non-stop.c: Likewise.
4183 * gdb.mi/pthreads.c: Likewise.
4184 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4185 * gdb.threads/pthreads.c: Likewise.
4186 * gdb.threads/staticthreads.exp: Likewise.
4187 * lib/future.exp: Likewise.
4188 * lib/gdb.exp: Likewise.
4189 * gdb.base/so-indr-cl.c: Remove.
4190 * gdb.base/so-indr-cl.exp: Likewise.
4191 * gdb.base/solib.c: Likewise.
4192 * gdb.base/solib.exp: Likewise.
4193 * gdb.base/solib2.c: Likewise.
4195 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4197 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4198 * gdb.base/call-ar-st.exp: Likewise.
4199 * gdb.base/callfuncs.exp: Likewise.
4200 * gdb.base/condbreak.exp: Likewise.
4201 * gdb.base/constvars.exp: Likewise.
4202 * gdb.base/hbreak2.exp: Likewise.
4203 * gdb.base/langs.exp: Likewise.
4204 * gdb.base/list.exp: Likewise.
4205 * gdb.base/long_long.exp: Likewise.
4206 * gdb.base/ptype.exp: Likewise.
4207 * gdb.base/scope.exp: Likewise.
4208 * gdb.base/signals.exp: Likewise.
4209 * gdb.base/so-impl-ld.exp: Likewise.
4210 * gdb.base/varargs.exp: Likewise.
4211 * gdb.base/volatile.exp: Likewise.
4212 * gdb.base/whatis.exp: Likewise.
4213 * gdb.cp/cplusfuncs.exp: Likewise.
4214 * gdb.cp/inherit.exp: Likewise.
4215 * gdb.cp/local.exp: Likewise.
4216 * gdb.cp/member-ptr.exp: Likewise.
4217 * gdb.cp/method.exp: Likewise.
4218 * gdb.cp/overload.exp: Likewise.
4219 * gdb.cp/templates.exp: Likewise.
4220 * gdb.stabs/weird.exp: Likewise.
4221 * lib/compiler.c: Likewise.
4222 * lib/compiler.cc: Likewise.
4223 * lib/cp-support.exp: Likewise.
4224 * lib/gdb.exp: Likewise.
4226 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4228 * configure.ac: Remove HP-UX case.
4229 * configure: Regenerate.
4231 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4233 * lib/gdb.exp (gdb_compile): Add function doc.
4235 2015-12-17 Pedro Alves <palves@redhat.com>
4238 * gdb.multi/info-threads.exp: New file.
4240 2015-12-15 Yao Qi <yao.qi@linaro.org>
4242 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4245 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4247 * gdb.base/history-duplicates.exp: Skip if no readline support.
4249 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4251 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4253 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4255 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4257 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4259 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4260 ctrl-C if nointerrupts target property is set.
4261 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4262 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4263 * gdb.base/paginate-bg-execution.exp: Likewise.
4264 * gdb.base/paginate-execution-startup.exp: Likewise.
4265 * gdb.base/random-signal.exp: Likewise.
4266 * gdb.base/range-stepping.exp: Likewise.
4267 * gdb.cp/annota2.exp: Likewise.
4268 * gdb.cp/annota3.exp: Likewise.
4269 * gdb.gdb/selftest.exp: Likewise.
4270 * gdb.threads/continue-pending-status.exp: Likewise.
4271 * gdb.threads/leader-exit.exp: Likewise.
4272 * gdb.threads/manythreads.exp: Likewise.
4273 * gdb.threads/pthreads.exp: Likewise.
4274 * gdb.threads/schedlock.exp: Likewise.
4275 * gdb.threads/sigthread.exp: Likewise.
4277 2015-12-11 Don Breazeal <donb@codesourcery.com>
4279 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4281 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4282 * gdb.base/foll-exec.exp (main): Enable for target remote.
4283 * gdb.base/foll-fork.exp (main): Likewise.
4284 * gdb.base/foll-vfork.exp (main): Likewise.
4285 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4286 (proc continue_to_exit_bp_loc): Use clean_restart.
4287 * gdb.base/pie-execl.exp (main): Disable for target remote.
4288 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4289 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4290 * gdb.threads/execl.exp (main): Likewise.
4291 * gdb.threads/fork-child-threads.exp (main): Likewise.
4292 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4294 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4296 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4297 pid.tid style ptids, instead of just tid.
4298 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4299 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4300 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4301 ptids, instead of just tid.
4303 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4305 * gdb.base/list.exp (test_list_forward): Add end of file error
4307 (test_repeat_list_command): Add end of file error test.
4308 (test_list_backwards): Add beginning of file error test.
4310 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4312 * gdb.base/list.exp (test_list_invalid_args): New function,
4313 defined, and called.
4315 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4317 * gdb.base/list.exp (test_list): Make test names unique.
4319 2015-12-11 Yao Qi <yao.qi@linaro.org>
4321 * gdb.base/coremaker2.c: Remove.
4323 2015-12-10 Pedro Alves <palves@redhat.com>
4325 * gdb.multi/base.exp: Remove stale "spaces" references.
4327 2015-12-10 Pedro Alves <palves@redhat.com>
4329 * gdb.multi/base.exp: Don't use nowarnings.
4330 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4331 * gdb.multi/hangout.c: Include stdio.h.
4332 * gdb.multi/hello.c: Include stdlib.h.
4333 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4334 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4335 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4337 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4339 * gdb.dwarf2/dw2-ranges-base.c: New file.
4340 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4341 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4342 support additional line table, and debug ranges generation.
4343 (Dwarf::ranges): New function, generate .debug_ranges.
4344 (Dwarf::lines): Support generating simple line table programs.
4345 (Dwarf::assemble): Initialise new namespace variables.
4347 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4349 * gdb.base/async.exp (proc test_background): Add case for
4350 asynchronous execution not supported.
4352 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4354 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4355 format and change test names to make them unique.
4357 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4358 Pedro Alves <pedro@redhat.com>
4361 Add checking of floatformats setup on x86_64 hosts.
4362 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4363 (smallval, bigval): New labels/constants.
4364 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4365 float" after loading bigval and smallval.
4367 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4369 * gdb.ada/fun_overload_menu.exp: New testcase.
4370 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4372 2015-12-04 Josh Stone <jistone@redhat.com>
4374 * gdb.base/catch-fork-static.exp: New.
4376 2015-12-03 Yao Qi <yao.qi@linaro.org>
4378 * gdb.base/sizeof.c: Don't include stdio.h and
4379 ../lib/unbuffer_output.c.
4380 (main): New variable 'size' and 'value'. Remove printf and
4381 gdb_unbuffer_output. Assign return value to size and value.
4382 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4384 (check_sizeof): Check the result by printing variable 'size'.
4385 (check_valueof): Check the result by printing variable 'value'.
4387 2015-12-01 Yao Qi <yao.qi@linaro.org>
4389 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4390 for aarch64*-*-linux* target.
4392 2015-11-30 Pedro Alves <palves@redhat.com>
4394 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4396 2015-11-30 Pedro Alves <palves@redhat.com>
4398 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4399 Handle non-stop mode vCont replies.
4401 2015-11-30 Pedro Alves <palves@redhat.com>
4403 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4404 prepare_for_testing. Start gdb with "set non-stop on" appended to
4405 GDBFLAGS. Lax expected stop output.
4407 2015-11-27 Yao Qi <yao.qi@linaro.org>
4409 * gdb.arch/arm-neon.exp: New.
4410 * gdb.arch/arm-neon.c: New.
4412 2015-11-27 Yao Qi <yao.qi@linaro.org>
4414 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4416 2015-11-27 Yao Qi <yao.qi@linaro.org>
4418 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4419 frames-invalid annotation.
4421 2015-11-27 Yao Qi <yao.qi@linaro.org>
4423 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4425 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4427 * gdb.threads/names.exp: New file.
4428 * gdb.threads/names.c: New file.
4429 * README: Mention gdb,no_thread_names.
4431 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4434 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4437 2015-11-24 Pedro Alves <palves@redhat.com>
4440 * gdb.base/display.exp: Expect displays to be sorted in ascending
4441 order. Use multi_line.
4442 * gdb.base/solib-display.exp: Likewise.
4444 2015-11-24 Pedro Alves <palves@redhat.com>
4447 * gdb.base/display.exp: Expect displays to be sorted in ascending
4448 order. Use multi_line.
4449 * gdb.base/solib-display.exp: Likewise.
4451 2015-11-24 Pedro Alves <palves@redhat.com>
4454 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4455 threads in ascending order.
4456 * gdb.base/foll-fork.exp: Likewise.
4457 * gdb.base/foll-vfork.exp: Likewise.
4458 * gdb.base/multi-forks.exp: Likewise.
4459 * gdb.mi/mi-nonstop.exp: Likewise.
4460 * gdb.mi/mi-nsintrall.exp: Likewise.
4461 * gdb.multi/base.exp: Likewise.
4462 * gdb.multi/multi-arch.exp: Likewise.
4463 * gdb.python/py-inferior.exp: Likewise.
4464 * gdb.threads/break-while-running.exp: Likewise.
4465 * gdb.threads/execl.exp: Likewise.
4466 * gdb.threads/gcore-thread.exp: Likewise.
4467 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4468 * gdb.threads/kill.exp: Likewise.
4469 * gdb.threads/linux-dp.exp: Likewise.
4470 * gdb.threads/multiple-step-overs.exp: Likewise.
4471 * gdb.threads/next-bp-other-thread.exp: Likewise.
4472 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4473 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4474 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4475 * gdb.threads/thread-find.exp: Likewise.
4476 * gdb.threads/tls.exp: Likewise.
4477 * lib/mi-support.exp (mi_reverse_list): Delete.
4478 (mi_check_thread_states): No longer reverse list.
4480 2015-11-24 Pedro Alves <palves@redhat.com>
4482 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4485 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4487 * gdb.trace/actions.c: Include trace-common.h.
4488 (main): Add a location for a fast tracepoint.
4489 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4490 the normal tracepoints.
4491 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4493 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4495 * save-trace.exp: Factor out code to these...
4496 (gdb_save_tracepoints): New.
4497 (gdb_load_tracepoints): New.
4498 (do_save_load_test): New.
4500 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4502 * gdb.base/asmlabel.exp: New test.
4503 * gdb.base/asmlabel.c: New test case.
4505 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4507 * gdb.base/wrong_frame_bt_full-main.c: New file.
4508 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4509 * gdb.base/wrong_frame_bt_full.exp: New file.
4511 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4513 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4515 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4517 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4518 pstate register when comparing registers values in
4519 sparc64-*-linux-gnu targets to avoid spurious differences.
4521 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4523 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4525 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4527 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4528 as type argument to gdb_compile.
4529 * gdb.base/nested-subp2.exp: Likewise.
4530 * gdb.base/nested-subp3.exp: Likewise.
4532 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4534 * lib/dwarf.exp (_note): Fix left shift of negative value.
4535 * gdb.trace/trace-condition.exp: Likewise.
4537 2015-11-13 Yao Qi <yao.qi@linaro.org>
4539 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4540 comments about d10v.
4541 (test_scalar_returns): Likewise.
4542 * gdb.base/d10v.ld: Remove.
4543 * gdb.base/overlays.exp: Remove the target triplet checking for
4545 * gdb.base/structs.exp (test_struct_returns): Remove the
4546 comments about d10v.
4547 (test_struct_calls): Likewise.
4549 2015-11-13 Yao Qi <yao.qi@linaro.org>
4551 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4552 * gdb.base/gnu_vector.c: Don't include stdio.h.
4553 (main): Don't print res and call add_some_intvecs.
4555 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4557 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4560 (func4): Use FAST_TRACEPOINT_LABEL.
4561 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4564 (thread_function): Use FAST_TRACEPOINT_LABEL.
4565 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4567 (marker): Use FAST_TRACEPOINT_LABEL.
4568 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4569 (pendfunc1): Remove.
4570 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4571 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4573 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4574 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4577 (marker): Use FAST_TRACEPOINT_LABEL.
4578 * gdb.trace/trace-common.h: New header.
4579 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4582 (marker): Use FAST_TRACEPOINT_LABEL.
4583 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4585 (thread_function): Use FAST_TRACEPOINT_LABEL.
4587 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4589 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4591 * gdb.trace/change-loc.exp: Use global pcreg definition.
4592 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4593 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4595 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4596 * gdb.trace/pending.exp: Likewise.
4597 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4598 * gdb.trace/trace-break.exp: Likewise.
4599 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4601 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4602 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4604 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4606 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4608 * gdb.ada/fin_fun_out: New testcase.
4610 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4612 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4613 value associated with DW_AT_byte_size.
4614 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4615 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4618 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4620 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4621 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4623 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4624 gdb.dwarf2/dw2-canonicalize-type.exp,
4625 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4626 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4627 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4628 provided by gdb_target_symbol_prefix_flags_asm.
4629 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4630 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4631 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4632 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4633 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4634 macros where needed). Use this macro for symbols which require
4635 the prefix provided by SYMBOL_PREFIX.
4637 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4639 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4641 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4642 representing expressions, of more than one list element.
4643 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4644 to prepend linker symbol prefix to f.
4645 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4646 table_1 and table_2.
4647 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4648 Likewise, for f and g.
4649 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4651 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4653 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4654 table_1_ptr and table_2_ptr.
4656 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4657 Joel Brobecker <brobecker@adacore.com>
4659 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4661 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4663 * gdb.reverse/s390-mvcle.c: New test.
4664 * gdb.reverse/s390-mvcle.exp: New file.
4665 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4667 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4669 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4671 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4673 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4675 * gdb.reverse/getresuid-reverse.exp: Likewise.
4676 * gdb.reverse/pipe-reverse.exp: Likewise.
4677 * gdb.reverse/readv-reverse.exp: Likewise.
4678 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4679 * gdb.reverse/time-reverse.exp: Likewise.
4680 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4682 2015-10-30 Yao Qi <yao.qi@linaro.org>
4684 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4685 (empty_cycle): Remove.
4686 (main): Don't call empty_cycle. Don't use watch_count_done.
4687 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4688 empty_cycle. Rewrite the code counting HW watchpoints.
4690 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4692 * gdb.reverse/fstatat-reverse.c: New test.
4693 * gdb.reverse/fstatat-reverse.exp: New file.
4694 * gdb.reverse/getresuid-reverse.c: New test.
4695 * gdb.reverse/getresuid-reverse.exp: New file.
4696 * gdb.reverse/pipe-reverse.c: New test.
4697 * gdb.reverse/pipe-reverse.exp: New file.
4698 * gdb.reverse/readv-reverse.c: New test.
4699 * gdb.reverse/readv-reverse.exp: New file.
4700 * gdb.reverse/recvmsg-reverse.c: New test.
4701 * gdb.reverse/recvmsg-reverse.exp: New file.
4702 * gdb.reverse/time-reverse.c: New test.
4703 * gdb.reverse/time-reverse.exp: New file.
4704 * gdb.reverse/waitpid-reverse.c: New test.
4705 * gdb.reverse/waitpid-reverse.exp: New file.
4707 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4709 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4711 2015-10-26 Doug Evans <dje@google.com>
4714 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4715 * gdb.dwarf2/bad-regnum.c: New file.
4716 * gdb.dwarf2/bad-regnum.exp: New file.
4718 2015-10-26 Doug Evans <dje@google.com>
4721 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4724 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4726 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4727 for a change by "Mention language in compile error message".
4729 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4732 * gdb.python/py-type.c (C::a_method): New.
4733 (C::a_const_method): New.
4734 (C::a_static_method): New.
4736 * gdb.python/py-type.exp (test_fields): Test getting fields
4737 from function and method.
4739 2015-10-21 Keven Boell <keven.boell@intel.com>
4741 * gdb.fortran/vla-alloc-assoc.exp: New file.
4742 * gdb.fortran/vla-datatypes.exp: New file.
4743 * gdb.fortran/vla-datatypes.f90: New file.
4744 * gdb.fortran/vla-history.exp: New file.
4745 * gdb.fortran/vla-ptype-sub.exp: New file.
4746 * gdb.fortran/vla-ptype.exp: New file.
4747 * gdb.fortran/vla-sizeof.exp: New file.
4748 * gdb.fortran/vla-sub.f90: New file.
4749 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4750 * gdb.fortran/vla-value-sub-finish.exp: New file.
4751 * gdb.fortran/vla-value-sub.exp: New file.
4752 * gdb.fortran/vla-value.exp: New file.
4753 * gdb.fortran/vla-ptr-info.exp: New file.
4754 * gdb.mi/mi-vla-fortran.exp: New file.
4755 * gdb.mi/vla.f90: New file.
4757 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4759 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4760 of hardwired timeout value.
4762 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4763 Pedro Alves <palves@redhat.com>
4765 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4766 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4768 2015-10-19 Josh Stone <jistone@redhat.com>
4770 * gdb.base/catch-syscall.c: Include <sched.h>.
4771 (unknown_syscall): New variable.
4772 (main): Trigger a vfork and an unknown syscall.
4773 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4774 (unknown_syscall_number): Likewise.
4775 (check_call_to_syscall): Accept an optional syscall pattern.
4776 (check_return_from_syscall): Likewise.
4777 (check_continue): Likewise.
4778 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4779 (test_catch_syscall_skipping_return): New test toggling off 'catch
4780 syscall' to step over the syscall return, then toggling back on.
4781 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4782 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4783 (do_syscall_tests): Call test_catch_syscall_without_args and
4784 test_catch_syscall_mid_vfork.
4785 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4786 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4788 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4790 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4791 print g_vE): Add new pass patterns.
4792 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4793 print various symbol names for vptr fields.
4795 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4797 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4800 2015-10-12 Yao Qi <yao.qi@linaro.org>
4802 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4804 2015-10-12 Yao Qi <yao.qi@linaro.org>
4806 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4807 is aarch64*-*-linux*.
4809 2015-10-12 Yao Qi <yao.qi@linaro.org>
4811 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4812 (can_relocate_bcond_true): ... it.
4813 (can_relocate_bcond_false): New function.
4815 (can_relocate_bl): Likewise.
4816 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4819 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4821 * gdb.base/nested-addr.c: New file.
4822 * gdb.base/nested-addr.exp: New testcase.
4824 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4826 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4827 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4828 its output. Ignore the output of "record goto begin" and instead
4829 check that GDB is replaying.
4831 2015-10-09 Pedro Alves <palves@redhat.com>
4833 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4834 (top level): Use it in the run with no args test.
4836 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4838 * gdb.dlang/properties.exp: New file.
4840 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4842 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4843 whether or not address 0x1000 is mapped on the target.
4845 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4847 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4850 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4852 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4853 instruction-history test.
4855 2015-09-28 Doug Evans <dje@google.com>
4857 * gdb.base/gcore.c (array_func): Add reference to static_array.
4859 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4861 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4864 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4866 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4867 short or char as base type.
4869 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4871 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4872 to allow any size enum.
4874 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4876 * gdb.ada/array_ptr_renaming.exp: New testcase.
4877 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4878 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4880 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4882 * gdb.trace/ftrace-lock.c: New file.
4883 * gdb.trace/ftrace-lock.exp: New file.
4885 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4887 * gdb.arch/insn-reloc.c: New file.
4888 * gdb.arch/ftrace-insn-reloc.exp: New file.
4890 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4892 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4894 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4895 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4896 * gdb.trace/range-stepping.c: Likewise.
4897 * gdb.trace/trace-break.c: Likewise.
4898 * gdb.trace/trace-mt.c (thread_function): Likewise.
4899 * gdb.trace/ftrace.c (marker): Likewise.
4900 * gdb.trace/trace-condition.c (marker): Likewise.
4901 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4902 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4905 2015-09-18 Doug Evans <xdje42@gmail.com>
4907 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4908 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4910 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4912 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4915 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4917 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4918 the pending breakpoint. Remove timeout override for "Run till
4919 MI pending breakpoint on pendfunc3 on thread 2" test.
4921 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4923 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4926 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4928 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
4929 in breakpoint filename pattern.
4931 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4933 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
4935 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4937 * gdb.linespec/explicit.exp: Check for readline support for
4938 tab-completion tests. Fix obvious typo.
4940 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4942 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
4945 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4947 * gdb.btrace/non-stop.c: New.
4948 * gdb.btrace/non-stop.exp: New.
4950 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
4951 Yao Qi <yao.qi@linaro.org>
4953 * gdb.trace/trace-condition.c: New file.
4954 * gdb.trace/trace-condition.exp: New file.
4956 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
4958 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
4959 for testing bytecode compilation.
4961 2015-09-16 Pedro Alves <palves@redhat.com>
4962 Sandra Loosemore <sandra@codesourcery.com>
4964 * gdb.threads/non-stop-fair-events.c (timeout): New global.
4965 (SECONDS): Redefine.
4966 (main): Call pthread_kill and alarm early.
4967 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
4969 (test): If the target can't hardware step and doesn't support
4970 displaced stepping, increase the timeout.
4972 2015-09-16 Pedro Alves <palves@redhat.com>
4974 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4975 (enable_debug): New procedures.
4976 (test): Use them. Bail out if waiting for threads fails.
4977 (top level): Bail out if a test fails.
4979 2015-09-16 Yao Qi <yao.qi@linaro.org>
4981 * gdb.asm/asm-source.exp: Set asm-arch for
4982 aarch64*-*-* target.
4983 * gdb.asm/aarch64.inc: New file.
4985 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4987 * gdb.ada/array_of_variable_length.exp: New testcase.
4988 * gdb.ada/array_of_variable_length/foo.adb: New file.
4989 * gdb.ada/array_of_variable_length/pck.adb: New file.
4990 * gdb.ada/array_of_variable_length/pck.ads: New file.
4992 2015-09-15 Doug Evans <dje@google.com>
4994 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4995 of function static local variable.
4997 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4999 * gdb.threads/tls-so_extern.exp: New test file.
5000 * gdb.threads/tls-so_extern.c: New test file.
5001 * gdb.threads/tls-so_extern_main.c: New test file.
5003 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5005 * gdb.opt/solib-intra-step-lib.c: New file.
5006 * gdb.opt/solib-intra-step-main.c: New file.
5007 * gdb.opt/solib-intra-step.exp: New file.
5009 2015-09-15 Pedro Alves <palves@redhat.com>
5011 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5012 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5014 2015-09-14 Pedro Alves <palves@redhat.com>
5016 * gdb.base/hook-stop-continue.c: Delete.
5017 * gdb.base/hook-stop-continue.exp: Delete.
5018 * gdb.base/hook-stop-frame.c: Delete.
5019 * gdb.base/hook-stop-frame.exp: Delete.
5020 * gdb.base/hook-stop.c: New file.
5021 * gdb.base/hook-stop.exp: New file.
5023 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5025 * gdb.ada/access_to_packed_array.exp: New testcase.
5026 * gdb.ada/access_to_packed_array/foo.adb: New file.
5027 * gdb.ada/access_to_packed_array/pack.adb: New file.
5028 * gdb.ada/access_to_packed_array/pack.ads: New file.
5030 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5032 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5035 2015-09-11 Don Breazeal <donb@codesourcery.com>
5037 * gdb.base/foll-exec.c: Add copyright header. Fix
5039 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5040 (do_exec_tests): Use clean_restart in place of zap_session,
5041 and for test initialization. Fix formatting issues. Use
5042 fail in place of perror.
5043 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5044 an expect statement to match an expression with output from
5045 the program under debug.
5046 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5047 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5048 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5049 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5050 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5052 2015-09-09 Doug Evans <dje@google.com>
5054 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5056 2015-09-09 Doug Evans <dje@google.com>
5058 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5060 2015-09-09 Doug Evans <dje@google.com>
5062 * gdb.base/savedregs.exp: Fix typo.
5064 2015-09-09 Pedro Alves <palves@redhat.com>
5066 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5068 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5070 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5071 command actually switches threads. Give up on remaining
5072 tests if target fails to stop at breakpoint.
5074 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5076 * gdb.ada/funcall_char.exp: New testcase.
5077 * gdb.ada/funcall_char/foo.adb: New file.
5079 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5081 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5082 expected outputs. Add two testcases for completing ambiguous
5084 * gdb.ada/complete/aux_pck.adb: New file.
5085 * gdb.ada/complete/aux_pck.ads: New file.
5086 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5087 Ambiguous_Func functions.
5088 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5089 * gdb.ada/complete/pck.adb: Likewise.
5091 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5093 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5094 failures to run the test program under GDB.
5096 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5098 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5101 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5103 * gdb.base/run-after-attach.exp: New test file.
5104 * gdb.base/run-after-attach.c: New test file.
5106 2015-08-26 Don Breazeal <donb@codesourcery.com>
5108 * gdb.base/foll-exec-2.c: New test program.
5109 * gdb.base/foll-exec-2.exp: New test.
5111 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5113 * gdb.base/nested-subp1.exp: New file.
5114 * gdb.base/nested-subp1.c: New file.
5115 * gdb.base/nested-subp2.exp: New file.
5116 * gdb.base/nested-subp2.c: New file.
5117 * gdb.base/nested-subp3.exp: New file.
5118 * gdb.base/nested-subp3.c: New file.
5120 2015-08-24 Pedro Alves <palves@redhat.com>
5122 * gdb.server/connect-without-multi-process.c: New file.
5123 * gdb.server/connect-without-multi-process.exp: New file.
5125 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5127 * gdb.opt/inline-markers.c: Make z int.
5129 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5131 * gdb.opt/inline-markers.c: Make z volatile.
5133 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5135 * gdb.opt/inline-bt.c: New volatile global z.
5136 * gdb.opt/inline-cmds.c: Likewise.
5137 * gdb.opt/inline-locals.c: Likewise.
5138 * gdb.opt/inline-markers.c: New extern global z.
5140 (inline_fn): Likewise.
5142 2015-08-24 Pedro Alves <palves@redhat.com>
5144 * config/m32r-stub.exp: Remove file.
5145 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5146 * gdb.base/call-rt-st.exp: Likewise.
5147 * gdb.base/call-strs.exp: Likewise.
5148 * gdb.base/default.exp: Remove references to h8300-*-hms and
5150 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5152 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5154 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5155 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5156 and "return" use KFAIL when GDB can not read/write the vector
5159 2015-08-21 Gary Benson <gbenson@redhat.com>
5161 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5163 2015-08-20 Pedro Alves <palves@redhat.com>
5165 * gdb.server/solib-list.exp: No longer expect an interior stop in
5168 2015-08-20 Pedro Alves <palves@redhat.com>
5170 * gdb.server/connect-stopped-target.c: New file.
5171 * gdb.server/connect-stopped-target.exp: New file.
5173 2015-08-20 Pedro Alves <palves@redhat.com>
5175 * gdb.dwarf2/comp-unit-lang.exp: New file.
5176 * gdb.dwarf2/comp-unit-lang.c: New file.
5178 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5180 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5181 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5183 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5185 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5186 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5188 2015-08-18 Doug Evans <dje@google.com>
5189 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5191 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5192 skip_python_tests. New arg prompt_regexp.
5193 (skip_python_tests): New function.
5194 * lib/mi-support.exp (mi_skip_python_tests): New function.
5195 * gdb.python/py-mi-objfile-gdb.py: New file.
5196 * gdb.python/py-mi-objfile.c: New file.
5197 * gdb.python/py-mi-objfile.exp: New file.
5199 2015-08-17 Keith Seitz <keiths@redhat.com>
5201 * gdb.linespec/explicit.exp: Move strace test from here ...
5202 * gdb.trace/strace.exp: ... to here.
5204 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5206 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5207 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5209 2015-08-14 Doug Evans <xdje42@gmail.com>
5211 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5212 inferior before selecting a new file.
5214 2015-08-14 Doug Evans <xdje42@gmail.com>
5216 * gdb.mi/mi-disassemble.exp: Update.
5217 * gdb.base/disasm-optim.S: New file.
5218 * gdb.base/disasm-optim.c: New file.
5219 * gdb.base/disasm-optim.h: New file.
5220 * gdb.base/disasm-optim.exp: New file.
5222 2015-08-14 Keith Seitz <keiths@redhat.com>
5224 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5227 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5229 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5231 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5233 * gdb.ada/fun_renaming.exp: New testcase.
5234 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5235 * gdb.ada/fun_renaming/pack.adb: New file.
5236 * gdb.ada/fun_renaming/pack.ads: New file.
5238 2015-08-12 Keith Seitz <keiths@redhat.com>
5240 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5241 gdb_get_line_number.
5243 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5245 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5246 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5247 gdb.base/dso2dso.exp: New files.
5249 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5250 Pedro Alves <palves@redhat.com>
5251 Keith Seitz <keiths@redhat.com>
5253 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5256 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5258 * gdb.base/gdbhistsize-history.exp
5259 (test_histsize_history_setting): Use save_vars.
5260 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5262 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5263 * gdb.base/readline.exp: Use save_vars.
5265 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5267 * lib/gdb.exp (save_vars): New proc.
5269 2015-08-11 Keith Seitz <keiths@redhat.com>
5271 * gdb.base/help.exp: Update help_breakpoint_text.
5273 2015-08-11 Keith Seitz <keiths@redhat.com>
5275 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5276 (at toplevel): Call test_explicit_breakpoints.
5277 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5279 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5280 breakpoint conditions, "-cond".
5282 2015-08-11 Keith Seitz <keiths@redhat.com>
5284 * gdb.linespec/3explicit.c: New file.
5285 * gdb.linespec/cpexplicit.cc: New file.
5286 * gdb.linespec/cpexplicit.exp: New file.
5287 * gdb.linespec/explicit.c: New file.
5288 * gdb.linespec/explicit.exp: New file.
5289 * gdb.linespec/explicit2.c: New file.
5290 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5291 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5292 before using in the matching pattern.
5293 Clarify that `prefix' is a regular expression.
5295 2015-08-11 Keith Seitz <keiths@redhat.com>
5297 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5299 Add tests for missing ",FMT" and ",".
5301 2015-08-10 Doug Evans <dje@google.com>
5302 Keith Seitz <keiths@redhat.com>
5305 * gdb.base/completion.exp: Add location completer tests.
5307 2015-08-07 Pedro Alves <palves@redhat.com>
5309 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5311 (top level): Run do_test with and without displaced stepping.
5313 2015-08-07 Pedro Alves <palves@redhat.com>
5315 * gdb.base/valgrind-disp-step.c: New file.
5316 * gdb.base/valgrind-disp-step.exp: New file.
5318 2015-08-07 Pedro Alves <palves@redhat.com>
5320 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5322 (main): Add alarm. Run an infinite loop instead of calling
5324 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5326 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5328 (main): Add alarm. Run an infinite loop instead of calling
5330 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5333 2015-08-07 Pedro Alves <palves@redhat.com>
5335 * gdb.base/checkpoint-ns.exp: New file.
5336 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5339 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5341 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5342 * gdb.btrace/instruction_history.exp: Update.
5343 * gdb.btrace/tsx.exp: New.
5344 * gdb.btrace/tsx.c: New.
5346 2015-08-06 Pedro Alves <palves@redhat.com>
5348 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5350 * gdb.reverse/until-precsave.exp: Bump timeouts.
5352 2015-08-06 Pedro Alves <palves@redhat.com>
5354 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5356 2015-08-06 Pedro Alves <palves@redhat.com>
5359 * gdb.threads/process-dies-while-handling-bp.c: New file.
5360 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5362 2015-08-06 Pedro Alves <palves@redhat.com>
5364 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5365 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5367 2015-08-05 Pedro Alves <palves@redhat.com>
5369 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5370 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5372 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5374 * gdb.base/bp-permanent.exp: Report test as unsupported if
5375 the target cannot stop at the permanent breakpoint.
5377 2015-08-03 Doug Evans <dje@google.com>
5379 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5382 2015-08-03 Doug Evans <dje@google.com>
5384 * Makefile.in (workers/%.worker, build-perf): New rule.
5385 (GDB_PERFTEST_MODE): New variable.
5386 (check-perf): Use it.
5387 (clean): Clean up gdb.perf parallel build subdirs.
5388 * lib/build-piece.exp: New file.
5389 * lib/gdb.exp (make_gdb_parallel_path): New function
5390 (standard_output_file, standard_temp_file): Call it.
5391 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5393 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5395 2015-08-03 Doug Evans <dje@google.com>
5397 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5398 (LOG_FILE_NAME): New global.
5399 (TextReporter.__init__): Initialize self.txt_sum.
5400 (TextReporter.report): Add support for multiple data-points.
5401 Move report to perftest.sum, put raw data in perftest.log.
5402 (TextReporter.start): Open sum and log files.
5403 (TextReporter.end): Close sum and log files.
5404 * gdb.perf/lib/perftest/testresult.py
5405 (SingleStatisticTestResult.record): Handle multiple data-points.
5407 2015-07-31 Pedro Alves <palves@redhat.com>
5409 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5410 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5411 kill_wait_spawned_process instead of explicit "kill -9".
5412 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5413 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5414 kill_wait_spawned_process.
5415 * gdb.base/attach-twice.exp: Likewise.
5416 * gdb.base/attach.exp: Likewise.
5417 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5419 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5420 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5421 kill_wait_spawned_process.
5422 * gdb.base/valgrind-infcall.exp: Likewise.
5423 * gdb.multi/multi-attach.exp: Likewise.
5424 * gdb.python/py-prompt.exp: Likewise.
5425 * gdb.python/py-sync-interp.exp: Likewise.
5426 * gdb.server/ext-attach.exp: Likewise.
5427 * gdb.threads/attach-into-signal.exp (corefunc): Use
5428 spawn_wait_for_attach, spawn_id_get_pid and
5429 kill_wait_spawned_process.
5430 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5431 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5432 spawn_id_get_pid and kill_wait_spawned_process.
5433 * gdb.threads/attach-stopped.exp (corefunc): Use
5434 spawn_wait_for_attach, spawn_id_get_pid and
5435 kill_wait_spawned_process.
5436 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5437 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5438 kill_wait_spawned_process instead of explicit "kill -9".
5439 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5440 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5441 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5442 processes. Don't map cygwin/windows pids here. Now returns a
5445 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5447 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5448 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5451 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5453 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5455 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5458 2014-05-21 Mark Wielaard <mjw@redhat.com>
5460 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5462 2015-07-30 Pedro Alves <palves@redhat.com>
5464 * linux-low.c (handle_extended_wait): Set the child's last
5465 reported status to TARGET_WAITKIND_STOPPED.
5467 2015-07-30 Pedro Alves <palves@redhat.com>
5470 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5471 only shows inferior 1.
5473 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5474 Pedro Alves <palves@redhat.com>
5477 * gdb.threads/fork-plus-threads.c: New file.
5478 * gdb.threads/fork-plus-threads.exp: New file.
5480 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5482 * gdb.base/batch-preserve-term-settings.exp
5483 (test_terminal_settings_preserved_after_cli_exit): Use
5486 2015-07-29 Pedro Alves <palves@redhat.com>
5487 Don Breazeal <donb@codesourcery.com>
5489 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5490 output from both inferior_spawn_id and gdb_spawn_id.
5492 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5494 * gdb.threads/attach-into-signal.exp (corefunc): Use
5495 with_test_prefix on nested loops, uniquefying the test messages.
5497 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5499 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5502 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5504 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5506 (test_terminal_settings_preserved_after_sigterm): New test.
5508 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5510 * gdb.base/batch-preserve-term-settings.exp
5511 (test_terminal_settings_preserved_after_cli_exit): New test.
5513 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5515 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5516 manipulation of saved_gdbflags.
5517 (test_terminal_settings_preserved): Remove global declaration of
5518 the unused variable pagination_prompt. Remove manipulation of
5519 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5522 2015-07-29 Pedro Alves <palves@redhat.com>
5524 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5526 2015-07-29 Pedro Alves <palves@redhat.com>
5528 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5531 2015-07-29 Pedro Alves <palves@redhat.com>
5533 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5534 (main): Call gdb_unbuffer_output.
5535 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5536 (main): Call gdb_unbuffer_output.
5537 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5538 (main): Call gdb_unbuffer_output.
5539 * gdb.base/call-strs.exp: Adjust to step over the
5540 gdb_unbuffer_output call.
5541 * gdb.base/catch-gdb-caused-signals.c: Include
5542 "../lib/unbuffer_output.c".
5543 (main): Call gdb_unbuffer_output.
5544 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5545 (main): Call gdb_unbuffer_output.
5546 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5547 (main): Call gdb_unbuffer_output.
5548 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5549 (main): Call gdb_unbuffer_output.
5550 * gdb.base/shlib-call.exp: Adjust to step over the
5551 gdb_unbuffer_output call.
5552 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5553 (main): Call gdb_unbuffer_output.
5554 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5555 (main): Call gdb_unbuffer_output.
5556 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5557 (main): Rename to ...
5559 (main): Reimplement.
5560 * gdb.base/varargs.exp: Run to test instead of to main.
5561 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5562 (main): Call gdb_unbuffer_output.
5564 2015-07-29 Pedro Alves <palves@redhat.com>
5566 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5567 factore out from mi_continue_dprintf. For call-style dprintfs,
5568 expect dprintf output out of $inferior_spawn_id.
5569 (mi_continue_dprintf): Use mi_expect_dprintf.
5570 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5571 (main): Call gdb_unbuffer_output.
5573 2015-07-29 Pedro Alves <palves@redhat.com>
5575 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5576 (default_mi_gdb_start): Set inferior_spawn_id instead of
5577 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5579 (mi_gdb_test): Always expect inferior output from both
5580 $inferior_spawn_id and $gdb_spawn_id.
5582 2015-07-29 Pedro Alves <palves@redhat.com>
5584 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5585 send_inferior and $inferior_spawn_id.
5587 2015-07-29 Pedro Alves <palves@redhat.com>
5589 * gdb.gdb/complaints.exp (test_initial_complaints)
5590 (test_serial_complaints, test_short_complaints): Use
5592 (test_empty_complaint): Handle $inferior_spawn_id !=
5595 2015-07-29 Pedro Alves <palves@redhat.com>
5597 * gdb.base/varargs.exp: Use gdb_test_stdio.
5599 2015-07-29 Pedro Alves <palves@redhat.com>
5601 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5603 2015-07-29 Pedro Alves <palves@redhat.com>
5605 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5607 2015-07-29 Pedro Alves <palves@redhat.com>
5609 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5610 parameter into two new parameters, "inf_result" and "gdb_result".
5611 Expect inferior output and gdb output from $inferior_spawn_id and
5612 $gdb_spawn_id, respectively. Adjust all callers.
5614 2015-07-29 Pedro Alves <palves@redhat.com>
5616 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5617 of gdb_test_sequence.
5619 2015-07-29 Pedro Alves <palves@redhat.com>
5621 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5622 (saw_spurious_output): Expect inferior output from
5623 $inferior_spawn_id. Use gdb_test_stdio.
5625 2015-07-29 Pedro Alves <palves@redhat.com>
5627 * gdb.base/dprintf.exp: Use standard_testfile. Change
5628 prepare_for_testing call.
5629 (srcfile): Don't set.
5630 (restart): New procedure.
5631 (test_dprintf): New procecure, use to continue over dprintfs.
5632 (test_call, test_agent): New procedures, tests moved here.
5633 Restart gdb and recreate dprintfs. Adjust expected output.
5635 2015-07-29 Pedro Alves <palves@redhat.com>
5637 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5639 2015-07-29 Pedro Alves <palves@redhat.com>
5641 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5643 2015-07-29 Pedro Alves <palves@redhat.com>
5645 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5648 2015-07-29 Pedro Alves <palves@redhat.com>
5650 * lib/gdb.exp (gdb_test_stdio): New procedure.
5652 2015-07-29 Pedro Alves <palves@redhat.com>
5654 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5656 2015-07-29 Pedro Alves <palves@redhat.com>
5658 * gdb.base/call-signal-resume.exp: Remove check for
5659 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5660 * gdb.base/unwindonsignal.exp: Likewise.
5661 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5662 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5664 2015-07-29 Pedro Alves <palves@redhat.com>
5666 * gdb.base/siginfo-addr.c (pass): New function.
5667 (handler): Call it iff si_addr is correct.
5668 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5669 Set a breakpoint at "pass" and continue to it.
5671 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5673 * gdb.python/py-objfile.exp: Make some tests have unique names.
5674 * gdb.python/py-pp-registration.exp: Likewise.
5676 2015-07-28 Pedro Alves <palves@redhat.com>
5678 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5680 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5682 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5684 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5686 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5688 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5690 * gdb.base/gdb-sigterm-2.exp: New test.
5692 2015-07-25 Doug Evans <xdje42@gmail.com>
5695 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5696 (workers/%.worker, build-perf): New rule.
5697 (GDB_PERFTEST_MODE): New variable.
5698 (check-perf): Use it.
5699 (clean): Clean up gdb.perf parallel build subdirs.
5700 * lib/build-piece.exp: New file.
5701 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5702 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5704 (standard_temp_file): Ditto.
5705 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5708 2015-07-24 Doug Evans <dje@google.com>
5710 * gdb.perf/lib/perftest/utils.py: New file.
5711 * gdb.perf/gm-hello.cc: New file.
5712 * gdb.perf/gm-pervasive-typedef.cc: New file.
5713 * gdb.perf/gm-pervasive-typedef.h: New file.
5714 * gdb.perf/gm-std.cc: New file.
5715 * gdb.perf/gm-std.h: New file.
5716 * gdb.perf/gm-use-cerr.cc: New file.
5717 * gdb.perf/gm-utils.h: New file.
5718 * gdb.perf/gmonster-null-lookup.py: New file.
5719 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5720 * gdb.perf/gmonster-print-cerr.py: New file.
5721 * gdb.perf/gmonster-ptype-string.py: New file.
5722 * gdb.perf/gmonster-runto-main.py: New file.
5723 * gdb.perf/gmonster-select-file.py: New file.
5724 * gdb.perf/gmonster1-null-lookup.exp: New file.
5725 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5726 * gdb.perf/gmonster1-print-cerr.exp: New file.
5727 * gdb.perf/gmonster1-ptype-string.exp: New file.
5728 * gdb.perf/gmonster1-runto-main.exp: New file.
5729 * gdb.perf/gmonster1-select-file.exp: New file.
5730 * gdb.perf/gmonster1.cc: New file.
5731 * gdb.perf/gmonster1.exp: New file.
5732 * gdb.perf/gmonster2-null-lookup.exp: New file.
5733 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5734 * gdb.perf/gmonster2-print-cerr.exp: New file.
5735 * gdb.perf/gmonster2-ptype-string.exp: New file.
5736 * gdb.perf/gmonster2-runto-main.exp: New file.
5737 * gdb.perf/gmonster2-select-file.exp: New file.
5738 * gdb.perf/gmonster2.cc: New file.
5739 * gdb.perf/gmonster2.exp: New file.
5741 2015-07-24 Doug Evans <dje@google.com>
5743 * gdb.perf/README: New file.
5744 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5745 * lib/gen-perf-test.exp: New file.
5747 2015-07-24 Doug Evans <dje@google.com>
5749 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5750 (PerfTest::startup): New function.
5751 (PerfTest::run): Return result of calling body.
5752 (PerfTest::assemble): Rewrite.
5753 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5754 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5755 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5756 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5757 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5759 2015-07-24 Doug Evans <dje@google.com>
5761 * lib/gdb.exp (clean_restart): Make executable optional.
5763 2015-07-24 Doug Evans <dje@google.com>
5765 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5766 compiler_info references.
5767 * gdb.cp/temargs.exp: Ditto.
5768 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5769 (get_compiler_info): Early exit if already computed. Set compiler_info
5770 to "unknown" if there was a problem.
5771 (test_compiler_info): Add function comment. Call get_compiler_info.
5773 2015-07-24 Doug Evans <dje@google.com>
5775 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5776 (workers/%.worker, build-perf): New rule.
5777 (GDB_PERFTEST_MODE): New variable.
5778 (check-perf): Use it.
5779 (clean): Clean up gdb.perf parallel build subdirs.
5780 * lib/build-piece.exp: New file.
5781 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5782 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5784 (standard_temp_file): Ditto.
5785 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5788 2015-07-24 Doug Evans <dje@google.com>
5790 * lib/future.exp (gdb_default_target_compile): New option
5792 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5795 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5797 * gdb.base/catch-syscall.exp: Call gdb_exit before
5800 2015-07-24 Pedro Alves <palves@redhat.com>
5802 * gdb.python/py-events.exp: Accept output between the stop event
5804 * gdb.python/py-evsignal.exp: Likewise.
5805 * gdb.python/py-evthreads.exp: Likewise.
5807 2015-07-24 Pedro Alves <palves@redhat.com>
5810 * gdb.threads/non-ldr-exit.c: New file.
5811 * gdb.threads/non-ldr-exit.exp: New file.
5813 2015-07-24 Yao Qi <yao.qi@linaro.org>
5815 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5818 2015-07-24 Yao Qi <yao.qi@linaro.org>
5820 * gdb.server/ext-restart.exp: New file.
5822 2015-07-24 Yao Qi <yao.qi@linaro.org>
5824 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5826 * gdb.server/ext-wrapper.exp: New file.
5828 2015-07-23 Doug Evans <dje@google.com>
5830 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5831 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5833 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5835 * gdb.ada/var_arr_typedef.exp: New testcase.
5836 * gdb.ada/var_arr_typedef/pack.adb: New file.
5837 * gdb.ada/var_arr_typedef/pack.ads: New file.
5838 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5840 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5842 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5844 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5846 * gdb.arch/i386-biarch-core.exp: Replace istarget
5847 by "complete set gnutarget". Remove expectation for the "core-file"
5850 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5852 Revert the previous commit:
5853 Tests for validate symbol file using build-id.
5855 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5857 Tests for validate symbol file using build-id.
5858 * gdb.base/solib-mismatch-lib.c: New file.
5859 * gdb.base/solib-mismatch-libmod.c: New file.
5860 * gdb.base/solib-mismatch.c: New file.
5861 * gdb.base/solib-mismatch.exp: New file.
5863 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5865 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5867 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5868 * gdb.base/siginfo.exp: Likewise.
5869 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5871 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5873 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5875 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5877 * gdb.trace/range-stepping.exp: Check that the target supports
5880 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5882 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5884 2015-07-14 Pedro Alves <palves@redhat.com>
5886 * gdb.base/killed-outside.exp: New file.
5887 * gdb.base/killed-outside.c: New file.
5889 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5891 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5893 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5895 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5897 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5898 infcall tests instead of setting up for KFAIL.
5900 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5902 * gdb.btrace/record_goto-step.exp: New.
5904 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5907 * gdb.compile/compile.c (struct struct_type): Add volatile to
5909 * gdb.compile/compile.exp
5910 (compile code struct_object.selffield = &struct_object): Skip further
5911 struct_object tests if this one xfails.
5913 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5916 * gdb.trace/ax.exp: Add test.
5918 2015-07-07 Yao Qi <yao.qi@linaro.org>
5920 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
5921 instead of istarget "aarch64*-*-*".
5922 * gdb.arch/aarch64-fp.exp: Likewise.
5923 * gdb.base/float.exp: Likewise.
5924 * gdb.reverse/aarch64.exp: Likewise.
5925 * lib/gdb.exp (is_aarch64_target): New proc.
5927 2015-07-07 Yao Qi <yao.qi@linaro.org>
5929 * lib/gdb.exp (is_aarch32_target): New proc.
5930 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
5931 instead of "istarget "arm*-*-*"".
5932 * gdb.arch/arm-disp-step.exp: Likewise.
5933 * gdb.arch/thumb-bx-pc.exp: Likewise.
5934 * gdb.arch/thumb-prologue.exp: Likewise.
5935 * gdb.arch/thumb-singlestep.exp: Likewise.
5936 * gdb.base/disp-step-syscall.exp: Likewise.
5937 * gdb.base/float.exp: Likewise.
5939 2015-07-07 Yao Qi <yao.qi@linaro.org>
5941 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
5942 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
5944 2015-07-07 Yao Qi <yao.qi@linaro.org>
5946 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
5947 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
5949 * gdb.multi/multi-arch.exp: Likewise.
5951 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
5953 * gdb.python/py-lazy-string.exp: Add missing parentheses to
5956 2015-07-07 Yao Qi <yao.qi@linaro.org>
5958 * gdb.arch/thumb-singlestep.exp: Do one more single step.
5960 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
5962 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
5963 '[' and ']' characters.
5965 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
5967 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5969 2015-06-29 Pedro Alves <palves@redhat.com>
5972 * gdb.threads/hand-call-new-thread.c: New file.
5973 * gdb.threads/hand-call-new-thread.c: New file.
5975 2015-06-26 Keith Seitz <keiths@redhat.com>
5976 Doug Evans <dje@google.com>
5979 * gdb.cp/var-tag-2.cc: New file.
5980 * gdb.cp/var-tag-3.cc: New file.
5981 * gdb.cp/var-tag-4.cc: New file.
5982 * gdb.cp/var-tag.cc: New file.
5983 * gdb.cp/var-tag.exp: New file.
5985 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5987 * gdb.base/history-duplicates.exp: New test.
5989 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5991 * gdb.base/completion.exp: Test the completion of the "focus"
5994 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5996 * gdb.arch/amd64-prologue-skip.S: New file.
5997 * gdb.arch/amd64-prologue-skip.exp: New file.
5999 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6001 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6002 is_address_zero_readable check.
6004 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6006 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6007 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6009 2015-06-24 Yao Qi <yao.qi@linaro.org>
6011 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6014 2015-06-24 Yao Qi <yao.qi@linaro.org>
6016 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6017 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6018 * gdb.base/siginfo-thread.exp: Likewise.
6020 2015-06-22 Yao Qi <yao.qi@linaro.org>
6022 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6024 2015-06-22 Yao Qi <yao.qi@linaro.org>
6026 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6028 (skip_hw_watchpoint_tests): Likewise.
6030 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6032 * gdb.base/gdbinit-history.exp: Test the interaction between
6033 setting GDBHISTSIZE and setting the history size via .gdbinit.
6035 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6038 * gdb.base/gdbhistsize-history.exp: New test.
6040 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6042 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6044 * gdb.base/readline.exp: Likewise.
6046 2015-06-17 Yao Qi <yao.qi@linaro.org>
6048 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6051 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6053 * gdb.base/gdbinit-history.exp: Add test case to check that
6054 an unlimited history file does not get truncated on exit.
6056 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6058 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6059 (VECTOR): New macro. Use it...
6060 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6061 ...for these typedefs.
6062 (int8, char1, int1, double1): New typedefs.
6063 (struct just_int2, struct two_int2): New structures.
6064 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6065 (add_structvecs, add_singlevecs): New functions.
6066 (main): Call add_some_intvecs twice.
6067 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6068 the compile and exit upon failure. Try compiling for the "native"
6069 architecture. Test inferior function calls with vector arguments
6070 and vector return value handling with "finish" and "return".
6072 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6074 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6075 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6077 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6079 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6081 PR breakpoints/16465
6082 * gdb.mi/mi-dprintf-pending.c: New file.
6083 * gdb.mi/mi-dprintf-pending.exp: New test.
6084 * gdb.mi/mi-dprintf-pendshr.c: New file.
6086 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6087 Mircea Gherzan <mircea.gherzan@intel.com>
6089 * gdb.arch/i386-mpx-map.c: New file.
6090 * gdb.arch/i386-mpx-map.exp: New File.
6092 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6094 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6095 * gdb.arch/i386-mpx.exp: Indentation fixed.
6097 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6099 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6100 function and improved indentation.
6101 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6102 gdb_test_multiple. Added additional tests to skip the test.
6104 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6106 * gdb.arch/i386-avx512.c: Change path in include file.
6107 * gdb.arch/i386-avx512.exp: Change include dir path
6109 * gdb.arch/i386-mpx.c: Change path in include file.
6110 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6113 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6115 * gdb.compile/compile-print.exp (compile print *vararray@3)
6116 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6118 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6120 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6121 (do not keep jit in memory): ... this.
6122 (expect 5): Change it to ...
6123 (expect no 5): ... this.
6125 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6128 * gdb.mi/mi-detach.exp: New file.
6130 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6133 * gdb.arch/amd64-tailcall-self.S: New file.
6134 * gdb.arch/amd64-tailcall-self.c: New file.
6135 * gdb.arch/amd64-tailcall-self.exp: New file.
6137 2015-05-28 Don Breazeal <donb@codesourcery.com>
6139 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6140 tests for remote targets by checking is_target_gdbserver.
6142 2015-05-27 Doug Evans <dje@google.com>
6144 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6145 * gdb.dwarf2/opaque-type-lookup.c: New file.
6146 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6148 2015-05-26 Doug Evans <dje@google.com>
6150 * gdb.cp/iostream.cc: New file.
6151 * gdb.cp/iostream.exp: New file.
6153 2015-05-26 Doug Evans <dje@google.com>
6155 * gdb.dwarf2/dw2-op-call.exp: Update.
6156 * gdb.dwarf2/dw4-sig-types.exp: Update.
6157 * gdb.dwarf2/implptr.exp: Update.
6158 * gdb.mi/mi-cmd-param-changed.exp: Update.
6160 2015-05-26 Doug Evans <dje@google.com>
6162 * gdb.python/py-lazy-string.c: New file.
6163 * gdb.python/py-lazy-string.exp: New file.
6164 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6165 (main): Update. Add estring3.
6166 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6167 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6169 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6170 Yao Qi <yao.qi@linaro.org>
6172 * gdb.reverse/aarch64.c: New.
6173 * gdb.reverse/aarch64.exp: New.
6175 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6177 * lib/gdb.exp (supports_process_record): Return true for
6179 (supports_reverse): Likewise.
6181 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6183 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6184 Use with_test_prefix.
6186 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6188 * gdb.base/completion.exp: Add test for completion of layout
6191 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6193 * lib/gdb.exp (skip_tui_tests): New proc.
6194 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6196 2015-05-19 Pedro Alves <palves@redhat.com>
6198 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6199 Save the whole env array instead of just HOME. Unset HISTSIZE in
6200 the environment while testing. Restore whole environment
6203 2015-05-16 Doug Evans <xdje42@gmail.com>
6205 * gdb.guile/scm-ports.c: New file.
6206 * gdb.guile/scm-ports.exp: Add memory port tests.
6208 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6210 * gdb.compile/compile-print.c: New file.
6211 * gdb.compile/compile-print.exp: New file.
6213 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6215 * gdb.compile/compile-ops.exp: Cast param to void.
6216 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6217 (compile code struct_object.selffield = &struct_object): Add xfail.
6219 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6221 * gdb.ada/arr_enum_with_gap: New testcase.
6223 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6225 * gdb.ada/byte_packed_arr: New testcase.
6227 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6229 * gdb.ada/pckd_neg: New testcase.
6231 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6234 * gdb.base/gdbinit-history.exp: New test.
6235 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6236 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6238 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6240 * gdb.python/py-xmethods.cc: Enhance test case.
6241 * gdb.python/py-xmethods.exp: New tests.
6242 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6244 (B_indexoper): Likewise.
6245 (global_dm_list) : Add new xmethod worker functions.
6247 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6249 * gdb.base/coredump-filter.exp: Correctly unset
6250 "coredump_var_addr" array.
6252 2015-05-08 Pedro Alves <palves@redhat.com>
6254 * gdb.server/non-existing-program.exp: Unset spawn_id.
6256 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6259 * gdb.python/py-xmethods.exp: Add tests.
6261 2015-05-08 Yao Qi <yao.qi@linaro.org>
6264 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6265 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6266 function set_coredump_filter, and remove remote_exec call.
6267 Remove argument ipid. Callers update.
6268 (top level): Don't get inferior's PID.
6270 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6272 * gdb.base/watch_thread_num.exp: Skip test on targets without
6275 2015-05-06 Pedro Alves <palves@redhat.com>
6278 * gdb.server/non-existing-program.exp: New file.
6280 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6282 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6284 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6286 * gdb.ada/out_of_line_in_inlined: New testcase.
6288 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6290 * gdb.ada/var_rec_arr: New testcase.
6292 2015-04-30 Yao Qi <yao.qi@linaro.org>
6294 * gdb.base/break-idempotent.exp: If
6295 skip_hw_watchpoint_multi_tests returns true, skip the tests
6296 on "rwatch" and "awatch".
6298 2015-04-30 Yao Qi <yao.qi@linaro.org>
6300 * gdb.base/relativedebug.exp: Invoke gdb command
6301 "info sharedlibrary", and if libc.so doesn't have debug info,
6304 2015-04-29 Doug Evans <dje@google.com>
6306 * gdb.python/py-xmethods.exp: Add ptype tests.
6307 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6308 get_result_type method.
6310 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6312 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6313 the target does not support hardware watchpoints.
6315 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6317 * gdb.base/break-always.exp: Abort testing if writing to memory
6320 2015-04-28 Doug Evans <dje@google.com>
6322 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6323 * gdb.python/py-pp-registration.exp: ... here. New file.
6324 * gdb.python/py-pp-registration.c: New file.
6325 * gdb.python/py-pp-registration.py: New file.
6327 2015-04-28 Doug Evans <dje@google.com>
6329 * gdb.python/py-bad-printers.c: New file.
6330 * gdb.python/py-bad-printers.py: New file.
6331 * gdb.python/py-bad-printers.exp: New file.
6333 2015-04-28 Sasha Smundak <asmundak@google.com>
6335 * gdb.python/py-type.exp: New test.
6337 2015-04-28 Andy Wingo <wingo@igalia.com>
6339 * gdb.python/py-parameter.exp:
6340 * gdb.guile/scm-parameter.exp: Escape the path that we are
6341 matching against, as it might contain characters that are special
6342 to regular expressions.
6344 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6346 * gdb.ada/rec_comp: New testcase.
6348 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6350 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6353 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6355 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6356 new tests for verilog output.
6358 2015-04-24 Yao Qi <yao.qi@linaro.org>
6360 * boards/remote-gdbserver-on-localhost.exp: New file.
6362 2015-04-23 Pedro Alves <palves@redhat.com>
6364 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6365 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6366 "end of file", remove $inferior_spawn_id from the indirect list.
6368 2015-04-23 Pedro Alves <palves@redhat.com>
6370 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6372 2015-04-23 Pedro Alves <palves@redhat.com>
6374 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6375 on $any_spawn_id instead of only on $gdb_spawn_id.
6377 2015-04-21 Pierre Muller <muller@sourceware.org>
6380 * lib/pascal.exp (gpc_compile): Add new option "class".
6381 (fpc_compile): Likewise.
6382 * gdb.pascal/case-insensitive-symbols.pas: New file.
6383 * gdb.pascal/case-insensitive-symbols.exp: New file.
6385 2015-04-20 Gary Benson <gbenson@redhat.com>
6387 * gdb.base/attach.exp: Fix three extended remote failures.
6389 2015-04-17 Gary Benson <gbenson@redhat.com>
6391 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6392 the main executable over the remote protocol.
6394 2015-04-16 Pedro Alves <palves@redhat.com>
6396 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6397 a new gdbserver if gdbserver_reconnect_p is set.
6399 2015-04-16 Pedro Alves <palves@redhat.com>
6401 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6402 is set, don't exit gdbserver.
6404 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6406 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6407 appropriate .insn, such that an older assembler can be used.
6408 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6409 the z/Architecture instruction set on 31-bit targets as well.
6411 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6413 * gdb.go/handcall.exp: Remove all logic related to the first
6414 breakpoint and rely on go_runto_main instead.
6415 * gdb.go/strings.exp: Likewise.
6416 * gdb.go/unsafe.exp: Likewise.
6417 * gdb.go/hello.exp: Likewise. Also rename the remaining
6418 breakpoint marker to "breakpoint 1".
6419 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6420 * gdb.go/strings.go: Likewise.
6421 * gdb.go/unsafe.go: Likewise.
6422 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6423 "set breakpoint 2 here" and rename the remaining breakpoint marker
6426 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6428 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6429 if itertools.imap is not present.
6430 * gdb.python/py-objfile.exp: Add parentheses.
6431 * gdb.python/py-type.exp: Same.
6432 * gdb.python/py-unwind-maint.py: Same.
6434 2015-04-15 Yao Qi <yao.qi@linaro.org>
6436 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6437 of ":$ptr_size" and set its form explicitly.
6439 2015-04-15 Pedro Alves <palves@redhat.com>
6440 Yao Qi <yao.qi@linaro.org>
6442 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6443 timeout by factor of 4.
6444 (test_regular_watch): Likewise.
6445 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6446 * gdb.reverse/sigall-reverse.exp: Likewise.
6447 * gdb.reverse/until-precsave.exp: Likewise.
6448 * lib/gdb.exp (with_timeout_factor): New proc.
6449 (gdb_expect): Move some code to ...
6450 (get_largest_timeout): ... here. New procedure.
6452 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6454 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6456 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6458 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6459 to write to the .text section.
6461 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6463 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6464 Handle the case of targets that do not provide PID information.
6466 2015-04-13 Yao Qi <yao.qi@linaro.org>
6468 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6469 and use expect instead of gdb_expect.
6471 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6473 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6474 "coredump_var_addr" to avoid naming conflict with other testcases.
6476 2015-04-10 Pedro Alves <palves@redhat.com>
6478 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6479 gdb_test_sequence and gdb_assert.
6481 2015-04-10 Pedro Alves <palves@redhat.com>
6483 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6484 test messages that don't include the breakpoint address.
6486 2015-04-10 Yao Qi <yao.qi@linaro.org>
6488 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6489 false for some offset and width combinations which aren't
6490 supported by linux kernel.
6492 2015-04-10 Pedro Alves <palves@redhat.com>
6494 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6495 procedure, factored out from ...
6496 (top level): ... here. Add "set displaced-stepping" testing axis.
6497 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6498 parameter "displaced". Use it.
6499 (top level): Use foreach and add "set displaced-stepping" testing
6502 2015-04-10 Pedro Alves <palves@redhat.com>
6504 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6506 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6507 both the address of the instruction that triggers the watchpoint
6508 and the address of the instruction immediately after, and use
6509 those addresses for the test. Fix comment.
6511 2015-04-10 Pedro Alves <palves@redhat.com>
6513 * gdb.base/sigstep.exp (breakpoint_to_handler)
6514 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6515 Test "backtrace" in handler.
6516 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6517 (top level): Add new "displaced" test axis to
6518 breakpoint_to_handler, breakpoint_to_handler_entry and
6519 breakpoint_over_handler.
6521 2015-04-10 Pedro Alves <palves@redhat.com>
6524 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6526 2015-04-10 Yao Qi <yao.qi@linaro.org>
6528 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6529 (test_add_rn_pc): New function.
6530 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6531 (top level): Invoke test_add_rn_pc.
6533 2015-04-10 Pedro Alves <palves@redhat.com>
6536 * gdb.base/step-over-no-symbols.exp: New file.
6538 2015-04-09 Andy Wingo <wingo@igalia.com>
6540 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6541 after the Python tests.
6543 2015-04-08 Keith Seitz <keiths@redhat.com>
6546 * gdb.python/py-completion.exp: New tests for completion.
6547 * gdb.python/py-completion.py (CompleteLimit1): New class.
6548 (CompleteLimit2): Likewise.
6549 (CompleteLimit3): Likewise.
6550 (CompleteLimit4): Likewise.
6551 (CompleteLimit5): Likewise.
6552 (CompleteLimit6): Likewise.
6553 (CompleteLimit7): Likewise.
6555 2015-04-08 Pedro Alves <palves@redhat.com>
6559 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6561 (main): Install it as SIGUSR1 handler.
6562 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6563 parameter. Always use "setup" as prefix. Toggle "set
6564 displaced-stepping" off/on depending on global. Don't switch to
6566 (top level): Add displaced stepping "off/on" test axis. Update
6567 "setup" calls. Wrap each subtest with with_test_prefix. Test
6568 continuing with a queued signal in each thread.
6570 2015-04-08 Pedro Alves <palves@redhat.com>
6572 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6573 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6574 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6575 Return early if running to main fails.
6576 * gdb.trace/while-stepping.exp: Likewise.
6578 2015-04-07 Pedro Alves <palves@redhat.com>
6580 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6581 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6582 interact with inferior program.
6584 2015-04-07 Pedro Alves <palves@redhat.com>
6586 * lib/gdb.exp (inferior_spawn_id): New global.
6587 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6588 spawn id after processing the user code.
6589 (default_gdb_start): Set inferior_spawn_id.
6590 (send_inferior): New procedure.
6591 * lib/gdbserver-support.exp (gdbserver_start): Set
6593 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6595 2015-04-07 Pedro Alves <palves@redhat.com>
6597 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6598 * lib/gdbserver-support.exp (gdbserver_start): Make
6599 $server_spawn_id global.
6600 (gdbserver_start): Don't wait for gdbserver's spawn id with
6602 (close_gdbserver): New procedure.
6603 (gdb_exit): Rename the default version and reimplement.
6605 2015-04-07 Pedro Alves <palves@redhat.com>
6607 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6608 append the substituted item, not the original item.
6610 2015-04-07 Pedro Alves <palves@redhat.com>
6612 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6615 2015-04-07 Pedro Alves <palves@redhat.com>
6617 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6618 output appearing once only.
6620 2015-04-07 Pedro Alves <palves@redhat.com>
6622 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6623 that doesn't expect anything. Return early if running to main
6626 2015-04-07 Yao Qi <yao.qi@linaro.org>
6628 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6629 (child_function): Call alarm.
6630 (main): Move call to alarm into the loop.
6631 * gdb.threads/non-stop-fair-events.exp: Build program with
6634 2015-04-06 Doug Evans <xdje42@gmail.com>
6636 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6637 Fix dest parameter to board_info.
6638 (fpc_compile): Ditto.
6639 (gdb_compile_pascal): Rename dest arg to destfile.
6641 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6643 * gdb.ada/funcall_ref.exp: New file.
6644 * gdb.ada/funcall_ref/foo.adb: New file.
6646 2015-04-02 Yao Qi <yao.qi@linaro.org>
6648 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6651 2015-04-02 Gary Benson <gbenson@redhat.com>
6653 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6655 2015-04-01 Sasha Smundak <asmundak@google.com>
6657 * gdb.python/py-unwind-maint.c: New file.
6658 * gdb.python/py-unwind-maint.exp: New test.
6659 * gdb.python/py-unwind-maint.py: New file.
6660 * gdb.python/py-unwind.c: New file.
6661 * gdb.python/py-unwind.exp: New test.
6662 * gdb.python/py-unwind.py: New test.
6664 2015-04-01 Pedro Alves <palves@redhat.com>
6666 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6667 to fail instead of non-existent $test.
6669 2015-04-01 Pedro Alves <palves@redhat.com>
6671 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6672 GDBFLAGS if not empty.
6674 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6676 * gdb.ada/complete.exp: Remove "multi_line".
6677 * gdb.ada/info_exc.exp: Remove "multi_line".
6678 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6679 * gdb.ada/ptype_field.exp: Remove "multi_line".
6680 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6681 * gdb.ada/tagged.exp: Remove "multi_line".
6682 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6684 * gdb.btrace/delta.exp: Likewise.
6685 * gdb.btrace/exception.exp: Likewise.
6686 * gdb.btrace/function_call_history.exp: Likewise.
6687 * gdb.btrace/instruction_history.exp: Likewise.
6688 * gdb.btrace/nohist.exp: Likewise.
6689 * gdb.btrace/record_goto.exp: Likewise.
6690 * gdb.btrace/segv.exp: Likewise.
6691 * gdb.btrace/stepi.exp: Likewise.
6692 * gdb.btrace/tailcall.exp: Likewise.
6693 * gdb.btrace/unknown_functions.exp: Likewise.
6694 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6695 * lib/gdb.exp: Add the "multi_line" helper.
6697 2015-04-01 Pedro Alves <palves@redhat.com>
6699 * gdb.threads/tid-reuse.c: New file.
6700 * gdb.threads/tid-reuse.exp: New file.
6702 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6705 * gdb.base/coredump-filter.c: New file.
6706 * gdb.base/coredump-filter.exp: Likewise.
6708 2015-03-27 Petr Machata <pmachata@redhat.com>
6710 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6711 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6712 (Dwarf::assemble): Initialize them.
6713 (Dwarf::lines): New function.
6715 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6717 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6718 SYMBOL_PREFIX for x86_64-*-cygwin.
6720 2015-03-26 Andy Wingo <wingo@igalia.com>
6723 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6724 const_value but not a location.
6725 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6726 location defined in non-main CUs are visible.
6728 2015-03-26 Yao Qi <yao.qi@linaro.org>
6731 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6732 Add a line number entry for the same line.
6733 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6734 Add a line number entry for the same line.
6736 2015-03-26 Yao Qi <yao.qi@linaro.org>
6738 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6740 (func): Likewise. Add .Lfunc_1 label.
6742 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6747 2015-03-26 Yao Qi <yao.qi@linaro.org>
6749 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6750 Call gdb_compile instead to compile each .s files without debug
6753 2015-03-26 Yao Qi <yao.qi@linaro.org>
6755 * gdb.base/savedregs.exp (process_saved_regs): Make
6756 "Saved registers:" optional in the pattern.
6758 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6760 * gdb.btrace/next.exp: Merged into step.exp.
6761 * gdb.btrace/finish.exp: Merged into step.exp.
6762 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6763 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6764 "record goto" and checking the exact replay position.
6765 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6766 check for "Recording format" in "info record" output.
6767 * gdb.btrace/record_goto.exp: Choose test file based on target.
6768 * gdb.btrace/x86-record_goto.S: Renamed into ...
6769 * gdb.btrace/x86_64-record_goto.S: ... this.
6770 * gdb.btrace/i686-record_goto.S: New.
6771 * gdb.btrace/x86-tailcall.S: Renamed into ...
6772 * gdb.btrace/x86_64-tailcall.S: ... this.
6773 * gdb.btrace/i686-tailcall.S: New.
6774 * gdb.btrace/x86-tailcall.c: Renamed into ...
6775 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6776 separate statements. Update test.
6777 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6778 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6779 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6780 * gdb.btrace/tailcall.exp: Choose test file based on target.
6781 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6783 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6785 * gdb.btrace/exception.exp: Increase BTS buffer size.
6787 2015-03-24 Pedro Alves <palves@redhat.com>
6789 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6791 2015-03-24 Pedro Alves <palves@redhat.com>
6793 * gdb.threads/schedlock.exp (test_step): No longer expect that
6794 "set scheduler-locking step" with "next" over a function call runs
6797 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6799 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6801 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6803 PR breakpoints/16466
6804 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6805 * gdb.mi/mi-pending.c (thread_func): New function.
6806 (int main): Add threading support required.
6807 * gdb.mi/mi-pending.exp: Add tests for this issue.
6808 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6809 (pendfunc2): Remove stdio dependency.
6810 * gdb.mi/mi-pendshr2.c: New file.
6812 2015-03-23 Keith Seitz <keiths@redhat.com>
6814 * gdb.linespec/keywords.c: New file.
6815 * gdb.linespec/keywords.exp: New file.
6817 2015-03-23 Keith Seitz <keiths@redhat.com>
6820 * gdb.dwarf2/staticvirtual.exp: New test.
6822 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6824 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6825 * README: Remove HP-UX and gdb.hp.
6827 * configure: Regenerate.
6828 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6829 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6830 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6831 gdb.hp/gdb.defects/Makefile.
6832 * gdb.hp/Makefile.in: File deleted.
6833 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6834 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6835 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6836 * gdb.hp/gdb.aCC/run.c: File deleted.
6837 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6838 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6839 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6840 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6841 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6842 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6843 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6844 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6845 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6846 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6847 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6848 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6849 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6850 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6851 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6852 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6853 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6854 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6855 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6856 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6857 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6858 * gdb.hp/gdb.compat/average.c: File deleted.
6859 * gdb.hp/gdb.compat/sum.c: File deleted.
6860 * gdb.hp/gdb.compat/xdb.c: File deleted.
6861 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6862 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6863 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6864 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6865 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6866 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6867 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6868 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6869 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6870 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6871 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6872 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6873 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6874 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6875 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6876 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6877 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6878 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6879 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6880 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6881 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6882 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6883 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6884 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6885 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6886 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6887 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6888 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6889 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6890 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6891 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6892 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6893 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6894 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6895 * gdb.hp/tools/odump: File deleted.
6897 2015-03-19 Pedro Alves <palves@redhat.com>
6899 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6900 (saw_thread_3): New globals.
6901 (top level): Increment them when an event for the corresponding
6903 (no thread starvation): New test.
6905 2015-03-19 Pedro Alves <palves@redhat.com>
6907 * gdb.threads/continue-pending-status.c: New file.
6908 * gdb.threads/continue-pending-status.exp: New file.
6910 2015-03-18 Pedro Alves <palves@redhat.com>
6912 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6913 Use gdb_is_target_remote instead of is_remote. Use
6914 gdb_test_multiple instead of gdb_expect. Exit early if
6915 gdb_test_multiple hits its internal matches. Tighten stepi tests
6916 expected output. Fail on exit with any signal, instead of just
6919 2015-03-18 Yao Qi <yao.qi@linaro.org>
6922 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
6924 * gdb.base/catch-syscall.exp: Don't skip it on
6925 aarch64*-*-linux* target. Remove elements in all_syscalls.
6926 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
6928 (setup_all_syscalls): New proc.
6930 2015-03-16 Yao Qi <yao.qi@linaro.org>
6932 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
6933 (top level): Skip tests if valid_addr_p returns false for
6936 2015-03-11 Andy Wingo <wingo@igalia.com>
6938 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
6940 2015-03-11 Yao Qi <yao.qi@linaro.org>
6942 * gdb.base/catch-syscall.exp: Fix typo in comments.
6944 2015-03-11 Yao Qi <yao.qi@linaro.org>
6946 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
6948 2015-03-09 Pedro Alves <palves@redhat.com>
6950 * dg-extract-results.py: Delete.
6952 2015-03-09 Pedro Alves <palves@redhat.com>
6954 Merge dg-extract-results.sh from GCC upstream (r218843).
6956 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
6957 * dg-extract-results.sh: Use --text with grep to avoid issues with
6958 binary files. Fall back to cat -v, if that doesn't work.
6960 2015-03-05 Pedro Alves <palves@redhat.com>
6962 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
6964 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
6966 * lib/mi-support.exp (mi_expect_interrupt): Accept
6967 alternative event for when in all-stop mode.
6969 2015-03-04 Pedro Alves <palves@redhat.com>
6971 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
6973 2015-03-04 Mark Kettenis <kettenis@gnu.org>
6975 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
6977 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6979 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6980 regexps for GDB's current line display, accept a hex address
6981 preceding the line number.
6983 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6985 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6986 the 'arch1' variable for "s390*-linux*" targets.
6988 2015-03-04 Pedro Alves <palves@redhat.com>
6990 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6991 (main): Pass missing retval argument to pthread_join call.
6993 2015-03-02 Pedro Alves <palves@redhat.com>
6995 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6996 (top level): Call do_test with non-stop as well.
6998 2015-03-02 Pedro Alves <palves@redhat.com>
7000 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7003 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7005 * gdb.arch/s390-vregs.exp: New test.
7006 * gdb.arch/s390-vregs.S: New file.
7008 2015-02-27 Pedro Alves <palves@redhat.com>
7010 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7011 call to catch_command_errors.
7012 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7013 catch_command_errors.
7015 2015-02-27 Pedro Alves <palves@redhat.com>
7017 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7018 "true" for boolean result.
7019 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7022 2015-02-27 Pedro Alves <palves@redhat.com>
7024 * lib/unbuffer_output.c: New file.
7025 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7026 (main): Call gdb_unbuffer_output.
7028 2015-02-27 Yao Qi <yao.qi@linaro.org>
7030 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7033 2015-02-26 Doug Evans <dje@google.com>
7035 * gdb.cp/class2.cc (Dbase, D): New classes.
7036 (main): New local delta.
7037 * gdb.cp/class2.exp: Test printing delta.
7038 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7039 (dynbar): New global.
7040 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7042 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7044 * gdb.compile/compile-ifunc.c: New file.
7045 * gdb.compile/compile-ifunc.exp: New file.
7047 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7049 * gdb.base/structs.exp: Check for correct struct on finish.
7051 2015-02-26 Yao Qi <yao.qi@linaro.org>
7053 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7056 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7058 * gdb.arch/cordic.ko.bz2: New file.
7059 * gdb.arch/cordic.ko.debug.bz2: New file.
7060 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7062 2015-02-25 Yao Qi <yao.qi@linaro.org>
7064 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7065 aarch64*-*-* target.
7067 2015-02-23 Pedro Alves <palves@redhat.com>
7069 * lib/gdb.exp (delete_breakpoints): Rewrite using
7072 2015-02-23 Pedro Alves <palves@redhat.com>
7074 * gdb.base/info-os.c: Include stdlib.h.
7076 2015-02-22 Doug Evans <xdje42@gmail.com>
7079 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7080 is read after symbols have been re-read.
7081 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7082 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7084 2015-02-21 Doug Evans <dje@google.com>
7086 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7088 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7091 * gdb.arch/i386-biarch-core.core.bz2: New file.
7092 * gdb.arch/i386-biarch-core.exp: New file.
7094 2015-02-21 Pedro Alves <palves@redhat.com>
7096 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7099 2015-02-20 Pedro Alves <palves@redhat.com>
7101 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7104 2015-02-20 Pedro Alves <palves@redhat.com>
7106 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7108 2015-02-20 Pedro Alves <palves@redhat.com>
7110 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7111 clean_restart before gdb_target_supports_trace.
7113 2015-02-20 Pedro Alves <palves@redhat.com>
7116 * gdb.threads/clone-thread_db.c: New file.
7117 * gdb.threads/clone-thread_db.exp: New file.
7119 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7121 PR breakpoints/16812
7122 * gdb.base/catch-gdb-caused-signals.c: New file.
7123 * gdb.base/catch-gdb-caused-signals.exp: New file.
7125 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7127 * configure: Regenerated.
7128 * configure.ac: Use GDB_AC_TRANSFORM.
7129 * aclocal.m4: sinclude ../transform.m4.
7131 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7133 * lib/dtrace.exp: New file.
7134 * gdb.base/dtrace-probe.exp: Likewise.
7135 * gdb.base/dtrace-probe.d: Likewise.
7136 * gdb.base/dtrace-probe.c: Likewise.
7137 * lib/pdtrace.in: Likewise.
7138 * configure.ac: Output variables with the transformed names of
7139 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7140 * configure: Regenerated.
7142 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7144 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7145 expected message when trying to access $_probe_* convenience
7146 variables while not on a probe.
7148 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7150 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7152 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7154 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7155 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7157 2015-02-10 Doug Evans <xdje42@gmail.com>
7159 * lib/gdb.exp (gdb_load): Always return a result.
7161 2015-02-10 Pedro Alves <palves@redhat.com>
7163 * gdb.threads/signal-sigtrap.c: New file.
7164 * gdb.threads/signal-sigtrap.exp: New file.
7166 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7168 * gdb.trace/no-attach-trace.c: New file.
7169 * gdb.trace/no-attach-trace.exp: New file.
7171 2015-02-09 Mark Wielaard <mjw@redhat.com>
7173 * gdb.dwarf2/atomic.c: New file.
7174 * gdb.dwarf2/atomic-type.exp: Likewise.
7176 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7178 * gdb.btrace/buffer-size.exp: Update "info record" output.
7179 * gdb.btrace/delta.exp: Update "info record" output.
7180 * gdb.btrace/enable.exp: Update "info record" output.
7181 * gdb.btrace/finish.exp: Update "info record" output.
7182 * gdb.btrace/instruction_history.exp: Update "info record" output.
7183 * gdb.btrace/next.exp: Update "info record" output.
7184 * gdb.btrace/nexti.exp: Update "info record" output.
7185 * gdb.btrace/step.exp: Update "info record" output.
7186 * gdb.btrace/stepi.exp: Update "info record" output.
7187 * gdb.btrace/nohist.exp: Update "info record" output.
7189 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7191 * gdb.btrace/buffer-size: New.
7193 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7195 * gdb.btrace/delta.exp: Update "info record" output.
7196 * gdb.btrace/enable.exp: Update "info record" output.
7197 * gdb.btrace/finish.exp: Update "info record" output.
7198 * gdb.btrace/instruction_history.exp: Update "info record" output.
7199 * gdb.btrace/next.exp: Update "info record" output.
7200 * gdb.btrace/nexti.exp: Update "info record" output.
7201 * gdb.btrace/step.exp: Update "info record" output.
7202 * gdb.btrace/stepi.exp: Update "info record" output.
7203 * gdb.btrace/nohist.exp: Update "info record" output.
7205 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7208 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7210 2015-02-06 Pedro Alves <palves@redhat.com>
7212 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7214 (seconds_left, again): New globals.
7215 (main): Wait seconds_left in a 1-second sleep loop instead of
7216 sleeping 180 seconds. If 'again' is set, reset the seconds
7218 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7219 'again' in the inferior before detaching. Print the seconds left.
7220 (options): New global.
7221 (top level): Build program with -DTIMEOUT=$timeout.
7223 2015-02-06 Pedro Alves <palves@redhat.com>
7225 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7226 determine how many seconds to pass to 'alarm'.
7227 * gdb.base/gdb-sigterm.exp (top level): Build program with
7229 (do_test): Return success/failure indication. Add more verbose
7230 logging. Don't fail if 200 single steps are seen. Instead, fail
7231 when the test times out.
7232 (passes): New global.
7233 (top level): Break the testing loop if testing fails on any
7234 iteration. Use gdb_assert.
7236 2015-02-04 Don Breazeal <donb@codesourcery.com>
7238 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7239 and initialize them.
7240 (ipc_cleanup): New function.
7241 (main): Don't declare shmid, semid, and msqid. Add a call to
7242 atexit so that we call ipc_cleanup on exit.
7244 2015-02-04 Pedro Alves <palves@redhat.com>
7246 * boards/native-extended-gdbserver.exp: Remove any target variant
7247 specifications from the board name before clearing the isremote
7248 flag from board_info.
7250 2015-01-31 Doug Evans <xdje42@gmail.com>
7252 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7254 2015-01-31 Gary Benson <gbenson@redhat.com>
7256 * gdb.base/completion.exp: Disable completion limiting for
7257 existing tests. Add new tests to check completion limiting.
7258 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7260 2015-01-31 Doug Evans <xdje42@gmail.com>
7262 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7264 2015-01-31 Doug Evans <xdje42@gmail.com>
7266 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7267 entries. Duplicate file section script entries.
7268 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7269 inlined entries. Add test for safe-path rejection.
7270 * gdb.python/py-section-script.c: Add duplicate inlined section script
7271 entries. Duplicate file section script entries.
7272 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7273 inlined entries. Add test for safe-path rejection.
7275 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7277 * gdb.ada/disc_arr_bound: New testcase.
7279 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7281 * gdb.ada/mi_var_array: New testcase.
7283 2015-01-27 Doug Evans <dje@google.com>
7285 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7286 Add test for objfile.filename, objfile.username after objfile
7289 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7291 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7292 the second test to print the name attribute of value
7293 returned by the call to gdb.lookup_type, and adjust
7294 the expected output accordingly.
7296 2015-01-25 Mark Wielaard <mjw@redhat.com>
7298 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7299 * gdb.base/disp-step-fork.c: Include unistd.h.
7300 * gdb.base/siginfo-obj.c: Include stdio.h.
7301 * gdb.base/siginfo-thread.c: Likewise.
7302 * gdb.mi/non-stop.c: Include unistd.h.
7303 * gdb.mi/nsthrexec.c: Include stdio.h.
7304 * gdb.mi/pthreads.c: Include unistd.h.
7305 * gdb.modula2/unbounded1.c (main): Declare returns int.
7306 * gdb.reverse/consecutive-reverse.c: Likewise.
7307 * gdb.threads/create-fail.c: Include unistd.h.
7308 * gdb.threads/killed.c: Likewise.
7309 * gdb.threads/linux-dp.c: Likewise.
7310 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7311 * gdb.threads/non-ldr-exc-2.c: Likewise.
7312 * gdb.threads/non-ldr-exc-3.c: Likewise.
7313 * gdb.threads/non-ldr-exc-4.c: Likewise.
7314 * gdb.threads/pthreads.c: Include unistd.h.
7315 (main): Declare returns int.
7316 * gdb.threads/tls-main.c (foo): New declaration.
7317 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7319 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7321 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7322 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7324 2015-01-15 Mark Wielaard <mjw@redhat.com>
7326 * gdb.base/noreturn-return.c: New file.
7327 * gdb.base/noreturn-return.exp: New file.
7328 * gdb.base/noreturn-finish.c: New file.
7329 * gdb.base/noreturn-finish.exp: New file.
7331 2015-01-23 Pedro Alves <palves@redhat.com>
7333 * gdb.threads/continue-pending-after-query.c: New file.
7334 * gdb.threads/continue-pending-after-query.exp: New file.
7336 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7337 Simon Marchi <simon.marchi@ericsson.com>
7339 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7340 * gdb.base/valgrind-db-attach.exp: Same.
7341 * gdb.base/valgrind-infcall.exp: Same.
7342 * lib/mi-support.exp (default_mi_gdb_start): Same.
7343 * lib/prompt.exp (default_prompt_gdb_start): Same.
7344 * lib/gdb.exp (default_gdb_spawn): Same.
7345 (gdb_interact): New.
7348 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7350 * gdb.compile/compile.exp (pointer to jit function): New test.
7352 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7354 * lib/gdb.exp (supports_process_record): Return true for
7356 (supports_reverse): Likewise.
7358 2015-01-15 Don Breazeal <donb@codesourcery.com>
7360 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7361 instead of checking whether the target board is remote and
7362 use spawn_wait_for_attach instead of exec/sleep.
7363 * gdb.base/attach-twice.exp: Likewise.
7365 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7367 * gdb.ada/var_arr_attrs: New testcase.
7369 2015-01-14 Pedro Alves <palves@redhat.com>
7370 Joel Brobecker <brobecker@adacore.com>
7373 * gdb.base/bp-cmds-execution-x-script.c: New file.
7374 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7375 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7377 2015-01-14 Pedro Alves <palves@redhat.com>
7380 * gdb.base/batch-preserve-term-settings.c: New file.
7381 * gdb.base/batch-preserve-term-settings.exp: New file.
7383 2015-01-13 Doug Evans <dje@google.com>
7385 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7388 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7390 * Makefile.in (clean mostlyclean): Do not delete *.py.
7392 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7394 * gdb.python/py-lookup-type.exp: New file.
7396 2015-01-12 Pedro Alves <palves@redhat.com>
7398 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7399 restore GDBFLAGS before returning.
7401 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7403 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7404 is_amd64_regs_target and is_x86_like_target.
7406 2015-01-11 Doug Evans <xdje42@gmail.com>
7408 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7409 is given without an explicit form.
7410 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7412 * gdb.dwarf/corrupt.exp: Ditto.
7413 * gdb.dwarf2/enum-type.exp: Ditto.
7414 * gdb.trace/entry-values.exp: Ditto.
7415 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7417 2015-01-11 Doug Evans <xdje42@gmail.com>
7420 * gdb.base/maint.exp: Remove references to "maint demangle".
7421 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7422 Add tests for explicitly specifying language to demangle.
7423 * gdb.dlang/demangle.exp: Ditto.
7425 2015-01-09 Pedro Alves <palves@redhat.com>
7427 * gdb.threads/non-stop-fair-events.c: New file.
7428 * gdb.threads/non-stop-fair-events.exp: New file.
7430 2015-01-09 Pedro Alves <palves@redhat.com>
7432 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7433 the global scope. Set a breakpoint after all threads are started
7434 rather than stepping over two source lines. Expect the prompt.
7435 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7438 (main): Use threads_started_barrier to wait for all threads to
7439 start. Main thread no longer calls thread_function. Exit after
7441 (loop): New function.
7442 (thread_function): Wait on threads_started_barrier barrier. Call
7443 'loop' at each iteration.
7444 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7445 threads have started, instead of hardcoding number of "next"
7446 steps. Use an access watchpoint instead of a write watchpoint.
7448 2015-01-09 Pedro Alves <palves@redhat.com>
7450 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7451 (thread_func): Wait on barrier.
7452 (main): Wait for all threads to start before stopping GDB.
7453 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7455 (thread1_func, thread2_func): Wait on barrier.
7456 (main): Wait for all threads to start before stopping GDB.
7457 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7459 (thread1_func, thread2_func): Wait on barrier.
7460 (main): Wait for all threads to start before stopping GDB.
7462 2015-01-09 Pedro Alves <palves@redhat.com>
7464 * gdb.threads/attach-many-short-lived-threads.c: New file.
7465 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7467 2014-01-09 Pedro Alves <palves@redhat.com>
7469 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7470 instead of to thread 2.
7471 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7472 Add barrier around each pthread_create call instead of around all
7474 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7475 Set a break on thread_function and have the child threads hit it
7478 2015-01-09 Pedro Alves <palves@redhat.com>
7480 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7481 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7483 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7484 checking whether the target board is remote.
7485 * gdb.multi/multi-attach.exp: Likewise.
7486 * gdb.python/py-sync-interp.exp: Likewise.
7487 * gdb.server/ext-attach.exp: Likewise.
7488 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7489 tests that need to attach, instead of checking whether the target
7490 board is remote at the top of the file.
7492 2015-01-08 Yao Qi <yao@codesourcery.com>
7494 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7496 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7498 Fix testcase compilation.
7499 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7501 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7503 * gdb.python/py-type.exp: Add a couple test about empty
7504 array creation, and negative-length array creation.
7506 2015-01-02 Doug Evans <xdje42@gmail.com>
7508 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7510 2015-01-02 Doug Evans <dje@google.com>
7512 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7514 2014-12-29 Yao Qi <yao@codesourcery.com>
7516 * gdb.trace/entry-values.exp: Update comments. Rename variable
7517 bar_call_foo to returned_from_foo.
7519 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7522 * gdb.linespec/break-asm-file.c: New file.
7523 * gdb.linespec/break-asm-file.exp: New file.
7524 * gdb.linespec/break-asm-file0.s: New file.
7525 * gdb.linespec/break-asm-file1.s: New file.
7527 2014-12-18 Nigel Stephens <nigel@mips.com>
7528 Maciej W. Rozycki <macro@codesourcery.com>
7530 * gdb.base/float.exp: Handle the new output from "info float" on
7533 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7535 Fix MinGW compilation.
7536 * gdb.compile/compile-ops.exp: Update untested message if
7537 !skip_compile_feature_tests.
7538 * gdb.compile/compile-setjmp.exp: Likewise.
7539 * gdb.compile/compile-tls.exp: Likewise.
7540 * gdb.compile/compile.exp: Likewise.
7541 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7542 supported on this host".
7544 2014-12-16 Doug Evans <xdje42@gmail.com>
7546 * boards/stabs.exp: New file.
7548 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7550 * gdb.base/completion.exp: Adjust to format changes of "maint
7551 print user-registers".
7553 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7556 * gdb.arch/aarch64-fp.c: New file.
7557 * gdb.arch/aarch64-fp.exp: New file.
7559 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7561 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7562 r210637, r210913, r211666, r215400, r215817).
7564 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7565 * dg-extract-results.py: New file.
7566 * dg-extract-results.sh: Use it if the environment seems
7569 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7571 * dg-extract-results.py (parse_run): Handle warnings that
7572 are printed before a test harness is run.
7574 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7576 * dg-extract-results.py (Named): Remove __cmp__ method.
7577 (output_variation): Use a key to sort variation.harnesses.
7579 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7581 * dg-extract-results.py: For Python 3, force sys.stdout to
7582 handle surrogate escape sequences.
7583 (safe_open): New function.
7584 (output_segment, main): Use it.
7586 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7588 * dg-extract-results.py (Prog.result_re): Include options
7591 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7593 * dg-extract-results.py (output_variation): Always sort if
7596 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7598 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7599 as long as we get pagination notifications.
7601 2014-12-15 Jason Merrill <jason@redhat.com>
7603 * Makefile.in (check-gdb.%): Restore.
7604 * README: Mention it.
7606 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7608 * gdb.ada/str_uninit: New testcase.
7610 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7613 * gdb.base/vla-stub-define.c: New file.
7614 * gdb.base/vla-stub.c: New file.
7615 * gdb.base/vla-stub.exp: New file.
7617 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7618 Jan Kratochvil <jan.kratochvil@redhat.com>
7619 Tom Tromey <tromey@redhat.com>
7621 * configure.ac: Add gdb.compile/.
7622 * configure: Regenerate.
7623 * gdb.compile/Makefile.in: New file.
7624 * gdb.compile/compile-ops.exp: New file.
7625 * gdb.compile/compile-ops.c: New file.
7626 * gdb.compile/compile-tls.c: New file.
7627 * gdb.compile/compile-tls.exp: New file.
7628 * gdb.compile/compile-constvar.S: New file.
7629 * gdb.compile/compile-constvar.c: New file.
7630 * gdb.compile/compile-mod.c: New file.
7631 * gdb.compile/compile-nodebug.c: New file.
7632 * gdb.compile/compile-setjmp-mod.c: New file.
7633 * gdb.compile/compile-setjmp.c: New file.
7634 * gdb.compile/compile-setjmp.exp: New file.
7635 * gdb.compile/compile-shlib.c: New file.
7636 * gdb.compile/compile.c: New file.
7637 * gdb.compile/compile.exp: New file.
7638 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7640 2014-12-12 Tom Tromey <tromey@redhat.com>
7642 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7643 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7645 2014-12-12 Doug Evans <dje@google.com>
7647 * lib/gdb-python.exp (get_python_valueof): New function.
7648 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7650 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7652 * gdb.base/completion.exp: Add test for completion of "info
7655 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7657 * gdb.base/func-ptrs.c: New file.
7658 * gdb.base/func-ptrs.exp: New file.
7660 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7662 PR breakpoints/17012
7663 * gdb.base/dprintf-detach.c: New file.
7664 * gdb.base/dprintf-detach.exp: New file.
7666 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7668 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7669 * lib/gdb.exp (target_is_gdbserver): New procedure.
7671 2014-12-08 Doug Evans <dje@google.com>
7673 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7675 2014-12-05 Yao Qi <yao@codesourcery.com>
7677 * gdb.guile/scm-error.exp: Remove the third argument to
7678 gdb_remote_download.
7679 * gdb.guile/scm-frame-args.exp: Likewise.
7680 * gdb.guile/scm-section-script.exp: Likewise.
7682 2014-12-05 Yao Qi <yao@codesourcery.com>
7684 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7686 2014-12-04 Doug Evans <dje@google.com>
7688 * gdb.python/py-objfile.exp: Add tests for
7689 objfile.add_separate_debug_file.
7691 2014-12-04 Doug Evans <dje@google.com>
7693 * lib/gdb.exp (get_build_id): New function.
7694 (build_id_debug_filename_get): Rewrite to use it.
7695 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7697 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7699 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7700 `method(long)', not just 0x0.
7701 * gdb.cp/nsalias.exp: Align code labels to 4.
7702 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7703 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7704 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7705 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7706 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7707 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7709 2014-12-02 Doug Evans <dje@google.com>
7712 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7713 * gdb.cp/anon-ns2.cc: ... here. New file.
7714 * gdb.cp/anon-ns.exp: Update.
7716 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7718 * gdb.python/py-events.py (inferior_call_handler): New.
7719 (register_changed_handler, memory_changed_handler): New.
7720 (test_events.invoke): Register new handlers.
7721 * gdb.python/py-events.exp: Add tests for inferior call,
7722 memory_changed and register_changed events.
7724 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7726 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7727 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7728 if the linker doesn't understand this.
7730 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7732 * gdb.python/python.exp: Change expected reply to help().
7734 2014-12-01 Yao Qi <yao@codesourcery.com>
7736 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7737 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7738 * configure: Re-generated.
7740 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7742 * gdb.cp/chained-calls.cc: New file.
7743 * gdb.cp/chained-calls.exp: New file.
7744 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7746 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7748 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7749 * gdb.dwarf2/symtab-producer.exp: Same.
7750 * gdb.gdb/python-interrupts.exp: Same.
7751 * gdb.gdb/python-selftest.exp: Same.
7752 * gdb.python/py-linetable.exp: Same.
7753 * gdb.python/py-type.exp: Same.
7754 * gdb.python/py-value-cc.exp: Same.
7755 * gdb.python/py-value.exp: Same.
7757 2014-11-28 Yao Qi <yao@codesourcery.com>
7759 * gdb.base/break-probes.exp: Match library name prefixed with
7762 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7764 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7765 test expected output. Add parentheses for the call to print.
7766 Remove L suffix from integers.
7768 2014-11-26 Doug Evans <dje@google.com>
7770 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7772 2014-11-22 Yao Qi <yao@codesourcery.com>
7774 * gdb.trace/entry-values.c: Remove asms.
7775 (foo): Add foo_label.
7776 (bar): Add bar_label.
7777 * gdb.trace/entry-values.exp: Remove code computing foo's
7778 length and bar's length.
7779 (Dwarf::assemble): Invoke function_range for bar and use
7780 MACRO_AT_func for foo.
7782 2014-11-22 Yao Qi <yao@codesourcery.com>
7784 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7785 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7786 Use .Lgcc43_procstart instead of gcc43.
7788 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7790 * gdb.ada/n_arr_bound: New testcase.
7792 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7794 PR breakpoints/10737
7795 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7796 test_catch_syscall_multi_arch.
7797 (test_catch_syscall_multi_arch): New function.
7799 2014-11-20 Doug Evans <xdje42@gmail.com>
7801 * gdb.base/maint.exp: Update expected output.
7803 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7805 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7806 4-byte instruction on S390.
7808 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7810 * gdb.ada/arr_arr: New testcase.
7812 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7814 * gdb.ada/pkd_arr_elem: New Testcase.
7816 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7818 * gdb.reverse/break-precsave: Expect completion message for
7820 * gdb.reverse/consecutive-precsave.exp: Likewise.
7821 * gdb.reverse/finish-precsave.exp: Likewise.
7822 * gdb.reverse/i386-precsave.exp: Likewise.
7823 * gdb.reverse/machinestate-precsave.exp: Likewise.
7824 * gdb.reverse/sigall-precsave.exp: Likewise.
7825 * gdb.reverse/solib-precsave.exp: Likewise.
7826 * gdb.reverse/step-precsave.exp: Likewise.
7827 * gdb.reverse/until-precsave.exp: Likewise.
7828 * gdb.reverse/watch-precsave.exp: Likewise.
7830 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7832 * gdb.base/bp-permanent.c: Include unistd.h.
7833 * gdb.python/py-framefilter-mi.c (main): Add return type.
7834 * gdb.python/py-framefilter.c (main): Likewise.
7835 * gdb.trace/actions-changed.c (main): Likewise.
7837 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7839 * gdb.mi/until.c: Add eye-catchers.
7840 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7843 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7845 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7846 function header variants in break1.c.
7847 * gdb.base/ena-dis-br.exp: Likewise.
7848 * gdb.base/hbreak2.exp: Likewise.
7849 * gdb.reverse/until-precsave.exp: Drop references to removed
7850 non-prototype function header variants in ur1.c.
7851 * gdb.reverse/until-reverse.exp: Likewise.
7853 2014-11-17 Petr Machata <pmachata@redhat.com>
7855 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7856 ${_cu_offset_size} bytes abbrev offset.
7858 2014-11-15 Doug Evans <xdje42@gmail.com>
7861 * gdb.base/line-symtabs.exp: New file.
7862 * gdb.base/line-symtabs.c: New file.
7863 * gdb.base/line-symtabs.h: New file.
7865 2014-11-14 Yao Qi <yao@codesourcery.com>
7867 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7868 (func): Add label func_label.
7869 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7870 Replace low_pc and high_pc with MACRO_AT_range.
7871 Replace name, low_pc and high_pc with MACRO_AT_func.
7873 2014-11-14 Yao Qi <yao@codesourcery.com>
7875 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7876 Replace name, low_pc and high_pc with MACRO_AT_func.
7878 2014-11-14 Yao Qi <yao@codesourcery.com>
7880 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7881 produce debug information.
7882 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7884 2014-11-14 Yao Qi <yao@codesourcery.com>
7886 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7887 object and get function length.
7888 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7890 (top-level): Replace gdb_compile and clean_restart with
7891 prepare_for_testing.
7892 * gdb.dwarf2/main.c (main): Add label main_label.
7894 2014-11-14 Yao Qi <yao@codesourcery.com>
7896 * lib/dwarf.exp (function_range): New procedure.
7897 (Dwarf::_handle_macro_at_func): New procedure.
7898 (Dwarf::_handle_macro_at_range): New procedure.
7899 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7901 2014-11-14 Yao Qi <yao@codesourcery.com>
7903 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7904 (_handle_attribute): New procedure.
7906 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7908 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7909 * gdb.base/call-sc.c (zed): Likewise.
7910 * gdb.base/checkpoint.c (main): Likewise.
7911 * gdb.base/dump.c (main): Likewise.
7912 * gdb.base/gcore.c (main): Likewise.
7913 * gdb.base/huge.c (main): Likewise.
7914 * gdb.base/multi-forks.c (main): Likewise.
7915 * gdb.base/pr10179-a.c (main): Likewise.
7916 * gdb.base/savedregs.c (main): Likewise.
7917 * gdb.base/sigaltstack.c (main): Likewise.
7918 * gdb.base/siginfo.c (main): Likewise.
7919 * gdb.base/structs.c (zed): Likewise.
7920 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
7921 * gdb.mi/mi-syn-frame.c (main): Likewise.
7922 * gdb.mi/until.c (foo, main): Likewise.
7923 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
7924 * gdb.base/solib-weak.c (foo): Declare.
7925 * gdb.base/attach-twice.c: Include stdio.h.
7926 * gdb.base/weaklib1.c: Likewise.
7927 * gdb.base/weaklib2.c: Likewise.
7928 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
7929 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
7931 * gdb.base/attach-pie-misread.c: Include stdlib.h.
7932 * gdb.mi/mi-exit-code.c: Likewise.
7933 * gdb.base/break-interp-lib.c: Include string.h.
7934 * gdb.base/coremaker.c: Likewise.
7935 * gdb.base/testenv.c: Likewise.
7936 * gdb.python/py-finish-breakpoint.c: Likewise.
7937 * gdb.base/inferior-died.c: Include sys/wait.h.
7938 * gdb.base/fileio.c: Include time.h.
7939 * gdb.base/async-shell.c: Include unistd.h.
7940 * gdb.base/dprintf-non-stop.c: Likewise.
7941 * gdb.base/info-os.c: Likewise.
7942 * gdb.mi/mi-console.c: Likewise.
7943 * gdb.mi/watch-nonstop.c: Likewise.
7944 * gdb.python/py-events.c: Likewise.
7945 * gdb.base/async.c (baz): Move up before its invocation.
7946 * gdb.base/code_elim2.c (my_global_func): Likewise.
7947 * gdb.base/skip-solib-lib.c (multiply): Likewise.
7948 * gdb.base/advance.c (func2): Likewise.
7950 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7952 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
7954 * gdb.base/annota3.c: Likewise.
7955 * gdb.base/async.c: Likewise.
7956 * gdb.base/average.c: Likewise.
7957 * gdb.base/call-ar-st.c: Likewise.
7958 * gdb.base/call-rt-st.c: Likewise.
7959 * gdb.base/call-sc.c: Likewise.
7960 * gdb.base/call-strs.c: Likewise.
7961 * gdb.base/ending-run.c: Likewise.
7962 * gdb.base/execd-prog.c: Likewise.
7963 * gdb.base/exprs.c: Likewise.
7964 * gdb.base/foll-exec.c: Likewise.
7965 * gdb.base/foll-fork.c: Likewise.
7966 * gdb.base/foll-vfork.c: Likewise.
7967 * gdb.base/funcargs.c: Likewise.
7968 * gdb.base/gcore.c: Likewise.
7969 * gdb.base/jump.c: Likewise.
7970 * gdb.base/langs0.c: Likewise.
7971 * gdb.base/langs1.c: Likewise.
7972 * gdb.base/langs2.c: Likewise.
7973 * gdb.base/mips_pro.c: Likewise.
7974 * gdb.base/nodebug.c: Likewise.
7975 * gdb.base/opaque0.c: Likewise.
7976 * gdb.base/opaque1.c: Likewise.
7977 * gdb.base/recurse.c: Likewise.
7978 * gdb.base/run.c: Likewise.
7979 * gdb.base/scope0.c: Likewise.
7980 * gdb.base/scope1.c: Likewise.
7981 * gdb.base/setshow.c: Likewise.
7982 * gdb.base/setvar.c: Likewise.
7983 * gdb.base/shmain.c: Likewise.
7984 * gdb.base/shr1.c: Likewise.
7985 * gdb.base/shr2.c: Likewise.
7986 * gdb.base/sigall.c: Likewise.
7987 * gdb.base/signals.c: Likewise.
7988 * gdb.base/so-indr-cl.c: Likewise.
7989 * gdb.base/solib2.c: Likewise.
7990 * gdb.base/structs.c: Likewise.
7991 * gdb.base/sum.c: Likewise.
7992 * gdb.base/vforked-prog.c: Likewise.
7993 * gdb.base/watchpoint.c: Likewise.
7994 * gdb.reverse/shr2.c: Likewise.
7995 * gdb.reverse/until-reverse.c: Likewise.
7996 * gdb.reverse/ur1.c: Likewise.
7997 * gdb.reverse/watch-reverse.c: Likewise.
7999 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8001 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8003 * gdb.base/sepdebug.exp: Drop references to removed code.
8005 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8007 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8008 variant. Preserve original line numbering.
8009 * gdb.base/list1.c: Likewise.
8011 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8013 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8015 * gdb.base/break1.c: Likewise.
8016 * gdb.base/break.exp: Drop references to removed code.
8018 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8020 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8025 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8029 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8030 logic into perform_all_tests() and invoke it with and without
8031 function header prototypes.
8032 (do_function_calls): Remove conditional XFAIL for PR 5318.
8033 (rerun_and_prepare): Remove duplicate code.
8034 (perform_all_tests): New. Main logic moved here.
8036 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8038 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8039 code guarded by #ifdef NO_PROTOTYPES.
8040 (t_double_many_args): Likewise.
8041 (DEF_FUNC_MANY_ARGS_1): Likewise.
8042 (DEF_FUNC_VALUES_1): Likewise.
8043 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8044 guarded by #ifdef PROTOTYPES.
8046 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8048 * gdb.mi/mi-console.c: Add eye-catcher.
8049 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8050 instead of literal line number.
8052 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8054 * gdb.base/shr2.c: Add eye-catcher.
8055 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8058 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8060 * gdb.base/jump.c: Add eye-catchers.
8061 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8064 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8066 * gdb.base/execd-prog.c: Add eye-catchers.
8067 * gdb.base/foll-exec.c: Likewise.
8068 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8071 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8073 * gdb.base/ending-run.c: Add eye-catchers.
8074 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8075 literal line numbers.
8077 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8079 * gdb.base/call-rt-st.c: Add eye-catchers.
8080 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8081 literal line numbers.
8083 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8085 * gdb.base/call-ar-st.c: Add eye-catchers.
8086 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8087 literal line numbers.
8089 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8091 * gdb.base/average.c: Add eye-catchers.
8092 * gdb.base/sum.c: Likewise.
8093 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8094 regexps dynamically.
8096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8098 * gdb.base/solib1.c: Add eye-catchers.
8099 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8100 literal line numbers.
8102 2014-11-12 Pedro Alves <palves@redhat.com>
8104 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8107 2014-11-12 Pedro Alves <palves@redhat.com>
8109 * gdb.arch/i386-bp_permanent.c: New file.
8110 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8111 (srcfile): Set to i386-bp_permanent.c.
8112 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8113 that stepi does not execute the 'leave' instruction, instead of
8114 testing it does execute.
8115 * gdb.base/bp-permanent.c: New file.
8116 * gdb.base/bp-permanent.exp: New file.
8118 2014-11-10 Doug Evans <xdje42@gmail.com>
8121 * gdb.base/symtab-search-order.exp: New file.
8122 * gdb.base/symtab-search-order.c: New file.
8123 * gdb.base/symtab-search-order-1.c: New file.
8124 * gdb.base/symtab-search-order-shlib-1.c: New file.
8126 2014-11-07 Pedro Alves <palves@redhat.com>
8129 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8132 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8135 * gdb.cp/pr17494.cc: New file.
8136 * gdb.cp/pr17494.exp: New file.
8138 2014-11-02 Yao Qi <yao@codesourcery.com>
8140 * gdb.python/python.exp: Get working directory and match the
8141 output of "set extended-prompt \\w " with it.
8143 2014-10-30 Doug Evans <dje@google.com>
8145 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8147 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8150 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8152 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8153 * gdb.base/realname-expand.exp: Likewise.
8154 * gdb.linespec/macro-relative.exp: Likewise.
8156 2014-10-29 Pedro Alves <palves@redhat.com>
8159 * gdb.threads/schedlock.c (some_function): New function.
8160 (call_function): New global.
8161 (MAYBE_CALL_SOME_FUNCTION): New macro.
8162 (thread_function): Call it.
8163 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8164 and use it instead of a global counter. Adjust all callers.
8165 (get_current_thread): Use "find current thread" for test message
8166 here rather than having all callers pass down the same string.
8167 (goto_loop): New procedure, factored out from ...
8168 (my_continue): ... this.
8169 (step_ten_loops): Change parameter from test message to command to
8171 (list_count): Delete global.
8172 (check_result): New procedure, factored out from duplicate top
8174 (continue tests): Wrap in with_test_prefix.
8175 (test_step): New procedure, factored out from duplicate top level
8177 (top level): Test "step" in combination with all scheduler-locking
8178 modes. Test "next" in combination with all scheduler-locking
8179 modes, and in combination with stepping over a function call or
8181 * gdb.threads/next-bp-other-thread.c: New file.
8182 * gdb.threads/next-bp-other-thread.exp: New file.
8184 2014-10-29 Pedro Alves <palves@redhat.com>
8187 * gdb.python/python.exp: Test a multi-line command that spawns
8189 * gdb.base/multi-line-starts-subshell.exp: New file.
8191 2014-10-29 Yao Qi <yao@codesourcery.com>
8193 * gdb.base/fileio.exp: Make directories on host.
8195 2014-10-29 Yao Qi <yao@codesourcery.com>
8197 * gdb.base/fileio.c (test_write): Close the file.
8199 2014-10-28 Pedro Alves <palves@redhat.com>
8202 * gdb.base/sigstep.c (no_handler): New global.
8203 (main): If 'no_handler is true, set the signal handlers to
8205 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8206 with_sw_watch and no_handler parameters. Handle them.
8207 (top level) <stepping over handler when stopped at a breakpoint
8208 test>: Add a test axis for testing with a software watchpoint, and
8209 another for testing with the signal handler set to SIG_IGN.
8210 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8211 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8213 2014-10-28 Pedro Alves <palves@redhat.com>
8216 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8217 * gdb.base/sigstep.exp (other_handler_location): New global.
8218 (advance): Support stepping into the signal handler, and running
8219 commands while in the handler.
8220 (in_handler_map): New global.
8221 (top level): In the advance test, add combinations for getting
8222 into the handler with stepping commands, and for running commands
8223 in the handler. Add comment descripting the advancei tests.
8225 2014-10-28 Pedro Alves <palves@redhat.com>
8227 * gdb.base/sigstep.exp: Use build_executable instead of
8228 prepare_for_testing.
8229 (top level): Move code that starts GDB, runs to main and creates a
8231 (restart): ... this new procedure.
8232 (top level): Move backtrace from signal handler test to ...
8233 (validate_backtrace): ... this new procedure.
8234 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8235 with_test_prefix. Always restart GDB.
8236 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8237 with_test_prefix. Always restart GDB. No need to delete
8238 breakpoints after the test.
8239 (test_skip_handler): Remove prefix parameter.
8240 (skip_over_handler, breakpoint_to_handler)
8241 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8242 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8243 restart GDB. No need to delete breakpoints after the test.
8244 (top level): Use foreach to call the test procedures with
8247 2014-10-28 Pedro Alves <palves@redhat.com>
8249 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8250 instead of GNATS numbers.
8251 * gdb.base/sigbpt.exp: Likewise.
8252 * gdb.base/siginfo.exp: Likewise.
8253 * gdb.base/sigstep.exp: Likewise.
8255 2014-10-27 Pedro Alves <palves@redhat.com>
8257 * gdb.base/sigstep.c (dummy): New global.
8258 (main): Issue a couple writes to the new global.
8259 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8261 (skip_over_handler): Use test_skip_handler.
8262 (top level): Call skip_over_handler for stepi and nexti too.
8263 (breakpoint_over_handler): Use test_skip_handler.
8264 (top level): Call breakpoint_over_handler for stepi and nexti too.
8266 2014-10-27 Yao Qi <yao@codesourcery.com>
8268 * gdb.trace/tfile.c (adjust_function_address)
8269 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8270 function descriptor.
8272 2014-10-24 Don Breazeal <donb@codesourcery.com>
8274 * gdb.base/foll-fork.exp (test_follow_fork,
8275 catch_fork_child_follow): Check for updated fork messages emitted
8277 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8278 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8279 vfork_and_exec_child_follow_through_step): Check for updated vfork
8280 messages emitted from infrun.c.
8282 2014-10-24 Pedro Alves <palves@redhat.com>
8284 * gdb.base/corefile.exp: Remove references to ultrix.
8285 * gdb.base/interrupt.exp: Likewise.
8286 * gdb.base/whatis.exp: Likewise.
8287 * gdb.gdb/selftest.exp: Likewise.
8288 * gdb.threads/manythreads.exp: Likewise.
8289 * gdb.threads/print-threads.exp: Likewise.
8290 * gdb.threads/pthreads.exp:: Likewise.
8291 * gdb.threads/schedlock.exp: Likewise.
8293 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8295 * gdb.cp/non-trivial-retval.cc: Add a test case.
8296 * gdb.cp/non-trivial-retval.exp: Add a test.
8298 2014-10-20 Yao Qi <yao@codesourcery.com>
8300 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8301 * gdb.python/py-objfile-script-gdb.py: New file.
8302 * gdb.python/py-objfile-script.exp: Update reference to
8303 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8304 of remote_download. Remove the dest file.
8306 2014-10-20 Yao Qi <yao@codesourcery.com>
8308 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8309 * gdb.base/step-line.exp: Likewise.
8310 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8311 * gdb.dwarf2/dw2-basic.exp: Likewise.
8312 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8313 * gdb.dwarf2/dw2-filename.exp: Likewise.
8314 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8315 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8316 * gdb.dwarf2/dw2-producer.exp: Likewise.
8317 * gdb.dwarf2/mac-fileno.exp: Likewise.
8318 * gdb.python/py-frame-args.exp: Likewise.
8319 * gdb.python/py-framefilter.exp: Likewise.
8320 * gdb.python/py-mi.exp: Likewise.
8321 * gdb.python/py-objfile-script.exp: Likewise
8322 * gdb.python/py-pp-integral.exp: Likewise.
8323 * gdb.python/py-pp-re-notag.exp: Likewise.
8324 * gdb.python/py-prettyprint.exp: Likewise.
8325 * gdb.python/py-section-script.exp: Likewise.
8326 * gdb.python/py-typeprint.exp: Likewise.
8327 * gdb.python/py-xmethods.exp: Likewise.
8328 * gdb.stabs/weird.exp: Likewise.
8329 * gdb.xml/tdesc-regs.exp: Likewise.
8331 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8333 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8334 (out_cu): Use addr_len for the size of addresses.
8335 (out_line): Likewise. Size DW_LNE_set_address instruction
8336 according to addr_len.
8337 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8338 (FUNC): Add START_INSNS to definition.
8340 2014-10-18 Yao Qi <yao@codesourcery.com>
8342 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8343 gdb_has_argv0 return true.
8344 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8345 check [target_info exists noargs], check [gdb_has_argv0]
8347 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8348 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8351 2014-10-17 Doug Evans <dje@google.com>
8353 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8355 * gdb.python/py-events.py: Add clear_objfiles event.
8357 2014-10-17 Doug Evans <dje@google.com>
8359 * gdb.python/py-objfile.exp: Test progspace attribute.
8361 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8363 * gdb.guile/scm-breakpoint.exp: Do not assume any
8364 directory separators when matching source file paths.
8365 * gdb.python/py-breakpoint.exp: Likewise.
8366 * gdb.reverse/break-precsave.exp: Likewise.
8367 * gdb.reverse/break-reverse.exp: Likewise.
8368 * gdb.reverse/consecutive-precsave.exp: Likewise.
8369 * gdb.reverse/finish-precsave.exp: Likewise.
8370 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8371 * gdb.reverse/finish-reverse.exp: Likewise.
8372 * gdb.reverse/i386-precsave.exp: Likewise.
8373 * gdb.reverse/i387-env-reverse.exp: Likewise.
8374 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8375 * gdb.reverse/machinestate-precsave.exp: Likewise.
8376 * gdb.reverse/machinestate.exp: Likewise.
8377 * gdb.reverse/sigall-precsave.exp: Likewise.
8378 * gdb.reverse/solib-precsave.exp: Likewise.
8379 * gdb.reverse/step-precsave.exp: Likewise.
8380 * gdb.reverse/until-precsave.exp: Likewise.
8381 * gdb.reverse/watch-precsave.exp: Likewise.
8382 * gdb.reverse/watch-reverse.exp: Likewise.
8384 2014-10-17 Yao Qi <yao@codesourcery.com>
8386 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8387 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8389 2014-10-17 Pedro Alves <palves@redhat.com>
8392 * gdb.base/bg-execution-repeat.c: New file.
8393 * gdb.base/bg-execution-repeat.exp: New file.
8395 2014-10-17 Pedro Alves <palves@redhat.com>
8398 * gdb.base/continue-all-already-running.c: New file.
8399 * gdb.base/continue-all-already-running.exp: New file.
8401 2014-10-17 Pedro Alves <palves@redhat.com>
8404 * gdb.base/annota-input-while-running.c: New file.
8405 * gdb.base/annota-input-while-running.exp: New file.
8407 2014-10-17 Pedro Alves <palves@redhat.com>
8409 * gdb.base/callfuncs.exp: emove references to osf.
8410 * gdb.base/sigall.exp: Likewise.
8411 * gdb.gdb/selftest.exp: Likewise.
8412 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8413 * gdb.mi/non-stop.c: Likewise.
8414 * gdb.mi/pthreads.c: Likewise.
8415 * gdb.reverse/sigall-precsave.exp: Likewise.
8416 * gdb.reverse/sigall-reverse.exp: Likewise.
8417 * gdb.threads/pthreads.c: Likewise.
8418 * gdb.threads/pthreads.exp: Likewise.
8420 2014-10-17 Yao Qi <yao@codesourcery.com>
8422 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8423 check 'target_info exists noargs'.
8424 (test_command_prompt_position): Likewise.
8425 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8427 (progvar_simple_while_test): Likewise.
8428 (progvar_complex_if_while_test): Likewise.
8429 (if_while_breakpoint_command_test): Likewise.
8430 (infrun_breakpoint_command_test): Likewise.
8431 (breakpoint_command_test): Likewise.
8432 (watchpoint_command_test): Likewise.
8433 (bp_deleted_in_command_test): Likewise.
8434 (temporary_breakpoint_commands): Likewise.
8436 2014-10-16 Yao Qi <yao@codesourcery.com>
8438 * gdb.base/remotetimeout.exp: Remove noargs checking.
8440 2014-10-15 Pedro Alves <palves@redhat.com>
8443 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8444 * gdb.base/breakpoint-in-ro-region.exp
8445 (probe_target_hardware_step): New procedure.
8446 (top level): Probe hardware stepping and hardware breakpoint
8447 support. Test stepping through a read-only region, with both
8448 "breakpoint auto-hw" on and off and both "always-inserted" on and
8451 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8453 * gdb.dlang/demangle.exp: Update for demangling changes.
8455 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8457 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8458 * gdb.cp/non-trivial-retval.exp: Add new tests.
8460 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8464 * gdb.cp/non-trivial-retval.cc: New file.
8465 * gdb.cp/non-trivial-retval.exp: New file.
8467 2014-10-15 Yao Qi <yao@codesourcery.com>
8469 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8472 2014-10-15 Yao Qi <yao@codesourcery.com>
8474 * gdb.python/py-symbol.exp: Match file base name if host is
8475 remote, otherwise match file name with dir name.
8476 * gdb.python/py-symtab.exp: Likewise.
8477 * gdb.python/python.exp: Likewise.
8479 2014-10-15 Yao Qi <yao@codesourcery.com>
8481 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8483 * gdb.python/py-symtab.exp: Likewise.
8484 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8487 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8489 * gdb.ada/addr_arith: New testcase.
8491 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8493 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8494 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8495 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8496 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8498 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8500 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8501 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8502 * gdb.arch/stap-eval-lang-ada.exp: New file.
8504 2014-10-14 Yao Qi <yao@codesourcery.com>
8506 * gdb.mi/mi-var-child.c (nothing1): New function.
8507 (nothing2): New function.
8508 (do_children_tests): Set function pointers by nothing1 and
8510 * gdb.mi/mi-var-child.exp: Step over new added statements.
8511 Update test to match the new output.
8512 * gdb.mi/var-cmd.c (nothing1): New function.
8513 (nothing2): New function.
8514 (do_children_tests): Set function pointers by nothing1 and
8516 * gdb.mi/mi-var-display.exp: Update test to match output.
8517 Step to the line specified by $line_dct_nothing.
8518 Increase the number of lines to step.
8520 2014-10-14 Yao Qi <yao@codesourcery.com>
8522 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8524 * gdb.mi/mi2-var-child.exp: Likewise.
8526 2014-10-13 Doug Evans <dje@google.com>
8528 * gdb.python/py-objfile.exp: Change name of file name test.
8530 2014-10-13 Doug Evans <dje@google.com>
8532 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8533 from the start of the CU.
8535 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8536 Yao Qi <yao@codesourcery.com>
8538 Fix "save breakpoints" for "catch" command.
8539 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8540 Remove -nonewline. Match also the added "main" line.
8542 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8544 Fix "save breakpoints" for "disable $bpnum" command.
8545 * gdb.base/save-bp.c (main): Add label.
8546 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8548 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8550 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8552 2014-10-11 Yao Qi <yao@codesourcery.com>
8554 * gdb.server/server-kill.exp: Execute command
8555 "set remote trace-status-packet on" before "tstatus".
8557 2014-10-11 Yao Qi <yao@codesourcery.com>
8559 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8560 (main): Call getppid.
8561 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8562 and continue to it. Read variable "server_pid".
8564 2014-10-11 Yao Qi <yao@codesourcery.com>
8566 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8568 2014-10-11 Yao Qi <yao@codesourcery.com>
8570 * gdb.threads/thread-find.exp: Don't execute command
8572 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8573 * gdb.threads/linux-dp.exp: Don't check the condition
8574 $threads_created equals to zero.
8576 2014-10-10 Pedro Alves <palves@redhat.com>
8578 * gdb.base/bigcore.exp: Remove references to IRIX.
8579 * gdb.base/funcargs.exp: Likewise.
8580 * gdb.base/interrupt.exp: Likewise.
8581 * gdb.base/mips_pro.exp: Likewise.
8582 * gdb.base/nodebug.exp: Likewise.
8583 * gdb.base/setvar.exp: Likewise.
8584 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8586 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8587 Pedro Alves <palves@redhat.com>
8590 * gdb.base/vdso-warning.c: New file.
8591 * gdb.base/vdso-warning.exp: New file.
8593 2014-10-02 Doug Evans <dje@google.com>
8595 * gdb.base/structs.c (main): Don't run forever.
8597 2014-10-02 Pedro Alves <palves@redhat.com>
8599 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8600 (top level) <stop threads 1, stop threads 2>: Use it.
8602 2014-10-02 Pedro Alves <palves@redhat.com>
8604 * gdb.threads/break-while-running.exp (test): Add new
8605 'update_thread_list' argument. Skip "info threads" if false.
8606 (top level): Add new 'update_thread_list' axis.
8608 2014-10-02 Pedro Alves <palves@redhat.com>
8610 PR breakpoints/17431
8611 * gdb.base/execl-update-breakpoints.c: New file.
8612 * gdb.base/execl-update-breakpoints.exp: New file.
8614 2014-10-01 Pedro Alves <palves@redhat.com>
8616 * gdb.base/breakpoint-in-ro-region.c: New file.
8617 * gdb.base/breakpoint-in-ro-region.exp: New file.
8619 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8621 * gdb.mi/mi-exit-code.exp: New file.
8622 * gdb.mi/mi-exit-code.c: New file.
8624 2014-09-30 Yao Qi <yao@codesourcery.com>
8626 * lib/prelink-support.exp (build_executable_own_libs): Error if
8627 the target isn't native.
8629 2014-09-30 Yao Qi <yao@codesourcery.com>
8631 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8634 2014-09-22 Pedro Alves <palves@redhat.com>
8636 * gdb.threads/break-while-running.exp: New file.
8637 * gdb.threads/break-while-running.c: New file.
8639 2014-09-19 Yao Qi <yao@codesourcery.com>
8641 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8642 Invoke test. Restart GDB with --readnow and invoke test again.
8644 2014-09-19 Yao Qi <yao@codesourcery.com>
8646 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8647 proc set_breakpoint_on_gcd_function. Invoke
8648 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8649 invoke set_breakpoint_on_gcd_function again.
8651 2014-09-18 Doug Evans <dje@google.com>
8653 * gdb.dwarf2/symtab-producer.exp: New file.
8655 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8657 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8658 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8659 * gdb.base/global-var-nested-by-dso.c: Likewise.
8660 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8662 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8663 Pedro Alves <palves@redhat.com>
8665 * gdb.base/watch-bitfields.exp: Pass string other than test file
8666 name to prepare_for_testing.
8667 (watch): New procedure.
8668 (expect_watchpoint): Use with_test_prefix.
8669 (top level): Factor out tests to ...
8670 (test_watch_location, test_regular_watch): ... these new
8671 procedures, and use with_test_prefix and gdb_continue_to_end.
8673 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8675 PR breakpoints/12526
8676 * gdb.base/watch-bitfields.exp: New file.
8677 * gdb.base/watch-bitfields.c: New file.
8679 2014-09-16 Pedro Alves <palves@redhat.com>
8681 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8682 software and hardware addresses, not software address against
8685 2014-09-16 Pedro Alves <palves@redhat.com>
8687 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8688 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8690 2014-09-16 Pedro Alves <palves@redhat.com>
8692 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8694 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8695 "*-*-vxworks*" throughout.
8696 * gdb.base/break.exp: Likewise.
8697 * gdb.base/default.exp: Likewise.
8698 * gdb.base/scope.exp: Likewise.
8699 * gdb.base/sepdebug.exp: Likewise.
8700 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8702 * gdb.base/run.c: Likewise.
8703 * gdb.base/sepdebug.c: Likewise.
8704 * gdb.hp/gdb.aCC/run.c: Likewise.
8705 * gdb.reverse/until-reverse.c: Likewise.
8706 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8708 2014-09-16 Yao Qi <yao@codesourcery.com>
8710 * boards/local-remote-host-native.exp: New file.
8712 2014-09-14 Doug Evans <xdje42@gmail.com>
8714 * gdb.threads/queue-signal.c (thread_count): New variable.
8715 (thread_count_mutex, thread_count_condvar): New variables.
8716 (incr_thread_count, wait_all_threads_running): New functions.
8717 (main): Wait for all threads to be in their thread functions.
8719 2014-09-13 Doug Evans <xdje42@gmail.com>
8721 * gdb.threads/queue-signal.c: New file.
8722 * gdb.threads/queue-signal.exp: New file.
8724 2014-09-13 Doug Evans <xdje42@gmail.com>
8726 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8727 be consistent with what default_gdb_init uses.
8728 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8729 the plain text of the prompt. Add some logging printfs.
8730 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8732 2014-09-12 Pedro Alves <palves@redhat.com>
8734 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8735 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8736 * gdb.arch/i386-size-overlap.exp: Likewise.
8737 * gdb.arch/i386-size.exp: Likewise.
8738 * gdb.arch/i386-unwind.exp: Likewise.
8739 * gdb.base/a2-run.exp: Likewise.
8740 * gdb.base/break.exp: Likewise.
8741 * gdb.base/charset.exp: Likewise.
8742 * gdb.base/chng-syms.exp: Likewise.
8743 * gdb.base/commands.exp: Likewise.
8744 * gdb.base/dbx.exp: Likewise.
8745 * gdb.base/find.exp: Likewise.
8746 * gdb.base/funcargs.exp: Likewise.
8747 * gdb.base/jit-simple.exp: Likewise.
8748 * gdb.base/reread.exp: Likewise.
8749 * gdb.base/sepdebug.exp: Likewise.
8750 * gdb.base/step-bt.exp: Likewise.
8751 * gdb.cp/mb-inline.exp: Likewise.
8752 * gdb.cp/mb-templates.exp: Likewise.
8753 * gdb.objc/basicclass.exp: Likewise.
8754 * gdb.threads/killed.exp: Likewise.
8756 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8759 * gdb.arch/powerpc-stackless.S: New file.
8760 * gdb.arch/powerpc-stackless.exp: New file.
8762 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8764 * gdb.base/attach.c: Include unistd.h.
8765 (main): Call alarm. Add label postloop.
8766 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8767 gdb_breakpoint, gdb_continue_to_breakpoint.
8768 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8770 2014-09-11 Pedro Alves <palves@redhat.com>
8773 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8774 * gdb.base/attach.exp (test_command_line_attach_run): New
8776 (top level): Call it.
8778 2014-09-11 Pedro Alves <palves@redhat.com>
8780 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8781 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8782 (do_command_attach_tests): Use spawn_wait_for_attach.
8783 * gdb.base/solib-overlap.exp: Likewise.
8784 * gdb.multi/multi-attach.exp: Likewise.
8785 * gdb.python/py-prompt.exp: Likewise.
8786 * gdb.python/py-sync-interp.exp: Likewise.
8787 * gdb.server/ext-attach.exp: Likewise.
8789 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8791 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8792 command in testcase. Simplify testcase.
8794 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8796 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8798 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8800 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8802 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8804 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8806 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8808 * gdb.dwarf2/dynarr-ptr.c: New file.
8809 * gdb.dwarf2/dynarr-ptr.exp: New file.
8811 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8813 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8814 of 30 rather than hardcoding 120 for a slow test case. Take the
8815 `gdb,timeout' target setting into account for this calculation.
8816 Don't extend the timeout for the test cases that don't need it.
8818 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8820 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8821 a factor of 2 for a slow test case. Take the `gdb,timeout'
8822 target setting into account for this calculation.
8823 * gdb.reverse/until-precsave.exp: Increase the timeout by
8824 a factor of 15 and 3 respectively rather than adding 120
8825 for a pair of slow test cases. Take the `gdb,timeout'
8826 target setting into account for this calculation.
8828 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8830 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8831 timeout, don't pass one down to gdb_expect.
8832 (gdb_expect): Rework timeout selection.
8834 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8836 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8837 exception on timeout.
8838 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8839 (gdbserver_start_extended): Catch any `gdbserver_start' error
8841 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8842 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8843 `gdbserver_gdb_load' error exceptions.
8845 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8847 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8848 120 on waiting for the TCP socket to open.
8850 2014-09-09 Doug Evans <xdje42@gmail.com>
8852 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8853 _caller_matches, _any_caller_is, _any_caller_matches.
8855 2014-09-09 Doug Evans <xdje42@gmail.com>
8857 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8859 2014-09-09 Yao Qi <yao@codesourcery.com>
8861 * gdb.mi/mi-var-display.exp: Set print symbol off.
8863 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8866 * gdb.base/commands.exp: Add tests to verify user-defined
8867 commands with empty bodies.
8868 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8869 python commands in `show user command`.
8870 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8871 scheme commands in `show user command`.
8873 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8876 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8877 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8878 * gdb.python/py-framefilter-invalidarg.exp: New file.
8879 * gdb.python/py-framefilter-invalidarg.py: New file.
8881 2014-09-06 Doug Evans <xdje42@gmail.com>
8884 * gdb.python/py-caller-is.c: New file.
8885 * gdb.python/py-caller-is.exp: New file.
8887 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8890 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8891 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8893 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8896 * gdb.fortran/print-formatted.exp: New file.
8897 * gdb.fortran/print-formatted.f90: Likewise.
8899 2014-09-03 Sasha Smundak <asmundak@google.com>
8901 * gdb.python/py-frame.exp: Test Frame.read_register.
8903 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8906 * gdb.python/py-completion.exp: New file.
8907 * gdb.python/py-completion.py: Likewise.
8909 2014-08-28 Doug Evans <dje@google.com>
8911 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8912 eax,etc. are live with values set by gdb and thus the compiler can't
8914 * gdb.arch/i386-pseudo.c (main): Ditto.
8916 2014-08-27 Doug Evans <dje@google.com>
8918 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
8920 2014-08-25 Doug Evans <dje@google.com>
8922 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
8925 2014-08-25 Doug Evans <dje@google.com>
8927 * gdb.threads/thread-execl.exp: #include <stdio.h>.
8929 2014-08-24 Yao Qi <yao@codesourcery.com>
8931 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
8933 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
8935 2014-08-22 Doug Evans <dje@google.com>
8938 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
8939 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
8940 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
8942 2014-08-22 Yao Qi <yao@codesourcery.com>
8944 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
8945 * gdb.python/py-finish-breakpoint2.exp: Likewise.
8946 * gdb.python/python.exp: Likewise. Use .py file on the host
8947 instead of the build.
8949 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8951 * gdb.threads/gcore-stale-thread.c: New file.
8952 * gdb.threads/gcore-stale-thread.exp: New file.
8954 2014-08-21 Pedro Alves <palves@redhat.com>
8956 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
8957 * gdb.base/gcore-relro-pie.exp: Likewise.
8958 * gdb.base/gcore-relro.exp: Likewise.
8959 * gdb.base/gcore.exp: Likewise.
8960 * gdb.base/print-symbol-loading.exp: Likewise.
8961 * gdb.threads/gcore-thread.exp: Likewise.
8962 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
8964 2014-08-20 Pedro Alves <palves@redhat.com>
8965 Jan Kratochvil <jan.kratochvil@redhat.com>
8967 * Makefile.in (EXTRA_RULES, CC): New variables, get from
8969 (EXPECT): Handle READ1 being set.
8970 (all): Depend on EXTRA_RULES.
8971 (check-read1, expect-read1, read1.so, read1): New rules.
8972 * README (Testsuite Parameters): Document the READ1 make variable.
8973 (Race detection): New section.
8974 * configure: Regenerate.
8975 * configure.ac: If build==host==target, and running under a
8976 GNU/glibc system, add read1 to the extra Makefile rules.
8977 (EXTRA_RULES): AC_SUBST it.
8978 * lib/read1.c: New file.
8980 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8982 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8983 the handling of variables declared as a typedef to an array
8984 which a DW_AT_data_location attribute.
8986 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8987 Pedro Alves <palves@redhat.com>
8991 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8994 2014-08-19 Pedro Alves <palves@redhat.com>
8996 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8998 2014-08-19 Yao Qi <yao@codesourcery.com>
9000 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9003 2014-08-18 David Blaikie <dblaikie@gmail.com>
9005 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9007 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9009 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9010 attribute in array range.
9012 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9014 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9016 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9019 * gdb.cp/pr17132.cc: New file.
9020 * gdb.cp/pr17132.exp: New file.
9022 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9024 * gdb.python/py-xmethods.py (A_getarrayind)
9025 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9026 Use 'print' with function call syntax.
9027 (E_method_matcher.match): Fix tab vs space indentation mixup.
9029 2014-08-15 Yao Qi <yao@codesourcery.com>
9031 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9034 2014-08-15 Yao Qi <yao@codesourcery.com>
9036 * gdb.cp/casts.exp: Set print symbol off.
9037 * gdb.cp/class2.exp: Likewise.
9038 * gdb.cp/overload.exp: Likewise.
9039 * gdb.cp/templates.exp: Likewise.
9041 2014-08-11 Doug Evans <dje@google.com>
9043 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9044 (test_load_shlib): Update.
9046 2014-08-09 Yao Qi <yao@codesourcery.com>
9048 * gdb.base/display.exp: Invoke is_address_zero_readable.
9049 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9050 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9051 * gdb.base/hbreak-unmapped.exp: Return if
9052 is_address_zero_readable returns true.
9053 * gdb.base/signest.exp: Likewise.
9054 * gdb.base/signull.exp: Likewise.
9055 * gdb.base/sigbpt.exp: Likewise.
9056 * gdb.guile/scm-disasm.exp: Do the test if
9057 is_address_zero_readable returns false.
9058 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9059 * gdb.python/py-arch.exp: Likewise.
9060 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9061 * lib/gdb.exp (is_address_zero_readable): New proc.
9063 2014-08-09 Yao Qi <yao@codesourcery.com>
9066 * gdb.mi/mi-var-display.exp: Make test messages unique.
9068 2014-08-04 Tom Tromey <tromey@redhat.com>
9070 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9073 2014-08-04 Tom Tromey <tromey@redhat.com>
9075 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9078 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9080 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9081 inner_vla_struct_object_size.
9082 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9085 2014-07-30 Pedro Alves <palves@redhat.com>
9087 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9090 2014-07-29 Yao Qi <yao@codesourcery.com>
9093 * gdb.base/until-nodebug.exp: New.
9095 2014-07-28 Doug Evans <xdje42@gmail.com>
9098 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9099 previously existing parameter, and previously ambiguously spelled
9102 2014-07-28 Will Newton <will.newton@linaro.org>
9104 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9106 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9107 Doug Evans <xdje42@gmail.com>
9110 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9112 2014-07-25 Pedro Alves <palves@redhat.com>
9114 * gdb.threads/signal-command-handle-nopass.c: New file.
9115 * gdb.threads/signal-command-handle-nopass.exp: New file.
9116 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9117 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9118 * gdb.threads/signal-delivered-right-thread.c: New file.
9119 * gdb.threads/signal-delivered-right-thread.exp: New file.
9121 2014-07-25 Pedro Alves <palves@redhat.com>
9123 * gdb.base/double-prompt-target-event-error.exp
9124 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9126 (cancel_pagination_in_target_event): Rework double prompt
9128 * gdb.base/paginate-after-ctrl-c-running.exp
9129 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9131 * gdb.base/paginate-bg-execution.exp
9132 (test_bg_execution_pagination_return)
9133 (test_bg_execution_pagination_cancel): Remove '-notransfer
9135 * gdb.base/paginate-execution-startup.exp
9136 (test_fg_execution_pagination_return)
9137 (test_fg_execution_pagination_cancel): Remove '-notransfer
9139 * gdb.base/paginate-inferior-exit.exp
9140 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9142 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9143 * lib/gdb.exp (pagination_prompt): Run text through
9145 (gdb_test_multiple): Match $pagination_prompt instead of
9147 (string_to_regexp): Move to lib/gdb-utils.exp.
9149 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9151 * gdb.arch/amd64-entry-value-paramref.S: New file.
9152 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9153 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9154 * gdb.arch/amd64-optimout-repeat.S: New file.
9155 * gdb.arch/amd64-optimout-repeat.c: New file.
9156 * gdb.arch/amd64-optimout-repeat.exp: New file.
9158 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9161 * gdb.base/statistics.exp: New file.
9163 2014-07-17 Doug Evans <dje@google.com>
9166 * gdb.base/maint.exp: Update testing of per-command stats.
9168 2014-07-16 Pedro Alves <palves@redhat.com>
9170 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9171 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9172 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9173 (tfile_write_buf): New functions.
9174 (add_memory_block): Rewrite using the above.
9175 (adjust_function_address): New function.
9176 (FUNCTION_ADDRESS): New macro.
9177 (write_basic_trace_file): Remove short_x local, and use
9178 tfile_write_16. Change type of func_addr local to unsigned long
9179 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9180 here. Cast argument of add_memory_block to char pointer.
9181 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9182 (main): Remove parameters.
9183 * gdb.trace/tfile.exp: Remove nowarnings.
9185 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9187 * gdb.base/debug-expr.exp: Test string evaluation with
9188 "debug expression" on.
9190 2014-07-15 Pedro Alves <palves@redhat.com>
9192 * gdb.base/reread.exp: Use clean_restart.
9194 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9196 * gdb.arch/avr-flash-qualifer.c: New.
9197 * gdb.arch/avr-flash-qualifer.exp: New.
9199 2014-07-14 Pedro Alves <palves@redhat.com>
9201 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9202 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9204 2014-07-14 Pedro Alves <palves@redhat.com>
9206 * gdb.base/double-prompt-target-event-error.c: New file.
9207 * gdb.base/double-prompt-target-event-error.exp: New file.
9209 2014-07-14 Pedro Alves <palves@redhat.com>
9212 * gdb.base/paginate-inferior-exit.c: New file.
9213 * gdb.base/paginate-inferior-exit.exp: New file.
9215 2014-07-14 Pedro Alves <palves@redhat.com>
9218 * gdb.base/paginate-bg-execution.c: New file.
9219 * gdb.base/paginate-bg-execution.exp: New file.
9221 2014-07-14 Pedro Alves <palves@redhat.com>
9224 * gdb.base/paginate-execution-startup.c: New file.
9225 * gdb.base/paginate-execution-startup.exp: New file.
9226 * lib/gdb.exp (pagination_prompt): New global.
9227 (default_gdb_spawn): New procedure, factored out from
9229 (default_gdb_start): Adjust to call default_gdb_spawn.
9230 (gdb_spawn): New procedure.
9232 2014-07-14 Pedro Alves <palves@redhat.com>
9234 * lib/gdb.exp (gdb_assert): New procedure.
9235 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9237 2014-07-14 Pedro Alves <palves@redhat.com>
9239 * gdb.base/execution-termios.c: New file.
9240 * gdb.base/execution-termios.exp: New file.
9242 2014-07-14 Tom Tromey <tromey@redhat.com>
9244 * gdb.cp/vla-cxx.cc: New file.
9245 * gdb.cp/vla-cxx.exp: New file.
9247 2014-07-14 Tom Tromey <tromey@redhat.com>
9249 * gdb.reverse/rerun-prec.c: New file.
9250 * gdb.reverse/rerun-prec.exp: New file.
9252 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9253 Maciej W. Rozycki <macro@codesourcery.com>
9255 * lib/gdb-utils.exp: New file.
9256 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9257 inline `gdb_init_command' processing.
9258 (gdb_start_cmd): Likewise.
9259 * lib/mi-support.exp (mi_run_cmd): Likewise.
9260 * README: Document `gdb_init_command' and `gdb_init_commands'.
9262 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9264 Fix false FAIL running under a very long directory name.
9265 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9266 and "set print elements 10000". Twice.
9268 2014-07-11 Yao Qi <yao@codesourcery.com>
9270 * gdb.base/exprs.exp: "set print symbol off".
9272 2014-07-11 Pedro Alves <palves@redhat.com>
9274 * gdb.threads/kill.c: New file.
9275 * gdb.threads/kill.exp: New file.
9277 2014-07-10 Yao Qi <yao@codesourcery.com>
9279 * gdb.trace/tfile.c (write_basic_trace_file)
9280 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9281 address written to trace file.
9283 2014-07-09 Pedro Alves <palves@redhat.com>
9285 * gdb.base/attach-wait-input.exp: New file.
9286 * gdb.base/attach-wait-input.c: New file.
9288 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9290 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9291 setting up test structures.
9292 (main): Call new test function.
9293 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9294 test function, continue into test function and walk test
9297 2014-07-02 Yao Qi <yao@codesourcery.com>
9299 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9300 'bar_start' at the beginning of functions 'foo' and 'bar'
9302 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9303 instead of 'foo' and 'bar'.
9305 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9307 * gdb.btrace/segv.exp: New.
9308 * gdb.btrace/segv.c: New.
9310 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9312 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9315 2014-06-30 Mark Wielaard <mjw@redhat.com>
9317 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9318 vulture, vilify, villar): New volatile array constants.
9319 (vindictive, vegetation): New const volatile array constants.
9320 * gdb.base/volatile.exp: Test volatile and const volatile array
9323 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9325 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9326 target lacks support for awatch, rwatch, or hbreak.
9328 2014-06-27 Yao Qi <yao@codesourcery.com>
9330 * gdb.multi/dummy-frame-restore.exp: New.
9331 * gdb.multi/dummy-frame-restore.c: New.
9333 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9335 * gdb.btrace/gcore.exp: New.
9337 2014-06-23 Pedro Alves <palves@redhat.com>
9339 * gdb.base/watchpoint-reuse-slot.c: New file.
9340 * gdb.base/watchpoint-reuse-slot.exp: New file.
9342 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9344 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9345 progspace's filename in 'info', 'enable' and 'disable' command
9348 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9350 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9351 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9352 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9354 2014-06-20 Gary Benson <gbenson@redhat.com>
9356 * gdb.arch/i386-avx.exp: Fix include file location.
9357 * gdb.arch/i386-sse.exp: Likewise.
9359 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9361 * gdb.dlang/expression.exp: New file.
9363 2014-06-19 Pedro Alves <palves@redhat.com>
9365 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9367 (top level): ... here. Iterate running tests under different
9368 scheduler-locking settings.
9370 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9372 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9373 to DW_FORM_addr and use non-zero addresses.
9375 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9378 * gdb.python/py-xmethods.cc: Add global function call counters and
9379 increment them in their respective functions. Remove "cout"
9381 * gdb.python/py-xmethods.exp: Make tests check the global function
9382 call counters instead of depending on inferior IO.
9384 2014-06-18 Don Breazeal <donb@codesourcery.com>
9386 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9388 (explicit_fork_parent_follow): Deleted procedure.
9389 (explicit_fork_child_follow): Deleted procedure.
9390 (test_follow_fork): New procedure.
9391 (do_fork_tests): Replace calls to deleted procedures with
9392 calls to test_follow_fork and reset GDB for subsequent
9395 2014-06-17 Yao Qi <yao@codesourcery.com>
9397 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9400 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9402 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9403 Initialize ptr and S explicitly.
9404 (skip_type_update_when_not_use_rtti_test): Likewise.
9406 2014-06-16 Keith Seitz <keiths@redhat.com>
9409 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9410 the inferior is started.
9412 2014-06-16 Pedro Alves <palves@redhat.com>
9414 * gdb.base/break-main-file-remove-fail.c: New file.
9415 * gdb.base/break-main-file-remove-fail.exp: New file.
9416 * gdb.base/break-unload-file.exp: Use build_executable instead of
9417 prepare_for_testing.
9418 (test_break): New parameter "initial_load". Handle it.
9419 (top level): Add initial_load cmdline/file axis.
9421 2014-06-12 Tom Tromey <tromey@redhat.com>
9423 * gdb.base/completion.exp: Don't use directory name in test.
9425 2014-06-09 Gary Benson <gbenson@redhat.com>
9427 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9428 separate the always-available ANSI-standard signals from the
9429 signals that require checking.
9431 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9435 2014-06-07 Keith Seitz <keiths@redhat.com>
9439 * gdb.cp/var-tag.cc: New file.
9440 * gdb.cp/var-tag.exp: New file.
9441 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9442 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9443 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9444 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9446 2014-06-06 Doug Evans <xdje42@gmail.com>
9448 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9450 2014-06-06 Pedro Alves <palves@redhat.com>
9452 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9453 in target debug output instead of looking at RSP packets,
9454 disabling the test on any target that uses hardware stepping.
9457 2014-06-06 Pedro Alves <palves@redhat.com>
9459 * gdb.base/break-unload-file.exp: Fix typo.
9461 2014-06-06 Yao Qi <yao@codesourcery.com>
9463 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9464 from "jit_function" to "^jit_function".
9466 2014-06-06 Yao Qi <yao@codesourcery.com>
9468 * gdb.base/async.c (foo): Add one statement.
9469 * gdb.base/async.exp: Get the next instruction address and
9470 match the output of "nexti" by instruction address. Match
9471 the hex address in the output of "finish".
9473 2014-06-06 Gary Benson <gbenson@redhat.com>
9475 * gdb.base/call-signals.c: Remove preprocessor conditionals
9476 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9477 SIGSEGV and SIGTERM.
9478 * gdb.base/sigall.c: Likewise.
9479 * gdb.base/unwindonsignal.c: Likewise.
9480 * gdb.reverse/sigall-reverse.c: Likewise.
9482 2014-06-06 Yao Qi <yao@codesourcery.com>
9484 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9485 readable, skip the test.
9487 2014-06-06 Yao Qi <yao@codesourcery.com>
9489 * gdb.threads/staticthreads.c (thread_function): Move the line
9490 setting breakpoint on forward.
9491 * gdb.threads/staticthreads.exp: Update comments.
9493 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9495 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9496 "history-append! type error".
9498 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9500 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9501 erroneous dprintf expected input.
9503 2014-06-04 Doug Evans <xdje42@gmail.com>
9505 * gdb.guile/scm-generics.exp: Delete.
9507 2014-06-04 Doug Evans <xdje42@gmail.com>
9509 * gdb.guile/scm-breakpoint.exp: Update.
9510 Add tests for breakpoint registration.
9512 2014-06-04 Tom Tromey <tromey@redhat.com>
9514 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9516 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9517 inner_vla_struct, vla_union types. Initialize objects of those
9518 types and compute their sizes.
9520 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9521 Hui Zhu <hui@codesourcery.com>
9523 * gdb.base/fileio.exp: Add test for shell not available as well as
9525 * gdb.base/fileio.c (test_system): Check for shell twice.
9527 2014-06-04 Yao Qi <yao@codesourcery.com>
9529 * gdb.base/auto-connect-native-target.exp: Remove redundant
9530 space from the regexp pattern.
9532 2014-06-04 Yao Qi <yao@codesourcery.com>
9534 * gdb.base/default.exp: Replace "child" with "native" in
9537 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9539 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9540 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9541 * gdb.python/py-xmethods.py: Python script supporting the
9542 new testcase and tests.
9544 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9545 Pedro Alves <palves@redhat.com>
9547 PR breakpoints/17000
9548 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9549 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9551 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9553 * gdb.base/subst.exp: Add tests to verify partial path matching
9556 2014-06-03 Pedro Alves <palves@redhat.com>
9558 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9559 target that doesn't use software single-stepping.
9561 2014-06-03 Pedro Alves <palves@redhat.com>
9563 PR breakpoints/17000
9564 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9565 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9567 2014-06-02 Doug Evans <xdje42@gmail.com>
9569 * gdb.guile/scm-parameter.exp: New file.
9571 2014-06-02 Doug Evans <xdje42@gmail.com>
9573 * gdb.guile/scm-cmd.c: New file.
9574 * gdb.guile/scm-cmd.exp: New file.
9576 2014-06-02 Doug Evans <xdje42@gmail.com>
9578 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9579 pretty-printer lookup.
9580 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9581 (make-pp_s-printer): Call it.
9582 (make-pretty-printer-from-dict): New function.
9583 (lookup-pretty-printer-maker-from-dict): New function.
9584 (*pretty-printer*): Simplify.
9585 (make-objfile-pp_s-printer): New function.
9586 (install-objfile-pretty-printers!): New function.
9587 (make-progspace-pp_s-printer): New function.
9588 (install-progspace-pretty-printers!): New function.
9589 * gdb.guile/scm-progspace.c: New file.
9590 * gdb.guile/scm-progspace.exp: New file.
9592 2014-06-02 Pedro Alves <palves@redhat.com>
9594 * gdb.base/dprintf-bp-same-addr.c: New file.
9595 * gdb.base/dprintf-bp-same-addr.exp: New file.
9597 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9599 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9600 * gdb.arch/powerpc-power.s: Likewise.
9602 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9604 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9606 2014-06-01 Yao Qi <yao@codesourcery.com>
9608 * gdb.base/watchpoint.exp (test_watch_location): Check null
9609 pointer can be dereferenced. If not, do the test, otherwise
9612 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9614 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9616 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9618 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9620 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9621 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9622 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9623 * gdb.arch/amd64-invalid-stack-top.c: New file.
9624 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9626 2014-05-30 Pedro Alves <palves@redhat.com>
9628 PR breakpoints/17000
9629 * gdb.base/sss-bp-on-user-bp.c: New file.
9630 * gdb.base/sss-bp-on-user-bp.exp: New file.
9632 2014-05-30 David Blaikie <dblaikie@gmail.com>
9634 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9635 gnu_inline semantics via attribute.
9636 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9637 source explicitly specifies the required semantics.
9639 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9641 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9643 2014-05-29 Pedro Alves <palves@redhat.com>
9644 Tom Tromey <tromey@redhat.com>
9646 * gdb.base/async-shell.exp: Don't enable target-async.
9647 * gdb.base/async.exp
9648 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9650 (top level): Don't test with "target-async".
9651 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9652 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9653 * gdb.base/inferior-died.exp: Don't enable target-async.
9654 * gdb.base/interrupt-noterm.exp: Likewise.
9655 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9656 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9657 * gdb.mi/mi-nonstop.exp: Likewise.
9658 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9659 * gdb.mi/mi-nsintrall.exp: Likewise.
9660 * gdb.mi/mi-nsmoribund.exp: Likewise.
9661 * gdb.mi/mi-nsthrexec.exp: Likewise.
9662 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9663 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9664 * gdb.python/py-evsignal.exp: Don't enable target-async.
9665 * gdb.python/py-evthreads.exp: Likewise.
9666 * gdb.python/py-prompt.exp: Likewise.
9667 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9668 * gdb.server/solib-list.exp: Don't enable target-async.
9669 * gdb.threads/thread-specific-bp.exp: Likewise.
9670 * lib/mi-support.exp: Adjust to use mi-async.
9672 2014-05-29 Pedro Alves <palves@redhat.com>
9675 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9676 reason, even in sync mode.
9678 2014-05-29 Pedro Alves <palves@redhat.com>
9679 Hui Zhu <hui@codesourcery.com>
9682 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9683 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9684 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9685 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9687 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9689 * config/monitor.exp (gdb_target_monitor): Replace use of
9690 "set remotebaud" by "set serial baud".
9692 2014-05-26 Andy Wingo <wingo@igalia.com>
9694 * gdb.guile/scm-breakpoint.exp:
9695 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9696 properties instead of gdb-object-properties.
9698 2014-05-26 Yao Qi <yao@codesourcery.com>
9700 * gdb.server/no-thread-db.exp: Specify source file name
9701 explicitly when setting a breakpoint.
9703 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9705 * gdb.btrace/vdso.c: New.
9706 * gdb.btrace/vdso.exp: New.
9708 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9710 * gdb.base/gcore.exp (capture_command_output): Move ...
9711 * lib/gdb.exp (capture_command_output): ... here.
9713 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9715 * gdb.btrace/data.exp: Test memory access during btrace replay.
9717 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9719 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9721 2014-05-21 Pedro Alves <palves@redhat.com>
9724 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9725 (top level): Test that output related to execution commands is
9726 sent to the console with CLI commands, but not with MI commands.
9727 Test that breakpoint events are always mirrored to the console.
9728 Also expect the new source line to be output after a "next" in
9729 async mode too. Make it a pass/fail test.
9730 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9732 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9734 2014-05-21 Pedro Alves <palves@redhat.com>
9736 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9737 Use them to test variations of "list" after reaching a breakpoint.
9738 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9739 Test "list" with listsize 10 after reaching a breakpoint.
9740 * gdb.python/python.exp (decode_line current location line
9741 number): Adjust expected line number.
9743 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9745 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9746 behavior for $args, pass it directly to "run".
9748 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9750 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9753 2014-05-21 Pedro Alves <palves@redhat.com>
9755 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9756 auto-connect-native-target off".
9757 * gdb.base/auto-connect-native-target.c: New file.
9758 * gdb.base/auto-connect-native-target.exp: New file.
9760 2014-05-21 Pedro Alves <palves@redhat.com>
9762 * gdb.base/default.exp: Test "target native" instead of "target
9765 2014-05-21 Mark Wielaard <mjw@redhat.com>
9767 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9769 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9771 Fix TLS access for -static -pthread.
9772 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9773 <HAVE_TLS> (thread_function, main): Initialize it.
9774 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9776 <$have_tls != "">: Check TLSVAR.
9778 2014-05-21 Pedro Alves <palves@redhat.com>
9780 * gdb.base/dcache-line-read-error.c: New.
9781 * gdb.base/dcache-line-read-error.exp: New.
9783 2014-05-20 Pedro Alves <palves@redhat.com>
9785 * gdb.base/compare-sections.c: New file.
9786 * gdb.base/compare-sections.exp: New file.
9788 2014-05-20 Pedro Alves <palves@redhat.com>
9790 * gdb.base/break-idempotent.c: New file.
9791 * gdb.base/break-idempotent.exp: New file.
9793 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9795 * gdb.btrace/nohist.exp: New.
9797 2014-05-20 Yao Qi <yao@codesourcery.com>
9799 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9800 gdb.reverse directory and gdb_reverse_timeout exists in board
9802 * README: Document gdb_reverse_timeout.
9804 2014-05-20 Yao Qi <yao@codesourcery.com>
9806 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9807 'test_file_name'. Treat args as a string instead of a list.
9808 (gdb_init): Rename argument 'args' by 'test_file_name'.
9810 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9812 * gdb.arch/powerpc-power.exp: New file.
9813 * gdb.arch/powerpc-power.s: New file.
9815 2014-05-16 Doug Evans <dje@google.com>
9817 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9818 * gdb.base/completion.exp: Check that all expected files exist
9819 before doing file completion.
9821 2014-05-16 Doug Evans <dje@google.com>
9823 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9825 (do_syscall_tests_without_xml): Update.
9827 2014-05-16 Pedro Alves <palves@redhat.com>
9829 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9830 instead of "unknown output after running".
9832 2014-05-16 Yao Qi <yao@codesourcery.com>
9834 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9835 file1.txt from host at the end.
9836 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9838 2014-05-15 Doug Evans <dje@google.com>
9840 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9841 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9842 loading file. Add test for TU lookup.
9844 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9846 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9847 calling "-exec-arguments" or "set args" before running the
9850 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9852 * lib/mi-support.exp (mi_expect_stop): Expect message for
9853 inferiors that exit with non-zero exit code.
9855 2014-05-14 Yao Qi <yao@codesourcery.com>
9857 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9858 match absolute path on remote host.
9859 (test_file_list_exec_source_files): Remove "/" from the
9862 2014-05-14 Yao Qi <yao@codesourcery.com>
9864 * boards/local-remote-host-notty.exp (${board}_file): New
9867 2014-05-07 Kyle McMartin <kyle@redhat.com>
9869 Pushed by Joel Brobecker <brobecker@adacore.com>.
9870 * gdb.arch/aarch64-atomic-inst.c: New file.
9871 * gdb.arch/aarch64-atomic-inst.exp: New file.
9873 2014-05-07 Yao Qi <yao@codesourcery.com>
9875 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9876 in current context" too.
9878 2014-05-05 Keith Seitz <keiths@redhat.com>
9880 * gdb.linespec/ls-dollar.exp: Add test for linespec
9881 file:convenience_variable.
9883 2014-05-05 Yao Qi <yao@codesourcery.com>
9885 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9886 traceframes into tfile and ctf trace files. Read data from
9887 trace file and test collected data.
9888 (gdb_collect_locals_test): Likewise.
9889 (gdb_unavailable_registers_test): Likewise.
9890 (gdb_unavailable_floats): Likewise.
9891 (gdb_collect_globals_test): Likewise.
9892 (top-level): Append "ctf" to trace_file_targets if GDB
9895 2014-05-05 Yao Qi <yao@codesourcery.com>
9897 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9899 (gdb_collect_args_test_1): ... it. New proc.
9900 (gdb_collect_locals_test): Move some code to ...
9901 (gdb_collect_locals_test_1): ... it. New proc.
9902 (gdb_unavailable_registers_test): Move some code to ...
9903 (gdb_unavailable_registers_test_1): ... it. New proc.
9904 (gdb_unavailable_floats): Move some code to ...
9905 (gdb_unavailable_floats_1): ... it. New proc.
9907 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9909 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9910 probes to test for bitness recognition.
9911 * gdb.arch/amd64-stap-optional-prefix.exp
9912 (test_probe_value_without_reg): New procedure.
9913 Add code to test for different kinds of bitness.
9915 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9917 PR breakpoints/16889
9918 * gdb.arch/amd64-stap-optional-prefix.S: New file.
9919 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9921 2014-05-01 Pedro Alves <palves@redhat.com>
9923 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
9924 gdb_file_cmd if no file is specified.
9925 * boards/native-extended-gdbserver.exp (gdb_load): Use the
9926 last_loaded_file to set the remote exec-file.
9928 2014-05-01 Pedro Alves <palves@redhat.com>
9930 * boards/local-remote-host.exp: New file.
9932 2014-05-01 Pedro Alves <palves@redhat.com>
9934 * boards/local-remote-host.exp: Rename to ...
9935 * boards/local-remote-host-notty.exp: ... this.
9937 2014-04-28 Joel Brobecker <brobecker@adacore.com>
9939 * gdb.ada/dyn_arrayidx: New testcase.
9941 2014-04-26 Yao Qi <yao@codesourcery.com>
9943 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
9944 and compute the length of function main. Save it in
9946 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
9947 (top-level): Use gdb_compile to compile objects into
9948 executable and restart GDB. Remove invocation to
9949 prepare_for_testing.
9951 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
9952 Pedro Alves <palves@redhat.com>
9955 * gdb.multi/multi-attach.c: New file.
9956 * gdb.multi/multi-attach.exp: New file.
9958 2014-04-25 Pedro Alves <palves@redhat.com>
9960 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
9962 (top level): Test that "set remote conditional-breakpoints-packet
9963 off" works as intended.
9964 * gdb.base/dprintf.exp: Test that "set remote
9965 breakpoint-commands-packet off" works as intended.
9966 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
9968 (top level): Call it.
9969 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
9970 remote fast-tracepoints-packet off" works as intended.
9971 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
9972 * lib/gdb.exp (gdb_is_target_remote): ... here.
9974 2014-04-24 David Blaikie <dblaikie@gmail.com>
9976 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
9977 ensure clang would not discard them.
9978 * gdb.base/gdbvars.c: Ditto.
9979 * gdb.base/memattr.c: Ditto.
9980 * gdb.base/whatis.c: Ditto.
9981 * gdb.python/py-prettyprint.c: Ditto.
9982 * gdb.trace/actions.c: Ditto.
9983 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9984 ensure clang would not discard it.
9986 2014-04-24 David Blaikie <dblaikie@gmail.com>
9988 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9989 clang to emit the full definition of type required by the test
9990 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9992 2014-04-24 David Blaikie <dblaikie@gmail.com>
9994 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9995 coax Clang into emitting the definition of the type.
9996 * gdb.cp/pr10728-x.h (y): Ditto.
9997 * gdb.cp/pr10728-y.cc (y): Ditto.
9999 2014-04-24 David Blaikie <dblaikie@gmail.com>
10001 * gdb.base/label.exp: XFAIL label related tests under Clang.
10002 * gdb.cp/cplabel.exp: Ditto.
10003 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10004 under Clang those using labels.
10006 2014-04-25 Yao Qi <yao@codesourcery.com>
10008 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10010 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10011 partial_label and double_label.
10013 2014-04-24 David Blaikie <dblaikie@gmail.com>
10015 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10017 2014-04-24 David Blaikie <dblaikie@gmail.com>
10019 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10020 of the function to work across GCC and Clang.
10021 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10022 pointer types (const void ** const V void **).
10024 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10025 Walfred Tedeschi <walfred.tedeschi@intel.com>
10027 * Makefile.in (EXECUTABLES): Added i386-avx512.
10028 * gdb.arch/i386-avx512.c: New file.
10029 * gdb.arch/i386-avx512.exp: Likewise.
10031 2014-04-23 Keith Seitz <keiths@redhat.com>
10033 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10034 (mi_make_breakpoint_table): New procedure.
10035 (mi_create_breakpoint): Use mi_make_breakpoint
10036 and return the result.
10037 (mi_make_breakpoint): New procedure.
10038 (mi_build_kv_pairs): New procedure.
10040 * gdb.mi/mi-break.exp: Remove unused globals,
10041 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10042 All callers updated.
10043 * gdb.mi/mi-dprintf.exp: Use variable to track command
10045 Update all callers of mi_create_breakpoint and use
10046 mi_make_breakpoint_table.
10047 Remove any unused global variables.
10048 * gdb.mi/mi-nonstop.exp: Likewise.
10049 * gdb.mi/mi-nsintrall.exp: Likewise.
10050 * gdb.mi/mi-nsmoribund.exp: Likewise.
10051 * gdb.mi/mi-nsthrexec.exp: Likewise.
10052 * gdb.mi/mi-reverse.exp: Likewise.
10053 * gdb.mi/mi-simplerun.exp: Likewise.
10054 * gdb.mi/mi-stepn.exp: Likewise.
10055 * gdb.mi/mi-syn-frame.exp: Likewise.
10056 * gdb.mi/mi-until.exp: Likewise.
10057 * gdb.mi/mi-var-cp.exp: Likewise.
10058 * gdb.mi/mi-var-display.exp: Likewise.
10059 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10060 * gdb.mi/mi2-var-child.exp: Likewise.
10061 * gdb.mi/mi-vla-c99.exp: Likewise.
10062 * lib/mi-support.exp: Likewise.
10064 From Ian Lance Taylor <iant@cygnus.com>:
10065 * lib/gdb.exp (parse_args): New procedure.
10067 2014-04-23 Pedro Alves <palves@redhat.com>
10069 * gdb.base/break-unload-file.c: New file.
10070 * gdb.base/break-unload-file.exp: New file.
10071 * gdb.base/sym-file-lib.c (baz): New function.
10072 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10074 (load): Store the segment's mapped size.
10075 (unload): New function.
10076 (unload_shlib): New function.
10077 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10078 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10079 set a breakpoint at baz, and call it.
10080 * gdb.base/sym-file.exp: New tests for stale breakpoint
10083 2014-04-23 Pedro Alves <palves@redhat.com>
10085 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10086 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10087 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10088 * gdb.base/hbreak-unmapped.c: New file.
10089 * gdb.base/hbreak-unmapped.exp: New file.
10090 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10091 * lib/gdb.exp (gdb_is_target_remote): ... here.
10093 2014-04-22 Pedro Alves <palves@redhat.com>
10095 * gdb.base/consecutive-step-over.c: New file.
10096 * gdb.base/consecutive-step-over.exp: New file.
10098 2014-04-22 Pedro Alves <palves@redhat.com>
10100 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10101 instead of send_gdb/gdb_expect.
10103 2014-04-22 Yao Qi <yao@codesourcery.com>
10105 * lib/trace-support.exp (generate_tracefile): New procedure.
10106 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10108 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10109 if generate_tracefile returns 1.
10111 2014-04-18 Tom Tromey <palves@redhat.com>
10112 Pedro alves <tromey@redhat.com>
10115 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10116 with a backtrace limit.
10117 * gdb.python/py-frame-inline.exp: Test running to an inline
10118 function with a backtrace limit, and printing the newest frame.
10119 * gdb.python/py-frame-inline.c (main): Call f.
10121 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10123 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10125 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10127 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10128 Drop prefix from unsupported source file path.
10130 2014-04-17 Yao Qi <yao@codesourcery.com>
10132 * lib/gdb.exp (with_target_charset): New proc.
10133 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10134 with_target_charset.
10135 (test_print_strings): Likewise.
10136 (test_repeat_bytes): Likewise.
10137 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10140 2014-04-16 Keith Seitz <keiths@redhat.com>
10143 * gdb.dwarf2/corrupt.c: New file.
10144 * gdb.dwarf2/corrupt.exp: New file.
10146 2014-04-16 Keith Seitz <keiths@redhat.com>
10149 * gdb.cp/namelessclass.cc: New file.
10150 * gdb.cp/namelessclass.exp: New file.
10151 * gdb.cp/namelessclass.S: New file.
10153 2014-04-16 Doug Evans <dje@google.com>
10155 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10157 (gdbserver_default_get_comm_port): New function.
10158 (gdbserver_start): Check if board file provided
10159 "gdbserver,get_comm_port" and use it if so.
10160 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10161 (gdb,socketport): Set to "stdio".
10162 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10163 (stdio_gdbserver_template): Delete.
10164 (${board}_get_remote_address): Update.
10165 (${board}_build_remote_cmd): Delete.
10166 (${board}_get_comm_port): New function.
10167 (${board}_spawn): Update.
10168 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10170 (${board}_get_remote_address): Update.
10171 (${board}_get_comm_port): New function.
10173 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10175 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10176 appearing in any order.
10178 2014-04-15 Doug Evans <dje@google.com>
10180 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10181 uninitialized value of "description".
10183 2014-04-15 Keith Seitz <keiths@redhat.com>
10185 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10186 Remove unused globals.
10187 (test_running_the_program): Likewise.
10188 (test_controlled_execution): Likewise.
10189 (test_controlling_breakpoints): Likewise.
10190 (test_program_termination): Likewise.
10192 2014-04-15 Keith Seitz <keiths@redhat.com>
10194 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10196 (test_rbreak_creation_and_listing): Likewise.
10197 (test_ignore_count): Likewise.
10198 (test_error): Likewise.
10200 2014-04-15 Pedro Alves <palves@redhat.com>
10202 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10203 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10205 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10206 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10207 to sym-file-loader.c.
10208 (struct library): Forward declare.
10209 (load_shlib, lookup_function): Change prototypes.
10210 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10211 (translate_offset): Remove declarations.
10212 (get_text_addr): New declaration.
10213 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10214 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10216 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10217 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10218 here from sym-file-loader.h.
10219 (struct library): New structure.
10220 (load_shlib, lookup_function): Change prototypes and adjust to
10221 work with a struct library.
10222 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10223 (translate_offset): Make static.
10224 (get_text_addr): New function.
10225 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10227 2014-04-15 Pedro Alves <palves@redhat.com>
10229 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10231 2014-04-15 Pedro Alves <palves@redhat.com>
10233 * gdb.base/sym-file-loader.c: Include <limits.h>.
10234 (SELF_LINK): New define.
10235 (get_origin): New function.
10236 (load_shlib): Use it.
10237 * gdb.base/sym-file.exp: Don't early return if the target is
10238 remote. Use runto_main, and issue fail is that fails. Use
10240 (shlib_name): Delete.
10241 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10243 2014-04-15 Pedro Alves <palves@redhat.com>
10245 * gdb.base/sym-file.exp: Remove regex characters from test
10246 message. Don't refer to breakpoint numbers in test messages.
10248 2014-04-14 Keith Seitz <keiths@redhat.com>
10251 * gdb.cp/var-tag.cc: New file.
10252 * gdb.cp/var-tag.exp: New file.
10253 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10254 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10255 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10256 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10258 2014-04-14 Tom Tromey <tromey@redhat.com>
10260 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10261 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10263 * gdb.cp/enum-class.exp: New file.
10264 * gdb.cp/enum-class.cc: New file.
10266 2014-04-14 Tom Tromey <tromey@redhat.com>
10268 * gdb.dwarf2/enum-type.exp: New file.
10270 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10272 * gdb.mi/mi-vla-c99.exp: New file.
10273 * gdb.mi/vla.c: New file.
10275 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10277 * gdb.base/vla-datatypes.c: New file.
10278 * gdb.base/vla-datatypes.exp: New file.
10280 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10282 * gdb.base/vla-ptr.c: New file.
10283 * gdb.base/vla-ptr.exp: New file.
10285 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10287 * gdb.dwarf2/count.exp: New file.
10289 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10291 * gdb.base/vla-sideeffect.c: New file.
10292 * gdb.base/vla-sideeffect.exp: New file.
10294 2014-04-14 David Blaikie <dblaikie@gmail.com>
10296 * gdb.mi/non-stop.c: Add return value for non-void function return
10298 * gdb.threads/staticthreads.c: Ditto.
10300 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10301 Doug Evans <xdje42@gmail.com>
10303 * gdb.guile/scm-value.c: Improve test case.
10304 * gdb.guile/scm-value.exp: Add new test.
10306 2014-04-11 David Blaikie <dblaikie@gmail.com>
10308 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10309 override Clang's default.
10311 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10313 Revert the following changes (regressions):
10315 * gdb.base/vla-sideeffect.c: New file.
10316 * gdb.base/vla-sideeffect.exp: New file.
10318 * gdb.dwarf2/count.exp: New file.
10320 * gdb.base/vla-multi.c: New file.
10321 * gdb.base/vla-multi.exp: New file.
10323 * gdb.base/vla-ptr.c: New file.
10324 * gdb.base/vla-ptr.exp: New file.
10326 * gdb.base/vla-datatypes.c: New file.
10327 * gdb.base/vla-datatypes.exp: New file.
10329 * gdb.mi/mi-vla-c99.exp: New file.
10330 * gdb.mi/vla.c: New file.
10332 2014-04-11 Keith Seitz <keiths@redhat.com>
10335 * gdb.cp/cpsizeof.exp: New file.
10336 * gdb.cp/cpsizeof.cc: New file.
10338 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10340 * gdb.mi/mi-vla-c99.exp: New file.
10341 * gdb.mi/vla.c: New file.
10343 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10345 * gdb.base/vla-datatypes.c: New file.
10346 * gdb.base/vla-datatypes.exp: New file.
10348 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10350 * gdb.base/vla-ptr.c: New file.
10351 * gdb.base/vla-ptr.exp: New file.
10353 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10355 * gdb.base/vla-multi.c: New file.
10356 * gdb.base/vla-multi.exp: New file.
10358 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10360 * gdb.dwarf2/count.exp: New file.
10362 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10364 * gdb.base/vla-sideeffect.c: New file.
10365 * gdb.base/vla-sideeffect.exp: New file.
10367 2014-04-11 Yao Qi <yao@codesourcery.com>
10369 * gdb.base/completion.exp: Check file exists before running tests
10370 on file completion.
10372 2014-04-10 Pedro Alves <palves@redhat.com>
10374 * gdb.base/cond-eval-mode.c: New file.
10375 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10376 prepare_for_testing to build the new file. Check result of
10378 (test_break, test_watch): New procedures.
10379 (top level): Use them.
10381 2014-04-08 Pierre Muller <muller@sourceware.org>
10383 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10384 Ctrl-V use for mingw hosts.
10386 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10388 * gdb.python/py-value.c: Improve test case.
10389 * gdb.python/py-value.exp: Add new test.
10391 2014-04-07 David Blaikie <dblaikie@gmail.com>
10393 * lib/compiler.c: Identify the clang compiler.
10394 * lib/compiler.cc: Ditto.
10396 2014-04-03 Yao Qi <yao@codesourcery.com>
10398 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10400 2014-04-01 Anton Blanchard <anton@samba.org>
10402 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10405 2014-04-01 Anton Blanchard <anton@samba.org>
10407 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10408 prepare_for_testing.
10410 2014-04-01 Anton Blanchard <anton@samba.org>
10412 * gdb.arch/ppc64-atomic-inst.c: Remove.
10413 * gdb.arch/ppc64-atomic-inst.S: New file.
10414 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10416 2014-03-31 Doug Evans <dje@google.com>
10418 * gdb.base/print-symbol-loading-lib.c: New file.
10419 * gdb.base/print-symbol-loading-main.c: New file.
10420 * gdb.base/print-symbol-loading.exp: New file.
10422 2014-03-31 Yao Qi <yao@codesourcery.com>
10424 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10426 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10428 * gdb.ada/mi_dyn_arr: New testcase.
10430 2014-03-27 Doug Evans <dje@google.com>
10432 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10434 2014-03-27 Yao Qi <yao@codesourcery.com>
10436 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10437 if target is nios2-*-*.
10439 2014-03-26 Yao Qi <yao@codesourcery.com>
10441 * lib/gdb.exp (readline_is_used): New proc.
10442 * gdb.base/completion.exp: Move tests on command complete up.
10443 Skip the rest of tests if readline is not used.
10444 * gdb.ada/complete.exp: Skp the test if readline is not
10446 * gdb.base/filesym.exp: Likewise.
10447 * gdb.base/macscp.exp: Likewise.
10448 * gdb.base/readline-ask.exp: Likewise.
10449 * gdb.base/readline.exp: Likewise.
10450 * gdb.python/py-cmd.exp: Likewise.
10451 * gdb.trace/tfile.exp: Likewise.
10453 2014-03-26 Yao Qi <yao@codesourcery.com>
10455 * gdb.base/macscp.exp: Fix code format issues.
10457 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10459 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10460 * gdb.asm/powerpc64le.inc: New file.
10462 2014-03-25 Pedro Alves <palves@redhat.com>
10463 Doug Evans <dje@google.com>
10465 * gdb.base/source-execution.c: New file.
10466 * gdb.base/source-execution.exp: New file.
10467 * gdb.base/source-execution.gdb: New file.
10469 2014-03-24 Doug Evans <dje@google.com>
10471 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10474 2014-03-24 Hui Zhu <hui@codesourcery.com>
10475 Pedro Alves <palves@redhat.com>
10477 PR breakpoints/16101
10478 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10479 test pass/fail messages. Detect missing support for dprintf when
10480 breakpoints are actually inserted.
10481 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10482 breakpoints are actually inserted.
10483 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10486 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10488 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10490 2014-03-22 Doug Evans <xdje42@gmail.com>
10492 * gdb.python/python.exp (python not supported): Verify multi-line
10493 python command issues an error.
10494 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10495 guile command issues an error.
10497 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10499 * gdb.threads/thread-specific.exp: Handle the lack of usable
10500 $this_breakpoint and $this_thread.
10502 2014-03-21 Hui Zhu <hui@codesourcery.com>
10504 * gdb.base/attach.exp (do_command_attach_tests): New.
10506 2014-03-20 Tom Tromey <tromey@redhat.com>
10507 Pedro Alves <palves@redhat.com>
10510 * gdb.base/condbreak-call-false.c: New file.
10511 * gdb.base/condbreak-call-false.exp: New file.
10513 2014-03-20 Pedro Alves <palves@redhat.com>
10515 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10517 (block_signals, unblock_signals): Delete.
10518 (child_function_2, main): Remove references to deleted variable
10521 2014-03-20 Pedro Alves <palves@redhat.com>
10523 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10524 Use pthread_kill to signal thread 2.
10525 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10526 Adjust to make the test send itself a signal rather than using the
10527 host's "kill" command.
10529 2014-03-20 Pedro Alves <palves@redhat.com>
10531 * gdb.threads/multiple-step-overs.c: New file.
10532 * gdb.threads/multiple-step-overs.exp: New file.
10533 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10534 Adjust expected infrun debug output.
10536 2014-03-20 Pedro Alves <palves@redhat.com>
10538 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10539 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10541 2014-03-20 Pedro Alves <palves@redhat.com>
10543 PR breakpoints/7143
10544 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10545 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10546 of gdb_test_multiple.
10547 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10548 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10550 2014-03-20 Pedro Alves <palves@redhat.com>
10552 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10553 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10555 2014-03-19 Pedro Alves <palves@redhat.com>
10557 * gdb.base/async.exp: Remove early return.
10559 2014-03-19 Pedro Alves <palves@redhat.com>
10561 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10563 2014-03-19 Pedro Alves <palves@redhat.com>
10565 * gdb.base/async.exp (test_background): Expect \r\n after
10566 "completed." in the fail pattern.
10568 2014-03-19 Pedro Alves <palves@redhat.com>
10570 * gdb.base/async.exp (test_background): New procedure.
10571 Use it for all background execution command tests.
10573 2014-03-19 Pedro Alves <palves@redhat.com>
10575 * gdb.base/async.exp: Use prepare_for_testing.
10577 2014-03-19 Pedro Alves <palves@redhat.com>
10579 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10582 2014-03-19 Pedro Alves <palves@redhat.com>
10584 * gdb.base/async.c (main): Add "jump here" and "until here" line
10586 * gdb.base/async.exp (jump_here): New global.
10587 (jump& test): Use it.
10588 (until_here): New global.
10589 (until& test): Use it.
10591 2014-03-19 Pedro Alves <palves@redhat.com>
10593 * gdb.base/async.exp: Don't frob gdb_protocol.
10595 2014-03-18 Doug Evans <xdje42@gmail.com>
10597 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10598 Fix spelling of exec-done-display.
10600 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10603 * gdb.base/gdb-sigterm.c: New file.
10604 * gdb.base/gdb-sigterm.exp: New file.
10606 2014-03-18 Pedro Alves <palves@redhat.com>
10609 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10610 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10613 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10615 * gdb.ada/pckd_arr_ren: New testcase.
10617 2014-03-13 Doug Evans <xdje42@gmail.com>
10620 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10621 collect after discarding symbols.
10623 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10624 Doug Evans <xdje42@gmail.com>
10626 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10627 to history survives a gc.
10629 2014-03-13 Pedro Alves <palves@redhat.com>
10631 * gdb.base/default.exp: Don't test "target procfs".
10633 2014-03-13 Pedro Alves <palves@redhat.com>
10635 * gdb.base/default.exp: Update "target child" and "target procfs"
10636 tests to not expect "Unix".
10638 2014-03-12 Tom Tromey <tromey@redhat.com>
10640 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10641 New procs. Add target-async tests.
10642 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10643 Add target-async tests.
10645 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10647 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10648 'func_start' and 'func_end' for the beginning and end of the
10649 function code, respectively.
10650 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10651 'func_end' instead of 'func' and 'main'.
10653 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10655 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10656 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10657 generate the debug info assembler source.
10659 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10661 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10662 * gdb.dwarf2/arr-subrange.exp: Likewise.
10663 * gdb.dwarf2/dwz.exp: Likewise.
10664 * gdb.dwarf2/method-ptr.exp: Likewise.
10665 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10666 * gdb.dwarf2/subrange.exp: Likewise.
10667 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10668 * gdb.dwarf2/implptrpiece.exp: Likewise.
10669 * gdb.dwarf2/nostaticblock.exp: Likewise.
10671 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10673 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10674 directory to absolute path name arguments.
10676 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10678 * gdb.ada/tagged_access: New testcase.
10680 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10682 * gdb.btrace/data.exp: Update expected output.
10684 2014-03-06 Yao Qi <yao@codesourcery.com>
10686 * gdb.trace/pr16508.exp: New file.
10688 2014-03-05 Pedro Alves <palves@redhat.com>
10691 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10693 (top level): Adjust to use it. Add tests that exercise breakpoint
10694 interaction with the code-cache.
10696 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10698 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10699 test for 'history-append!'.
10701 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10703 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10704 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10705 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10706 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10707 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10708 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10710 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10712 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10713 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10714 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10716 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10718 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10720 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10722 * gdb.dwarf2/arr-stride.c: New file.
10723 * gdb.dwarf2/arr-stride.exp: New file.
10725 2014-02-26 Pedro Alves <palves@redhat.com>
10727 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10728 that won't ever trigger. Make sure that GDB reports the correct
10729 breakpoint that caused the stop.
10731 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10734 * gdb.base/auto-load-script: New file.
10735 * gdb.base/auto-load.c: New file.
10736 * gdb.base/auto-load.exp: New file.
10739 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10741 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10743 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10744 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10746 2014-02-24 Doug Evans <dje@google.com>
10748 * lib/gdb.exp (run_on_host): Log error output if program fails.
10750 2014-02-21 Pedro Alves <palves@redhat.com>
10752 * gdb.threads/step-after-sr-lock.c: Rename to ...
10753 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10754 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10755 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10758 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10761 * gdb.arch/amd64-stap-special-operands.exp: New file.
10762 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10763 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10764 * gdb.arch/amd64-stap-triplet.S: Likewise.
10765 * gdb.arch/amd64-stap-triplet.c: Likewise.
10767 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10769 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10770 in .section pseudo-op.
10772 2014-02-20 lin zuojian <manjian2006@gmail.com>
10773 Joel Brobecker <brobecker@adacore.com>
10774 Doug Evans <xdje42@gmail.com>
10777 * gdb.dwarf2/dw2-icycle.S: New file.
10778 * gdb.dwarf2/dw2-icycle.c: New file.
10779 * gdb.dwarf2/dw2-icycle.exp: New file.
10781 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10783 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10784 operations on gdb.Value objects.
10785 * gdb.python/py-value-cc.exp: Add new test to test operations on
10788 2014-02-18 Doug Evans <dje@google.com>
10790 * Makefile.in (TESTS): New variable.
10791 (expanded_tests, expanded_tests_or_none): New variables
10792 (check-single): Pass $(expanded_tests_or_none) to runtest.
10793 (check-parallel): Only run tests in $(TESTS) if non-empty.
10794 (check/no-matching-tests-found): New rule.
10795 * README: Document TESTS makefile variable.
10797 2014-02-18 Doug Evans <dje@google.com>
10799 * Makefile.in (check-parallel): rm -rf outputs temp.
10801 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10803 Fix "ERROR: no fileid for" in the testsuite.
10804 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10806 2014-02-12 Doug Evans <dje@google.com>
10808 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10809 (MISCELLANEOUS): New variable.
10810 (clean): rm -rf $(MISCELLANEOUS).
10811 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10812 dwp live in the same directory as symlinks, with each symlink pointed
10813 to a differently named file in a different directory.
10815 2014-02-11 Doug Evans <dje@google.com>
10817 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10818 of Tcl file commands.
10820 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10822 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10823 "kill -SIGUSR1 -1".
10825 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10827 * gdb.ada/tick_length_array_enum_idx: New testcase.
10829 2014-02-10 Doug Evans <xdje42@gmail.com>
10831 * configure.ac (AC_OUTPUT): Add gdb.guile.
10832 * configure: Regenerate.
10833 * lib/gdb-guile.exp: New file.
10834 * lib/gdb.exp (get_target_charset): New function.
10835 * gdb.base/help.exp: Update expected output from "apropos apropos".
10836 * gdb.guile/Makefile.in: New file.
10837 * gdb.guile/guile.exp: New file.
10838 * gdb.guile/scm-arch.c: New file.
10839 * gdb.guile/scm-arch.exp: New file.
10840 * gdb.guile/scm-block.c: New file.
10841 * gdb.guile/scm-block.exp: New file.
10842 * gdb.guile/scm-breakpoint.c: New file.
10843 * gdb.guile/scm-breakpoint.exp: New file.
10844 * gdb.guile/scm-disasm.c: New file.
10845 * gdb.guile/scm-disasm.exp: New file.
10846 * gdb.guile/scm-equal.c: New file.
10847 * gdb.guile/scm-equal.exp: New file.
10848 * gdb.guile/scm-error.exp: New file.
10849 * gdb.guile/scm-error.scm: New file.
10850 * gdb.guile/scm-frame-args.c: New file.
10851 * gdb.guile/scm-frame-args.exp: New file.
10852 * gdb.guile/scm-frame-args.scm: New file.
10853 * gdb.guile/scm-frame-inline.c: New file.
10854 * gdb.guile/scm-frame-inline.exp: New file.
10855 * gdb.guile/scm-frame.c: New file.
10856 * gdb.guile/scm-frame.exp: New file.
10857 * gdb.guile/scm-generics.exp: New file.
10858 * gdb.guile/scm-gsmob.exp: New file.
10859 * gdb.guile/scm-iterator.c: New file.
10860 * gdb.guile/scm-iterator.exp: New file.
10861 * gdb.guile/scm-math.c: New file.
10862 * gdb.guile/scm-math.exp: New file.
10863 * gdb.guile/scm-objfile-script-gdb.in: New file.
10864 * gdb.guile/scm-objfile-script.c: New file.
10865 * gdb.guile/scm-objfile-script.exp: New file.
10866 * gdb.guile/scm-objfile.c: New file.
10867 * gdb.guile/scm-objfile.exp: New file.
10868 * gdb.guile/scm-ports.exp: New file.
10869 * gdb.guile/scm-pretty-print.c: New file.
10870 * gdb.guile/scm-pretty-print.exp: New file.
10871 * gdb.guile/scm-pretty-print.scm: New file.
10872 * gdb.guile/scm-section-script.c: New file.
10873 * gdb.guile/scm-section-script.exp: New file.
10874 * gdb.guile/scm-section-script.scm: New file.
10875 * gdb.guile/scm-symbol.c: New file.
10876 * gdb.guile/scm-symbol.exp: New file.
10877 * gdb.guile/scm-symtab-2.c: New file.
10878 * gdb.guile/scm-symtab.c: New file.
10879 * gdb.guile/scm-symtab.exp: New file.
10880 * gdb.guile/scm-type.c: New file.
10881 * gdb.guile/scm-type.exp: New file.
10882 * gdb.guile/scm-value-cc.cc: New file.
10883 * gdb.guile/scm-value-cc.exp: New file.
10884 * gdb.guile/scm-value.c: New file.
10885 * gdb.guile/scm-value.exp: New file.
10886 * gdb.guile/source2.scm: New file.
10887 * gdb.guile/types-module.cc: New file.
10888 * gdb.guile/types-module.exp: New file.
10890 2014-02-10 Yao Qi <yao@codesourcery.com>
10893 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10894 * configure: Regenerated.
10895 * Makefile.in: New file.
10897 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10899 * gdb.python/py-framefilter.exp: Fix typo.
10901 2014-02-08 Yao Qi <yao@codesourcery.com>
10903 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10904 that no =breakpoint-modified is emitted when breakpoints are
10905 modified through MI commands.
10907 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10908 Pedro Alves <palves@redhat.com>
10910 * gdb.threads/step-after-sr-lock.c: New file.
10911 * gdb.threads/step-after-sr-lock.exp: New file.
10913 2014-02-07 Pedro Alves <palves@redhat.com>
10915 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10917 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10919 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
10920 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
10922 2014-02-06 Doug Evans <xdje42@gmail.com>
10924 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
10927 * gdb.gdb/python-interrupts.exp: New file.
10929 2014-02-05 Yao Qi <yao@codesourcery.com>
10931 * gdb.trace/report.exp (use_collected_data): Test the output
10932 of "info threads" and "info inferiors".
10934 2014-02-05 Yao Qi <yao@codesourcery.com>
10938 2013-05-24 Yao Qi <yao@codesourcery.com>
10940 * gdb.trace/tfile.exp: Test inferior and thread.
10942 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10944 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
10946 * gdb.base/step-bt.c: Call hello via function pointer to make
10947 sure its first instruction is executed on powerpc64le-linux.
10949 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10951 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
10953 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10955 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
10956 of the test patterns for use on little-endian systems.
10958 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10960 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
10961 (decimal_vector): Fix for little-endian.
10963 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10965 * gdb.arch/sparc-sysstep.exp: New file.
10966 * gdb.arch/sparc-sysstep.c: Likewise.
10968 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
10970 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10972 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
10974 2014-01-23 Tom Tromey <tromey@redhat.com>
10976 * gdb.ada/array_char_idx: New testcase.
10978 2014-01-23 Tom Tromey <tromey@redhat.com>
10981 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10982 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10985 2014-01-23 Tom Tromey <tromey@redhat.com>
10988 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10989 string from an inferior frame.
10990 * gdb.python/py-framefilter-mi.exp: Update.
10992 2014-01-22 Doug Evans <dje@google.com>
10994 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10996 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10998 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11000 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11002 * gdb.trace/entry-values.exp: Remove excess space character from
11003 regex patterns. Handle s390 call instruction.
11005 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11007 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11008 define "*_start" label. Make "name" static.
11009 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11010 ${name} by references to ${name}_start.
11012 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11014 * gdb.base/info-macros.exp: Remove "debug" from the compile
11017 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11019 * gdb.dlang/demangle.exp: New file.
11021 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11023 * gdb.dlang/primitive-types.exp: New file.
11025 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11027 * configure.ac: Create gdb.dlang/Makefile.
11028 * configure: Regenerate.
11029 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11030 * gdb.dlang/Makefile.in: New file.
11031 * lib/d-support.exp: New file.
11032 * lib/gdb.exp (skip_d_tests): New proc.
11034 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11036 * gdb.btrace/delta.exp: Check reverse stepi.
11037 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11038 * gdb.btrace/finish.exp: New.
11039 * gdb.btrace/next.exp: New.
11040 * gdb.btrace/nexti.exp: New.
11041 * gdb.btrace/record_goto.c: Add comments.
11042 * gdb.btrace/step.exp: New.
11043 * gdb.btrace/stepi.exp: New.
11044 * gdb.btrace/multi-thread-step.c: New.
11045 * gdb.btrace/multi-thread-step.exp: New.
11046 * gdb.btrace/rn-dl-bind.c: New.
11047 * gdb.btrace/rn-dl-bind.exp: New.
11048 * gdb.btrace/data.c: New.
11049 * gdb.btrace/data.exp: New.
11050 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11052 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11054 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11055 * gdb.btrace/exception.exp: Update.
11056 * gdb.btrace/instruction_history.exp: Update.
11057 * gdb.btrace/record_goto.exp: Update.
11058 * gdb.btrace/tailcall.exp: Update.
11059 * gdb.btrace/unknown_functions.exp: Update.
11060 * gdb.btrace/delta.exp: New.
11062 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11064 * gdb.btrace/record_goto.exp: Add backtrace test.
11065 * gdb.btrace/tailcall.exp: Add backtrace test.
11067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11069 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11070 * gdb.btrace/record_goto.c: New.
11071 * gdb.btrace/record_goto.exp: New.
11072 * gdb.btrace/x86-record_goto.S: New.
11074 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11076 * gdb.btrace/function_call_history.exp: Update tests.
11077 * gdb.btrace/instruction_history.exp: Update tests.
11079 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11081 * gdb.btrace/function_call_history.exp: Fix expected field
11082 order for "record function-call-history".
11083 Add new tests for "record function-call-history /c".
11084 * gdb.btrace/exception.cc: New.
11085 * gdb.btrace/exception.exp: New.
11086 * gdb.btrace/tailcall.exp: New.
11087 * gdb.btrace/x86-tailcall.S: New.
11088 * gdb.btrace/x86-tailcall.c: New.
11089 * gdb.btrace/unknown_functions.c: New.
11090 * gdb.btrace/unknown_functions.exp: New.
11091 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11095 * gdb.btrace/instruction_history.exp: Update.
11096 * gdb.btrace/function_call_history.exp: Update.
11098 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11100 * gdb.btrace/function_call_history.exp: Fix expected function
11102 * gdb.btrace/instruction_history.exp: Initialize traced.
11103 Remove traced_functions.
11105 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11107 * gdb.btrace/function_call_history.exp: Update
11108 * gdb.btrace/instruction_history.exp: Update.
11110 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11112 * gdb.btrace/enable.exp: Update expected text.
11114 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11116 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11119 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11121 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11123 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11125 * lib/gdb.exp (supports_process_record): Return true for
11126 arm*-linux*. (supports_reverse): Likewise.
11128 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11132 * gdb.python/py-type.c: Enhance test case.
11133 * gdb.python/py-value-cc.cc: Likewise
11134 * gdb.python/py-type.exp: Add new tests.
11135 * gdb.python/py-value-cc.exp: Likewise
11137 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11138 Pedro Alves <palves@redhat.com>
11140 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11141 Make "name" extern.
11142 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11143 references to ${name}_start by references to ${name}.
11145 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11147 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11149 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11151 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11153 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11154 Pedro Alves <palves@redhat.com>
11156 * gdb.mi/mi-info-os.exp: Connect to the target with
11157 mi_gdb_target_load.
11159 2014-01-08 Pedro Alves <palves@redhat.com>
11161 * gdb.threads/reconnect-signal.c: New file.
11162 * gdb.threads/reconnect-signal.exp: New file.
11164 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11166 * gdb.base/source-dir.exp: New file.
11168 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11170 * gdb.ada/mi_interface: New testcase.
11172 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11174 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11175 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11176 gdb.ada/pp-rec-component/pck.ads: New files.
11178 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11180 * gdb.python/py-pp-integral.c: New file.
11181 * gdb.python/py-pp-integral.py: New file.
11182 * gdb.python/py-pp-integral.exp: New file.
11184 For older changes see ChangeLog-1993-2013.
11186 ;; Local Variables:
11187 ;; mode: change-log
11190 ;; version-control: never
11193 Copyright 2014-2017 Free Software Foundation, Inc.
11194 Copying and distribution of this file, with or without modification,
11195 are permitted provided the copyright notice and this notice are preserved.