1 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
16 * gdb.base/maint.exp: Add testcases for when the commands do
19 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
21 * gdb.cp/chained-calls.exp: Use p instead of P.
23 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
25 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
26 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
28 2017-02-14 Tom Tromey <tom@tromey.com>
31 * gdb.python/py-events.exp: Add before_prompt event tests.
33 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
35 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
37 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
39 * gdb.linespec/explicit.c (my_unique_function_name): New function.
40 (main): Call my_unique_function_name.
41 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
42 completion of patterns with a single match.
43 Add missing -re switches to gdb_test_multiple calls.
45 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
47 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
48 return if core file is not recognized.
50 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
52 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
55 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
57 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
60 2017-02-10 Tom Tromey <tom@tromey.com>
62 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
64 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
67 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
69 2017-02-08 Jerome Guitton <guitton@adacore.com>
71 * gdb.base/define.exp: Add test for command abbreviations
74 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
76 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
77 * gdb.reverse/insn-reverse-x86.c: New file.
79 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
82 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
84 2017-02-03 Tom Tromey <tom@tromey.com>
87 * gdb.rust/simple.exp: Add new tests.
89 2017-02-02 Pedro Alves <palves@redhat.com>
91 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
94 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
96 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
97 taking a 2-byte value out of a 4-byte DWARF implicit value on
99 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
100 logic. Add test cases for DW_OP_implicit.
102 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
104 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
106 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
108 * gdb.btrace/enable.exp: Call gdb_exit before
109 skip_gdbserver_tests.
111 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
113 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
116 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
118 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
120 * gdb.btrace/data.exp: Likewise.
121 * gdb.btrace/delta.exp: Likewise.
122 * gdb.btrace/dlopen.exp: Likewise.
123 * gdb.btrace/enable-running.exp: Likewise.
124 * gdb.btrace/enable.exp: Likewise.
125 * gdb.btrace/exception.exp: Likewise.
126 * gdb.btrace/function_call_history.exp: Likewise.
127 * gdb.btrace/gcore.exp: Likewise.
128 * gdb.btrace/instruction_history.exp: Likewise.
129 * gdb.btrace/multi-thread-step.exp: Likewise.
130 * gdb.btrace/nohist.exp: Likewise.
131 * gdb.btrace/non-stop.exp: Likewise.
132 * gdb.btrace/reconnect.exp: Likewise.
133 * gdb.btrace/record_goto-step.exp: Likewise.
134 * gdb.btrace/record_goto.exp: Likewise.
135 * gdb.btrace/rn-dl-bind.exp: Likewise.
136 * gdb.btrace/segv.exp: Likewise.
137 * gdb.btrace/step.exp: Likewise.
138 * gdb.btrace/stepi.exp: Likewise.
139 * gdb.btrace/tailcall-only.exp: Likewise.
140 * gdb.btrace/tailcall.exp: Likewise.
141 * gdb.btrace/tsx.exp: Likewise.
142 * gdb.btrace/unknown_functions.exp: Likewise.
143 * gdb.btrace/vdso.exp: Likewise.
145 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
147 * gdb.btrace/enable-running.c: New.
148 * gdb.btrace/enable-running.exp: New.
150 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
152 * gdb.arch/amd64-gs_base.c: New file.
153 * gdb.arch/amd64-gs_base.exp: New file.
155 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
157 * lib/memory.exp: Remove spurious empty newlines.
159 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
161 * gdb.python/py-bad-printers.exp: Load python file using "source".
162 * gdb.python/py-events.exp: Likewise.
163 * gdb.python/py-evsignal.exp: Likewise.
164 * gdb.python/py-evthreads.exp: Likewise.
165 * gdb.python/py-frame-args.exp: Likewise.
166 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
167 * gdb.python/py-framefilter-mi.exp: Likewise.
168 * gdb.python/py-framefilter.exp: Likewise.
169 * gdb.python/py-mi.exp: Likewise.
170 * gdb.python/py-pp-maint.exp: Likewise.
171 * gdb.python/py-pp-registration.exp: Likewise.
172 * gdb.python/py-prettyprint.exp: Likewise.
173 (run_lang_tests): Likewise.
174 * gdb.python/py-typeprint.exp: Likewise.
176 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
178 * lib/memory.exp: New file.
179 * lib/gdb.exp: Load memory.exp.
180 * gdb.base/memattr.exp (delete_memory): Move proc to
181 lib/memory.exp and rename to delete_memory_regions.
182 Replace delete_memory with delete_memory_regions.
183 Cleanup memory regions before tests.
184 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
187 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
189 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
191 (initialize): New function conditionally defined.
192 (testcases): Move within conditional block.
193 (main): Call initialize.
194 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
195 of gdb.reverse/insn-reverse.c.
196 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
197 gdb.reverse/insn-reverse.c.
199 2017-01-26 Yao Qi <yao.qi@linaro.org>
201 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
202 disassemble on address 0.
204 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
205 Yao Qi <yao.qi@linaro.org>
207 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
208 * gdb.dwarf2/implptr-64bit.S: Remove.
209 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
210 variables in caller's context. Add DW_OP_implicit_value.
212 2017-01-25 Yao Qi <yao.qi@linaro.org>
214 * lib/dwarf.exp (Dwarf::_location): Handle
215 DW_OP_GNU_implicit_pointer with proper size.
217 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
219 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
220 and add untested calls.
222 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
224 * gdb.python/python.exp: Check line number against what GDB thinks
225 the line number is for func1.
227 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
229 * gdb.dlang/debug-expr.exp: New file.
231 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
233 Fix test names for the following files:
235 * gdb.ada/exec_changed.exp
236 * gdb.ada/info_types.exp
237 * gdb.arch/aarch64-atomic-inst.exp
238 * gdb.arch/aarch64-fp.exp
239 * gdb.arch/altivec-abi.exp
240 * gdb.arch/altivec-regs.exp
241 * gdb.arch/amd64-byte.exp
242 * gdb.arch/amd64-disp-step.exp
243 * gdb.arch/amd64-dword.exp
244 * gdb.arch/amd64-entry-value-inline.exp
245 * gdb.arch/amd64-entry-value-param.exp
246 * gdb.arch/amd64-entry-value-paramref.exp
247 * gdb.arch/amd64-entry-value.exp
248 * gdb.arch/amd64-i386-address.exp
249 * gdb.arch/amd64-invalid-stack-middle.exp
250 * gdb.arch/amd64-invalid-stack-top.exp
251 * gdb.arch/amd64-optimout-repeat.exp
252 * gdb.arch/amd64-prologue-skip.exp
253 * gdb.arch/amd64-prologue-xmm.exp
254 * gdb.arch/amd64-stap-special-operands.exp
255 * gdb.arch/amd64-stap-wrong-subexp.exp
256 * gdb.arch/amd64-tailcall-cxx.exp
257 * gdb.arch/amd64-tailcall-noret.exp
258 * gdb.arch/amd64-tailcall-ret.exp
259 * gdb.arch/amd64-tailcall-self.exp
260 * gdb.arch/amd64-word.exp
261 * gdb.arch/arm-bl-branch-dest.exp
262 * gdb.arch/arm-disp-step.exp
263 * gdb.arch/arm-neon.exp
264 * gdb.arch/arm-single-step-kernel-helper.exp
265 * gdb.arch/avr-flash-qualifier.exp
266 * gdb.arch/disp-step-insn-reloc.exp
267 * gdb.arch/e500-abi.exp
268 * gdb.arch/e500-regs.exp
269 * gdb.arch/ftrace-insn-reloc.exp
270 * gdb.arch/i386-avx512.exp
271 * gdb.arch/i386-bp_permanent.exp
272 * gdb.arch/i386-byte.exp
273 * gdb.arch/i386-cfi-notcurrent.exp
274 * gdb.arch/i386-disp-step.exp
275 * gdb.arch/i386-dr3-watch.exp
276 * gdb.arch/i386-float.exp
277 * gdb.arch/i386-gnu-cfi.exp
278 * gdb.arch/i386-mpx-map.exp
279 * gdb.arch/i386-mpx-sigsegv.exp
280 * gdb.arch/i386-mpx-simple_segv.exp
281 * gdb.arch/i386-mpx.exp
282 * gdb.arch/i386-permbkpt.exp
283 * gdb.arch/i386-prologue.exp
284 * gdb.arch/i386-signal.exp
285 * gdb.arch/i386-size-overlap.exp
286 * gdb.arch/i386-unwind.exp
287 * gdb.arch/i386-word.exp
288 * gdb.arch/mips-fcr.exp
289 * gdb.arch/powerpc-d128-regs.exp
290 * gdb.arch/powerpc-stackless.exp
291 * gdb.arch/ppc64-atomic-inst.exp
292 * gdb.arch/s390-stackless.exp
293 * gdb.arch/s390-tdbregs.exp
294 * gdb.arch/s390-vregs.exp
295 * gdb.arch/sparc-sysstep.exp
296 * gdb.arch/thumb-bx-pc.exp
297 * gdb.arch/thumb-singlestep.exp
298 * gdb.arch/thumb2-it.exp
299 * gdb.arch/vsx-regs.exp
300 * gdb.asm/asm-source.exp
301 * gdb.base/a2-run.exp
302 * gdb.base/advance.exp
303 * gdb.base/all-bin.exp
306 * gdb.base/arithmet.exp
307 * gdb.base/async-shell.exp
309 * gdb.base/attach-pie-noexec.exp
310 * gdb.base/attach-twice.exp
311 * gdb.base/auto-load.exp
313 * gdb.base/bitfields.exp
314 * gdb.base/break-always.exp
315 * gdb.base/break-caller-line.exp
316 * gdb.base/break-entry.exp
317 * gdb.base/break-inline.exp
318 * gdb.base/break-on-linker-gcd-function.exp
319 * gdb.base/break-probes.exp
321 * gdb.base/breakpoint-shadow.exp
322 * gdb.base/call-ar-st.exp
323 * gdb.base/call-sc.exp
324 * gdb.base/call-signal-resume.exp
325 * gdb.base/call-strs.exp
326 * gdb.base/callfuncs.exp
327 * gdb.base/catch-fork-static.exp
328 * gdb.base/catch-gdb-caused-signals.exp
329 * gdb.base/catch-load.exp
330 * gdb.base/catch-signal-fork.exp
331 * gdb.base/catch-signal.exp
332 * gdb.base/catch-syscall.exp
333 * gdb.base/charset.exp
334 * gdb.base/checkpoint.exp
335 * gdb.base/chng-syms.exp
336 * gdb.base/code-expr.exp
337 * gdb.base/code_elim.exp
338 * gdb.base/commands.exp
339 * gdb.base/completion.exp
340 * gdb.base/complex.exp
341 * gdb.base/cond-expr.exp
342 * gdb.base/condbreak.exp
343 * gdb.base/consecutive.exp
344 * gdb.base/continue-all-already-running.exp
345 * gdb.base/coredump-filter.exp
346 * gdb.base/corefile.exp
348 * gdb.base/debug-expr.exp
349 * gdb.base/define.exp
351 * gdb.base/disabled-location.exp
352 * gdb.base/disasm-end-cu.exp
353 * gdb.base/disasm-optim.exp
354 * gdb.base/display.exp
355 * gdb.base/duplicate-bp.exp
356 * gdb.base/ena-dis-br.exp
357 * gdb.base/ending-run.exp
358 * gdb.base/enumval.exp
359 * gdb.base/environ.exp
360 * gdb.base/eu-strip-infcall.exp
361 * gdb.base/eval-avoid-side-effects.exp
362 * gdb.base/eval-skip.exp
363 * gdb.base/exitsignal.exp
364 * gdb.base/expand-psymtabs.exp
365 * gdb.base/filesym.exp
366 * gdb.base/find-unmapped.exp
367 * gdb.base/finish.exp
369 * gdb.base/foll-exec-mode.exp
370 * gdb.base/foll-exec.exp
371 * gdb.base/foll-fork.exp
372 * gdb.base/fortran-sym-case.exp
373 * gdb.base/freebpcmd.exp
374 * gdb.base/func-ptr.exp
375 * gdb.base/func-ptrs.exp
376 * gdb.base/funcargs.exp
377 * gdb.base/gcore-buffer-overflow.exp
378 * gdb.base/gcore-relro-pie.exp
379 * gdb.base/gcore-relro.exp
381 * gdb.base/gdb1090.exp
382 * gdb.base/gdb11530.exp
383 * gdb.base/gdb11531.exp
384 * gdb.base/gdb1821.exp
385 * gdb.base/gdbindex-stabs.exp
386 * gdb.base/gdbvars.exp
387 * gdb.base/hbreak.exp
388 * gdb.base/hbreak2.exp
389 * gdb.base/included.exp
390 * gdb.base/infcall-input.exp
391 * gdb.base/inferior-died.exp
392 * gdb.base/infnan.exp
393 * gdb.base/info-macros.exp
394 * gdb.base/info-os.exp
395 * gdb.base/info-proc.exp
396 * gdb.base/info-shared.exp
397 * gdb.base/info-target.exp
398 * gdb.base/infoline.exp
399 * gdb.base/interp.exp
400 * gdb.base/interrupt.exp
401 * gdb.base/jit-reader.exp
402 * gdb.base/jit-simple.exp
403 * gdb.base/kill-after-signal.exp
404 * gdb.base/kill-detach-inferiors-cmd.exp
407 * gdb.base/ldbl_e308.exp
408 * gdb.base/line-symtabs.exp
409 * gdb.base/linespecs.exp
411 * gdb.base/long_long.exp
412 * gdb.base/longest-types.exp
414 * gdb.base/max-value-size.exp
415 * gdb.base/memattr.exp
416 * gdb.base/mips_pro.exp
417 * gdb.base/morestack.exp
418 * gdb.base/moribund-step.exp
419 * gdb.base/multi-forks.exp
420 * gdb.base/nested-addr.exp
421 * gdb.base/nextoverexit.exp
422 * gdb.base/noreturn-finish.exp
423 * gdb.base/noreturn-return.exp
424 * gdb.base/nostdlib.exp
425 * gdb.base/offsets.exp
426 * gdb.base/opaque.exp
428 * gdb.base/permissions.exp
429 * gdb.base/print-symbol-loading.exp
430 * gdb.base/prologue-include.exp
431 * gdb.base/psymtab.exp
433 * gdb.base/random-signal.exp
434 * gdb.base/randomize.exp
435 * gdb.base/range-stepping.exp
436 * gdb.base/readline-ask.exp
437 * gdb.base/recpar.exp
438 * gdb.base/recurse.exp
439 * gdb.base/relational.exp
440 * gdb.base/restore.exp
441 * gdb.base/return-nodebug.exp
442 * gdb.base/return.exp
443 * gdb.base/run-after-attach.exp
444 * gdb.base/save-bp.exp
446 * gdb.base/sect-cmd.exp
447 * gdb.base/set-lang-auto.exp
448 * gdb.base/set-noassign.exp
449 * gdb.base/setvar.exp
450 * gdb.base/sigall.exp
451 * gdb.base/sigbpt.exp
452 * gdb.base/siginfo-addr.exp
453 * gdb.base/siginfo-infcall.exp
454 * gdb.base/siginfo-obj.exp
455 * gdb.base/siginfo.exp
456 * gdb.base/signals-state-child.exp
457 * gdb.base/signest.exp
458 * gdb.base/sigstep.exp
459 * gdb.base/sizeof.exp
461 * gdb.base/solib-corrupted.exp
462 * gdb.base/solib-nodir.exp
463 * gdb.base/solib-search.exp
464 * gdb.base/stack-checking.exp
465 * gdb.base/stale-infcall.exp
466 * gdb.base/stap-probe.exp
468 * gdb.base/step-break.exp
469 * gdb.base/step-bt.exp
470 * gdb.base/step-line.exp
471 * gdb.base/step-over-exit.exp
472 * gdb.base/step-over-syscall.exp
473 * gdb.base/step-resume-infcall.exp
474 * gdb.base/step-test.exp
476 * gdb.base/structs3.exp
477 * gdb.base/sym-file.exp
478 * gdb.base/symbol-without-target_section.exp
480 * gdb.base/testenv.exp
481 * gdb.base/ui-redirect.exp
483 * gdb.base/unwindonsignal.exp
484 * gdb.base/value-double-free.exp
485 * gdb.base/vla-datatypes.exp
486 * gdb.base/vla-ptr.exp
487 * gdb.base/vla-sideeffect.exp
488 * gdb.base/volatile.exp
489 * gdb.base/watch-cond-infcall.exp
490 * gdb.base/watch-cond.exp
491 * gdb.base/watch-non-mem.exp
492 * gdb.base/watch-read.exp
493 * gdb.base/watch-vfork.exp
494 * gdb.base/watchpoint-cond-gone.exp
495 * gdb.base/watchpoint-delete.exp
496 * gdb.base/watchpoint-hw-hit-once.exp
497 * gdb.base/watchpoint-hw.exp
498 * gdb.base/watchpoint-stops-at-right-insn.exp
499 * gdb.base/watchpoints.exp
501 * gdb.base/whatis-exp.exp
502 * gdb.btrace/buffer-size.exp
503 * gdb.btrace/data.exp
504 * gdb.btrace/delta.exp
505 * gdb.btrace/dlopen.exp
506 * gdb.btrace/enable.exp
507 * gdb.btrace/exception.exp
508 * gdb.btrace/function_call_history.exp
509 * gdb.btrace/gcore.exp
510 * gdb.btrace/instruction_history.exp
511 * gdb.btrace/nohist.exp
512 * gdb.btrace/reconnect.exp
513 * gdb.btrace/record_goto-step.exp
514 * gdb.btrace/record_goto.exp
515 * gdb.btrace/rn-dl-bind.exp
516 * gdb.btrace/segv.exp
517 * gdb.btrace/step.exp
518 * gdb.btrace/stepi.exp
519 * gdb.btrace/tailcall-only.exp
520 * gdb.btrace/tailcall.exp
522 * gdb.btrace/unknown_functions.exp
523 * gdb.btrace/vdso.exp
524 * gdb.compile/compile-ifunc.exp
525 * gdb.compile/compile-ops.exp
526 * gdb.compile/compile-print.exp
527 * gdb.compile/compile-setjmp.exp
528 * gdb.cp/abstract-origin.exp
529 * gdb.cp/ambiguous.exp
533 * gdb.cp/anon-struct.exp
534 * gdb.cp/anon-union.exp
535 * gdb.cp/arg-reference.exp
536 * gdb.cp/baseenum.exp
538 * gdb.cp/breakpoint.exp
542 * gdb.cp/chained-calls.exp
545 * gdb.cp/cmpd-minsyms.exp
546 * gdb.cp/converts.exp
547 * gdb.cp/cp-relocate.exp
548 * gdb.cp/cpcompletion.exp
551 * gdb.cp/cplusfuncs.exp
552 * gdb.cp/cpsizeof.exp
554 * gdb.cp/derivation.exp
555 * gdb.cp/destrprint.exp
557 * gdb.cp/enum-class.exp
558 * gdb.cp/exception.exp
559 * gdb.cp/exceptprint.exp
560 * gdb.cp/expand-psymtabs-cxx.exp
561 * gdb.cp/expand-sals.exp
562 * gdb.cp/extern-c.exp
563 * gdb.cp/filename.exp
564 * gdb.cp/formatted-ref.exp
565 * gdb.cp/fpointer.exp
569 * gdb.cp/impl-this.exp
570 * gdb.cp/infcall-dlopen.exp
572 * gdb.cp/iostream.exp
576 * gdb.cp/m-static.exp
578 * gdb.cp/mb-inline.exp
579 * gdb.cp/mb-templates.exp
580 * gdb.cp/member-name.exp
581 * gdb.cp/member-ptr.exp
582 * gdb.cp/meth-typedefs.exp
585 * gdb.cp/minsym-fallback.exp
587 * gdb.cp/namelessclass.exp
588 * gdb.cp/namespace-enum.exp
589 * gdb.cp/namespace-nested-import.exp
590 * gdb.cp/namespace.exp
591 * gdb.cp/nextoverthrow.exp
592 * gdb.cp/no-dmgl-verbose.exp
593 * gdb.cp/non-trivial-retval.exp
596 * gdb.cp/nsimport.exp
597 * gdb.cp/nsnested.exp
598 * gdb.cp/nsnoimports.exp
599 * gdb.cp/nsrecurs.exp
600 * gdb.cp/nsstress.exp
602 * gdb.cp/operator.exp
603 * gdb.cp/oranking.exp
604 * gdb.cp/overload-const.exp
605 * gdb.cp/overload.exp
606 * gdb.cp/ovldbreak.exp
608 * gdb.cp/paren-type.exp
609 * gdb.cp/parse-lang.exp
610 * gdb.cp/pass-by-ref.exp
621 * gdb.cp/printmethod.exp
623 * gdb.cp/psymtab-parameter.exp
624 * gdb.cp/ptype-cv-cp.exp
625 * gdb.cp/ptype-flags.exp
626 * gdb.cp/re-set-overloaded.exp
627 * gdb.cp/ref-types.exp
629 * gdb.cp/scope-err.exp
632 * gdb.cp/static-method.exp
633 * gdb.cp/static-print-quit.exp
635 * gdb.cp/templates.exp
636 * gdb.cp/try_catch.exp
637 * gdb.cp/typedef-operator.exp
640 * gdb.cp/using-crash.exp
642 * gdb.cp/virtbase.exp
643 * gdb.cp/virtfunc.exp
644 * gdb.cp/virtfunc2.exp
646 * gdb.disasm/t01_mov.exp
647 * gdb.disasm/t02_mova.exp
648 * gdb.disasm/t03_add.exp
649 * gdb.disasm/t04_sub.exp
650 * gdb.disasm/t05_cmp.exp
651 * gdb.disasm/t06_ari2.exp
652 * gdb.disasm/t07_ari3.exp
653 * gdb.disasm/t08_or.exp
654 * gdb.disasm/t09_xor.exp
655 * gdb.disasm/t10_and.exp
656 * gdb.disasm/t11_logs.exp
657 * gdb.disasm/t12_bit.exp
658 * gdb.disasm/t13_otr.exp
659 * gdb.dlang/circular.exp
660 * gdb.dwarf2/arr-stride.exp
661 * gdb.dwarf2/arr-subrange.exp
662 * gdb.dwarf2/atomic-type.exp
663 * gdb.dwarf2/bad-regnum.exp
664 * gdb.dwarf2/bitfield-parent-optimized-out.exp
665 * gdb.dwarf2/callframecfa.exp
666 * gdb.dwarf2/clztest.exp
667 * gdb.dwarf2/corrupt.exp
668 * gdb.dwarf2/data-loc.exp
669 * gdb.dwarf2/dup-psym.exp
670 * gdb.dwarf2/dw2-anon-mptr.exp
671 * gdb.dwarf2/dw2-anonymous-func.exp
672 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
673 * gdb.dwarf2/dw2-bad-unresolved.exp
674 * gdb.dwarf2/dw2-basic.exp
675 * gdb.dwarf2/dw2-canonicalize-type.exp
676 * gdb.dwarf2/dw2-case-insensitive.exp
677 * gdb.dwarf2/dw2-common-block.exp
678 * gdb.dwarf2/dw2-compdir-oldgcc.exp
679 * gdb.dwarf2/dw2-compressed.exp
680 * gdb.dwarf2/dw2-const.exp
681 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
682 * gdb.dwarf2/dw2-cu-size.exp
683 * gdb.dwarf2/dw2-dup-frame.exp
684 * gdb.dwarf2/dw2-entry-value.exp
685 * gdb.dwarf2/dw2-icycle.exp
686 * gdb.dwarf2/dw2-ifort-parameter.exp
687 * gdb.dwarf2/dw2-inline-break.exp
688 * gdb.dwarf2/dw2-inline-param.exp
689 * gdb.dwarf2/dw2-intercu.exp
690 * gdb.dwarf2/dw2-intermix.exp
691 * gdb.dwarf2/dw2-lexical-block-bare.exp
692 * gdb.dwarf2/dw2-linkage-name-trust.exp
693 * gdb.dwarf2/dw2-minsym-in-cu.exp
694 * gdb.dwarf2/dw2-noloc.exp
695 * gdb.dwarf2/dw2-op-call.exp
696 * gdb.dwarf2/dw2-op-out-param.exp
697 * gdb.dwarf2/dw2-opt-structptr.exp
698 * gdb.dwarf2/dw2-param-error.exp
699 * gdb.dwarf2/dw2-producer.exp
700 * gdb.dwarf2/dw2-ranges-base.exp
701 * gdb.dwarf2/dw2-ref-missing-frame.exp
702 * gdb.dwarf2/dw2-reg-undefined.exp
703 * gdb.dwarf2/dw2-regno-invalid.exp
704 * gdb.dwarf2/dw2-restore.exp
705 * gdb.dwarf2/dw2-restrict.exp
706 * gdb.dwarf2/dw2-single-line-discriminators.exp
707 * gdb.dwarf2/dw2-strp.exp
708 * gdb.dwarf2/dw2-undefined-ret-addr.exp
709 * gdb.dwarf2/dw2-unresolved.exp
710 * gdb.dwarf2/dw2-var-zero-addr.exp
711 * gdb.dwarf2/dw4-sig-types.exp
713 * gdb.dwarf2/dynarr-ptr.exp
714 * gdb.dwarf2/enum-type.exp
715 * gdb.dwarf2/gdb-index.exp
716 * gdb.dwarf2/implptr-64bit.exp
717 * gdb.dwarf2/implptr-optimized-out.exp
718 * gdb.dwarf2/implptr.exp
719 * gdb.dwarf2/implref-array.exp
720 * gdb.dwarf2/implref-const.exp
721 * gdb.dwarf2/implref-global.exp
722 * gdb.dwarf2/implref-struct.exp
723 * gdb.dwarf2/mac-fileno.exp
724 * gdb.dwarf2/main-subprogram.exp
725 * gdb.dwarf2/member-ptr-forwardref.exp
726 * gdb.dwarf2/method-ptr.exp
727 * gdb.dwarf2/missing-sig-type.exp
728 * gdb.dwarf2/nonvar-access.exp
729 * gdb.dwarf2/opaque-type-lookup.exp
730 * gdb.dwarf2/pieces-optimized-out.exp
731 * gdb.dwarf2/pieces.exp
732 * gdb.dwarf2/pr10770.exp
733 * gdb.dwarf2/pr13961.exp
734 * gdb.dwarf2/staticvirtual.exp
735 * gdb.dwarf2/subrange.exp
736 * gdb.dwarf2/symtab-producer.exp
737 * gdb.dwarf2/trace-crash.exp
738 * gdb.dwarf2/typeddwarf.exp
739 * gdb.dwarf2/valop.exp
740 * gdb.dwarf2/watch-notconst.exp
741 * gdb.fortran/array-element.exp
742 * gdb.fortran/charset.exp
743 * gdb.fortran/common-block.exp
744 * gdb.fortran/complex.exp
745 * gdb.fortran/derived-type-function.exp
746 * gdb.fortran/derived-type.exp
747 * gdb.fortran/logical.exp
748 * gdb.fortran/module.exp
749 * gdb.fortran/multi-dim.exp
750 * gdb.fortran/nested-funcs.exp
751 * gdb.fortran/print-formatted.exp
752 * gdb.fortran/subarray.exp
753 * gdb.fortran/vla-alloc-assoc.exp
754 * gdb.fortran/vla-datatypes.exp
755 * gdb.fortran/vla-history.exp
756 * gdb.fortran/vla-ptr-info.exp
757 * gdb.fortran/vla-ptype-sub.exp
758 * gdb.fortran/vla-ptype.exp
759 * gdb.fortran/vla-sizeof.exp
760 * gdb.fortran/vla-type.exp
761 * gdb.fortran/vla-value-sub-arbitrary.exp
762 * gdb.fortran/vla-value-sub-finish.exp
763 * gdb.fortran/vla-value-sub.exp
764 * gdb.fortran/vla-value.exp
765 * gdb.fortran/whatis_type.exp
767 * gdb.go/handcall.exp
769 * gdb.go/integers.exp
775 * gdb.guile/scm-arch.exp
776 * gdb.guile/scm-block.exp
777 * gdb.guile/scm-breakpoint.exp
778 * gdb.guile/scm-cmd.exp
779 * gdb.guile/scm-disasm.exp
780 * gdb.guile/scm-equal.exp
781 * gdb.guile/scm-frame-args.exp
782 * gdb.guile/scm-frame-inline.exp
783 * gdb.guile/scm-frame.exp
784 * gdb.guile/scm-iterator.exp
785 * gdb.guile/scm-math.exp
786 * gdb.guile/scm-objfile.exp
787 * gdb.guile/scm-ports.exp
788 * gdb.guile/scm-symbol.exp
789 * gdb.guile/scm-symtab.exp
790 * gdb.guile/scm-value-cc.exp
791 * gdb.guile/types-module.exp
792 * gdb.linespec/break-ask.exp
793 * gdb.linespec/cpexplicit.exp
794 * gdb.linespec/explicit.exp
795 * gdb.linespec/keywords.exp
796 * gdb.linespec/linespec.exp
797 * gdb.linespec/ls-dollar.exp
798 * gdb.linespec/ls-errs.exp
799 * gdb.linespec/skip-two.exp
800 * gdb.linespec/thread.exp
801 * gdb.mi/mi-async.exp
802 * gdb.mi/mi-basics.exp
803 * gdb.mi/mi-break.exp
804 * gdb.mi/mi-catch-load.exp
806 * gdb.mi/mi-cmd-param-changed.exp
807 * gdb.mi/mi-console.exp
808 * gdb.mi/mi-detach.exp
809 * gdb.mi/mi-disassemble.exp
811 * gdb.mi/mi-file-transfer.exp
813 * gdb.mi/mi-fill-memory.exp
814 * gdb.mi/mi-inheritance-syntax-error.exp
815 * gdb.mi/mi-linespec-err-cp.exp
816 * gdb.mi/mi-logging.exp
817 * gdb.mi/mi-memory-changed.exp
818 * gdb.mi/mi-read-memory.exp
819 * gdb.mi/mi-record-changed.exp
820 * gdb.mi/mi-reg-undefined.exp
822 * gdb.mi/mi-return.exp
823 * gdb.mi/mi-reverse.exp
824 * gdb.mi/mi-simplerun.exp
825 * gdb.mi/mi-solib.exp
826 * gdb.mi/mi-stack.exp
827 * gdb.mi/mi-stepi.exp
828 * gdb.mi/mi-syn-frame.exp
829 * gdb.mi/mi-until.exp
830 * gdb.mi/mi-var-block.exp
831 * gdb.mi/mi-var-child.exp
832 * gdb.mi/mi-var-cmd.exp
833 * gdb.mi/mi-var-cp.exp
834 * gdb.mi/mi-var-display.exp
835 * gdb.mi/mi-var-invalidate.exp
836 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
837 * gdb.mi/mi-vla-fortran.exp
838 * gdb.mi/mi-watch.exp
839 * gdb.mi/mi2-var-child.exp
840 * gdb.mi/user-selected-context-sync.exp
841 * gdb.modula2/unbounded-array.exp
842 * gdb.multi/dummy-frame-restore.exp
843 * gdb.multi/multi-arch-exec.exp
844 * gdb.multi/multi-arch.exp
846 * gdb.multi/watchpoint-multi.exp
847 * gdb.opencl/callfuncs.exp
848 * gdb.opencl/convs_casts.exp
849 * gdb.opencl/datatypes.exp
850 * gdb.opencl/operators.exp
851 * gdb.opencl/vec_comps.exp
852 * gdb.opt/clobbered-registers-O2.exp
853 * gdb.opt/inline-break.exp
854 * gdb.opt/inline-bt.exp
855 * gdb.opt/inline-cmds.exp
856 * gdb.opt/inline-locals.exp
857 * gdb.pascal/case-insensitive-symbols.exp
858 * gdb.pascal/floats.exp
859 * gdb.pascal/gdb11492.exp
860 * gdb.python/lib-types.exp
861 * gdb.python/py-arch.exp
862 * gdb.python/py-as-string.exp
863 * gdb.python/py-bad-printers.exp
864 * gdb.python/py-block.exp
865 * gdb.python/py-breakpoint-create-fail.exp
866 * gdb.python/py-breakpoint.exp
867 * gdb.python/py-caller-is.exp
868 * gdb.python/py-cmd.exp
869 * gdb.python/py-explore-cc.exp
870 * gdb.python/py-explore.exp
871 * gdb.python/py-finish-breakpoint.exp
872 * gdb.python/py-finish-breakpoint2.exp
873 * gdb.python/py-frame-args.exp
874 * gdb.python/py-frame-inline.exp
875 * gdb.python/py-frame.exp
876 * gdb.python/py-framefilter-mi.exp
877 * gdb.python/py-infthread.exp
878 * gdb.python/py-lazy-string.exp
879 * gdb.python/py-linetable.exp
880 * gdb.python/py-mi-events.exp
881 * gdb.python/py-mi-objfile.exp
882 * gdb.python/py-mi.exp
883 * gdb.python/py-objfile.exp
884 * gdb.python/py-pp-integral.exp
885 * gdb.python/py-pp-maint.exp
886 * gdb.python/py-pp-re-notag.exp
887 * gdb.python/py-pp-registration.exp
888 * gdb.python/py-recurse-unwind.exp
889 * gdb.python/py-strfns.exp
890 * gdb.python/py-symbol.exp
891 * gdb.python/py-symtab.exp
892 * gdb.python/py-sync-interp.exp
893 * gdb.python/py-typeprint.exp
894 * gdb.python/py-unwind-maint.exp
895 * gdb.python/py-unwind.exp
896 * gdb.python/py-value-cc.exp
897 * gdb.python/py-xmethods.exp
898 * gdb.reverse/amd64-tailcall-reverse.exp
899 * gdb.reverse/break-precsave.exp
900 * gdb.reverse/break-reverse.exp
901 * gdb.reverse/consecutive-precsave.exp
902 * gdb.reverse/consecutive-reverse.exp
903 * gdb.reverse/finish-precsave.exp
904 * gdb.reverse/finish-reverse-bkpt.exp
905 * gdb.reverse/finish-reverse.exp
906 * gdb.reverse/fstatat-reverse.exp
907 * gdb.reverse/getresuid-reverse.exp
908 * gdb.reverse/i386-precsave.exp
909 * gdb.reverse/i386-reverse.exp
910 * gdb.reverse/i386-sse-reverse.exp
911 * gdb.reverse/i387-env-reverse.exp
912 * gdb.reverse/i387-stack-reverse.exp
913 * gdb.reverse/insn-reverse.exp
914 * gdb.reverse/machinestate-precsave.exp
915 * gdb.reverse/machinestate.exp
916 * gdb.reverse/next-reverse-bkpt-over-sr.exp
917 * gdb.reverse/pipe-reverse.exp
918 * gdb.reverse/readv-reverse.exp
919 * gdb.reverse/recvmsg-reverse.exp
920 * gdb.reverse/rerun-prec.exp
921 * gdb.reverse/s390-mvcle.exp
922 * gdb.reverse/step-precsave.exp
923 * gdb.reverse/step-reverse.exp
924 * gdb.reverse/time-reverse.exp
925 * gdb.reverse/until-precsave.exp
926 * gdb.reverse/until-reverse.exp
927 * gdb.reverse/waitpid-reverse.exp
928 * gdb.reverse/watch-precsave.exp
929 * gdb.reverse/watch-reverse.exp
930 * gdb.rust/generics.exp
931 * gdb.rust/methods.exp
932 * gdb.rust/modules.exp
933 * gdb.rust/simple.exp
934 * gdb.server/connect-with-no-symbol-file.exp
935 * gdb.server/ext-attach.exp
936 * gdb.server/ext-restart.exp
937 * gdb.server/ext-wrapper.exp
938 * gdb.server/file-transfer.exp
939 * gdb.server/server-exec-info.exp
940 * gdb.server/server-kill.exp
941 * gdb.server/server-mon.exp
942 * gdb.server/wrapper.exp
943 * gdb.stabs/exclfwd.exp
944 * gdb.stabs/gdb11479.exp
945 * gdb.threads/clone-new-thread-event.exp
946 * gdb.threads/corethreads.exp
947 * gdb.threads/current-lwp-dead.exp
948 * gdb.threads/dlopen-libpthread.exp
949 * gdb.threads/gcore-thread.exp
950 * gdb.threads/sigstep-threads.exp
951 * gdb.threads/watchpoint-fork.exp
952 * gdb.trace/actions-changed.exp
953 * gdb.trace/backtrace.exp
954 * gdb.trace/change-loc.exp
956 * gdb.trace/collection.exp
957 * gdb.trace/disconnected-tracing.exp
958 * gdb.trace/ftrace.exp
959 * gdb.trace/mi-trace-frame-collected.exp
960 * gdb.trace/mi-trace-unavailable.exp
961 * gdb.trace/mi-traceframe-changed.exp
962 * gdb.trace/mi-tsv-changed.exp
963 * gdb.trace/no-attach-trace.exp
964 * gdb.trace/passc-dyn.exp
966 * gdb.trace/range-stepping.exp
967 * gdb.trace/read-memory.exp
968 * gdb.trace/save-trace.exp
969 * gdb.trace/signal.exp
970 * gdb.trace/status-stop.exp
971 * gdb.trace/tfile.exp
972 * gdb.trace/trace-break.exp
973 * gdb.trace/trace-buffer-size.exp
974 * gdb.trace/trace-condition.exp
975 * gdb.trace/tracefile-pseudo-reg.exp
976 * gdb.trace/tstatus.exp
977 * gdb.trace/unavailable.exp
978 * gdb.trace/while-dyn.exp
979 * gdb.trace/while-stepping.exp
981 2016-12-22 Doug Evans <xdje42@gmail.com>
983 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
986 2016-12-19 Yao Qi <yao.qi@linaro.org>
988 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
989 (test_with_self): Don't call do_steps_and_nexts, and remove
990 code about stepping into xmalloc.
992 2016-12-09 Yao Qi <yao.qi@linaro.org>
994 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
996 2016-12-09 Yao Qi <yao.qi@linaro.org>
998 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1000 2016-12-09 Pedro Alves <palves@redhat.com>
1002 * gdb.base/all-architectures-0.exp: New file.
1003 * gdb.base/all-architectures-1.exp: New file.
1004 * gdb.base/all-architectures-2.exp: New file.
1005 * gdb.base/all-architectures-3.exp: New file.
1006 * gdb.base/all-architectures-4.exp: New file.
1007 * gdb.base/all-architectures-5.exp: New file.
1008 * gdb.base/all-architectures-6.exp: New file.
1009 * gdb.base/all-architectures-7.exp: New file.
1010 * gdb.base/all-architectures.exp.in: New file.
1012 2016-12-09 Yao Qi <yao.qi@linaro.org>
1014 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1016 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1018 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1020 Remove useless pattern-matching code.
1022 2016-12-02 Pedro Alves <palves@redhat.com>
1024 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1026 (top level): Call it.
1028 2016-12-02 Pedro Alves <palves@redhat.com>
1030 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1032 (top level): Call it.
1034 2016-12-02 Pedro Alves <palves@redhat.com>
1037 * gdb.base/commands.exp (user_defined_command_args_eval): New
1039 (top level): Call it.
1041 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1043 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1046 2016-12-02 Tom Tromey <tom@tromey.com>
1048 * gdb.dwarf2/main-subprogram.c: New file.
1049 * gdb.dwarf2/main-subprogram.exp: New file.
1051 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1053 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1054 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1055 gdb_test_no_output for a couple of cases.
1056 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1058 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1060 Fix test names and standardize compilation error messages throughout
1061 the following files:
1064 * gdb.arch/alpha-step.exp
1065 * gdb.arch/e500-prologue.exp
1066 * gdb.arch/ftrace-insn-reloc.exp
1067 * gdb.arch/gdb1291.exp
1068 * gdb.arch/gdb1431.exp
1069 * gdb.arch/gdb1558.exp
1070 * gdb.arch/i386-dr3-watch.exp
1071 * gdb.arch/i386-sse-stack-align.exp
1072 * gdb.arch/ia64-breakpoint-shadow.exp
1073 * gdb.arch/pa-nullify.exp
1074 * gdb.arch/powerpc-aix-prologue.exp
1075 * gdb.arch/thumb-bx-pc.exp
1076 * gdb.base/annota1.exp
1077 * gdb.base/annota3.exp
1078 * gdb.base/arrayidx.exp
1079 * gdb.base/assign.exp
1080 * gdb.base/attach.exp
1083 * gdb.base/bfp-test.exp
1084 * gdb.base/bigcore.exp
1085 * gdb.base/bitfields2.exp
1086 * gdb.base/break-fun-addr.exp
1087 * gdb.base/break-probes.exp
1088 * gdb.base/call-rt-st.exp
1089 * gdb.base/callexit.exp
1090 * gdb.base/catch-fork-kill.exp
1091 * gdb.base/charset.exp
1092 * gdb.base/checkpoint.exp
1093 * gdb.base/comprdebug.exp
1094 * gdb.base/constvars.exp
1095 * gdb.base/coredump-filter.exp
1096 * gdb.base/cursal.exp
1097 * gdb.base/cvexpr.exp
1098 * gdb.base/detach.exp
1099 * gdb.base/display.exp
1100 * gdb.base/dmsym.exp
1101 * gdb.base/dprintf-pending.exp
1102 * gdb.base/dso2dso.exp
1103 * gdb.base/dtrace-probe.exp
1105 * gdb.base/enum_cond.exp
1106 * gdb.base/exe-lock.exp
1107 * gdb.base/exec-invalid-sysroot.exp
1108 * gdb.base/execl-update-breakpoints.exp
1109 * gdb.base/exprs.exp
1110 * gdb.base/fileio.exp
1112 * gdb.base/finish.exp
1113 * gdb.base/fixsection.exp
1114 * gdb.base/foll-vfork.exp
1115 * gdb.base/frame-args.exp
1116 * gdb.base/gcore.exp
1117 * gdb.base/gdb1250.exp
1118 * gdb.base/global-var-nested-by-dso.exp
1119 * gdb.base/gnu-ifunc.exp
1120 * gdb.base/hashline1.exp
1121 * gdb.base/hashline2.exp
1122 * gdb.base/hashline3.exp
1123 * gdb.base/hbreak-in-shr-unsupported.exp
1125 * gdb.base/infcall-input.exp
1126 * gdb.base/info-fun.exp
1127 * gdb.base/info-shared.exp
1128 * gdb.base/jit-simple.exp
1129 * gdb.base/jit-so.exp
1132 * gdb.base/label.exp
1133 * gdb.base/lineinc.exp
1134 * gdb.base/logical.exp
1135 * gdb.base/longjmp.exp
1136 * gdb.base/macscp.exp
1137 * gdb.base/miscexprs.exp
1138 * gdb.base/new-ui-echo.exp
1139 * gdb.base/new-ui-pending-input.exp
1140 * gdb.base/new-ui.exp
1141 * gdb.base/nodebug.exp
1142 * gdb.base/nofield.exp
1143 * gdb.base/offsets.exp
1144 * gdb.base/overlays.exp
1145 * gdb.base/pending.exp
1146 * gdb.base/pointers.exp
1147 * gdb.base/pr11022.exp
1148 * gdb.base/printcmds.exp
1149 * gdb.base/prologue.exp
1150 * gdb.base/ptr-typedef.exp
1151 * gdb.base/realname-expand.exp
1152 * gdb.base/relativedebug.exp
1153 * gdb.base/relocate.exp
1154 * gdb.base/remote.exp
1155 * gdb.base/reread.exp
1156 * gdb.base/return2.exp
1157 * gdb.base/savedregs.exp
1159 * gdb.base/sepdebug.exp
1160 * gdb.base/sepsymtab.exp
1161 * gdb.base/set-inferior-tty.exp
1162 * gdb.base/setshow.exp
1163 * gdb.base/shlib-call.exp
1164 * gdb.base/sigaltstack.exp
1165 * gdb.base/siginfo-addr.exp
1166 * gdb.base/signals.exp
1167 * gdb.base/signull.exp
1168 * gdb.base/sigrepeat.exp
1169 * gdb.base/so-impl-ld.exp
1170 * gdb.base/solib-display.exp
1171 * gdb.base/solib-overlap.exp
1172 * gdb.base/solib-search.exp
1173 * gdb.base/solib-symbol.exp
1174 * gdb.base/structs.exp
1175 * gdb.base/structs2.exp
1176 * gdb.base/symtab-search-order.exp
1177 * gdb.base/twice.exp
1178 * gdb.base/unload.exp
1179 * gdb.base/varargs.exp
1180 * gdb.base/watchpoint-solib.exp
1181 * gdb.base/watchpoint.exp
1182 * gdb.base/whatis.exp
1183 * gdb.base/wrong_frame_bt_full.exp
1184 * gdb.btrace/dlopen.exp
1185 * gdb.cell/ea-standalone.exp
1186 * gdb.cell/ea-test.exp
1187 * gdb.cp/dispcxx.exp
1188 * gdb.cp/gdb2384.exp
1189 * gdb.cp/method2.exp
1190 * gdb.cp/nextoverthrow.exp
1191 * gdb.cp/pr10728.exp
1192 * gdb.disasm/am33.exp
1193 * gdb.disasm/h8300s.exp
1194 * gdb.disasm/mn10300.exp
1195 * gdb.disasm/sh3.exp
1196 * gdb.dwarf2/dw2-dir-file-name.exp
1197 * gdb.fortran/complex.exp
1198 * gdb.fortran/library-module.exp
1199 * gdb.guile/scm-pretty-print.exp
1200 * gdb.guile/scm-symbol.exp
1201 * gdb.guile/scm-type.exp
1202 * gdb.guile/scm-value.exp
1203 * gdb.linespec/linespec.exp
1206 * gdb.mi/mi-breakpoint-changed.exp
1207 * gdb.mi/mi-dprintf-pending.exp
1208 * gdb.mi/mi-dprintf.exp
1209 * gdb.mi/mi-exit-code.exp
1210 * gdb.mi/mi-pending.exp
1211 * gdb.mi/mi-solib.exp
1212 * gdb.mi/new-ui-mi-sync.exp
1213 * gdb.mi/pr11022.exp
1214 * gdb.mi/user-selected-context-sync.exp
1215 * gdb.opt/solib-intra-step.exp
1216 * gdb.python/py-events.exp
1217 * gdb.python/py-finish-breakpoint.exp
1218 * gdb.python/py-mi.exp
1219 * gdb.python/py-prettyprint.exp
1220 * gdb.python/py-shared.exp
1221 * gdb.python/py-symbol.exp
1222 * gdb.python/py-template.exp
1223 * gdb.python/py-type.exp
1224 * gdb.python/py-value.exp
1225 * gdb.reverse/solib-precsave.exp
1226 * gdb.reverse/solib-reverse.exp
1227 * gdb.server/solib-list.exp
1228 * gdb.stabs/weird.exp
1229 * gdb.threads/reconnect-signal.exp
1230 * gdb.threads/stepi-random-signal.exp
1231 * gdb.trace/actions.exp
1233 * gdb.trace/backtrace.exp
1234 * gdb.trace/change-loc.exp
1235 * gdb.trace/deltrace.exp
1236 * gdb.trace/ftrace-lock.exp
1237 * gdb.trace/ftrace.exp
1238 * gdb.trace/infotrace.exp
1239 * gdb.trace/mi-tracepoint-changed.exp
1240 * gdb.trace/packetlen.exp
1241 * gdb.trace/passcount.exp
1242 * gdb.trace/pending.exp
1243 * gdb.trace/range-stepping.exp
1244 * gdb.trace/report.exp
1245 * gdb.trace/stap-trace.exp
1246 * gdb.trace/tfind.exp
1247 * gdb.trace/trace-break.exp
1248 * gdb.trace/trace-condition.exp
1249 * gdb.trace/trace-enable-disable.exp
1250 * gdb.trace/trace-mt.exp
1251 * gdb.trace/tracecmd.exp
1252 * gdb.trace/tspeed.exp
1256 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1258 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1259 with gdb_test_no_output.
1260 Use command as test name.
1262 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1264 Fix test names starting with uppercase throughout the files.
1266 * gdb.ada/assign_1.exp
1267 * gdb.ada/boolean_expr.exp
1268 * gdb.base/arrayidx.exp
1270 * gdb.base/gcore-buffer-overflow.exp
1271 * gdb.base/testenv.exp
1272 * gdb.compile/compile.exp
1273 * gdb.python/py-framefilter-invalidarg.exp
1274 * gdb.python/py-framefilter.exp
1276 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1278 Fix test names starting with uppercase throughout the files.
1280 * gdb.ada/array_return.exp
1281 * gdb.ada/expr_delims.exp
1282 * gdb.ada/mi_dyn_arr.exp
1283 * gdb.ada/mi_interface.exp
1284 * gdb.ada/mi_var_array.exp
1285 * gdb.ada/watch_arg.exp
1286 * gdb.arch/alpha-step.exp
1287 * gdb.arch/altivec-regs.exp
1288 * gdb.arch/e500-regs.exp
1289 * gdb.arch/powerpc-d128-regs.exp
1290 * gdb.base/arrayidx.exp
1291 * gdb.base/break.exp
1292 * gdb.base/checkpoint.exp
1293 * gdb.base/debug-expr.exp
1294 * gdb.base/dmsym.exp
1295 * gdb.base/radix.exp
1296 * gdb.base/sepdebug.exp
1297 * gdb.base/testenv.exp
1298 * gdb.base/watch_thread_num.exp
1299 * gdb.base/watchpoint-cond-gone.exp
1300 * gdb.cell/break.exp
1301 * gdb.cell/ea-cache.exp
1302 * gdb.compile/compile.exp
1303 * gdb.cp/gdb2495.exp
1304 * gdb.gdb/selftest.exp
1305 * gdb.gdb/xfullpath.exp
1307 * gdb.go/integers.exp
1308 * gdb.objc/basicclass.exp
1309 * gdb.pascal/hello.exp
1310 * gdb.pascal/integers.exp
1311 * gdb.python/py-breakpoint.exp
1312 * gdb.python/py-cmd.exp
1313 * gdb.python/py-linetable.exp
1314 * gdb.python/py-xmethods.exp
1315 * gdb.python/python.exp
1316 * gdb.reverse/consecutive-precsave.exp
1317 * gdb.reverse/finish-precsave.exp
1318 * gdb.reverse/i386-precsave.exp
1319 * gdb.reverse/machinestate-precsave.exp
1320 * gdb.reverse/sigall-precsave.exp
1321 * gdb.reverse/solib-precsave.exp
1322 * gdb.reverse/step-precsave.exp
1323 * gdb.reverse/until-precsave.exp
1324 * gdb.reverse/watch-precsave.exp
1325 * gdb.threads/leader-exit.exp
1326 * gdb.threads/pthreads.exp
1327 * gdb.threads/wp-replication.exp
1328 * gdb.trace/actions.exp
1329 * gdb.trace/mi-tsv-changed.exp
1332 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1334 Fix test names starting with uppercase throughout the files.
1336 * gdb.arch/i386-bp_permanent.exp
1337 * gdb.arch/i386-gnu-cfi.exp
1338 * gdb.base/disasm-end-cu.exp
1339 * gdb.base/macscp.exp
1340 * gdb.base/pending.exp
1341 * gdb.base/watch_thread_num.exp
1342 * gdb.cp/exception.exp
1343 * gdb.cp/gdb2495.exp
1345 * gdb.python/py-evsignal.exp
1346 * gdb.python/python.exp
1347 * gdb.trace/tracecmd.exp
1349 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1351 Fix test names starting with uppercase throughout the files.
1353 * gdb.base/charset.exp
1355 * gdb.base/multi-forks.exp
1356 * gdb.guile/scm-progspace.exp
1357 * gdb.opencl/datatypes.exp
1358 * gdb.python/py-block.exp
1359 * gdb.python/py-function.exp
1360 * gdb.python/py-symbol.exp
1361 * gdb.python/py-symtab.exp
1362 * gdb.python/py-xmethods.exp
1363 * gdb.reverse/break-precsave.exp
1364 * gdb.reverse/break-reverse.exp
1365 * gdb.reverse/consecutive-precsave.exp
1366 * gdb.reverse/consecutive-reverse.exp
1367 * gdb.reverse/finish-precsave.exp
1368 * gdb.reverse/finish-reverse-bkpt.exp
1369 * gdb.reverse/finish-reverse.exp
1370 * gdb.reverse/fstatat-reverse.exp
1371 * gdb.reverse/getresuid-reverse.exp
1372 * gdb.reverse/i386-precsave.exp
1373 * gdb.reverse/i386-reverse.exp
1374 * gdb.reverse/i386-sse-reverse.exp
1375 * gdb.reverse/i387-stack-reverse.exp
1376 * gdb.reverse/insn-reverse.exp
1377 * gdb.reverse/machinestate-precsave.exp
1378 * gdb.reverse/machinestate.exp
1379 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1380 * gdb.reverse/pipe-reverse.exp
1381 * gdb.reverse/readv-reverse.exp
1382 * gdb.reverse/recvmsg-reverse.exp
1383 * gdb.reverse/rerun-prec.exp
1384 * gdb.reverse/s390-mvcle.exp
1385 * gdb.reverse/sigall-precsave.exp
1386 * gdb.reverse/sigall-reverse.exp
1387 * gdb.reverse/solib-precsave.exp
1388 * gdb.reverse/solib-reverse.exp
1389 * gdb.reverse/step-precsave.exp
1390 * gdb.reverse/step-reverse.exp
1391 * gdb.reverse/time-reverse.exp
1392 * gdb.reverse/until-precsave.exp
1393 * gdb.reverse/until-reverse.exp
1394 * gdb.reverse/waitpid-reverse.exp
1395 * gdb.reverse/watch-precsave.exp
1396 * gdb.reverse/watch-reverse.exp
1398 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1400 Fix test names starting with uppercase throughout the files.
1402 * gdb.arch/i386-mpx-simple_segv.exp
1403 * gdb.arch/i386-mpx.exp
1404 * gdb.arch/i386-permbkpt.exp
1405 * gdb.arch/pa-nullify.exp
1406 * gdb.arch/powerpc-d128-regs.exp
1407 * gdb.arch/vsx-regs.exp
1408 * gdb.base/bfp-test.exp
1409 * gdb.base/break.exp
1410 * gdb.base/breakpoint-shadow.exp
1411 * gdb.base/callfuncs.exp
1412 * gdb.base/charset.exp
1413 * gdb.base/commands.exp
1414 * gdb.base/completion.exp
1415 * gdb.base/dfp-test.exp
1417 * gdb.base/ending-run.exp
1419 * gdb.base/expand-psymtabs.exp
1420 * gdb.base/float128.exp
1421 * gdb.base/floatn.exp
1422 * gdb.base/foll-exec-mode.exp
1423 * gdb.base/gdb1056.exp
1424 * gdb.base/gdb11531.exp
1425 * gdb.base/kill-after-signal.exp
1426 * gdb.base/multi-forks.exp
1427 * gdb.base/overlays.exp
1428 * gdb.base/pending.exp
1429 * gdb.base/sepdebug.exp
1430 * gdb.base/testenv.exp
1431 * gdb.base/valgrind-db-attach.exp
1432 * gdb.base/watch_thread_num.exp
1433 * gdb.base/watchpoint-cond-gone.exp
1434 * gdb.base/watchpoint.exp
1435 * gdb.base/watchpoints.exp
1436 * gdb.cp/arg-reference.exp
1437 * gdb.cp/baseenum.exp
1438 * gdb.cp/operator.exp
1440 * gdb.dwarf2/dw2-op-out-param.exp
1441 * gdb.dwarf2/dw2-reg-undefined.exp
1444 * gdb.go/integers.exp
1445 * gdb.go/methods.exp
1446 * gdb.go/package.exp
1447 * gdb.guile/scm-parameter.exp
1448 * gdb.guile/scm-progspace.exp
1449 * gdb.guile/scm-value.exp
1450 * gdb.mi/mi-pending.exp
1451 * gdb.mi/user-selected-context-sync.exp
1452 * gdb.multi/multi-attach.exp
1453 * gdb.multi/tids.exp
1454 * gdb.opt/clobbered-registers-O2.exp
1455 * gdb.pascal/floats.exp
1456 * gdb.pascal/integers.exp
1457 * gdb.python/py-block.exp
1458 * gdb.python/py-events.exp
1459 * gdb.python/py-parameter.exp
1460 * gdb.python/py-symbol.exp
1461 * gdb.python/py-symtab.exp
1462 * gdb.python/py-type.exp
1463 * gdb.python/py-value.exp
1464 * gdb.python/py-xmethods.exp
1465 * gdb.python/python.exp
1466 * gdb.reverse/break-precsave.exp
1467 * gdb.reverse/consecutive-precsave.exp
1468 * gdb.reverse/finish-precsave.exp
1469 * gdb.reverse/i386-precsave.exp
1470 * gdb.reverse/machinestate-precsave.exp
1471 * gdb.reverse/sigall-precsave.exp
1472 * gdb.reverse/solib-precsave.exp
1473 * gdb.reverse/step-precsave.exp
1474 * gdb.reverse/until-precsave.exp
1475 * gdb.reverse/watch-precsave.exp
1476 * gdb.server/ext-attach.exp
1477 * gdb.server/ext-restart.exp
1478 * gdb.server/ext-run.exp
1479 * gdb.server/ext-wrapper.exp
1480 * gdb.stabs/gdb11479.exp
1481 * gdb.stabs/weird.exp
1482 * gdb.threads/attach-many-short-lived-threads.exp
1483 * gdb.threads/kill.exp
1484 * gdb.threads/watchpoint-fork.exp
1486 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1488 Fix test names starting with uppercase throughout all the files below.
1490 * gdb.ada/array_return.exp
1491 * gdb.ada/catch_ex.exp
1492 * gdb.ada/info_exc.exp
1493 * gdb.ada/mi_catch_ex.exp
1494 * gdb.ada/mi_dyn_arr.exp
1495 * gdb.ada/mi_ex_cond.exp
1496 * gdb.ada/mi_exc_info.exp
1497 * gdb.ada/mi_interface.exp
1498 * gdb.ada/mi_task_arg.exp
1499 * gdb.ada/mi_task_info.exp
1500 * gdb.ada/mi_var_array.exp
1501 * gdb.arch/alpha-step.exp
1502 * gdb.arch/amd64-disp-step.exp
1503 * gdb.arch/arm-disp-step.exp
1504 * gdb.arch/disp-step-insn-reloc.exp
1505 * gdb.arch/e500-prologue.exp
1506 * gdb.arch/ftrace-insn-reloc.exp
1507 * gdb.arch/gdb1558.exp
1508 * gdb.arch/i386-bp_permanent.exp
1509 * gdb.arch/i386-disp-step.exp
1510 * gdb.arch/i386-float.exp
1511 * gdb.arch/i386-gnu-cfi.exp
1512 * gdb.arch/ia64-breakpoint-shadow.exp
1513 * gdb.arch/mips16-thunks.exp
1514 * gdb.arch/pa-nullify.exp
1515 * gdb.arch/powerpc-aix-prologue.exp
1516 * gdb.arch/powerpc-power.exp
1517 * gdb.arch/ppc-dfp.exp
1518 * gdb.arch/s390-tdbregs.exp
1519 * gdb.arch/spu-info.exp
1520 * gdb.arch/spu-ls.exp
1521 * gdb.arch/thumb-bx-pc.exp
1522 * gdb.base/advance.exp
1523 * gdb.base/annota-input-while-running.exp
1524 * gdb.base/arrayidx.exp
1525 * gdb.base/asmlabel.exp
1526 * gdb.base/async.exp
1527 * gdb.base/attach-wait-input.exp
1528 * gdb.base/auto-connect-native-target.exp
1529 * gdb.base/batch-preserve-term-settings.exp
1530 * gdb.base/bfp-test.exp
1531 * gdb.base/bigcore.exp
1532 * gdb.base/bp-permanent.exp
1533 * gdb.base/break-always.exp
1534 * gdb.base/break-fun-addr.exp
1535 * gdb.base/break-idempotent.exp
1536 * gdb.base/break-main-file-remove-fail.exp
1537 * gdb.base/break-probes.exp
1538 * gdb.base/break-unload-file.exp
1539 * gdb.base/break.exp
1540 * gdb.base/call-ar-st.exp
1541 * gdb.base/call-rt-st.exp
1542 * gdb.base/call-sc.exp
1543 * gdb.base/call-signal-resume.exp
1544 * gdb.base/call-strs.exp
1545 * gdb.base/callexit.exp
1546 * gdb.base/callfuncs.exp
1547 * gdb.base/catch-gdb-caused-signals.exp
1548 * gdb.base/catch-signal-siginfo-cond.exp
1549 * gdb.base/catch-syscall.exp
1550 * gdb.base/compare-sections.exp
1551 * gdb.base/cond-eval-mode.exp
1552 * gdb.base/condbreak-call-false.exp
1553 * gdb.base/consecutive-step-over.exp
1554 * gdb.base/cursal.exp
1555 * gdb.base/disabled-location.exp
1556 * gdb.base/disasm-end-cu.exp
1557 * gdb.base/display.exp
1558 * gdb.base/double-prompt-target-event-error.exp
1559 * gdb.base/dprintf-bp-same-addr.exp
1560 * gdb.base/dprintf-detach.exp
1561 * gdb.base/dprintf-next.exp
1562 * gdb.base/dprintf-non-stop.exp
1563 * gdb.base/dprintf-pending.exp
1564 * gdb.base/dso2dso.exp
1565 * gdb.base/ending-run.exp
1566 * gdb.base/enum_cond.exp
1567 * gdb.base/examine-backward.exp
1568 * gdb.base/exe-lock.exp
1569 * gdb.base/exec-invalid-sysroot.exp
1570 * gdb.base/execl-update-breakpoints.exp
1571 * gdb.base/execution-termios.exp
1572 * gdb.base/fileio.exp
1573 * gdb.base/fixsection.exp
1574 * gdb.base/foll-exec-mode.exp
1575 * gdb.base/foll-exec.exp
1576 * gdb.base/fork-running-state.exp
1577 * gdb.base/frame-args.exp
1578 * gdb.base/fullpath-expand.exp
1579 * gdb.base/func-ptr.exp
1580 * gdb.base/gcore-relro-pie.exp
1581 * gdb.base/gdb1090.exp
1582 * gdb.base/gdb1555.exp
1583 * gdb.base/global-var-nested-by-dso.exp
1584 * gdb.base/gnu-ifunc.exp
1585 * gdb.base/hbreak-in-shr-unsupported.exp
1586 * gdb.base/hbreak-unmapped.exp
1587 * gdb.base/hook-stop.exp
1588 * gdb.base/infcall-input.exp
1589 * gdb.base/info-fun.exp
1590 * gdb.base/info-shared.exp
1591 * gdb.base/interrupt-noterm.exp
1592 * gdb.base/jit-so.exp
1594 * gdb.base/line-symtabs.exp
1596 * gdb.base/longjmp.exp
1597 * gdb.base/macscp.exp
1598 * gdb.base/max-value-size.exp
1599 * gdb.base/nodebug.exp
1600 * gdb.base/nofield.exp
1601 * gdb.base/overlays.exp
1602 * gdb.base/paginate-after-ctrl-c-running.exp
1603 * gdb.base/paginate-bg-execution.exp
1604 * gdb.base/paginate-inferior-exit.exp
1605 * gdb.base/pending.exp
1606 * gdb.base/pr11022.exp
1607 * gdb.base/printcmds.exp
1608 * gdb.base/ptr-typedef.exp
1609 * gdb.base/ptype.exp
1610 * gdb.base/randomize.exp
1611 * gdb.base/range-stepping.exp
1612 * gdb.base/realname-expand.exp
1613 * gdb.base/relativedebug.exp
1614 * gdb.base/remote.exp
1615 * gdb.base/savedregs.exp
1616 * gdb.base/sepdebug.exp
1617 * gdb.base/set-noassign.exp
1618 * gdb.base/shlib-call.exp
1619 * gdb.base/shreloc.exp
1620 * gdb.base/sigaltstack.exp
1621 * gdb.base/sigbpt.exp
1622 * gdb.base/siginfo-addr.exp
1623 * gdb.base/siginfo-obj.exp
1624 * gdb.base/siginfo-thread.exp
1625 * gdb.base/signest.exp
1626 * gdb.base/signull.exp
1627 * gdb.base/sigrepeat.exp
1629 * gdb.base/so-impl-ld.exp
1630 * gdb.base/solib-corrupted.exp
1631 * gdb.base/solib-disc.exp
1632 * gdb.base/solib-display.exp
1633 * gdb.base/solib-overlap.exp
1634 * gdb.base/solib-search.exp
1635 * gdb.base/solib-symbol.exp
1636 * gdb.base/source-execution.exp
1637 * gdb.base/sss-bp-on-user-bp-2.exp
1638 * gdb.base/sss-bp-on-user-bp.exp
1639 * gdb.base/stack-checking.exp
1640 * gdb.base/stale-infcall.exp
1641 * gdb.base/step-break.exp
1642 * gdb.base/step-line.exp
1643 * gdb.base/step-over-exit.exp
1644 * gdb.base/step-test.exp
1645 * gdb.base/structs.exp
1646 * gdb.base/sym-file.exp
1647 * gdb.base/symtab-search-order.exp
1649 * gdb.base/type-opaque.exp
1650 * gdb.base/unload.exp
1651 * gdb.base/until-nodebug.exp
1652 * gdb.base/until.exp
1653 * gdb.base/unwindonsignal.exp
1654 * gdb.base/watch-cond.exp
1655 * gdb.base/watch-non-mem.exp
1656 * gdb.base/watch_thread_num.exp
1657 * gdb.base/watchpoint-reuse-slot.exp
1658 * gdb.base/watchpoint-solib.exp
1659 * gdb.base/watchpoint.exp
1660 * gdb.btrace/dlopen.exp
1662 * gdb.cell/break.exp
1666 * gdb.cell/dwarfaddr.exp
1667 * gdb.cell/ea-cache.exp
1668 * gdb.cell/ea-standalone.exp
1669 * gdb.cell/ea-test.exp
1670 * gdb.cell/f-regs.exp
1672 * gdb.cell/gcore.exp
1673 * gdb.cell/mem-access.exp
1674 * gdb.cell/ptype.exp
1675 * gdb.cell/registers.exp
1676 * gdb.cell/sizeof.exp
1677 * gdb.cell/solib-symbol.exp
1678 * gdb.cell/solib.exp
1679 * gdb.compile/compile-tls.exp
1680 * gdb.cp/exception.exp
1681 * gdb.cp/gdb2495.exp
1683 * gdb.cp/mb-inline.exp
1684 * gdb.cp/mb-templates.exp
1685 * gdb.cp/pr10687.exp
1687 * gdb.cp/scope-err.exp
1688 * gdb.cp/templates.exp
1689 * gdb.cp/virtfunc.exp
1690 * gdb.dwarf2/dw2-dir-file-name.exp
1691 * gdb.dwarf2/dw2-single-line-discriminators.exp
1692 * gdb.fortran/complex.exp
1693 * gdb.fortran/library-module.exp
1694 * gdb.guile/guile.exp
1695 * gdb.guile/scm-cmd.exp
1696 * gdb.guile/scm-frame-inline.exp
1697 * gdb.guile/scm-objfile.exp
1698 * gdb.guile/scm-pretty-print.exp
1699 * gdb.guile/scm-symbol.exp
1700 * gdb.guile/scm-type.exp
1701 * gdb.guile/scm-value.exp
1702 * gdb.linespec/keywords.exp
1703 * gdb.linespec/ls-errs.exp
1704 * gdb.linespec/macro-relative.exp
1705 * gdb.linespec/thread.exp
1706 * gdb.mi/mi-breakpoint-changed.exp
1707 * gdb.mi/mi-dprintf-pending.exp
1708 * gdb.mi/mi-fullname-deleted.exp
1709 * gdb.mi/mi-logging.exp
1710 * gdb.mi/mi-pending.exp
1711 * gdb.mi/mi-solib.exp
1712 * gdb.mi/new-ui-mi-sync.exp
1713 * gdb.mi/user-selected-context-sync.exp
1714 * gdb.multi/dummy-frame-restore.exp
1715 * gdb.multi/multi-arch-exec.exp
1716 * gdb.multi/remove-inferiors.exp
1717 * gdb.multi/watchpoint-multi-exit.exp
1718 * gdb.opt/solib-intra-step.exp
1719 * gdb.perf/backtrace.exp
1720 * gdb.perf/single-step.exp
1721 * gdb.perf/skip-command.exp
1722 * gdb.perf/skip-prologue.exp
1723 * gdb.perf/solib.exp
1724 * gdb.python/lib-types.exp
1725 * gdb.python/py-as-string.exp
1726 * gdb.python/py-bad-printers.exp
1727 * gdb.python/py-block.exp
1728 * gdb.python/py-breakpoint.exp
1729 * gdb.python/py-cmd.exp
1730 * gdb.python/py-events.exp
1731 * gdb.python/py-evthreads.exp
1732 * gdb.python/py-finish-breakpoint.exp
1733 * gdb.python/py-finish-breakpoint2.exp
1734 * gdb.python/py-frame-inline.exp
1735 * gdb.python/py-frame.exp
1736 * gdb.python/py-inferior.exp
1737 * gdb.python/py-infthread.exp
1738 * gdb.python/py-mi.exp
1739 * gdb.python/py-objfile.exp
1740 * gdb.python/py-pp-maint.exp
1741 * gdb.python/py-pp-registration.exp
1742 * gdb.python/py-prettyprint.exp
1743 * gdb.python/py-recurse-unwind.exp
1744 * gdb.python/py-shared.exp
1745 * gdb.python/py-symbol.exp
1746 * gdb.python/py-symtab.exp
1747 * gdb.python/py-template.exp
1748 * gdb.python/py-type.exp
1749 * gdb.python/py-unwind-maint.exp
1750 * gdb.python/py-unwind.exp
1751 * gdb.python/py-value.exp
1752 * gdb.python/python.exp
1753 * gdb.reverse/finish-reverse-bkpt.exp
1754 * gdb.reverse/insn-reverse.exp
1755 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1756 * gdb.reverse/solib-precsave.exp
1757 * gdb.reverse/solib-reverse.exp
1758 * gdb.stabs/gdb11479.exp
1759 * gdb.stabs/weird.exp
1760 * gdb.threads/fork-child-threads.exp
1761 * gdb.threads/fork-plus-threads.exp
1762 * gdb.threads/fork-thread-pending.exp
1763 * gdb.threads/forking-threads-plus-breakpoint.exp
1764 * gdb.threads/hand-call-in-threads.exp
1765 * gdb.threads/interrupted-hand-call.exp
1766 * gdb.threads/linux-dp.exp
1767 * gdb.threads/local-watch-wrong-thread.exp
1768 * gdb.threads/next-while-other-thread-longjmps.exp
1769 * gdb.threads/non-ldr-exit.exp
1770 * gdb.threads/pending-step.exp
1771 * gdb.threads/print-threads.exp
1772 * gdb.threads/process-dies-while-detaching.exp
1773 * gdb.threads/process-dies-while-handling-bp.exp
1774 * gdb.threads/pthreads.exp
1775 * gdb.threads/queue-signal.exp
1776 * gdb.threads/reconnect-signal.exp
1777 * gdb.threads/signal-command-handle-nopass.exp
1778 * gdb.threads/signal-command-multiple-signals-pending.exp
1779 * gdb.threads/signal-delivered-right-thread.exp
1780 * gdb.threads/signal-sigtrap.exp
1781 * gdb.threads/sigthread.exp
1782 * gdb.threads/staticthreads.exp
1783 * gdb.threads/stepi-random-signal.exp
1784 * gdb.threads/thread-unwindonsignal.exp
1785 * gdb.threads/thread_check.exp
1786 * gdb.threads/thread_events.exp
1787 * gdb.threads/tid-reuse.exp
1788 * gdb.threads/tls-nodebug.exp
1789 * gdb.threads/tls-shared.exp
1790 * gdb.threads/tls-so_extern.exp
1791 * gdb.threads/tls.exp
1792 * gdb.threads/wp-replication.exp
1793 * gdb.trace/actions-changed.exp
1794 * gdb.trace/actions.exp
1795 * gdb.trace/backtrace.exp
1796 * gdb.trace/change-loc.exp
1797 * gdb.trace/collection.exp
1798 * gdb.trace/deltrace.exp
1799 * gdb.trace/disconnected-tracing.exp
1800 * gdb.trace/entry-values.exp
1801 * gdb.trace/ftrace-lock.exp
1802 * gdb.trace/ftrace.exp
1803 * gdb.trace/infotrace.exp
1804 * gdb.trace/mi-trace-frame-collected.exp
1805 * gdb.trace/mi-trace-unavailable.exp
1806 * gdb.trace/mi-traceframe-changed.exp
1807 * gdb.trace/mi-tracepoint-changed.exp
1808 * gdb.trace/mi-tsv-changed.exp
1809 * gdb.trace/no-attach-trace.exp
1810 * gdb.trace/packetlen.exp
1811 * gdb.trace/passc-dyn.exp
1812 * gdb.trace/passcount.exp
1813 * gdb.trace/pending.exp
1814 * gdb.trace/pr16508.exp
1815 * gdb.trace/qtro.exp
1816 * gdb.trace/range-stepping.exp
1817 * gdb.trace/read-memory.exp
1818 * gdb.trace/report.exp
1819 * gdb.trace/save-trace.exp
1820 * gdb.trace/signal.exp
1821 * gdb.trace/stap-trace.exp
1822 * gdb.trace/status-stop.exp
1823 * gdb.trace/strace.exp
1824 * gdb.trace/tfile.exp
1825 * gdb.trace/tfind.exp
1826 * gdb.trace/trace-break.exp
1827 * gdb.trace/trace-condition.exp
1828 * gdb.trace/trace-enable-disable.exp
1829 * gdb.trace/trace-mt.exp
1830 * gdb.trace/tracecmd.exp
1831 * gdb.trace/tracefile-pseudo-reg.exp
1832 * gdb.trace/tspeed.exp
1833 * gdb.trace/tstatus.exp
1835 * gdb.trace/unavailable.exp
1836 * gdb.trace/while-dyn.exp
1837 * gdb.trace/while-stepping.exp
1840 * lib/mi-support.exp
1843 * lib/prelink-support.exp
1844 * lib/selftest-support.exp
1846 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1848 * Makefile.in: Include disable-implicit-rules.mk.
1850 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1852 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1853 non-byte-aligned bit fields.
1855 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1858 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1859 respects the DW_AT_data_bit_offset attribute.
1861 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1863 * gdb.base/default.exp: Fix output of "set language".
1865 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1867 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1868 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1870 * configure.ac: Remove checks for the make program.
1871 * configure: Re-generate.
1873 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1875 * gdb.python/py-recurse-unwind.c (main): Add loop.
1876 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1877 to read_register() and gdb.parse_and_eval(). Make each code
1878 call a separate case that can be individually tested.
1879 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1880 proc. Call cont_and_backtrace for each of the code paths that
1881 we want to test in the unwinder.
1883 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1885 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1886 the definition of struct S.
1888 2016-11-11 Catherine Moore <clm@codesourcery.com>
1890 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1892 2016-11-09 Pedro Alves <palves@redhat.com>
1894 * gdb.base/commands.exp (runto_or_return): New procedure.
1895 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1896 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1897 (progvar_simple_while_test, progvar_complex_if_while_test)
1898 (if_while_breakpoint_command_test)
1899 (infrun_breakpoint_command_test, breakpoint_command_test)
1900 (user_defined_command_test, watchpoint_command_test)
1901 (test_command_prompt_position, redefine_hook_test)
1902 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1903 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1904 multi_line_input and multi_line. Remove gdb_expect and
1905 gdb_stop_suppressing_tests uses.
1906 * lib/gdb.exp (valnum_re): New global.
1907 (multi_line_input): New procedure.
1909 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1911 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1913 (test_setup): Define with proc_with_prefix.
1914 (test_cli_inferior): Likewise.
1915 (test_cli_thread): Likewise.
1916 (test_cli_frame): Likewise.
1917 (test_cli_select_frame): Likewise.
1918 (test_cli_up_down): Likewise.
1919 (test_mi_thread_select): Likewise.
1920 (test_mi_stack_select_frame): Likewise.
1921 (test_cli_in_mi_inferior): Likewise.
1922 (test_cli_in_mi_thread): Likewise.
1923 (test_cli_in_mi_frame): Likewise.
1924 (top level): Do not use with_test_prefix_procname.
1926 2016-11-09 Pedro Alves <palves@redhat.com>
1928 * gdb.base/commands.exp (gdbvar_simple_if_test)
1929 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1930 (progvar_simple_if_test, progvar_simple_while_test)
1931 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1932 (infrun_breakpoint_command_test, breakpoint_command_test)
1933 (user_defined_command_test, watchpoint_command_test)
1934 (test_command_prompt_position, deprecated_command_test)
1935 (bp_deleted_in_command, temporary_breakpoint_commands)
1936 (stray_arg0_test, source_file_with_indented_comment)
1937 (recursive_source_test, if_commands_test)
1938 (error_clears_commands_left, redefine_hook_test)
1939 (redefine_backtrace_test): Use proc_with_prefix.
1940 * lib/gdb.exp (proc_with_prefix): New proc.
1942 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1944 * gdb.base/tui-layout.c: New file.
1945 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1946 disassembly window contains very long lines.
1948 2016-11-08 Tom Tromey <tom@tromey.com>
1950 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1953 2016-11-08 Tom Tromey <tom@tromey.com>
1955 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1958 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1960 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1962 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1964 * gdb.rust/simple.rs: Add test for univariant enums without
1965 discriminants and for encoded struct-like enums.
1967 2016-10-28 Pedro Alves <palves@redhat.com>
1969 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1970 gdb_test_multiple, tighten regexps and match symtabs and line
1971 tables incrementally.
1973 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
1975 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
1978 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
1980 * gdb.base/exec-invalid-sysroot.exp: New file.
1982 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1984 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
1986 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1988 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
1990 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
1992 * gdb.base/killed-outside.exp: Remove $options from a call to
1993 `prepare_for_testing'.
1995 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1997 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1998 Change test message.
2000 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2002 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2005 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2007 * gdb.trace/mi-trace-save.exp: New file.
2009 2016-10-13 Yao Qi <yao.qi@linaro.org>
2011 * gdb.base/code_elim.exp (get_var_address): Remove.
2012 * gdb.base/relocate.exp: Likewise.
2013 * gdb.base/shreloc.exp: Likewise.
2014 * lib/gdb.exp (get_var_address): New.
2016 2016-10-13 Yao Qi <yao.qi@linaro.org>
2018 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2019 floating point tests if $skip_float_test is false.
2021 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2023 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2024 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2026 Add 1 to argc so we guarantee distinct initial/modified argc values.
2028 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2030 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2032 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2034 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2035 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2036 * gdb.arch/vsx-regs.exp: Likewise.
2038 2016-10-07 Yao Qi <yao.qi@linaro.org>
2040 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2042 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2044 * gdb.python/python.exp: Test decode_line("*0").
2046 2016-10-06 Doug Evans <dje@google.com>
2048 * gdb.python/py-value.exp (test_value_creation): Add test for large
2049 unsigned 64-bit value.
2051 2016-10-06 Tom Tromey <tom@tromey.com>
2053 * gdb.compile/compile.exp: Change java tests to rust.
2054 * gdb.base/setshow.exp: Change java tests to rust.
2055 * gdb.base/default.exp: Remove java from language list.
2056 * README (Examples): Update language example.
2057 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2059 * lib/gdb.exp (skip_java_tests): Remove.
2060 * lib/java.exp: Remove.
2063 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2065 * gdb.arch/mips-fcr.exp: New test.
2066 * gdb.arch/mips-fcr.c: Source for the new test.
2068 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2070 * gdb.base/solib-disc.exp: Use `standard_output_file'
2073 2016-10-06 Pedro Alves <palves@redhat.com>
2075 * gdb.base/jit-simple-dl.c: New file.
2076 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2077 * gdb.base/jit-simple.c: ... this.
2078 * gdb.base/jit-simple.exp (jit_run): Delete.
2079 (build_jit): New proc.
2080 (jit_test_reread): Recompile either the main program or the shared
2081 library, depending on what is being tested. Skip changing address
2082 if caller wants to. Compare before/after addresses. If testing
2083 standalone, explicitly load the binary. Test "maint info
2085 (top level): Add "standalone vs shared lib" and "change address"
2086 vs "same address" axes.
2088 2016-10-06 Pedro Alves <palves@redhat.com>
2090 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2093 (jit_test_reread): Use with_test_prefix. Reload the main binary
2094 explicitly. Compare the before/after addresses of the JIT
2097 2016-08-15 Doug Evans <dje@google.com>
2099 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2100 for single bitfields is bool.
2101 * gdb.xml/tdesc-regs.exp: Ditto.
2103 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2105 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2107 2016-10-05 Yao Qi <yao.qi@linaro.org>
2109 * lib/gdb.exp (support_complex_tests): Return zero if
2110 gdb_skip_float_test return true.
2112 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2113 Simon Marchi <simon.marchi@ericsson.com>
2116 * gdb.mi/user-selected-context-sync.exp: New file.
2117 * gdb.mi/user-selected-context-sync.c: New file.
2119 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2120 Simon Marchi <simon.marchi@ericsson.com>
2123 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2124 =thread-select-event check.
2126 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2128 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2129 the compulsory L operand changes.
2130 * gdb.arch/powerpc-power.s: Likewise.
2132 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2134 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2135 * gdb.base/jit-attach-pie.c: New file.
2136 * gdb.base/jit-attach-pie.exp: New file.
2138 2016-09-28 Pedro Alves <palves@redhat.com>
2140 * gdb.base/infcall-input.c: New file.
2141 * gdb.base/infcall-input.exp: New file.
2143 2016-09-22 Yao Qi <yao.qi@linaro.org>
2145 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2146 (gdb_exit): Rename it to ...
2147 (gdbserver_gdb_exit): ... Close GDBserver.
2148 (gdb_exit): New proc, call gdbserver_gdb_exit.
2149 (mi_gdb_exit): Likewise.
2151 2016-09-22 Yao Qi <yao.qi@linaro.org>
2153 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2155 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2158 2016-09-22 Yao Qi <yao.qi@linaro.org>
2160 * lib/gdbserver-support.exp: Check the existence of
2161 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2163 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2165 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2167 2016-09-21 Tom Tromey <tom@tromey.com>
2170 * gdb.base/quit.exp: New file.
2172 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2174 * .gitignore: New file.
2176 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2178 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2181 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2183 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2185 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2187 * gdb.cp/casts.cc (decltype): Move it ...
2188 (main): ... with its call to ...
2189 * gdb.cp/casts03.cc: ... a new file.
2190 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2192 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2194 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2196 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2198 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2199 and sync up the test with tests in gas/testsuite/gas/ppc.
2200 * gdb.arch/powerpc-power.exp: Likewise.
2202 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2204 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2206 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2207 Jan Kratochvil <jan.kratochvil@redhat.com>
2209 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2210 make m1's definition to be different from m2's. Use 'dummy' as an
2211 argument for probe 'two'.
2213 2016-09-10 Jon Beniston <jon@beniston.com>
2215 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2218 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2220 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2221 variable declaration.
2222 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2223 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2224 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2225 received HWCAP as its argument.
2227 2016-09-06 Pedro Alves <palves@redhat.com>
2229 * gdb.base/new-ui-pending-input.c: New file.
2230 * gdb.base/new-ui-pending-input.exp: New file.
2231 * gdb.exp (clear_gdb_spawn_id): New procedure.
2232 (with_spawn_id): Check whether gdb_spawn_id exists before
2233 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2236 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2238 * gdb.base/float128.c: New file.
2239 * gdb.base/float128.exp: Likewise.
2240 * gdb.base/floatn.c: Likewise.
2241 * gdb.base/floatn.exp: Likewise.
2243 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2245 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2247 2016-09-05 Pedro Alves <palves@redhat.com>
2250 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2251 unwinders are immediately called as side effect of "source" or
2252 "disable unwinder" commands.
2253 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2255 2016-09-02 Yao Qi <yao.qi@linaro.org>
2257 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2258 is true and $type is "float" or "double".
2260 2016-09-02 Yao Qi <yao.qi@linaro.org>
2262 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2264 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2265 * gdb.base/call-rt-st.exp: Likewise.
2266 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2267 return value instead of gdb,skip_float_test.
2268 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2269 (do_function_calls): Use its return value instead of
2270 gdb,skip_float_test.
2271 * gdb.base/finish.exp: Likewise.
2272 * gdb.base/funcargs.exp: Likewise.
2273 * gdb.base/return.exp: Likewise.
2274 * gdb.base/return2.exp: Likewise.
2275 * gdb.base/varargs.exp: Likewise.
2276 * lib/gdb.exp (gdb_skip_float_test): Change it to
2277 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2279 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2281 * gdb.multi/tids.exp: Test "thread apply all".
2283 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2285 * gdb.base/default.exp (tty): Remove.
2287 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2289 * gdb.python/py-recurse-unwind.c: New file.
2290 * gdb.python/py-recurse-unwind.py: New file.
2291 * gdb.python/py-recurse-unwind.exp: New file.
2293 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2295 * gdb.base/set-inferior-tty.exp: New file.
2296 * gdb.base/set-inferior-tty.c: New file.
2298 2016-08-23 Pedro Alves <palves@redhat.com>
2301 * gdb.base/new-ui-echo.c: New file.
2302 * gdb.base/new-ui-echo.exp: New file.
2304 2016-08-23 Yao Qi <yao.qi@linaro.org>
2306 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2308 * gdb.server/connect-without-multi-process.exp (do_test):
2311 2016-08-23 Yao Qi <yao.qi@linaro.org>
2313 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2314 standalone_txt. Delete gdb_txt and standalone_txt on host
2315 and target. Spawn the binary on target. Copy files from
2318 2016-08-22 Pedro Alves <palves@redhat.com>
2321 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2322 with_test_prefix. Factor out bits to ...
2323 (test_no_vdso): ... this new procedure.
2325 2016-08-19 Carl Love <cel@us.ibm.com>
2327 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2328 maintaining separate logic for constructing the output path.
2329 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2330 * gdb.arch/ppc-dfp.exp: Likewise.
2331 * gdb.arch/ppc-fp.exp: Likewise.
2332 * gdb.arch/vsx-regs.exp: Likewise.
2333 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2334 binprefix for generating the additional binary files.
2336 2016-08-19 Pedro Alves <palves@redhat.com>
2338 * gdb.trace/mi-trace-frame-collected.exp
2339 (test_trace_frame_collected): On x32, expect two registers.
2341 2016-08-18 Carl Love <cel@us.ibm.com>
2343 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2344 and sync up the test with tests in gas/testsuite/gas/ppc.
2345 * gdb.arch/powerpc-power.exp: Likewise.
2347 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2349 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2350 expected error message.
2352 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2354 * gdb.multi/remove-inferiors.exp: New file.
2355 * gdb.multi/remove-inferiors.c: New file.
2357 2016-08-12 Yao Qi <yao.qi@linaro.org>
2359 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2362 2016-08-10 Pedro Alves <palves@redhat.com>
2365 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2368 2016-08-09 Pedro Alves <palves@redhat.com>
2369 Simon Marchi <simon.marchi@ericsson.com>
2372 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2373 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2375 2016-08-09 Pedro Alves <palves@redhat.com>
2378 * gdb.mi/mi-cmd-error.exp: New file.
2380 2016-08-09 Pedro Alves <palves@redhat.com>
2383 * gdb.base/signals-state-child.c: New file.
2384 * gdb.base/signals-state-child.exp: New file.
2385 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2387 2016-08-09 Pedro Alves <palves@redhat.com>
2389 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2391 2016-08-03 Tom Tromey <tom@tromey.com>
2394 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2396 2016-08-01 Yao Qi <yao.qi@linaro.org>
2398 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2399 variable mode to "multi-process" if $multi_process is 1, otherwise
2400 set it to "single-process".
2402 2016-08-01 Yao Qi <yao.qi@linaro.org>
2404 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2405 * gdb.cp/cpexprs.exp: Likewise.
2406 * gdb.cp/m-static.exp: Likewise.
2408 2016-07-26 Tom Tromey <tom@tromey.com>
2411 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2414 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2416 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2417 selecting assembly source files.
2418 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2419 assembly source files.
2420 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2421 assembly source files.
2422 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2423 selecting assembly source files.
2425 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2427 * gdb.base/new-ui.exp (do_test_invalid_args): New
2430 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2432 * gdb.btrace/reconnect.c: New file.
2433 * gdb.btrace/reconnect.exp: New file.
2435 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2437 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2438 to test_catch_syscall_group.
2439 (test_catch_syscall_group): New.
2441 2016-07-21 Tom Tromey <tom@tromey.com>
2443 * gdb.rust/simple.rs (main): Use empty struct expression.
2444 * gdb.rust/simple.exp: Add tests for empty struct expression.
2446 2016-07-21 Yao Qi <yao.qi@linaro.org>
2448 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2449 if gdb_skip_xml_test is true on some targets.
2451 2016-07-21 Yao Qi <yao.qi@linaro.org>
2453 * gdb.server/solib-list.exp: Unset last_loaded_file.
2455 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2457 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2458 "step into captured_main (args)".
2460 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2462 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2464 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2466 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2468 2016-07-19 Pedro Alves <palves@redhat.com>
2470 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2471 * gdb.opt/inline-bt.exp: Likewise.
2472 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2473 additional_flags=-Winline.
2474 * gdb.opt/inline-locals.exp: Likewise.
2475 * gdb.opt/inline-markers.c (ATTR): Define.
2476 (inlined_fn): Use it.
2478 2016-07-19 Yao Qi <yao.qi@linaro.org>
2480 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2481 (test_with_self): Remove some code. Remove argument executable.
2482 (top-level): Use do_self_tests.
2484 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2485 Don Breazeal <donb@codesourcery.com>
2487 * gdb.base/maint.exp: Escape paths used in regular expressions.
2488 * gdb.stabs/weird.exp: Likewise.
2490 2016-07-13 Tom Tromey <tom@tromey.com>
2492 PR python/15620, PR python/18620:
2493 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2494 (test_bkpt_events): New procs.
2496 2016-07-13 Tom Tromey <tom@tromey.com>
2499 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2501 (test_watchpoints): Likewise.
2502 (test_bkpt_pending): New proc.
2504 2016-07-13 Tom Tromey <tom@tromey.com>
2507 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2510 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2512 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2513 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2514 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2516 (g): Rename g_end_lbl to g_label.
2517 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2519 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2521 2016-07-12 Tom Tromey <tom@tromey.com>
2524 * gdb.python/py-unwind-maint.exp: Update tests.
2526 2016-07-12 Yao Qi <yao.qi@linaro.org>
2528 * lib/selftest-support.exp (selftest_setup): Match the output
2529 when captured_main is inlined.
2531 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2533 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2535 (print this%a, print this%b, print this): New tests.
2536 * gdb.fortran/derived-types.f90 (this): New object and
2539 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2541 * gdb.ada/arraydim.exp: Remove extra directory level in build
2544 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2546 * lib/ada.exp: Remove extra directory level in build directory.
2547 * gdb.ada/cond_lang.exp: Likewise.
2548 * gdb.ada/exec_changed.exp: Likewise.
2549 * gdb.ada/lang_switch.exp: Likewise.
2551 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2553 * simple.rs: Add test for raw pointer subscripting.
2554 * simple.exp: Add test expectations.
2556 2016-07-05 Yao Qi <yao.qi@linaro.org>
2558 * gdb.mi/mi-reverse.exp: Match =record-started output.
2560 2016-07-01 Pedro Alves <palves@redhat.com>
2562 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2564 (jit_reader_test): Test the jit reader's unwinder.
2565 * gdb.base/jithost.c (jit_function_00_code): New global.
2566 (main): Use memcpy to fill in the mmapped code, instead of poking
2567 bytes manually here.
2568 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2570 (read_debug_info): Save the function's range.
2571 (read_sp): New function.
2572 (unwind_frame): Use it. Also unwind RBP.
2573 (get_frame_id): Use read_sp.
2574 (gdb_init_reader): Use calloc instead of malloc.
2575 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2576 parameter. Use gdb_test_multiple.
2578 2016-07-01 Pedro Alves <palves@redhat.com>
2579 Antoine Tremblay <antoine.tremblay@ericsson.com>
2581 * gdb.threads/process-dies-while-detaching.c: New file.
2582 * gdb.threads/process-dies-while-detaching.exp: New file.
2584 2016-07-01 Pedro Alves <palves@redhat.com>
2586 * gdb.multi/watchpoint-multi-exit.c: New file.
2587 * gdb.multi/watchpoint-multi-exit.exp: New file.
2589 2016-06-30 Pedro Alves <palves@redhat.com>
2591 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2592 unset inferior_spawn_id.
2594 2016-06-30 Pedro Alves <palves@redhat.com>
2596 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2597 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2599 2016-06-29 Yao Qi <yao.qi@linaro.org>
2601 * gdb.base/return.c: Add copyright header.
2603 2016-06-29 Tom Tromey <tom@tromey.com>
2606 * gdb.python/py-framefilter.exp: Add tests for setting priority
2607 and disabling of non-existent frame filter.
2609 2016-06-29 Yao Qi <yao.qi@linaro.org>
2611 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2614 2016-06-28 Yao Qi <yao.qi@linaro.org>
2616 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2617 triplets. Start gdb, execute catch syscall, and continue. Check
2618 gdb's output to determine catch syscall is supported.
2620 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2622 * gdb.rust/simple.rs: Add test for returning unit in a function.
2623 * gdb.rust/simple.exp: Add expectation for functions returning
2626 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2628 * gdb.python/py-breakpoint-create-fail.c,
2629 gdb.python/py-breakpoint-create-fail.exp,
2630 gdb.python/py-breakpoint-create-fail.py: New testcase.
2632 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2635 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2636 * gdb.rust/simple.exp: Add test expectations for new NonZero
2639 2016-06-24 David Taylor <dtaylor@emc.com>
2641 * gdb.base/offsets.exp: New file.
2642 * gdb.base/offsets.c: New file.
2644 2016-06-23 Tom Tromey <tom@tromey.com>
2647 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2648 before any filters are loaded.
2650 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2652 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2653 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2655 * gdb.fortran/derived-type-function.exp: New file.
2656 * gdb.fortran/derived-type-function.f90: New file.
2659 2016-06-21 Pedro Alves <palves@redhat.com>
2661 * gdb.base/new-ui.exp: New file.
2662 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2663 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2664 (with_spawn_id): New procedure.
2666 2016-06-21 Pedro Alves <palves@redhat.com>
2668 * gdb.mi/mi-exec-run.exp: New file.
2670 2016-06-21 Pedro Alves <palves@redhat.com>
2672 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2673 breakpoint command's output on the main UI.
2674 (test_break): New procedure, factored out from calls in the top
2676 (top level): Use foreach_with_prefix to test MI as main UI and as
2679 2016-06-21 Pedro Alves <palves@redhat.com>
2681 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2682 (test_awatch_creation_and_listing)
2683 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2684 Remove 'type' parameter.
2685 (test_watchpoint_all): New parameter mi_mode. Remove
2687 (top level): Use foreach_with_prefix, and add main/separate UI MI
2690 2016-06-21 Pedro Alves <palves@redhat.com>
2692 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2693 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2694 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2695 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2696 (gdb_main_spawn_id, mi_spawn_id): Declare and
2698 (mi_create_inferior_pty): New procedure,
2699 factored out from default_mi_gdb_start.
2700 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2702 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2703 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2704 Use mi_create_inferior_pty.
2705 (mi_gdb_start): Use eval to pass down args list.
2707 2016-06-21 Pedro Alves <palves@redhat.com>
2709 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2710 * gdb.opt/inline-cmds.exp: Add MI tests.
2712 2016-06-21 Pedro Alves <palves@redhat.com>
2714 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2716 2016-06-21 Pedro Alves <palves@redhat.com>
2718 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2719 (top level): Use it instead of mi_execute_to.
2721 2016-06-21 Pedro Alves <palves@redhat.com>
2723 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2724 (cont_handler_str): New.
2725 (signal_stop_handler): Set stop_handler_str instead of printing to
2727 (continue_handler): Set cont_handler_str instead of printing to
2729 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2730 mi_send_resuming_command. Print stop_handler_str and
2731 cont_handler_str instead of expecting the python events print
2734 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2736 * gdb.base/jit-reader.exp: New file.
2737 * gdb.base/jithost.c: New file.
2738 * gdb.base/jithost.h: New file.
2739 * gdb.base/jitreader.c : New file.
2740 * gdb.base/jit-protocol.h: New file.
2742 2016-06-17 Yao Qi <yao.qi@linaro.org>
2744 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2745 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2746 and detach-on-fork. Adjust tests.
2747 (top level): Invoke break_cond_on_syscall with combinations of
2748 syscall, follow-fork-mode and detach-on-fork.
2750 2016-06-17 Yao Qi <yao.qi@linaro.org>
2752 * gdb.base/step-over-exit.c: New.
2753 * gdb.base/step-over-exit.exp: New.
2755 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2757 * gdb.base/float.exp: Add target check for nds32*-*-*.
2758 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2760 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2762 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2763 for unsupported target features.
2764 * gdb.base/call-rt-st.exp: Likewise.
2765 * gdb.base/call-sc.exp: Likewise.
2766 * gdb.base/call-signal-resume.exp: Likewise.
2767 * gdb.base/call-strs.exp: Likewise.
2768 * gdb.base/callexit.exp: Likewise.
2769 * gdb.base/callfuncs.exp: Likewise.
2770 * gdb.base/nodebug.exp: Likewise.
2771 * gdb.base/printcmds.exp: Likewise.
2772 * gdb.base/ptype.exp: Likewise.
2773 * gdb.base/structs.exp: Likewise.
2774 * gdb.base/unwindonsignal.exp: Likewise.
2775 * gdb.cp/gdb2495.exp: Likewise.
2776 * gdb.cp/templates.exp: Likewise.
2777 * gdb.cp/virtfunc.exp: Likewise.
2778 * gdb.threads/hand-call-in-threads.exp: Likewise.
2779 * gdb.threads/interrupted-hand-call.exp: Likewise.
2780 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2782 2016-06-10 Tom Tromey <tom@tromey.com>
2785 * gdb.rust/expr.exp: Add test for integer constant larger than
2788 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2790 * gdb.fortran/nested-funcs.exp: New.
2791 * gdb.fortran/nested-funcs.f90: New.
2793 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2795 * gdb.base/examine-backward.c: New file.
2796 * gdb.base/examine-backward.exp: New file.
2798 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2800 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2803 2016-06-02 Tom Tromey <tom@tromey.com>
2806 * gdb.python/py-shared.exp: Add solib_name test.
2808 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2810 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2812 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2815 * gdb.dwarf2/implref.exp: Rename to...
2816 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2817 * gdb.dwarf2/implref-array.c: New file.
2818 * gdb.dwarf2/implref-array.exp: Likewise.
2819 * gdb.dwarf2/implref-global.c: Likewise.
2820 * gdb.dwarf2/implref-global.exp: Likewise.
2821 * gdb.dwarf2/implref-struct.c: Likewise.
2822 * gdb.dwarf2/implref-struct.exp: Likewise.
2824 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2826 * gdb.trace/trace-condition.exp: Add 64bit tests.
2828 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2830 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2832 (main): Adapt to 8 to 64 bits types.
2833 * gdb.trace/trace-condition.exp: Add new tests.
2835 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2837 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2839 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2841 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2842 Move condition tests...
2843 * gdb.trace/trace-condition.exp: Here.
2845 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2847 * gdb.trace/trace-condition.exp: Add counter-case tests.
2849 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2852 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2853 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2855 2016-05-27 Pedro Alves <palves@redhat.com>
2857 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2859 (top level): Call it, and bail out of DejaGnu is known to be bad.
2861 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2863 * gdb.base/whatis.c: Extend the test case.
2864 * gdb.base/whatis.exp: Add additional tests.
2866 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2868 * gdb.fortran/type.f90: Add pointer variable.
2869 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2871 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2873 * gdb.fortran/vla-type.exp: Fix testcase name.
2875 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2877 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2879 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2881 * gdb.fortran/type.f90: Add nested structures.
2882 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2883 * gdb.fortran/derived-type.exp: Adapt expected output.
2884 * gdb.fortran/vla-type.exp: Adapt expected output.
2886 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2888 * gdb.fortran/whatis_type.exp: Adapt expected output.
2890 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2892 * gdb.fortran/print_type.exp: Fix expected output.
2893 * gdb.fortran/whatis_type.exp: Fix expected output.
2895 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2897 * gdb.fortran/whatis_type.exp: Use multi_line.
2899 2016-05-24 Tom Tromey <tom@tromey.com>
2902 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2903 use value as an index.
2905 2016-05-23 Tom Tromey <tom@tromey.com>
2908 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2911 2016-05-24 Pedro Alves <palves@redhat.com>
2914 * gdb.threads/clone-attach-detach.c: New file.
2915 * gdb.threads/clone-attach-detach.exp: New file.
2917 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2919 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2921 2016-05-23 Tom Tromey <tom@tromey.com>
2923 PR python/19438, PR python/18393:
2924 * gdb.python/py-progspace.exp: Add "dir" test.
2925 * gdb.python/py-objfile.exp: Add "dir" test.
2927 2016-05-23 Yao Qi <yao.qi@linaro.org>
2929 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2930 * gdb.arch/thumb2-it.exp: Likewise.
2932 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2934 * gdb.mi/mi-threads-interrupt.c: New file.
2935 * gdb.mi/mi-threads-interrupt.exp: New file.
2937 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2940 * gdb.mi/mi-async-run.exp: New file.
2941 * gdb.mi/mi-async-run.c: New file.
2943 2016-05-17 Tom Tromey <tom@tromey.com>
2944 Manish Goregaokar <manishsmail@gmail.com>
2946 * lib/rust-support.exp: New file.
2947 * lib/gdb.exp (skip_rust_tests): New proc.
2948 (build_executable_from_specs): Handle rust.
2949 * lib/future.exp (gdb_find_rustc): New proc.
2950 (gdb_default_target_compile): Handle rust.
2951 * gdb.rust/expr.exp: New file.
2952 * gdb.rust/generics.exp: New file.
2953 * gdb.rust/generics.rs: New file.
2954 * gdb.rust/methods.exp: New file.
2955 * gdb.rust/methods.rs: New file.
2956 * gdb.rust/modules.exp: New file.
2957 * gdb.rust/modules.rs: New file.
2958 * gdb.rust/simple.exp: New file.
2959 * gdb.rust/simple.rs: New file.
2961 2016-05-17 Tom Tromey <tom@tromey.com>
2963 * gdb.base/default.exp (set language): Add rust.
2965 2016-05-17 Tom Tromey <tom@tromey.com>
2967 * gdb.gdb/unittest.exp: New file.
2969 2016-05-16 Yao Qi <yao.qi@linaro.org>
2971 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2972 shell_prompt. Update shell_prompt_re.
2974 2016-05-12 Doug Evans <dje@google.com>
2977 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
2978 $options when building executable.
2979 * gdb.dwarf2/fission-loclists-pie.S: New file.
2980 * gdb.dwarf2/fission-loclists-pie.exp: New file.
2982 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2984 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
2985 of [is_remote target],
2987 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2989 * lib/gdb.exp (use_gdb_stub): New procedure.
2991 2016-05-03 Yunlian Jiang <yunlian@google.com>
2992 Doug Evans <dje@google.com>
2995 * gdb.dwarf2/dwp-sepdebug.c: New file.
2996 * gdb.dwarf2/dwp-sepdebug.exp: New file.
2998 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3000 * gdb.base/detach.exp: Remove is_remote check.
3002 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3004 * gdb.base/annota-input-while-running.exp: Don't check for
3005 [is_remote target]. Enable annotations after running to main.
3006 Remove unused "set test..." line.
3008 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3010 * gdb.trace/trace-enable-disable.exp: New file.
3011 * gdb.trace/trace-enable-disable.c: New file.
3013 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3015 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3016 use it in info sharedlibrary test.
3017 * gdb.trace/ftrace-lock.exp: Likewise.
3018 * gdb.trace/ftrace.exp: Likewise.
3019 * gdb.trace/range-stepping.exp: Likewise.
3020 * gdb.trace/trace-break.exp: Likewise.
3021 * gdb.trace/trace-condition.exp: Likewise.
3022 * gdb.trace/trace-mt.exp: Likewise.
3024 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3026 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3027 (gdb_load_shlib): ... this.
3028 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3030 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3031 * gdb.base/ctxobj.exp: Likewise.
3032 * gdb.base/dprintf-pending.exp: Likewise.
3033 * gdb.base/dso2dso.exp: Likewise.
3034 * gdb.base/fixsection.exp: Likewise.
3035 * gdb.base/gcore-relro.exp: Likewise.
3036 * gdb.base/gdb1555.exp: Likewise.
3037 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3038 * gdb.base/gnu-ifunc.exp: Likewise.
3039 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3040 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3041 * gdb.base/pending.exp: Likewise.
3042 * gdb.base/print-file-var.exp: Likewise.
3043 * gdb.base/print-symbol-loading.exp: Likewise.
3044 * gdb.base/shlib-call.exp: Likewise.
3045 * gdb.base/shreloc.exp: Likewise.
3046 * gdb.base/so-impl-ld.exp: Likewise.
3047 * gdb.base/solib-disc.exp: Likewise.
3048 * gdb.base/solib-nodir.exp: Likewise.
3049 * gdb.base/solib-overlap.exp: Likewise.
3050 * gdb.base/solib-symbol.exp: Likewise.
3051 * gdb.base/solib-weak.exp (do_test): Likewise.
3052 * gdb.base/sym-file.exp: Likewise.
3053 * gdb.base/symtab-search-order.exp: Likewise.
3054 * gdb.base/type-opaque.exp: Likewise.
3055 * gdb.base/unload.exp: Likewise.
3056 * gdb.base/watchpoint-solib.exp: Likewise.
3057 * gdb.compile/compile.exp: Likewise.
3058 * gdb.cp/gdb2384.exp: Likewise.
3059 * gdb.cp/infcall-dlopen.exp: Likewise.
3060 * gdb.cp/re-set-overloaded.exp: Likewise.
3061 * gdb.fortran/library-module.exp: Likewise.
3062 * gdb.opt/solib-intra-step.exp: Likewise.
3063 * gdb.python/py-finish-breakpoint.exp: Likewise.
3064 * gdb.python/py-shared.exp: Likewise.
3065 * gdb.reverse/solib-precsave.exp: Likewise.
3066 * gdb.reverse/solib-reverse.exp: Likewise.
3067 * gdb.server/solib-list.exp: Likewise.
3068 * gdb.threads/dlopen-libpthread.exp: Likewise.
3069 * gdb.threads/tls-shared.exp: Likewise.
3070 * gdb.threads/tls-so_extern.exp: Likewise.
3071 * gdb.trace/change-loc.exp: Likewise.
3072 * gdb.trace/ftrace-lock.exp: Likewise.
3073 * gdb.trace/ftrace.exp: Likewise.
3074 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3075 * gdb.trace/pending.exp: Likewise.
3076 * gdb.trace/range-stepping.exp: Likewise.
3077 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3078 (strace_info_marker): Likewise.
3079 (strace_probe_marker): Likewise.
3080 (strace_trace_on_same_addr): Likewise.
3081 (strace_trace_on_diff_addr): Likewise.
3082 * gdb.trace/trace-break.exp: Likewise.
3083 * gdb.trace/trace-condition.exp: Likewise.
3084 * gdb.trace/trace-mt.exp: Likewise.
3086 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3088 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3089 result of gdb_remote_download.
3090 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3091 * gdb.base/dso2dso.exp: Likewise.
3092 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3093 * gdb.base/print-file-var.exp: Likewise.
3094 * gdb.base/shlib-call.exp: Likewise.
3095 * gdb.base/shreloc.exp: Likewise.
3096 * gdb.base/solib-overlap.exp: Likewise.
3097 * gdb.base/solib-weak.exp (do_test): Likewise.
3098 * gdb.base/unload.exp: Likewise.
3100 2016-04-27 Yao Qi <yao.qi@linaro.org>
3102 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3105 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3107 * vla-type.exp: Print structure from toplevel.
3109 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3111 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3113 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3116 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3118 * gdb.fortran/vla-type.f90: New file.
3119 * gdb.fortran/vla-type.exp: New file.
3121 2016-04-25 Yao Qi <yao.qi@linaro.org>
3123 * gdb.base/branch-to-self.c: New file.
3124 * gdb.base/branch-to-self.exp: New file.
3126 2016-04-22 Yao Qi <yao.qi@linaro.org>
3128 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3131 2016-04-22 Yao Qi <yao.qi@linaro.org>
3133 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3134 * gdb.base/annota3.exp: Likewise.
3136 2016-04-22 Yao Qi <yao.qi@linaro.org>
3138 * gdb.reverse/step-precsave.exp: Do one step and test program
3139 stops in "callee" and do multiple steps until program goes out
3141 * gdb.reverse/step-reverse.exp: Likewise.
3143 2016-04-22 Yao Qi <yao.qi@linaro.org>
3145 * gdb.trace/signal.exp: Also pass if
3146 $tracepoint_hits($i) > $iterations.
3148 2016-04-22 Yao Qi <yao.qi@linaro.org>
3150 * gdb.trace/signal.c: New file.
3151 * gdb.trace/signal.exp: New file.
3153 2016-04-19 Doug Evans <xdje42@gmail.com>
3155 * gdb.base/bad-file.exp: New file.
3157 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3159 * gdb.dwarf2/implref.exp: New file.
3161 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3163 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3164 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3165 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3166 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3167 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3168 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3169 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3170 * lib/fortran.exp (fortran_int4): New procedure.
3171 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3172 (fortran_logical4): Likewise.
3174 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3176 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3178 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3180 * lib/compiler.c: Add Intel specific preprocessor macros.
3181 * lib/compiler.cc: Likewise.
3183 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3185 * gdb.server/connect-with-no-symbol-file.c: New file.
3186 * gdb.server/connect-with-no-symbol-file.exp: New file.
3188 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3190 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3192 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3194 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3195 standard output directory.
3197 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3199 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3201 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3203 * gdb.btrace/instruction_history.c (loop): Add declaration.
3205 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3207 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3209 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3211 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3212 parentheses to print.
3213 (continue_handler): Likewise.
3215 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3217 * gdb.server/solib-list.exp: Remove is_remote check.
3218 Pass shlib= to gdb_compile. Don't link shared library with
3219 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3220 Run binary filename through "readlink -f" on the target.
3222 2016-04-08 Pedro Alves <palves@redhat.com>
3224 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3225 interpreter filename as argument to gdbserver_spawn.
3226 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3227 Return empty if $last_loaded_file does not exist.
3229 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3231 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3232 * gdb.base/jit-main.c: Use exit after usage.
3234 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3236 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3237 GDBHISTSIZE prior to the tests.
3238 * gdb.base/gdbinit-history.exp: Likewise.
3240 2016-04-07 Pedro Alves <palves@redhat.com>
3242 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3243 instead of build_executable. Use gdb_load_shlibs.
3245 2016-04-07 Yao Qi <yao.qi@linaro.org>
3247 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3248 Execute "si" command.
3250 2016-04-07 Yao Qi <yao.qi@linaro.org>
3252 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3253 number instead of the comments on some line.
3255 2016-04-06 Don Breazeal <donb@codesourcery.com>
3257 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3258 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3260 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3262 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3263 standard_output_file. Remove unused binfile variable.
3265 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3267 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3268 * gdb.python/py-mi-objfile.exp: Match "list main" output
3271 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3273 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3276 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3278 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3280 * gdb.trace/ftrace.exp: Likewise.
3281 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3283 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3284 (gdb_load_shlibs): Copy libraries to test directory when testing
3285 natively. Only set solib-search-path if testing remotely.
3286 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3288 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3290 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3291 gdb_download. Use it even if the target is not remote.
3292 * gdb.base/jit.exp (compile_jit_test): Likewise.
3293 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3294 output directory if the destination board is local, otherwise use
3295 the standard remote_download from DejaGnu.
3296 (gdb_download): Remove.
3297 (gdb_load_shlibs): Use gdb_remote_download instead of
3299 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3300 Use gdb_remote_download instead of gdb_download. Use it even if
3301 the target is not remote.
3302 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3303 instead of gdb_download.
3305 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3307 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3308 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3311 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3314 * gdb.base/printcmds.exp: Add artificial arrays tests.
3316 2016-03-31 Pedro Alves <palves@redhat.com>
3319 * gdb.base/jit-main.c: Include unistd.h.
3320 (ATTACH): Define to 0 if not already defined.
3321 (wait_for_gdb, mypid): New globals.
3322 (WAIT_FOR_GDB): New macro.
3323 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3324 some breakpoint locations.
3325 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3327 (one_jit_test): Add REATTACH parameter, and handle it. Use
3328 continue_to_test_location.
3329 (top level): Test attach, and adjusts calls to one_jit_test.
3331 2016-03-31 Pedro Alves <palves@redhat.com>
3334 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3335 BINSUFFIX parameter, and handle it.
3336 (top level): Adjust calls compile_jit_test.
3338 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3341 * gdb.python/py-mi-events-gdb.py: New file.
3342 * gdb.python/py-mi-events.c: New file.
3343 * gdb.python/py-mi-events.exp: New file.
3345 2016-03-30 Yao Qi <yao.qi@linaro.org>
3347 * gdb.reverse/until-precsave.exp: Match function name only.
3348 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3349 Move malloc to a condition block.
3350 * gdb.reverse/until-reverse.exp: Match function name only.
3352 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3354 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3355 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3356 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3357 variable for GPR 0 instead of assuming it is register 0.
3358 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3359 * lib/trace-support.exp: Add s390 registers.
3361 2016-03-29 Yao Qi <yao.qi@linaro.org>
3363 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3365 2016-03-24 Yao Qi <yao.qi@linaro.org>
3367 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3370 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3372 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3373 maintaining separate logic for constructing the output path.
3375 2016-03-16 Don Breazeal <donb@codesourcery.com>
3377 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3378 Retry fork and waitpid on interrupted system call errors.
3379 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3380 Use with_timeout_factor to increase timeout by factor of 10.
3382 2016-03-15 Don Breazeal <donb@codesourcery.com>
3384 * gdb.cp/scope-err.cc: New test program.
3385 * gdb.cp/scope-err.exp: New test script.
3386 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3387 lines and "set breakpoint here" comment.
3388 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3389 Fixed some whitespace and format issues.
3390 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3391 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3393 2016-03-15 Doug Evans <dje@google.com>
3395 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3396 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3397 All callers updated. Add tests for enums, mixed flags register.
3399 2016-03-15 Doug Evans <dje@google.com>
3401 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3402 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3404 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3406 * gdb.base/default.exp: Add $_as_string to the list of expected
3407 convenience functions.
3409 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3411 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3413 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3415 * gdb.python/py-as-string.exp: New file.
3416 * gdb.python/py-as-string.c: New file.
3418 2016-03-09 Pedro Alves <palves@redhat.com>
3420 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3421 signal" -> "Thread NN received signal" output change.
3422 * gdb.threads/ia64-sigill.exp: Likewise.
3423 * gdb.threads/linux-dp.exp: Likewise.
3424 * gdb.threads/manythreads.exp: Likewise.
3425 * gdb.threads/pending-step.exp: Likewise.
3426 * gdb.threads/print-threads.exp: Likewise.
3427 * gdb.threads/sigstep-threads.exp: Likewise.
3428 * gdb.threads/staticthreads.exp: Likewise.
3429 * gdb.threads/tls.exp: Likewise.
3431 2016-03-09 Pedro Alves <palves@redhat.com>
3433 * gdb.base/command-line-input.exp: New file.
3435 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3437 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3438 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3439 * gdb.trace/pending.exp: Accept leading dot before function name.
3440 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3441 * lib/trace-support.exp: Set registers for ppc.
3443 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3445 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3446 use it for disassembly; accept .main in addition to main in backtrace.
3448 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3449 Marcin Kościelnicki <koriakin@0x04.net>
3451 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3452 (gdb_recursion_test_ptr): New global variable.
3453 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3455 (gdb_c_test): Ditto.
3457 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3459 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3462 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3464 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3465 (bar): Add bar_start_lbl label.
3466 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3467 of foo/bar for emitting DWARF and tracing.
3469 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3471 * analyze-racy-logs.py: Set executable bit.
3473 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3475 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3476 (CHECK_TARGET_TMP): Likewise.
3477 (check-single-racy): New rule.
3478 (check-parallel-racy): Likewise.
3479 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3480 (do-check-parallel-racy): New rule.
3481 (check-racy/%.exp): Likewise.
3482 * README (Racy testcases): New section.
3483 * analyze-racy-logs.py: New file.
3485 2016-03-03 Doug Evans <dje@google.com>
3487 * gdb.base/skip.exp: Use with_test_prefix.
3489 2016-03-03 Yao Qi <yao.qi@linaro.org>
3491 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3492 Invoke step_over_syscall "clone" and break_cond_on_syscall
3494 * gdb.base/step-over-clone.c: New file.
3496 2016-03-03 Yao Qi <yao.qi@linaro.org>
3498 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3501 2016-03-03 Yao Qi <yao.qi@linaro.org>
3503 * gdb.base/disp-step-fork.c: Rename to ...
3504 * gdb.base/step-over-fork.c: ... it. New file.
3505 * gdb.base/disp-step-vfork.c: Rename to ...
3506 * gdb.base/step-over-vfork.c: ... it. New file.
3507 * gdb.base/disp-step-syscall.exp: Rename to ...
3508 * gdb.base/step-over-syscall.exp: ... it. New file.
3509 (disp_step_cross_syscall): Rename to ...
3510 (step_over_syscall): ... it.
3512 2016-03-03 Yao Qi <yao.qi@linaro.org>
3514 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3515 If target supports condition evaluation on target, invoke
3516 break_cond_on_syscall for fork and vfork.
3518 2016-03-03 Yao Qi <yao.qi@linaro.org>
3520 * gdb.base/disp-step-syscall.exp: Don't invoke
3521 support_displaced_stepping.
3522 (disp_step_cross_syscall): Test with displaced stepping off and
3525 2016-03-03 Yao Qi <yao.qi@linaro.org>
3527 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3530 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3533 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3535 * gdb.fortran/vla-history.exp: Remove breakpoint.
3537 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3539 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3542 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3544 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3547 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3549 * gdb.mi/vla.f90: Nullify pointer after declaration.
3551 2016-03-01 Pedro Alves <palves@redhat.com>
3553 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3555 2016-03-01 Pedro Alves <palves@redhat.com>
3557 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3558 before anything else.
3559 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3561 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3562 before anything else.
3563 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3565 2016-03-01 Pedro Alves <palves@redhat.com>
3567 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3569 2016-03-01 Yao Qi <yao.qi@linaro.org>
3571 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3572 prepare_for_testing.
3574 2016-03-01 Yao Qi <yao.qi@linaro.org>
3576 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3578 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3580 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3581 manually constructing the output path.
3583 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3585 * gdb.arch/s390-stackless.S: New.
3586 * gdb.arch/s390-stackless.exp: New.
3588 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3590 * gdb.dlang/circular.c: New file.
3591 * gdb.dlang/circular.exp: New file.
3593 2016-02-26 Yao Qi <yao.qi@linaro.org>
3595 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3596 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3597 (testcases): Update.
3599 2016-02-26 Yao Qi <yao.qi@linaro.org>
3601 * gdb.reverse/aarch64.c: Rename to ...
3602 * gdb.reverse/insn-reverse.c: ... it.
3603 * gdb.reverse/aarch64.exp: Rename to ...
3604 * gdb.reverse/insn-reverse.exp: ... it.
3606 2016-02-26 Yao Qi <yao.qi@linaro.org>
3608 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3609 (testcase_ftype): New.
3610 (testcases): New array.
3612 (main): Call each element in testcases.
3613 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3614 (read_testcase): New.
3615 Do the tests in a loop.
3617 2016-02-25 Yao Qi <yao.qi@linaro.org>
3619 * gdb.base/branches.c: Remove.
3621 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3624 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3626 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3628 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3630 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3632 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3633 change x86_64 call_insn to 'callq'.
3635 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3637 * gdb.trace/tfile-avx.c: Move to...
3638 * gdb.trace/tracefile-pseudo-reg.c: Here.
3639 * gdb.trace/tfile-avx.exp: Move to...
3640 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3642 2016-02-24 Gary Benson <gbenson@redhat.com>
3644 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3647 2016-02-23 Doug Evans <dje@google.com>
3649 * gdb.base/skip.c (test_skip): New function.
3650 (end_test_skip_file_and_function): New function.
3651 (test_skip_file_and_function): New function.
3652 * gdb.base/skip1.c (test_skip): New function.
3653 (skip1_test_skip_file_and_function): New function.
3654 * gdb.base/skip.exp: Add tests for new skip options.
3655 * gdb.base/skip-solib.exp: Update expected output.
3656 * gdb.perf/skip-command.cc: New file.
3657 * gdb.perf/skip-command.exp: New file.
3658 * gdb.perf/skip-command.py: New file.
3660 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3662 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3663 info registers pattern.
3665 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3667 * lib/future.exp: Add D support.
3668 (gdb_find_gdc): New proc.
3669 (gdb_default_target_compile): Add D support.
3671 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3673 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3675 (trace_speed_test): Determine the iteration count for a time
3676 between 15..30 seconds.
3678 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3680 * gdb.arch/i386-mpx-sigsegv.c: New file.
3681 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3682 * gdb.arch/i386-mpx-simple_segv.c: New file.
3683 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3685 2016-02-18 Yao Qi <yao.qi@linaro.org>
3687 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3688 Don't call setup_kfail.
3690 2016-02-18 Yao Qi <yao.qi@linaro.org>
3692 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3693 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3695 2016-02-16 Doug Evans <dje@google.com>
3697 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3698 * gdb.base/skip1.c: Ditto.
3699 * gdb.base/skip.exp: Whitespace cleanup.
3701 2016-02-16 Don Breazeal <donb@codesourcery.com>
3704 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3705 Remove kfail for PR remote/19496.
3707 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3709 * lib/gdb.exp (standard_temp_file): Return a path specific to
3710 the runtest invocation.
3712 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3714 * gdb.trace/save-trace.exp: Change relative path to be in the
3715 standard output directory.
3717 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3719 * gdb.arch/i386-prologue.c: Add missing prototypes.
3721 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3723 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3724 * gdb.arch/i386-prologue.exp: Likewise.
3725 * gdb.arch/i386-size.exp: Likewise.
3727 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3729 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3730 define object file path.
3731 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3733 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3734 standard_output_file to define binfile.
3736 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3738 Fix compatibility with recent gfortran-5.3.1.
3739 * gdb.fortran/vla-history.exp (print vla1 allocated)
3740 (print vla2 allocated, print $2, print $3): Remove
3741 (print $4): Rename to ...
3742 (print $2): ... here.
3743 (print $9): Rename to ...
3744 (print $5): ... here.
3745 (print $10): Rename to ...
3746 (print $6): ... here.
3747 * gdb.fortran/vla.f90: Add pvla initialization.
3749 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3751 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3753 * gdb.fortran/vla-value-sub.exp: Likewise.
3755 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3757 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3759 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3761 * i386-biarch-core.exp: Define corefile using
3762 standard_output_file.
3764 2016-02-12 Yao Qi <yao.qi@linaro.org>
3766 * gdb.arch/arm-single-step-kernel-helper.c: New.
3767 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3769 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3771 * gdb.btrace/tailcall-only.exp: New.
3772 * gdb.btrace/tailcall-only.c: New.
3773 * gdb.btrace/x86_64-tailcall-only.S: New.
3774 * gdb.btrace/i686-tailcall-only.S: New.
3776 2016-02-11 Pedro Alves <palves@redhat.com>
3778 * README (Parallel testing): Add missing double quotes.
3780 2016-02-11 Pedro Alves <palves@redhat.com>
3782 * README (Parallel testing): New section.
3783 (GDB_PARALLEL): Rewrite.
3784 (FORCE_PARALLEL): Document.
3786 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3788 * gdb.trace/tfile-avx.c: New test.
3789 * gdb.trace/tfile-avx.exp: New test.
3791 2016-02-09 Keith Seitz <keiths@redhat.com>
3793 PR breakpoints/19546
3794 * gdb.base/infcall-exec.c: New file.
3795 * gdb.base/infcall-exec2.c: New file.
3796 * gdb.base/infcall-exec.exp: New file.
3798 2016-02-09 Keith Seitz <keiths@redhat.com>
3800 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3801 (toplevel): Call test_bkpt_address.
3803 2016-02-09 Keith Seitz <keiths@redhat.com>
3806 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3807 (toplevel): Call test_bkpt_address.
3809 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3811 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3813 * configure: Regenerate.
3815 2016-02-09 Pedro Alves <palves@redhat.com>
3817 PR breakpoints/19548
3818 * gdb.base/execl-update-breakpoints.c (some_function): New
3821 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3822 Tighten expected GDB output.
3824 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3826 * Makefile.in (ALL_SUBDIRS): Remove.
3827 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3828 (distclean maintainer-clean realclean): Likewise.
3829 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3830 * configure: Regenerate.
3831 * gdb.ada/Makefile.in: Delete.
3832 * gdb.arch/Makefile.in: Likewise.
3833 * gdb.asm/Makefile.in: Likewise.
3834 * gdb.base/Makefile.in: Likewise.
3835 * gdb.btrace/Makefile.in: Likewise.
3836 * gdb.cell/Makefile.in: Likewise.
3837 * gdb.compile/Makefile.in: Likewise.
3838 * gdb.cp/Makefile.in: Likewise.
3839 * gdb.disasm/Makefile.in: Likewise.
3840 * gdb.dlang/Makefile.in: Likewise.
3841 * gdb.dwarf2/Makefile.in: Likewise.
3842 * gdb.fortran/Makefile.in: Likewise.
3843 * gdb.gdb/Makefile.in: Likewise.
3844 * gdb.go/Makefile.in: Likewise.
3845 * gdb.guile/Makefile.in: Likewise.
3846 * gdb.java/Makefile.in: Likewise.
3847 * gdb.linespec/Makefile.in: Likewise.
3848 * gdb.mi/Makefile.in: Likewise.
3849 * gdb.modula2/Makefile.in: Likewise.
3850 * gdb.multi/Makefile.in: Likewise.
3851 * gdb.objc/Makefile.in: Likewise.
3852 * gdb.opencl/Makefile.in: Likewise.
3853 * gdb.opt/Makefile.in: Likewise.
3854 * gdb.pascal/Makefile.in: Likewise.
3855 * gdb.perf/Makefile.in: Likewise.
3856 * gdb.python/Makefile.in: Likewise.
3857 * gdb.reverse/Makefile.in: Likewise.
3858 * gdb.server/Makefile.in: Likewise.
3859 * gdb.stabs/Makefile.in: Likewise.
3860 * gdb.threads/Makefile.in: Likewise.
3861 * gdb.trace/Makefile.in: Likewise.
3862 * gdb.xml/Makefile.in: Likewise.
3863 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3865 (standard_output_file): Remove check for GDB_PARALLEL, always
3866 return path in outputs/$subdir/$testname.
3868 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3870 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3871 (site.exp): Assign abs_srcdir to tcl's srcdir.
3873 2016-02-04 Yao Qi <yao.qi@linaro.org>
3875 * gdb.base/foll-exec-mode.c: Include limits.h.
3876 (main): Add parameters argc and argv. Get directory from
3878 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3880 * gdb.base/foll-exec.c: Include limits.h.
3881 (main): Add parameters argc and argv.
3882 Get directory from argv[0].
3883 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3884 Adjust tests on the number of lines as source code changed.
3885 * gdb.base/foll-vfork-exit.c: Include limits.h.
3886 (main): Add one line of statement before vfork.
3887 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3888 (main): Add parameters argc and argv. Get directory from
3890 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3891 (setup_gdb): Set tbreak to skip some source lines.
3892 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3893 (main): Add parameters argc and argv. Get directory from
3895 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3897 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3898 (main): Add parameters argc and argv. Get directory from
3900 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3903 2016-02-01 Doug Evans <dje@google.com>
3905 * gdb.base/skip.exp: Clean up multiple references to same test name.
3907 2016-02-01 Pedro Alves <palves@redhat.com>
3910 * gdb.threads/forking-threads-plus-breakpoint.exp
3911 (displaced_stepping_supported): New global.
3912 (probe_displaced_stepping_support): New procedure.
3913 (do_test): Add 'displaced' parameter, and use it.
3914 (top level): Check for displaced stepping support. Add displaced
3915 stepping on/off testing axis.
3917 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3919 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3920 pointer. Don't perform further tests on the unassociated pointer
3921 if the first test fails.
3923 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3925 * gdb.base/max-value-size.c: New file.
3926 * gdb.base/max-value-size.exp: New file.
3927 * gdb.base/huge.exp: Disable max-value-size for this test.
3929 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3931 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3933 2016-01-28 Yao Qi <yao.qi@linaro.org>
3935 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3937 2016-01-25 Pedro Alves <palves@redhat.com>
3940 * gdb.base/fork-running-state.c: New file.
3941 * gdb.base/fork-running-state.exp: New file.
3943 2016-01-25 Pedro Alves <palves@redhat.com>
3946 * gdb.base/catch-fork-kill.c: New file.
3947 * gdb.base/catch-fork-kill.exp: New file.
3949 2016-01-25 Pedro Alves <palves@redhat.com>
3951 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3952 Delete, moved to lib/gdb.exp.
3953 * gdb.threads/forking-threads-plus-breakpoint.exp
3954 (foreach_with_prefix): Likewise.
3955 * gdb.threads/process-dies-while-handling-bp.exp
3956 (foreach_with_prefix): Likewise.
3957 * lib/gdb.exp (foreach_with_prefix): New procedure.
3959 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3961 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3962 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3964 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3966 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3969 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3970 Pedro Alves <palves@redhat.com>
3972 Fix testsuite compatibility with Guile.
3973 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
3976 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3978 Fix testsuite compatibility with Guile.
3979 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
3980 (thread 1): New test for backtrace through signal handler.
3982 2016-01-22 Yao Qi <yao.qi@linaro.org>
3985 * gdb.base/multi-forks.c: Include
3986 ../lib/unbuffer_output.c
3987 (main): Call gdb_unbuffer_output.
3989 2016-01-21 Doug Evans <dje@google.com>
3991 * lib/ada.exp (gdb_compile_ada): Fix typo.
3993 2016-01-21 Joel Brobecker <brobecker@adacore.com>
3995 * gdb.base/break-fun-addr.exp: New file.
3996 * gdb.base/break-fun-addr1.c: New file.
3997 * gdb.base/break-fun-addr2.c: New file.
3999 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4001 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4002 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4005 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4007 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4008 when GDB can not set the vector return value. Add more comments
4011 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4013 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4016 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4018 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4020 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4022 * Makefile.in (check-single): Pass --status to runtest.
4023 (check/%.exp): Likewise.
4025 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4027 * Makefile.in (check-parallel): Propagate return code from make
4030 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4032 * gdb.trace/ftrace.exp: Fix expected message on continue.
4033 * gdb.trace/pending.exp: Fix expected message on continue.
4034 * gdb.trace/trace-break.exp: Fix expected message on continue.
4036 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4038 * lib/gdb.exp (gdb_test): Remove unused global references.
4040 2016-01-18 Pedro Alves <palves@redhat.com>
4042 * gdb.base/async-shell.exp: Adjust expected output.
4043 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4044 * gdb.base/siginfo-thread.exp: Adjust expected output.
4045 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4046 * gdb.java/jnpe.exp: Adjust expected output.
4047 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4048 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4049 * gdb.threads/leader-exit.exp: Adjust expected output.
4050 * gdb.threads/manythreads.exp: Adjust expected output.
4051 * gdb.threads/pthreads.exp: Adjust expected output.
4052 * gdb.threads/schedlock.exp: Adjust expected output.
4053 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4054 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4056 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4058 * gdb.threads/sigthread.exp: Adjust expected output.
4059 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4061 2016-01-18 Yao Qi <yao.qi@linaro.org>
4063 * gdb.guile/scm-section-script.c: Replace @progbits with
4065 * gdb.python/py-section-script.c: Likewise.
4067 2016-01-15 Pedro Alves <palves@redhat.com>
4069 * gdb.multi/tids.exp: Test star wildcard ranges.
4071 2016-01-15 Pedro Alves <palves@redhat.com>
4073 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4074 command from "thread apply" invocation.
4075 (thr_apply_info_thr_invalid): Default the expected output to the
4077 (top level): Add tests that use convenience variables. Add tests
4078 for "thread apply" with a valid TID list, but missing the command.
4080 2016-01-13 Pedro Alves <palves@redhat.com>
4082 * gdb.base/default.exp: Expect $_gthread as well.
4083 * gdb.multi/tids.exp: Test $_gthread.
4084 * gdb.threads/thread-specific.exp: Test $_gthread.
4086 2016-01-13 Pedro Alves <palves@redhat.com>
4088 * gdb.multi/tids.exp: Test "info threads -gid".
4090 2016-01-13 Pedro Alves <palves@redhat.com>
4092 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4094 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4096 2016-01-07 Pedro Alves <palves@redhat.com>
4098 * gdb.base/break.exp: Adjust to output changes.
4099 * gdb.base/hbreak2.exp: Likewise.
4100 * gdb.base/sepdebug.exp: Likewise.
4101 * gdb.base/watch_thread_num.exp: Likewise.
4102 * gdb.linespec/keywords.exp: Likewise.
4103 * gdb.multi/info-threads.exp: Likewise.
4104 * gdb.threads/thread-find.exp: Likewise.
4105 * gdb.multi/tids.c: New file.
4106 * gdb.multi/tids.exp: New file.
4108 2016-01-13 Pedro Alves <palves@redhat.com>
4110 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4112 2016-01-13 Pedro Alves <palves@redhat.com>
4114 * gdb.base/default.exp: Expect $_inferior as well.
4115 * gdb.multi/base.exp: Test $_inferior.
4117 2016-01-13 Pedro Alves <palves@redhat.com>
4119 PR breakpoints/19388
4120 * gdb.base/catch-signal-siginfo-cond.c: New file.
4121 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4123 2016-01-12 Josh Stone <jistone@redhat.com>
4124 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4126 * gdb.base/catch-syscall.c (do_execve): New variable.
4127 (main): Conditionally trigger an execve.
4128 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4129 (test_catch_syscall_execve): New, check entry/return across execve.
4130 (do_syscall_tests): Call test_catch_syscall_execve.
4132 2016-01-12 Pedro Alves <palves@redhat.com>
4134 * gdb.base/random-signal.exp (do_test): New procedure, with body
4135 of testcase moved in.
4137 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4138 Pedro Alves <palves@redhat.com>
4140 * gdb.base/funcargs.exp (finish from indirectly called function):
4141 Reintroduce the case for 'First'.
4143 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4144 Pedro Alves <palves@redhat.com>
4146 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4147 (tcatch_vfork_then_child_follow_exec)
4148 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4151 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4153 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4154 and repeats to unlimited.
4155 * gdb.python/py-value.exp: Likewise.
4156 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4157 and repeats to unlimited.
4159 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4161 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4162 and reordering the functions.
4163 * gdb.multi/hangout.c: Likewise.
4164 * gdb.multi/hello.c: Likewise.
4166 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4168 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4170 (SingleStatisticTestResult.report): Use dict.keys instead of
4173 2016-01-06 Pedro Alves <palves@redhat.com>
4175 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4177 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4179 * gdb.btrace/dlopen.exp: New.
4180 * gdb.btrace/dlopen.c: New.
4181 * gdb.btrace/dlopen-dso.c: New.
4183 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4185 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4186 PATTERN argument is optional.
4188 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4190 * lib/ada.exp (target_compile_ada_from_dir): New function.
4191 (gdb_compile_ada): Reimplement avoiding the use of project files.
4192 * gdb.ada/gnat_ada.gpr: Delete.
4193 * gdb.ada/cond_lang.exp: Adjust test to make path before
4195 * gdb.ada/small_reg_param.exp: Likewise.
4197 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4199 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4201 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4203 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4206 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4208 * gdb.base/break.exp: Remove dead code.
4209 * gdb.base/sepdebug.exp: Likewise.
4211 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4213 * gdb.asm/asm-source.exp: Remove HP-UX references.
4214 * gdb.base/annota1.exp: Likewise.
4215 * gdb.base/annota3.exp: Likewise.
4216 * gdb.base/attach.exp: Likewise.
4217 * gdb.base/bigcore.exp: Likewise.
4218 * gdb.base/break.exp: Likewise.
4219 * gdb.base/call-ar-st.exp: Likewise.
4220 * gdb.base/callfuncs.exp: Likewise.
4221 * gdb.base/catch-fork-static.exp: Likewise.
4222 * gdb.base/display.exp: Likewise.
4223 * gdb.base/foll-exec-mode.exp: Likewise.
4224 * gdb.base/foll-exec.exp: Likewise.
4225 * gdb.base/foll-fork.exp: Likewise.
4226 * gdb.base/foll-vfork.exp: Likewise.
4227 * gdb.base/funcargs.exp: Likewise.
4228 * gdb.base/hbreak2.exp: Likewise.
4229 * gdb.base/inferior-died.exp: Likewise.
4230 * gdb.base/interrupt.exp: Likewise.
4231 * gdb.base/multi-forks.exp: Likewise.
4232 * gdb.base/nodebug.exp: Likewise.
4233 * gdb.base/sepdebug.exp: Likewise.
4234 * gdb.base/solib1.c: Likewise.
4235 * gdb.base/step-test.exp: Likewise.
4236 * gdb.mi/non-stop.c: Likewise.
4237 * gdb.mi/pthreads.c: Likewise.
4238 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4239 * gdb.threads/pthreads.c: Likewise.
4240 * gdb.threads/staticthreads.exp: Likewise.
4241 * lib/future.exp: Likewise.
4242 * lib/gdb.exp: Likewise.
4243 * gdb.base/so-indr-cl.c: Remove.
4244 * gdb.base/so-indr-cl.exp: Likewise.
4245 * gdb.base/solib.c: Likewise.
4246 * gdb.base/solib.exp: Likewise.
4247 * gdb.base/solib2.c: Likewise.
4249 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4251 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4252 * gdb.base/call-ar-st.exp: Likewise.
4253 * gdb.base/callfuncs.exp: Likewise.
4254 * gdb.base/condbreak.exp: Likewise.
4255 * gdb.base/constvars.exp: Likewise.
4256 * gdb.base/hbreak2.exp: Likewise.
4257 * gdb.base/langs.exp: Likewise.
4258 * gdb.base/list.exp: Likewise.
4259 * gdb.base/long_long.exp: Likewise.
4260 * gdb.base/ptype.exp: Likewise.
4261 * gdb.base/scope.exp: Likewise.
4262 * gdb.base/signals.exp: Likewise.
4263 * gdb.base/so-impl-ld.exp: Likewise.
4264 * gdb.base/varargs.exp: Likewise.
4265 * gdb.base/volatile.exp: Likewise.
4266 * gdb.base/whatis.exp: Likewise.
4267 * gdb.cp/cplusfuncs.exp: Likewise.
4268 * gdb.cp/inherit.exp: Likewise.
4269 * gdb.cp/local.exp: Likewise.
4270 * gdb.cp/member-ptr.exp: Likewise.
4271 * gdb.cp/method.exp: Likewise.
4272 * gdb.cp/overload.exp: Likewise.
4273 * gdb.cp/templates.exp: Likewise.
4274 * gdb.stabs/weird.exp: Likewise.
4275 * lib/compiler.c: Likewise.
4276 * lib/compiler.cc: Likewise.
4277 * lib/cp-support.exp: Likewise.
4278 * lib/gdb.exp: Likewise.
4280 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4282 * configure.ac: Remove HP-UX case.
4283 * configure: Regenerate.
4285 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4287 * lib/gdb.exp (gdb_compile): Add function doc.
4289 2015-12-17 Pedro Alves <palves@redhat.com>
4292 * gdb.multi/info-threads.exp: New file.
4294 2015-12-15 Yao Qi <yao.qi@linaro.org>
4296 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4299 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4301 * gdb.base/history-duplicates.exp: Skip if no readline support.
4303 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4305 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4307 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4309 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4311 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4313 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4314 ctrl-C if nointerrupts target property is set.
4315 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4316 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4317 * gdb.base/paginate-bg-execution.exp: Likewise.
4318 * gdb.base/paginate-execution-startup.exp: Likewise.
4319 * gdb.base/random-signal.exp: Likewise.
4320 * gdb.base/range-stepping.exp: Likewise.
4321 * gdb.cp/annota2.exp: Likewise.
4322 * gdb.cp/annota3.exp: Likewise.
4323 * gdb.gdb/selftest.exp: Likewise.
4324 * gdb.threads/continue-pending-status.exp: Likewise.
4325 * gdb.threads/leader-exit.exp: Likewise.
4326 * gdb.threads/manythreads.exp: Likewise.
4327 * gdb.threads/pthreads.exp: Likewise.
4328 * gdb.threads/schedlock.exp: Likewise.
4329 * gdb.threads/sigthread.exp: Likewise.
4331 2015-12-11 Don Breazeal <donb@codesourcery.com>
4333 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4335 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4336 * gdb.base/foll-exec.exp (main): Enable for target remote.
4337 * gdb.base/foll-fork.exp (main): Likewise.
4338 * gdb.base/foll-vfork.exp (main): Likewise.
4339 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4340 (proc continue_to_exit_bp_loc): Use clean_restart.
4341 * gdb.base/pie-execl.exp (main): Disable for target remote.
4342 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4343 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4344 * gdb.threads/execl.exp (main): Likewise.
4345 * gdb.threads/fork-child-threads.exp (main): Likewise.
4346 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4348 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4350 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4351 pid.tid style ptids, instead of just tid.
4352 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4353 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4354 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4355 ptids, instead of just tid.
4357 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4359 * gdb.base/list.exp (test_list_forward): Add end of file error
4361 (test_repeat_list_command): Add end of file error test.
4362 (test_list_backwards): Add beginning of file error test.
4364 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4366 * gdb.base/list.exp (test_list_invalid_args): New function,
4367 defined, and called.
4369 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4371 * gdb.base/list.exp (test_list): Make test names unique.
4373 2015-12-11 Yao Qi <yao.qi@linaro.org>
4375 * gdb.base/coremaker2.c: Remove.
4377 2015-12-10 Pedro Alves <palves@redhat.com>
4379 * gdb.multi/base.exp: Remove stale "spaces" references.
4381 2015-12-10 Pedro Alves <palves@redhat.com>
4383 * gdb.multi/base.exp: Don't use nowarnings.
4384 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4385 * gdb.multi/hangout.c: Include stdio.h.
4386 * gdb.multi/hello.c: Include stdlib.h.
4387 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4388 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4389 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4391 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4393 * gdb.dwarf2/dw2-ranges-base.c: New file.
4394 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4395 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4396 support additional line table, and debug ranges generation.
4397 (Dwarf::ranges): New function, generate .debug_ranges.
4398 (Dwarf::lines): Support generating simple line table programs.
4399 (Dwarf::assemble): Initialise new namespace variables.
4401 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4403 * gdb.base/async.exp (proc test_background): Add case for
4404 asynchronous execution not supported.
4406 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4408 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4409 format and change test names to make them unique.
4411 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4412 Pedro Alves <pedro@redhat.com>
4415 Add checking of floatformats setup on x86_64 hosts.
4416 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4417 (smallval, bigval): New labels/constants.
4418 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4419 float" after loading bigval and smallval.
4421 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4423 * gdb.ada/fun_overload_menu.exp: New testcase.
4424 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4426 2015-12-04 Josh Stone <jistone@redhat.com>
4428 * gdb.base/catch-fork-static.exp: New.
4430 2015-12-03 Yao Qi <yao.qi@linaro.org>
4432 * gdb.base/sizeof.c: Don't include stdio.h and
4433 ../lib/unbuffer_output.c.
4434 (main): New variable 'size' and 'value'. Remove printf and
4435 gdb_unbuffer_output. Assign return value to size and value.
4436 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4438 (check_sizeof): Check the result by printing variable 'size'.
4439 (check_valueof): Check the result by printing variable 'value'.
4441 2015-12-01 Yao Qi <yao.qi@linaro.org>
4443 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4444 for aarch64*-*-linux* target.
4446 2015-11-30 Pedro Alves <palves@redhat.com>
4448 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4450 2015-11-30 Pedro Alves <palves@redhat.com>
4452 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4453 Handle non-stop mode vCont replies.
4455 2015-11-30 Pedro Alves <palves@redhat.com>
4457 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4458 prepare_for_testing. Start gdb with "set non-stop on" appended to
4459 GDBFLAGS. Lax expected stop output.
4461 2015-11-27 Yao Qi <yao.qi@linaro.org>
4463 * gdb.arch/arm-neon.exp: New.
4464 * gdb.arch/arm-neon.c: New.
4466 2015-11-27 Yao Qi <yao.qi@linaro.org>
4468 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4470 2015-11-27 Yao Qi <yao.qi@linaro.org>
4472 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4473 frames-invalid annotation.
4475 2015-11-27 Yao Qi <yao.qi@linaro.org>
4477 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4479 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4481 * gdb.threads/names.exp: New file.
4482 * gdb.threads/names.c: New file.
4483 * README: Mention gdb,no_thread_names.
4485 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4488 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4491 2015-11-24 Pedro Alves <palves@redhat.com>
4494 * gdb.base/display.exp: Expect displays to be sorted in ascending
4495 order. Use multi_line.
4496 * gdb.base/solib-display.exp: Likewise.
4498 2015-11-24 Pedro Alves <palves@redhat.com>
4501 * gdb.base/display.exp: Expect displays to be sorted in ascending
4502 order. Use multi_line.
4503 * gdb.base/solib-display.exp: Likewise.
4505 2015-11-24 Pedro Alves <palves@redhat.com>
4508 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4509 threads in ascending order.
4510 * gdb.base/foll-fork.exp: Likewise.
4511 * gdb.base/foll-vfork.exp: Likewise.
4512 * gdb.base/multi-forks.exp: Likewise.
4513 * gdb.mi/mi-nonstop.exp: Likewise.
4514 * gdb.mi/mi-nsintrall.exp: Likewise.
4515 * gdb.multi/base.exp: Likewise.
4516 * gdb.multi/multi-arch.exp: Likewise.
4517 * gdb.python/py-inferior.exp: Likewise.
4518 * gdb.threads/break-while-running.exp: Likewise.
4519 * gdb.threads/execl.exp: Likewise.
4520 * gdb.threads/gcore-thread.exp: Likewise.
4521 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4522 * gdb.threads/kill.exp: Likewise.
4523 * gdb.threads/linux-dp.exp: Likewise.
4524 * gdb.threads/multiple-step-overs.exp: Likewise.
4525 * gdb.threads/next-bp-other-thread.exp: Likewise.
4526 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4527 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4528 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4529 * gdb.threads/thread-find.exp: Likewise.
4530 * gdb.threads/tls.exp: Likewise.
4531 * lib/mi-support.exp (mi_reverse_list): Delete.
4532 (mi_check_thread_states): No longer reverse list.
4534 2015-11-24 Pedro Alves <palves@redhat.com>
4536 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4539 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4541 * gdb.trace/actions.c: Include trace-common.h.
4542 (main): Add a location for a fast tracepoint.
4543 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4544 the normal tracepoints.
4545 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4547 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4549 * save-trace.exp: Factor out code to these...
4550 (gdb_save_tracepoints): New.
4551 (gdb_load_tracepoints): New.
4552 (do_save_load_test): New.
4554 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4556 * gdb.base/asmlabel.exp: New test.
4557 * gdb.base/asmlabel.c: New test case.
4559 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4561 * gdb.base/wrong_frame_bt_full-main.c: New file.
4562 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4563 * gdb.base/wrong_frame_bt_full.exp: New file.
4565 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4567 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4569 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4571 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4572 pstate register when comparing registers values in
4573 sparc64-*-linux-gnu targets to avoid spurious differences.
4575 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4577 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4579 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4581 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4582 as type argument to gdb_compile.
4583 * gdb.base/nested-subp2.exp: Likewise.
4584 * gdb.base/nested-subp3.exp: Likewise.
4586 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4588 * lib/dwarf.exp (_note): Fix left shift of negative value.
4589 * gdb.trace/trace-condition.exp: Likewise.
4591 2015-11-13 Yao Qi <yao.qi@linaro.org>
4593 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4594 comments about d10v.
4595 (test_scalar_returns): Likewise.
4596 * gdb.base/d10v.ld: Remove.
4597 * gdb.base/overlays.exp: Remove the target triplet checking for
4599 * gdb.base/structs.exp (test_struct_returns): Remove the
4600 comments about d10v.
4601 (test_struct_calls): Likewise.
4603 2015-11-13 Yao Qi <yao.qi@linaro.org>
4605 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4606 * gdb.base/gnu_vector.c: Don't include stdio.h.
4607 (main): Don't print res and call add_some_intvecs.
4609 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4611 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4614 (func4): Use FAST_TRACEPOINT_LABEL.
4615 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4618 (thread_function): Use FAST_TRACEPOINT_LABEL.
4619 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4621 (marker): Use FAST_TRACEPOINT_LABEL.
4622 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4623 (pendfunc1): Remove.
4624 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4625 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4627 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4628 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4631 (marker): Use FAST_TRACEPOINT_LABEL.
4632 * gdb.trace/trace-common.h: New header.
4633 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4636 (marker): Use FAST_TRACEPOINT_LABEL.
4637 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4639 (thread_function): Use FAST_TRACEPOINT_LABEL.
4641 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4643 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4645 * gdb.trace/change-loc.exp: Use global pcreg definition.
4646 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4647 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4649 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4650 * gdb.trace/pending.exp: Likewise.
4651 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4652 * gdb.trace/trace-break.exp: Likewise.
4653 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4655 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4656 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4658 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4660 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4662 * gdb.ada/fin_fun_out: New testcase.
4664 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4666 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4667 value associated with DW_AT_byte_size.
4668 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4669 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4672 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4674 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4675 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4677 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4678 gdb.dwarf2/dw2-canonicalize-type.exp,
4679 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4680 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4681 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4682 provided by gdb_target_symbol_prefix_flags_asm.
4683 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4684 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4685 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4686 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4687 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4688 macros where needed). Use this macro for symbols which require
4689 the prefix provided by SYMBOL_PREFIX.
4691 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4693 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4695 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4696 representing expressions, of more than one list element.
4697 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4698 to prepend linker symbol prefix to f.
4699 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4700 table_1 and table_2.
4701 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4702 Likewise, for f and g.
4703 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4705 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4707 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4708 table_1_ptr and table_2_ptr.
4710 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4711 Joel Brobecker <brobecker@adacore.com>
4713 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4715 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4717 * gdb.reverse/s390-mvcle.c: New test.
4718 * gdb.reverse/s390-mvcle.exp: New file.
4719 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4721 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4723 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4725 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4727 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4729 * gdb.reverse/getresuid-reverse.exp: Likewise.
4730 * gdb.reverse/pipe-reverse.exp: Likewise.
4731 * gdb.reverse/readv-reverse.exp: Likewise.
4732 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4733 * gdb.reverse/time-reverse.exp: Likewise.
4734 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4736 2015-10-30 Yao Qi <yao.qi@linaro.org>
4738 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4739 (empty_cycle): Remove.
4740 (main): Don't call empty_cycle. Don't use watch_count_done.
4741 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4742 empty_cycle. Rewrite the code counting HW watchpoints.
4744 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4746 * gdb.reverse/fstatat-reverse.c: New test.
4747 * gdb.reverse/fstatat-reverse.exp: New file.
4748 * gdb.reverse/getresuid-reverse.c: New test.
4749 * gdb.reverse/getresuid-reverse.exp: New file.
4750 * gdb.reverse/pipe-reverse.c: New test.
4751 * gdb.reverse/pipe-reverse.exp: New file.
4752 * gdb.reverse/readv-reverse.c: New test.
4753 * gdb.reverse/readv-reverse.exp: New file.
4754 * gdb.reverse/recvmsg-reverse.c: New test.
4755 * gdb.reverse/recvmsg-reverse.exp: New file.
4756 * gdb.reverse/time-reverse.c: New test.
4757 * gdb.reverse/time-reverse.exp: New file.
4758 * gdb.reverse/waitpid-reverse.c: New test.
4759 * gdb.reverse/waitpid-reverse.exp: New file.
4761 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4763 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4765 2015-10-26 Doug Evans <dje@google.com>
4768 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4769 * gdb.dwarf2/bad-regnum.c: New file.
4770 * gdb.dwarf2/bad-regnum.exp: New file.
4772 2015-10-26 Doug Evans <dje@google.com>
4775 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4778 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4780 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4781 for a change by "Mention language in compile error message".
4783 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4786 * gdb.python/py-type.c (C::a_method): New.
4787 (C::a_const_method): New.
4788 (C::a_static_method): New.
4790 * gdb.python/py-type.exp (test_fields): Test getting fields
4791 from function and method.
4793 2015-10-21 Keven Boell <keven.boell@intel.com>
4795 * gdb.fortran/vla-alloc-assoc.exp: New file.
4796 * gdb.fortran/vla-datatypes.exp: New file.
4797 * gdb.fortran/vla-datatypes.f90: New file.
4798 * gdb.fortran/vla-history.exp: New file.
4799 * gdb.fortran/vla-ptype-sub.exp: New file.
4800 * gdb.fortran/vla-ptype.exp: New file.
4801 * gdb.fortran/vla-sizeof.exp: New file.
4802 * gdb.fortran/vla-sub.f90: New file.
4803 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4804 * gdb.fortran/vla-value-sub-finish.exp: New file.
4805 * gdb.fortran/vla-value-sub.exp: New file.
4806 * gdb.fortran/vla-value.exp: New file.
4807 * gdb.fortran/vla-ptr-info.exp: New file.
4808 * gdb.mi/mi-vla-fortran.exp: New file.
4809 * gdb.mi/vla.f90: New file.
4811 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4813 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4814 of hardwired timeout value.
4816 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4817 Pedro Alves <palves@redhat.com>
4819 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4820 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4822 2015-10-19 Josh Stone <jistone@redhat.com>
4824 * gdb.base/catch-syscall.c: Include <sched.h>.
4825 (unknown_syscall): New variable.
4826 (main): Trigger a vfork and an unknown syscall.
4827 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4828 (unknown_syscall_number): Likewise.
4829 (check_call_to_syscall): Accept an optional syscall pattern.
4830 (check_return_from_syscall): Likewise.
4831 (check_continue): Likewise.
4832 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4833 (test_catch_syscall_skipping_return): New test toggling off 'catch
4834 syscall' to step over the syscall return, then toggling back on.
4835 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4836 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4837 (do_syscall_tests): Call test_catch_syscall_without_args and
4838 test_catch_syscall_mid_vfork.
4839 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4840 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4842 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4844 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4845 print g_vE): Add new pass patterns.
4846 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4847 print various symbol names for vptr fields.
4849 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4851 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4854 2015-10-12 Yao Qi <yao.qi@linaro.org>
4856 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4858 2015-10-12 Yao Qi <yao.qi@linaro.org>
4860 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4861 is aarch64*-*-linux*.
4863 2015-10-12 Yao Qi <yao.qi@linaro.org>
4865 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4866 (can_relocate_bcond_true): ... it.
4867 (can_relocate_bcond_false): New function.
4869 (can_relocate_bl): Likewise.
4870 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4873 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4875 * gdb.base/nested-addr.c: New file.
4876 * gdb.base/nested-addr.exp: New testcase.
4878 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4880 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4881 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4882 its output. Ignore the output of "record goto begin" and instead
4883 check that GDB is replaying.
4885 2015-10-09 Pedro Alves <palves@redhat.com>
4887 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4888 (top level): Use it in the run with no args test.
4890 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4892 * gdb.dlang/properties.exp: New file.
4894 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4896 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4897 whether or not address 0x1000 is mapped on the target.
4899 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4901 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4904 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4906 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4907 instruction-history test.
4909 2015-09-28 Doug Evans <dje@google.com>
4911 * gdb.base/gcore.c (array_func): Add reference to static_array.
4913 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4915 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4918 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4920 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4921 short or char as base type.
4923 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4925 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4926 to allow any size enum.
4928 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4930 * gdb.ada/array_ptr_renaming.exp: New testcase.
4931 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4932 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4934 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4936 * gdb.trace/ftrace-lock.c: New file.
4937 * gdb.trace/ftrace-lock.exp: New file.
4939 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4941 * gdb.arch/insn-reloc.c: New file.
4942 * gdb.arch/ftrace-insn-reloc.exp: New file.
4944 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4946 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4948 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4949 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4950 * gdb.trace/range-stepping.c: Likewise.
4951 * gdb.trace/trace-break.c: Likewise.
4952 * gdb.trace/trace-mt.c (thread_function): Likewise.
4953 * gdb.trace/ftrace.c (marker): Likewise.
4954 * gdb.trace/trace-condition.c (marker): Likewise.
4955 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4956 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4959 2015-09-18 Doug Evans <xdje42@gmail.com>
4961 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4962 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4964 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4966 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4969 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4971 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4972 the pending breakpoint. Remove timeout override for "Run till
4973 MI pending breakpoint on pendfunc3 on thread 2" test.
4975 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4977 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4980 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4982 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
4983 in breakpoint filename pattern.
4985 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4987 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
4989 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4991 * gdb.linespec/explicit.exp: Check for readline support for
4992 tab-completion tests. Fix obvious typo.
4994 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4996 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
4999 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5001 * gdb.btrace/non-stop.c: New.
5002 * gdb.btrace/non-stop.exp: New.
5004 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5005 Yao Qi <yao.qi@linaro.org>
5007 * gdb.trace/trace-condition.c: New file.
5008 * gdb.trace/trace-condition.exp: New file.
5010 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5012 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5013 for testing bytecode compilation.
5015 2015-09-16 Pedro Alves <palves@redhat.com>
5016 Sandra Loosemore <sandra@codesourcery.com>
5018 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5019 (SECONDS): Redefine.
5020 (main): Call pthread_kill and alarm early.
5021 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5023 (test): If the target can't hardware step and doesn't support
5024 displaced stepping, increase the timeout.
5026 2015-09-16 Pedro Alves <palves@redhat.com>
5028 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5029 (enable_debug): New procedures.
5030 (test): Use them. Bail out if waiting for threads fails.
5031 (top level): Bail out if a test fails.
5033 2015-09-16 Yao Qi <yao.qi@linaro.org>
5035 * gdb.asm/asm-source.exp: Set asm-arch for
5036 aarch64*-*-* target.
5037 * gdb.asm/aarch64.inc: New file.
5039 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5041 * gdb.ada/array_of_variable_length.exp: New testcase.
5042 * gdb.ada/array_of_variable_length/foo.adb: New file.
5043 * gdb.ada/array_of_variable_length/pck.adb: New file.
5044 * gdb.ada/array_of_variable_length/pck.ads: New file.
5046 2015-09-15 Doug Evans <dje@google.com>
5048 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5049 of function static local variable.
5051 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5053 * gdb.threads/tls-so_extern.exp: New test file.
5054 * gdb.threads/tls-so_extern.c: New test file.
5055 * gdb.threads/tls-so_extern_main.c: New test file.
5057 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5059 * gdb.opt/solib-intra-step-lib.c: New file.
5060 * gdb.opt/solib-intra-step-main.c: New file.
5061 * gdb.opt/solib-intra-step.exp: New file.
5063 2015-09-15 Pedro Alves <palves@redhat.com>
5065 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5066 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5068 2015-09-14 Pedro Alves <palves@redhat.com>
5070 * gdb.base/hook-stop-continue.c: Delete.
5071 * gdb.base/hook-stop-continue.exp: Delete.
5072 * gdb.base/hook-stop-frame.c: Delete.
5073 * gdb.base/hook-stop-frame.exp: Delete.
5074 * gdb.base/hook-stop.c: New file.
5075 * gdb.base/hook-stop.exp: New file.
5077 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5079 * gdb.ada/access_to_packed_array.exp: New testcase.
5080 * gdb.ada/access_to_packed_array/foo.adb: New file.
5081 * gdb.ada/access_to_packed_array/pack.adb: New file.
5082 * gdb.ada/access_to_packed_array/pack.ads: New file.
5084 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5086 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5089 2015-09-11 Don Breazeal <donb@codesourcery.com>
5091 * gdb.base/foll-exec.c: Add copyright header. Fix
5093 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5094 (do_exec_tests): Use clean_restart in place of zap_session,
5095 and for test initialization. Fix formatting issues. Use
5096 fail in place of perror.
5097 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5098 an expect statement to match an expression with output from
5099 the program under debug.
5100 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5101 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5102 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5103 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5104 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5106 2015-09-09 Doug Evans <dje@google.com>
5108 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5110 2015-09-09 Doug Evans <dje@google.com>
5112 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5114 2015-09-09 Doug Evans <dje@google.com>
5116 * gdb.base/savedregs.exp: Fix typo.
5118 2015-09-09 Pedro Alves <palves@redhat.com>
5120 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5122 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5124 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5125 command actually switches threads. Give up on remaining
5126 tests if target fails to stop at breakpoint.
5128 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5130 * gdb.ada/funcall_char.exp: New testcase.
5131 * gdb.ada/funcall_char/foo.adb: New file.
5133 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5135 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5136 expected outputs. Add two testcases for completing ambiguous
5138 * gdb.ada/complete/aux_pck.adb: New file.
5139 * gdb.ada/complete/aux_pck.ads: New file.
5140 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5141 Ambiguous_Func functions.
5142 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5143 * gdb.ada/complete/pck.adb: Likewise.
5145 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5147 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5148 failures to run the test program under GDB.
5150 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5152 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5155 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5157 * gdb.base/run-after-attach.exp: New test file.
5158 * gdb.base/run-after-attach.c: New test file.
5160 2015-08-26 Don Breazeal <donb@codesourcery.com>
5162 * gdb.base/foll-exec-2.c: New test program.
5163 * gdb.base/foll-exec-2.exp: New test.
5165 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5167 * gdb.base/nested-subp1.exp: New file.
5168 * gdb.base/nested-subp1.c: New file.
5169 * gdb.base/nested-subp2.exp: New file.
5170 * gdb.base/nested-subp2.c: New file.
5171 * gdb.base/nested-subp3.exp: New file.
5172 * gdb.base/nested-subp3.c: New file.
5174 2015-08-24 Pedro Alves <palves@redhat.com>
5176 * gdb.server/connect-without-multi-process.c: New file.
5177 * gdb.server/connect-without-multi-process.exp: New file.
5179 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5181 * gdb.opt/inline-markers.c: Make z int.
5183 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5185 * gdb.opt/inline-markers.c: Make z volatile.
5187 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5189 * gdb.opt/inline-bt.c: New volatile global z.
5190 * gdb.opt/inline-cmds.c: Likewise.
5191 * gdb.opt/inline-locals.c: Likewise.
5192 * gdb.opt/inline-markers.c: New extern global z.
5194 (inline_fn): Likewise.
5196 2015-08-24 Pedro Alves <palves@redhat.com>
5198 * config/m32r-stub.exp: Remove file.
5199 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5200 * gdb.base/call-rt-st.exp: Likewise.
5201 * gdb.base/call-strs.exp: Likewise.
5202 * gdb.base/default.exp: Remove references to h8300-*-hms and
5204 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5206 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5208 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5209 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5210 and "return" use KFAIL when GDB can not read/write the vector
5213 2015-08-21 Gary Benson <gbenson@redhat.com>
5215 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5217 2015-08-20 Pedro Alves <palves@redhat.com>
5219 * gdb.server/solib-list.exp: No longer expect an interior stop in
5222 2015-08-20 Pedro Alves <palves@redhat.com>
5224 * gdb.server/connect-stopped-target.c: New file.
5225 * gdb.server/connect-stopped-target.exp: New file.
5227 2015-08-20 Pedro Alves <palves@redhat.com>
5229 * gdb.dwarf2/comp-unit-lang.exp: New file.
5230 * gdb.dwarf2/comp-unit-lang.c: New file.
5232 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5234 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5235 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5237 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5239 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5240 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5242 2015-08-18 Doug Evans <dje@google.com>
5243 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5245 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5246 skip_python_tests. New arg prompt_regexp.
5247 (skip_python_tests): New function.
5248 * lib/mi-support.exp (mi_skip_python_tests): New function.
5249 * gdb.python/py-mi-objfile-gdb.py: New file.
5250 * gdb.python/py-mi-objfile.c: New file.
5251 * gdb.python/py-mi-objfile.exp: New file.
5253 2015-08-17 Keith Seitz <keiths@redhat.com>
5255 * gdb.linespec/explicit.exp: Move strace test from here ...
5256 * gdb.trace/strace.exp: ... to here.
5258 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5260 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5261 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5263 2015-08-14 Doug Evans <xdje42@gmail.com>
5265 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5266 inferior before selecting a new file.
5268 2015-08-14 Doug Evans <xdje42@gmail.com>
5270 * gdb.mi/mi-disassemble.exp: Update.
5271 * gdb.base/disasm-optim.S: New file.
5272 * gdb.base/disasm-optim.c: New file.
5273 * gdb.base/disasm-optim.h: New file.
5274 * gdb.base/disasm-optim.exp: New file.
5276 2015-08-14 Keith Seitz <keiths@redhat.com>
5278 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5281 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5283 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5285 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5287 * gdb.ada/fun_renaming.exp: New testcase.
5288 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5289 * gdb.ada/fun_renaming/pack.adb: New file.
5290 * gdb.ada/fun_renaming/pack.ads: New file.
5292 2015-08-12 Keith Seitz <keiths@redhat.com>
5294 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5295 gdb_get_line_number.
5297 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5299 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5300 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5301 gdb.base/dso2dso.exp: New files.
5303 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5304 Pedro Alves <palves@redhat.com>
5305 Keith Seitz <keiths@redhat.com>
5307 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5310 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5312 * gdb.base/gdbhistsize-history.exp
5313 (test_histsize_history_setting): Use save_vars.
5314 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5316 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5317 * gdb.base/readline.exp: Use save_vars.
5319 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5321 * lib/gdb.exp (save_vars): New proc.
5323 2015-08-11 Keith Seitz <keiths@redhat.com>
5325 * gdb.base/help.exp: Update help_breakpoint_text.
5327 2015-08-11 Keith Seitz <keiths@redhat.com>
5329 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5330 (at toplevel): Call test_explicit_breakpoints.
5331 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5333 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5334 breakpoint conditions, "-cond".
5336 2015-08-11 Keith Seitz <keiths@redhat.com>
5338 * gdb.linespec/3explicit.c: New file.
5339 * gdb.linespec/cpexplicit.cc: New file.
5340 * gdb.linespec/cpexplicit.exp: New file.
5341 * gdb.linespec/explicit.c: New file.
5342 * gdb.linespec/explicit.exp: New file.
5343 * gdb.linespec/explicit2.c: New file.
5344 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5345 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5346 before using in the matching pattern.
5347 Clarify that `prefix' is a regular expression.
5349 2015-08-11 Keith Seitz <keiths@redhat.com>
5351 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5353 Add tests for missing ",FMT" and ",".
5355 2015-08-10 Doug Evans <dje@google.com>
5356 Keith Seitz <keiths@redhat.com>
5359 * gdb.base/completion.exp: Add location completer tests.
5361 2015-08-07 Pedro Alves <palves@redhat.com>
5363 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5365 (top level): Run do_test with and without displaced stepping.
5367 2015-08-07 Pedro Alves <palves@redhat.com>
5369 * gdb.base/valgrind-disp-step.c: New file.
5370 * gdb.base/valgrind-disp-step.exp: New file.
5372 2015-08-07 Pedro Alves <palves@redhat.com>
5374 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5376 (main): Add alarm. Run an infinite loop instead of calling
5378 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5380 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5382 (main): Add alarm. Run an infinite loop instead of calling
5384 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5387 2015-08-07 Pedro Alves <palves@redhat.com>
5389 * gdb.base/checkpoint-ns.exp: New file.
5390 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5393 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5395 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5396 * gdb.btrace/instruction_history.exp: Update.
5397 * gdb.btrace/tsx.exp: New.
5398 * gdb.btrace/tsx.c: New.
5400 2015-08-06 Pedro Alves <palves@redhat.com>
5402 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5404 * gdb.reverse/until-precsave.exp: Bump timeouts.
5406 2015-08-06 Pedro Alves <palves@redhat.com>
5408 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5410 2015-08-06 Pedro Alves <palves@redhat.com>
5413 * gdb.threads/process-dies-while-handling-bp.c: New file.
5414 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5416 2015-08-06 Pedro Alves <palves@redhat.com>
5418 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5419 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5421 2015-08-05 Pedro Alves <palves@redhat.com>
5423 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5424 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5426 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5428 * gdb.base/bp-permanent.exp: Report test as unsupported if
5429 the target cannot stop at the permanent breakpoint.
5431 2015-08-03 Doug Evans <dje@google.com>
5433 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5436 2015-08-03 Doug Evans <dje@google.com>
5438 * Makefile.in (workers/%.worker, build-perf): New rule.
5439 (GDB_PERFTEST_MODE): New variable.
5440 (check-perf): Use it.
5441 (clean): Clean up gdb.perf parallel build subdirs.
5442 * lib/build-piece.exp: New file.
5443 * lib/gdb.exp (make_gdb_parallel_path): New function
5444 (standard_output_file, standard_temp_file): Call it.
5445 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5447 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5449 2015-08-03 Doug Evans <dje@google.com>
5451 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5452 (LOG_FILE_NAME): New global.
5453 (TextReporter.__init__): Initialize self.txt_sum.
5454 (TextReporter.report): Add support for multiple data-points.
5455 Move report to perftest.sum, put raw data in perftest.log.
5456 (TextReporter.start): Open sum and log files.
5457 (TextReporter.end): Close sum and log files.
5458 * gdb.perf/lib/perftest/testresult.py
5459 (SingleStatisticTestResult.record): Handle multiple data-points.
5461 2015-07-31 Pedro Alves <palves@redhat.com>
5463 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5464 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5465 kill_wait_spawned_process instead of explicit "kill -9".
5466 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5467 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5468 kill_wait_spawned_process.
5469 * gdb.base/attach-twice.exp: Likewise.
5470 * gdb.base/attach.exp: Likewise.
5471 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5473 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5474 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5475 kill_wait_spawned_process.
5476 * gdb.base/valgrind-infcall.exp: Likewise.
5477 * gdb.multi/multi-attach.exp: Likewise.
5478 * gdb.python/py-prompt.exp: Likewise.
5479 * gdb.python/py-sync-interp.exp: Likewise.
5480 * gdb.server/ext-attach.exp: Likewise.
5481 * gdb.threads/attach-into-signal.exp (corefunc): Use
5482 spawn_wait_for_attach, spawn_id_get_pid and
5483 kill_wait_spawned_process.
5484 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5485 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5486 spawn_id_get_pid and kill_wait_spawned_process.
5487 * gdb.threads/attach-stopped.exp (corefunc): Use
5488 spawn_wait_for_attach, spawn_id_get_pid and
5489 kill_wait_spawned_process.
5490 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5491 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5492 kill_wait_spawned_process instead of explicit "kill -9".
5493 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5494 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5495 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5496 processes. Don't map cygwin/windows pids here. Now returns a
5499 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5501 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5502 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5505 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5507 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5509 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5512 2014-05-21 Mark Wielaard <mjw@redhat.com>
5514 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5516 2015-07-30 Pedro Alves <palves@redhat.com>
5518 * linux-low.c (handle_extended_wait): Set the child's last
5519 reported status to TARGET_WAITKIND_STOPPED.
5521 2015-07-30 Pedro Alves <palves@redhat.com>
5524 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5525 only shows inferior 1.
5527 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5528 Pedro Alves <palves@redhat.com>
5531 * gdb.threads/fork-plus-threads.c: New file.
5532 * gdb.threads/fork-plus-threads.exp: New file.
5534 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5536 * gdb.base/batch-preserve-term-settings.exp
5537 (test_terminal_settings_preserved_after_cli_exit): Use
5540 2015-07-29 Pedro Alves <palves@redhat.com>
5541 Don Breazeal <donb@codesourcery.com>
5543 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5544 output from both inferior_spawn_id and gdb_spawn_id.
5546 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5548 * gdb.threads/attach-into-signal.exp (corefunc): Use
5549 with_test_prefix on nested loops, uniquefying the test messages.
5551 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5553 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5556 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5558 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5560 (test_terminal_settings_preserved_after_sigterm): New test.
5562 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5564 * gdb.base/batch-preserve-term-settings.exp
5565 (test_terminal_settings_preserved_after_cli_exit): New test.
5567 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5569 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5570 manipulation of saved_gdbflags.
5571 (test_terminal_settings_preserved): Remove global declaration of
5572 the unused variable pagination_prompt. Remove manipulation of
5573 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5576 2015-07-29 Pedro Alves <palves@redhat.com>
5578 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5580 2015-07-29 Pedro Alves <palves@redhat.com>
5582 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5585 2015-07-29 Pedro Alves <palves@redhat.com>
5587 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5588 (main): Call gdb_unbuffer_output.
5589 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5590 (main): Call gdb_unbuffer_output.
5591 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5592 (main): Call gdb_unbuffer_output.
5593 * gdb.base/call-strs.exp: Adjust to step over the
5594 gdb_unbuffer_output call.
5595 * gdb.base/catch-gdb-caused-signals.c: Include
5596 "../lib/unbuffer_output.c".
5597 (main): Call gdb_unbuffer_output.
5598 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5599 (main): Call gdb_unbuffer_output.
5600 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5601 (main): Call gdb_unbuffer_output.
5602 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5603 (main): Call gdb_unbuffer_output.
5604 * gdb.base/shlib-call.exp: Adjust to step over the
5605 gdb_unbuffer_output call.
5606 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5607 (main): Call gdb_unbuffer_output.
5608 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5609 (main): Call gdb_unbuffer_output.
5610 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5611 (main): Rename to ...
5613 (main): Reimplement.
5614 * gdb.base/varargs.exp: Run to test instead of to main.
5615 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5616 (main): Call gdb_unbuffer_output.
5618 2015-07-29 Pedro Alves <palves@redhat.com>
5620 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5621 factore out from mi_continue_dprintf. For call-style dprintfs,
5622 expect dprintf output out of $inferior_spawn_id.
5623 (mi_continue_dprintf): Use mi_expect_dprintf.
5624 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5625 (main): Call gdb_unbuffer_output.
5627 2015-07-29 Pedro Alves <palves@redhat.com>
5629 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5630 (default_mi_gdb_start): Set inferior_spawn_id instead of
5631 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5633 (mi_gdb_test): Always expect inferior output from both
5634 $inferior_spawn_id and $gdb_spawn_id.
5636 2015-07-29 Pedro Alves <palves@redhat.com>
5638 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5639 send_inferior and $inferior_spawn_id.
5641 2015-07-29 Pedro Alves <palves@redhat.com>
5643 * gdb.gdb/complaints.exp (test_initial_complaints)
5644 (test_serial_complaints, test_short_complaints): Use
5646 (test_empty_complaint): Handle $inferior_spawn_id !=
5649 2015-07-29 Pedro Alves <palves@redhat.com>
5651 * gdb.base/varargs.exp: Use gdb_test_stdio.
5653 2015-07-29 Pedro Alves <palves@redhat.com>
5655 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5657 2015-07-29 Pedro Alves <palves@redhat.com>
5659 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5661 2015-07-29 Pedro Alves <palves@redhat.com>
5663 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5664 parameter into two new parameters, "inf_result" and "gdb_result".
5665 Expect inferior output and gdb output from $inferior_spawn_id and
5666 $gdb_spawn_id, respectively. Adjust all callers.
5668 2015-07-29 Pedro Alves <palves@redhat.com>
5670 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5671 of gdb_test_sequence.
5673 2015-07-29 Pedro Alves <palves@redhat.com>
5675 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5676 (saw_spurious_output): Expect inferior output from
5677 $inferior_spawn_id. Use gdb_test_stdio.
5679 2015-07-29 Pedro Alves <palves@redhat.com>
5681 * gdb.base/dprintf.exp: Use standard_testfile. Change
5682 prepare_for_testing call.
5683 (srcfile): Don't set.
5684 (restart): New procedure.
5685 (test_dprintf): New procecure, use to continue over dprintfs.
5686 (test_call, test_agent): New procedures, tests moved here.
5687 Restart gdb and recreate dprintfs. Adjust expected output.
5689 2015-07-29 Pedro Alves <palves@redhat.com>
5691 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5693 2015-07-29 Pedro Alves <palves@redhat.com>
5695 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5697 2015-07-29 Pedro Alves <palves@redhat.com>
5699 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5702 2015-07-29 Pedro Alves <palves@redhat.com>
5704 * lib/gdb.exp (gdb_test_stdio): New procedure.
5706 2015-07-29 Pedro Alves <palves@redhat.com>
5708 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5710 2015-07-29 Pedro Alves <palves@redhat.com>
5712 * gdb.base/call-signal-resume.exp: Remove check for
5713 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5714 * gdb.base/unwindonsignal.exp: Likewise.
5715 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5716 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5718 2015-07-29 Pedro Alves <palves@redhat.com>
5720 * gdb.base/siginfo-addr.c (pass): New function.
5721 (handler): Call it iff si_addr is correct.
5722 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5723 Set a breakpoint at "pass" and continue to it.
5725 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5727 * gdb.python/py-objfile.exp: Make some tests have unique names.
5728 * gdb.python/py-pp-registration.exp: Likewise.
5730 2015-07-28 Pedro Alves <palves@redhat.com>
5732 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5734 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5736 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5738 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5740 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5742 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5744 * gdb.base/gdb-sigterm-2.exp: New test.
5746 2015-07-25 Doug Evans <xdje42@gmail.com>
5749 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5750 (workers/%.worker, build-perf): New rule.
5751 (GDB_PERFTEST_MODE): New variable.
5752 (check-perf): Use it.
5753 (clean): Clean up gdb.perf parallel build subdirs.
5754 * lib/build-piece.exp: New file.
5755 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5756 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5758 (standard_temp_file): Ditto.
5759 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5762 2015-07-24 Doug Evans <dje@google.com>
5764 * gdb.perf/lib/perftest/utils.py: New file.
5765 * gdb.perf/gm-hello.cc: New file.
5766 * gdb.perf/gm-pervasive-typedef.cc: New file.
5767 * gdb.perf/gm-pervasive-typedef.h: New file.
5768 * gdb.perf/gm-std.cc: New file.
5769 * gdb.perf/gm-std.h: New file.
5770 * gdb.perf/gm-use-cerr.cc: New file.
5771 * gdb.perf/gm-utils.h: New file.
5772 * gdb.perf/gmonster-null-lookup.py: New file.
5773 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5774 * gdb.perf/gmonster-print-cerr.py: New file.
5775 * gdb.perf/gmonster-ptype-string.py: New file.
5776 * gdb.perf/gmonster-runto-main.py: New file.
5777 * gdb.perf/gmonster-select-file.py: New file.
5778 * gdb.perf/gmonster1-null-lookup.exp: New file.
5779 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5780 * gdb.perf/gmonster1-print-cerr.exp: New file.
5781 * gdb.perf/gmonster1-ptype-string.exp: New file.
5782 * gdb.perf/gmonster1-runto-main.exp: New file.
5783 * gdb.perf/gmonster1-select-file.exp: New file.
5784 * gdb.perf/gmonster1.cc: New file.
5785 * gdb.perf/gmonster1.exp: New file.
5786 * gdb.perf/gmonster2-null-lookup.exp: New file.
5787 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5788 * gdb.perf/gmonster2-print-cerr.exp: New file.
5789 * gdb.perf/gmonster2-ptype-string.exp: New file.
5790 * gdb.perf/gmonster2-runto-main.exp: New file.
5791 * gdb.perf/gmonster2-select-file.exp: New file.
5792 * gdb.perf/gmonster2.cc: New file.
5793 * gdb.perf/gmonster2.exp: New file.
5795 2015-07-24 Doug Evans <dje@google.com>
5797 * gdb.perf/README: New file.
5798 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5799 * lib/gen-perf-test.exp: New file.
5801 2015-07-24 Doug Evans <dje@google.com>
5803 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5804 (PerfTest::startup): New function.
5805 (PerfTest::run): Return result of calling body.
5806 (PerfTest::assemble): Rewrite.
5807 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5808 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5809 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5810 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5811 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5813 2015-07-24 Doug Evans <dje@google.com>
5815 * lib/gdb.exp (clean_restart): Make executable optional.
5817 2015-07-24 Doug Evans <dje@google.com>
5819 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5820 compiler_info references.
5821 * gdb.cp/temargs.exp: Ditto.
5822 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5823 (get_compiler_info): Early exit if already computed. Set compiler_info
5824 to "unknown" if there was a problem.
5825 (test_compiler_info): Add function comment. Call get_compiler_info.
5827 2015-07-24 Doug Evans <dje@google.com>
5829 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5830 (workers/%.worker, build-perf): New rule.
5831 (GDB_PERFTEST_MODE): New variable.
5832 (check-perf): Use it.
5833 (clean): Clean up gdb.perf parallel build subdirs.
5834 * lib/build-piece.exp: New file.
5835 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5836 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5838 (standard_temp_file): Ditto.
5839 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5842 2015-07-24 Doug Evans <dje@google.com>
5844 * lib/future.exp (gdb_default_target_compile): New option
5846 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5849 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5851 * gdb.base/catch-syscall.exp: Call gdb_exit before
5854 2015-07-24 Pedro Alves <palves@redhat.com>
5856 * gdb.python/py-events.exp: Accept output between the stop event
5858 * gdb.python/py-evsignal.exp: Likewise.
5859 * gdb.python/py-evthreads.exp: Likewise.
5861 2015-07-24 Pedro Alves <palves@redhat.com>
5864 * gdb.threads/non-ldr-exit.c: New file.
5865 * gdb.threads/non-ldr-exit.exp: New file.
5867 2015-07-24 Yao Qi <yao.qi@linaro.org>
5869 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5872 2015-07-24 Yao Qi <yao.qi@linaro.org>
5874 * gdb.server/ext-restart.exp: New file.
5876 2015-07-24 Yao Qi <yao.qi@linaro.org>
5878 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5880 * gdb.server/ext-wrapper.exp: New file.
5882 2015-07-23 Doug Evans <dje@google.com>
5884 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5885 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5887 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5889 * gdb.ada/var_arr_typedef.exp: New testcase.
5890 * gdb.ada/var_arr_typedef/pack.adb: New file.
5891 * gdb.ada/var_arr_typedef/pack.ads: New file.
5892 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5894 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5896 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5898 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5900 * gdb.arch/i386-biarch-core.exp: Replace istarget
5901 by "complete set gnutarget". Remove expectation for the "core-file"
5904 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5906 Revert the previous commit:
5907 Tests for validate symbol file using build-id.
5909 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5911 Tests for validate symbol file using build-id.
5912 * gdb.base/solib-mismatch-lib.c: New file.
5913 * gdb.base/solib-mismatch-libmod.c: New file.
5914 * gdb.base/solib-mismatch.c: New file.
5915 * gdb.base/solib-mismatch.exp: New file.
5917 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5919 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5921 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5922 * gdb.base/siginfo.exp: Likewise.
5923 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5925 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5927 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5929 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5931 * gdb.trace/range-stepping.exp: Check that the target supports
5934 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5936 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5938 2015-07-14 Pedro Alves <palves@redhat.com>
5940 * gdb.base/killed-outside.exp: New file.
5941 * gdb.base/killed-outside.c: New file.
5943 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5945 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5947 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5949 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5951 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5952 infcall tests instead of setting up for KFAIL.
5954 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5956 * gdb.btrace/record_goto-step.exp: New.
5958 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5961 * gdb.compile/compile.c (struct struct_type): Add volatile to
5963 * gdb.compile/compile.exp
5964 (compile code struct_object.selffield = &struct_object): Skip further
5965 struct_object tests if this one xfails.
5967 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5970 * gdb.trace/ax.exp: Add test.
5972 2015-07-07 Yao Qi <yao.qi@linaro.org>
5974 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
5975 instead of istarget "aarch64*-*-*".
5976 * gdb.arch/aarch64-fp.exp: Likewise.
5977 * gdb.base/float.exp: Likewise.
5978 * gdb.reverse/aarch64.exp: Likewise.
5979 * lib/gdb.exp (is_aarch64_target): New proc.
5981 2015-07-07 Yao Qi <yao.qi@linaro.org>
5983 * lib/gdb.exp (is_aarch32_target): New proc.
5984 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
5985 instead of "istarget "arm*-*-*"".
5986 * gdb.arch/arm-disp-step.exp: Likewise.
5987 * gdb.arch/thumb-bx-pc.exp: Likewise.
5988 * gdb.arch/thumb-prologue.exp: Likewise.
5989 * gdb.arch/thumb-singlestep.exp: Likewise.
5990 * gdb.base/disp-step-syscall.exp: Likewise.
5991 * gdb.base/float.exp: Likewise.
5993 2015-07-07 Yao Qi <yao.qi@linaro.org>
5995 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
5996 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
5998 2015-07-07 Yao Qi <yao.qi@linaro.org>
6000 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6001 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6003 * gdb.multi/multi-arch.exp: Likewise.
6005 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6007 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6010 2015-07-07 Yao Qi <yao.qi@linaro.org>
6012 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6014 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6016 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6017 '[' and ']' characters.
6019 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6021 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6023 2015-06-29 Pedro Alves <palves@redhat.com>
6026 * gdb.threads/hand-call-new-thread.c: New file.
6027 * gdb.threads/hand-call-new-thread.c: New file.
6029 2015-06-26 Keith Seitz <keiths@redhat.com>
6030 Doug Evans <dje@google.com>
6033 * gdb.cp/var-tag-2.cc: New file.
6034 * gdb.cp/var-tag-3.cc: New file.
6035 * gdb.cp/var-tag-4.cc: New file.
6036 * gdb.cp/var-tag.cc: New file.
6037 * gdb.cp/var-tag.exp: New file.
6039 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6041 * gdb.base/history-duplicates.exp: New test.
6043 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6045 * gdb.base/completion.exp: Test the completion of the "focus"
6048 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6050 * gdb.arch/amd64-prologue-skip.S: New file.
6051 * gdb.arch/amd64-prologue-skip.exp: New file.
6053 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6055 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6056 is_address_zero_readable check.
6058 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6060 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6061 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6063 2015-06-24 Yao Qi <yao.qi@linaro.org>
6065 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6068 2015-06-24 Yao Qi <yao.qi@linaro.org>
6070 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6071 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6072 * gdb.base/siginfo-thread.exp: Likewise.
6074 2015-06-22 Yao Qi <yao.qi@linaro.org>
6076 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6078 2015-06-22 Yao Qi <yao.qi@linaro.org>
6080 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6082 (skip_hw_watchpoint_tests): Likewise.
6084 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6086 * gdb.base/gdbinit-history.exp: Test the interaction between
6087 setting GDBHISTSIZE and setting the history size via .gdbinit.
6089 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6092 * gdb.base/gdbhistsize-history.exp: New test.
6094 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6096 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6098 * gdb.base/readline.exp: Likewise.
6100 2015-06-17 Yao Qi <yao.qi@linaro.org>
6102 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6105 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6107 * gdb.base/gdbinit-history.exp: Add test case to check that
6108 an unlimited history file does not get truncated on exit.
6110 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6112 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6113 (VECTOR): New macro. Use it...
6114 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6115 ...for these typedefs.
6116 (int8, char1, int1, double1): New typedefs.
6117 (struct just_int2, struct two_int2): New structures.
6118 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6119 (add_structvecs, add_singlevecs): New functions.
6120 (main): Call add_some_intvecs twice.
6121 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6122 the compile and exit upon failure. Try compiling for the "native"
6123 architecture. Test inferior function calls with vector arguments
6124 and vector return value handling with "finish" and "return".
6126 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6128 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6129 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6131 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6133 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6135 PR breakpoints/16465
6136 * gdb.mi/mi-dprintf-pending.c: New file.
6137 * gdb.mi/mi-dprintf-pending.exp: New test.
6138 * gdb.mi/mi-dprintf-pendshr.c: New file.
6140 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6141 Mircea Gherzan <mircea.gherzan@intel.com>
6143 * gdb.arch/i386-mpx-map.c: New file.
6144 * gdb.arch/i386-mpx-map.exp: New File.
6146 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6148 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6149 * gdb.arch/i386-mpx.exp: Indentation fixed.
6151 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6153 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6154 function and improved indentation.
6155 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6156 gdb_test_multiple. Added additional tests to skip the test.
6158 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6160 * gdb.arch/i386-avx512.c: Change path in include file.
6161 * gdb.arch/i386-avx512.exp: Change include dir path
6163 * gdb.arch/i386-mpx.c: Change path in include file.
6164 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6167 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6169 * gdb.compile/compile-print.exp (compile print *vararray@3)
6170 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6172 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6174 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6175 (do not keep jit in memory): ... this.
6176 (expect 5): Change it to ...
6177 (expect no 5): ... this.
6179 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6182 * gdb.mi/mi-detach.exp: New file.
6184 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6187 * gdb.arch/amd64-tailcall-self.S: New file.
6188 * gdb.arch/amd64-tailcall-self.c: New file.
6189 * gdb.arch/amd64-tailcall-self.exp: New file.
6191 2015-05-28 Don Breazeal <donb@codesourcery.com>
6193 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6194 tests for remote targets by checking is_target_gdbserver.
6196 2015-05-27 Doug Evans <dje@google.com>
6198 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6199 * gdb.dwarf2/opaque-type-lookup.c: New file.
6200 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6202 2015-05-26 Doug Evans <dje@google.com>
6204 * gdb.cp/iostream.cc: New file.
6205 * gdb.cp/iostream.exp: New file.
6207 2015-05-26 Doug Evans <dje@google.com>
6209 * gdb.dwarf2/dw2-op-call.exp: Update.
6210 * gdb.dwarf2/dw4-sig-types.exp: Update.
6211 * gdb.dwarf2/implptr.exp: Update.
6212 * gdb.mi/mi-cmd-param-changed.exp: Update.
6214 2015-05-26 Doug Evans <dje@google.com>
6216 * gdb.python/py-lazy-string.c: New file.
6217 * gdb.python/py-lazy-string.exp: New file.
6218 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6219 (main): Update. Add estring3.
6220 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6221 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6223 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6224 Yao Qi <yao.qi@linaro.org>
6226 * gdb.reverse/aarch64.c: New.
6227 * gdb.reverse/aarch64.exp: New.
6229 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6231 * lib/gdb.exp (supports_process_record): Return true for
6233 (supports_reverse): Likewise.
6235 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6237 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6238 Use with_test_prefix.
6240 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6242 * gdb.base/completion.exp: Add test for completion of layout
6245 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6247 * lib/gdb.exp (skip_tui_tests): New proc.
6248 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6250 2015-05-19 Pedro Alves <palves@redhat.com>
6252 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6253 Save the whole env array instead of just HOME. Unset HISTSIZE in
6254 the environment while testing. Restore whole environment
6257 2015-05-16 Doug Evans <xdje42@gmail.com>
6259 * gdb.guile/scm-ports.c: New file.
6260 * gdb.guile/scm-ports.exp: Add memory port tests.
6262 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6264 * gdb.compile/compile-print.c: New file.
6265 * gdb.compile/compile-print.exp: New file.
6267 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6269 * gdb.compile/compile-ops.exp: Cast param to void.
6270 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6271 (compile code struct_object.selffield = &struct_object): Add xfail.
6273 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6275 * gdb.ada/arr_enum_with_gap: New testcase.
6277 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6279 * gdb.ada/byte_packed_arr: New testcase.
6281 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6283 * gdb.ada/pckd_neg: New testcase.
6285 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6288 * gdb.base/gdbinit-history.exp: New test.
6289 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6290 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6292 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6294 * gdb.python/py-xmethods.cc: Enhance test case.
6295 * gdb.python/py-xmethods.exp: New tests.
6296 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6298 (B_indexoper): Likewise.
6299 (global_dm_list) : Add new xmethod worker functions.
6301 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6303 * gdb.base/coredump-filter.exp: Correctly unset
6304 "coredump_var_addr" array.
6306 2015-05-08 Pedro Alves <palves@redhat.com>
6308 * gdb.server/non-existing-program.exp: Unset spawn_id.
6310 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6313 * gdb.python/py-xmethods.exp: Add tests.
6315 2015-05-08 Yao Qi <yao.qi@linaro.org>
6318 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6319 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6320 function set_coredump_filter, and remove remote_exec call.
6321 Remove argument ipid. Callers update.
6322 (top level): Don't get inferior's PID.
6324 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6326 * gdb.base/watch_thread_num.exp: Skip test on targets without
6329 2015-05-06 Pedro Alves <palves@redhat.com>
6332 * gdb.server/non-existing-program.exp: New file.
6334 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6336 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6338 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6340 * gdb.ada/out_of_line_in_inlined: New testcase.
6342 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6344 * gdb.ada/var_rec_arr: New testcase.
6346 2015-04-30 Yao Qi <yao.qi@linaro.org>
6348 * gdb.base/break-idempotent.exp: If
6349 skip_hw_watchpoint_multi_tests returns true, skip the tests
6350 on "rwatch" and "awatch".
6352 2015-04-30 Yao Qi <yao.qi@linaro.org>
6354 * gdb.base/relativedebug.exp: Invoke gdb command
6355 "info sharedlibrary", and if libc.so doesn't have debug info,
6358 2015-04-29 Doug Evans <dje@google.com>
6360 * gdb.python/py-xmethods.exp: Add ptype tests.
6361 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6362 get_result_type method.
6364 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6366 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6367 the target does not support hardware watchpoints.
6369 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6371 * gdb.base/break-always.exp: Abort testing if writing to memory
6374 2015-04-28 Doug Evans <dje@google.com>
6376 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6377 * gdb.python/py-pp-registration.exp: ... here. New file.
6378 * gdb.python/py-pp-registration.c: New file.
6379 * gdb.python/py-pp-registration.py: New file.
6381 2015-04-28 Doug Evans <dje@google.com>
6383 * gdb.python/py-bad-printers.c: New file.
6384 * gdb.python/py-bad-printers.py: New file.
6385 * gdb.python/py-bad-printers.exp: New file.
6387 2015-04-28 Sasha Smundak <asmundak@google.com>
6389 * gdb.python/py-type.exp: New test.
6391 2015-04-28 Andy Wingo <wingo@igalia.com>
6393 * gdb.python/py-parameter.exp:
6394 * gdb.guile/scm-parameter.exp: Escape the path that we are
6395 matching against, as it might contain characters that are special
6396 to regular expressions.
6398 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6400 * gdb.ada/rec_comp: New testcase.
6402 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6404 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6407 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6409 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6410 new tests for verilog output.
6412 2015-04-24 Yao Qi <yao.qi@linaro.org>
6414 * boards/remote-gdbserver-on-localhost.exp: New file.
6416 2015-04-23 Pedro Alves <palves@redhat.com>
6418 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6419 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6420 "end of file", remove $inferior_spawn_id from the indirect list.
6422 2015-04-23 Pedro Alves <palves@redhat.com>
6424 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6426 2015-04-23 Pedro Alves <palves@redhat.com>
6428 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6429 on $any_spawn_id instead of only on $gdb_spawn_id.
6431 2015-04-21 Pierre Muller <muller@sourceware.org>
6434 * lib/pascal.exp (gpc_compile): Add new option "class".
6435 (fpc_compile): Likewise.
6436 * gdb.pascal/case-insensitive-symbols.pas: New file.
6437 * gdb.pascal/case-insensitive-symbols.exp: New file.
6439 2015-04-20 Gary Benson <gbenson@redhat.com>
6441 * gdb.base/attach.exp: Fix three extended remote failures.
6443 2015-04-17 Gary Benson <gbenson@redhat.com>
6445 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6446 the main executable over the remote protocol.
6448 2015-04-16 Pedro Alves <palves@redhat.com>
6450 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6451 a new gdbserver if gdbserver_reconnect_p is set.
6453 2015-04-16 Pedro Alves <palves@redhat.com>
6455 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6456 is set, don't exit gdbserver.
6458 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6460 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6461 appropriate .insn, such that an older assembler can be used.
6462 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6463 the z/Architecture instruction set on 31-bit targets as well.
6465 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6467 * gdb.go/handcall.exp: Remove all logic related to the first
6468 breakpoint and rely on go_runto_main instead.
6469 * gdb.go/strings.exp: Likewise.
6470 * gdb.go/unsafe.exp: Likewise.
6471 * gdb.go/hello.exp: Likewise. Also rename the remaining
6472 breakpoint marker to "breakpoint 1".
6473 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6474 * gdb.go/strings.go: Likewise.
6475 * gdb.go/unsafe.go: Likewise.
6476 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6477 "set breakpoint 2 here" and rename the remaining breakpoint marker
6480 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6482 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6483 if itertools.imap is not present.
6484 * gdb.python/py-objfile.exp: Add parentheses.
6485 * gdb.python/py-type.exp: Same.
6486 * gdb.python/py-unwind-maint.py: Same.
6488 2015-04-15 Yao Qi <yao.qi@linaro.org>
6490 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6491 of ":$ptr_size" and set its form explicitly.
6493 2015-04-15 Pedro Alves <palves@redhat.com>
6494 Yao Qi <yao.qi@linaro.org>
6496 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6497 timeout by factor of 4.
6498 (test_regular_watch): Likewise.
6499 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6500 * gdb.reverse/sigall-reverse.exp: Likewise.
6501 * gdb.reverse/until-precsave.exp: Likewise.
6502 * lib/gdb.exp (with_timeout_factor): New proc.
6503 (gdb_expect): Move some code to ...
6504 (get_largest_timeout): ... here. New procedure.
6506 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6508 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6510 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6512 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6513 to write to the .text section.
6515 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6517 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6518 Handle the case of targets that do not provide PID information.
6520 2015-04-13 Yao Qi <yao.qi@linaro.org>
6522 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6523 and use expect instead of gdb_expect.
6525 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6527 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6528 "coredump_var_addr" to avoid naming conflict with other testcases.
6530 2015-04-10 Pedro Alves <palves@redhat.com>
6532 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6533 gdb_test_sequence and gdb_assert.
6535 2015-04-10 Pedro Alves <palves@redhat.com>
6537 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6538 test messages that don't include the breakpoint address.
6540 2015-04-10 Yao Qi <yao.qi@linaro.org>
6542 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6543 false for some offset and width combinations which aren't
6544 supported by linux kernel.
6546 2015-04-10 Pedro Alves <palves@redhat.com>
6548 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6549 procedure, factored out from ...
6550 (top level): ... here. Add "set displaced-stepping" testing axis.
6551 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6552 parameter "displaced". Use it.
6553 (top level): Use foreach and add "set displaced-stepping" testing
6556 2015-04-10 Pedro Alves <palves@redhat.com>
6558 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6560 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6561 both the address of the instruction that triggers the watchpoint
6562 and the address of the instruction immediately after, and use
6563 those addresses for the test. Fix comment.
6565 2015-04-10 Pedro Alves <palves@redhat.com>
6567 * gdb.base/sigstep.exp (breakpoint_to_handler)
6568 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6569 Test "backtrace" in handler.
6570 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6571 (top level): Add new "displaced" test axis to
6572 breakpoint_to_handler, breakpoint_to_handler_entry and
6573 breakpoint_over_handler.
6575 2015-04-10 Pedro Alves <palves@redhat.com>
6578 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6580 2015-04-10 Yao Qi <yao.qi@linaro.org>
6582 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6583 (test_add_rn_pc): New function.
6584 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6585 (top level): Invoke test_add_rn_pc.
6587 2015-04-10 Pedro Alves <palves@redhat.com>
6590 * gdb.base/step-over-no-symbols.exp: New file.
6592 2015-04-09 Andy Wingo <wingo@igalia.com>
6594 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6595 after the Python tests.
6597 2015-04-08 Keith Seitz <keiths@redhat.com>
6600 * gdb.python/py-completion.exp: New tests for completion.
6601 * gdb.python/py-completion.py (CompleteLimit1): New class.
6602 (CompleteLimit2): Likewise.
6603 (CompleteLimit3): Likewise.
6604 (CompleteLimit4): Likewise.
6605 (CompleteLimit5): Likewise.
6606 (CompleteLimit6): Likewise.
6607 (CompleteLimit7): Likewise.
6609 2015-04-08 Pedro Alves <palves@redhat.com>
6613 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6615 (main): Install it as SIGUSR1 handler.
6616 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6617 parameter. Always use "setup" as prefix. Toggle "set
6618 displaced-stepping" off/on depending on global. Don't switch to
6620 (top level): Add displaced stepping "off/on" test axis. Update
6621 "setup" calls. Wrap each subtest with with_test_prefix. Test
6622 continuing with a queued signal in each thread.
6624 2015-04-08 Pedro Alves <palves@redhat.com>
6626 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6627 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6628 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6629 Return early if running to main fails.
6630 * gdb.trace/while-stepping.exp: Likewise.
6632 2015-04-07 Pedro Alves <palves@redhat.com>
6634 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6635 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6636 interact with inferior program.
6638 2015-04-07 Pedro Alves <palves@redhat.com>
6640 * lib/gdb.exp (inferior_spawn_id): New global.
6641 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6642 spawn id after processing the user code.
6643 (default_gdb_start): Set inferior_spawn_id.
6644 (send_inferior): New procedure.
6645 * lib/gdbserver-support.exp (gdbserver_start): Set
6647 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6649 2015-04-07 Pedro Alves <palves@redhat.com>
6651 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6652 * lib/gdbserver-support.exp (gdbserver_start): Make
6653 $server_spawn_id global.
6654 (gdbserver_start): Don't wait for gdbserver's spawn id with
6656 (close_gdbserver): New procedure.
6657 (gdb_exit): Rename the default version and reimplement.
6659 2015-04-07 Pedro Alves <palves@redhat.com>
6661 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6662 append the substituted item, not the original item.
6664 2015-04-07 Pedro Alves <palves@redhat.com>
6666 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6669 2015-04-07 Pedro Alves <palves@redhat.com>
6671 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6672 output appearing once only.
6674 2015-04-07 Pedro Alves <palves@redhat.com>
6676 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6677 that doesn't expect anything. Return early if running to main
6680 2015-04-07 Yao Qi <yao.qi@linaro.org>
6682 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6683 (child_function): Call alarm.
6684 (main): Move call to alarm into the loop.
6685 * gdb.threads/non-stop-fair-events.exp: Build program with
6688 2015-04-06 Doug Evans <xdje42@gmail.com>
6690 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6691 Fix dest parameter to board_info.
6692 (fpc_compile): Ditto.
6693 (gdb_compile_pascal): Rename dest arg to destfile.
6695 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6697 * gdb.ada/funcall_ref.exp: New file.
6698 * gdb.ada/funcall_ref/foo.adb: New file.
6700 2015-04-02 Yao Qi <yao.qi@linaro.org>
6702 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6705 2015-04-02 Gary Benson <gbenson@redhat.com>
6707 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6709 2015-04-01 Sasha Smundak <asmundak@google.com>
6711 * gdb.python/py-unwind-maint.c: New file.
6712 * gdb.python/py-unwind-maint.exp: New test.
6713 * gdb.python/py-unwind-maint.py: New file.
6714 * gdb.python/py-unwind.c: New file.
6715 * gdb.python/py-unwind.exp: New test.
6716 * gdb.python/py-unwind.py: New test.
6718 2015-04-01 Pedro Alves <palves@redhat.com>
6720 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6721 to fail instead of non-existent $test.
6723 2015-04-01 Pedro Alves <palves@redhat.com>
6725 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6726 GDBFLAGS if not empty.
6728 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6730 * gdb.ada/complete.exp: Remove "multi_line".
6731 * gdb.ada/info_exc.exp: Remove "multi_line".
6732 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6733 * gdb.ada/ptype_field.exp: Remove "multi_line".
6734 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6735 * gdb.ada/tagged.exp: Remove "multi_line".
6736 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6738 * gdb.btrace/delta.exp: Likewise.
6739 * gdb.btrace/exception.exp: Likewise.
6740 * gdb.btrace/function_call_history.exp: Likewise.
6741 * gdb.btrace/instruction_history.exp: Likewise.
6742 * gdb.btrace/nohist.exp: Likewise.
6743 * gdb.btrace/record_goto.exp: Likewise.
6744 * gdb.btrace/segv.exp: Likewise.
6745 * gdb.btrace/stepi.exp: Likewise.
6746 * gdb.btrace/tailcall.exp: Likewise.
6747 * gdb.btrace/unknown_functions.exp: Likewise.
6748 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6749 * lib/gdb.exp: Add the "multi_line" helper.
6751 2015-04-01 Pedro Alves <palves@redhat.com>
6753 * gdb.threads/tid-reuse.c: New file.
6754 * gdb.threads/tid-reuse.exp: New file.
6756 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6759 * gdb.base/coredump-filter.c: New file.
6760 * gdb.base/coredump-filter.exp: Likewise.
6762 2015-03-27 Petr Machata <pmachata@redhat.com>
6764 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6765 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6766 (Dwarf::assemble): Initialize them.
6767 (Dwarf::lines): New function.
6769 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6771 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6772 SYMBOL_PREFIX for x86_64-*-cygwin.
6774 2015-03-26 Andy Wingo <wingo@igalia.com>
6777 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6778 const_value but not a location.
6779 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6780 location defined in non-main CUs are visible.
6782 2015-03-26 Yao Qi <yao.qi@linaro.org>
6785 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6786 Add a line number entry for the same line.
6787 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6788 Add a line number entry for the same line.
6790 2015-03-26 Yao Qi <yao.qi@linaro.org>
6792 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6794 (func): Likewise. Add .Lfunc_1 label.
6796 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6801 2015-03-26 Yao Qi <yao.qi@linaro.org>
6803 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6804 Call gdb_compile instead to compile each .s files without debug
6807 2015-03-26 Yao Qi <yao.qi@linaro.org>
6809 * gdb.base/savedregs.exp (process_saved_regs): Make
6810 "Saved registers:" optional in the pattern.
6812 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6814 * gdb.btrace/next.exp: Merged into step.exp.
6815 * gdb.btrace/finish.exp: Merged into step.exp.
6816 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6817 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6818 "record goto" and checking the exact replay position.
6819 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6820 check for "Recording format" in "info record" output.
6821 * gdb.btrace/record_goto.exp: Choose test file based on target.
6822 * gdb.btrace/x86-record_goto.S: Renamed into ...
6823 * gdb.btrace/x86_64-record_goto.S: ... this.
6824 * gdb.btrace/i686-record_goto.S: New.
6825 * gdb.btrace/x86-tailcall.S: Renamed into ...
6826 * gdb.btrace/x86_64-tailcall.S: ... this.
6827 * gdb.btrace/i686-tailcall.S: New.
6828 * gdb.btrace/x86-tailcall.c: Renamed into ...
6829 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6830 separate statements. Update test.
6831 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6832 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6833 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6834 * gdb.btrace/tailcall.exp: Choose test file based on target.
6835 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6837 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6839 * gdb.btrace/exception.exp: Increase BTS buffer size.
6841 2015-03-24 Pedro Alves <palves@redhat.com>
6843 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6845 2015-03-24 Pedro Alves <palves@redhat.com>
6847 * gdb.threads/schedlock.exp (test_step): No longer expect that
6848 "set scheduler-locking step" with "next" over a function call runs
6851 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6853 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6855 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6857 PR breakpoints/16466
6858 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6859 * gdb.mi/mi-pending.c (thread_func): New function.
6860 (int main): Add threading support required.
6861 * gdb.mi/mi-pending.exp: Add tests for this issue.
6862 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6863 (pendfunc2): Remove stdio dependency.
6864 * gdb.mi/mi-pendshr2.c: New file.
6866 2015-03-23 Keith Seitz <keiths@redhat.com>
6868 * gdb.linespec/keywords.c: New file.
6869 * gdb.linespec/keywords.exp: New file.
6871 2015-03-23 Keith Seitz <keiths@redhat.com>
6874 * gdb.dwarf2/staticvirtual.exp: New test.
6876 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6878 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6879 * README: Remove HP-UX and gdb.hp.
6881 * configure: Regenerate.
6882 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6883 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6884 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6885 gdb.hp/gdb.defects/Makefile.
6886 * gdb.hp/Makefile.in: File deleted.
6887 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6888 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6889 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6890 * gdb.hp/gdb.aCC/run.c: File deleted.
6891 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6892 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6893 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6894 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6895 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6896 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6897 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6898 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6899 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6900 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6901 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6902 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6903 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6904 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6905 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6906 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6907 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6908 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6909 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6910 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6911 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6912 * gdb.hp/gdb.compat/average.c: File deleted.
6913 * gdb.hp/gdb.compat/sum.c: File deleted.
6914 * gdb.hp/gdb.compat/xdb.c: File deleted.
6915 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6916 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6917 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6918 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6919 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6920 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6921 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6922 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6923 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6924 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6925 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6926 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6927 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6928 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6929 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6930 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6931 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6932 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6933 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6934 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6935 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6936 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6937 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6938 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6939 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6940 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6941 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6942 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6943 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6944 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6945 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6946 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6947 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6948 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6949 * gdb.hp/tools/odump: File deleted.
6951 2015-03-19 Pedro Alves <palves@redhat.com>
6953 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6954 (saw_thread_3): New globals.
6955 (top level): Increment them when an event for the corresponding
6957 (no thread starvation): New test.
6959 2015-03-19 Pedro Alves <palves@redhat.com>
6961 * gdb.threads/continue-pending-status.c: New file.
6962 * gdb.threads/continue-pending-status.exp: New file.
6964 2015-03-18 Pedro Alves <palves@redhat.com>
6966 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6967 Use gdb_is_target_remote instead of is_remote. Use
6968 gdb_test_multiple instead of gdb_expect. Exit early if
6969 gdb_test_multiple hits its internal matches. Tighten stepi tests
6970 expected output. Fail on exit with any signal, instead of just
6973 2015-03-18 Yao Qi <yao.qi@linaro.org>
6976 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
6978 * gdb.base/catch-syscall.exp: Don't skip it on
6979 aarch64*-*-linux* target. Remove elements in all_syscalls.
6980 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
6982 (setup_all_syscalls): New proc.
6984 2015-03-16 Yao Qi <yao.qi@linaro.org>
6986 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
6987 (top level): Skip tests if valid_addr_p returns false for
6990 2015-03-11 Andy Wingo <wingo@igalia.com>
6992 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
6994 2015-03-11 Yao Qi <yao.qi@linaro.org>
6996 * gdb.base/catch-syscall.exp: Fix typo in comments.
6998 2015-03-11 Yao Qi <yao.qi@linaro.org>
7000 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7002 2015-03-09 Pedro Alves <palves@redhat.com>
7004 * dg-extract-results.py: Delete.
7006 2015-03-09 Pedro Alves <palves@redhat.com>
7008 Merge dg-extract-results.sh from GCC upstream (r218843).
7010 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7011 * dg-extract-results.sh: Use --text with grep to avoid issues with
7012 binary files. Fall back to cat -v, if that doesn't work.
7014 2015-03-05 Pedro Alves <palves@redhat.com>
7016 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7018 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7020 * lib/mi-support.exp (mi_expect_interrupt): Accept
7021 alternative event for when in all-stop mode.
7023 2015-03-04 Pedro Alves <palves@redhat.com>
7025 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7027 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7029 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7031 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7033 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7034 regexps for GDB's current line display, accept a hex address
7035 preceding the line number.
7037 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7039 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7040 the 'arch1' variable for "s390*-linux*" targets.
7042 2015-03-04 Pedro Alves <palves@redhat.com>
7044 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7045 (main): Pass missing retval argument to pthread_join call.
7047 2015-03-02 Pedro Alves <palves@redhat.com>
7049 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7050 (top level): Call do_test with non-stop as well.
7052 2015-03-02 Pedro Alves <palves@redhat.com>
7054 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7057 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7059 * gdb.arch/s390-vregs.exp: New test.
7060 * gdb.arch/s390-vregs.S: New file.
7062 2015-02-27 Pedro Alves <palves@redhat.com>
7064 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7065 call to catch_command_errors.
7066 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7067 catch_command_errors.
7069 2015-02-27 Pedro Alves <palves@redhat.com>
7071 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7072 "true" for boolean result.
7073 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7076 2015-02-27 Pedro Alves <palves@redhat.com>
7078 * lib/unbuffer_output.c: New file.
7079 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7080 (main): Call gdb_unbuffer_output.
7082 2015-02-27 Yao Qi <yao.qi@linaro.org>
7084 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7087 2015-02-26 Doug Evans <dje@google.com>
7089 * gdb.cp/class2.cc (Dbase, D): New classes.
7090 (main): New local delta.
7091 * gdb.cp/class2.exp: Test printing delta.
7092 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7093 (dynbar): New global.
7094 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7096 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7098 * gdb.compile/compile-ifunc.c: New file.
7099 * gdb.compile/compile-ifunc.exp: New file.
7101 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7103 * gdb.base/structs.exp: Check for correct struct on finish.
7105 2015-02-26 Yao Qi <yao.qi@linaro.org>
7107 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7110 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7112 * gdb.arch/cordic.ko.bz2: New file.
7113 * gdb.arch/cordic.ko.debug.bz2: New file.
7114 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7116 2015-02-25 Yao Qi <yao.qi@linaro.org>
7118 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7119 aarch64*-*-* target.
7121 2015-02-23 Pedro Alves <palves@redhat.com>
7123 * lib/gdb.exp (delete_breakpoints): Rewrite using
7126 2015-02-23 Pedro Alves <palves@redhat.com>
7128 * gdb.base/info-os.c: Include stdlib.h.
7130 2015-02-22 Doug Evans <xdje42@gmail.com>
7133 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7134 is read after symbols have been re-read.
7135 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7136 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7138 2015-02-21 Doug Evans <dje@google.com>
7140 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7142 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7145 * gdb.arch/i386-biarch-core.core.bz2: New file.
7146 * gdb.arch/i386-biarch-core.exp: New file.
7148 2015-02-21 Pedro Alves <palves@redhat.com>
7150 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7153 2015-02-20 Pedro Alves <palves@redhat.com>
7155 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7158 2015-02-20 Pedro Alves <palves@redhat.com>
7160 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7162 2015-02-20 Pedro Alves <palves@redhat.com>
7164 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7165 clean_restart before gdb_target_supports_trace.
7167 2015-02-20 Pedro Alves <palves@redhat.com>
7170 * gdb.threads/clone-thread_db.c: New file.
7171 * gdb.threads/clone-thread_db.exp: New file.
7173 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7175 PR breakpoints/16812
7176 * gdb.base/catch-gdb-caused-signals.c: New file.
7177 * gdb.base/catch-gdb-caused-signals.exp: New file.
7179 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7181 * configure: Regenerated.
7182 * configure.ac: Use GDB_AC_TRANSFORM.
7183 * aclocal.m4: sinclude ../transform.m4.
7185 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7187 * lib/dtrace.exp: New file.
7188 * gdb.base/dtrace-probe.exp: Likewise.
7189 * gdb.base/dtrace-probe.d: Likewise.
7190 * gdb.base/dtrace-probe.c: Likewise.
7191 * lib/pdtrace.in: Likewise.
7192 * configure.ac: Output variables with the transformed names of
7193 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7194 * configure: Regenerated.
7196 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7198 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7199 expected message when trying to access $_probe_* convenience
7200 variables while not on a probe.
7202 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7204 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7206 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7208 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7209 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7211 2015-02-10 Doug Evans <xdje42@gmail.com>
7213 * lib/gdb.exp (gdb_load): Always return a result.
7215 2015-02-10 Pedro Alves <palves@redhat.com>
7217 * gdb.threads/signal-sigtrap.c: New file.
7218 * gdb.threads/signal-sigtrap.exp: New file.
7220 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7222 * gdb.trace/no-attach-trace.c: New file.
7223 * gdb.trace/no-attach-trace.exp: New file.
7225 2015-02-09 Mark Wielaard <mjw@redhat.com>
7227 * gdb.dwarf2/atomic.c: New file.
7228 * gdb.dwarf2/atomic-type.exp: Likewise.
7230 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7232 * gdb.btrace/buffer-size.exp: Update "info record" output.
7233 * gdb.btrace/delta.exp: Update "info record" output.
7234 * gdb.btrace/enable.exp: Update "info record" output.
7235 * gdb.btrace/finish.exp: Update "info record" output.
7236 * gdb.btrace/instruction_history.exp: Update "info record" output.
7237 * gdb.btrace/next.exp: Update "info record" output.
7238 * gdb.btrace/nexti.exp: Update "info record" output.
7239 * gdb.btrace/step.exp: Update "info record" output.
7240 * gdb.btrace/stepi.exp: Update "info record" output.
7241 * gdb.btrace/nohist.exp: Update "info record" output.
7243 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7245 * gdb.btrace/buffer-size: New.
7247 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7249 * gdb.btrace/delta.exp: Update "info record" output.
7250 * gdb.btrace/enable.exp: Update "info record" output.
7251 * gdb.btrace/finish.exp: Update "info record" output.
7252 * gdb.btrace/instruction_history.exp: Update "info record" output.
7253 * gdb.btrace/next.exp: Update "info record" output.
7254 * gdb.btrace/nexti.exp: Update "info record" output.
7255 * gdb.btrace/step.exp: Update "info record" output.
7256 * gdb.btrace/stepi.exp: Update "info record" output.
7257 * gdb.btrace/nohist.exp: Update "info record" output.
7259 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7262 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7264 2015-02-06 Pedro Alves <palves@redhat.com>
7266 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7268 (seconds_left, again): New globals.
7269 (main): Wait seconds_left in a 1-second sleep loop instead of
7270 sleeping 180 seconds. If 'again' is set, reset the seconds
7272 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7273 'again' in the inferior before detaching. Print the seconds left.
7274 (options): New global.
7275 (top level): Build program with -DTIMEOUT=$timeout.
7277 2015-02-06 Pedro Alves <palves@redhat.com>
7279 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7280 determine how many seconds to pass to 'alarm'.
7281 * gdb.base/gdb-sigterm.exp (top level): Build program with
7283 (do_test): Return success/failure indication. Add more verbose
7284 logging. Don't fail if 200 single steps are seen. Instead, fail
7285 when the test times out.
7286 (passes): New global.
7287 (top level): Break the testing loop if testing fails on any
7288 iteration. Use gdb_assert.
7290 2015-02-04 Don Breazeal <donb@codesourcery.com>
7292 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7293 and initialize them.
7294 (ipc_cleanup): New function.
7295 (main): Don't declare shmid, semid, and msqid. Add a call to
7296 atexit so that we call ipc_cleanup on exit.
7298 2015-02-04 Pedro Alves <palves@redhat.com>
7300 * boards/native-extended-gdbserver.exp: Remove any target variant
7301 specifications from the board name before clearing the isremote
7302 flag from board_info.
7304 2015-01-31 Doug Evans <xdje42@gmail.com>
7306 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7308 2015-01-31 Gary Benson <gbenson@redhat.com>
7310 * gdb.base/completion.exp: Disable completion limiting for
7311 existing tests. Add new tests to check completion limiting.
7312 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7314 2015-01-31 Doug Evans <xdje42@gmail.com>
7316 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7318 2015-01-31 Doug Evans <xdje42@gmail.com>
7320 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7321 entries. Duplicate file section script entries.
7322 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7323 inlined entries. Add test for safe-path rejection.
7324 * gdb.python/py-section-script.c: Add duplicate inlined section script
7325 entries. Duplicate file section script entries.
7326 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7327 inlined entries. Add test for safe-path rejection.
7329 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7331 * gdb.ada/disc_arr_bound: New testcase.
7333 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7335 * gdb.ada/mi_var_array: New testcase.
7337 2015-01-27 Doug Evans <dje@google.com>
7339 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7340 Add test for objfile.filename, objfile.username after objfile
7343 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7345 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7346 the second test to print the name attribute of value
7347 returned by the call to gdb.lookup_type, and adjust
7348 the expected output accordingly.
7350 2015-01-25 Mark Wielaard <mjw@redhat.com>
7352 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7353 * gdb.base/disp-step-fork.c: Include unistd.h.
7354 * gdb.base/siginfo-obj.c: Include stdio.h.
7355 * gdb.base/siginfo-thread.c: Likewise.
7356 * gdb.mi/non-stop.c: Include unistd.h.
7357 * gdb.mi/nsthrexec.c: Include stdio.h.
7358 * gdb.mi/pthreads.c: Include unistd.h.
7359 * gdb.modula2/unbounded1.c (main): Declare returns int.
7360 * gdb.reverse/consecutive-reverse.c: Likewise.
7361 * gdb.threads/create-fail.c: Include unistd.h.
7362 * gdb.threads/killed.c: Likewise.
7363 * gdb.threads/linux-dp.c: Likewise.
7364 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7365 * gdb.threads/non-ldr-exc-2.c: Likewise.
7366 * gdb.threads/non-ldr-exc-3.c: Likewise.
7367 * gdb.threads/non-ldr-exc-4.c: Likewise.
7368 * gdb.threads/pthreads.c: Include unistd.h.
7369 (main): Declare returns int.
7370 * gdb.threads/tls-main.c (foo): New declaration.
7371 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7373 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7375 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7376 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7378 2015-01-15 Mark Wielaard <mjw@redhat.com>
7380 * gdb.base/noreturn-return.c: New file.
7381 * gdb.base/noreturn-return.exp: New file.
7382 * gdb.base/noreturn-finish.c: New file.
7383 * gdb.base/noreturn-finish.exp: New file.
7385 2015-01-23 Pedro Alves <palves@redhat.com>
7387 * gdb.threads/continue-pending-after-query.c: New file.
7388 * gdb.threads/continue-pending-after-query.exp: New file.
7390 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7391 Simon Marchi <simon.marchi@ericsson.com>
7393 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7394 * gdb.base/valgrind-db-attach.exp: Same.
7395 * gdb.base/valgrind-infcall.exp: Same.
7396 * lib/mi-support.exp (default_mi_gdb_start): Same.
7397 * lib/prompt.exp (default_prompt_gdb_start): Same.
7398 * lib/gdb.exp (default_gdb_spawn): Same.
7399 (gdb_interact): New.
7402 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7404 * gdb.compile/compile.exp (pointer to jit function): New test.
7406 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7408 * lib/gdb.exp (supports_process_record): Return true for
7410 (supports_reverse): Likewise.
7412 2015-01-15 Don Breazeal <donb@codesourcery.com>
7414 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7415 instead of checking whether the target board is remote and
7416 use spawn_wait_for_attach instead of exec/sleep.
7417 * gdb.base/attach-twice.exp: Likewise.
7419 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7421 * gdb.ada/var_arr_attrs: New testcase.
7423 2015-01-14 Pedro Alves <palves@redhat.com>
7424 Joel Brobecker <brobecker@adacore.com>
7427 * gdb.base/bp-cmds-execution-x-script.c: New file.
7428 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7429 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7431 2015-01-14 Pedro Alves <palves@redhat.com>
7434 * gdb.base/batch-preserve-term-settings.c: New file.
7435 * gdb.base/batch-preserve-term-settings.exp: New file.
7437 2015-01-13 Doug Evans <dje@google.com>
7439 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7442 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7444 * Makefile.in (clean mostlyclean): Do not delete *.py.
7446 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7448 * gdb.python/py-lookup-type.exp: New file.
7450 2015-01-12 Pedro Alves <palves@redhat.com>
7452 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7453 restore GDBFLAGS before returning.
7455 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7457 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7458 is_amd64_regs_target and is_x86_like_target.
7460 2015-01-11 Doug Evans <xdje42@gmail.com>
7462 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7463 is given without an explicit form.
7464 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7466 * gdb.dwarf/corrupt.exp: Ditto.
7467 * gdb.dwarf2/enum-type.exp: Ditto.
7468 * gdb.trace/entry-values.exp: Ditto.
7469 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7471 2015-01-11 Doug Evans <xdje42@gmail.com>
7474 * gdb.base/maint.exp: Remove references to "maint demangle".
7475 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7476 Add tests for explicitly specifying language to demangle.
7477 * gdb.dlang/demangle.exp: Ditto.
7479 2015-01-09 Pedro Alves <palves@redhat.com>
7481 * gdb.threads/non-stop-fair-events.c: New file.
7482 * gdb.threads/non-stop-fair-events.exp: New file.
7484 2015-01-09 Pedro Alves <palves@redhat.com>
7486 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7487 the global scope. Set a breakpoint after all threads are started
7488 rather than stepping over two source lines. Expect the prompt.
7489 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7492 (main): Use threads_started_barrier to wait for all threads to
7493 start. Main thread no longer calls thread_function. Exit after
7495 (loop): New function.
7496 (thread_function): Wait on threads_started_barrier barrier. Call
7497 'loop' at each iteration.
7498 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7499 threads have started, instead of hardcoding number of "next"
7500 steps. Use an access watchpoint instead of a write watchpoint.
7502 2015-01-09 Pedro Alves <palves@redhat.com>
7504 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7505 (thread_func): Wait on barrier.
7506 (main): Wait for all threads to start before stopping GDB.
7507 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7509 (thread1_func, thread2_func): Wait on barrier.
7510 (main): Wait for all threads to start before stopping GDB.
7511 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7513 (thread1_func, thread2_func): Wait on barrier.
7514 (main): Wait for all threads to start before stopping GDB.
7516 2015-01-09 Pedro Alves <palves@redhat.com>
7518 * gdb.threads/attach-many-short-lived-threads.c: New file.
7519 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7521 2014-01-09 Pedro Alves <palves@redhat.com>
7523 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7524 instead of to thread 2.
7525 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7526 Add barrier around each pthread_create call instead of around all
7528 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7529 Set a break on thread_function and have the child threads hit it
7532 2015-01-09 Pedro Alves <palves@redhat.com>
7534 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7535 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7537 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7538 checking whether the target board is remote.
7539 * gdb.multi/multi-attach.exp: Likewise.
7540 * gdb.python/py-sync-interp.exp: Likewise.
7541 * gdb.server/ext-attach.exp: Likewise.
7542 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7543 tests that need to attach, instead of checking whether the target
7544 board is remote at the top of the file.
7546 2015-01-08 Yao Qi <yao@codesourcery.com>
7548 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7550 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7552 Fix testcase compilation.
7553 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7555 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7557 * gdb.python/py-type.exp: Add a couple test about empty
7558 array creation, and negative-length array creation.
7560 2015-01-02 Doug Evans <xdje42@gmail.com>
7562 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7564 2015-01-02 Doug Evans <dje@google.com>
7566 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7568 2014-12-29 Yao Qi <yao@codesourcery.com>
7570 * gdb.trace/entry-values.exp: Update comments. Rename variable
7571 bar_call_foo to returned_from_foo.
7573 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7576 * gdb.linespec/break-asm-file.c: New file.
7577 * gdb.linespec/break-asm-file.exp: New file.
7578 * gdb.linespec/break-asm-file0.s: New file.
7579 * gdb.linespec/break-asm-file1.s: New file.
7581 2014-12-18 Nigel Stephens <nigel@mips.com>
7582 Maciej W. Rozycki <macro@codesourcery.com>
7584 * gdb.base/float.exp: Handle the new output from "info float" on
7587 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7589 Fix MinGW compilation.
7590 * gdb.compile/compile-ops.exp: Update untested message if
7591 !skip_compile_feature_tests.
7592 * gdb.compile/compile-setjmp.exp: Likewise.
7593 * gdb.compile/compile-tls.exp: Likewise.
7594 * gdb.compile/compile.exp: Likewise.
7595 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7596 supported on this host".
7598 2014-12-16 Doug Evans <xdje42@gmail.com>
7600 * boards/stabs.exp: New file.
7602 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7604 * gdb.base/completion.exp: Adjust to format changes of "maint
7605 print user-registers".
7607 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7610 * gdb.arch/aarch64-fp.c: New file.
7611 * gdb.arch/aarch64-fp.exp: New file.
7613 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7615 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7616 r210637, r210913, r211666, r215400, r215817).
7618 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7619 * dg-extract-results.py: New file.
7620 * dg-extract-results.sh: Use it if the environment seems
7623 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7625 * dg-extract-results.py (parse_run): Handle warnings that
7626 are printed before a test harness is run.
7628 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7630 * dg-extract-results.py (Named): Remove __cmp__ method.
7631 (output_variation): Use a key to sort variation.harnesses.
7633 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7635 * dg-extract-results.py: For Python 3, force sys.stdout to
7636 handle surrogate escape sequences.
7637 (safe_open): New function.
7638 (output_segment, main): Use it.
7640 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7642 * dg-extract-results.py (Prog.result_re): Include options
7645 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7647 * dg-extract-results.py (output_variation): Always sort if
7650 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7652 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7653 as long as we get pagination notifications.
7655 2014-12-15 Jason Merrill <jason@redhat.com>
7657 * Makefile.in (check-gdb.%): Restore.
7658 * README: Mention it.
7660 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7662 * gdb.ada/str_uninit: New testcase.
7664 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7667 * gdb.base/vla-stub-define.c: New file.
7668 * gdb.base/vla-stub.c: New file.
7669 * gdb.base/vla-stub.exp: New file.
7671 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7672 Jan Kratochvil <jan.kratochvil@redhat.com>
7673 Tom Tromey <tromey@redhat.com>
7675 * configure.ac: Add gdb.compile/.
7676 * configure: Regenerate.
7677 * gdb.compile/Makefile.in: New file.
7678 * gdb.compile/compile-ops.exp: New file.
7679 * gdb.compile/compile-ops.c: New file.
7680 * gdb.compile/compile-tls.c: New file.
7681 * gdb.compile/compile-tls.exp: New file.
7682 * gdb.compile/compile-constvar.S: New file.
7683 * gdb.compile/compile-constvar.c: New file.
7684 * gdb.compile/compile-mod.c: New file.
7685 * gdb.compile/compile-nodebug.c: New file.
7686 * gdb.compile/compile-setjmp-mod.c: New file.
7687 * gdb.compile/compile-setjmp.c: New file.
7688 * gdb.compile/compile-setjmp.exp: New file.
7689 * gdb.compile/compile-shlib.c: New file.
7690 * gdb.compile/compile.c: New file.
7691 * gdb.compile/compile.exp: New file.
7692 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7694 2014-12-12 Tom Tromey <tromey@redhat.com>
7696 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7697 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7699 2014-12-12 Doug Evans <dje@google.com>
7701 * lib/gdb-python.exp (get_python_valueof): New function.
7702 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7704 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7706 * gdb.base/completion.exp: Add test for completion of "info
7709 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7711 * gdb.base/func-ptrs.c: New file.
7712 * gdb.base/func-ptrs.exp: New file.
7714 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7716 PR breakpoints/17012
7717 * gdb.base/dprintf-detach.c: New file.
7718 * gdb.base/dprintf-detach.exp: New file.
7720 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7722 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7723 * lib/gdb.exp (target_is_gdbserver): New procedure.
7725 2014-12-08 Doug Evans <dje@google.com>
7727 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7729 2014-12-05 Yao Qi <yao@codesourcery.com>
7731 * gdb.guile/scm-error.exp: Remove the third argument to
7732 gdb_remote_download.
7733 * gdb.guile/scm-frame-args.exp: Likewise.
7734 * gdb.guile/scm-section-script.exp: Likewise.
7736 2014-12-05 Yao Qi <yao@codesourcery.com>
7738 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7740 2014-12-04 Doug Evans <dje@google.com>
7742 * gdb.python/py-objfile.exp: Add tests for
7743 objfile.add_separate_debug_file.
7745 2014-12-04 Doug Evans <dje@google.com>
7747 * lib/gdb.exp (get_build_id): New function.
7748 (build_id_debug_filename_get): Rewrite to use it.
7749 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7751 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7753 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7754 `method(long)', not just 0x0.
7755 * gdb.cp/nsalias.exp: Align code labels to 4.
7756 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7757 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7758 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7759 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7760 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7761 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7763 2014-12-02 Doug Evans <dje@google.com>
7766 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7767 * gdb.cp/anon-ns2.cc: ... here. New file.
7768 * gdb.cp/anon-ns.exp: Update.
7770 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7772 * gdb.python/py-events.py (inferior_call_handler): New.
7773 (register_changed_handler, memory_changed_handler): New.
7774 (test_events.invoke): Register new handlers.
7775 * gdb.python/py-events.exp: Add tests for inferior call,
7776 memory_changed and register_changed events.
7778 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7780 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7781 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7782 if the linker doesn't understand this.
7784 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7786 * gdb.python/python.exp: Change expected reply to help().
7788 2014-12-01 Yao Qi <yao@codesourcery.com>
7790 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7791 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7792 * configure: Re-generated.
7794 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7796 * gdb.cp/chained-calls.cc: New file.
7797 * gdb.cp/chained-calls.exp: New file.
7798 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7800 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7802 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7803 * gdb.dwarf2/symtab-producer.exp: Same.
7804 * gdb.gdb/python-interrupts.exp: Same.
7805 * gdb.gdb/python-selftest.exp: Same.
7806 * gdb.python/py-linetable.exp: Same.
7807 * gdb.python/py-type.exp: Same.
7808 * gdb.python/py-value-cc.exp: Same.
7809 * gdb.python/py-value.exp: Same.
7811 2014-11-28 Yao Qi <yao@codesourcery.com>
7813 * gdb.base/break-probes.exp: Match library name prefixed with
7816 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7818 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7819 test expected output. Add parentheses for the call to print.
7820 Remove L suffix from integers.
7822 2014-11-26 Doug Evans <dje@google.com>
7824 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7826 2014-11-22 Yao Qi <yao@codesourcery.com>
7828 * gdb.trace/entry-values.c: Remove asms.
7829 (foo): Add foo_label.
7830 (bar): Add bar_label.
7831 * gdb.trace/entry-values.exp: Remove code computing foo's
7832 length and bar's length.
7833 (Dwarf::assemble): Invoke function_range for bar and use
7834 MACRO_AT_func for foo.
7836 2014-11-22 Yao Qi <yao@codesourcery.com>
7838 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7839 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7840 Use .Lgcc43_procstart instead of gcc43.
7842 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7844 * gdb.ada/n_arr_bound: New testcase.
7846 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7848 PR breakpoints/10737
7849 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7850 test_catch_syscall_multi_arch.
7851 (test_catch_syscall_multi_arch): New function.
7853 2014-11-20 Doug Evans <xdje42@gmail.com>
7855 * gdb.base/maint.exp: Update expected output.
7857 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7859 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7860 4-byte instruction on S390.
7862 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7864 * gdb.ada/arr_arr: New testcase.
7866 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7868 * gdb.ada/pkd_arr_elem: New Testcase.
7870 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7872 * gdb.reverse/break-precsave: Expect completion message for
7874 * gdb.reverse/consecutive-precsave.exp: Likewise.
7875 * gdb.reverse/finish-precsave.exp: Likewise.
7876 * gdb.reverse/i386-precsave.exp: Likewise.
7877 * gdb.reverse/machinestate-precsave.exp: Likewise.
7878 * gdb.reverse/sigall-precsave.exp: Likewise.
7879 * gdb.reverse/solib-precsave.exp: Likewise.
7880 * gdb.reverse/step-precsave.exp: Likewise.
7881 * gdb.reverse/until-precsave.exp: Likewise.
7882 * gdb.reverse/watch-precsave.exp: Likewise.
7884 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7886 * gdb.base/bp-permanent.c: Include unistd.h.
7887 * gdb.python/py-framefilter-mi.c (main): Add return type.
7888 * gdb.python/py-framefilter.c (main): Likewise.
7889 * gdb.trace/actions-changed.c (main): Likewise.
7891 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7893 * gdb.mi/until.c: Add eye-catchers.
7894 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7897 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7899 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7900 function header variants in break1.c.
7901 * gdb.base/ena-dis-br.exp: Likewise.
7902 * gdb.base/hbreak2.exp: Likewise.
7903 * gdb.reverse/until-precsave.exp: Drop references to removed
7904 non-prototype function header variants in ur1.c.
7905 * gdb.reverse/until-reverse.exp: Likewise.
7907 2014-11-17 Petr Machata <pmachata@redhat.com>
7909 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7910 ${_cu_offset_size} bytes abbrev offset.
7912 2014-11-15 Doug Evans <xdje42@gmail.com>
7915 * gdb.base/line-symtabs.exp: New file.
7916 * gdb.base/line-symtabs.c: New file.
7917 * gdb.base/line-symtabs.h: New file.
7919 2014-11-14 Yao Qi <yao@codesourcery.com>
7921 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7922 (func): Add label func_label.
7923 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7924 Replace low_pc and high_pc with MACRO_AT_range.
7925 Replace name, low_pc and high_pc with MACRO_AT_func.
7927 2014-11-14 Yao Qi <yao@codesourcery.com>
7929 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7930 Replace name, low_pc and high_pc with MACRO_AT_func.
7932 2014-11-14 Yao Qi <yao@codesourcery.com>
7934 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7935 produce debug information.
7936 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7938 2014-11-14 Yao Qi <yao@codesourcery.com>
7940 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7941 object and get function length.
7942 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7944 (top-level): Replace gdb_compile and clean_restart with
7945 prepare_for_testing.
7946 * gdb.dwarf2/main.c (main): Add label main_label.
7948 2014-11-14 Yao Qi <yao@codesourcery.com>
7950 * lib/dwarf.exp (function_range): New procedure.
7951 (Dwarf::_handle_macro_at_func): New procedure.
7952 (Dwarf::_handle_macro_at_range): New procedure.
7953 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7955 2014-11-14 Yao Qi <yao@codesourcery.com>
7957 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7958 (_handle_attribute): New procedure.
7960 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7962 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7963 * gdb.base/call-sc.c (zed): Likewise.
7964 * gdb.base/checkpoint.c (main): Likewise.
7965 * gdb.base/dump.c (main): Likewise.
7966 * gdb.base/gcore.c (main): Likewise.
7967 * gdb.base/huge.c (main): Likewise.
7968 * gdb.base/multi-forks.c (main): Likewise.
7969 * gdb.base/pr10179-a.c (main): Likewise.
7970 * gdb.base/savedregs.c (main): Likewise.
7971 * gdb.base/sigaltstack.c (main): Likewise.
7972 * gdb.base/siginfo.c (main): Likewise.
7973 * gdb.base/structs.c (zed): Likewise.
7974 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
7975 * gdb.mi/mi-syn-frame.c (main): Likewise.
7976 * gdb.mi/until.c (foo, main): Likewise.
7977 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
7978 * gdb.base/solib-weak.c (foo): Declare.
7979 * gdb.base/attach-twice.c: Include stdio.h.
7980 * gdb.base/weaklib1.c: Likewise.
7981 * gdb.base/weaklib2.c: Likewise.
7982 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
7983 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
7985 * gdb.base/attach-pie-misread.c: Include stdlib.h.
7986 * gdb.mi/mi-exit-code.c: Likewise.
7987 * gdb.base/break-interp-lib.c: Include string.h.
7988 * gdb.base/coremaker.c: Likewise.
7989 * gdb.base/testenv.c: Likewise.
7990 * gdb.python/py-finish-breakpoint.c: Likewise.
7991 * gdb.base/inferior-died.c: Include sys/wait.h.
7992 * gdb.base/fileio.c: Include time.h.
7993 * gdb.base/async-shell.c: Include unistd.h.
7994 * gdb.base/dprintf-non-stop.c: Likewise.
7995 * gdb.base/info-os.c: Likewise.
7996 * gdb.mi/mi-console.c: Likewise.
7997 * gdb.mi/watch-nonstop.c: Likewise.
7998 * gdb.python/py-events.c: Likewise.
7999 * gdb.base/async.c (baz): Move up before its invocation.
8000 * gdb.base/code_elim2.c (my_global_func): Likewise.
8001 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8002 * gdb.base/advance.c (func2): Likewise.
8004 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8006 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8008 * gdb.base/annota3.c: Likewise.
8009 * gdb.base/async.c: Likewise.
8010 * gdb.base/average.c: Likewise.
8011 * gdb.base/call-ar-st.c: Likewise.
8012 * gdb.base/call-rt-st.c: Likewise.
8013 * gdb.base/call-sc.c: Likewise.
8014 * gdb.base/call-strs.c: Likewise.
8015 * gdb.base/ending-run.c: Likewise.
8016 * gdb.base/execd-prog.c: Likewise.
8017 * gdb.base/exprs.c: Likewise.
8018 * gdb.base/foll-exec.c: Likewise.
8019 * gdb.base/foll-fork.c: Likewise.
8020 * gdb.base/foll-vfork.c: Likewise.
8021 * gdb.base/funcargs.c: Likewise.
8022 * gdb.base/gcore.c: Likewise.
8023 * gdb.base/jump.c: Likewise.
8024 * gdb.base/langs0.c: Likewise.
8025 * gdb.base/langs1.c: Likewise.
8026 * gdb.base/langs2.c: Likewise.
8027 * gdb.base/mips_pro.c: Likewise.
8028 * gdb.base/nodebug.c: Likewise.
8029 * gdb.base/opaque0.c: Likewise.
8030 * gdb.base/opaque1.c: Likewise.
8031 * gdb.base/recurse.c: Likewise.
8032 * gdb.base/run.c: Likewise.
8033 * gdb.base/scope0.c: Likewise.
8034 * gdb.base/scope1.c: Likewise.
8035 * gdb.base/setshow.c: Likewise.
8036 * gdb.base/setvar.c: Likewise.
8037 * gdb.base/shmain.c: Likewise.
8038 * gdb.base/shr1.c: Likewise.
8039 * gdb.base/shr2.c: Likewise.
8040 * gdb.base/sigall.c: Likewise.
8041 * gdb.base/signals.c: Likewise.
8042 * gdb.base/so-indr-cl.c: Likewise.
8043 * gdb.base/solib2.c: Likewise.
8044 * gdb.base/structs.c: Likewise.
8045 * gdb.base/sum.c: Likewise.
8046 * gdb.base/vforked-prog.c: Likewise.
8047 * gdb.base/watchpoint.c: Likewise.
8048 * gdb.reverse/shr2.c: Likewise.
8049 * gdb.reverse/until-reverse.c: Likewise.
8050 * gdb.reverse/ur1.c: Likewise.
8051 * gdb.reverse/watch-reverse.c: Likewise.
8053 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8055 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8057 * gdb.base/sepdebug.exp: Drop references to removed code.
8059 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8061 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8062 variant. Preserve original line numbering.
8063 * gdb.base/list1.c: Likewise.
8065 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8067 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8069 * gdb.base/break1.c: Likewise.
8070 * gdb.base/break.exp: Drop references to removed code.
8072 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8074 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8077 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8079 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8081 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8083 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8084 logic into perform_all_tests() and invoke it with and without
8085 function header prototypes.
8086 (do_function_calls): Remove conditional XFAIL for PR 5318.
8087 (rerun_and_prepare): Remove duplicate code.
8088 (perform_all_tests): New. Main logic moved here.
8090 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8092 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8093 code guarded by #ifdef NO_PROTOTYPES.
8094 (t_double_many_args): Likewise.
8095 (DEF_FUNC_MANY_ARGS_1): Likewise.
8096 (DEF_FUNC_VALUES_1): Likewise.
8097 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8098 guarded by #ifdef PROTOTYPES.
8100 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8102 * gdb.mi/mi-console.c: Add eye-catcher.
8103 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8104 instead of literal line number.
8106 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8108 * gdb.base/shr2.c: Add eye-catcher.
8109 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8112 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8114 * gdb.base/jump.c: Add eye-catchers.
8115 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8120 * gdb.base/execd-prog.c: Add eye-catchers.
8121 * gdb.base/foll-exec.c: Likewise.
8122 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8125 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8127 * gdb.base/ending-run.c: Add eye-catchers.
8128 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8129 literal line numbers.
8131 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8133 * gdb.base/call-rt-st.c: Add eye-catchers.
8134 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8135 literal line numbers.
8137 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8139 * gdb.base/call-ar-st.c: Add eye-catchers.
8140 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8141 literal line numbers.
8143 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8145 * gdb.base/average.c: Add eye-catchers.
8146 * gdb.base/sum.c: Likewise.
8147 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8148 regexps dynamically.
8150 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8152 * gdb.base/solib1.c: Add eye-catchers.
8153 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8154 literal line numbers.
8156 2014-11-12 Pedro Alves <palves@redhat.com>
8158 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8161 2014-11-12 Pedro Alves <palves@redhat.com>
8163 * gdb.arch/i386-bp_permanent.c: New file.
8164 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8165 (srcfile): Set to i386-bp_permanent.c.
8166 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8167 that stepi does not execute the 'leave' instruction, instead of
8168 testing it does execute.
8169 * gdb.base/bp-permanent.c: New file.
8170 * gdb.base/bp-permanent.exp: New file.
8172 2014-11-10 Doug Evans <xdje42@gmail.com>
8175 * gdb.base/symtab-search-order.exp: New file.
8176 * gdb.base/symtab-search-order.c: New file.
8177 * gdb.base/symtab-search-order-1.c: New file.
8178 * gdb.base/symtab-search-order-shlib-1.c: New file.
8180 2014-11-07 Pedro Alves <palves@redhat.com>
8183 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8186 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8189 * gdb.cp/pr17494.cc: New file.
8190 * gdb.cp/pr17494.exp: New file.
8192 2014-11-02 Yao Qi <yao@codesourcery.com>
8194 * gdb.python/python.exp: Get working directory and match the
8195 output of "set extended-prompt \\w " with it.
8197 2014-10-30 Doug Evans <dje@google.com>
8199 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8201 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8204 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8206 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8207 * gdb.base/realname-expand.exp: Likewise.
8208 * gdb.linespec/macro-relative.exp: Likewise.
8210 2014-10-29 Pedro Alves <palves@redhat.com>
8213 * gdb.threads/schedlock.c (some_function): New function.
8214 (call_function): New global.
8215 (MAYBE_CALL_SOME_FUNCTION): New macro.
8216 (thread_function): Call it.
8217 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8218 and use it instead of a global counter. Adjust all callers.
8219 (get_current_thread): Use "find current thread" for test message
8220 here rather than having all callers pass down the same string.
8221 (goto_loop): New procedure, factored out from ...
8222 (my_continue): ... this.
8223 (step_ten_loops): Change parameter from test message to command to
8225 (list_count): Delete global.
8226 (check_result): New procedure, factored out from duplicate top
8228 (continue tests): Wrap in with_test_prefix.
8229 (test_step): New procedure, factored out from duplicate top level
8231 (top level): Test "step" in combination with all scheduler-locking
8232 modes. Test "next" in combination with all scheduler-locking
8233 modes, and in combination with stepping over a function call or
8235 * gdb.threads/next-bp-other-thread.c: New file.
8236 * gdb.threads/next-bp-other-thread.exp: New file.
8238 2014-10-29 Pedro Alves <palves@redhat.com>
8241 * gdb.python/python.exp: Test a multi-line command that spawns
8243 * gdb.base/multi-line-starts-subshell.exp: New file.
8245 2014-10-29 Yao Qi <yao@codesourcery.com>
8247 * gdb.base/fileio.exp: Make directories on host.
8249 2014-10-29 Yao Qi <yao@codesourcery.com>
8251 * gdb.base/fileio.c (test_write): Close the file.
8253 2014-10-28 Pedro Alves <palves@redhat.com>
8256 * gdb.base/sigstep.c (no_handler): New global.
8257 (main): If 'no_handler is true, set the signal handlers to
8259 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8260 with_sw_watch and no_handler parameters. Handle them.
8261 (top level) <stepping over handler when stopped at a breakpoint
8262 test>: Add a test axis for testing with a software watchpoint, and
8263 another for testing with the signal handler set to SIG_IGN.
8264 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8265 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8267 2014-10-28 Pedro Alves <palves@redhat.com>
8270 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8271 * gdb.base/sigstep.exp (other_handler_location): New global.
8272 (advance): Support stepping into the signal handler, and running
8273 commands while in the handler.
8274 (in_handler_map): New global.
8275 (top level): In the advance test, add combinations for getting
8276 into the handler with stepping commands, and for running commands
8277 in the handler. Add comment descripting the advancei tests.
8279 2014-10-28 Pedro Alves <palves@redhat.com>
8281 * gdb.base/sigstep.exp: Use build_executable instead of
8282 prepare_for_testing.
8283 (top level): Move code that starts GDB, runs to main and creates a
8285 (restart): ... this new procedure.
8286 (top level): Move backtrace from signal handler test to ...
8287 (validate_backtrace): ... this new procedure.
8288 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8289 with_test_prefix. Always restart GDB.
8290 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8291 with_test_prefix. Always restart GDB. No need to delete
8292 breakpoints after the test.
8293 (test_skip_handler): Remove prefix parameter.
8294 (skip_over_handler, breakpoint_to_handler)
8295 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8296 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8297 restart GDB. No need to delete breakpoints after the test.
8298 (top level): Use foreach to call the test procedures with
8301 2014-10-28 Pedro Alves <palves@redhat.com>
8303 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8304 instead of GNATS numbers.
8305 * gdb.base/sigbpt.exp: Likewise.
8306 * gdb.base/siginfo.exp: Likewise.
8307 * gdb.base/sigstep.exp: Likewise.
8309 2014-10-27 Pedro Alves <palves@redhat.com>
8311 * gdb.base/sigstep.c (dummy): New global.
8312 (main): Issue a couple writes to the new global.
8313 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8315 (skip_over_handler): Use test_skip_handler.
8316 (top level): Call skip_over_handler for stepi and nexti too.
8317 (breakpoint_over_handler): Use test_skip_handler.
8318 (top level): Call breakpoint_over_handler for stepi and nexti too.
8320 2014-10-27 Yao Qi <yao@codesourcery.com>
8322 * gdb.trace/tfile.c (adjust_function_address)
8323 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8324 function descriptor.
8326 2014-10-24 Don Breazeal <donb@codesourcery.com>
8328 * gdb.base/foll-fork.exp (test_follow_fork,
8329 catch_fork_child_follow): Check for updated fork messages emitted
8331 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8332 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8333 vfork_and_exec_child_follow_through_step): Check for updated vfork
8334 messages emitted from infrun.c.
8336 2014-10-24 Pedro Alves <palves@redhat.com>
8338 * gdb.base/corefile.exp: Remove references to ultrix.
8339 * gdb.base/interrupt.exp: Likewise.
8340 * gdb.base/whatis.exp: Likewise.
8341 * gdb.gdb/selftest.exp: Likewise.
8342 * gdb.threads/manythreads.exp: Likewise.
8343 * gdb.threads/print-threads.exp: Likewise.
8344 * gdb.threads/pthreads.exp:: Likewise.
8345 * gdb.threads/schedlock.exp: Likewise.
8347 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8349 * gdb.cp/non-trivial-retval.cc: Add a test case.
8350 * gdb.cp/non-trivial-retval.exp: Add a test.
8352 2014-10-20 Yao Qi <yao@codesourcery.com>
8354 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8355 * gdb.python/py-objfile-script-gdb.py: New file.
8356 * gdb.python/py-objfile-script.exp: Update reference to
8357 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8358 of remote_download. Remove the dest file.
8360 2014-10-20 Yao Qi <yao@codesourcery.com>
8362 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8363 * gdb.base/step-line.exp: Likewise.
8364 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8365 * gdb.dwarf2/dw2-basic.exp: Likewise.
8366 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8367 * gdb.dwarf2/dw2-filename.exp: Likewise.
8368 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8369 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8370 * gdb.dwarf2/dw2-producer.exp: Likewise.
8371 * gdb.dwarf2/mac-fileno.exp: Likewise.
8372 * gdb.python/py-frame-args.exp: Likewise.
8373 * gdb.python/py-framefilter.exp: Likewise.
8374 * gdb.python/py-mi.exp: Likewise.
8375 * gdb.python/py-objfile-script.exp: Likewise
8376 * gdb.python/py-pp-integral.exp: Likewise.
8377 * gdb.python/py-pp-re-notag.exp: Likewise.
8378 * gdb.python/py-prettyprint.exp: Likewise.
8379 * gdb.python/py-section-script.exp: Likewise.
8380 * gdb.python/py-typeprint.exp: Likewise.
8381 * gdb.python/py-xmethods.exp: Likewise.
8382 * gdb.stabs/weird.exp: Likewise.
8383 * gdb.xml/tdesc-regs.exp: Likewise.
8385 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8387 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8388 (out_cu): Use addr_len for the size of addresses.
8389 (out_line): Likewise. Size DW_LNE_set_address instruction
8390 according to addr_len.
8391 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8392 (FUNC): Add START_INSNS to definition.
8394 2014-10-18 Yao Qi <yao@codesourcery.com>
8396 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8397 gdb_has_argv0 return true.
8398 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8399 check [target_info exists noargs], check [gdb_has_argv0]
8401 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8402 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8405 2014-10-17 Doug Evans <dje@google.com>
8407 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8409 * gdb.python/py-events.py: Add clear_objfiles event.
8411 2014-10-17 Doug Evans <dje@google.com>
8413 * gdb.python/py-objfile.exp: Test progspace attribute.
8415 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8417 * gdb.guile/scm-breakpoint.exp: Do not assume any
8418 directory separators when matching source file paths.
8419 * gdb.python/py-breakpoint.exp: Likewise.
8420 * gdb.reverse/break-precsave.exp: Likewise.
8421 * gdb.reverse/break-reverse.exp: Likewise.
8422 * gdb.reverse/consecutive-precsave.exp: Likewise.
8423 * gdb.reverse/finish-precsave.exp: Likewise.
8424 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8425 * gdb.reverse/finish-reverse.exp: Likewise.
8426 * gdb.reverse/i386-precsave.exp: Likewise.
8427 * gdb.reverse/i387-env-reverse.exp: Likewise.
8428 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8429 * gdb.reverse/machinestate-precsave.exp: Likewise.
8430 * gdb.reverse/machinestate.exp: Likewise.
8431 * gdb.reverse/sigall-precsave.exp: Likewise.
8432 * gdb.reverse/solib-precsave.exp: Likewise.
8433 * gdb.reverse/step-precsave.exp: Likewise.
8434 * gdb.reverse/until-precsave.exp: Likewise.
8435 * gdb.reverse/watch-precsave.exp: Likewise.
8436 * gdb.reverse/watch-reverse.exp: Likewise.
8438 2014-10-17 Yao Qi <yao@codesourcery.com>
8440 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8441 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8443 2014-10-17 Pedro Alves <palves@redhat.com>
8446 * gdb.base/bg-execution-repeat.c: New file.
8447 * gdb.base/bg-execution-repeat.exp: New file.
8449 2014-10-17 Pedro Alves <palves@redhat.com>
8452 * gdb.base/continue-all-already-running.c: New file.
8453 * gdb.base/continue-all-already-running.exp: New file.
8455 2014-10-17 Pedro Alves <palves@redhat.com>
8458 * gdb.base/annota-input-while-running.c: New file.
8459 * gdb.base/annota-input-while-running.exp: New file.
8461 2014-10-17 Pedro Alves <palves@redhat.com>
8463 * gdb.base/callfuncs.exp: emove references to osf.
8464 * gdb.base/sigall.exp: Likewise.
8465 * gdb.gdb/selftest.exp: Likewise.
8466 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8467 * gdb.mi/non-stop.c: Likewise.
8468 * gdb.mi/pthreads.c: Likewise.
8469 * gdb.reverse/sigall-precsave.exp: Likewise.
8470 * gdb.reverse/sigall-reverse.exp: Likewise.
8471 * gdb.threads/pthreads.c: Likewise.
8472 * gdb.threads/pthreads.exp: Likewise.
8474 2014-10-17 Yao Qi <yao@codesourcery.com>
8476 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8477 check 'target_info exists noargs'.
8478 (test_command_prompt_position): Likewise.
8479 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8481 (progvar_simple_while_test): Likewise.
8482 (progvar_complex_if_while_test): Likewise.
8483 (if_while_breakpoint_command_test): Likewise.
8484 (infrun_breakpoint_command_test): Likewise.
8485 (breakpoint_command_test): Likewise.
8486 (watchpoint_command_test): Likewise.
8487 (bp_deleted_in_command_test): Likewise.
8488 (temporary_breakpoint_commands): Likewise.
8490 2014-10-16 Yao Qi <yao@codesourcery.com>
8492 * gdb.base/remotetimeout.exp: Remove noargs checking.
8494 2014-10-15 Pedro Alves <palves@redhat.com>
8497 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8498 * gdb.base/breakpoint-in-ro-region.exp
8499 (probe_target_hardware_step): New procedure.
8500 (top level): Probe hardware stepping and hardware breakpoint
8501 support. Test stepping through a read-only region, with both
8502 "breakpoint auto-hw" on and off and both "always-inserted" on and
8505 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8507 * gdb.dlang/demangle.exp: Update for demangling changes.
8509 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8511 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8512 * gdb.cp/non-trivial-retval.exp: Add new tests.
8514 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8518 * gdb.cp/non-trivial-retval.cc: New file.
8519 * gdb.cp/non-trivial-retval.exp: New file.
8521 2014-10-15 Yao Qi <yao@codesourcery.com>
8523 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8526 2014-10-15 Yao Qi <yao@codesourcery.com>
8528 * gdb.python/py-symbol.exp: Match file base name if host is
8529 remote, otherwise match file name with dir name.
8530 * gdb.python/py-symtab.exp: Likewise.
8531 * gdb.python/python.exp: Likewise.
8533 2014-10-15 Yao Qi <yao@codesourcery.com>
8535 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8537 * gdb.python/py-symtab.exp: Likewise.
8538 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8541 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8543 * gdb.ada/addr_arith: New testcase.
8545 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8547 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8548 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8549 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8550 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8552 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8554 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8555 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8556 * gdb.arch/stap-eval-lang-ada.exp: New file.
8558 2014-10-14 Yao Qi <yao@codesourcery.com>
8560 * gdb.mi/mi-var-child.c (nothing1): New function.
8561 (nothing2): New function.
8562 (do_children_tests): Set function pointers by nothing1 and
8564 * gdb.mi/mi-var-child.exp: Step over new added statements.
8565 Update test to match the new output.
8566 * gdb.mi/var-cmd.c (nothing1): New function.
8567 (nothing2): New function.
8568 (do_children_tests): Set function pointers by nothing1 and
8570 * gdb.mi/mi-var-display.exp: Update test to match output.
8571 Step to the line specified by $line_dct_nothing.
8572 Increase the number of lines to step.
8574 2014-10-14 Yao Qi <yao@codesourcery.com>
8576 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8578 * gdb.mi/mi2-var-child.exp: Likewise.
8580 2014-10-13 Doug Evans <dje@google.com>
8582 * gdb.python/py-objfile.exp: Change name of file name test.
8584 2014-10-13 Doug Evans <dje@google.com>
8586 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8587 from the start of the CU.
8589 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8590 Yao Qi <yao@codesourcery.com>
8592 Fix "save breakpoints" for "catch" command.
8593 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8594 Remove -nonewline. Match also the added "main" line.
8596 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8598 Fix "save breakpoints" for "disable $bpnum" command.
8599 * gdb.base/save-bp.c (main): Add label.
8600 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8602 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8604 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8606 2014-10-11 Yao Qi <yao@codesourcery.com>
8608 * gdb.server/server-kill.exp: Execute command
8609 "set remote trace-status-packet on" before "tstatus".
8611 2014-10-11 Yao Qi <yao@codesourcery.com>
8613 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8614 (main): Call getppid.
8615 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8616 and continue to it. Read variable "server_pid".
8618 2014-10-11 Yao Qi <yao@codesourcery.com>
8620 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8622 2014-10-11 Yao Qi <yao@codesourcery.com>
8624 * gdb.threads/thread-find.exp: Don't execute command
8626 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8627 * gdb.threads/linux-dp.exp: Don't check the condition
8628 $threads_created equals to zero.
8630 2014-10-10 Pedro Alves <palves@redhat.com>
8632 * gdb.base/bigcore.exp: Remove references to IRIX.
8633 * gdb.base/funcargs.exp: Likewise.
8634 * gdb.base/interrupt.exp: Likewise.
8635 * gdb.base/mips_pro.exp: Likewise.
8636 * gdb.base/nodebug.exp: Likewise.
8637 * gdb.base/setvar.exp: Likewise.
8638 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8640 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8641 Pedro Alves <palves@redhat.com>
8644 * gdb.base/vdso-warning.c: New file.
8645 * gdb.base/vdso-warning.exp: New file.
8647 2014-10-02 Doug Evans <dje@google.com>
8649 * gdb.base/structs.c (main): Don't run forever.
8651 2014-10-02 Pedro Alves <palves@redhat.com>
8653 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8654 (top level) <stop threads 1, stop threads 2>: Use it.
8656 2014-10-02 Pedro Alves <palves@redhat.com>
8658 * gdb.threads/break-while-running.exp (test): Add new
8659 'update_thread_list' argument. Skip "info threads" if false.
8660 (top level): Add new 'update_thread_list' axis.
8662 2014-10-02 Pedro Alves <palves@redhat.com>
8664 PR breakpoints/17431
8665 * gdb.base/execl-update-breakpoints.c: New file.
8666 * gdb.base/execl-update-breakpoints.exp: New file.
8668 2014-10-01 Pedro Alves <palves@redhat.com>
8670 * gdb.base/breakpoint-in-ro-region.c: New file.
8671 * gdb.base/breakpoint-in-ro-region.exp: New file.
8673 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8675 * gdb.mi/mi-exit-code.exp: New file.
8676 * gdb.mi/mi-exit-code.c: New file.
8678 2014-09-30 Yao Qi <yao@codesourcery.com>
8680 * lib/prelink-support.exp (build_executable_own_libs): Error if
8681 the target isn't native.
8683 2014-09-30 Yao Qi <yao@codesourcery.com>
8685 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8688 2014-09-22 Pedro Alves <palves@redhat.com>
8690 * gdb.threads/break-while-running.exp: New file.
8691 * gdb.threads/break-while-running.c: New file.
8693 2014-09-19 Yao Qi <yao@codesourcery.com>
8695 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8696 Invoke test. Restart GDB with --readnow and invoke test again.
8698 2014-09-19 Yao Qi <yao@codesourcery.com>
8700 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8701 proc set_breakpoint_on_gcd_function. Invoke
8702 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8703 invoke set_breakpoint_on_gcd_function again.
8705 2014-09-18 Doug Evans <dje@google.com>
8707 * gdb.dwarf2/symtab-producer.exp: New file.
8709 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8711 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8712 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8713 * gdb.base/global-var-nested-by-dso.c: Likewise.
8714 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8716 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8717 Pedro Alves <palves@redhat.com>
8719 * gdb.base/watch-bitfields.exp: Pass string other than test file
8720 name to prepare_for_testing.
8721 (watch): New procedure.
8722 (expect_watchpoint): Use with_test_prefix.
8723 (top level): Factor out tests to ...
8724 (test_watch_location, test_regular_watch): ... these new
8725 procedures, and use with_test_prefix and gdb_continue_to_end.
8727 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8729 PR breakpoints/12526
8730 * gdb.base/watch-bitfields.exp: New file.
8731 * gdb.base/watch-bitfields.c: New file.
8733 2014-09-16 Pedro Alves <palves@redhat.com>
8735 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8736 software and hardware addresses, not software address against
8739 2014-09-16 Pedro Alves <palves@redhat.com>
8741 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8742 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8744 2014-09-16 Pedro Alves <palves@redhat.com>
8746 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8748 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8749 "*-*-vxworks*" throughout.
8750 * gdb.base/break.exp: Likewise.
8751 * gdb.base/default.exp: Likewise.
8752 * gdb.base/scope.exp: Likewise.
8753 * gdb.base/sepdebug.exp: Likewise.
8754 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8756 * gdb.base/run.c: Likewise.
8757 * gdb.base/sepdebug.c: Likewise.
8758 * gdb.hp/gdb.aCC/run.c: Likewise.
8759 * gdb.reverse/until-reverse.c: Likewise.
8760 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8762 2014-09-16 Yao Qi <yao@codesourcery.com>
8764 * boards/local-remote-host-native.exp: New file.
8766 2014-09-14 Doug Evans <xdje42@gmail.com>
8768 * gdb.threads/queue-signal.c (thread_count): New variable.
8769 (thread_count_mutex, thread_count_condvar): New variables.
8770 (incr_thread_count, wait_all_threads_running): New functions.
8771 (main): Wait for all threads to be in their thread functions.
8773 2014-09-13 Doug Evans <xdje42@gmail.com>
8775 * gdb.threads/queue-signal.c: New file.
8776 * gdb.threads/queue-signal.exp: New file.
8778 2014-09-13 Doug Evans <xdje42@gmail.com>
8780 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8781 be consistent with what default_gdb_init uses.
8782 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8783 the plain text of the prompt. Add some logging printfs.
8784 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8786 2014-09-12 Pedro Alves <palves@redhat.com>
8788 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8789 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8790 * gdb.arch/i386-size-overlap.exp: Likewise.
8791 * gdb.arch/i386-size.exp: Likewise.
8792 * gdb.arch/i386-unwind.exp: Likewise.
8793 * gdb.base/a2-run.exp: Likewise.
8794 * gdb.base/break.exp: Likewise.
8795 * gdb.base/charset.exp: Likewise.
8796 * gdb.base/chng-syms.exp: Likewise.
8797 * gdb.base/commands.exp: Likewise.
8798 * gdb.base/dbx.exp: Likewise.
8799 * gdb.base/find.exp: Likewise.
8800 * gdb.base/funcargs.exp: Likewise.
8801 * gdb.base/jit-simple.exp: Likewise.
8802 * gdb.base/reread.exp: Likewise.
8803 * gdb.base/sepdebug.exp: Likewise.
8804 * gdb.base/step-bt.exp: Likewise.
8805 * gdb.cp/mb-inline.exp: Likewise.
8806 * gdb.cp/mb-templates.exp: Likewise.
8807 * gdb.objc/basicclass.exp: Likewise.
8808 * gdb.threads/killed.exp: Likewise.
8810 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8813 * gdb.arch/powerpc-stackless.S: New file.
8814 * gdb.arch/powerpc-stackless.exp: New file.
8816 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8818 * gdb.base/attach.c: Include unistd.h.
8819 (main): Call alarm. Add label postloop.
8820 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8821 gdb_breakpoint, gdb_continue_to_breakpoint.
8822 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8824 2014-09-11 Pedro Alves <palves@redhat.com>
8827 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8828 * gdb.base/attach.exp (test_command_line_attach_run): New
8830 (top level): Call it.
8832 2014-09-11 Pedro Alves <palves@redhat.com>
8834 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8835 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8836 (do_command_attach_tests): Use spawn_wait_for_attach.
8837 * gdb.base/solib-overlap.exp: Likewise.
8838 * gdb.multi/multi-attach.exp: Likewise.
8839 * gdb.python/py-prompt.exp: Likewise.
8840 * gdb.python/py-sync-interp.exp: Likewise.
8841 * gdb.server/ext-attach.exp: Likewise.
8843 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8845 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8846 command in testcase. Simplify testcase.
8848 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8850 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8852 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8854 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8856 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8858 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8860 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8862 * gdb.dwarf2/dynarr-ptr.c: New file.
8863 * gdb.dwarf2/dynarr-ptr.exp: New file.
8865 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8867 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8868 of 30 rather than hardcoding 120 for a slow test case. Take the
8869 `gdb,timeout' target setting into account for this calculation.
8870 Don't extend the timeout for the test cases that don't need it.
8872 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8874 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8875 a factor of 2 for a slow test case. Take the `gdb,timeout'
8876 target setting into account for this calculation.
8877 * gdb.reverse/until-precsave.exp: Increase the timeout by
8878 a factor of 15 and 3 respectively rather than adding 120
8879 for a pair of slow test cases. Take the `gdb,timeout'
8880 target setting into account for this calculation.
8882 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8884 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8885 timeout, don't pass one down to gdb_expect.
8886 (gdb_expect): Rework timeout selection.
8888 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8890 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8891 exception on timeout.
8892 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8893 (gdbserver_start_extended): Catch any `gdbserver_start' error
8895 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8896 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8897 `gdbserver_gdb_load' error exceptions.
8899 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8901 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8902 120 on waiting for the TCP socket to open.
8904 2014-09-09 Doug Evans <xdje42@gmail.com>
8906 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8907 _caller_matches, _any_caller_is, _any_caller_matches.
8909 2014-09-09 Doug Evans <xdje42@gmail.com>
8911 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8913 2014-09-09 Yao Qi <yao@codesourcery.com>
8915 * gdb.mi/mi-var-display.exp: Set print symbol off.
8917 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8920 * gdb.base/commands.exp: Add tests to verify user-defined
8921 commands with empty bodies.
8922 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8923 python commands in `show user command`.
8924 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8925 scheme commands in `show user command`.
8927 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8930 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8931 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8932 * gdb.python/py-framefilter-invalidarg.exp: New file.
8933 * gdb.python/py-framefilter-invalidarg.py: New file.
8935 2014-09-06 Doug Evans <xdje42@gmail.com>
8938 * gdb.python/py-caller-is.c: New file.
8939 * gdb.python/py-caller-is.exp: New file.
8941 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8944 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8945 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8947 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8950 * gdb.fortran/print-formatted.exp: New file.
8951 * gdb.fortran/print-formatted.f90: Likewise.
8953 2014-09-03 Sasha Smundak <asmundak@google.com>
8955 * gdb.python/py-frame.exp: Test Frame.read_register.
8957 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8960 * gdb.python/py-completion.exp: New file.
8961 * gdb.python/py-completion.py: Likewise.
8963 2014-08-28 Doug Evans <dje@google.com>
8965 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8966 eax,etc. are live with values set by gdb and thus the compiler can't
8968 * gdb.arch/i386-pseudo.c (main): Ditto.
8970 2014-08-27 Doug Evans <dje@google.com>
8972 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
8974 2014-08-25 Doug Evans <dje@google.com>
8976 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
8979 2014-08-25 Doug Evans <dje@google.com>
8981 * gdb.threads/thread-execl.exp: #include <stdio.h>.
8983 2014-08-24 Yao Qi <yao@codesourcery.com>
8985 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
8987 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
8989 2014-08-22 Doug Evans <dje@google.com>
8992 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
8993 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
8994 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
8996 2014-08-22 Yao Qi <yao@codesourcery.com>
8998 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
8999 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9000 * gdb.python/python.exp: Likewise. Use .py file on the host
9001 instead of the build.
9003 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9005 * gdb.threads/gcore-stale-thread.c: New file.
9006 * gdb.threads/gcore-stale-thread.exp: New file.
9008 2014-08-21 Pedro Alves <palves@redhat.com>
9010 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9011 * gdb.base/gcore-relro-pie.exp: Likewise.
9012 * gdb.base/gcore-relro.exp: Likewise.
9013 * gdb.base/gcore.exp: Likewise.
9014 * gdb.base/print-symbol-loading.exp: Likewise.
9015 * gdb.threads/gcore-thread.exp: Likewise.
9016 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9018 2014-08-20 Pedro Alves <palves@redhat.com>
9019 Jan Kratochvil <jan.kratochvil@redhat.com>
9021 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9023 (EXPECT): Handle READ1 being set.
9024 (all): Depend on EXTRA_RULES.
9025 (check-read1, expect-read1, read1.so, read1): New rules.
9026 * README (Testsuite Parameters): Document the READ1 make variable.
9027 (Race detection): New section.
9028 * configure: Regenerate.
9029 * configure.ac: If build==host==target, and running under a
9030 GNU/glibc system, add read1 to the extra Makefile rules.
9031 (EXTRA_RULES): AC_SUBST it.
9032 * lib/read1.c: New file.
9034 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9036 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9037 the handling of variables declared as a typedef to an array
9038 which a DW_AT_data_location attribute.
9040 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9041 Pedro Alves <palves@redhat.com>
9045 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9048 2014-08-19 Pedro Alves <palves@redhat.com>
9050 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9052 2014-08-19 Yao Qi <yao@codesourcery.com>
9054 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9057 2014-08-18 David Blaikie <dblaikie@gmail.com>
9059 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9061 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9063 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9064 attribute in array range.
9066 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9068 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9070 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9073 * gdb.cp/pr17132.cc: New file.
9074 * gdb.cp/pr17132.exp: New file.
9076 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9078 * gdb.python/py-xmethods.py (A_getarrayind)
9079 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9080 Use 'print' with function call syntax.
9081 (E_method_matcher.match): Fix tab vs space indentation mixup.
9083 2014-08-15 Yao Qi <yao@codesourcery.com>
9085 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9088 2014-08-15 Yao Qi <yao@codesourcery.com>
9090 * gdb.cp/casts.exp: Set print symbol off.
9091 * gdb.cp/class2.exp: Likewise.
9092 * gdb.cp/overload.exp: Likewise.
9093 * gdb.cp/templates.exp: Likewise.
9095 2014-08-11 Doug Evans <dje@google.com>
9097 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9098 (test_load_shlib): Update.
9100 2014-08-09 Yao Qi <yao@codesourcery.com>
9102 * gdb.base/display.exp: Invoke is_address_zero_readable.
9103 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9104 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9105 * gdb.base/hbreak-unmapped.exp: Return if
9106 is_address_zero_readable returns true.
9107 * gdb.base/signest.exp: Likewise.
9108 * gdb.base/signull.exp: Likewise.
9109 * gdb.base/sigbpt.exp: Likewise.
9110 * gdb.guile/scm-disasm.exp: Do the test if
9111 is_address_zero_readable returns false.
9112 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9113 * gdb.python/py-arch.exp: Likewise.
9114 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9115 * lib/gdb.exp (is_address_zero_readable): New proc.
9117 2014-08-09 Yao Qi <yao@codesourcery.com>
9120 * gdb.mi/mi-var-display.exp: Make test messages unique.
9122 2014-08-04 Tom Tromey <tromey@redhat.com>
9124 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9127 2014-08-04 Tom Tromey <tromey@redhat.com>
9129 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9132 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9134 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9135 inner_vla_struct_object_size.
9136 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9139 2014-07-30 Pedro Alves <palves@redhat.com>
9141 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9144 2014-07-29 Yao Qi <yao@codesourcery.com>
9147 * gdb.base/until-nodebug.exp: New.
9149 2014-07-28 Doug Evans <xdje42@gmail.com>
9152 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9153 previously existing parameter, and previously ambiguously spelled
9156 2014-07-28 Will Newton <will.newton@linaro.org>
9158 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9160 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9161 Doug Evans <xdje42@gmail.com>
9164 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9166 2014-07-25 Pedro Alves <palves@redhat.com>
9168 * gdb.threads/signal-command-handle-nopass.c: New file.
9169 * gdb.threads/signal-command-handle-nopass.exp: New file.
9170 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9171 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9172 * gdb.threads/signal-delivered-right-thread.c: New file.
9173 * gdb.threads/signal-delivered-right-thread.exp: New file.
9175 2014-07-25 Pedro Alves <palves@redhat.com>
9177 * gdb.base/double-prompt-target-event-error.exp
9178 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9180 (cancel_pagination_in_target_event): Rework double prompt
9182 * gdb.base/paginate-after-ctrl-c-running.exp
9183 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9185 * gdb.base/paginate-bg-execution.exp
9186 (test_bg_execution_pagination_return)
9187 (test_bg_execution_pagination_cancel): Remove '-notransfer
9189 * gdb.base/paginate-execution-startup.exp
9190 (test_fg_execution_pagination_return)
9191 (test_fg_execution_pagination_cancel): Remove '-notransfer
9193 * gdb.base/paginate-inferior-exit.exp
9194 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9196 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9197 * lib/gdb.exp (pagination_prompt): Run text through
9199 (gdb_test_multiple): Match $pagination_prompt instead of
9201 (string_to_regexp): Move to lib/gdb-utils.exp.
9203 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9205 * gdb.arch/amd64-entry-value-paramref.S: New file.
9206 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9207 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9208 * gdb.arch/amd64-optimout-repeat.S: New file.
9209 * gdb.arch/amd64-optimout-repeat.c: New file.
9210 * gdb.arch/amd64-optimout-repeat.exp: New file.
9212 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9215 * gdb.base/statistics.exp: New file.
9217 2014-07-17 Doug Evans <dje@google.com>
9220 * gdb.base/maint.exp: Update testing of per-command stats.
9222 2014-07-16 Pedro Alves <palves@redhat.com>
9224 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9225 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9226 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9227 (tfile_write_buf): New functions.
9228 (add_memory_block): Rewrite using the above.
9229 (adjust_function_address): New function.
9230 (FUNCTION_ADDRESS): New macro.
9231 (write_basic_trace_file): Remove short_x local, and use
9232 tfile_write_16. Change type of func_addr local to unsigned long
9233 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9234 here. Cast argument of add_memory_block to char pointer.
9235 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9236 (main): Remove parameters.
9237 * gdb.trace/tfile.exp: Remove nowarnings.
9239 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9241 * gdb.base/debug-expr.exp: Test string evaluation with
9242 "debug expression" on.
9244 2014-07-15 Pedro Alves <palves@redhat.com>
9246 * gdb.base/reread.exp: Use clean_restart.
9248 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9250 * gdb.arch/avr-flash-qualifer.c: New.
9251 * gdb.arch/avr-flash-qualifer.exp: New.
9253 2014-07-14 Pedro Alves <palves@redhat.com>
9255 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9256 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9258 2014-07-14 Pedro Alves <palves@redhat.com>
9260 * gdb.base/double-prompt-target-event-error.c: New file.
9261 * gdb.base/double-prompt-target-event-error.exp: New file.
9263 2014-07-14 Pedro Alves <palves@redhat.com>
9266 * gdb.base/paginate-inferior-exit.c: New file.
9267 * gdb.base/paginate-inferior-exit.exp: New file.
9269 2014-07-14 Pedro Alves <palves@redhat.com>
9272 * gdb.base/paginate-bg-execution.c: New file.
9273 * gdb.base/paginate-bg-execution.exp: New file.
9275 2014-07-14 Pedro Alves <palves@redhat.com>
9278 * gdb.base/paginate-execution-startup.c: New file.
9279 * gdb.base/paginate-execution-startup.exp: New file.
9280 * lib/gdb.exp (pagination_prompt): New global.
9281 (default_gdb_spawn): New procedure, factored out from
9283 (default_gdb_start): Adjust to call default_gdb_spawn.
9284 (gdb_spawn): New procedure.
9286 2014-07-14 Pedro Alves <palves@redhat.com>
9288 * lib/gdb.exp (gdb_assert): New procedure.
9289 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9291 2014-07-14 Pedro Alves <palves@redhat.com>
9293 * gdb.base/execution-termios.c: New file.
9294 * gdb.base/execution-termios.exp: New file.
9296 2014-07-14 Tom Tromey <tromey@redhat.com>
9298 * gdb.cp/vla-cxx.cc: New file.
9299 * gdb.cp/vla-cxx.exp: New file.
9301 2014-07-14 Tom Tromey <tromey@redhat.com>
9303 * gdb.reverse/rerun-prec.c: New file.
9304 * gdb.reverse/rerun-prec.exp: New file.
9306 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9307 Maciej W. Rozycki <macro@codesourcery.com>
9309 * lib/gdb-utils.exp: New file.
9310 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9311 inline `gdb_init_command' processing.
9312 (gdb_start_cmd): Likewise.
9313 * lib/mi-support.exp (mi_run_cmd): Likewise.
9314 * README: Document `gdb_init_command' and `gdb_init_commands'.
9316 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9318 Fix false FAIL running under a very long directory name.
9319 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9320 and "set print elements 10000". Twice.
9322 2014-07-11 Yao Qi <yao@codesourcery.com>
9324 * gdb.base/exprs.exp: "set print symbol off".
9326 2014-07-11 Pedro Alves <palves@redhat.com>
9328 * gdb.threads/kill.c: New file.
9329 * gdb.threads/kill.exp: New file.
9331 2014-07-10 Yao Qi <yao@codesourcery.com>
9333 * gdb.trace/tfile.c (write_basic_trace_file)
9334 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9335 address written to trace file.
9337 2014-07-09 Pedro Alves <palves@redhat.com>
9339 * gdb.base/attach-wait-input.exp: New file.
9340 * gdb.base/attach-wait-input.c: New file.
9342 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9344 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9345 setting up test structures.
9346 (main): Call new test function.
9347 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9348 test function, continue into test function and walk test
9351 2014-07-02 Yao Qi <yao@codesourcery.com>
9353 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9354 'bar_start' at the beginning of functions 'foo' and 'bar'
9356 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9357 instead of 'foo' and 'bar'.
9359 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9361 * gdb.btrace/segv.exp: New.
9362 * gdb.btrace/segv.c: New.
9364 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9366 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9369 2014-06-30 Mark Wielaard <mjw@redhat.com>
9371 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9372 vulture, vilify, villar): New volatile array constants.
9373 (vindictive, vegetation): New const volatile array constants.
9374 * gdb.base/volatile.exp: Test volatile and const volatile array
9377 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9379 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9380 target lacks support for awatch, rwatch, or hbreak.
9382 2014-06-27 Yao Qi <yao@codesourcery.com>
9384 * gdb.multi/dummy-frame-restore.exp: New.
9385 * gdb.multi/dummy-frame-restore.c: New.
9387 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9389 * gdb.btrace/gcore.exp: New.
9391 2014-06-23 Pedro Alves <palves@redhat.com>
9393 * gdb.base/watchpoint-reuse-slot.c: New file.
9394 * gdb.base/watchpoint-reuse-slot.exp: New file.
9396 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9398 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9399 progspace's filename in 'info', 'enable' and 'disable' command
9402 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9404 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9405 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9406 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9408 2014-06-20 Gary Benson <gbenson@redhat.com>
9410 * gdb.arch/i386-avx.exp: Fix include file location.
9411 * gdb.arch/i386-sse.exp: Likewise.
9413 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9415 * gdb.dlang/expression.exp: New file.
9417 2014-06-19 Pedro Alves <palves@redhat.com>
9419 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9421 (top level): ... here. Iterate running tests under different
9422 scheduler-locking settings.
9424 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9426 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9427 to DW_FORM_addr and use non-zero addresses.
9429 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9432 * gdb.python/py-xmethods.cc: Add global function call counters and
9433 increment them in their respective functions. Remove "cout"
9435 * gdb.python/py-xmethods.exp: Make tests check the global function
9436 call counters instead of depending on inferior IO.
9438 2014-06-18 Don Breazeal <donb@codesourcery.com>
9440 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9442 (explicit_fork_parent_follow): Deleted procedure.
9443 (explicit_fork_child_follow): Deleted procedure.
9444 (test_follow_fork): New procedure.
9445 (do_fork_tests): Replace calls to deleted procedures with
9446 calls to test_follow_fork and reset GDB for subsequent
9449 2014-06-17 Yao Qi <yao@codesourcery.com>
9451 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9454 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9456 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9457 Initialize ptr and S explicitly.
9458 (skip_type_update_when_not_use_rtti_test): Likewise.
9460 2014-06-16 Keith Seitz <keiths@redhat.com>
9463 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9464 the inferior is started.
9466 2014-06-16 Pedro Alves <palves@redhat.com>
9468 * gdb.base/break-main-file-remove-fail.c: New file.
9469 * gdb.base/break-main-file-remove-fail.exp: New file.
9470 * gdb.base/break-unload-file.exp: Use build_executable instead of
9471 prepare_for_testing.
9472 (test_break): New parameter "initial_load". Handle it.
9473 (top level): Add initial_load cmdline/file axis.
9475 2014-06-12 Tom Tromey <tromey@redhat.com>
9477 * gdb.base/completion.exp: Don't use directory name in test.
9479 2014-06-09 Gary Benson <gbenson@redhat.com>
9481 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9482 separate the always-available ANSI-standard signals from the
9483 signals that require checking.
9485 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9489 2014-06-07 Keith Seitz <keiths@redhat.com>
9493 * gdb.cp/var-tag.cc: New file.
9494 * gdb.cp/var-tag.exp: New file.
9495 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9496 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9497 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9498 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9500 2014-06-06 Doug Evans <xdje42@gmail.com>
9502 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9504 2014-06-06 Pedro Alves <palves@redhat.com>
9506 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9507 in target debug output instead of looking at RSP packets,
9508 disabling the test on any target that uses hardware stepping.
9511 2014-06-06 Pedro Alves <palves@redhat.com>
9513 * gdb.base/break-unload-file.exp: Fix typo.
9515 2014-06-06 Yao Qi <yao@codesourcery.com>
9517 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9518 from "jit_function" to "^jit_function".
9520 2014-06-06 Yao Qi <yao@codesourcery.com>
9522 * gdb.base/async.c (foo): Add one statement.
9523 * gdb.base/async.exp: Get the next instruction address and
9524 match the output of "nexti" by instruction address. Match
9525 the hex address in the output of "finish".
9527 2014-06-06 Gary Benson <gbenson@redhat.com>
9529 * gdb.base/call-signals.c: Remove preprocessor conditionals
9530 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9531 SIGSEGV and SIGTERM.
9532 * gdb.base/sigall.c: Likewise.
9533 * gdb.base/unwindonsignal.c: Likewise.
9534 * gdb.reverse/sigall-reverse.c: Likewise.
9536 2014-06-06 Yao Qi <yao@codesourcery.com>
9538 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9539 readable, skip the test.
9541 2014-06-06 Yao Qi <yao@codesourcery.com>
9543 * gdb.threads/staticthreads.c (thread_function): Move the line
9544 setting breakpoint on forward.
9545 * gdb.threads/staticthreads.exp: Update comments.
9547 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9549 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9550 "history-append! type error".
9552 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9554 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9555 erroneous dprintf expected input.
9557 2014-06-04 Doug Evans <xdje42@gmail.com>
9559 * gdb.guile/scm-generics.exp: Delete.
9561 2014-06-04 Doug Evans <xdje42@gmail.com>
9563 * gdb.guile/scm-breakpoint.exp: Update.
9564 Add tests for breakpoint registration.
9566 2014-06-04 Tom Tromey <tromey@redhat.com>
9568 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9570 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9571 inner_vla_struct, vla_union types. Initialize objects of those
9572 types and compute their sizes.
9574 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9575 Hui Zhu <hui@codesourcery.com>
9577 * gdb.base/fileio.exp: Add test for shell not available as well as
9579 * gdb.base/fileio.c (test_system): Check for shell twice.
9581 2014-06-04 Yao Qi <yao@codesourcery.com>
9583 * gdb.base/auto-connect-native-target.exp: Remove redundant
9584 space from the regexp pattern.
9586 2014-06-04 Yao Qi <yao@codesourcery.com>
9588 * gdb.base/default.exp: Replace "child" with "native" in
9591 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9593 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9594 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9595 * gdb.python/py-xmethods.py: Python script supporting the
9596 new testcase and tests.
9598 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9599 Pedro Alves <palves@redhat.com>
9601 PR breakpoints/17000
9602 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9603 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9605 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9607 * gdb.base/subst.exp: Add tests to verify partial path matching
9610 2014-06-03 Pedro Alves <palves@redhat.com>
9612 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9613 target that doesn't use software single-stepping.
9615 2014-06-03 Pedro Alves <palves@redhat.com>
9617 PR breakpoints/17000
9618 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9619 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9621 2014-06-02 Doug Evans <xdje42@gmail.com>
9623 * gdb.guile/scm-parameter.exp: New file.
9625 2014-06-02 Doug Evans <xdje42@gmail.com>
9627 * gdb.guile/scm-cmd.c: New file.
9628 * gdb.guile/scm-cmd.exp: New file.
9630 2014-06-02 Doug Evans <xdje42@gmail.com>
9632 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9633 pretty-printer lookup.
9634 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9635 (make-pp_s-printer): Call it.
9636 (make-pretty-printer-from-dict): New function.
9637 (lookup-pretty-printer-maker-from-dict): New function.
9638 (*pretty-printer*): Simplify.
9639 (make-objfile-pp_s-printer): New function.
9640 (install-objfile-pretty-printers!): New function.
9641 (make-progspace-pp_s-printer): New function.
9642 (install-progspace-pretty-printers!): New function.
9643 * gdb.guile/scm-progspace.c: New file.
9644 * gdb.guile/scm-progspace.exp: New file.
9646 2014-06-02 Pedro Alves <palves@redhat.com>
9648 * gdb.base/dprintf-bp-same-addr.c: New file.
9649 * gdb.base/dprintf-bp-same-addr.exp: New file.
9651 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9653 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9654 * gdb.arch/powerpc-power.s: Likewise.
9656 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9658 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9660 2014-06-01 Yao Qi <yao@codesourcery.com>
9662 * gdb.base/watchpoint.exp (test_watch_location): Check null
9663 pointer can be dereferenced. If not, do the test, otherwise
9666 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9668 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9670 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9672 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9674 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9675 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9676 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9677 * gdb.arch/amd64-invalid-stack-top.c: New file.
9678 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9680 2014-05-30 Pedro Alves <palves@redhat.com>
9682 PR breakpoints/17000
9683 * gdb.base/sss-bp-on-user-bp.c: New file.
9684 * gdb.base/sss-bp-on-user-bp.exp: New file.
9686 2014-05-30 David Blaikie <dblaikie@gmail.com>
9688 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9689 gnu_inline semantics via attribute.
9690 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9691 source explicitly specifies the required semantics.
9693 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9695 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9697 2014-05-29 Pedro Alves <palves@redhat.com>
9698 Tom Tromey <tromey@redhat.com>
9700 * gdb.base/async-shell.exp: Don't enable target-async.
9701 * gdb.base/async.exp
9702 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9704 (top level): Don't test with "target-async".
9705 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9706 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9707 * gdb.base/inferior-died.exp: Don't enable target-async.
9708 * gdb.base/interrupt-noterm.exp: Likewise.
9709 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9710 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9711 * gdb.mi/mi-nonstop.exp: Likewise.
9712 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9713 * gdb.mi/mi-nsintrall.exp: Likewise.
9714 * gdb.mi/mi-nsmoribund.exp: Likewise.
9715 * gdb.mi/mi-nsthrexec.exp: Likewise.
9716 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9717 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9718 * gdb.python/py-evsignal.exp: Don't enable target-async.
9719 * gdb.python/py-evthreads.exp: Likewise.
9720 * gdb.python/py-prompt.exp: Likewise.
9721 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9722 * gdb.server/solib-list.exp: Don't enable target-async.
9723 * gdb.threads/thread-specific-bp.exp: Likewise.
9724 * lib/mi-support.exp: Adjust to use mi-async.
9726 2014-05-29 Pedro Alves <palves@redhat.com>
9729 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9730 reason, even in sync mode.
9732 2014-05-29 Pedro Alves <palves@redhat.com>
9733 Hui Zhu <hui@codesourcery.com>
9736 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9737 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9738 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9739 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9741 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9743 * config/monitor.exp (gdb_target_monitor): Replace use of
9744 "set remotebaud" by "set serial baud".
9746 2014-05-26 Andy Wingo <wingo@igalia.com>
9748 * gdb.guile/scm-breakpoint.exp:
9749 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9750 properties instead of gdb-object-properties.
9752 2014-05-26 Yao Qi <yao@codesourcery.com>
9754 * gdb.server/no-thread-db.exp: Specify source file name
9755 explicitly when setting a breakpoint.
9757 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9759 * gdb.btrace/vdso.c: New.
9760 * gdb.btrace/vdso.exp: New.
9762 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9764 * gdb.base/gcore.exp (capture_command_output): Move ...
9765 * lib/gdb.exp (capture_command_output): ... here.
9767 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9769 * gdb.btrace/data.exp: Test memory access during btrace replay.
9771 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9773 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9775 2014-05-21 Pedro Alves <palves@redhat.com>
9778 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9779 (top level): Test that output related to execution commands is
9780 sent to the console with CLI commands, but not with MI commands.
9781 Test that breakpoint events are always mirrored to the console.
9782 Also expect the new source line to be output after a "next" in
9783 async mode too. Make it a pass/fail test.
9784 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9786 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9788 2014-05-21 Pedro Alves <palves@redhat.com>
9790 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9791 Use them to test variations of "list" after reaching a breakpoint.
9792 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9793 Test "list" with listsize 10 after reaching a breakpoint.
9794 * gdb.python/python.exp (decode_line current location line
9795 number): Adjust expected line number.
9797 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9799 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9800 behavior for $args, pass it directly to "run".
9802 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9804 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9807 2014-05-21 Pedro Alves <palves@redhat.com>
9809 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9810 auto-connect-native-target off".
9811 * gdb.base/auto-connect-native-target.c: New file.
9812 * gdb.base/auto-connect-native-target.exp: New file.
9814 2014-05-21 Pedro Alves <palves@redhat.com>
9816 * gdb.base/default.exp: Test "target native" instead of "target
9819 2014-05-21 Mark Wielaard <mjw@redhat.com>
9821 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9823 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9825 Fix TLS access for -static -pthread.
9826 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9827 <HAVE_TLS> (thread_function, main): Initialize it.
9828 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9830 <$have_tls != "">: Check TLSVAR.
9832 2014-05-21 Pedro Alves <palves@redhat.com>
9834 * gdb.base/dcache-line-read-error.c: New.
9835 * gdb.base/dcache-line-read-error.exp: New.
9837 2014-05-20 Pedro Alves <palves@redhat.com>
9839 * gdb.base/compare-sections.c: New file.
9840 * gdb.base/compare-sections.exp: New file.
9842 2014-05-20 Pedro Alves <palves@redhat.com>
9844 * gdb.base/break-idempotent.c: New file.
9845 * gdb.base/break-idempotent.exp: New file.
9847 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9849 * gdb.btrace/nohist.exp: New.
9851 2014-05-20 Yao Qi <yao@codesourcery.com>
9853 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9854 gdb.reverse directory and gdb_reverse_timeout exists in board
9856 * README: Document gdb_reverse_timeout.
9858 2014-05-20 Yao Qi <yao@codesourcery.com>
9860 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9861 'test_file_name'. Treat args as a string instead of a list.
9862 (gdb_init): Rename argument 'args' by 'test_file_name'.
9864 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9866 * gdb.arch/powerpc-power.exp: New file.
9867 * gdb.arch/powerpc-power.s: New file.
9869 2014-05-16 Doug Evans <dje@google.com>
9871 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9872 * gdb.base/completion.exp: Check that all expected files exist
9873 before doing file completion.
9875 2014-05-16 Doug Evans <dje@google.com>
9877 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9879 (do_syscall_tests_without_xml): Update.
9881 2014-05-16 Pedro Alves <palves@redhat.com>
9883 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9884 instead of "unknown output after running".
9886 2014-05-16 Yao Qi <yao@codesourcery.com>
9888 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9889 file1.txt from host at the end.
9890 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9892 2014-05-15 Doug Evans <dje@google.com>
9894 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9895 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9896 loading file. Add test for TU lookup.
9898 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9900 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9901 calling "-exec-arguments" or "set args" before running the
9904 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9906 * lib/mi-support.exp (mi_expect_stop): Expect message for
9907 inferiors that exit with non-zero exit code.
9909 2014-05-14 Yao Qi <yao@codesourcery.com>
9911 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9912 match absolute path on remote host.
9913 (test_file_list_exec_source_files): Remove "/" from the
9916 2014-05-14 Yao Qi <yao@codesourcery.com>
9918 * boards/local-remote-host-notty.exp (${board}_file): New
9921 2014-05-07 Kyle McMartin <kyle@redhat.com>
9923 Pushed by Joel Brobecker <brobecker@adacore.com>.
9924 * gdb.arch/aarch64-atomic-inst.c: New file.
9925 * gdb.arch/aarch64-atomic-inst.exp: New file.
9927 2014-05-07 Yao Qi <yao@codesourcery.com>
9929 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9930 in current context" too.
9932 2014-05-05 Keith Seitz <keiths@redhat.com>
9934 * gdb.linespec/ls-dollar.exp: Add test for linespec
9935 file:convenience_variable.
9937 2014-05-05 Yao Qi <yao@codesourcery.com>
9939 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9940 traceframes into tfile and ctf trace files. Read data from
9941 trace file and test collected data.
9942 (gdb_collect_locals_test): Likewise.
9943 (gdb_unavailable_registers_test): Likewise.
9944 (gdb_unavailable_floats): Likewise.
9945 (gdb_collect_globals_test): Likewise.
9946 (top-level): Append "ctf" to trace_file_targets if GDB
9949 2014-05-05 Yao Qi <yao@codesourcery.com>
9951 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9953 (gdb_collect_args_test_1): ... it. New proc.
9954 (gdb_collect_locals_test): Move some code to ...
9955 (gdb_collect_locals_test_1): ... it. New proc.
9956 (gdb_unavailable_registers_test): Move some code to ...
9957 (gdb_unavailable_registers_test_1): ... it. New proc.
9958 (gdb_unavailable_floats): Move some code to ...
9959 (gdb_unavailable_floats_1): ... it. New proc.
9961 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9963 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9964 probes to test for bitness recognition.
9965 * gdb.arch/amd64-stap-optional-prefix.exp
9966 (test_probe_value_without_reg): New procedure.
9967 Add code to test for different kinds of bitness.
9969 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9971 PR breakpoints/16889
9972 * gdb.arch/amd64-stap-optional-prefix.S: New file.
9973 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9975 2014-05-01 Pedro Alves <palves@redhat.com>
9977 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
9978 gdb_file_cmd if no file is specified.
9979 * boards/native-extended-gdbserver.exp (gdb_load): Use the
9980 last_loaded_file to set the remote exec-file.
9982 2014-05-01 Pedro Alves <palves@redhat.com>
9984 * boards/local-remote-host.exp: New file.
9986 2014-05-01 Pedro Alves <palves@redhat.com>
9988 * boards/local-remote-host.exp: Rename to ...
9989 * boards/local-remote-host-notty.exp: ... this.
9991 2014-04-28 Joel Brobecker <brobecker@adacore.com>
9993 * gdb.ada/dyn_arrayidx: New testcase.
9995 2014-04-26 Yao Qi <yao@codesourcery.com>
9997 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
9998 and compute the length of function main. Save it in
10000 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10001 (top-level): Use gdb_compile to compile objects into
10002 executable and restart GDB. Remove invocation to
10003 prepare_for_testing.
10005 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10006 Pedro Alves <palves@redhat.com>
10009 * gdb.multi/multi-attach.c: New file.
10010 * gdb.multi/multi-attach.exp: New file.
10012 2014-04-25 Pedro Alves <palves@redhat.com>
10014 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10016 (top level): Test that "set remote conditional-breakpoints-packet
10017 off" works as intended.
10018 * gdb.base/dprintf.exp: Test that "set remote
10019 breakpoint-commands-packet off" works as intended.
10020 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10022 (top level): Call it.
10023 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10024 remote fast-tracepoints-packet off" works as intended.
10025 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10026 * lib/gdb.exp (gdb_is_target_remote): ... here.
10028 2014-04-24 David Blaikie <dblaikie@gmail.com>
10030 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10031 ensure clang would not discard them.
10032 * gdb.base/gdbvars.c: Ditto.
10033 * gdb.base/memattr.c: Ditto.
10034 * gdb.base/whatis.c: Ditto.
10035 * gdb.python/py-prettyprint.c: Ditto.
10036 * gdb.trace/actions.c: Ditto.
10037 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10038 ensure clang would not discard it.
10040 2014-04-24 David Blaikie <dblaikie@gmail.com>
10042 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10043 clang to emit the full definition of type required by the test
10044 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10046 2014-04-24 David Blaikie <dblaikie@gmail.com>
10048 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10049 coax Clang into emitting the definition of the type.
10050 * gdb.cp/pr10728-x.h (y): Ditto.
10051 * gdb.cp/pr10728-y.cc (y): Ditto.
10053 2014-04-24 David Blaikie <dblaikie@gmail.com>
10055 * gdb.base/label.exp: XFAIL label related tests under Clang.
10056 * gdb.cp/cplabel.exp: Ditto.
10057 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10058 under Clang those using labels.
10060 2014-04-25 Yao Qi <yao@codesourcery.com>
10062 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10064 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10065 partial_label and double_label.
10067 2014-04-24 David Blaikie <dblaikie@gmail.com>
10069 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10071 2014-04-24 David Blaikie <dblaikie@gmail.com>
10073 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10074 of the function to work across GCC and Clang.
10075 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10076 pointer types (const void ** const V void **).
10078 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10079 Walfred Tedeschi <walfred.tedeschi@intel.com>
10081 * Makefile.in (EXECUTABLES): Added i386-avx512.
10082 * gdb.arch/i386-avx512.c: New file.
10083 * gdb.arch/i386-avx512.exp: Likewise.
10085 2014-04-23 Keith Seitz <keiths@redhat.com>
10087 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10088 (mi_make_breakpoint_table): New procedure.
10089 (mi_create_breakpoint): Use mi_make_breakpoint
10090 and return the result.
10091 (mi_make_breakpoint): New procedure.
10092 (mi_build_kv_pairs): New procedure.
10094 * gdb.mi/mi-break.exp: Remove unused globals,
10095 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10096 All callers updated.
10097 * gdb.mi/mi-dprintf.exp: Use variable to track command
10099 Update all callers of mi_create_breakpoint and use
10100 mi_make_breakpoint_table.
10101 Remove any unused global variables.
10102 * gdb.mi/mi-nonstop.exp: Likewise.
10103 * gdb.mi/mi-nsintrall.exp: Likewise.
10104 * gdb.mi/mi-nsmoribund.exp: Likewise.
10105 * gdb.mi/mi-nsthrexec.exp: Likewise.
10106 * gdb.mi/mi-reverse.exp: Likewise.
10107 * gdb.mi/mi-simplerun.exp: Likewise.
10108 * gdb.mi/mi-stepn.exp: Likewise.
10109 * gdb.mi/mi-syn-frame.exp: Likewise.
10110 * gdb.mi/mi-until.exp: Likewise.
10111 * gdb.mi/mi-var-cp.exp: Likewise.
10112 * gdb.mi/mi-var-display.exp: Likewise.
10113 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10114 * gdb.mi/mi2-var-child.exp: Likewise.
10115 * gdb.mi/mi-vla-c99.exp: Likewise.
10116 * lib/mi-support.exp: Likewise.
10118 From Ian Lance Taylor <iant@cygnus.com>:
10119 * lib/gdb.exp (parse_args): New procedure.
10121 2014-04-23 Pedro Alves <palves@redhat.com>
10123 * gdb.base/break-unload-file.c: New file.
10124 * gdb.base/break-unload-file.exp: New file.
10125 * gdb.base/sym-file-lib.c (baz): New function.
10126 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10128 (load): Store the segment's mapped size.
10129 (unload): New function.
10130 (unload_shlib): New function.
10131 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10132 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10133 set a breakpoint at baz, and call it.
10134 * gdb.base/sym-file.exp: New tests for stale breakpoint
10137 2014-04-23 Pedro Alves <palves@redhat.com>
10139 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10140 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10141 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10142 * gdb.base/hbreak-unmapped.c: New file.
10143 * gdb.base/hbreak-unmapped.exp: New file.
10144 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10145 * lib/gdb.exp (gdb_is_target_remote): ... here.
10147 2014-04-22 Pedro Alves <palves@redhat.com>
10149 * gdb.base/consecutive-step-over.c: New file.
10150 * gdb.base/consecutive-step-over.exp: New file.
10152 2014-04-22 Pedro Alves <palves@redhat.com>
10154 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10155 instead of send_gdb/gdb_expect.
10157 2014-04-22 Yao Qi <yao@codesourcery.com>
10159 * lib/trace-support.exp (generate_tracefile): New procedure.
10160 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10162 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10163 if generate_tracefile returns 1.
10165 2014-04-18 Tom Tromey <palves@redhat.com>
10166 Pedro alves <tromey@redhat.com>
10169 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10170 with a backtrace limit.
10171 * gdb.python/py-frame-inline.exp: Test running to an inline
10172 function with a backtrace limit, and printing the newest frame.
10173 * gdb.python/py-frame-inline.c (main): Call f.
10175 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10177 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10179 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10181 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10182 Drop prefix from unsupported source file path.
10184 2014-04-17 Yao Qi <yao@codesourcery.com>
10186 * lib/gdb.exp (with_target_charset): New proc.
10187 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10188 with_target_charset.
10189 (test_print_strings): Likewise.
10190 (test_repeat_bytes): Likewise.
10191 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10194 2014-04-16 Keith Seitz <keiths@redhat.com>
10197 * gdb.dwarf2/corrupt.c: New file.
10198 * gdb.dwarf2/corrupt.exp: New file.
10200 2014-04-16 Keith Seitz <keiths@redhat.com>
10203 * gdb.cp/namelessclass.cc: New file.
10204 * gdb.cp/namelessclass.exp: New file.
10205 * gdb.cp/namelessclass.S: New file.
10207 2014-04-16 Doug Evans <dje@google.com>
10209 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10211 (gdbserver_default_get_comm_port): New function.
10212 (gdbserver_start): Check if board file provided
10213 "gdbserver,get_comm_port" and use it if so.
10214 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10215 (gdb,socketport): Set to "stdio".
10216 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10217 (stdio_gdbserver_template): Delete.
10218 (${board}_get_remote_address): Update.
10219 (${board}_build_remote_cmd): Delete.
10220 (${board}_get_comm_port): New function.
10221 (${board}_spawn): Update.
10222 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10224 (${board}_get_remote_address): Update.
10225 (${board}_get_comm_port): New function.
10227 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10229 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10230 appearing in any order.
10232 2014-04-15 Doug Evans <dje@google.com>
10234 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10235 uninitialized value of "description".
10237 2014-04-15 Keith Seitz <keiths@redhat.com>
10239 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10240 Remove unused globals.
10241 (test_running_the_program): Likewise.
10242 (test_controlled_execution): Likewise.
10243 (test_controlling_breakpoints): Likewise.
10244 (test_program_termination): Likewise.
10246 2014-04-15 Keith Seitz <keiths@redhat.com>
10248 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10250 (test_rbreak_creation_and_listing): Likewise.
10251 (test_ignore_count): Likewise.
10252 (test_error): Likewise.
10254 2014-04-15 Pedro Alves <palves@redhat.com>
10256 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10257 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10259 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10260 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10261 to sym-file-loader.c.
10262 (struct library): Forward declare.
10263 (load_shlib, lookup_function): Change prototypes.
10264 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10265 (translate_offset): Remove declarations.
10266 (get_text_addr): New declaration.
10267 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10268 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10270 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10271 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10272 here from sym-file-loader.h.
10273 (struct library): New structure.
10274 (load_shlib, lookup_function): Change prototypes and adjust to
10275 work with a struct library.
10276 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10277 (translate_offset): Make static.
10278 (get_text_addr): New function.
10279 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10281 2014-04-15 Pedro Alves <palves@redhat.com>
10283 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10285 2014-04-15 Pedro Alves <palves@redhat.com>
10287 * gdb.base/sym-file-loader.c: Include <limits.h>.
10288 (SELF_LINK): New define.
10289 (get_origin): New function.
10290 (load_shlib): Use it.
10291 * gdb.base/sym-file.exp: Don't early return if the target is
10292 remote. Use runto_main, and issue fail is that fails. Use
10294 (shlib_name): Delete.
10295 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10297 2014-04-15 Pedro Alves <palves@redhat.com>
10299 * gdb.base/sym-file.exp: Remove regex characters from test
10300 message. Don't refer to breakpoint numbers in test messages.
10302 2014-04-14 Keith Seitz <keiths@redhat.com>
10305 * gdb.cp/var-tag.cc: New file.
10306 * gdb.cp/var-tag.exp: New file.
10307 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10308 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10309 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10310 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10312 2014-04-14 Tom Tromey <tromey@redhat.com>
10314 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10315 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10317 * gdb.cp/enum-class.exp: New file.
10318 * gdb.cp/enum-class.cc: New file.
10320 2014-04-14 Tom Tromey <tromey@redhat.com>
10322 * gdb.dwarf2/enum-type.exp: New file.
10324 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10326 * gdb.mi/mi-vla-c99.exp: New file.
10327 * gdb.mi/vla.c: New file.
10329 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10331 * gdb.base/vla-datatypes.c: New file.
10332 * gdb.base/vla-datatypes.exp: New file.
10334 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10336 * gdb.base/vla-ptr.c: New file.
10337 * gdb.base/vla-ptr.exp: New file.
10339 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10341 * gdb.dwarf2/count.exp: New file.
10343 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10345 * gdb.base/vla-sideeffect.c: New file.
10346 * gdb.base/vla-sideeffect.exp: New file.
10348 2014-04-14 David Blaikie <dblaikie@gmail.com>
10350 * gdb.mi/non-stop.c: Add return value for non-void function return
10352 * gdb.threads/staticthreads.c: Ditto.
10354 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10355 Doug Evans <xdje42@gmail.com>
10357 * gdb.guile/scm-value.c: Improve test case.
10358 * gdb.guile/scm-value.exp: Add new test.
10360 2014-04-11 David Blaikie <dblaikie@gmail.com>
10362 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10363 override Clang's default.
10365 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10367 Revert the following changes (regressions):
10369 * gdb.base/vla-sideeffect.c: New file.
10370 * gdb.base/vla-sideeffect.exp: New file.
10372 * gdb.dwarf2/count.exp: New file.
10374 * gdb.base/vla-multi.c: New file.
10375 * gdb.base/vla-multi.exp: New file.
10377 * gdb.base/vla-ptr.c: New file.
10378 * gdb.base/vla-ptr.exp: New file.
10380 * gdb.base/vla-datatypes.c: New file.
10381 * gdb.base/vla-datatypes.exp: New file.
10383 * gdb.mi/mi-vla-c99.exp: New file.
10384 * gdb.mi/vla.c: New file.
10386 2014-04-11 Keith Seitz <keiths@redhat.com>
10389 * gdb.cp/cpsizeof.exp: New file.
10390 * gdb.cp/cpsizeof.cc: New file.
10392 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10394 * gdb.mi/mi-vla-c99.exp: New file.
10395 * gdb.mi/vla.c: New file.
10397 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10399 * gdb.base/vla-datatypes.c: New file.
10400 * gdb.base/vla-datatypes.exp: New file.
10402 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10404 * gdb.base/vla-ptr.c: New file.
10405 * gdb.base/vla-ptr.exp: New file.
10407 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10409 * gdb.base/vla-multi.c: New file.
10410 * gdb.base/vla-multi.exp: New file.
10412 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10414 * gdb.dwarf2/count.exp: New file.
10416 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10418 * gdb.base/vla-sideeffect.c: New file.
10419 * gdb.base/vla-sideeffect.exp: New file.
10421 2014-04-11 Yao Qi <yao@codesourcery.com>
10423 * gdb.base/completion.exp: Check file exists before running tests
10424 on file completion.
10426 2014-04-10 Pedro Alves <palves@redhat.com>
10428 * gdb.base/cond-eval-mode.c: New file.
10429 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10430 prepare_for_testing to build the new file. Check result of
10432 (test_break, test_watch): New procedures.
10433 (top level): Use them.
10435 2014-04-08 Pierre Muller <muller@sourceware.org>
10437 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10438 Ctrl-V use for mingw hosts.
10440 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10442 * gdb.python/py-value.c: Improve test case.
10443 * gdb.python/py-value.exp: Add new test.
10445 2014-04-07 David Blaikie <dblaikie@gmail.com>
10447 * lib/compiler.c: Identify the clang compiler.
10448 * lib/compiler.cc: Ditto.
10450 2014-04-03 Yao Qi <yao@codesourcery.com>
10452 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10454 2014-04-01 Anton Blanchard <anton@samba.org>
10456 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10459 2014-04-01 Anton Blanchard <anton@samba.org>
10461 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10462 prepare_for_testing.
10464 2014-04-01 Anton Blanchard <anton@samba.org>
10466 * gdb.arch/ppc64-atomic-inst.c: Remove.
10467 * gdb.arch/ppc64-atomic-inst.S: New file.
10468 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10470 2014-03-31 Doug Evans <dje@google.com>
10472 * gdb.base/print-symbol-loading-lib.c: New file.
10473 * gdb.base/print-symbol-loading-main.c: New file.
10474 * gdb.base/print-symbol-loading.exp: New file.
10476 2014-03-31 Yao Qi <yao@codesourcery.com>
10478 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10480 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10482 * gdb.ada/mi_dyn_arr: New testcase.
10484 2014-03-27 Doug Evans <dje@google.com>
10486 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10488 2014-03-27 Yao Qi <yao@codesourcery.com>
10490 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10491 if target is nios2-*-*.
10493 2014-03-26 Yao Qi <yao@codesourcery.com>
10495 * lib/gdb.exp (readline_is_used): New proc.
10496 * gdb.base/completion.exp: Move tests on command complete up.
10497 Skip the rest of tests if readline is not used.
10498 * gdb.ada/complete.exp: Skp the test if readline is not
10500 * gdb.base/filesym.exp: Likewise.
10501 * gdb.base/macscp.exp: Likewise.
10502 * gdb.base/readline-ask.exp: Likewise.
10503 * gdb.base/readline.exp: Likewise.
10504 * gdb.python/py-cmd.exp: Likewise.
10505 * gdb.trace/tfile.exp: Likewise.
10507 2014-03-26 Yao Qi <yao@codesourcery.com>
10509 * gdb.base/macscp.exp: Fix code format issues.
10511 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10513 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10514 * gdb.asm/powerpc64le.inc: New file.
10516 2014-03-25 Pedro Alves <palves@redhat.com>
10517 Doug Evans <dje@google.com>
10519 * gdb.base/source-execution.c: New file.
10520 * gdb.base/source-execution.exp: New file.
10521 * gdb.base/source-execution.gdb: New file.
10523 2014-03-24 Doug Evans <dje@google.com>
10525 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10528 2014-03-24 Hui Zhu <hui@codesourcery.com>
10529 Pedro Alves <palves@redhat.com>
10531 PR breakpoints/16101
10532 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10533 test pass/fail messages. Detect missing support for dprintf when
10534 breakpoints are actually inserted.
10535 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10536 breakpoints are actually inserted.
10537 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10540 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10542 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10544 2014-03-22 Doug Evans <xdje42@gmail.com>
10546 * gdb.python/python.exp (python not supported): Verify multi-line
10547 python command issues an error.
10548 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10549 guile command issues an error.
10551 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10553 * gdb.threads/thread-specific.exp: Handle the lack of usable
10554 $this_breakpoint and $this_thread.
10556 2014-03-21 Hui Zhu <hui@codesourcery.com>
10558 * gdb.base/attach.exp (do_command_attach_tests): New.
10560 2014-03-20 Tom Tromey <tromey@redhat.com>
10561 Pedro Alves <palves@redhat.com>
10564 * gdb.base/condbreak-call-false.c: New file.
10565 * gdb.base/condbreak-call-false.exp: New file.
10567 2014-03-20 Pedro Alves <palves@redhat.com>
10569 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10571 (block_signals, unblock_signals): Delete.
10572 (child_function_2, main): Remove references to deleted variable
10575 2014-03-20 Pedro Alves <palves@redhat.com>
10577 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10578 Use pthread_kill to signal thread 2.
10579 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10580 Adjust to make the test send itself a signal rather than using the
10581 host's "kill" command.
10583 2014-03-20 Pedro Alves <palves@redhat.com>
10585 * gdb.threads/multiple-step-overs.c: New file.
10586 * gdb.threads/multiple-step-overs.exp: New file.
10587 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10588 Adjust expected infrun debug output.
10590 2014-03-20 Pedro Alves <palves@redhat.com>
10592 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10593 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10595 2014-03-20 Pedro Alves <palves@redhat.com>
10597 PR breakpoints/7143
10598 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10599 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10600 of gdb_test_multiple.
10601 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10602 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10604 2014-03-20 Pedro Alves <palves@redhat.com>
10606 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10607 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10609 2014-03-19 Pedro Alves <palves@redhat.com>
10611 * gdb.base/async.exp: Remove early return.
10613 2014-03-19 Pedro Alves <palves@redhat.com>
10615 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10617 2014-03-19 Pedro Alves <palves@redhat.com>
10619 * gdb.base/async.exp (test_background): Expect \r\n after
10620 "completed." in the fail pattern.
10622 2014-03-19 Pedro Alves <palves@redhat.com>
10624 * gdb.base/async.exp (test_background): New procedure.
10625 Use it for all background execution command tests.
10627 2014-03-19 Pedro Alves <palves@redhat.com>
10629 * gdb.base/async.exp: Use prepare_for_testing.
10631 2014-03-19 Pedro Alves <palves@redhat.com>
10633 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10636 2014-03-19 Pedro Alves <palves@redhat.com>
10638 * gdb.base/async.c (main): Add "jump here" and "until here" line
10640 * gdb.base/async.exp (jump_here): New global.
10641 (jump& test): Use it.
10642 (until_here): New global.
10643 (until& test): Use it.
10645 2014-03-19 Pedro Alves <palves@redhat.com>
10647 * gdb.base/async.exp: Don't frob gdb_protocol.
10649 2014-03-18 Doug Evans <xdje42@gmail.com>
10651 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10652 Fix spelling of exec-done-display.
10654 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10657 * gdb.base/gdb-sigterm.c: New file.
10658 * gdb.base/gdb-sigterm.exp: New file.
10660 2014-03-18 Pedro Alves <palves@redhat.com>
10663 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10664 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10667 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10669 * gdb.ada/pckd_arr_ren: New testcase.
10671 2014-03-13 Doug Evans <xdje42@gmail.com>
10674 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10675 collect after discarding symbols.
10677 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10678 Doug Evans <xdje42@gmail.com>
10680 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10681 to history survives a gc.
10683 2014-03-13 Pedro Alves <palves@redhat.com>
10685 * gdb.base/default.exp: Don't test "target procfs".
10687 2014-03-13 Pedro Alves <palves@redhat.com>
10689 * gdb.base/default.exp: Update "target child" and "target procfs"
10690 tests to not expect "Unix".
10692 2014-03-12 Tom Tromey <tromey@redhat.com>
10694 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10695 New procs. Add target-async tests.
10696 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10697 Add target-async tests.
10699 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10701 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10702 'func_start' and 'func_end' for the beginning and end of the
10703 function code, respectively.
10704 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10705 'func_end' instead of 'func' and 'main'.
10707 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10709 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10710 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10711 generate the debug info assembler source.
10713 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10715 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10716 * gdb.dwarf2/arr-subrange.exp: Likewise.
10717 * gdb.dwarf2/dwz.exp: Likewise.
10718 * gdb.dwarf2/method-ptr.exp: Likewise.
10719 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10720 * gdb.dwarf2/subrange.exp: Likewise.
10721 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10722 * gdb.dwarf2/implptrpiece.exp: Likewise.
10723 * gdb.dwarf2/nostaticblock.exp: Likewise.
10725 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10727 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10728 directory to absolute path name arguments.
10730 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10732 * gdb.ada/tagged_access: New testcase.
10734 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10736 * gdb.btrace/data.exp: Update expected output.
10738 2014-03-06 Yao Qi <yao@codesourcery.com>
10740 * gdb.trace/pr16508.exp: New file.
10742 2014-03-05 Pedro Alves <palves@redhat.com>
10745 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10747 (top level): Adjust to use it. Add tests that exercise breakpoint
10748 interaction with the code-cache.
10750 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10752 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10753 test for 'history-append!'.
10755 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10757 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10758 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10759 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10760 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10761 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10762 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10764 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10766 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10767 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10768 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10770 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10772 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10774 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10776 * gdb.dwarf2/arr-stride.c: New file.
10777 * gdb.dwarf2/arr-stride.exp: New file.
10779 2014-02-26 Pedro Alves <palves@redhat.com>
10781 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10782 that won't ever trigger. Make sure that GDB reports the correct
10783 breakpoint that caused the stop.
10785 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10788 * gdb.base/auto-load-script: New file.
10789 * gdb.base/auto-load.c: New file.
10790 * gdb.base/auto-load.exp: New file.
10793 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10795 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10797 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10798 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10800 2014-02-24 Doug Evans <dje@google.com>
10802 * lib/gdb.exp (run_on_host): Log error output if program fails.
10804 2014-02-21 Pedro Alves <palves@redhat.com>
10806 * gdb.threads/step-after-sr-lock.c: Rename to ...
10807 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10808 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10809 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10812 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10815 * gdb.arch/amd64-stap-special-operands.exp: New file.
10816 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10817 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10818 * gdb.arch/amd64-stap-triplet.S: Likewise.
10819 * gdb.arch/amd64-stap-triplet.c: Likewise.
10821 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10823 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10824 in .section pseudo-op.
10826 2014-02-20 lin zuojian <manjian2006@gmail.com>
10827 Joel Brobecker <brobecker@adacore.com>
10828 Doug Evans <xdje42@gmail.com>
10831 * gdb.dwarf2/dw2-icycle.S: New file.
10832 * gdb.dwarf2/dw2-icycle.c: New file.
10833 * gdb.dwarf2/dw2-icycle.exp: New file.
10835 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10837 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10838 operations on gdb.Value objects.
10839 * gdb.python/py-value-cc.exp: Add new test to test operations on
10842 2014-02-18 Doug Evans <dje@google.com>
10844 * Makefile.in (TESTS): New variable.
10845 (expanded_tests, expanded_tests_or_none): New variables
10846 (check-single): Pass $(expanded_tests_or_none) to runtest.
10847 (check-parallel): Only run tests in $(TESTS) if non-empty.
10848 (check/no-matching-tests-found): New rule.
10849 * README: Document TESTS makefile variable.
10851 2014-02-18 Doug Evans <dje@google.com>
10853 * Makefile.in (check-parallel): rm -rf outputs temp.
10855 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10857 Fix "ERROR: no fileid for" in the testsuite.
10858 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10860 2014-02-12 Doug Evans <dje@google.com>
10862 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10863 (MISCELLANEOUS): New variable.
10864 (clean): rm -rf $(MISCELLANEOUS).
10865 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10866 dwp live in the same directory as symlinks, with each symlink pointed
10867 to a differently named file in a different directory.
10869 2014-02-11 Doug Evans <dje@google.com>
10871 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10872 of Tcl file commands.
10874 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10876 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10877 "kill -SIGUSR1 -1".
10879 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10881 * gdb.ada/tick_length_array_enum_idx: New testcase.
10883 2014-02-10 Doug Evans <xdje42@gmail.com>
10885 * configure.ac (AC_OUTPUT): Add gdb.guile.
10886 * configure: Regenerate.
10887 * lib/gdb-guile.exp: New file.
10888 * lib/gdb.exp (get_target_charset): New function.
10889 * gdb.base/help.exp: Update expected output from "apropos apropos".
10890 * gdb.guile/Makefile.in: New file.
10891 * gdb.guile/guile.exp: New file.
10892 * gdb.guile/scm-arch.c: New file.
10893 * gdb.guile/scm-arch.exp: New file.
10894 * gdb.guile/scm-block.c: New file.
10895 * gdb.guile/scm-block.exp: New file.
10896 * gdb.guile/scm-breakpoint.c: New file.
10897 * gdb.guile/scm-breakpoint.exp: New file.
10898 * gdb.guile/scm-disasm.c: New file.
10899 * gdb.guile/scm-disasm.exp: New file.
10900 * gdb.guile/scm-equal.c: New file.
10901 * gdb.guile/scm-equal.exp: New file.
10902 * gdb.guile/scm-error.exp: New file.
10903 * gdb.guile/scm-error.scm: New file.
10904 * gdb.guile/scm-frame-args.c: New file.
10905 * gdb.guile/scm-frame-args.exp: New file.
10906 * gdb.guile/scm-frame-args.scm: New file.
10907 * gdb.guile/scm-frame-inline.c: New file.
10908 * gdb.guile/scm-frame-inline.exp: New file.
10909 * gdb.guile/scm-frame.c: New file.
10910 * gdb.guile/scm-frame.exp: New file.
10911 * gdb.guile/scm-generics.exp: New file.
10912 * gdb.guile/scm-gsmob.exp: New file.
10913 * gdb.guile/scm-iterator.c: New file.
10914 * gdb.guile/scm-iterator.exp: New file.
10915 * gdb.guile/scm-math.c: New file.
10916 * gdb.guile/scm-math.exp: New file.
10917 * gdb.guile/scm-objfile-script-gdb.in: New file.
10918 * gdb.guile/scm-objfile-script.c: New file.
10919 * gdb.guile/scm-objfile-script.exp: New file.
10920 * gdb.guile/scm-objfile.c: New file.
10921 * gdb.guile/scm-objfile.exp: New file.
10922 * gdb.guile/scm-ports.exp: New file.
10923 * gdb.guile/scm-pretty-print.c: New file.
10924 * gdb.guile/scm-pretty-print.exp: New file.
10925 * gdb.guile/scm-pretty-print.scm: New file.
10926 * gdb.guile/scm-section-script.c: New file.
10927 * gdb.guile/scm-section-script.exp: New file.
10928 * gdb.guile/scm-section-script.scm: New file.
10929 * gdb.guile/scm-symbol.c: New file.
10930 * gdb.guile/scm-symbol.exp: New file.
10931 * gdb.guile/scm-symtab-2.c: New file.
10932 * gdb.guile/scm-symtab.c: New file.
10933 * gdb.guile/scm-symtab.exp: New file.
10934 * gdb.guile/scm-type.c: New file.
10935 * gdb.guile/scm-type.exp: New file.
10936 * gdb.guile/scm-value-cc.cc: New file.
10937 * gdb.guile/scm-value-cc.exp: New file.
10938 * gdb.guile/scm-value.c: New file.
10939 * gdb.guile/scm-value.exp: New file.
10940 * gdb.guile/source2.scm: New file.
10941 * gdb.guile/types-module.cc: New file.
10942 * gdb.guile/types-module.exp: New file.
10944 2014-02-10 Yao Qi <yao@codesourcery.com>
10947 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10948 * configure: Regenerated.
10949 * Makefile.in: New file.
10951 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10953 * gdb.python/py-framefilter.exp: Fix typo.
10955 2014-02-08 Yao Qi <yao@codesourcery.com>
10957 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10958 that no =breakpoint-modified is emitted when breakpoints are
10959 modified through MI commands.
10961 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10962 Pedro Alves <palves@redhat.com>
10964 * gdb.threads/step-after-sr-lock.c: New file.
10965 * gdb.threads/step-after-sr-lock.exp: New file.
10967 2014-02-07 Pedro Alves <palves@redhat.com>
10969 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10971 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10973 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
10974 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
10976 2014-02-06 Doug Evans <xdje42@gmail.com>
10978 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
10981 * gdb.gdb/python-interrupts.exp: New file.
10983 2014-02-05 Yao Qi <yao@codesourcery.com>
10985 * gdb.trace/report.exp (use_collected_data): Test the output
10986 of "info threads" and "info inferiors".
10988 2014-02-05 Yao Qi <yao@codesourcery.com>
10992 2013-05-24 Yao Qi <yao@codesourcery.com>
10994 * gdb.trace/tfile.exp: Test inferior and thread.
10996 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10998 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11000 * gdb.base/step-bt.c: Call hello via function pointer to make
11001 sure its first instruction is executed on powerpc64le-linux.
11003 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11005 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11007 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11009 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11010 of the test patterns for use on little-endian systems.
11012 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11014 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11015 (decimal_vector): Fix for little-endian.
11017 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11019 * gdb.arch/sparc-sysstep.exp: New file.
11020 * gdb.arch/sparc-sysstep.c: Likewise.
11022 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11024 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11026 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11028 2014-01-23 Tom Tromey <tromey@redhat.com>
11030 * gdb.ada/array_char_idx: New testcase.
11032 2014-01-23 Tom Tromey <tromey@redhat.com>
11035 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11036 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11039 2014-01-23 Tom Tromey <tromey@redhat.com>
11042 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11043 string from an inferior frame.
11044 * gdb.python/py-framefilter-mi.exp: Update.
11046 2014-01-22 Doug Evans <dje@google.com>
11048 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11050 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11052 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11054 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11056 * gdb.trace/entry-values.exp: Remove excess space character from
11057 regex patterns. Handle s390 call instruction.
11059 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11061 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11062 define "*_start" label. Make "name" static.
11063 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11064 ${name} by references to ${name}_start.
11066 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11068 * gdb.base/info-macros.exp: Remove "debug" from the compile
11071 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11073 * gdb.dlang/demangle.exp: New file.
11075 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11077 * gdb.dlang/primitive-types.exp: New file.
11079 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11081 * configure.ac: Create gdb.dlang/Makefile.
11082 * configure: Regenerate.
11083 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11084 * gdb.dlang/Makefile.in: New file.
11085 * lib/d-support.exp: New file.
11086 * lib/gdb.exp (skip_d_tests): New proc.
11088 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11090 * gdb.btrace/delta.exp: Check reverse stepi.
11091 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11092 * gdb.btrace/finish.exp: New.
11093 * gdb.btrace/next.exp: New.
11094 * gdb.btrace/nexti.exp: New.
11095 * gdb.btrace/record_goto.c: Add comments.
11096 * gdb.btrace/step.exp: New.
11097 * gdb.btrace/stepi.exp: New.
11098 * gdb.btrace/multi-thread-step.c: New.
11099 * gdb.btrace/multi-thread-step.exp: New.
11100 * gdb.btrace/rn-dl-bind.c: New.
11101 * gdb.btrace/rn-dl-bind.exp: New.
11102 * gdb.btrace/data.c: New.
11103 * gdb.btrace/data.exp: New.
11104 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11106 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11108 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11109 * gdb.btrace/exception.exp: Update.
11110 * gdb.btrace/instruction_history.exp: Update.
11111 * gdb.btrace/record_goto.exp: Update.
11112 * gdb.btrace/tailcall.exp: Update.
11113 * gdb.btrace/unknown_functions.exp: Update.
11114 * gdb.btrace/delta.exp: New.
11116 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11118 * gdb.btrace/record_goto.exp: Add backtrace test.
11119 * gdb.btrace/tailcall.exp: Add backtrace test.
11121 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11123 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11124 * gdb.btrace/record_goto.c: New.
11125 * gdb.btrace/record_goto.exp: New.
11126 * gdb.btrace/x86-record_goto.S: New.
11128 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11130 * gdb.btrace/function_call_history.exp: Update tests.
11131 * gdb.btrace/instruction_history.exp: Update tests.
11133 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11135 * gdb.btrace/function_call_history.exp: Fix expected field
11136 order for "record function-call-history".
11137 Add new tests for "record function-call-history /c".
11138 * gdb.btrace/exception.cc: New.
11139 * gdb.btrace/exception.exp: New.
11140 * gdb.btrace/tailcall.exp: New.
11141 * gdb.btrace/x86-tailcall.S: New.
11142 * gdb.btrace/x86-tailcall.c: New.
11143 * gdb.btrace/unknown_functions.c: New.
11144 * gdb.btrace/unknown_functions.exp: New.
11145 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11147 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11149 * gdb.btrace/instruction_history.exp: Update.
11150 * gdb.btrace/function_call_history.exp: Update.
11152 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11154 * gdb.btrace/function_call_history.exp: Fix expected function
11156 * gdb.btrace/instruction_history.exp: Initialize traced.
11157 Remove traced_functions.
11159 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11161 * gdb.btrace/function_call_history.exp: Update
11162 * gdb.btrace/instruction_history.exp: Update.
11164 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11166 * gdb.btrace/enable.exp: Update expected text.
11168 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11170 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11173 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11175 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11177 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11179 * lib/gdb.exp (supports_process_record): Return true for
11180 arm*-linux*. (supports_reverse): Likewise.
11182 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11186 * gdb.python/py-type.c: Enhance test case.
11187 * gdb.python/py-value-cc.cc: Likewise
11188 * gdb.python/py-type.exp: Add new tests.
11189 * gdb.python/py-value-cc.exp: Likewise
11191 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11192 Pedro Alves <palves@redhat.com>
11194 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11195 Make "name" extern.
11196 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11197 references to ${name}_start by references to ${name}.
11199 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11201 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11203 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11205 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11207 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11208 Pedro Alves <palves@redhat.com>
11210 * gdb.mi/mi-info-os.exp: Connect to the target with
11211 mi_gdb_target_load.
11213 2014-01-08 Pedro Alves <palves@redhat.com>
11215 * gdb.threads/reconnect-signal.c: New file.
11216 * gdb.threads/reconnect-signal.exp: New file.
11218 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11220 * gdb.base/source-dir.exp: New file.
11222 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11224 * gdb.ada/mi_interface: New testcase.
11226 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11228 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11229 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11230 gdb.ada/pp-rec-component/pck.ads: New files.
11232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11234 * gdb.python/py-pp-integral.c: New file.
11235 * gdb.python/py-pp-integral.py: New file.
11236 * gdb.python/py-pp-integral.exp: New file.
11238 For older changes see ChangeLog-1993-2013.
11240 ;; Local Variables:
11241 ;; mode: change-log
11244 ;; version-control: never
11247 Copyright 2014-2017 Free Software Foundation, Inc.
11248 Copying and distribution of this file, with or without modification,
11249 are permitted provided the copyright notice and this notice are preserved.