1 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3 * gdb.arch/powerpc-power.exp: Delete test.
4 * gdb.arch/powerpc-power.s: Likewise.
5 * gdb.disasm/disassembler-options.exp: New test.
6 * gdb.arch/powerpc-altivec.exp: Likewise.
7 * gdb.arch/powerpc-altivec.s: Likewise.
8 * gdb.arch/powerpc-altivec2.exp: Likewise.
9 * gdb.arch/powerpc-altivec2.s: Likewise.
10 * gdb.arch/powerpc-altivec3.exp: Likewise.
11 * gdb.arch/powerpc-altivec3.s: Likewise.
12 * gdb.arch/powerpc-power7.exp: Likewise.
13 * gdb.arch/powerpc-power7.s: Likewise.
14 * gdb.arch/powerpc-power8.exp: Likewise.
15 * gdb.arch/powerpc-power8.s: Likewise.
16 * gdb.arch/powerpc-power9.exp: Likewise.
17 * gdb.arch/powerpc-power9.s: Likewise.
18 * gdb.arch/powerpc-vsx.exp: Likewise.
19 * gdb.arch/powerpc-vsx.s: Likewise.
20 * gdb.arch/powerpc-vsx2.exp: Likewise.
21 * gdb.arch/powerpc-vsx2.s: Likewise.
22 * gdb.arch/powerpc-vsx3.exp: Likewise.
23 * gdb.arch/powerpc-vsx3.s: Likewise.
24 * gdb.arch/arm-disassembler-options.exp: Likewise.
25 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
26 * gdb.arch/s390-disassembler-options.exp: Likewise.
28 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
30 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
31 (check_supported_features): ... this. Changed return type to void.
32 (supports_rdseed): New static global.
33 (rdseed): Check supports_rdseed.
34 (initialize): Call check_supported_features.
36 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
38 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
39 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
41 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
42 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
44 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
46 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
49 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
51 * gdb.dwarf2/formdata16.c: New file.
52 * gdb.dwarf2/formdata16.exp: New file.
53 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
55 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
57 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
58 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
59 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
60 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
63 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
65 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
67 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
70 * gdb.base/maint.exp: Add testcases for when the commands do
73 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
75 * gdb.cp/chained-calls.exp: Use p instead of P.
77 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
79 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
80 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
82 2017-02-14 Tom Tromey <tom@tromey.com>
85 * gdb.python/py-events.exp: Add before_prompt event tests.
87 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
89 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
91 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
93 * gdb.linespec/explicit.c (my_unique_function_name): New function.
94 (main): Call my_unique_function_name.
95 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
96 completion of patterns with a single match.
97 Add missing -re switches to gdb_test_multiple calls.
99 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
101 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
102 return if core file is not recognized.
104 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
106 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
109 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
111 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
114 2017-02-10 Tom Tromey <tom@tromey.com>
116 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
118 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
121 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
123 2017-02-08 Jerome Guitton <guitton@adacore.com>
125 * gdb.base/define.exp: Add test for command abbreviations
128 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
130 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
131 * gdb.reverse/insn-reverse-x86.c: New file.
133 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
136 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
138 2017-02-03 Tom Tromey <tom@tromey.com>
141 * gdb.rust/simple.exp: Add new tests.
143 2017-02-02 Pedro Alves <palves@redhat.com>
145 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
148 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
150 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
151 taking a 2-byte value out of a 4-byte DWARF implicit value on
153 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
154 logic. Add test cases for DW_OP_implicit.
156 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
158 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
160 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
162 * gdb.btrace/enable.exp: Call gdb_exit before
163 skip_gdbserver_tests.
165 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
167 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
170 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
172 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
174 * gdb.btrace/data.exp: Likewise.
175 * gdb.btrace/delta.exp: Likewise.
176 * gdb.btrace/dlopen.exp: Likewise.
177 * gdb.btrace/enable-running.exp: Likewise.
178 * gdb.btrace/enable.exp: Likewise.
179 * gdb.btrace/exception.exp: Likewise.
180 * gdb.btrace/function_call_history.exp: Likewise.
181 * gdb.btrace/gcore.exp: Likewise.
182 * gdb.btrace/instruction_history.exp: Likewise.
183 * gdb.btrace/multi-thread-step.exp: Likewise.
184 * gdb.btrace/nohist.exp: Likewise.
185 * gdb.btrace/non-stop.exp: Likewise.
186 * gdb.btrace/reconnect.exp: Likewise.
187 * gdb.btrace/record_goto-step.exp: Likewise.
188 * gdb.btrace/record_goto.exp: Likewise.
189 * gdb.btrace/rn-dl-bind.exp: Likewise.
190 * gdb.btrace/segv.exp: Likewise.
191 * gdb.btrace/step.exp: Likewise.
192 * gdb.btrace/stepi.exp: Likewise.
193 * gdb.btrace/tailcall-only.exp: Likewise.
194 * gdb.btrace/tailcall.exp: Likewise.
195 * gdb.btrace/tsx.exp: Likewise.
196 * gdb.btrace/unknown_functions.exp: Likewise.
197 * gdb.btrace/vdso.exp: Likewise.
199 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
201 * gdb.btrace/enable-running.c: New.
202 * gdb.btrace/enable-running.exp: New.
204 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
206 * gdb.arch/amd64-gs_base.c: New file.
207 * gdb.arch/amd64-gs_base.exp: New file.
209 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
211 * lib/memory.exp: Remove spurious empty newlines.
213 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
215 * gdb.python/py-bad-printers.exp: Load python file using "source".
216 * gdb.python/py-events.exp: Likewise.
217 * gdb.python/py-evsignal.exp: Likewise.
218 * gdb.python/py-evthreads.exp: Likewise.
219 * gdb.python/py-frame-args.exp: Likewise.
220 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
221 * gdb.python/py-framefilter-mi.exp: Likewise.
222 * gdb.python/py-framefilter.exp: Likewise.
223 * gdb.python/py-mi.exp: Likewise.
224 * gdb.python/py-pp-maint.exp: Likewise.
225 * gdb.python/py-pp-registration.exp: Likewise.
226 * gdb.python/py-prettyprint.exp: Likewise.
227 (run_lang_tests): Likewise.
228 * gdb.python/py-typeprint.exp: Likewise.
230 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
232 * lib/memory.exp: New file.
233 * lib/gdb.exp: Load memory.exp.
234 * gdb.base/memattr.exp (delete_memory): Move proc to
235 lib/memory.exp and rename to delete_memory_regions.
236 Replace delete_memory with delete_memory_regions.
237 Cleanup memory regions before tests.
238 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
241 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
243 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
245 (initialize): New function conditionally defined.
246 (testcases): Move within conditional block.
247 (main): Call initialize.
248 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
249 of gdb.reverse/insn-reverse.c.
250 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
251 gdb.reverse/insn-reverse.c.
253 2017-01-26 Yao Qi <yao.qi@linaro.org>
255 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
256 disassemble on address 0.
258 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
259 Yao Qi <yao.qi@linaro.org>
261 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
262 * gdb.dwarf2/implptr-64bit.S: Remove.
263 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
264 variables in caller's context. Add DW_OP_implicit_value.
266 2017-01-25 Yao Qi <yao.qi@linaro.org>
268 * lib/dwarf.exp (Dwarf::_location): Handle
269 DW_OP_GNU_implicit_pointer with proper size.
271 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
273 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
274 and add untested calls.
276 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
278 * gdb.python/python.exp: Check line number against what GDB thinks
279 the line number is for func1.
281 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
283 * gdb.dlang/debug-expr.exp: New file.
285 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
287 Fix test names for the following files:
289 * gdb.ada/exec_changed.exp
290 * gdb.ada/info_types.exp
291 * gdb.arch/aarch64-atomic-inst.exp
292 * gdb.arch/aarch64-fp.exp
293 * gdb.arch/altivec-abi.exp
294 * gdb.arch/altivec-regs.exp
295 * gdb.arch/amd64-byte.exp
296 * gdb.arch/amd64-disp-step.exp
297 * gdb.arch/amd64-dword.exp
298 * gdb.arch/amd64-entry-value-inline.exp
299 * gdb.arch/amd64-entry-value-param.exp
300 * gdb.arch/amd64-entry-value-paramref.exp
301 * gdb.arch/amd64-entry-value.exp
302 * gdb.arch/amd64-i386-address.exp
303 * gdb.arch/amd64-invalid-stack-middle.exp
304 * gdb.arch/amd64-invalid-stack-top.exp
305 * gdb.arch/amd64-optimout-repeat.exp
306 * gdb.arch/amd64-prologue-skip.exp
307 * gdb.arch/amd64-prologue-xmm.exp
308 * gdb.arch/amd64-stap-special-operands.exp
309 * gdb.arch/amd64-stap-wrong-subexp.exp
310 * gdb.arch/amd64-tailcall-cxx.exp
311 * gdb.arch/amd64-tailcall-noret.exp
312 * gdb.arch/amd64-tailcall-ret.exp
313 * gdb.arch/amd64-tailcall-self.exp
314 * gdb.arch/amd64-word.exp
315 * gdb.arch/arm-bl-branch-dest.exp
316 * gdb.arch/arm-disp-step.exp
317 * gdb.arch/arm-neon.exp
318 * gdb.arch/arm-single-step-kernel-helper.exp
319 * gdb.arch/avr-flash-qualifier.exp
320 * gdb.arch/disp-step-insn-reloc.exp
321 * gdb.arch/e500-abi.exp
322 * gdb.arch/e500-regs.exp
323 * gdb.arch/ftrace-insn-reloc.exp
324 * gdb.arch/i386-avx512.exp
325 * gdb.arch/i386-bp_permanent.exp
326 * gdb.arch/i386-byte.exp
327 * gdb.arch/i386-cfi-notcurrent.exp
328 * gdb.arch/i386-disp-step.exp
329 * gdb.arch/i386-dr3-watch.exp
330 * gdb.arch/i386-float.exp
331 * gdb.arch/i386-gnu-cfi.exp
332 * gdb.arch/i386-mpx-map.exp
333 * gdb.arch/i386-mpx-sigsegv.exp
334 * gdb.arch/i386-mpx-simple_segv.exp
335 * gdb.arch/i386-mpx.exp
336 * gdb.arch/i386-permbkpt.exp
337 * gdb.arch/i386-prologue.exp
338 * gdb.arch/i386-signal.exp
339 * gdb.arch/i386-size-overlap.exp
340 * gdb.arch/i386-unwind.exp
341 * gdb.arch/i386-word.exp
342 * gdb.arch/mips-fcr.exp
343 * gdb.arch/powerpc-d128-regs.exp
344 * gdb.arch/powerpc-stackless.exp
345 * gdb.arch/ppc64-atomic-inst.exp
346 * gdb.arch/s390-stackless.exp
347 * gdb.arch/s390-tdbregs.exp
348 * gdb.arch/s390-vregs.exp
349 * gdb.arch/sparc-sysstep.exp
350 * gdb.arch/thumb-bx-pc.exp
351 * gdb.arch/thumb-singlestep.exp
352 * gdb.arch/thumb2-it.exp
353 * gdb.arch/vsx-regs.exp
354 * gdb.asm/asm-source.exp
355 * gdb.base/a2-run.exp
356 * gdb.base/advance.exp
357 * gdb.base/all-bin.exp
360 * gdb.base/arithmet.exp
361 * gdb.base/async-shell.exp
363 * gdb.base/attach-pie-noexec.exp
364 * gdb.base/attach-twice.exp
365 * gdb.base/auto-load.exp
367 * gdb.base/bitfields.exp
368 * gdb.base/break-always.exp
369 * gdb.base/break-caller-line.exp
370 * gdb.base/break-entry.exp
371 * gdb.base/break-inline.exp
372 * gdb.base/break-on-linker-gcd-function.exp
373 * gdb.base/break-probes.exp
375 * gdb.base/breakpoint-shadow.exp
376 * gdb.base/call-ar-st.exp
377 * gdb.base/call-sc.exp
378 * gdb.base/call-signal-resume.exp
379 * gdb.base/call-strs.exp
380 * gdb.base/callfuncs.exp
381 * gdb.base/catch-fork-static.exp
382 * gdb.base/catch-gdb-caused-signals.exp
383 * gdb.base/catch-load.exp
384 * gdb.base/catch-signal-fork.exp
385 * gdb.base/catch-signal.exp
386 * gdb.base/catch-syscall.exp
387 * gdb.base/charset.exp
388 * gdb.base/checkpoint.exp
389 * gdb.base/chng-syms.exp
390 * gdb.base/code-expr.exp
391 * gdb.base/code_elim.exp
392 * gdb.base/commands.exp
393 * gdb.base/completion.exp
394 * gdb.base/complex.exp
395 * gdb.base/cond-expr.exp
396 * gdb.base/condbreak.exp
397 * gdb.base/consecutive.exp
398 * gdb.base/continue-all-already-running.exp
399 * gdb.base/coredump-filter.exp
400 * gdb.base/corefile.exp
402 * gdb.base/debug-expr.exp
403 * gdb.base/define.exp
405 * gdb.base/disabled-location.exp
406 * gdb.base/disasm-end-cu.exp
407 * gdb.base/disasm-optim.exp
408 * gdb.base/display.exp
409 * gdb.base/duplicate-bp.exp
410 * gdb.base/ena-dis-br.exp
411 * gdb.base/ending-run.exp
412 * gdb.base/enumval.exp
413 * gdb.base/environ.exp
414 * gdb.base/eu-strip-infcall.exp
415 * gdb.base/eval-avoid-side-effects.exp
416 * gdb.base/eval-skip.exp
417 * gdb.base/exitsignal.exp
418 * gdb.base/expand-psymtabs.exp
419 * gdb.base/filesym.exp
420 * gdb.base/find-unmapped.exp
421 * gdb.base/finish.exp
423 * gdb.base/foll-exec-mode.exp
424 * gdb.base/foll-exec.exp
425 * gdb.base/foll-fork.exp
426 * gdb.base/fortran-sym-case.exp
427 * gdb.base/freebpcmd.exp
428 * gdb.base/func-ptr.exp
429 * gdb.base/func-ptrs.exp
430 * gdb.base/funcargs.exp
431 * gdb.base/gcore-buffer-overflow.exp
432 * gdb.base/gcore-relro-pie.exp
433 * gdb.base/gcore-relro.exp
435 * gdb.base/gdb1090.exp
436 * gdb.base/gdb11530.exp
437 * gdb.base/gdb11531.exp
438 * gdb.base/gdb1821.exp
439 * gdb.base/gdbindex-stabs.exp
440 * gdb.base/gdbvars.exp
441 * gdb.base/hbreak.exp
442 * gdb.base/hbreak2.exp
443 * gdb.base/included.exp
444 * gdb.base/infcall-input.exp
445 * gdb.base/inferior-died.exp
446 * gdb.base/infnan.exp
447 * gdb.base/info-macros.exp
448 * gdb.base/info-os.exp
449 * gdb.base/info-proc.exp
450 * gdb.base/info-shared.exp
451 * gdb.base/info-target.exp
452 * gdb.base/infoline.exp
453 * gdb.base/interp.exp
454 * gdb.base/interrupt.exp
455 * gdb.base/jit-reader.exp
456 * gdb.base/jit-simple.exp
457 * gdb.base/kill-after-signal.exp
458 * gdb.base/kill-detach-inferiors-cmd.exp
461 * gdb.base/ldbl_e308.exp
462 * gdb.base/line-symtabs.exp
463 * gdb.base/linespecs.exp
465 * gdb.base/long_long.exp
466 * gdb.base/longest-types.exp
468 * gdb.base/max-value-size.exp
469 * gdb.base/memattr.exp
470 * gdb.base/mips_pro.exp
471 * gdb.base/morestack.exp
472 * gdb.base/moribund-step.exp
473 * gdb.base/multi-forks.exp
474 * gdb.base/nested-addr.exp
475 * gdb.base/nextoverexit.exp
476 * gdb.base/noreturn-finish.exp
477 * gdb.base/noreturn-return.exp
478 * gdb.base/nostdlib.exp
479 * gdb.base/offsets.exp
480 * gdb.base/opaque.exp
482 * gdb.base/permissions.exp
483 * gdb.base/print-symbol-loading.exp
484 * gdb.base/prologue-include.exp
485 * gdb.base/psymtab.exp
487 * gdb.base/random-signal.exp
488 * gdb.base/randomize.exp
489 * gdb.base/range-stepping.exp
490 * gdb.base/readline-ask.exp
491 * gdb.base/recpar.exp
492 * gdb.base/recurse.exp
493 * gdb.base/relational.exp
494 * gdb.base/restore.exp
495 * gdb.base/return-nodebug.exp
496 * gdb.base/return.exp
497 * gdb.base/run-after-attach.exp
498 * gdb.base/save-bp.exp
500 * gdb.base/sect-cmd.exp
501 * gdb.base/set-lang-auto.exp
502 * gdb.base/set-noassign.exp
503 * gdb.base/setvar.exp
504 * gdb.base/sigall.exp
505 * gdb.base/sigbpt.exp
506 * gdb.base/siginfo-addr.exp
507 * gdb.base/siginfo-infcall.exp
508 * gdb.base/siginfo-obj.exp
509 * gdb.base/siginfo.exp
510 * gdb.base/signals-state-child.exp
511 * gdb.base/signest.exp
512 * gdb.base/sigstep.exp
513 * gdb.base/sizeof.exp
515 * gdb.base/solib-corrupted.exp
516 * gdb.base/solib-nodir.exp
517 * gdb.base/solib-search.exp
518 * gdb.base/stack-checking.exp
519 * gdb.base/stale-infcall.exp
520 * gdb.base/stap-probe.exp
522 * gdb.base/step-break.exp
523 * gdb.base/step-bt.exp
524 * gdb.base/step-line.exp
525 * gdb.base/step-over-exit.exp
526 * gdb.base/step-over-syscall.exp
527 * gdb.base/step-resume-infcall.exp
528 * gdb.base/step-test.exp
530 * gdb.base/structs3.exp
531 * gdb.base/sym-file.exp
532 * gdb.base/symbol-without-target_section.exp
534 * gdb.base/testenv.exp
535 * gdb.base/ui-redirect.exp
537 * gdb.base/unwindonsignal.exp
538 * gdb.base/value-double-free.exp
539 * gdb.base/vla-datatypes.exp
540 * gdb.base/vla-ptr.exp
541 * gdb.base/vla-sideeffect.exp
542 * gdb.base/volatile.exp
543 * gdb.base/watch-cond-infcall.exp
544 * gdb.base/watch-cond.exp
545 * gdb.base/watch-non-mem.exp
546 * gdb.base/watch-read.exp
547 * gdb.base/watch-vfork.exp
548 * gdb.base/watchpoint-cond-gone.exp
549 * gdb.base/watchpoint-delete.exp
550 * gdb.base/watchpoint-hw-hit-once.exp
551 * gdb.base/watchpoint-hw.exp
552 * gdb.base/watchpoint-stops-at-right-insn.exp
553 * gdb.base/watchpoints.exp
555 * gdb.base/whatis-exp.exp
556 * gdb.btrace/buffer-size.exp
557 * gdb.btrace/data.exp
558 * gdb.btrace/delta.exp
559 * gdb.btrace/dlopen.exp
560 * gdb.btrace/enable.exp
561 * gdb.btrace/exception.exp
562 * gdb.btrace/function_call_history.exp
563 * gdb.btrace/gcore.exp
564 * gdb.btrace/instruction_history.exp
565 * gdb.btrace/nohist.exp
566 * gdb.btrace/reconnect.exp
567 * gdb.btrace/record_goto-step.exp
568 * gdb.btrace/record_goto.exp
569 * gdb.btrace/rn-dl-bind.exp
570 * gdb.btrace/segv.exp
571 * gdb.btrace/step.exp
572 * gdb.btrace/stepi.exp
573 * gdb.btrace/tailcall-only.exp
574 * gdb.btrace/tailcall.exp
576 * gdb.btrace/unknown_functions.exp
577 * gdb.btrace/vdso.exp
578 * gdb.compile/compile-ifunc.exp
579 * gdb.compile/compile-ops.exp
580 * gdb.compile/compile-print.exp
581 * gdb.compile/compile-setjmp.exp
582 * gdb.cp/abstract-origin.exp
583 * gdb.cp/ambiguous.exp
587 * gdb.cp/anon-struct.exp
588 * gdb.cp/anon-union.exp
589 * gdb.cp/arg-reference.exp
590 * gdb.cp/baseenum.exp
592 * gdb.cp/breakpoint.exp
596 * gdb.cp/chained-calls.exp
599 * gdb.cp/cmpd-minsyms.exp
600 * gdb.cp/converts.exp
601 * gdb.cp/cp-relocate.exp
602 * gdb.cp/cpcompletion.exp
605 * gdb.cp/cplusfuncs.exp
606 * gdb.cp/cpsizeof.exp
608 * gdb.cp/derivation.exp
609 * gdb.cp/destrprint.exp
611 * gdb.cp/enum-class.exp
612 * gdb.cp/exception.exp
613 * gdb.cp/exceptprint.exp
614 * gdb.cp/expand-psymtabs-cxx.exp
615 * gdb.cp/expand-sals.exp
616 * gdb.cp/extern-c.exp
617 * gdb.cp/filename.exp
618 * gdb.cp/formatted-ref.exp
619 * gdb.cp/fpointer.exp
623 * gdb.cp/impl-this.exp
624 * gdb.cp/infcall-dlopen.exp
626 * gdb.cp/iostream.exp
630 * gdb.cp/m-static.exp
632 * gdb.cp/mb-inline.exp
633 * gdb.cp/mb-templates.exp
634 * gdb.cp/member-name.exp
635 * gdb.cp/member-ptr.exp
636 * gdb.cp/meth-typedefs.exp
639 * gdb.cp/minsym-fallback.exp
641 * gdb.cp/namelessclass.exp
642 * gdb.cp/namespace-enum.exp
643 * gdb.cp/namespace-nested-import.exp
644 * gdb.cp/namespace.exp
645 * gdb.cp/nextoverthrow.exp
646 * gdb.cp/no-dmgl-verbose.exp
647 * gdb.cp/non-trivial-retval.exp
650 * gdb.cp/nsimport.exp
651 * gdb.cp/nsnested.exp
652 * gdb.cp/nsnoimports.exp
653 * gdb.cp/nsrecurs.exp
654 * gdb.cp/nsstress.exp
656 * gdb.cp/operator.exp
657 * gdb.cp/oranking.exp
658 * gdb.cp/overload-const.exp
659 * gdb.cp/overload.exp
660 * gdb.cp/ovldbreak.exp
662 * gdb.cp/paren-type.exp
663 * gdb.cp/parse-lang.exp
664 * gdb.cp/pass-by-ref.exp
675 * gdb.cp/printmethod.exp
677 * gdb.cp/psymtab-parameter.exp
678 * gdb.cp/ptype-cv-cp.exp
679 * gdb.cp/ptype-flags.exp
680 * gdb.cp/re-set-overloaded.exp
681 * gdb.cp/ref-types.exp
683 * gdb.cp/scope-err.exp
686 * gdb.cp/static-method.exp
687 * gdb.cp/static-print-quit.exp
689 * gdb.cp/templates.exp
690 * gdb.cp/try_catch.exp
691 * gdb.cp/typedef-operator.exp
694 * gdb.cp/using-crash.exp
696 * gdb.cp/virtbase.exp
697 * gdb.cp/virtfunc.exp
698 * gdb.cp/virtfunc2.exp
700 * gdb.disasm/t01_mov.exp
701 * gdb.disasm/t02_mova.exp
702 * gdb.disasm/t03_add.exp
703 * gdb.disasm/t04_sub.exp
704 * gdb.disasm/t05_cmp.exp
705 * gdb.disasm/t06_ari2.exp
706 * gdb.disasm/t07_ari3.exp
707 * gdb.disasm/t08_or.exp
708 * gdb.disasm/t09_xor.exp
709 * gdb.disasm/t10_and.exp
710 * gdb.disasm/t11_logs.exp
711 * gdb.disasm/t12_bit.exp
712 * gdb.disasm/t13_otr.exp
713 * gdb.dlang/circular.exp
714 * gdb.dwarf2/arr-stride.exp
715 * gdb.dwarf2/arr-subrange.exp
716 * gdb.dwarf2/atomic-type.exp
717 * gdb.dwarf2/bad-regnum.exp
718 * gdb.dwarf2/bitfield-parent-optimized-out.exp
719 * gdb.dwarf2/callframecfa.exp
720 * gdb.dwarf2/clztest.exp
721 * gdb.dwarf2/corrupt.exp
722 * gdb.dwarf2/data-loc.exp
723 * gdb.dwarf2/dup-psym.exp
724 * gdb.dwarf2/dw2-anon-mptr.exp
725 * gdb.dwarf2/dw2-anonymous-func.exp
726 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
727 * gdb.dwarf2/dw2-bad-unresolved.exp
728 * gdb.dwarf2/dw2-basic.exp
729 * gdb.dwarf2/dw2-canonicalize-type.exp
730 * gdb.dwarf2/dw2-case-insensitive.exp
731 * gdb.dwarf2/dw2-common-block.exp
732 * gdb.dwarf2/dw2-compdir-oldgcc.exp
733 * gdb.dwarf2/dw2-compressed.exp
734 * gdb.dwarf2/dw2-const.exp
735 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
736 * gdb.dwarf2/dw2-cu-size.exp
737 * gdb.dwarf2/dw2-dup-frame.exp
738 * gdb.dwarf2/dw2-entry-value.exp
739 * gdb.dwarf2/dw2-icycle.exp
740 * gdb.dwarf2/dw2-ifort-parameter.exp
741 * gdb.dwarf2/dw2-inline-break.exp
742 * gdb.dwarf2/dw2-inline-param.exp
743 * gdb.dwarf2/dw2-intercu.exp
744 * gdb.dwarf2/dw2-intermix.exp
745 * gdb.dwarf2/dw2-lexical-block-bare.exp
746 * gdb.dwarf2/dw2-linkage-name-trust.exp
747 * gdb.dwarf2/dw2-minsym-in-cu.exp
748 * gdb.dwarf2/dw2-noloc.exp
749 * gdb.dwarf2/dw2-op-call.exp
750 * gdb.dwarf2/dw2-op-out-param.exp
751 * gdb.dwarf2/dw2-opt-structptr.exp
752 * gdb.dwarf2/dw2-param-error.exp
753 * gdb.dwarf2/dw2-producer.exp
754 * gdb.dwarf2/dw2-ranges-base.exp
755 * gdb.dwarf2/dw2-ref-missing-frame.exp
756 * gdb.dwarf2/dw2-reg-undefined.exp
757 * gdb.dwarf2/dw2-regno-invalid.exp
758 * gdb.dwarf2/dw2-restore.exp
759 * gdb.dwarf2/dw2-restrict.exp
760 * gdb.dwarf2/dw2-single-line-discriminators.exp
761 * gdb.dwarf2/dw2-strp.exp
762 * gdb.dwarf2/dw2-undefined-ret-addr.exp
763 * gdb.dwarf2/dw2-unresolved.exp
764 * gdb.dwarf2/dw2-var-zero-addr.exp
765 * gdb.dwarf2/dw4-sig-types.exp
767 * gdb.dwarf2/dynarr-ptr.exp
768 * gdb.dwarf2/enum-type.exp
769 * gdb.dwarf2/gdb-index.exp
770 * gdb.dwarf2/implptr-64bit.exp
771 * gdb.dwarf2/implptr-optimized-out.exp
772 * gdb.dwarf2/implptr.exp
773 * gdb.dwarf2/implref-array.exp
774 * gdb.dwarf2/implref-const.exp
775 * gdb.dwarf2/implref-global.exp
776 * gdb.dwarf2/implref-struct.exp
777 * gdb.dwarf2/mac-fileno.exp
778 * gdb.dwarf2/main-subprogram.exp
779 * gdb.dwarf2/member-ptr-forwardref.exp
780 * gdb.dwarf2/method-ptr.exp
781 * gdb.dwarf2/missing-sig-type.exp
782 * gdb.dwarf2/nonvar-access.exp
783 * gdb.dwarf2/opaque-type-lookup.exp
784 * gdb.dwarf2/pieces-optimized-out.exp
785 * gdb.dwarf2/pieces.exp
786 * gdb.dwarf2/pr10770.exp
787 * gdb.dwarf2/pr13961.exp
788 * gdb.dwarf2/staticvirtual.exp
789 * gdb.dwarf2/subrange.exp
790 * gdb.dwarf2/symtab-producer.exp
791 * gdb.dwarf2/trace-crash.exp
792 * gdb.dwarf2/typeddwarf.exp
793 * gdb.dwarf2/valop.exp
794 * gdb.dwarf2/watch-notconst.exp
795 * gdb.fortran/array-element.exp
796 * gdb.fortran/charset.exp
797 * gdb.fortran/common-block.exp
798 * gdb.fortran/complex.exp
799 * gdb.fortran/derived-type-function.exp
800 * gdb.fortran/derived-type.exp
801 * gdb.fortran/logical.exp
802 * gdb.fortran/module.exp
803 * gdb.fortran/multi-dim.exp
804 * gdb.fortran/nested-funcs.exp
805 * gdb.fortran/print-formatted.exp
806 * gdb.fortran/subarray.exp
807 * gdb.fortran/vla-alloc-assoc.exp
808 * gdb.fortran/vla-datatypes.exp
809 * gdb.fortran/vla-history.exp
810 * gdb.fortran/vla-ptr-info.exp
811 * gdb.fortran/vla-ptype-sub.exp
812 * gdb.fortran/vla-ptype.exp
813 * gdb.fortran/vla-sizeof.exp
814 * gdb.fortran/vla-type.exp
815 * gdb.fortran/vla-value-sub-arbitrary.exp
816 * gdb.fortran/vla-value-sub-finish.exp
817 * gdb.fortran/vla-value-sub.exp
818 * gdb.fortran/vla-value.exp
819 * gdb.fortran/whatis_type.exp
821 * gdb.go/handcall.exp
823 * gdb.go/integers.exp
829 * gdb.guile/scm-arch.exp
830 * gdb.guile/scm-block.exp
831 * gdb.guile/scm-breakpoint.exp
832 * gdb.guile/scm-cmd.exp
833 * gdb.guile/scm-disasm.exp
834 * gdb.guile/scm-equal.exp
835 * gdb.guile/scm-frame-args.exp
836 * gdb.guile/scm-frame-inline.exp
837 * gdb.guile/scm-frame.exp
838 * gdb.guile/scm-iterator.exp
839 * gdb.guile/scm-math.exp
840 * gdb.guile/scm-objfile.exp
841 * gdb.guile/scm-ports.exp
842 * gdb.guile/scm-symbol.exp
843 * gdb.guile/scm-symtab.exp
844 * gdb.guile/scm-value-cc.exp
845 * gdb.guile/types-module.exp
846 * gdb.linespec/break-ask.exp
847 * gdb.linespec/cpexplicit.exp
848 * gdb.linespec/explicit.exp
849 * gdb.linespec/keywords.exp
850 * gdb.linespec/linespec.exp
851 * gdb.linespec/ls-dollar.exp
852 * gdb.linespec/ls-errs.exp
853 * gdb.linespec/skip-two.exp
854 * gdb.linespec/thread.exp
855 * gdb.mi/mi-async.exp
856 * gdb.mi/mi-basics.exp
857 * gdb.mi/mi-break.exp
858 * gdb.mi/mi-catch-load.exp
860 * gdb.mi/mi-cmd-param-changed.exp
861 * gdb.mi/mi-console.exp
862 * gdb.mi/mi-detach.exp
863 * gdb.mi/mi-disassemble.exp
865 * gdb.mi/mi-file-transfer.exp
867 * gdb.mi/mi-fill-memory.exp
868 * gdb.mi/mi-inheritance-syntax-error.exp
869 * gdb.mi/mi-linespec-err-cp.exp
870 * gdb.mi/mi-logging.exp
871 * gdb.mi/mi-memory-changed.exp
872 * gdb.mi/mi-read-memory.exp
873 * gdb.mi/mi-record-changed.exp
874 * gdb.mi/mi-reg-undefined.exp
876 * gdb.mi/mi-return.exp
877 * gdb.mi/mi-reverse.exp
878 * gdb.mi/mi-simplerun.exp
879 * gdb.mi/mi-solib.exp
880 * gdb.mi/mi-stack.exp
881 * gdb.mi/mi-stepi.exp
882 * gdb.mi/mi-syn-frame.exp
883 * gdb.mi/mi-until.exp
884 * gdb.mi/mi-var-block.exp
885 * gdb.mi/mi-var-child.exp
886 * gdb.mi/mi-var-cmd.exp
887 * gdb.mi/mi-var-cp.exp
888 * gdb.mi/mi-var-display.exp
889 * gdb.mi/mi-var-invalidate.exp
890 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
891 * gdb.mi/mi-vla-fortran.exp
892 * gdb.mi/mi-watch.exp
893 * gdb.mi/mi2-var-child.exp
894 * gdb.mi/user-selected-context-sync.exp
895 * gdb.modula2/unbounded-array.exp
896 * gdb.multi/dummy-frame-restore.exp
897 * gdb.multi/multi-arch-exec.exp
898 * gdb.multi/multi-arch.exp
900 * gdb.multi/watchpoint-multi.exp
901 * gdb.opencl/callfuncs.exp
902 * gdb.opencl/convs_casts.exp
903 * gdb.opencl/datatypes.exp
904 * gdb.opencl/operators.exp
905 * gdb.opencl/vec_comps.exp
906 * gdb.opt/clobbered-registers-O2.exp
907 * gdb.opt/inline-break.exp
908 * gdb.opt/inline-bt.exp
909 * gdb.opt/inline-cmds.exp
910 * gdb.opt/inline-locals.exp
911 * gdb.pascal/case-insensitive-symbols.exp
912 * gdb.pascal/floats.exp
913 * gdb.pascal/gdb11492.exp
914 * gdb.python/lib-types.exp
915 * gdb.python/py-arch.exp
916 * gdb.python/py-as-string.exp
917 * gdb.python/py-bad-printers.exp
918 * gdb.python/py-block.exp
919 * gdb.python/py-breakpoint-create-fail.exp
920 * gdb.python/py-breakpoint.exp
921 * gdb.python/py-caller-is.exp
922 * gdb.python/py-cmd.exp
923 * gdb.python/py-explore-cc.exp
924 * gdb.python/py-explore.exp
925 * gdb.python/py-finish-breakpoint.exp
926 * gdb.python/py-finish-breakpoint2.exp
927 * gdb.python/py-frame-args.exp
928 * gdb.python/py-frame-inline.exp
929 * gdb.python/py-frame.exp
930 * gdb.python/py-framefilter-mi.exp
931 * gdb.python/py-infthread.exp
932 * gdb.python/py-lazy-string.exp
933 * gdb.python/py-linetable.exp
934 * gdb.python/py-mi-events.exp
935 * gdb.python/py-mi-objfile.exp
936 * gdb.python/py-mi.exp
937 * gdb.python/py-objfile.exp
938 * gdb.python/py-pp-integral.exp
939 * gdb.python/py-pp-maint.exp
940 * gdb.python/py-pp-re-notag.exp
941 * gdb.python/py-pp-registration.exp
942 * gdb.python/py-recurse-unwind.exp
943 * gdb.python/py-strfns.exp
944 * gdb.python/py-symbol.exp
945 * gdb.python/py-symtab.exp
946 * gdb.python/py-sync-interp.exp
947 * gdb.python/py-typeprint.exp
948 * gdb.python/py-unwind-maint.exp
949 * gdb.python/py-unwind.exp
950 * gdb.python/py-value-cc.exp
951 * gdb.python/py-xmethods.exp
952 * gdb.reverse/amd64-tailcall-reverse.exp
953 * gdb.reverse/break-precsave.exp
954 * gdb.reverse/break-reverse.exp
955 * gdb.reverse/consecutive-precsave.exp
956 * gdb.reverse/consecutive-reverse.exp
957 * gdb.reverse/finish-precsave.exp
958 * gdb.reverse/finish-reverse-bkpt.exp
959 * gdb.reverse/finish-reverse.exp
960 * gdb.reverse/fstatat-reverse.exp
961 * gdb.reverse/getresuid-reverse.exp
962 * gdb.reverse/i386-precsave.exp
963 * gdb.reverse/i386-reverse.exp
964 * gdb.reverse/i386-sse-reverse.exp
965 * gdb.reverse/i387-env-reverse.exp
966 * gdb.reverse/i387-stack-reverse.exp
967 * gdb.reverse/insn-reverse.exp
968 * gdb.reverse/machinestate-precsave.exp
969 * gdb.reverse/machinestate.exp
970 * gdb.reverse/next-reverse-bkpt-over-sr.exp
971 * gdb.reverse/pipe-reverse.exp
972 * gdb.reverse/readv-reverse.exp
973 * gdb.reverse/recvmsg-reverse.exp
974 * gdb.reverse/rerun-prec.exp
975 * gdb.reverse/s390-mvcle.exp
976 * gdb.reverse/step-precsave.exp
977 * gdb.reverse/step-reverse.exp
978 * gdb.reverse/time-reverse.exp
979 * gdb.reverse/until-precsave.exp
980 * gdb.reverse/until-reverse.exp
981 * gdb.reverse/waitpid-reverse.exp
982 * gdb.reverse/watch-precsave.exp
983 * gdb.reverse/watch-reverse.exp
984 * gdb.rust/generics.exp
985 * gdb.rust/methods.exp
986 * gdb.rust/modules.exp
987 * gdb.rust/simple.exp
988 * gdb.server/connect-with-no-symbol-file.exp
989 * gdb.server/ext-attach.exp
990 * gdb.server/ext-restart.exp
991 * gdb.server/ext-wrapper.exp
992 * gdb.server/file-transfer.exp
993 * gdb.server/server-exec-info.exp
994 * gdb.server/server-kill.exp
995 * gdb.server/server-mon.exp
996 * gdb.server/wrapper.exp
997 * gdb.stabs/exclfwd.exp
998 * gdb.stabs/gdb11479.exp
999 * gdb.threads/clone-new-thread-event.exp
1000 * gdb.threads/corethreads.exp
1001 * gdb.threads/current-lwp-dead.exp
1002 * gdb.threads/dlopen-libpthread.exp
1003 * gdb.threads/gcore-thread.exp
1004 * gdb.threads/sigstep-threads.exp
1005 * gdb.threads/watchpoint-fork.exp
1006 * gdb.trace/actions-changed.exp
1007 * gdb.trace/backtrace.exp
1008 * gdb.trace/change-loc.exp
1009 * gdb.trace/circ.exp
1010 * gdb.trace/collection.exp
1011 * gdb.trace/disconnected-tracing.exp
1012 * gdb.trace/ftrace.exp
1013 * gdb.trace/mi-trace-frame-collected.exp
1014 * gdb.trace/mi-trace-unavailable.exp
1015 * gdb.trace/mi-traceframe-changed.exp
1016 * gdb.trace/mi-tsv-changed.exp
1017 * gdb.trace/no-attach-trace.exp
1018 * gdb.trace/passc-dyn.exp
1019 * gdb.trace/qtro.exp
1020 * gdb.trace/range-stepping.exp
1021 * gdb.trace/read-memory.exp
1022 * gdb.trace/save-trace.exp
1023 * gdb.trace/signal.exp
1024 * gdb.trace/status-stop.exp
1025 * gdb.trace/tfile.exp
1026 * gdb.trace/trace-break.exp
1027 * gdb.trace/trace-buffer-size.exp
1028 * gdb.trace/trace-condition.exp
1029 * gdb.trace/tracefile-pseudo-reg.exp
1030 * gdb.trace/tstatus.exp
1031 * gdb.trace/unavailable.exp
1032 * gdb.trace/while-dyn.exp
1033 * gdb.trace/while-stepping.exp
1035 2016-12-22 Doug Evans <xdje42@gmail.com>
1037 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1040 2016-12-19 Yao Qi <yao.qi@linaro.org>
1042 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1043 (test_with_self): Don't call do_steps_and_nexts, and remove
1044 code about stepping into xmalloc.
1046 2016-12-09 Yao Qi <yao.qi@linaro.org>
1048 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1050 2016-12-09 Yao Qi <yao.qi@linaro.org>
1052 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1054 2016-12-09 Pedro Alves <palves@redhat.com>
1056 * gdb.base/all-architectures-0.exp: New file.
1057 * gdb.base/all-architectures-1.exp: New file.
1058 * gdb.base/all-architectures-2.exp: New file.
1059 * gdb.base/all-architectures-3.exp: New file.
1060 * gdb.base/all-architectures-4.exp: New file.
1061 * gdb.base/all-architectures-5.exp: New file.
1062 * gdb.base/all-architectures-6.exp: New file.
1063 * gdb.base/all-architectures-7.exp: New file.
1064 * gdb.base/all-architectures.exp.in: New file.
1066 2016-12-09 Yao Qi <yao.qi@linaro.org>
1068 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1070 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1072 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1074 Remove useless pattern-matching code.
1076 2016-12-02 Pedro Alves <palves@redhat.com>
1078 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1080 (top level): Call it.
1082 2016-12-02 Pedro Alves <palves@redhat.com>
1084 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1086 (top level): Call it.
1088 2016-12-02 Pedro Alves <palves@redhat.com>
1091 * gdb.base/commands.exp (user_defined_command_args_eval): New
1093 (top level): Call it.
1095 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1097 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1100 2016-12-02 Tom Tromey <tom@tromey.com>
1102 * gdb.dwarf2/main-subprogram.c: New file.
1103 * gdb.dwarf2/main-subprogram.exp: New file.
1105 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1107 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1108 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1109 gdb_test_no_output for a couple of cases.
1110 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1112 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1114 Fix test names and standardize compilation error messages throughout
1115 the following files:
1118 * gdb.arch/alpha-step.exp
1119 * gdb.arch/e500-prologue.exp
1120 * gdb.arch/ftrace-insn-reloc.exp
1121 * gdb.arch/gdb1291.exp
1122 * gdb.arch/gdb1431.exp
1123 * gdb.arch/gdb1558.exp
1124 * gdb.arch/i386-dr3-watch.exp
1125 * gdb.arch/i386-sse-stack-align.exp
1126 * gdb.arch/ia64-breakpoint-shadow.exp
1127 * gdb.arch/pa-nullify.exp
1128 * gdb.arch/powerpc-aix-prologue.exp
1129 * gdb.arch/thumb-bx-pc.exp
1130 * gdb.base/annota1.exp
1131 * gdb.base/annota3.exp
1132 * gdb.base/arrayidx.exp
1133 * gdb.base/assign.exp
1134 * gdb.base/attach.exp
1137 * gdb.base/bfp-test.exp
1138 * gdb.base/bigcore.exp
1139 * gdb.base/bitfields2.exp
1140 * gdb.base/break-fun-addr.exp
1141 * gdb.base/break-probes.exp
1142 * gdb.base/call-rt-st.exp
1143 * gdb.base/callexit.exp
1144 * gdb.base/catch-fork-kill.exp
1145 * gdb.base/charset.exp
1146 * gdb.base/checkpoint.exp
1147 * gdb.base/comprdebug.exp
1148 * gdb.base/constvars.exp
1149 * gdb.base/coredump-filter.exp
1150 * gdb.base/cursal.exp
1151 * gdb.base/cvexpr.exp
1152 * gdb.base/detach.exp
1153 * gdb.base/display.exp
1154 * gdb.base/dmsym.exp
1155 * gdb.base/dprintf-pending.exp
1156 * gdb.base/dso2dso.exp
1157 * gdb.base/dtrace-probe.exp
1159 * gdb.base/enum_cond.exp
1160 * gdb.base/exe-lock.exp
1161 * gdb.base/exec-invalid-sysroot.exp
1162 * gdb.base/execl-update-breakpoints.exp
1163 * gdb.base/exprs.exp
1164 * gdb.base/fileio.exp
1166 * gdb.base/finish.exp
1167 * gdb.base/fixsection.exp
1168 * gdb.base/foll-vfork.exp
1169 * gdb.base/frame-args.exp
1170 * gdb.base/gcore.exp
1171 * gdb.base/gdb1250.exp
1172 * gdb.base/global-var-nested-by-dso.exp
1173 * gdb.base/gnu-ifunc.exp
1174 * gdb.base/hashline1.exp
1175 * gdb.base/hashline2.exp
1176 * gdb.base/hashline3.exp
1177 * gdb.base/hbreak-in-shr-unsupported.exp
1179 * gdb.base/infcall-input.exp
1180 * gdb.base/info-fun.exp
1181 * gdb.base/info-shared.exp
1182 * gdb.base/jit-simple.exp
1183 * gdb.base/jit-so.exp
1186 * gdb.base/label.exp
1187 * gdb.base/lineinc.exp
1188 * gdb.base/logical.exp
1189 * gdb.base/longjmp.exp
1190 * gdb.base/macscp.exp
1191 * gdb.base/miscexprs.exp
1192 * gdb.base/new-ui-echo.exp
1193 * gdb.base/new-ui-pending-input.exp
1194 * gdb.base/new-ui.exp
1195 * gdb.base/nodebug.exp
1196 * gdb.base/nofield.exp
1197 * gdb.base/offsets.exp
1198 * gdb.base/overlays.exp
1199 * gdb.base/pending.exp
1200 * gdb.base/pointers.exp
1201 * gdb.base/pr11022.exp
1202 * gdb.base/printcmds.exp
1203 * gdb.base/prologue.exp
1204 * gdb.base/ptr-typedef.exp
1205 * gdb.base/realname-expand.exp
1206 * gdb.base/relativedebug.exp
1207 * gdb.base/relocate.exp
1208 * gdb.base/remote.exp
1209 * gdb.base/reread.exp
1210 * gdb.base/return2.exp
1211 * gdb.base/savedregs.exp
1213 * gdb.base/sepdebug.exp
1214 * gdb.base/sepsymtab.exp
1215 * gdb.base/set-inferior-tty.exp
1216 * gdb.base/setshow.exp
1217 * gdb.base/shlib-call.exp
1218 * gdb.base/sigaltstack.exp
1219 * gdb.base/siginfo-addr.exp
1220 * gdb.base/signals.exp
1221 * gdb.base/signull.exp
1222 * gdb.base/sigrepeat.exp
1223 * gdb.base/so-impl-ld.exp
1224 * gdb.base/solib-display.exp
1225 * gdb.base/solib-overlap.exp
1226 * gdb.base/solib-search.exp
1227 * gdb.base/solib-symbol.exp
1228 * gdb.base/structs.exp
1229 * gdb.base/structs2.exp
1230 * gdb.base/symtab-search-order.exp
1231 * gdb.base/twice.exp
1232 * gdb.base/unload.exp
1233 * gdb.base/varargs.exp
1234 * gdb.base/watchpoint-solib.exp
1235 * gdb.base/watchpoint.exp
1236 * gdb.base/whatis.exp
1237 * gdb.base/wrong_frame_bt_full.exp
1238 * gdb.btrace/dlopen.exp
1239 * gdb.cell/ea-standalone.exp
1240 * gdb.cell/ea-test.exp
1241 * gdb.cp/dispcxx.exp
1242 * gdb.cp/gdb2384.exp
1243 * gdb.cp/method2.exp
1244 * gdb.cp/nextoverthrow.exp
1245 * gdb.cp/pr10728.exp
1246 * gdb.disasm/am33.exp
1247 * gdb.disasm/h8300s.exp
1248 * gdb.disasm/mn10300.exp
1249 * gdb.disasm/sh3.exp
1250 * gdb.dwarf2/dw2-dir-file-name.exp
1251 * gdb.fortran/complex.exp
1252 * gdb.fortran/library-module.exp
1253 * gdb.guile/scm-pretty-print.exp
1254 * gdb.guile/scm-symbol.exp
1255 * gdb.guile/scm-type.exp
1256 * gdb.guile/scm-value.exp
1257 * gdb.linespec/linespec.exp
1260 * gdb.mi/mi-breakpoint-changed.exp
1261 * gdb.mi/mi-dprintf-pending.exp
1262 * gdb.mi/mi-dprintf.exp
1263 * gdb.mi/mi-exit-code.exp
1264 * gdb.mi/mi-pending.exp
1265 * gdb.mi/mi-solib.exp
1266 * gdb.mi/new-ui-mi-sync.exp
1267 * gdb.mi/pr11022.exp
1268 * gdb.mi/user-selected-context-sync.exp
1269 * gdb.opt/solib-intra-step.exp
1270 * gdb.python/py-events.exp
1271 * gdb.python/py-finish-breakpoint.exp
1272 * gdb.python/py-mi.exp
1273 * gdb.python/py-prettyprint.exp
1274 * gdb.python/py-shared.exp
1275 * gdb.python/py-symbol.exp
1276 * gdb.python/py-template.exp
1277 * gdb.python/py-type.exp
1278 * gdb.python/py-value.exp
1279 * gdb.reverse/solib-precsave.exp
1280 * gdb.reverse/solib-reverse.exp
1281 * gdb.server/solib-list.exp
1282 * gdb.stabs/weird.exp
1283 * gdb.threads/reconnect-signal.exp
1284 * gdb.threads/stepi-random-signal.exp
1285 * gdb.trace/actions.exp
1287 * gdb.trace/backtrace.exp
1288 * gdb.trace/change-loc.exp
1289 * gdb.trace/deltrace.exp
1290 * gdb.trace/ftrace-lock.exp
1291 * gdb.trace/ftrace.exp
1292 * gdb.trace/infotrace.exp
1293 * gdb.trace/mi-tracepoint-changed.exp
1294 * gdb.trace/packetlen.exp
1295 * gdb.trace/passcount.exp
1296 * gdb.trace/pending.exp
1297 * gdb.trace/range-stepping.exp
1298 * gdb.trace/report.exp
1299 * gdb.trace/stap-trace.exp
1300 * gdb.trace/tfind.exp
1301 * gdb.trace/trace-break.exp
1302 * gdb.trace/trace-condition.exp
1303 * gdb.trace/trace-enable-disable.exp
1304 * gdb.trace/trace-mt.exp
1305 * gdb.trace/tracecmd.exp
1306 * gdb.trace/tspeed.exp
1310 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1312 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1313 with gdb_test_no_output.
1314 Use command as test name.
1316 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1318 Fix test names starting with uppercase throughout the files.
1320 * gdb.ada/assign_1.exp
1321 * gdb.ada/boolean_expr.exp
1322 * gdb.base/arrayidx.exp
1324 * gdb.base/gcore-buffer-overflow.exp
1325 * gdb.base/testenv.exp
1326 * gdb.compile/compile.exp
1327 * gdb.python/py-framefilter-invalidarg.exp
1328 * gdb.python/py-framefilter.exp
1330 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1332 Fix test names starting with uppercase throughout the files.
1334 * gdb.ada/array_return.exp
1335 * gdb.ada/expr_delims.exp
1336 * gdb.ada/mi_dyn_arr.exp
1337 * gdb.ada/mi_interface.exp
1338 * gdb.ada/mi_var_array.exp
1339 * gdb.ada/watch_arg.exp
1340 * gdb.arch/alpha-step.exp
1341 * gdb.arch/altivec-regs.exp
1342 * gdb.arch/e500-regs.exp
1343 * gdb.arch/powerpc-d128-regs.exp
1344 * gdb.base/arrayidx.exp
1345 * gdb.base/break.exp
1346 * gdb.base/checkpoint.exp
1347 * gdb.base/debug-expr.exp
1348 * gdb.base/dmsym.exp
1349 * gdb.base/radix.exp
1350 * gdb.base/sepdebug.exp
1351 * gdb.base/testenv.exp
1352 * gdb.base/watch_thread_num.exp
1353 * gdb.base/watchpoint-cond-gone.exp
1354 * gdb.cell/break.exp
1355 * gdb.cell/ea-cache.exp
1356 * gdb.compile/compile.exp
1357 * gdb.cp/gdb2495.exp
1358 * gdb.gdb/selftest.exp
1359 * gdb.gdb/xfullpath.exp
1361 * gdb.go/integers.exp
1362 * gdb.objc/basicclass.exp
1363 * gdb.pascal/hello.exp
1364 * gdb.pascal/integers.exp
1365 * gdb.python/py-breakpoint.exp
1366 * gdb.python/py-cmd.exp
1367 * gdb.python/py-linetable.exp
1368 * gdb.python/py-xmethods.exp
1369 * gdb.python/python.exp
1370 * gdb.reverse/consecutive-precsave.exp
1371 * gdb.reverse/finish-precsave.exp
1372 * gdb.reverse/i386-precsave.exp
1373 * gdb.reverse/machinestate-precsave.exp
1374 * gdb.reverse/sigall-precsave.exp
1375 * gdb.reverse/solib-precsave.exp
1376 * gdb.reverse/step-precsave.exp
1377 * gdb.reverse/until-precsave.exp
1378 * gdb.reverse/watch-precsave.exp
1379 * gdb.threads/leader-exit.exp
1380 * gdb.threads/pthreads.exp
1381 * gdb.threads/wp-replication.exp
1382 * gdb.trace/actions.exp
1383 * gdb.trace/mi-tsv-changed.exp
1386 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1388 Fix test names starting with uppercase throughout the files.
1390 * gdb.arch/i386-bp_permanent.exp
1391 * gdb.arch/i386-gnu-cfi.exp
1392 * gdb.base/disasm-end-cu.exp
1393 * gdb.base/macscp.exp
1394 * gdb.base/pending.exp
1395 * gdb.base/watch_thread_num.exp
1396 * gdb.cp/exception.exp
1397 * gdb.cp/gdb2495.exp
1399 * gdb.python/py-evsignal.exp
1400 * gdb.python/python.exp
1401 * gdb.trace/tracecmd.exp
1403 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1405 Fix test names starting with uppercase throughout the files.
1407 * gdb.base/charset.exp
1409 * gdb.base/multi-forks.exp
1410 * gdb.guile/scm-progspace.exp
1411 * gdb.opencl/datatypes.exp
1412 * gdb.python/py-block.exp
1413 * gdb.python/py-function.exp
1414 * gdb.python/py-symbol.exp
1415 * gdb.python/py-symtab.exp
1416 * gdb.python/py-xmethods.exp
1417 * gdb.reverse/break-precsave.exp
1418 * gdb.reverse/break-reverse.exp
1419 * gdb.reverse/consecutive-precsave.exp
1420 * gdb.reverse/consecutive-reverse.exp
1421 * gdb.reverse/finish-precsave.exp
1422 * gdb.reverse/finish-reverse-bkpt.exp
1423 * gdb.reverse/finish-reverse.exp
1424 * gdb.reverse/fstatat-reverse.exp
1425 * gdb.reverse/getresuid-reverse.exp
1426 * gdb.reverse/i386-precsave.exp
1427 * gdb.reverse/i386-reverse.exp
1428 * gdb.reverse/i386-sse-reverse.exp
1429 * gdb.reverse/i387-stack-reverse.exp
1430 * gdb.reverse/insn-reverse.exp
1431 * gdb.reverse/machinestate-precsave.exp
1432 * gdb.reverse/machinestate.exp
1433 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1434 * gdb.reverse/pipe-reverse.exp
1435 * gdb.reverse/readv-reverse.exp
1436 * gdb.reverse/recvmsg-reverse.exp
1437 * gdb.reverse/rerun-prec.exp
1438 * gdb.reverse/s390-mvcle.exp
1439 * gdb.reverse/sigall-precsave.exp
1440 * gdb.reverse/sigall-reverse.exp
1441 * gdb.reverse/solib-precsave.exp
1442 * gdb.reverse/solib-reverse.exp
1443 * gdb.reverse/step-precsave.exp
1444 * gdb.reverse/step-reverse.exp
1445 * gdb.reverse/time-reverse.exp
1446 * gdb.reverse/until-precsave.exp
1447 * gdb.reverse/until-reverse.exp
1448 * gdb.reverse/waitpid-reverse.exp
1449 * gdb.reverse/watch-precsave.exp
1450 * gdb.reverse/watch-reverse.exp
1452 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1454 Fix test names starting with uppercase throughout the files.
1456 * gdb.arch/i386-mpx-simple_segv.exp
1457 * gdb.arch/i386-mpx.exp
1458 * gdb.arch/i386-permbkpt.exp
1459 * gdb.arch/pa-nullify.exp
1460 * gdb.arch/powerpc-d128-regs.exp
1461 * gdb.arch/vsx-regs.exp
1462 * gdb.base/bfp-test.exp
1463 * gdb.base/break.exp
1464 * gdb.base/breakpoint-shadow.exp
1465 * gdb.base/callfuncs.exp
1466 * gdb.base/charset.exp
1467 * gdb.base/commands.exp
1468 * gdb.base/completion.exp
1469 * gdb.base/dfp-test.exp
1471 * gdb.base/ending-run.exp
1473 * gdb.base/expand-psymtabs.exp
1474 * gdb.base/float128.exp
1475 * gdb.base/floatn.exp
1476 * gdb.base/foll-exec-mode.exp
1477 * gdb.base/gdb1056.exp
1478 * gdb.base/gdb11531.exp
1479 * gdb.base/kill-after-signal.exp
1480 * gdb.base/multi-forks.exp
1481 * gdb.base/overlays.exp
1482 * gdb.base/pending.exp
1483 * gdb.base/sepdebug.exp
1484 * gdb.base/testenv.exp
1485 * gdb.base/valgrind-db-attach.exp
1486 * gdb.base/watch_thread_num.exp
1487 * gdb.base/watchpoint-cond-gone.exp
1488 * gdb.base/watchpoint.exp
1489 * gdb.base/watchpoints.exp
1490 * gdb.cp/arg-reference.exp
1491 * gdb.cp/baseenum.exp
1492 * gdb.cp/operator.exp
1494 * gdb.dwarf2/dw2-op-out-param.exp
1495 * gdb.dwarf2/dw2-reg-undefined.exp
1498 * gdb.go/integers.exp
1499 * gdb.go/methods.exp
1500 * gdb.go/package.exp
1501 * gdb.guile/scm-parameter.exp
1502 * gdb.guile/scm-progspace.exp
1503 * gdb.guile/scm-value.exp
1504 * gdb.mi/mi-pending.exp
1505 * gdb.mi/user-selected-context-sync.exp
1506 * gdb.multi/multi-attach.exp
1507 * gdb.multi/tids.exp
1508 * gdb.opt/clobbered-registers-O2.exp
1509 * gdb.pascal/floats.exp
1510 * gdb.pascal/integers.exp
1511 * gdb.python/py-block.exp
1512 * gdb.python/py-events.exp
1513 * gdb.python/py-parameter.exp
1514 * gdb.python/py-symbol.exp
1515 * gdb.python/py-symtab.exp
1516 * gdb.python/py-type.exp
1517 * gdb.python/py-value.exp
1518 * gdb.python/py-xmethods.exp
1519 * gdb.python/python.exp
1520 * gdb.reverse/break-precsave.exp
1521 * gdb.reverse/consecutive-precsave.exp
1522 * gdb.reverse/finish-precsave.exp
1523 * gdb.reverse/i386-precsave.exp
1524 * gdb.reverse/machinestate-precsave.exp
1525 * gdb.reverse/sigall-precsave.exp
1526 * gdb.reverse/solib-precsave.exp
1527 * gdb.reverse/step-precsave.exp
1528 * gdb.reverse/until-precsave.exp
1529 * gdb.reverse/watch-precsave.exp
1530 * gdb.server/ext-attach.exp
1531 * gdb.server/ext-restart.exp
1532 * gdb.server/ext-run.exp
1533 * gdb.server/ext-wrapper.exp
1534 * gdb.stabs/gdb11479.exp
1535 * gdb.stabs/weird.exp
1536 * gdb.threads/attach-many-short-lived-threads.exp
1537 * gdb.threads/kill.exp
1538 * gdb.threads/watchpoint-fork.exp
1540 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1542 Fix test names starting with uppercase throughout all the files below.
1544 * gdb.ada/array_return.exp
1545 * gdb.ada/catch_ex.exp
1546 * gdb.ada/info_exc.exp
1547 * gdb.ada/mi_catch_ex.exp
1548 * gdb.ada/mi_dyn_arr.exp
1549 * gdb.ada/mi_ex_cond.exp
1550 * gdb.ada/mi_exc_info.exp
1551 * gdb.ada/mi_interface.exp
1552 * gdb.ada/mi_task_arg.exp
1553 * gdb.ada/mi_task_info.exp
1554 * gdb.ada/mi_var_array.exp
1555 * gdb.arch/alpha-step.exp
1556 * gdb.arch/amd64-disp-step.exp
1557 * gdb.arch/arm-disp-step.exp
1558 * gdb.arch/disp-step-insn-reloc.exp
1559 * gdb.arch/e500-prologue.exp
1560 * gdb.arch/ftrace-insn-reloc.exp
1561 * gdb.arch/gdb1558.exp
1562 * gdb.arch/i386-bp_permanent.exp
1563 * gdb.arch/i386-disp-step.exp
1564 * gdb.arch/i386-float.exp
1565 * gdb.arch/i386-gnu-cfi.exp
1566 * gdb.arch/ia64-breakpoint-shadow.exp
1567 * gdb.arch/mips16-thunks.exp
1568 * gdb.arch/pa-nullify.exp
1569 * gdb.arch/powerpc-aix-prologue.exp
1570 * gdb.arch/powerpc-power.exp
1571 * gdb.arch/ppc-dfp.exp
1572 * gdb.arch/s390-tdbregs.exp
1573 * gdb.arch/spu-info.exp
1574 * gdb.arch/spu-ls.exp
1575 * gdb.arch/thumb-bx-pc.exp
1576 * gdb.base/advance.exp
1577 * gdb.base/annota-input-while-running.exp
1578 * gdb.base/arrayidx.exp
1579 * gdb.base/asmlabel.exp
1580 * gdb.base/async.exp
1581 * gdb.base/attach-wait-input.exp
1582 * gdb.base/auto-connect-native-target.exp
1583 * gdb.base/batch-preserve-term-settings.exp
1584 * gdb.base/bfp-test.exp
1585 * gdb.base/bigcore.exp
1586 * gdb.base/bp-permanent.exp
1587 * gdb.base/break-always.exp
1588 * gdb.base/break-fun-addr.exp
1589 * gdb.base/break-idempotent.exp
1590 * gdb.base/break-main-file-remove-fail.exp
1591 * gdb.base/break-probes.exp
1592 * gdb.base/break-unload-file.exp
1593 * gdb.base/break.exp
1594 * gdb.base/call-ar-st.exp
1595 * gdb.base/call-rt-st.exp
1596 * gdb.base/call-sc.exp
1597 * gdb.base/call-signal-resume.exp
1598 * gdb.base/call-strs.exp
1599 * gdb.base/callexit.exp
1600 * gdb.base/callfuncs.exp
1601 * gdb.base/catch-gdb-caused-signals.exp
1602 * gdb.base/catch-signal-siginfo-cond.exp
1603 * gdb.base/catch-syscall.exp
1604 * gdb.base/compare-sections.exp
1605 * gdb.base/cond-eval-mode.exp
1606 * gdb.base/condbreak-call-false.exp
1607 * gdb.base/consecutive-step-over.exp
1608 * gdb.base/cursal.exp
1609 * gdb.base/disabled-location.exp
1610 * gdb.base/disasm-end-cu.exp
1611 * gdb.base/display.exp
1612 * gdb.base/double-prompt-target-event-error.exp
1613 * gdb.base/dprintf-bp-same-addr.exp
1614 * gdb.base/dprintf-detach.exp
1615 * gdb.base/dprintf-next.exp
1616 * gdb.base/dprintf-non-stop.exp
1617 * gdb.base/dprintf-pending.exp
1618 * gdb.base/dso2dso.exp
1619 * gdb.base/ending-run.exp
1620 * gdb.base/enum_cond.exp
1621 * gdb.base/examine-backward.exp
1622 * gdb.base/exe-lock.exp
1623 * gdb.base/exec-invalid-sysroot.exp
1624 * gdb.base/execl-update-breakpoints.exp
1625 * gdb.base/execution-termios.exp
1626 * gdb.base/fileio.exp
1627 * gdb.base/fixsection.exp
1628 * gdb.base/foll-exec-mode.exp
1629 * gdb.base/foll-exec.exp
1630 * gdb.base/fork-running-state.exp
1631 * gdb.base/frame-args.exp
1632 * gdb.base/fullpath-expand.exp
1633 * gdb.base/func-ptr.exp
1634 * gdb.base/gcore-relro-pie.exp
1635 * gdb.base/gdb1090.exp
1636 * gdb.base/gdb1555.exp
1637 * gdb.base/global-var-nested-by-dso.exp
1638 * gdb.base/gnu-ifunc.exp
1639 * gdb.base/hbreak-in-shr-unsupported.exp
1640 * gdb.base/hbreak-unmapped.exp
1641 * gdb.base/hook-stop.exp
1642 * gdb.base/infcall-input.exp
1643 * gdb.base/info-fun.exp
1644 * gdb.base/info-shared.exp
1645 * gdb.base/interrupt-noterm.exp
1646 * gdb.base/jit-so.exp
1648 * gdb.base/line-symtabs.exp
1650 * gdb.base/longjmp.exp
1651 * gdb.base/macscp.exp
1652 * gdb.base/max-value-size.exp
1653 * gdb.base/nodebug.exp
1654 * gdb.base/nofield.exp
1655 * gdb.base/overlays.exp
1656 * gdb.base/paginate-after-ctrl-c-running.exp
1657 * gdb.base/paginate-bg-execution.exp
1658 * gdb.base/paginate-inferior-exit.exp
1659 * gdb.base/pending.exp
1660 * gdb.base/pr11022.exp
1661 * gdb.base/printcmds.exp
1662 * gdb.base/ptr-typedef.exp
1663 * gdb.base/ptype.exp
1664 * gdb.base/randomize.exp
1665 * gdb.base/range-stepping.exp
1666 * gdb.base/realname-expand.exp
1667 * gdb.base/relativedebug.exp
1668 * gdb.base/remote.exp
1669 * gdb.base/savedregs.exp
1670 * gdb.base/sepdebug.exp
1671 * gdb.base/set-noassign.exp
1672 * gdb.base/shlib-call.exp
1673 * gdb.base/shreloc.exp
1674 * gdb.base/sigaltstack.exp
1675 * gdb.base/sigbpt.exp
1676 * gdb.base/siginfo-addr.exp
1677 * gdb.base/siginfo-obj.exp
1678 * gdb.base/siginfo-thread.exp
1679 * gdb.base/signest.exp
1680 * gdb.base/signull.exp
1681 * gdb.base/sigrepeat.exp
1683 * gdb.base/so-impl-ld.exp
1684 * gdb.base/solib-corrupted.exp
1685 * gdb.base/solib-disc.exp
1686 * gdb.base/solib-display.exp
1687 * gdb.base/solib-overlap.exp
1688 * gdb.base/solib-search.exp
1689 * gdb.base/solib-symbol.exp
1690 * gdb.base/source-execution.exp
1691 * gdb.base/sss-bp-on-user-bp-2.exp
1692 * gdb.base/sss-bp-on-user-bp.exp
1693 * gdb.base/stack-checking.exp
1694 * gdb.base/stale-infcall.exp
1695 * gdb.base/step-break.exp
1696 * gdb.base/step-line.exp
1697 * gdb.base/step-over-exit.exp
1698 * gdb.base/step-test.exp
1699 * gdb.base/structs.exp
1700 * gdb.base/sym-file.exp
1701 * gdb.base/symtab-search-order.exp
1703 * gdb.base/type-opaque.exp
1704 * gdb.base/unload.exp
1705 * gdb.base/until-nodebug.exp
1706 * gdb.base/until.exp
1707 * gdb.base/unwindonsignal.exp
1708 * gdb.base/watch-cond.exp
1709 * gdb.base/watch-non-mem.exp
1710 * gdb.base/watch_thread_num.exp
1711 * gdb.base/watchpoint-reuse-slot.exp
1712 * gdb.base/watchpoint-solib.exp
1713 * gdb.base/watchpoint.exp
1714 * gdb.btrace/dlopen.exp
1716 * gdb.cell/break.exp
1720 * gdb.cell/dwarfaddr.exp
1721 * gdb.cell/ea-cache.exp
1722 * gdb.cell/ea-standalone.exp
1723 * gdb.cell/ea-test.exp
1724 * gdb.cell/f-regs.exp
1726 * gdb.cell/gcore.exp
1727 * gdb.cell/mem-access.exp
1728 * gdb.cell/ptype.exp
1729 * gdb.cell/registers.exp
1730 * gdb.cell/sizeof.exp
1731 * gdb.cell/solib-symbol.exp
1732 * gdb.cell/solib.exp
1733 * gdb.compile/compile-tls.exp
1734 * gdb.cp/exception.exp
1735 * gdb.cp/gdb2495.exp
1737 * gdb.cp/mb-inline.exp
1738 * gdb.cp/mb-templates.exp
1739 * gdb.cp/pr10687.exp
1741 * gdb.cp/scope-err.exp
1742 * gdb.cp/templates.exp
1743 * gdb.cp/virtfunc.exp
1744 * gdb.dwarf2/dw2-dir-file-name.exp
1745 * gdb.dwarf2/dw2-single-line-discriminators.exp
1746 * gdb.fortran/complex.exp
1747 * gdb.fortran/library-module.exp
1748 * gdb.guile/guile.exp
1749 * gdb.guile/scm-cmd.exp
1750 * gdb.guile/scm-frame-inline.exp
1751 * gdb.guile/scm-objfile.exp
1752 * gdb.guile/scm-pretty-print.exp
1753 * gdb.guile/scm-symbol.exp
1754 * gdb.guile/scm-type.exp
1755 * gdb.guile/scm-value.exp
1756 * gdb.linespec/keywords.exp
1757 * gdb.linespec/ls-errs.exp
1758 * gdb.linespec/macro-relative.exp
1759 * gdb.linespec/thread.exp
1760 * gdb.mi/mi-breakpoint-changed.exp
1761 * gdb.mi/mi-dprintf-pending.exp
1762 * gdb.mi/mi-fullname-deleted.exp
1763 * gdb.mi/mi-logging.exp
1764 * gdb.mi/mi-pending.exp
1765 * gdb.mi/mi-solib.exp
1766 * gdb.mi/new-ui-mi-sync.exp
1767 * gdb.mi/user-selected-context-sync.exp
1768 * gdb.multi/dummy-frame-restore.exp
1769 * gdb.multi/multi-arch-exec.exp
1770 * gdb.multi/remove-inferiors.exp
1771 * gdb.multi/watchpoint-multi-exit.exp
1772 * gdb.opt/solib-intra-step.exp
1773 * gdb.perf/backtrace.exp
1774 * gdb.perf/single-step.exp
1775 * gdb.perf/skip-command.exp
1776 * gdb.perf/skip-prologue.exp
1777 * gdb.perf/solib.exp
1778 * gdb.python/lib-types.exp
1779 * gdb.python/py-as-string.exp
1780 * gdb.python/py-bad-printers.exp
1781 * gdb.python/py-block.exp
1782 * gdb.python/py-breakpoint.exp
1783 * gdb.python/py-cmd.exp
1784 * gdb.python/py-events.exp
1785 * gdb.python/py-evthreads.exp
1786 * gdb.python/py-finish-breakpoint.exp
1787 * gdb.python/py-finish-breakpoint2.exp
1788 * gdb.python/py-frame-inline.exp
1789 * gdb.python/py-frame.exp
1790 * gdb.python/py-inferior.exp
1791 * gdb.python/py-infthread.exp
1792 * gdb.python/py-mi.exp
1793 * gdb.python/py-objfile.exp
1794 * gdb.python/py-pp-maint.exp
1795 * gdb.python/py-pp-registration.exp
1796 * gdb.python/py-prettyprint.exp
1797 * gdb.python/py-recurse-unwind.exp
1798 * gdb.python/py-shared.exp
1799 * gdb.python/py-symbol.exp
1800 * gdb.python/py-symtab.exp
1801 * gdb.python/py-template.exp
1802 * gdb.python/py-type.exp
1803 * gdb.python/py-unwind-maint.exp
1804 * gdb.python/py-unwind.exp
1805 * gdb.python/py-value.exp
1806 * gdb.python/python.exp
1807 * gdb.reverse/finish-reverse-bkpt.exp
1808 * gdb.reverse/insn-reverse.exp
1809 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1810 * gdb.reverse/solib-precsave.exp
1811 * gdb.reverse/solib-reverse.exp
1812 * gdb.stabs/gdb11479.exp
1813 * gdb.stabs/weird.exp
1814 * gdb.threads/fork-child-threads.exp
1815 * gdb.threads/fork-plus-threads.exp
1816 * gdb.threads/fork-thread-pending.exp
1817 * gdb.threads/forking-threads-plus-breakpoint.exp
1818 * gdb.threads/hand-call-in-threads.exp
1819 * gdb.threads/interrupted-hand-call.exp
1820 * gdb.threads/linux-dp.exp
1821 * gdb.threads/local-watch-wrong-thread.exp
1822 * gdb.threads/next-while-other-thread-longjmps.exp
1823 * gdb.threads/non-ldr-exit.exp
1824 * gdb.threads/pending-step.exp
1825 * gdb.threads/print-threads.exp
1826 * gdb.threads/process-dies-while-detaching.exp
1827 * gdb.threads/process-dies-while-handling-bp.exp
1828 * gdb.threads/pthreads.exp
1829 * gdb.threads/queue-signal.exp
1830 * gdb.threads/reconnect-signal.exp
1831 * gdb.threads/signal-command-handle-nopass.exp
1832 * gdb.threads/signal-command-multiple-signals-pending.exp
1833 * gdb.threads/signal-delivered-right-thread.exp
1834 * gdb.threads/signal-sigtrap.exp
1835 * gdb.threads/sigthread.exp
1836 * gdb.threads/staticthreads.exp
1837 * gdb.threads/stepi-random-signal.exp
1838 * gdb.threads/thread-unwindonsignal.exp
1839 * gdb.threads/thread_check.exp
1840 * gdb.threads/thread_events.exp
1841 * gdb.threads/tid-reuse.exp
1842 * gdb.threads/tls-nodebug.exp
1843 * gdb.threads/tls-shared.exp
1844 * gdb.threads/tls-so_extern.exp
1845 * gdb.threads/tls.exp
1846 * gdb.threads/wp-replication.exp
1847 * gdb.trace/actions-changed.exp
1848 * gdb.trace/actions.exp
1849 * gdb.trace/backtrace.exp
1850 * gdb.trace/change-loc.exp
1851 * gdb.trace/collection.exp
1852 * gdb.trace/deltrace.exp
1853 * gdb.trace/disconnected-tracing.exp
1854 * gdb.trace/entry-values.exp
1855 * gdb.trace/ftrace-lock.exp
1856 * gdb.trace/ftrace.exp
1857 * gdb.trace/infotrace.exp
1858 * gdb.trace/mi-trace-frame-collected.exp
1859 * gdb.trace/mi-trace-unavailable.exp
1860 * gdb.trace/mi-traceframe-changed.exp
1861 * gdb.trace/mi-tracepoint-changed.exp
1862 * gdb.trace/mi-tsv-changed.exp
1863 * gdb.trace/no-attach-trace.exp
1864 * gdb.trace/packetlen.exp
1865 * gdb.trace/passc-dyn.exp
1866 * gdb.trace/passcount.exp
1867 * gdb.trace/pending.exp
1868 * gdb.trace/pr16508.exp
1869 * gdb.trace/qtro.exp
1870 * gdb.trace/range-stepping.exp
1871 * gdb.trace/read-memory.exp
1872 * gdb.trace/report.exp
1873 * gdb.trace/save-trace.exp
1874 * gdb.trace/signal.exp
1875 * gdb.trace/stap-trace.exp
1876 * gdb.trace/status-stop.exp
1877 * gdb.trace/strace.exp
1878 * gdb.trace/tfile.exp
1879 * gdb.trace/tfind.exp
1880 * gdb.trace/trace-break.exp
1881 * gdb.trace/trace-condition.exp
1882 * gdb.trace/trace-enable-disable.exp
1883 * gdb.trace/trace-mt.exp
1884 * gdb.trace/tracecmd.exp
1885 * gdb.trace/tracefile-pseudo-reg.exp
1886 * gdb.trace/tspeed.exp
1887 * gdb.trace/tstatus.exp
1889 * gdb.trace/unavailable.exp
1890 * gdb.trace/while-dyn.exp
1891 * gdb.trace/while-stepping.exp
1894 * lib/mi-support.exp
1897 * lib/prelink-support.exp
1898 * lib/selftest-support.exp
1900 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1902 * Makefile.in: Include disable-implicit-rules.mk.
1904 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1906 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1907 non-byte-aligned bit fields.
1909 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1912 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1913 respects the DW_AT_data_bit_offset attribute.
1915 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1917 * gdb.base/default.exp: Fix output of "set language".
1919 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1921 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1922 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1924 * configure.ac: Remove checks for the make program.
1925 * configure: Re-generate.
1927 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1929 * gdb.python/py-recurse-unwind.c (main): Add loop.
1930 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1931 to read_register() and gdb.parse_and_eval(). Make each code
1932 call a separate case that can be individually tested.
1933 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1934 proc. Call cont_and_backtrace for each of the code paths that
1935 we want to test in the unwinder.
1937 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1939 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1940 the definition of struct S.
1942 2016-11-11 Catherine Moore <clm@codesourcery.com>
1944 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1946 2016-11-09 Pedro Alves <palves@redhat.com>
1948 * gdb.base/commands.exp (runto_or_return): New procedure.
1949 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1950 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1951 (progvar_simple_while_test, progvar_complex_if_while_test)
1952 (if_while_breakpoint_command_test)
1953 (infrun_breakpoint_command_test, breakpoint_command_test)
1954 (user_defined_command_test, watchpoint_command_test)
1955 (test_command_prompt_position, redefine_hook_test)
1956 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1957 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1958 multi_line_input and multi_line. Remove gdb_expect and
1959 gdb_stop_suppressing_tests uses.
1960 * lib/gdb.exp (valnum_re): New global.
1961 (multi_line_input): New procedure.
1963 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1965 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1967 (test_setup): Define with proc_with_prefix.
1968 (test_cli_inferior): Likewise.
1969 (test_cli_thread): Likewise.
1970 (test_cli_frame): Likewise.
1971 (test_cli_select_frame): Likewise.
1972 (test_cli_up_down): Likewise.
1973 (test_mi_thread_select): Likewise.
1974 (test_mi_stack_select_frame): Likewise.
1975 (test_cli_in_mi_inferior): Likewise.
1976 (test_cli_in_mi_thread): Likewise.
1977 (test_cli_in_mi_frame): Likewise.
1978 (top level): Do not use with_test_prefix_procname.
1980 2016-11-09 Pedro Alves <palves@redhat.com>
1982 * gdb.base/commands.exp (gdbvar_simple_if_test)
1983 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1984 (progvar_simple_if_test, progvar_simple_while_test)
1985 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1986 (infrun_breakpoint_command_test, breakpoint_command_test)
1987 (user_defined_command_test, watchpoint_command_test)
1988 (test_command_prompt_position, deprecated_command_test)
1989 (bp_deleted_in_command, temporary_breakpoint_commands)
1990 (stray_arg0_test, source_file_with_indented_comment)
1991 (recursive_source_test, if_commands_test)
1992 (error_clears_commands_left, redefine_hook_test)
1993 (redefine_backtrace_test): Use proc_with_prefix.
1994 * lib/gdb.exp (proc_with_prefix): New proc.
1996 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1998 * gdb.base/tui-layout.c: New file.
1999 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2000 disassembly window contains very long lines.
2002 2016-11-08 Tom Tromey <tom@tromey.com>
2004 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2007 2016-11-08 Tom Tromey <tom@tromey.com>
2009 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2012 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2014 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2016 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2018 * gdb.rust/simple.rs: Add test for univariant enums without
2019 discriminants and for encoded struct-like enums.
2021 2016-10-28 Pedro Alves <palves@redhat.com>
2023 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2024 gdb_test_multiple, tighten regexps and match symtabs and line
2025 tables incrementally.
2027 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2029 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2032 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2034 * gdb.base/exec-invalid-sysroot.exp: New file.
2036 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2038 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2040 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2042 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2044 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2046 * gdb.base/killed-outside.exp: Remove $options from a call to
2047 `prepare_for_testing'.
2049 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2051 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2052 Change test message.
2054 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2056 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2059 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2061 * gdb.trace/mi-trace-save.exp: New file.
2063 2016-10-13 Yao Qi <yao.qi@linaro.org>
2065 * gdb.base/code_elim.exp (get_var_address): Remove.
2066 * gdb.base/relocate.exp: Likewise.
2067 * gdb.base/shreloc.exp: Likewise.
2068 * lib/gdb.exp (get_var_address): New.
2070 2016-10-13 Yao Qi <yao.qi@linaro.org>
2072 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2073 floating point tests if $skip_float_test is false.
2075 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2077 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2078 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2080 Add 1 to argc so we guarantee distinct initial/modified argc values.
2082 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2084 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2086 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2088 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2089 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2090 * gdb.arch/vsx-regs.exp: Likewise.
2092 2016-10-07 Yao Qi <yao.qi@linaro.org>
2094 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2096 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2098 * gdb.python/python.exp: Test decode_line("*0").
2100 2016-10-06 Doug Evans <dje@google.com>
2102 * gdb.python/py-value.exp (test_value_creation): Add test for large
2103 unsigned 64-bit value.
2105 2016-10-06 Tom Tromey <tom@tromey.com>
2107 * gdb.compile/compile.exp: Change java tests to rust.
2108 * gdb.base/setshow.exp: Change java tests to rust.
2109 * gdb.base/default.exp: Remove java from language list.
2110 * README (Examples): Update language example.
2111 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2113 * lib/gdb.exp (skip_java_tests): Remove.
2114 * lib/java.exp: Remove.
2117 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2119 * gdb.arch/mips-fcr.exp: New test.
2120 * gdb.arch/mips-fcr.c: Source for the new test.
2122 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2124 * gdb.base/solib-disc.exp: Use `standard_output_file'
2127 2016-10-06 Pedro Alves <palves@redhat.com>
2129 * gdb.base/jit-simple-dl.c: New file.
2130 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2131 * gdb.base/jit-simple.c: ... this.
2132 * gdb.base/jit-simple.exp (jit_run): Delete.
2133 (build_jit): New proc.
2134 (jit_test_reread): Recompile either the main program or the shared
2135 library, depending on what is being tested. Skip changing address
2136 if caller wants to. Compare before/after addresses. If testing
2137 standalone, explicitly load the binary. Test "maint info
2139 (top level): Add "standalone vs shared lib" and "change address"
2140 vs "same address" axes.
2142 2016-10-06 Pedro Alves <palves@redhat.com>
2144 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2147 (jit_test_reread): Use with_test_prefix. Reload the main binary
2148 explicitly. Compare the before/after addresses of the JIT
2151 2016-08-15 Doug Evans <dje@google.com>
2153 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2154 for single bitfields is bool.
2155 * gdb.xml/tdesc-regs.exp: Ditto.
2157 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2159 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2161 2016-10-05 Yao Qi <yao.qi@linaro.org>
2163 * lib/gdb.exp (support_complex_tests): Return zero if
2164 gdb_skip_float_test return true.
2166 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2167 Simon Marchi <simon.marchi@ericsson.com>
2170 * gdb.mi/user-selected-context-sync.exp: New file.
2171 * gdb.mi/user-selected-context-sync.c: New file.
2173 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2174 Simon Marchi <simon.marchi@ericsson.com>
2177 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2178 =thread-select-event check.
2180 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2182 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2183 the compulsory L operand changes.
2184 * gdb.arch/powerpc-power.s: Likewise.
2186 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2188 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2189 * gdb.base/jit-attach-pie.c: New file.
2190 * gdb.base/jit-attach-pie.exp: New file.
2192 2016-09-28 Pedro Alves <palves@redhat.com>
2194 * gdb.base/infcall-input.c: New file.
2195 * gdb.base/infcall-input.exp: New file.
2197 2016-09-22 Yao Qi <yao.qi@linaro.org>
2199 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2200 (gdb_exit): Rename it to ...
2201 (gdbserver_gdb_exit): ... Close GDBserver.
2202 (gdb_exit): New proc, call gdbserver_gdb_exit.
2203 (mi_gdb_exit): Likewise.
2205 2016-09-22 Yao Qi <yao.qi@linaro.org>
2207 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2209 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2212 2016-09-22 Yao Qi <yao.qi@linaro.org>
2214 * lib/gdbserver-support.exp: Check the existence of
2215 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2217 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2219 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2221 2016-09-21 Tom Tromey <tom@tromey.com>
2224 * gdb.base/quit.exp: New file.
2226 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2228 * .gitignore: New file.
2230 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2232 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2235 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2237 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2239 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2241 * gdb.cp/casts.cc (decltype): Move it ...
2242 (main): ... with its call to ...
2243 * gdb.cp/casts03.cc: ... a new file.
2244 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2246 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2248 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2250 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2252 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2253 and sync up the test with tests in gas/testsuite/gas/ppc.
2254 * gdb.arch/powerpc-power.exp: Likewise.
2256 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2258 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2260 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2261 Jan Kratochvil <jan.kratochvil@redhat.com>
2263 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2264 make m1's definition to be different from m2's. Use 'dummy' as an
2265 argument for probe 'two'.
2267 2016-09-10 Jon Beniston <jon@beniston.com>
2269 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2272 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2274 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2275 variable declaration.
2276 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2277 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2278 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2279 received HWCAP as its argument.
2281 2016-09-06 Pedro Alves <palves@redhat.com>
2283 * gdb.base/new-ui-pending-input.c: New file.
2284 * gdb.base/new-ui-pending-input.exp: New file.
2285 * gdb.exp (clear_gdb_spawn_id): New procedure.
2286 (with_spawn_id): Check whether gdb_spawn_id exists before
2287 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2290 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2292 * gdb.base/float128.c: New file.
2293 * gdb.base/float128.exp: Likewise.
2294 * gdb.base/floatn.c: Likewise.
2295 * gdb.base/floatn.exp: Likewise.
2297 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2299 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2301 2016-09-05 Pedro Alves <palves@redhat.com>
2304 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2305 unwinders are immediately called as side effect of "source" or
2306 "disable unwinder" commands.
2307 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2309 2016-09-02 Yao Qi <yao.qi@linaro.org>
2311 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2312 is true and $type is "float" or "double".
2314 2016-09-02 Yao Qi <yao.qi@linaro.org>
2316 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2318 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2319 * gdb.base/call-rt-st.exp: Likewise.
2320 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2321 return value instead of gdb,skip_float_test.
2322 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2323 (do_function_calls): Use its return value instead of
2324 gdb,skip_float_test.
2325 * gdb.base/finish.exp: Likewise.
2326 * gdb.base/funcargs.exp: Likewise.
2327 * gdb.base/return.exp: Likewise.
2328 * gdb.base/return2.exp: Likewise.
2329 * gdb.base/varargs.exp: Likewise.
2330 * lib/gdb.exp (gdb_skip_float_test): Change it to
2331 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2333 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2335 * gdb.multi/tids.exp: Test "thread apply all".
2337 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2339 * gdb.base/default.exp (tty): Remove.
2341 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2343 * gdb.python/py-recurse-unwind.c: New file.
2344 * gdb.python/py-recurse-unwind.py: New file.
2345 * gdb.python/py-recurse-unwind.exp: New file.
2347 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2349 * gdb.base/set-inferior-tty.exp: New file.
2350 * gdb.base/set-inferior-tty.c: New file.
2352 2016-08-23 Pedro Alves <palves@redhat.com>
2355 * gdb.base/new-ui-echo.c: New file.
2356 * gdb.base/new-ui-echo.exp: New file.
2358 2016-08-23 Yao Qi <yao.qi@linaro.org>
2360 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2362 * gdb.server/connect-without-multi-process.exp (do_test):
2365 2016-08-23 Yao Qi <yao.qi@linaro.org>
2367 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2368 standalone_txt. Delete gdb_txt and standalone_txt on host
2369 and target. Spawn the binary on target. Copy files from
2372 2016-08-22 Pedro Alves <palves@redhat.com>
2375 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2376 with_test_prefix. Factor out bits to ...
2377 (test_no_vdso): ... this new procedure.
2379 2016-08-19 Carl Love <cel@us.ibm.com>
2381 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2382 maintaining separate logic for constructing the output path.
2383 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2384 * gdb.arch/ppc-dfp.exp: Likewise.
2385 * gdb.arch/ppc-fp.exp: Likewise.
2386 * gdb.arch/vsx-regs.exp: Likewise.
2387 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2388 binprefix for generating the additional binary files.
2390 2016-08-19 Pedro Alves <palves@redhat.com>
2392 * gdb.trace/mi-trace-frame-collected.exp
2393 (test_trace_frame_collected): On x32, expect two registers.
2395 2016-08-18 Carl Love <cel@us.ibm.com>
2397 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2398 and sync up the test with tests in gas/testsuite/gas/ppc.
2399 * gdb.arch/powerpc-power.exp: Likewise.
2401 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2403 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2404 expected error message.
2406 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2408 * gdb.multi/remove-inferiors.exp: New file.
2409 * gdb.multi/remove-inferiors.c: New file.
2411 2016-08-12 Yao Qi <yao.qi@linaro.org>
2413 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2416 2016-08-10 Pedro Alves <palves@redhat.com>
2419 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2422 2016-08-09 Pedro Alves <palves@redhat.com>
2423 Simon Marchi <simon.marchi@ericsson.com>
2426 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2427 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2429 2016-08-09 Pedro Alves <palves@redhat.com>
2432 * gdb.mi/mi-cmd-error.exp: New file.
2434 2016-08-09 Pedro Alves <palves@redhat.com>
2437 * gdb.base/signals-state-child.c: New file.
2438 * gdb.base/signals-state-child.exp: New file.
2439 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2441 2016-08-09 Pedro Alves <palves@redhat.com>
2443 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2445 2016-08-03 Tom Tromey <tom@tromey.com>
2448 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2450 2016-08-01 Yao Qi <yao.qi@linaro.org>
2452 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2453 variable mode to "multi-process" if $multi_process is 1, otherwise
2454 set it to "single-process".
2456 2016-08-01 Yao Qi <yao.qi@linaro.org>
2458 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2459 * gdb.cp/cpexprs.exp: Likewise.
2460 * gdb.cp/m-static.exp: Likewise.
2462 2016-07-26 Tom Tromey <tom@tromey.com>
2465 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2468 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2470 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2471 selecting assembly source files.
2472 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2473 assembly source files.
2474 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2475 assembly source files.
2476 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2477 selecting assembly source files.
2479 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2481 * gdb.base/new-ui.exp (do_test_invalid_args): New
2484 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2486 * gdb.btrace/reconnect.c: New file.
2487 * gdb.btrace/reconnect.exp: New file.
2489 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2491 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2492 to test_catch_syscall_group.
2493 (test_catch_syscall_group): New.
2495 2016-07-21 Tom Tromey <tom@tromey.com>
2497 * gdb.rust/simple.rs (main): Use empty struct expression.
2498 * gdb.rust/simple.exp: Add tests for empty struct expression.
2500 2016-07-21 Yao Qi <yao.qi@linaro.org>
2502 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2503 if gdb_skip_xml_test is true on some targets.
2505 2016-07-21 Yao Qi <yao.qi@linaro.org>
2507 * gdb.server/solib-list.exp: Unset last_loaded_file.
2509 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2511 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2512 "step into captured_main (args)".
2514 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2516 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2518 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2520 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2522 2016-07-19 Pedro Alves <palves@redhat.com>
2524 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2525 * gdb.opt/inline-bt.exp: Likewise.
2526 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2527 additional_flags=-Winline.
2528 * gdb.opt/inline-locals.exp: Likewise.
2529 * gdb.opt/inline-markers.c (ATTR): Define.
2530 (inlined_fn): Use it.
2532 2016-07-19 Yao Qi <yao.qi@linaro.org>
2534 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2535 (test_with_self): Remove some code. Remove argument executable.
2536 (top-level): Use do_self_tests.
2538 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2539 Don Breazeal <donb@codesourcery.com>
2541 * gdb.base/maint.exp: Escape paths used in regular expressions.
2542 * gdb.stabs/weird.exp: Likewise.
2544 2016-07-13 Tom Tromey <tom@tromey.com>
2546 PR python/15620, PR python/18620:
2547 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2548 (test_bkpt_events): New procs.
2550 2016-07-13 Tom Tromey <tom@tromey.com>
2553 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2555 (test_watchpoints): Likewise.
2556 (test_bkpt_pending): New proc.
2558 2016-07-13 Tom Tromey <tom@tromey.com>
2561 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2564 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2566 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2567 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2568 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2570 (g): Rename g_end_lbl to g_label.
2571 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2573 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2575 2016-07-12 Tom Tromey <tom@tromey.com>
2578 * gdb.python/py-unwind-maint.exp: Update tests.
2580 2016-07-12 Yao Qi <yao.qi@linaro.org>
2582 * lib/selftest-support.exp (selftest_setup): Match the output
2583 when captured_main is inlined.
2585 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2587 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2589 (print this%a, print this%b, print this): New tests.
2590 * gdb.fortran/derived-types.f90 (this): New object and
2593 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2595 * gdb.ada/arraydim.exp: Remove extra directory level in build
2598 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2600 * lib/ada.exp: Remove extra directory level in build directory.
2601 * gdb.ada/cond_lang.exp: Likewise.
2602 * gdb.ada/exec_changed.exp: Likewise.
2603 * gdb.ada/lang_switch.exp: Likewise.
2605 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2607 * simple.rs: Add test for raw pointer subscripting.
2608 * simple.exp: Add test expectations.
2610 2016-07-05 Yao Qi <yao.qi@linaro.org>
2612 * gdb.mi/mi-reverse.exp: Match =record-started output.
2614 2016-07-01 Pedro Alves <palves@redhat.com>
2616 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2618 (jit_reader_test): Test the jit reader's unwinder.
2619 * gdb.base/jithost.c (jit_function_00_code): New global.
2620 (main): Use memcpy to fill in the mmapped code, instead of poking
2621 bytes manually here.
2622 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2624 (read_debug_info): Save the function's range.
2625 (read_sp): New function.
2626 (unwind_frame): Use it. Also unwind RBP.
2627 (get_frame_id): Use read_sp.
2628 (gdb_init_reader): Use calloc instead of malloc.
2629 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2630 parameter. Use gdb_test_multiple.
2632 2016-07-01 Pedro Alves <palves@redhat.com>
2633 Antoine Tremblay <antoine.tremblay@ericsson.com>
2635 * gdb.threads/process-dies-while-detaching.c: New file.
2636 * gdb.threads/process-dies-while-detaching.exp: New file.
2638 2016-07-01 Pedro Alves <palves@redhat.com>
2640 * gdb.multi/watchpoint-multi-exit.c: New file.
2641 * gdb.multi/watchpoint-multi-exit.exp: New file.
2643 2016-06-30 Pedro Alves <palves@redhat.com>
2645 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2646 unset inferior_spawn_id.
2648 2016-06-30 Pedro Alves <palves@redhat.com>
2650 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2651 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2653 2016-06-29 Yao Qi <yao.qi@linaro.org>
2655 * gdb.base/return.c: Add copyright header.
2657 2016-06-29 Tom Tromey <tom@tromey.com>
2660 * gdb.python/py-framefilter.exp: Add tests for setting priority
2661 and disabling of non-existent frame filter.
2663 2016-06-29 Yao Qi <yao.qi@linaro.org>
2665 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2668 2016-06-28 Yao Qi <yao.qi@linaro.org>
2670 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2671 triplets. Start gdb, execute catch syscall, and continue. Check
2672 gdb's output to determine catch syscall is supported.
2674 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2676 * gdb.rust/simple.rs: Add test for returning unit in a function.
2677 * gdb.rust/simple.exp: Add expectation for functions returning
2680 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2682 * gdb.python/py-breakpoint-create-fail.c,
2683 gdb.python/py-breakpoint-create-fail.exp,
2684 gdb.python/py-breakpoint-create-fail.py: New testcase.
2686 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2689 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2690 * gdb.rust/simple.exp: Add test expectations for new NonZero
2693 2016-06-24 David Taylor <dtaylor@emc.com>
2695 * gdb.base/offsets.exp: New file.
2696 * gdb.base/offsets.c: New file.
2698 2016-06-23 Tom Tromey <tom@tromey.com>
2701 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2702 before any filters are loaded.
2704 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2706 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2707 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2709 * gdb.fortran/derived-type-function.exp: New file.
2710 * gdb.fortran/derived-type-function.f90: New file.
2713 2016-06-21 Pedro Alves <palves@redhat.com>
2715 * gdb.base/new-ui.exp: New file.
2716 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2717 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2718 (with_spawn_id): New procedure.
2720 2016-06-21 Pedro Alves <palves@redhat.com>
2722 * gdb.mi/mi-exec-run.exp: New file.
2724 2016-06-21 Pedro Alves <palves@redhat.com>
2726 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2727 breakpoint command's output on the main UI.
2728 (test_break): New procedure, factored out from calls in the top
2730 (top level): Use foreach_with_prefix to test MI as main UI and as
2733 2016-06-21 Pedro Alves <palves@redhat.com>
2735 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2736 (test_awatch_creation_and_listing)
2737 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2738 Remove 'type' parameter.
2739 (test_watchpoint_all): New parameter mi_mode. Remove
2741 (top level): Use foreach_with_prefix, and add main/separate UI MI
2744 2016-06-21 Pedro Alves <palves@redhat.com>
2746 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2747 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2748 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2749 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2750 (gdb_main_spawn_id, mi_spawn_id): Declare and
2752 (mi_create_inferior_pty): New procedure,
2753 factored out from default_mi_gdb_start.
2754 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2756 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2757 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2758 Use mi_create_inferior_pty.
2759 (mi_gdb_start): Use eval to pass down args list.
2761 2016-06-21 Pedro Alves <palves@redhat.com>
2763 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2764 * gdb.opt/inline-cmds.exp: Add MI tests.
2766 2016-06-21 Pedro Alves <palves@redhat.com>
2768 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2770 2016-06-21 Pedro Alves <palves@redhat.com>
2772 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2773 (top level): Use it instead of mi_execute_to.
2775 2016-06-21 Pedro Alves <palves@redhat.com>
2777 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2778 (cont_handler_str): New.
2779 (signal_stop_handler): Set stop_handler_str instead of printing to
2781 (continue_handler): Set cont_handler_str instead of printing to
2783 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2784 mi_send_resuming_command. Print stop_handler_str and
2785 cont_handler_str instead of expecting the python events print
2788 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2790 * gdb.base/jit-reader.exp: New file.
2791 * gdb.base/jithost.c: New file.
2792 * gdb.base/jithost.h: New file.
2793 * gdb.base/jitreader.c : New file.
2794 * gdb.base/jit-protocol.h: New file.
2796 2016-06-17 Yao Qi <yao.qi@linaro.org>
2798 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2799 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2800 and detach-on-fork. Adjust tests.
2801 (top level): Invoke break_cond_on_syscall with combinations of
2802 syscall, follow-fork-mode and detach-on-fork.
2804 2016-06-17 Yao Qi <yao.qi@linaro.org>
2806 * gdb.base/step-over-exit.c: New.
2807 * gdb.base/step-over-exit.exp: New.
2809 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2811 * gdb.base/float.exp: Add target check for nds32*-*-*.
2812 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2814 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2816 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2817 for unsupported target features.
2818 * gdb.base/call-rt-st.exp: Likewise.
2819 * gdb.base/call-sc.exp: Likewise.
2820 * gdb.base/call-signal-resume.exp: Likewise.
2821 * gdb.base/call-strs.exp: Likewise.
2822 * gdb.base/callexit.exp: Likewise.
2823 * gdb.base/callfuncs.exp: Likewise.
2824 * gdb.base/nodebug.exp: Likewise.
2825 * gdb.base/printcmds.exp: Likewise.
2826 * gdb.base/ptype.exp: Likewise.
2827 * gdb.base/structs.exp: Likewise.
2828 * gdb.base/unwindonsignal.exp: Likewise.
2829 * gdb.cp/gdb2495.exp: Likewise.
2830 * gdb.cp/templates.exp: Likewise.
2831 * gdb.cp/virtfunc.exp: Likewise.
2832 * gdb.threads/hand-call-in-threads.exp: Likewise.
2833 * gdb.threads/interrupted-hand-call.exp: Likewise.
2834 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2836 2016-06-10 Tom Tromey <tom@tromey.com>
2839 * gdb.rust/expr.exp: Add test for integer constant larger than
2842 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2844 * gdb.fortran/nested-funcs.exp: New.
2845 * gdb.fortran/nested-funcs.f90: New.
2847 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2849 * gdb.base/examine-backward.c: New file.
2850 * gdb.base/examine-backward.exp: New file.
2852 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2854 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2857 2016-06-02 Tom Tromey <tom@tromey.com>
2860 * gdb.python/py-shared.exp: Add solib_name test.
2862 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2864 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2866 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2869 * gdb.dwarf2/implref.exp: Rename to...
2870 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2871 * gdb.dwarf2/implref-array.c: New file.
2872 * gdb.dwarf2/implref-array.exp: Likewise.
2873 * gdb.dwarf2/implref-global.c: Likewise.
2874 * gdb.dwarf2/implref-global.exp: Likewise.
2875 * gdb.dwarf2/implref-struct.c: Likewise.
2876 * gdb.dwarf2/implref-struct.exp: Likewise.
2878 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2880 * gdb.trace/trace-condition.exp: Add 64bit tests.
2882 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2884 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2886 (main): Adapt to 8 to 64 bits types.
2887 * gdb.trace/trace-condition.exp: Add new tests.
2889 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2891 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2893 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2895 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2896 Move condition tests...
2897 * gdb.trace/trace-condition.exp: Here.
2899 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2901 * gdb.trace/trace-condition.exp: Add counter-case tests.
2903 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2906 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2907 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2909 2016-05-27 Pedro Alves <palves@redhat.com>
2911 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2913 (top level): Call it, and bail out of DejaGnu is known to be bad.
2915 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2917 * gdb.base/whatis.c: Extend the test case.
2918 * gdb.base/whatis.exp: Add additional tests.
2920 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2922 * gdb.fortran/type.f90: Add pointer variable.
2923 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2925 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2927 * gdb.fortran/vla-type.exp: Fix testcase name.
2929 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2931 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2933 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2935 * gdb.fortran/type.f90: Add nested structures.
2936 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2937 * gdb.fortran/derived-type.exp: Adapt expected output.
2938 * gdb.fortran/vla-type.exp: Adapt expected output.
2940 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2942 * gdb.fortran/whatis_type.exp: Adapt expected output.
2944 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2946 * gdb.fortran/print_type.exp: Fix expected output.
2947 * gdb.fortran/whatis_type.exp: Fix expected output.
2949 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2951 * gdb.fortran/whatis_type.exp: Use multi_line.
2953 2016-05-24 Tom Tromey <tom@tromey.com>
2956 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2957 use value as an index.
2959 2016-05-23 Tom Tromey <tom@tromey.com>
2962 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2965 2016-05-24 Pedro Alves <palves@redhat.com>
2968 * gdb.threads/clone-attach-detach.c: New file.
2969 * gdb.threads/clone-attach-detach.exp: New file.
2971 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2973 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2975 2016-05-23 Tom Tromey <tom@tromey.com>
2977 PR python/19438, PR python/18393:
2978 * gdb.python/py-progspace.exp: Add "dir" test.
2979 * gdb.python/py-objfile.exp: Add "dir" test.
2981 2016-05-23 Yao Qi <yao.qi@linaro.org>
2983 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2984 * gdb.arch/thumb2-it.exp: Likewise.
2986 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2988 * gdb.mi/mi-threads-interrupt.c: New file.
2989 * gdb.mi/mi-threads-interrupt.exp: New file.
2991 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2994 * gdb.mi/mi-async-run.exp: New file.
2995 * gdb.mi/mi-async-run.c: New file.
2997 2016-05-17 Tom Tromey <tom@tromey.com>
2998 Manish Goregaokar <manishsmail@gmail.com>
3000 * lib/rust-support.exp: New file.
3001 * lib/gdb.exp (skip_rust_tests): New proc.
3002 (build_executable_from_specs): Handle rust.
3003 * lib/future.exp (gdb_find_rustc): New proc.
3004 (gdb_default_target_compile): Handle rust.
3005 * gdb.rust/expr.exp: New file.
3006 * gdb.rust/generics.exp: New file.
3007 * gdb.rust/generics.rs: New file.
3008 * gdb.rust/methods.exp: New file.
3009 * gdb.rust/methods.rs: New file.
3010 * gdb.rust/modules.exp: New file.
3011 * gdb.rust/modules.rs: New file.
3012 * gdb.rust/simple.exp: New file.
3013 * gdb.rust/simple.rs: New file.
3015 2016-05-17 Tom Tromey <tom@tromey.com>
3017 * gdb.base/default.exp (set language): Add rust.
3019 2016-05-17 Tom Tromey <tom@tromey.com>
3021 * gdb.gdb/unittest.exp: New file.
3023 2016-05-16 Yao Qi <yao.qi@linaro.org>
3025 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3026 shell_prompt. Update shell_prompt_re.
3028 2016-05-12 Doug Evans <dje@google.com>
3031 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3032 $options when building executable.
3033 * gdb.dwarf2/fission-loclists-pie.S: New file.
3034 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3036 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3038 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
3039 of [is_remote target],
3041 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3043 * lib/gdb.exp (use_gdb_stub): New procedure.
3045 2016-05-03 Yunlian Jiang <yunlian@google.com>
3046 Doug Evans <dje@google.com>
3049 * gdb.dwarf2/dwp-sepdebug.c: New file.
3050 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3052 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3054 * gdb.base/detach.exp: Remove is_remote check.
3056 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3058 * gdb.base/annota-input-while-running.exp: Don't check for
3059 [is_remote target]. Enable annotations after running to main.
3060 Remove unused "set test..." line.
3062 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3064 * gdb.trace/trace-enable-disable.exp: New file.
3065 * gdb.trace/trace-enable-disable.c: New file.
3067 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3069 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3070 use it in info sharedlibrary test.
3071 * gdb.trace/ftrace-lock.exp: Likewise.
3072 * gdb.trace/ftrace.exp: Likewise.
3073 * gdb.trace/range-stepping.exp: Likewise.
3074 * gdb.trace/trace-break.exp: Likewise.
3075 * gdb.trace/trace-condition.exp: Likewise.
3076 * gdb.trace/trace-mt.exp: Likewise.
3078 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3080 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3081 (gdb_load_shlib): ... this.
3082 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3084 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3085 * gdb.base/ctxobj.exp: Likewise.
3086 * gdb.base/dprintf-pending.exp: Likewise.
3087 * gdb.base/dso2dso.exp: Likewise.
3088 * gdb.base/fixsection.exp: Likewise.
3089 * gdb.base/gcore-relro.exp: Likewise.
3090 * gdb.base/gdb1555.exp: Likewise.
3091 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3092 * gdb.base/gnu-ifunc.exp: Likewise.
3093 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3094 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3095 * gdb.base/pending.exp: Likewise.
3096 * gdb.base/print-file-var.exp: Likewise.
3097 * gdb.base/print-symbol-loading.exp: Likewise.
3098 * gdb.base/shlib-call.exp: Likewise.
3099 * gdb.base/shreloc.exp: Likewise.
3100 * gdb.base/so-impl-ld.exp: Likewise.
3101 * gdb.base/solib-disc.exp: Likewise.
3102 * gdb.base/solib-nodir.exp: Likewise.
3103 * gdb.base/solib-overlap.exp: Likewise.
3104 * gdb.base/solib-symbol.exp: Likewise.
3105 * gdb.base/solib-weak.exp (do_test): Likewise.
3106 * gdb.base/sym-file.exp: Likewise.
3107 * gdb.base/symtab-search-order.exp: Likewise.
3108 * gdb.base/type-opaque.exp: Likewise.
3109 * gdb.base/unload.exp: Likewise.
3110 * gdb.base/watchpoint-solib.exp: Likewise.
3111 * gdb.compile/compile.exp: Likewise.
3112 * gdb.cp/gdb2384.exp: Likewise.
3113 * gdb.cp/infcall-dlopen.exp: Likewise.
3114 * gdb.cp/re-set-overloaded.exp: Likewise.
3115 * gdb.fortran/library-module.exp: Likewise.
3116 * gdb.opt/solib-intra-step.exp: Likewise.
3117 * gdb.python/py-finish-breakpoint.exp: Likewise.
3118 * gdb.python/py-shared.exp: Likewise.
3119 * gdb.reverse/solib-precsave.exp: Likewise.
3120 * gdb.reverse/solib-reverse.exp: Likewise.
3121 * gdb.server/solib-list.exp: Likewise.
3122 * gdb.threads/dlopen-libpthread.exp: Likewise.
3123 * gdb.threads/tls-shared.exp: Likewise.
3124 * gdb.threads/tls-so_extern.exp: Likewise.
3125 * gdb.trace/change-loc.exp: Likewise.
3126 * gdb.trace/ftrace-lock.exp: Likewise.
3127 * gdb.trace/ftrace.exp: Likewise.
3128 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3129 * gdb.trace/pending.exp: Likewise.
3130 * gdb.trace/range-stepping.exp: Likewise.
3131 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3132 (strace_info_marker): Likewise.
3133 (strace_probe_marker): Likewise.
3134 (strace_trace_on_same_addr): Likewise.
3135 (strace_trace_on_diff_addr): Likewise.
3136 * gdb.trace/trace-break.exp: Likewise.
3137 * gdb.trace/trace-condition.exp: Likewise.
3138 * gdb.trace/trace-mt.exp: Likewise.
3140 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3142 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3143 result of gdb_remote_download.
3144 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3145 * gdb.base/dso2dso.exp: Likewise.
3146 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3147 * gdb.base/print-file-var.exp: Likewise.
3148 * gdb.base/shlib-call.exp: Likewise.
3149 * gdb.base/shreloc.exp: Likewise.
3150 * gdb.base/solib-overlap.exp: Likewise.
3151 * gdb.base/solib-weak.exp (do_test): Likewise.
3152 * gdb.base/unload.exp: Likewise.
3154 2016-04-27 Yao Qi <yao.qi@linaro.org>
3156 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3159 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3161 * vla-type.exp: Print structure from toplevel.
3163 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3165 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3167 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3170 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3172 * gdb.fortran/vla-type.f90: New file.
3173 * gdb.fortran/vla-type.exp: New file.
3175 2016-04-25 Yao Qi <yao.qi@linaro.org>
3177 * gdb.base/branch-to-self.c: New file.
3178 * gdb.base/branch-to-self.exp: New file.
3180 2016-04-22 Yao Qi <yao.qi@linaro.org>
3182 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3185 2016-04-22 Yao Qi <yao.qi@linaro.org>
3187 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3188 * gdb.base/annota3.exp: Likewise.
3190 2016-04-22 Yao Qi <yao.qi@linaro.org>
3192 * gdb.reverse/step-precsave.exp: Do one step and test program
3193 stops in "callee" and do multiple steps until program goes out
3195 * gdb.reverse/step-reverse.exp: Likewise.
3197 2016-04-22 Yao Qi <yao.qi@linaro.org>
3199 * gdb.trace/signal.exp: Also pass if
3200 $tracepoint_hits($i) > $iterations.
3202 2016-04-22 Yao Qi <yao.qi@linaro.org>
3204 * gdb.trace/signal.c: New file.
3205 * gdb.trace/signal.exp: New file.
3207 2016-04-19 Doug Evans <xdje42@gmail.com>
3209 * gdb.base/bad-file.exp: New file.
3211 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3213 * gdb.dwarf2/implref.exp: New file.
3215 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3217 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3218 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3219 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3220 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3221 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3222 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3223 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3224 * lib/fortran.exp (fortran_int4): New procedure.
3225 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3226 (fortran_logical4): Likewise.
3228 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3230 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3232 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3234 * lib/compiler.c: Add Intel specific preprocessor macros.
3235 * lib/compiler.cc: Likewise.
3237 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3239 * gdb.server/connect-with-no-symbol-file.c: New file.
3240 * gdb.server/connect-with-no-symbol-file.exp: New file.
3242 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3244 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3246 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3248 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3249 standard output directory.
3251 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3253 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3255 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3257 * gdb.btrace/instruction_history.c (loop): Add declaration.
3259 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3261 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3263 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3265 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3266 parentheses to print.
3267 (continue_handler): Likewise.
3269 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3271 * gdb.server/solib-list.exp: Remove is_remote check.
3272 Pass shlib= to gdb_compile. Don't link shared library with
3273 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3274 Run binary filename through "readlink -f" on the target.
3276 2016-04-08 Pedro Alves <palves@redhat.com>
3278 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3279 interpreter filename as argument to gdbserver_spawn.
3280 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3281 Return empty if $last_loaded_file does not exist.
3283 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3285 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3286 * gdb.base/jit-main.c: Use exit after usage.
3288 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3290 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3291 GDBHISTSIZE prior to the tests.
3292 * gdb.base/gdbinit-history.exp: Likewise.
3294 2016-04-07 Pedro Alves <palves@redhat.com>
3296 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3297 instead of build_executable. Use gdb_load_shlibs.
3299 2016-04-07 Yao Qi <yao.qi@linaro.org>
3301 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3302 Execute "si" command.
3304 2016-04-07 Yao Qi <yao.qi@linaro.org>
3306 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3307 number instead of the comments on some line.
3309 2016-04-06 Don Breazeal <donb@codesourcery.com>
3311 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3312 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3314 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3316 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3317 standard_output_file. Remove unused binfile variable.
3319 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3321 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3322 * gdb.python/py-mi-objfile.exp: Match "list main" output
3325 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3327 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3330 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3332 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3334 * gdb.trace/ftrace.exp: Likewise.
3335 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3337 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3338 (gdb_load_shlibs): Copy libraries to test directory when testing
3339 natively. Only set solib-search-path if testing remotely.
3340 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3342 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3344 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3345 gdb_download. Use it even if the target is not remote.
3346 * gdb.base/jit.exp (compile_jit_test): Likewise.
3347 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3348 output directory if the destination board is local, otherwise use
3349 the standard remote_download from DejaGnu.
3350 (gdb_download): Remove.
3351 (gdb_load_shlibs): Use gdb_remote_download instead of
3353 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3354 Use gdb_remote_download instead of gdb_download. Use it even if
3355 the target is not remote.
3356 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3357 instead of gdb_download.
3359 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3361 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3362 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3365 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3368 * gdb.base/printcmds.exp: Add artificial arrays tests.
3370 2016-03-31 Pedro Alves <palves@redhat.com>
3373 * gdb.base/jit-main.c: Include unistd.h.
3374 (ATTACH): Define to 0 if not already defined.
3375 (wait_for_gdb, mypid): New globals.
3376 (WAIT_FOR_GDB): New macro.
3377 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3378 some breakpoint locations.
3379 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3381 (one_jit_test): Add REATTACH parameter, and handle it. Use
3382 continue_to_test_location.
3383 (top level): Test attach, and adjusts calls to one_jit_test.
3385 2016-03-31 Pedro Alves <palves@redhat.com>
3388 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3389 BINSUFFIX parameter, and handle it.
3390 (top level): Adjust calls compile_jit_test.
3392 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3395 * gdb.python/py-mi-events-gdb.py: New file.
3396 * gdb.python/py-mi-events.c: New file.
3397 * gdb.python/py-mi-events.exp: New file.
3399 2016-03-30 Yao Qi <yao.qi@linaro.org>
3401 * gdb.reverse/until-precsave.exp: Match function name only.
3402 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3403 Move malloc to a condition block.
3404 * gdb.reverse/until-reverse.exp: Match function name only.
3406 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3408 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3409 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3410 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3411 variable for GPR 0 instead of assuming it is register 0.
3412 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3413 * lib/trace-support.exp: Add s390 registers.
3415 2016-03-29 Yao Qi <yao.qi@linaro.org>
3417 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3419 2016-03-24 Yao Qi <yao.qi@linaro.org>
3421 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3424 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3426 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3427 maintaining separate logic for constructing the output path.
3429 2016-03-16 Don Breazeal <donb@codesourcery.com>
3431 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3432 Retry fork and waitpid on interrupted system call errors.
3433 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3434 Use with_timeout_factor to increase timeout by factor of 10.
3436 2016-03-15 Don Breazeal <donb@codesourcery.com>
3438 * gdb.cp/scope-err.cc: New test program.
3439 * gdb.cp/scope-err.exp: New test script.
3440 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3441 lines and "set breakpoint here" comment.
3442 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3443 Fixed some whitespace and format issues.
3444 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3445 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3447 2016-03-15 Doug Evans <dje@google.com>
3449 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3450 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3451 All callers updated. Add tests for enums, mixed flags register.
3453 2016-03-15 Doug Evans <dje@google.com>
3455 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3456 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3458 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3460 * gdb.base/default.exp: Add $_as_string to the list of expected
3461 convenience functions.
3463 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3465 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3467 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3469 * gdb.python/py-as-string.exp: New file.
3470 * gdb.python/py-as-string.c: New file.
3472 2016-03-09 Pedro Alves <palves@redhat.com>
3474 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3475 signal" -> "Thread NN received signal" output change.
3476 * gdb.threads/ia64-sigill.exp: Likewise.
3477 * gdb.threads/linux-dp.exp: Likewise.
3478 * gdb.threads/manythreads.exp: Likewise.
3479 * gdb.threads/pending-step.exp: Likewise.
3480 * gdb.threads/print-threads.exp: Likewise.
3481 * gdb.threads/sigstep-threads.exp: Likewise.
3482 * gdb.threads/staticthreads.exp: Likewise.
3483 * gdb.threads/tls.exp: Likewise.
3485 2016-03-09 Pedro Alves <palves@redhat.com>
3487 * gdb.base/command-line-input.exp: New file.
3489 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3491 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3492 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3493 * gdb.trace/pending.exp: Accept leading dot before function name.
3494 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3495 * lib/trace-support.exp: Set registers for ppc.
3497 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3499 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3500 use it for disassembly; accept .main in addition to main in backtrace.
3502 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3503 Marcin Kościelnicki <koriakin@0x04.net>
3505 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3506 (gdb_recursion_test_ptr): New global variable.
3507 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3509 (gdb_c_test): Ditto.
3511 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3513 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3516 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3518 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3519 (bar): Add bar_start_lbl label.
3520 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3521 of foo/bar for emitting DWARF and tracing.
3523 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3525 * analyze-racy-logs.py: Set executable bit.
3527 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3529 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3530 (CHECK_TARGET_TMP): Likewise.
3531 (check-single-racy): New rule.
3532 (check-parallel-racy): Likewise.
3533 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3534 (do-check-parallel-racy): New rule.
3535 (check-racy/%.exp): Likewise.
3536 * README (Racy testcases): New section.
3537 * analyze-racy-logs.py: New file.
3539 2016-03-03 Doug Evans <dje@google.com>
3541 * gdb.base/skip.exp: Use with_test_prefix.
3543 2016-03-03 Yao Qi <yao.qi@linaro.org>
3545 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3546 Invoke step_over_syscall "clone" and break_cond_on_syscall
3548 * gdb.base/step-over-clone.c: New file.
3550 2016-03-03 Yao Qi <yao.qi@linaro.org>
3552 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3555 2016-03-03 Yao Qi <yao.qi@linaro.org>
3557 * gdb.base/disp-step-fork.c: Rename to ...
3558 * gdb.base/step-over-fork.c: ... it. New file.
3559 * gdb.base/disp-step-vfork.c: Rename to ...
3560 * gdb.base/step-over-vfork.c: ... it. New file.
3561 * gdb.base/disp-step-syscall.exp: Rename to ...
3562 * gdb.base/step-over-syscall.exp: ... it. New file.
3563 (disp_step_cross_syscall): Rename to ...
3564 (step_over_syscall): ... it.
3566 2016-03-03 Yao Qi <yao.qi@linaro.org>
3568 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3569 If target supports condition evaluation on target, invoke
3570 break_cond_on_syscall for fork and vfork.
3572 2016-03-03 Yao Qi <yao.qi@linaro.org>
3574 * gdb.base/disp-step-syscall.exp: Don't invoke
3575 support_displaced_stepping.
3576 (disp_step_cross_syscall): Test with displaced stepping off and
3579 2016-03-03 Yao Qi <yao.qi@linaro.org>
3581 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3584 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3587 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3589 * gdb.fortran/vla-history.exp: Remove breakpoint.
3591 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3593 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3596 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3598 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3601 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3603 * gdb.mi/vla.f90: Nullify pointer after declaration.
3605 2016-03-01 Pedro Alves <palves@redhat.com>
3607 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3609 2016-03-01 Pedro Alves <palves@redhat.com>
3611 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3612 before anything else.
3613 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3615 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3616 before anything else.
3617 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3619 2016-03-01 Pedro Alves <palves@redhat.com>
3621 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3623 2016-03-01 Yao Qi <yao.qi@linaro.org>
3625 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3626 prepare_for_testing.
3628 2016-03-01 Yao Qi <yao.qi@linaro.org>
3630 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3632 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3634 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3635 manually constructing the output path.
3637 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3639 * gdb.arch/s390-stackless.S: New.
3640 * gdb.arch/s390-stackless.exp: New.
3642 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3644 * gdb.dlang/circular.c: New file.
3645 * gdb.dlang/circular.exp: New file.
3647 2016-02-26 Yao Qi <yao.qi@linaro.org>
3649 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3650 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3651 (testcases): Update.
3653 2016-02-26 Yao Qi <yao.qi@linaro.org>
3655 * gdb.reverse/aarch64.c: Rename to ...
3656 * gdb.reverse/insn-reverse.c: ... it.
3657 * gdb.reverse/aarch64.exp: Rename to ...
3658 * gdb.reverse/insn-reverse.exp: ... it.
3660 2016-02-26 Yao Qi <yao.qi@linaro.org>
3662 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3663 (testcase_ftype): New.
3664 (testcases): New array.
3666 (main): Call each element in testcases.
3667 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3668 (read_testcase): New.
3669 Do the tests in a loop.
3671 2016-02-25 Yao Qi <yao.qi@linaro.org>
3673 * gdb.base/branches.c: Remove.
3675 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3678 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3680 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3682 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3684 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3686 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3687 change x86_64 call_insn to 'callq'.
3689 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3691 * gdb.trace/tfile-avx.c: Move to...
3692 * gdb.trace/tracefile-pseudo-reg.c: Here.
3693 * gdb.trace/tfile-avx.exp: Move to...
3694 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3696 2016-02-24 Gary Benson <gbenson@redhat.com>
3698 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3701 2016-02-23 Doug Evans <dje@google.com>
3703 * gdb.base/skip.c (test_skip): New function.
3704 (end_test_skip_file_and_function): New function.
3705 (test_skip_file_and_function): New function.
3706 * gdb.base/skip1.c (test_skip): New function.
3707 (skip1_test_skip_file_and_function): New function.
3708 * gdb.base/skip.exp: Add tests for new skip options.
3709 * gdb.base/skip-solib.exp: Update expected output.
3710 * gdb.perf/skip-command.cc: New file.
3711 * gdb.perf/skip-command.exp: New file.
3712 * gdb.perf/skip-command.py: New file.
3714 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3716 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3717 info registers pattern.
3719 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3721 * lib/future.exp: Add D support.
3722 (gdb_find_gdc): New proc.
3723 (gdb_default_target_compile): Add D support.
3725 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3727 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3729 (trace_speed_test): Determine the iteration count for a time
3730 between 15..30 seconds.
3732 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3734 * gdb.arch/i386-mpx-sigsegv.c: New file.
3735 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3736 * gdb.arch/i386-mpx-simple_segv.c: New file.
3737 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3739 2016-02-18 Yao Qi <yao.qi@linaro.org>
3741 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3742 Don't call setup_kfail.
3744 2016-02-18 Yao Qi <yao.qi@linaro.org>
3746 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3747 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3749 2016-02-16 Doug Evans <dje@google.com>
3751 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3752 * gdb.base/skip1.c: Ditto.
3753 * gdb.base/skip.exp: Whitespace cleanup.
3755 2016-02-16 Don Breazeal <donb@codesourcery.com>
3758 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3759 Remove kfail for PR remote/19496.
3761 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3763 * lib/gdb.exp (standard_temp_file): Return a path specific to
3764 the runtest invocation.
3766 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3768 * gdb.trace/save-trace.exp: Change relative path to be in the
3769 standard output directory.
3771 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3773 * gdb.arch/i386-prologue.c: Add missing prototypes.
3775 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3777 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3778 * gdb.arch/i386-prologue.exp: Likewise.
3779 * gdb.arch/i386-size.exp: Likewise.
3781 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3783 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3784 define object file path.
3785 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3787 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3788 standard_output_file to define binfile.
3790 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3792 Fix compatibility with recent gfortran-5.3.1.
3793 * gdb.fortran/vla-history.exp (print vla1 allocated)
3794 (print vla2 allocated, print $2, print $3): Remove
3795 (print $4): Rename to ...
3796 (print $2): ... here.
3797 (print $9): Rename to ...
3798 (print $5): ... here.
3799 (print $10): Rename to ...
3800 (print $6): ... here.
3801 * gdb.fortran/vla.f90: Add pvla initialization.
3803 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3805 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3807 * gdb.fortran/vla-value-sub.exp: Likewise.
3809 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3811 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3813 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3815 * i386-biarch-core.exp: Define corefile using
3816 standard_output_file.
3818 2016-02-12 Yao Qi <yao.qi@linaro.org>
3820 * gdb.arch/arm-single-step-kernel-helper.c: New.
3821 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3823 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3825 * gdb.btrace/tailcall-only.exp: New.
3826 * gdb.btrace/tailcall-only.c: New.
3827 * gdb.btrace/x86_64-tailcall-only.S: New.
3828 * gdb.btrace/i686-tailcall-only.S: New.
3830 2016-02-11 Pedro Alves <palves@redhat.com>
3832 * README (Parallel testing): Add missing double quotes.
3834 2016-02-11 Pedro Alves <palves@redhat.com>
3836 * README (Parallel testing): New section.
3837 (GDB_PARALLEL): Rewrite.
3838 (FORCE_PARALLEL): Document.
3840 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3842 * gdb.trace/tfile-avx.c: New test.
3843 * gdb.trace/tfile-avx.exp: New test.
3845 2016-02-09 Keith Seitz <keiths@redhat.com>
3847 PR breakpoints/19546
3848 * gdb.base/infcall-exec.c: New file.
3849 * gdb.base/infcall-exec2.c: New file.
3850 * gdb.base/infcall-exec.exp: New file.
3852 2016-02-09 Keith Seitz <keiths@redhat.com>
3854 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3855 (toplevel): Call test_bkpt_address.
3857 2016-02-09 Keith Seitz <keiths@redhat.com>
3860 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3861 (toplevel): Call test_bkpt_address.
3863 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3865 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3867 * configure: Regenerate.
3869 2016-02-09 Pedro Alves <palves@redhat.com>
3871 PR breakpoints/19548
3872 * gdb.base/execl-update-breakpoints.c (some_function): New
3875 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3876 Tighten expected GDB output.
3878 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3880 * Makefile.in (ALL_SUBDIRS): Remove.
3881 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3882 (distclean maintainer-clean realclean): Likewise.
3883 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3884 * configure: Regenerate.
3885 * gdb.ada/Makefile.in: Delete.
3886 * gdb.arch/Makefile.in: Likewise.
3887 * gdb.asm/Makefile.in: Likewise.
3888 * gdb.base/Makefile.in: Likewise.
3889 * gdb.btrace/Makefile.in: Likewise.
3890 * gdb.cell/Makefile.in: Likewise.
3891 * gdb.compile/Makefile.in: Likewise.
3892 * gdb.cp/Makefile.in: Likewise.
3893 * gdb.disasm/Makefile.in: Likewise.
3894 * gdb.dlang/Makefile.in: Likewise.
3895 * gdb.dwarf2/Makefile.in: Likewise.
3896 * gdb.fortran/Makefile.in: Likewise.
3897 * gdb.gdb/Makefile.in: Likewise.
3898 * gdb.go/Makefile.in: Likewise.
3899 * gdb.guile/Makefile.in: Likewise.
3900 * gdb.java/Makefile.in: Likewise.
3901 * gdb.linespec/Makefile.in: Likewise.
3902 * gdb.mi/Makefile.in: Likewise.
3903 * gdb.modula2/Makefile.in: Likewise.
3904 * gdb.multi/Makefile.in: Likewise.
3905 * gdb.objc/Makefile.in: Likewise.
3906 * gdb.opencl/Makefile.in: Likewise.
3907 * gdb.opt/Makefile.in: Likewise.
3908 * gdb.pascal/Makefile.in: Likewise.
3909 * gdb.perf/Makefile.in: Likewise.
3910 * gdb.python/Makefile.in: Likewise.
3911 * gdb.reverse/Makefile.in: Likewise.
3912 * gdb.server/Makefile.in: Likewise.
3913 * gdb.stabs/Makefile.in: Likewise.
3914 * gdb.threads/Makefile.in: Likewise.
3915 * gdb.trace/Makefile.in: Likewise.
3916 * gdb.xml/Makefile.in: Likewise.
3917 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3919 (standard_output_file): Remove check for GDB_PARALLEL, always
3920 return path in outputs/$subdir/$testname.
3922 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3924 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3925 (site.exp): Assign abs_srcdir to tcl's srcdir.
3927 2016-02-04 Yao Qi <yao.qi@linaro.org>
3929 * gdb.base/foll-exec-mode.c: Include limits.h.
3930 (main): Add parameters argc and argv. Get directory from
3932 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3934 * gdb.base/foll-exec.c: Include limits.h.
3935 (main): Add parameters argc and argv.
3936 Get directory from argv[0].
3937 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3938 Adjust tests on the number of lines as source code changed.
3939 * gdb.base/foll-vfork-exit.c: Include limits.h.
3940 (main): Add one line of statement before vfork.
3941 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3942 (main): Add parameters argc and argv. Get directory from
3944 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3945 (setup_gdb): Set tbreak to skip some source lines.
3946 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3947 (main): Add parameters argc and argv. Get directory from
3949 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3951 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3952 (main): Add parameters argc and argv. Get directory from
3954 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3957 2016-02-01 Doug Evans <dje@google.com>
3959 * gdb.base/skip.exp: Clean up multiple references to same test name.
3961 2016-02-01 Pedro Alves <palves@redhat.com>
3964 * gdb.threads/forking-threads-plus-breakpoint.exp
3965 (displaced_stepping_supported): New global.
3966 (probe_displaced_stepping_support): New procedure.
3967 (do_test): Add 'displaced' parameter, and use it.
3968 (top level): Check for displaced stepping support. Add displaced
3969 stepping on/off testing axis.
3971 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3973 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3974 pointer. Don't perform further tests on the unassociated pointer
3975 if the first test fails.
3977 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3979 * gdb.base/max-value-size.c: New file.
3980 * gdb.base/max-value-size.exp: New file.
3981 * gdb.base/huge.exp: Disable max-value-size for this test.
3983 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3985 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3987 2016-01-28 Yao Qi <yao.qi@linaro.org>
3989 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3991 2016-01-25 Pedro Alves <palves@redhat.com>
3994 * gdb.base/fork-running-state.c: New file.
3995 * gdb.base/fork-running-state.exp: New file.
3997 2016-01-25 Pedro Alves <palves@redhat.com>
4000 * gdb.base/catch-fork-kill.c: New file.
4001 * gdb.base/catch-fork-kill.exp: New file.
4003 2016-01-25 Pedro Alves <palves@redhat.com>
4005 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4006 Delete, moved to lib/gdb.exp.
4007 * gdb.threads/forking-threads-plus-breakpoint.exp
4008 (foreach_with_prefix): Likewise.
4009 * gdb.threads/process-dies-while-handling-bp.exp
4010 (foreach_with_prefix): Likewise.
4011 * lib/gdb.exp (foreach_with_prefix): New procedure.
4013 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4015 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4016 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4018 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4020 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4023 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4024 Pedro Alves <palves@redhat.com>
4026 Fix testsuite compatibility with Guile.
4027 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4030 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4032 Fix testsuite compatibility with Guile.
4033 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4034 (thread 1): New test for backtrace through signal handler.
4036 2016-01-22 Yao Qi <yao.qi@linaro.org>
4039 * gdb.base/multi-forks.c: Include
4040 ../lib/unbuffer_output.c
4041 (main): Call gdb_unbuffer_output.
4043 2016-01-21 Doug Evans <dje@google.com>
4045 * lib/ada.exp (gdb_compile_ada): Fix typo.
4047 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4049 * gdb.base/break-fun-addr.exp: New file.
4050 * gdb.base/break-fun-addr1.c: New file.
4051 * gdb.base/break-fun-addr2.c: New file.
4053 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4055 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4056 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4059 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4061 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4062 when GDB can not set the vector return value. Add more comments
4065 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4067 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4070 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4072 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4074 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4076 * Makefile.in (check-single): Pass --status to runtest.
4077 (check/%.exp): Likewise.
4079 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4081 * Makefile.in (check-parallel): Propagate return code from make
4084 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4086 * gdb.trace/ftrace.exp: Fix expected message on continue.
4087 * gdb.trace/pending.exp: Fix expected message on continue.
4088 * gdb.trace/trace-break.exp: Fix expected message on continue.
4090 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4092 * lib/gdb.exp (gdb_test): Remove unused global references.
4094 2016-01-18 Pedro Alves <palves@redhat.com>
4096 * gdb.base/async-shell.exp: Adjust expected output.
4097 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4098 * gdb.base/siginfo-thread.exp: Adjust expected output.
4099 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4100 * gdb.java/jnpe.exp: Adjust expected output.
4101 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4102 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4103 * gdb.threads/leader-exit.exp: Adjust expected output.
4104 * gdb.threads/manythreads.exp: Adjust expected output.
4105 * gdb.threads/pthreads.exp: Adjust expected output.
4106 * gdb.threads/schedlock.exp: Adjust expected output.
4107 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4108 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4110 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4112 * gdb.threads/sigthread.exp: Adjust expected output.
4113 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4115 2016-01-18 Yao Qi <yao.qi@linaro.org>
4117 * gdb.guile/scm-section-script.c: Replace @progbits with
4119 * gdb.python/py-section-script.c: Likewise.
4121 2016-01-15 Pedro Alves <palves@redhat.com>
4123 * gdb.multi/tids.exp: Test star wildcard ranges.
4125 2016-01-15 Pedro Alves <palves@redhat.com>
4127 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4128 command from "thread apply" invocation.
4129 (thr_apply_info_thr_invalid): Default the expected output to the
4131 (top level): Add tests that use convenience variables. Add tests
4132 for "thread apply" with a valid TID list, but missing the command.
4134 2016-01-13 Pedro Alves <palves@redhat.com>
4136 * gdb.base/default.exp: Expect $_gthread as well.
4137 * gdb.multi/tids.exp: Test $_gthread.
4138 * gdb.threads/thread-specific.exp: Test $_gthread.
4140 2016-01-13 Pedro Alves <palves@redhat.com>
4142 * gdb.multi/tids.exp: Test "info threads -gid".
4144 2016-01-13 Pedro Alves <palves@redhat.com>
4146 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4148 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4150 2016-01-07 Pedro Alves <palves@redhat.com>
4152 * gdb.base/break.exp: Adjust to output changes.
4153 * gdb.base/hbreak2.exp: Likewise.
4154 * gdb.base/sepdebug.exp: Likewise.
4155 * gdb.base/watch_thread_num.exp: Likewise.
4156 * gdb.linespec/keywords.exp: Likewise.
4157 * gdb.multi/info-threads.exp: Likewise.
4158 * gdb.threads/thread-find.exp: Likewise.
4159 * gdb.multi/tids.c: New file.
4160 * gdb.multi/tids.exp: New file.
4162 2016-01-13 Pedro Alves <palves@redhat.com>
4164 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4166 2016-01-13 Pedro Alves <palves@redhat.com>
4168 * gdb.base/default.exp: Expect $_inferior as well.
4169 * gdb.multi/base.exp: Test $_inferior.
4171 2016-01-13 Pedro Alves <palves@redhat.com>
4173 PR breakpoints/19388
4174 * gdb.base/catch-signal-siginfo-cond.c: New file.
4175 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4177 2016-01-12 Josh Stone <jistone@redhat.com>
4178 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4180 * gdb.base/catch-syscall.c (do_execve): New variable.
4181 (main): Conditionally trigger an execve.
4182 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4183 (test_catch_syscall_execve): New, check entry/return across execve.
4184 (do_syscall_tests): Call test_catch_syscall_execve.
4186 2016-01-12 Pedro Alves <palves@redhat.com>
4188 * gdb.base/random-signal.exp (do_test): New procedure, with body
4189 of testcase moved in.
4191 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4192 Pedro Alves <palves@redhat.com>
4194 * gdb.base/funcargs.exp (finish from indirectly called function):
4195 Reintroduce the case for 'First'.
4197 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4198 Pedro Alves <palves@redhat.com>
4200 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4201 (tcatch_vfork_then_child_follow_exec)
4202 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4205 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4207 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4208 and repeats to unlimited.
4209 * gdb.python/py-value.exp: Likewise.
4210 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4211 and repeats to unlimited.
4213 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4215 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4216 and reordering the functions.
4217 * gdb.multi/hangout.c: Likewise.
4218 * gdb.multi/hello.c: Likewise.
4220 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4222 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4224 (SingleStatisticTestResult.report): Use dict.keys instead of
4227 2016-01-06 Pedro Alves <palves@redhat.com>
4229 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4231 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4233 * gdb.btrace/dlopen.exp: New.
4234 * gdb.btrace/dlopen.c: New.
4235 * gdb.btrace/dlopen-dso.c: New.
4237 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4239 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4240 PATTERN argument is optional.
4242 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4244 * lib/ada.exp (target_compile_ada_from_dir): New function.
4245 (gdb_compile_ada): Reimplement avoiding the use of project files.
4246 * gdb.ada/gnat_ada.gpr: Delete.
4247 * gdb.ada/cond_lang.exp: Adjust test to make path before
4249 * gdb.ada/small_reg_param.exp: Likewise.
4251 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4253 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4255 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4257 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4260 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4262 * gdb.base/break.exp: Remove dead code.
4263 * gdb.base/sepdebug.exp: Likewise.
4265 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4267 * gdb.asm/asm-source.exp: Remove HP-UX references.
4268 * gdb.base/annota1.exp: Likewise.
4269 * gdb.base/annota3.exp: Likewise.
4270 * gdb.base/attach.exp: Likewise.
4271 * gdb.base/bigcore.exp: Likewise.
4272 * gdb.base/break.exp: Likewise.
4273 * gdb.base/call-ar-st.exp: Likewise.
4274 * gdb.base/callfuncs.exp: Likewise.
4275 * gdb.base/catch-fork-static.exp: Likewise.
4276 * gdb.base/display.exp: Likewise.
4277 * gdb.base/foll-exec-mode.exp: Likewise.
4278 * gdb.base/foll-exec.exp: Likewise.
4279 * gdb.base/foll-fork.exp: Likewise.
4280 * gdb.base/foll-vfork.exp: Likewise.
4281 * gdb.base/funcargs.exp: Likewise.
4282 * gdb.base/hbreak2.exp: Likewise.
4283 * gdb.base/inferior-died.exp: Likewise.
4284 * gdb.base/interrupt.exp: Likewise.
4285 * gdb.base/multi-forks.exp: Likewise.
4286 * gdb.base/nodebug.exp: Likewise.
4287 * gdb.base/sepdebug.exp: Likewise.
4288 * gdb.base/solib1.c: Likewise.
4289 * gdb.base/step-test.exp: Likewise.
4290 * gdb.mi/non-stop.c: Likewise.
4291 * gdb.mi/pthreads.c: Likewise.
4292 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4293 * gdb.threads/pthreads.c: Likewise.
4294 * gdb.threads/staticthreads.exp: Likewise.
4295 * lib/future.exp: Likewise.
4296 * lib/gdb.exp: Likewise.
4297 * gdb.base/so-indr-cl.c: Remove.
4298 * gdb.base/so-indr-cl.exp: Likewise.
4299 * gdb.base/solib.c: Likewise.
4300 * gdb.base/solib.exp: Likewise.
4301 * gdb.base/solib2.c: Likewise.
4303 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4305 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4306 * gdb.base/call-ar-st.exp: Likewise.
4307 * gdb.base/callfuncs.exp: Likewise.
4308 * gdb.base/condbreak.exp: Likewise.
4309 * gdb.base/constvars.exp: Likewise.
4310 * gdb.base/hbreak2.exp: Likewise.
4311 * gdb.base/langs.exp: Likewise.
4312 * gdb.base/list.exp: Likewise.
4313 * gdb.base/long_long.exp: Likewise.
4314 * gdb.base/ptype.exp: Likewise.
4315 * gdb.base/scope.exp: Likewise.
4316 * gdb.base/signals.exp: Likewise.
4317 * gdb.base/so-impl-ld.exp: Likewise.
4318 * gdb.base/varargs.exp: Likewise.
4319 * gdb.base/volatile.exp: Likewise.
4320 * gdb.base/whatis.exp: Likewise.
4321 * gdb.cp/cplusfuncs.exp: Likewise.
4322 * gdb.cp/inherit.exp: Likewise.
4323 * gdb.cp/local.exp: Likewise.
4324 * gdb.cp/member-ptr.exp: Likewise.
4325 * gdb.cp/method.exp: Likewise.
4326 * gdb.cp/overload.exp: Likewise.
4327 * gdb.cp/templates.exp: Likewise.
4328 * gdb.stabs/weird.exp: Likewise.
4329 * lib/compiler.c: Likewise.
4330 * lib/compiler.cc: Likewise.
4331 * lib/cp-support.exp: Likewise.
4332 * lib/gdb.exp: Likewise.
4334 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4336 * configure.ac: Remove HP-UX case.
4337 * configure: Regenerate.
4339 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4341 * lib/gdb.exp (gdb_compile): Add function doc.
4343 2015-12-17 Pedro Alves <palves@redhat.com>
4346 * gdb.multi/info-threads.exp: New file.
4348 2015-12-15 Yao Qi <yao.qi@linaro.org>
4350 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4353 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4355 * gdb.base/history-duplicates.exp: Skip if no readline support.
4357 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4359 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4361 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4363 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4365 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4367 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4368 ctrl-C if nointerrupts target property is set.
4369 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4370 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4371 * gdb.base/paginate-bg-execution.exp: Likewise.
4372 * gdb.base/paginate-execution-startup.exp: Likewise.
4373 * gdb.base/random-signal.exp: Likewise.
4374 * gdb.base/range-stepping.exp: Likewise.
4375 * gdb.cp/annota2.exp: Likewise.
4376 * gdb.cp/annota3.exp: Likewise.
4377 * gdb.gdb/selftest.exp: Likewise.
4378 * gdb.threads/continue-pending-status.exp: Likewise.
4379 * gdb.threads/leader-exit.exp: Likewise.
4380 * gdb.threads/manythreads.exp: Likewise.
4381 * gdb.threads/pthreads.exp: Likewise.
4382 * gdb.threads/schedlock.exp: Likewise.
4383 * gdb.threads/sigthread.exp: Likewise.
4385 2015-12-11 Don Breazeal <donb@codesourcery.com>
4387 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4389 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4390 * gdb.base/foll-exec.exp (main): Enable for target remote.
4391 * gdb.base/foll-fork.exp (main): Likewise.
4392 * gdb.base/foll-vfork.exp (main): Likewise.
4393 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4394 (proc continue_to_exit_bp_loc): Use clean_restart.
4395 * gdb.base/pie-execl.exp (main): Disable for target remote.
4396 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4397 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4398 * gdb.threads/execl.exp (main): Likewise.
4399 * gdb.threads/fork-child-threads.exp (main): Likewise.
4400 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4402 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4404 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4405 pid.tid style ptids, instead of just tid.
4406 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4407 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4408 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4409 ptids, instead of just tid.
4411 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4413 * gdb.base/list.exp (test_list_forward): Add end of file error
4415 (test_repeat_list_command): Add end of file error test.
4416 (test_list_backwards): Add beginning of file error test.
4418 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4420 * gdb.base/list.exp (test_list_invalid_args): New function,
4421 defined, and called.
4423 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4425 * gdb.base/list.exp (test_list): Make test names unique.
4427 2015-12-11 Yao Qi <yao.qi@linaro.org>
4429 * gdb.base/coremaker2.c: Remove.
4431 2015-12-10 Pedro Alves <palves@redhat.com>
4433 * gdb.multi/base.exp: Remove stale "spaces" references.
4435 2015-12-10 Pedro Alves <palves@redhat.com>
4437 * gdb.multi/base.exp: Don't use nowarnings.
4438 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4439 * gdb.multi/hangout.c: Include stdio.h.
4440 * gdb.multi/hello.c: Include stdlib.h.
4441 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4442 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4443 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4445 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4447 * gdb.dwarf2/dw2-ranges-base.c: New file.
4448 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4449 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4450 support additional line table, and debug ranges generation.
4451 (Dwarf::ranges): New function, generate .debug_ranges.
4452 (Dwarf::lines): Support generating simple line table programs.
4453 (Dwarf::assemble): Initialise new namespace variables.
4455 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4457 * gdb.base/async.exp (proc test_background): Add case for
4458 asynchronous execution not supported.
4460 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4462 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4463 format and change test names to make them unique.
4465 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4466 Pedro Alves <pedro@redhat.com>
4469 Add checking of floatformats setup on x86_64 hosts.
4470 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4471 (smallval, bigval): New labels/constants.
4472 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4473 float" after loading bigval and smallval.
4475 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4477 * gdb.ada/fun_overload_menu.exp: New testcase.
4478 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4480 2015-12-04 Josh Stone <jistone@redhat.com>
4482 * gdb.base/catch-fork-static.exp: New.
4484 2015-12-03 Yao Qi <yao.qi@linaro.org>
4486 * gdb.base/sizeof.c: Don't include stdio.h and
4487 ../lib/unbuffer_output.c.
4488 (main): New variable 'size' and 'value'. Remove printf and
4489 gdb_unbuffer_output. Assign return value to size and value.
4490 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4492 (check_sizeof): Check the result by printing variable 'size'.
4493 (check_valueof): Check the result by printing variable 'value'.
4495 2015-12-01 Yao Qi <yao.qi@linaro.org>
4497 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4498 for aarch64*-*-linux* target.
4500 2015-11-30 Pedro Alves <palves@redhat.com>
4502 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4504 2015-11-30 Pedro Alves <palves@redhat.com>
4506 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4507 Handle non-stop mode vCont replies.
4509 2015-11-30 Pedro Alves <palves@redhat.com>
4511 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4512 prepare_for_testing. Start gdb with "set non-stop on" appended to
4513 GDBFLAGS. Lax expected stop output.
4515 2015-11-27 Yao Qi <yao.qi@linaro.org>
4517 * gdb.arch/arm-neon.exp: New.
4518 * gdb.arch/arm-neon.c: New.
4520 2015-11-27 Yao Qi <yao.qi@linaro.org>
4522 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4524 2015-11-27 Yao Qi <yao.qi@linaro.org>
4526 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4527 frames-invalid annotation.
4529 2015-11-27 Yao Qi <yao.qi@linaro.org>
4531 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4533 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4535 * gdb.threads/names.exp: New file.
4536 * gdb.threads/names.c: New file.
4537 * README: Mention gdb,no_thread_names.
4539 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4542 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4545 2015-11-24 Pedro Alves <palves@redhat.com>
4548 * gdb.base/display.exp: Expect displays to be sorted in ascending
4549 order. Use multi_line.
4550 * gdb.base/solib-display.exp: Likewise.
4552 2015-11-24 Pedro Alves <palves@redhat.com>
4555 * gdb.base/display.exp: Expect displays to be sorted in ascending
4556 order. Use multi_line.
4557 * gdb.base/solib-display.exp: Likewise.
4559 2015-11-24 Pedro Alves <palves@redhat.com>
4562 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4563 threads in ascending order.
4564 * gdb.base/foll-fork.exp: Likewise.
4565 * gdb.base/foll-vfork.exp: Likewise.
4566 * gdb.base/multi-forks.exp: Likewise.
4567 * gdb.mi/mi-nonstop.exp: Likewise.
4568 * gdb.mi/mi-nsintrall.exp: Likewise.
4569 * gdb.multi/base.exp: Likewise.
4570 * gdb.multi/multi-arch.exp: Likewise.
4571 * gdb.python/py-inferior.exp: Likewise.
4572 * gdb.threads/break-while-running.exp: Likewise.
4573 * gdb.threads/execl.exp: Likewise.
4574 * gdb.threads/gcore-thread.exp: Likewise.
4575 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4576 * gdb.threads/kill.exp: Likewise.
4577 * gdb.threads/linux-dp.exp: Likewise.
4578 * gdb.threads/multiple-step-overs.exp: Likewise.
4579 * gdb.threads/next-bp-other-thread.exp: Likewise.
4580 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4581 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4582 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4583 * gdb.threads/thread-find.exp: Likewise.
4584 * gdb.threads/tls.exp: Likewise.
4585 * lib/mi-support.exp (mi_reverse_list): Delete.
4586 (mi_check_thread_states): No longer reverse list.
4588 2015-11-24 Pedro Alves <palves@redhat.com>
4590 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4593 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4595 * gdb.trace/actions.c: Include trace-common.h.
4596 (main): Add a location for a fast tracepoint.
4597 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4598 the normal tracepoints.
4599 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4601 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4603 * save-trace.exp: Factor out code to these...
4604 (gdb_save_tracepoints): New.
4605 (gdb_load_tracepoints): New.
4606 (do_save_load_test): New.
4608 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4610 * gdb.base/asmlabel.exp: New test.
4611 * gdb.base/asmlabel.c: New test case.
4613 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4615 * gdb.base/wrong_frame_bt_full-main.c: New file.
4616 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4617 * gdb.base/wrong_frame_bt_full.exp: New file.
4619 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4621 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4623 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4625 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4626 pstate register when comparing registers values in
4627 sparc64-*-linux-gnu targets to avoid spurious differences.
4629 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4631 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4633 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4635 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4636 as type argument to gdb_compile.
4637 * gdb.base/nested-subp2.exp: Likewise.
4638 * gdb.base/nested-subp3.exp: Likewise.
4640 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4642 * lib/dwarf.exp (_note): Fix left shift of negative value.
4643 * gdb.trace/trace-condition.exp: Likewise.
4645 2015-11-13 Yao Qi <yao.qi@linaro.org>
4647 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4648 comments about d10v.
4649 (test_scalar_returns): Likewise.
4650 * gdb.base/d10v.ld: Remove.
4651 * gdb.base/overlays.exp: Remove the target triplet checking for
4653 * gdb.base/structs.exp (test_struct_returns): Remove the
4654 comments about d10v.
4655 (test_struct_calls): Likewise.
4657 2015-11-13 Yao Qi <yao.qi@linaro.org>
4659 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4660 * gdb.base/gnu_vector.c: Don't include stdio.h.
4661 (main): Don't print res and call add_some_intvecs.
4663 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4665 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4668 (func4): Use FAST_TRACEPOINT_LABEL.
4669 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4672 (thread_function): Use FAST_TRACEPOINT_LABEL.
4673 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4675 (marker): Use FAST_TRACEPOINT_LABEL.
4676 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4677 (pendfunc1): Remove.
4678 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4679 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4681 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4682 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4685 (marker): Use FAST_TRACEPOINT_LABEL.
4686 * gdb.trace/trace-common.h: New header.
4687 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4690 (marker): Use FAST_TRACEPOINT_LABEL.
4691 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4693 (thread_function): Use FAST_TRACEPOINT_LABEL.
4695 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4697 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4699 * gdb.trace/change-loc.exp: Use global pcreg definition.
4700 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4701 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4703 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4704 * gdb.trace/pending.exp: Likewise.
4705 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4706 * gdb.trace/trace-break.exp: Likewise.
4707 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4709 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4710 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4712 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4714 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4716 * gdb.ada/fin_fun_out: New testcase.
4718 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4720 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4721 value associated with DW_AT_byte_size.
4722 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4723 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4726 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4728 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4729 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4731 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4732 gdb.dwarf2/dw2-canonicalize-type.exp,
4733 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4734 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4735 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4736 provided by gdb_target_symbol_prefix_flags_asm.
4737 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4738 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4739 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4740 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4741 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4742 macros where needed). Use this macro for symbols which require
4743 the prefix provided by SYMBOL_PREFIX.
4745 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4747 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4749 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4750 representing expressions, of more than one list element.
4751 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4752 to prepend linker symbol prefix to f.
4753 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4754 table_1 and table_2.
4755 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4756 Likewise, for f and g.
4757 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4759 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4761 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4762 table_1_ptr and table_2_ptr.
4764 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4765 Joel Brobecker <brobecker@adacore.com>
4767 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4769 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4771 * gdb.reverse/s390-mvcle.c: New test.
4772 * gdb.reverse/s390-mvcle.exp: New file.
4773 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4775 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4777 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4779 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4781 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4783 * gdb.reverse/getresuid-reverse.exp: Likewise.
4784 * gdb.reverse/pipe-reverse.exp: Likewise.
4785 * gdb.reverse/readv-reverse.exp: Likewise.
4786 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4787 * gdb.reverse/time-reverse.exp: Likewise.
4788 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4790 2015-10-30 Yao Qi <yao.qi@linaro.org>
4792 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4793 (empty_cycle): Remove.
4794 (main): Don't call empty_cycle. Don't use watch_count_done.
4795 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4796 empty_cycle. Rewrite the code counting HW watchpoints.
4798 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4800 * gdb.reverse/fstatat-reverse.c: New test.
4801 * gdb.reverse/fstatat-reverse.exp: New file.
4802 * gdb.reverse/getresuid-reverse.c: New test.
4803 * gdb.reverse/getresuid-reverse.exp: New file.
4804 * gdb.reverse/pipe-reverse.c: New test.
4805 * gdb.reverse/pipe-reverse.exp: New file.
4806 * gdb.reverse/readv-reverse.c: New test.
4807 * gdb.reverse/readv-reverse.exp: New file.
4808 * gdb.reverse/recvmsg-reverse.c: New test.
4809 * gdb.reverse/recvmsg-reverse.exp: New file.
4810 * gdb.reverse/time-reverse.c: New test.
4811 * gdb.reverse/time-reverse.exp: New file.
4812 * gdb.reverse/waitpid-reverse.c: New test.
4813 * gdb.reverse/waitpid-reverse.exp: New file.
4815 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4817 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4819 2015-10-26 Doug Evans <dje@google.com>
4822 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4823 * gdb.dwarf2/bad-regnum.c: New file.
4824 * gdb.dwarf2/bad-regnum.exp: New file.
4826 2015-10-26 Doug Evans <dje@google.com>
4829 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4832 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4834 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4835 for a change by "Mention language in compile error message".
4837 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4840 * gdb.python/py-type.c (C::a_method): New.
4841 (C::a_const_method): New.
4842 (C::a_static_method): New.
4844 * gdb.python/py-type.exp (test_fields): Test getting fields
4845 from function and method.
4847 2015-10-21 Keven Boell <keven.boell@intel.com>
4849 * gdb.fortran/vla-alloc-assoc.exp: New file.
4850 * gdb.fortran/vla-datatypes.exp: New file.
4851 * gdb.fortran/vla-datatypes.f90: New file.
4852 * gdb.fortran/vla-history.exp: New file.
4853 * gdb.fortran/vla-ptype-sub.exp: New file.
4854 * gdb.fortran/vla-ptype.exp: New file.
4855 * gdb.fortran/vla-sizeof.exp: New file.
4856 * gdb.fortran/vla-sub.f90: New file.
4857 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4858 * gdb.fortran/vla-value-sub-finish.exp: New file.
4859 * gdb.fortran/vla-value-sub.exp: New file.
4860 * gdb.fortran/vla-value.exp: New file.
4861 * gdb.fortran/vla-ptr-info.exp: New file.
4862 * gdb.mi/mi-vla-fortran.exp: New file.
4863 * gdb.mi/vla.f90: New file.
4865 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4867 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4868 of hardwired timeout value.
4870 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4871 Pedro Alves <palves@redhat.com>
4873 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4874 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4876 2015-10-19 Josh Stone <jistone@redhat.com>
4878 * gdb.base/catch-syscall.c: Include <sched.h>.
4879 (unknown_syscall): New variable.
4880 (main): Trigger a vfork and an unknown syscall.
4881 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4882 (unknown_syscall_number): Likewise.
4883 (check_call_to_syscall): Accept an optional syscall pattern.
4884 (check_return_from_syscall): Likewise.
4885 (check_continue): Likewise.
4886 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4887 (test_catch_syscall_skipping_return): New test toggling off 'catch
4888 syscall' to step over the syscall return, then toggling back on.
4889 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4890 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4891 (do_syscall_tests): Call test_catch_syscall_without_args and
4892 test_catch_syscall_mid_vfork.
4893 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4894 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4896 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4898 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4899 print g_vE): Add new pass patterns.
4900 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4901 print various symbol names for vptr fields.
4903 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4905 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4908 2015-10-12 Yao Qi <yao.qi@linaro.org>
4910 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4912 2015-10-12 Yao Qi <yao.qi@linaro.org>
4914 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4915 is aarch64*-*-linux*.
4917 2015-10-12 Yao Qi <yao.qi@linaro.org>
4919 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4920 (can_relocate_bcond_true): ... it.
4921 (can_relocate_bcond_false): New function.
4923 (can_relocate_bl): Likewise.
4924 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4927 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4929 * gdb.base/nested-addr.c: New file.
4930 * gdb.base/nested-addr.exp: New testcase.
4932 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4934 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4935 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4936 its output. Ignore the output of "record goto begin" and instead
4937 check that GDB is replaying.
4939 2015-10-09 Pedro Alves <palves@redhat.com>
4941 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4942 (top level): Use it in the run with no args test.
4944 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4946 * gdb.dlang/properties.exp: New file.
4948 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4950 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4951 whether or not address 0x1000 is mapped on the target.
4953 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4955 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4958 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4960 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4961 instruction-history test.
4963 2015-09-28 Doug Evans <dje@google.com>
4965 * gdb.base/gcore.c (array_func): Add reference to static_array.
4967 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4969 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4972 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4974 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4975 short or char as base type.
4977 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4979 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4980 to allow any size enum.
4982 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4984 * gdb.ada/array_ptr_renaming.exp: New testcase.
4985 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4986 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4988 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4990 * gdb.trace/ftrace-lock.c: New file.
4991 * gdb.trace/ftrace-lock.exp: New file.
4993 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4995 * gdb.arch/insn-reloc.c: New file.
4996 * gdb.arch/ftrace-insn-reloc.exp: New file.
4998 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5000 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5002 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5003 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5004 * gdb.trace/range-stepping.c: Likewise.
5005 * gdb.trace/trace-break.c: Likewise.
5006 * gdb.trace/trace-mt.c (thread_function): Likewise.
5007 * gdb.trace/ftrace.c (marker): Likewise.
5008 * gdb.trace/trace-condition.c (marker): Likewise.
5009 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5010 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5013 2015-09-18 Doug Evans <xdje42@gmail.com>
5015 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5016 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5018 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5020 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5023 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5025 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5026 the pending breakpoint. Remove timeout override for "Run till
5027 MI pending breakpoint on pendfunc3 on thread 2" test.
5029 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5031 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5034 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5036 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5037 in breakpoint filename pattern.
5039 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5041 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5043 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5045 * gdb.linespec/explicit.exp: Check for readline support for
5046 tab-completion tests. Fix obvious typo.
5048 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5050 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5053 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5055 * gdb.btrace/non-stop.c: New.
5056 * gdb.btrace/non-stop.exp: New.
5058 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5059 Yao Qi <yao.qi@linaro.org>
5061 * gdb.trace/trace-condition.c: New file.
5062 * gdb.trace/trace-condition.exp: New file.
5064 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5066 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5067 for testing bytecode compilation.
5069 2015-09-16 Pedro Alves <palves@redhat.com>
5070 Sandra Loosemore <sandra@codesourcery.com>
5072 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5073 (SECONDS): Redefine.
5074 (main): Call pthread_kill and alarm early.
5075 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5077 (test): If the target can't hardware step and doesn't support
5078 displaced stepping, increase the timeout.
5080 2015-09-16 Pedro Alves <palves@redhat.com>
5082 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5083 (enable_debug): New procedures.
5084 (test): Use them. Bail out if waiting for threads fails.
5085 (top level): Bail out if a test fails.
5087 2015-09-16 Yao Qi <yao.qi@linaro.org>
5089 * gdb.asm/asm-source.exp: Set asm-arch for
5090 aarch64*-*-* target.
5091 * gdb.asm/aarch64.inc: New file.
5093 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5095 * gdb.ada/array_of_variable_length.exp: New testcase.
5096 * gdb.ada/array_of_variable_length/foo.adb: New file.
5097 * gdb.ada/array_of_variable_length/pck.adb: New file.
5098 * gdb.ada/array_of_variable_length/pck.ads: New file.
5100 2015-09-15 Doug Evans <dje@google.com>
5102 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5103 of function static local variable.
5105 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5107 * gdb.threads/tls-so_extern.exp: New test file.
5108 * gdb.threads/tls-so_extern.c: New test file.
5109 * gdb.threads/tls-so_extern_main.c: New test file.
5111 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5113 * gdb.opt/solib-intra-step-lib.c: New file.
5114 * gdb.opt/solib-intra-step-main.c: New file.
5115 * gdb.opt/solib-intra-step.exp: New file.
5117 2015-09-15 Pedro Alves <palves@redhat.com>
5119 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5120 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5122 2015-09-14 Pedro Alves <palves@redhat.com>
5124 * gdb.base/hook-stop-continue.c: Delete.
5125 * gdb.base/hook-stop-continue.exp: Delete.
5126 * gdb.base/hook-stop-frame.c: Delete.
5127 * gdb.base/hook-stop-frame.exp: Delete.
5128 * gdb.base/hook-stop.c: New file.
5129 * gdb.base/hook-stop.exp: New file.
5131 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5133 * gdb.ada/access_to_packed_array.exp: New testcase.
5134 * gdb.ada/access_to_packed_array/foo.adb: New file.
5135 * gdb.ada/access_to_packed_array/pack.adb: New file.
5136 * gdb.ada/access_to_packed_array/pack.ads: New file.
5138 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5140 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5143 2015-09-11 Don Breazeal <donb@codesourcery.com>
5145 * gdb.base/foll-exec.c: Add copyright header. Fix
5147 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5148 (do_exec_tests): Use clean_restart in place of zap_session,
5149 and for test initialization. Fix formatting issues. Use
5150 fail in place of perror.
5151 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5152 an expect statement to match an expression with output from
5153 the program under debug.
5154 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5155 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5156 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5157 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5158 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5160 2015-09-09 Doug Evans <dje@google.com>
5162 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5164 2015-09-09 Doug Evans <dje@google.com>
5166 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5168 2015-09-09 Doug Evans <dje@google.com>
5170 * gdb.base/savedregs.exp: Fix typo.
5172 2015-09-09 Pedro Alves <palves@redhat.com>
5174 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5176 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5178 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5179 command actually switches threads. Give up on remaining
5180 tests if target fails to stop at breakpoint.
5182 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5184 * gdb.ada/funcall_char.exp: New testcase.
5185 * gdb.ada/funcall_char/foo.adb: New file.
5187 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5189 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5190 expected outputs. Add two testcases for completing ambiguous
5192 * gdb.ada/complete/aux_pck.adb: New file.
5193 * gdb.ada/complete/aux_pck.ads: New file.
5194 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5195 Ambiguous_Func functions.
5196 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5197 * gdb.ada/complete/pck.adb: Likewise.
5199 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5201 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5202 failures to run the test program under GDB.
5204 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5206 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5209 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5211 * gdb.base/run-after-attach.exp: New test file.
5212 * gdb.base/run-after-attach.c: New test file.
5214 2015-08-26 Don Breazeal <donb@codesourcery.com>
5216 * gdb.base/foll-exec-2.c: New test program.
5217 * gdb.base/foll-exec-2.exp: New test.
5219 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5221 * gdb.base/nested-subp1.exp: New file.
5222 * gdb.base/nested-subp1.c: New file.
5223 * gdb.base/nested-subp2.exp: New file.
5224 * gdb.base/nested-subp2.c: New file.
5225 * gdb.base/nested-subp3.exp: New file.
5226 * gdb.base/nested-subp3.c: New file.
5228 2015-08-24 Pedro Alves <palves@redhat.com>
5230 * gdb.server/connect-without-multi-process.c: New file.
5231 * gdb.server/connect-without-multi-process.exp: New file.
5233 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5235 * gdb.opt/inline-markers.c: Make z int.
5237 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5239 * gdb.opt/inline-markers.c: Make z volatile.
5241 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5243 * gdb.opt/inline-bt.c: New volatile global z.
5244 * gdb.opt/inline-cmds.c: Likewise.
5245 * gdb.opt/inline-locals.c: Likewise.
5246 * gdb.opt/inline-markers.c: New extern global z.
5248 (inline_fn): Likewise.
5250 2015-08-24 Pedro Alves <palves@redhat.com>
5252 * config/m32r-stub.exp: Remove file.
5253 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5254 * gdb.base/call-rt-st.exp: Likewise.
5255 * gdb.base/call-strs.exp: Likewise.
5256 * gdb.base/default.exp: Remove references to h8300-*-hms and
5258 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5260 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5262 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5263 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5264 and "return" use KFAIL when GDB can not read/write the vector
5267 2015-08-21 Gary Benson <gbenson@redhat.com>
5269 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5271 2015-08-20 Pedro Alves <palves@redhat.com>
5273 * gdb.server/solib-list.exp: No longer expect an interior stop in
5276 2015-08-20 Pedro Alves <palves@redhat.com>
5278 * gdb.server/connect-stopped-target.c: New file.
5279 * gdb.server/connect-stopped-target.exp: New file.
5281 2015-08-20 Pedro Alves <palves@redhat.com>
5283 * gdb.dwarf2/comp-unit-lang.exp: New file.
5284 * gdb.dwarf2/comp-unit-lang.c: New file.
5286 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5288 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5289 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5291 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5293 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5294 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5296 2015-08-18 Doug Evans <dje@google.com>
5297 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5299 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5300 skip_python_tests. New arg prompt_regexp.
5301 (skip_python_tests): New function.
5302 * lib/mi-support.exp (mi_skip_python_tests): New function.
5303 * gdb.python/py-mi-objfile-gdb.py: New file.
5304 * gdb.python/py-mi-objfile.c: New file.
5305 * gdb.python/py-mi-objfile.exp: New file.
5307 2015-08-17 Keith Seitz <keiths@redhat.com>
5309 * gdb.linespec/explicit.exp: Move strace test from here ...
5310 * gdb.trace/strace.exp: ... to here.
5312 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5314 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5315 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5317 2015-08-14 Doug Evans <xdje42@gmail.com>
5319 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5320 inferior before selecting a new file.
5322 2015-08-14 Doug Evans <xdje42@gmail.com>
5324 * gdb.mi/mi-disassemble.exp: Update.
5325 * gdb.base/disasm-optim.S: New file.
5326 * gdb.base/disasm-optim.c: New file.
5327 * gdb.base/disasm-optim.h: New file.
5328 * gdb.base/disasm-optim.exp: New file.
5330 2015-08-14 Keith Seitz <keiths@redhat.com>
5332 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5335 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5337 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5339 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5341 * gdb.ada/fun_renaming.exp: New testcase.
5342 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5343 * gdb.ada/fun_renaming/pack.adb: New file.
5344 * gdb.ada/fun_renaming/pack.ads: New file.
5346 2015-08-12 Keith Seitz <keiths@redhat.com>
5348 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5349 gdb_get_line_number.
5351 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5353 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5354 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5355 gdb.base/dso2dso.exp: New files.
5357 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5358 Pedro Alves <palves@redhat.com>
5359 Keith Seitz <keiths@redhat.com>
5361 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5364 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5366 * gdb.base/gdbhistsize-history.exp
5367 (test_histsize_history_setting): Use save_vars.
5368 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5370 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5371 * gdb.base/readline.exp: Use save_vars.
5373 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5375 * lib/gdb.exp (save_vars): New proc.
5377 2015-08-11 Keith Seitz <keiths@redhat.com>
5379 * gdb.base/help.exp: Update help_breakpoint_text.
5381 2015-08-11 Keith Seitz <keiths@redhat.com>
5383 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5384 (at toplevel): Call test_explicit_breakpoints.
5385 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5387 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5388 breakpoint conditions, "-cond".
5390 2015-08-11 Keith Seitz <keiths@redhat.com>
5392 * gdb.linespec/3explicit.c: New file.
5393 * gdb.linespec/cpexplicit.cc: New file.
5394 * gdb.linespec/cpexplicit.exp: New file.
5395 * gdb.linespec/explicit.c: New file.
5396 * gdb.linespec/explicit.exp: New file.
5397 * gdb.linespec/explicit2.c: New file.
5398 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5399 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5400 before using in the matching pattern.
5401 Clarify that `prefix' is a regular expression.
5403 2015-08-11 Keith Seitz <keiths@redhat.com>
5405 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5407 Add tests for missing ",FMT" and ",".
5409 2015-08-10 Doug Evans <dje@google.com>
5410 Keith Seitz <keiths@redhat.com>
5413 * gdb.base/completion.exp: Add location completer tests.
5415 2015-08-07 Pedro Alves <palves@redhat.com>
5417 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5419 (top level): Run do_test with and without displaced stepping.
5421 2015-08-07 Pedro Alves <palves@redhat.com>
5423 * gdb.base/valgrind-disp-step.c: New file.
5424 * gdb.base/valgrind-disp-step.exp: New file.
5426 2015-08-07 Pedro Alves <palves@redhat.com>
5428 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5430 (main): Add alarm. Run an infinite loop instead of calling
5432 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5434 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5436 (main): Add alarm. Run an infinite loop instead of calling
5438 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5441 2015-08-07 Pedro Alves <palves@redhat.com>
5443 * gdb.base/checkpoint-ns.exp: New file.
5444 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5447 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5449 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5450 * gdb.btrace/instruction_history.exp: Update.
5451 * gdb.btrace/tsx.exp: New.
5452 * gdb.btrace/tsx.c: New.
5454 2015-08-06 Pedro Alves <palves@redhat.com>
5456 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5458 * gdb.reverse/until-precsave.exp: Bump timeouts.
5460 2015-08-06 Pedro Alves <palves@redhat.com>
5462 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5464 2015-08-06 Pedro Alves <palves@redhat.com>
5467 * gdb.threads/process-dies-while-handling-bp.c: New file.
5468 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5470 2015-08-06 Pedro Alves <palves@redhat.com>
5472 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5473 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5475 2015-08-05 Pedro Alves <palves@redhat.com>
5477 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5478 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5480 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5482 * gdb.base/bp-permanent.exp: Report test as unsupported if
5483 the target cannot stop at the permanent breakpoint.
5485 2015-08-03 Doug Evans <dje@google.com>
5487 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5490 2015-08-03 Doug Evans <dje@google.com>
5492 * Makefile.in (workers/%.worker, build-perf): New rule.
5493 (GDB_PERFTEST_MODE): New variable.
5494 (check-perf): Use it.
5495 (clean): Clean up gdb.perf parallel build subdirs.
5496 * lib/build-piece.exp: New file.
5497 * lib/gdb.exp (make_gdb_parallel_path): New function
5498 (standard_output_file, standard_temp_file): Call it.
5499 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5501 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5503 2015-08-03 Doug Evans <dje@google.com>
5505 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5506 (LOG_FILE_NAME): New global.
5507 (TextReporter.__init__): Initialize self.txt_sum.
5508 (TextReporter.report): Add support for multiple data-points.
5509 Move report to perftest.sum, put raw data in perftest.log.
5510 (TextReporter.start): Open sum and log files.
5511 (TextReporter.end): Close sum and log files.
5512 * gdb.perf/lib/perftest/testresult.py
5513 (SingleStatisticTestResult.record): Handle multiple data-points.
5515 2015-07-31 Pedro Alves <palves@redhat.com>
5517 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5518 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5519 kill_wait_spawned_process instead of explicit "kill -9".
5520 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5521 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5522 kill_wait_spawned_process.
5523 * gdb.base/attach-twice.exp: Likewise.
5524 * gdb.base/attach.exp: Likewise.
5525 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5527 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5528 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5529 kill_wait_spawned_process.
5530 * gdb.base/valgrind-infcall.exp: Likewise.
5531 * gdb.multi/multi-attach.exp: Likewise.
5532 * gdb.python/py-prompt.exp: Likewise.
5533 * gdb.python/py-sync-interp.exp: Likewise.
5534 * gdb.server/ext-attach.exp: Likewise.
5535 * gdb.threads/attach-into-signal.exp (corefunc): Use
5536 spawn_wait_for_attach, spawn_id_get_pid and
5537 kill_wait_spawned_process.
5538 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5539 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5540 spawn_id_get_pid and kill_wait_spawned_process.
5541 * gdb.threads/attach-stopped.exp (corefunc): Use
5542 spawn_wait_for_attach, spawn_id_get_pid and
5543 kill_wait_spawned_process.
5544 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5545 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5546 kill_wait_spawned_process instead of explicit "kill -9".
5547 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5548 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5549 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5550 processes. Don't map cygwin/windows pids here. Now returns a
5553 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5555 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5556 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5559 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5561 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5563 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5566 2014-05-21 Mark Wielaard <mjw@redhat.com>
5568 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5570 2015-07-30 Pedro Alves <palves@redhat.com>
5572 * linux-low.c (handle_extended_wait): Set the child's last
5573 reported status to TARGET_WAITKIND_STOPPED.
5575 2015-07-30 Pedro Alves <palves@redhat.com>
5578 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5579 only shows inferior 1.
5581 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5582 Pedro Alves <palves@redhat.com>
5585 * gdb.threads/fork-plus-threads.c: New file.
5586 * gdb.threads/fork-plus-threads.exp: New file.
5588 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5590 * gdb.base/batch-preserve-term-settings.exp
5591 (test_terminal_settings_preserved_after_cli_exit): Use
5594 2015-07-29 Pedro Alves <palves@redhat.com>
5595 Don Breazeal <donb@codesourcery.com>
5597 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5598 output from both inferior_spawn_id and gdb_spawn_id.
5600 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5602 * gdb.threads/attach-into-signal.exp (corefunc): Use
5603 with_test_prefix on nested loops, uniquefying the test messages.
5605 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5607 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5610 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5612 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5614 (test_terminal_settings_preserved_after_sigterm): New test.
5616 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5618 * gdb.base/batch-preserve-term-settings.exp
5619 (test_terminal_settings_preserved_after_cli_exit): New test.
5621 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5623 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5624 manipulation of saved_gdbflags.
5625 (test_terminal_settings_preserved): Remove global declaration of
5626 the unused variable pagination_prompt. Remove manipulation of
5627 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5630 2015-07-29 Pedro Alves <palves@redhat.com>
5632 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5634 2015-07-29 Pedro Alves <palves@redhat.com>
5636 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5639 2015-07-29 Pedro Alves <palves@redhat.com>
5641 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5642 (main): Call gdb_unbuffer_output.
5643 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5644 (main): Call gdb_unbuffer_output.
5645 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5646 (main): Call gdb_unbuffer_output.
5647 * gdb.base/call-strs.exp: Adjust to step over the
5648 gdb_unbuffer_output call.
5649 * gdb.base/catch-gdb-caused-signals.c: Include
5650 "../lib/unbuffer_output.c".
5651 (main): Call gdb_unbuffer_output.
5652 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5653 (main): Call gdb_unbuffer_output.
5654 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5655 (main): Call gdb_unbuffer_output.
5656 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5657 (main): Call gdb_unbuffer_output.
5658 * gdb.base/shlib-call.exp: Adjust to step over the
5659 gdb_unbuffer_output call.
5660 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5661 (main): Call gdb_unbuffer_output.
5662 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5663 (main): Call gdb_unbuffer_output.
5664 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5665 (main): Rename to ...
5667 (main): Reimplement.
5668 * gdb.base/varargs.exp: Run to test instead of to main.
5669 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5670 (main): Call gdb_unbuffer_output.
5672 2015-07-29 Pedro Alves <palves@redhat.com>
5674 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5675 factore out from mi_continue_dprintf. For call-style dprintfs,
5676 expect dprintf output out of $inferior_spawn_id.
5677 (mi_continue_dprintf): Use mi_expect_dprintf.
5678 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5679 (main): Call gdb_unbuffer_output.
5681 2015-07-29 Pedro Alves <palves@redhat.com>
5683 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5684 (default_mi_gdb_start): Set inferior_spawn_id instead of
5685 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5687 (mi_gdb_test): Always expect inferior output from both
5688 $inferior_spawn_id and $gdb_spawn_id.
5690 2015-07-29 Pedro Alves <palves@redhat.com>
5692 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5693 send_inferior and $inferior_spawn_id.
5695 2015-07-29 Pedro Alves <palves@redhat.com>
5697 * gdb.gdb/complaints.exp (test_initial_complaints)
5698 (test_serial_complaints, test_short_complaints): Use
5700 (test_empty_complaint): Handle $inferior_spawn_id !=
5703 2015-07-29 Pedro Alves <palves@redhat.com>
5705 * gdb.base/varargs.exp: Use gdb_test_stdio.
5707 2015-07-29 Pedro Alves <palves@redhat.com>
5709 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5711 2015-07-29 Pedro Alves <palves@redhat.com>
5713 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5715 2015-07-29 Pedro Alves <palves@redhat.com>
5717 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5718 parameter into two new parameters, "inf_result" and "gdb_result".
5719 Expect inferior output and gdb output from $inferior_spawn_id and
5720 $gdb_spawn_id, respectively. Adjust all callers.
5722 2015-07-29 Pedro Alves <palves@redhat.com>
5724 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5725 of gdb_test_sequence.
5727 2015-07-29 Pedro Alves <palves@redhat.com>
5729 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5730 (saw_spurious_output): Expect inferior output from
5731 $inferior_spawn_id. Use gdb_test_stdio.
5733 2015-07-29 Pedro Alves <palves@redhat.com>
5735 * gdb.base/dprintf.exp: Use standard_testfile. Change
5736 prepare_for_testing call.
5737 (srcfile): Don't set.
5738 (restart): New procedure.
5739 (test_dprintf): New procecure, use to continue over dprintfs.
5740 (test_call, test_agent): New procedures, tests moved here.
5741 Restart gdb and recreate dprintfs. Adjust expected output.
5743 2015-07-29 Pedro Alves <palves@redhat.com>
5745 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5747 2015-07-29 Pedro Alves <palves@redhat.com>
5749 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5751 2015-07-29 Pedro Alves <palves@redhat.com>
5753 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5756 2015-07-29 Pedro Alves <palves@redhat.com>
5758 * lib/gdb.exp (gdb_test_stdio): New procedure.
5760 2015-07-29 Pedro Alves <palves@redhat.com>
5762 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5764 2015-07-29 Pedro Alves <palves@redhat.com>
5766 * gdb.base/call-signal-resume.exp: Remove check for
5767 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5768 * gdb.base/unwindonsignal.exp: Likewise.
5769 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5770 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5772 2015-07-29 Pedro Alves <palves@redhat.com>
5774 * gdb.base/siginfo-addr.c (pass): New function.
5775 (handler): Call it iff si_addr is correct.
5776 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5777 Set a breakpoint at "pass" and continue to it.
5779 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5781 * gdb.python/py-objfile.exp: Make some tests have unique names.
5782 * gdb.python/py-pp-registration.exp: Likewise.
5784 2015-07-28 Pedro Alves <palves@redhat.com>
5786 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5788 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5790 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5792 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5794 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5796 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5798 * gdb.base/gdb-sigterm-2.exp: New test.
5800 2015-07-25 Doug Evans <xdje42@gmail.com>
5803 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5804 (workers/%.worker, build-perf): New rule.
5805 (GDB_PERFTEST_MODE): New variable.
5806 (check-perf): Use it.
5807 (clean): Clean up gdb.perf parallel build subdirs.
5808 * lib/build-piece.exp: New file.
5809 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5810 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5812 (standard_temp_file): Ditto.
5813 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5816 2015-07-24 Doug Evans <dje@google.com>
5818 * gdb.perf/lib/perftest/utils.py: New file.
5819 * gdb.perf/gm-hello.cc: New file.
5820 * gdb.perf/gm-pervasive-typedef.cc: New file.
5821 * gdb.perf/gm-pervasive-typedef.h: New file.
5822 * gdb.perf/gm-std.cc: New file.
5823 * gdb.perf/gm-std.h: New file.
5824 * gdb.perf/gm-use-cerr.cc: New file.
5825 * gdb.perf/gm-utils.h: New file.
5826 * gdb.perf/gmonster-null-lookup.py: New file.
5827 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5828 * gdb.perf/gmonster-print-cerr.py: New file.
5829 * gdb.perf/gmonster-ptype-string.py: New file.
5830 * gdb.perf/gmonster-runto-main.py: New file.
5831 * gdb.perf/gmonster-select-file.py: New file.
5832 * gdb.perf/gmonster1-null-lookup.exp: New file.
5833 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5834 * gdb.perf/gmonster1-print-cerr.exp: New file.
5835 * gdb.perf/gmonster1-ptype-string.exp: New file.
5836 * gdb.perf/gmonster1-runto-main.exp: New file.
5837 * gdb.perf/gmonster1-select-file.exp: New file.
5838 * gdb.perf/gmonster1.cc: New file.
5839 * gdb.perf/gmonster1.exp: New file.
5840 * gdb.perf/gmonster2-null-lookup.exp: New file.
5841 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5842 * gdb.perf/gmonster2-print-cerr.exp: New file.
5843 * gdb.perf/gmonster2-ptype-string.exp: New file.
5844 * gdb.perf/gmonster2-runto-main.exp: New file.
5845 * gdb.perf/gmonster2-select-file.exp: New file.
5846 * gdb.perf/gmonster2.cc: New file.
5847 * gdb.perf/gmonster2.exp: New file.
5849 2015-07-24 Doug Evans <dje@google.com>
5851 * gdb.perf/README: New file.
5852 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5853 * lib/gen-perf-test.exp: New file.
5855 2015-07-24 Doug Evans <dje@google.com>
5857 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5858 (PerfTest::startup): New function.
5859 (PerfTest::run): Return result of calling body.
5860 (PerfTest::assemble): Rewrite.
5861 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5862 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5863 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5864 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5865 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5867 2015-07-24 Doug Evans <dje@google.com>
5869 * lib/gdb.exp (clean_restart): Make executable optional.
5871 2015-07-24 Doug Evans <dje@google.com>
5873 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5874 compiler_info references.
5875 * gdb.cp/temargs.exp: Ditto.
5876 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5877 (get_compiler_info): Early exit if already computed. Set compiler_info
5878 to "unknown" if there was a problem.
5879 (test_compiler_info): Add function comment. Call get_compiler_info.
5881 2015-07-24 Doug Evans <dje@google.com>
5883 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5884 (workers/%.worker, build-perf): New rule.
5885 (GDB_PERFTEST_MODE): New variable.
5886 (check-perf): Use it.
5887 (clean): Clean up gdb.perf parallel build subdirs.
5888 * lib/build-piece.exp: New file.
5889 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5890 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5892 (standard_temp_file): Ditto.
5893 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5896 2015-07-24 Doug Evans <dje@google.com>
5898 * lib/future.exp (gdb_default_target_compile): New option
5900 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5903 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5905 * gdb.base/catch-syscall.exp: Call gdb_exit before
5908 2015-07-24 Pedro Alves <palves@redhat.com>
5910 * gdb.python/py-events.exp: Accept output between the stop event
5912 * gdb.python/py-evsignal.exp: Likewise.
5913 * gdb.python/py-evthreads.exp: Likewise.
5915 2015-07-24 Pedro Alves <palves@redhat.com>
5918 * gdb.threads/non-ldr-exit.c: New file.
5919 * gdb.threads/non-ldr-exit.exp: New file.
5921 2015-07-24 Yao Qi <yao.qi@linaro.org>
5923 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5926 2015-07-24 Yao Qi <yao.qi@linaro.org>
5928 * gdb.server/ext-restart.exp: New file.
5930 2015-07-24 Yao Qi <yao.qi@linaro.org>
5932 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5934 * gdb.server/ext-wrapper.exp: New file.
5936 2015-07-23 Doug Evans <dje@google.com>
5938 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5939 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5941 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5943 * gdb.ada/var_arr_typedef.exp: New testcase.
5944 * gdb.ada/var_arr_typedef/pack.adb: New file.
5945 * gdb.ada/var_arr_typedef/pack.ads: New file.
5946 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5948 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5950 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5952 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5954 * gdb.arch/i386-biarch-core.exp: Replace istarget
5955 by "complete set gnutarget". Remove expectation for the "core-file"
5958 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5960 Revert the previous commit:
5961 Tests for validate symbol file using build-id.
5963 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5965 Tests for validate symbol file using build-id.
5966 * gdb.base/solib-mismatch-lib.c: New file.
5967 * gdb.base/solib-mismatch-libmod.c: New file.
5968 * gdb.base/solib-mismatch.c: New file.
5969 * gdb.base/solib-mismatch.exp: New file.
5971 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5973 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5975 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5976 * gdb.base/siginfo.exp: Likewise.
5977 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5979 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5981 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5983 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5985 * gdb.trace/range-stepping.exp: Check that the target supports
5988 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5990 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5992 2015-07-14 Pedro Alves <palves@redhat.com>
5994 * gdb.base/killed-outside.exp: New file.
5995 * gdb.base/killed-outside.c: New file.
5997 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5999 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6001 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6003 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6005 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6006 infcall tests instead of setting up for KFAIL.
6008 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6010 * gdb.btrace/record_goto-step.exp: New.
6012 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6015 * gdb.compile/compile.c (struct struct_type): Add volatile to
6017 * gdb.compile/compile.exp
6018 (compile code struct_object.selffield = &struct_object): Skip further
6019 struct_object tests if this one xfails.
6021 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6024 * gdb.trace/ax.exp: Add test.
6026 2015-07-07 Yao Qi <yao.qi@linaro.org>
6028 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6029 instead of istarget "aarch64*-*-*".
6030 * gdb.arch/aarch64-fp.exp: Likewise.
6031 * gdb.base/float.exp: Likewise.
6032 * gdb.reverse/aarch64.exp: Likewise.
6033 * lib/gdb.exp (is_aarch64_target): New proc.
6035 2015-07-07 Yao Qi <yao.qi@linaro.org>
6037 * lib/gdb.exp (is_aarch32_target): New proc.
6038 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6039 instead of "istarget "arm*-*-*"".
6040 * gdb.arch/arm-disp-step.exp: Likewise.
6041 * gdb.arch/thumb-bx-pc.exp: Likewise.
6042 * gdb.arch/thumb-prologue.exp: Likewise.
6043 * gdb.arch/thumb-singlestep.exp: Likewise.
6044 * gdb.base/disp-step-syscall.exp: Likewise.
6045 * gdb.base/float.exp: Likewise.
6047 2015-07-07 Yao Qi <yao.qi@linaro.org>
6049 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6050 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6052 2015-07-07 Yao Qi <yao.qi@linaro.org>
6054 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6055 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6057 * gdb.multi/multi-arch.exp: Likewise.
6059 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6061 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6064 2015-07-07 Yao Qi <yao.qi@linaro.org>
6066 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6068 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6070 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6071 '[' and ']' characters.
6073 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6075 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6077 2015-06-29 Pedro Alves <palves@redhat.com>
6080 * gdb.threads/hand-call-new-thread.c: New file.
6081 * gdb.threads/hand-call-new-thread.c: New file.
6083 2015-06-26 Keith Seitz <keiths@redhat.com>
6084 Doug Evans <dje@google.com>
6087 * gdb.cp/var-tag-2.cc: New file.
6088 * gdb.cp/var-tag-3.cc: New file.
6089 * gdb.cp/var-tag-4.cc: New file.
6090 * gdb.cp/var-tag.cc: New file.
6091 * gdb.cp/var-tag.exp: New file.
6093 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6095 * gdb.base/history-duplicates.exp: New test.
6097 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6099 * gdb.base/completion.exp: Test the completion of the "focus"
6102 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6104 * gdb.arch/amd64-prologue-skip.S: New file.
6105 * gdb.arch/amd64-prologue-skip.exp: New file.
6107 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6109 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6110 is_address_zero_readable check.
6112 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6114 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6115 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6117 2015-06-24 Yao Qi <yao.qi@linaro.org>
6119 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6122 2015-06-24 Yao Qi <yao.qi@linaro.org>
6124 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6125 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6126 * gdb.base/siginfo-thread.exp: Likewise.
6128 2015-06-22 Yao Qi <yao.qi@linaro.org>
6130 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6132 2015-06-22 Yao Qi <yao.qi@linaro.org>
6134 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6136 (skip_hw_watchpoint_tests): Likewise.
6138 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6140 * gdb.base/gdbinit-history.exp: Test the interaction between
6141 setting GDBHISTSIZE and setting the history size via .gdbinit.
6143 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6146 * gdb.base/gdbhistsize-history.exp: New test.
6148 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6150 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6152 * gdb.base/readline.exp: Likewise.
6154 2015-06-17 Yao Qi <yao.qi@linaro.org>
6156 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6159 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6161 * gdb.base/gdbinit-history.exp: Add test case to check that
6162 an unlimited history file does not get truncated on exit.
6164 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6166 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6167 (VECTOR): New macro. Use it...
6168 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6169 ...for these typedefs.
6170 (int8, char1, int1, double1): New typedefs.
6171 (struct just_int2, struct two_int2): New structures.
6172 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6173 (add_structvecs, add_singlevecs): New functions.
6174 (main): Call add_some_intvecs twice.
6175 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6176 the compile and exit upon failure. Try compiling for the "native"
6177 architecture. Test inferior function calls with vector arguments
6178 and vector return value handling with "finish" and "return".
6180 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6182 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6183 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6185 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6187 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6189 PR breakpoints/16465
6190 * gdb.mi/mi-dprintf-pending.c: New file.
6191 * gdb.mi/mi-dprintf-pending.exp: New test.
6192 * gdb.mi/mi-dprintf-pendshr.c: New file.
6194 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6195 Mircea Gherzan <mircea.gherzan@intel.com>
6197 * gdb.arch/i386-mpx-map.c: New file.
6198 * gdb.arch/i386-mpx-map.exp: New File.
6200 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6202 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6203 * gdb.arch/i386-mpx.exp: Indentation fixed.
6205 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6207 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6208 function and improved indentation.
6209 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6210 gdb_test_multiple. Added additional tests to skip the test.
6212 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6214 * gdb.arch/i386-avx512.c: Change path in include file.
6215 * gdb.arch/i386-avx512.exp: Change include dir path
6217 * gdb.arch/i386-mpx.c: Change path in include file.
6218 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6221 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6223 * gdb.compile/compile-print.exp (compile print *vararray@3)
6224 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6226 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6228 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6229 (do not keep jit in memory): ... this.
6230 (expect 5): Change it to ...
6231 (expect no 5): ... this.
6233 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6236 * gdb.mi/mi-detach.exp: New file.
6238 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6241 * gdb.arch/amd64-tailcall-self.S: New file.
6242 * gdb.arch/amd64-tailcall-self.c: New file.
6243 * gdb.arch/amd64-tailcall-self.exp: New file.
6245 2015-05-28 Don Breazeal <donb@codesourcery.com>
6247 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6248 tests for remote targets by checking is_target_gdbserver.
6250 2015-05-27 Doug Evans <dje@google.com>
6252 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6253 * gdb.dwarf2/opaque-type-lookup.c: New file.
6254 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6256 2015-05-26 Doug Evans <dje@google.com>
6258 * gdb.cp/iostream.cc: New file.
6259 * gdb.cp/iostream.exp: New file.
6261 2015-05-26 Doug Evans <dje@google.com>
6263 * gdb.dwarf2/dw2-op-call.exp: Update.
6264 * gdb.dwarf2/dw4-sig-types.exp: Update.
6265 * gdb.dwarf2/implptr.exp: Update.
6266 * gdb.mi/mi-cmd-param-changed.exp: Update.
6268 2015-05-26 Doug Evans <dje@google.com>
6270 * gdb.python/py-lazy-string.c: New file.
6271 * gdb.python/py-lazy-string.exp: New file.
6272 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6273 (main): Update. Add estring3.
6274 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6275 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6277 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6278 Yao Qi <yao.qi@linaro.org>
6280 * gdb.reverse/aarch64.c: New.
6281 * gdb.reverse/aarch64.exp: New.
6283 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6285 * lib/gdb.exp (supports_process_record): Return true for
6287 (supports_reverse): Likewise.
6289 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6291 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6292 Use with_test_prefix.
6294 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6296 * gdb.base/completion.exp: Add test for completion of layout
6299 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6301 * lib/gdb.exp (skip_tui_tests): New proc.
6302 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6304 2015-05-19 Pedro Alves <palves@redhat.com>
6306 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6307 Save the whole env array instead of just HOME. Unset HISTSIZE in
6308 the environment while testing. Restore whole environment
6311 2015-05-16 Doug Evans <xdje42@gmail.com>
6313 * gdb.guile/scm-ports.c: New file.
6314 * gdb.guile/scm-ports.exp: Add memory port tests.
6316 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6318 * gdb.compile/compile-print.c: New file.
6319 * gdb.compile/compile-print.exp: New file.
6321 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6323 * gdb.compile/compile-ops.exp: Cast param to void.
6324 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6325 (compile code struct_object.selffield = &struct_object): Add xfail.
6327 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6329 * gdb.ada/arr_enum_with_gap: New testcase.
6331 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6333 * gdb.ada/byte_packed_arr: New testcase.
6335 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6337 * gdb.ada/pckd_neg: New testcase.
6339 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6342 * gdb.base/gdbinit-history.exp: New test.
6343 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6344 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6346 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6348 * gdb.python/py-xmethods.cc: Enhance test case.
6349 * gdb.python/py-xmethods.exp: New tests.
6350 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6352 (B_indexoper): Likewise.
6353 (global_dm_list) : Add new xmethod worker functions.
6355 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6357 * gdb.base/coredump-filter.exp: Correctly unset
6358 "coredump_var_addr" array.
6360 2015-05-08 Pedro Alves <palves@redhat.com>
6362 * gdb.server/non-existing-program.exp: Unset spawn_id.
6364 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6367 * gdb.python/py-xmethods.exp: Add tests.
6369 2015-05-08 Yao Qi <yao.qi@linaro.org>
6372 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6373 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6374 function set_coredump_filter, and remove remote_exec call.
6375 Remove argument ipid. Callers update.
6376 (top level): Don't get inferior's PID.
6378 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6380 * gdb.base/watch_thread_num.exp: Skip test on targets without
6383 2015-05-06 Pedro Alves <palves@redhat.com>
6386 * gdb.server/non-existing-program.exp: New file.
6388 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6390 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6392 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6394 * gdb.ada/out_of_line_in_inlined: New testcase.
6396 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6398 * gdb.ada/var_rec_arr: New testcase.
6400 2015-04-30 Yao Qi <yao.qi@linaro.org>
6402 * gdb.base/break-idempotent.exp: If
6403 skip_hw_watchpoint_multi_tests returns true, skip the tests
6404 on "rwatch" and "awatch".
6406 2015-04-30 Yao Qi <yao.qi@linaro.org>
6408 * gdb.base/relativedebug.exp: Invoke gdb command
6409 "info sharedlibrary", and if libc.so doesn't have debug info,
6412 2015-04-29 Doug Evans <dje@google.com>
6414 * gdb.python/py-xmethods.exp: Add ptype tests.
6415 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6416 get_result_type method.
6418 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6420 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6421 the target does not support hardware watchpoints.
6423 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6425 * gdb.base/break-always.exp: Abort testing if writing to memory
6428 2015-04-28 Doug Evans <dje@google.com>
6430 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6431 * gdb.python/py-pp-registration.exp: ... here. New file.
6432 * gdb.python/py-pp-registration.c: New file.
6433 * gdb.python/py-pp-registration.py: New file.
6435 2015-04-28 Doug Evans <dje@google.com>
6437 * gdb.python/py-bad-printers.c: New file.
6438 * gdb.python/py-bad-printers.py: New file.
6439 * gdb.python/py-bad-printers.exp: New file.
6441 2015-04-28 Sasha Smundak <asmundak@google.com>
6443 * gdb.python/py-type.exp: New test.
6445 2015-04-28 Andy Wingo <wingo@igalia.com>
6447 * gdb.python/py-parameter.exp:
6448 * gdb.guile/scm-parameter.exp: Escape the path that we are
6449 matching against, as it might contain characters that are special
6450 to regular expressions.
6452 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6454 * gdb.ada/rec_comp: New testcase.
6456 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6458 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6461 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6463 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6464 new tests for verilog output.
6466 2015-04-24 Yao Qi <yao.qi@linaro.org>
6468 * boards/remote-gdbserver-on-localhost.exp: New file.
6470 2015-04-23 Pedro Alves <palves@redhat.com>
6472 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6473 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6474 "end of file", remove $inferior_spawn_id from the indirect list.
6476 2015-04-23 Pedro Alves <palves@redhat.com>
6478 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6480 2015-04-23 Pedro Alves <palves@redhat.com>
6482 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6483 on $any_spawn_id instead of only on $gdb_spawn_id.
6485 2015-04-21 Pierre Muller <muller@sourceware.org>
6488 * lib/pascal.exp (gpc_compile): Add new option "class".
6489 (fpc_compile): Likewise.
6490 * gdb.pascal/case-insensitive-symbols.pas: New file.
6491 * gdb.pascal/case-insensitive-symbols.exp: New file.
6493 2015-04-20 Gary Benson <gbenson@redhat.com>
6495 * gdb.base/attach.exp: Fix three extended remote failures.
6497 2015-04-17 Gary Benson <gbenson@redhat.com>
6499 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6500 the main executable over the remote protocol.
6502 2015-04-16 Pedro Alves <palves@redhat.com>
6504 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6505 a new gdbserver if gdbserver_reconnect_p is set.
6507 2015-04-16 Pedro Alves <palves@redhat.com>
6509 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6510 is set, don't exit gdbserver.
6512 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6514 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6515 appropriate .insn, such that an older assembler can be used.
6516 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6517 the z/Architecture instruction set on 31-bit targets as well.
6519 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6521 * gdb.go/handcall.exp: Remove all logic related to the first
6522 breakpoint and rely on go_runto_main instead.
6523 * gdb.go/strings.exp: Likewise.
6524 * gdb.go/unsafe.exp: Likewise.
6525 * gdb.go/hello.exp: Likewise. Also rename the remaining
6526 breakpoint marker to "breakpoint 1".
6527 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6528 * gdb.go/strings.go: Likewise.
6529 * gdb.go/unsafe.go: Likewise.
6530 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6531 "set breakpoint 2 here" and rename the remaining breakpoint marker
6534 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6536 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6537 if itertools.imap is not present.
6538 * gdb.python/py-objfile.exp: Add parentheses.
6539 * gdb.python/py-type.exp: Same.
6540 * gdb.python/py-unwind-maint.py: Same.
6542 2015-04-15 Yao Qi <yao.qi@linaro.org>
6544 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6545 of ":$ptr_size" and set its form explicitly.
6547 2015-04-15 Pedro Alves <palves@redhat.com>
6548 Yao Qi <yao.qi@linaro.org>
6550 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6551 timeout by factor of 4.
6552 (test_regular_watch): Likewise.
6553 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6554 * gdb.reverse/sigall-reverse.exp: Likewise.
6555 * gdb.reverse/until-precsave.exp: Likewise.
6556 * lib/gdb.exp (with_timeout_factor): New proc.
6557 (gdb_expect): Move some code to ...
6558 (get_largest_timeout): ... here. New procedure.
6560 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6562 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6564 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6566 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6567 to write to the .text section.
6569 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6571 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6572 Handle the case of targets that do not provide PID information.
6574 2015-04-13 Yao Qi <yao.qi@linaro.org>
6576 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6577 and use expect instead of gdb_expect.
6579 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6581 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6582 "coredump_var_addr" to avoid naming conflict with other testcases.
6584 2015-04-10 Pedro Alves <palves@redhat.com>
6586 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6587 gdb_test_sequence and gdb_assert.
6589 2015-04-10 Pedro Alves <palves@redhat.com>
6591 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6592 test messages that don't include the breakpoint address.
6594 2015-04-10 Yao Qi <yao.qi@linaro.org>
6596 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6597 false for some offset and width combinations which aren't
6598 supported by linux kernel.
6600 2015-04-10 Pedro Alves <palves@redhat.com>
6602 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6603 procedure, factored out from ...
6604 (top level): ... here. Add "set displaced-stepping" testing axis.
6605 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6606 parameter "displaced". Use it.
6607 (top level): Use foreach and add "set displaced-stepping" testing
6610 2015-04-10 Pedro Alves <palves@redhat.com>
6612 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6614 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6615 both the address of the instruction that triggers the watchpoint
6616 and the address of the instruction immediately after, and use
6617 those addresses for the test. Fix comment.
6619 2015-04-10 Pedro Alves <palves@redhat.com>
6621 * gdb.base/sigstep.exp (breakpoint_to_handler)
6622 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6623 Test "backtrace" in handler.
6624 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6625 (top level): Add new "displaced" test axis to
6626 breakpoint_to_handler, breakpoint_to_handler_entry and
6627 breakpoint_over_handler.
6629 2015-04-10 Pedro Alves <palves@redhat.com>
6632 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6634 2015-04-10 Yao Qi <yao.qi@linaro.org>
6636 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6637 (test_add_rn_pc): New function.
6638 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6639 (top level): Invoke test_add_rn_pc.
6641 2015-04-10 Pedro Alves <palves@redhat.com>
6644 * gdb.base/step-over-no-symbols.exp: New file.
6646 2015-04-09 Andy Wingo <wingo@igalia.com>
6648 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6649 after the Python tests.
6651 2015-04-08 Keith Seitz <keiths@redhat.com>
6654 * gdb.python/py-completion.exp: New tests for completion.
6655 * gdb.python/py-completion.py (CompleteLimit1): New class.
6656 (CompleteLimit2): Likewise.
6657 (CompleteLimit3): Likewise.
6658 (CompleteLimit4): Likewise.
6659 (CompleteLimit5): Likewise.
6660 (CompleteLimit6): Likewise.
6661 (CompleteLimit7): Likewise.
6663 2015-04-08 Pedro Alves <palves@redhat.com>
6667 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6669 (main): Install it as SIGUSR1 handler.
6670 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6671 parameter. Always use "setup" as prefix. Toggle "set
6672 displaced-stepping" off/on depending on global. Don't switch to
6674 (top level): Add displaced stepping "off/on" test axis. Update
6675 "setup" calls. Wrap each subtest with with_test_prefix. Test
6676 continuing with a queued signal in each thread.
6678 2015-04-08 Pedro Alves <palves@redhat.com>
6680 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6681 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6682 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6683 Return early if running to main fails.
6684 * gdb.trace/while-stepping.exp: Likewise.
6686 2015-04-07 Pedro Alves <palves@redhat.com>
6688 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6689 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6690 interact with inferior program.
6692 2015-04-07 Pedro Alves <palves@redhat.com>
6694 * lib/gdb.exp (inferior_spawn_id): New global.
6695 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6696 spawn id after processing the user code.
6697 (default_gdb_start): Set inferior_spawn_id.
6698 (send_inferior): New procedure.
6699 * lib/gdbserver-support.exp (gdbserver_start): Set
6701 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6703 2015-04-07 Pedro Alves <palves@redhat.com>
6705 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6706 * lib/gdbserver-support.exp (gdbserver_start): Make
6707 $server_spawn_id global.
6708 (gdbserver_start): Don't wait for gdbserver's spawn id with
6710 (close_gdbserver): New procedure.
6711 (gdb_exit): Rename the default version and reimplement.
6713 2015-04-07 Pedro Alves <palves@redhat.com>
6715 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6716 append the substituted item, not the original item.
6718 2015-04-07 Pedro Alves <palves@redhat.com>
6720 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6723 2015-04-07 Pedro Alves <palves@redhat.com>
6725 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6726 output appearing once only.
6728 2015-04-07 Pedro Alves <palves@redhat.com>
6730 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6731 that doesn't expect anything. Return early if running to main
6734 2015-04-07 Yao Qi <yao.qi@linaro.org>
6736 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6737 (child_function): Call alarm.
6738 (main): Move call to alarm into the loop.
6739 * gdb.threads/non-stop-fair-events.exp: Build program with
6742 2015-04-06 Doug Evans <xdje42@gmail.com>
6744 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6745 Fix dest parameter to board_info.
6746 (fpc_compile): Ditto.
6747 (gdb_compile_pascal): Rename dest arg to destfile.
6749 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6751 * gdb.ada/funcall_ref.exp: New file.
6752 * gdb.ada/funcall_ref/foo.adb: New file.
6754 2015-04-02 Yao Qi <yao.qi@linaro.org>
6756 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6759 2015-04-02 Gary Benson <gbenson@redhat.com>
6761 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6763 2015-04-01 Sasha Smundak <asmundak@google.com>
6765 * gdb.python/py-unwind-maint.c: New file.
6766 * gdb.python/py-unwind-maint.exp: New test.
6767 * gdb.python/py-unwind-maint.py: New file.
6768 * gdb.python/py-unwind.c: New file.
6769 * gdb.python/py-unwind.exp: New test.
6770 * gdb.python/py-unwind.py: New test.
6772 2015-04-01 Pedro Alves <palves@redhat.com>
6774 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6775 to fail instead of non-existent $test.
6777 2015-04-01 Pedro Alves <palves@redhat.com>
6779 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6780 GDBFLAGS if not empty.
6782 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6784 * gdb.ada/complete.exp: Remove "multi_line".
6785 * gdb.ada/info_exc.exp: Remove "multi_line".
6786 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6787 * gdb.ada/ptype_field.exp: Remove "multi_line".
6788 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6789 * gdb.ada/tagged.exp: Remove "multi_line".
6790 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6792 * gdb.btrace/delta.exp: Likewise.
6793 * gdb.btrace/exception.exp: Likewise.
6794 * gdb.btrace/function_call_history.exp: Likewise.
6795 * gdb.btrace/instruction_history.exp: Likewise.
6796 * gdb.btrace/nohist.exp: Likewise.
6797 * gdb.btrace/record_goto.exp: Likewise.
6798 * gdb.btrace/segv.exp: Likewise.
6799 * gdb.btrace/stepi.exp: Likewise.
6800 * gdb.btrace/tailcall.exp: Likewise.
6801 * gdb.btrace/unknown_functions.exp: Likewise.
6802 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6803 * lib/gdb.exp: Add the "multi_line" helper.
6805 2015-04-01 Pedro Alves <palves@redhat.com>
6807 * gdb.threads/tid-reuse.c: New file.
6808 * gdb.threads/tid-reuse.exp: New file.
6810 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6813 * gdb.base/coredump-filter.c: New file.
6814 * gdb.base/coredump-filter.exp: Likewise.
6816 2015-03-27 Petr Machata <pmachata@redhat.com>
6818 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6819 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6820 (Dwarf::assemble): Initialize them.
6821 (Dwarf::lines): New function.
6823 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6825 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6826 SYMBOL_PREFIX for x86_64-*-cygwin.
6828 2015-03-26 Andy Wingo <wingo@igalia.com>
6831 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6832 const_value but not a location.
6833 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6834 location defined in non-main CUs are visible.
6836 2015-03-26 Yao Qi <yao.qi@linaro.org>
6839 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6840 Add a line number entry for the same line.
6841 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6842 Add a line number entry for the same line.
6844 2015-03-26 Yao Qi <yao.qi@linaro.org>
6846 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6848 (func): Likewise. Add .Lfunc_1 label.
6850 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6855 2015-03-26 Yao Qi <yao.qi@linaro.org>
6857 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6858 Call gdb_compile instead to compile each .s files without debug
6861 2015-03-26 Yao Qi <yao.qi@linaro.org>
6863 * gdb.base/savedregs.exp (process_saved_regs): Make
6864 "Saved registers:" optional in the pattern.
6866 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6868 * gdb.btrace/next.exp: Merged into step.exp.
6869 * gdb.btrace/finish.exp: Merged into step.exp.
6870 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6871 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6872 "record goto" and checking the exact replay position.
6873 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6874 check for "Recording format" in "info record" output.
6875 * gdb.btrace/record_goto.exp: Choose test file based on target.
6876 * gdb.btrace/x86-record_goto.S: Renamed into ...
6877 * gdb.btrace/x86_64-record_goto.S: ... this.
6878 * gdb.btrace/i686-record_goto.S: New.
6879 * gdb.btrace/x86-tailcall.S: Renamed into ...
6880 * gdb.btrace/x86_64-tailcall.S: ... this.
6881 * gdb.btrace/i686-tailcall.S: New.
6882 * gdb.btrace/x86-tailcall.c: Renamed into ...
6883 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6884 separate statements. Update test.
6885 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6886 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6887 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6888 * gdb.btrace/tailcall.exp: Choose test file based on target.
6889 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6891 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6893 * gdb.btrace/exception.exp: Increase BTS buffer size.
6895 2015-03-24 Pedro Alves <palves@redhat.com>
6897 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6899 2015-03-24 Pedro Alves <palves@redhat.com>
6901 * gdb.threads/schedlock.exp (test_step): No longer expect that
6902 "set scheduler-locking step" with "next" over a function call runs
6905 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6907 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6909 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6911 PR breakpoints/16466
6912 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6913 * gdb.mi/mi-pending.c (thread_func): New function.
6914 (int main): Add threading support required.
6915 * gdb.mi/mi-pending.exp: Add tests for this issue.
6916 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6917 (pendfunc2): Remove stdio dependency.
6918 * gdb.mi/mi-pendshr2.c: New file.
6920 2015-03-23 Keith Seitz <keiths@redhat.com>
6922 * gdb.linespec/keywords.c: New file.
6923 * gdb.linespec/keywords.exp: New file.
6925 2015-03-23 Keith Seitz <keiths@redhat.com>
6928 * gdb.dwarf2/staticvirtual.exp: New test.
6930 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6932 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6933 * README: Remove HP-UX and gdb.hp.
6935 * configure: Regenerate.
6936 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6937 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6938 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6939 gdb.hp/gdb.defects/Makefile.
6940 * gdb.hp/Makefile.in: File deleted.
6941 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6942 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6943 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6944 * gdb.hp/gdb.aCC/run.c: File deleted.
6945 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6946 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6947 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6948 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6949 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6950 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6951 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6952 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6953 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6954 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6955 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6956 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6957 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6958 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6959 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6960 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6961 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6962 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6963 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6964 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6965 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6966 * gdb.hp/gdb.compat/average.c: File deleted.
6967 * gdb.hp/gdb.compat/sum.c: File deleted.
6968 * gdb.hp/gdb.compat/xdb.c: File deleted.
6969 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6970 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6971 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6972 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6973 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6974 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6975 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6976 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6977 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6978 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6979 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6980 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6981 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6982 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6983 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6984 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6985 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6986 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6987 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6988 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6989 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6990 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6991 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6992 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6993 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6994 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6995 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6996 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6997 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6998 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6999 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7000 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7001 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7002 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7003 * gdb.hp/tools/odump: File deleted.
7005 2015-03-19 Pedro Alves <palves@redhat.com>
7007 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7008 (saw_thread_3): New globals.
7009 (top level): Increment them when an event for the corresponding
7011 (no thread starvation): New test.
7013 2015-03-19 Pedro Alves <palves@redhat.com>
7015 * gdb.threads/continue-pending-status.c: New file.
7016 * gdb.threads/continue-pending-status.exp: New file.
7018 2015-03-18 Pedro Alves <palves@redhat.com>
7020 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7021 Use gdb_is_target_remote instead of is_remote. Use
7022 gdb_test_multiple instead of gdb_expect. Exit early if
7023 gdb_test_multiple hits its internal matches. Tighten stepi tests
7024 expected output. Fail on exit with any signal, instead of just
7027 2015-03-18 Yao Qi <yao.qi@linaro.org>
7030 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7032 * gdb.base/catch-syscall.exp: Don't skip it on
7033 aarch64*-*-linux* target. Remove elements in all_syscalls.
7034 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7036 (setup_all_syscalls): New proc.
7038 2015-03-16 Yao Qi <yao.qi@linaro.org>
7040 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7041 (top level): Skip tests if valid_addr_p returns false for
7044 2015-03-11 Andy Wingo <wingo@igalia.com>
7046 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7048 2015-03-11 Yao Qi <yao.qi@linaro.org>
7050 * gdb.base/catch-syscall.exp: Fix typo in comments.
7052 2015-03-11 Yao Qi <yao.qi@linaro.org>
7054 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7056 2015-03-09 Pedro Alves <palves@redhat.com>
7058 * dg-extract-results.py: Delete.
7060 2015-03-09 Pedro Alves <palves@redhat.com>
7062 Merge dg-extract-results.sh from GCC upstream (r218843).
7064 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7065 * dg-extract-results.sh: Use --text with grep to avoid issues with
7066 binary files. Fall back to cat -v, if that doesn't work.
7068 2015-03-05 Pedro Alves <palves@redhat.com>
7070 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7072 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7074 * lib/mi-support.exp (mi_expect_interrupt): Accept
7075 alternative event for when in all-stop mode.
7077 2015-03-04 Pedro Alves <palves@redhat.com>
7079 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7081 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7083 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7085 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7087 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7088 regexps for GDB's current line display, accept a hex address
7089 preceding the line number.
7091 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7093 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7094 the 'arch1' variable for "s390*-linux*" targets.
7096 2015-03-04 Pedro Alves <palves@redhat.com>
7098 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7099 (main): Pass missing retval argument to pthread_join call.
7101 2015-03-02 Pedro Alves <palves@redhat.com>
7103 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7104 (top level): Call do_test with non-stop as well.
7106 2015-03-02 Pedro Alves <palves@redhat.com>
7108 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7111 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7113 * gdb.arch/s390-vregs.exp: New test.
7114 * gdb.arch/s390-vregs.S: New file.
7116 2015-02-27 Pedro Alves <palves@redhat.com>
7118 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7119 call to catch_command_errors.
7120 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7121 catch_command_errors.
7123 2015-02-27 Pedro Alves <palves@redhat.com>
7125 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7126 "true" for boolean result.
7127 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7130 2015-02-27 Pedro Alves <palves@redhat.com>
7132 * lib/unbuffer_output.c: New file.
7133 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7134 (main): Call gdb_unbuffer_output.
7136 2015-02-27 Yao Qi <yao.qi@linaro.org>
7138 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7141 2015-02-26 Doug Evans <dje@google.com>
7143 * gdb.cp/class2.cc (Dbase, D): New classes.
7144 (main): New local delta.
7145 * gdb.cp/class2.exp: Test printing delta.
7146 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7147 (dynbar): New global.
7148 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7150 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7152 * gdb.compile/compile-ifunc.c: New file.
7153 * gdb.compile/compile-ifunc.exp: New file.
7155 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7157 * gdb.base/structs.exp: Check for correct struct on finish.
7159 2015-02-26 Yao Qi <yao.qi@linaro.org>
7161 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7164 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7166 * gdb.arch/cordic.ko.bz2: New file.
7167 * gdb.arch/cordic.ko.debug.bz2: New file.
7168 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7170 2015-02-25 Yao Qi <yao.qi@linaro.org>
7172 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7173 aarch64*-*-* target.
7175 2015-02-23 Pedro Alves <palves@redhat.com>
7177 * lib/gdb.exp (delete_breakpoints): Rewrite using
7180 2015-02-23 Pedro Alves <palves@redhat.com>
7182 * gdb.base/info-os.c: Include stdlib.h.
7184 2015-02-22 Doug Evans <xdje42@gmail.com>
7187 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7188 is read after symbols have been re-read.
7189 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7190 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7192 2015-02-21 Doug Evans <dje@google.com>
7194 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7196 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7199 * gdb.arch/i386-biarch-core.core.bz2: New file.
7200 * gdb.arch/i386-biarch-core.exp: New file.
7202 2015-02-21 Pedro Alves <palves@redhat.com>
7204 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7207 2015-02-20 Pedro Alves <palves@redhat.com>
7209 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7212 2015-02-20 Pedro Alves <palves@redhat.com>
7214 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7216 2015-02-20 Pedro Alves <palves@redhat.com>
7218 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7219 clean_restart before gdb_target_supports_trace.
7221 2015-02-20 Pedro Alves <palves@redhat.com>
7224 * gdb.threads/clone-thread_db.c: New file.
7225 * gdb.threads/clone-thread_db.exp: New file.
7227 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7229 PR breakpoints/16812
7230 * gdb.base/catch-gdb-caused-signals.c: New file.
7231 * gdb.base/catch-gdb-caused-signals.exp: New file.
7233 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7235 * configure: Regenerated.
7236 * configure.ac: Use GDB_AC_TRANSFORM.
7237 * aclocal.m4: sinclude ../transform.m4.
7239 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7241 * lib/dtrace.exp: New file.
7242 * gdb.base/dtrace-probe.exp: Likewise.
7243 * gdb.base/dtrace-probe.d: Likewise.
7244 * gdb.base/dtrace-probe.c: Likewise.
7245 * lib/pdtrace.in: Likewise.
7246 * configure.ac: Output variables with the transformed names of
7247 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7248 * configure: Regenerated.
7250 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7252 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7253 expected message when trying to access $_probe_* convenience
7254 variables while not on a probe.
7256 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7258 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7260 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7262 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7263 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7265 2015-02-10 Doug Evans <xdje42@gmail.com>
7267 * lib/gdb.exp (gdb_load): Always return a result.
7269 2015-02-10 Pedro Alves <palves@redhat.com>
7271 * gdb.threads/signal-sigtrap.c: New file.
7272 * gdb.threads/signal-sigtrap.exp: New file.
7274 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7276 * gdb.trace/no-attach-trace.c: New file.
7277 * gdb.trace/no-attach-trace.exp: New file.
7279 2015-02-09 Mark Wielaard <mjw@redhat.com>
7281 * gdb.dwarf2/atomic.c: New file.
7282 * gdb.dwarf2/atomic-type.exp: Likewise.
7284 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7286 * gdb.btrace/buffer-size.exp: Update "info record" output.
7287 * gdb.btrace/delta.exp: Update "info record" output.
7288 * gdb.btrace/enable.exp: Update "info record" output.
7289 * gdb.btrace/finish.exp: Update "info record" output.
7290 * gdb.btrace/instruction_history.exp: Update "info record" output.
7291 * gdb.btrace/next.exp: Update "info record" output.
7292 * gdb.btrace/nexti.exp: Update "info record" output.
7293 * gdb.btrace/step.exp: Update "info record" output.
7294 * gdb.btrace/stepi.exp: Update "info record" output.
7295 * gdb.btrace/nohist.exp: Update "info record" output.
7297 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7299 * gdb.btrace/buffer-size: New.
7301 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7303 * gdb.btrace/delta.exp: Update "info record" output.
7304 * gdb.btrace/enable.exp: Update "info record" output.
7305 * gdb.btrace/finish.exp: Update "info record" output.
7306 * gdb.btrace/instruction_history.exp: Update "info record" output.
7307 * gdb.btrace/next.exp: Update "info record" output.
7308 * gdb.btrace/nexti.exp: Update "info record" output.
7309 * gdb.btrace/step.exp: Update "info record" output.
7310 * gdb.btrace/stepi.exp: Update "info record" output.
7311 * gdb.btrace/nohist.exp: Update "info record" output.
7313 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7316 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7318 2015-02-06 Pedro Alves <palves@redhat.com>
7320 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7322 (seconds_left, again): New globals.
7323 (main): Wait seconds_left in a 1-second sleep loop instead of
7324 sleeping 180 seconds. If 'again' is set, reset the seconds
7326 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7327 'again' in the inferior before detaching. Print the seconds left.
7328 (options): New global.
7329 (top level): Build program with -DTIMEOUT=$timeout.
7331 2015-02-06 Pedro Alves <palves@redhat.com>
7333 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7334 determine how many seconds to pass to 'alarm'.
7335 * gdb.base/gdb-sigterm.exp (top level): Build program with
7337 (do_test): Return success/failure indication. Add more verbose
7338 logging. Don't fail if 200 single steps are seen. Instead, fail
7339 when the test times out.
7340 (passes): New global.
7341 (top level): Break the testing loop if testing fails on any
7342 iteration. Use gdb_assert.
7344 2015-02-04 Don Breazeal <donb@codesourcery.com>
7346 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7347 and initialize them.
7348 (ipc_cleanup): New function.
7349 (main): Don't declare shmid, semid, and msqid. Add a call to
7350 atexit so that we call ipc_cleanup on exit.
7352 2015-02-04 Pedro Alves <palves@redhat.com>
7354 * boards/native-extended-gdbserver.exp: Remove any target variant
7355 specifications from the board name before clearing the isremote
7356 flag from board_info.
7358 2015-01-31 Doug Evans <xdje42@gmail.com>
7360 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7362 2015-01-31 Gary Benson <gbenson@redhat.com>
7364 * gdb.base/completion.exp: Disable completion limiting for
7365 existing tests. Add new tests to check completion limiting.
7366 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7368 2015-01-31 Doug Evans <xdje42@gmail.com>
7370 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7372 2015-01-31 Doug Evans <xdje42@gmail.com>
7374 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7375 entries. Duplicate file section script entries.
7376 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7377 inlined entries. Add test for safe-path rejection.
7378 * gdb.python/py-section-script.c: Add duplicate inlined section script
7379 entries. Duplicate file section script entries.
7380 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7381 inlined entries. Add test for safe-path rejection.
7383 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7385 * gdb.ada/disc_arr_bound: New testcase.
7387 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7389 * gdb.ada/mi_var_array: New testcase.
7391 2015-01-27 Doug Evans <dje@google.com>
7393 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7394 Add test for objfile.filename, objfile.username after objfile
7397 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7399 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7400 the second test to print the name attribute of value
7401 returned by the call to gdb.lookup_type, and adjust
7402 the expected output accordingly.
7404 2015-01-25 Mark Wielaard <mjw@redhat.com>
7406 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7407 * gdb.base/disp-step-fork.c: Include unistd.h.
7408 * gdb.base/siginfo-obj.c: Include stdio.h.
7409 * gdb.base/siginfo-thread.c: Likewise.
7410 * gdb.mi/non-stop.c: Include unistd.h.
7411 * gdb.mi/nsthrexec.c: Include stdio.h.
7412 * gdb.mi/pthreads.c: Include unistd.h.
7413 * gdb.modula2/unbounded1.c (main): Declare returns int.
7414 * gdb.reverse/consecutive-reverse.c: Likewise.
7415 * gdb.threads/create-fail.c: Include unistd.h.
7416 * gdb.threads/killed.c: Likewise.
7417 * gdb.threads/linux-dp.c: Likewise.
7418 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7419 * gdb.threads/non-ldr-exc-2.c: Likewise.
7420 * gdb.threads/non-ldr-exc-3.c: Likewise.
7421 * gdb.threads/non-ldr-exc-4.c: Likewise.
7422 * gdb.threads/pthreads.c: Include unistd.h.
7423 (main): Declare returns int.
7424 * gdb.threads/tls-main.c (foo): New declaration.
7425 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7427 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7429 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7430 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7432 2015-01-15 Mark Wielaard <mjw@redhat.com>
7434 * gdb.base/noreturn-return.c: New file.
7435 * gdb.base/noreturn-return.exp: New file.
7436 * gdb.base/noreturn-finish.c: New file.
7437 * gdb.base/noreturn-finish.exp: New file.
7439 2015-01-23 Pedro Alves <palves@redhat.com>
7441 * gdb.threads/continue-pending-after-query.c: New file.
7442 * gdb.threads/continue-pending-after-query.exp: New file.
7444 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7445 Simon Marchi <simon.marchi@ericsson.com>
7447 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7448 * gdb.base/valgrind-db-attach.exp: Same.
7449 * gdb.base/valgrind-infcall.exp: Same.
7450 * lib/mi-support.exp (default_mi_gdb_start): Same.
7451 * lib/prompt.exp (default_prompt_gdb_start): Same.
7452 * lib/gdb.exp (default_gdb_spawn): Same.
7453 (gdb_interact): New.
7456 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7458 * gdb.compile/compile.exp (pointer to jit function): New test.
7460 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7462 * lib/gdb.exp (supports_process_record): Return true for
7464 (supports_reverse): Likewise.
7466 2015-01-15 Don Breazeal <donb@codesourcery.com>
7468 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7469 instead of checking whether the target board is remote and
7470 use spawn_wait_for_attach instead of exec/sleep.
7471 * gdb.base/attach-twice.exp: Likewise.
7473 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7475 * gdb.ada/var_arr_attrs: New testcase.
7477 2015-01-14 Pedro Alves <palves@redhat.com>
7478 Joel Brobecker <brobecker@adacore.com>
7481 * gdb.base/bp-cmds-execution-x-script.c: New file.
7482 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7483 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7485 2015-01-14 Pedro Alves <palves@redhat.com>
7488 * gdb.base/batch-preserve-term-settings.c: New file.
7489 * gdb.base/batch-preserve-term-settings.exp: New file.
7491 2015-01-13 Doug Evans <dje@google.com>
7493 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7496 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7498 * Makefile.in (clean mostlyclean): Do not delete *.py.
7500 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7502 * gdb.python/py-lookup-type.exp: New file.
7504 2015-01-12 Pedro Alves <palves@redhat.com>
7506 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7507 restore GDBFLAGS before returning.
7509 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7511 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7512 is_amd64_regs_target and is_x86_like_target.
7514 2015-01-11 Doug Evans <xdje42@gmail.com>
7516 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7517 is given without an explicit form.
7518 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7520 * gdb.dwarf/corrupt.exp: Ditto.
7521 * gdb.dwarf2/enum-type.exp: Ditto.
7522 * gdb.trace/entry-values.exp: Ditto.
7523 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7525 2015-01-11 Doug Evans <xdje42@gmail.com>
7528 * gdb.base/maint.exp: Remove references to "maint demangle".
7529 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7530 Add tests for explicitly specifying language to demangle.
7531 * gdb.dlang/demangle.exp: Ditto.
7533 2015-01-09 Pedro Alves <palves@redhat.com>
7535 * gdb.threads/non-stop-fair-events.c: New file.
7536 * gdb.threads/non-stop-fair-events.exp: New file.
7538 2015-01-09 Pedro Alves <palves@redhat.com>
7540 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7541 the global scope. Set a breakpoint after all threads are started
7542 rather than stepping over two source lines. Expect the prompt.
7543 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7546 (main): Use threads_started_barrier to wait for all threads to
7547 start. Main thread no longer calls thread_function. Exit after
7549 (loop): New function.
7550 (thread_function): Wait on threads_started_barrier barrier. Call
7551 'loop' at each iteration.
7552 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7553 threads have started, instead of hardcoding number of "next"
7554 steps. Use an access watchpoint instead of a write watchpoint.
7556 2015-01-09 Pedro Alves <palves@redhat.com>
7558 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7559 (thread_func): Wait on barrier.
7560 (main): Wait for all threads to start before stopping GDB.
7561 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7563 (thread1_func, thread2_func): Wait on barrier.
7564 (main): Wait for all threads to start before stopping GDB.
7565 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7567 (thread1_func, thread2_func): Wait on barrier.
7568 (main): Wait for all threads to start before stopping GDB.
7570 2015-01-09 Pedro Alves <palves@redhat.com>
7572 * gdb.threads/attach-many-short-lived-threads.c: New file.
7573 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7575 2014-01-09 Pedro Alves <palves@redhat.com>
7577 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7578 instead of to thread 2.
7579 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7580 Add barrier around each pthread_create call instead of around all
7582 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7583 Set a break on thread_function and have the child threads hit it
7586 2015-01-09 Pedro Alves <palves@redhat.com>
7588 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7589 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7591 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7592 checking whether the target board is remote.
7593 * gdb.multi/multi-attach.exp: Likewise.
7594 * gdb.python/py-sync-interp.exp: Likewise.
7595 * gdb.server/ext-attach.exp: Likewise.
7596 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7597 tests that need to attach, instead of checking whether the target
7598 board is remote at the top of the file.
7600 2015-01-08 Yao Qi <yao@codesourcery.com>
7602 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7604 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7606 Fix testcase compilation.
7607 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7609 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7611 * gdb.python/py-type.exp: Add a couple test about empty
7612 array creation, and negative-length array creation.
7614 2015-01-02 Doug Evans <xdje42@gmail.com>
7616 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7618 2015-01-02 Doug Evans <dje@google.com>
7620 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7622 2014-12-29 Yao Qi <yao@codesourcery.com>
7624 * gdb.trace/entry-values.exp: Update comments. Rename variable
7625 bar_call_foo to returned_from_foo.
7627 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7630 * gdb.linespec/break-asm-file.c: New file.
7631 * gdb.linespec/break-asm-file.exp: New file.
7632 * gdb.linespec/break-asm-file0.s: New file.
7633 * gdb.linespec/break-asm-file1.s: New file.
7635 2014-12-18 Nigel Stephens <nigel@mips.com>
7636 Maciej W. Rozycki <macro@codesourcery.com>
7638 * gdb.base/float.exp: Handle the new output from "info float" on
7641 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7643 Fix MinGW compilation.
7644 * gdb.compile/compile-ops.exp: Update untested message if
7645 !skip_compile_feature_tests.
7646 * gdb.compile/compile-setjmp.exp: Likewise.
7647 * gdb.compile/compile-tls.exp: Likewise.
7648 * gdb.compile/compile.exp: Likewise.
7649 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7650 supported on this host".
7652 2014-12-16 Doug Evans <xdje42@gmail.com>
7654 * boards/stabs.exp: New file.
7656 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7658 * gdb.base/completion.exp: Adjust to format changes of "maint
7659 print user-registers".
7661 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7664 * gdb.arch/aarch64-fp.c: New file.
7665 * gdb.arch/aarch64-fp.exp: New file.
7667 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7669 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7670 r210637, r210913, r211666, r215400, r215817).
7672 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7673 * dg-extract-results.py: New file.
7674 * dg-extract-results.sh: Use it if the environment seems
7677 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7679 * dg-extract-results.py (parse_run): Handle warnings that
7680 are printed before a test harness is run.
7682 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7684 * dg-extract-results.py (Named): Remove __cmp__ method.
7685 (output_variation): Use a key to sort variation.harnesses.
7687 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7689 * dg-extract-results.py: For Python 3, force sys.stdout to
7690 handle surrogate escape sequences.
7691 (safe_open): New function.
7692 (output_segment, main): Use it.
7694 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7696 * dg-extract-results.py (Prog.result_re): Include options
7699 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7701 * dg-extract-results.py (output_variation): Always sort if
7704 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7706 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7707 as long as we get pagination notifications.
7709 2014-12-15 Jason Merrill <jason@redhat.com>
7711 * Makefile.in (check-gdb.%): Restore.
7712 * README: Mention it.
7714 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7716 * gdb.ada/str_uninit: New testcase.
7718 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7721 * gdb.base/vla-stub-define.c: New file.
7722 * gdb.base/vla-stub.c: New file.
7723 * gdb.base/vla-stub.exp: New file.
7725 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7726 Jan Kratochvil <jan.kratochvil@redhat.com>
7727 Tom Tromey <tromey@redhat.com>
7729 * configure.ac: Add gdb.compile/.
7730 * configure: Regenerate.
7731 * gdb.compile/Makefile.in: New file.
7732 * gdb.compile/compile-ops.exp: New file.
7733 * gdb.compile/compile-ops.c: New file.
7734 * gdb.compile/compile-tls.c: New file.
7735 * gdb.compile/compile-tls.exp: New file.
7736 * gdb.compile/compile-constvar.S: New file.
7737 * gdb.compile/compile-constvar.c: New file.
7738 * gdb.compile/compile-mod.c: New file.
7739 * gdb.compile/compile-nodebug.c: New file.
7740 * gdb.compile/compile-setjmp-mod.c: New file.
7741 * gdb.compile/compile-setjmp.c: New file.
7742 * gdb.compile/compile-setjmp.exp: New file.
7743 * gdb.compile/compile-shlib.c: New file.
7744 * gdb.compile/compile.c: New file.
7745 * gdb.compile/compile.exp: New file.
7746 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7748 2014-12-12 Tom Tromey <tromey@redhat.com>
7750 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7751 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7753 2014-12-12 Doug Evans <dje@google.com>
7755 * lib/gdb-python.exp (get_python_valueof): New function.
7756 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7758 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7760 * gdb.base/completion.exp: Add test for completion of "info
7763 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7765 * gdb.base/func-ptrs.c: New file.
7766 * gdb.base/func-ptrs.exp: New file.
7768 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7770 PR breakpoints/17012
7771 * gdb.base/dprintf-detach.c: New file.
7772 * gdb.base/dprintf-detach.exp: New file.
7774 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7776 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7777 * lib/gdb.exp (target_is_gdbserver): New procedure.
7779 2014-12-08 Doug Evans <dje@google.com>
7781 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7783 2014-12-05 Yao Qi <yao@codesourcery.com>
7785 * gdb.guile/scm-error.exp: Remove the third argument to
7786 gdb_remote_download.
7787 * gdb.guile/scm-frame-args.exp: Likewise.
7788 * gdb.guile/scm-section-script.exp: Likewise.
7790 2014-12-05 Yao Qi <yao@codesourcery.com>
7792 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7794 2014-12-04 Doug Evans <dje@google.com>
7796 * gdb.python/py-objfile.exp: Add tests for
7797 objfile.add_separate_debug_file.
7799 2014-12-04 Doug Evans <dje@google.com>
7801 * lib/gdb.exp (get_build_id): New function.
7802 (build_id_debug_filename_get): Rewrite to use it.
7803 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7805 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7807 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7808 `method(long)', not just 0x0.
7809 * gdb.cp/nsalias.exp: Align code labels to 4.
7810 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7811 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7812 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7813 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7814 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7815 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7817 2014-12-02 Doug Evans <dje@google.com>
7820 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7821 * gdb.cp/anon-ns2.cc: ... here. New file.
7822 * gdb.cp/anon-ns.exp: Update.
7824 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7826 * gdb.python/py-events.py (inferior_call_handler): New.
7827 (register_changed_handler, memory_changed_handler): New.
7828 (test_events.invoke): Register new handlers.
7829 * gdb.python/py-events.exp: Add tests for inferior call,
7830 memory_changed and register_changed events.
7832 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7834 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7835 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7836 if the linker doesn't understand this.
7838 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7840 * gdb.python/python.exp: Change expected reply to help().
7842 2014-12-01 Yao Qi <yao@codesourcery.com>
7844 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7845 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7846 * configure: Re-generated.
7848 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7850 * gdb.cp/chained-calls.cc: New file.
7851 * gdb.cp/chained-calls.exp: New file.
7852 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7854 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7856 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7857 * gdb.dwarf2/symtab-producer.exp: Same.
7858 * gdb.gdb/python-interrupts.exp: Same.
7859 * gdb.gdb/python-selftest.exp: Same.
7860 * gdb.python/py-linetable.exp: Same.
7861 * gdb.python/py-type.exp: Same.
7862 * gdb.python/py-value-cc.exp: Same.
7863 * gdb.python/py-value.exp: Same.
7865 2014-11-28 Yao Qi <yao@codesourcery.com>
7867 * gdb.base/break-probes.exp: Match library name prefixed with
7870 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7872 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7873 test expected output. Add parentheses for the call to print.
7874 Remove L suffix from integers.
7876 2014-11-26 Doug Evans <dje@google.com>
7878 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7880 2014-11-22 Yao Qi <yao@codesourcery.com>
7882 * gdb.trace/entry-values.c: Remove asms.
7883 (foo): Add foo_label.
7884 (bar): Add bar_label.
7885 * gdb.trace/entry-values.exp: Remove code computing foo's
7886 length and bar's length.
7887 (Dwarf::assemble): Invoke function_range for bar and use
7888 MACRO_AT_func for foo.
7890 2014-11-22 Yao Qi <yao@codesourcery.com>
7892 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7893 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7894 Use .Lgcc43_procstart instead of gcc43.
7896 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7898 * gdb.ada/n_arr_bound: New testcase.
7900 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7902 PR breakpoints/10737
7903 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7904 test_catch_syscall_multi_arch.
7905 (test_catch_syscall_multi_arch): New function.
7907 2014-11-20 Doug Evans <xdje42@gmail.com>
7909 * gdb.base/maint.exp: Update expected output.
7911 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7913 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7914 4-byte instruction on S390.
7916 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7918 * gdb.ada/arr_arr: New testcase.
7920 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7922 * gdb.ada/pkd_arr_elem: New Testcase.
7924 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7926 * gdb.reverse/break-precsave: Expect completion message for
7928 * gdb.reverse/consecutive-precsave.exp: Likewise.
7929 * gdb.reverse/finish-precsave.exp: Likewise.
7930 * gdb.reverse/i386-precsave.exp: Likewise.
7931 * gdb.reverse/machinestate-precsave.exp: Likewise.
7932 * gdb.reverse/sigall-precsave.exp: Likewise.
7933 * gdb.reverse/solib-precsave.exp: Likewise.
7934 * gdb.reverse/step-precsave.exp: Likewise.
7935 * gdb.reverse/until-precsave.exp: Likewise.
7936 * gdb.reverse/watch-precsave.exp: Likewise.
7938 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7940 * gdb.base/bp-permanent.c: Include unistd.h.
7941 * gdb.python/py-framefilter-mi.c (main): Add return type.
7942 * gdb.python/py-framefilter.c (main): Likewise.
7943 * gdb.trace/actions-changed.c (main): Likewise.
7945 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7947 * gdb.mi/until.c: Add eye-catchers.
7948 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7951 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7953 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7954 function header variants in break1.c.
7955 * gdb.base/ena-dis-br.exp: Likewise.
7956 * gdb.base/hbreak2.exp: Likewise.
7957 * gdb.reverse/until-precsave.exp: Drop references to removed
7958 non-prototype function header variants in ur1.c.
7959 * gdb.reverse/until-reverse.exp: Likewise.
7961 2014-11-17 Petr Machata <pmachata@redhat.com>
7963 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7964 ${_cu_offset_size} bytes abbrev offset.
7966 2014-11-15 Doug Evans <xdje42@gmail.com>
7969 * gdb.base/line-symtabs.exp: New file.
7970 * gdb.base/line-symtabs.c: New file.
7971 * gdb.base/line-symtabs.h: New file.
7973 2014-11-14 Yao Qi <yao@codesourcery.com>
7975 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7976 (func): Add label func_label.
7977 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7978 Replace low_pc and high_pc with MACRO_AT_range.
7979 Replace name, low_pc and high_pc with MACRO_AT_func.
7981 2014-11-14 Yao Qi <yao@codesourcery.com>
7983 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
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: Use Dwarf::assemble to
7989 produce debug information.
7990 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7992 2014-11-14 Yao Qi <yao@codesourcery.com>
7994 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7995 object and get function length.
7996 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7998 (top-level): Replace gdb_compile and clean_restart with
7999 prepare_for_testing.
8000 * gdb.dwarf2/main.c (main): Add label main_label.
8002 2014-11-14 Yao Qi <yao@codesourcery.com>
8004 * lib/dwarf.exp (function_range): New procedure.
8005 (Dwarf::_handle_macro_at_func): New procedure.
8006 (Dwarf::_handle_macro_at_range): New procedure.
8007 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8009 2014-11-14 Yao Qi <yao@codesourcery.com>
8011 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8012 (_handle_attribute): New procedure.
8014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8016 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8017 * gdb.base/call-sc.c (zed): Likewise.
8018 * gdb.base/checkpoint.c (main): Likewise.
8019 * gdb.base/dump.c (main): Likewise.
8020 * gdb.base/gcore.c (main): Likewise.
8021 * gdb.base/huge.c (main): Likewise.
8022 * gdb.base/multi-forks.c (main): Likewise.
8023 * gdb.base/pr10179-a.c (main): Likewise.
8024 * gdb.base/savedregs.c (main): Likewise.
8025 * gdb.base/sigaltstack.c (main): Likewise.
8026 * gdb.base/siginfo.c (main): Likewise.
8027 * gdb.base/structs.c (zed): Likewise.
8028 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8029 * gdb.mi/mi-syn-frame.c (main): Likewise.
8030 * gdb.mi/until.c (foo, main): Likewise.
8031 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8032 * gdb.base/solib-weak.c (foo): Declare.
8033 * gdb.base/attach-twice.c: Include stdio.h.
8034 * gdb.base/weaklib1.c: Likewise.
8035 * gdb.base/weaklib2.c: Likewise.
8036 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8037 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8039 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8040 * gdb.mi/mi-exit-code.c: Likewise.
8041 * gdb.base/break-interp-lib.c: Include string.h.
8042 * gdb.base/coremaker.c: Likewise.
8043 * gdb.base/testenv.c: Likewise.
8044 * gdb.python/py-finish-breakpoint.c: Likewise.
8045 * gdb.base/inferior-died.c: Include sys/wait.h.
8046 * gdb.base/fileio.c: Include time.h.
8047 * gdb.base/async-shell.c: Include unistd.h.
8048 * gdb.base/dprintf-non-stop.c: Likewise.
8049 * gdb.base/info-os.c: Likewise.
8050 * gdb.mi/mi-console.c: Likewise.
8051 * gdb.mi/watch-nonstop.c: Likewise.
8052 * gdb.python/py-events.c: Likewise.
8053 * gdb.base/async.c (baz): Move up before its invocation.
8054 * gdb.base/code_elim2.c (my_global_func): Likewise.
8055 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8056 * gdb.base/advance.c (func2): Likewise.
8058 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8060 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8062 * gdb.base/annota3.c: Likewise.
8063 * gdb.base/async.c: Likewise.
8064 * gdb.base/average.c: Likewise.
8065 * gdb.base/call-ar-st.c: Likewise.
8066 * gdb.base/call-rt-st.c: Likewise.
8067 * gdb.base/call-sc.c: Likewise.
8068 * gdb.base/call-strs.c: Likewise.
8069 * gdb.base/ending-run.c: Likewise.
8070 * gdb.base/execd-prog.c: Likewise.
8071 * gdb.base/exprs.c: Likewise.
8072 * gdb.base/foll-exec.c: Likewise.
8073 * gdb.base/foll-fork.c: Likewise.
8074 * gdb.base/foll-vfork.c: Likewise.
8075 * gdb.base/funcargs.c: Likewise.
8076 * gdb.base/gcore.c: Likewise.
8077 * gdb.base/jump.c: Likewise.
8078 * gdb.base/langs0.c: Likewise.
8079 * gdb.base/langs1.c: Likewise.
8080 * gdb.base/langs2.c: Likewise.
8081 * gdb.base/mips_pro.c: Likewise.
8082 * gdb.base/nodebug.c: Likewise.
8083 * gdb.base/opaque0.c: Likewise.
8084 * gdb.base/opaque1.c: Likewise.
8085 * gdb.base/recurse.c: Likewise.
8086 * gdb.base/run.c: Likewise.
8087 * gdb.base/scope0.c: Likewise.
8088 * gdb.base/scope1.c: Likewise.
8089 * gdb.base/setshow.c: Likewise.
8090 * gdb.base/setvar.c: Likewise.
8091 * gdb.base/shmain.c: Likewise.
8092 * gdb.base/shr1.c: Likewise.
8093 * gdb.base/shr2.c: Likewise.
8094 * gdb.base/sigall.c: Likewise.
8095 * gdb.base/signals.c: Likewise.
8096 * gdb.base/so-indr-cl.c: Likewise.
8097 * gdb.base/solib2.c: Likewise.
8098 * gdb.base/structs.c: Likewise.
8099 * gdb.base/sum.c: Likewise.
8100 * gdb.base/vforked-prog.c: Likewise.
8101 * gdb.base/watchpoint.c: Likewise.
8102 * gdb.reverse/shr2.c: Likewise.
8103 * gdb.reverse/until-reverse.c: Likewise.
8104 * gdb.reverse/ur1.c: Likewise.
8105 * gdb.reverse/watch-reverse.c: Likewise.
8107 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8109 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8111 * gdb.base/sepdebug.exp: Drop references to removed code.
8113 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8115 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8116 variant. Preserve original line numbering.
8117 * gdb.base/list1.c: Likewise.
8119 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8121 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8123 * gdb.base/break1.c: Likewise.
8124 * gdb.base/break.exp: Drop references to removed code.
8126 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8128 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8131 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8133 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8135 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8137 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8138 logic into perform_all_tests() and invoke it with and without
8139 function header prototypes.
8140 (do_function_calls): Remove conditional XFAIL for PR 5318.
8141 (rerun_and_prepare): Remove duplicate code.
8142 (perform_all_tests): New. Main logic moved here.
8144 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8146 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8147 code guarded by #ifdef NO_PROTOTYPES.
8148 (t_double_many_args): Likewise.
8149 (DEF_FUNC_MANY_ARGS_1): Likewise.
8150 (DEF_FUNC_VALUES_1): Likewise.
8151 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8152 guarded by #ifdef PROTOTYPES.
8154 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8156 * gdb.mi/mi-console.c: Add eye-catcher.
8157 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8158 instead of literal line number.
8160 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8162 * gdb.base/shr2.c: Add eye-catcher.
8163 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8166 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8168 * gdb.base/jump.c: Add eye-catchers.
8169 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8172 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8174 * gdb.base/execd-prog.c: Add eye-catchers.
8175 * gdb.base/foll-exec.c: Likewise.
8176 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8179 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8181 * gdb.base/ending-run.c: Add eye-catchers.
8182 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8183 literal line numbers.
8185 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8187 * gdb.base/call-rt-st.c: Add eye-catchers.
8188 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8189 literal line numbers.
8191 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8193 * gdb.base/call-ar-st.c: Add eye-catchers.
8194 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8195 literal line numbers.
8197 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8199 * gdb.base/average.c: Add eye-catchers.
8200 * gdb.base/sum.c: Likewise.
8201 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8202 regexps dynamically.
8204 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8206 * gdb.base/solib1.c: Add eye-catchers.
8207 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8208 literal line numbers.
8210 2014-11-12 Pedro Alves <palves@redhat.com>
8212 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8215 2014-11-12 Pedro Alves <palves@redhat.com>
8217 * gdb.arch/i386-bp_permanent.c: New file.
8218 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8219 (srcfile): Set to i386-bp_permanent.c.
8220 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8221 that stepi does not execute the 'leave' instruction, instead of
8222 testing it does execute.
8223 * gdb.base/bp-permanent.c: New file.
8224 * gdb.base/bp-permanent.exp: New file.
8226 2014-11-10 Doug Evans <xdje42@gmail.com>
8229 * gdb.base/symtab-search-order.exp: New file.
8230 * gdb.base/symtab-search-order.c: New file.
8231 * gdb.base/symtab-search-order-1.c: New file.
8232 * gdb.base/symtab-search-order-shlib-1.c: New file.
8234 2014-11-07 Pedro Alves <palves@redhat.com>
8237 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8240 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8243 * gdb.cp/pr17494.cc: New file.
8244 * gdb.cp/pr17494.exp: New file.
8246 2014-11-02 Yao Qi <yao@codesourcery.com>
8248 * gdb.python/python.exp: Get working directory and match the
8249 output of "set extended-prompt \\w " with it.
8251 2014-10-30 Doug Evans <dje@google.com>
8253 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8255 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8258 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8260 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8261 * gdb.base/realname-expand.exp: Likewise.
8262 * gdb.linespec/macro-relative.exp: Likewise.
8264 2014-10-29 Pedro Alves <palves@redhat.com>
8267 * gdb.threads/schedlock.c (some_function): New function.
8268 (call_function): New global.
8269 (MAYBE_CALL_SOME_FUNCTION): New macro.
8270 (thread_function): Call it.
8271 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8272 and use it instead of a global counter. Adjust all callers.
8273 (get_current_thread): Use "find current thread" for test message
8274 here rather than having all callers pass down the same string.
8275 (goto_loop): New procedure, factored out from ...
8276 (my_continue): ... this.
8277 (step_ten_loops): Change parameter from test message to command to
8279 (list_count): Delete global.
8280 (check_result): New procedure, factored out from duplicate top
8282 (continue tests): Wrap in with_test_prefix.
8283 (test_step): New procedure, factored out from duplicate top level
8285 (top level): Test "step" in combination with all scheduler-locking
8286 modes. Test "next" in combination with all scheduler-locking
8287 modes, and in combination with stepping over a function call or
8289 * gdb.threads/next-bp-other-thread.c: New file.
8290 * gdb.threads/next-bp-other-thread.exp: New file.
8292 2014-10-29 Pedro Alves <palves@redhat.com>
8295 * gdb.python/python.exp: Test a multi-line command that spawns
8297 * gdb.base/multi-line-starts-subshell.exp: New file.
8299 2014-10-29 Yao Qi <yao@codesourcery.com>
8301 * gdb.base/fileio.exp: Make directories on host.
8303 2014-10-29 Yao Qi <yao@codesourcery.com>
8305 * gdb.base/fileio.c (test_write): Close the file.
8307 2014-10-28 Pedro Alves <palves@redhat.com>
8310 * gdb.base/sigstep.c (no_handler): New global.
8311 (main): If 'no_handler is true, set the signal handlers to
8313 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8314 with_sw_watch and no_handler parameters. Handle them.
8315 (top level) <stepping over handler when stopped at a breakpoint
8316 test>: Add a test axis for testing with a software watchpoint, and
8317 another for testing with the signal handler set to SIG_IGN.
8318 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8319 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8321 2014-10-28 Pedro Alves <palves@redhat.com>
8324 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8325 * gdb.base/sigstep.exp (other_handler_location): New global.
8326 (advance): Support stepping into the signal handler, and running
8327 commands while in the handler.
8328 (in_handler_map): New global.
8329 (top level): In the advance test, add combinations for getting
8330 into the handler with stepping commands, and for running commands
8331 in the handler. Add comment descripting the advancei tests.
8333 2014-10-28 Pedro Alves <palves@redhat.com>
8335 * gdb.base/sigstep.exp: Use build_executable instead of
8336 prepare_for_testing.
8337 (top level): Move code that starts GDB, runs to main and creates a
8339 (restart): ... this new procedure.
8340 (top level): Move backtrace from signal handler test to ...
8341 (validate_backtrace): ... this new procedure.
8342 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8343 with_test_prefix. Always restart GDB.
8344 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8345 with_test_prefix. Always restart GDB. No need to delete
8346 breakpoints after the test.
8347 (test_skip_handler): Remove prefix parameter.
8348 (skip_over_handler, breakpoint_to_handler)
8349 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8350 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8351 restart GDB. No need to delete breakpoints after the test.
8352 (top level): Use foreach to call the test procedures with
8355 2014-10-28 Pedro Alves <palves@redhat.com>
8357 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8358 instead of GNATS numbers.
8359 * gdb.base/sigbpt.exp: Likewise.
8360 * gdb.base/siginfo.exp: Likewise.
8361 * gdb.base/sigstep.exp: Likewise.
8363 2014-10-27 Pedro Alves <palves@redhat.com>
8365 * gdb.base/sigstep.c (dummy): New global.
8366 (main): Issue a couple writes to the new global.
8367 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8369 (skip_over_handler): Use test_skip_handler.
8370 (top level): Call skip_over_handler for stepi and nexti too.
8371 (breakpoint_over_handler): Use test_skip_handler.
8372 (top level): Call breakpoint_over_handler for stepi and nexti too.
8374 2014-10-27 Yao Qi <yao@codesourcery.com>
8376 * gdb.trace/tfile.c (adjust_function_address)
8377 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8378 function descriptor.
8380 2014-10-24 Don Breazeal <donb@codesourcery.com>
8382 * gdb.base/foll-fork.exp (test_follow_fork,
8383 catch_fork_child_follow): Check for updated fork messages emitted
8385 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8386 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8387 vfork_and_exec_child_follow_through_step): Check for updated vfork
8388 messages emitted from infrun.c.
8390 2014-10-24 Pedro Alves <palves@redhat.com>
8392 * gdb.base/corefile.exp: Remove references to ultrix.
8393 * gdb.base/interrupt.exp: Likewise.
8394 * gdb.base/whatis.exp: Likewise.
8395 * gdb.gdb/selftest.exp: Likewise.
8396 * gdb.threads/manythreads.exp: Likewise.
8397 * gdb.threads/print-threads.exp: Likewise.
8398 * gdb.threads/pthreads.exp:: Likewise.
8399 * gdb.threads/schedlock.exp: Likewise.
8401 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8403 * gdb.cp/non-trivial-retval.cc: Add a test case.
8404 * gdb.cp/non-trivial-retval.exp: Add a test.
8406 2014-10-20 Yao Qi <yao@codesourcery.com>
8408 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8409 * gdb.python/py-objfile-script-gdb.py: New file.
8410 * gdb.python/py-objfile-script.exp: Update reference to
8411 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8412 of remote_download. Remove the dest file.
8414 2014-10-20 Yao Qi <yao@codesourcery.com>
8416 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8417 * gdb.base/step-line.exp: Likewise.
8418 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8419 * gdb.dwarf2/dw2-basic.exp: Likewise.
8420 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8421 * gdb.dwarf2/dw2-filename.exp: Likewise.
8422 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8423 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8424 * gdb.dwarf2/dw2-producer.exp: Likewise.
8425 * gdb.dwarf2/mac-fileno.exp: Likewise.
8426 * gdb.python/py-frame-args.exp: Likewise.
8427 * gdb.python/py-framefilter.exp: Likewise.
8428 * gdb.python/py-mi.exp: Likewise.
8429 * gdb.python/py-objfile-script.exp: Likewise
8430 * gdb.python/py-pp-integral.exp: Likewise.
8431 * gdb.python/py-pp-re-notag.exp: Likewise.
8432 * gdb.python/py-prettyprint.exp: Likewise.
8433 * gdb.python/py-section-script.exp: Likewise.
8434 * gdb.python/py-typeprint.exp: Likewise.
8435 * gdb.python/py-xmethods.exp: Likewise.
8436 * gdb.stabs/weird.exp: Likewise.
8437 * gdb.xml/tdesc-regs.exp: Likewise.
8439 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8441 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8442 (out_cu): Use addr_len for the size of addresses.
8443 (out_line): Likewise. Size DW_LNE_set_address instruction
8444 according to addr_len.
8445 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8446 (FUNC): Add START_INSNS to definition.
8448 2014-10-18 Yao Qi <yao@codesourcery.com>
8450 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8451 gdb_has_argv0 return true.
8452 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8453 check [target_info exists noargs], check [gdb_has_argv0]
8455 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8456 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8459 2014-10-17 Doug Evans <dje@google.com>
8461 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8463 * gdb.python/py-events.py: Add clear_objfiles event.
8465 2014-10-17 Doug Evans <dje@google.com>
8467 * gdb.python/py-objfile.exp: Test progspace attribute.
8469 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8471 * gdb.guile/scm-breakpoint.exp: Do not assume any
8472 directory separators when matching source file paths.
8473 * gdb.python/py-breakpoint.exp: Likewise.
8474 * gdb.reverse/break-precsave.exp: Likewise.
8475 * gdb.reverse/break-reverse.exp: Likewise.
8476 * gdb.reverse/consecutive-precsave.exp: Likewise.
8477 * gdb.reverse/finish-precsave.exp: Likewise.
8478 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8479 * gdb.reverse/finish-reverse.exp: Likewise.
8480 * gdb.reverse/i386-precsave.exp: Likewise.
8481 * gdb.reverse/i387-env-reverse.exp: Likewise.
8482 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8483 * gdb.reverse/machinestate-precsave.exp: Likewise.
8484 * gdb.reverse/machinestate.exp: Likewise.
8485 * gdb.reverse/sigall-precsave.exp: Likewise.
8486 * gdb.reverse/solib-precsave.exp: Likewise.
8487 * gdb.reverse/step-precsave.exp: Likewise.
8488 * gdb.reverse/until-precsave.exp: Likewise.
8489 * gdb.reverse/watch-precsave.exp: Likewise.
8490 * gdb.reverse/watch-reverse.exp: Likewise.
8492 2014-10-17 Yao Qi <yao@codesourcery.com>
8494 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8495 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8497 2014-10-17 Pedro Alves <palves@redhat.com>
8500 * gdb.base/bg-execution-repeat.c: New file.
8501 * gdb.base/bg-execution-repeat.exp: New file.
8503 2014-10-17 Pedro Alves <palves@redhat.com>
8506 * gdb.base/continue-all-already-running.c: New file.
8507 * gdb.base/continue-all-already-running.exp: New file.
8509 2014-10-17 Pedro Alves <palves@redhat.com>
8512 * gdb.base/annota-input-while-running.c: New file.
8513 * gdb.base/annota-input-while-running.exp: New file.
8515 2014-10-17 Pedro Alves <palves@redhat.com>
8517 * gdb.base/callfuncs.exp: emove references to osf.
8518 * gdb.base/sigall.exp: Likewise.
8519 * gdb.gdb/selftest.exp: Likewise.
8520 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8521 * gdb.mi/non-stop.c: Likewise.
8522 * gdb.mi/pthreads.c: Likewise.
8523 * gdb.reverse/sigall-precsave.exp: Likewise.
8524 * gdb.reverse/sigall-reverse.exp: Likewise.
8525 * gdb.threads/pthreads.c: Likewise.
8526 * gdb.threads/pthreads.exp: Likewise.
8528 2014-10-17 Yao Qi <yao@codesourcery.com>
8530 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8531 check 'target_info exists noargs'.
8532 (test_command_prompt_position): Likewise.
8533 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8535 (progvar_simple_while_test): Likewise.
8536 (progvar_complex_if_while_test): Likewise.
8537 (if_while_breakpoint_command_test): Likewise.
8538 (infrun_breakpoint_command_test): Likewise.
8539 (breakpoint_command_test): Likewise.
8540 (watchpoint_command_test): Likewise.
8541 (bp_deleted_in_command_test): Likewise.
8542 (temporary_breakpoint_commands): Likewise.
8544 2014-10-16 Yao Qi <yao@codesourcery.com>
8546 * gdb.base/remotetimeout.exp: Remove noargs checking.
8548 2014-10-15 Pedro Alves <palves@redhat.com>
8551 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8552 * gdb.base/breakpoint-in-ro-region.exp
8553 (probe_target_hardware_step): New procedure.
8554 (top level): Probe hardware stepping and hardware breakpoint
8555 support. Test stepping through a read-only region, with both
8556 "breakpoint auto-hw" on and off and both "always-inserted" on and
8559 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8561 * gdb.dlang/demangle.exp: Update for demangling changes.
8563 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8565 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8566 * gdb.cp/non-trivial-retval.exp: Add new tests.
8568 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8572 * gdb.cp/non-trivial-retval.cc: New file.
8573 * gdb.cp/non-trivial-retval.exp: New file.
8575 2014-10-15 Yao Qi <yao@codesourcery.com>
8577 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8580 2014-10-15 Yao Qi <yao@codesourcery.com>
8582 * gdb.python/py-symbol.exp: Match file base name if host is
8583 remote, otherwise match file name with dir name.
8584 * gdb.python/py-symtab.exp: Likewise.
8585 * gdb.python/python.exp: Likewise.
8587 2014-10-15 Yao Qi <yao@codesourcery.com>
8589 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8591 * gdb.python/py-symtab.exp: Likewise.
8592 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8595 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8597 * gdb.ada/addr_arith: New testcase.
8599 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8601 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8602 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8603 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8604 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8606 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8608 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8609 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8610 * gdb.arch/stap-eval-lang-ada.exp: New file.
8612 2014-10-14 Yao Qi <yao@codesourcery.com>
8614 * gdb.mi/mi-var-child.c (nothing1): New function.
8615 (nothing2): New function.
8616 (do_children_tests): Set function pointers by nothing1 and
8618 * gdb.mi/mi-var-child.exp: Step over new added statements.
8619 Update test to match the new output.
8620 * gdb.mi/var-cmd.c (nothing1): New function.
8621 (nothing2): New function.
8622 (do_children_tests): Set function pointers by nothing1 and
8624 * gdb.mi/mi-var-display.exp: Update test to match output.
8625 Step to the line specified by $line_dct_nothing.
8626 Increase the number of lines to step.
8628 2014-10-14 Yao Qi <yao@codesourcery.com>
8630 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8632 * gdb.mi/mi2-var-child.exp: Likewise.
8634 2014-10-13 Doug Evans <dje@google.com>
8636 * gdb.python/py-objfile.exp: Change name of file name test.
8638 2014-10-13 Doug Evans <dje@google.com>
8640 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8641 from the start of the CU.
8643 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8644 Yao Qi <yao@codesourcery.com>
8646 Fix "save breakpoints" for "catch" command.
8647 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8648 Remove -nonewline. Match also the added "main" line.
8650 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8652 Fix "save breakpoints" for "disable $bpnum" command.
8653 * gdb.base/save-bp.c (main): Add label.
8654 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8656 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8658 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8660 2014-10-11 Yao Qi <yao@codesourcery.com>
8662 * gdb.server/server-kill.exp: Execute command
8663 "set remote trace-status-packet on" before "tstatus".
8665 2014-10-11 Yao Qi <yao@codesourcery.com>
8667 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8668 (main): Call getppid.
8669 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8670 and continue to it. Read variable "server_pid".
8672 2014-10-11 Yao Qi <yao@codesourcery.com>
8674 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8676 2014-10-11 Yao Qi <yao@codesourcery.com>
8678 * gdb.threads/thread-find.exp: Don't execute command
8680 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8681 * gdb.threads/linux-dp.exp: Don't check the condition
8682 $threads_created equals to zero.
8684 2014-10-10 Pedro Alves <palves@redhat.com>
8686 * gdb.base/bigcore.exp: Remove references to IRIX.
8687 * gdb.base/funcargs.exp: Likewise.
8688 * gdb.base/interrupt.exp: Likewise.
8689 * gdb.base/mips_pro.exp: Likewise.
8690 * gdb.base/nodebug.exp: Likewise.
8691 * gdb.base/setvar.exp: Likewise.
8692 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8694 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8695 Pedro Alves <palves@redhat.com>
8698 * gdb.base/vdso-warning.c: New file.
8699 * gdb.base/vdso-warning.exp: New file.
8701 2014-10-02 Doug Evans <dje@google.com>
8703 * gdb.base/structs.c (main): Don't run forever.
8705 2014-10-02 Pedro Alves <palves@redhat.com>
8707 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8708 (top level) <stop threads 1, stop threads 2>: Use it.
8710 2014-10-02 Pedro Alves <palves@redhat.com>
8712 * gdb.threads/break-while-running.exp (test): Add new
8713 'update_thread_list' argument. Skip "info threads" if false.
8714 (top level): Add new 'update_thread_list' axis.
8716 2014-10-02 Pedro Alves <palves@redhat.com>
8718 PR breakpoints/17431
8719 * gdb.base/execl-update-breakpoints.c: New file.
8720 * gdb.base/execl-update-breakpoints.exp: New file.
8722 2014-10-01 Pedro Alves <palves@redhat.com>
8724 * gdb.base/breakpoint-in-ro-region.c: New file.
8725 * gdb.base/breakpoint-in-ro-region.exp: New file.
8727 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8729 * gdb.mi/mi-exit-code.exp: New file.
8730 * gdb.mi/mi-exit-code.c: New file.
8732 2014-09-30 Yao Qi <yao@codesourcery.com>
8734 * lib/prelink-support.exp (build_executable_own_libs): Error if
8735 the target isn't native.
8737 2014-09-30 Yao Qi <yao@codesourcery.com>
8739 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8742 2014-09-22 Pedro Alves <palves@redhat.com>
8744 * gdb.threads/break-while-running.exp: New file.
8745 * gdb.threads/break-while-running.c: New file.
8747 2014-09-19 Yao Qi <yao@codesourcery.com>
8749 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8750 Invoke test. Restart GDB with --readnow and invoke test again.
8752 2014-09-19 Yao Qi <yao@codesourcery.com>
8754 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8755 proc set_breakpoint_on_gcd_function. Invoke
8756 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8757 invoke set_breakpoint_on_gcd_function again.
8759 2014-09-18 Doug Evans <dje@google.com>
8761 * gdb.dwarf2/symtab-producer.exp: New file.
8763 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8765 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8766 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8767 * gdb.base/global-var-nested-by-dso.c: Likewise.
8768 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8770 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8771 Pedro Alves <palves@redhat.com>
8773 * gdb.base/watch-bitfields.exp: Pass string other than test file
8774 name to prepare_for_testing.
8775 (watch): New procedure.
8776 (expect_watchpoint): Use with_test_prefix.
8777 (top level): Factor out tests to ...
8778 (test_watch_location, test_regular_watch): ... these new
8779 procedures, and use with_test_prefix and gdb_continue_to_end.
8781 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8783 PR breakpoints/12526
8784 * gdb.base/watch-bitfields.exp: New file.
8785 * gdb.base/watch-bitfields.c: New file.
8787 2014-09-16 Pedro Alves <palves@redhat.com>
8789 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8790 software and hardware addresses, not software address against
8793 2014-09-16 Pedro Alves <palves@redhat.com>
8795 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8796 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8798 2014-09-16 Pedro Alves <palves@redhat.com>
8800 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8802 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8803 "*-*-vxworks*" throughout.
8804 * gdb.base/break.exp: Likewise.
8805 * gdb.base/default.exp: Likewise.
8806 * gdb.base/scope.exp: Likewise.
8807 * gdb.base/sepdebug.exp: Likewise.
8808 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8810 * gdb.base/run.c: Likewise.
8811 * gdb.base/sepdebug.c: Likewise.
8812 * gdb.hp/gdb.aCC/run.c: Likewise.
8813 * gdb.reverse/until-reverse.c: Likewise.
8814 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8816 2014-09-16 Yao Qi <yao@codesourcery.com>
8818 * boards/local-remote-host-native.exp: New file.
8820 2014-09-14 Doug Evans <xdje42@gmail.com>
8822 * gdb.threads/queue-signal.c (thread_count): New variable.
8823 (thread_count_mutex, thread_count_condvar): New variables.
8824 (incr_thread_count, wait_all_threads_running): New functions.
8825 (main): Wait for all threads to be in their thread functions.
8827 2014-09-13 Doug Evans <xdje42@gmail.com>
8829 * gdb.threads/queue-signal.c: New file.
8830 * gdb.threads/queue-signal.exp: New file.
8832 2014-09-13 Doug Evans <xdje42@gmail.com>
8834 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8835 be consistent with what default_gdb_init uses.
8836 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8837 the plain text of the prompt. Add some logging printfs.
8838 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8840 2014-09-12 Pedro Alves <palves@redhat.com>
8842 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8843 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8844 * gdb.arch/i386-size-overlap.exp: Likewise.
8845 * gdb.arch/i386-size.exp: Likewise.
8846 * gdb.arch/i386-unwind.exp: Likewise.
8847 * gdb.base/a2-run.exp: Likewise.
8848 * gdb.base/break.exp: Likewise.
8849 * gdb.base/charset.exp: Likewise.
8850 * gdb.base/chng-syms.exp: Likewise.
8851 * gdb.base/commands.exp: Likewise.
8852 * gdb.base/dbx.exp: Likewise.
8853 * gdb.base/find.exp: Likewise.
8854 * gdb.base/funcargs.exp: Likewise.
8855 * gdb.base/jit-simple.exp: Likewise.
8856 * gdb.base/reread.exp: Likewise.
8857 * gdb.base/sepdebug.exp: Likewise.
8858 * gdb.base/step-bt.exp: Likewise.
8859 * gdb.cp/mb-inline.exp: Likewise.
8860 * gdb.cp/mb-templates.exp: Likewise.
8861 * gdb.objc/basicclass.exp: Likewise.
8862 * gdb.threads/killed.exp: Likewise.
8864 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8867 * gdb.arch/powerpc-stackless.S: New file.
8868 * gdb.arch/powerpc-stackless.exp: New file.
8870 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8872 * gdb.base/attach.c: Include unistd.h.
8873 (main): Call alarm. Add label postloop.
8874 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8875 gdb_breakpoint, gdb_continue_to_breakpoint.
8876 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8878 2014-09-11 Pedro Alves <palves@redhat.com>
8881 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8882 * gdb.base/attach.exp (test_command_line_attach_run): New
8884 (top level): Call it.
8886 2014-09-11 Pedro Alves <palves@redhat.com>
8888 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8889 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8890 (do_command_attach_tests): Use spawn_wait_for_attach.
8891 * gdb.base/solib-overlap.exp: Likewise.
8892 * gdb.multi/multi-attach.exp: Likewise.
8893 * gdb.python/py-prompt.exp: Likewise.
8894 * gdb.python/py-sync-interp.exp: Likewise.
8895 * gdb.server/ext-attach.exp: Likewise.
8897 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8899 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8900 command in testcase. Simplify testcase.
8902 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8904 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8906 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8908 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8910 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8912 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8914 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8916 * gdb.dwarf2/dynarr-ptr.c: New file.
8917 * gdb.dwarf2/dynarr-ptr.exp: New file.
8919 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8921 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8922 of 30 rather than hardcoding 120 for a slow test case. Take the
8923 `gdb,timeout' target setting into account for this calculation.
8924 Don't extend the timeout for the test cases that don't need it.
8926 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8928 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8929 a factor of 2 for a slow test case. Take the `gdb,timeout'
8930 target setting into account for this calculation.
8931 * gdb.reverse/until-precsave.exp: Increase the timeout by
8932 a factor of 15 and 3 respectively rather than adding 120
8933 for a pair of slow test cases. Take the `gdb,timeout'
8934 target setting into account for this calculation.
8936 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8938 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8939 timeout, don't pass one down to gdb_expect.
8940 (gdb_expect): Rework timeout selection.
8942 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8944 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8945 exception on timeout.
8946 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8947 (gdbserver_start_extended): Catch any `gdbserver_start' error
8949 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8950 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8951 `gdbserver_gdb_load' error exceptions.
8953 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8955 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8956 120 on waiting for the TCP socket to open.
8958 2014-09-09 Doug Evans <xdje42@gmail.com>
8960 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8961 _caller_matches, _any_caller_is, _any_caller_matches.
8963 2014-09-09 Doug Evans <xdje42@gmail.com>
8965 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8967 2014-09-09 Yao Qi <yao@codesourcery.com>
8969 * gdb.mi/mi-var-display.exp: Set print symbol off.
8971 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8974 * gdb.base/commands.exp: Add tests to verify user-defined
8975 commands with empty bodies.
8976 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8977 python commands in `show user command`.
8978 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8979 scheme commands in `show user command`.
8981 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8984 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8985 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8986 * gdb.python/py-framefilter-invalidarg.exp: New file.
8987 * gdb.python/py-framefilter-invalidarg.py: New file.
8989 2014-09-06 Doug Evans <xdje42@gmail.com>
8992 * gdb.python/py-caller-is.c: New file.
8993 * gdb.python/py-caller-is.exp: New file.
8995 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8998 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8999 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9001 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9004 * gdb.fortran/print-formatted.exp: New file.
9005 * gdb.fortran/print-formatted.f90: Likewise.
9007 2014-09-03 Sasha Smundak <asmundak@google.com>
9009 * gdb.python/py-frame.exp: Test Frame.read_register.
9011 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9014 * gdb.python/py-completion.exp: New file.
9015 * gdb.python/py-completion.py: Likewise.
9017 2014-08-28 Doug Evans <dje@google.com>
9019 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9020 eax,etc. are live with values set by gdb and thus the compiler can't
9022 * gdb.arch/i386-pseudo.c (main): Ditto.
9024 2014-08-27 Doug Evans <dje@google.com>
9026 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9028 2014-08-25 Doug Evans <dje@google.com>
9030 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9033 2014-08-25 Doug Evans <dje@google.com>
9035 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9037 2014-08-24 Yao Qi <yao@codesourcery.com>
9039 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9041 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9043 2014-08-22 Doug Evans <dje@google.com>
9046 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9047 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9048 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9050 2014-08-22 Yao Qi <yao@codesourcery.com>
9052 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9053 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9054 * gdb.python/python.exp: Likewise. Use .py file on the host
9055 instead of the build.
9057 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9059 * gdb.threads/gcore-stale-thread.c: New file.
9060 * gdb.threads/gcore-stale-thread.exp: New file.
9062 2014-08-21 Pedro Alves <palves@redhat.com>
9064 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9065 * gdb.base/gcore-relro-pie.exp: Likewise.
9066 * gdb.base/gcore-relro.exp: Likewise.
9067 * gdb.base/gcore.exp: Likewise.
9068 * gdb.base/print-symbol-loading.exp: Likewise.
9069 * gdb.threads/gcore-thread.exp: Likewise.
9070 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9072 2014-08-20 Pedro Alves <palves@redhat.com>
9073 Jan Kratochvil <jan.kratochvil@redhat.com>
9075 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9077 (EXPECT): Handle READ1 being set.
9078 (all): Depend on EXTRA_RULES.
9079 (check-read1, expect-read1, read1.so, read1): New rules.
9080 * README (Testsuite Parameters): Document the READ1 make variable.
9081 (Race detection): New section.
9082 * configure: Regenerate.
9083 * configure.ac: If build==host==target, and running under a
9084 GNU/glibc system, add read1 to the extra Makefile rules.
9085 (EXTRA_RULES): AC_SUBST it.
9086 * lib/read1.c: New file.
9088 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9090 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9091 the handling of variables declared as a typedef to an array
9092 which a DW_AT_data_location attribute.
9094 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9095 Pedro Alves <palves@redhat.com>
9099 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9102 2014-08-19 Pedro Alves <palves@redhat.com>
9104 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9106 2014-08-19 Yao Qi <yao@codesourcery.com>
9108 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9111 2014-08-18 David Blaikie <dblaikie@gmail.com>
9113 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9115 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9117 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9118 attribute in array range.
9120 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9122 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9124 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9127 * gdb.cp/pr17132.cc: New file.
9128 * gdb.cp/pr17132.exp: New file.
9130 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9132 * gdb.python/py-xmethods.py (A_getarrayind)
9133 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9134 Use 'print' with function call syntax.
9135 (E_method_matcher.match): Fix tab vs space indentation mixup.
9137 2014-08-15 Yao Qi <yao@codesourcery.com>
9139 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9142 2014-08-15 Yao Qi <yao@codesourcery.com>
9144 * gdb.cp/casts.exp: Set print symbol off.
9145 * gdb.cp/class2.exp: Likewise.
9146 * gdb.cp/overload.exp: Likewise.
9147 * gdb.cp/templates.exp: Likewise.
9149 2014-08-11 Doug Evans <dje@google.com>
9151 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9152 (test_load_shlib): Update.
9154 2014-08-09 Yao Qi <yao@codesourcery.com>
9156 * gdb.base/display.exp: Invoke is_address_zero_readable.
9157 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9158 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9159 * gdb.base/hbreak-unmapped.exp: Return if
9160 is_address_zero_readable returns true.
9161 * gdb.base/signest.exp: Likewise.
9162 * gdb.base/signull.exp: Likewise.
9163 * gdb.base/sigbpt.exp: Likewise.
9164 * gdb.guile/scm-disasm.exp: Do the test if
9165 is_address_zero_readable returns false.
9166 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9167 * gdb.python/py-arch.exp: Likewise.
9168 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9169 * lib/gdb.exp (is_address_zero_readable): New proc.
9171 2014-08-09 Yao Qi <yao@codesourcery.com>
9174 * gdb.mi/mi-var-display.exp: Make test messages unique.
9176 2014-08-04 Tom Tromey <tromey@redhat.com>
9178 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9181 2014-08-04 Tom Tromey <tromey@redhat.com>
9183 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9186 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9188 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9189 inner_vla_struct_object_size.
9190 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9193 2014-07-30 Pedro Alves <palves@redhat.com>
9195 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9198 2014-07-29 Yao Qi <yao@codesourcery.com>
9201 * gdb.base/until-nodebug.exp: New.
9203 2014-07-28 Doug Evans <xdje42@gmail.com>
9206 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9207 previously existing parameter, and previously ambiguously spelled
9210 2014-07-28 Will Newton <will.newton@linaro.org>
9212 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9214 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9215 Doug Evans <xdje42@gmail.com>
9218 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9220 2014-07-25 Pedro Alves <palves@redhat.com>
9222 * gdb.threads/signal-command-handle-nopass.c: New file.
9223 * gdb.threads/signal-command-handle-nopass.exp: New file.
9224 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9225 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9226 * gdb.threads/signal-delivered-right-thread.c: New file.
9227 * gdb.threads/signal-delivered-right-thread.exp: New file.
9229 2014-07-25 Pedro Alves <palves@redhat.com>
9231 * gdb.base/double-prompt-target-event-error.exp
9232 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9234 (cancel_pagination_in_target_event): Rework double prompt
9236 * gdb.base/paginate-after-ctrl-c-running.exp
9237 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9239 * gdb.base/paginate-bg-execution.exp
9240 (test_bg_execution_pagination_return)
9241 (test_bg_execution_pagination_cancel): Remove '-notransfer
9243 * gdb.base/paginate-execution-startup.exp
9244 (test_fg_execution_pagination_return)
9245 (test_fg_execution_pagination_cancel): Remove '-notransfer
9247 * gdb.base/paginate-inferior-exit.exp
9248 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9250 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9251 * lib/gdb.exp (pagination_prompt): Run text through
9253 (gdb_test_multiple): Match $pagination_prompt instead of
9255 (string_to_regexp): Move to lib/gdb-utils.exp.
9257 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9259 * gdb.arch/amd64-entry-value-paramref.S: New file.
9260 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9261 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9262 * gdb.arch/amd64-optimout-repeat.S: New file.
9263 * gdb.arch/amd64-optimout-repeat.c: New file.
9264 * gdb.arch/amd64-optimout-repeat.exp: New file.
9266 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9269 * gdb.base/statistics.exp: New file.
9271 2014-07-17 Doug Evans <dje@google.com>
9274 * gdb.base/maint.exp: Update testing of per-command stats.
9276 2014-07-16 Pedro Alves <palves@redhat.com>
9278 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9279 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9280 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9281 (tfile_write_buf): New functions.
9282 (add_memory_block): Rewrite using the above.
9283 (adjust_function_address): New function.
9284 (FUNCTION_ADDRESS): New macro.
9285 (write_basic_trace_file): Remove short_x local, and use
9286 tfile_write_16. Change type of func_addr local to unsigned long
9287 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9288 here. Cast argument of add_memory_block to char pointer.
9289 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9290 (main): Remove parameters.
9291 * gdb.trace/tfile.exp: Remove nowarnings.
9293 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9295 * gdb.base/debug-expr.exp: Test string evaluation with
9296 "debug expression" on.
9298 2014-07-15 Pedro Alves <palves@redhat.com>
9300 * gdb.base/reread.exp: Use clean_restart.
9302 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9304 * gdb.arch/avr-flash-qualifer.c: New.
9305 * gdb.arch/avr-flash-qualifer.exp: New.
9307 2014-07-14 Pedro Alves <palves@redhat.com>
9309 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9310 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9312 2014-07-14 Pedro Alves <palves@redhat.com>
9314 * gdb.base/double-prompt-target-event-error.c: New file.
9315 * gdb.base/double-prompt-target-event-error.exp: New file.
9317 2014-07-14 Pedro Alves <palves@redhat.com>
9320 * gdb.base/paginate-inferior-exit.c: New file.
9321 * gdb.base/paginate-inferior-exit.exp: New file.
9323 2014-07-14 Pedro Alves <palves@redhat.com>
9326 * gdb.base/paginate-bg-execution.c: New file.
9327 * gdb.base/paginate-bg-execution.exp: New file.
9329 2014-07-14 Pedro Alves <palves@redhat.com>
9332 * gdb.base/paginate-execution-startup.c: New file.
9333 * gdb.base/paginate-execution-startup.exp: New file.
9334 * lib/gdb.exp (pagination_prompt): New global.
9335 (default_gdb_spawn): New procedure, factored out from
9337 (default_gdb_start): Adjust to call default_gdb_spawn.
9338 (gdb_spawn): New procedure.
9340 2014-07-14 Pedro Alves <palves@redhat.com>
9342 * lib/gdb.exp (gdb_assert): New procedure.
9343 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9345 2014-07-14 Pedro Alves <palves@redhat.com>
9347 * gdb.base/execution-termios.c: New file.
9348 * gdb.base/execution-termios.exp: New file.
9350 2014-07-14 Tom Tromey <tromey@redhat.com>
9352 * gdb.cp/vla-cxx.cc: New file.
9353 * gdb.cp/vla-cxx.exp: New file.
9355 2014-07-14 Tom Tromey <tromey@redhat.com>
9357 * gdb.reverse/rerun-prec.c: New file.
9358 * gdb.reverse/rerun-prec.exp: New file.
9360 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9361 Maciej W. Rozycki <macro@codesourcery.com>
9363 * lib/gdb-utils.exp: New file.
9364 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9365 inline `gdb_init_command' processing.
9366 (gdb_start_cmd): Likewise.
9367 * lib/mi-support.exp (mi_run_cmd): Likewise.
9368 * README: Document `gdb_init_command' and `gdb_init_commands'.
9370 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9372 Fix false FAIL running under a very long directory name.
9373 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9374 and "set print elements 10000". Twice.
9376 2014-07-11 Yao Qi <yao@codesourcery.com>
9378 * gdb.base/exprs.exp: "set print symbol off".
9380 2014-07-11 Pedro Alves <palves@redhat.com>
9382 * gdb.threads/kill.c: New file.
9383 * gdb.threads/kill.exp: New file.
9385 2014-07-10 Yao Qi <yao@codesourcery.com>
9387 * gdb.trace/tfile.c (write_basic_trace_file)
9388 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9389 address written to trace file.
9391 2014-07-09 Pedro Alves <palves@redhat.com>
9393 * gdb.base/attach-wait-input.exp: New file.
9394 * gdb.base/attach-wait-input.c: New file.
9396 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9398 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9399 setting up test structures.
9400 (main): Call new test function.
9401 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9402 test function, continue into test function and walk test
9405 2014-07-02 Yao Qi <yao@codesourcery.com>
9407 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9408 'bar_start' at the beginning of functions 'foo' and 'bar'
9410 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9411 instead of 'foo' and 'bar'.
9413 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9415 * gdb.btrace/segv.exp: New.
9416 * gdb.btrace/segv.c: New.
9418 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9420 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9423 2014-06-30 Mark Wielaard <mjw@redhat.com>
9425 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9426 vulture, vilify, villar): New volatile array constants.
9427 (vindictive, vegetation): New const volatile array constants.
9428 * gdb.base/volatile.exp: Test volatile and const volatile array
9431 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9433 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9434 target lacks support for awatch, rwatch, or hbreak.
9436 2014-06-27 Yao Qi <yao@codesourcery.com>
9438 * gdb.multi/dummy-frame-restore.exp: New.
9439 * gdb.multi/dummy-frame-restore.c: New.
9441 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9443 * gdb.btrace/gcore.exp: New.
9445 2014-06-23 Pedro Alves <palves@redhat.com>
9447 * gdb.base/watchpoint-reuse-slot.c: New file.
9448 * gdb.base/watchpoint-reuse-slot.exp: New file.
9450 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9452 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9453 progspace's filename in 'info', 'enable' and 'disable' command
9456 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9458 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9459 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9460 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9462 2014-06-20 Gary Benson <gbenson@redhat.com>
9464 * gdb.arch/i386-avx.exp: Fix include file location.
9465 * gdb.arch/i386-sse.exp: Likewise.
9467 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9469 * gdb.dlang/expression.exp: New file.
9471 2014-06-19 Pedro Alves <palves@redhat.com>
9473 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9475 (top level): ... here. Iterate running tests under different
9476 scheduler-locking settings.
9478 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9480 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9481 to DW_FORM_addr and use non-zero addresses.
9483 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9486 * gdb.python/py-xmethods.cc: Add global function call counters and
9487 increment them in their respective functions. Remove "cout"
9489 * gdb.python/py-xmethods.exp: Make tests check the global function
9490 call counters instead of depending on inferior IO.
9492 2014-06-18 Don Breazeal <donb@codesourcery.com>
9494 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9496 (explicit_fork_parent_follow): Deleted procedure.
9497 (explicit_fork_child_follow): Deleted procedure.
9498 (test_follow_fork): New procedure.
9499 (do_fork_tests): Replace calls to deleted procedures with
9500 calls to test_follow_fork and reset GDB for subsequent
9503 2014-06-17 Yao Qi <yao@codesourcery.com>
9505 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9508 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9510 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9511 Initialize ptr and S explicitly.
9512 (skip_type_update_when_not_use_rtti_test): Likewise.
9514 2014-06-16 Keith Seitz <keiths@redhat.com>
9517 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9518 the inferior is started.
9520 2014-06-16 Pedro Alves <palves@redhat.com>
9522 * gdb.base/break-main-file-remove-fail.c: New file.
9523 * gdb.base/break-main-file-remove-fail.exp: New file.
9524 * gdb.base/break-unload-file.exp: Use build_executable instead of
9525 prepare_for_testing.
9526 (test_break): New parameter "initial_load". Handle it.
9527 (top level): Add initial_load cmdline/file axis.
9529 2014-06-12 Tom Tromey <tromey@redhat.com>
9531 * gdb.base/completion.exp: Don't use directory name in test.
9533 2014-06-09 Gary Benson <gbenson@redhat.com>
9535 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9536 separate the always-available ANSI-standard signals from the
9537 signals that require checking.
9539 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9543 2014-06-07 Keith Seitz <keiths@redhat.com>
9547 * gdb.cp/var-tag.cc: New file.
9548 * gdb.cp/var-tag.exp: New file.
9549 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9550 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9551 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9552 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9554 2014-06-06 Doug Evans <xdje42@gmail.com>
9556 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9558 2014-06-06 Pedro Alves <palves@redhat.com>
9560 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9561 in target debug output instead of looking at RSP packets,
9562 disabling the test on any target that uses hardware stepping.
9565 2014-06-06 Pedro Alves <palves@redhat.com>
9567 * gdb.base/break-unload-file.exp: Fix typo.
9569 2014-06-06 Yao Qi <yao@codesourcery.com>
9571 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9572 from "jit_function" to "^jit_function".
9574 2014-06-06 Yao Qi <yao@codesourcery.com>
9576 * gdb.base/async.c (foo): Add one statement.
9577 * gdb.base/async.exp: Get the next instruction address and
9578 match the output of "nexti" by instruction address. Match
9579 the hex address in the output of "finish".
9581 2014-06-06 Gary Benson <gbenson@redhat.com>
9583 * gdb.base/call-signals.c: Remove preprocessor conditionals
9584 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9585 SIGSEGV and SIGTERM.
9586 * gdb.base/sigall.c: Likewise.
9587 * gdb.base/unwindonsignal.c: Likewise.
9588 * gdb.reverse/sigall-reverse.c: Likewise.
9590 2014-06-06 Yao Qi <yao@codesourcery.com>
9592 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9593 readable, skip the test.
9595 2014-06-06 Yao Qi <yao@codesourcery.com>
9597 * gdb.threads/staticthreads.c (thread_function): Move the line
9598 setting breakpoint on forward.
9599 * gdb.threads/staticthreads.exp: Update comments.
9601 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9603 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9604 "history-append! type error".
9606 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9608 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9609 erroneous dprintf expected input.
9611 2014-06-04 Doug Evans <xdje42@gmail.com>
9613 * gdb.guile/scm-generics.exp: Delete.
9615 2014-06-04 Doug Evans <xdje42@gmail.com>
9617 * gdb.guile/scm-breakpoint.exp: Update.
9618 Add tests for breakpoint registration.
9620 2014-06-04 Tom Tromey <tromey@redhat.com>
9622 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9624 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9625 inner_vla_struct, vla_union types. Initialize objects of those
9626 types and compute their sizes.
9628 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9629 Hui Zhu <hui@codesourcery.com>
9631 * gdb.base/fileio.exp: Add test for shell not available as well as
9633 * gdb.base/fileio.c (test_system): Check for shell twice.
9635 2014-06-04 Yao Qi <yao@codesourcery.com>
9637 * gdb.base/auto-connect-native-target.exp: Remove redundant
9638 space from the regexp pattern.
9640 2014-06-04 Yao Qi <yao@codesourcery.com>
9642 * gdb.base/default.exp: Replace "child" with "native" in
9645 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9647 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9648 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9649 * gdb.python/py-xmethods.py: Python script supporting the
9650 new testcase and tests.
9652 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9653 Pedro Alves <palves@redhat.com>
9655 PR breakpoints/17000
9656 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9657 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9659 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9661 * gdb.base/subst.exp: Add tests to verify partial path matching
9664 2014-06-03 Pedro Alves <palves@redhat.com>
9666 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9667 target that doesn't use software single-stepping.
9669 2014-06-03 Pedro Alves <palves@redhat.com>
9671 PR breakpoints/17000
9672 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9673 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9675 2014-06-02 Doug Evans <xdje42@gmail.com>
9677 * gdb.guile/scm-parameter.exp: New file.
9679 2014-06-02 Doug Evans <xdje42@gmail.com>
9681 * gdb.guile/scm-cmd.c: New file.
9682 * gdb.guile/scm-cmd.exp: New file.
9684 2014-06-02 Doug Evans <xdje42@gmail.com>
9686 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9687 pretty-printer lookup.
9688 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9689 (make-pp_s-printer): Call it.
9690 (make-pretty-printer-from-dict): New function.
9691 (lookup-pretty-printer-maker-from-dict): New function.
9692 (*pretty-printer*): Simplify.
9693 (make-objfile-pp_s-printer): New function.
9694 (install-objfile-pretty-printers!): New function.
9695 (make-progspace-pp_s-printer): New function.
9696 (install-progspace-pretty-printers!): New function.
9697 * gdb.guile/scm-progspace.c: New file.
9698 * gdb.guile/scm-progspace.exp: New file.
9700 2014-06-02 Pedro Alves <palves@redhat.com>
9702 * gdb.base/dprintf-bp-same-addr.c: New file.
9703 * gdb.base/dprintf-bp-same-addr.exp: New file.
9705 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9707 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9708 * gdb.arch/powerpc-power.s: Likewise.
9710 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9712 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9714 2014-06-01 Yao Qi <yao@codesourcery.com>
9716 * gdb.base/watchpoint.exp (test_watch_location): Check null
9717 pointer can be dereferenced. If not, do the test, otherwise
9720 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9722 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9724 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9726 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9728 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9729 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9730 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9731 * gdb.arch/amd64-invalid-stack-top.c: New file.
9732 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9734 2014-05-30 Pedro Alves <palves@redhat.com>
9736 PR breakpoints/17000
9737 * gdb.base/sss-bp-on-user-bp.c: New file.
9738 * gdb.base/sss-bp-on-user-bp.exp: New file.
9740 2014-05-30 David Blaikie <dblaikie@gmail.com>
9742 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9743 gnu_inline semantics via attribute.
9744 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9745 source explicitly specifies the required semantics.
9747 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9749 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9751 2014-05-29 Pedro Alves <palves@redhat.com>
9752 Tom Tromey <tromey@redhat.com>
9754 * gdb.base/async-shell.exp: Don't enable target-async.
9755 * gdb.base/async.exp
9756 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9758 (top level): Don't test with "target-async".
9759 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9760 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9761 * gdb.base/inferior-died.exp: Don't enable target-async.
9762 * gdb.base/interrupt-noterm.exp: Likewise.
9763 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9764 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9765 * gdb.mi/mi-nonstop.exp: Likewise.
9766 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9767 * gdb.mi/mi-nsintrall.exp: Likewise.
9768 * gdb.mi/mi-nsmoribund.exp: Likewise.
9769 * gdb.mi/mi-nsthrexec.exp: Likewise.
9770 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9771 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9772 * gdb.python/py-evsignal.exp: Don't enable target-async.
9773 * gdb.python/py-evthreads.exp: Likewise.
9774 * gdb.python/py-prompt.exp: Likewise.
9775 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9776 * gdb.server/solib-list.exp: Don't enable target-async.
9777 * gdb.threads/thread-specific-bp.exp: Likewise.
9778 * lib/mi-support.exp: Adjust to use mi-async.
9780 2014-05-29 Pedro Alves <palves@redhat.com>
9783 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9784 reason, even in sync mode.
9786 2014-05-29 Pedro Alves <palves@redhat.com>
9787 Hui Zhu <hui@codesourcery.com>
9790 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9791 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9792 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9793 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9795 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9797 * config/monitor.exp (gdb_target_monitor): Replace use of
9798 "set remotebaud" by "set serial baud".
9800 2014-05-26 Andy Wingo <wingo@igalia.com>
9802 * gdb.guile/scm-breakpoint.exp:
9803 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9804 properties instead of gdb-object-properties.
9806 2014-05-26 Yao Qi <yao@codesourcery.com>
9808 * gdb.server/no-thread-db.exp: Specify source file name
9809 explicitly when setting a breakpoint.
9811 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9813 * gdb.btrace/vdso.c: New.
9814 * gdb.btrace/vdso.exp: New.
9816 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9818 * gdb.base/gcore.exp (capture_command_output): Move ...
9819 * lib/gdb.exp (capture_command_output): ... here.
9821 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9823 * gdb.btrace/data.exp: Test memory access during btrace replay.
9825 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9827 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9829 2014-05-21 Pedro Alves <palves@redhat.com>
9832 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9833 (top level): Test that output related to execution commands is
9834 sent to the console with CLI commands, but not with MI commands.
9835 Test that breakpoint events are always mirrored to the console.
9836 Also expect the new source line to be output after a "next" in
9837 async mode too. Make it a pass/fail test.
9838 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9840 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9842 2014-05-21 Pedro Alves <palves@redhat.com>
9844 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9845 Use them to test variations of "list" after reaching a breakpoint.
9846 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9847 Test "list" with listsize 10 after reaching a breakpoint.
9848 * gdb.python/python.exp (decode_line current location line
9849 number): Adjust expected line number.
9851 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9853 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9854 behavior for $args, pass it directly to "run".
9856 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9858 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9861 2014-05-21 Pedro Alves <palves@redhat.com>
9863 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9864 auto-connect-native-target off".
9865 * gdb.base/auto-connect-native-target.c: New file.
9866 * gdb.base/auto-connect-native-target.exp: New file.
9868 2014-05-21 Pedro Alves <palves@redhat.com>
9870 * gdb.base/default.exp: Test "target native" instead of "target
9873 2014-05-21 Mark Wielaard <mjw@redhat.com>
9875 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9877 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9879 Fix TLS access for -static -pthread.
9880 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9881 <HAVE_TLS> (thread_function, main): Initialize it.
9882 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9884 <$have_tls != "">: Check TLSVAR.
9886 2014-05-21 Pedro Alves <palves@redhat.com>
9888 * gdb.base/dcache-line-read-error.c: New.
9889 * gdb.base/dcache-line-read-error.exp: New.
9891 2014-05-20 Pedro Alves <palves@redhat.com>
9893 * gdb.base/compare-sections.c: New file.
9894 * gdb.base/compare-sections.exp: New file.
9896 2014-05-20 Pedro Alves <palves@redhat.com>
9898 * gdb.base/break-idempotent.c: New file.
9899 * gdb.base/break-idempotent.exp: New file.
9901 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9903 * gdb.btrace/nohist.exp: New.
9905 2014-05-20 Yao Qi <yao@codesourcery.com>
9907 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9908 gdb.reverse directory and gdb_reverse_timeout exists in board
9910 * README: Document gdb_reverse_timeout.
9912 2014-05-20 Yao Qi <yao@codesourcery.com>
9914 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9915 'test_file_name'. Treat args as a string instead of a list.
9916 (gdb_init): Rename argument 'args' by 'test_file_name'.
9918 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9920 * gdb.arch/powerpc-power.exp: New file.
9921 * gdb.arch/powerpc-power.s: New file.
9923 2014-05-16 Doug Evans <dje@google.com>
9925 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9926 * gdb.base/completion.exp: Check that all expected files exist
9927 before doing file completion.
9929 2014-05-16 Doug Evans <dje@google.com>
9931 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9933 (do_syscall_tests_without_xml): Update.
9935 2014-05-16 Pedro Alves <palves@redhat.com>
9937 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9938 instead of "unknown output after running".
9940 2014-05-16 Yao Qi <yao@codesourcery.com>
9942 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9943 file1.txt from host at the end.
9944 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9946 2014-05-15 Doug Evans <dje@google.com>
9948 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9949 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9950 loading file. Add test for TU lookup.
9952 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9954 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9955 calling "-exec-arguments" or "set args" before running the
9958 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9960 * lib/mi-support.exp (mi_expect_stop): Expect message for
9961 inferiors that exit with non-zero exit code.
9963 2014-05-14 Yao Qi <yao@codesourcery.com>
9965 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9966 match absolute path on remote host.
9967 (test_file_list_exec_source_files): Remove "/" from the
9970 2014-05-14 Yao Qi <yao@codesourcery.com>
9972 * boards/local-remote-host-notty.exp (${board}_file): New
9975 2014-05-07 Kyle McMartin <kyle@redhat.com>
9977 Pushed by Joel Brobecker <brobecker@adacore.com>.
9978 * gdb.arch/aarch64-atomic-inst.c: New file.
9979 * gdb.arch/aarch64-atomic-inst.exp: New file.
9981 2014-05-07 Yao Qi <yao@codesourcery.com>
9983 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9984 in current context" too.
9986 2014-05-05 Keith Seitz <keiths@redhat.com>
9988 * gdb.linespec/ls-dollar.exp: Add test for linespec
9989 file:convenience_variable.
9991 2014-05-05 Yao Qi <yao@codesourcery.com>
9993 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9994 traceframes into tfile and ctf trace files. Read data from
9995 trace file and test collected data.
9996 (gdb_collect_locals_test): Likewise.
9997 (gdb_unavailable_registers_test): Likewise.
9998 (gdb_unavailable_floats): Likewise.
9999 (gdb_collect_globals_test): Likewise.
10000 (top-level): Append "ctf" to trace_file_targets if GDB
10003 2014-05-05 Yao Qi <yao@codesourcery.com>
10005 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10007 (gdb_collect_args_test_1): ... it. New proc.
10008 (gdb_collect_locals_test): Move some code to ...
10009 (gdb_collect_locals_test_1): ... it. New proc.
10010 (gdb_unavailable_registers_test): Move some code to ...
10011 (gdb_unavailable_registers_test_1): ... it. New proc.
10012 (gdb_unavailable_floats): Move some code to ...
10013 (gdb_unavailable_floats_1): ... it. New proc.
10015 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10017 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10018 probes to test for bitness recognition.
10019 * gdb.arch/amd64-stap-optional-prefix.exp
10020 (test_probe_value_without_reg): New procedure.
10021 Add code to test for different kinds of bitness.
10023 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10025 PR breakpoints/16889
10026 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10027 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10029 2014-05-01 Pedro Alves <palves@redhat.com>
10031 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10032 gdb_file_cmd if no file is specified.
10033 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10034 last_loaded_file to set the remote exec-file.
10036 2014-05-01 Pedro Alves <palves@redhat.com>
10038 * boards/local-remote-host.exp: New file.
10040 2014-05-01 Pedro Alves <palves@redhat.com>
10042 * boards/local-remote-host.exp: Rename to ...
10043 * boards/local-remote-host-notty.exp: ... this.
10045 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10047 * gdb.ada/dyn_arrayidx: New testcase.
10049 2014-04-26 Yao Qi <yao@codesourcery.com>
10051 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10052 and compute the length of function main. Save it in
10054 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10055 (top-level): Use gdb_compile to compile objects into
10056 executable and restart GDB. Remove invocation to
10057 prepare_for_testing.
10059 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10060 Pedro Alves <palves@redhat.com>
10063 * gdb.multi/multi-attach.c: New file.
10064 * gdb.multi/multi-attach.exp: New file.
10066 2014-04-25 Pedro Alves <palves@redhat.com>
10068 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10070 (top level): Test that "set remote conditional-breakpoints-packet
10071 off" works as intended.
10072 * gdb.base/dprintf.exp: Test that "set remote
10073 breakpoint-commands-packet off" works as intended.
10074 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10076 (top level): Call it.
10077 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10078 remote fast-tracepoints-packet off" works as intended.
10079 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10080 * lib/gdb.exp (gdb_is_target_remote): ... here.
10082 2014-04-24 David Blaikie <dblaikie@gmail.com>
10084 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10085 ensure clang would not discard them.
10086 * gdb.base/gdbvars.c: Ditto.
10087 * gdb.base/memattr.c: Ditto.
10088 * gdb.base/whatis.c: Ditto.
10089 * gdb.python/py-prettyprint.c: Ditto.
10090 * gdb.trace/actions.c: Ditto.
10091 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10092 ensure clang would not discard it.
10094 2014-04-24 David Blaikie <dblaikie@gmail.com>
10096 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10097 clang to emit the full definition of type required by the test
10098 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10100 2014-04-24 David Blaikie <dblaikie@gmail.com>
10102 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10103 coax Clang into emitting the definition of the type.
10104 * gdb.cp/pr10728-x.h (y): Ditto.
10105 * gdb.cp/pr10728-y.cc (y): Ditto.
10107 2014-04-24 David Blaikie <dblaikie@gmail.com>
10109 * gdb.base/label.exp: XFAIL label related tests under Clang.
10110 * gdb.cp/cplabel.exp: Ditto.
10111 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10112 under Clang those using labels.
10114 2014-04-25 Yao Qi <yao@codesourcery.com>
10116 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10118 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10119 partial_label and double_label.
10121 2014-04-24 David Blaikie <dblaikie@gmail.com>
10123 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10125 2014-04-24 David Blaikie <dblaikie@gmail.com>
10127 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10128 of the function to work across GCC and Clang.
10129 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10130 pointer types (const void ** const V void **).
10132 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10133 Walfred Tedeschi <walfred.tedeschi@intel.com>
10135 * Makefile.in (EXECUTABLES): Added i386-avx512.
10136 * gdb.arch/i386-avx512.c: New file.
10137 * gdb.arch/i386-avx512.exp: Likewise.
10139 2014-04-23 Keith Seitz <keiths@redhat.com>
10141 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10142 (mi_make_breakpoint_table): New procedure.
10143 (mi_create_breakpoint): Use mi_make_breakpoint
10144 and return the result.
10145 (mi_make_breakpoint): New procedure.
10146 (mi_build_kv_pairs): New procedure.
10148 * gdb.mi/mi-break.exp: Remove unused globals,
10149 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10150 All callers updated.
10151 * gdb.mi/mi-dprintf.exp: Use variable to track command
10153 Update all callers of mi_create_breakpoint and use
10154 mi_make_breakpoint_table.
10155 Remove any unused global variables.
10156 * gdb.mi/mi-nonstop.exp: Likewise.
10157 * gdb.mi/mi-nsintrall.exp: Likewise.
10158 * gdb.mi/mi-nsmoribund.exp: Likewise.
10159 * gdb.mi/mi-nsthrexec.exp: Likewise.
10160 * gdb.mi/mi-reverse.exp: Likewise.
10161 * gdb.mi/mi-simplerun.exp: Likewise.
10162 * gdb.mi/mi-stepn.exp: Likewise.
10163 * gdb.mi/mi-syn-frame.exp: Likewise.
10164 * gdb.mi/mi-until.exp: Likewise.
10165 * gdb.mi/mi-var-cp.exp: Likewise.
10166 * gdb.mi/mi-var-display.exp: Likewise.
10167 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10168 * gdb.mi/mi2-var-child.exp: Likewise.
10169 * gdb.mi/mi-vla-c99.exp: Likewise.
10170 * lib/mi-support.exp: Likewise.
10172 From Ian Lance Taylor <iant@cygnus.com>:
10173 * lib/gdb.exp (parse_args): New procedure.
10175 2014-04-23 Pedro Alves <palves@redhat.com>
10177 * gdb.base/break-unload-file.c: New file.
10178 * gdb.base/break-unload-file.exp: New file.
10179 * gdb.base/sym-file-lib.c (baz): New function.
10180 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10182 (load): Store the segment's mapped size.
10183 (unload): New function.
10184 (unload_shlib): New function.
10185 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10186 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10187 set a breakpoint at baz, and call it.
10188 * gdb.base/sym-file.exp: New tests for stale breakpoint
10191 2014-04-23 Pedro Alves <palves@redhat.com>
10193 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10194 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10195 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10196 * gdb.base/hbreak-unmapped.c: New file.
10197 * gdb.base/hbreak-unmapped.exp: New file.
10198 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10199 * lib/gdb.exp (gdb_is_target_remote): ... here.
10201 2014-04-22 Pedro Alves <palves@redhat.com>
10203 * gdb.base/consecutive-step-over.c: New file.
10204 * gdb.base/consecutive-step-over.exp: New file.
10206 2014-04-22 Pedro Alves <palves@redhat.com>
10208 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10209 instead of send_gdb/gdb_expect.
10211 2014-04-22 Yao Qi <yao@codesourcery.com>
10213 * lib/trace-support.exp (generate_tracefile): New procedure.
10214 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10216 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10217 if generate_tracefile returns 1.
10219 2014-04-18 Tom Tromey <palves@redhat.com>
10220 Pedro alves <tromey@redhat.com>
10223 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10224 with a backtrace limit.
10225 * gdb.python/py-frame-inline.exp: Test running to an inline
10226 function with a backtrace limit, and printing the newest frame.
10227 * gdb.python/py-frame-inline.c (main): Call f.
10229 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10231 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10233 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10235 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10236 Drop prefix from unsupported source file path.
10238 2014-04-17 Yao Qi <yao@codesourcery.com>
10240 * lib/gdb.exp (with_target_charset): New proc.
10241 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10242 with_target_charset.
10243 (test_print_strings): Likewise.
10244 (test_repeat_bytes): Likewise.
10245 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10248 2014-04-16 Keith Seitz <keiths@redhat.com>
10251 * gdb.dwarf2/corrupt.c: New file.
10252 * gdb.dwarf2/corrupt.exp: New file.
10254 2014-04-16 Keith Seitz <keiths@redhat.com>
10257 * gdb.cp/namelessclass.cc: New file.
10258 * gdb.cp/namelessclass.exp: New file.
10259 * gdb.cp/namelessclass.S: New file.
10261 2014-04-16 Doug Evans <dje@google.com>
10263 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10265 (gdbserver_default_get_comm_port): New function.
10266 (gdbserver_start): Check if board file provided
10267 "gdbserver,get_comm_port" and use it if so.
10268 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10269 (gdb,socketport): Set to "stdio".
10270 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10271 (stdio_gdbserver_template): Delete.
10272 (${board}_get_remote_address): Update.
10273 (${board}_build_remote_cmd): Delete.
10274 (${board}_get_comm_port): New function.
10275 (${board}_spawn): Update.
10276 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10278 (${board}_get_remote_address): Update.
10279 (${board}_get_comm_port): New function.
10281 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10283 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10284 appearing in any order.
10286 2014-04-15 Doug Evans <dje@google.com>
10288 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10289 uninitialized value of "description".
10291 2014-04-15 Keith Seitz <keiths@redhat.com>
10293 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10294 Remove unused globals.
10295 (test_running_the_program): Likewise.
10296 (test_controlled_execution): Likewise.
10297 (test_controlling_breakpoints): Likewise.
10298 (test_program_termination): Likewise.
10300 2014-04-15 Keith Seitz <keiths@redhat.com>
10302 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10304 (test_rbreak_creation_and_listing): Likewise.
10305 (test_ignore_count): Likewise.
10306 (test_error): Likewise.
10308 2014-04-15 Pedro Alves <palves@redhat.com>
10310 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10311 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10313 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10314 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10315 to sym-file-loader.c.
10316 (struct library): Forward declare.
10317 (load_shlib, lookup_function): Change prototypes.
10318 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10319 (translate_offset): Remove declarations.
10320 (get_text_addr): New declaration.
10321 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10322 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10324 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10325 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10326 here from sym-file-loader.h.
10327 (struct library): New structure.
10328 (load_shlib, lookup_function): Change prototypes and adjust to
10329 work with a struct library.
10330 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10331 (translate_offset): Make static.
10332 (get_text_addr): New function.
10333 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10335 2014-04-15 Pedro Alves <palves@redhat.com>
10337 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10339 2014-04-15 Pedro Alves <palves@redhat.com>
10341 * gdb.base/sym-file-loader.c: Include <limits.h>.
10342 (SELF_LINK): New define.
10343 (get_origin): New function.
10344 (load_shlib): Use it.
10345 * gdb.base/sym-file.exp: Don't early return if the target is
10346 remote. Use runto_main, and issue fail is that fails. Use
10348 (shlib_name): Delete.
10349 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10351 2014-04-15 Pedro Alves <palves@redhat.com>
10353 * gdb.base/sym-file.exp: Remove regex characters from test
10354 message. Don't refer to breakpoint numbers in test messages.
10356 2014-04-14 Keith Seitz <keiths@redhat.com>
10359 * gdb.cp/var-tag.cc: New file.
10360 * gdb.cp/var-tag.exp: New file.
10361 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10362 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10363 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10364 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10366 2014-04-14 Tom Tromey <tromey@redhat.com>
10368 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10369 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10371 * gdb.cp/enum-class.exp: New file.
10372 * gdb.cp/enum-class.cc: New file.
10374 2014-04-14 Tom Tromey <tromey@redhat.com>
10376 * gdb.dwarf2/enum-type.exp: New file.
10378 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10380 * gdb.mi/mi-vla-c99.exp: New file.
10381 * gdb.mi/vla.c: New file.
10383 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10385 * gdb.base/vla-datatypes.c: New file.
10386 * gdb.base/vla-datatypes.exp: New file.
10388 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10390 * gdb.base/vla-ptr.c: New file.
10391 * gdb.base/vla-ptr.exp: New file.
10393 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10395 * gdb.dwarf2/count.exp: New file.
10397 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10399 * gdb.base/vla-sideeffect.c: New file.
10400 * gdb.base/vla-sideeffect.exp: New file.
10402 2014-04-14 David Blaikie <dblaikie@gmail.com>
10404 * gdb.mi/non-stop.c: Add return value for non-void function return
10406 * gdb.threads/staticthreads.c: Ditto.
10408 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10409 Doug Evans <xdje42@gmail.com>
10411 * gdb.guile/scm-value.c: Improve test case.
10412 * gdb.guile/scm-value.exp: Add new test.
10414 2014-04-11 David Blaikie <dblaikie@gmail.com>
10416 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10417 override Clang's default.
10419 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10421 Revert the following changes (regressions):
10423 * gdb.base/vla-sideeffect.c: New file.
10424 * gdb.base/vla-sideeffect.exp: New file.
10426 * gdb.dwarf2/count.exp: New file.
10428 * gdb.base/vla-multi.c: New file.
10429 * gdb.base/vla-multi.exp: New file.
10431 * gdb.base/vla-ptr.c: New file.
10432 * gdb.base/vla-ptr.exp: New file.
10434 * gdb.base/vla-datatypes.c: New file.
10435 * gdb.base/vla-datatypes.exp: New file.
10437 * gdb.mi/mi-vla-c99.exp: New file.
10438 * gdb.mi/vla.c: New file.
10440 2014-04-11 Keith Seitz <keiths@redhat.com>
10443 * gdb.cp/cpsizeof.exp: New file.
10444 * gdb.cp/cpsizeof.cc: New file.
10446 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10448 * gdb.mi/mi-vla-c99.exp: New file.
10449 * gdb.mi/vla.c: New file.
10451 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10453 * gdb.base/vla-datatypes.c: New file.
10454 * gdb.base/vla-datatypes.exp: New file.
10456 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10458 * gdb.base/vla-ptr.c: New file.
10459 * gdb.base/vla-ptr.exp: New file.
10461 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10463 * gdb.base/vla-multi.c: New file.
10464 * gdb.base/vla-multi.exp: New file.
10466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10468 * gdb.dwarf2/count.exp: New file.
10470 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10472 * gdb.base/vla-sideeffect.c: New file.
10473 * gdb.base/vla-sideeffect.exp: New file.
10475 2014-04-11 Yao Qi <yao@codesourcery.com>
10477 * gdb.base/completion.exp: Check file exists before running tests
10478 on file completion.
10480 2014-04-10 Pedro Alves <palves@redhat.com>
10482 * gdb.base/cond-eval-mode.c: New file.
10483 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10484 prepare_for_testing to build the new file. Check result of
10486 (test_break, test_watch): New procedures.
10487 (top level): Use them.
10489 2014-04-08 Pierre Muller <muller@sourceware.org>
10491 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10492 Ctrl-V use for mingw hosts.
10494 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10496 * gdb.python/py-value.c: Improve test case.
10497 * gdb.python/py-value.exp: Add new test.
10499 2014-04-07 David Blaikie <dblaikie@gmail.com>
10501 * lib/compiler.c: Identify the clang compiler.
10502 * lib/compiler.cc: Ditto.
10504 2014-04-03 Yao Qi <yao@codesourcery.com>
10506 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10508 2014-04-01 Anton Blanchard <anton@samba.org>
10510 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10513 2014-04-01 Anton Blanchard <anton@samba.org>
10515 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10516 prepare_for_testing.
10518 2014-04-01 Anton Blanchard <anton@samba.org>
10520 * gdb.arch/ppc64-atomic-inst.c: Remove.
10521 * gdb.arch/ppc64-atomic-inst.S: New file.
10522 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10524 2014-03-31 Doug Evans <dje@google.com>
10526 * gdb.base/print-symbol-loading-lib.c: New file.
10527 * gdb.base/print-symbol-loading-main.c: New file.
10528 * gdb.base/print-symbol-loading.exp: New file.
10530 2014-03-31 Yao Qi <yao@codesourcery.com>
10532 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10534 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10536 * gdb.ada/mi_dyn_arr: New testcase.
10538 2014-03-27 Doug Evans <dje@google.com>
10540 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10542 2014-03-27 Yao Qi <yao@codesourcery.com>
10544 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10545 if target is nios2-*-*.
10547 2014-03-26 Yao Qi <yao@codesourcery.com>
10549 * lib/gdb.exp (readline_is_used): New proc.
10550 * gdb.base/completion.exp: Move tests on command complete up.
10551 Skip the rest of tests if readline is not used.
10552 * gdb.ada/complete.exp: Skp the test if readline is not
10554 * gdb.base/filesym.exp: Likewise.
10555 * gdb.base/macscp.exp: Likewise.
10556 * gdb.base/readline-ask.exp: Likewise.
10557 * gdb.base/readline.exp: Likewise.
10558 * gdb.python/py-cmd.exp: Likewise.
10559 * gdb.trace/tfile.exp: Likewise.
10561 2014-03-26 Yao Qi <yao@codesourcery.com>
10563 * gdb.base/macscp.exp: Fix code format issues.
10565 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10567 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10568 * gdb.asm/powerpc64le.inc: New file.
10570 2014-03-25 Pedro Alves <palves@redhat.com>
10571 Doug Evans <dje@google.com>
10573 * gdb.base/source-execution.c: New file.
10574 * gdb.base/source-execution.exp: New file.
10575 * gdb.base/source-execution.gdb: New file.
10577 2014-03-24 Doug Evans <dje@google.com>
10579 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10582 2014-03-24 Hui Zhu <hui@codesourcery.com>
10583 Pedro Alves <palves@redhat.com>
10585 PR breakpoints/16101
10586 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10587 test pass/fail messages. Detect missing support for dprintf when
10588 breakpoints are actually inserted.
10589 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10590 breakpoints are actually inserted.
10591 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10594 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10596 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10598 2014-03-22 Doug Evans <xdje42@gmail.com>
10600 * gdb.python/python.exp (python not supported): Verify multi-line
10601 python command issues an error.
10602 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10603 guile command issues an error.
10605 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10607 * gdb.threads/thread-specific.exp: Handle the lack of usable
10608 $this_breakpoint and $this_thread.
10610 2014-03-21 Hui Zhu <hui@codesourcery.com>
10612 * gdb.base/attach.exp (do_command_attach_tests): New.
10614 2014-03-20 Tom Tromey <tromey@redhat.com>
10615 Pedro Alves <palves@redhat.com>
10618 * gdb.base/condbreak-call-false.c: New file.
10619 * gdb.base/condbreak-call-false.exp: New file.
10621 2014-03-20 Pedro Alves <palves@redhat.com>
10623 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10625 (block_signals, unblock_signals): Delete.
10626 (child_function_2, main): Remove references to deleted variable
10629 2014-03-20 Pedro Alves <palves@redhat.com>
10631 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10632 Use pthread_kill to signal thread 2.
10633 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10634 Adjust to make the test send itself a signal rather than using the
10635 host's "kill" command.
10637 2014-03-20 Pedro Alves <palves@redhat.com>
10639 * gdb.threads/multiple-step-overs.c: New file.
10640 * gdb.threads/multiple-step-overs.exp: New file.
10641 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10642 Adjust expected infrun debug output.
10644 2014-03-20 Pedro Alves <palves@redhat.com>
10646 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10647 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10649 2014-03-20 Pedro Alves <palves@redhat.com>
10651 PR breakpoints/7143
10652 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10653 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10654 of gdb_test_multiple.
10655 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10656 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10658 2014-03-20 Pedro Alves <palves@redhat.com>
10660 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10661 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10663 2014-03-19 Pedro Alves <palves@redhat.com>
10665 * gdb.base/async.exp: Remove early return.
10667 2014-03-19 Pedro Alves <palves@redhat.com>
10669 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10671 2014-03-19 Pedro Alves <palves@redhat.com>
10673 * gdb.base/async.exp (test_background): Expect \r\n after
10674 "completed." in the fail pattern.
10676 2014-03-19 Pedro Alves <palves@redhat.com>
10678 * gdb.base/async.exp (test_background): New procedure.
10679 Use it for all background execution command tests.
10681 2014-03-19 Pedro Alves <palves@redhat.com>
10683 * gdb.base/async.exp: Use prepare_for_testing.
10685 2014-03-19 Pedro Alves <palves@redhat.com>
10687 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10690 2014-03-19 Pedro Alves <palves@redhat.com>
10692 * gdb.base/async.c (main): Add "jump here" and "until here" line
10694 * gdb.base/async.exp (jump_here): New global.
10695 (jump& test): Use it.
10696 (until_here): New global.
10697 (until& test): Use it.
10699 2014-03-19 Pedro Alves <palves@redhat.com>
10701 * gdb.base/async.exp: Don't frob gdb_protocol.
10703 2014-03-18 Doug Evans <xdje42@gmail.com>
10705 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10706 Fix spelling of exec-done-display.
10708 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10711 * gdb.base/gdb-sigterm.c: New file.
10712 * gdb.base/gdb-sigterm.exp: New file.
10714 2014-03-18 Pedro Alves <palves@redhat.com>
10717 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10718 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10721 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10723 * gdb.ada/pckd_arr_ren: New testcase.
10725 2014-03-13 Doug Evans <xdje42@gmail.com>
10728 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10729 collect after discarding symbols.
10731 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10732 Doug Evans <xdje42@gmail.com>
10734 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10735 to history survives a gc.
10737 2014-03-13 Pedro Alves <palves@redhat.com>
10739 * gdb.base/default.exp: Don't test "target procfs".
10741 2014-03-13 Pedro Alves <palves@redhat.com>
10743 * gdb.base/default.exp: Update "target child" and "target procfs"
10744 tests to not expect "Unix".
10746 2014-03-12 Tom Tromey <tromey@redhat.com>
10748 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10749 New procs. Add target-async tests.
10750 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10751 Add target-async tests.
10753 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10755 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10756 'func_start' and 'func_end' for the beginning and end of the
10757 function code, respectively.
10758 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10759 'func_end' instead of 'func' and 'main'.
10761 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10763 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10764 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10765 generate the debug info assembler source.
10767 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10769 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10770 * gdb.dwarf2/arr-subrange.exp: Likewise.
10771 * gdb.dwarf2/dwz.exp: Likewise.
10772 * gdb.dwarf2/method-ptr.exp: Likewise.
10773 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10774 * gdb.dwarf2/subrange.exp: Likewise.
10775 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10776 * gdb.dwarf2/implptrpiece.exp: Likewise.
10777 * gdb.dwarf2/nostaticblock.exp: Likewise.
10779 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10781 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10782 directory to absolute path name arguments.
10784 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10786 * gdb.ada/tagged_access: New testcase.
10788 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10790 * gdb.btrace/data.exp: Update expected output.
10792 2014-03-06 Yao Qi <yao@codesourcery.com>
10794 * gdb.trace/pr16508.exp: New file.
10796 2014-03-05 Pedro Alves <palves@redhat.com>
10799 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10801 (top level): Adjust to use it. Add tests that exercise breakpoint
10802 interaction with the code-cache.
10804 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10806 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10807 test for 'history-append!'.
10809 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10811 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10812 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10813 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10814 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10815 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10816 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10818 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10820 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10821 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10822 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10824 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10826 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10828 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10830 * gdb.dwarf2/arr-stride.c: New file.
10831 * gdb.dwarf2/arr-stride.exp: New file.
10833 2014-02-26 Pedro Alves <palves@redhat.com>
10835 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10836 that won't ever trigger. Make sure that GDB reports the correct
10837 breakpoint that caused the stop.
10839 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10842 * gdb.base/auto-load-script: New file.
10843 * gdb.base/auto-load.c: New file.
10844 * gdb.base/auto-load.exp: New file.
10847 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10849 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10851 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10852 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10854 2014-02-24 Doug Evans <dje@google.com>
10856 * lib/gdb.exp (run_on_host): Log error output if program fails.
10858 2014-02-21 Pedro Alves <palves@redhat.com>
10860 * gdb.threads/step-after-sr-lock.c: Rename to ...
10861 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10862 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10863 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10866 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10869 * gdb.arch/amd64-stap-special-operands.exp: New file.
10870 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10871 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10872 * gdb.arch/amd64-stap-triplet.S: Likewise.
10873 * gdb.arch/amd64-stap-triplet.c: Likewise.
10875 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10877 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10878 in .section pseudo-op.
10880 2014-02-20 lin zuojian <manjian2006@gmail.com>
10881 Joel Brobecker <brobecker@adacore.com>
10882 Doug Evans <xdje42@gmail.com>
10885 * gdb.dwarf2/dw2-icycle.S: New file.
10886 * gdb.dwarf2/dw2-icycle.c: New file.
10887 * gdb.dwarf2/dw2-icycle.exp: New file.
10889 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10891 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10892 operations on gdb.Value objects.
10893 * gdb.python/py-value-cc.exp: Add new test to test operations on
10896 2014-02-18 Doug Evans <dje@google.com>
10898 * Makefile.in (TESTS): New variable.
10899 (expanded_tests, expanded_tests_or_none): New variables
10900 (check-single): Pass $(expanded_tests_or_none) to runtest.
10901 (check-parallel): Only run tests in $(TESTS) if non-empty.
10902 (check/no-matching-tests-found): New rule.
10903 * README: Document TESTS makefile variable.
10905 2014-02-18 Doug Evans <dje@google.com>
10907 * Makefile.in (check-parallel): rm -rf outputs temp.
10909 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10911 Fix "ERROR: no fileid for" in the testsuite.
10912 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10914 2014-02-12 Doug Evans <dje@google.com>
10916 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10917 (MISCELLANEOUS): New variable.
10918 (clean): rm -rf $(MISCELLANEOUS).
10919 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10920 dwp live in the same directory as symlinks, with each symlink pointed
10921 to a differently named file in a different directory.
10923 2014-02-11 Doug Evans <dje@google.com>
10925 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10926 of Tcl file commands.
10928 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10930 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10931 "kill -SIGUSR1 -1".
10933 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10935 * gdb.ada/tick_length_array_enum_idx: New testcase.
10937 2014-02-10 Doug Evans <xdje42@gmail.com>
10939 * configure.ac (AC_OUTPUT): Add gdb.guile.
10940 * configure: Regenerate.
10941 * lib/gdb-guile.exp: New file.
10942 * lib/gdb.exp (get_target_charset): New function.
10943 * gdb.base/help.exp: Update expected output from "apropos apropos".
10944 * gdb.guile/Makefile.in: New file.
10945 * gdb.guile/guile.exp: New file.
10946 * gdb.guile/scm-arch.c: New file.
10947 * gdb.guile/scm-arch.exp: New file.
10948 * gdb.guile/scm-block.c: New file.
10949 * gdb.guile/scm-block.exp: New file.
10950 * gdb.guile/scm-breakpoint.c: New file.
10951 * gdb.guile/scm-breakpoint.exp: New file.
10952 * gdb.guile/scm-disasm.c: New file.
10953 * gdb.guile/scm-disasm.exp: New file.
10954 * gdb.guile/scm-equal.c: New file.
10955 * gdb.guile/scm-equal.exp: New file.
10956 * gdb.guile/scm-error.exp: New file.
10957 * gdb.guile/scm-error.scm: New file.
10958 * gdb.guile/scm-frame-args.c: New file.
10959 * gdb.guile/scm-frame-args.exp: New file.
10960 * gdb.guile/scm-frame-args.scm: New file.
10961 * gdb.guile/scm-frame-inline.c: New file.
10962 * gdb.guile/scm-frame-inline.exp: New file.
10963 * gdb.guile/scm-frame.c: New file.
10964 * gdb.guile/scm-frame.exp: New file.
10965 * gdb.guile/scm-generics.exp: New file.
10966 * gdb.guile/scm-gsmob.exp: New file.
10967 * gdb.guile/scm-iterator.c: New file.
10968 * gdb.guile/scm-iterator.exp: New file.
10969 * gdb.guile/scm-math.c: New file.
10970 * gdb.guile/scm-math.exp: New file.
10971 * gdb.guile/scm-objfile-script-gdb.in: New file.
10972 * gdb.guile/scm-objfile-script.c: New file.
10973 * gdb.guile/scm-objfile-script.exp: New file.
10974 * gdb.guile/scm-objfile.c: New file.
10975 * gdb.guile/scm-objfile.exp: New file.
10976 * gdb.guile/scm-ports.exp: New file.
10977 * gdb.guile/scm-pretty-print.c: New file.
10978 * gdb.guile/scm-pretty-print.exp: New file.
10979 * gdb.guile/scm-pretty-print.scm: New file.
10980 * gdb.guile/scm-section-script.c: New file.
10981 * gdb.guile/scm-section-script.exp: New file.
10982 * gdb.guile/scm-section-script.scm: New file.
10983 * gdb.guile/scm-symbol.c: New file.
10984 * gdb.guile/scm-symbol.exp: New file.
10985 * gdb.guile/scm-symtab-2.c: New file.
10986 * gdb.guile/scm-symtab.c: New file.
10987 * gdb.guile/scm-symtab.exp: New file.
10988 * gdb.guile/scm-type.c: New file.
10989 * gdb.guile/scm-type.exp: New file.
10990 * gdb.guile/scm-value-cc.cc: New file.
10991 * gdb.guile/scm-value-cc.exp: New file.
10992 * gdb.guile/scm-value.c: New file.
10993 * gdb.guile/scm-value.exp: New file.
10994 * gdb.guile/source2.scm: New file.
10995 * gdb.guile/types-module.cc: New file.
10996 * gdb.guile/types-module.exp: New file.
10998 2014-02-10 Yao Qi <yao@codesourcery.com>
11001 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11002 * configure: Regenerated.
11003 * Makefile.in: New file.
11005 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11007 * gdb.python/py-framefilter.exp: Fix typo.
11009 2014-02-08 Yao Qi <yao@codesourcery.com>
11011 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11012 that no =breakpoint-modified is emitted when breakpoints are
11013 modified through MI commands.
11015 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11016 Pedro Alves <palves@redhat.com>
11018 * gdb.threads/step-after-sr-lock.c: New file.
11019 * gdb.threads/step-after-sr-lock.exp: New file.
11021 2014-02-07 Pedro Alves <palves@redhat.com>
11023 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11025 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11027 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11028 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11030 2014-02-06 Doug Evans <xdje42@gmail.com>
11032 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11035 * gdb.gdb/python-interrupts.exp: New file.
11037 2014-02-05 Yao Qi <yao@codesourcery.com>
11039 * gdb.trace/report.exp (use_collected_data): Test the output
11040 of "info threads" and "info inferiors".
11042 2014-02-05 Yao Qi <yao@codesourcery.com>
11046 2013-05-24 Yao Qi <yao@codesourcery.com>
11048 * gdb.trace/tfile.exp: Test inferior and thread.
11050 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11052 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11054 * gdb.base/step-bt.c: Call hello via function pointer to make
11055 sure its first instruction is executed on powerpc64le-linux.
11057 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11059 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11061 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11063 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11064 of the test patterns for use on little-endian systems.
11066 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11068 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11069 (decimal_vector): Fix for little-endian.
11071 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11073 * gdb.arch/sparc-sysstep.exp: New file.
11074 * gdb.arch/sparc-sysstep.c: Likewise.
11076 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11078 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11080 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11082 2014-01-23 Tom Tromey <tromey@redhat.com>
11084 * gdb.ada/array_char_idx: New testcase.
11086 2014-01-23 Tom Tromey <tromey@redhat.com>
11089 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11090 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11093 2014-01-23 Tom Tromey <tromey@redhat.com>
11096 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11097 string from an inferior frame.
11098 * gdb.python/py-framefilter-mi.exp: Update.
11100 2014-01-22 Doug Evans <dje@google.com>
11102 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11104 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11106 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11108 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11110 * gdb.trace/entry-values.exp: Remove excess space character from
11111 regex patterns. Handle s390 call instruction.
11113 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11115 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11116 define "*_start" label. Make "name" static.
11117 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11118 ${name} by references to ${name}_start.
11120 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11122 * gdb.base/info-macros.exp: Remove "debug" from the compile
11125 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11127 * gdb.dlang/demangle.exp: New file.
11129 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11131 * gdb.dlang/primitive-types.exp: New file.
11133 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11135 * configure.ac: Create gdb.dlang/Makefile.
11136 * configure: Regenerate.
11137 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11138 * gdb.dlang/Makefile.in: New file.
11139 * lib/d-support.exp: New file.
11140 * lib/gdb.exp (skip_d_tests): New proc.
11142 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11144 * gdb.btrace/delta.exp: Check reverse stepi.
11145 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11146 * gdb.btrace/finish.exp: New.
11147 * gdb.btrace/next.exp: New.
11148 * gdb.btrace/nexti.exp: New.
11149 * gdb.btrace/record_goto.c: Add comments.
11150 * gdb.btrace/step.exp: New.
11151 * gdb.btrace/stepi.exp: New.
11152 * gdb.btrace/multi-thread-step.c: New.
11153 * gdb.btrace/multi-thread-step.exp: New.
11154 * gdb.btrace/rn-dl-bind.c: New.
11155 * gdb.btrace/rn-dl-bind.exp: New.
11156 * gdb.btrace/data.c: New.
11157 * gdb.btrace/data.exp: New.
11158 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11162 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11163 * gdb.btrace/exception.exp: Update.
11164 * gdb.btrace/instruction_history.exp: Update.
11165 * gdb.btrace/record_goto.exp: Update.
11166 * gdb.btrace/tailcall.exp: Update.
11167 * gdb.btrace/unknown_functions.exp: Update.
11168 * gdb.btrace/delta.exp: New.
11170 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11172 * gdb.btrace/record_goto.exp: Add backtrace test.
11173 * gdb.btrace/tailcall.exp: Add backtrace test.
11175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11177 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11178 * gdb.btrace/record_goto.c: New.
11179 * gdb.btrace/record_goto.exp: New.
11180 * gdb.btrace/x86-record_goto.S: New.
11182 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11184 * gdb.btrace/function_call_history.exp: Update tests.
11185 * gdb.btrace/instruction_history.exp: Update tests.
11187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11189 * gdb.btrace/function_call_history.exp: Fix expected field
11190 order for "record function-call-history".
11191 Add new tests for "record function-call-history /c".
11192 * gdb.btrace/exception.cc: New.
11193 * gdb.btrace/exception.exp: New.
11194 * gdb.btrace/tailcall.exp: New.
11195 * gdb.btrace/x86-tailcall.S: New.
11196 * gdb.btrace/x86-tailcall.c: New.
11197 * gdb.btrace/unknown_functions.c: New.
11198 * gdb.btrace/unknown_functions.exp: New.
11199 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11201 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11203 * gdb.btrace/instruction_history.exp: Update.
11204 * gdb.btrace/function_call_history.exp: Update.
11206 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11208 * gdb.btrace/function_call_history.exp: Fix expected function
11210 * gdb.btrace/instruction_history.exp: Initialize traced.
11211 Remove traced_functions.
11213 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11215 * gdb.btrace/function_call_history.exp: Update
11216 * gdb.btrace/instruction_history.exp: Update.
11218 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11220 * gdb.btrace/enable.exp: Update expected text.
11222 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11224 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11227 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11229 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11231 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11233 * lib/gdb.exp (supports_process_record): Return true for
11234 arm*-linux*. (supports_reverse): Likewise.
11236 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11240 * gdb.python/py-type.c: Enhance test case.
11241 * gdb.python/py-value-cc.cc: Likewise
11242 * gdb.python/py-type.exp: Add new tests.
11243 * gdb.python/py-value-cc.exp: Likewise
11245 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11246 Pedro Alves <palves@redhat.com>
11248 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11249 Make "name" extern.
11250 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11251 references to ${name}_start by references to ${name}.
11253 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11255 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11257 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11259 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11261 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11262 Pedro Alves <palves@redhat.com>
11264 * gdb.mi/mi-info-os.exp: Connect to the target with
11265 mi_gdb_target_load.
11267 2014-01-08 Pedro Alves <palves@redhat.com>
11269 * gdb.threads/reconnect-signal.c: New file.
11270 * gdb.threads/reconnect-signal.exp: New file.
11272 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11274 * gdb.base/source-dir.exp: New file.
11276 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11278 * gdb.ada/mi_interface: New testcase.
11280 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11282 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11283 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11284 gdb.ada/pp-rec-component/pck.ads: New files.
11286 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11288 * gdb.python/py-pp-integral.c: New file.
11289 * gdb.python/py-pp-integral.py: New file.
11290 * gdb.python/py-pp-integral.exp: New file.
11292 For older changes see ChangeLog-1993-2013.
11294 ;; Local Variables:
11295 ;; mode: change-log
11298 ;; version-control: never
11301 Copyright 2014-2017 Free Software Foundation, Inc.
11302 Copying and distribution of this file, with or without modification,
11303 are permitted provided the copyright notice and this notice are preserved.