1 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3 * i386-mpx-call.c: New file.
4 * i386-mpx-call.exp: New file.
6 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8 * gdb.arch/powerpc-power.exp: Delete test.
9 * gdb.arch/powerpc-power.s: Likewise.
10 * gdb.disasm/disassembler-options.exp: New test.
11 * gdb.arch/powerpc-altivec.exp: Likewise.
12 * gdb.arch/powerpc-altivec.s: Likewise.
13 * gdb.arch/powerpc-altivec2.exp: Likewise.
14 * gdb.arch/powerpc-altivec2.s: Likewise.
15 * gdb.arch/powerpc-altivec3.exp: Likewise.
16 * gdb.arch/powerpc-altivec3.s: Likewise.
17 * gdb.arch/powerpc-power7.exp: Likewise.
18 * gdb.arch/powerpc-power7.s: Likewise.
19 * gdb.arch/powerpc-power8.exp: Likewise.
20 * gdb.arch/powerpc-power8.s: Likewise.
21 * gdb.arch/powerpc-power9.exp: Likewise.
22 * gdb.arch/powerpc-power9.s: Likewise.
23 * gdb.arch/powerpc-vsx.exp: Likewise.
24 * gdb.arch/powerpc-vsx.s: Likewise.
25 * gdb.arch/powerpc-vsx2.exp: Likewise.
26 * gdb.arch/powerpc-vsx2.s: Likewise.
27 * gdb.arch/powerpc-vsx3.exp: Likewise.
28 * gdb.arch/powerpc-vsx3.s: Likewise.
29 * gdb.arch/arm-disassembler-options.exp: Likewise.
30 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
31 * gdb.arch/s390-disassembler-options.exp: Likewise.
33 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
35 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
36 (check_supported_features): ... this. Changed return type to void.
37 (supports_rdseed): New static global.
38 (rdseed): Check supports_rdseed.
39 (initialize): Call check_supported_features.
41 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
43 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
44 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
46 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
47 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
49 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
51 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
54 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
56 * gdb.dwarf2/formdata16.c: New file.
57 * gdb.dwarf2/formdata16.exp: New file.
58 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
60 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
62 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
63 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
64 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
65 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
68 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
70 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
72 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
75 * gdb.base/maint.exp: Add testcases for when the commands do
78 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
80 * gdb.cp/chained-calls.exp: Use p instead of P.
82 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
84 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
85 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
87 2017-02-14 Tom Tromey <tom@tromey.com>
90 * gdb.python/py-events.exp: Add before_prompt event tests.
92 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
94 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
96 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
98 * gdb.linespec/explicit.c (my_unique_function_name): New function.
99 (main): Call my_unique_function_name.
100 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
101 completion of patterns with a single match.
102 Add missing -re switches to gdb_test_multiple calls.
104 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
106 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
107 return if core file is not recognized.
109 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
111 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
114 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
116 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
119 2017-02-10 Tom Tromey <tom@tromey.com>
121 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
123 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
126 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
128 2017-02-08 Jerome Guitton <guitton@adacore.com>
130 * gdb.base/define.exp: Add test for command abbreviations
133 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
135 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
136 * gdb.reverse/insn-reverse-x86.c: New file.
138 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
141 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
143 2017-02-03 Tom Tromey <tom@tromey.com>
146 * gdb.rust/simple.exp: Add new tests.
148 2017-02-02 Pedro Alves <palves@redhat.com>
150 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
153 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
155 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
156 taking a 2-byte value out of a 4-byte DWARF implicit value on
158 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
159 logic. Add test cases for DW_OP_implicit.
161 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
163 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
165 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
167 * gdb.btrace/enable.exp: Call gdb_exit before
168 skip_gdbserver_tests.
170 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
172 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
175 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
177 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
179 * gdb.btrace/data.exp: Likewise.
180 * gdb.btrace/delta.exp: Likewise.
181 * gdb.btrace/dlopen.exp: Likewise.
182 * gdb.btrace/enable-running.exp: Likewise.
183 * gdb.btrace/enable.exp: Likewise.
184 * gdb.btrace/exception.exp: Likewise.
185 * gdb.btrace/function_call_history.exp: Likewise.
186 * gdb.btrace/gcore.exp: Likewise.
187 * gdb.btrace/instruction_history.exp: Likewise.
188 * gdb.btrace/multi-thread-step.exp: Likewise.
189 * gdb.btrace/nohist.exp: Likewise.
190 * gdb.btrace/non-stop.exp: Likewise.
191 * gdb.btrace/reconnect.exp: Likewise.
192 * gdb.btrace/record_goto-step.exp: Likewise.
193 * gdb.btrace/record_goto.exp: Likewise.
194 * gdb.btrace/rn-dl-bind.exp: Likewise.
195 * gdb.btrace/segv.exp: Likewise.
196 * gdb.btrace/step.exp: Likewise.
197 * gdb.btrace/stepi.exp: Likewise.
198 * gdb.btrace/tailcall-only.exp: Likewise.
199 * gdb.btrace/tailcall.exp: Likewise.
200 * gdb.btrace/tsx.exp: Likewise.
201 * gdb.btrace/unknown_functions.exp: Likewise.
202 * gdb.btrace/vdso.exp: Likewise.
204 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
206 * gdb.btrace/enable-running.c: New.
207 * gdb.btrace/enable-running.exp: New.
209 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
211 * gdb.arch/amd64-gs_base.c: New file.
212 * gdb.arch/amd64-gs_base.exp: New file.
214 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
216 * lib/memory.exp: Remove spurious empty newlines.
218 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
220 * gdb.python/py-bad-printers.exp: Load python file using "source".
221 * gdb.python/py-events.exp: Likewise.
222 * gdb.python/py-evsignal.exp: Likewise.
223 * gdb.python/py-evthreads.exp: Likewise.
224 * gdb.python/py-frame-args.exp: Likewise.
225 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
226 * gdb.python/py-framefilter-mi.exp: Likewise.
227 * gdb.python/py-framefilter.exp: Likewise.
228 * gdb.python/py-mi.exp: Likewise.
229 * gdb.python/py-pp-maint.exp: Likewise.
230 * gdb.python/py-pp-registration.exp: Likewise.
231 * gdb.python/py-prettyprint.exp: Likewise.
232 (run_lang_tests): Likewise.
233 * gdb.python/py-typeprint.exp: Likewise.
235 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
237 * lib/memory.exp: New file.
238 * lib/gdb.exp: Load memory.exp.
239 * gdb.base/memattr.exp (delete_memory): Move proc to
240 lib/memory.exp and rename to delete_memory_regions.
241 Replace delete_memory with delete_memory_regions.
242 Cleanup memory regions before tests.
243 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
246 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
248 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
250 (initialize): New function conditionally defined.
251 (testcases): Move within conditional block.
252 (main): Call initialize.
253 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
254 of gdb.reverse/insn-reverse.c.
255 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
256 gdb.reverse/insn-reverse.c.
258 2017-01-26 Yao Qi <yao.qi@linaro.org>
260 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
261 disassemble on address 0.
263 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
264 Yao Qi <yao.qi@linaro.org>
266 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
267 * gdb.dwarf2/implptr-64bit.S: Remove.
268 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
269 variables in caller's context. Add DW_OP_implicit_value.
271 2017-01-25 Yao Qi <yao.qi@linaro.org>
273 * lib/dwarf.exp (Dwarf::_location): Handle
274 DW_OP_GNU_implicit_pointer with proper size.
276 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
278 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
279 and add untested calls.
281 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
283 * gdb.python/python.exp: Check line number against what GDB thinks
284 the line number is for func1.
286 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
288 * gdb.dlang/debug-expr.exp: New file.
290 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
292 Fix test names for the following files:
294 * gdb.ada/exec_changed.exp
295 * gdb.ada/info_types.exp
296 * gdb.arch/aarch64-atomic-inst.exp
297 * gdb.arch/aarch64-fp.exp
298 * gdb.arch/altivec-abi.exp
299 * gdb.arch/altivec-regs.exp
300 * gdb.arch/amd64-byte.exp
301 * gdb.arch/amd64-disp-step.exp
302 * gdb.arch/amd64-dword.exp
303 * gdb.arch/amd64-entry-value-inline.exp
304 * gdb.arch/amd64-entry-value-param.exp
305 * gdb.arch/amd64-entry-value-paramref.exp
306 * gdb.arch/amd64-entry-value.exp
307 * gdb.arch/amd64-i386-address.exp
308 * gdb.arch/amd64-invalid-stack-middle.exp
309 * gdb.arch/amd64-invalid-stack-top.exp
310 * gdb.arch/amd64-optimout-repeat.exp
311 * gdb.arch/amd64-prologue-skip.exp
312 * gdb.arch/amd64-prologue-xmm.exp
313 * gdb.arch/amd64-stap-special-operands.exp
314 * gdb.arch/amd64-stap-wrong-subexp.exp
315 * gdb.arch/amd64-tailcall-cxx.exp
316 * gdb.arch/amd64-tailcall-noret.exp
317 * gdb.arch/amd64-tailcall-ret.exp
318 * gdb.arch/amd64-tailcall-self.exp
319 * gdb.arch/amd64-word.exp
320 * gdb.arch/arm-bl-branch-dest.exp
321 * gdb.arch/arm-disp-step.exp
322 * gdb.arch/arm-neon.exp
323 * gdb.arch/arm-single-step-kernel-helper.exp
324 * gdb.arch/avr-flash-qualifier.exp
325 * gdb.arch/disp-step-insn-reloc.exp
326 * gdb.arch/e500-abi.exp
327 * gdb.arch/e500-regs.exp
328 * gdb.arch/ftrace-insn-reloc.exp
329 * gdb.arch/i386-avx512.exp
330 * gdb.arch/i386-bp_permanent.exp
331 * gdb.arch/i386-byte.exp
332 * gdb.arch/i386-cfi-notcurrent.exp
333 * gdb.arch/i386-disp-step.exp
334 * gdb.arch/i386-dr3-watch.exp
335 * gdb.arch/i386-float.exp
336 * gdb.arch/i386-gnu-cfi.exp
337 * gdb.arch/i386-mpx-map.exp
338 * gdb.arch/i386-mpx-sigsegv.exp
339 * gdb.arch/i386-mpx-simple_segv.exp
340 * gdb.arch/i386-mpx.exp
341 * gdb.arch/i386-permbkpt.exp
342 * gdb.arch/i386-prologue.exp
343 * gdb.arch/i386-signal.exp
344 * gdb.arch/i386-size-overlap.exp
345 * gdb.arch/i386-unwind.exp
346 * gdb.arch/i386-word.exp
347 * gdb.arch/mips-fcr.exp
348 * gdb.arch/powerpc-d128-regs.exp
349 * gdb.arch/powerpc-stackless.exp
350 * gdb.arch/ppc64-atomic-inst.exp
351 * gdb.arch/s390-stackless.exp
352 * gdb.arch/s390-tdbregs.exp
353 * gdb.arch/s390-vregs.exp
354 * gdb.arch/sparc-sysstep.exp
355 * gdb.arch/thumb-bx-pc.exp
356 * gdb.arch/thumb-singlestep.exp
357 * gdb.arch/thumb2-it.exp
358 * gdb.arch/vsx-regs.exp
359 * gdb.asm/asm-source.exp
360 * gdb.base/a2-run.exp
361 * gdb.base/advance.exp
362 * gdb.base/all-bin.exp
365 * gdb.base/arithmet.exp
366 * gdb.base/async-shell.exp
368 * gdb.base/attach-pie-noexec.exp
369 * gdb.base/attach-twice.exp
370 * gdb.base/auto-load.exp
372 * gdb.base/bitfields.exp
373 * gdb.base/break-always.exp
374 * gdb.base/break-caller-line.exp
375 * gdb.base/break-entry.exp
376 * gdb.base/break-inline.exp
377 * gdb.base/break-on-linker-gcd-function.exp
378 * gdb.base/break-probes.exp
380 * gdb.base/breakpoint-shadow.exp
381 * gdb.base/call-ar-st.exp
382 * gdb.base/call-sc.exp
383 * gdb.base/call-signal-resume.exp
384 * gdb.base/call-strs.exp
385 * gdb.base/callfuncs.exp
386 * gdb.base/catch-fork-static.exp
387 * gdb.base/catch-gdb-caused-signals.exp
388 * gdb.base/catch-load.exp
389 * gdb.base/catch-signal-fork.exp
390 * gdb.base/catch-signal.exp
391 * gdb.base/catch-syscall.exp
392 * gdb.base/charset.exp
393 * gdb.base/checkpoint.exp
394 * gdb.base/chng-syms.exp
395 * gdb.base/code-expr.exp
396 * gdb.base/code_elim.exp
397 * gdb.base/commands.exp
398 * gdb.base/completion.exp
399 * gdb.base/complex.exp
400 * gdb.base/cond-expr.exp
401 * gdb.base/condbreak.exp
402 * gdb.base/consecutive.exp
403 * gdb.base/continue-all-already-running.exp
404 * gdb.base/coredump-filter.exp
405 * gdb.base/corefile.exp
407 * gdb.base/debug-expr.exp
408 * gdb.base/define.exp
410 * gdb.base/disabled-location.exp
411 * gdb.base/disasm-end-cu.exp
412 * gdb.base/disasm-optim.exp
413 * gdb.base/display.exp
414 * gdb.base/duplicate-bp.exp
415 * gdb.base/ena-dis-br.exp
416 * gdb.base/ending-run.exp
417 * gdb.base/enumval.exp
418 * gdb.base/environ.exp
419 * gdb.base/eu-strip-infcall.exp
420 * gdb.base/eval-avoid-side-effects.exp
421 * gdb.base/eval-skip.exp
422 * gdb.base/exitsignal.exp
423 * gdb.base/expand-psymtabs.exp
424 * gdb.base/filesym.exp
425 * gdb.base/find-unmapped.exp
426 * gdb.base/finish.exp
428 * gdb.base/foll-exec-mode.exp
429 * gdb.base/foll-exec.exp
430 * gdb.base/foll-fork.exp
431 * gdb.base/fortran-sym-case.exp
432 * gdb.base/freebpcmd.exp
433 * gdb.base/func-ptr.exp
434 * gdb.base/func-ptrs.exp
435 * gdb.base/funcargs.exp
436 * gdb.base/gcore-buffer-overflow.exp
437 * gdb.base/gcore-relro-pie.exp
438 * gdb.base/gcore-relro.exp
440 * gdb.base/gdb1090.exp
441 * gdb.base/gdb11530.exp
442 * gdb.base/gdb11531.exp
443 * gdb.base/gdb1821.exp
444 * gdb.base/gdbindex-stabs.exp
445 * gdb.base/gdbvars.exp
446 * gdb.base/hbreak.exp
447 * gdb.base/hbreak2.exp
448 * gdb.base/included.exp
449 * gdb.base/infcall-input.exp
450 * gdb.base/inferior-died.exp
451 * gdb.base/infnan.exp
452 * gdb.base/info-macros.exp
453 * gdb.base/info-os.exp
454 * gdb.base/info-proc.exp
455 * gdb.base/info-shared.exp
456 * gdb.base/info-target.exp
457 * gdb.base/infoline.exp
458 * gdb.base/interp.exp
459 * gdb.base/interrupt.exp
460 * gdb.base/jit-reader.exp
461 * gdb.base/jit-simple.exp
462 * gdb.base/kill-after-signal.exp
463 * gdb.base/kill-detach-inferiors-cmd.exp
466 * gdb.base/ldbl_e308.exp
467 * gdb.base/line-symtabs.exp
468 * gdb.base/linespecs.exp
470 * gdb.base/long_long.exp
471 * gdb.base/longest-types.exp
473 * gdb.base/max-value-size.exp
474 * gdb.base/memattr.exp
475 * gdb.base/mips_pro.exp
476 * gdb.base/morestack.exp
477 * gdb.base/moribund-step.exp
478 * gdb.base/multi-forks.exp
479 * gdb.base/nested-addr.exp
480 * gdb.base/nextoverexit.exp
481 * gdb.base/noreturn-finish.exp
482 * gdb.base/noreturn-return.exp
483 * gdb.base/nostdlib.exp
484 * gdb.base/offsets.exp
485 * gdb.base/opaque.exp
487 * gdb.base/permissions.exp
488 * gdb.base/print-symbol-loading.exp
489 * gdb.base/prologue-include.exp
490 * gdb.base/psymtab.exp
492 * gdb.base/random-signal.exp
493 * gdb.base/randomize.exp
494 * gdb.base/range-stepping.exp
495 * gdb.base/readline-ask.exp
496 * gdb.base/recpar.exp
497 * gdb.base/recurse.exp
498 * gdb.base/relational.exp
499 * gdb.base/restore.exp
500 * gdb.base/return-nodebug.exp
501 * gdb.base/return.exp
502 * gdb.base/run-after-attach.exp
503 * gdb.base/save-bp.exp
505 * gdb.base/sect-cmd.exp
506 * gdb.base/set-lang-auto.exp
507 * gdb.base/set-noassign.exp
508 * gdb.base/setvar.exp
509 * gdb.base/sigall.exp
510 * gdb.base/sigbpt.exp
511 * gdb.base/siginfo-addr.exp
512 * gdb.base/siginfo-infcall.exp
513 * gdb.base/siginfo-obj.exp
514 * gdb.base/siginfo.exp
515 * gdb.base/signals-state-child.exp
516 * gdb.base/signest.exp
517 * gdb.base/sigstep.exp
518 * gdb.base/sizeof.exp
520 * gdb.base/solib-corrupted.exp
521 * gdb.base/solib-nodir.exp
522 * gdb.base/solib-search.exp
523 * gdb.base/stack-checking.exp
524 * gdb.base/stale-infcall.exp
525 * gdb.base/stap-probe.exp
527 * gdb.base/step-break.exp
528 * gdb.base/step-bt.exp
529 * gdb.base/step-line.exp
530 * gdb.base/step-over-exit.exp
531 * gdb.base/step-over-syscall.exp
532 * gdb.base/step-resume-infcall.exp
533 * gdb.base/step-test.exp
535 * gdb.base/structs3.exp
536 * gdb.base/sym-file.exp
537 * gdb.base/symbol-without-target_section.exp
539 * gdb.base/testenv.exp
540 * gdb.base/ui-redirect.exp
542 * gdb.base/unwindonsignal.exp
543 * gdb.base/value-double-free.exp
544 * gdb.base/vla-datatypes.exp
545 * gdb.base/vla-ptr.exp
546 * gdb.base/vla-sideeffect.exp
547 * gdb.base/volatile.exp
548 * gdb.base/watch-cond-infcall.exp
549 * gdb.base/watch-cond.exp
550 * gdb.base/watch-non-mem.exp
551 * gdb.base/watch-read.exp
552 * gdb.base/watch-vfork.exp
553 * gdb.base/watchpoint-cond-gone.exp
554 * gdb.base/watchpoint-delete.exp
555 * gdb.base/watchpoint-hw-hit-once.exp
556 * gdb.base/watchpoint-hw.exp
557 * gdb.base/watchpoint-stops-at-right-insn.exp
558 * gdb.base/watchpoints.exp
560 * gdb.base/whatis-exp.exp
561 * gdb.btrace/buffer-size.exp
562 * gdb.btrace/data.exp
563 * gdb.btrace/delta.exp
564 * gdb.btrace/dlopen.exp
565 * gdb.btrace/enable.exp
566 * gdb.btrace/exception.exp
567 * gdb.btrace/function_call_history.exp
568 * gdb.btrace/gcore.exp
569 * gdb.btrace/instruction_history.exp
570 * gdb.btrace/nohist.exp
571 * gdb.btrace/reconnect.exp
572 * gdb.btrace/record_goto-step.exp
573 * gdb.btrace/record_goto.exp
574 * gdb.btrace/rn-dl-bind.exp
575 * gdb.btrace/segv.exp
576 * gdb.btrace/step.exp
577 * gdb.btrace/stepi.exp
578 * gdb.btrace/tailcall-only.exp
579 * gdb.btrace/tailcall.exp
581 * gdb.btrace/unknown_functions.exp
582 * gdb.btrace/vdso.exp
583 * gdb.compile/compile-ifunc.exp
584 * gdb.compile/compile-ops.exp
585 * gdb.compile/compile-print.exp
586 * gdb.compile/compile-setjmp.exp
587 * gdb.cp/abstract-origin.exp
588 * gdb.cp/ambiguous.exp
592 * gdb.cp/anon-struct.exp
593 * gdb.cp/anon-union.exp
594 * gdb.cp/arg-reference.exp
595 * gdb.cp/baseenum.exp
597 * gdb.cp/breakpoint.exp
601 * gdb.cp/chained-calls.exp
604 * gdb.cp/cmpd-minsyms.exp
605 * gdb.cp/converts.exp
606 * gdb.cp/cp-relocate.exp
607 * gdb.cp/cpcompletion.exp
610 * gdb.cp/cplusfuncs.exp
611 * gdb.cp/cpsizeof.exp
613 * gdb.cp/derivation.exp
614 * gdb.cp/destrprint.exp
616 * gdb.cp/enum-class.exp
617 * gdb.cp/exception.exp
618 * gdb.cp/exceptprint.exp
619 * gdb.cp/expand-psymtabs-cxx.exp
620 * gdb.cp/expand-sals.exp
621 * gdb.cp/extern-c.exp
622 * gdb.cp/filename.exp
623 * gdb.cp/formatted-ref.exp
624 * gdb.cp/fpointer.exp
628 * gdb.cp/impl-this.exp
629 * gdb.cp/infcall-dlopen.exp
631 * gdb.cp/iostream.exp
635 * gdb.cp/m-static.exp
637 * gdb.cp/mb-inline.exp
638 * gdb.cp/mb-templates.exp
639 * gdb.cp/member-name.exp
640 * gdb.cp/member-ptr.exp
641 * gdb.cp/meth-typedefs.exp
644 * gdb.cp/minsym-fallback.exp
646 * gdb.cp/namelessclass.exp
647 * gdb.cp/namespace-enum.exp
648 * gdb.cp/namespace-nested-import.exp
649 * gdb.cp/namespace.exp
650 * gdb.cp/nextoverthrow.exp
651 * gdb.cp/no-dmgl-verbose.exp
652 * gdb.cp/non-trivial-retval.exp
655 * gdb.cp/nsimport.exp
656 * gdb.cp/nsnested.exp
657 * gdb.cp/nsnoimports.exp
658 * gdb.cp/nsrecurs.exp
659 * gdb.cp/nsstress.exp
661 * gdb.cp/operator.exp
662 * gdb.cp/oranking.exp
663 * gdb.cp/overload-const.exp
664 * gdb.cp/overload.exp
665 * gdb.cp/ovldbreak.exp
667 * gdb.cp/paren-type.exp
668 * gdb.cp/parse-lang.exp
669 * gdb.cp/pass-by-ref.exp
680 * gdb.cp/printmethod.exp
682 * gdb.cp/psymtab-parameter.exp
683 * gdb.cp/ptype-cv-cp.exp
684 * gdb.cp/ptype-flags.exp
685 * gdb.cp/re-set-overloaded.exp
686 * gdb.cp/ref-types.exp
688 * gdb.cp/scope-err.exp
691 * gdb.cp/static-method.exp
692 * gdb.cp/static-print-quit.exp
694 * gdb.cp/templates.exp
695 * gdb.cp/try_catch.exp
696 * gdb.cp/typedef-operator.exp
699 * gdb.cp/using-crash.exp
701 * gdb.cp/virtbase.exp
702 * gdb.cp/virtfunc.exp
703 * gdb.cp/virtfunc2.exp
705 * gdb.disasm/t01_mov.exp
706 * gdb.disasm/t02_mova.exp
707 * gdb.disasm/t03_add.exp
708 * gdb.disasm/t04_sub.exp
709 * gdb.disasm/t05_cmp.exp
710 * gdb.disasm/t06_ari2.exp
711 * gdb.disasm/t07_ari3.exp
712 * gdb.disasm/t08_or.exp
713 * gdb.disasm/t09_xor.exp
714 * gdb.disasm/t10_and.exp
715 * gdb.disasm/t11_logs.exp
716 * gdb.disasm/t12_bit.exp
717 * gdb.disasm/t13_otr.exp
718 * gdb.dlang/circular.exp
719 * gdb.dwarf2/arr-stride.exp
720 * gdb.dwarf2/arr-subrange.exp
721 * gdb.dwarf2/atomic-type.exp
722 * gdb.dwarf2/bad-regnum.exp
723 * gdb.dwarf2/bitfield-parent-optimized-out.exp
724 * gdb.dwarf2/callframecfa.exp
725 * gdb.dwarf2/clztest.exp
726 * gdb.dwarf2/corrupt.exp
727 * gdb.dwarf2/data-loc.exp
728 * gdb.dwarf2/dup-psym.exp
729 * gdb.dwarf2/dw2-anon-mptr.exp
730 * gdb.dwarf2/dw2-anonymous-func.exp
731 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
732 * gdb.dwarf2/dw2-bad-unresolved.exp
733 * gdb.dwarf2/dw2-basic.exp
734 * gdb.dwarf2/dw2-canonicalize-type.exp
735 * gdb.dwarf2/dw2-case-insensitive.exp
736 * gdb.dwarf2/dw2-common-block.exp
737 * gdb.dwarf2/dw2-compdir-oldgcc.exp
738 * gdb.dwarf2/dw2-compressed.exp
739 * gdb.dwarf2/dw2-const.exp
740 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
741 * gdb.dwarf2/dw2-cu-size.exp
742 * gdb.dwarf2/dw2-dup-frame.exp
743 * gdb.dwarf2/dw2-entry-value.exp
744 * gdb.dwarf2/dw2-icycle.exp
745 * gdb.dwarf2/dw2-ifort-parameter.exp
746 * gdb.dwarf2/dw2-inline-break.exp
747 * gdb.dwarf2/dw2-inline-param.exp
748 * gdb.dwarf2/dw2-intercu.exp
749 * gdb.dwarf2/dw2-intermix.exp
750 * gdb.dwarf2/dw2-lexical-block-bare.exp
751 * gdb.dwarf2/dw2-linkage-name-trust.exp
752 * gdb.dwarf2/dw2-minsym-in-cu.exp
753 * gdb.dwarf2/dw2-noloc.exp
754 * gdb.dwarf2/dw2-op-call.exp
755 * gdb.dwarf2/dw2-op-out-param.exp
756 * gdb.dwarf2/dw2-opt-structptr.exp
757 * gdb.dwarf2/dw2-param-error.exp
758 * gdb.dwarf2/dw2-producer.exp
759 * gdb.dwarf2/dw2-ranges-base.exp
760 * gdb.dwarf2/dw2-ref-missing-frame.exp
761 * gdb.dwarf2/dw2-reg-undefined.exp
762 * gdb.dwarf2/dw2-regno-invalid.exp
763 * gdb.dwarf2/dw2-restore.exp
764 * gdb.dwarf2/dw2-restrict.exp
765 * gdb.dwarf2/dw2-single-line-discriminators.exp
766 * gdb.dwarf2/dw2-strp.exp
767 * gdb.dwarf2/dw2-undefined-ret-addr.exp
768 * gdb.dwarf2/dw2-unresolved.exp
769 * gdb.dwarf2/dw2-var-zero-addr.exp
770 * gdb.dwarf2/dw4-sig-types.exp
772 * gdb.dwarf2/dynarr-ptr.exp
773 * gdb.dwarf2/enum-type.exp
774 * gdb.dwarf2/gdb-index.exp
775 * gdb.dwarf2/implptr-64bit.exp
776 * gdb.dwarf2/implptr-optimized-out.exp
777 * gdb.dwarf2/implptr.exp
778 * gdb.dwarf2/implref-array.exp
779 * gdb.dwarf2/implref-const.exp
780 * gdb.dwarf2/implref-global.exp
781 * gdb.dwarf2/implref-struct.exp
782 * gdb.dwarf2/mac-fileno.exp
783 * gdb.dwarf2/main-subprogram.exp
784 * gdb.dwarf2/member-ptr-forwardref.exp
785 * gdb.dwarf2/method-ptr.exp
786 * gdb.dwarf2/missing-sig-type.exp
787 * gdb.dwarf2/nonvar-access.exp
788 * gdb.dwarf2/opaque-type-lookup.exp
789 * gdb.dwarf2/pieces-optimized-out.exp
790 * gdb.dwarf2/pieces.exp
791 * gdb.dwarf2/pr10770.exp
792 * gdb.dwarf2/pr13961.exp
793 * gdb.dwarf2/staticvirtual.exp
794 * gdb.dwarf2/subrange.exp
795 * gdb.dwarf2/symtab-producer.exp
796 * gdb.dwarf2/trace-crash.exp
797 * gdb.dwarf2/typeddwarf.exp
798 * gdb.dwarf2/valop.exp
799 * gdb.dwarf2/watch-notconst.exp
800 * gdb.fortran/array-element.exp
801 * gdb.fortran/charset.exp
802 * gdb.fortran/common-block.exp
803 * gdb.fortran/complex.exp
804 * gdb.fortran/derived-type-function.exp
805 * gdb.fortran/derived-type.exp
806 * gdb.fortran/logical.exp
807 * gdb.fortran/module.exp
808 * gdb.fortran/multi-dim.exp
809 * gdb.fortran/nested-funcs.exp
810 * gdb.fortran/print-formatted.exp
811 * gdb.fortran/subarray.exp
812 * gdb.fortran/vla-alloc-assoc.exp
813 * gdb.fortran/vla-datatypes.exp
814 * gdb.fortran/vla-history.exp
815 * gdb.fortran/vla-ptr-info.exp
816 * gdb.fortran/vla-ptype-sub.exp
817 * gdb.fortran/vla-ptype.exp
818 * gdb.fortran/vla-sizeof.exp
819 * gdb.fortran/vla-type.exp
820 * gdb.fortran/vla-value-sub-arbitrary.exp
821 * gdb.fortran/vla-value-sub-finish.exp
822 * gdb.fortran/vla-value-sub.exp
823 * gdb.fortran/vla-value.exp
824 * gdb.fortran/whatis_type.exp
826 * gdb.go/handcall.exp
828 * gdb.go/integers.exp
834 * gdb.guile/scm-arch.exp
835 * gdb.guile/scm-block.exp
836 * gdb.guile/scm-breakpoint.exp
837 * gdb.guile/scm-cmd.exp
838 * gdb.guile/scm-disasm.exp
839 * gdb.guile/scm-equal.exp
840 * gdb.guile/scm-frame-args.exp
841 * gdb.guile/scm-frame-inline.exp
842 * gdb.guile/scm-frame.exp
843 * gdb.guile/scm-iterator.exp
844 * gdb.guile/scm-math.exp
845 * gdb.guile/scm-objfile.exp
846 * gdb.guile/scm-ports.exp
847 * gdb.guile/scm-symbol.exp
848 * gdb.guile/scm-symtab.exp
849 * gdb.guile/scm-value-cc.exp
850 * gdb.guile/types-module.exp
851 * gdb.linespec/break-ask.exp
852 * gdb.linespec/cpexplicit.exp
853 * gdb.linespec/explicit.exp
854 * gdb.linespec/keywords.exp
855 * gdb.linespec/linespec.exp
856 * gdb.linespec/ls-dollar.exp
857 * gdb.linespec/ls-errs.exp
858 * gdb.linespec/skip-two.exp
859 * gdb.linespec/thread.exp
860 * gdb.mi/mi-async.exp
861 * gdb.mi/mi-basics.exp
862 * gdb.mi/mi-break.exp
863 * gdb.mi/mi-catch-load.exp
865 * gdb.mi/mi-cmd-param-changed.exp
866 * gdb.mi/mi-console.exp
867 * gdb.mi/mi-detach.exp
868 * gdb.mi/mi-disassemble.exp
870 * gdb.mi/mi-file-transfer.exp
872 * gdb.mi/mi-fill-memory.exp
873 * gdb.mi/mi-inheritance-syntax-error.exp
874 * gdb.mi/mi-linespec-err-cp.exp
875 * gdb.mi/mi-logging.exp
876 * gdb.mi/mi-memory-changed.exp
877 * gdb.mi/mi-read-memory.exp
878 * gdb.mi/mi-record-changed.exp
879 * gdb.mi/mi-reg-undefined.exp
881 * gdb.mi/mi-return.exp
882 * gdb.mi/mi-reverse.exp
883 * gdb.mi/mi-simplerun.exp
884 * gdb.mi/mi-solib.exp
885 * gdb.mi/mi-stack.exp
886 * gdb.mi/mi-stepi.exp
887 * gdb.mi/mi-syn-frame.exp
888 * gdb.mi/mi-until.exp
889 * gdb.mi/mi-var-block.exp
890 * gdb.mi/mi-var-child.exp
891 * gdb.mi/mi-var-cmd.exp
892 * gdb.mi/mi-var-cp.exp
893 * gdb.mi/mi-var-display.exp
894 * gdb.mi/mi-var-invalidate.exp
895 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
896 * gdb.mi/mi-vla-fortran.exp
897 * gdb.mi/mi-watch.exp
898 * gdb.mi/mi2-var-child.exp
899 * gdb.mi/user-selected-context-sync.exp
900 * gdb.modula2/unbounded-array.exp
901 * gdb.multi/dummy-frame-restore.exp
902 * gdb.multi/multi-arch-exec.exp
903 * gdb.multi/multi-arch.exp
905 * gdb.multi/watchpoint-multi.exp
906 * gdb.opencl/callfuncs.exp
907 * gdb.opencl/convs_casts.exp
908 * gdb.opencl/datatypes.exp
909 * gdb.opencl/operators.exp
910 * gdb.opencl/vec_comps.exp
911 * gdb.opt/clobbered-registers-O2.exp
912 * gdb.opt/inline-break.exp
913 * gdb.opt/inline-bt.exp
914 * gdb.opt/inline-cmds.exp
915 * gdb.opt/inline-locals.exp
916 * gdb.pascal/case-insensitive-symbols.exp
917 * gdb.pascal/floats.exp
918 * gdb.pascal/gdb11492.exp
919 * gdb.python/lib-types.exp
920 * gdb.python/py-arch.exp
921 * gdb.python/py-as-string.exp
922 * gdb.python/py-bad-printers.exp
923 * gdb.python/py-block.exp
924 * gdb.python/py-breakpoint-create-fail.exp
925 * gdb.python/py-breakpoint.exp
926 * gdb.python/py-caller-is.exp
927 * gdb.python/py-cmd.exp
928 * gdb.python/py-explore-cc.exp
929 * gdb.python/py-explore.exp
930 * gdb.python/py-finish-breakpoint.exp
931 * gdb.python/py-finish-breakpoint2.exp
932 * gdb.python/py-frame-args.exp
933 * gdb.python/py-frame-inline.exp
934 * gdb.python/py-frame.exp
935 * gdb.python/py-framefilter-mi.exp
936 * gdb.python/py-infthread.exp
937 * gdb.python/py-lazy-string.exp
938 * gdb.python/py-linetable.exp
939 * gdb.python/py-mi-events.exp
940 * gdb.python/py-mi-objfile.exp
941 * gdb.python/py-mi.exp
942 * gdb.python/py-objfile.exp
943 * gdb.python/py-pp-integral.exp
944 * gdb.python/py-pp-maint.exp
945 * gdb.python/py-pp-re-notag.exp
946 * gdb.python/py-pp-registration.exp
947 * gdb.python/py-recurse-unwind.exp
948 * gdb.python/py-strfns.exp
949 * gdb.python/py-symbol.exp
950 * gdb.python/py-symtab.exp
951 * gdb.python/py-sync-interp.exp
952 * gdb.python/py-typeprint.exp
953 * gdb.python/py-unwind-maint.exp
954 * gdb.python/py-unwind.exp
955 * gdb.python/py-value-cc.exp
956 * gdb.python/py-xmethods.exp
957 * gdb.reverse/amd64-tailcall-reverse.exp
958 * gdb.reverse/break-precsave.exp
959 * gdb.reverse/break-reverse.exp
960 * gdb.reverse/consecutive-precsave.exp
961 * gdb.reverse/consecutive-reverse.exp
962 * gdb.reverse/finish-precsave.exp
963 * gdb.reverse/finish-reverse-bkpt.exp
964 * gdb.reverse/finish-reverse.exp
965 * gdb.reverse/fstatat-reverse.exp
966 * gdb.reverse/getresuid-reverse.exp
967 * gdb.reverse/i386-precsave.exp
968 * gdb.reverse/i386-reverse.exp
969 * gdb.reverse/i386-sse-reverse.exp
970 * gdb.reverse/i387-env-reverse.exp
971 * gdb.reverse/i387-stack-reverse.exp
972 * gdb.reverse/insn-reverse.exp
973 * gdb.reverse/machinestate-precsave.exp
974 * gdb.reverse/machinestate.exp
975 * gdb.reverse/next-reverse-bkpt-over-sr.exp
976 * gdb.reverse/pipe-reverse.exp
977 * gdb.reverse/readv-reverse.exp
978 * gdb.reverse/recvmsg-reverse.exp
979 * gdb.reverse/rerun-prec.exp
980 * gdb.reverse/s390-mvcle.exp
981 * gdb.reverse/step-precsave.exp
982 * gdb.reverse/step-reverse.exp
983 * gdb.reverse/time-reverse.exp
984 * gdb.reverse/until-precsave.exp
985 * gdb.reverse/until-reverse.exp
986 * gdb.reverse/waitpid-reverse.exp
987 * gdb.reverse/watch-precsave.exp
988 * gdb.reverse/watch-reverse.exp
989 * gdb.rust/generics.exp
990 * gdb.rust/methods.exp
991 * gdb.rust/modules.exp
992 * gdb.rust/simple.exp
993 * gdb.server/connect-with-no-symbol-file.exp
994 * gdb.server/ext-attach.exp
995 * gdb.server/ext-restart.exp
996 * gdb.server/ext-wrapper.exp
997 * gdb.server/file-transfer.exp
998 * gdb.server/server-exec-info.exp
999 * gdb.server/server-kill.exp
1000 * gdb.server/server-mon.exp
1001 * gdb.server/wrapper.exp
1002 * gdb.stabs/exclfwd.exp
1003 * gdb.stabs/gdb11479.exp
1004 * gdb.threads/clone-new-thread-event.exp
1005 * gdb.threads/corethreads.exp
1006 * gdb.threads/current-lwp-dead.exp
1007 * gdb.threads/dlopen-libpthread.exp
1008 * gdb.threads/gcore-thread.exp
1009 * gdb.threads/sigstep-threads.exp
1010 * gdb.threads/watchpoint-fork.exp
1011 * gdb.trace/actions-changed.exp
1012 * gdb.trace/backtrace.exp
1013 * gdb.trace/change-loc.exp
1014 * gdb.trace/circ.exp
1015 * gdb.trace/collection.exp
1016 * gdb.trace/disconnected-tracing.exp
1017 * gdb.trace/ftrace.exp
1018 * gdb.trace/mi-trace-frame-collected.exp
1019 * gdb.trace/mi-trace-unavailable.exp
1020 * gdb.trace/mi-traceframe-changed.exp
1021 * gdb.trace/mi-tsv-changed.exp
1022 * gdb.trace/no-attach-trace.exp
1023 * gdb.trace/passc-dyn.exp
1024 * gdb.trace/qtro.exp
1025 * gdb.trace/range-stepping.exp
1026 * gdb.trace/read-memory.exp
1027 * gdb.trace/save-trace.exp
1028 * gdb.trace/signal.exp
1029 * gdb.trace/status-stop.exp
1030 * gdb.trace/tfile.exp
1031 * gdb.trace/trace-break.exp
1032 * gdb.trace/trace-buffer-size.exp
1033 * gdb.trace/trace-condition.exp
1034 * gdb.trace/tracefile-pseudo-reg.exp
1035 * gdb.trace/tstatus.exp
1036 * gdb.trace/unavailable.exp
1037 * gdb.trace/while-dyn.exp
1038 * gdb.trace/while-stepping.exp
1040 2016-12-22 Doug Evans <xdje42@gmail.com>
1042 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1045 2016-12-19 Yao Qi <yao.qi@linaro.org>
1047 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1048 (test_with_self): Don't call do_steps_and_nexts, and remove
1049 code about stepping into xmalloc.
1051 2016-12-09 Yao Qi <yao.qi@linaro.org>
1053 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1055 2016-12-09 Yao Qi <yao.qi@linaro.org>
1057 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1059 2016-12-09 Pedro Alves <palves@redhat.com>
1061 * gdb.base/all-architectures-0.exp: New file.
1062 * gdb.base/all-architectures-1.exp: New file.
1063 * gdb.base/all-architectures-2.exp: New file.
1064 * gdb.base/all-architectures-3.exp: New file.
1065 * gdb.base/all-architectures-4.exp: New file.
1066 * gdb.base/all-architectures-5.exp: New file.
1067 * gdb.base/all-architectures-6.exp: New file.
1068 * gdb.base/all-architectures-7.exp: New file.
1069 * gdb.base/all-architectures.exp.in: New file.
1071 2016-12-09 Yao Qi <yao.qi@linaro.org>
1073 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1075 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1077 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1079 Remove useless pattern-matching code.
1081 2016-12-02 Pedro Alves <palves@redhat.com>
1083 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1085 (top level): Call it.
1087 2016-12-02 Pedro Alves <palves@redhat.com>
1089 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1091 (top level): Call it.
1093 2016-12-02 Pedro Alves <palves@redhat.com>
1096 * gdb.base/commands.exp (user_defined_command_args_eval): New
1098 (top level): Call it.
1100 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1102 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1105 2016-12-02 Tom Tromey <tom@tromey.com>
1107 * gdb.dwarf2/main-subprogram.c: New file.
1108 * gdb.dwarf2/main-subprogram.exp: New file.
1110 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1112 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1113 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1114 gdb_test_no_output for a couple of cases.
1115 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1117 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1119 Fix test names and standardize compilation error messages throughout
1120 the following files:
1123 * gdb.arch/alpha-step.exp
1124 * gdb.arch/e500-prologue.exp
1125 * gdb.arch/ftrace-insn-reloc.exp
1126 * gdb.arch/gdb1291.exp
1127 * gdb.arch/gdb1431.exp
1128 * gdb.arch/gdb1558.exp
1129 * gdb.arch/i386-dr3-watch.exp
1130 * gdb.arch/i386-sse-stack-align.exp
1131 * gdb.arch/ia64-breakpoint-shadow.exp
1132 * gdb.arch/pa-nullify.exp
1133 * gdb.arch/powerpc-aix-prologue.exp
1134 * gdb.arch/thumb-bx-pc.exp
1135 * gdb.base/annota1.exp
1136 * gdb.base/annota3.exp
1137 * gdb.base/arrayidx.exp
1138 * gdb.base/assign.exp
1139 * gdb.base/attach.exp
1142 * gdb.base/bfp-test.exp
1143 * gdb.base/bigcore.exp
1144 * gdb.base/bitfields2.exp
1145 * gdb.base/break-fun-addr.exp
1146 * gdb.base/break-probes.exp
1147 * gdb.base/call-rt-st.exp
1148 * gdb.base/callexit.exp
1149 * gdb.base/catch-fork-kill.exp
1150 * gdb.base/charset.exp
1151 * gdb.base/checkpoint.exp
1152 * gdb.base/comprdebug.exp
1153 * gdb.base/constvars.exp
1154 * gdb.base/coredump-filter.exp
1155 * gdb.base/cursal.exp
1156 * gdb.base/cvexpr.exp
1157 * gdb.base/detach.exp
1158 * gdb.base/display.exp
1159 * gdb.base/dmsym.exp
1160 * gdb.base/dprintf-pending.exp
1161 * gdb.base/dso2dso.exp
1162 * gdb.base/dtrace-probe.exp
1164 * gdb.base/enum_cond.exp
1165 * gdb.base/exe-lock.exp
1166 * gdb.base/exec-invalid-sysroot.exp
1167 * gdb.base/execl-update-breakpoints.exp
1168 * gdb.base/exprs.exp
1169 * gdb.base/fileio.exp
1171 * gdb.base/finish.exp
1172 * gdb.base/fixsection.exp
1173 * gdb.base/foll-vfork.exp
1174 * gdb.base/frame-args.exp
1175 * gdb.base/gcore.exp
1176 * gdb.base/gdb1250.exp
1177 * gdb.base/global-var-nested-by-dso.exp
1178 * gdb.base/gnu-ifunc.exp
1179 * gdb.base/hashline1.exp
1180 * gdb.base/hashline2.exp
1181 * gdb.base/hashline3.exp
1182 * gdb.base/hbreak-in-shr-unsupported.exp
1184 * gdb.base/infcall-input.exp
1185 * gdb.base/info-fun.exp
1186 * gdb.base/info-shared.exp
1187 * gdb.base/jit-simple.exp
1188 * gdb.base/jit-so.exp
1191 * gdb.base/label.exp
1192 * gdb.base/lineinc.exp
1193 * gdb.base/logical.exp
1194 * gdb.base/longjmp.exp
1195 * gdb.base/macscp.exp
1196 * gdb.base/miscexprs.exp
1197 * gdb.base/new-ui-echo.exp
1198 * gdb.base/new-ui-pending-input.exp
1199 * gdb.base/new-ui.exp
1200 * gdb.base/nodebug.exp
1201 * gdb.base/nofield.exp
1202 * gdb.base/offsets.exp
1203 * gdb.base/overlays.exp
1204 * gdb.base/pending.exp
1205 * gdb.base/pointers.exp
1206 * gdb.base/pr11022.exp
1207 * gdb.base/printcmds.exp
1208 * gdb.base/prologue.exp
1209 * gdb.base/ptr-typedef.exp
1210 * gdb.base/realname-expand.exp
1211 * gdb.base/relativedebug.exp
1212 * gdb.base/relocate.exp
1213 * gdb.base/remote.exp
1214 * gdb.base/reread.exp
1215 * gdb.base/return2.exp
1216 * gdb.base/savedregs.exp
1218 * gdb.base/sepdebug.exp
1219 * gdb.base/sepsymtab.exp
1220 * gdb.base/set-inferior-tty.exp
1221 * gdb.base/setshow.exp
1222 * gdb.base/shlib-call.exp
1223 * gdb.base/sigaltstack.exp
1224 * gdb.base/siginfo-addr.exp
1225 * gdb.base/signals.exp
1226 * gdb.base/signull.exp
1227 * gdb.base/sigrepeat.exp
1228 * gdb.base/so-impl-ld.exp
1229 * gdb.base/solib-display.exp
1230 * gdb.base/solib-overlap.exp
1231 * gdb.base/solib-search.exp
1232 * gdb.base/solib-symbol.exp
1233 * gdb.base/structs.exp
1234 * gdb.base/structs2.exp
1235 * gdb.base/symtab-search-order.exp
1236 * gdb.base/twice.exp
1237 * gdb.base/unload.exp
1238 * gdb.base/varargs.exp
1239 * gdb.base/watchpoint-solib.exp
1240 * gdb.base/watchpoint.exp
1241 * gdb.base/whatis.exp
1242 * gdb.base/wrong_frame_bt_full.exp
1243 * gdb.btrace/dlopen.exp
1244 * gdb.cell/ea-standalone.exp
1245 * gdb.cell/ea-test.exp
1246 * gdb.cp/dispcxx.exp
1247 * gdb.cp/gdb2384.exp
1248 * gdb.cp/method2.exp
1249 * gdb.cp/nextoverthrow.exp
1250 * gdb.cp/pr10728.exp
1251 * gdb.disasm/am33.exp
1252 * gdb.disasm/h8300s.exp
1253 * gdb.disasm/mn10300.exp
1254 * gdb.disasm/sh3.exp
1255 * gdb.dwarf2/dw2-dir-file-name.exp
1256 * gdb.fortran/complex.exp
1257 * gdb.fortran/library-module.exp
1258 * gdb.guile/scm-pretty-print.exp
1259 * gdb.guile/scm-symbol.exp
1260 * gdb.guile/scm-type.exp
1261 * gdb.guile/scm-value.exp
1262 * gdb.linespec/linespec.exp
1265 * gdb.mi/mi-breakpoint-changed.exp
1266 * gdb.mi/mi-dprintf-pending.exp
1267 * gdb.mi/mi-dprintf.exp
1268 * gdb.mi/mi-exit-code.exp
1269 * gdb.mi/mi-pending.exp
1270 * gdb.mi/mi-solib.exp
1271 * gdb.mi/new-ui-mi-sync.exp
1272 * gdb.mi/pr11022.exp
1273 * gdb.mi/user-selected-context-sync.exp
1274 * gdb.opt/solib-intra-step.exp
1275 * gdb.python/py-events.exp
1276 * gdb.python/py-finish-breakpoint.exp
1277 * gdb.python/py-mi.exp
1278 * gdb.python/py-prettyprint.exp
1279 * gdb.python/py-shared.exp
1280 * gdb.python/py-symbol.exp
1281 * gdb.python/py-template.exp
1282 * gdb.python/py-type.exp
1283 * gdb.python/py-value.exp
1284 * gdb.reverse/solib-precsave.exp
1285 * gdb.reverse/solib-reverse.exp
1286 * gdb.server/solib-list.exp
1287 * gdb.stabs/weird.exp
1288 * gdb.threads/reconnect-signal.exp
1289 * gdb.threads/stepi-random-signal.exp
1290 * gdb.trace/actions.exp
1292 * gdb.trace/backtrace.exp
1293 * gdb.trace/change-loc.exp
1294 * gdb.trace/deltrace.exp
1295 * gdb.trace/ftrace-lock.exp
1296 * gdb.trace/ftrace.exp
1297 * gdb.trace/infotrace.exp
1298 * gdb.trace/mi-tracepoint-changed.exp
1299 * gdb.trace/packetlen.exp
1300 * gdb.trace/passcount.exp
1301 * gdb.trace/pending.exp
1302 * gdb.trace/range-stepping.exp
1303 * gdb.trace/report.exp
1304 * gdb.trace/stap-trace.exp
1305 * gdb.trace/tfind.exp
1306 * gdb.trace/trace-break.exp
1307 * gdb.trace/trace-condition.exp
1308 * gdb.trace/trace-enable-disable.exp
1309 * gdb.trace/trace-mt.exp
1310 * gdb.trace/tracecmd.exp
1311 * gdb.trace/tspeed.exp
1315 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1317 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1318 with gdb_test_no_output.
1319 Use command as test name.
1321 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1323 Fix test names starting with uppercase throughout the files.
1325 * gdb.ada/assign_1.exp
1326 * gdb.ada/boolean_expr.exp
1327 * gdb.base/arrayidx.exp
1329 * gdb.base/gcore-buffer-overflow.exp
1330 * gdb.base/testenv.exp
1331 * gdb.compile/compile.exp
1332 * gdb.python/py-framefilter-invalidarg.exp
1333 * gdb.python/py-framefilter.exp
1335 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1337 Fix test names starting with uppercase throughout the files.
1339 * gdb.ada/array_return.exp
1340 * gdb.ada/expr_delims.exp
1341 * gdb.ada/mi_dyn_arr.exp
1342 * gdb.ada/mi_interface.exp
1343 * gdb.ada/mi_var_array.exp
1344 * gdb.ada/watch_arg.exp
1345 * gdb.arch/alpha-step.exp
1346 * gdb.arch/altivec-regs.exp
1347 * gdb.arch/e500-regs.exp
1348 * gdb.arch/powerpc-d128-regs.exp
1349 * gdb.base/arrayidx.exp
1350 * gdb.base/break.exp
1351 * gdb.base/checkpoint.exp
1352 * gdb.base/debug-expr.exp
1353 * gdb.base/dmsym.exp
1354 * gdb.base/radix.exp
1355 * gdb.base/sepdebug.exp
1356 * gdb.base/testenv.exp
1357 * gdb.base/watch_thread_num.exp
1358 * gdb.base/watchpoint-cond-gone.exp
1359 * gdb.cell/break.exp
1360 * gdb.cell/ea-cache.exp
1361 * gdb.compile/compile.exp
1362 * gdb.cp/gdb2495.exp
1363 * gdb.gdb/selftest.exp
1364 * gdb.gdb/xfullpath.exp
1366 * gdb.go/integers.exp
1367 * gdb.objc/basicclass.exp
1368 * gdb.pascal/hello.exp
1369 * gdb.pascal/integers.exp
1370 * gdb.python/py-breakpoint.exp
1371 * gdb.python/py-cmd.exp
1372 * gdb.python/py-linetable.exp
1373 * gdb.python/py-xmethods.exp
1374 * gdb.python/python.exp
1375 * gdb.reverse/consecutive-precsave.exp
1376 * gdb.reverse/finish-precsave.exp
1377 * gdb.reverse/i386-precsave.exp
1378 * gdb.reverse/machinestate-precsave.exp
1379 * gdb.reverse/sigall-precsave.exp
1380 * gdb.reverse/solib-precsave.exp
1381 * gdb.reverse/step-precsave.exp
1382 * gdb.reverse/until-precsave.exp
1383 * gdb.reverse/watch-precsave.exp
1384 * gdb.threads/leader-exit.exp
1385 * gdb.threads/pthreads.exp
1386 * gdb.threads/wp-replication.exp
1387 * gdb.trace/actions.exp
1388 * gdb.trace/mi-tsv-changed.exp
1391 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1393 Fix test names starting with uppercase throughout the files.
1395 * gdb.arch/i386-bp_permanent.exp
1396 * gdb.arch/i386-gnu-cfi.exp
1397 * gdb.base/disasm-end-cu.exp
1398 * gdb.base/macscp.exp
1399 * gdb.base/pending.exp
1400 * gdb.base/watch_thread_num.exp
1401 * gdb.cp/exception.exp
1402 * gdb.cp/gdb2495.exp
1404 * gdb.python/py-evsignal.exp
1405 * gdb.python/python.exp
1406 * gdb.trace/tracecmd.exp
1408 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1410 Fix test names starting with uppercase throughout the files.
1412 * gdb.base/charset.exp
1414 * gdb.base/multi-forks.exp
1415 * gdb.guile/scm-progspace.exp
1416 * gdb.opencl/datatypes.exp
1417 * gdb.python/py-block.exp
1418 * gdb.python/py-function.exp
1419 * gdb.python/py-symbol.exp
1420 * gdb.python/py-symtab.exp
1421 * gdb.python/py-xmethods.exp
1422 * gdb.reverse/break-precsave.exp
1423 * gdb.reverse/break-reverse.exp
1424 * gdb.reverse/consecutive-precsave.exp
1425 * gdb.reverse/consecutive-reverse.exp
1426 * gdb.reverse/finish-precsave.exp
1427 * gdb.reverse/finish-reverse-bkpt.exp
1428 * gdb.reverse/finish-reverse.exp
1429 * gdb.reverse/fstatat-reverse.exp
1430 * gdb.reverse/getresuid-reverse.exp
1431 * gdb.reverse/i386-precsave.exp
1432 * gdb.reverse/i386-reverse.exp
1433 * gdb.reverse/i386-sse-reverse.exp
1434 * gdb.reverse/i387-stack-reverse.exp
1435 * gdb.reverse/insn-reverse.exp
1436 * gdb.reverse/machinestate-precsave.exp
1437 * gdb.reverse/machinestate.exp
1438 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1439 * gdb.reverse/pipe-reverse.exp
1440 * gdb.reverse/readv-reverse.exp
1441 * gdb.reverse/recvmsg-reverse.exp
1442 * gdb.reverse/rerun-prec.exp
1443 * gdb.reverse/s390-mvcle.exp
1444 * gdb.reverse/sigall-precsave.exp
1445 * gdb.reverse/sigall-reverse.exp
1446 * gdb.reverse/solib-precsave.exp
1447 * gdb.reverse/solib-reverse.exp
1448 * gdb.reverse/step-precsave.exp
1449 * gdb.reverse/step-reverse.exp
1450 * gdb.reverse/time-reverse.exp
1451 * gdb.reverse/until-precsave.exp
1452 * gdb.reverse/until-reverse.exp
1453 * gdb.reverse/waitpid-reverse.exp
1454 * gdb.reverse/watch-precsave.exp
1455 * gdb.reverse/watch-reverse.exp
1457 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1459 Fix test names starting with uppercase throughout the files.
1461 * gdb.arch/i386-mpx-simple_segv.exp
1462 * gdb.arch/i386-mpx.exp
1463 * gdb.arch/i386-permbkpt.exp
1464 * gdb.arch/pa-nullify.exp
1465 * gdb.arch/powerpc-d128-regs.exp
1466 * gdb.arch/vsx-regs.exp
1467 * gdb.base/bfp-test.exp
1468 * gdb.base/break.exp
1469 * gdb.base/breakpoint-shadow.exp
1470 * gdb.base/callfuncs.exp
1471 * gdb.base/charset.exp
1472 * gdb.base/commands.exp
1473 * gdb.base/completion.exp
1474 * gdb.base/dfp-test.exp
1476 * gdb.base/ending-run.exp
1478 * gdb.base/expand-psymtabs.exp
1479 * gdb.base/float128.exp
1480 * gdb.base/floatn.exp
1481 * gdb.base/foll-exec-mode.exp
1482 * gdb.base/gdb1056.exp
1483 * gdb.base/gdb11531.exp
1484 * gdb.base/kill-after-signal.exp
1485 * gdb.base/multi-forks.exp
1486 * gdb.base/overlays.exp
1487 * gdb.base/pending.exp
1488 * gdb.base/sepdebug.exp
1489 * gdb.base/testenv.exp
1490 * gdb.base/valgrind-db-attach.exp
1491 * gdb.base/watch_thread_num.exp
1492 * gdb.base/watchpoint-cond-gone.exp
1493 * gdb.base/watchpoint.exp
1494 * gdb.base/watchpoints.exp
1495 * gdb.cp/arg-reference.exp
1496 * gdb.cp/baseenum.exp
1497 * gdb.cp/operator.exp
1499 * gdb.dwarf2/dw2-op-out-param.exp
1500 * gdb.dwarf2/dw2-reg-undefined.exp
1503 * gdb.go/integers.exp
1504 * gdb.go/methods.exp
1505 * gdb.go/package.exp
1506 * gdb.guile/scm-parameter.exp
1507 * gdb.guile/scm-progspace.exp
1508 * gdb.guile/scm-value.exp
1509 * gdb.mi/mi-pending.exp
1510 * gdb.mi/user-selected-context-sync.exp
1511 * gdb.multi/multi-attach.exp
1512 * gdb.multi/tids.exp
1513 * gdb.opt/clobbered-registers-O2.exp
1514 * gdb.pascal/floats.exp
1515 * gdb.pascal/integers.exp
1516 * gdb.python/py-block.exp
1517 * gdb.python/py-events.exp
1518 * gdb.python/py-parameter.exp
1519 * gdb.python/py-symbol.exp
1520 * gdb.python/py-symtab.exp
1521 * gdb.python/py-type.exp
1522 * gdb.python/py-value.exp
1523 * gdb.python/py-xmethods.exp
1524 * gdb.python/python.exp
1525 * gdb.reverse/break-precsave.exp
1526 * gdb.reverse/consecutive-precsave.exp
1527 * gdb.reverse/finish-precsave.exp
1528 * gdb.reverse/i386-precsave.exp
1529 * gdb.reverse/machinestate-precsave.exp
1530 * gdb.reverse/sigall-precsave.exp
1531 * gdb.reverse/solib-precsave.exp
1532 * gdb.reverse/step-precsave.exp
1533 * gdb.reverse/until-precsave.exp
1534 * gdb.reverse/watch-precsave.exp
1535 * gdb.server/ext-attach.exp
1536 * gdb.server/ext-restart.exp
1537 * gdb.server/ext-run.exp
1538 * gdb.server/ext-wrapper.exp
1539 * gdb.stabs/gdb11479.exp
1540 * gdb.stabs/weird.exp
1541 * gdb.threads/attach-many-short-lived-threads.exp
1542 * gdb.threads/kill.exp
1543 * gdb.threads/watchpoint-fork.exp
1545 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1547 Fix test names starting with uppercase throughout all the files below.
1549 * gdb.ada/array_return.exp
1550 * gdb.ada/catch_ex.exp
1551 * gdb.ada/info_exc.exp
1552 * gdb.ada/mi_catch_ex.exp
1553 * gdb.ada/mi_dyn_arr.exp
1554 * gdb.ada/mi_ex_cond.exp
1555 * gdb.ada/mi_exc_info.exp
1556 * gdb.ada/mi_interface.exp
1557 * gdb.ada/mi_task_arg.exp
1558 * gdb.ada/mi_task_info.exp
1559 * gdb.ada/mi_var_array.exp
1560 * gdb.arch/alpha-step.exp
1561 * gdb.arch/amd64-disp-step.exp
1562 * gdb.arch/arm-disp-step.exp
1563 * gdb.arch/disp-step-insn-reloc.exp
1564 * gdb.arch/e500-prologue.exp
1565 * gdb.arch/ftrace-insn-reloc.exp
1566 * gdb.arch/gdb1558.exp
1567 * gdb.arch/i386-bp_permanent.exp
1568 * gdb.arch/i386-disp-step.exp
1569 * gdb.arch/i386-float.exp
1570 * gdb.arch/i386-gnu-cfi.exp
1571 * gdb.arch/ia64-breakpoint-shadow.exp
1572 * gdb.arch/mips16-thunks.exp
1573 * gdb.arch/pa-nullify.exp
1574 * gdb.arch/powerpc-aix-prologue.exp
1575 * gdb.arch/powerpc-power.exp
1576 * gdb.arch/ppc-dfp.exp
1577 * gdb.arch/s390-tdbregs.exp
1578 * gdb.arch/spu-info.exp
1579 * gdb.arch/spu-ls.exp
1580 * gdb.arch/thumb-bx-pc.exp
1581 * gdb.base/advance.exp
1582 * gdb.base/annota-input-while-running.exp
1583 * gdb.base/arrayidx.exp
1584 * gdb.base/asmlabel.exp
1585 * gdb.base/async.exp
1586 * gdb.base/attach-wait-input.exp
1587 * gdb.base/auto-connect-native-target.exp
1588 * gdb.base/batch-preserve-term-settings.exp
1589 * gdb.base/bfp-test.exp
1590 * gdb.base/bigcore.exp
1591 * gdb.base/bp-permanent.exp
1592 * gdb.base/break-always.exp
1593 * gdb.base/break-fun-addr.exp
1594 * gdb.base/break-idempotent.exp
1595 * gdb.base/break-main-file-remove-fail.exp
1596 * gdb.base/break-probes.exp
1597 * gdb.base/break-unload-file.exp
1598 * gdb.base/break.exp
1599 * gdb.base/call-ar-st.exp
1600 * gdb.base/call-rt-st.exp
1601 * gdb.base/call-sc.exp
1602 * gdb.base/call-signal-resume.exp
1603 * gdb.base/call-strs.exp
1604 * gdb.base/callexit.exp
1605 * gdb.base/callfuncs.exp
1606 * gdb.base/catch-gdb-caused-signals.exp
1607 * gdb.base/catch-signal-siginfo-cond.exp
1608 * gdb.base/catch-syscall.exp
1609 * gdb.base/compare-sections.exp
1610 * gdb.base/cond-eval-mode.exp
1611 * gdb.base/condbreak-call-false.exp
1612 * gdb.base/consecutive-step-over.exp
1613 * gdb.base/cursal.exp
1614 * gdb.base/disabled-location.exp
1615 * gdb.base/disasm-end-cu.exp
1616 * gdb.base/display.exp
1617 * gdb.base/double-prompt-target-event-error.exp
1618 * gdb.base/dprintf-bp-same-addr.exp
1619 * gdb.base/dprintf-detach.exp
1620 * gdb.base/dprintf-next.exp
1621 * gdb.base/dprintf-non-stop.exp
1622 * gdb.base/dprintf-pending.exp
1623 * gdb.base/dso2dso.exp
1624 * gdb.base/ending-run.exp
1625 * gdb.base/enum_cond.exp
1626 * gdb.base/examine-backward.exp
1627 * gdb.base/exe-lock.exp
1628 * gdb.base/exec-invalid-sysroot.exp
1629 * gdb.base/execl-update-breakpoints.exp
1630 * gdb.base/execution-termios.exp
1631 * gdb.base/fileio.exp
1632 * gdb.base/fixsection.exp
1633 * gdb.base/foll-exec-mode.exp
1634 * gdb.base/foll-exec.exp
1635 * gdb.base/fork-running-state.exp
1636 * gdb.base/frame-args.exp
1637 * gdb.base/fullpath-expand.exp
1638 * gdb.base/func-ptr.exp
1639 * gdb.base/gcore-relro-pie.exp
1640 * gdb.base/gdb1090.exp
1641 * gdb.base/gdb1555.exp
1642 * gdb.base/global-var-nested-by-dso.exp
1643 * gdb.base/gnu-ifunc.exp
1644 * gdb.base/hbreak-in-shr-unsupported.exp
1645 * gdb.base/hbreak-unmapped.exp
1646 * gdb.base/hook-stop.exp
1647 * gdb.base/infcall-input.exp
1648 * gdb.base/info-fun.exp
1649 * gdb.base/info-shared.exp
1650 * gdb.base/interrupt-noterm.exp
1651 * gdb.base/jit-so.exp
1653 * gdb.base/line-symtabs.exp
1655 * gdb.base/longjmp.exp
1656 * gdb.base/macscp.exp
1657 * gdb.base/max-value-size.exp
1658 * gdb.base/nodebug.exp
1659 * gdb.base/nofield.exp
1660 * gdb.base/overlays.exp
1661 * gdb.base/paginate-after-ctrl-c-running.exp
1662 * gdb.base/paginate-bg-execution.exp
1663 * gdb.base/paginate-inferior-exit.exp
1664 * gdb.base/pending.exp
1665 * gdb.base/pr11022.exp
1666 * gdb.base/printcmds.exp
1667 * gdb.base/ptr-typedef.exp
1668 * gdb.base/ptype.exp
1669 * gdb.base/randomize.exp
1670 * gdb.base/range-stepping.exp
1671 * gdb.base/realname-expand.exp
1672 * gdb.base/relativedebug.exp
1673 * gdb.base/remote.exp
1674 * gdb.base/savedregs.exp
1675 * gdb.base/sepdebug.exp
1676 * gdb.base/set-noassign.exp
1677 * gdb.base/shlib-call.exp
1678 * gdb.base/shreloc.exp
1679 * gdb.base/sigaltstack.exp
1680 * gdb.base/sigbpt.exp
1681 * gdb.base/siginfo-addr.exp
1682 * gdb.base/siginfo-obj.exp
1683 * gdb.base/siginfo-thread.exp
1684 * gdb.base/signest.exp
1685 * gdb.base/signull.exp
1686 * gdb.base/sigrepeat.exp
1688 * gdb.base/so-impl-ld.exp
1689 * gdb.base/solib-corrupted.exp
1690 * gdb.base/solib-disc.exp
1691 * gdb.base/solib-display.exp
1692 * gdb.base/solib-overlap.exp
1693 * gdb.base/solib-search.exp
1694 * gdb.base/solib-symbol.exp
1695 * gdb.base/source-execution.exp
1696 * gdb.base/sss-bp-on-user-bp-2.exp
1697 * gdb.base/sss-bp-on-user-bp.exp
1698 * gdb.base/stack-checking.exp
1699 * gdb.base/stale-infcall.exp
1700 * gdb.base/step-break.exp
1701 * gdb.base/step-line.exp
1702 * gdb.base/step-over-exit.exp
1703 * gdb.base/step-test.exp
1704 * gdb.base/structs.exp
1705 * gdb.base/sym-file.exp
1706 * gdb.base/symtab-search-order.exp
1708 * gdb.base/type-opaque.exp
1709 * gdb.base/unload.exp
1710 * gdb.base/until-nodebug.exp
1711 * gdb.base/until.exp
1712 * gdb.base/unwindonsignal.exp
1713 * gdb.base/watch-cond.exp
1714 * gdb.base/watch-non-mem.exp
1715 * gdb.base/watch_thread_num.exp
1716 * gdb.base/watchpoint-reuse-slot.exp
1717 * gdb.base/watchpoint-solib.exp
1718 * gdb.base/watchpoint.exp
1719 * gdb.btrace/dlopen.exp
1721 * gdb.cell/break.exp
1725 * gdb.cell/dwarfaddr.exp
1726 * gdb.cell/ea-cache.exp
1727 * gdb.cell/ea-standalone.exp
1728 * gdb.cell/ea-test.exp
1729 * gdb.cell/f-regs.exp
1731 * gdb.cell/gcore.exp
1732 * gdb.cell/mem-access.exp
1733 * gdb.cell/ptype.exp
1734 * gdb.cell/registers.exp
1735 * gdb.cell/sizeof.exp
1736 * gdb.cell/solib-symbol.exp
1737 * gdb.cell/solib.exp
1738 * gdb.compile/compile-tls.exp
1739 * gdb.cp/exception.exp
1740 * gdb.cp/gdb2495.exp
1742 * gdb.cp/mb-inline.exp
1743 * gdb.cp/mb-templates.exp
1744 * gdb.cp/pr10687.exp
1746 * gdb.cp/scope-err.exp
1747 * gdb.cp/templates.exp
1748 * gdb.cp/virtfunc.exp
1749 * gdb.dwarf2/dw2-dir-file-name.exp
1750 * gdb.dwarf2/dw2-single-line-discriminators.exp
1751 * gdb.fortran/complex.exp
1752 * gdb.fortran/library-module.exp
1753 * gdb.guile/guile.exp
1754 * gdb.guile/scm-cmd.exp
1755 * gdb.guile/scm-frame-inline.exp
1756 * gdb.guile/scm-objfile.exp
1757 * gdb.guile/scm-pretty-print.exp
1758 * gdb.guile/scm-symbol.exp
1759 * gdb.guile/scm-type.exp
1760 * gdb.guile/scm-value.exp
1761 * gdb.linespec/keywords.exp
1762 * gdb.linespec/ls-errs.exp
1763 * gdb.linespec/macro-relative.exp
1764 * gdb.linespec/thread.exp
1765 * gdb.mi/mi-breakpoint-changed.exp
1766 * gdb.mi/mi-dprintf-pending.exp
1767 * gdb.mi/mi-fullname-deleted.exp
1768 * gdb.mi/mi-logging.exp
1769 * gdb.mi/mi-pending.exp
1770 * gdb.mi/mi-solib.exp
1771 * gdb.mi/new-ui-mi-sync.exp
1772 * gdb.mi/user-selected-context-sync.exp
1773 * gdb.multi/dummy-frame-restore.exp
1774 * gdb.multi/multi-arch-exec.exp
1775 * gdb.multi/remove-inferiors.exp
1776 * gdb.multi/watchpoint-multi-exit.exp
1777 * gdb.opt/solib-intra-step.exp
1778 * gdb.perf/backtrace.exp
1779 * gdb.perf/single-step.exp
1780 * gdb.perf/skip-command.exp
1781 * gdb.perf/skip-prologue.exp
1782 * gdb.perf/solib.exp
1783 * gdb.python/lib-types.exp
1784 * gdb.python/py-as-string.exp
1785 * gdb.python/py-bad-printers.exp
1786 * gdb.python/py-block.exp
1787 * gdb.python/py-breakpoint.exp
1788 * gdb.python/py-cmd.exp
1789 * gdb.python/py-events.exp
1790 * gdb.python/py-evthreads.exp
1791 * gdb.python/py-finish-breakpoint.exp
1792 * gdb.python/py-finish-breakpoint2.exp
1793 * gdb.python/py-frame-inline.exp
1794 * gdb.python/py-frame.exp
1795 * gdb.python/py-inferior.exp
1796 * gdb.python/py-infthread.exp
1797 * gdb.python/py-mi.exp
1798 * gdb.python/py-objfile.exp
1799 * gdb.python/py-pp-maint.exp
1800 * gdb.python/py-pp-registration.exp
1801 * gdb.python/py-prettyprint.exp
1802 * gdb.python/py-recurse-unwind.exp
1803 * gdb.python/py-shared.exp
1804 * gdb.python/py-symbol.exp
1805 * gdb.python/py-symtab.exp
1806 * gdb.python/py-template.exp
1807 * gdb.python/py-type.exp
1808 * gdb.python/py-unwind-maint.exp
1809 * gdb.python/py-unwind.exp
1810 * gdb.python/py-value.exp
1811 * gdb.python/python.exp
1812 * gdb.reverse/finish-reverse-bkpt.exp
1813 * gdb.reverse/insn-reverse.exp
1814 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1815 * gdb.reverse/solib-precsave.exp
1816 * gdb.reverse/solib-reverse.exp
1817 * gdb.stabs/gdb11479.exp
1818 * gdb.stabs/weird.exp
1819 * gdb.threads/fork-child-threads.exp
1820 * gdb.threads/fork-plus-threads.exp
1821 * gdb.threads/fork-thread-pending.exp
1822 * gdb.threads/forking-threads-plus-breakpoint.exp
1823 * gdb.threads/hand-call-in-threads.exp
1824 * gdb.threads/interrupted-hand-call.exp
1825 * gdb.threads/linux-dp.exp
1826 * gdb.threads/local-watch-wrong-thread.exp
1827 * gdb.threads/next-while-other-thread-longjmps.exp
1828 * gdb.threads/non-ldr-exit.exp
1829 * gdb.threads/pending-step.exp
1830 * gdb.threads/print-threads.exp
1831 * gdb.threads/process-dies-while-detaching.exp
1832 * gdb.threads/process-dies-while-handling-bp.exp
1833 * gdb.threads/pthreads.exp
1834 * gdb.threads/queue-signal.exp
1835 * gdb.threads/reconnect-signal.exp
1836 * gdb.threads/signal-command-handle-nopass.exp
1837 * gdb.threads/signal-command-multiple-signals-pending.exp
1838 * gdb.threads/signal-delivered-right-thread.exp
1839 * gdb.threads/signal-sigtrap.exp
1840 * gdb.threads/sigthread.exp
1841 * gdb.threads/staticthreads.exp
1842 * gdb.threads/stepi-random-signal.exp
1843 * gdb.threads/thread-unwindonsignal.exp
1844 * gdb.threads/thread_check.exp
1845 * gdb.threads/thread_events.exp
1846 * gdb.threads/tid-reuse.exp
1847 * gdb.threads/tls-nodebug.exp
1848 * gdb.threads/tls-shared.exp
1849 * gdb.threads/tls-so_extern.exp
1850 * gdb.threads/tls.exp
1851 * gdb.threads/wp-replication.exp
1852 * gdb.trace/actions-changed.exp
1853 * gdb.trace/actions.exp
1854 * gdb.trace/backtrace.exp
1855 * gdb.trace/change-loc.exp
1856 * gdb.trace/collection.exp
1857 * gdb.trace/deltrace.exp
1858 * gdb.trace/disconnected-tracing.exp
1859 * gdb.trace/entry-values.exp
1860 * gdb.trace/ftrace-lock.exp
1861 * gdb.trace/ftrace.exp
1862 * gdb.trace/infotrace.exp
1863 * gdb.trace/mi-trace-frame-collected.exp
1864 * gdb.trace/mi-trace-unavailable.exp
1865 * gdb.trace/mi-traceframe-changed.exp
1866 * gdb.trace/mi-tracepoint-changed.exp
1867 * gdb.trace/mi-tsv-changed.exp
1868 * gdb.trace/no-attach-trace.exp
1869 * gdb.trace/packetlen.exp
1870 * gdb.trace/passc-dyn.exp
1871 * gdb.trace/passcount.exp
1872 * gdb.trace/pending.exp
1873 * gdb.trace/pr16508.exp
1874 * gdb.trace/qtro.exp
1875 * gdb.trace/range-stepping.exp
1876 * gdb.trace/read-memory.exp
1877 * gdb.trace/report.exp
1878 * gdb.trace/save-trace.exp
1879 * gdb.trace/signal.exp
1880 * gdb.trace/stap-trace.exp
1881 * gdb.trace/status-stop.exp
1882 * gdb.trace/strace.exp
1883 * gdb.trace/tfile.exp
1884 * gdb.trace/tfind.exp
1885 * gdb.trace/trace-break.exp
1886 * gdb.trace/trace-condition.exp
1887 * gdb.trace/trace-enable-disable.exp
1888 * gdb.trace/trace-mt.exp
1889 * gdb.trace/tracecmd.exp
1890 * gdb.trace/tracefile-pseudo-reg.exp
1891 * gdb.trace/tspeed.exp
1892 * gdb.trace/tstatus.exp
1894 * gdb.trace/unavailable.exp
1895 * gdb.trace/while-dyn.exp
1896 * gdb.trace/while-stepping.exp
1899 * lib/mi-support.exp
1902 * lib/prelink-support.exp
1903 * lib/selftest-support.exp
1905 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1907 * Makefile.in: Include disable-implicit-rules.mk.
1909 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1911 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1912 non-byte-aligned bit fields.
1914 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1917 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1918 respects the DW_AT_data_bit_offset attribute.
1920 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1922 * gdb.base/default.exp: Fix output of "set language".
1924 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1926 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1927 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1929 * configure.ac: Remove checks for the make program.
1930 * configure: Re-generate.
1932 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1934 * gdb.python/py-recurse-unwind.c (main): Add loop.
1935 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1936 to read_register() and gdb.parse_and_eval(). Make each code
1937 call a separate case that can be individually tested.
1938 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1939 proc. Call cont_and_backtrace for each of the code paths that
1940 we want to test in the unwinder.
1942 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1944 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1945 the definition of struct S.
1947 2016-11-11 Catherine Moore <clm@codesourcery.com>
1949 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1951 2016-11-09 Pedro Alves <palves@redhat.com>
1953 * gdb.base/commands.exp (runto_or_return): New procedure.
1954 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1955 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1956 (progvar_simple_while_test, progvar_complex_if_while_test)
1957 (if_while_breakpoint_command_test)
1958 (infrun_breakpoint_command_test, breakpoint_command_test)
1959 (user_defined_command_test, watchpoint_command_test)
1960 (test_command_prompt_position, redefine_hook_test)
1961 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1962 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1963 multi_line_input and multi_line. Remove gdb_expect and
1964 gdb_stop_suppressing_tests uses.
1965 * lib/gdb.exp (valnum_re): New global.
1966 (multi_line_input): New procedure.
1968 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1970 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1972 (test_setup): Define with proc_with_prefix.
1973 (test_cli_inferior): Likewise.
1974 (test_cli_thread): Likewise.
1975 (test_cli_frame): Likewise.
1976 (test_cli_select_frame): Likewise.
1977 (test_cli_up_down): Likewise.
1978 (test_mi_thread_select): Likewise.
1979 (test_mi_stack_select_frame): Likewise.
1980 (test_cli_in_mi_inferior): Likewise.
1981 (test_cli_in_mi_thread): Likewise.
1982 (test_cli_in_mi_frame): Likewise.
1983 (top level): Do not use with_test_prefix_procname.
1985 2016-11-09 Pedro Alves <palves@redhat.com>
1987 * gdb.base/commands.exp (gdbvar_simple_if_test)
1988 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1989 (progvar_simple_if_test, progvar_simple_while_test)
1990 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1991 (infrun_breakpoint_command_test, breakpoint_command_test)
1992 (user_defined_command_test, watchpoint_command_test)
1993 (test_command_prompt_position, deprecated_command_test)
1994 (bp_deleted_in_command, temporary_breakpoint_commands)
1995 (stray_arg0_test, source_file_with_indented_comment)
1996 (recursive_source_test, if_commands_test)
1997 (error_clears_commands_left, redefine_hook_test)
1998 (redefine_backtrace_test): Use proc_with_prefix.
1999 * lib/gdb.exp (proc_with_prefix): New proc.
2001 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2003 * gdb.base/tui-layout.c: New file.
2004 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2005 disassembly window contains very long lines.
2007 2016-11-08 Tom Tromey <tom@tromey.com>
2009 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2012 2016-11-08 Tom Tromey <tom@tromey.com>
2014 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2017 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2019 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2021 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2023 * gdb.rust/simple.rs: Add test for univariant enums without
2024 discriminants and for encoded struct-like enums.
2026 2016-10-28 Pedro Alves <palves@redhat.com>
2028 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2029 gdb_test_multiple, tighten regexps and match symtabs and line
2030 tables incrementally.
2032 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2034 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2037 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2039 * gdb.base/exec-invalid-sysroot.exp: New file.
2041 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2043 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2045 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2047 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2049 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2051 * gdb.base/killed-outside.exp: Remove $options from a call to
2052 `prepare_for_testing'.
2054 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2056 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2057 Change test message.
2059 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2061 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2064 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2066 * gdb.trace/mi-trace-save.exp: New file.
2068 2016-10-13 Yao Qi <yao.qi@linaro.org>
2070 * gdb.base/code_elim.exp (get_var_address): Remove.
2071 * gdb.base/relocate.exp: Likewise.
2072 * gdb.base/shreloc.exp: Likewise.
2073 * lib/gdb.exp (get_var_address): New.
2075 2016-10-13 Yao Qi <yao.qi@linaro.org>
2077 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2078 floating point tests if $skip_float_test is false.
2080 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2082 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2083 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2085 Add 1 to argc so we guarantee distinct initial/modified argc values.
2087 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2089 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2091 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2093 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2094 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2095 * gdb.arch/vsx-regs.exp: Likewise.
2097 2016-10-07 Yao Qi <yao.qi@linaro.org>
2099 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2101 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2103 * gdb.python/python.exp: Test decode_line("*0").
2105 2016-10-06 Doug Evans <dje@google.com>
2107 * gdb.python/py-value.exp (test_value_creation): Add test for large
2108 unsigned 64-bit value.
2110 2016-10-06 Tom Tromey <tom@tromey.com>
2112 * gdb.compile/compile.exp: Change java tests to rust.
2113 * gdb.base/setshow.exp: Change java tests to rust.
2114 * gdb.base/default.exp: Remove java from language list.
2115 * README (Examples): Update language example.
2116 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2118 * lib/gdb.exp (skip_java_tests): Remove.
2119 * lib/java.exp: Remove.
2122 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2124 * gdb.arch/mips-fcr.exp: New test.
2125 * gdb.arch/mips-fcr.c: Source for the new test.
2127 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2129 * gdb.base/solib-disc.exp: Use `standard_output_file'
2132 2016-10-06 Pedro Alves <palves@redhat.com>
2134 * gdb.base/jit-simple-dl.c: New file.
2135 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2136 * gdb.base/jit-simple.c: ... this.
2137 * gdb.base/jit-simple.exp (jit_run): Delete.
2138 (build_jit): New proc.
2139 (jit_test_reread): Recompile either the main program or the shared
2140 library, depending on what is being tested. Skip changing address
2141 if caller wants to. Compare before/after addresses. If testing
2142 standalone, explicitly load the binary. Test "maint info
2144 (top level): Add "standalone vs shared lib" and "change address"
2145 vs "same address" axes.
2147 2016-10-06 Pedro Alves <palves@redhat.com>
2149 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2152 (jit_test_reread): Use with_test_prefix. Reload the main binary
2153 explicitly. Compare the before/after addresses of the JIT
2156 2016-08-15 Doug Evans <dje@google.com>
2158 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2159 for single bitfields is bool.
2160 * gdb.xml/tdesc-regs.exp: Ditto.
2162 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2164 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2166 2016-10-05 Yao Qi <yao.qi@linaro.org>
2168 * lib/gdb.exp (support_complex_tests): Return zero if
2169 gdb_skip_float_test return true.
2171 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2172 Simon Marchi <simon.marchi@ericsson.com>
2175 * gdb.mi/user-selected-context-sync.exp: New file.
2176 * gdb.mi/user-selected-context-sync.c: New file.
2178 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2179 Simon Marchi <simon.marchi@ericsson.com>
2182 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2183 =thread-select-event check.
2185 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2187 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2188 the compulsory L operand changes.
2189 * gdb.arch/powerpc-power.s: Likewise.
2191 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2193 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2194 * gdb.base/jit-attach-pie.c: New file.
2195 * gdb.base/jit-attach-pie.exp: New file.
2197 2016-09-28 Pedro Alves <palves@redhat.com>
2199 * gdb.base/infcall-input.c: New file.
2200 * gdb.base/infcall-input.exp: New file.
2202 2016-09-22 Yao Qi <yao.qi@linaro.org>
2204 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2205 (gdb_exit): Rename it to ...
2206 (gdbserver_gdb_exit): ... Close GDBserver.
2207 (gdb_exit): New proc, call gdbserver_gdb_exit.
2208 (mi_gdb_exit): Likewise.
2210 2016-09-22 Yao Qi <yao.qi@linaro.org>
2212 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2214 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2217 2016-09-22 Yao Qi <yao.qi@linaro.org>
2219 * lib/gdbserver-support.exp: Check the existence of
2220 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2222 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2224 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2226 2016-09-21 Tom Tromey <tom@tromey.com>
2229 * gdb.base/quit.exp: New file.
2231 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2233 * .gitignore: New file.
2235 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2237 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2240 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2242 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2244 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2246 * gdb.cp/casts.cc (decltype): Move it ...
2247 (main): ... with its call to ...
2248 * gdb.cp/casts03.cc: ... a new file.
2249 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2251 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2253 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2255 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2257 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2258 and sync up the test with tests in gas/testsuite/gas/ppc.
2259 * gdb.arch/powerpc-power.exp: Likewise.
2261 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2263 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2265 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2266 Jan Kratochvil <jan.kratochvil@redhat.com>
2268 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2269 make m1's definition to be different from m2's. Use 'dummy' as an
2270 argument for probe 'two'.
2272 2016-09-10 Jon Beniston <jon@beniston.com>
2274 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2277 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2279 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2280 variable declaration.
2281 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2282 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2283 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2284 received HWCAP as its argument.
2286 2016-09-06 Pedro Alves <palves@redhat.com>
2288 * gdb.base/new-ui-pending-input.c: New file.
2289 * gdb.base/new-ui-pending-input.exp: New file.
2290 * gdb.exp (clear_gdb_spawn_id): New procedure.
2291 (with_spawn_id): Check whether gdb_spawn_id exists before
2292 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2295 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2297 * gdb.base/float128.c: New file.
2298 * gdb.base/float128.exp: Likewise.
2299 * gdb.base/floatn.c: Likewise.
2300 * gdb.base/floatn.exp: Likewise.
2302 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2304 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2306 2016-09-05 Pedro Alves <palves@redhat.com>
2309 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2310 unwinders are immediately called as side effect of "source" or
2311 "disable unwinder" commands.
2312 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2314 2016-09-02 Yao Qi <yao.qi@linaro.org>
2316 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2317 is true and $type is "float" or "double".
2319 2016-09-02 Yao Qi <yao.qi@linaro.org>
2321 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2323 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2324 * gdb.base/call-rt-st.exp: Likewise.
2325 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2326 return value instead of gdb,skip_float_test.
2327 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2328 (do_function_calls): Use its return value instead of
2329 gdb,skip_float_test.
2330 * gdb.base/finish.exp: Likewise.
2331 * gdb.base/funcargs.exp: Likewise.
2332 * gdb.base/return.exp: Likewise.
2333 * gdb.base/return2.exp: Likewise.
2334 * gdb.base/varargs.exp: Likewise.
2335 * lib/gdb.exp (gdb_skip_float_test): Change it to
2336 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2338 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2340 * gdb.multi/tids.exp: Test "thread apply all".
2342 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2344 * gdb.base/default.exp (tty): Remove.
2346 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2348 * gdb.python/py-recurse-unwind.c: New file.
2349 * gdb.python/py-recurse-unwind.py: New file.
2350 * gdb.python/py-recurse-unwind.exp: New file.
2352 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2354 * gdb.base/set-inferior-tty.exp: New file.
2355 * gdb.base/set-inferior-tty.c: New file.
2357 2016-08-23 Pedro Alves <palves@redhat.com>
2360 * gdb.base/new-ui-echo.c: New file.
2361 * gdb.base/new-ui-echo.exp: New file.
2363 2016-08-23 Yao Qi <yao.qi@linaro.org>
2365 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2367 * gdb.server/connect-without-multi-process.exp (do_test):
2370 2016-08-23 Yao Qi <yao.qi@linaro.org>
2372 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2373 standalone_txt. Delete gdb_txt and standalone_txt on host
2374 and target. Spawn the binary on target. Copy files from
2377 2016-08-22 Pedro Alves <palves@redhat.com>
2380 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2381 with_test_prefix. Factor out bits to ...
2382 (test_no_vdso): ... this new procedure.
2384 2016-08-19 Carl Love <cel@us.ibm.com>
2386 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2387 maintaining separate logic for constructing the output path.
2388 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2389 * gdb.arch/ppc-dfp.exp: Likewise.
2390 * gdb.arch/ppc-fp.exp: Likewise.
2391 * gdb.arch/vsx-regs.exp: Likewise.
2392 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2393 binprefix for generating the additional binary files.
2395 2016-08-19 Pedro Alves <palves@redhat.com>
2397 * gdb.trace/mi-trace-frame-collected.exp
2398 (test_trace_frame_collected): On x32, expect two registers.
2400 2016-08-18 Carl Love <cel@us.ibm.com>
2402 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2403 and sync up the test with tests in gas/testsuite/gas/ppc.
2404 * gdb.arch/powerpc-power.exp: Likewise.
2406 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2408 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2409 expected error message.
2411 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2413 * gdb.multi/remove-inferiors.exp: New file.
2414 * gdb.multi/remove-inferiors.c: New file.
2416 2016-08-12 Yao Qi <yao.qi@linaro.org>
2418 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2421 2016-08-10 Pedro Alves <palves@redhat.com>
2424 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2427 2016-08-09 Pedro Alves <palves@redhat.com>
2428 Simon Marchi <simon.marchi@ericsson.com>
2431 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2432 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2434 2016-08-09 Pedro Alves <palves@redhat.com>
2437 * gdb.mi/mi-cmd-error.exp: New file.
2439 2016-08-09 Pedro Alves <palves@redhat.com>
2442 * gdb.base/signals-state-child.c: New file.
2443 * gdb.base/signals-state-child.exp: New file.
2444 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2446 2016-08-09 Pedro Alves <palves@redhat.com>
2448 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2450 2016-08-03 Tom Tromey <tom@tromey.com>
2453 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2455 2016-08-01 Yao Qi <yao.qi@linaro.org>
2457 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2458 variable mode to "multi-process" if $multi_process is 1, otherwise
2459 set it to "single-process".
2461 2016-08-01 Yao Qi <yao.qi@linaro.org>
2463 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2464 * gdb.cp/cpexprs.exp: Likewise.
2465 * gdb.cp/m-static.exp: Likewise.
2467 2016-07-26 Tom Tromey <tom@tromey.com>
2470 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2473 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2475 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2476 selecting assembly source files.
2477 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2478 assembly source files.
2479 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2480 assembly source files.
2481 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2482 selecting assembly source files.
2484 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2486 * gdb.base/new-ui.exp (do_test_invalid_args): New
2489 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2491 * gdb.btrace/reconnect.c: New file.
2492 * gdb.btrace/reconnect.exp: New file.
2494 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2496 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2497 to test_catch_syscall_group.
2498 (test_catch_syscall_group): New.
2500 2016-07-21 Tom Tromey <tom@tromey.com>
2502 * gdb.rust/simple.rs (main): Use empty struct expression.
2503 * gdb.rust/simple.exp: Add tests for empty struct expression.
2505 2016-07-21 Yao Qi <yao.qi@linaro.org>
2507 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2508 if gdb_skip_xml_test is true on some targets.
2510 2016-07-21 Yao Qi <yao.qi@linaro.org>
2512 * gdb.server/solib-list.exp: Unset last_loaded_file.
2514 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2516 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2517 "step into captured_main (args)".
2519 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2521 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2523 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2525 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2527 2016-07-19 Pedro Alves <palves@redhat.com>
2529 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2530 * gdb.opt/inline-bt.exp: Likewise.
2531 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2532 additional_flags=-Winline.
2533 * gdb.opt/inline-locals.exp: Likewise.
2534 * gdb.opt/inline-markers.c (ATTR): Define.
2535 (inlined_fn): Use it.
2537 2016-07-19 Yao Qi <yao.qi@linaro.org>
2539 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2540 (test_with_self): Remove some code. Remove argument executable.
2541 (top-level): Use do_self_tests.
2543 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2544 Don Breazeal <donb@codesourcery.com>
2546 * gdb.base/maint.exp: Escape paths used in regular expressions.
2547 * gdb.stabs/weird.exp: Likewise.
2549 2016-07-13 Tom Tromey <tom@tromey.com>
2551 PR python/15620, PR python/18620:
2552 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2553 (test_bkpt_events): New procs.
2555 2016-07-13 Tom Tromey <tom@tromey.com>
2558 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2560 (test_watchpoints): Likewise.
2561 (test_bkpt_pending): New proc.
2563 2016-07-13 Tom Tromey <tom@tromey.com>
2566 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2569 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2571 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2572 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2573 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2575 (g): Rename g_end_lbl to g_label.
2576 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2578 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2580 2016-07-12 Tom Tromey <tom@tromey.com>
2583 * gdb.python/py-unwind-maint.exp: Update tests.
2585 2016-07-12 Yao Qi <yao.qi@linaro.org>
2587 * lib/selftest-support.exp (selftest_setup): Match the output
2588 when captured_main is inlined.
2590 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2592 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2594 (print this%a, print this%b, print this): New tests.
2595 * gdb.fortran/derived-types.f90 (this): New object and
2598 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2600 * gdb.ada/arraydim.exp: Remove extra directory level in build
2603 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2605 * lib/ada.exp: Remove extra directory level in build directory.
2606 * gdb.ada/cond_lang.exp: Likewise.
2607 * gdb.ada/exec_changed.exp: Likewise.
2608 * gdb.ada/lang_switch.exp: Likewise.
2610 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2612 * simple.rs: Add test for raw pointer subscripting.
2613 * simple.exp: Add test expectations.
2615 2016-07-05 Yao Qi <yao.qi@linaro.org>
2617 * gdb.mi/mi-reverse.exp: Match =record-started output.
2619 2016-07-01 Pedro Alves <palves@redhat.com>
2621 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2623 (jit_reader_test): Test the jit reader's unwinder.
2624 * gdb.base/jithost.c (jit_function_00_code): New global.
2625 (main): Use memcpy to fill in the mmapped code, instead of poking
2626 bytes manually here.
2627 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2629 (read_debug_info): Save the function's range.
2630 (read_sp): New function.
2631 (unwind_frame): Use it. Also unwind RBP.
2632 (get_frame_id): Use read_sp.
2633 (gdb_init_reader): Use calloc instead of malloc.
2634 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2635 parameter. Use gdb_test_multiple.
2637 2016-07-01 Pedro Alves <palves@redhat.com>
2638 Antoine Tremblay <antoine.tremblay@ericsson.com>
2640 * gdb.threads/process-dies-while-detaching.c: New file.
2641 * gdb.threads/process-dies-while-detaching.exp: New file.
2643 2016-07-01 Pedro Alves <palves@redhat.com>
2645 * gdb.multi/watchpoint-multi-exit.c: New file.
2646 * gdb.multi/watchpoint-multi-exit.exp: New file.
2648 2016-06-30 Pedro Alves <palves@redhat.com>
2650 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2651 unset inferior_spawn_id.
2653 2016-06-30 Pedro Alves <palves@redhat.com>
2655 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2656 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2658 2016-06-29 Yao Qi <yao.qi@linaro.org>
2660 * gdb.base/return.c: Add copyright header.
2662 2016-06-29 Tom Tromey <tom@tromey.com>
2665 * gdb.python/py-framefilter.exp: Add tests for setting priority
2666 and disabling of non-existent frame filter.
2668 2016-06-29 Yao Qi <yao.qi@linaro.org>
2670 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2673 2016-06-28 Yao Qi <yao.qi@linaro.org>
2675 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2676 triplets. Start gdb, execute catch syscall, and continue. Check
2677 gdb's output to determine catch syscall is supported.
2679 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2681 * gdb.rust/simple.rs: Add test for returning unit in a function.
2682 * gdb.rust/simple.exp: Add expectation for functions returning
2685 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2687 * gdb.python/py-breakpoint-create-fail.c,
2688 gdb.python/py-breakpoint-create-fail.exp,
2689 gdb.python/py-breakpoint-create-fail.py: New testcase.
2691 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2694 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2695 * gdb.rust/simple.exp: Add test expectations for new NonZero
2698 2016-06-24 David Taylor <dtaylor@emc.com>
2700 * gdb.base/offsets.exp: New file.
2701 * gdb.base/offsets.c: New file.
2703 2016-06-23 Tom Tromey <tom@tromey.com>
2706 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2707 before any filters are loaded.
2709 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2711 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2712 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2714 * gdb.fortran/derived-type-function.exp: New file.
2715 * gdb.fortran/derived-type-function.f90: New file.
2718 2016-06-21 Pedro Alves <palves@redhat.com>
2720 * gdb.base/new-ui.exp: New file.
2721 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2722 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2723 (with_spawn_id): New procedure.
2725 2016-06-21 Pedro Alves <palves@redhat.com>
2727 * gdb.mi/mi-exec-run.exp: New file.
2729 2016-06-21 Pedro Alves <palves@redhat.com>
2731 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2732 breakpoint command's output on the main UI.
2733 (test_break): New procedure, factored out from calls in the top
2735 (top level): Use foreach_with_prefix to test MI as main UI and as
2738 2016-06-21 Pedro Alves <palves@redhat.com>
2740 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2741 (test_awatch_creation_and_listing)
2742 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2743 Remove 'type' parameter.
2744 (test_watchpoint_all): New parameter mi_mode. Remove
2746 (top level): Use foreach_with_prefix, and add main/separate UI MI
2749 2016-06-21 Pedro Alves <palves@redhat.com>
2751 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2752 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2753 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2754 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2755 (gdb_main_spawn_id, mi_spawn_id): Declare and
2757 (mi_create_inferior_pty): New procedure,
2758 factored out from default_mi_gdb_start.
2759 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2761 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2762 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2763 Use mi_create_inferior_pty.
2764 (mi_gdb_start): Use eval to pass down args list.
2766 2016-06-21 Pedro Alves <palves@redhat.com>
2768 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2769 * gdb.opt/inline-cmds.exp: Add MI tests.
2771 2016-06-21 Pedro Alves <palves@redhat.com>
2773 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2775 2016-06-21 Pedro Alves <palves@redhat.com>
2777 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2778 (top level): Use it instead of mi_execute_to.
2780 2016-06-21 Pedro Alves <palves@redhat.com>
2782 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2783 (cont_handler_str): New.
2784 (signal_stop_handler): Set stop_handler_str instead of printing to
2786 (continue_handler): Set cont_handler_str instead of printing to
2788 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2789 mi_send_resuming_command. Print stop_handler_str and
2790 cont_handler_str instead of expecting the python events print
2793 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2795 * gdb.base/jit-reader.exp: New file.
2796 * gdb.base/jithost.c: New file.
2797 * gdb.base/jithost.h: New file.
2798 * gdb.base/jitreader.c : New file.
2799 * gdb.base/jit-protocol.h: New file.
2801 2016-06-17 Yao Qi <yao.qi@linaro.org>
2803 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2804 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2805 and detach-on-fork. Adjust tests.
2806 (top level): Invoke break_cond_on_syscall with combinations of
2807 syscall, follow-fork-mode and detach-on-fork.
2809 2016-06-17 Yao Qi <yao.qi@linaro.org>
2811 * gdb.base/step-over-exit.c: New.
2812 * gdb.base/step-over-exit.exp: New.
2814 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2816 * gdb.base/float.exp: Add target check for nds32*-*-*.
2817 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2819 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2821 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2822 for unsupported target features.
2823 * gdb.base/call-rt-st.exp: Likewise.
2824 * gdb.base/call-sc.exp: Likewise.
2825 * gdb.base/call-signal-resume.exp: Likewise.
2826 * gdb.base/call-strs.exp: Likewise.
2827 * gdb.base/callexit.exp: Likewise.
2828 * gdb.base/callfuncs.exp: Likewise.
2829 * gdb.base/nodebug.exp: Likewise.
2830 * gdb.base/printcmds.exp: Likewise.
2831 * gdb.base/ptype.exp: Likewise.
2832 * gdb.base/structs.exp: Likewise.
2833 * gdb.base/unwindonsignal.exp: Likewise.
2834 * gdb.cp/gdb2495.exp: Likewise.
2835 * gdb.cp/templates.exp: Likewise.
2836 * gdb.cp/virtfunc.exp: Likewise.
2837 * gdb.threads/hand-call-in-threads.exp: Likewise.
2838 * gdb.threads/interrupted-hand-call.exp: Likewise.
2839 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2841 2016-06-10 Tom Tromey <tom@tromey.com>
2844 * gdb.rust/expr.exp: Add test for integer constant larger than
2847 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2849 * gdb.fortran/nested-funcs.exp: New.
2850 * gdb.fortran/nested-funcs.f90: New.
2852 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2854 * gdb.base/examine-backward.c: New file.
2855 * gdb.base/examine-backward.exp: New file.
2857 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2859 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2862 2016-06-02 Tom Tromey <tom@tromey.com>
2865 * gdb.python/py-shared.exp: Add solib_name test.
2867 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2869 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2871 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2874 * gdb.dwarf2/implref.exp: Rename to...
2875 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2876 * gdb.dwarf2/implref-array.c: New file.
2877 * gdb.dwarf2/implref-array.exp: Likewise.
2878 * gdb.dwarf2/implref-global.c: Likewise.
2879 * gdb.dwarf2/implref-global.exp: Likewise.
2880 * gdb.dwarf2/implref-struct.c: Likewise.
2881 * gdb.dwarf2/implref-struct.exp: Likewise.
2883 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2885 * gdb.trace/trace-condition.exp: Add 64bit tests.
2887 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2889 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2891 (main): Adapt to 8 to 64 bits types.
2892 * gdb.trace/trace-condition.exp: Add new tests.
2894 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2896 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2898 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2900 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2901 Move condition tests...
2902 * gdb.trace/trace-condition.exp: Here.
2904 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2906 * gdb.trace/trace-condition.exp: Add counter-case tests.
2908 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2911 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2912 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2914 2016-05-27 Pedro Alves <palves@redhat.com>
2916 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2918 (top level): Call it, and bail out of DejaGnu is known to be bad.
2920 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2922 * gdb.base/whatis.c: Extend the test case.
2923 * gdb.base/whatis.exp: Add additional tests.
2925 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2927 * gdb.fortran/type.f90: Add pointer variable.
2928 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2930 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2932 * gdb.fortran/vla-type.exp: Fix testcase name.
2934 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2936 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2938 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2940 * gdb.fortran/type.f90: Add nested structures.
2941 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2942 * gdb.fortran/derived-type.exp: Adapt expected output.
2943 * gdb.fortran/vla-type.exp: Adapt expected output.
2945 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2947 * gdb.fortran/whatis_type.exp: Adapt expected output.
2949 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2951 * gdb.fortran/print_type.exp: Fix expected output.
2952 * gdb.fortran/whatis_type.exp: Fix expected output.
2954 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2956 * gdb.fortran/whatis_type.exp: Use multi_line.
2958 2016-05-24 Tom Tromey <tom@tromey.com>
2961 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2962 use value as an index.
2964 2016-05-23 Tom Tromey <tom@tromey.com>
2967 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2970 2016-05-24 Pedro Alves <palves@redhat.com>
2973 * gdb.threads/clone-attach-detach.c: New file.
2974 * gdb.threads/clone-attach-detach.exp: New file.
2976 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2978 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2980 2016-05-23 Tom Tromey <tom@tromey.com>
2982 PR python/19438, PR python/18393:
2983 * gdb.python/py-progspace.exp: Add "dir" test.
2984 * gdb.python/py-objfile.exp: Add "dir" test.
2986 2016-05-23 Yao Qi <yao.qi@linaro.org>
2988 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2989 * gdb.arch/thumb2-it.exp: Likewise.
2991 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2993 * gdb.mi/mi-threads-interrupt.c: New file.
2994 * gdb.mi/mi-threads-interrupt.exp: New file.
2996 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2999 * gdb.mi/mi-async-run.exp: New file.
3000 * gdb.mi/mi-async-run.c: New file.
3002 2016-05-17 Tom Tromey <tom@tromey.com>
3003 Manish Goregaokar <manishsmail@gmail.com>
3005 * lib/rust-support.exp: New file.
3006 * lib/gdb.exp (skip_rust_tests): New proc.
3007 (build_executable_from_specs): Handle rust.
3008 * lib/future.exp (gdb_find_rustc): New proc.
3009 (gdb_default_target_compile): Handle rust.
3010 * gdb.rust/expr.exp: New file.
3011 * gdb.rust/generics.exp: New file.
3012 * gdb.rust/generics.rs: New file.
3013 * gdb.rust/methods.exp: New file.
3014 * gdb.rust/methods.rs: New file.
3015 * gdb.rust/modules.exp: New file.
3016 * gdb.rust/modules.rs: New file.
3017 * gdb.rust/simple.exp: New file.
3018 * gdb.rust/simple.rs: New file.
3020 2016-05-17 Tom Tromey <tom@tromey.com>
3022 * gdb.base/default.exp (set language): Add rust.
3024 2016-05-17 Tom Tromey <tom@tromey.com>
3026 * gdb.gdb/unittest.exp: New file.
3028 2016-05-16 Yao Qi <yao.qi@linaro.org>
3030 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3031 shell_prompt. Update shell_prompt_re.
3033 2016-05-12 Doug Evans <dje@google.com>
3036 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3037 $options when building executable.
3038 * gdb.dwarf2/fission-loclists-pie.S: New file.
3039 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3041 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3043 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
3044 of [is_remote target],
3046 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3048 * lib/gdb.exp (use_gdb_stub): New procedure.
3050 2016-05-03 Yunlian Jiang <yunlian@google.com>
3051 Doug Evans <dje@google.com>
3054 * gdb.dwarf2/dwp-sepdebug.c: New file.
3055 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3057 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3059 * gdb.base/detach.exp: Remove is_remote check.
3061 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3063 * gdb.base/annota-input-while-running.exp: Don't check for
3064 [is_remote target]. Enable annotations after running to main.
3065 Remove unused "set test..." line.
3067 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3069 * gdb.trace/trace-enable-disable.exp: New file.
3070 * gdb.trace/trace-enable-disable.c: New file.
3072 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3074 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3075 use it in info sharedlibrary test.
3076 * gdb.trace/ftrace-lock.exp: Likewise.
3077 * gdb.trace/ftrace.exp: Likewise.
3078 * gdb.trace/range-stepping.exp: Likewise.
3079 * gdb.trace/trace-break.exp: Likewise.
3080 * gdb.trace/trace-condition.exp: Likewise.
3081 * gdb.trace/trace-mt.exp: Likewise.
3083 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3085 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3086 (gdb_load_shlib): ... this.
3087 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3089 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3090 * gdb.base/ctxobj.exp: Likewise.
3091 * gdb.base/dprintf-pending.exp: Likewise.
3092 * gdb.base/dso2dso.exp: Likewise.
3093 * gdb.base/fixsection.exp: Likewise.
3094 * gdb.base/gcore-relro.exp: Likewise.
3095 * gdb.base/gdb1555.exp: Likewise.
3096 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3097 * gdb.base/gnu-ifunc.exp: Likewise.
3098 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3099 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3100 * gdb.base/pending.exp: Likewise.
3101 * gdb.base/print-file-var.exp: Likewise.
3102 * gdb.base/print-symbol-loading.exp: Likewise.
3103 * gdb.base/shlib-call.exp: Likewise.
3104 * gdb.base/shreloc.exp: Likewise.
3105 * gdb.base/so-impl-ld.exp: Likewise.
3106 * gdb.base/solib-disc.exp: Likewise.
3107 * gdb.base/solib-nodir.exp: Likewise.
3108 * gdb.base/solib-overlap.exp: Likewise.
3109 * gdb.base/solib-symbol.exp: Likewise.
3110 * gdb.base/solib-weak.exp (do_test): Likewise.
3111 * gdb.base/sym-file.exp: Likewise.
3112 * gdb.base/symtab-search-order.exp: Likewise.
3113 * gdb.base/type-opaque.exp: Likewise.
3114 * gdb.base/unload.exp: Likewise.
3115 * gdb.base/watchpoint-solib.exp: Likewise.
3116 * gdb.compile/compile.exp: Likewise.
3117 * gdb.cp/gdb2384.exp: Likewise.
3118 * gdb.cp/infcall-dlopen.exp: Likewise.
3119 * gdb.cp/re-set-overloaded.exp: Likewise.
3120 * gdb.fortran/library-module.exp: Likewise.
3121 * gdb.opt/solib-intra-step.exp: Likewise.
3122 * gdb.python/py-finish-breakpoint.exp: Likewise.
3123 * gdb.python/py-shared.exp: Likewise.
3124 * gdb.reverse/solib-precsave.exp: Likewise.
3125 * gdb.reverse/solib-reverse.exp: Likewise.
3126 * gdb.server/solib-list.exp: Likewise.
3127 * gdb.threads/dlopen-libpthread.exp: Likewise.
3128 * gdb.threads/tls-shared.exp: Likewise.
3129 * gdb.threads/tls-so_extern.exp: Likewise.
3130 * gdb.trace/change-loc.exp: Likewise.
3131 * gdb.trace/ftrace-lock.exp: Likewise.
3132 * gdb.trace/ftrace.exp: Likewise.
3133 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3134 * gdb.trace/pending.exp: Likewise.
3135 * gdb.trace/range-stepping.exp: Likewise.
3136 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3137 (strace_info_marker): Likewise.
3138 (strace_probe_marker): Likewise.
3139 (strace_trace_on_same_addr): Likewise.
3140 (strace_trace_on_diff_addr): Likewise.
3141 * gdb.trace/trace-break.exp: Likewise.
3142 * gdb.trace/trace-condition.exp: Likewise.
3143 * gdb.trace/trace-mt.exp: Likewise.
3145 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3147 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3148 result of gdb_remote_download.
3149 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3150 * gdb.base/dso2dso.exp: Likewise.
3151 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3152 * gdb.base/print-file-var.exp: Likewise.
3153 * gdb.base/shlib-call.exp: Likewise.
3154 * gdb.base/shreloc.exp: Likewise.
3155 * gdb.base/solib-overlap.exp: Likewise.
3156 * gdb.base/solib-weak.exp (do_test): Likewise.
3157 * gdb.base/unload.exp: Likewise.
3159 2016-04-27 Yao Qi <yao.qi@linaro.org>
3161 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3164 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3166 * vla-type.exp: Print structure from toplevel.
3168 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3170 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3172 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3175 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3177 * gdb.fortran/vla-type.f90: New file.
3178 * gdb.fortran/vla-type.exp: New file.
3180 2016-04-25 Yao Qi <yao.qi@linaro.org>
3182 * gdb.base/branch-to-self.c: New file.
3183 * gdb.base/branch-to-self.exp: New file.
3185 2016-04-22 Yao Qi <yao.qi@linaro.org>
3187 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3190 2016-04-22 Yao Qi <yao.qi@linaro.org>
3192 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3193 * gdb.base/annota3.exp: Likewise.
3195 2016-04-22 Yao Qi <yao.qi@linaro.org>
3197 * gdb.reverse/step-precsave.exp: Do one step and test program
3198 stops in "callee" and do multiple steps until program goes out
3200 * gdb.reverse/step-reverse.exp: Likewise.
3202 2016-04-22 Yao Qi <yao.qi@linaro.org>
3204 * gdb.trace/signal.exp: Also pass if
3205 $tracepoint_hits($i) > $iterations.
3207 2016-04-22 Yao Qi <yao.qi@linaro.org>
3209 * gdb.trace/signal.c: New file.
3210 * gdb.trace/signal.exp: New file.
3212 2016-04-19 Doug Evans <xdje42@gmail.com>
3214 * gdb.base/bad-file.exp: New file.
3216 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3218 * gdb.dwarf2/implref.exp: New file.
3220 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3222 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3223 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3224 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3225 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3226 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3227 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3228 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3229 * lib/fortran.exp (fortran_int4): New procedure.
3230 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3231 (fortran_logical4): Likewise.
3233 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3235 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3237 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3239 * lib/compiler.c: Add Intel specific preprocessor macros.
3240 * lib/compiler.cc: Likewise.
3242 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3244 * gdb.server/connect-with-no-symbol-file.c: New file.
3245 * gdb.server/connect-with-no-symbol-file.exp: New file.
3247 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3249 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3251 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3253 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3254 standard output directory.
3256 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3258 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3260 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3262 * gdb.btrace/instruction_history.c (loop): Add declaration.
3264 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3266 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3268 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3270 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3271 parentheses to print.
3272 (continue_handler): Likewise.
3274 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3276 * gdb.server/solib-list.exp: Remove is_remote check.
3277 Pass shlib= to gdb_compile. Don't link shared library with
3278 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3279 Run binary filename through "readlink -f" on the target.
3281 2016-04-08 Pedro Alves <palves@redhat.com>
3283 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3284 interpreter filename as argument to gdbserver_spawn.
3285 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3286 Return empty if $last_loaded_file does not exist.
3288 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3290 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3291 * gdb.base/jit-main.c: Use exit after usage.
3293 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3295 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3296 GDBHISTSIZE prior to the tests.
3297 * gdb.base/gdbinit-history.exp: Likewise.
3299 2016-04-07 Pedro Alves <palves@redhat.com>
3301 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3302 instead of build_executable. Use gdb_load_shlibs.
3304 2016-04-07 Yao Qi <yao.qi@linaro.org>
3306 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3307 Execute "si" command.
3309 2016-04-07 Yao Qi <yao.qi@linaro.org>
3311 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3312 number instead of the comments on some line.
3314 2016-04-06 Don Breazeal <donb@codesourcery.com>
3316 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3317 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3319 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3321 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3322 standard_output_file. Remove unused binfile variable.
3324 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3326 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3327 * gdb.python/py-mi-objfile.exp: Match "list main" output
3330 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3332 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3335 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3337 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3339 * gdb.trace/ftrace.exp: Likewise.
3340 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3342 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3343 (gdb_load_shlibs): Copy libraries to test directory when testing
3344 natively. Only set solib-search-path if testing remotely.
3345 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3347 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3349 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3350 gdb_download. Use it even if the target is not remote.
3351 * gdb.base/jit.exp (compile_jit_test): Likewise.
3352 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3353 output directory if the destination board is local, otherwise use
3354 the standard remote_download from DejaGnu.
3355 (gdb_download): Remove.
3356 (gdb_load_shlibs): Use gdb_remote_download instead of
3358 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3359 Use gdb_remote_download instead of gdb_download. Use it even if
3360 the target is not remote.
3361 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3362 instead of gdb_download.
3364 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3366 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3367 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3370 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3373 * gdb.base/printcmds.exp: Add artificial arrays tests.
3375 2016-03-31 Pedro Alves <palves@redhat.com>
3378 * gdb.base/jit-main.c: Include unistd.h.
3379 (ATTACH): Define to 0 if not already defined.
3380 (wait_for_gdb, mypid): New globals.
3381 (WAIT_FOR_GDB): New macro.
3382 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3383 some breakpoint locations.
3384 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3386 (one_jit_test): Add REATTACH parameter, and handle it. Use
3387 continue_to_test_location.
3388 (top level): Test attach, and adjusts calls to one_jit_test.
3390 2016-03-31 Pedro Alves <palves@redhat.com>
3393 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3394 BINSUFFIX parameter, and handle it.
3395 (top level): Adjust calls compile_jit_test.
3397 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3400 * gdb.python/py-mi-events-gdb.py: New file.
3401 * gdb.python/py-mi-events.c: New file.
3402 * gdb.python/py-mi-events.exp: New file.
3404 2016-03-30 Yao Qi <yao.qi@linaro.org>
3406 * gdb.reverse/until-precsave.exp: Match function name only.
3407 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3408 Move malloc to a condition block.
3409 * gdb.reverse/until-reverse.exp: Match function name only.
3411 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3413 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3414 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3415 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3416 variable for GPR 0 instead of assuming it is register 0.
3417 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3418 * lib/trace-support.exp: Add s390 registers.
3420 2016-03-29 Yao Qi <yao.qi@linaro.org>
3422 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3424 2016-03-24 Yao Qi <yao.qi@linaro.org>
3426 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3429 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3431 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3432 maintaining separate logic for constructing the output path.
3434 2016-03-16 Don Breazeal <donb@codesourcery.com>
3436 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3437 Retry fork and waitpid on interrupted system call errors.
3438 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3439 Use with_timeout_factor to increase timeout by factor of 10.
3441 2016-03-15 Don Breazeal <donb@codesourcery.com>
3443 * gdb.cp/scope-err.cc: New test program.
3444 * gdb.cp/scope-err.exp: New test script.
3445 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3446 lines and "set breakpoint here" comment.
3447 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3448 Fixed some whitespace and format issues.
3449 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3450 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3452 2016-03-15 Doug Evans <dje@google.com>
3454 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3455 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3456 All callers updated. Add tests for enums, mixed flags register.
3458 2016-03-15 Doug Evans <dje@google.com>
3460 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3461 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3463 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3465 * gdb.base/default.exp: Add $_as_string to the list of expected
3466 convenience functions.
3468 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3470 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3472 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3474 * gdb.python/py-as-string.exp: New file.
3475 * gdb.python/py-as-string.c: New file.
3477 2016-03-09 Pedro Alves <palves@redhat.com>
3479 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3480 signal" -> "Thread NN received signal" output change.
3481 * gdb.threads/ia64-sigill.exp: Likewise.
3482 * gdb.threads/linux-dp.exp: Likewise.
3483 * gdb.threads/manythreads.exp: Likewise.
3484 * gdb.threads/pending-step.exp: Likewise.
3485 * gdb.threads/print-threads.exp: Likewise.
3486 * gdb.threads/sigstep-threads.exp: Likewise.
3487 * gdb.threads/staticthreads.exp: Likewise.
3488 * gdb.threads/tls.exp: Likewise.
3490 2016-03-09 Pedro Alves <palves@redhat.com>
3492 * gdb.base/command-line-input.exp: New file.
3494 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3496 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3497 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3498 * gdb.trace/pending.exp: Accept leading dot before function name.
3499 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3500 * lib/trace-support.exp: Set registers for ppc.
3502 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3504 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3505 use it for disassembly; accept .main in addition to main in backtrace.
3507 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3508 Marcin Kościelnicki <koriakin@0x04.net>
3510 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3511 (gdb_recursion_test_ptr): New global variable.
3512 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3514 (gdb_c_test): Ditto.
3516 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3518 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3521 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3523 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3524 (bar): Add bar_start_lbl label.
3525 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3526 of foo/bar for emitting DWARF and tracing.
3528 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3530 * analyze-racy-logs.py: Set executable bit.
3532 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3534 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3535 (CHECK_TARGET_TMP): Likewise.
3536 (check-single-racy): New rule.
3537 (check-parallel-racy): Likewise.
3538 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3539 (do-check-parallel-racy): New rule.
3540 (check-racy/%.exp): Likewise.
3541 * README (Racy testcases): New section.
3542 * analyze-racy-logs.py: New file.
3544 2016-03-03 Doug Evans <dje@google.com>
3546 * gdb.base/skip.exp: Use with_test_prefix.
3548 2016-03-03 Yao Qi <yao.qi@linaro.org>
3550 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3551 Invoke step_over_syscall "clone" and break_cond_on_syscall
3553 * gdb.base/step-over-clone.c: New file.
3555 2016-03-03 Yao Qi <yao.qi@linaro.org>
3557 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3560 2016-03-03 Yao Qi <yao.qi@linaro.org>
3562 * gdb.base/disp-step-fork.c: Rename to ...
3563 * gdb.base/step-over-fork.c: ... it. New file.
3564 * gdb.base/disp-step-vfork.c: Rename to ...
3565 * gdb.base/step-over-vfork.c: ... it. New file.
3566 * gdb.base/disp-step-syscall.exp: Rename to ...
3567 * gdb.base/step-over-syscall.exp: ... it. New file.
3568 (disp_step_cross_syscall): Rename to ...
3569 (step_over_syscall): ... it.
3571 2016-03-03 Yao Qi <yao.qi@linaro.org>
3573 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3574 If target supports condition evaluation on target, invoke
3575 break_cond_on_syscall for fork and vfork.
3577 2016-03-03 Yao Qi <yao.qi@linaro.org>
3579 * gdb.base/disp-step-syscall.exp: Don't invoke
3580 support_displaced_stepping.
3581 (disp_step_cross_syscall): Test with displaced stepping off and
3584 2016-03-03 Yao Qi <yao.qi@linaro.org>
3586 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3589 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3592 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3594 * gdb.fortran/vla-history.exp: Remove breakpoint.
3596 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3598 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3601 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3603 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3606 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3608 * gdb.mi/vla.f90: Nullify pointer after declaration.
3610 2016-03-01 Pedro Alves <palves@redhat.com>
3612 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3614 2016-03-01 Pedro Alves <palves@redhat.com>
3616 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3617 before anything else.
3618 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3620 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3621 before anything else.
3622 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3624 2016-03-01 Pedro Alves <palves@redhat.com>
3626 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3628 2016-03-01 Yao Qi <yao.qi@linaro.org>
3630 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3631 prepare_for_testing.
3633 2016-03-01 Yao Qi <yao.qi@linaro.org>
3635 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3637 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3639 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3640 manually constructing the output path.
3642 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3644 * gdb.arch/s390-stackless.S: New.
3645 * gdb.arch/s390-stackless.exp: New.
3647 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3649 * gdb.dlang/circular.c: New file.
3650 * gdb.dlang/circular.exp: New file.
3652 2016-02-26 Yao Qi <yao.qi@linaro.org>
3654 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3655 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3656 (testcases): Update.
3658 2016-02-26 Yao Qi <yao.qi@linaro.org>
3660 * gdb.reverse/aarch64.c: Rename to ...
3661 * gdb.reverse/insn-reverse.c: ... it.
3662 * gdb.reverse/aarch64.exp: Rename to ...
3663 * gdb.reverse/insn-reverse.exp: ... it.
3665 2016-02-26 Yao Qi <yao.qi@linaro.org>
3667 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3668 (testcase_ftype): New.
3669 (testcases): New array.
3671 (main): Call each element in testcases.
3672 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3673 (read_testcase): New.
3674 Do the tests in a loop.
3676 2016-02-25 Yao Qi <yao.qi@linaro.org>
3678 * gdb.base/branches.c: Remove.
3680 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3683 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3685 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3687 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3689 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3691 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3692 change x86_64 call_insn to 'callq'.
3694 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3696 * gdb.trace/tfile-avx.c: Move to...
3697 * gdb.trace/tracefile-pseudo-reg.c: Here.
3698 * gdb.trace/tfile-avx.exp: Move to...
3699 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3701 2016-02-24 Gary Benson <gbenson@redhat.com>
3703 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3706 2016-02-23 Doug Evans <dje@google.com>
3708 * gdb.base/skip.c (test_skip): New function.
3709 (end_test_skip_file_and_function): New function.
3710 (test_skip_file_and_function): New function.
3711 * gdb.base/skip1.c (test_skip): New function.
3712 (skip1_test_skip_file_and_function): New function.
3713 * gdb.base/skip.exp: Add tests for new skip options.
3714 * gdb.base/skip-solib.exp: Update expected output.
3715 * gdb.perf/skip-command.cc: New file.
3716 * gdb.perf/skip-command.exp: New file.
3717 * gdb.perf/skip-command.py: New file.
3719 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3721 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3722 info registers pattern.
3724 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3726 * lib/future.exp: Add D support.
3727 (gdb_find_gdc): New proc.
3728 (gdb_default_target_compile): Add D support.
3730 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3732 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3734 (trace_speed_test): Determine the iteration count for a time
3735 between 15..30 seconds.
3737 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3739 * gdb.arch/i386-mpx-sigsegv.c: New file.
3740 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3741 * gdb.arch/i386-mpx-simple_segv.c: New file.
3742 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3744 2016-02-18 Yao Qi <yao.qi@linaro.org>
3746 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3747 Don't call setup_kfail.
3749 2016-02-18 Yao Qi <yao.qi@linaro.org>
3751 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3752 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3754 2016-02-16 Doug Evans <dje@google.com>
3756 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3757 * gdb.base/skip1.c: Ditto.
3758 * gdb.base/skip.exp: Whitespace cleanup.
3760 2016-02-16 Don Breazeal <donb@codesourcery.com>
3763 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3764 Remove kfail for PR remote/19496.
3766 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3768 * lib/gdb.exp (standard_temp_file): Return a path specific to
3769 the runtest invocation.
3771 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3773 * gdb.trace/save-trace.exp: Change relative path to be in the
3774 standard output directory.
3776 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3778 * gdb.arch/i386-prologue.c: Add missing prototypes.
3780 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3782 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3783 * gdb.arch/i386-prologue.exp: Likewise.
3784 * gdb.arch/i386-size.exp: Likewise.
3786 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3788 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3789 define object file path.
3790 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3792 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3793 standard_output_file to define binfile.
3795 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3797 Fix compatibility with recent gfortran-5.3.1.
3798 * gdb.fortran/vla-history.exp (print vla1 allocated)
3799 (print vla2 allocated, print $2, print $3): Remove
3800 (print $4): Rename to ...
3801 (print $2): ... here.
3802 (print $9): Rename to ...
3803 (print $5): ... here.
3804 (print $10): Rename to ...
3805 (print $6): ... here.
3806 * gdb.fortran/vla.f90: Add pvla initialization.
3808 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3810 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3812 * gdb.fortran/vla-value-sub.exp: Likewise.
3814 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3816 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3818 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3820 * i386-biarch-core.exp: Define corefile using
3821 standard_output_file.
3823 2016-02-12 Yao Qi <yao.qi@linaro.org>
3825 * gdb.arch/arm-single-step-kernel-helper.c: New.
3826 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3828 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3830 * gdb.btrace/tailcall-only.exp: New.
3831 * gdb.btrace/tailcall-only.c: New.
3832 * gdb.btrace/x86_64-tailcall-only.S: New.
3833 * gdb.btrace/i686-tailcall-only.S: New.
3835 2016-02-11 Pedro Alves <palves@redhat.com>
3837 * README (Parallel testing): Add missing double quotes.
3839 2016-02-11 Pedro Alves <palves@redhat.com>
3841 * README (Parallel testing): New section.
3842 (GDB_PARALLEL): Rewrite.
3843 (FORCE_PARALLEL): Document.
3845 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3847 * gdb.trace/tfile-avx.c: New test.
3848 * gdb.trace/tfile-avx.exp: New test.
3850 2016-02-09 Keith Seitz <keiths@redhat.com>
3852 PR breakpoints/19546
3853 * gdb.base/infcall-exec.c: New file.
3854 * gdb.base/infcall-exec2.c: New file.
3855 * gdb.base/infcall-exec.exp: New file.
3857 2016-02-09 Keith Seitz <keiths@redhat.com>
3859 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3860 (toplevel): Call test_bkpt_address.
3862 2016-02-09 Keith Seitz <keiths@redhat.com>
3865 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3866 (toplevel): Call test_bkpt_address.
3868 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3870 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3872 * configure: Regenerate.
3874 2016-02-09 Pedro Alves <palves@redhat.com>
3876 PR breakpoints/19548
3877 * gdb.base/execl-update-breakpoints.c (some_function): New
3880 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3881 Tighten expected GDB output.
3883 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3885 * Makefile.in (ALL_SUBDIRS): Remove.
3886 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3887 (distclean maintainer-clean realclean): Likewise.
3888 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3889 * configure: Regenerate.
3890 * gdb.ada/Makefile.in: Delete.
3891 * gdb.arch/Makefile.in: Likewise.
3892 * gdb.asm/Makefile.in: Likewise.
3893 * gdb.base/Makefile.in: Likewise.
3894 * gdb.btrace/Makefile.in: Likewise.
3895 * gdb.cell/Makefile.in: Likewise.
3896 * gdb.compile/Makefile.in: Likewise.
3897 * gdb.cp/Makefile.in: Likewise.
3898 * gdb.disasm/Makefile.in: Likewise.
3899 * gdb.dlang/Makefile.in: Likewise.
3900 * gdb.dwarf2/Makefile.in: Likewise.
3901 * gdb.fortran/Makefile.in: Likewise.
3902 * gdb.gdb/Makefile.in: Likewise.
3903 * gdb.go/Makefile.in: Likewise.
3904 * gdb.guile/Makefile.in: Likewise.
3905 * gdb.java/Makefile.in: Likewise.
3906 * gdb.linespec/Makefile.in: Likewise.
3907 * gdb.mi/Makefile.in: Likewise.
3908 * gdb.modula2/Makefile.in: Likewise.
3909 * gdb.multi/Makefile.in: Likewise.
3910 * gdb.objc/Makefile.in: Likewise.
3911 * gdb.opencl/Makefile.in: Likewise.
3912 * gdb.opt/Makefile.in: Likewise.
3913 * gdb.pascal/Makefile.in: Likewise.
3914 * gdb.perf/Makefile.in: Likewise.
3915 * gdb.python/Makefile.in: Likewise.
3916 * gdb.reverse/Makefile.in: Likewise.
3917 * gdb.server/Makefile.in: Likewise.
3918 * gdb.stabs/Makefile.in: Likewise.
3919 * gdb.threads/Makefile.in: Likewise.
3920 * gdb.trace/Makefile.in: Likewise.
3921 * gdb.xml/Makefile.in: Likewise.
3922 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3924 (standard_output_file): Remove check for GDB_PARALLEL, always
3925 return path in outputs/$subdir/$testname.
3927 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3929 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3930 (site.exp): Assign abs_srcdir to tcl's srcdir.
3932 2016-02-04 Yao Qi <yao.qi@linaro.org>
3934 * gdb.base/foll-exec-mode.c: Include limits.h.
3935 (main): Add parameters argc and argv. Get directory from
3937 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3939 * gdb.base/foll-exec.c: Include limits.h.
3940 (main): Add parameters argc and argv.
3941 Get directory from argv[0].
3942 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3943 Adjust tests on the number of lines as source code changed.
3944 * gdb.base/foll-vfork-exit.c: Include limits.h.
3945 (main): Add one line of statement before vfork.
3946 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3947 (main): Add parameters argc and argv. Get directory from
3949 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3950 (setup_gdb): Set tbreak to skip some source lines.
3951 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3952 (main): Add parameters argc and argv. Get directory from
3954 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3956 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3957 (main): Add parameters argc and argv. Get directory from
3959 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3962 2016-02-01 Doug Evans <dje@google.com>
3964 * gdb.base/skip.exp: Clean up multiple references to same test name.
3966 2016-02-01 Pedro Alves <palves@redhat.com>
3969 * gdb.threads/forking-threads-plus-breakpoint.exp
3970 (displaced_stepping_supported): New global.
3971 (probe_displaced_stepping_support): New procedure.
3972 (do_test): Add 'displaced' parameter, and use it.
3973 (top level): Check for displaced stepping support. Add displaced
3974 stepping on/off testing axis.
3976 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3978 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3979 pointer. Don't perform further tests on the unassociated pointer
3980 if the first test fails.
3982 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3984 * gdb.base/max-value-size.c: New file.
3985 * gdb.base/max-value-size.exp: New file.
3986 * gdb.base/huge.exp: Disable max-value-size for this test.
3988 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3990 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3992 2016-01-28 Yao Qi <yao.qi@linaro.org>
3994 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3996 2016-01-25 Pedro Alves <palves@redhat.com>
3999 * gdb.base/fork-running-state.c: New file.
4000 * gdb.base/fork-running-state.exp: New file.
4002 2016-01-25 Pedro Alves <palves@redhat.com>
4005 * gdb.base/catch-fork-kill.c: New file.
4006 * gdb.base/catch-fork-kill.exp: New file.
4008 2016-01-25 Pedro Alves <palves@redhat.com>
4010 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4011 Delete, moved to lib/gdb.exp.
4012 * gdb.threads/forking-threads-plus-breakpoint.exp
4013 (foreach_with_prefix): Likewise.
4014 * gdb.threads/process-dies-while-handling-bp.exp
4015 (foreach_with_prefix): Likewise.
4016 * lib/gdb.exp (foreach_with_prefix): New procedure.
4018 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4020 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4021 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4023 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4025 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4028 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4029 Pedro Alves <palves@redhat.com>
4031 Fix testsuite compatibility with Guile.
4032 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4035 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4037 Fix testsuite compatibility with Guile.
4038 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4039 (thread 1): New test for backtrace through signal handler.
4041 2016-01-22 Yao Qi <yao.qi@linaro.org>
4044 * gdb.base/multi-forks.c: Include
4045 ../lib/unbuffer_output.c
4046 (main): Call gdb_unbuffer_output.
4048 2016-01-21 Doug Evans <dje@google.com>
4050 * lib/ada.exp (gdb_compile_ada): Fix typo.
4052 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4054 * gdb.base/break-fun-addr.exp: New file.
4055 * gdb.base/break-fun-addr1.c: New file.
4056 * gdb.base/break-fun-addr2.c: New file.
4058 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4060 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4061 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4064 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4066 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4067 when GDB can not set the vector return value. Add more comments
4070 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4072 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4075 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4077 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4079 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4081 * Makefile.in (check-single): Pass --status to runtest.
4082 (check/%.exp): Likewise.
4084 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4086 * Makefile.in (check-parallel): Propagate return code from make
4089 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4091 * gdb.trace/ftrace.exp: Fix expected message on continue.
4092 * gdb.trace/pending.exp: Fix expected message on continue.
4093 * gdb.trace/trace-break.exp: Fix expected message on continue.
4095 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4097 * lib/gdb.exp (gdb_test): Remove unused global references.
4099 2016-01-18 Pedro Alves <palves@redhat.com>
4101 * gdb.base/async-shell.exp: Adjust expected output.
4102 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4103 * gdb.base/siginfo-thread.exp: Adjust expected output.
4104 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4105 * gdb.java/jnpe.exp: Adjust expected output.
4106 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4107 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4108 * gdb.threads/leader-exit.exp: Adjust expected output.
4109 * gdb.threads/manythreads.exp: Adjust expected output.
4110 * gdb.threads/pthreads.exp: Adjust expected output.
4111 * gdb.threads/schedlock.exp: Adjust expected output.
4112 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4113 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4115 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4117 * gdb.threads/sigthread.exp: Adjust expected output.
4118 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4120 2016-01-18 Yao Qi <yao.qi@linaro.org>
4122 * gdb.guile/scm-section-script.c: Replace @progbits with
4124 * gdb.python/py-section-script.c: Likewise.
4126 2016-01-15 Pedro Alves <palves@redhat.com>
4128 * gdb.multi/tids.exp: Test star wildcard ranges.
4130 2016-01-15 Pedro Alves <palves@redhat.com>
4132 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4133 command from "thread apply" invocation.
4134 (thr_apply_info_thr_invalid): Default the expected output to the
4136 (top level): Add tests that use convenience variables. Add tests
4137 for "thread apply" with a valid TID list, but missing the command.
4139 2016-01-13 Pedro Alves <palves@redhat.com>
4141 * gdb.base/default.exp: Expect $_gthread as well.
4142 * gdb.multi/tids.exp: Test $_gthread.
4143 * gdb.threads/thread-specific.exp: Test $_gthread.
4145 2016-01-13 Pedro Alves <palves@redhat.com>
4147 * gdb.multi/tids.exp: Test "info threads -gid".
4149 2016-01-13 Pedro Alves <palves@redhat.com>
4151 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4153 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4155 2016-01-07 Pedro Alves <palves@redhat.com>
4157 * gdb.base/break.exp: Adjust to output changes.
4158 * gdb.base/hbreak2.exp: Likewise.
4159 * gdb.base/sepdebug.exp: Likewise.
4160 * gdb.base/watch_thread_num.exp: Likewise.
4161 * gdb.linespec/keywords.exp: Likewise.
4162 * gdb.multi/info-threads.exp: Likewise.
4163 * gdb.threads/thread-find.exp: Likewise.
4164 * gdb.multi/tids.c: New file.
4165 * gdb.multi/tids.exp: New file.
4167 2016-01-13 Pedro Alves <palves@redhat.com>
4169 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4171 2016-01-13 Pedro Alves <palves@redhat.com>
4173 * gdb.base/default.exp: Expect $_inferior as well.
4174 * gdb.multi/base.exp: Test $_inferior.
4176 2016-01-13 Pedro Alves <palves@redhat.com>
4178 PR breakpoints/19388
4179 * gdb.base/catch-signal-siginfo-cond.c: New file.
4180 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4182 2016-01-12 Josh Stone <jistone@redhat.com>
4183 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4185 * gdb.base/catch-syscall.c (do_execve): New variable.
4186 (main): Conditionally trigger an execve.
4187 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4188 (test_catch_syscall_execve): New, check entry/return across execve.
4189 (do_syscall_tests): Call test_catch_syscall_execve.
4191 2016-01-12 Pedro Alves <palves@redhat.com>
4193 * gdb.base/random-signal.exp (do_test): New procedure, with body
4194 of testcase moved in.
4196 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4197 Pedro Alves <palves@redhat.com>
4199 * gdb.base/funcargs.exp (finish from indirectly called function):
4200 Reintroduce the case for 'First'.
4202 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4203 Pedro Alves <palves@redhat.com>
4205 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4206 (tcatch_vfork_then_child_follow_exec)
4207 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4210 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4212 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4213 and repeats to unlimited.
4214 * gdb.python/py-value.exp: Likewise.
4215 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4216 and repeats to unlimited.
4218 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4220 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4221 and reordering the functions.
4222 * gdb.multi/hangout.c: Likewise.
4223 * gdb.multi/hello.c: Likewise.
4225 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4227 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4229 (SingleStatisticTestResult.report): Use dict.keys instead of
4232 2016-01-06 Pedro Alves <palves@redhat.com>
4234 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4236 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4238 * gdb.btrace/dlopen.exp: New.
4239 * gdb.btrace/dlopen.c: New.
4240 * gdb.btrace/dlopen-dso.c: New.
4242 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4244 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4245 PATTERN argument is optional.
4247 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4249 * lib/ada.exp (target_compile_ada_from_dir): New function.
4250 (gdb_compile_ada): Reimplement avoiding the use of project files.
4251 * gdb.ada/gnat_ada.gpr: Delete.
4252 * gdb.ada/cond_lang.exp: Adjust test to make path before
4254 * gdb.ada/small_reg_param.exp: Likewise.
4256 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4258 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4260 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4262 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4265 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4267 * gdb.base/break.exp: Remove dead code.
4268 * gdb.base/sepdebug.exp: Likewise.
4270 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4272 * gdb.asm/asm-source.exp: Remove HP-UX references.
4273 * gdb.base/annota1.exp: Likewise.
4274 * gdb.base/annota3.exp: Likewise.
4275 * gdb.base/attach.exp: Likewise.
4276 * gdb.base/bigcore.exp: Likewise.
4277 * gdb.base/break.exp: Likewise.
4278 * gdb.base/call-ar-st.exp: Likewise.
4279 * gdb.base/callfuncs.exp: Likewise.
4280 * gdb.base/catch-fork-static.exp: Likewise.
4281 * gdb.base/display.exp: Likewise.
4282 * gdb.base/foll-exec-mode.exp: Likewise.
4283 * gdb.base/foll-exec.exp: Likewise.
4284 * gdb.base/foll-fork.exp: Likewise.
4285 * gdb.base/foll-vfork.exp: Likewise.
4286 * gdb.base/funcargs.exp: Likewise.
4287 * gdb.base/hbreak2.exp: Likewise.
4288 * gdb.base/inferior-died.exp: Likewise.
4289 * gdb.base/interrupt.exp: Likewise.
4290 * gdb.base/multi-forks.exp: Likewise.
4291 * gdb.base/nodebug.exp: Likewise.
4292 * gdb.base/sepdebug.exp: Likewise.
4293 * gdb.base/solib1.c: Likewise.
4294 * gdb.base/step-test.exp: Likewise.
4295 * gdb.mi/non-stop.c: Likewise.
4296 * gdb.mi/pthreads.c: Likewise.
4297 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4298 * gdb.threads/pthreads.c: Likewise.
4299 * gdb.threads/staticthreads.exp: Likewise.
4300 * lib/future.exp: Likewise.
4301 * lib/gdb.exp: Likewise.
4302 * gdb.base/so-indr-cl.c: Remove.
4303 * gdb.base/so-indr-cl.exp: Likewise.
4304 * gdb.base/solib.c: Likewise.
4305 * gdb.base/solib.exp: Likewise.
4306 * gdb.base/solib2.c: Likewise.
4308 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4310 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4311 * gdb.base/call-ar-st.exp: Likewise.
4312 * gdb.base/callfuncs.exp: Likewise.
4313 * gdb.base/condbreak.exp: Likewise.
4314 * gdb.base/constvars.exp: Likewise.
4315 * gdb.base/hbreak2.exp: Likewise.
4316 * gdb.base/langs.exp: Likewise.
4317 * gdb.base/list.exp: Likewise.
4318 * gdb.base/long_long.exp: Likewise.
4319 * gdb.base/ptype.exp: Likewise.
4320 * gdb.base/scope.exp: Likewise.
4321 * gdb.base/signals.exp: Likewise.
4322 * gdb.base/so-impl-ld.exp: Likewise.
4323 * gdb.base/varargs.exp: Likewise.
4324 * gdb.base/volatile.exp: Likewise.
4325 * gdb.base/whatis.exp: Likewise.
4326 * gdb.cp/cplusfuncs.exp: Likewise.
4327 * gdb.cp/inherit.exp: Likewise.
4328 * gdb.cp/local.exp: Likewise.
4329 * gdb.cp/member-ptr.exp: Likewise.
4330 * gdb.cp/method.exp: Likewise.
4331 * gdb.cp/overload.exp: Likewise.
4332 * gdb.cp/templates.exp: Likewise.
4333 * gdb.stabs/weird.exp: Likewise.
4334 * lib/compiler.c: Likewise.
4335 * lib/compiler.cc: Likewise.
4336 * lib/cp-support.exp: Likewise.
4337 * lib/gdb.exp: Likewise.
4339 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4341 * configure.ac: Remove HP-UX case.
4342 * configure: Regenerate.
4344 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4346 * lib/gdb.exp (gdb_compile): Add function doc.
4348 2015-12-17 Pedro Alves <palves@redhat.com>
4351 * gdb.multi/info-threads.exp: New file.
4353 2015-12-15 Yao Qi <yao.qi@linaro.org>
4355 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4358 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4360 * gdb.base/history-duplicates.exp: Skip if no readline support.
4362 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4364 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4366 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4368 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4370 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4372 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4373 ctrl-C if nointerrupts target property is set.
4374 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4375 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4376 * gdb.base/paginate-bg-execution.exp: Likewise.
4377 * gdb.base/paginate-execution-startup.exp: Likewise.
4378 * gdb.base/random-signal.exp: Likewise.
4379 * gdb.base/range-stepping.exp: Likewise.
4380 * gdb.cp/annota2.exp: Likewise.
4381 * gdb.cp/annota3.exp: Likewise.
4382 * gdb.gdb/selftest.exp: Likewise.
4383 * gdb.threads/continue-pending-status.exp: Likewise.
4384 * gdb.threads/leader-exit.exp: Likewise.
4385 * gdb.threads/manythreads.exp: Likewise.
4386 * gdb.threads/pthreads.exp: Likewise.
4387 * gdb.threads/schedlock.exp: Likewise.
4388 * gdb.threads/sigthread.exp: Likewise.
4390 2015-12-11 Don Breazeal <donb@codesourcery.com>
4392 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4394 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4395 * gdb.base/foll-exec.exp (main): Enable for target remote.
4396 * gdb.base/foll-fork.exp (main): Likewise.
4397 * gdb.base/foll-vfork.exp (main): Likewise.
4398 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4399 (proc continue_to_exit_bp_loc): Use clean_restart.
4400 * gdb.base/pie-execl.exp (main): Disable for target remote.
4401 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4402 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4403 * gdb.threads/execl.exp (main): Likewise.
4404 * gdb.threads/fork-child-threads.exp (main): Likewise.
4405 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4407 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4409 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4410 pid.tid style ptids, instead of just tid.
4411 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4412 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4413 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4414 ptids, instead of just tid.
4416 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4418 * gdb.base/list.exp (test_list_forward): Add end of file error
4420 (test_repeat_list_command): Add end of file error test.
4421 (test_list_backwards): Add beginning of file error test.
4423 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4425 * gdb.base/list.exp (test_list_invalid_args): New function,
4426 defined, and called.
4428 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4430 * gdb.base/list.exp (test_list): Make test names unique.
4432 2015-12-11 Yao Qi <yao.qi@linaro.org>
4434 * gdb.base/coremaker2.c: Remove.
4436 2015-12-10 Pedro Alves <palves@redhat.com>
4438 * gdb.multi/base.exp: Remove stale "spaces" references.
4440 2015-12-10 Pedro Alves <palves@redhat.com>
4442 * gdb.multi/base.exp: Don't use nowarnings.
4443 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4444 * gdb.multi/hangout.c: Include stdio.h.
4445 * gdb.multi/hello.c: Include stdlib.h.
4446 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4447 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4448 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4450 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4452 * gdb.dwarf2/dw2-ranges-base.c: New file.
4453 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4454 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4455 support additional line table, and debug ranges generation.
4456 (Dwarf::ranges): New function, generate .debug_ranges.
4457 (Dwarf::lines): Support generating simple line table programs.
4458 (Dwarf::assemble): Initialise new namespace variables.
4460 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4462 * gdb.base/async.exp (proc test_background): Add case for
4463 asynchronous execution not supported.
4465 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4467 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4468 format and change test names to make them unique.
4470 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4471 Pedro Alves <pedro@redhat.com>
4474 Add checking of floatformats setup on x86_64 hosts.
4475 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4476 (smallval, bigval): New labels/constants.
4477 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4478 float" after loading bigval and smallval.
4480 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4482 * gdb.ada/fun_overload_menu.exp: New testcase.
4483 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4485 2015-12-04 Josh Stone <jistone@redhat.com>
4487 * gdb.base/catch-fork-static.exp: New.
4489 2015-12-03 Yao Qi <yao.qi@linaro.org>
4491 * gdb.base/sizeof.c: Don't include stdio.h and
4492 ../lib/unbuffer_output.c.
4493 (main): New variable 'size' and 'value'. Remove printf and
4494 gdb_unbuffer_output. Assign return value to size and value.
4495 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4497 (check_sizeof): Check the result by printing variable 'size'.
4498 (check_valueof): Check the result by printing variable 'value'.
4500 2015-12-01 Yao Qi <yao.qi@linaro.org>
4502 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4503 for aarch64*-*-linux* target.
4505 2015-11-30 Pedro Alves <palves@redhat.com>
4507 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4509 2015-11-30 Pedro Alves <palves@redhat.com>
4511 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4512 Handle non-stop mode vCont replies.
4514 2015-11-30 Pedro Alves <palves@redhat.com>
4516 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4517 prepare_for_testing. Start gdb with "set non-stop on" appended to
4518 GDBFLAGS. Lax expected stop output.
4520 2015-11-27 Yao Qi <yao.qi@linaro.org>
4522 * gdb.arch/arm-neon.exp: New.
4523 * gdb.arch/arm-neon.c: New.
4525 2015-11-27 Yao Qi <yao.qi@linaro.org>
4527 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4529 2015-11-27 Yao Qi <yao.qi@linaro.org>
4531 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4532 frames-invalid annotation.
4534 2015-11-27 Yao Qi <yao.qi@linaro.org>
4536 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4538 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4540 * gdb.threads/names.exp: New file.
4541 * gdb.threads/names.c: New file.
4542 * README: Mention gdb,no_thread_names.
4544 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4547 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4550 2015-11-24 Pedro Alves <palves@redhat.com>
4553 * gdb.base/display.exp: Expect displays to be sorted in ascending
4554 order. Use multi_line.
4555 * gdb.base/solib-display.exp: Likewise.
4557 2015-11-24 Pedro Alves <palves@redhat.com>
4560 * gdb.base/display.exp: Expect displays to be sorted in ascending
4561 order. Use multi_line.
4562 * gdb.base/solib-display.exp: Likewise.
4564 2015-11-24 Pedro Alves <palves@redhat.com>
4567 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4568 threads in ascending order.
4569 * gdb.base/foll-fork.exp: Likewise.
4570 * gdb.base/foll-vfork.exp: Likewise.
4571 * gdb.base/multi-forks.exp: Likewise.
4572 * gdb.mi/mi-nonstop.exp: Likewise.
4573 * gdb.mi/mi-nsintrall.exp: Likewise.
4574 * gdb.multi/base.exp: Likewise.
4575 * gdb.multi/multi-arch.exp: Likewise.
4576 * gdb.python/py-inferior.exp: Likewise.
4577 * gdb.threads/break-while-running.exp: Likewise.
4578 * gdb.threads/execl.exp: Likewise.
4579 * gdb.threads/gcore-thread.exp: Likewise.
4580 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4581 * gdb.threads/kill.exp: Likewise.
4582 * gdb.threads/linux-dp.exp: Likewise.
4583 * gdb.threads/multiple-step-overs.exp: Likewise.
4584 * gdb.threads/next-bp-other-thread.exp: Likewise.
4585 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4586 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4587 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4588 * gdb.threads/thread-find.exp: Likewise.
4589 * gdb.threads/tls.exp: Likewise.
4590 * lib/mi-support.exp (mi_reverse_list): Delete.
4591 (mi_check_thread_states): No longer reverse list.
4593 2015-11-24 Pedro Alves <palves@redhat.com>
4595 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4598 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4600 * gdb.trace/actions.c: Include trace-common.h.
4601 (main): Add a location for a fast tracepoint.
4602 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4603 the normal tracepoints.
4604 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4606 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4608 * save-trace.exp: Factor out code to these...
4609 (gdb_save_tracepoints): New.
4610 (gdb_load_tracepoints): New.
4611 (do_save_load_test): New.
4613 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4615 * gdb.base/asmlabel.exp: New test.
4616 * gdb.base/asmlabel.c: New test case.
4618 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4620 * gdb.base/wrong_frame_bt_full-main.c: New file.
4621 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4622 * gdb.base/wrong_frame_bt_full.exp: New file.
4624 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4626 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4628 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4630 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4631 pstate register when comparing registers values in
4632 sparc64-*-linux-gnu targets to avoid spurious differences.
4634 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4636 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4638 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4640 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4641 as type argument to gdb_compile.
4642 * gdb.base/nested-subp2.exp: Likewise.
4643 * gdb.base/nested-subp3.exp: Likewise.
4645 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4647 * lib/dwarf.exp (_note): Fix left shift of negative value.
4648 * gdb.trace/trace-condition.exp: Likewise.
4650 2015-11-13 Yao Qi <yao.qi@linaro.org>
4652 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4653 comments about d10v.
4654 (test_scalar_returns): Likewise.
4655 * gdb.base/d10v.ld: Remove.
4656 * gdb.base/overlays.exp: Remove the target triplet checking for
4658 * gdb.base/structs.exp (test_struct_returns): Remove the
4659 comments about d10v.
4660 (test_struct_calls): Likewise.
4662 2015-11-13 Yao Qi <yao.qi@linaro.org>
4664 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4665 * gdb.base/gnu_vector.c: Don't include stdio.h.
4666 (main): Don't print res and call add_some_intvecs.
4668 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4670 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4673 (func4): Use FAST_TRACEPOINT_LABEL.
4674 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4677 (thread_function): Use FAST_TRACEPOINT_LABEL.
4678 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4680 (marker): Use FAST_TRACEPOINT_LABEL.
4681 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4682 (pendfunc1): Remove.
4683 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4684 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4686 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4687 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4690 (marker): Use FAST_TRACEPOINT_LABEL.
4691 * gdb.trace/trace-common.h: New header.
4692 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4695 (marker): Use FAST_TRACEPOINT_LABEL.
4696 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4698 (thread_function): Use FAST_TRACEPOINT_LABEL.
4700 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4702 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4704 * gdb.trace/change-loc.exp: Use global pcreg definition.
4705 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4706 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4708 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4709 * gdb.trace/pending.exp: Likewise.
4710 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4711 * gdb.trace/trace-break.exp: Likewise.
4712 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4714 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4715 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4717 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4719 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4721 * gdb.ada/fin_fun_out: New testcase.
4723 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4725 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4726 value associated with DW_AT_byte_size.
4727 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4728 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4731 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4733 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4734 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4736 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4737 gdb.dwarf2/dw2-canonicalize-type.exp,
4738 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4739 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4740 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4741 provided by gdb_target_symbol_prefix_flags_asm.
4742 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4743 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4744 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4745 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4746 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4747 macros where needed). Use this macro for symbols which require
4748 the prefix provided by SYMBOL_PREFIX.
4750 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4752 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4754 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4755 representing expressions, of more than one list element.
4756 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4757 to prepend linker symbol prefix to f.
4758 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4759 table_1 and table_2.
4760 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4761 Likewise, for f and g.
4762 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4764 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4766 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4767 table_1_ptr and table_2_ptr.
4769 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4770 Joel Brobecker <brobecker@adacore.com>
4772 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4774 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4776 * gdb.reverse/s390-mvcle.c: New test.
4777 * gdb.reverse/s390-mvcle.exp: New file.
4778 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4780 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4782 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4784 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4786 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4788 * gdb.reverse/getresuid-reverse.exp: Likewise.
4789 * gdb.reverse/pipe-reverse.exp: Likewise.
4790 * gdb.reverse/readv-reverse.exp: Likewise.
4791 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4792 * gdb.reverse/time-reverse.exp: Likewise.
4793 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4795 2015-10-30 Yao Qi <yao.qi@linaro.org>
4797 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4798 (empty_cycle): Remove.
4799 (main): Don't call empty_cycle. Don't use watch_count_done.
4800 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4801 empty_cycle. Rewrite the code counting HW watchpoints.
4803 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4805 * gdb.reverse/fstatat-reverse.c: New test.
4806 * gdb.reverse/fstatat-reverse.exp: New file.
4807 * gdb.reverse/getresuid-reverse.c: New test.
4808 * gdb.reverse/getresuid-reverse.exp: New file.
4809 * gdb.reverse/pipe-reverse.c: New test.
4810 * gdb.reverse/pipe-reverse.exp: New file.
4811 * gdb.reverse/readv-reverse.c: New test.
4812 * gdb.reverse/readv-reverse.exp: New file.
4813 * gdb.reverse/recvmsg-reverse.c: New test.
4814 * gdb.reverse/recvmsg-reverse.exp: New file.
4815 * gdb.reverse/time-reverse.c: New test.
4816 * gdb.reverse/time-reverse.exp: New file.
4817 * gdb.reverse/waitpid-reverse.c: New test.
4818 * gdb.reverse/waitpid-reverse.exp: New file.
4820 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4822 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4824 2015-10-26 Doug Evans <dje@google.com>
4827 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4828 * gdb.dwarf2/bad-regnum.c: New file.
4829 * gdb.dwarf2/bad-regnum.exp: New file.
4831 2015-10-26 Doug Evans <dje@google.com>
4834 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4837 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4839 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4840 for a change by "Mention language in compile error message".
4842 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4845 * gdb.python/py-type.c (C::a_method): New.
4846 (C::a_const_method): New.
4847 (C::a_static_method): New.
4849 * gdb.python/py-type.exp (test_fields): Test getting fields
4850 from function and method.
4852 2015-10-21 Keven Boell <keven.boell@intel.com>
4854 * gdb.fortran/vla-alloc-assoc.exp: New file.
4855 * gdb.fortran/vla-datatypes.exp: New file.
4856 * gdb.fortran/vla-datatypes.f90: New file.
4857 * gdb.fortran/vla-history.exp: New file.
4858 * gdb.fortran/vla-ptype-sub.exp: New file.
4859 * gdb.fortran/vla-ptype.exp: New file.
4860 * gdb.fortran/vla-sizeof.exp: New file.
4861 * gdb.fortran/vla-sub.f90: New file.
4862 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4863 * gdb.fortran/vla-value-sub-finish.exp: New file.
4864 * gdb.fortran/vla-value-sub.exp: New file.
4865 * gdb.fortran/vla-value.exp: New file.
4866 * gdb.fortran/vla-ptr-info.exp: New file.
4867 * gdb.mi/mi-vla-fortran.exp: New file.
4868 * gdb.mi/vla.f90: New file.
4870 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4872 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4873 of hardwired timeout value.
4875 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4876 Pedro Alves <palves@redhat.com>
4878 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4879 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4881 2015-10-19 Josh Stone <jistone@redhat.com>
4883 * gdb.base/catch-syscall.c: Include <sched.h>.
4884 (unknown_syscall): New variable.
4885 (main): Trigger a vfork and an unknown syscall.
4886 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4887 (unknown_syscall_number): Likewise.
4888 (check_call_to_syscall): Accept an optional syscall pattern.
4889 (check_return_from_syscall): Likewise.
4890 (check_continue): Likewise.
4891 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4892 (test_catch_syscall_skipping_return): New test toggling off 'catch
4893 syscall' to step over the syscall return, then toggling back on.
4894 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4895 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4896 (do_syscall_tests): Call test_catch_syscall_without_args and
4897 test_catch_syscall_mid_vfork.
4898 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4899 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4901 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4903 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4904 print g_vE): Add new pass patterns.
4905 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4906 print various symbol names for vptr fields.
4908 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4910 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4913 2015-10-12 Yao Qi <yao.qi@linaro.org>
4915 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4917 2015-10-12 Yao Qi <yao.qi@linaro.org>
4919 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4920 is aarch64*-*-linux*.
4922 2015-10-12 Yao Qi <yao.qi@linaro.org>
4924 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4925 (can_relocate_bcond_true): ... it.
4926 (can_relocate_bcond_false): New function.
4928 (can_relocate_bl): Likewise.
4929 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4932 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4934 * gdb.base/nested-addr.c: New file.
4935 * gdb.base/nested-addr.exp: New testcase.
4937 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4939 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4940 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4941 its output. Ignore the output of "record goto begin" and instead
4942 check that GDB is replaying.
4944 2015-10-09 Pedro Alves <palves@redhat.com>
4946 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4947 (top level): Use it in the run with no args test.
4949 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4951 * gdb.dlang/properties.exp: New file.
4953 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4955 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4956 whether or not address 0x1000 is mapped on the target.
4958 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4960 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4963 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4965 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4966 instruction-history test.
4968 2015-09-28 Doug Evans <dje@google.com>
4970 * gdb.base/gcore.c (array_func): Add reference to static_array.
4972 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4974 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4977 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4979 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4980 short or char as base type.
4982 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4984 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4985 to allow any size enum.
4987 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4989 * gdb.ada/array_ptr_renaming.exp: New testcase.
4990 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4991 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4993 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4995 * gdb.trace/ftrace-lock.c: New file.
4996 * gdb.trace/ftrace-lock.exp: New file.
4998 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5000 * gdb.arch/insn-reloc.c: New file.
5001 * gdb.arch/ftrace-insn-reloc.exp: New file.
5003 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5005 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5007 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5008 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5009 * gdb.trace/range-stepping.c: Likewise.
5010 * gdb.trace/trace-break.c: Likewise.
5011 * gdb.trace/trace-mt.c (thread_function): Likewise.
5012 * gdb.trace/ftrace.c (marker): Likewise.
5013 * gdb.trace/trace-condition.c (marker): Likewise.
5014 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5015 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5018 2015-09-18 Doug Evans <xdje42@gmail.com>
5020 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5021 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5023 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5025 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5028 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5030 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5031 the pending breakpoint. Remove timeout override for "Run till
5032 MI pending breakpoint on pendfunc3 on thread 2" test.
5034 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5036 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5039 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5041 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5042 in breakpoint filename pattern.
5044 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5046 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5048 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5050 * gdb.linespec/explicit.exp: Check for readline support for
5051 tab-completion tests. Fix obvious typo.
5053 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5055 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5058 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5060 * gdb.btrace/non-stop.c: New.
5061 * gdb.btrace/non-stop.exp: New.
5063 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5064 Yao Qi <yao.qi@linaro.org>
5066 * gdb.trace/trace-condition.c: New file.
5067 * gdb.trace/trace-condition.exp: New file.
5069 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5071 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5072 for testing bytecode compilation.
5074 2015-09-16 Pedro Alves <palves@redhat.com>
5075 Sandra Loosemore <sandra@codesourcery.com>
5077 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5078 (SECONDS): Redefine.
5079 (main): Call pthread_kill and alarm early.
5080 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5082 (test): If the target can't hardware step and doesn't support
5083 displaced stepping, increase the timeout.
5085 2015-09-16 Pedro Alves <palves@redhat.com>
5087 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5088 (enable_debug): New procedures.
5089 (test): Use them. Bail out if waiting for threads fails.
5090 (top level): Bail out if a test fails.
5092 2015-09-16 Yao Qi <yao.qi@linaro.org>
5094 * gdb.asm/asm-source.exp: Set asm-arch for
5095 aarch64*-*-* target.
5096 * gdb.asm/aarch64.inc: New file.
5098 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5100 * gdb.ada/array_of_variable_length.exp: New testcase.
5101 * gdb.ada/array_of_variable_length/foo.adb: New file.
5102 * gdb.ada/array_of_variable_length/pck.adb: New file.
5103 * gdb.ada/array_of_variable_length/pck.ads: New file.
5105 2015-09-15 Doug Evans <dje@google.com>
5107 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5108 of function static local variable.
5110 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5112 * gdb.threads/tls-so_extern.exp: New test file.
5113 * gdb.threads/tls-so_extern.c: New test file.
5114 * gdb.threads/tls-so_extern_main.c: New test file.
5116 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5118 * gdb.opt/solib-intra-step-lib.c: New file.
5119 * gdb.opt/solib-intra-step-main.c: New file.
5120 * gdb.opt/solib-intra-step.exp: New file.
5122 2015-09-15 Pedro Alves <palves@redhat.com>
5124 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5125 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5127 2015-09-14 Pedro Alves <palves@redhat.com>
5129 * gdb.base/hook-stop-continue.c: Delete.
5130 * gdb.base/hook-stop-continue.exp: Delete.
5131 * gdb.base/hook-stop-frame.c: Delete.
5132 * gdb.base/hook-stop-frame.exp: Delete.
5133 * gdb.base/hook-stop.c: New file.
5134 * gdb.base/hook-stop.exp: New file.
5136 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5138 * gdb.ada/access_to_packed_array.exp: New testcase.
5139 * gdb.ada/access_to_packed_array/foo.adb: New file.
5140 * gdb.ada/access_to_packed_array/pack.adb: New file.
5141 * gdb.ada/access_to_packed_array/pack.ads: New file.
5143 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5145 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5148 2015-09-11 Don Breazeal <donb@codesourcery.com>
5150 * gdb.base/foll-exec.c: Add copyright header. Fix
5152 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5153 (do_exec_tests): Use clean_restart in place of zap_session,
5154 and for test initialization. Fix formatting issues. Use
5155 fail in place of perror.
5156 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5157 an expect statement to match an expression with output from
5158 the program under debug.
5159 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5160 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5161 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5162 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5163 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5165 2015-09-09 Doug Evans <dje@google.com>
5167 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5169 2015-09-09 Doug Evans <dje@google.com>
5171 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5173 2015-09-09 Doug Evans <dje@google.com>
5175 * gdb.base/savedregs.exp: Fix typo.
5177 2015-09-09 Pedro Alves <palves@redhat.com>
5179 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5181 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5183 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5184 command actually switches threads. Give up on remaining
5185 tests if target fails to stop at breakpoint.
5187 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5189 * gdb.ada/funcall_char.exp: New testcase.
5190 * gdb.ada/funcall_char/foo.adb: New file.
5192 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5194 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5195 expected outputs. Add two testcases for completing ambiguous
5197 * gdb.ada/complete/aux_pck.adb: New file.
5198 * gdb.ada/complete/aux_pck.ads: New file.
5199 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5200 Ambiguous_Func functions.
5201 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5202 * gdb.ada/complete/pck.adb: Likewise.
5204 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5206 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5207 failures to run the test program under GDB.
5209 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5211 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5214 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5216 * gdb.base/run-after-attach.exp: New test file.
5217 * gdb.base/run-after-attach.c: New test file.
5219 2015-08-26 Don Breazeal <donb@codesourcery.com>
5221 * gdb.base/foll-exec-2.c: New test program.
5222 * gdb.base/foll-exec-2.exp: New test.
5224 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5226 * gdb.base/nested-subp1.exp: New file.
5227 * gdb.base/nested-subp1.c: New file.
5228 * gdb.base/nested-subp2.exp: New file.
5229 * gdb.base/nested-subp2.c: New file.
5230 * gdb.base/nested-subp3.exp: New file.
5231 * gdb.base/nested-subp3.c: New file.
5233 2015-08-24 Pedro Alves <palves@redhat.com>
5235 * gdb.server/connect-without-multi-process.c: New file.
5236 * gdb.server/connect-without-multi-process.exp: New file.
5238 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5240 * gdb.opt/inline-markers.c: Make z int.
5242 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5244 * gdb.opt/inline-markers.c: Make z volatile.
5246 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5248 * gdb.opt/inline-bt.c: New volatile global z.
5249 * gdb.opt/inline-cmds.c: Likewise.
5250 * gdb.opt/inline-locals.c: Likewise.
5251 * gdb.opt/inline-markers.c: New extern global z.
5253 (inline_fn): Likewise.
5255 2015-08-24 Pedro Alves <palves@redhat.com>
5257 * config/m32r-stub.exp: Remove file.
5258 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5259 * gdb.base/call-rt-st.exp: Likewise.
5260 * gdb.base/call-strs.exp: Likewise.
5261 * gdb.base/default.exp: Remove references to h8300-*-hms and
5263 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5265 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5267 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5268 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5269 and "return" use KFAIL when GDB can not read/write the vector
5272 2015-08-21 Gary Benson <gbenson@redhat.com>
5274 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5276 2015-08-20 Pedro Alves <palves@redhat.com>
5278 * gdb.server/solib-list.exp: No longer expect an interior stop in
5281 2015-08-20 Pedro Alves <palves@redhat.com>
5283 * gdb.server/connect-stopped-target.c: New file.
5284 * gdb.server/connect-stopped-target.exp: New file.
5286 2015-08-20 Pedro Alves <palves@redhat.com>
5288 * gdb.dwarf2/comp-unit-lang.exp: New file.
5289 * gdb.dwarf2/comp-unit-lang.c: New file.
5291 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5293 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5294 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5296 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5298 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5299 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5301 2015-08-18 Doug Evans <dje@google.com>
5302 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5304 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5305 skip_python_tests. New arg prompt_regexp.
5306 (skip_python_tests): New function.
5307 * lib/mi-support.exp (mi_skip_python_tests): New function.
5308 * gdb.python/py-mi-objfile-gdb.py: New file.
5309 * gdb.python/py-mi-objfile.c: New file.
5310 * gdb.python/py-mi-objfile.exp: New file.
5312 2015-08-17 Keith Seitz <keiths@redhat.com>
5314 * gdb.linespec/explicit.exp: Move strace test from here ...
5315 * gdb.trace/strace.exp: ... to here.
5317 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5319 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5320 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5322 2015-08-14 Doug Evans <xdje42@gmail.com>
5324 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5325 inferior before selecting a new file.
5327 2015-08-14 Doug Evans <xdje42@gmail.com>
5329 * gdb.mi/mi-disassemble.exp: Update.
5330 * gdb.base/disasm-optim.S: New file.
5331 * gdb.base/disasm-optim.c: New file.
5332 * gdb.base/disasm-optim.h: New file.
5333 * gdb.base/disasm-optim.exp: New file.
5335 2015-08-14 Keith Seitz <keiths@redhat.com>
5337 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5340 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5342 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5344 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5346 * gdb.ada/fun_renaming.exp: New testcase.
5347 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5348 * gdb.ada/fun_renaming/pack.adb: New file.
5349 * gdb.ada/fun_renaming/pack.ads: New file.
5351 2015-08-12 Keith Seitz <keiths@redhat.com>
5353 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5354 gdb_get_line_number.
5356 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5358 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5359 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5360 gdb.base/dso2dso.exp: New files.
5362 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5363 Pedro Alves <palves@redhat.com>
5364 Keith Seitz <keiths@redhat.com>
5366 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5369 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5371 * gdb.base/gdbhistsize-history.exp
5372 (test_histsize_history_setting): Use save_vars.
5373 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5375 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5376 * gdb.base/readline.exp: Use save_vars.
5378 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5380 * lib/gdb.exp (save_vars): New proc.
5382 2015-08-11 Keith Seitz <keiths@redhat.com>
5384 * gdb.base/help.exp: Update help_breakpoint_text.
5386 2015-08-11 Keith Seitz <keiths@redhat.com>
5388 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5389 (at toplevel): Call test_explicit_breakpoints.
5390 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5392 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5393 breakpoint conditions, "-cond".
5395 2015-08-11 Keith Seitz <keiths@redhat.com>
5397 * gdb.linespec/3explicit.c: New file.
5398 * gdb.linespec/cpexplicit.cc: New file.
5399 * gdb.linespec/cpexplicit.exp: New file.
5400 * gdb.linespec/explicit.c: New file.
5401 * gdb.linespec/explicit.exp: New file.
5402 * gdb.linespec/explicit2.c: New file.
5403 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5404 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5405 before using in the matching pattern.
5406 Clarify that `prefix' is a regular expression.
5408 2015-08-11 Keith Seitz <keiths@redhat.com>
5410 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5412 Add tests for missing ",FMT" and ",".
5414 2015-08-10 Doug Evans <dje@google.com>
5415 Keith Seitz <keiths@redhat.com>
5418 * gdb.base/completion.exp: Add location completer tests.
5420 2015-08-07 Pedro Alves <palves@redhat.com>
5422 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5424 (top level): Run do_test with and without displaced stepping.
5426 2015-08-07 Pedro Alves <palves@redhat.com>
5428 * gdb.base/valgrind-disp-step.c: New file.
5429 * gdb.base/valgrind-disp-step.exp: New file.
5431 2015-08-07 Pedro Alves <palves@redhat.com>
5433 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5435 (main): Add alarm. Run an infinite loop instead of calling
5437 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5439 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5441 (main): Add alarm. Run an infinite loop instead of calling
5443 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5446 2015-08-07 Pedro Alves <palves@redhat.com>
5448 * gdb.base/checkpoint-ns.exp: New file.
5449 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5452 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5454 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5455 * gdb.btrace/instruction_history.exp: Update.
5456 * gdb.btrace/tsx.exp: New.
5457 * gdb.btrace/tsx.c: New.
5459 2015-08-06 Pedro Alves <palves@redhat.com>
5461 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5463 * gdb.reverse/until-precsave.exp: Bump timeouts.
5465 2015-08-06 Pedro Alves <palves@redhat.com>
5467 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5469 2015-08-06 Pedro Alves <palves@redhat.com>
5472 * gdb.threads/process-dies-while-handling-bp.c: New file.
5473 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5475 2015-08-06 Pedro Alves <palves@redhat.com>
5477 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5478 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5480 2015-08-05 Pedro Alves <palves@redhat.com>
5482 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5483 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5485 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5487 * gdb.base/bp-permanent.exp: Report test as unsupported if
5488 the target cannot stop at the permanent breakpoint.
5490 2015-08-03 Doug Evans <dje@google.com>
5492 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5495 2015-08-03 Doug Evans <dje@google.com>
5497 * Makefile.in (workers/%.worker, build-perf): New rule.
5498 (GDB_PERFTEST_MODE): New variable.
5499 (check-perf): Use it.
5500 (clean): Clean up gdb.perf parallel build subdirs.
5501 * lib/build-piece.exp: New file.
5502 * lib/gdb.exp (make_gdb_parallel_path): New function
5503 (standard_output_file, standard_temp_file): Call it.
5504 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5506 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5508 2015-08-03 Doug Evans <dje@google.com>
5510 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5511 (LOG_FILE_NAME): New global.
5512 (TextReporter.__init__): Initialize self.txt_sum.
5513 (TextReporter.report): Add support for multiple data-points.
5514 Move report to perftest.sum, put raw data in perftest.log.
5515 (TextReporter.start): Open sum and log files.
5516 (TextReporter.end): Close sum and log files.
5517 * gdb.perf/lib/perftest/testresult.py
5518 (SingleStatisticTestResult.record): Handle multiple data-points.
5520 2015-07-31 Pedro Alves <palves@redhat.com>
5522 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5523 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5524 kill_wait_spawned_process instead of explicit "kill -9".
5525 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5526 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5527 kill_wait_spawned_process.
5528 * gdb.base/attach-twice.exp: Likewise.
5529 * gdb.base/attach.exp: Likewise.
5530 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5532 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5533 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5534 kill_wait_spawned_process.
5535 * gdb.base/valgrind-infcall.exp: Likewise.
5536 * gdb.multi/multi-attach.exp: Likewise.
5537 * gdb.python/py-prompt.exp: Likewise.
5538 * gdb.python/py-sync-interp.exp: Likewise.
5539 * gdb.server/ext-attach.exp: Likewise.
5540 * gdb.threads/attach-into-signal.exp (corefunc): Use
5541 spawn_wait_for_attach, spawn_id_get_pid and
5542 kill_wait_spawned_process.
5543 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5544 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5545 spawn_id_get_pid and kill_wait_spawned_process.
5546 * gdb.threads/attach-stopped.exp (corefunc): Use
5547 spawn_wait_for_attach, spawn_id_get_pid and
5548 kill_wait_spawned_process.
5549 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5550 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5551 kill_wait_spawned_process instead of explicit "kill -9".
5552 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5553 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5554 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5555 processes. Don't map cygwin/windows pids here. Now returns a
5558 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5560 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5561 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5564 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5566 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5568 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5571 2014-05-21 Mark Wielaard <mjw@redhat.com>
5573 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5575 2015-07-30 Pedro Alves <palves@redhat.com>
5577 * linux-low.c (handle_extended_wait): Set the child's last
5578 reported status to TARGET_WAITKIND_STOPPED.
5580 2015-07-30 Pedro Alves <palves@redhat.com>
5583 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5584 only shows inferior 1.
5586 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5587 Pedro Alves <palves@redhat.com>
5590 * gdb.threads/fork-plus-threads.c: New file.
5591 * gdb.threads/fork-plus-threads.exp: New file.
5593 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5595 * gdb.base/batch-preserve-term-settings.exp
5596 (test_terminal_settings_preserved_after_cli_exit): Use
5599 2015-07-29 Pedro Alves <palves@redhat.com>
5600 Don Breazeal <donb@codesourcery.com>
5602 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5603 output from both inferior_spawn_id and gdb_spawn_id.
5605 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5607 * gdb.threads/attach-into-signal.exp (corefunc): Use
5608 with_test_prefix on nested loops, uniquefying the test messages.
5610 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5612 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5615 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5617 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5619 (test_terminal_settings_preserved_after_sigterm): New test.
5621 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5623 * gdb.base/batch-preserve-term-settings.exp
5624 (test_terminal_settings_preserved_after_cli_exit): New test.
5626 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5628 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5629 manipulation of saved_gdbflags.
5630 (test_terminal_settings_preserved): Remove global declaration of
5631 the unused variable pagination_prompt. Remove manipulation of
5632 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5635 2015-07-29 Pedro Alves <palves@redhat.com>
5637 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5639 2015-07-29 Pedro Alves <palves@redhat.com>
5641 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5644 2015-07-29 Pedro Alves <palves@redhat.com>
5646 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5647 (main): Call gdb_unbuffer_output.
5648 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5649 (main): Call gdb_unbuffer_output.
5650 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5651 (main): Call gdb_unbuffer_output.
5652 * gdb.base/call-strs.exp: Adjust to step over the
5653 gdb_unbuffer_output call.
5654 * gdb.base/catch-gdb-caused-signals.c: Include
5655 "../lib/unbuffer_output.c".
5656 (main): Call gdb_unbuffer_output.
5657 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5658 (main): Call gdb_unbuffer_output.
5659 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5660 (main): Call gdb_unbuffer_output.
5661 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5662 (main): Call gdb_unbuffer_output.
5663 * gdb.base/shlib-call.exp: Adjust to step over the
5664 gdb_unbuffer_output call.
5665 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5666 (main): Call gdb_unbuffer_output.
5667 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5668 (main): Call gdb_unbuffer_output.
5669 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5670 (main): Rename to ...
5672 (main): Reimplement.
5673 * gdb.base/varargs.exp: Run to test instead of to main.
5674 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5675 (main): Call gdb_unbuffer_output.
5677 2015-07-29 Pedro Alves <palves@redhat.com>
5679 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5680 factore out from mi_continue_dprintf. For call-style dprintfs,
5681 expect dprintf output out of $inferior_spawn_id.
5682 (mi_continue_dprintf): Use mi_expect_dprintf.
5683 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5684 (main): Call gdb_unbuffer_output.
5686 2015-07-29 Pedro Alves <palves@redhat.com>
5688 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5689 (default_mi_gdb_start): Set inferior_spawn_id instead of
5690 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5692 (mi_gdb_test): Always expect inferior output from both
5693 $inferior_spawn_id and $gdb_spawn_id.
5695 2015-07-29 Pedro Alves <palves@redhat.com>
5697 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5698 send_inferior and $inferior_spawn_id.
5700 2015-07-29 Pedro Alves <palves@redhat.com>
5702 * gdb.gdb/complaints.exp (test_initial_complaints)
5703 (test_serial_complaints, test_short_complaints): Use
5705 (test_empty_complaint): Handle $inferior_spawn_id !=
5708 2015-07-29 Pedro Alves <palves@redhat.com>
5710 * gdb.base/varargs.exp: Use gdb_test_stdio.
5712 2015-07-29 Pedro Alves <palves@redhat.com>
5714 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5716 2015-07-29 Pedro Alves <palves@redhat.com>
5718 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5720 2015-07-29 Pedro Alves <palves@redhat.com>
5722 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5723 parameter into two new parameters, "inf_result" and "gdb_result".
5724 Expect inferior output and gdb output from $inferior_spawn_id and
5725 $gdb_spawn_id, respectively. Adjust all callers.
5727 2015-07-29 Pedro Alves <palves@redhat.com>
5729 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5730 of gdb_test_sequence.
5732 2015-07-29 Pedro Alves <palves@redhat.com>
5734 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5735 (saw_spurious_output): Expect inferior output from
5736 $inferior_spawn_id. Use gdb_test_stdio.
5738 2015-07-29 Pedro Alves <palves@redhat.com>
5740 * gdb.base/dprintf.exp: Use standard_testfile. Change
5741 prepare_for_testing call.
5742 (srcfile): Don't set.
5743 (restart): New procedure.
5744 (test_dprintf): New procecure, use to continue over dprintfs.
5745 (test_call, test_agent): New procedures, tests moved here.
5746 Restart gdb and recreate dprintfs. Adjust expected output.
5748 2015-07-29 Pedro Alves <palves@redhat.com>
5750 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5752 2015-07-29 Pedro Alves <palves@redhat.com>
5754 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5756 2015-07-29 Pedro Alves <palves@redhat.com>
5758 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5761 2015-07-29 Pedro Alves <palves@redhat.com>
5763 * lib/gdb.exp (gdb_test_stdio): New procedure.
5765 2015-07-29 Pedro Alves <palves@redhat.com>
5767 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5769 2015-07-29 Pedro Alves <palves@redhat.com>
5771 * gdb.base/call-signal-resume.exp: Remove check for
5772 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5773 * gdb.base/unwindonsignal.exp: Likewise.
5774 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5775 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5777 2015-07-29 Pedro Alves <palves@redhat.com>
5779 * gdb.base/siginfo-addr.c (pass): New function.
5780 (handler): Call it iff si_addr is correct.
5781 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5782 Set a breakpoint at "pass" and continue to it.
5784 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5786 * gdb.python/py-objfile.exp: Make some tests have unique names.
5787 * gdb.python/py-pp-registration.exp: Likewise.
5789 2015-07-28 Pedro Alves <palves@redhat.com>
5791 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5793 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5795 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5797 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5799 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5801 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5803 * gdb.base/gdb-sigterm-2.exp: New test.
5805 2015-07-25 Doug Evans <xdje42@gmail.com>
5808 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5809 (workers/%.worker, build-perf): New rule.
5810 (GDB_PERFTEST_MODE): New variable.
5811 (check-perf): Use it.
5812 (clean): Clean up gdb.perf parallel build subdirs.
5813 * lib/build-piece.exp: New file.
5814 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5815 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5817 (standard_temp_file): Ditto.
5818 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5821 2015-07-24 Doug Evans <dje@google.com>
5823 * gdb.perf/lib/perftest/utils.py: New file.
5824 * gdb.perf/gm-hello.cc: New file.
5825 * gdb.perf/gm-pervasive-typedef.cc: New file.
5826 * gdb.perf/gm-pervasive-typedef.h: New file.
5827 * gdb.perf/gm-std.cc: New file.
5828 * gdb.perf/gm-std.h: New file.
5829 * gdb.perf/gm-use-cerr.cc: New file.
5830 * gdb.perf/gm-utils.h: New file.
5831 * gdb.perf/gmonster-null-lookup.py: New file.
5832 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5833 * gdb.perf/gmonster-print-cerr.py: New file.
5834 * gdb.perf/gmonster-ptype-string.py: New file.
5835 * gdb.perf/gmonster-runto-main.py: New file.
5836 * gdb.perf/gmonster-select-file.py: New file.
5837 * gdb.perf/gmonster1-null-lookup.exp: New file.
5838 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5839 * gdb.perf/gmonster1-print-cerr.exp: New file.
5840 * gdb.perf/gmonster1-ptype-string.exp: New file.
5841 * gdb.perf/gmonster1-runto-main.exp: New file.
5842 * gdb.perf/gmonster1-select-file.exp: New file.
5843 * gdb.perf/gmonster1.cc: New file.
5844 * gdb.perf/gmonster1.exp: New file.
5845 * gdb.perf/gmonster2-null-lookup.exp: New file.
5846 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5847 * gdb.perf/gmonster2-print-cerr.exp: New file.
5848 * gdb.perf/gmonster2-ptype-string.exp: New file.
5849 * gdb.perf/gmonster2-runto-main.exp: New file.
5850 * gdb.perf/gmonster2-select-file.exp: New file.
5851 * gdb.perf/gmonster2.cc: New file.
5852 * gdb.perf/gmonster2.exp: New file.
5854 2015-07-24 Doug Evans <dje@google.com>
5856 * gdb.perf/README: New file.
5857 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5858 * lib/gen-perf-test.exp: New file.
5860 2015-07-24 Doug Evans <dje@google.com>
5862 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5863 (PerfTest::startup): New function.
5864 (PerfTest::run): Return result of calling body.
5865 (PerfTest::assemble): Rewrite.
5866 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5867 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5868 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5869 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5870 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5872 2015-07-24 Doug Evans <dje@google.com>
5874 * lib/gdb.exp (clean_restart): Make executable optional.
5876 2015-07-24 Doug Evans <dje@google.com>
5878 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5879 compiler_info references.
5880 * gdb.cp/temargs.exp: Ditto.
5881 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5882 (get_compiler_info): Early exit if already computed. Set compiler_info
5883 to "unknown" if there was a problem.
5884 (test_compiler_info): Add function comment. Call get_compiler_info.
5886 2015-07-24 Doug Evans <dje@google.com>
5888 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5889 (workers/%.worker, build-perf): New rule.
5890 (GDB_PERFTEST_MODE): New variable.
5891 (check-perf): Use it.
5892 (clean): Clean up gdb.perf parallel build subdirs.
5893 * lib/build-piece.exp: New file.
5894 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5895 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5897 (standard_temp_file): Ditto.
5898 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5901 2015-07-24 Doug Evans <dje@google.com>
5903 * lib/future.exp (gdb_default_target_compile): New option
5905 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5908 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5910 * gdb.base/catch-syscall.exp: Call gdb_exit before
5913 2015-07-24 Pedro Alves <palves@redhat.com>
5915 * gdb.python/py-events.exp: Accept output between the stop event
5917 * gdb.python/py-evsignal.exp: Likewise.
5918 * gdb.python/py-evthreads.exp: Likewise.
5920 2015-07-24 Pedro Alves <palves@redhat.com>
5923 * gdb.threads/non-ldr-exit.c: New file.
5924 * gdb.threads/non-ldr-exit.exp: New file.
5926 2015-07-24 Yao Qi <yao.qi@linaro.org>
5928 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5931 2015-07-24 Yao Qi <yao.qi@linaro.org>
5933 * gdb.server/ext-restart.exp: New file.
5935 2015-07-24 Yao Qi <yao.qi@linaro.org>
5937 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5939 * gdb.server/ext-wrapper.exp: New file.
5941 2015-07-23 Doug Evans <dje@google.com>
5943 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5944 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5946 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5948 * gdb.ada/var_arr_typedef.exp: New testcase.
5949 * gdb.ada/var_arr_typedef/pack.adb: New file.
5950 * gdb.ada/var_arr_typedef/pack.ads: New file.
5951 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5953 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5955 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5957 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5959 * gdb.arch/i386-biarch-core.exp: Replace istarget
5960 by "complete set gnutarget". Remove expectation for the "core-file"
5963 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5965 Revert the previous commit:
5966 Tests for validate symbol file using build-id.
5968 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5970 Tests for validate symbol file using build-id.
5971 * gdb.base/solib-mismatch-lib.c: New file.
5972 * gdb.base/solib-mismatch-libmod.c: New file.
5973 * gdb.base/solib-mismatch.c: New file.
5974 * gdb.base/solib-mismatch.exp: New file.
5976 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5978 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5980 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5981 * gdb.base/siginfo.exp: Likewise.
5982 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5984 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5986 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5988 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5990 * gdb.trace/range-stepping.exp: Check that the target supports
5993 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5995 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5997 2015-07-14 Pedro Alves <palves@redhat.com>
5999 * gdb.base/killed-outside.exp: New file.
6000 * gdb.base/killed-outside.c: New file.
6002 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6004 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6006 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6008 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6010 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6011 infcall tests instead of setting up for KFAIL.
6013 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6015 * gdb.btrace/record_goto-step.exp: New.
6017 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6020 * gdb.compile/compile.c (struct struct_type): Add volatile to
6022 * gdb.compile/compile.exp
6023 (compile code struct_object.selffield = &struct_object): Skip further
6024 struct_object tests if this one xfails.
6026 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6029 * gdb.trace/ax.exp: Add test.
6031 2015-07-07 Yao Qi <yao.qi@linaro.org>
6033 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6034 instead of istarget "aarch64*-*-*".
6035 * gdb.arch/aarch64-fp.exp: Likewise.
6036 * gdb.base/float.exp: Likewise.
6037 * gdb.reverse/aarch64.exp: Likewise.
6038 * lib/gdb.exp (is_aarch64_target): New proc.
6040 2015-07-07 Yao Qi <yao.qi@linaro.org>
6042 * lib/gdb.exp (is_aarch32_target): New proc.
6043 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6044 instead of "istarget "arm*-*-*"".
6045 * gdb.arch/arm-disp-step.exp: Likewise.
6046 * gdb.arch/thumb-bx-pc.exp: Likewise.
6047 * gdb.arch/thumb-prologue.exp: Likewise.
6048 * gdb.arch/thumb-singlestep.exp: Likewise.
6049 * gdb.base/disp-step-syscall.exp: Likewise.
6050 * gdb.base/float.exp: Likewise.
6052 2015-07-07 Yao Qi <yao.qi@linaro.org>
6054 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6055 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6057 2015-07-07 Yao Qi <yao.qi@linaro.org>
6059 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6060 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6062 * gdb.multi/multi-arch.exp: Likewise.
6064 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6066 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6069 2015-07-07 Yao Qi <yao.qi@linaro.org>
6071 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6073 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6075 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6076 '[' and ']' characters.
6078 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6080 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6082 2015-06-29 Pedro Alves <palves@redhat.com>
6085 * gdb.threads/hand-call-new-thread.c: New file.
6086 * gdb.threads/hand-call-new-thread.c: New file.
6088 2015-06-26 Keith Seitz <keiths@redhat.com>
6089 Doug Evans <dje@google.com>
6092 * gdb.cp/var-tag-2.cc: New file.
6093 * gdb.cp/var-tag-3.cc: New file.
6094 * gdb.cp/var-tag-4.cc: New file.
6095 * gdb.cp/var-tag.cc: New file.
6096 * gdb.cp/var-tag.exp: New file.
6098 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6100 * gdb.base/history-duplicates.exp: New test.
6102 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6104 * gdb.base/completion.exp: Test the completion of the "focus"
6107 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6109 * gdb.arch/amd64-prologue-skip.S: New file.
6110 * gdb.arch/amd64-prologue-skip.exp: New file.
6112 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6114 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6115 is_address_zero_readable check.
6117 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6119 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6120 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6122 2015-06-24 Yao Qi <yao.qi@linaro.org>
6124 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6127 2015-06-24 Yao Qi <yao.qi@linaro.org>
6129 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6130 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6131 * gdb.base/siginfo-thread.exp: Likewise.
6133 2015-06-22 Yao Qi <yao.qi@linaro.org>
6135 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6137 2015-06-22 Yao Qi <yao.qi@linaro.org>
6139 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6141 (skip_hw_watchpoint_tests): Likewise.
6143 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6145 * gdb.base/gdbinit-history.exp: Test the interaction between
6146 setting GDBHISTSIZE and setting the history size via .gdbinit.
6148 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6151 * gdb.base/gdbhistsize-history.exp: New test.
6153 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6155 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6157 * gdb.base/readline.exp: Likewise.
6159 2015-06-17 Yao Qi <yao.qi@linaro.org>
6161 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6164 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6166 * gdb.base/gdbinit-history.exp: Add test case to check that
6167 an unlimited history file does not get truncated on exit.
6169 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6171 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6172 (VECTOR): New macro. Use it...
6173 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6174 ...for these typedefs.
6175 (int8, char1, int1, double1): New typedefs.
6176 (struct just_int2, struct two_int2): New structures.
6177 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6178 (add_structvecs, add_singlevecs): New functions.
6179 (main): Call add_some_intvecs twice.
6180 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6181 the compile and exit upon failure. Try compiling for the "native"
6182 architecture. Test inferior function calls with vector arguments
6183 and vector return value handling with "finish" and "return".
6185 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6187 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6188 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6190 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6192 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6194 PR breakpoints/16465
6195 * gdb.mi/mi-dprintf-pending.c: New file.
6196 * gdb.mi/mi-dprintf-pending.exp: New test.
6197 * gdb.mi/mi-dprintf-pendshr.c: New file.
6199 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6200 Mircea Gherzan <mircea.gherzan@intel.com>
6202 * gdb.arch/i386-mpx-map.c: New file.
6203 * gdb.arch/i386-mpx-map.exp: New File.
6205 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6207 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6208 * gdb.arch/i386-mpx.exp: Indentation fixed.
6210 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6212 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6213 function and improved indentation.
6214 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6215 gdb_test_multiple. Added additional tests to skip the test.
6217 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6219 * gdb.arch/i386-avx512.c: Change path in include file.
6220 * gdb.arch/i386-avx512.exp: Change include dir path
6222 * gdb.arch/i386-mpx.c: Change path in include file.
6223 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6226 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6228 * gdb.compile/compile-print.exp (compile print *vararray@3)
6229 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6231 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6233 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6234 (do not keep jit in memory): ... this.
6235 (expect 5): Change it to ...
6236 (expect no 5): ... this.
6238 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6241 * gdb.mi/mi-detach.exp: New file.
6243 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6246 * gdb.arch/amd64-tailcall-self.S: New file.
6247 * gdb.arch/amd64-tailcall-self.c: New file.
6248 * gdb.arch/amd64-tailcall-self.exp: New file.
6250 2015-05-28 Don Breazeal <donb@codesourcery.com>
6252 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6253 tests for remote targets by checking is_target_gdbserver.
6255 2015-05-27 Doug Evans <dje@google.com>
6257 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6258 * gdb.dwarf2/opaque-type-lookup.c: New file.
6259 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6261 2015-05-26 Doug Evans <dje@google.com>
6263 * gdb.cp/iostream.cc: New file.
6264 * gdb.cp/iostream.exp: New file.
6266 2015-05-26 Doug Evans <dje@google.com>
6268 * gdb.dwarf2/dw2-op-call.exp: Update.
6269 * gdb.dwarf2/dw4-sig-types.exp: Update.
6270 * gdb.dwarf2/implptr.exp: Update.
6271 * gdb.mi/mi-cmd-param-changed.exp: Update.
6273 2015-05-26 Doug Evans <dje@google.com>
6275 * gdb.python/py-lazy-string.c: New file.
6276 * gdb.python/py-lazy-string.exp: New file.
6277 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6278 (main): Update. Add estring3.
6279 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6280 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6282 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6283 Yao Qi <yao.qi@linaro.org>
6285 * gdb.reverse/aarch64.c: New.
6286 * gdb.reverse/aarch64.exp: New.
6288 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6290 * lib/gdb.exp (supports_process_record): Return true for
6292 (supports_reverse): Likewise.
6294 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6296 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6297 Use with_test_prefix.
6299 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6301 * gdb.base/completion.exp: Add test for completion of layout
6304 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6306 * lib/gdb.exp (skip_tui_tests): New proc.
6307 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6309 2015-05-19 Pedro Alves <palves@redhat.com>
6311 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6312 Save the whole env array instead of just HOME. Unset HISTSIZE in
6313 the environment while testing. Restore whole environment
6316 2015-05-16 Doug Evans <xdje42@gmail.com>
6318 * gdb.guile/scm-ports.c: New file.
6319 * gdb.guile/scm-ports.exp: Add memory port tests.
6321 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6323 * gdb.compile/compile-print.c: New file.
6324 * gdb.compile/compile-print.exp: New file.
6326 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6328 * gdb.compile/compile-ops.exp: Cast param to void.
6329 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6330 (compile code struct_object.selffield = &struct_object): Add xfail.
6332 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6334 * gdb.ada/arr_enum_with_gap: New testcase.
6336 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6338 * gdb.ada/byte_packed_arr: New testcase.
6340 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6342 * gdb.ada/pckd_neg: New testcase.
6344 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6347 * gdb.base/gdbinit-history.exp: New test.
6348 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6349 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6351 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6353 * gdb.python/py-xmethods.cc: Enhance test case.
6354 * gdb.python/py-xmethods.exp: New tests.
6355 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6357 (B_indexoper): Likewise.
6358 (global_dm_list) : Add new xmethod worker functions.
6360 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6362 * gdb.base/coredump-filter.exp: Correctly unset
6363 "coredump_var_addr" array.
6365 2015-05-08 Pedro Alves <palves@redhat.com>
6367 * gdb.server/non-existing-program.exp: Unset spawn_id.
6369 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6372 * gdb.python/py-xmethods.exp: Add tests.
6374 2015-05-08 Yao Qi <yao.qi@linaro.org>
6377 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6378 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6379 function set_coredump_filter, and remove remote_exec call.
6380 Remove argument ipid. Callers update.
6381 (top level): Don't get inferior's PID.
6383 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6385 * gdb.base/watch_thread_num.exp: Skip test on targets without
6388 2015-05-06 Pedro Alves <palves@redhat.com>
6391 * gdb.server/non-existing-program.exp: New file.
6393 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6395 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6397 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6399 * gdb.ada/out_of_line_in_inlined: New testcase.
6401 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6403 * gdb.ada/var_rec_arr: New testcase.
6405 2015-04-30 Yao Qi <yao.qi@linaro.org>
6407 * gdb.base/break-idempotent.exp: If
6408 skip_hw_watchpoint_multi_tests returns true, skip the tests
6409 on "rwatch" and "awatch".
6411 2015-04-30 Yao Qi <yao.qi@linaro.org>
6413 * gdb.base/relativedebug.exp: Invoke gdb command
6414 "info sharedlibrary", and if libc.so doesn't have debug info,
6417 2015-04-29 Doug Evans <dje@google.com>
6419 * gdb.python/py-xmethods.exp: Add ptype tests.
6420 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6421 get_result_type method.
6423 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6425 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6426 the target does not support hardware watchpoints.
6428 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6430 * gdb.base/break-always.exp: Abort testing if writing to memory
6433 2015-04-28 Doug Evans <dje@google.com>
6435 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6436 * gdb.python/py-pp-registration.exp: ... here. New file.
6437 * gdb.python/py-pp-registration.c: New file.
6438 * gdb.python/py-pp-registration.py: New file.
6440 2015-04-28 Doug Evans <dje@google.com>
6442 * gdb.python/py-bad-printers.c: New file.
6443 * gdb.python/py-bad-printers.py: New file.
6444 * gdb.python/py-bad-printers.exp: New file.
6446 2015-04-28 Sasha Smundak <asmundak@google.com>
6448 * gdb.python/py-type.exp: New test.
6450 2015-04-28 Andy Wingo <wingo@igalia.com>
6452 * gdb.python/py-parameter.exp:
6453 * gdb.guile/scm-parameter.exp: Escape the path that we are
6454 matching against, as it might contain characters that are special
6455 to regular expressions.
6457 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6459 * gdb.ada/rec_comp: New testcase.
6461 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6463 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6466 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6468 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6469 new tests for verilog output.
6471 2015-04-24 Yao Qi <yao.qi@linaro.org>
6473 * boards/remote-gdbserver-on-localhost.exp: New file.
6475 2015-04-23 Pedro Alves <palves@redhat.com>
6477 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6478 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6479 "end of file", remove $inferior_spawn_id from the indirect list.
6481 2015-04-23 Pedro Alves <palves@redhat.com>
6483 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6485 2015-04-23 Pedro Alves <palves@redhat.com>
6487 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6488 on $any_spawn_id instead of only on $gdb_spawn_id.
6490 2015-04-21 Pierre Muller <muller@sourceware.org>
6493 * lib/pascal.exp (gpc_compile): Add new option "class".
6494 (fpc_compile): Likewise.
6495 * gdb.pascal/case-insensitive-symbols.pas: New file.
6496 * gdb.pascal/case-insensitive-symbols.exp: New file.
6498 2015-04-20 Gary Benson <gbenson@redhat.com>
6500 * gdb.base/attach.exp: Fix three extended remote failures.
6502 2015-04-17 Gary Benson <gbenson@redhat.com>
6504 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6505 the main executable over the remote protocol.
6507 2015-04-16 Pedro Alves <palves@redhat.com>
6509 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6510 a new gdbserver if gdbserver_reconnect_p is set.
6512 2015-04-16 Pedro Alves <palves@redhat.com>
6514 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6515 is set, don't exit gdbserver.
6517 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6519 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6520 appropriate .insn, such that an older assembler can be used.
6521 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6522 the z/Architecture instruction set on 31-bit targets as well.
6524 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6526 * gdb.go/handcall.exp: Remove all logic related to the first
6527 breakpoint and rely on go_runto_main instead.
6528 * gdb.go/strings.exp: Likewise.
6529 * gdb.go/unsafe.exp: Likewise.
6530 * gdb.go/hello.exp: Likewise. Also rename the remaining
6531 breakpoint marker to "breakpoint 1".
6532 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6533 * gdb.go/strings.go: Likewise.
6534 * gdb.go/unsafe.go: Likewise.
6535 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6536 "set breakpoint 2 here" and rename the remaining breakpoint marker
6539 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6541 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6542 if itertools.imap is not present.
6543 * gdb.python/py-objfile.exp: Add parentheses.
6544 * gdb.python/py-type.exp: Same.
6545 * gdb.python/py-unwind-maint.py: Same.
6547 2015-04-15 Yao Qi <yao.qi@linaro.org>
6549 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6550 of ":$ptr_size" and set its form explicitly.
6552 2015-04-15 Pedro Alves <palves@redhat.com>
6553 Yao Qi <yao.qi@linaro.org>
6555 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6556 timeout by factor of 4.
6557 (test_regular_watch): Likewise.
6558 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6559 * gdb.reverse/sigall-reverse.exp: Likewise.
6560 * gdb.reverse/until-precsave.exp: Likewise.
6561 * lib/gdb.exp (with_timeout_factor): New proc.
6562 (gdb_expect): Move some code to ...
6563 (get_largest_timeout): ... here. New procedure.
6565 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6567 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6569 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6571 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6572 to write to the .text section.
6574 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6576 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6577 Handle the case of targets that do not provide PID information.
6579 2015-04-13 Yao Qi <yao.qi@linaro.org>
6581 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6582 and use expect instead of gdb_expect.
6584 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6586 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6587 "coredump_var_addr" to avoid naming conflict with other testcases.
6589 2015-04-10 Pedro Alves <palves@redhat.com>
6591 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6592 gdb_test_sequence and gdb_assert.
6594 2015-04-10 Pedro Alves <palves@redhat.com>
6596 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6597 test messages that don't include the breakpoint address.
6599 2015-04-10 Yao Qi <yao.qi@linaro.org>
6601 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6602 false for some offset and width combinations which aren't
6603 supported by linux kernel.
6605 2015-04-10 Pedro Alves <palves@redhat.com>
6607 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6608 procedure, factored out from ...
6609 (top level): ... here. Add "set displaced-stepping" testing axis.
6610 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6611 parameter "displaced". Use it.
6612 (top level): Use foreach and add "set displaced-stepping" testing
6615 2015-04-10 Pedro Alves <palves@redhat.com>
6617 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6619 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6620 both the address of the instruction that triggers the watchpoint
6621 and the address of the instruction immediately after, and use
6622 those addresses for the test. Fix comment.
6624 2015-04-10 Pedro Alves <palves@redhat.com>
6626 * gdb.base/sigstep.exp (breakpoint_to_handler)
6627 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6628 Test "backtrace" in handler.
6629 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6630 (top level): Add new "displaced" test axis to
6631 breakpoint_to_handler, breakpoint_to_handler_entry and
6632 breakpoint_over_handler.
6634 2015-04-10 Pedro Alves <palves@redhat.com>
6637 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6639 2015-04-10 Yao Qi <yao.qi@linaro.org>
6641 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6642 (test_add_rn_pc): New function.
6643 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6644 (top level): Invoke test_add_rn_pc.
6646 2015-04-10 Pedro Alves <palves@redhat.com>
6649 * gdb.base/step-over-no-symbols.exp: New file.
6651 2015-04-09 Andy Wingo <wingo@igalia.com>
6653 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6654 after the Python tests.
6656 2015-04-08 Keith Seitz <keiths@redhat.com>
6659 * gdb.python/py-completion.exp: New tests for completion.
6660 * gdb.python/py-completion.py (CompleteLimit1): New class.
6661 (CompleteLimit2): Likewise.
6662 (CompleteLimit3): Likewise.
6663 (CompleteLimit4): Likewise.
6664 (CompleteLimit5): Likewise.
6665 (CompleteLimit6): Likewise.
6666 (CompleteLimit7): Likewise.
6668 2015-04-08 Pedro Alves <palves@redhat.com>
6672 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6674 (main): Install it as SIGUSR1 handler.
6675 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6676 parameter. Always use "setup" as prefix. Toggle "set
6677 displaced-stepping" off/on depending on global. Don't switch to
6679 (top level): Add displaced stepping "off/on" test axis. Update
6680 "setup" calls. Wrap each subtest with with_test_prefix. Test
6681 continuing with a queued signal in each thread.
6683 2015-04-08 Pedro Alves <palves@redhat.com>
6685 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6686 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6687 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6688 Return early if running to main fails.
6689 * gdb.trace/while-stepping.exp: Likewise.
6691 2015-04-07 Pedro Alves <palves@redhat.com>
6693 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6694 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6695 interact with inferior program.
6697 2015-04-07 Pedro Alves <palves@redhat.com>
6699 * lib/gdb.exp (inferior_spawn_id): New global.
6700 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6701 spawn id after processing the user code.
6702 (default_gdb_start): Set inferior_spawn_id.
6703 (send_inferior): New procedure.
6704 * lib/gdbserver-support.exp (gdbserver_start): Set
6706 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6708 2015-04-07 Pedro Alves <palves@redhat.com>
6710 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6711 * lib/gdbserver-support.exp (gdbserver_start): Make
6712 $server_spawn_id global.
6713 (gdbserver_start): Don't wait for gdbserver's spawn id with
6715 (close_gdbserver): New procedure.
6716 (gdb_exit): Rename the default version and reimplement.
6718 2015-04-07 Pedro Alves <palves@redhat.com>
6720 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6721 append the substituted item, not the original item.
6723 2015-04-07 Pedro Alves <palves@redhat.com>
6725 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6728 2015-04-07 Pedro Alves <palves@redhat.com>
6730 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6731 output appearing once only.
6733 2015-04-07 Pedro Alves <palves@redhat.com>
6735 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6736 that doesn't expect anything. Return early if running to main
6739 2015-04-07 Yao Qi <yao.qi@linaro.org>
6741 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6742 (child_function): Call alarm.
6743 (main): Move call to alarm into the loop.
6744 * gdb.threads/non-stop-fair-events.exp: Build program with
6747 2015-04-06 Doug Evans <xdje42@gmail.com>
6749 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6750 Fix dest parameter to board_info.
6751 (fpc_compile): Ditto.
6752 (gdb_compile_pascal): Rename dest arg to destfile.
6754 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6756 * gdb.ada/funcall_ref.exp: New file.
6757 * gdb.ada/funcall_ref/foo.adb: New file.
6759 2015-04-02 Yao Qi <yao.qi@linaro.org>
6761 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6764 2015-04-02 Gary Benson <gbenson@redhat.com>
6766 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6768 2015-04-01 Sasha Smundak <asmundak@google.com>
6770 * gdb.python/py-unwind-maint.c: New file.
6771 * gdb.python/py-unwind-maint.exp: New test.
6772 * gdb.python/py-unwind-maint.py: New file.
6773 * gdb.python/py-unwind.c: New file.
6774 * gdb.python/py-unwind.exp: New test.
6775 * gdb.python/py-unwind.py: New test.
6777 2015-04-01 Pedro Alves <palves@redhat.com>
6779 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6780 to fail instead of non-existent $test.
6782 2015-04-01 Pedro Alves <palves@redhat.com>
6784 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6785 GDBFLAGS if not empty.
6787 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6789 * gdb.ada/complete.exp: Remove "multi_line".
6790 * gdb.ada/info_exc.exp: Remove "multi_line".
6791 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6792 * gdb.ada/ptype_field.exp: Remove "multi_line".
6793 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6794 * gdb.ada/tagged.exp: Remove "multi_line".
6795 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6797 * gdb.btrace/delta.exp: Likewise.
6798 * gdb.btrace/exception.exp: Likewise.
6799 * gdb.btrace/function_call_history.exp: Likewise.
6800 * gdb.btrace/instruction_history.exp: Likewise.
6801 * gdb.btrace/nohist.exp: Likewise.
6802 * gdb.btrace/record_goto.exp: Likewise.
6803 * gdb.btrace/segv.exp: Likewise.
6804 * gdb.btrace/stepi.exp: Likewise.
6805 * gdb.btrace/tailcall.exp: Likewise.
6806 * gdb.btrace/unknown_functions.exp: Likewise.
6807 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6808 * lib/gdb.exp: Add the "multi_line" helper.
6810 2015-04-01 Pedro Alves <palves@redhat.com>
6812 * gdb.threads/tid-reuse.c: New file.
6813 * gdb.threads/tid-reuse.exp: New file.
6815 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6818 * gdb.base/coredump-filter.c: New file.
6819 * gdb.base/coredump-filter.exp: Likewise.
6821 2015-03-27 Petr Machata <pmachata@redhat.com>
6823 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6824 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6825 (Dwarf::assemble): Initialize them.
6826 (Dwarf::lines): New function.
6828 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6830 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6831 SYMBOL_PREFIX for x86_64-*-cygwin.
6833 2015-03-26 Andy Wingo <wingo@igalia.com>
6836 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6837 const_value but not a location.
6838 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6839 location defined in non-main CUs are visible.
6841 2015-03-26 Yao Qi <yao.qi@linaro.org>
6844 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6845 Add a line number entry for the same line.
6846 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6847 Add a line number entry for the same line.
6849 2015-03-26 Yao Qi <yao.qi@linaro.org>
6851 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6853 (func): Likewise. Add .Lfunc_1 label.
6855 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6860 2015-03-26 Yao Qi <yao.qi@linaro.org>
6862 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6863 Call gdb_compile instead to compile each .s files without debug
6866 2015-03-26 Yao Qi <yao.qi@linaro.org>
6868 * gdb.base/savedregs.exp (process_saved_regs): Make
6869 "Saved registers:" optional in the pattern.
6871 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6873 * gdb.btrace/next.exp: Merged into step.exp.
6874 * gdb.btrace/finish.exp: Merged into step.exp.
6875 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6876 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6877 "record goto" and checking the exact replay position.
6878 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6879 check for "Recording format" in "info record" output.
6880 * gdb.btrace/record_goto.exp: Choose test file based on target.
6881 * gdb.btrace/x86-record_goto.S: Renamed into ...
6882 * gdb.btrace/x86_64-record_goto.S: ... this.
6883 * gdb.btrace/i686-record_goto.S: New.
6884 * gdb.btrace/x86-tailcall.S: Renamed into ...
6885 * gdb.btrace/x86_64-tailcall.S: ... this.
6886 * gdb.btrace/i686-tailcall.S: New.
6887 * gdb.btrace/x86-tailcall.c: Renamed into ...
6888 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6889 separate statements. Update test.
6890 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6891 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6892 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6893 * gdb.btrace/tailcall.exp: Choose test file based on target.
6894 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6896 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6898 * gdb.btrace/exception.exp: Increase BTS buffer size.
6900 2015-03-24 Pedro Alves <palves@redhat.com>
6902 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6904 2015-03-24 Pedro Alves <palves@redhat.com>
6906 * gdb.threads/schedlock.exp (test_step): No longer expect that
6907 "set scheduler-locking step" with "next" over a function call runs
6910 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6912 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6914 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6916 PR breakpoints/16466
6917 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6918 * gdb.mi/mi-pending.c (thread_func): New function.
6919 (int main): Add threading support required.
6920 * gdb.mi/mi-pending.exp: Add tests for this issue.
6921 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6922 (pendfunc2): Remove stdio dependency.
6923 * gdb.mi/mi-pendshr2.c: New file.
6925 2015-03-23 Keith Seitz <keiths@redhat.com>
6927 * gdb.linespec/keywords.c: New file.
6928 * gdb.linespec/keywords.exp: New file.
6930 2015-03-23 Keith Seitz <keiths@redhat.com>
6933 * gdb.dwarf2/staticvirtual.exp: New test.
6935 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6937 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6938 * README: Remove HP-UX and gdb.hp.
6940 * configure: Regenerate.
6941 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6942 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6943 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6944 gdb.hp/gdb.defects/Makefile.
6945 * gdb.hp/Makefile.in: File deleted.
6946 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6947 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6948 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6949 * gdb.hp/gdb.aCC/run.c: File deleted.
6950 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6951 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6952 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6953 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6954 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6955 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6956 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6957 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6958 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6959 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6960 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6961 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6962 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6963 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6964 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6965 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6966 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6967 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6968 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6969 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6970 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6971 * gdb.hp/gdb.compat/average.c: File deleted.
6972 * gdb.hp/gdb.compat/sum.c: File deleted.
6973 * gdb.hp/gdb.compat/xdb.c: File deleted.
6974 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6975 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6976 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6977 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6978 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6979 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6980 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6981 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6982 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6983 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6984 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6985 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6986 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6987 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6988 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6989 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6990 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6991 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6992 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6993 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6994 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6995 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6996 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6997 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6998 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6999 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7000 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7001 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7002 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7003 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7004 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7005 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7006 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7007 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7008 * gdb.hp/tools/odump: File deleted.
7010 2015-03-19 Pedro Alves <palves@redhat.com>
7012 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7013 (saw_thread_3): New globals.
7014 (top level): Increment them when an event for the corresponding
7016 (no thread starvation): New test.
7018 2015-03-19 Pedro Alves <palves@redhat.com>
7020 * gdb.threads/continue-pending-status.c: New file.
7021 * gdb.threads/continue-pending-status.exp: New file.
7023 2015-03-18 Pedro Alves <palves@redhat.com>
7025 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7026 Use gdb_is_target_remote instead of is_remote. Use
7027 gdb_test_multiple instead of gdb_expect. Exit early if
7028 gdb_test_multiple hits its internal matches. Tighten stepi tests
7029 expected output. Fail on exit with any signal, instead of just
7032 2015-03-18 Yao Qi <yao.qi@linaro.org>
7035 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7037 * gdb.base/catch-syscall.exp: Don't skip it on
7038 aarch64*-*-linux* target. Remove elements in all_syscalls.
7039 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7041 (setup_all_syscalls): New proc.
7043 2015-03-16 Yao Qi <yao.qi@linaro.org>
7045 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7046 (top level): Skip tests if valid_addr_p returns false for
7049 2015-03-11 Andy Wingo <wingo@igalia.com>
7051 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7053 2015-03-11 Yao Qi <yao.qi@linaro.org>
7055 * gdb.base/catch-syscall.exp: Fix typo in comments.
7057 2015-03-11 Yao Qi <yao.qi@linaro.org>
7059 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7061 2015-03-09 Pedro Alves <palves@redhat.com>
7063 * dg-extract-results.py: Delete.
7065 2015-03-09 Pedro Alves <palves@redhat.com>
7067 Merge dg-extract-results.sh from GCC upstream (r218843).
7069 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7070 * dg-extract-results.sh: Use --text with grep to avoid issues with
7071 binary files. Fall back to cat -v, if that doesn't work.
7073 2015-03-05 Pedro Alves <palves@redhat.com>
7075 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7077 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7079 * lib/mi-support.exp (mi_expect_interrupt): Accept
7080 alternative event for when in all-stop mode.
7082 2015-03-04 Pedro Alves <palves@redhat.com>
7084 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7086 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7088 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7090 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7092 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7093 regexps for GDB's current line display, accept a hex address
7094 preceding the line number.
7096 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7098 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7099 the 'arch1' variable for "s390*-linux*" targets.
7101 2015-03-04 Pedro Alves <palves@redhat.com>
7103 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7104 (main): Pass missing retval argument to pthread_join call.
7106 2015-03-02 Pedro Alves <palves@redhat.com>
7108 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7109 (top level): Call do_test with non-stop as well.
7111 2015-03-02 Pedro Alves <palves@redhat.com>
7113 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7116 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7118 * gdb.arch/s390-vregs.exp: New test.
7119 * gdb.arch/s390-vregs.S: New file.
7121 2015-02-27 Pedro Alves <palves@redhat.com>
7123 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7124 call to catch_command_errors.
7125 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7126 catch_command_errors.
7128 2015-02-27 Pedro Alves <palves@redhat.com>
7130 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7131 "true" for boolean result.
7132 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7135 2015-02-27 Pedro Alves <palves@redhat.com>
7137 * lib/unbuffer_output.c: New file.
7138 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7139 (main): Call gdb_unbuffer_output.
7141 2015-02-27 Yao Qi <yao.qi@linaro.org>
7143 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7146 2015-02-26 Doug Evans <dje@google.com>
7148 * gdb.cp/class2.cc (Dbase, D): New classes.
7149 (main): New local delta.
7150 * gdb.cp/class2.exp: Test printing delta.
7151 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7152 (dynbar): New global.
7153 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7155 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7157 * gdb.compile/compile-ifunc.c: New file.
7158 * gdb.compile/compile-ifunc.exp: New file.
7160 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7162 * gdb.base/structs.exp: Check for correct struct on finish.
7164 2015-02-26 Yao Qi <yao.qi@linaro.org>
7166 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7169 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7171 * gdb.arch/cordic.ko.bz2: New file.
7172 * gdb.arch/cordic.ko.debug.bz2: New file.
7173 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7175 2015-02-25 Yao Qi <yao.qi@linaro.org>
7177 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7178 aarch64*-*-* target.
7180 2015-02-23 Pedro Alves <palves@redhat.com>
7182 * lib/gdb.exp (delete_breakpoints): Rewrite using
7185 2015-02-23 Pedro Alves <palves@redhat.com>
7187 * gdb.base/info-os.c: Include stdlib.h.
7189 2015-02-22 Doug Evans <xdje42@gmail.com>
7192 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7193 is read after symbols have been re-read.
7194 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7195 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7197 2015-02-21 Doug Evans <dje@google.com>
7199 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7201 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7204 * gdb.arch/i386-biarch-core.core.bz2: New file.
7205 * gdb.arch/i386-biarch-core.exp: New file.
7207 2015-02-21 Pedro Alves <palves@redhat.com>
7209 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7212 2015-02-20 Pedro Alves <palves@redhat.com>
7214 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7217 2015-02-20 Pedro Alves <palves@redhat.com>
7219 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7221 2015-02-20 Pedro Alves <palves@redhat.com>
7223 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7224 clean_restart before gdb_target_supports_trace.
7226 2015-02-20 Pedro Alves <palves@redhat.com>
7229 * gdb.threads/clone-thread_db.c: New file.
7230 * gdb.threads/clone-thread_db.exp: New file.
7232 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7234 PR breakpoints/16812
7235 * gdb.base/catch-gdb-caused-signals.c: New file.
7236 * gdb.base/catch-gdb-caused-signals.exp: New file.
7238 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7240 * configure: Regenerated.
7241 * configure.ac: Use GDB_AC_TRANSFORM.
7242 * aclocal.m4: sinclude ../transform.m4.
7244 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7246 * lib/dtrace.exp: New file.
7247 * gdb.base/dtrace-probe.exp: Likewise.
7248 * gdb.base/dtrace-probe.d: Likewise.
7249 * gdb.base/dtrace-probe.c: Likewise.
7250 * lib/pdtrace.in: Likewise.
7251 * configure.ac: Output variables with the transformed names of
7252 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7253 * configure: Regenerated.
7255 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7257 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7258 expected message when trying to access $_probe_* convenience
7259 variables while not on a probe.
7261 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7263 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7265 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7267 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7268 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7270 2015-02-10 Doug Evans <xdje42@gmail.com>
7272 * lib/gdb.exp (gdb_load): Always return a result.
7274 2015-02-10 Pedro Alves <palves@redhat.com>
7276 * gdb.threads/signal-sigtrap.c: New file.
7277 * gdb.threads/signal-sigtrap.exp: New file.
7279 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7281 * gdb.trace/no-attach-trace.c: New file.
7282 * gdb.trace/no-attach-trace.exp: New file.
7284 2015-02-09 Mark Wielaard <mjw@redhat.com>
7286 * gdb.dwarf2/atomic.c: New file.
7287 * gdb.dwarf2/atomic-type.exp: Likewise.
7289 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7291 * gdb.btrace/buffer-size.exp: Update "info record" output.
7292 * gdb.btrace/delta.exp: Update "info record" output.
7293 * gdb.btrace/enable.exp: Update "info record" output.
7294 * gdb.btrace/finish.exp: Update "info record" output.
7295 * gdb.btrace/instruction_history.exp: Update "info record" output.
7296 * gdb.btrace/next.exp: Update "info record" output.
7297 * gdb.btrace/nexti.exp: Update "info record" output.
7298 * gdb.btrace/step.exp: Update "info record" output.
7299 * gdb.btrace/stepi.exp: Update "info record" output.
7300 * gdb.btrace/nohist.exp: Update "info record" output.
7302 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7304 * gdb.btrace/buffer-size: New.
7306 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7308 * gdb.btrace/delta.exp: Update "info record" output.
7309 * gdb.btrace/enable.exp: Update "info record" output.
7310 * gdb.btrace/finish.exp: Update "info record" output.
7311 * gdb.btrace/instruction_history.exp: Update "info record" output.
7312 * gdb.btrace/next.exp: Update "info record" output.
7313 * gdb.btrace/nexti.exp: Update "info record" output.
7314 * gdb.btrace/step.exp: Update "info record" output.
7315 * gdb.btrace/stepi.exp: Update "info record" output.
7316 * gdb.btrace/nohist.exp: Update "info record" output.
7318 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7321 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7323 2015-02-06 Pedro Alves <palves@redhat.com>
7325 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7327 (seconds_left, again): New globals.
7328 (main): Wait seconds_left in a 1-second sleep loop instead of
7329 sleeping 180 seconds. If 'again' is set, reset the seconds
7331 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7332 'again' in the inferior before detaching. Print the seconds left.
7333 (options): New global.
7334 (top level): Build program with -DTIMEOUT=$timeout.
7336 2015-02-06 Pedro Alves <palves@redhat.com>
7338 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7339 determine how many seconds to pass to 'alarm'.
7340 * gdb.base/gdb-sigterm.exp (top level): Build program with
7342 (do_test): Return success/failure indication. Add more verbose
7343 logging. Don't fail if 200 single steps are seen. Instead, fail
7344 when the test times out.
7345 (passes): New global.
7346 (top level): Break the testing loop if testing fails on any
7347 iteration. Use gdb_assert.
7349 2015-02-04 Don Breazeal <donb@codesourcery.com>
7351 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7352 and initialize them.
7353 (ipc_cleanup): New function.
7354 (main): Don't declare shmid, semid, and msqid. Add a call to
7355 atexit so that we call ipc_cleanup on exit.
7357 2015-02-04 Pedro Alves <palves@redhat.com>
7359 * boards/native-extended-gdbserver.exp: Remove any target variant
7360 specifications from the board name before clearing the isremote
7361 flag from board_info.
7363 2015-01-31 Doug Evans <xdje42@gmail.com>
7365 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7367 2015-01-31 Gary Benson <gbenson@redhat.com>
7369 * gdb.base/completion.exp: Disable completion limiting for
7370 existing tests. Add new tests to check completion limiting.
7371 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7373 2015-01-31 Doug Evans <xdje42@gmail.com>
7375 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7377 2015-01-31 Doug Evans <xdje42@gmail.com>
7379 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7380 entries. Duplicate file section script entries.
7381 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7382 inlined entries. Add test for safe-path rejection.
7383 * gdb.python/py-section-script.c: Add duplicate inlined section script
7384 entries. Duplicate file section script entries.
7385 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7386 inlined entries. Add test for safe-path rejection.
7388 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7390 * gdb.ada/disc_arr_bound: New testcase.
7392 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7394 * gdb.ada/mi_var_array: New testcase.
7396 2015-01-27 Doug Evans <dje@google.com>
7398 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7399 Add test for objfile.filename, objfile.username after objfile
7402 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7404 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7405 the second test to print the name attribute of value
7406 returned by the call to gdb.lookup_type, and adjust
7407 the expected output accordingly.
7409 2015-01-25 Mark Wielaard <mjw@redhat.com>
7411 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7412 * gdb.base/disp-step-fork.c: Include unistd.h.
7413 * gdb.base/siginfo-obj.c: Include stdio.h.
7414 * gdb.base/siginfo-thread.c: Likewise.
7415 * gdb.mi/non-stop.c: Include unistd.h.
7416 * gdb.mi/nsthrexec.c: Include stdio.h.
7417 * gdb.mi/pthreads.c: Include unistd.h.
7418 * gdb.modula2/unbounded1.c (main): Declare returns int.
7419 * gdb.reverse/consecutive-reverse.c: Likewise.
7420 * gdb.threads/create-fail.c: Include unistd.h.
7421 * gdb.threads/killed.c: Likewise.
7422 * gdb.threads/linux-dp.c: Likewise.
7423 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7424 * gdb.threads/non-ldr-exc-2.c: Likewise.
7425 * gdb.threads/non-ldr-exc-3.c: Likewise.
7426 * gdb.threads/non-ldr-exc-4.c: Likewise.
7427 * gdb.threads/pthreads.c: Include unistd.h.
7428 (main): Declare returns int.
7429 * gdb.threads/tls-main.c (foo): New declaration.
7430 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7432 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7434 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7435 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7437 2015-01-15 Mark Wielaard <mjw@redhat.com>
7439 * gdb.base/noreturn-return.c: New file.
7440 * gdb.base/noreturn-return.exp: New file.
7441 * gdb.base/noreturn-finish.c: New file.
7442 * gdb.base/noreturn-finish.exp: New file.
7444 2015-01-23 Pedro Alves <palves@redhat.com>
7446 * gdb.threads/continue-pending-after-query.c: New file.
7447 * gdb.threads/continue-pending-after-query.exp: New file.
7449 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7450 Simon Marchi <simon.marchi@ericsson.com>
7452 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7453 * gdb.base/valgrind-db-attach.exp: Same.
7454 * gdb.base/valgrind-infcall.exp: Same.
7455 * lib/mi-support.exp (default_mi_gdb_start): Same.
7456 * lib/prompt.exp (default_prompt_gdb_start): Same.
7457 * lib/gdb.exp (default_gdb_spawn): Same.
7458 (gdb_interact): New.
7461 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7463 * gdb.compile/compile.exp (pointer to jit function): New test.
7465 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7467 * lib/gdb.exp (supports_process_record): Return true for
7469 (supports_reverse): Likewise.
7471 2015-01-15 Don Breazeal <donb@codesourcery.com>
7473 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7474 instead of checking whether the target board is remote and
7475 use spawn_wait_for_attach instead of exec/sleep.
7476 * gdb.base/attach-twice.exp: Likewise.
7478 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7480 * gdb.ada/var_arr_attrs: New testcase.
7482 2015-01-14 Pedro Alves <palves@redhat.com>
7483 Joel Brobecker <brobecker@adacore.com>
7486 * gdb.base/bp-cmds-execution-x-script.c: New file.
7487 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7488 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7490 2015-01-14 Pedro Alves <palves@redhat.com>
7493 * gdb.base/batch-preserve-term-settings.c: New file.
7494 * gdb.base/batch-preserve-term-settings.exp: New file.
7496 2015-01-13 Doug Evans <dje@google.com>
7498 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7501 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7503 * Makefile.in (clean mostlyclean): Do not delete *.py.
7505 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7507 * gdb.python/py-lookup-type.exp: New file.
7509 2015-01-12 Pedro Alves <palves@redhat.com>
7511 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7512 restore GDBFLAGS before returning.
7514 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7516 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7517 is_amd64_regs_target and is_x86_like_target.
7519 2015-01-11 Doug Evans <xdje42@gmail.com>
7521 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7522 is given without an explicit form.
7523 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7525 * gdb.dwarf/corrupt.exp: Ditto.
7526 * gdb.dwarf2/enum-type.exp: Ditto.
7527 * gdb.trace/entry-values.exp: Ditto.
7528 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7530 2015-01-11 Doug Evans <xdje42@gmail.com>
7533 * gdb.base/maint.exp: Remove references to "maint demangle".
7534 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7535 Add tests for explicitly specifying language to demangle.
7536 * gdb.dlang/demangle.exp: Ditto.
7538 2015-01-09 Pedro Alves <palves@redhat.com>
7540 * gdb.threads/non-stop-fair-events.c: New file.
7541 * gdb.threads/non-stop-fair-events.exp: New file.
7543 2015-01-09 Pedro Alves <palves@redhat.com>
7545 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7546 the global scope. Set a breakpoint after all threads are started
7547 rather than stepping over two source lines. Expect the prompt.
7548 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7551 (main): Use threads_started_barrier to wait for all threads to
7552 start. Main thread no longer calls thread_function. Exit after
7554 (loop): New function.
7555 (thread_function): Wait on threads_started_barrier barrier. Call
7556 'loop' at each iteration.
7557 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7558 threads have started, instead of hardcoding number of "next"
7559 steps. Use an access watchpoint instead of a write watchpoint.
7561 2015-01-09 Pedro Alves <palves@redhat.com>
7563 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7564 (thread_func): Wait on barrier.
7565 (main): Wait for all threads to start before stopping GDB.
7566 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7568 (thread1_func, thread2_func): Wait on barrier.
7569 (main): Wait for all threads to start before stopping GDB.
7570 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7572 (thread1_func, thread2_func): Wait on barrier.
7573 (main): Wait for all threads to start before stopping GDB.
7575 2015-01-09 Pedro Alves <palves@redhat.com>
7577 * gdb.threads/attach-many-short-lived-threads.c: New file.
7578 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7580 2014-01-09 Pedro Alves <palves@redhat.com>
7582 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7583 instead of to thread 2.
7584 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7585 Add barrier around each pthread_create call instead of around all
7587 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7588 Set a break on thread_function and have the child threads hit it
7591 2015-01-09 Pedro Alves <palves@redhat.com>
7593 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7594 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7596 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7597 checking whether the target board is remote.
7598 * gdb.multi/multi-attach.exp: Likewise.
7599 * gdb.python/py-sync-interp.exp: Likewise.
7600 * gdb.server/ext-attach.exp: Likewise.
7601 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7602 tests that need to attach, instead of checking whether the target
7603 board is remote at the top of the file.
7605 2015-01-08 Yao Qi <yao@codesourcery.com>
7607 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7609 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7611 Fix testcase compilation.
7612 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7614 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7616 * gdb.python/py-type.exp: Add a couple test about empty
7617 array creation, and negative-length array creation.
7619 2015-01-02 Doug Evans <xdje42@gmail.com>
7621 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7623 2015-01-02 Doug Evans <dje@google.com>
7625 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7627 2014-12-29 Yao Qi <yao@codesourcery.com>
7629 * gdb.trace/entry-values.exp: Update comments. Rename variable
7630 bar_call_foo to returned_from_foo.
7632 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7635 * gdb.linespec/break-asm-file.c: New file.
7636 * gdb.linespec/break-asm-file.exp: New file.
7637 * gdb.linespec/break-asm-file0.s: New file.
7638 * gdb.linespec/break-asm-file1.s: New file.
7640 2014-12-18 Nigel Stephens <nigel@mips.com>
7641 Maciej W. Rozycki <macro@codesourcery.com>
7643 * gdb.base/float.exp: Handle the new output from "info float" on
7646 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7648 Fix MinGW compilation.
7649 * gdb.compile/compile-ops.exp: Update untested message if
7650 !skip_compile_feature_tests.
7651 * gdb.compile/compile-setjmp.exp: Likewise.
7652 * gdb.compile/compile-tls.exp: Likewise.
7653 * gdb.compile/compile.exp: Likewise.
7654 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7655 supported on this host".
7657 2014-12-16 Doug Evans <xdje42@gmail.com>
7659 * boards/stabs.exp: New file.
7661 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7663 * gdb.base/completion.exp: Adjust to format changes of "maint
7664 print user-registers".
7666 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7669 * gdb.arch/aarch64-fp.c: New file.
7670 * gdb.arch/aarch64-fp.exp: New file.
7672 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7674 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7675 r210637, r210913, r211666, r215400, r215817).
7677 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7678 * dg-extract-results.py: New file.
7679 * dg-extract-results.sh: Use it if the environment seems
7682 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7684 * dg-extract-results.py (parse_run): Handle warnings that
7685 are printed before a test harness is run.
7687 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7689 * dg-extract-results.py (Named): Remove __cmp__ method.
7690 (output_variation): Use a key to sort variation.harnesses.
7692 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7694 * dg-extract-results.py: For Python 3, force sys.stdout to
7695 handle surrogate escape sequences.
7696 (safe_open): New function.
7697 (output_segment, main): Use it.
7699 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7701 * dg-extract-results.py (Prog.result_re): Include options
7704 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7706 * dg-extract-results.py (output_variation): Always sort if
7709 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7711 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7712 as long as we get pagination notifications.
7714 2014-12-15 Jason Merrill <jason@redhat.com>
7716 * Makefile.in (check-gdb.%): Restore.
7717 * README: Mention it.
7719 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7721 * gdb.ada/str_uninit: New testcase.
7723 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7726 * gdb.base/vla-stub-define.c: New file.
7727 * gdb.base/vla-stub.c: New file.
7728 * gdb.base/vla-stub.exp: New file.
7730 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7731 Jan Kratochvil <jan.kratochvil@redhat.com>
7732 Tom Tromey <tromey@redhat.com>
7734 * configure.ac: Add gdb.compile/.
7735 * configure: Regenerate.
7736 * gdb.compile/Makefile.in: New file.
7737 * gdb.compile/compile-ops.exp: New file.
7738 * gdb.compile/compile-ops.c: New file.
7739 * gdb.compile/compile-tls.c: New file.
7740 * gdb.compile/compile-tls.exp: New file.
7741 * gdb.compile/compile-constvar.S: New file.
7742 * gdb.compile/compile-constvar.c: New file.
7743 * gdb.compile/compile-mod.c: New file.
7744 * gdb.compile/compile-nodebug.c: New file.
7745 * gdb.compile/compile-setjmp-mod.c: New file.
7746 * gdb.compile/compile-setjmp.c: New file.
7747 * gdb.compile/compile-setjmp.exp: New file.
7748 * gdb.compile/compile-shlib.c: New file.
7749 * gdb.compile/compile.c: New file.
7750 * gdb.compile/compile.exp: New file.
7751 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7753 2014-12-12 Tom Tromey <tromey@redhat.com>
7755 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7756 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7758 2014-12-12 Doug Evans <dje@google.com>
7760 * lib/gdb-python.exp (get_python_valueof): New function.
7761 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7763 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7765 * gdb.base/completion.exp: Add test for completion of "info
7768 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7770 * gdb.base/func-ptrs.c: New file.
7771 * gdb.base/func-ptrs.exp: New file.
7773 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7775 PR breakpoints/17012
7776 * gdb.base/dprintf-detach.c: New file.
7777 * gdb.base/dprintf-detach.exp: New file.
7779 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7781 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7782 * lib/gdb.exp (target_is_gdbserver): New procedure.
7784 2014-12-08 Doug Evans <dje@google.com>
7786 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7788 2014-12-05 Yao Qi <yao@codesourcery.com>
7790 * gdb.guile/scm-error.exp: Remove the third argument to
7791 gdb_remote_download.
7792 * gdb.guile/scm-frame-args.exp: Likewise.
7793 * gdb.guile/scm-section-script.exp: Likewise.
7795 2014-12-05 Yao Qi <yao@codesourcery.com>
7797 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7799 2014-12-04 Doug Evans <dje@google.com>
7801 * gdb.python/py-objfile.exp: Add tests for
7802 objfile.add_separate_debug_file.
7804 2014-12-04 Doug Evans <dje@google.com>
7806 * lib/gdb.exp (get_build_id): New function.
7807 (build_id_debug_filename_get): Rewrite to use it.
7808 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7810 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7812 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7813 `method(long)', not just 0x0.
7814 * gdb.cp/nsalias.exp: Align code labels to 4.
7815 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7816 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7817 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7818 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7819 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7820 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7822 2014-12-02 Doug Evans <dje@google.com>
7825 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7826 * gdb.cp/anon-ns2.cc: ... here. New file.
7827 * gdb.cp/anon-ns.exp: Update.
7829 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7831 * gdb.python/py-events.py (inferior_call_handler): New.
7832 (register_changed_handler, memory_changed_handler): New.
7833 (test_events.invoke): Register new handlers.
7834 * gdb.python/py-events.exp: Add tests for inferior call,
7835 memory_changed and register_changed events.
7837 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7839 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7840 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7841 if the linker doesn't understand this.
7843 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7845 * gdb.python/python.exp: Change expected reply to help().
7847 2014-12-01 Yao Qi <yao@codesourcery.com>
7849 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7850 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7851 * configure: Re-generated.
7853 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7855 * gdb.cp/chained-calls.cc: New file.
7856 * gdb.cp/chained-calls.exp: New file.
7857 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7859 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7861 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7862 * gdb.dwarf2/symtab-producer.exp: Same.
7863 * gdb.gdb/python-interrupts.exp: Same.
7864 * gdb.gdb/python-selftest.exp: Same.
7865 * gdb.python/py-linetable.exp: Same.
7866 * gdb.python/py-type.exp: Same.
7867 * gdb.python/py-value-cc.exp: Same.
7868 * gdb.python/py-value.exp: Same.
7870 2014-11-28 Yao Qi <yao@codesourcery.com>
7872 * gdb.base/break-probes.exp: Match library name prefixed with
7875 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7877 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7878 test expected output. Add parentheses for the call to print.
7879 Remove L suffix from integers.
7881 2014-11-26 Doug Evans <dje@google.com>
7883 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7885 2014-11-22 Yao Qi <yao@codesourcery.com>
7887 * gdb.trace/entry-values.c: Remove asms.
7888 (foo): Add foo_label.
7889 (bar): Add bar_label.
7890 * gdb.trace/entry-values.exp: Remove code computing foo's
7891 length and bar's length.
7892 (Dwarf::assemble): Invoke function_range for bar and use
7893 MACRO_AT_func for foo.
7895 2014-11-22 Yao Qi <yao@codesourcery.com>
7897 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7898 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7899 Use .Lgcc43_procstart instead of gcc43.
7901 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7903 * gdb.ada/n_arr_bound: New testcase.
7905 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7907 PR breakpoints/10737
7908 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7909 test_catch_syscall_multi_arch.
7910 (test_catch_syscall_multi_arch): New function.
7912 2014-11-20 Doug Evans <xdje42@gmail.com>
7914 * gdb.base/maint.exp: Update expected output.
7916 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7918 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7919 4-byte instruction on S390.
7921 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7923 * gdb.ada/arr_arr: New testcase.
7925 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7927 * gdb.ada/pkd_arr_elem: New Testcase.
7929 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7931 * gdb.reverse/break-precsave: Expect completion message for
7933 * gdb.reverse/consecutive-precsave.exp: Likewise.
7934 * gdb.reverse/finish-precsave.exp: Likewise.
7935 * gdb.reverse/i386-precsave.exp: Likewise.
7936 * gdb.reverse/machinestate-precsave.exp: Likewise.
7937 * gdb.reverse/sigall-precsave.exp: Likewise.
7938 * gdb.reverse/solib-precsave.exp: Likewise.
7939 * gdb.reverse/step-precsave.exp: Likewise.
7940 * gdb.reverse/until-precsave.exp: Likewise.
7941 * gdb.reverse/watch-precsave.exp: Likewise.
7943 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7945 * gdb.base/bp-permanent.c: Include unistd.h.
7946 * gdb.python/py-framefilter-mi.c (main): Add return type.
7947 * gdb.python/py-framefilter.c (main): Likewise.
7948 * gdb.trace/actions-changed.c (main): Likewise.
7950 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7952 * gdb.mi/until.c: Add eye-catchers.
7953 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7956 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7958 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7959 function header variants in break1.c.
7960 * gdb.base/ena-dis-br.exp: Likewise.
7961 * gdb.base/hbreak2.exp: Likewise.
7962 * gdb.reverse/until-precsave.exp: Drop references to removed
7963 non-prototype function header variants in ur1.c.
7964 * gdb.reverse/until-reverse.exp: Likewise.
7966 2014-11-17 Petr Machata <pmachata@redhat.com>
7968 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7969 ${_cu_offset_size} bytes abbrev offset.
7971 2014-11-15 Doug Evans <xdje42@gmail.com>
7974 * gdb.base/line-symtabs.exp: New file.
7975 * gdb.base/line-symtabs.c: New file.
7976 * gdb.base/line-symtabs.h: New file.
7978 2014-11-14 Yao Qi <yao@codesourcery.com>
7980 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7981 (func): Add label func_label.
7982 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7983 Replace low_pc and high_pc with MACRO_AT_range.
7984 Replace name, low_pc and high_pc with MACRO_AT_func.
7986 2014-11-14 Yao Qi <yao@codesourcery.com>
7988 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7989 Replace name, low_pc and high_pc with MACRO_AT_func.
7991 2014-11-14 Yao Qi <yao@codesourcery.com>
7993 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7994 produce debug information.
7995 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7997 2014-11-14 Yao Qi <yao@codesourcery.com>
7999 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8000 object and get function length.
8001 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8003 (top-level): Replace gdb_compile and clean_restart with
8004 prepare_for_testing.
8005 * gdb.dwarf2/main.c (main): Add label main_label.
8007 2014-11-14 Yao Qi <yao@codesourcery.com>
8009 * lib/dwarf.exp (function_range): New procedure.
8010 (Dwarf::_handle_macro_at_func): New procedure.
8011 (Dwarf::_handle_macro_at_range): New procedure.
8012 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8014 2014-11-14 Yao Qi <yao@codesourcery.com>
8016 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8017 (_handle_attribute): New procedure.
8019 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8021 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8022 * gdb.base/call-sc.c (zed): Likewise.
8023 * gdb.base/checkpoint.c (main): Likewise.
8024 * gdb.base/dump.c (main): Likewise.
8025 * gdb.base/gcore.c (main): Likewise.
8026 * gdb.base/huge.c (main): Likewise.
8027 * gdb.base/multi-forks.c (main): Likewise.
8028 * gdb.base/pr10179-a.c (main): Likewise.
8029 * gdb.base/savedregs.c (main): Likewise.
8030 * gdb.base/sigaltstack.c (main): Likewise.
8031 * gdb.base/siginfo.c (main): Likewise.
8032 * gdb.base/structs.c (zed): Likewise.
8033 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8034 * gdb.mi/mi-syn-frame.c (main): Likewise.
8035 * gdb.mi/until.c (foo, main): Likewise.
8036 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8037 * gdb.base/solib-weak.c (foo): Declare.
8038 * gdb.base/attach-twice.c: Include stdio.h.
8039 * gdb.base/weaklib1.c: Likewise.
8040 * gdb.base/weaklib2.c: Likewise.
8041 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8042 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8044 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8045 * gdb.mi/mi-exit-code.c: Likewise.
8046 * gdb.base/break-interp-lib.c: Include string.h.
8047 * gdb.base/coremaker.c: Likewise.
8048 * gdb.base/testenv.c: Likewise.
8049 * gdb.python/py-finish-breakpoint.c: Likewise.
8050 * gdb.base/inferior-died.c: Include sys/wait.h.
8051 * gdb.base/fileio.c: Include time.h.
8052 * gdb.base/async-shell.c: Include unistd.h.
8053 * gdb.base/dprintf-non-stop.c: Likewise.
8054 * gdb.base/info-os.c: Likewise.
8055 * gdb.mi/mi-console.c: Likewise.
8056 * gdb.mi/watch-nonstop.c: Likewise.
8057 * gdb.python/py-events.c: Likewise.
8058 * gdb.base/async.c (baz): Move up before its invocation.
8059 * gdb.base/code_elim2.c (my_global_func): Likewise.
8060 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8061 * gdb.base/advance.c (func2): Likewise.
8063 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8065 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8067 * gdb.base/annota3.c: Likewise.
8068 * gdb.base/async.c: Likewise.
8069 * gdb.base/average.c: Likewise.
8070 * gdb.base/call-ar-st.c: Likewise.
8071 * gdb.base/call-rt-st.c: Likewise.
8072 * gdb.base/call-sc.c: Likewise.
8073 * gdb.base/call-strs.c: Likewise.
8074 * gdb.base/ending-run.c: Likewise.
8075 * gdb.base/execd-prog.c: Likewise.
8076 * gdb.base/exprs.c: Likewise.
8077 * gdb.base/foll-exec.c: Likewise.
8078 * gdb.base/foll-fork.c: Likewise.
8079 * gdb.base/foll-vfork.c: Likewise.
8080 * gdb.base/funcargs.c: Likewise.
8081 * gdb.base/gcore.c: Likewise.
8082 * gdb.base/jump.c: Likewise.
8083 * gdb.base/langs0.c: Likewise.
8084 * gdb.base/langs1.c: Likewise.
8085 * gdb.base/langs2.c: Likewise.
8086 * gdb.base/mips_pro.c: Likewise.
8087 * gdb.base/nodebug.c: Likewise.
8088 * gdb.base/opaque0.c: Likewise.
8089 * gdb.base/opaque1.c: Likewise.
8090 * gdb.base/recurse.c: Likewise.
8091 * gdb.base/run.c: Likewise.
8092 * gdb.base/scope0.c: Likewise.
8093 * gdb.base/scope1.c: Likewise.
8094 * gdb.base/setshow.c: Likewise.
8095 * gdb.base/setvar.c: Likewise.
8096 * gdb.base/shmain.c: Likewise.
8097 * gdb.base/shr1.c: Likewise.
8098 * gdb.base/shr2.c: Likewise.
8099 * gdb.base/sigall.c: Likewise.
8100 * gdb.base/signals.c: Likewise.
8101 * gdb.base/so-indr-cl.c: Likewise.
8102 * gdb.base/solib2.c: Likewise.
8103 * gdb.base/structs.c: Likewise.
8104 * gdb.base/sum.c: Likewise.
8105 * gdb.base/vforked-prog.c: Likewise.
8106 * gdb.base/watchpoint.c: Likewise.
8107 * gdb.reverse/shr2.c: Likewise.
8108 * gdb.reverse/until-reverse.c: Likewise.
8109 * gdb.reverse/ur1.c: Likewise.
8110 * gdb.reverse/watch-reverse.c: Likewise.
8112 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8114 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8116 * gdb.base/sepdebug.exp: Drop references to removed code.
8118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8120 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8121 variant. Preserve original line numbering.
8122 * gdb.base/list1.c: Likewise.
8124 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8126 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8128 * gdb.base/break1.c: Likewise.
8129 * gdb.base/break.exp: Drop references to removed code.
8131 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8133 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8136 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8138 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8142 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8143 logic into perform_all_tests() and invoke it with and without
8144 function header prototypes.
8145 (do_function_calls): Remove conditional XFAIL for PR 5318.
8146 (rerun_and_prepare): Remove duplicate code.
8147 (perform_all_tests): New. Main logic moved here.
8149 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8151 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8152 code guarded by #ifdef NO_PROTOTYPES.
8153 (t_double_many_args): Likewise.
8154 (DEF_FUNC_MANY_ARGS_1): Likewise.
8155 (DEF_FUNC_VALUES_1): Likewise.
8156 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8157 guarded by #ifdef PROTOTYPES.
8159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8161 * gdb.mi/mi-console.c: Add eye-catcher.
8162 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8163 instead of literal line number.
8165 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8167 * gdb.base/shr2.c: Add eye-catcher.
8168 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8171 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8173 * gdb.base/jump.c: Add eye-catchers.
8174 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8177 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8179 * gdb.base/execd-prog.c: Add eye-catchers.
8180 * gdb.base/foll-exec.c: Likewise.
8181 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8184 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8186 * gdb.base/ending-run.c: Add eye-catchers.
8187 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8188 literal line numbers.
8190 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8192 * gdb.base/call-rt-st.c: Add eye-catchers.
8193 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8194 literal line numbers.
8196 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8198 * gdb.base/call-ar-st.c: Add eye-catchers.
8199 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8200 literal line numbers.
8202 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8204 * gdb.base/average.c: Add eye-catchers.
8205 * gdb.base/sum.c: Likewise.
8206 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8207 regexps dynamically.
8209 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8211 * gdb.base/solib1.c: Add eye-catchers.
8212 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8213 literal line numbers.
8215 2014-11-12 Pedro Alves <palves@redhat.com>
8217 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8220 2014-11-12 Pedro Alves <palves@redhat.com>
8222 * gdb.arch/i386-bp_permanent.c: New file.
8223 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8224 (srcfile): Set to i386-bp_permanent.c.
8225 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8226 that stepi does not execute the 'leave' instruction, instead of
8227 testing it does execute.
8228 * gdb.base/bp-permanent.c: New file.
8229 * gdb.base/bp-permanent.exp: New file.
8231 2014-11-10 Doug Evans <xdje42@gmail.com>
8234 * gdb.base/symtab-search-order.exp: New file.
8235 * gdb.base/symtab-search-order.c: New file.
8236 * gdb.base/symtab-search-order-1.c: New file.
8237 * gdb.base/symtab-search-order-shlib-1.c: New file.
8239 2014-11-07 Pedro Alves <palves@redhat.com>
8242 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8245 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8248 * gdb.cp/pr17494.cc: New file.
8249 * gdb.cp/pr17494.exp: New file.
8251 2014-11-02 Yao Qi <yao@codesourcery.com>
8253 * gdb.python/python.exp: Get working directory and match the
8254 output of "set extended-prompt \\w " with it.
8256 2014-10-30 Doug Evans <dje@google.com>
8258 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8260 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8263 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8265 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8266 * gdb.base/realname-expand.exp: Likewise.
8267 * gdb.linespec/macro-relative.exp: Likewise.
8269 2014-10-29 Pedro Alves <palves@redhat.com>
8272 * gdb.threads/schedlock.c (some_function): New function.
8273 (call_function): New global.
8274 (MAYBE_CALL_SOME_FUNCTION): New macro.
8275 (thread_function): Call it.
8276 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8277 and use it instead of a global counter. Adjust all callers.
8278 (get_current_thread): Use "find current thread" for test message
8279 here rather than having all callers pass down the same string.
8280 (goto_loop): New procedure, factored out from ...
8281 (my_continue): ... this.
8282 (step_ten_loops): Change parameter from test message to command to
8284 (list_count): Delete global.
8285 (check_result): New procedure, factored out from duplicate top
8287 (continue tests): Wrap in with_test_prefix.
8288 (test_step): New procedure, factored out from duplicate top level
8290 (top level): Test "step" in combination with all scheduler-locking
8291 modes. Test "next" in combination with all scheduler-locking
8292 modes, and in combination with stepping over a function call or
8294 * gdb.threads/next-bp-other-thread.c: New file.
8295 * gdb.threads/next-bp-other-thread.exp: New file.
8297 2014-10-29 Pedro Alves <palves@redhat.com>
8300 * gdb.python/python.exp: Test a multi-line command that spawns
8302 * gdb.base/multi-line-starts-subshell.exp: New file.
8304 2014-10-29 Yao Qi <yao@codesourcery.com>
8306 * gdb.base/fileio.exp: Make directories on host.
8308 2014-10-29 Yao Qi <yao@codesourcery.com>
8310 * gdb.base/fileio.c (test_write): Close the file.
8312 2014-10-28 Pedro Alves <palves@redhat.com>
8315 * gdb.base/sigstep.c (no_handler): New global.
8316 (main): If 'no_handler is true, set the signal handlers to
8318 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8319 with_sw_watch and no_handler parameters. Handle them.
8320 (top level) <stepping over handler when stopped at a breakpoint
8321 test>: Add a test axis for testing with a software watchpoint, and
8322 another for testing with the signal handler set to SIG_IGN.
8323 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8324 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8326 2014-10-28 Pedro Alves <palves@redhat.com>
8329 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8330 * gdb.base/sigstep.exp (other_handler_location): New global.
8331 (advance): Support stepping into the signal handler, and running
8332 commands while in the handler.
8333 (in_handler_map): New global.
8334 (top level): In the advance test, add combinations for getting
8335 into the handler with stepping commands, and for running commands
8336 in the handler. Add comment descripting the advancei tests.
8338 2014-10-28 Pedro Alves <palves@redhat.com>
8340 * gdb.base/sigstep.exp: Use build_executable instead of
8341 prepare_for_testing.
8342 (top level): Move code that starts GDB, runs to main and creates a
8344 (restart): ... this new procedure.
8345 (top level): Move backtrace from signal handler test to ...
8346 (validate_backtrace): ... this new procedure.
8347 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8348 with_test_prefix. Always restart GDB.
8349 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8350 with_test_prefix. Always restart GDB. No need to delete
8351 breakpoints after the test.
8352 (test_skip_handler): Remove prefix parameter.
8353 (skip_over_handler, breakpoint_to_handler)
8354 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8355 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8356 restart GDB. No need to delete breakpoints after the test.
8357 (top level): Use foreach to call the test procedures with
8360 2014-10-28 Pedro Alves <palves@redhat.com>
8362 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8363 instead of GNATS numbers.
8364 * gdb.base/sigbpt.exp: Likewise.
8365 * gdb.base/siginfo.exp: Likewise.
8366 * gdb.base/sigstep.exp: Likewise.
8368 2014-10-27 Pedro Alves <palves@redhat.com>
8370 * gdb.base/sigstep.c (dummy): New global.
8371 (main): Issue a couple writes to the new global.
8372 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8374 (skip_over_handler): Use test_skip_handler.
8375 (top level): Call skip_over_handler for stepi and nexti too.
8376 (breakpoint_over_handler): Use test_skip_handler.
8377 (top level): Call breakpoint_over_handler for stepi and nexti too.
8379 2014-10-27 Yao Qi <yao@codesourcery.com>
8381 * gdb.trace/tfile.c (adjust_function_address)
8382 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8383 function descriptor.
8385 2014-10-24 Don Breazeal <donb@codesourcery.com>
8387 * gdb.base/foll-fork.exp (test_follow_fork,
8388 catch_fork_child_follow): Check for updated fork messages emitted
8390 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8391 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8392 vfork_and_exec_child_follow_through_step): Check for updated vfork
8393 messages emitted from infrun.c.
8395 2014-10-24 Pedro Alves <palves@redhat.com>
8397 * gdb.base/corefile.exp: Remove references to ultrix.
8398 * gdb.base/interrupt.exp: Likewise.
8399 * gdb.base/whatis.exp: Likewise.
8400 * gdb.gdb/selftest.exp: Likewise.
8401 * gdb.threads/manythreads.exp: Likewise.
8402 * gdb.threads/print-threads.exp: Likewise.
8403 * gdb.threads/pthreads.exp:: Likewise.
8404 * gdb.threads/schedlock.exp: Likewise.
8406 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8408 * gdb.cp/non-trivial-retval.cc: Add a test case.
8409 * gdb.cp/non-trivial-retval.exp: Add a test.
8411 2014-10-20 Yao Qi <yao@codesourcery.com>
8413 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8414 * gdb.python/py-objfile-script-gdb.py: New file.
8415 * gdb.python/py-objfile-script.exp: Update reference to
8416 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8417 of remote_download. Remove the dest file.
8419 2014-10-20 Yao Qi <yao@codesourcery.com>
8421 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8422 * gdb.base/step-line.exp: Likewise.
8423 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8424 * gdb.dwarf2/dw2-basic.exp: Likewise.
8425 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8426 * gdb.dwarf2/dw2-filename.exp: Likewise.
8427 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8428 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8429 * gdb.dwarf2/dw2-producer.exp: Likewise.
8430 * gdb.dwarf2/mac-fileno.exp: Likewise.
8431 * gdb.python/py-frame-args.exp: Likewise.
8432 * gdb.python/py-framefilter.exp: Likewise.
8433 * gdb.python/py-mi.exp: Likewise.
8434 * gdb.python/py-objfile-script.exp: Likewise
8435 * gdb.python/py-pp-integral.exp: Likewise.
8436 * gdb.python/py-pp-re-notag.exp: Likewise.
8437 * gdb.python/py-prettyprint.exp: Likewise.
8438 * gdb.python/py-section-script.exp: Likewise.
8439 * gdb.python/py-typeprint.exp: Likewise.
8440 * gdb.python/py-xmethods.exp: Likewise.
8441 * gdb.stabs/weird.exp: Likewise.
8442 * gdb.xml/tdesc-regs.exp: Likewise.
8444 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8446 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8447 (out_cu): Use addr_len for the size of addresses.
8448 (out_line): Likewise. Size DW_LNE_set_address instruction
8449 according to addr_len.
8450 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8451 (FUNC): Add START_INSNS to definition.
8453 2014-10-18 Yao Qi <yao@codesourcery.com>
8455 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8456 gdb_has_argv0 return true.
8457 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8458 check [target_info exists noargs], check [gdb_has_argv0]
8460 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8461 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8464 2014-10-17 Doug Evans <dje@google.com>
8466 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8468 * gdb.python/py-events.py: Add clear_objfiles event.
8470 2014-10-17 Doug Evans <dje@google.com>
8472 * gdb.python/py-objfile.exp: Test progspace attribute.
8474 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8476 * gdb.guile/scm-breakpoint.exp: Do not assume any
8477 directory separators when matching source file paths.
8478 * gdb.python/py-breakpoint.exp: Likewise.
8479 * gdb.reverse/break-precsave.exp: Likewise.
8480 * gdb.reverse/break-reverse.exp: Likewise.
8481 * gdb.reverse/consecutive-precsave.exp: Likewise.
8482 * gdb.reverse/finish-precsave.exp: Likewise.
8483 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8484 * gdb.reverse/finish-reverse.exp: Likewise.
8485 * gdb.reverse/i386-precsave.exp: Likewise.
8486 * gdb.reverse/i387-env-reverse.exp: Likewise.
8487 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8488 * gdb.reverse/machinestate-precsave.exp: Likewise.
8489 * gdb.reverse/machinestate.exp: Likewise.
8490 * gdb.reverse/sigall-precsave.exp: Likewise.
8491 * gdb.reverse/solib-precsave.exp: Likewise.
8492 * gdb.reverse/step-precsave.exp: Likewise.
8493 * gdb.reverse/until-precsave.exp: Likewise.
8494 * gdb.reverse/watch-precsave.exp: Likewise.
8495 * gdb.reverse/watch-reverse.exp: Likewise.
8497 2014-10-17 Yao Qi <yao@codesourcery.com>
8499 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8500 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8502 2014-10-17 Pedro Alves <palves@redhat.com>
8505 * gdb.base/bg-execution-repeat.c: New file.
8506 * gdb.base/bg-execution-repeat.exp: New file.
8508 2014-10-17 Pedro Alves <palves@redhat.com>
8511 * gdb.base/continue-all-already-running.c: New file.
8512 * gdb.base/continue-all-already-running.exp: New file.
8514 2014-10-17 Pedro Alves <palves@redhat.com>
8517 * gdb.base/annota-input-while-running.c: New file.
8518 * gdb.base/annota-input-while-running.exp: New file.
8520 2014-10-17 Pedro Alves <palves@redhat.com>
8522 * gdb.base/callfuncs.exp: emove references to osf.
8523 * gdb.base/sigall.exp: Likewise.
8524 * gdb.gdb/selftest.exp: Likewise.
8525 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8526 * gdb.mi/non-stop.c: Likewise.
8527 * gdb.mi/pthreads.c: Likewise.
8528 * gdb.reverse/sigall-precsave.exp: Likewise.
8529 * gdb.reverse/sigall-reverse.exp: Likewise.
8530 * gdb.threads/pthreads.c: Likewise.
8531 * gdb.threads/pthreads.exp: Likewise.
8533 2014-10-17 Yao Qi <yao@codesourcery.com>
8535 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8536 check 'target_info exists noargs'.
8537 (test_command_prompt_position): Likewise.
8538 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8540 (progvar_simple_while_test): Likewise.
8541 (progvar_complex_if_while_test): Likewise.
8542 (if_while_breakpoint_command_test): Likewise.
8543 (infrun_breakpoint_command_test): Likewise.
8544 (breakpoint_command_test): Likewise.
8545 (watchpoint_command_test): Likewise.
8546 (bp_deleted_in_command_test): Likewise.
8547 (temporary_breakpoint_commands): Likewise.
8549 2014-10-16 Yao Qi <yao@codesourcery.com>
8551 * gdb.base/remotetimeout.exp: Remove noargs checking.
8553 2014-10-15 Pedro Alves <palves@redhat.com>
8556 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8557 * gdb.base/breakpoint-in-ro-region.exp
8558 (probe_target_hardware_step): New procedure.
8559 (top level): Probe hardware stepping and hardware breakpoint
8560 support. Test stepping through a read-only region, with both
8561 "breakpoint auto-hw" on and off and both "always-inserted" on and
8564 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8566 * gdb.dlang/demangle.exp: Update for demangling changes.
8568 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8570 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8571 * gdb.cp/non-trivial-retval.exp: Add new tests.
8573 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8577 * gdb.cp/non-trivial-retval.cc: New file.
8578 * gdb.cp/non-trivial-retval.exp: New file.
8580 2014-10-15 Yao Qi <yao@codesourcery.com>
8582 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8585 2014-10-15 Yao Qi <yao@codesourcery.com>
8587 * gdb.python/py-symbol.exp: Match file base name if host is
8588 remote, otherwise match file name with dir name.
8589 * gdb.python/py-symtab.exp: Likewise.
8590 * gdb.python/python.exp: Likewise.
8592 2014-10-15 Yao Qi <yao@codesourcery.com>
8594 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8596 * gdb.python/py-symtab.exp: Likewise.
8597 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8600 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8602 * gdb.ada/addr_arith: New testcase.
8604 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8606 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8607 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8608 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8609 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8611 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8613 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8614 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8615 * gdb.arch/stap-eval-lang-ada.exp: New file.
8617 2014-10-14 Yao Qi <yao@codesourcery.com>
8619 * gdb.mi/mi-var-child.c (nothing1): New function.
8620 (nothing2): New function.
8621 (do_children_tests): Set function pointers by nothing1 and
8623 * gdb.mi/mi-var-child.exp: Step over new added statements.
8624 Update test to match the new output.
8625 * gdb.mi/var-cmd.c (nothing1): New function.
8626 (nothing2): New function.
8627 (do_children_tests): Set function pointers by nothing1 and
8629 * gdb.mi/mi-var-display.exp: Update test to match output.
8630 Step to the line specified by $line_dct_nothing.
8631 Increase the number of lines to step.
8633 2014-10-14 Yao Qi <yao@codesourcery.com>
8635 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8637 * gdb.mi/mi2-var-child.exp: Likewise.
8639 2014-10-13 Doug Evans <dje@google.com>
8641 * gdb.python/py-objfile.exp: Change name of file name test.
8643 2014-10-13 Doug Evans <dje@google.com>
8645 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8646 from the start of the CU.
8648 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8649 Yao Qi <yao@codesourcery.com>
8651 Fix "save breakpoints" for "catch" command.
8652 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8653 Remove -nonewline. Match also the added "main" line.
8655 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8657 Fix "save breakpoints" for "disable $bpnum" command.
8658 * gdb.base/save-bp.c (main): Add label.
8659 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8661 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8663 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8665 2014-10-11 Yao Qi <yao@codesourcery.com>
8667 * gdb.server/server-kill.exp: Execute command
8668 "set remote trace-status-packet on" before "tstatus".
8670 2014-10-11 Yao Qi <yao@codesourcery.com>
8672 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8673 (main): Call getppid.
8674 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8675 and continue to it. Read variable "server_pid".
8677 2014-10-11 Yao Qi <yao@codesourcery.com>
8679 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8681 2014-10-11 Yao Qi <yao@codesourcery.com>
8683 * gdb.threads/thread-find.exp: Don't execute command
8685 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8686 * gdb.threads/linux-dp.exp: Don't check the condition
8687 $threads_created equals to zero.
8689 2014-10-10 Pedro Alves <palves@redhat.com>
8691 * gdb.base/bigcore.exp: Remove references to IRIX.
8692 * gdb.base/funcargs.exp: Likewise.
8693 * gdb.base/interrupt.exp: Likewise.
8694 * gdb.base/mips_pro.exp: Likewise.
8695 * gdb.base/nodebug.exp: Likewise.
8696 * gdb.base/setvar.exp: Likewise.
8697 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8699 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8700 Pedro Alves <palves@redhat.com>
8703 * gdb.base/vdso-warning.c: New file.
8704 * gdb.base/vdso-warning.exp: New file.
8706 2014-10-02 Doug Evans <dje@google.com>
8708 * gdb.base/structs.c (main): Don't run forever.
8710 2014-10-02 Pedro Alves <palves@redhat.com>
8712 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8713 (top level) <stop threads 1, stop threads 2>: Use it.
8715 2014-10-02 Pedro Alves <palves@redhat.com>
8717 * gdb.threads/break-while-running.exp (test): Add new
8718 'update_thread_list' argument. Skip "info threads" if false.
8719 (top level): Add new 'update_thread_list' axis.
8721 2014-10-02 Pedro Alves <palves@redhat.com>
8723 PR breakpoints/17431
8724 * gdb.base/execl-update-breakpoints.c: New file.
8725 * gdb.base/execl-update-breakpoints.exp: New file.
8727 2014-10-01 Pedro Alves <palves@redhat.com>
8729 * gdb.base/breakpoint-in-ro-region.c: New file.
8730 * gdb.base/breakpoint-in-ro-region.exp: New file.
8732 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8734 * gdb.mi/mi-exit-code.exp: New file.
8735 * gdb.mi/mi-exit-code.c: New file.
8737 2014-09-30 Yao Qi <yao@codesourcery.com>
8739 * lib/prelink-support.exp (build_executable_own_libs): Error if
8740 the target isn't native.
8742 2014-09-30 Yao Qi <yao@codesourcery.com>
8744 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8747 2014-09-22 Pedro Alves <palves@redhat.com>
8749 * gdb.threads/break-while-running.exp: New file.
8750 * gdb.threads/break-while-running.c: New file.
8752 2014-09-19 Yao Qi <yao@codesourcery.com>
8754 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8755 Invoke test. Restart GDB with --readnow and invoke test again.
8757 2014-09-19 Yao Qi <yao@codesourcery.com>
8759 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8760 proc set_breakpoint_on_gcd_function. Invoke
8761 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8762 invoke set_breakpoint_on_gcd_function again.
8764 2014-09-18 Doug Evans <dje@google.com>
8766 * gdb.dwarf2/symtab-producer.exp: New file.
8768 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8770 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8771 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8772 * gdb.base/global-var-nested-by-dso.c: Likewise.
8773 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8775 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8776 Pedro Alves <palves@redhat.com>
8778 * gdb.base/watch-bitfields.exp: Pass string other than test file
8779 name to prepare_for_testing.
8780 (watch): New procedure.
8781 (expect_watchpoint): Use with_test_prefix.
8782 (top level): Factor out tests to ...
8783 (test_watch_location, test_regular_watch): ... these new
8784 procedures, and use with_test_prefix and gdb_continue_to_end.
8786 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8788 PR breakpoints/12526
8789 * gdb.base/watch-bitfields.exp: New file.
8790 * gdb.base/watch-bitfields.c: New file.
8792 2014-09-16 Pedro Alves <palves@redhat.com>
8794 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8795 software and hardware addresses, not software address against
8798 2014-09-16 Pedro Alves <palves@redhat.com>
8800 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8801 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8803 2014-09-16 Pedro Alves <palves@redhat.com>
8805 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8807 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8808 "*-*-vxworks*" throughout.
8809 * gdb.base/break.exp: Likewise.
8810 * gdb.base/default.exp: Likewise.
8811 * gdb.base/scope.exp: Likewise.
8812 * gdb.base/sepdebug.exp: Likewise.
8813 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8815 * gdb.base/run.c: Likewise.
8816 * gdb.base/sepdebug.c: Likewise.
8817 * gdb.hp/gdb.aCC/run.c: Likewise.
8818 * gdb.reverse/until-reverse.c: Likewise.
8819 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8821 2014-09-16 Yao Qi <yao@codesourcery.com>
8823 * boards/local-remote-host-native.exp: New file.
8825 2014-09-14 Doug Evans <xdje42@gmail.com>
8827 * gdb.threads/queue-signal.c (thread_count): New variable.
8828 (thread_count_mutex, thread_count_condvar): New variables.
8829 (incr_thread_count, wait_all_threads_running): New functions.
8830 (main): Wait for all threads to be in their thread functions.
8832 2014-09-13 Doug Evans <xdje42@gmail.com>
8834 * gdb.threads/queue-signal.c: New file.
8835 * gdb.threads/queue-signal.exp: New file.
8837 2014-09-13 Doug Evans <xdje42@gmail.com>
8839 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8840 be consistent with what default_gdb_init uses.
8841 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8842 the plain text of the prompt. Add some logging printfs.
8843 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8845 2014-09-12 Pedro Alves <palves@redhat.com>
8847 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8848 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8849 * gdb.arch/i386-size-overlap.exp: Likewise.
8850 * gdb.arch/i386-size.exp: Likewise.
8851 * gdb.arch/i386-unwind.exp: Likewise.
8852 * gdb.base/a2-run.exp: Likewise.
8853 * gdb.base/break.exp: Likewise.
8854 * gdb.base/charset.exp: Likewise.
8855 * gdb.base/chng-syms.exp: Likewise.
8856 * gdb.base/commands.exp: Likewise.
8857 * gdb.base/dbx.exp: Likewise.
8858 * gdb.base/find.exp: Likewise.
8859 * gdb.base/funcargs.exp: Likewise.
8860 * gdb.base/jit-simple.exp: Likewise.
8861 * gdb.base/reread.exp: Likewise.
8862 * gdb.base/sepdebug.exp: Likewise.
8863 * gdb.base/step-bt.exp: Likewise.
8864 * gdb.cp/mb-inline.exp: Likewise.
8865 * gdb.cp/mb-templates.exp: Likewise.
8866 * gdb.objc/basicclass.exp: Likewise.
8867 * gdb.threads/killed.exp: Likewise.
8869 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8872 * gdb.arch/powerpc-stackless.S: New file.
8873 * gdb.arch/powerpc-stackless.exp: New file.
8875 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8877 * gdb.base/attach.c: Include unistd.h.
8878 (main): Call alarm. Add label postloop.
8879 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8880 gdb_breakpoint, gdb_continue_to_breakpoint.
8881 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8883 2014-09-11 Pedro Alves <palves@redhat.com>
8886 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8887 * gdb.base/attach.exp (test_command_line_attach_run): New
8889 (top level): Call it.
8891 2014-09-11 Pedro Alves <palves@redhat.com>
8893 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8894 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8895 (do_command_attach_tests): Use spawn_wait_for_attach.
8896 * gdb.base/solib-overlap.exp: Likewise.
8897 * gdb.multi/multi-attach.exp: Likewise.
8898 * gdb.python/py-prompt.exp: Likewise.
8899 * gdb.python/py-sync-interp.exp: Likewise.
8900 * gdb.server/ext-attach.exp: Likewise.
8902 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8904 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8905 command in testcase. Simplify testcase.
8907 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8909 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8911 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8913 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8915 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8917 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8919 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8921 * gdb.dwarf2/dynarr-ptr.c: New file.
8922 * gdb.dwarf2/dynarr-ptr.exp: New file.
8924 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8926 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8927 of 30 rather than hardcoding 120 for a slow test case. Take the
8928 `gdb,timeout' target setting into account for this calculation.
8929 Don't extend the timeout for the test cases that don't need it.
8931 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8933 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8934 a factor of 2 for a slow test case. Take the `gdb,timeout'
8935 target setting into account for this calculation.
8936 * gdb.reverse/until-precsave.exp: Increase the timeout by
8937 a factor of 15 and 3 respectively rather than adding 120
8938 for a pair of slow test cases. Take the `gdb,timeout'
8939 target setting into account for this calculation.
8941 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8943 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8944 timeout, don't pass one down to gdb_expect.
8945 (gdb_expect): Rework timeout selection.
8947 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8949 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8950 exception on timeout.
8951 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8952 (gdbserver_start_extended): Catch any `gdbserver_start' error
8954 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8955 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8956 `gdbserver_gdb_load' error exceptions.
8958 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8960 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8961 120 on waiting for the TCP socket to open.
8963 2014-09-09 Doug Evans <xdje42@gmail.com>
8965 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8966 _caller_matches, _any_caller_is, _any_caller_matches.
8968 2014-09-09 Doug Evans <xdje42@gmail.com>
8970 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8972 2014-09-09 Yao Qi <yao@codesourcery.com>
8974 * gdb.mi/mi-var-display.exp: Set print symbol off.
8976 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8979 * gdb.base/commands.exp: Add tests to verify user-defined
8980 commands with empty bodies.
8981 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8982 python commands in `show user command`.
8983 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8984 scheme commands in `show user command`.
8986 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8989 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8990 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8991 * gdb.python/py-framefilter-invalidarg.exp: New file.
8992 * gdb.python/py-framefilter-invalidarg.py: New file.
8994 2014-09-06 Doug Evans <xdje42@gmail.com>
8997 * gdb.python/py-caller-is.c: New file.
8998 * gdb.python/py-caller-is.exp: New file.
9000 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9003 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9004 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9006 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9009 * gdb.fortran/print-formatted.exp: New file.
9010 * gdb.fortran/print-formatted.f90: Likewise.
9012 2014-09-03 Sasha Smundak <asmundak@google.com>
9014 * gdb.python/py-frame.exp: Test Frame.read_register.
9016 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9019 * gdb.python/py-completion.exp: New file.
9020 * gdb.python/py-completion.py: Likewise.
9022 2014-08-28 Doug Evans <dje@google.com>
9024 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9025 eax,etc. are live with values set by gdb and thus the compiler can't
9027 * gdb.arch/i386-pseudo.c (main): Ditto.
9029 2014-08-27 Doug Evans <dje@google.com>
9031 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9033 2014-08-25 Doug Evans <dje@google.com>
9035 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9038 2014-08-25 Doug Evans <dje@google.com>
9040 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9042 2014-08-24 Yao Qi <yao@codesourcery.com>
9044 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9046 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9048 2014-08-22 Doug Evans <dje@google.com>
9051 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9052 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9053 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9055 2014-08-22 Yao Qi <yao@codesourcery.com>
9057 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9058 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9059 * gdb.python/python.exp: Likewise. Use .py file on the host
9060 instead of the build.
9062 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9064 * gdb.threads/gcore-stale-thread.c: New file.
9065 * gdb.threads/gcore-stale-thread.exp: New file.
9067 2014-08-21 Pedro Alves <palves@redhat.com>
9069 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9070 * gdb.base/gcore-relro-pie.exp: Likewise.
9071 * gdb.base/gcore-relro.exp: Likewise.
9072 * gdb.base/gcore.exp: Likewise.
9073 * gdb.base/print-symbol-loading.exp: Likewise.
9074 * gdb.threads/gcore-thread.exp: Likewise.
9075 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9077 2014-08-20 Pedro Alves <palves@redhat.com>
9078 Jan Kratochvil <jan.kratochvil@redhat.com>
9080 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9082 (EXPECT): Handle READ1 being set.
9083 (all): Depend on EXTRA_RULES.
9084 (check-read1, expect-read1, read1.so, read1): New rules.
9085 * README (Testsuite Parameters): Document the READ1 make variable.
9086 (Race detection): New section.
9087 * configure: Regenerate.
9088 * configure.ac: If build==host==target, and running under a
9089 GNU/glibc system, add read1 to the extra Makefile rules.
9090 (EXTRA_RULES): AC_SUBST it.
9091 * lib/read1.c: New file.
9093 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9095 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9096 the handling of variables declared as a typedef to an array
9097 which a DW_AT_data_location attribute.
9099 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9100 Pedro Alves <palves@redhat.com>
9104 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9107 2014-08-19 Pedro Alves <palves@redhat.com>
9109 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9111 2014-08-19 Yao Qi <yao@codesourcery.com>
9113 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9116 2014-08-18 David Blaikie <dblaikie@gmail.com>
9118 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9120 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9122 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9123 attribute in array range.
9125 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9127 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9129 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9132 * gdb.cp/pr17132.cc: New file.
9133 * gdb.cp/pr17132.exp: New file.
9135 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9137 * gdb.python/py-xmethods.py (A_getarrayind)
9138 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9139 Use 'print' with function call syntax.
9140 (E_method_matcher.match): Fix tab vs space indentation mixup.
9142 2014-08-15 Yao Qi <yao@codesourcery.com>
9144 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9147 2014-08-15 Yao Qi <yao@codesourcery.com>
9149 * gdb.cp/casts.exp: Set print symbol off.
9150 * gdb.cp/class2.exp: Likewise.
9151 * gdb.cp/overload.exp: Likewise.
9152 * gdb.cp/templates.exp: Likewise.
9154 2014-08-11 Doug Evans <dje@google.com>
9156 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9157 (test_load_shlib): Update.
9159 2014-08-09 Yao Qi <yao@codesourcery.com>
9161 * gdb.base/display.exp: Invoke is_address_zero_readable.
9162 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9163 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9164 * gdb.base/hbreak-unmapped.exp: Return if
9165 is_address_zero_readable returns true.
9166 * gdb.base/signest.exp: Likewise.
9167 * gdb.base/signull.exp: Likewise.
9168 * gdb.base/sigbpt.exp: Likewise.
9169 * gdb.guile/scm-disasm.exp: Do the test if
9170 is_address_zero_readable returns false.
9171 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9172 * gdb.python/py-arch.exp: Likewise.
9173 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9174 * lib/gdb.exp (is_address_zero_readable): New proc.
9176 2014-08-09 Yao Qi <yao@codesourcery.com>
9179 * gdb.mi/mi-var-display.exp: Make test messages unique.
9181 2014-08-04 Tom Tromey <tromey@redhat.com>
9183 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9186 2014-08-04 Tom Tromey <tromey@redhat.com>
9188 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9191 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9193 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9194 inner_vla_struct_object_size.
9195 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9198 2014-07-30 Pedro Alves <palves@redhat.com>
9200 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9203 2014-07-29 Yao Qi <yao@codesourcery.com>
9206 * gdb.base/until-nodebug.exp: New.
9208 2014-07-28 Doug Evans <xdje42@gmail.com>
9211 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9212 previously existing parameter, and previously ambiguously spelled
9215 2014-07-28 Will Newton <will.newton@linaro.org>
9217 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9219 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9220 Doug Evans <xdje42@gmail.com>
9223 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9225 2014-07-25 Pedro Alves <palves@redhat.com>
9227 * gdb.threads/signal-command-handle-nopass.c: New file.
9228 * gdb.threads/signal-command-handle-nopass.exp: New file.
9229 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9230 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9231 * gdb.threads/signal-delivered-right-thread.c: New file.
9232 * gdb.threads/signal-delivered-right-thread.exp: New file.
9234 2014-07-25 Pedro Alves <palves@redhat.com>
9236 * gdb.base/double-prompt-target-event-error.exp
9237 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9239 (cancel_pagination_in_target_event): Rework double prompt
9241 * gdb.base/paginate-after-ctrl-c-running.exp
9242 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9244 * gdb.base/paginate-bg-execution.exp
9245 (test_bg_execution_pagination_return)
9246 (test_bg_execution_pagination_cancel): Remove '-notransfer
9248 * gdb.base/paginate-execution-startup.exp
9249 (test_fg_execution_pagination_return)
9250 (test_fg_execution_pagination_cancel): Remove '-notransfer
9252 * gdb.base/paginate-inferior-exit.exp
9253 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9255 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9256 * lib/gdb.exp (pagination_prompt): Run text through
9258 (gdb_test_multiple): Match $pagination_prompt instead of
9260 (string_to_regexp): Move to lib/gdb-utils.exp.
9262 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9264 * gdb.arch/amd64-entry-value-paramref.S: New file.
9265 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9266 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9267 * gdb.arch/amd64-optimout-repeat.S: New file.
9268 * gdb.arch/amd64-optimout-repeat.c: New file.
9269 * gdb.arch/amd64-optimout-repeat.exp: New file.
9271 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9274 * gdb.base/statistics.exp: New file.
9276 2014-07-17 Doug Evans <dje@google.com>
9279 * gdb.base/maint.exp: Update testing of per-command stats.
9281 2014-07-16 Pedro Alves <palves@redhat.com>
9283 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9284 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9285 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9286 (tfile_write_buf): New functions.
9287 (add_memory_block): Rewrite using the above.
9288 (adjust_function_address): New function.
9289 (FUNCTION_ADDRESS): New macro.
9290 (write_basic_trace_file): Remove short_x local, and use
9291 tfile_write_16. Change type of func_addr local to unsigned long
9292 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9293 here. Cast argument of add_memory_block to char pointer.
9294 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9295 (main): Remove parameters.
9296 * gdb.trace/tfile.exp: Remove nowarnings.
9298 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9300 * gdb.base/debug-expr.exp: Test string evaluation with
9301 "debug expression" on.
9303 2014-07-15 Pedro Alves <palves@redhat.com>
9305 * gdb.base/reread.exp: Use clean_restart.
9307 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9309 * gdb.arch/avr-flash-qualifer.c: New.
9310 * gdb.arch/avr-flash-qualifer.exp: New.
9312 2014-07-14 Pedro Alves <palves@redhat.com>
9314 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9315 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9317 2014-07-14 Pedro Alves <palves@redhat.com>
9319 * gdb.base/double-prompt-target-event-error.c: New file.
9320 * gdb.base/double-prompt-target-event-error.exp: New file.
9322 2014-07-14 Pedro Alves <palves@redhat.com>
9325 * gdb.base/paginate-inferior-exit.c: New file.
9326 * gdb.base/paginate-inferior-exit.exp: New file.
9328 2014-07-14 Pedro Alves <palves@redhat.com>
9331 * gdb.base/paginate-bg-execution.c: New file.
9332 * gdb.base/paginate-bg-execution.exp: New file.
9334 2014-07-14 Pedro Alves <palves@redhat.com>
9337 * gdb.base/paginate-execution-startup.c: New file.
9338 * gdb.base/paginate-execution-startup.exp: New file.
9339 * lib/gdb.exp (pagination_prompt): New global.
9340 (default_gdb_spawn): New procedure, factored out from
9342 (default_gdb_start): Adjust to call default_gdb_spawn.
9343 (gdb_spawn): New procedure.
9345 2014-07-14 Pedro Alves <palves@redhat.com>
9347 * lib/gdb.exp (gdb_assert): New procedure.
9348 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9350 2014-07-14 Pedro Alves <palves@redhat.com>
9352 * gdb.base/execution-termios.c: New file.
9353 * gdb.base/execution-termios.exp: New file.
9355 2014-07-14 Tom Tromey <tromey@redhat.com>
9357 * gdb.cp/vla-cxx.cc: New file.
9358 * gdb.cp/vla-cxx.exp: New file.
9360 2014-07-14 Tom Tromey <tromey@redhat.com>
9362 * gdb.reverse/rerun-prec.c: New file.
9363 * gdb.reverse/rerun-prec.exp: New file.
9365 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9366 Maciej W. Rozycki <macro@codesourcery.com>
9368 * lib/gdb-utils.exp: New file.
9369 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9370 inline `gdb_init_command' processing.
9371 (gdb_start_cmd): Likewise.
9372 * lib/mi-support.exp (mi_run_cmd): Likewise.
9373 * README: Document `gdb_init_command' and `gdb_init_commands'.
9375 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9377 Fix false FAIL running under a very long directory name.
9378 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9379 and "set print elements 10000". Twice.
9381 2014-07-11 Yao Qi <yao@codesourcery.com>
9383 * gdb.base/exprs.exp: "set print symbol off".
9385 2014-07-11 Pedro Alves <palves@redhat.com>
9387 * gdb.threads/kill.c: New file.
9388 * gdb.threads/kill.exp: New file.
9390 2014-07-10 Yao Qi <yao@codesourcery.com>
9392 * gdb.trace/tfile.c (write_basic_trace_file)
9393 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9394 address written to trace file.
9396 2014-07-09 Pedro Alves <palves@redhat.com>
9398 * gdb.base/attach-wait-input.exp: New file.
9399 * gdb.base/attach-wait-input.c: New file.
9401 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9403 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9404 setting up test structures.
9405 (main): Call new test function.
9406 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9407 test function, continue into test function and walk test
9410 2014-07-02 Yao Qi <yao@codesourcery.com>
9412 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9413 'bar_start' at the beginning of functions 'foo' and 'bar'
9415 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9416 instead of 'foo' and 'bar'.
9418 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9420 * gdb.btrace/segv.exp: New.
9421 * gdb.btrace/segv.c: New.
9423 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9425 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9428 2014-06-30 Mark Wielaard <mjw@redhat.com>
9430 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9431 vulture, vilify, villar): New volatile array constants.
9432 (vindictive, vegetation): New const volatile array constants.
9433 * gdb.base/volatile.exp: Test volatile and const volatile array
9436 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9438 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9439 target lacks support for awatch, rwatch, or hbreak.
9441 2014-06-27 Yao Qi <yao@codesourcery.com>
9443 * gdb.multi/dummy-frame-restore.exp: New.
9444 * gdb.multi/dummy-frame-restore.c: New.
9446 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9448 * gdb.btrace/gcore.exp: New.
9450 2014-06-23 Pedro Alves <palves@redhat.com>
9452 * gdb.base/watchpoint-reuse-slot.c: New file.
9453 * gdb.base/watchpoint-reuse-slot.exp: New file.
9455 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9457 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9458 progspace's filename in 'info', 'enable' and 'disable' command
9461 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9463 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9464 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9465 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9467 2014-06-20 Gary Benson <gbenson@redhat.com>
9469 * gdb.arch/i386-avx.exp: Fix include file location.
9470 * gdb.arch/i386-sse.exp: Likewise.
9472 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9474 * gdb.dlang/expression.exp: New file.
9476 2014-06-19 Pedro Alves <palves@redhat.com>
9478 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9480 (top level): ... here. Iterate running tests under different
9481 scheduler-locking settings.
9483 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9485 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9486 to DW_FORM_addr and use non-zero addresses.
9488 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9491 * gdb.python/py-xmethods.cc: Add global function call counters and
9492 increment them in their respective functions. Remove "cout"
9494 * gdb.python/py-xmethods.exp: Make tests check the global function
9495 call counters instead of depending on inferior IO.
9497 2014-06-18 Don Breazeal <donb@codesourcery.com>
9499 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9501 (explicit_fork_parent_follow): Deleted procedure.
9502 (explicit_fork_child_follow): Deleted procedure.
9503 (test_follow_fork): New procedure.
9504 (do_fork_tests): Replace calls to deleted procedures with
9505 calls to test_follow_fork and reset GDB for subsequent
9508 2014-06-17 Yao Qi <yao@codesourcery.com>
9510 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9513 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9515 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9516 Initialize ptr and S explicitly.
9517 (skip_type_update_when_not_use_rtti_test): Likewise.
9519 2014-06-16 Keith Seitz <keiths@redhat.com>
9522 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9523 the inferior is started.
9525 2014-06-16 Pedro Alves <palves@redhat.com>
9527 * gdb.base/break-main-file-remove-fail.c: New file.
9528 * gdb.base/break-main-file-remove-fail.exp: New file.
9529 * gdb.base/break-unload-file.exp: Use build_executable instead of
9530 prepare_for_testing.
9531 (test_break): New parameter "initial_load". Handle it.
9532 (top level): Add initial_load cmdline/file axis.
9534 2014-06-12 Tom Tromey <tromey@redhat.com>
9536 * gdb.base/completion.exp: Don't use directory name in test.
9538 2014-06-09 Gary Benson <gbenson@redhat.com>
9540 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9541 separate the always-available ANSI-standard signals from the
9542 signals that require checking.
9544 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9548 2014-06-07 Keith Seitz <keiths@redhat.com>
9552 * gdb.cp/var-tag.cc: New file.
9553 * gdb.cp/var-tag.exp: New file.
9554 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9555 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9556 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9557 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9559 2014-06-06 Doug Evans <xdje42@gmail.com>
9561 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9563 2014-06-06 Pedro Alves <palves@redhat.com>
9565 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9566 in target debug output instead of looking at RSP packets,
9567 disabling the test on any target that uses hardware stepping.
9570 2014-06-06 Pedro Alves <palves@redhat.com>
9572 * gdb.base/break-unload-file.exp: Fix typo.
9574 2014-06-06 Yao Qi <yao@codesourcery.com>
9576 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9577 from "jit_function" to "^jit_function".
9579 2014-06-06 Yao Qi <yao@codesourcery.com>
9581 * gdb.base/async.c (foo): Add one statement.
9582 * gdb.base/async.exp: Get the next instruction address and
9583 match the output of "nexti" by instruction address. Match
9584 the hex address in the output of "finish".
9586 2014-06-06 Gary Benson <gbenson@redhat.com>
9588 * gdb.base/call-signals.c: Remove preprocessor conditionals
9589 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9590 SIGSEGV and SIGTERM.
9591 * gdb.base/sigall.c: Likewise.
9592 * gdb.base/unwindonsignal.c: Likewise.
9593 * gdb.reverse/sigall-reverse.c: Likewise.
9595 2014-06-06 Yao Qi <yao@codesourcery.com>
9597 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9598 readable, skip the test.
9600 2014-06-06 Yao Qi <yao@codesourcery.com>
9602 * gdb.threads/staticthreads.c (thread_function): Move the line
9603 setting breakpoint on forward.
9604 * gdb.threads/staticthreads.exp: Update comments.
9606 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9608 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9609 "history-append! type error".
9611 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9613 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9614 erroneous dprintf expected input.
9616 2014-06-04 Doug Evans <xdje42@gmail.com>
9618 * gdb.guile/scm-generics.exp: Delete.
9620 2014-06-04 Doug Evans <xdje42@gmail.com>
9622 * gdb.guile/scm-breakpoint.exp: Update.
9623 Add tests for breakpoint registration.
9625 2014-06-04 Tom Tromey <tromey@redhat.com>
9627 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9629 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9630 inner_vla_struct, vla_union types. Initialize objects of those
9631 types and compute their sizes.
9633 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9634 Hui Zhu <hui@codesourcery.com>
9636 * gdb.base/fileio.exp: Add test for shell not available as well as
9638 * gdb.base/fileio.c (test_system): Check for shell twice.
9640 2014-06-04 Yao Qi <yao@codesourcery.com>
9642 * gdb.base/auto-connect-native-target.exp: Remove redundant
9643 space from the regexp pattern.
9645 2014-06-04 Yao Qi <yao@codesourcery.com>
9647 * gdb.base/default.exp: Replace "child" with "native" in
9650 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9652 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9653 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9654 * gdb.python/py-xmethods.py: Python script supporting the
9655 new testcase and tests.
9657 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9658 Pedro Alves <palves@redhat.com>
9660 PR breakpoints/17000
9661 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9662 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9664 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9666 * gdb.base/subst.exp: Add tests to verify partial path matching
9669 2014-06-03 Pedro Alves <palves@redhat.com>
9671 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9672 target that doesn't use software single-stepping.
9674 2014-06-03 Pedro Alves <palves@redhat.com>
9676 PR breakpoints/17000
9677 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9678 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9680 2014-06-02 Doug Evans <xdje42@gmail.com>
9682 * gdb.guile/scm-parameter.exp: New file.
9684 2014-06-02 Doug Evans <xdje42@gmail.com>
9686 * gdb.guile/scm-cmd.c: New file.
9687 * gdb.guile/scm-cmd.exp: New file.
9689 2014-06-02 Doug Evans <xdje42@gmail.com>
9691 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9692 pretty-printer lookup.
9693 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9694 (make-pp_s-printer): Call it.
9695 (make-pretty-printer-from-dict): New function.
9696 (lookup-pretty-printer-maker-from-dict): New function.
9697 (*pretty-printer*): Simplify.
9698 (make-objfile-pp_s-printer): New function.
9699 (install-objfile-pretty-printers!): New function.
9700 (make-progspace-pp_s-printer): New function.
9701 (install-progspace-pretty-printers!): New function.
9702 * gdb.guile/scm-progspace.c: New file.
9703 * gdb.guile/scm-progspace.exp: New file.
9705 2014-06-02 Pedro Alves <palves@redhat.com>
9707 * gdb.base/dprintf-bp-same-addr.c: New file.
9708 * gdb.base/dprintf-bp-same-addr.exp: New file.
9710 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9712 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9713 * gdb.arch/powerpc-power.s: Likewise.
9715 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9717 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9719 2014-06-01 Yao Qi <yao@codesourcery.com>
9721 * gdb.base/watchpoint.exp (test_watch_location): Check null
9722 pointer can be dereferenced. If not, do the test, otherwise
9725 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9727 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9729 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9731 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9733 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9734 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9735 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9736 * gdb.arch/amd64-invalid-stack-top.c: New file.
9737 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9739 2014-05-30 Pedro Alves <palves@redhat.com>
9741 PR breakpoints/17000
9742 * gdb.base/sss-bp-on-user-bp.c: New file.
9743 * gdb.base/sss-bp-on-user-bp.exp: New file.
9745 2014-05-30 David Blaikie <dblaikie@gmail.com>
9747 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9748 gnu_inline semantics via attribute.
9749 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9750 source explicitly specifies the required semantics.
9752 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9754 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9756 2014-05-29 Pedro Alves <palves@redhat.com>
9757 Tom Tromey <tromey@redhat.com>
9759 * gdb.base/async-shell.exp: Don't enable target-async.
9760 * gdb.base/async.exp
9761 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9763 (top level): Don't test with "target-async".
9764 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9765 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9766 * gdb.base/inferior-died.exp: Don't enable target-async.
9767 * gdb.base/interrupt-noterm.exp: Likewise.
9768 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9769 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9770 * gdb.mi/mi-nonstop.exp: Likewise.
9771 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9772 * gdb.mi/mi-nsintrall.exp: Likewise.
9773 * gdb.mi/mi-nsmoribund.exp: Likewise.
9774 * gdb.mi/mi-nsthrexec.exp: Likewise.
9775 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9776 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9777 * gdb.python/py-evsignal.exp: Don't enable target-async.
9778 * gdb.python/py-evthreads.exp: Likewise.
9779 * gdb.python/py-prompt.exp: Likewise.
9780 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9781 * gdb.server/solib-list.exp: Don't enable target-async.
9782 * gdb.threads/thread-specific-bp.exp: Likewise.
9783 * lib/mi-support.exp: Adjust to use mi-async.
9785 2014-05-29 Pedro Alves <palves@redhat.com>
9788 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9789 reason, even in sync mode.
9791 2014-05-29 Pedro Alves <palves@redhat.com>
9792 Hui Zhu <hui@codesourcery.com>
9795 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9796 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9797 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9798 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9800 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9802 * config/monitor.exp (gdb_target_monitor): Replace use of
9803 "set remotebaud" by "set serial baud".
9805 2014-05-26 Andy Wingo <wingo@igalia.com>
9807 * gdb.guile/scm-breakpoint.exp:
9808 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9809 properties instead of gdb-object-properties.
9811 2014-05-26 Yao Qi <yao@codesourcery.com>
9813 * gdb.server/no-thread-db.exp: Specify source file name
9814 explicitly when setting a breakpoint.
9816 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9818 * gdb.btrace/vdso.c: New.
9819 * gdb.btrace/vdso.exp: New.
9821 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9823 * gdb.base/gcore.exp (capture_command_output): Move ...
9824 * lib/gdb.exp (capture_command_output): ... here.
9826 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9828 * gdb.btrace/data.exp: Test memory access during btrace replay.
9830 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9832 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9834 2014-05-21 Pedro Alves <palves@redhat.com>
9837 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9838 (top level): Test that output related to execution commands is
9839 sent to the console with CLI commands, but not with MI commands.
9840 Test that breakpoint events are always mirrored to the console.
9841 Also expect the new source line to be output after a "next" in
9842 async mode too. Make it a pass/fail test.
9843 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9845 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9847 2014-05-21 Pedro Alves <palves@redhat.com>
9849 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9850 Use them to test variations of "list" after reaching a breakpoint.
9851 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9852 Test "list" with listsize 10 after reaching a breakpoint.
9853 * gdb.python/python.exp (decode_line current location line
9854 number): Adjust expected line number.
9856 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9858 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9859 behavior for $args, pass it directly to "run".
9861 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9863 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9866 2014-05-21 Pedro Alves <palves@redhat.com>
9868 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9869 auto-connect-native-target off".
9870 * gdb.base/auto-connect-native-target.c: New file.
9871 * gdb.base/auto-connect-native-target.exp: New file.
9873 2014-05-21 Pedro Alves <palves@redhat.com>
9875 * gdb.base/default.exp: Test "target native" instead of "target
9878 2014-05-21 Mark Wielaard <mjw@redhat.com>
9880 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9882 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9884 Fix TLS access for -static -pthread.
9885 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9886 <HAVE_TLS> (thread_function, main): Initialize it.
9887 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9889 <$have_tls != "">: Check TLSVAR.
9891 2014-05-21 Pedro Alves <palves@redhat.com>
9893 * gdb.base/dcache-line-read-error.c: New.
9894 * gdb.base/dcache-line-read-error.exp: New.
9896 2014-05-20 Pedro Alves <palves@redhat.com>
9898 * gdb.base/compare-sections.c: New file.
9899 * gdb.base/compare-sections.exp: New file.
9901 2014-05-20 Pedro Alves <palves@redhat.com>
9903 * gdb.base/break-idempotent.c: New file.
9904 * gdb.base/break-idempotent.exp: New file.
9906 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9908 * gdb.btrace/nohist.exp: New.
9910 2014-05-20 Yao Qi <yao@codesourcery.com>
9912 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9913 gdb.reverse directory and gdb_reverse_timeout exists in board
9915 * README: Document gdb_reverse_timeout.
9917 2014-05-20 Yao Qi <yao@codesourcery.com>
9919 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9920 'test_file_name'. Treat args as a string instead of a list.
9921 (gdb_init): Rename argument 'args' by 'test_file_name'.
9923 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9925 * gdb.arch/powerpc-power.exp: New file.
9926 * gdb.arch/powerpc-power.s: New file.
9928 2014-05-16 Doug Evans <dje@google.com>
9930 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9931 * gdb.base/completion.exp: Check that all expected files exist
9932 before doing file completion.
9934 2014-05-16 Doug Evans <dje@google.com>
9936 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9938 (do_syscall_tests_without_xml): Update.
9940 2014-05-16 Pedro Alves <palves@redhat.com>
9942 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9943 instead of "unknown output after running".
9945 2014-05-16 Yao Qi <yao@codesourcery.com>
9947 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9948 file1.txt from host at the end.
9949 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9951 2014-05-15 Doug Evans <dje@google.com>
9953 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9954 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9955 loading file. Add test for TU lookup.
9957 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9959 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9960 calling "-exec-arguments" or "set args" before running the
9963 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9965 * lib/mi-support.exp (mi_expect_stop): Expect message for
9966 inferiors that exit with non-zero exit code.
9968 2014-05-14 Yao Qi <yao@codesourcery.com>
9970 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9971 match absolute path on remote host.
9972 (test_file_list_exec_source_files): Remove "/" from the
9975 2014-05-14 Yao Qi <yao@codesourcery.com>
9977 * boards/local-remote-host-notty.exp (${board}_file): New
9980 2014-05-07 Kyle McMartin <kyle@redhat.com>
9982 Pushed by Joel Brobecker <brobecker@adacore.com>.
9983 * gdb.arch/aarch64-atomic-inst.c: New file.
9984 * gdb.arch/aarch64-atomic-inst.exp: New file.
9986 2014-05-07 Yao Qi <yao@codesourcery.com>
9988 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9989 in current context" too.
9991 2014-05-05 Keith Seitz <keiths@redhat.com>
9993 * gdb.linespec/ls-dollar.exp: Add test for linespec
9994 file:convenience_variable.
9996 2014-05-05 Yao Qi <yao@codesourcery.com>
9998 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9999 traceframes into tfile and ctf trace files. Read data from
10000 trace file and test collected data.
10001 (gdb_collect_locals_test): Likewise.
10002 (gdb_unavailable_registers_test): Likewise.
10003 (gdb_unavailable_floats): Likewise.
10004 (gdb_collect_globals_test): Likewise.
10005 (top-level): Append "ctf" to trace_file_targets if GDB
10008 2014-05-05 Yao Qi <yao@codesourcery.com>
10010 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10012 (gdb_collect_args_test_1): ... it. New proc.
10013 (gdb_collect_locals_test): Move some code to ...
10014 (gdb_collect_locals_test_1): ... it. New proc.
10015 (gdb_unavailable_registers_test): Move some code to ...
10016 (gdb_unavailable_registers_test_1): ... it. New proc.
10017 (gdb_unavailable_floats): Move some code to ...
10018 (gdb_unavailable_floats_1): ... it. New proc.
10020 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10022 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10023 probes to test for bitness recognition.
10024 * gdb.arch/amd64-stap-optional-prefix.exp
10025 (test_probe_value_without_reg): New procedure.
10026 Add code to test for different kinds of bitness.
10028 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10030 PR breakpoints/16889
10031 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10032 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10034 2014-05-01 Pedro Alves <palves@redhat.com>
10036 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10037 gdb_file_cmd if no file is specified.
10038 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10039 last_loaded_file to set the remote exec-file.
10041 2014-05-01 Pedro Alves <palves@redhat.com>
10043 * boards/local-remote-host.exp: New file.
10045 2014-05-01 Pedro Alves <palves@redhat.com>
10047 * boards/local-remote-host.exp: Rename to ...
10048 * boards/local-remote-host-notty.exp: ... this.
10050 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10052 * gdb.ada/dyn_arrayidx: New testcase.
10054 2014-04-26 Yao Qi <yao@codesourcery.com>
10056 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10057 and compute the length of function main. Save it in
10059 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10060 (top-level): Use gdb_compile to compile objects into
10061 executable and restart GDB. Remove invocation to
10062 prepare_for_testing.
10064 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10065 Pedro Alves <palves@redhat.com>
10068 * gdb.multi/multi-attach.c: New file.
10069 * gdb.multi/multi-attach.exp: New file.
10071 2014-04-25 Pedro Alves <palves@redhat.com>
10073 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10075 (top level): Test that "set remote conditional-breakpoints-packet
10076 off" works as intended.
10077 * gdb.base/dprintf.exp: Test that "set remote
10078 breakpoint-commands-packet off" works as intended.
10079 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10081 (top level): Call it.
10082 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10083 remote fast-tracepoints-packet off" works as intended.
10084 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10085 * lib/gdb.exp (gdb_is_target_remote): ... here.
10087 2014-04-24 David Blaikie <dblaikie@gmail.com>
10089 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10090 ensure clang would not discard them.
10091 * gdb.base/gdbvars.c: Ditto.
10092 * gdb.base/memattr.c: Ditto.
10093 * gdb.base/whatis.c: Ditto.
10094 * gdb.python/py-prettyprint.c: Ditto.
10095 * gdb.trace/actions.c: Ditto.
10096 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10097 ensure clang would not discard it.
10099 2014-04-24 David Blaikie <dblaikie@gmail.com>
10101 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10102 clang to emit the full definition of type required by the test
10103 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10105 2014-04-24 David Blaikie <dblaikie@gmail.com>
10107 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10108 coax Clang into emitting the definition of the type.
10109 * gdb.cp/pr10728-x.h (y): Ditto.
10110 * gdb.cp/pr10728-y.cc (y): Ditto.
10112 2014-04-24 David Blaikie <dblaikie@gmail.com>
10114 * gdb.base/label.exp: XFAIL label related tests under Clang.
10115 * gdb.cp/cplabel.exp: Ditto.
10116 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10117 under Clang those using labels.
10119 2014-04-25 Yao Qi <yao@codesourcery.com>
10121 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10123 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10124 partial_label and double_label.
10126 2014-04-24 David Blaikie <dblaikie@gmail.com>
10128 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10130 2014-04-24 David Blaikie <dblaikie@gmail.com>
10132 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10133 of the function to work across GCC and Clang.
10134 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10135 pointer types (const void ** const V void **).
10137 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10138 Walfred Tedeschi <walfred.tedeschi@intel.com>
10140 * Makefile.in (EXECUTABLES): Added i386-avx512.
10141 * gdb.arch/i386-avx512.c: New file.
10142 * gdb.arch/i386-avx512.exp: Likewise.
10144 2014-04-23 Keith Seitz <keiths@redhat.com>
10146 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10147 (mi_make_breakpoint_table): New procedure.
10148 (mi_create_breakpoint): Use mi_make_breakpoint
10149 and return the result.
10150 (mi_make_breakpoint): New procedure.
10151 (mi_build_kv_pairs): New procedure.
10153 * gdb.mi/mi-break.exp: Remove unused globals,
10154 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10155 All callers updated.
10156 * gdb.mi/mi-dprintf.exp: Use variable to track command
10158 Update all callers of mi_create_breakpoint and use
10159 mi_make_breakpoint_table.
10160 Remove any unused global variables.
10161 * gdb.mi/mi-nonstop.exp: Likewise.
10162 * gdb.mi/mi-nsintrall.exp: Likewise.
10163 * gdb.mi/mi-nsmoribund.exp: Likewise.
10164 * gdb.mi/mi-nsthrexec.exp: Likewise.
10165 * gdb.mi/mi-reverse.exp: Likewise.
10166 * gdb.mi/mi-simplerun.exp: Likewise.
10167 * gdb.mi/mi-stepn.exp: Likewise.
10168 * gdb.mi/mi-syn-frame.exp: Likewise.
10169 * gdb.mi/mi-until.exp: Likewise.
10170 * gdb.mi/mi-var-cp.exp: Likewise.
10171 * gdb.mi/mi-var-display.exp: Likewise.
10172 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10173 * gdb.mi/mi2-var-child.exp: Likewise.
10174 * gdb.mi/mi-vla-c99.exp: Likewise.
10175 * lib/mi-support.exp: Likewise.
10177 From Ian Lance Taylor <iant@cygnus.com>:
10178 * lib/gdb.exp (parse_args): New procedure.
10180 2014-04-23 Pedro Alves <palves@redhat.com>
10182 * gdb.base/break-unload-file.c: New file.
10183 * gdb.base/break-unload-file.exp: New file.
10184 * gdb.base/sym-file-lib.c (baz): New function.
10185 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10187 (load): Store the segment's mapped size.
10188 (unload): New function.
10189 (unload_shlib): New function.
10190 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10191 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10192 set a breakpoint at baz, and call it.
10193 * gdb.base/sym-file.exp: New tests for stale breakpoint
10196 2014-04-23 Pedro Alves <palves@redhat.com>
10198 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10199 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10200 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10201 * gdb.base/hbreak-unmapped.c: New file.
10202 * gdb.base/hbreak-unmapped.exp: New file.
10203 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10204 * lib/gdb.exp (gdb_is_target_remote): ... here.
10206 2014-04-22 Pedro Alves <palves@redhat.com>
10208 * gdb.base/consecutive-step-over.c: New file.
10209 * gdb.base/consecutive-step-over.exp: New file.
10211 2014-04-22 Pedro Alves <palves@redhat.com>
10213 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10214 instead of send_gdb/gdb_expect.
10216 2014-04-22 Yao Qi <yao@codesourcery.com>
10218 * lib/trace-support.exp (generate_tracefile): New procedure.
10219 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10221 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10222 if generate_tracefile returns 1.
10224 2014-04-18 Tom Tromey <palves@redhat.com>
10225 Pedro alves <tromey@redhat.com>
10228 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10229 with a backtrace limit.
10230 * gdb.python/py-frame-inline.exp: Test running to an inline
10231 function with a backtrace limit, and printing the newest frame.
10232 * gdb.python/py-frame-inline.c (main): Call f.
10234 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10236 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10238 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10240 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10241 Drop prefix from unsupported source file path.
10243 2014-04-17 Yao Qi <yao@codesourcery.com>
10245 * lib/gdb.exp (with_target_charset): New proc.
10246 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10247 with_target_charset.
10248 (test_print_strings): Likewise.
10249 (test_repeat_bytes): Likewise.
10250 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10253 2014-04-16 Keith Seitz <keiths@redhat.com>
10256 * gdb.dwarf2/corrupt.c: New file.
10257 * gdb.dwarf2/corrupt.exp: New file.
10259 2014-04-16 Keith Seitz <keiths@redhat.com>
10262 * gdb.cp/namelessclass.cc: New file.
10263 * gdb.cp/namelessclass.exp: New file.
10264 * gdb.cp/namelessclass.S: New file.
10266 2014-04-16 Doug Evans <dje@google.com>
10268 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10270 (gdbserver_default_get_comm_port): New function.
10271 (gdbserver_start): Check if board file provided
10272 "gdbserver,get_comm_port" and use it if so.
10273 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10274 (gdb,socketport): Set to "stdio".
10275 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10276 (stdio_gdbserver_template): Delete.
10277 (${board}_get_remote_address): Update.
10278 (${board}_build_remote_cmd): Delete.
10279 (${board}_get_comm_port): New function.
10280 (${board}_spawn): Update.
10281 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10283 (${board}_get_remote_address): Update.
10284 (${board}_get_comm_port): New function.
10286 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10288 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10289 appearing in any order.
10291 2014-04-15 Doug Evans <dje@google.com>
10293 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10294 uninitialized value of "description".
10296 2014-04-15 Keith Seitz <keiths@redhat.com>
10298 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10299 Remove unused globals.
10300 (test_running_the_program): Likewise.
10301 (test_controlled_execution): Likewise.
10302 (test_controlling_breakpoints): Likewise.
10303 (test_program_termination): Likewise.
10305 2014-04-15 Keith Seitz <keiths@redhat.com>
10307 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10309 (test_rbreak_creation_and_listing): Likewise.
10310 (test_ignore_count): Likewise.
10311 (test_error): Likewise.
10313 2014-04-15 Pedro Alves <palves@redhat.com>
10315 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10316 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10318 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10319 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10320 to sym-file-loader.c.
10321 (struct library): Forward declare.
10322 (load_shlib, lookup_function): Change prototypes.
10323 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10324 (translate_offset): Remove declarations.
10325 (get_text_addr): New declaration.
10326 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10327 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10329 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10330 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10331 here from sym-file-loader.h.
10332 (struct library): New structure.
10333 (load_shlib, lookup_function): Change prototypes and adjust to
10334 work with a struct library.
10335 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10336 (translate_offset): Make static.
10337 (get_text_addr): New function.
10338 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10340 2014-04-15 Pedro Alves <palves@redhat.com>
10342 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10344 2014-04-15 Pedro Alves <palves@redhat.com>
10346 * gdb.base/sym-file-loader.c: Include <limits.h>.
10347 (SELF_LINK): New define.
10348 (get_origin): New function.
10349 (load_shlib): Use it.
10350 * gdb.base/sym-file.exp: Don't early return if the target is
10351 remote. Use runto_main, and issue fail is that fails. Use
10353 (shlib_name): Delete.
10354 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10356 2014-04-15 Pedro Alves <palves@redhat.com>
10358 * gdb.base/sym-file.exp: Remove regex characters from test
10359 message. Don't refer to breakpoint numbers in test messages.
10361 2014-04-14 Keith Seitz <keiths@redhat.com>
10364 * gdb.cp/var-tag.cc: New file.
10365 * gdb.cp/var-tag.exp: New file.
10366 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10367 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10368 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10369 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10371 2014-04-14 Tom Tromey <tromey@redhat.com>
10373 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10374 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10376 * gdb.cp/enum-class.exp: New file.
10377 * gdb.cp/enum-class.cc: New file.
10379 2014-04-14 Tom Tromey <tromey@redhat.com>
10381 * gdb.dwarf2/enum-type.exp: New file.
10383 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10385 * gdb.mi/mi-vla-c99.exp: New file.
10386 * gdb.mi/vla.c: New file.
10388 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10390 * gdb.base/vla-datatypes.c: New file.
10391 * gdb.base/vla-datatypes.exp: New file.
10393 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10395 * gdb.base/vla-ptr.c: New file.
10396 * gdb.base/vla-ptr.exp: New file.
10398 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10400 * gdb.dwarf2/count.exp: New file.
10402 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10404 * gdb.base/vla-sideeffect.c: New file.
10405 * gdb.base/vla-sideeffect.exp: New file.
10407 2014-04-14 David Blaikie <dblaikie@gmail.com>
10409 * gdb.mi/non-stop.c: Add return value for non-void function return
10411 * gdb.threads/staticthreads.c: Ditto.
10413 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10414 Doug Evans <xdje42@gmail.com>
10416 * gdb.guile/scm-value.c: Improve test case.
10417 * gdb.guile/scm-value.exp: Add new test.
10419 2014-04-11 David Blaikie <dblaikie@gmail.com>
10421 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10422 override Clang's default.
10424 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10426 Revert the following changes (regressions):
10428 * gdb.base/vla-sideeffect.c: New file.
10429 * gdb.base/vla-sideeffect.exp: New file.
10431 * gdb.dwarf2/count.exp: New file.
10433 * gdb.base/vla-multi.c: New file.
10434 * gdb.base/vla-multi.exp: New file.
10436 * gdb.base/vla-ptr.c: New file.
10437 * gdb.base/vla-ptr.exp: New file.
10439 * gdb.base/vla-datatypes.c: New file.
10440 * gdb.base/vla-datatypes.exp: New file.
10442 * gdb.mi/mi-vla-c99.exp: New file.
10443 * gdb.mi/vla.c: New file.
10445 2014-04-11 Keith Seitz <keiths@redhat.com>
10448 * gdb.cp/cpsizeof.exp: New file.
10449 * gdb.cp/cpsizeof.cc: New file.
10451 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10453 * gdb.mi/mi-vla-c99.exp: New file.
10454 * gdb.mi/vla.c: New file.
10456 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10458 * gdb.base/vla-datatypes.c: New file.
10459 * gdb.base/vla-datatypes.exp: New file.
10461 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10463 * gdb.base/vla-ptr.c: New file.
10464 * gdb.base/vla-ptr.exp: New file.
10466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10468 * gdb.base/vla-multi.c: New file.
10469 * gdb.base/vla-multi.exp: New file.
10471 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10473 * gdb.dwarf2/count.exp: New file.
10475 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10477 * gdb.base/vla-sideeffect.c: New file.
10478 * gdb.base/vla-sideeffect.exp: New file.
10480 2014-04-11 Yao Qi <yao@codesourcery.com>
10482 * gdb.base/completion.exp: Check file exists before running tests
10483 on file completion.
10485 2014-04-10 Pedro Alves <palves@redhat.com>
10487 * gdb.base/cond-eval-mode.c: New file.
10488 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10489 prepare_for_testing to build the new file. Check result of
10491 (test_break, test_watch): New procedures.
10492 (top level): Use them.
10494 2014-04-08 Pierre Muller <muller@sourceware.org>
10496 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10497 Ctrl-V use for mingw hosts.
10499 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10501 * gdb.python/py-value.c: Improve test case.
10502 * gdb.python/py-value.exp: Add new test.
10504 2014-04-07 David Blaikie <dblaikie@gmail.com>
10506 * lib/compiler.c: Identify the clang compiler.
10507 * lib/compiler.cc: Ditto.
10509 2014-04-03 Yao Qi <yao@codesourcery.com>
10511 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10513 2014-04-01 Anton Blanchard <anton@samba.org>
10515 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10518 2014-04-01 Anton Blanchard <anton@samba.org>
10520 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10521 prepare_for_testing.
10523 2014-04-01 Anton Blanchard <anton@samba.org>
10525 * gdb.arch/ppc64-atomic-inst.c: Remove.
10526 * gdb.arch/ppc64-atomic-inst.S: New file.
10527 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10529 2014-03-31 Doug Evans <dje@google.com>
10531 * gdb.base/print-symbol-loading-lib.c: New file.
10532 * gdb.base/print-symbol-loading-main.c: New file.
10533 * gdb.base/print-symbol-loading.exp: New file.
10535 2014-03-31 Yao Qi <yao@codesourcery.com>
10537 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10539 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10541 * gdb.ada/mi_dyn_arr: New testcase.
10543 2014-03-27 Doug Evans <dje@google.com>
10545 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10547 2014-03-27 Yao Qi <yao@codesourcery.com>
10549 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10550 if target is nios2-*-*.
10552 2014-03-26 Yao Qi <yao@codesourcery.com>
10554 * lib/gdb.exp (readline_is_used): New proc.
10555 * gdb.base/completion.exp: Move tests on command complete up.
10556 Skip the rest of tests if readline is not used.
10557 * gdb.ada/complete.exp: Skp the test if readline is not
10559 * gdb.base/filesym.exp: Likewise.
10560 * gdb.base/macscp.exp: Likewise.
10561 * gdb.base/readline-ask.exp: Likewise.
10562 * gdb.base/readline.exp: Likewise.
10563 * gdb.python/py-cmd.exp: Likewise.
10564 * gdb.trace/tfile.exp: Likewise.
10566 2014-03-26 Yao Qi <yao@codesourcery.com>
10568 * gdb.base/macscp.exp: Fix code format issues.
10570 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10572 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10573 * gdb.asm/powerpc64le.inc: New file.
10575 2014-03-25 Pedro Alves <palves@redhat.com>
10576 Doug Evans <dje@google.com>
10578 * gdb.base/source-execution.c: New file.
10579 * gdb.base/source-execution.exp: New file.
10580 * gdb.base/source-execution.gdb: New file.
10582 2014-03-24 Doug Evans <dje@google.com>
10584 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10587 2014-03-24 Hui Zhu <hui@codesourcery.com>
10588 Pedro Alves <palves@redhat.com>
10590 PR breakpoints/16101
10591 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10592 test pass/fail messages. Detect missing support for dprintf when
10593 breakpoints are actually inserted.
10594 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10595 breakpoints are actually inserted.
10596 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10599 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10601 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10603 2014-03-22 Doug Evans <xdje42@gmail.com>
10605 * gdb.python/python.exp (python not supported): Verify multi-line
10606 python command issues an error.
10607 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10608 guile command issues an error.
10610 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10612 * gdb.threads/thread-specific.exp: Handle the lack of usable
10613 $this_breakpoint and $this_thread.
10615 2014-03-21 Hui Zhu <hui@codesourcery.com>
10617 * gdb.base/attach.exp (do_command_attach_tests): New.
10619 2014-03-20 Tom Tromey <tromey@redhat.com>
10620 Pedro Alves <palves@redhat.com>
10623 * gdb.base/condbreak-call-false.c: New file.
10624 * gdb.base/condbreak-call-false.exp: New file.
10626 2014-03-20 Pedro Alves <palves@redhat.com>
10628 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10630 (block_signals, unblock_signals): Delete.
10631 (child_function_2, main): Remove references to deleted variable
10634 2014-03-20 Pedro Alves <palves@redhat.com>
10636 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10637 Use pthread_kill to signal thread 2.
10638 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10639 Adjust to make the test send itself a signal rather than using the
10640 host's "kill" command.
10642 2014-03-20 Pedro Alves <palves@redhat.com>
10644 * gdb.threads/multiple-step-overs.c: New file.
10645 * gdb.threads/multiple-step-overs.exp: New file.
10646 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10647 Adjust expected infrun debug output.
10649 2014-03-20 Pedro Alves <palves@redhat.com>
10651 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10652 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10654 2014-03-20 Pedro Alves <palves@redhat.com>
10656 PR breakpoints/7143
10657 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10658 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10659 of gdb_test_multiple.
10660 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10661 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10663 2014-03-20 Pedro Alves <palves@redhat.com>
10665 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10666 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10668 2014-03-19 Pedro Alves <palves@redhat.com>
10670 * gdb.base/async.exp: Remove early return.
10672 2014-03-19 Pedro Alves <palves@redhat.com>
10674 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10676 2014-03-19 Pedro Alves <palves@redhat.com>
10678 * gdb.base/async.exp (test_background): Expect \r\n after
10679 "completed." in the fail pattern.
10681 2014-03-19 Pedro Alves <palves@redhat.com>
10683 * gdb.base/async.exp (test_background): New procedure.
10684 Use it for all background execution command tests.
10686 2014-03-19 Pedro Alves <palves@redhat.com>
10688 * gdb.base/async.exp: Use prepare_for_testing.
10690 2014-03-19 Pedro Alves <palves@redhat.com>
10692 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10695 2014-03-19 Pedro Alves <palves@redhat.com>
10697 * gdb.base/async.c (main): Add "jump here" and "until here" line
10699 * gdb.base/async.exp (jump_here): New global.
10700 (jump& test): Use it.
10701 (until_here): New global.
10702 (until& test): Use it.
10704 2014-03-19 Pedro Alves <palves@redhat.com>
10706 * gdb.base/async.exp: Don't frob gdb_protocol.
10708 2014-03-18 Doug Evans <xdje42@gmail.com>
10710 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10711 Fix spelling of exec-done-display.
10713 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10716 * gdb.base/gdb-sigterm.c: New file.
10717 * gdb.base/gdb-sigterm.exp: New file.
10719 2014-03-18 Pedro Alves <palves@redhat.com>
10722 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10723 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10726 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10728 * gdb.ada/pckd_arr_ren: New testcase.
10730 2014-03-13 Doug Evans <xdje42@gmail.com>
10733 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10734 collect after discarding symbols.
10736 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10737 Doug Evans <xdje42@gmail.com>
10739 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10740 to history survives a gc.
10742 2014-03-13 Pedro Alves <palves@redhat.com>
10744 * gdb.base/default.exp: Don't test "target procfs".
10746 2014-03-13 Pedro Alves <palves@redhat.com>
10748 * gdb.base/default.exp: Update "target child" and "target procfs"
10749 tests to not expect "Unix".
10751 2014-03-12 Tom Tromey <tromey@redhat.com>
10753 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10754 New procs. Add target-async tests.
10755 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10756 Add target-async tests.
10758 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10760 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10761 'func_start' and 'func_end' for the beginning and end of the
10762 function code, respectively.
10763 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10764 'func_end' instead of 'func' and 'main'.
10766 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10768 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10769 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10770 generate the debug info assembler source.
10772 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10774 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10775 * gdb.dwarf2/arr-subrange.exp: Likewise.
10776 * gdb.dwarf2/dwz.exp: Likewise.
10777 * gdb.dwarf2/method-ptr.exp: Likewise.
10778 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10779 * gdb.dwarf2/subrange.exp: Likewise.
10780 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10781 * gdb.dwarf2/implptrpiece.exp: Likewise.
10782 * gdb.dwarf2/nostaticblock.exp: Likewise.
10784 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10786 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10787 directory to absolute path name arguments.
10789 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10791 * gdb.ada/tagged_access: New testcase.
10793 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10795 * gdb.btrace/data.exp: Update expected output.
10797 2014-03-06 Yao Qi <yao@codesourcery.com>
10799 * gdb.trace/pr16508.exp: New file.
10801 2014-03-05 Pedro Alves <palves@redhat.com>
10804 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10806 (top level): Adjust to use it. Add tests that exercise breakpoint
10807 interaction with the code-cache.
10809 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10811 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10812 test for 'history-append!'.
10814 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10816 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10817 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10818 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10819 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10820 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10821 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10823 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10825 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10826 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10827 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10829 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10831 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10833 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10835 * gdb.dwarf2/arr-stride.c: New file.
10836 * gdb.dwarf2/arr-stride.exp: New file.
10838 2014-02-26 Pedro Alves <palves@redhat.com>
10840 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10841 that won't ever trigger. Make sure that GDB reports the correct
10842 breakpoint that caused the stop.
10844 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10847 * gdb.base/auto-load-script: New file.
10848 * gdb.base/auto-load.c: New file.
10849 * gdb.base/auto-load.exp: New file.
10852 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10854 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10856 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10857 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10859 2014-02-24 Doug Evans <dje@google.com>
10861 * lib/gdb.exp (run_on_host): Log error output if program fails.
10863 2014-02-21 Pedro Alves <palves@redhat.com>
10865 * gdb.threads/step-after-sr-lock.c: Rename to ...
10866 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10867 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10868 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10871 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10874 * gdb.arch/amd64-stap-special-operands.exp: New file.
10875 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10876 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10877 * gdb.arch/amd64-stap-triplet.S: Likewise.
10878 * gdb.arch/amd64-stap-triplet.c: Likewise.
10880 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10882 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10883 in .section pseudo-op.
10885 2014-02-20 lin zuojian <manjian2006@gmail.com>
10886 Joel Brobecker <brobecker@adacore.com>
10887 Doug Evans <xdje42@gmail.com>
10890 * gdb.dwarf2/dw2-icycle.S: New file.
10891 * gdb.dwarf2/dw2-icycle.c: New file.
10892 * gdb.dwarf2/dw2-icycle.exp: New file.
10894 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10896 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10897 operations on gdb.Value objects.
10898 * gdb.python/py-value-cc.exp: Add new test to test operations on
10901 2014-02-18 Doug Evans <dje@google.com>
10903 * Makefile.in (TESTS): New variable.
10904 (expanded_tests, expanded_tests_or_none): New variables
10905 (check-single): Pass $(expanded_tests_or_none) to runtest.
10906 (check-parallel): Only run tests in $(TESTS) if non-empty.
10907 (check/no-matching-tests-found): New rule.
10908 * README: Document TESTS makefile variable.
10910 2014-02-18 Doug Evans <dje@google.com>
10912 * Makefile.in (check-parallel): rm -rf outputs temp.
10914 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10916 Fix "ERROR: no fileid for" in the testsuite.
10917 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10919 2014-02-12 Doug Evans <dje@google.com>
10921 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10922 (MISCELLANEOUS): New variable.
10923 (clean): rm -rf $(MISCELLANEOUS).
10924 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10925 dwp live in the same directory as symlinks, with each symlink pointed
10926 to a differently named file in a different directory.
10928 2014-02-11 Doug Evans <dje@google.com>
10930 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10931 of Tcl file commands.
10933 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10935 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10936 "kill -SIGUSR1 -1".
10938 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10940 * gdb.ada/tick_length_array_enum_idx: New testcase.
10942 2014-02-10 Doug Evans <xdje42@gmail.com>
10944 * configure.ac (AC_OUTPUT): Add gdb.guile.
10945 * configure: Regenerate.
10946 * lib/gdb-guile.exp: New file.
10947 * lib/gdb.exp (get_target_charset): New function.
10948 * gdb.base/help.exp: Update expected output from "apropos apropos".
10949 * gdb.guile/Makefile.in: New file.
10950 * gdb.guile/guile.exp: New file.
10951 * gdb.guile/scm-arch.c: New file.
10952 * gdb.guile/scm-arch.exp: New file.
10953 * gdb.guile/scm-block.c: New file.
10954 * gdb.guile/scm-block.exp: New file.
10955 * gdb.guile/scm-breakpoint.c: New file.
10956 * gdb.guile/scm-breakpoint.exp: New file.
10957 * gdb.guile/scm-disasm.c: New file.
10958 * gdb.guile/scm-disasm.exp: New file.
10959 * gdb.guile/scm-equal.c: New file.
10960 * gdb.guile/scm-equal.exp: New file.
10961 * gdb.guile/scm-error.exp: New file.
10962 * gdb.guile/scm-error.scm: New file.
10963 * gdb.guile/scm-frame-args.c: New file.
10964 * gdb.guile/scm-frame-args.exp: New file.
10965 * gdb.guile/scm-frame-args.scm: New file.
10966 * gdb.guile/scm-frame-inline.c: New file.
10967 * gdb.guile/scm-frame-inline.exp: New file.
10968 * gdb.guile/scm-frame.c: New file.
10969 * gdb.guile/scm-frame.exp: New file.
10970 * gdb.guile/scm-generics.exp: New file.
10971 * gdb.guile/scm-gsmob.exp: New file.
10972 * gdb.guile/scm-iterator.c: New file.
10973 * gdb.guile/scm-iterator.exp: New file.
10974 * gdb.guile/scm-math.c: New file.
10975 * gdb.guile/scm-math.exp: New file.
10976 * gdb.guile/scm-objfile-script-gdb.in: New file.
10977 * gdb.guile/scm-objfile-script.c: New file.
10978 * gdb.guile/scm-objfile-script.exp: New file.
10979 * gdb.guile/scm-objfile.c: New file.
10980 * gdb.guile/scm-objfile.exp: New file.
10981 * gdb.guile/scm-ports.exp: New file.
10982 * gdb.guile/scm-pretty-print.c: New file.
10983 * gdb.guile/scm-pretty-print.exp: New file.
10984 * gdb.guile/scm-pretty-print.scm: New file.
10985 * gdb.guile/scm-section-script.c: New file.
10986 * gdb.guile/scm-section-script.exp: New file.
10987 * gdb.guile/scm-section-script.scm: New file.
10988 * gdb.guile/scm-symbol.c: New file.
10989 * gdb.guile/scm-symbol.exp: New file.
10990 * gdb.guile/scm-symtab-2.c: New file.
10991 * gdb.guile/scm-symtab.c: New file.
10992 * gdb.guile/scm-symtab.exp: New file.
10993 * gdb.guile/scm-type.c: New file.
10994 * gdb.guile/scm-type.exp: New file.
10995 * gdb.guile/scm-value-cc.cc: New file.
10996 * gdb.guile/scm-value-cc.exp: New file.
10997 * gdb.guile/scm-value.c: New file.
10998 * gdb.guile/scm-value.exp: New file.
10999 * gdb.guile/source2.scm: New file.
11000 * gdb.guile/types-module.cc: New file.
11001 * gdb.guile/types-module.exp: New file.
11003 2014-02-10 Yao Qi <yao@codesourcery.com>
11006 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11007 * configure: Regenerated.
11008 * Makefile.in: New file.
11010 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11012 * gdb.python/py-framefilter.exp: Fix typo.
11014 2014-02-08 Yao Qi <yao@codesourcery.com>
11016 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11017 that no =breakpoint-modified is emitted when breakpoints are
11018 modified through MI commands.
11020 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11021 Pedro Alves <palves@redhat.com>
11023 * gdb.threads/step-after-sr-lock.c: New file.
11024 * gdb.threads/step-after-sr-lock.exp: New file.
11026 2014-02-07 Pedro Alves <palves@redhat.com>
11028 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11030 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11032 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11033 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11035 2014-02-06 Doug Evans <xdje42@gmail.com>
11037 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11040 * gdb.gdb/python-interrupts.exp: New file.
11042 2014-02-05 Yao Qi <yao@codesourcery.com>
11044 * gdb.trace/report.exp (use_collected_data): Test the output
11045 of "info threads" and "info inferiors".
11047 2014-02-05 Yao Qi <yao@codesourcery.com>
11051 2013-05-24 Yao Qi <yao@codesourcery.com>
11053 * gdb.trace/tfile.exp: Test inferior and thread.
11055 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11057 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11059 * gdb.base/step-bt.c: Call hello via function pointer to make
11060 sure its first instruction is executed on powerpc64le-linux.
11062 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11064 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11066 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11068 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11069 of the test patterns for use on little-endian systems.
11071 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11073 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11074 (decimal_vector): Fix for little-endian.
11076 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11078 * gdb.arch/sparc-sysstep.exp: New file.
11079 * gdb.arch/sparc-sysstep.c: Likewise.
11081 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11083 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11085 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11087 2014-01-23 Tom Tromey <tromey@redhat.com>
11089 * gdb.ada/array_char_idx: New testcase.
11091 2014-01-23 Tom Tromey <tromey@redhat.com>
11094 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11095 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11098 2014-01-23 Tom Tromey <tromey@redhat.com>
11101 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11102 string from an inferior frame.
11103 * gdb.python/py-framefilter-mi.exp: Update.
11105 2014-01-22 Doug Evans <dje@google.com>
11107 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11109 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11111 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11113 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11115 * gdb.trace/entry-values.exp: Remove excess space character from
11116 regex patterns. Handle s390 call instruction.
11118 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11120 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11121 define "*_start" label. Make "name" static.
11122 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11123 ${name} by references to ${name}_start.
11125 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11127 * gdb.base/info-macros.exp: Remove "debug" from the compile
11130 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11132 * gdb.dlang/demangle.exp: New file.
11134 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11136 * gdb.dlang/primitive-types.exp: New file.
11138 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11140 * configure.ac: Create gdb.dlang/Makefile.
11141 * configure: Regenerate.
11142 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11143 * gdb.dlang/Makefile.in: New file.
11144 * lib/d-support.exp: New file.
11145 * lib/gdb.exp (skip_d_tests): New proc.
11147 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11149 * gdb.btrace/delta.exp: Check reverse stepi.
11150 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11151 * gdb.btrace/finish.exp: New.
11152 * gdb.btrace/next.exp: New.
11153 * gdb.btrace/nexti.exp: New.
11154 * gdb.btrace/record_goto.c: Add comments.
11155 * gdb.btrace/step.exp: New.
11156 * gdb.btrace/stepi.exp: New.
11157 * gdb.btrace/multi-thread-step.c: New.
11158 * gdb.btrace/multi-thread-step.exp: New.
11159 * gdb.btrace/rn-dl-bind.c: New.
11160 * gdb.btrace/rn-dl-bind.exp: New.
11161 * gdb.btrace/data.c: New.
11162 * gdb.btrace/data.exp: New.
11163 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11165 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11167 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11168 * gdb.btrace/exception.exp: Update.
11169 * gdb.btrace/instruction_history.exp: Update.
11170 * gdb.btrace/record_goto.exp: Update.
11171 * gdb.btrace/tailcall.exp: Update.
11172 * gdb.btrace/unknown_functions.exp: Update.
11173 * gdb.btrace/delta.exp: New.
11175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11177 * gdb.btrace/record_goto.exp: Add backtrace test.
11178 * gdb.btrace/tailcall.exp: Add backtrace test.
11180 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11182 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11183 * gdb.btrace/record_goto.c: New.
11184 * gdb.btrace/record_goto.exp: New.
11185 * gdb.btrace/x86-record_goto.S: New.
11187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11189 * gdb.btrace/function_call_history.exp: Update tests.
11190 * gdb.btrace/instruction_history.exp: Update tests.
11192 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11194 * gdb.btrace/function_call_history.exp: Fix expected field
11195 order for "record function-call-history".
11196 Add new tests for "record function-call-history /c".
11197 * gdb.btrace/exception.cc: New.
11198 * gdb.btrace/exception.exp: New.
11199 * gdb.btrace/tailcall.exp: New.
11200 * gdb.btrace/x86-tailcall.S: New.
11201 * gdb.btrace/x86-tailcall.c: New.
11202 * gdb.btrace/unknown_functions.c: New.
11203 * gdb.btrace/unknown_functions.exp: New.
11204 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11206 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11208 * gdb.btrace/instruction_history.exp: Update.
11209 * gdb.btrace/function_call_history.exp: Update.
11211 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11213 * gdb.btrace/function_call_history.exp: Fix expected function
11215 * gdb.btrace/instruction_history.exp: Initialize traced.
11216 Remove traced_functions.
11218 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11220 * gdb.btrace/function_call_history.exp: Update
11221 * gdb.btrace/instruction_history.exp: Update.
11223 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11225 * gdb.btrace/enable.exp: Update expected text.
11227 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11229 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11232 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11234 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11236 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11238 * lib/gdb.exp (supports_process_record): Return true for
11239 arm*-linux*. (supports_reverse): Likewise.
11241 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11245 * gdb.python/py-type.c: Enhance test case.
11246 * gdb.python/py-value-cc.cc: Likewise
11247 * gdb.python/py-type.exp: Add new tests.
11248 * gdb.python/py-value-cc.exp: Likewise
11250 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11251 Pedro Alves <palves@redhat.com>
11253 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11254 Make "name" extern.
11255 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11256 references to ${name}_start by references to ${name}.
11258 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11260 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11262 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11264 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11266 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11267 Pedro Alves <palves@redhat.com>
11269 * gdb.mi/mi-info-os.exp: Connect to the target with
11270 mi_gdb_target_load.
11272 2014-01-08 Pedro Alves <palves@redhat.com>
11274 * gdb.threads/reconnect-signal.c: New file.
11275 * gdb.threads/reconnect-signal.exp: New file.
11277 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11279 * gdb.base/source-dir.exp: New file.
11281 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11283 * gdb.ada/mi_interface: New testcase.
11285 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11287 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11288 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11289 gdb.ada/pp-rec-component/pck.ads: New files.
11291 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11293 * gdb.python/py-pp-integral.c: New file.
11294 * gdb.python/py-pp-integral.py: New file.
11295 * gdb.python/py-pp-integral.exp: New file.
11297 For older changes see ChangeLog-1993-2013.
11299 ;; Local Variables:
11300 ;; mode: change-log
11303 ;; version-control: never
11306 Copyright 2014-2017 Free Software Foundation, Inc.
11307 Copying and distribution of this file, with or without modification,
11308 are permitted provided the copyright notice and this notice are preserved.