1 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6 2017-02-14 Tom Tromey <tom@tromey.com>
9 * gdb.python/py-events.exp: Add before_prompt event tests.
11 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
15 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
17 * gdb.linespec/explicit.c (my_unique_function_name): New function.
18 (main): Call my_unique_function_name.
19 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
20 completion of patterns with a single match.
21 Add missing -re switches to gdb_test_multiple calls.
23 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
25 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
26 return if core file is not recognized.
28 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
30 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
33 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
35 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
38 2017-02-10 Tom Tromey <tom@tromey.com>
40 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
42 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
45 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
47 2017-02-08 Jerome Guitton <guitton@adacore.com>
49 * gdb.base/define.exp: Add test for command abbreviations
52 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
54 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
55 * gdb.reverse/insn-reverse-x86.c: New file.
57 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
60 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
62 2017-02-03 Tom Tromey <tom@tromey.com>
65 * gdb.rust/simple.exp: Add new tests.
67 2017-02-02 Pedro Alves <palves@redhat.com>
69 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
72 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
74 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
75 taking a 2-byte value out of a 4-byte DWARF implicit value on
77 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
78 logic. Add test cases for DW_OP_implicit.
80 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
82 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
84 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
86 * gdb.btrace/enable.exp: Call gdb_exit before
89 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
91 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
94 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
96 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
98 * gdb.btrace/data.exp: Likewise.
99 * gdb.btrace/delta.exp: Likewise.
100 * gdb.btrace/dlopen.exp: Likewise.
101 * gdb.btrace/enable-running.exp: Likewise.
102 * gdb.btrace/enable.exp: Likewise.
103 * gdb.btrace/exception.exp: Likewise.
104 * gdb.btrace/function_call_history.exp: Likewise.
105 * gdb.btrace/gcore.exp: Likewise.
106 * gdb.btrace/instruction_history.exp: Likewise.
107 * gdb.btrace/multi-thread-step.exp: Likewise.
108 * gdb.btrace/nohist.exp: Likewise.
109 * gdb.btrace/non-stop.exp: Likewise.
110 * gdb.btrace/reconnect.exp: Likewise.
111 * gdb.btrace/record_goto-step.exp: Likewise.
112 * gdb.btrace/record_goto.exp: Likewise.
113 * gdb.btrace/rn-dl-bind.exp: Likewise.
114 * gdb.btrace/segv.exp: Likewise.
115 * gdb.btrace/step.exp: Likewise.
116 * gdb.btrace/stepi.exp: Likewise.
117 * gdb.btrace/tailcall-only.exp: Likewise.
118 * gdb.btrace/tailcall.exp: Likewise.
119 * gdb.btrace/tsx.exp: Likewise.
120 * gdb.btrace/unknown_functions.exp: Likewise.
121 * gdb.btrace/vdso.exp: Likewise.
123 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
125 * gdb.btrace/enable-running.c: New.
126 * gdb.btrace/enable-running.exp: New.
128 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
130 * gdb.arch/amd64-gs_base.c: New file.
131 * gdb.arch/amd64-gs_base.exp: New file.
133 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
135 * lib/memory.exp: Remove spurious empty newlines.
137 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
139 * gdb.python/py-bad-printers.exp: Load python file using "source".
140 * gdb.python/py-events.exp: Likewise.
141 * gdb.python/py-evsignal.exp: Likewise.
142 * gdb.python/py-evthreads.exp: Likewise.
143 * gdb.python/py-frame-args.exp: Likewise.
144 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
145 * gdb.python/py-framefilter-mi.exp: Likewise.
146 * gdb.python/py-framefilter.exp: Likewise.
147 * gdb.python/py-mi.exp: Likewise.
148 * gdb.python/py-pp-maint.exp: Likewise.
149 * gdb.python/py-pp-registration.exp: Likewise.
150 * gdb.python/py-prettyprint.exp: Likewise.
151 (run_lang_tests): Likewise.
152 * gdb.python/py-typeprint.exp: Likewise.
154 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
156 * lib/memory.exp: New file.
157 * lib/gdb.exp: Load memory.exp.
158 * gdb.base/memattr.exp (delete_memory): Move proc to
159 lib/memory.exp and rename to delete_memory_regions.
160 Replace delete_memory with delete_memory_regions.
161 Cleanup memory regions before tests.
162 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
165 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
167 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
169 (initialize): New function conditionally defined.
170 (testcases): Move within conditional block.
171 (main): Call initialize.
172 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
173 of gdb.reverse/insn-reverse.c.
174 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
175 gdb.reverse/insn-reverse.c.
177 2017-01-26 Yao Qi <yao.qi@linaro.org>
179 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
180 disassemble on address 0.
182 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
183 Yao Qi <yao.qi@linaro.org>
185 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
186 * gdb.dwarf2/implptr-64bit.S: Remove.
187 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
188 variables in caller's context. Add DW_OP_implicit_value.
190 2017-01-25 Yao Qi <yao.qi@linaro.org>
192 * lib/dwarf.exp (Dwarf::_location): Handle
193 DW_OP_GNU_implicit_pointer with proper size.
195 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
197 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
198 and add untested calls.
200 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
202 * gdb.python/python.exp: Check line number against what GDB thinks
203 the line number is for func1.
205 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
207 * gdb.dlang/debug-expr.exp: New file.
209 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
211 Fix test names for the following files:
213 * gdb.ada/exec_changed.exp
214 * gdb.ada/info_types.exp
215 * gdb.arch/aarch64-atomic-inst.exp
216 * gdb.arch/aarch64-fp.exp
217 * gdb.arch/altivec-abi.exp
218 * gdb.arch/altivec-regs.exp
219 * gdb.arch/amd64-byte.exp
220 * gdb.arch/amd64-disp-step.exp
221 * gdb.arch/amd64-dword.exp
222 * gdb.arch/amd64-entry-value-inline.exp
223 * gdb.arch/amd64-entry-value-param.exp
224 * gdb.arch/amd64-entry-value-paramref.exp
225 * gdb.arch/amd64-entry-value.exp
226 * gdb.arch/amd64-i386-address.exp
227 * gdb.arch/amd64-invalid-stack-middle.exp
228 * gdb.arch/amd64-invalid-stack-top.exp
229 * gdb.arch/amd64-optimout-repeat.exp
230 * gdb.arch/amd64-prologue-skip.exp
231 * gdb.arch/amd64-prologue-xmm.exp
232 * gdb.arch/amd64-stap-special-operands.exp
233 * gdb.arch/amd64-stap-wrong-subexp.exp
234 * gdb.arch/amd64-tailcall-cxx.exp
235 * gdb.arch/amd64-tailcall-noret.exp
236 * gdb.arch/amd64-tailcall-ret.exp
237 * gdb.arch/amd64-tailcall-self.exp
238 * gdb.arch/amd64-word.exp
239 * gdb.arch/arm-bl-branch-dest.exp
240 * gdb.arch/arm-disp-step.exp
241 * gdb.arch/arm-neon.exp
242 * gdb.arch/arm-single-step-kernel-helper.exp
243 * gdb.arch/avr-flash-qualifier.exp
244 * gdb.arch/disp-step-insn-reloc.exp
245 * gdb.arch/e500-abi.exp
246 * gdb.arch/e500-regs.exp
247 * gdb.arch/ftrace-insn-reloc.exp
248 * gdb.arch/i386-avx512.exp
249 * gdb.arch/i386-bp_permanent.exp
250 * gdb.arch/i386-byte.exp
251 * gdb.arch/i386-cfi-notcurrent.exp
252 * gdb.arch/i386-disp-step.exp
253 * gdb.arch/i386-dr3-watch.exp
254 * gdb.arch/i386-float.exp
255 * gdb.arch/i386-gnu-cfi.exp
256 * gdb.arch/i386-mpx-map.exp
257 * gdb.arch/i386-mpx-sigsegv.exp
258 * gdb.arch/i386-mpx-simple_segv.exp
259 * gdb.arch/i386-mpx.exp
260 * gdb.arch/i386-permbkpt.exp
261 * gdb.arch/i386-prologue.exp
262 * gdb.arch/i386-signal.exp
263 * gdb.arch/i386-size-overlap.exp
264 * gdb.arch/i386-unwind.exp
265 * gdb.arch/i386-word.exp
266 * gdb.arch/mips-fcr.exp
267 * gdb.arch/powerpc-d128-regs.exp
268 * gdb.arch/powerpc-stackless.exp
269 * gdb.arch/ppc64-atomic-inst.exp
270 * gdb.arch/s390-stackless.exp
271 * gdb.arch/s390-tdbregs.exp
272 * gdb.arch/s390-vregs.exp
273 * gdb.arch/sparc-sysstep.exp
274 * gdb.arch/thumb-bx-pc.exp
275 * gdb.arch/thumb-singlestep.exp
276 * gdb.arch/thumb2-it.exp
277 * gdb.arch/vsx-regs.exp
278 * gdb.asm/asm-source.exp
279 * gdb.base/a2-run.exp
280 * gdb.base/advance.exp
281 * gdb.base/all-bin.exp
284 * gdb.base/arithmet.exp
285 * gdb.base/async-shell.exp
287 * gdb.base/attach-pie-noexec.exp
288 * gdb.base/attach-twice.exp
289 * gdb.base/auto-load.exp
291 * gdb.base/bitfields.exp
292 * gdb.base/break-always.exp
293 * gdb.base/break-caller-line.exp
294 * gdb.base/break-entry.exp
295 * gdb.base/break-inline.exp
296 * gdb.base/break-on-linker-gcd-function.exp
297 * gdb.base/break-probes.exp
299 * gdb.base/breakpoint-shadow.exp
300 * gdb.base/call-ar-st.exp
301 * gdb.base/call-sc.exp
302 * gdb.base/call-signal-resume.exp
303 * gdb.base/call-strs.exp
304 * gdb.base/callfuncs.exp
305 * gdb.base/catch-fork-static.exp
306 * gdb.base/catch-gdb-caused-signals.exp
307 * gdb.base/catch-load.exp
308 * gdb.base/catch-signal-fork.exp
309 * gdb.base/catch-signal.exp
310 * gdb.base/catch-syscall.exp
311 * gdb.base/charset.exp
312 * gdb.base/checkpoint.exp
313 * gdb.base/chng-syms.exp
314 * gdb.base/code-expr.exp
315 * gdb.base/code_elim.exp
316 * gdb.base/commands.exp
317 * gdb.base/completion.exp
318 * gdb.base/complex.exp
319 * gdb.base/cond-expr.exp
320 * gdb.base/condbreak.exp
321 * gdb.base/consecutive.exp
322 * gdb.base/continue-all-already-running.exp
323 * gdb.base/coredump-filter.exp
324 * gdb.base/corefile.exp
326 * gdb.base/debug-expr.exp
327 * gdb.base/define.exp
329 * gdb.base/disabled-location.exp
330 * gdb.base/disasm-end-cu.exp
331 * gdb.base/disasm-optim.exp
332 * gdb.base/display.exp
333 * gdb.base/duplicate-bp.exp
334 * gdb.base/ena-dis-br.exp
335 * gdb.base/ending-run.exp
336 * gdb.base/enumval.exp
337 * gdb.base/environ.exp
338 * gdb.base/eu-strip-infcall.exp
339 * gdb.base/eval-avoid-side-effects.exp
340 * gdb.base/eval-skip.exp
341 * gdb.base/exitsignal.exp
342 * gdb.base/expand-psymtabs.exp
343 * gdb.base/filesym.exp
344 * gdb.base/find-unmapped.exp
345 * gdb.base/finish.exp
347 * gdb.base/foll-exec-mode.exp
348 * gdb.base/foll-exec.exp
349 * gdb.base/foll-fork.exp
350 * gdb.base/fortran-sym-case.exp
351 * gdb.base/freebpcmd.exp
352 * gdb.base/func-ptr.exp
353 * gdb.base/func-ptrs.exp
354 * gdb.base/funcargs.exp
355 * gdb.base/gcore-buffer-overflow.exp
356 * gdb.base/gcore-relro-pie.exp
357 * gdb.base/gcore-relro.exp
359 * gdb.base/gdb1090.exp
360 * gdb.base/gdb11530.exp
361 * gdb.base/gdb11531.exp
362 * gdb.base/gdb1821.exp
363 * gdb.base/gdbindex-stabs.exp
364 * gdb.base/gdbvars.exp
365 * gdb.base/hbreak.exp
366 * gdb.base/hbreak2.exp
367 * gdb.base/included.exp
368 * gdb.base/infcall-input.exp
369 * gdb.base/inferior-died.exp
370 * gdb.base/infnan.exp
371 * gdb.base/info-macros.exp
372 * gdb.base/info-os.exp
373 * gdb.base/info-proc.exp
374 * gdb.base/info-shared.exp
375 * gdb.base/info-target.exp
376 * gdb.base/infoline.exp
377 * gdb.base/interp.exp
378 * gdb.base/interrupt.exp
379 * gdb.base/jit-reader.exp
380 * gdb.base/jit-simple.exp
381 * gdb.base/kill-after-signal.exp
382 * gdb.base/kill-detach-inferiors-cmd.exp
385 * gdb.base/ldbl_e308.exp
386 * gdb.base/line-symtabs.exp
387 * gdb.base/linespecs.exp
389 * gdb.base/long_long.exp
390 * gdb.base/longest-types.exp
392 * gdb.base/max-value-size.exp
393 * gdb.base/memattr.exp
394 * gdb.base/mips_pro.exp
395 * gdb.base/morestack.exp
396 * gdb.base/moribund-step.exp
397 * gdb.base/multi-forks.exp
398 * gdb.base/nested-addr.exp
399 * gdb.base/nextoverexit.exp
400 * gdb.base/noreturn-finish.exp
401 * gdb.base/noreturn-return.exp
402 * gdb.base/nostdlib.exp
403 * gdb.base/offsets.exp
404 * gdb.base/opaque.exp
406 * gdb.base/permissions.exp
407 * gdb.base/print-symbol-loading.exp
408 * gdb.base/prologue-include.exp
409 * gdb.base/psymtab.exp
411 * gdb.base/random-signal.exp
412 * gdb.base/randomize.exp
413 * gdb.base/range-stepping.exp
414 * gdb.base/readline-ask.exp
415 * gdb.base/recpar.exp
416 * gdb.base/recurse.exp
417 * gdb.base/relational.exp
418 * gdb.base/restore.exp
419 * gdb.base/return-nodebug.exp
420 * gdb.base/return.exp
421 * gdb.base/run-after-attach.exp
422 * gdb.base/save-bp.exp
424 * gdb.base/sect-cmd.exp
425 * gdb.base/set-lang-auto.exp
426 * gdb.base/set-noassign.exp
427 * gdb.base/setvar.exp
428 * gdb.base/sigall.exp
429 * gdb.base/sigbpt.exp
430 * gdb.base/siginfo-addr.exp
431 * gdb.base/siginfo-infcall.exp
432 * gdb.base/siginfo-obj.exp
433 * gdb.base/siginfo.exp
434 * gdb.base/signals-state-child.exp
435 * gdb.base/signest.exp
436 * gdb.base/sigstep.exp
437 * gdb.base/sizeof.exp
439 * gdb.base/solib-corrupted.exp
440 * gdb.base/solib-nodir.exp
441 * gdb.base/solib-search.exp
442 * gdb.base/stack-checking.exp
443 * gdb.base/stale-infcall.exp
444 * gdb.base/stap-probe.exp
446 * gdb.base/step-break.exp
447 * gdb.base/step-bt.exp
448 * gdb.base/step-line.exp
449 * gdb.base/step-over-exit.exp
450 * gdb.base/step-over-syscall.exp
451 * gdb.base/step-resume-infcall.exp
452 * gdb.base/step-test.exp
454 * gdb.base/structs3.exp
455 * gdb.base/sym-file.exp
456 * gdb.base/symbol-without-target_section.exp
458 * gdb.base/testenv.exp
459 * gdb.base/ui-redirect.exp
461 * gdb.base/unwindonsignal.exp
462 * gdb.base/value-double-free.exp
463 * gdb.base/vla-datatypes.exp
464 * gdb.base/vla-ptr.exp
465 * gdb.base/vla-sideeffect.exp
466 * gdb.base/volatile.exp
467 * gdb.base/watch-cond-infcall.exp
468 * gdb.base/watch-cond.exp
469 * gdb.base/watch-non-mem.exp
470 * gdb.base/watch-read.exp
471 * gdb.base/watch-vfork.exp
472 * gdb.base/watchpoint-cond-gone.exp
473 * gdb.base/watchpoint-delete.exp
474 * gdb.base/watchpoint-hw-hit-once.exp
475 * gdb.base/watchpoint-hw.exp
476 * gdb.base/watchpoint-stops-at-right-insn.exp
477 * gdb.base/watchpoints.exp
479 * gdb.base/whatis-exp.exp
480 * gdb.btrace/buffer-size.exp
481 * gdb.btrace/data.exp
482 * gdb.btrace/delta.exp
483 * gdb.btrace/dlopen.exp
484 * gdb.btrace/enable.exp
485 * gdb.btrace/exception.exp
486 * gdb.btrace/function_call_history.exp
487 * gdb.btrace/gcore.exp
488 * gdb.btrace/instruction_history.exp
489 * gdb.btrace/nohist.exp
490 * gdb.btrace/reconnect.exp
491 * gdb.btrace/record_goto-step.exp
492 * gdb.btrace/record_goto.exp
493 * gdb.btrace/rn-dl-bind.exp
494 * gdb.btrace/segv.exp
495 * gdb.btrace/step.exp
496 * gdb.btrace/stepi.exp
497 * gdb.btrace/tailcall-only.exp
498 * gdb.btrace/tailcall.exp
500 * gdb.btrace/unknown_functions.exp
501 * gdb.btrace/vdso.exp
502 * gdb.compile/compile-ifunc.exp
503 * gdb.compile/compile-ops.exp
504 * gdb.compile/compile-print.exp
505 * gdb.compile/compile-setjmp.exp
506 * gdb.cp/abstract-origin.exp
507 * gdb.cp/ambiguous.exp
511 * gdb.cp/anon-struct.exp
512 * gdb.cp/anon-union.exp
513 * gdb.cp/arg-reference.exp
514 * gdb.cp/baseenum.exp
516 * gdb.cp/breakpoint.exp
520 * gdb.cp/chained-calls.exp
523 * gdb.cp/cmpd-minsyms.exp
524 * gdb.cp/converts.exp
525 * gdb.cp/cp-relocate.exp
526 * gdb.cp/cpcompletion.exp
529 * gdb.cp/cplusfuncs.exp
530 * gdb.cp/cpsizeof.exp
532 * gdb.cp/derivation.exp
533 * gdb.cp/destrprint.exp
535 * gdb.cp/enum-class.exp
536 * gdb.cp/exception.exp
537 * gdb.cp/exceptprint.exp
538 * gdb.cp/expand-psymtabs-cxx.exp
539 * gdb.cp/expand-sals.exp
540 * gdb.cp/extern-c.exp
541 * gdb.cp/filename.exp
542 * gdb.cp/formatted-ref.exp
543 * gdb.cp/fpointer.exp
547 * gdb.cp/impl-this.exp
548 * gdb.cp/infcall-dlopen.exp
550 * gdb.cp/iostream.exp
554 * gdb.cp/m-static.exp
556 * gdb.cp/mb-inline.exp
557 * gdb.cp/mb-templates.exp
558 * gdb.cp/member-name.exp
559 * gdb.cp/member-ptr.exp
560 * gdb.cp/meth-typedefs.exp
563 * gdb.cp/minsym-fallback.exp
565 * gdb.cp/namelessclass.exp
566 * gdb.cp/namespace-enum.exp
567 * gdb.cp/namespace-nested-import.exp
568 * gdb.cp/namespace.exp
569 * gdb.cp/nextoverthrow.exp
570 * gdb.cp/no-dmgl-verbose.exp
571 * gdb.cp/non-trivial-retval.exp
574 * gdb.cp/nsimport.exp
575 * gdb.cp/nsnested.exp
576 * gdb.cp/nsnoimports.exp
577 * gdb.cp/nsrecurs.exp
578 * gdb.cp/nsstress.exp
580 * gdb.cp/operator.exp
581 * gdb.cp/oranking.exp
582 * gdb.cp/overload-const.exp
583 * gdb.cp/overload.exp
584 * gdb.cp/ovldbreak.exp
586 * gdb.cp/paren-type.exp
587 * gdb.cp/parse-lang.exp
588 * gdb.cp/pass-by-ref.exp
599 * gdb.cp/printmethod.exp
601 * gdb.cp/psymtab-parameter.exp
602 * gdb.cp/ptype-cv-cp.exp
603 * gdb.cp/ptype-flags.exp
604 * gdb.cp/re-set-overloaded.exp
605 * gdb.cp/ref-types.exp
607 * gdb.cp/scope-err.exp
610 * gdb.cp/static-method.exp
611 * gdb.cp/static-print-quit.exp
613 * gdb.cp/templates.exp
614 * gdb.cp/try_catch.exp
615 * gdb.cp/typedef-operator.exp
618 * gdb.cp/using-crash.exp
620 * gdb.cp/virtbase.exp
621 * gdb.cp/virtfunc.exp
622 * gdb.cp/virtfunc2.exp
624 * gdb.disasm/t01_mov.exp
625 * gdb.disasm/t02_mova.exp
626 * gdb.disasm/t03_add.exp
627 * gdb.disasm/t04_sub.exp
628 * gdb.disasm/t05_cmp.exp
629 * gdb.disasm/t06_ari2.exp
630 * gdb.disasm/t07_ari3.exp
631 * gdb.disasm/t08_or.exp
632 * gdb.disasm/t09_xor.exp
633 * gdb.disasm/t10_and.exp
634 * gdb.disasm/t11_logs.exp
635 * gdb.disasm/t12_bit.exp
636 * gdb.disasm/t13_otr.exp
637 * gdb.dlang/circular.exp
638 * gdb.dwarf2/arr-stride.exp
639 * gdb.dwarf2/arr-subrange.exp
640 * gdb.dwarf2/atomic-type.exp
641 * gdb.dwarf2/bad-regnum.exp
642 * gdb.dwarf2/bitfield-parent-optimized-out.exp
643 * gdb.dwarf2/callframecfa.exp
644 * gdb.dwarf2/clztest.exp
645 * gdb.dwarf2/corrupt.exp
646 * gdb.dwarf2/data-loc.exp
647 * gdb.dwarf2/dup-psym.exp
648 * gdb.dwarf2/dw2-anon-mptr.exp
649 * gdb.dwarf2/dw2-anonymous-func.exp
650 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
651 * gdb.dwarf2/dw2-bad-unresolved.exp
652 * gdb.dwarf2/dw2-basic.exp
653 * gdb.dwarf2/dw2-canonicalize-type.exp
654 * gdb.dwarf2/dw2-case-insensitive.exp
655 * gdb.dwarf2/dw2-common-block.exp
656 * gdb.dwarf2/dw2-compdir-oldgcc.exp
657 * gdb.dwarf2/dw2-compressed.exp
658 * gdb.dwarf2/dw2-const.exp
659 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
660 * gdb.dwarf2/dw2-cu-size.exp
661 * gdb.dwarf2/dw2-dup-frame.exp
662 * gdb.dwarf2/dw2-entry-value.exp
663 * gdb.dwarf2/dw2-icycle.exp
664 * gdb.dwarf2/dw2-ifort-parameter.exp
665 * gdb.dwarf2/dw2-inline-break.exp
666 * gdb.dwarf2/dw2-inline-param.exp
667 * gdb.dwarf2/dw2-intercu.exp
668 * gdb.dwarf2/dw2-intermix.exp
669 * gdb.dwarf2/dw2-lexical-block-bare.exp
670 * gdb.dwarf2/dw2-linkage-name-trust.exp
671 * gdb.dwarf2/dw2-minsym-in-cu.exp
672 * gdb.dwarf2/dw2-noloc.exp
673 * gdb.dwarf2/dw2-op-call.exp
674 * gdb.dwarf2/dw2-op-out-param.exp
675 * gdb.dwarf2/dw2-opt-structptr.exp
676 * gdb.dwarf2/dw2-param-error.exp
677 * gdb.dwarf2/dw2-producer.exp
678 * gdb.dwarf2/dw2-ranges-base.exp
679 * gdb.dwarf2/dw2-ref-missing-frame.exp
680 * gdb.dwarf2/dw2-reg-undefined.exp
681 * gdb.dwarf2/dw2-regno-invalid.exp
682 * gdb.dwarf2/dw2-restore.exp
683 * gdb.dwarf2/dw2-restrict.exp
684 * gdb.dwarf2/dw2-single-line-discriminators.exp
685 * gdb.dwarf2/dw2-strp.exp
686 * gdb.dwarf2/dw2-undefined-ret-addr.exp
687 * gdb.dwarf2/dw2-unresolved.exp
688 * gdb.dwarf2/dw2-var-zero-addr.exp
689 * gdb.dwarf2/dw4-sig-types.exp
691 * gdb.dwarf2/dynarr-ptr.exp
692 * gdb.dwarf2/enum-type.exp
693 * gdb.dwarf2/gdb-index.exp
694 * gdb.dwarf2/implptr-64bit.exp
695 * gdb.dwarf2/implptr-optimized-out.exp
696 * gdb.dwarf2/implptr.exp
697 * gdb.dwarf2/implref-array.exp
698 * gdb.dwarf2/implref-const.exp
699 * gdb.dwarf2/implref-global.exp
700 * gdb.dwarf2/implref-struct.exp
701 * gdb.dwarf2/mac-fileno.exp
702 * gdb.dwarf2/main-subprogram.exp
703 * gdb.dwarf2/member-ptr-forwardref.exp
704 * gdb.dwarf2/method-ptr.exp
705 * gdb.dwarf2/missing-sig-type.exp
706 * gdb.dwarf2/nonvar-access.exp
707 * gdb.dwarf2/opaque-type-lookup.exp
708 * gdb.dwarf2/pieces-optimized-out.exp
709 * gdb.dwarf2/pieces.exp
710 * gdb.dwarf2/pr10770.exp
711 * gdb.dwarf2/pr13961.exp
712 * gdb.dwarf2/staticvirtual.exp
713 * gdb.dwarf2/subrange.exp
714 * gdb.dwarf2/symtab-producer.exp
715 * gdb.dwarf2/trace-crash.exp
716 * gdb.dwarf2/typeddwarf.exp
717 * gdb.dwarf2/valop.exp
718 * gdb.dwarf2/watch-notconst.exp
719 * gdb.fortran/array-element.exp
720 * gdb.fortran/charset.exp
721 * gdb.fortran/common-block.exp
722 * gdb.fortran/complex.exp
723 * gdb.fortran/derived-type-function.exp
724 * gdb.fortran/derived-type.exp
725 * gdb.fortran/logical.exp
726 * gdb.fortran/module.exp
727 * gdb.fortran/multi-dim.exp
728 * gdb.fortran/nested-funcs.exp
729 * gdb.fortran/print-formatted.exp
730 * gdb.fortran/subarray.exp
731 * gdb.fortran/vla-alloc-assoc.exp
732 * gdb.fortran/vla-datatypes.exp
733 * gdb.fortran/vla-history.exp
734 * gdb.fortran/vla-ptr-info.exp
735 * gdb.fortran/vla-ptype-sub.exp
736 * gdb.fortran/vla-ptype.exp
737 * gdb.fortran/vla-sizeof.exp
738 * gdb.fortran/vla-type.exp
739 * gdb.fortran/vla-value-sub-arbitrary.exp
740 * gdb.fortran/vla-value-sub-finish.exp
741 * gdb.fortran/vla-value-sub.exp
742 * gdb.fortran/vla-value.exp
743 * gdb.fortran/whatis_type.exp
745 * gdb.go/handcall.exp
747 * gdb.go/integers.exp
753 * gdb.guile/scm-arch.exp
754 * gdb.guile/scm-block.exp
755 * gdb.guile/scm-breakpoint.exp
756 * gdb.guile/scm-cmd.exp
757 * gdb.guile/scm-disasm.exp
758 * gdb.guile/scm-equal.exp
759 * gdb.guile/scm-frame-args.exp
760 * gdb.guile/scm-frame-inline.exp
761 * gdb.guile/scm-frame.exp
762 * gdb.guile/scm-iterator.exp
763 * gdb.guile/scm-math.exp
764 * gdb.guile/scm-objfile.exp
765 * gdb.guile/scm-ports.exp
766 * gdb.guile/scm-symbol.exp
767 * gdb.guile/scm-symtab.exp
768 * gdb.guile/scm-value-cc.exp
769 * gdb.guile/types-module.exp
770 * gdb.linespec/break-ask.exp
771 * gdb.linespec/cpexplicit.exp
772 * gdb.linespec/explicit.exp
773 * gdb.linespec/keywords.exp
774 * gdb.linespec/linespec.exp
775 * gdb.linespec/ls-dollar.exp
776 * gdb.linespec/ls-errs.exp
777 * gdb.linespec/skip-two.exp
778 * gdb.linespec/thread.exp
779 * gdb.mi/mi-async.exp
780 * gdb.mi/mi-basics.exp
781 * gdb.mi/mi-break.exp
782 * gdb.mi/mi-catch-load.exp
784 * gdb.mi/mi-cmd-param-changed.exp
785 * gdb.mi/mi-console.exp
786 * gdb.mi/mi-detach.exp
787 * gdb.mi/mi-disassemble.exp
789 * gdb.mi/mi-file-transfer.exp
791 * gdb.mi/mi-fill-memory.exp
792 * gdb.mi/mi-inheritance-syntax-error.exp
793 * gdb.mi/mi-linespec-err-cp.exp
794 * gdb.mi/mi-logging.exp
795 * gdb.mi/mi-memory-changed.exp
796 * gdb.mi/mi-read-memory.exp
797 * gdb.mi/mi-record-changed.exp
798 * gdb.mi/mi-reg-undefined.exp
800 * gdb.mi/mi-return.exp
801 * gdb.mi/mi-reverse.exp
802 * gdb.mi/mi-simplerun.exp
803 * gdb.mi/mi-solib.exp
804 * gdb.mi/mi-stack.exp
805 * gdb.mi/mi-stepi.exp
806 * gdb.mi/mi-syn-frame.exp
807 * gdb.mi/mi-until.exp
808 * gdb.mi/mi-var-block.exp
809 * gdb.mi/mi-var-child.exp
810 * gdb.mi/mi-var-cmd.exp
811 * gdb.mi/mi-var-cp.exp
812 * gdb.mi/mi-var-display.exp
813 * gdb.mi/mi-var-invalidate.exp
814 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
815 * gdb.mi/mi-vla-fortran.exp
816 * gdb.mi/mi-watch.exp
817 * gdb.mi/mi2-var-child.exp
818 * gdb.mi/user-selected-context-sync.exp
819 * gdb.modula2/unbounded-array.exp
820 * gdb.multi/dummy-frame-restore.exp
821 * gdb.multi/multi-arch-exec.exp
822 * gdb.multi/multi-arch.exp
824 * gdb.multi/watchpoint-multi.exp
825 * gdb.opencl/callfuncs.exp
826 * gdb.opencl/convs_casts.exp
827 * gdb.opencl/datatypes.exp
828 * gdb.opencl/operators.exp
829 * gdb.opencl/vec_comps.exp
830 * gdb.opt/clobbered-registers-O2.exp
831 * gdb.opt/inline-break.exp
832 * gdb.opt/inline-bt.exp
833 * gdb.opt/inline-cmds.exp
834 * gdb.opt/inline-locals.exp
835 * gdb.pascal/case-insensitive-symbols.exp
836 * gdb.pascal/floats.exp
837 * gdb.pascal/gdb11492.exp
838 * gdb.python/lib-types.exp
839 * gdb.python/py-arch.exp
840 * gdb.python/py-as-string.exp
841 * gdb.python/py-bad-printers.exp
842 * gdb.python/py-block.exp
843 * gdb.python/py-breakpoint-create-fail.exp
844 * gdb.python/py-breakpoint.exp
845 * gdb.python/py-caller-is.exp
846 * gdb.python/py-cmd.exp
847 * gdb.python/py-explore-cc.exp
848 * gdb.python/py-explore.exp
849 * gdb.python/py-finish-breakpoint.exp
850 * gdb.python/py-finish-breakpoint2.exp
851 * gdb.python/py-frame-args.exp
852 * gdb.python/py-frame-inline.exp
853 * gdb.python/py-frame.exp
854 * gdb.python/py-framefilter-mi.exp
855 * gdb.python/py-infthread.exp
856 * gdb.python/py-lazy-string.exp
857 * gdb.python/py-linetable.exp
858 * gdb.python/py-mi-events.exp
859 * gdb.python/py-mi-objfile.exp
860 * gdb.python/py-mi.exp
861 * gdb.python/py-objfile.exp
862 * gdb.python/py-pp-integral.exp
863 * gdb.python/py-pp-maint.exp
864 * gdb.python/py-pp-re-notag.exp
865 * gdb.python/py-pp-registration.exp
866 * gdb.python/py-recurse-unwind.exp
867 * gdb.python/py-strfns.exp
868 * gdb.python/py-symbol.exp
869 * gdb.python/py-symtab.exp
870 * gdb.python/py-sync-interp.exp
871 * gdb.python/py-typeprint.exp
872 * gdb.python/py-unwind-maint.exp
873 * gdb.python/py-unwind.exp
874 * gdb.python/py-value-cc.exp
875 * gdb.python/py-xmethods.exp
876 * gdb.reverse/amd64-tailcall-reverse.exp
877 * gdb.reverse/break-precsave.exp
878 * gdb.reverse/break-reverse.exp
879 * gdb.reverse/consecutive-precsave.exp
880 * gdb.reverse/consecutive-reverse.exp
881 * gdb.reverse/finish-precsave.exp
882 * gdb.reverse/finish-reverse-bkpt.exp
883 * gdb.reverse/finish-reverse.exp
884 * gdb.reverse/fstatat-reverse.exp
885 * gdb.reverse/getresuid-reverse.exp
886 * gdb.reverse/i386-precsave.exp
887 * gdb.reverse/i386-reverse.exp
888 * gdb.reverse/i386-sse-reverse.exp
889 * gdb.reverse/i387-env-reverse.exp
890 * gdb.reverse/i387-stack-reverse.exp
891 * gdb.reverse/insn-reverse.exp
892 * gdb.reverse/machinestate-precsave.exp
893 * gdb.reverse/machinestate.exp
894 * gdb.reverse/next-reverse-bkpt-over-sr.exp
895 * gdb.reverse/pipe-reverse.exp
896 * gdb.reverse/readv-reverse.exp
897 * gdb.reverse/recvmsg-reverse.exp
898 * gdb.reverse/rerun-prec.exp
899 * gdb.reverse/s390-mvcle.exp
900 * gdb.reverse/step-precsave.exp
901 * gdb.reverse/step-reverse.exp
902 * gdb.reverse/time-reverse.exp
903 * gdb.reverse/until-precsave.exp
904 * gdb.reverse/until-reverse.exp
905 * gdb.reverse/waitpid-reverse.exp
906 * gdb.reverse/watch-precsave.exp
907 * gdb.reverse/watch-reverse.exp
908 * gdb.rust/generics.exp
909 * gdb.rust/methods.exp
910 * gdb.rust/modules.exp
911 * gdb.rust/simple.exp
912 * gdb.server/connect-with-no-symbol-file.exp
913 * gdb.server/ext-attach.exp
914 * gdb.server/ext-restart.exp
915 * gdb.server/ext-wrapper.exp
916 * gdb.server/file-transfer.exp
917 * gdb.server/server-exec-info.exp
918 * gdb.server/server-kill.exp
919 * gdb.server/server-mon.exp
920 * gdb.server/wrapper.exp
921 * gdb.stabs/exclfwd.exp
922 * gdb.stabs/gdb11479.exp
923 * gdb.threads/clone-new-thread-event.exp
924 * gdb.threads/corethreads.exp
925 * gdb.threads/current-lwp-dead.exp
926 * gdb.threads/dlopen-libpthread.exp
927 * gdb.threads/gcore-thread.exp
928 * gdb.threads/sigstep-threads.exp
929 * gdb.threads/watchpoint-fork.exp
930 * gdb.trace/actions-changed.exp
931 * gdb.trace/backtrace.exp
932 * gdb.trace/change-loc.exp
934 * gdb.trace/collection.exp
935 * gdb.trace/disconnected-tracing.exp
936 * gdb.trace/ftrace.exp
937 * gdb.trace/mi-trace-frame-collected.exp
938 * gdb.trace/mi-trace-unavailable.exp
939 * gdb.trace/mi-traceframe-changed.exp
940 * gdb.trace/mi-tsv-changed.exp
941 * gdb.trace/no-attach-trace.exp
942 * gdb.trace/passc-dyn.exp
944 * gdb.trace/range-stepping.exp
945 * gdb.trace/read-memory.exp
946 * gdb.trace/save-trace.exp
947 * gdb.trace/signal.exp
948 * gdb.trace/status-stop.exp
949 * gdb.trace/tfile.exp
950 * gdb.trace/trace-break.exp
951 * gdb.trace/trace-buffer-size.exp
952 * gdb.trace/trace-condition.exp
953 * gdb.trace/tracefile-pseudo-reg.exp
954 * gdb.trace/tstatus.exp
955 * gdb.trace/unavailable.exp
956 * gdb.trace/while-dyn.exp
957 * gdb.trace/while-stepping.exp
959 2016-12-22 Doug Evans <xdje42@gmail.com>
961 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
964 2016-12-19 Yao Qi <yao.qi@linaro.org>
966 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
967 (test_with_self): Don't call do_steps_and_nexts, and remove
968 code about stepping into xmalloc.
970 2016-12-09 Yao Qi <yao.qi@linaro.org>
972 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
974 2016-12-09 Yao Qi <yao.qi@linaro.org>
976 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
978 2016-12-09 Pedro Alves <palves@redhat.com>
980 * gdb.base/all-architectures-0.exp: New file.
981 * gdb.base/all-architectures-1.exp: New file.
982 * gdb.base/all-architectures-2.exp: New file.
983 * gdb.base/all-architectures-3.exp: New file.
984 * gdb.base/all-architectures-4.exp: New file.
985 * gdb.base/all-architectures-5.exp: New file.
986 * gdb.base/all-architectures-6.exp: New file.
987 * gdb.base/all-architectures-7.exp: New file.
988 * gdb.base/all-architectures.exp.in: New file.
990 2016-12-09 Yao Qi <yao.qi@linaro.org>
992 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
994 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
996 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
998 Remove useless pattern-matching code.
1000 2016-12-02 Pedro Alves <palves@redhat.com>
1002 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1004 (top level): Call it.
1006 2016-12-02 Pedro Alves <palves@redhat.com>
1008 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1010 (top level): Call it.
1012 2016-12-02 Pedro Alves <palves@redhat.com>
1015 * gdb.base/commands.exp (user_defined_command_args_eval): New
1017 (top level): Call it.
1019 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1021 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1024 2016-12-02 Tom Tromey <tom@tromey.com>
1026 * gdb.dwarf2/main-subprogram.c: New file.
1027 * gdb.dwarf2/main-subprogram.exp: New file.
1029 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1031 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1032 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1033 gdb_test_no_output for a couple of cases.
1034 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1036 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1038 Fix test names and standardize compilation error messages throughout
1039 the following files:
1042 * gdb.arch/alpha-step.exp
1043 * gdb.arch/e500-prologue.exp
1044 * gdb.arch/ftrace-insn-reloc.exp
1045 * gdb.arch/gdb1291.exp
1046 * gdb.arch/gdb1431.exp
1047 * gdb.arch/gdb1558.exp
1048 * gdb.arch/i386-dr3-watch.exp
1049 * gdb.arch/i386-sse-stack-align.exp
1050 * gdb.arch/ia64-breakpoint-shadow.exp
1051 * gdb.arch/pa-nullify.exp
1052 * gdb.arch/powerpc-aix-prologue.exp
1053 * gdb.arch/thumb-bx-pc.exp
1054 * gdb.base/annota1.exp
1055 * gdb.base/annota3.exp
1056 * gdb.base/arrayidx.exp
1057 * gdb.base/assign.exp
1058 * gdb.base/attach.exp
1061 * gdb.base/bfp-test.exp
1062 * gdb.base/bigcore.exp
1063 * gdb.base/bitfields2.exp
1064 * gdb.base/break-fun-addr.exp
1065 * gdb.base/break-probes.exp
1066 * gdb.base/call-rt-st.exp
1067 * gdb.base/callexit.exp
1068 * gdb.base/catch-fork-kill.exp
1069 * gdb.base/charset.exp
1070 * gdb.base/checkpoint.exp
1071 * gdb.base/comprdebug.exp
1072 * gdb.base/constvars.exp
1073 * gdb.base/coredump-filter.exp
1074 * gdb.base/cursal.exp
1075 * gdb.base/cvexpr.exp
1076 * gdb.base/detach.exp
1077 * gdb.base/display.exp
1078 * gdb.base/dmsym.exp
1079 * gdb.base/dprintf-pending.exp
1080 * gdb.base/dso2dso.exp
1081 * gdb.base/dtrace-probe.exp
1083 * gdb.base/enum_cond.exp
1084 * gdb.base/exe-lock.exp
1085 * gdb.base/exec-invalid-sysroot.exp
1086 * gdb.base/execl-update-breakpoints.exp
1087 * gdb.base/exprs.exp
1088 * gdb.base/fileio.exp
1090 * gdb.base/finish.exp
1091 * gdb.base/fixsection.exp
1092 * gdb.base/foll-vfork.exp
1093 * gdb.base/frame-args.exp
1094 * gdb.base/gcore.exp
1095 * gdb.base/gdb1250.exp
1096 * gdb.base/global-var-nested-by-dso.exp
1097 * gdb.base/gnu-ifunc.exp
1098 * gdb.base/hashline1.exp
1099 * gdb.base/hashline2.exp
1100 * gdb.base/hashline3.exp
1101 * gdb.base/hbreak-in-shr-unsupported.exp
1103 * gdb.base/infcall-input.exp
1104 * gdb.base/info-fun.exp
1105 * gdb.base/info-shared.exp
1106 * gdb.base/jit-simple.exp
1107 * gdb.base/jit-so.exp
1110 * gdb.base/label.exp
1111 * gdb.base/lineinc.exp
1112 * gdb.base/logical.exp
1113 * gdb.base/longjmp.exp
1114 * gdb.base/macscp.exp
1115 * gdb.base/miscexprs.exp
1116 * gdb.base/new-ui-echo.exp
1117 * gdb.base/new-ui-pending-input.exp
1118 * gdb.base/new-ui.exp
1119 * gdb.base/nodebug.exp
1120 * gdb.base/nofield.exp
1121 * gdb.base/offsets.exp
1122 * gdb.base/overlays.exp
1123 * gdb.base/pending.exp
1124 * gdb.base/pointers.exp
1125 * gdb.base/pr11022.exp
1126 * gdb.base/printcmds.exp
1127 * gdb.base/prologue.exp
1128 * gdb.base/ptr-typedef.exp
1129 * gdb.base/realname-expand.exp
1130 * gdb.base/relativedebug.exp
1131 * gdb.base/relocate.exp
1132 * gdb.base/remote.exp
1133 * gdb.base/reread.exp
1134 * gdb.base/return2.exp
1135 * gdb.base/savedregs.exp
1137 * gdb.base/sepdebug.exp
1138 * gdb.base/sepsymtab.exp
1139 * gdb.base/set-inferior-tty.exp
1140 * gdb.base/setshow.exp
1141 * gdb.base/shlib-call.exp
1142 * gdb.base/sigaltstack.exp
1143 * gdb.base/siginfo-addr.exp
1144 * gdb.base/signals.exp
1145 * gdb.base/signull.exp
1146 * gdb.base/sigrepeat.exp
1147 * gdb.base/so-impl-ld.exp
1148 * gdb.base/solib-display.exp
1149 * gdb.base/solib-overlap.exp
1150 * gdb.base/solib-search.exp
1151 * gdb.base/solib-symbol.exp
1152 * gdb.base/structs.exp
1153 * gdb.base/structs2.exp
1154 * gdb.base/symtab-search-order.exp
1155 * gdb.base/twice.exp
1156 * gdb.base/unload.exp
1157 * gdb.base/varargs.exp
1158 * gdb.base/watchpoint-solib.exp
1159 * gdb.base/watchpoint.exp
1160 * gdb.base/whatis.exp
1161 * gdb.base/wrong_frame_bt_full.exp
1162 * gdb.btrace/dlopen.exp
1163 * gdb.cell/ea-standalone.exp
1164 * gdb.cell/ea-test.exp
1165 * gdb.cp/dispcxx.exp
1166 * gdb.cp/gdb2384.exp
1167 * gdb.cp/method2.exp
1168 * gdb.cp/nextoverthrow.exp
1169 * gdb.cp/pr10728.exp
1170 * gdb.disasm/am33.exp
1171 * gdb.disasm/h8300s.exp
1172 * gdb.disasm/mn10300.exp
1173 * gdb.disasm/sh3.exp
1174 * gdb.dwarf2/dw2-dir-file-name.exp
1175 * gdb.fortran/complex.exp
1176 * gdb.fortran/library-module.exp
1177 * gdb.guile/scm-pretty-print.exp
1178 * gdb.guile/scm-symbol.exp
1179 * gdb.guile/scm-type.exp
1180 * gdb.guile/scm-value.exp
1181 * gdb.linespec/linespec.exp
1184 * gdb.mi/mi-breakpoint-changed.exp
1185 * gdb.mi/mi-dprintf-pending.exp
1186 * gdb.mi/mi-dprintf.exp
1187 * gdb.mi/mi-exit-code.exp
1188 * gdb.mi/mi-pending.exp
1189 * gdb.mi/mi-solib.exp
1190 * gdb.mi/new-ui-mi-sync.exp
1191 * gdb.mi/pr11022.exp
1192 * gdb.mi/user-selected-context-sync.exp
1193 * gdb.opt/solib-intra-step.exp
1194 * gdb.python/py-events.exp
1195 * gdb.python/py-finish-breakpoint.exp
1196 * gdb.python/py-mi.exp
1197 * gdb.python/py-prettyprint.exp
1198 * gdb.python/py-shared.exp
1199 * gdb.python/py-symbol.exp
1200 * gdb.python/py-template.exp
1201 * gdb.python/py-type.exp
1202 * gdb.python/py-value.exp
1203 * gdb.reverse/solib-precsave.exp
1204 * gdb.reverse/solib-reverse.exp
1205 * gdb.server/solib-list.exp
1206 * gdb.stabs/weird.exp
1207 * gdb.threads/reconnect-signal.exp
1208 * gdb.threads/stepi-random-signal.exp
1209 * gdb.trace/actions.exp
1211 * gdb.trace/backtrace.exp
1212 * gdb.trace/change-loc.exp
1213 * gdb.trace/deltrace.exp
1214 * gdb.trace/ftrace-lock.exp
1215 * gdb.trace/ftrace.exp
1216 * gdb.trace/infotrace.exp
1217 * gdb.trace/mi-tracepoint-changed.exp
1218 * gdb.trace/packetlen.exp
1219 * gdb.trace/passcount.exp
1220 * gdb.trace/pending.exp
1221 * gdb.trace/range-stepping.exp
1222 * gdb.trace/report.exp
1223 * gdb.trace/stap-trace.exp
1224 * gdb.trace/tfind.exp
1225 * gdb.trace/trace-break.exp
1226 * gdb.trace/trace-condition.exp
1227 * gdb.trace/trace-enable-disable.exp
1228 * gdb.trace/trace-mt.exp
1229 * gdb.trace/tracecmd.exp
1230 * gdb.trace/tspeed.exp
1234 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1236 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1237 with gdb_test_no_output.
1238 Use command as test name.
1240 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1242 Fix test names starting with uppercase throughout the files.
1244 * gdb.ada/assign_1.exp
1245 * gdb.ada/boolean_expr.exp
1246 * gdb.base/arrayidx.exp
1248 * gdb.base/gcore-buffer-overflow.exp
1249 * gdb.base/testenv.exp
1250 * gdb.compile/compile.exp
1251 * gdb.python/py-framefilter-invalidarg.exp
1252 * gdb.python/py-framefilter.exp
1254 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1256 Fix test names starting with uppercase throughout the files.
1258 * gdb.ada/array_return.exp
1259 * gdb.ada/expr_delims.exp
1260 * gdb.ada/mi_dyn_arr.exp
1261 * gdb.ada/mi_interface.exp
1262 * gdb.ada/mi_var_array.exp
1263 * gdb.ada/watch_arg.exp
1264 * gdb.arch/alpha-step.exp
1265 * gdb.arch/altivec-regs.exp
1266 * gdb.arch/e500-regs.exp
1267 * gdb.arch/powerpc-d128-regs.exp
1268 * gdb.base/arrayidx.exp
1269 * gdb.base/break.exp
1270 * gdb.base/checkpoint.exp
1271 * gdb.base/debug-expr.exp
1272 * gdb.base/dmsym.exp
1273 * gdb.base/radix.exp
1274 * gdb.base/sepdebug.exp
1275 * gdb.base/testenv.exp
1276 * gdb.base/watch_thread_num.exp
1277 * gdb.base/watchpoint-cond-gone.exp
1278 * gdb.cell/break.exp
1279 * gdb.cell/ea-cache.exp
1280 * gdb.compile/compile.exp
1281 * gdb.cp/gdb2495.exp
1282 * gdb.gdb/selftest.exp
1283 * gdb.gdb/xfullpath.exp
1285 * gdb.go/integers.exp
1286 * gdb.objc/basicclass.exp
1287 * gdb.pascal/hello.exp
1288 * gdb.pascal/integers.exp
1289 * gdb.python/py-breakpoint.exp
1290 * gdb.python/py-cmd.exp
1291 * gdb.python/py-linetable.exp
1292 * gdb.python/py-xmethods.exp
1293 * gdb.python/python.exp
1294 * gdb.reverse/consecutive-precsave.exp
1295 * gdb.reverse/finish-precsave.exp
1296 * gdb.reverse/i386-precsave.exp
1297 * gdb.reverse/machinestate-precsave.exp
1298 * gdb.reverse/sigall-precsave.exp
1299 * gdb.reverse/solib-precsave.exp
1300 * gdb.reverse/step-precsave.exp
1301 * gdb.reverse/until-precsave.exp
1302 * gdb.reverse/watch-precsave.exp
1303 * gdb.threads/leader-exit.exp
1304 * gdb.threads/pthreads.exp
1305 * gdb.threads/wp-replication.exp
1306 * gdb.trace/actions.exp
1307 * gdb.trace/mi-tsv-changed.exp
1310 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1312 Fix test names starting with uppercase throughout the files.
1314 * gdb.arch/i386-bp_permanent.exp
1315 * gdb.arch/i386-gnu-cfi.exp
1316 * gdb.base/disasm-end-cu.exp
1317 * gdb.base/macscp.exp
1318 * gdb.base/pending.exp
1319 * gdb.base/watch_thread_num.exp
1320 * gdb.cp/exception.exp
1321 * gdb.cp/gdb2495.exp
1323 * gdb.python/py-evsignal.exp
1324 * gdb.python/python.exp
1325 * gdb.trace/tracecmd.exp
1327 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1329 Fix test names starting with uppercase throughout the files.
1331 * gdb.base/charset.exp
1333 * gdb.base/multi-forks.exp
1334 * gdb.guile/scm-progspace.exp
1335 * gdb.opencl/datatypes.exp
1336 * gdb.python/py-block.exp
1337 * gdb.python/py-function.exp
1338 * gdb.python/py-symbol.exp
1339 * gdb.python/py-symtab.exp
1340 * gdb.python/py-xmethods.exp
1341 * gdb.reverse/break-precsave.exp
1342 * gdb.reverse/break-reverse.exp
1343 * gdb.reverse/consecutive-precsave.exp
1344 * gdb.reverse/consecutive-reverse.exp
1345 * gdb.reverse/finish-precsave.exp
1346 * gdb.reverse/finish-reverse-bkpt.exp
1347 * gdb.reverse/finish-reverse.exp
1348 * gdb.reverse/fstatat-reverse.exp
1349 * gdb.reverse/getresuid-reverse.exp
1350 * gdb.reverse/i386-precsave.exp
1351 * gdb.reverse/i386-reverse.exp
1352 * gdb.reverse/i386-sse-reverse.exp
1353 * gdb.reverse/i387-stack-reverse.exp
1354 * gdb.reverse/insn-reverse.exp
1355 * gdb.reverse/machinestate-precsave.exp
1356 * gdb.reverse/machinestate.exp
1357 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1358 * gdb.reverse/pipe-reverse.exp
1359 * gdb.reverse/readv-reverse.exp
1360 * gdb.reverse/recvmsg-reverse.exp
1361 * gdb.reverse/rerun-prec.exp
1362 * gdb.reverse/s390-mvcle.exp
1363 * gdb.reverse/sigall-precsave.exp
1364 * gdb.reverse/sigall-reverse.exp
1365 * gdb.reverse/solib-precsave.exp
1366 * gdb.reverse/solib-reverse.exp
1367 * gdb.reverse/step-precsave.exp
1368 * gdb.reverse/step-reverse.exp
1369 * gdb.reverse/time-reverse.exp
1370 * gdb.reverse/until-precsave.exp
1371 * gdb.reverse/until-reverse.exp
1372 * gdb.reverse/waitpid-reverse.exp
1373 * gdb.reverse/watch-precsave.exp
1374 * gdb.reverse/watch-reverse.exp
1376 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1378 Fix test names starting with uppercase throughout the files.
1380 * gdb.arch/i386-mpx-simple_segv.exp
1381 * gdb.arch/i386-mpx.exp
1382 * gdb.arch/i386-permbkpt.exp
1383 * gdb.arch/pa-nullify.exp
1384 * gdb.arch/powerpc-d128-regs.exp
1385 * gdb.arch/vsx-regs.exp
1386 * gdb.base/bfp-test.exp
1387 * gdb.base/break.exp
1388 * gdb.base/breakpoint-shadow.exp
1389 * gdb.base/callfuncs.exp
1390 * gdb.base/charset.exp
1391 * gdb.base/commands.exp
1392 * gdb.base/completion.exp
1393 * gdb.base/dfp-test.exp
1395 * gdb.base/ending-run.exp
1397 * gdb.base/expand-psymtabs.exp
1398 * gdb.base/float128.exp
1399 * gdb.base/floatn.exp
1400 * gdb.base/foll-exec-mode.exp
1401 * gdb.base/gdb1056.exp
1402 * gdb.base/gdb11531.exp
1403 * gdb.base/kill-after-signal.exp
1404 * gdb.base/multi-forks.exp
1405 * gdb.base/overlays.exp
1406 * gdb.base/pending.exp
1407 * gdb.base/sepdebug.exp
1408 * gdb.base/testenv.exp
1409 * gdb.base/valgrind-db-attach.exp
1410 * gdb.base/watch_thread_num.exp
1411 * gdb.base/watchpoint-cond-gone.exp
1412 * gdb.base/watchpoint.exp
1413 * gdb.base/watchpoints.exp
1414 * gdb.cp/arg-reference.exp
1415 * gdb.cp/baseenum.exp
1416 * gdb.cp/operator.exp
1418 * gdb.dwarf2/dw2-op-out-param.exp
1419 * gdb.dwarf2/dw2-reg-undefined.exp
1422 * gdb.go/integers.exp
1423 * gdb.go/methods.exp
1424 * gdb.go/package.exp
1425 * gdb.guile/scm-parameter.exp
1426 * gdb.guile/scm-progspace.exp
1427 * gdb.guile/scm-value.exp
1428 * gdb.mi/mi-pending.exp
1429 * gdb.mi/user-selected-context-sync.exp
1430 * gdb.multi/multi-attach.exp
1431 * gdb.multi/tids.exp
1432 * gdb.opt/clobbered-registers-O2.exp
1433 * gdb.pascal/floats.exp
1434 * gdb.pascal/integers.exp
1435 * gdb.python/py-block.exp
1436 * gdb.python/py-events.exp
1437 * gdb.python/py-parameter.exp
1438 * gdb.python/py-symbol.exp
1439 * gdb.python/py-symtab.exp
1440 * gdb.python/py-type.exp
1441 * gdb.python/py-value.exp
1442 * gdb.python/py-xmethods.exp
1443 * gdb.python/python.exp
1444 * gdb.reverse/break-precsave.exp
1445 * gdb.reverse/consecutive-precsave.exp
1446 * gdb.reverse/finish-precsave.exp
1447 * gdb.reverse/i386-precsave.exp
1448 * gdb.reverse/machinestate-precsave.exp
1449 * gdb.reverse/sigall-precsave.exp
1450 * gdb.reverse/solib-precsave.exp
1451 * gdb.reverse/step-precsave.exp
1452 * gdb.reverse/until-precsave.exp
1453 * gdb.reverse/watch-precsave.exp
1454 * gdb.server/ext-attach.exp
1455 * gdb.server/ext-restart.exp
1456 * gdb.server/ext-run.exp
1457 * gdb.server/ext-wrapper.exp
1458 * gdb.stabs/gdb11479.exp
1459 * gdb.stabs/weird.exp
1460 * gdb.threads/attach-many-short-lived-threads.exp
1461 * gdb.threads/kill.exp
1462 * gdb.threads/watchpoint-fork.exp
1464 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1466 Fix test names starting with uppercase throughout all the files below.
1468 * gdb.ada/array_return.exp
1469 * gdb.ada/catch_ex.exp
1470 * gdb.ada/info_exc.exp
1471 * gdb.ada/mi_catch_ex.exp
1472 * gdb.ada/mi_dyn_arr.exp
1473 * gdb.ada/mi_ex_cond.exp
1474 * gdb.ada/mi_exc_info.exp
1475 * gdb.ada/mi_interface.exp
1476 * gdb.ada/mi_task_arg.exp
1477 * gdb.ada/mi_task_info.exp
1478 * gdb.ada/mi_var_array.exp
1479 * gdb.arch/alpha-step.exp
1480 * gdb.arch/amd64-disp-step.exp
1481 * gdb.arch/arm-disp-step.exp
1482 * gdb.arch/disp-step-insn-reloc.exp
1483 * gdb.arch/e500-prologue.exp
1484 * gdb.arch/ftrace-insn-reloc.exp
1485 * gdb.arch/gdb1558.exp
1486 * gdb.arch/i386-bp_permanent.exp
1487 * gdb.arch/i386-disp-step.exp
1488 * gdb.arch/i386-float.exp
1489 * gdb.arch/i386-gnu-cfi.exp
1490 * gdb.arch/ia64-breakpoint-shadow.exp
1491 * gdb.arch/mips16-thunks.exp
1492 * gdb.arch/pa-nullify.exp
1493 * gdb.arch/powerpc-aix-prologue.exp
1494 * gdb.arch/powerpc-power.exp
1495 * gdb.arch/ppc-dfp.exp
1496 * gdb.arch/s390-tdbregs.exp
1497 * gdb.arch/spu-info.exp
1498 * gdb.arch/spu-ls.exp
1499 * gdb.arch/thumb-bx-pc.exp
1500 * gdb.base/advance.exp
1501 * gdb.base/annota-input-while-running.exp
1502 * gdb.base/arrayidx.exp
1503 * gdb.base/asmlabel.exp
1504 * gdb.base/async.exp
1505 * gdb.base/attach-wait-input.exp
1506 * gdb.base/auto-connect-native-target.exp
1507 * gdb.base/batch-preserve-term-settings.exp
1508 * gdb.base/bfp-test.exp
1509 * gdb.base/bigcore.exp
1510 * gdb.base/bp-permanent.exp
1511 * gdb.base/break-always.exp
1512 * gdb.base/break-fun-addr.exp
1513 * gdb.base/break-idempotent.exp
1514 * gdb.base/break-main-file-remove-fail.exp
1515 * gdb.base/break-probes.exp
1516 * gdb.base/break-unload-file.exp
1517 * gdb.base/break.exp
1518 * gdb.base/call-ar-st.exp
1519 * gdb.base/call-rt-st.exp
1520 * gdb.base/call-sc.exp
1521 * gdb.base/call-signal-resume.exp
1522 * gdb.base/call-strs.exp
1523 * gdb.base/callexit.exp
1524 * gdb.base/callfuncs.exp
1525 * gdb.base/catch-gdb-caused-signals.exp
1526 * gdb.base/catch-signal-siginfo-cond.exp
1527 * gdb.base/catch-syscall.exp
1528 * gdb.base/compare-sections.exp
1529 * gdb.base/cond-eval-mode.exp
1530 * gdb.base/condbreak-call-false.exp
1531 * gdb.base/consecutive-step-over.exp
1532 * gdb.base/cursal.exp
1533 * gdb.base/disabled-location.exp
1534 * gdb.base/disasm-end-cu.exp
1535 * gdb.base/display.exp
1536 * gdb.base/double-prompt-target-event-error.exp
1537 * gdb.base/dprintf-bp-same-addr.exp
1538 * gdb.base/dprintf-detach.exp
1539 * gdb.base/dprintf-next.exp
1540 * gdb.base/dprintf-non-stop.exp
1541 * gdb.base/dprintf-pending.exp
1542 * gdb.base/dso2dso.exp
1543 * gdb.base/ending-run.exp
1544 * gdb.base/enum_cond.exp
1545 * gdb.base/examine-backward.exp
1546 * gdb.base/exe-lock.exp
1547 * gdb.base/exec-invalid-sysroot.exp
1548 * gdb.base/execl-update-breakpoints.exp
1549 * gdb.base/execution-termios.exp
1550 * gdb.base/fileio.exp
1551 * gdb.base/fixsection.exp
1552 * gdb.base/foll-exec-mode.exp
1553 * gdb.base/foll-exec.exp
1554 * gdb.base/fork-running-state.exp
1555 * gdb.base/frame-args.exp
1556 * gdb.base/fullpath-expand.exp
1557 * gdb.base/func-ptr.exp
1558 * gdb.base/gcore-relro-pie.exp
1559 * gdb.base/gdb1090.exp
1560 * gdb.base/gdb1555.exp
1561 * gdb.base/global-var-nested-by-dso.exp
1562 * gdb.base/gnu-ifunc.exp
1563 * gdb.base/hbreak-in-shr-unsupported.exp
1564 * gdb.base/hbreak-unmapped.exp
1565 * gdb.base/hook-stop.exp
1566 * gdb.base/infcall-input.exp
1567 * gdb.base/info-fun.exp
1568 * gdb.base/info-shared.exp
1569 * gdb.base/interrupt-noterm.exp
1570 * gdb.base/jit-so.exp
1572 * gdb.base/line-symtabs.exp
1574 * gdb.base/longjmp.exp
1575 * gdb.base/macscp.exp
1576 * gdb.base/max-value-size.exp
1577 * gdb.base/nodebug.exp
1578 * gdb.base/nofield.exp
1579 * gdb.base/overlays.exp
1580 * gdb.base/paginate-after-ctrl-c-running.exp
1581 * gdb.base/paginate-bg-execution.exp
1582 * gdb.base/paginate-inferior-exit.exp
1583 * gdb.base/pending.exp
1584 * gdb.base/pr11022.exp
1585 * gdb.base/printcmds.exp
1586 * gdb.base/ptr-typedef.exp
1587 * gdb.base/ptype.exp
1588 * gdb.base/randomize.exp
1589 * gdb.base/range-stepping.exp
1590 * gdb.base/realname-expand.exp
1591 * gdb.base/relativedebug.exp
1592 * gdb.base/remote.exp
1593 * gdb.base/savedregs.exp
1594 * gdb.base/sepdebug.exp
1595 * gdb.base/set-noassign.exp
1596 * gdb.base/shlib-call.exp
1597 * gdb.base/shreloc.exp
1598 * gdb.base/sigaltstack.exp
1599 * gdb.base/sigbpt.exp
1600 * gdb.base/siginfo-addr.exp
1601 * gdb.base/siginfo-obj.exp
1602 * gdb.base/siginfo-thread.exp
1603 * gdb.base/signest.exp
1604 * gdb.base/signull.exp
1605 * gdb.base/sigrepeat.exp
1607 * gdb.base/so-impl-ld.exp
1608 * gdb.base/solib-corrupted.exp
1609 * gdb.base/solib-disc.exp
1610 * gdb.base/solib-display.exp
1611 * gdb.base/solib-overlap.exp
1612 * gdb.base/solib-search.exp
1613 * gdb.base/solib-symbol.exp
1614 * gdb.base/source-execution.exp
1615 * gdb.base/sss-bp-on-user-bp-2.exp
1616 * gdb.base/sss-bp-on-user-bp.exp
1617 * gdb.base/stack-checking.exp
1618 * gdb.base/stale-infcall.exp
1619 * gdb.base/step-break.exp
1620 * gdb.base/step-line.exp
1621 * gdb.base/step-over-exit.exp
1622 * gdb.base/step-test.exp
1623 * gdb.base/structs.exp
1624 * gdb.base/sym-file.exp
1625 * gdb.base/symtab-search-order.exp
1627 * gdb.base/type-opaque.exp
1628 * gdb.base/unload.exp
1629 * gdb.base/until-nodebug.exp
1630 * gdb.base/until.exp
1631 * gdb.base/unwindonsignal.exp
1632 * gdb.base/watch-cond.exp
1633 * gdb.base/watch-non-mem.exp
1634 * gdb.base/watch_thread_num.exp
1635 * gdb.base/watchpoint-reuse-slot.exp
1636 * gdb.base/watchpoint-solib.exp
1637 * gdb.base/watchpoint.exp
1638 * gdb.btrace/dlopen.exp
1640 * gdb.cell/break.exp
1644 * gdb.cell/dwarfaddr.exp
1645 * gdb.cell/ea-cache.exp
1646 * gdb.cell/ea-standalone.exp
1647 * gdb.cell/ea-test.exp
1648 * gdb.cell/f-regs.exp
1650 * gdb.cell/gcore.exp
1651 * gdb.cell/mem-access.exp
1652 * gdb.cell/ptype.exp
1653 * gdb.cell/registers.exp
1654 * gdb.cell/sizeof.exp
1655 * gdb.cell/solib-symbol.exp
1656 * gdb.cell/solib.exp
1657 * gdb.compile/compile-tls.exp
1658 * gdb.cp/exception.exp
1659 * gdb.cp/gdb2495.exp
1661 * gdb.cp/mb-inline.exp
1662 * gdb.cp/mb-templates.exp
1663 * gdb.cp/pr10687.exp
1665 * gdb.cp/scope-err.exp
1666 * gdb.cp/templates.exp
1667 * gdb.cp/virtfunc.exp
1668 * gdb.dwarf2/dw2-dir-file-name.exp
1669 * gdb.dwarf2/dw2-single-line-discriminators.exp
1670 * gdb.fortran/complex.exp
1671 * gdb.fortran/library-module.exp
1672 * gdb.guile/guile.exp
1673 * gdb.guile/scm-cmd.exp
1674 * gdb.guile/scm-frame-inline.exp
1675 * gdb.guile/scm-objfile.exp
1676 * gdb.guile/scm-pretty-print.exp
1677 * gdb.guile/scm-symbol.exp
1678 * gdb.guile/scm-type.exp
1679 * gdb.guile/scm-value.exp
1680 * gdb.linespec/keywords.exp
1681 * gdb.linespec/ls-errs.exp
1682 * gdb.linespec/macro-relative.exp
1683 * gdb.linespec/thread.exp
1684 * gdb.mi/mi-breakpoint-changed.exp
1685 * gdb.mi/mi-dprintf-pending.exp
1686 * gdb.mi/mi-fullname-deleted.exp
1687 * gdb.mi/mi-logging.exp
1688 * gdb.mi/mi-pending.exp
1689 * gdb.mi/mi-solib.exp
1690 * gdb.mi/new-ui-mi-sync.exp
1691 * gdb.mi/user-selected-context-sync.exp
1692 * gdb.multi/dummy-frame-restore.exp
1693 * gdb.multi/multi-arch-exec.exp
1694 * gdb.multi/remove-inferiors.exp
1695 * gdb.multi/watchpoint-multi-exit.exp
1696 * gdb.opt/solib-intra-step.exp
1697 * gdb.perf/backtrace.exp
1698 * gdb.perf/single-step.exp
1699 * gdb.perf/skip-command.exp
1700 * gdb.perf/skip-prologue.exp
1701 * gdb.perf/solib.exp
1702 * gdb.python/lib-types.exp
1703 * gdb.python/py-as-string.exp
1704 * gdb.python/py-bad-printers.exp
1705 * gdb.python/py-block.exp
1706 * gdb.python/py-breakpoint.exp
1707 * gdb.python/py-cmd.exp
1708 * gdb.python/py-events.exp
1709 * gdb.python/py-evthreads.exp
1710 * gdb.python/py-finish-breakpoint.exp
1711 * gdb.python/py-finish-breakpoint2.exp
1712 * gdb.python/py-frame-inline.exp
1713 * gdb.python/py-frame.exp
1714 * gdb.python/py-inferior.exp
1715 * gdb.python/py-infthread.exp
1716 * gdb.python/py-mi.exp
1717 * gdb.python/py-objfile.exp
1718 * gdb.python/py-pp-maint.exp
1719 * gdb.python/py-pp-registration.exp
1720 * gdb.python/py-prettyprint.exp
1721 * gdb.python/py-recurse-unwind.exp
1722 * gdb.python/py-shared.exp
1723 * gdb.python/py-symbol.exp
1724 * gdb.python/py-symtab.exp
1725 * gdb.python/py-template.exp
1726 * gdb.python/py-type.exp
1727 * gdb.python/py-unwind-maint.exp
1728 * gdb.python/py-unwind.exp
1729 * gdb.python/py-value.exp
1730 * gdb.python/python.exp
1731 * gdb.reverse/finish-reverse-bkpt.exp
1732 * gdb.reverse/insn-reverse.exp
1733 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1734 * gdb.reverse/solib-precsave.exp
1735 * gdb.reverse/solib-reverse.exp
1736 * gdb.stabs/gdb11479.exp
1737 * gdb.stabs/weird.exp
1738 * gdb.threads/fork-child-threads.exp
1739 * gdb.threads/fork-plus-threads.exp
1740 * gdb.threads/fork-thread-pending.exp
1741 * gdb.threads/forking-threads-plus-breakpoint.exp
1742 * gdb.threads/hand-call-in-threads.exp
1743 * gdb.threads/interrupted-hand-call.exp
1744 * gdb.threads/linux-dp.exp
1745 * gdb.threads/local-watch-wrong-thread.exp
1746 * gdb.threads/next-while-other-thread-longjmps.exp
1747 * gdb.threads/non-ldr-exit.exp
1748 * gdb.threads/pending-step.exp
1749 * gdb.threads/print-threads.exp
1750 * gdb.threads/process-dies-while-detaching.exp
1751 * gdb.threads/process-dies-while-handling-bp.exp
1752 * gdb.threads/pthreads.exp
1753 * gdb.threads/queue-signal.exp
1754 * gdb.threads/reconnect-signal.exp
1755 * gdb.threads/signal-command-handle-nopass.exp
1756 * gdb.threads/signal-command-multiple-signals-pending.exp
1757 * gdb.threads/signal-delivered-right-thread.exp
1758 * gdb.threads/signal-sigtrap.exp
1759 * gdb.threads/sigthread.exp
1760 * gdb.threads/staticthreads.exp
1761 * gdb.threads/stepi-random-signal.exp
1762 * gdb.threads/thread-unwindonsignal.exp
1763 * gdb.threads/thread_check.exp
1764 * gdb.threads/thread_events.exp
1765 * gdb.threads/tid-reuse.exp
1766 * gdb.threads/tls-nodebug.exp
1767 * gdb.threads/tls-shared.exp
1768 * gdb.threads/tls-so_extern.exp
1769 * gdb.threads/tls.exp
1770 * gdb.threads/wp-replication.exp
1771 * gdb.trace/actions-changed.exp
1772 * gdb.trace/actions.exp
1773 * gdb.trace/backtrace.exp
1774 * gdb.trace/change-loc.exp
1775 * gdb.trace/collection.exp
1776 * gdb.trace/deltrace.exp
1777 * gdb.trace/disconnected-tracing.exp
1778 * gdb.trace/entry-values.exp
1779 * gdb.trace/ftrace-lock.exp
1780 * gdb.trace/ftrace.exp
1781 * gdb.trace/infotrace.exp
1782 * gdb.trace/mi-trace-frame-collected.exp
1783 * gdb.trace/mi-trace-unavailable.exp
1784 * gdb.trace/mi-traceframe-changed.exp
1785 * gdb.trace/mi-tracepoint-changed.exp
1786 * gdb.trace/mi-tsv-changed.exp
1787 * gdb.trace/no-attach-trace.exp
1788 * gdb.trace/packetlen.exp
1789 * gdb.trace/passc-dyn.exp
1790 * gdb.trace/passcount.exp
1791 * gdb.trace/pending.exp
1792 * gdb.trace/pr16508.exp
1793 * gdb.trace/qtro.exp
1794 * gdb.trace/range-stepping.exp
1795 * gdb.trace/read-memory.exp
1796 * gdb.trace/report.exp
1797 * gdb.trace/save-trace.exp
1798 * gdb.trace/signal.exp
1799 * gdb.trace/stap-trace.exp
1800 * gdb.trace/status-stop.exp
1801 * gdb.trace/strace.exp
1802 * gdb.trace/tfile.exp
1803 * gdb.trace/tfind.exp
1804 * gdb.trace/trace-break.exp
1805 * gdb.trace/trace-condition.exp
1806 * gdb.trace/trace-enable-disable.exp
1807 * gdb.trace/trace-mt.exp
1808 * gdb.trace/tracecmd.exp
1809 * gdb.trace/tracefile-pseudo-reg.exp
1810 * gdb.trace/tspeed.exp
1811 * gdb.trace/tstatus.exp
1813 * gdb.trace/unavailable.exp
1814 * gdb.trace/while-dyn.exp
1815 * gdb.trace/while-stepping.exp
1818 * lib/mi-support.exp
1821 * lib/prelink-support.exp
1822 * lib/selftest-support.exp
1824 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1826 * Makefile.in: Include disable-implicit-rules.mk.
1828 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1830 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1831 non-byte-aligned bit fields.
1833 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1836 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1837 respects the DW_AT_data_bit_offset attribute.
1839 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1841 * gdb.base/default.exp: Fix output of "set language".
1843 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1845 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1846 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1848 * configure.ac: Remove checks for the make program.
1849 * configure: Re-generate.
1851 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1853 * gdb.python/py-recurse-unwind.c (main): Add loop.
1854 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1855 to read_register() and gdb.parse_and_eval(). Make each code
1856 call a separate case that can be individually tested.
1857 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1858 proc. Call cont_and_backtrace for each of the code paths that
1859 we want to test in the unwinder.
1861 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1863 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1864 the definition of struct S.
1866 2016-11-11 Catherine Moore <clm@codesourcery.com>
1868 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1870 2016-11-09 Pedro Alves <palves@redhat.com>
1872 * gdb.base/commands.exp (runto_or_return): New procedure.
1873 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1874 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1875 (progvar_simple_while_test, progvar_complex_if_while_test)
1876 (if_while_breakpoint_command_test)
1877 (infrun_breakpoint_command_test, breakpoint_command_test)
1878 (user_defined_command_test, watchpoint_command_test)
1879 (test_command_prompt_position, redefine_hook_test)
1880 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1881 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1882 multi_line_input and multi_line. Remove gdb_expect and
1883 gdb_stop_suppressing_tests uses.
1884 * lib/gdb.exp (valnum_re): New global.
1885 (multi_line_input): New procedure.
1887 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1889 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1891 (test_setup): Define with proc_with_prefix.
1892 (test_cli_inferior): Likewise.
1893 (test_cli_thread): Likewise.
1894 (test_cli_frame): Likewise.
1895 (test_cli_select_frame): Likewise.
1896 (test_cli_up_down): Likewise.
1897 (test_mi_thread_select): Likewise.
1898 (test_mi_stack_select_frame): Likewise.
1899 (test_cli_in_mi_inferior): Likewise.
1900 (test_cli_in_mi_thread): Likewise.
1901 (test_cli_in_mi_frame): Likewise.
1902 (top level): Do not use with_test_prefix_procname.
1904 2016-11-09 Pedro Alves <palves@redhat.com>
1906 * gdb.base/commands.exp (gdbvar_simple_if_test)
1907 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1908 (progvar_simple_if_test, progvar_simple_while_test)
1909 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1910 (infrun_breakpoint_command_test, breakpoint_command_test)
1911 (user_defined_command_test, watchpoint_command_test)
1912 (test_command_prompt_position, deprecated_command_test)
1913 (bp_deleted_in_command, temporary_breakpoint_commands)
1914 (stray_arg0_test, source_file_with_indented_comment)
1915 (recursive_source_test, if_commands_test)
1916 (error_clears_commands_left, redefine_hook_test)
1917 (redefine_backtrace_test): Use proc_with_prefix.
1918 * lib/gdb.exp (proc_with_prefix): New proc.
1920 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1922 * gdb.base/tui-layout.c: New file.
1923 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1924 disassembly window contains very long lines.
1926 2016-11-08 Tom Tromey <tom@tromey.com>
1928 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1931 2016-11-08 Tom Tromey <tom@tromey.com>
1933 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1936 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1938 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1940 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1942 * gdb.rust/simple.rs: Add test for univariant enums without
1943 discriminants and for encoded struct-like enums.
1945 2016-10-28 Pedro Alves <palves@redhat.com>
1947 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1948 gdb_test_multiple, tighten regexps and match symtabs and line
1949 tables incrementally.
1951 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
1953 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
1956 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
1958 * gdb.base/exec-invalid-sysroot.exp: New file.
1960 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1962 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
1964 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1966 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
1968 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
1970 * gdb.base/killed-outside.exp: Remove $options from a call to
1971 `prepare_for_testing'.
1973 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1975 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1976 Change test message.
1978 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1980 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1983 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1985 * gdb.trace/mi-trace-save.exp: New file.
1987 2016-10-13 Yao Qi <yao.qi@linaro.org>
1989 * gdb.base/code_elim.exp (get_var_address): Remove.
1990 * gdb.base/relocate.exp: Likewise.
1991 * gdb.base/shreloc.exp: Likewise.
1992 * lib/gdb.exp (get_var_address): New.
1994 2016-10-13 Yao Qi <yao.qi@linaro.org>
1996 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
1997 floating point tests if $skip_float_test is false.
1999 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2001 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2002 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2004 Add 1 to argc so we guarantee distinct initial/modified argc values.
2006 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2008 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2010 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2012 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2013 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2014 * gdb.arch/vsx-regs.exp: Likewise.
2016 2016-10-07 Yao Qi <yao.qi@linaro.org>
2018 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2020 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2022 * gdb.python/python.exp: Test decode_line("*0").
2024 2016-10-06 Doug Evans <dje@google.com>
2026 * gdb.python/py-value.exp (test_value_creation): Add test for large
2027 unsigned 64-bit value.
2029 2016-10-06 Tom Tromey <tom@tromey.com>
2031 * gdb.compile/compile.exp: Change java tests to rust.
2032 * gdb.base/setshow.exp: Change java tests to rust.
2033 * gdb.base/default.exp: Remove java from language list.
2034 * README (Examples): Update language example.
2035 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2037 * lib/gdb.exp (skip_java_tests): Remove.
2038 * lib/java.exp: Remove.
2041 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2043 * gdb.arch/mips-fcr.exp: New test.
2044 * gdb.arch/mips-fcr.c: Source for the new test.
2046 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2048 * gdb.base/solib-disc.exp: Use `standard_output_file'
2051 2016-10-06 Pedro Alves <palves@redhat.com>
2053 * gdb.base/jit-simple-dl.c: New file.
2054 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2055 * gdb.base/jit-simple.c: ... this.
2056 * gdb.base/jit-simple.exp (jit_run): Delete.
2057 (build_jit): New proc.
2058 (jit_test_reread): Recompile either the main program or the shared
2059 library, depending on what is being tested. Skip changing address
2060 if caller wants to. Compare before/after addresses. If testing
2061 standalone, explicitly load the binary. Test "maint info
2063 (top level): Add "standalone vs shared lib" and "change address"
2064 vs "same address" axes.
2066 2016-10-06 Pedro Alves <palves@redhat.com>
2068 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2071 (jit_test_reread): Use with_test_prefix. Reload the main binary
2072 explicitly. Compare the before/after addresses of the JIT
2075 2016-08-15 Doug Evans <dje@google.com>
2077 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2078 for single bitfields is bool.
2079 * gdb.xml/tdesc-regs.exp: Ditto.
2081 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2083 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2085 2016-10-05 Yao Qi <yao.qi@linaro.org>
2087 * lib/gdb.exp (support_complex_tests): Return zero if
2088 gdb_skip_float_test return true.
2090 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2091 Simon Marchi <simon.marchi@ericsson.com>
2094 * gdb.mi/user-selected-context-sync.exp: New file.
2095 * gdb.mi/user-selected-context-sync.c: New file.
2097 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2098 Simon Marchi <simon.marchi@ericsson.com>
2101 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2102 =thread-select-event check.
2104 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2106 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2107 the compulsory L operand changes.
2108 * gdb.arch/powerpc-power.s: Likewise.
2110 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2112 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2113 * gdb.base/jit-attach-pie.c: New file.
2114 * gdb.base/jit-attach-pie.exp: New file.
2116 2016-09-28 Pedro Alves <palves@redhat.com>
2118 * gdb.base/infcall-input.c: New file.
2119 * gdb.base/infcall-input.exp: New file.
2121 2016-09-22 Yao Qi <yao.qi@linaro.org>
2123 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2124 (gdb_exit): Rename it to ...
2125 (gdbserver_gdb_exit): ... Close GDBserver.
2126 (gdb_exit): New proc, call gdbserver_gdb_exit.
2127 (mi_gdb_exit): Likewise.
2129 2016-09-22 Yao Qi <yao.qi@linaro.org>
2131 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2133 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2136 2016-09-22 Yao Qi <yao.qi@linaro.org>
2138 * lib/gdbserver-support.exp: Check the existence of
2139 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2141 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2143 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2145 2016-09-21 Tom Tromey <tom@tromey.com>
2148 * gdb.base/quit.exp: New file.
2150 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2152 * .gitignore: New file.
2154 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2156 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2159 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2161 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2163 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2165 * gdb.cp/casts.cc (decltype): Move it ...
2166 (main): ... with its call to ...
2167 * gdb.cp/casts03.cc: ... a new file.
2168 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2170 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2172 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2174 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2176 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2177 and sync up the test with tests in gas/testsuite/gas/ppc.
2178 * gdb.arch/powerpc-power.exp: Likewise.
2180 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2182 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2184 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2185 Jan Kratochvil <jan.kratochvil@redhat.com>
2187 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2188 make m1's definition to be different from m2's. Use 'dummy' as an
2189 argument for probe 'two'.
2191 2016-09-10 Jon Beniston <jon@beniston.com>
2193 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2196 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2198 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2199 variable declaration.
2200 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2201 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2202 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2203 received HWCAP as its argument.
2205 2016-09-06 Pedro Alves <palves@redhat.com>
2207 * gdb.base/new-ui-pending-input.c: New file.
2208 * gdb.base/new-ui-pending-input.exp: New file.
2209 * gdb.exp (clear_gdb_spawn_id): New procedure.
2210 (with_spawn_id): Check whether gdb_spawn_id exists before
2211 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2214 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2216 * gdb.base/float128.c: New file.
2217 * gdb.base/float128.exp: Likewise.
2218 * gdb.base/floatn.c: Likewise.
2219 * gdb.base/floatn.exp: Likewise.
2221 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2223 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2225 2016-09-05 Pedro Alves <palves@redhat.com>
2228 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2229 unwinders are immediately called as side effect of "source" or
2230 "disable unwinder" commands.
2231 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2233 2016-09-02 Yao Qi <yao.qi@linaro.org>
2235 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2236 is true and $type is "float" or "double".
2238 2016-09-02 Yao Qi <yao.qi@linaro.org>
2240 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2242 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2243 * gdb.base/call-rt-st.exp: Likewise.
2244 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2245 return value instead of gdb,skip_float_test.
2246 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2247 (do_function_calls): Use its return value instead of
2248 gdb,skip_float_test.
2249 * gdb.base/finish.exp: Likewise.
2250 * gdb.base/funcargs.exp: Likewise.
2251 * gdb.base/return.exp: Likewise.
2252 * gdb.base/return2.exp: Likewise.
2253 * gdb.base/varargs.exp: Likewise.
2254 * lib/gdb.exp (gdb_skip_float_test): Change it to
2255 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2257 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2259 * gdb.multi/tids.exp: Test "thread apply all".
2261 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2263 * gdb.base/default.exp (tty): Remove.
2265 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2267 * gdb.python/py-recurse-unwind.c: New file.
2268 * gdb.python/py-recurse-unwind.py: New file.
2269 * gdb.python/py-recurse-unwind.exp: New file.
2271 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2273 * gdb.base/set-inferior-tty.exp: New file.
2274 * gdb.base/set-inferior-tty.c: New file.
2276 2016-08-23 Pedro Alves <palves@redhat.com>
2279 * gdb.base/new-ui-echo.c: New file.
2280 * gdb.base/new-ui-echo.exp: New file.
2282 2016-08-23 Yao Qi <yao.qi@linaro.org>
2284 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2286 * gdb.server/connect-without-multi-process.exp (do_test):
2289 2016-08-23 Yao Qi <yao.qi@linaro.org>
2291 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2292 standalone_txt. Delete gdb_txt and standalone_txt on host
2293 and target. Spawn the binary on target. Copy files from
2296 2016-08-22 Pedro Alves <palves@redhat.com>
2299 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2300 with_test_prefix. Factor out bits to ...
2301 (test_no_vdso): ... this new procedure.
2303 2016-08-19 Carl Love <cel@us.ibm.com>
2305 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2306 maintaining separate logic for constructing the output path.
2307 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2308 * gdb.arch/ppc-dfp.exp: Likewise.
2309 * gdb.arch/ppc-fp.exp: Likewise.
2310 * gdb.arch/vsx-regs.exp: Likewise.
2311 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2312 binprefix for generating the additional binary files.
2314 2016-08-19 Pedro Alves <palves@redhat.com>
2316 * gdb.trace/mi-trace-frame-collected.exp
2317 (test_trace_frame_collected): On x32, expect two registers.
2319 2016-08-18 Carl Love <cel@us.ibm.com>
2321 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2322 and sync up the test with tests in gas/testsuite/gas/ppc.
2323 * gdb.arch/powerpc-power.exp: Likewise.
2325 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2327 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2328 expected error message.
2330 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2332 * gdb.multi/remove-inferiors.exp: New file.
2333 * gdb.multi/remove-inferiors.c: New file.
2335 2016-08-12 Yao Qi <yao.qi@linaro.org>
2337 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2340 2016-08-10 Pedro Alves <palves@redhat.com>
2343 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2346 2016-08-09 Pedro Alves <palves@redhat.com>
2347 Simon Marchi <simon.marchi@ericsson.com>
2350 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2351 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2353 2016-08-09 Pedro Alves <palves@redhat.com>
2356 * gdb.mi/mi-cmd-error.exp: New file.
2358 2016-08-09 Pedro Alves <palves@redhat.com>
2361 * gdb.base/signals-state-child.c: New file.
2362 * gdb.base/signals-state-child.exp: New file.
2363 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2365 2016-08-09 Pedro Alves <palves@redhat.com>
2367 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2369 2016-08-03 Tom Tromey <tom@tromey.com>
2372 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2374 2016-08-01 Yao Qi <yao.qi@linaro.org>
2376 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2377 variable mode to "multi-process" if $multi_process is 1, otherwise
2378 set it to "single-process".
2380 2016-08-01 Yao Qi <yao.qi@linaro.org>
2382 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2383 * gdb.cp/cpexprs.exp: Likewise.
2384 * gdb.cp/m-static.exp: Likewise.
2386 2016-07-26 Tom Tromey <tom@tromey.com>
2389 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2392 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2394 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2395 selecting assembly source files.
2396 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2397 assembly source files.
2398 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2399 assembly source files.
2400 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2401 selecting assembly source files.
2403 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2405 * gdb.base/new-ui.exp (do_test_invalid_args): New
2408 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2410 * gdb.btrace/reconnect.c: New file.
2411 * gdb.btrace/reconnect.exp: New file.
2413 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2415 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2416 to test_catch_syscall_group.
2417 (test_catch_syscall_group): New.
2419 2016-07-21 Tom Tromey <tom@tromey.com>
2421 * gdb.rust/simple.rs (main): Use empty struct expression.
2422 * gdb.rust/simple.exp: Add tests for empty struct expression.
2424 2016-07-21 Yao Qi <yao.qi@linaro.org>
2426 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2427 if gdb_skip_xml_test is true on some targets.
2429 2016-07-21 Yao Qi <yao.qi@linaro.org>
2431 * gdb.server/solib-list.exp: Unset last_loaded_file.
2433 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2435 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2436 "step into captured_main (args)".
2438 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2440 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2442 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2444 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2446 2016-07-19 Pedro Alves <palves@redhat.com>
2448 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2449 * gdb.opt/inline-bt.exp: Likewise.
2450 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2451 additional_flags=-Winline.
2452 * gdb.opt/inline-locals.exp: Likewise.
2453 * gdb.opt/inline-markers.c (ATTR): Define.
2454 (inlined_fn): Use it.
2456 2016-07-19 Yao Qi <yao.qi@linaro.org>
2458 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2459 (test_with_self): Remove some code. Remove argument executable.
2460 (top-level): Use do_self_tests.
2462 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2463 Don Breazeal <donb@codesourcery.com>
2465 * gdb.base/maint.exp: Escape paths used in regular expressions.
2466 * gdb.stabs/weird.exp: Likewise.
2468 2016-07-13 Tom Tromey <tom@tromey.com>
2470 PR python/15620, PR python/18620:
2471 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2472 (test_bkpt_events): New procs.
2474 2016-07-13 Tom Tromey <tom@tromey.com>
2477 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2479 (test_watchpoints): Likewise.
2480 (test_bkpt_pending): New proc.
2482 2016-07-13 Tom Tromey <tom@tromey.com>
2485 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2488 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2490 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2491 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2492 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2494 (g): Rename g_end_lbl to g_label.
2495 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2497 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2499 2016-07-12 Tom Tromey <tom@tromey.com>
2502 * gdb.python/py-unwind-maint.exp: Update tests.
2504 2016-07-12 Yao Qi <yao.qi@linaro.org>
2506 * lib/selftest-support.exp (selftest_setup): Match the output
2507 when captured_main is inlined.
2509 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2511 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2513 (print this%a, print this%b, print this): New tests.
2514 * gdb.fortran/derived-types.f90 (this): New object and
2517 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2519 * gdb.ada/arraydim.exp: Remove extra directory level in build
2522 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2524 * lib/ada.exp: Remove extra directory level in build directory.
2525 * gdb.ada/cond_lang.exp: Likewise.
2526 * gdb.ada/exec_changed.exp: Likewise.
2527 * gdb.ada/lang_switch.exp: Likewise.
2529 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2531 * simple.rs: Add test for raw pointer subscripting.
2532 * simple.exp: Add test expectations.
2534 2016-07-05 Yao Qi <yao.qi@linaro.org>
2536 * gdb.mi/mi-reverse.exp: Match =record-started output.
2538 2016-07-01 Pedro Alves <palves@redhat.com>
2540 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2542 (jit_reader_test): Test the jit reader's unwinder.
2543 * gdb.base/jithost.c (jit_function_00_code): New global.
2544 (main): Use memcpy to fill in the mmapped code, instead of poking
2545 bytes manually here.
2546 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2548 (read_debug_info): Save the function's range.
2549 (read_sp): New function.
2550 (unwind_frame): Use it. Also unwind RBP.
2551 (get_frame_id): Use read_sp.
2552 (gdb_init_reader): Use calloc instead of malloc.
2553 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2554 parameter. Use gdb_test_multiple.
2556 2016-07-01 Pedro Alves <palves@redhat.com>
2557 Antoine Tremblay <antoine.tremblay@ericsson.com>
2559 * gdb.threads/process-dies-while-detaching.c: New file.
2560 * gdb.threads/process-dies-while-detaching.exp: New file.
2562 2016-07-01 Pedro Alves <palves@redhat.com>
2564 * gdb.multi/watchpoint-multi-exit.c: New file.
2565 * gdb.multi/watchpoint-multi-exit.exp: New file.
2567 2016-06-30 Pedro Alves <palves@redhat.com>
2569 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2570 unset inferior_spawn_id.
2572 2016-06-30 Pedro Alves <palves@redhat.com>
2574 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2575 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2577 2016-06-29 Yao Qi <yao.qi@linaro.org>
2579 * gdb.base/return.c: Add copyright header.
2581 2016-06-29 Tom Tromey <tom@tromey.com>
2584 * gdb.python/py-framefilter.exp: Add tests for setting priority
2585 and disabling of non-existent frame filter.
2587 2016-06-29 Yao Qi <yao.qi@linaro.org>
2589 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2592 2016-06-28 Yao Qi <yao.qi@linaro.org>
2594 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2595 triplets. Start gdb, execute catch syscall, and continue. Check
2596 gdb's output to determine catch syscall is supported.
2598 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2600 * gdb.rust/simple.rs: Add test for returning unit in a function.
2601 * gdb.rust/simple.exp: Add expectation for functions returning
2604 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2606 * gdb.python/py-breakpoint-create-fail.c,
2607 gdb.python/py-breakpoint-create-fail.exp,
2608 gdb.python/py-breakpoint-create-fail.py: New testcase.
2610 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2613 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2614 * gdb.rust/simple.exp: Add test expectations for new NonZero
2617 2016-06-24 David Taylor <dtaylor@emc.com>
2619 * gdb.base/offsets.exp: New file.
2620 * gdb.base/offsets.c: New file.
2622 2016-06-23 Tom Tromey <tom@tromey.com>
2625 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2626 before any filters are loaded.
2628 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2630 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2631 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2633 * gdb.fortran/derived-type-function.exp: New file.
2634 * gdb.fortran/derived-type-function.f90: New file.
2637 2016-06-21 Pedro Alves <palves@redhat.com>
2639 * gdb.base/new-ui.exp: New file.
2640 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2641 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2642 (with_spawn_id): New procedure.
2644 2016-06-21 Pedro Alves <palves@redhat.com>
2646 * gdb.mi/mi-exec-run.exp: New file.
2648 2016-06-21 Pedro Alves <palves@redhat.com>
2650 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2651 breakpoint command's output on the main UI.
2652 (test_break): New procedure, factored out from calls in the top
2654 (top level): Use foreach_with_prefix to test MI as main UI and as
2657 2016-06-21 Pedro Alves <palves@redhat.com>
2659 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2660 (test_awatch_creation_and_listing)
2661 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2662 Remove 'type' parameter.
2663 (test_watchpoint_all): New parameter mi_mode. Remove
2665 (top level): Use foreach_with_prefix, and add main/separate UI MI
2668 2016-06-21 Pedro Alves <palves@redhat.com>
2670 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2671 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2672 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2673 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2674 (gdb_main_spawn_id, mi_spawn_id): Declare and
2676 (mi_create_inferior_pty): New procedure,
2677 factored out from default_mi_gdb_start.
2678 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2680 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2681 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2682 Use mi_create_inferior_pty.
2683 (mi_gdb_start): Use eval to pass down args list.
2685 2016-06-21 Pedro Alves <palves@redhat.com>
2687 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2688 * gdb.opt/inline-cmds.exp: Add MI tests.
2690 2016-06-21 Pedro Alves <palves@redhat.com>
2692 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2694 2016-06-21 Pedro Alves <palves@redhat.com>
2696 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2697 (top level): Use it instead of mi_execute_to.
2699 2016-06-21 Pedro Alves <palves@redhat.com>
2701 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2702 (cont_handler_str): New.
2703 (signal_stop_handler): Set stop_handler_str instead of printing to
2705 (continue_handler): Set cont_handler_str instead of printing to
2707 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2708 mi_send_resuming_command. Print stop_handler_str and
2709 cont_handler_str instead of expecting the python events print
2712 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2714 * gdb.base/jit-reader.exp: New file.
2715 * gdb.base/jithost.c: New file.
2716 * gdb.base/jithost.h: New file.
2717 * gdb.base/jitreader.c : New file.
2718 * gdb.base/jit-protocol.h: New file.
2720 2016-06-17 Yao Qi <yao.qi@linaro.org>
2722 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2723 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2724 and detach-on-fork. Adjust tests.
2725 (top level): Invoke break_cond_on_syscall with combinations of
2726 syscall, follow-fork-mode and detach-on-fork.
2728 2016-06-17 Yao Qi <yao.qi@linaro.org>
2730 * gdb.base/step-over-exit.c: New.
2731 * gdb.base/step-over-exit.exp: New.
2733 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2735 * gdb.base/float.exp: Add target check for nds32*-*-*.
2736 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2738 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2740 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2741 for unsupported target features.
2742 * gdb.base/call-rt-st.exp: Likewise.
2743 * gdb.base/call-sc.exp: Likewise.
2744 * gdb.base/call-signal-resume.exp: Likewise.
2745 * gdb.base/call-strs.exp: Likewise.
2746 * gdb.base/callexit.exp: Likewise.
2747 * gdb.base/callfuncs.exp: Likewise.
2748 * gdb.base/nodebug.exp: Likewise.
2749 * gdb.base/printcmds.exp: Likewise.
2750 * gdb.base/ptype.exp: Likewise.
2751 * gdb.base/structs.exp: Likewise.
2752 * gdb.base/unwindonsignal.exp: Likewise.
2753 * gdb.cp/gdb2495.exp: Likewise.
2754 * gdb.cp/templates.exp: Likewise.
2755 * gdb.cp/virtfunc.exp: Likewise.
2756 * gdb.threads/hand-call-in-threads.exp: Likewise.
2757 * gdb.threads/interrupted-hand-call.exp: Likewise.
2758 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2760 2016-06-10 Tom Tromey <tom@tromey.com>
2763 * gdb.rust/expr.exp: Add test for integer constant larger than
2766 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2768 * gdb.fortran/nested-funcs.exp: New.
2769 * gdb.fortran/nested-funcs.f90: New.
2771 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2773 * gdb.base/examine-backward.c: New file.
2774 * gdb.base/examine-backward.exp: New file.
2776 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2778 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2781 2016-06-02 Tom Tromey <tom@tromey.com>
2784 * gdb.python/py-shared.exp: Add solib_name test.
2786 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2788 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2790 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2793 * gdb.dwarf2/implref.exp: Rename to...
2794 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2795 * gdb.dwarf2/implref-array.c: New file.
2796 * gdb.dwarf2/implref-array.exp: Likewise.
2797 * gdb.dwarf2/implref-global.c: Likewise.
2798 * gdb.dwarf2/implref-global.exp: Likewise.
2799 * gdb.dwarf2/implref-struct.c: Likewise.
2800 * gdb.dwarf2/implref-struct.exp: Likewise.
2802 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2804 * gdb.trace/trace-condition.exp: Add 64bit tests.
2806 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2808 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2810 (main): Adapt to 8 to 64 bits types.
2811 * gdb.trace/trace-condition.exp: Add new tests.
2813 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2815 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2817 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2819 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2820 Move condition tests...
2821 * gdb.trace/trace-condition.exp: Here.
2823 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2825 * gdb.trace/trace-condition.exp: Add counter-case tests.
2827 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2830 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2831 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2833 2016-05-27 Pedro Alves <palves@redhat.com>
2835 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2837 (top level): Call it, and bail out of DejaGnu is known to be bad.
2839 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2841 * gdb.base/whatis.c: Extend the test case.
2842 * gdb.base/whatis.exp: Add additional tests.
2844 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2846 * gdb.fortran/type.f90: Add pointer variable.
2847 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2849 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2851 * gdb.fortran/vla-type.exp: Fix testcase name.
2853 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2855 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2857 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2859 * gdb.fortran/type.f90: Add nested structures.
2860 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2861 * gdb.fortran/derived-type.exp: Adapt expected output.
2862 * gdb.fortran/vla-type.exp: Adapt expected output.
2864 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2866 * gdb.fortran/whatis_type.exp: Adapt expected output.
2868 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2870 * gdb.fortran/print_type.exp: Fix expected output.
2871 * gdb.fortran/whatis_type.exp: Fix expected output.
2873 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2875 * gdb.fortran/whatis_type.exp: Use multi_line.
2877 2016-05-24 Tom Tromey <tom@tromey.com>
2880 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2881 use value as an index.
2883 2016-05-23 Tom Tromey <tom@tromey.com>
2886 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2889 2016-05-24 Pedro Alves <palves@redhat.com>
2892 * gdb.threads/clone-attach-detach.c: New file.
2893 * gdb.threads/clone-attach-detach.exp: New file.
2895 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2897 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2899 2016-05-23 Tom Tromey <tom@tromey.com>
2901 PR python/19438, PR python/18393:
2902 * gdb.python/py-progspace.exp: Add "dir" test.
2903 * gdb.python/py-objfile.exp: Add "dir" test.
2905 2016-05-23 Yao Qi <yao.qi@linaro.org>
2907 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2908 * gdb.arch/thumb2-it.exp: Likewise.
2910 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2912 * gdb.mi/mi-threads-interrupt.c: New file.
2913 * gdb.mi/mi-threads-interrupt.exp: New file.
2915 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2918 * gdb.mi/mi-async-run.exp: New file.
2919 * gdb.mi/mi-async-run.c: New file.
2921 2016-05-17 Tom Tromey <tom@tromey.com>
2922 Manish Goregaokar <manishsmail@gmail.com>
2924 * lib/rust-support.exp: New file.
2925 * lib/gdb.exp (skip_rust_tests): New proc.
2926 (build_executable_from_specs): Handle rust.
2927 * lib/future.exp (gdb_find_rustc): New proc.
2928 (gdb_default_target_compile): Handle rust.
2929 * gdb.rust/expr.exp: New file.
2930 * gdb.rust/generics.exp: New file.
2931 * gdb.rust/generics.rs: New file.
2932 * gdb.rust/methods.exp: New file.
2933 * gdb.rust/methods.rs: New file.
2934 * gdb.rust/modules.exp: New file.
2935 * gdb.rust/modules.rs: New file.
2936 * gdb.rust/simple.exp: New file.
2937 * gdb.rust/simple.rs: New file.
2939 2016-05-17 Tom Tromey <tom@tromey.com>
2941 * gdb.base/default.exp (set language): Add rust.
2943 2016-05-17 Tom Tromey <tom@tromey.com>
2945 * gdb.gdb/unittest.exp: New file.
2947 2016-05-16 Yao Qi <yao.qi@linaro.org>
2949 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2950 shell_prompt. Update shell_prompt_re.
2952 2016-05-12 Doug Evans <dje@google.com>
2955 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
2956 $options when building executable.
2957 * gdb.dwarf2/fission-loclists-pie.S: New file.
2958 * gdb.dwarf2/fission-loclists-pie.exp: New file.
2960 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2962 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
2963 of [is_remote target],
2965 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
2967 * lib/gdb.exp (use_gdb_stub): New procedure.
2969 2016-05-03 Yunlian Jiang <yunlian@google.com>
2970 Doug Evans <dje@google.com>
2973 * gdb.dwarf2/dwp-sepdebug.c: New file.
2974 * gdb.dwarf2/dwp-sepdebug.exp: New file.
2976 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2978 * gdb.base/detach.exp: Remove is_remote check.
2980 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2982 * gdb.base/annota-input-while-running.exp: Don't check for
2983 [is_remote target]. Enable annotations after running to main.
2984 Remove unused "set test..." line.
2986 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2988 * gdb.trace/trace-enable-disable.exp: New file.
2989 * gdb.trace/trace-enable-disable.c: New file.
2991 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2993 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
2994 use it in info sharedlibrary test.
2995 * gdb.trace/ftrace-lock.exp: Likewise.
2996 * gdb.trace/ftrace.exp: Likewise.
2997 * gdb.trace/range-stepping.exp: Likewise.
2998 * gdb.trace/trace-break.exp: Likewise.
2999 * gdb.trace/trace-condition.exp: Likewise.
3000 * gdb.trace/trace-mt.exp: Likewise.
3002 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3004 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3005 (gdb_load_shlib): ... this.
3006 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3008 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3009 * gdb.base/ctxobj.exp: Likewise.
3010 * gdb.base/dprintf-pending.exp: Likewise.
3011 * gdb.base/dso2dso.exp: Likewise.
3012 * gdb.base/fixsection.exp: Likewise.
3013 * gdb.base/gcore-relro.exp: Likewise.
3014 * gdb.base/gdb1555.exp: Likewise.
3015 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3016 * gdb.base/gnu-ifunc.exp: Likewise.
3017 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3018 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3019 * gdb.base/pending.exp: Likewise.
3020 * gdb.base/print-file-var.exp: Likewise.
3021 * gdb.base/print-symbol-loading.exp: Likewise.
3022 * gdb.base/shlib-call.exp: Likewise.
3023 * gdb.base/shreloc.exp: Likewise.
3024 * gdb.base/so-impl-ld.exp: Likewise.
3025 * gdb.base/solib-disc.exp: Likewise.
3026 * gdb.base/solib-nodir.exp: Likewise.
3027 * gdb.base/solib-overlap.exp: Likewise.
3028 * gdb.base/solib-symbol.exp: Likewise.
3029 * gdb.base/solib-weak.exp (do_test): Likewise.
3030 * gdb.base/sym-file.exp: Likewise.
3031 * gdb.base/symtab-search-order.exp: Likewise.
3032 * gdb.base/type-opaque.exp: Likewise.
3033 * gdb.base/unload.exp: Likewise.
3034 * gdb.base/watchpoint-solib.exp: Likewise.
3035 * gdb.compile/compile.exp: Likewise.
3036 * gdb.cp/gdb2384.exp: Likewise.
3037 * gdb.cp/infcall-dlopen.exp: Likewise.
3038 * gdb.cp/re-set-overloaded.exp: Likewise.
3039 * gdb.fortran/library-module.exp: Likewise.
3040 * gdb.opt/solib-intra-step.exp: Likewise.
3041 * gdb.python/py-finish-breakpoint.exp: Likewise.
3042 * gdb.python/py-shared.exp: Likewise.
3043 * gdb.reverse/solib-precsave.exp: Likewise.
3044 * gdb.reverse/solib-reverse.exp: Likewise.
3045 * gdb.server/solib-list.exp: Likewise.
3046 * gdb.threads/dlopen-libpthread.exp: Likewise.
3047 * gdb.threads/tls-shared.exp: Likewise.
3048 * gdb.threads/tls-so_extern.exp: Likewise.
3049 * gdb.trace/change-loc.exp: Likewise.
3050 * gdb.trace/ftrace-lock.exp: Likewise.
3051 * gdb.trace/ftrace.exp: Likewise.
3052 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3053 * gdb.trace/pending.exp: Likewise.
3054 * gdb.trace/range-stepping.exp: Likewise.
3055 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3056 (strace_info_marker): Likewise.
3057 (strace_probe_marker): Likewise.
3058 (strace_trace_on_same_addr): Likewise.
3059 (strace_trace_on_diff_addr): Likewise.
3060 * gdb.trace/trace-break.exp: Likewise.
3061 * gdb.trace/trace-condition.exp: Likewise.
3062 * gdb.trace/trace-mt.exp: Likewise.
3064 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3066 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3067 result of gdb_remote_download.
3068 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3069 * gdb.base/dso2dso.exp: Likewise.
3070 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3071 * gdb.base/print-file-var.exp: Likewise.
3072 * gdb.base/shlib-call.exp: Likewise.
3073 * gdb.base/shreloc.exp: Likewise.
3074 * gdb.base/solib-overlap.exp: Likewise.
3075 * gdb.base/solib-weak.exp (do_test): Likewise.
3076 * gdb.base/unload.exp: Likewise.
3078 2016-04-27 Yao Qi <yao.qi@linaro.org>
3080 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3083 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3085 * vla-type.exp: Print structure from toplevel.
3087 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3089 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3091 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3094 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3096 * gdb.fortran/vla-type.f90: New file.
3097 * gdb.fortran/vla-type.exp: New file.
3099 2016-04-25 Yao Qi <yao.qi@linaro.org>
3101 * gdb.base/branch-to-self.c: New file.
3102 * gdb.base/branch-to-self.exp: New file.
3104 2016-04-22 Yao Qi <yao.qi@linaro.org>
3106 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3109 2016-04-22 Yao Qi <yao.qi@linaro.org>
3111 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3112 * gdb.base/annota3.exp: Likewise.
3114 2016-04-22 Yao Qi <yao.qi@linaro.org>
3116 * gdb.reverse/step-precsave.exp: Do one step and test program
3117 stops in "callee" and do multiple steps until program goes out
3119 * gdb.reverse/step-reverse.exp: Likewise.
3121 2016-04-22 Yao Qi <yao.qi@linaro.org>
3123 * gdb.trace/signal.exp: Also pass if
3124 $tracepoint_hits($i) > $iterations.
3126 2016-04-22 Yao Qi <yao.qi@linaro.org>
3128 * gdb.trace/signal.c: New file.
3129 * gdb.trace/signal.exp: New file.
3131 2016-04-19 Doug Evans <xdje42@gmail.com>
3133 * gdb.base/bad-file.exp: New file.
3135 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3137 * gdb.dwarf2/implref.exp: New file.
3139 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3141 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3142 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3143 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3144 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3145 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3146 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3147 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3148 * lib/fortran.exp (fortran_int4): New procedure.
3149 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3150 (fortran_logical4): Likewise.
3152 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3154 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3156 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3158 * lib/compiler.c: Add Intel specific preprocessor macros.
3159 * lib/compiler.cc: Likewise.
3161 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3163 * gdb.server/connect-with-no-symbol-file.c: New file.
3164 * gdb.server/connect-with-no-symbol-file.exp: New file.
3166 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3168 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3170 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3172 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3173 standard output directory.
3175 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3177 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3179 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3181 * gdb.btrace/instruction_history.c (loop): Add declaration.
3183 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3185 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3187 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3189 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3190 parentheses to print.
3191 (continue_handler): Likewise.
3193 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3195 * gdb.server/solib-list.exp: Remove is_remote check.
3196 Pass shlib= to gdb_compile. Don't link shared library with
3197 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3198 Run binary filename through "readlink -f" on the target.
3200 2016-04-08 Pedro Alves <palves@redhat.com>
3202 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3203 interpreter filename as argument to gdbserver_spawn.
3204 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3205 Return empty if $last_loaded_file does not exist.
3207 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3209 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3210 * gdb.base/jit-main.c: Use exit after usage.
3212 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3214 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3215 GDBHISTSIZE prior to the tests.
3216 * gdb.base/gdbinit-history.exp: Likewise.
3218 2016-04-07 Pedro Alves <palves@redhat.com>
3220 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3221 instead of build_executable. Use gdb_load_shlibs.
3223 2016-04-07 Yao Qi <yao.qi@linaro.org>
3225 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3226 Execute "si" command.
3228 2016-04-07 Yao Qi <yao.qi@linaro.org>
3230 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3231 number instead of the comments on some line.
3233 2016-04-06 Don Breazeal <donb@codesourcery.com>
3235 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3236 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3238 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3240 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3241 standard_output_file. Remove unused binfile variable.
3243 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3245 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3246 * gdb.python/py-mi-objfile.exp: Match "list main" output
3249 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3251 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3254 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3256 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3258 * gdb.trace/ftrace.exp: Likewise.
3259 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3261 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3262 (gdb_load_shlibs): Copy libraries to test directory when testing
3263 natively. Only set solib-search-path if testing remotely.
3264 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3266 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3268 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3269 gdb_download. Use it even if the target is not remote.
3270 * gdb.base/jit.exp (compile_jit_test): Likewise.
3271 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3272 output directory if the destination board is local, otherwise use
3273 the standard remote_download from DejaGnu.
3274 (gdb_download): Remove.
3275 (gdb_load_shlibs): Use gdb_remote_download instead of
3277 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3278 Use gdb_remote_download instead of gdb_download. Use it even if
3279 the target is not remote.
3280 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3281 instead of gdb_download.
3283 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3285 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3286 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3289 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3292 * gdb.base/printcmds.exp: Add artificial arrays tests.
3294 2016-03-31 Pedro Alves <palves@redhat.com>
3297 * gdb.base/jit-main.c: Include unistd.h.
3298 (ATTACH): Define to 0 if not already defined.
3299 (wait_for_gdb, mypid): New globals.
3300 (WAIT_FOR_GDB): New macro.
3301 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3302 some breakpoint locations.
3303 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3305 (one_jit_test): Add REATTACH parameter, and handle it. Use
3306 continue_to_test_location.
3307 (top level): Test attach, and adjusts calls to one_jit_test.
3309 2016-03-31 Pedro Alves <palves@redhat.com>
3312 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3313 BINSUFFIX parameter, and handle it.
3314 (top level): Adjust calls compile_jit_test.
3316 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3319 * gdb.python/py-mi-events-gdb.py: New file.
3320 * gdb.python/py-mi-events.c: New file.
3321 * gdb.python/py-mi-events.exp: New file.
3323 2016-03-30 Yao Qi <yao.qi@linaro.org>
3325 * gdb.reverse/until-precsave.exp: Match function name only.
3326 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3327 Move malloc to a condition block.
3328 * gdb.reverse/until-reverse.exp: Match function name only.
3330 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3332 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3333 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3334 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3335 variable for GPR 0 instead of assuming it is register 0.
3336 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3337 * lib/trace-support.exp: Add s390 registers.
3339 2016-03-29 Yao Qi <yao.qi@linaro.org>
3341 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3343 2016-03-24 Yao Qi <yao.qi@linaro.org>
3345 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3348 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3350 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3351 maintaining separate logic for constructing the output path.
3353 2016-03-16 Don Breazeal <donb@codesourcery.com>
3355 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3356 Retry fork and waitpid on interrupted system call errors.
3357 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3358 Use with_timeout_factor to increase timeout by factor of 10.
3360 2016-03-15 Don Breazeal <donb@codesourcery.com>
3362 * gdb.cp/scope-err.cc: New test program.
3363 * gdb.cp/scope-err.exp: New test script.
3364 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3365 lines and "set breakpoint here" comment.
3366 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3367 Fixed some whitespace and format issues.
3368 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3369 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3371 2016-03-15 Doug Evans <dje@google.com>
3373 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3374 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3375 All callers updated. Add tests for enums, mixed flags register.
3377 2016-03-15 Doug Evans <dje@google.com>
3379 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3380 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3382 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3384 * gdb.base/default.exp: Add $_as_string to the list of expected
3385 convenience functions.
3387 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3389 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3391 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3393 * gdb.python/py-as-string.exp: New file.
3394 * gdb.python/py-as-string.c: New file.
3396 2016-03-09 Pedro Alves <palves@redhat.com>
3398 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3399 signal" -> "Thread NN received signal" output change.
3400 * gdb.threads/ia64-sigill.exp: Likewise.
3401 * gdb.threads/linux-dp.exp: Likewise.
3402 * gdb.threads/manythreads.exp: Likewise.
3403 * gdb.threads/pending-step.exp: Likewise.
3404 * gdb.threads/print-threads.exp: Likewise.
3405 * gdb.threads/sigstep-threads.exp: Likewise.
3406 * gdb.threads/staticthreads.exp: Likewise.
3407 * gdb.threads/tls.exp: Likewise.
3409 2016-03-09 Pedro Alves <palves@redhat.com>
3411 * gdb.base/command-line-input.exp: New file.
3413 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3415 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3416 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3417 * gdb.trace/pending.exp: Accept leading dot before function name.
3418 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3419 * lib/trace-support.exp: Set registers for ppc.
3421 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3423 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3424 use it for disassembly; accept .main in addition to main in backtrace.
3426 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3427 Marcin Kościelnicki <koriakin@0x04.net>
3429 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3430 (gdb_recursion_test_ptr): New global variable.
3431 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3433 (gdb_c_test): Ditto.
3435 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3437 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3440 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3442 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3443 (bar): Add bar_start_lbl label.
3444 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3445 of foo/bar for emitting DWARF and tracing.
3447 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3449 * analyze-racy-logs.py: Set executable bit.
3451 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3453 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3454 (CHECK_TARGET_TMP): Likewise.
3455 (check-single-racy): New rule.
3456 (check-parallel-racy): Likewise.
3457 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3458 (do-check-parallel-racy): New rule.
3459 (check-racy/%.exp): Likewise.
3460 * README (Racy testcases): New section.
3461 * analyze-racy-logs.py: New file.
3463 2016-03-03 Doug Evans <dje@google.com>
3465 * gdb.base/skip.exp: Use with_test_prefix.
3467 2016-03-03 Yao Qi <yao.qi@linaro.org>
3469 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3470 Invoke step_over_syscall "clone" and break_cond_on_syscall
3472 * gdb.base/step-over-clone.c: New file.
3474 2016-03-03 Yao Qi <yao.qi@linaro.org>
3476 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3479 2016-03-03 Yao Qi <yao.qi@linaro.org>
3481 * gdb.base/disp-step-fork.c: Rename to ...
3482 * gdb.base/step-over-fork.c: ... it. New file.
3483 * gdb.base/disp-step-vfork.c: Rename to ...
3484 * gdb.base/step-over-vfork.c: ... it. New file.
3485 * gdb.base/disp-step-syscall.exp: Rename to ...
3486 * gdb.base/step-over-syscall.exp: ... it. New file.
3487 (disp_step_cross_syscall): Rename to ...
3488 (step_over_syscall): ... it.
3490 2016-03-03 Yao Qi <yao.qi@linaro.org>
3492 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3493 If target supports condition evaluation on target, invoke
3494 break_cond_on_syscall for fork and vfork.
3496 2016-03-03 Yao Qi <yao.qi@linaro.org>
3498 * gdb.base/disp-step-syscall.exp: Don't invoke
3499 support_displaced_stepping.
3500 (disp_step_cross_syscall): Test with displaced stepping off and
3503 2016-03-03 Yao Qi <yao.qi@linaro.org>
3505 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3508 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3511 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3513 * gdb.fortran/vla-history.exp: Remove breakpoint.
3515 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3517 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3520 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3522 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3525 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3527 * gdb.mi/vla.f90: Nullify pointer after declaration.
3529 2016-03-01 Pedro Alves <palves@redhat.com>
3531 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3533 2016-03-01 Pedro Alves <palves@redhat.com>
3535 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3536 before anything else.
3537 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3539 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3540 before anything else.
3541 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3543 2016-03-01 Pedro Alves <palves@redhat.com>
3545 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3547 2016-03-01 Yao Qi <yao.qi@linaro.org>
3549 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3550 prepare_for_testing.
3552 2016-03-01 Yao Qi <yao.qi@linaro.org>
3554 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3556 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3558 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3559 manually constructing the output path.
3561 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3563 * gdb.arch/s390-stackless.S: New.
3564 * gdb.arch/s390-stackless.exp: New.
3566 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3568 * gdb.dlang/circular.c: New file.
3569 * gdb.dlang/circular.exp: New file.
3571 2016-02-26 Yao Qi <yao.qi@linaro.org>
3573 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3574 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3575 (testcases): Update.
3577 2016-02-26 Yao Qi <yao.qi@linaro.org>
3579 * gdb.reverse/aarch64.c: Rename to ...
3580 * gdb.reverse/insn-reverse.c: ... it.
3581 * gdb.reverse/aarch64.exp: Rename to ...
3582 * gdb.reverse/insn-reverse.exp: ... it.
3584 2016-02-26 Yao Qi <yao.qi@linaro.org>
3586 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3587 (testcase_ftype): New.
3588 (testcases): New array.
3590 (main): Call each element in testcases.
3591 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3592 (read_testcase): New.
3593 Do the tests in a loop.
3595 2016-02-25 Yao Qi <yao.qi@linaro.org>
3597 * gdb.base/branches.c: Remove.
3599 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3602 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3604 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3606 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3608 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3610 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3611 change x86_64 call_insn to 'callq'.
3613 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3615 * gdb.trace/tfile-avx.c: Move to...
3616 * gdb.trace/tracefile-pseudo-reg.c: Here.
3617 * gdb.trace/tfile-avx.exp: Move to...
3618 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3620 2016-02-24 Gary Benson <gbenson@redhat.com>
3622 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3625 2016-02-23 Doug Evans <dje@google.com>
3627 * gdb.base/skip.c (test_skip): New function.
3628 (end_test_skip_file_and_function): New function.
3629 (test_skip_file_and_function): New function.
3630 * gdb.base/skip1.c (test_skip): New function.
3631 (skip1_test_skip_file_and_function): New function.
3632 * gdb.base/skip.exp: Add tests for new skip options.
3633 * gdb.base/skip-solib.exp: Update expected output.
3634 * gdb.perf/skip-command.cc: New file.
3635 * gdb.perf/skip-command.exp: New file.
3636 * gdb.perf/skip-command.py: New file.
3638 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3640 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3641 info registers pattern.
3643 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3645 * lib/future.exp: Add D support.
3646 (gdb_find_gdc): New proc.
3647 (gdb_default_target_compile): Add D support.
3649 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3651 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3653 (trace_speed_test): Determine the iteration count for a time
3654 between 15..30 seconds.
3656 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3658 * gdb.arch/i386-mpx-sigsegv.c: New file.
3659 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3660 * gdb.arch/i386-mpx-simple_segv.c: New file.
3661 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3663 2016-02-18 Yao Qi <yao.qi@linaro.org>
3665 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3666 Don't call setup_kfail.
3668 2016-02-18 Yao Qi <yao.qi@linaro.org>
3670 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3671 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3673 2016-02-16 Doug Evans <dje@google.com>
3675 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3676 * gdb.base/skip1.c: Ditto.
3677 * gdb.base/skip.exp: Whitespace cleanup.
3679 2016-02-16 Don Breazeal <donb@codesourcery.com>
3682 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3683 Remove kfail for PR remote/19496.
3685 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3687 * lib/gdb.exp (standard_temp_file): Return a path specific to
3688 the runtest invocation.
3690 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3692 * gdb.trace/save-trace.exp: Change relative path to be in the
3693 standard output directory.
3695 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3697 * gdb.arch/i386-prologue.c: Add missing prototypes.
3699 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3701 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3702 * gdb.arch/i386-prologue.exp: Likewise.
3703 * gdb.arch/i386-size.exp: Likewise.
3705 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3707 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3708 define object file path.
3709 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3711 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3712 standard_output_file to define binfile.
3714 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3716 Fix compatibility with recent gfortran-5.3.1.
3717 * gdb.fortran/vla-history.exp (print vla1 allocated)
3718 (print vla2 allocated, print $2, print $3): Remove
3719 (print $4): Rename to ...
3720 (print $2): ... here.
3721 (print $9): Rename to ...
3722 (print $5): ... here.
3723 (print $10): Rename to ...
3724 (print $6): ... here.
3725 * gdb.fortran/vla.f90: Add pvla initialization.
3727 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3729 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3731 * gdb.fortran/vla-value-sub.exp: Likewise.
3733 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3735 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3737 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3739 * i386-biarch-core.exp: Define corefile using
3740 standard_output_file.
3742 2016-02-12 Yao Qi <yao.qi@linaro.org>
3744 * gdb.arch/arm-single-step-kernel-helper.c: New.
3745 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3747 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3749 * gdb.btrace/tailcall-only.exp: New.
3750 * gdb.btrace/tailcall-only.c: New.
3751 * gdb.btrace/x86_64-tailcall-only.S: New.
3752 * gdb.btrace/i686-tailcall-only.S: New.
3754 2016-02-11 Pedro Alves <palves@redhat.com>
3756 * README (Parallel testing): Add missing double quotes.
3758 2016-02-11 Pedro Alves <palves@redhat.com>
3760 * README (Parallel testing): New section.
3761 (GDB_PARALLEL): Rewrite.
3762 (FORCE_PARALLEL): Document.
3764 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3766 * gdb.trace/tfile-avx.c: New test.
3767 * gdb.trace/tfile-avx.exp: New test.
3769 2016-02-09 Keith Seitz <keiths@redhat.com>
3771 PR breakpoints/19546
3772 * gdb.base/infcall-exec.c: New file.
3773 * gdb.base/infcall-exec2.c: New file.
3774 * gdb.base/infcall-exec.exp: New file.
3776 2016-02-09 Keith Seitz <keiths@redhat.com>
3778 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3779 (toplevel): Call test_bkpt_address.
3781 2016-02-09 Keith Seitz <keiths@redhat.com>
3784 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3785 (toplevel): Call test_bkpt_address.
3787 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3789 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3791 * configure: Regenerate.
3793 2016-02-09 Pedro Alves <palves@redhat.com>
3795 PR breakpoints/19548
3796 * gdb.base/execl-update-breakpoints.c (some_function): New
3799 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3800 Tighten expected GDB output.
3802 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3804 * Makefile.in (ALL_SUBDIRS): Remove.
3805 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3806 (distclean maintainer-clean realclean): Likewise.
3807 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3808 * configure: Regenerate.
3809 * gdb.ada/Makefile.in: Delete.
3810 * gdb.arch/Makefile.in: Likewise.
3811 * gdb.asm/Makefile.in: Likewise.
3812 * gdb.base/Makefile.in: Likewise.
3813 * gdb.btrace/Makefile.in: Likewise.
3814 * gdb.cell/Makefile.in: Likewise.
3815 * gdb.compile/Makefile.in: Likewise.
3816 * gdb.cp/Makefile.in: Likewise.
3817 * gdb.disasm/Makefile.in: Likewise.
3818 * gdb.dlang/Makefile.in: Likewise.
3819 * gdb.dwarf2/Makefile.in: Likewise.
3820 * gdb.fortran/Makefile.in: Likewise.
3821 * gdb.gdb/Makefile.in: Likewise.
3822 * gdb.go/Makefile.in: Likewise.
3823 * gdb.guile/Makefile.in: Likewise.
3824 * gdb.java/Makefile.in: Likewise.
3825 * gdb.linespec/Makefile.in: Likewise.
3826 * gdb.mi/Makefile.in: Likewise.
3827 * gdb.modula2/Makefile.in: Likewise.
3828 * gdb.multi/Makefile.in: Likewise.
3829 * gdb.objc/Makefile.in: Likewise.
3830 * gdb.opencl/Makefile.in: Likewise.
3831 * gdb.opt/Makefile.in: Likewise.
3832 * gdb.pascal/Makefile.in: Likewise.
3833 * gdb.perf/Makefile.in: Likewise.
3834 * gdb.python/Makefile.in: Likewise.
3835 * gdb.reverse/Makefile.in: Likewise.
3836 * gdb.server/Makefile.in: Likewise.
3837 * gdb.stabs/Makefile.in: Likewise.
3838 * gdb.threads/Makefile.in: Likewise.
3839 * gdb.trace/Makefile.in: Likewise.
3840 * gdb.xml/Makefile.in: Likewise.
3841 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3843 (standard_output_file): Remove check for GDB_PARALLEL, always
3844 return path in outputs/$subdir/$testname.
3846 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3848 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3849 (site.exp): Assign abs_srcdir to tcl's srcdir.
3851 2016-02-04 Yao Qi <yao.qi@linaro.org>
3853 * gdb.base/foll-exec-mode.c: Include limits.h.
3854 (main): Add parameters argc and argv. Get directory from
3856 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3858 * gdb.base/foll-exec.c: Include limits.h.
3859 (main): Add parameters argc and argv.
3860 Get directory from argv[0].
3861 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3862 Adjust tests on the number of lines as source code changed.
3863 * gdb.base/foll-vfork-exit.c: Include limits.h.
3864 (main): Add one line of statement before vfork.
3865 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3866 (main): Add parameters argc and argv. Get directory from
3868 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3869 (setup_gdb): Set tbreak to skip some source lines.
3870 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3871 (main): Add parameters argc and argv. Get directory from
3873 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3875 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3876 (main): Add parameters argc and argv. Get directory from
3878 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3881 2016-02-01 Doug Evans <dje@google.com>
3883 * gdb.base/skip.exp: Clean up multiple references to same test name.
3885 2016-02-01 Pedro Alves <palves@redhat.com>
3888 * gdb.threads/forking-threads-plus-breakpoint.exp
3889 (displaced_stepping_supported): New global.
3890 (probe_displaced_stepping_support): New procedure.
3891 (do_test): Add 'displaced' parameter, and use it.
3892 (top level): Check for displaced stepping support. Add displaced
3893 stepping on/off testing axis.
3895 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3897 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3898 pointer. Don't perform further tests on the unassociated pointer
3899 if the first test fails.
3901 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3903 * gdb.base/max-value-size.c: New file.
3904 * gdb.base/max-value-size.exp: New file.
3905 * gdb.base/huge.exp: Disable max-value-size for this test.
3907 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3909 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3911 2016-01-28 Yao Qi <yao.qi@linaro.org>
3913 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3915 2016-01-25 Pedro Alves <palves@redhat.com>
3918 * gdb.base/fork-running-state.c: New file.
3919 * gdb.base/fork-running-state.exp: New file.
3921 2016-01-25 Pedro Alves <palves@redhat.com>
3924 * gdb.base/catch-fork-kill.c: New file.
3925 * gdb.base/catch-fork-kill.exp: New file.
3927 2016-01-25 Pedro Alves <palves@redhat.com>
3929 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3930 Delete, moved to lib/gdb.exp.
3931 * gdb.threads/forking-threads-plus-breakpoint.exp
3932 (foreach_with_prefix): Likewise.
3933 * gdb.threads/process-dies-while-handling-bp.exp
3934 (foreach_with_prefix): Likewise.
3935 * lib/gdb.exp (foreach_with_prefix): New procedure.
3937 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3939 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3940 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3942 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3944 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3947 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3948 Pedro Alves <palves@redhat.com>
3950 Fix testsuite compatibility with Guile.
3951 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
3954 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3956 Fix testsuite compatibility with Guile.
3957 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
3958 (thread 1): New test for backtrace through signal handler.
3960 2016-01-22 Yao Qi <yao.qi@linaro.org>
3963 * gdb.base/multi-forks.c: Include
3964 ../lib/unbuffer_output.c
3965 (main): Call gdb_unbuffer_output.
3967 2016-01-21 Doug Evans <dje@google.com>
3969 * lib/ada.exp (gdb_compile_ada): Fix typo.
3971 2016-01-21 Joel Brobecker <brobecker@adacore.com>
3973 * gdb.base/break-fun-addr.exp: New file.
3974 * gdb.base/break-fun-addr1.c: New file.
3975 * gdb.base/break-fun-addr2.c: New file.
3977 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
3979 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
3980 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
3983 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3985 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
3986 when GDB can not set the vector return value. Add more comments
3989 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
3991 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
3994 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3996 * Makefile.in (DO_RUNTEST): Add --status and update usages.
3998 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4000 * Makefile.in (check-single): Pass --status to runtest.
4001 (check/%.exp): Likewise.
4003 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4005 * Makefile.in (check-parallel): Propagate return code from make
4008 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4010 * gdb.trace/ftrace.exp: Fix expected message on continue.
4011 * gdb.trace/pending.exp: Fix expected message on continue.
4012 * gdb.trace/trace-break.exp: Fix expected message on continue.
4014 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4016 * lib/gdb.exp (gdb_test): Remove unused global references.
4018 2016-01-18 Pedro Alves <palves@redhat.com>
4020 * gdb.base/async-shell.exp: Adjust expected output.
4021 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4022 * gdb.base/siginfo-thread.exp: Adjust expected output.
4023 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4024 * gdb.java/jnpe.exp: Adjust expected output.
4025 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4026 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4027 * gdb.threads/leader-exit.exp: Adjust expected output.
4028 * gdb.threads/manythreads.exp: Adjust expected output.
4029 * gdb.threads/pthreads.exp: Adjust expected output.
4030 * gdb.threads/schedlock.exp: Adjust expected output.
4031 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4032 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4034 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4036 * gdb.threads/sigthread.exp: Adjust expected output.
4037 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4039 2016-01-18 Yao Qi <yao.qi@linaro.org>
4041 * gdb.guile/scm-section-script.c: Replace @progbits with
4043 * gdb.python/py-section-script.c: Likewise.
4045 2016-01-15 Pedro Alves <palves@redhat.com>
4047 * gdb.multi/tids.exp: Test star wildcard ranges.
4049 2016-01-15 Pedro Alves <palves@redhat.com>
4051 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4052 command from "thread apply" invocation.
4053 (thr_apply_info_thr_invalid): Default the expected output to the
4055 (top level): Add tests that use convenience variables. Add tests
4056 for "thread apply" with a valid TID list, but missing the command.
4058 2016-01-13 Pedro Alves <palves@redhat.com>
4060 * gdb.base/default.exp: Expect $_gthread as well.
4061 * gdb.multi/tids.exp: Test $_gthread.
4062 * gdb.threads/thread-specific.exp: Test $_gthread.
4064 2016-01-13 Pedro Alves <palves@redhat.com>
4066 * gdb.multi/tids.exp: Test "info threads -gid".
4068 2016-01-13 Pedro Alves <palves@redhat.com>
4070 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4072 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4074 2016-01-07 Pedro Alves <palves@redhat.com>
4076 * gdb.base/break.exp: Adjust to output changes.
4077 * gdb.base/hbreak2.exp: Likewise.
4078 * gdb.base/sepdebug.exp: Likewise.
4079 * gdb.base/watch_thread_num.exp: Likewise.
4080 * gdb.linespec/keywords.exp: Likewise.
4081 * gdb.multi/info-threads.exp: Likewise.
4082 * gdb.threads/thread-find.exp: Likewise.
4083 * gdb.multi/tids.c: New file.
4084 * gdb.multi/tids.exp: New file.
4086 2016-01-13 Pedro Alves <palves@redhat.com>
4088 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4090 2016-01-13 Pedro Alves <palves@redhat.com>
4092 * gdb.base/default.exp: Expect $_inferior as well.
4093 * gdb.multi/base.exp: Test $_inferior.
4095 2016-01-13 Pedro Alves <palves@redhat.com>
4097 PR breakpoints/19388
4098 * gdb.base/catch-signal-siginfo-cond.c: New file.
4099 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4101 2016-01-12 Josh Stone <jistone@redhat.com>
4102 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4104 * gdb.base/catch-syscall.c (do_execve): New variable.
4105 (main): Conditionally trigger an execve.
4106 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4107 (test_catch_syscall_execve): New, check entry/return across execve.
4108 (do_syscall_tests): Call test_catch_syscall_execve.
4110 2016-01-12 Pedro Alves <palves@redhat.com>
4112 * gdb.base/random-signal.exp (do_test): New procedure, with body
4113 of testcase moved in.
4115 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4116 Pedro Alves <palves@redhat.com>
4118 * gdb.base/funcargs.exp (finish from indirectly called function):
4119 Reintroduce the case for 'First'.
4121 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4122 Pedro Alves <palves@redhat.com>
4124 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4125 (tcatch_vfork_then_child_follow_exec)
4126 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4129 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4131 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4132 and repeats to unlimited.
4133 * gdb.python/py-value.exp: Likewise.
4134 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4135 and repeats to unlimited.
4137 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4139 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4140 and reordering the functions.
4141 * gdb.multi/hangout.c: Likewise.
4142 * gdb.multi/hello.c: Likewise.
4144 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4146 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4148 (SingleStatisticTestResult.report): Use dict.keys instead of
4151 2016-01-06 Pedro Alves <palves@redhat.com>
4153 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4155 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4157 * gdb.btrace/dlopen.exp: New.
4158 * gdb.btrace/dlopen.c: New.
4159 * gdb.btrace/dlopen-dso.c: New.
4161 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4163 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4164 PATTERN argument is optional.
4166 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4168 * lib/ada.exp (target_compile_ada_from_dir): New function.
4169 (gdb_compile_ada): Reimplement avoiding the use of project files.
4170 * gdb.ada/gnat_ada.gpr: Delete.
4171 * gdb.ada/cond_lang.exp: Adjust test to make path before
4173 * gdb.ada/small_reg_param.exp: Likewise.
4175 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4177 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4179 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4181 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4184 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4186 * gdb.base/break.exp: Remove dead code.
4187 * gdb.base/sepdebug.exp: Likewise.
4189 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4191 * gdb.asm/asm-source.exp: Remove HP-UX references.
4192 * gdb.base/annota1.exp: Likewise.
4193 * gdb.base/annota3.exp: Likewise.
4194 * gdb.base/attach.exp: Likewise.
4195 * gdb.base/bigcore.exp: Likewise.
4196 * gdb.base/break.exp: Likewise.
4197 * gdb.base/call-ar-st.exp: Likewise.
4198 * gdb.base/callfuncs.exp: Likewise.
4199 * gdb.base/catch-fork-static.exp: Likewise.
4200 * gdb.base/display.exp: Likewise.
4201 * gdb.base/foll-exec-mode.exp: Likewise.
4202 * gdb.base/foll-exec.exp: Likewise.
4203 * gdb.base/foll-fork.exp: Likewise.
4204 * gdb.base/foll-vfork.exp: Likewise.
4205 * gdb.base/funcargs.exp: Likewise.
4206 * gdb.base/hbreak2.exp: Likewise.
4207 * gdb.base/inferior-died.exp: Likewise.
4208 * gdb.base/interrupt.exp: Likewise.
4209 * gdb.base/multi-forks.exp: Likewise.
4210 * gdb.base/nodebug.exp: Likewise.
4211 * gdb.base/sepdebug.exp: Likewise.
4212 * gdb.base/solib1.c: Likewise.
4213 * gdb.base/step-test.exp: Likewise.
4214 * gdb.mi/non-stop.c: Likewise.
4215 * gdb.mi/pthreads.c: Likewise.
4216 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4217 * gdb.threads/pthreads.c: Likewise.
4218 * gdb.threads/staticthreads.exp: Likewise.
4219 * lib/future.exp: Likewise.
4220 * lib/gdb.exp: Likewise.
4221 * gdb.base/so-indr-cl.c: Remove.
4222 * gdb.base/so-indr-cl.exp: Likewise.
4223 * gdb.base/solib.c: Likewise.
4224 * gdb.base/solib.exp: Likewise.
4225 * gdb.base/solib2.c: Likewise.
4227 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4229 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4230 * gdb.base/call-ar-st.exp: Likewise.
4231 * gdb.base/callfuncs.exp: Likewise.
4232 * gdb.base/condbreak.exp: Likewise.
4233 * gdb.base/constvars.exp: Likewise.
4234 * gdb.base/hbreak2.exp: Likewise.
4235 * gdb.base/langs.exp: Likewise.
4236 * gdb.base/list.exp: Likewise.
4237 * gdb.base/long_long.exp: Likewise.
4238 * gdb.base/ptype.exp: Likewise.
4239 * gdb.base/scope.exp: Likewise.
4240 * gdb.base/signals.exp: Likewise.
4241 * gdb.base/so-impl-ld.exp: Likewise.
4242 * gdb.base/varargs.exp: Likewise.
4243 * gdb.base/volatile.exp: Likewise.
4244 * gdb.base/whatis.exp: Likewise.
4245 * gdb.cp/cplusfuncs.exp: Likewise.
4246 * gdb.cp/inherit.exp: Likewise.
4247 * gdb.cp/local.exp: Likewise.
4248 * gdb.cp/member-ptr.exp: Likewise.
4249 * gdb.cp/method.exp: Likewise.
4250 * gdb.cp/overload.exp: Likewise.
4251 * gdb.cp/templates.exp: Likewise.
4252 * gdb.stabs/weird.exp: Likewise.
4253 * lib/compiler.c: Likewise.
4254 * lib/compiler.cc: Likewise.
4255 * lib/cp-support.exp: Likewise.
4256 * lib/gdb.exp: Likewise.
4258 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4260 * configure.ac: Remove HP-UX case.
4261 * configure: Regenerate.
4263 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4265 * lib/gdb.exp (gdb_compile): Add function doc.
4267 2015-12-17 Pedro Alves <palves@redhat.com>
4270 * gdb.multi/info-threads.exp: New file.
4272 2015-12-15 Yao Qi <yao.qi@linaro.org>
4274 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4277 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4279 * gdb.base/history-duplicates.exp: Skip if no readline support.
4281 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4283 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4285 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4287 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4289 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4291 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4292 ctrl-C if nointerrupts target property is set.
4293 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4294 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4295 * gdb.base/paginate-bg-execution.exp: Likewise.
4296 * gdb.base/paginate-execution-startup.exp: Likewise.
4297 * gdb.base/random-signal.exp: Likewise.
4298 * gdb.base/range-stepping.exp: Likewise.
4299 * gdb.cp/annota2.exp: Likewise.
4300 * gdb.cp/annota3.exp: Likewise.
4301 * gdb.gdb/selftest.exp: Likewise.
4302 * gdb.threads/continue-pending-status.exp: Likewise.
4303 * gdb.threads/leader-exit.exp: Likewise.
4304 * gdb.threads/manythreads.exp: Likewise.
4305 * gdb.threads/pthreads.exp: Likewise.
4306 * gdb.threads/schedlock.exp: Likewise.
4307 * gdb.threads/sigthread.exp: Likewise.
4309 2015-12-11 Don Breazeal <donb@codesourcery.com>
4311 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4313 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4314 * gdb.base/foll-exec.exp (main): Enable for target remote.
4315 * gdb.base/foll-fork.exp (main): Likewise.
4316 * gdb.base/foll-vfork.exp (main): Likewise.
4317 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4318 (proc continue_to_exit_bp_loc): Use clean_restart.
4319 * gdb.base/pie-execl.exp (main): Disable for target remote.
4320 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4321 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4322 * gdb.threads/execl.exp (main): Likewise.
4323 * gdb.threads/fork-child-threads.exp (main): Likewise.
4324 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4326 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4328 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4329 pid.tid style ptids, instead of just tid.
4330 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4331 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4332 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4333 ptids, instead of just tid.
4335 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4337 * gdb.base/list.exp (test_list_forward): Add end of file error
4339 (test_repeat_list_command): Add end of file error test.
4340 (test_list_backwards): Add beginning of file error test.
4342 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4344 * gdb.base/list.exp (test_list_invalid_args): New function,
4345 defined, and called.
4347 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4349 * gdb.base/list.exp (test_list): Make test names unique.
4351 2015-12-11 Yao Qi <yao.qi@linaro.org>
4353 * gdb.base/coremaker2.c: Remove.
4355 2015-12-10 Pedro Alves <palves@redhat.com>
4357 * gdb.multi/base.exp: Remove stale "spaces" references.
4359 2015-12-10 Pedro Alves <palves@redhat.com>
4361 * gdb.multi/base.exp: Don't use nowarnings.
4362 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4363 * gdb.multi/hangout.c: Include stdio.h.
4364 * gdb.multi/hello.c: Include stdlib.h.
4365 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4366 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4367 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4369 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4371 * gdb.dwarf2/dw2-ranges-base.c: New file.
4372 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4373 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4374 support additional line table, and debug ranges generation.
4375 (Dwarf::ranges): New function, generate .debug_ranges.
4376 (Dwarf::lines): Support generating simple line table programs.
4377 (Dwarf::assemble): Initialise new namespace variables.
4379 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4381 * gdb.base/async.exp (proc test_background): Add case for
4382 asynchronous execution not supported.
4384 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4386 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4387 format and change test names to make them unique.
4389 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4390 Pedro Alves <pedro@redhat.com>
4393 Add checking of floatformats setup on x86_64 hosts.
4394 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4395 (smallval, bigval): New labels/constants.
4396 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4397 float" after loading bigval and smallval.
4399 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4401 * gdb.ada/fun_overload_menu.exp: New testcase.
4402 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4404 2015-12-04 Josh Stone <jistone@redhat.com>
4406 * gdb.base/catch-fork-static.exp: New.
4408 2015-12-03 Yao Qi <yao.qi@linaro.org>
4410 * gdb.base/sizeof.c: Don't include stdio.h and
4411 ../lib/unbuffer_output.c.
4412 (main): New variable 'size' and 'value'. Remove printf and
4413 gdb_unbuffer_output. Assign return value to size and value.
4414 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4416 (check_sizeof): Check the result by printing variable 'size'.
4417 (check_valueof): Check the result by printing variable 'value'.
4419 2015-12-01 Yao Qi <yao.qi@linaro.org>
4421 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4422 for aarch64*-*-linux* target.
4424 2015-11-30 Pedro Alves <palves@redhat.com>
4426 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4428 2015-11-30 Pedro Alves <palves@redhat.com>
4430 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4431 Handle non-stop mode vCont replies.
4433 2015-11-30 Pedro Alves <palves@redhat.com>
4435 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4436 prepare_for_testing. Start gdb with "set non-stop on" appended to
4437 GDBFLAGS. Lax expected stop output.
4439 2015-11-27 Yao Qi <yao.qi@linaro.org>
4441 * gdb.arch/arm-neon.exp: New.
4442 * gdb.arch/arm-neon.c: New.
4444 2015-11-27 Yao Qi <yao.qi@linaro.org>
4446 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4448 2015-11-27 Yao Qi <yao.qi@linaro.org>
4450 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4451 frames-invalid annotation.
4453 2015-11-27 Yao Qi <yao.qi@linaro.org>
4455 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4457 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4459 * gdb.threads/names.exp: New file.
4460 * gdb.threads/names.c: New file.
4461 * README: Mention gdb,no_thread_names.
4463 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4466 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4469 2015-11-24 Pedro Alves <palves@redhat.com>
4472 * gdb.base/display.exp: Expect displays to be sorted in ascending
4473 order. Use multi_line.
4474 * gdb.base/solib-display.exp: Likewise.
4476 2015-11-24 Pedro Alves <palves@redhat.com>
4479 * gdb.base/display.exp: Expect displays to be sorted in ascending
4480 order. Use multi_line.
4481 * gdb.base/solib-display.exp: Likewise.
4483 2015-11-24 Pedro Alves <palves@redhat.com>
4486 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4487 threads in ascending order.
4488 * gdb.base/foll-fork.exp: Likewise.
4489 * gdb.base/foll-vfork.exp: Likewise.
4490 * gdb.base/multi-forks.exp: Likewise.
4491 * gdb.mi/mi-nonstop.exp: Likewise.
4492 * gdb.mi/mi-nsintrall.exp: Likewise.
4493 * gdb.multi/base.exp: Likewise.
4494 * gdb.multi/multi-arch.exp: Likewise.
4495 * gdb.python/py-inferior.exp: Likewise.
4496 * gdb.threads/break-while-running.exp: Likewise.
4497 * gdb.threads/execl.exp: Likewise.
4498 * gdb.threads/gcore-thread.exp: Likewise.
4499 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4500 * gdb.threads/kill.exp: Likewise.
4501 * gdb.threads/linux-dp.exp: Likewise.
4502 * gdb.threads/multiple-step-overs.exp: Likewise.
4503 * gdb.threads/next-bp-other-thread.exp: Likewise.
4504 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4505 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4506 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4507 * gdb.threads/thread-find.exp: Likewise.
4508 * gdb.threads/tls.exp: Likewise.
4509 * lib/mi-support.exp (mi_reverse_list): Delete.
4510 (mi_check_thread_states): No longer reverse list.
4512 2015-11-24 Pedro Alves <palves@redhat.com>
4514 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4517 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4519 * gdb.trace/actions.c: Include trace-common.h.
4520 (main): Add a location for a fast tracepoint.
4521 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4522 the normal tracepoints.
4523 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4525 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4527 * save-trace.exp: Factor out code to these...
4528 (gdb_save_tracepoints): New.
4529 (gdb_load_tracepoints): New.
4530 (do_save_load_test): New.
4532 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4534 * gdb.base/asmlabel.exp: New test.
4535 * gdb.base/asmlabel.c: New test case.
4537 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4539 * gdb.base/wrong_frame_bt_full-main.c: New file.
4540 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4541 * gdb.base/wrong_frame_bt_full.exp: New file.
4543 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4545 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4547 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4549 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4550 pstate register when comparing registers values in
4551 sparc64-*-linux-gnu targets to avoid spurious differences.
4553 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4555 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4557 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4559 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4560 as type argument to gdb_compile.
4561 * gdb.base/nested-subp2.exp: Likewise.
4562 * gdb.base/nested-subp3.exp: Likewise.
4564 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4566 * lib/dwarf.exp (_note): Fix left shift of negative value.
4567 * gdb.trace/trace-condition.exp: Likewise.
4569 2015-11-13 Yao Qi <yao.qi@linaro.org>
4571 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4572 comments about d10v.
4573 (test_scalar_returns): Likewise.
4574 * gdb.base/d10v.ld: Remove.
4575 * gdb.base/overlays.exp: Remove the target triplet checking for
4577 * gdb.base/structs.exp (test_struct_returns): Remove the
4578 comments about d10v.
4579 (test_struct_calls): Likewise.
4581 2015-11-13 Yao Qi <yao.qi@linaro.org>
4583 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4584 * gdb.base/gnu_vector.c: Don't include stdio.h.
4585 (main): Don't print res and call add_some_intvecs.
4587 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4589 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4592 (func4): Use FAST_TRACEPOINT_LABEL.
4593 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4596 (thread_function): Use FAST_TRACEPOINT_LABEL.
4597 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4599 (marker): Use FAST_TRACEPOINT_LABEL.
4600 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4601 (pendfunc1): Remove.
4602 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4603 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4605 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4606 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4609 (marker): Use FAST_TRACEPOINT_LABEL.
4610 * gdb.trace/trace-common.h: New header.
4611 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4614 (marker): Use FAST_TRACEPOINT_LABEL.
4615 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4617 (thread_function): Use FAST_TRACEPOINT_LABEL.
4619 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4621 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4623 * gdb.trace/change-loc.exp: Use global pcreg definition.
4624 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4625 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4627 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4628 * gdb.trace/pending.exp: Likewise.
4629 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4630 * gdb.trace/trace-break.exp: Likewise.
4631 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4633 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4634 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4636 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4638 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4640 * gdb.ada/fin_fun_out: New testcase.
4642 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4644 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4645 value associated with DW_AT_byte_size.
4646 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4647 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4650 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4652 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4653 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4655 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4656 gdb.dwarf2/dw2-canonicalize-type.exp,
4657 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4658 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4659 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4660 provided by gdb_target_symbol_prefix_flags_asm.
4661 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4662 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4663 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4664 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4665 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4666 macros where needed). Use this macro for symbols which require
4667 the prefix provided by SYMBOL_PREFIX.
4669 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4671 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4673 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4674 representing expressions, of more than one list element.
4675 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4676 to prepend linker symbol prefix to f.
4677 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4678 table_1 and table_2.
4679 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4680 Likewise, for f and g.
4681 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4683 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4685 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4686 table_1_ptr and table_2_ptr.
4688 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4689 Joel Brobecker <brobecker@adacore.com>
4691 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4693 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4695 * gdb.reverse/s390-mvcle.c: New test.
4696 * gdb.reverse/s390-mvcle.exp: New file.
4697 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4699 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4701 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4703 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4705 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4707 * gdb.reverse/getresuid-reverse.exp: Likewise.
4708 * gdb.reverse/pipe-reverse.exp: Likewise.
4709 * gdb.reverse/readv-reverse.exp: Likewise.
4710 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4711 * gdb.reverse/time-reverse.exp: Likewise.
4712 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4714 2015-10-30 Yao Qi <yao.qi@linaro.org>
4716 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4717 (empty_cycle): Remove.
4718 (main): Don't call empty_cycle. Don't use watch_count_done.
4719 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4720 empty_cycle. Rewrite the code counting HW watchpoints.
4722 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4724 * gdb.reverse/fstatat-reverse.c: New test.
4725 * gdb.reverse/fstatat-reverse.exp: New file.
4726 * gdb.reverse/getresuid-reverse.c: New test.
4727 * gdb.reverse/getresuid-reverse.exp: New file.
4728 * gdb.reverse/pipe-reverse.c: New test.
4729 * gdb.reverse/pipe-reverse.exp: New file.
4730 * gdb.reverse/readv-reverse.c: New test.
4731 * gdb.reverse/readv-reverse.exp: New file.
4732 * gdb.reverse/recvmsg-reverse.c: New test.
4733 * gdb.reverse/recvmsg-reverse.exp: New file.
4734 * gdb.reverse/time-reverse.c: New test.
4735 * gdb.reverse/time-reverse.exp: New file.
4736 * gdb.reverse/waitpid-reverse.c: New test.
4737 * gdb.reverse/waitpid-reverse.exp: New file.
4739 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4741 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4743 2015-10-26 Doug Evans <dje@google.com>
4746 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4747 * gdb.dwarf2/bad-regnum.c: New file.
4748 * gdb.dwarf2/bad-regnum.exp: New file.
4750 2015-10-26 Doug Evans <dje@google.com>
4753 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4756 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4758 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4759 for a change by "Mention language in compile error message".
4761 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4764 * gdb.python/py-type.c (C::a_method): New.
4765 (C::a_const_method): New.
4766 (C::a_static_method): New.
4768 * gdb.python/py-type.exp (test_fields): Test getting fields
4769 from function and method.
4771 2015-10-21 Keven Boell <keven.boell@intel.com>
4773 * gdb.fortran/vla-alloc-assoc.exp: New file.
4774 * gdb.fortran/vla-datatypes.exp: New file.
4775 * gdb.fortran/vla-datatypes.f90: New file.
4776 * gdb.fortran/vla-history.exp: New file.
4777 * gdb.fortran/vla-ptype-sub.exp: New file.
4778 * gdb.fortran/vla-ptype.exp: New file.
4779 * gdb.fortran/vla-sizeof.exp: New file.
4780 * gdb.fortran/vla-sub.f90: New file.
4781 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4782 * gdb.fortran/vla-value-sub-finish.exp: New file.
4783 * gdb.fortran/vla-value-sub.exp: New file.
4784 * gdb.fortran/vla-value.exp: New file.
4785 * gdb.fortran/vla-ptr-info.exp: New file.
4786 * gdb.mi/mi-vla-fortran.exp: New file.
4787 * gdb.mi/vla.f90: New file.
4789 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4791 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4792 of hardwired timeout value.
4794 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4795 Pedro Alves <palves@redhat.com>
4797 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4798 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4800 2015-10-19 Josh Stone <jistone@redhat.com>
4802 * gdb.base/catch-syscall.c: Include <sched.h>.
4803 (unknown_syscall): New variable.
4804 (main): Trigger a vfork and an unknown syscall.
4805 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4806 (unknown_syscall_number): Likewise.
4807 (check_call_to_syscall): Accept an optional syscall pattern.
4808 (check_return_from_syscall): Likewise.
4809 (check_continue): Likewise.
4810 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4811 (test_catch_syscall_skipping_return): New test toggling off 'catch
4812 syscall' to step over the syscall return, then toggling back on.
4813 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4814 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4815 (do_syscall_tests): Call test_catch_syscall_without_args and
4816 test_catch_syscall_mid_vfork.
4817 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4818 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4820 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4822 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4823 print g_vE): Add new pass patterns.
4824 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4825 print various symbol names for vptr fields.
4827 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4829 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4832 2015-10-12 Yao Qi <yao.qi@linaro.org>
4834 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4836 2015-10-12 Yao Qi <yao.qi@linaro.org>
4838 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4839 is aarch64*-*-linux*.
4841 2015-10-12 Yao Qi <yao.qi@linaro.org>
4843 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4844 (can_relocate_bcond_true): ... it.
4845 (can_relocate_bcond_false): New function.
4847 (can_relocate_bl): Likewise.
4848 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4851 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4853 * gdb.base/nested-addr.c: New file.
4854 * gdb.base/nested-addr.exp: New testcase.
4856 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4858 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4859 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4860 its output. Ignore the output of "record goto begin" and instead
4861 check that GDB is replaying.
4863 2015-10-09 Pedro Alves <palves@redhat.com>
4865 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4866 (top level): Use it in the run with no args test.
4868 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4870 * gdb.dlang/properties.exp: New file.
4872 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4874 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4875 whether or not address 0x1000 is mapped on the target.
4877 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4879 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4882 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4884 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4885 instruction-history test.
4887 2015-09-28 Doug Evans <dje@google.com>
4889 * gdb.base/gcore.c (array_func): Add reference to static_array.
4891 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4893 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4896 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4898 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4899 short or char as base type.
4901 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4903 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4904 to allow any size enum.
4906 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4908 * gdb.ada/array_ptr_renaming.exp: New testcase.
4909 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4910 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4912 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4914 * gdb.trace/ftrace-lock.c: New file.
4915 * gdb.trace/ftrace-lock.exp: New file.
4917 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4919 * gdb.arch/insn-reloc.c: New file.
4920 * gdb.arch/ftrace-insn-reloc.exp: New file.
4922 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4924 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4926 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4927 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4928 * gdb.trace/range-stepping.c: Likewise.
4929 * gdb.trace/trace-break.c: Likewise.
4930 * gdb.trace/trace-mt.c (thread_function): Likewise.
4931 * gdb.trace/ftrace.c (marker): Likewise.
4932 * gdb.trace/trace-condition.c (marker): Likewise.
4933 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4934 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4937 2015-09-18 Doug Evans <xdje42@gmail.com>
4939 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4940 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4942 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4944 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4947 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4949 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4950 the pending breakpoint. Remove timeout override for "Run till
4951 MI pending breakpoint on pendfunc3 on thread 2" test.
4953 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4955 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
4958 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4960 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
4961 in breakpoint filename pattern.
4963 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4965 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
4967 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4969 * gdb.linespec/explicit.exp: Check for readline support for
4970 tab-completion tests. Fix obvious typo.
4972 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4974 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
4977 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4979 * gdb.btrace/non-stop.c: New.
4980 * gdb.btrace/non-stop.exp: New.
4982 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
4983 Yao Qi <yao.qi@linaro.org>
4985 * gdb.trace/trace-condition.c: New file.
4986 * gdb.trace/trace-condition.exp: New file.
4988 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
4990 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
4991 for testing bytecode compilation.
4993 2015-09-16 Pedro Alves <palves@redhat.com>
4994 Sandra Loosemore <sandra@codesourcery.com>
4996 * gdb.threads/non-stop-fair-events.c (timeout): New global.
4997 (SECONDS): Redefine.
4998 (main): Call pthread_kill and alarm early.
4999 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5001 (test): If the target can't hardware step and doesn't support
5002 displaced stepping, increase the timeout.
5004 2015-09-16 Pedro Alves <palves@redhat.com>
5006 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5007 (enable_debug): New procedures.
5008 (test): Use them. Bail out if waiting for threads fails.
5009 (top level): Bail out if a test fails.
5011 2015-09-16 Yao Qi <yao.qi@linaro.org>
5013 * gdb.asm/asm-source.exp: Set asm-arch for
5014 aarch64*-*-* target.
5015 * gdb.asm/aarch64.inc: New file.
5017 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5019 * gdb.ada/array_of_variable_length.exp: New testcase.
5020 * gdb.ada/array_of_variable_length/foo.adb: New file.
5021 * gdb.ada/array_of_variable_length/pck.adb: New file.
5022 * gdb.ada/array_of_variable_length/pck.ads: New file.
5024 2015-09-15 Doug Evans <dje@google.com>
5026 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5027 of function static local variable.
5029 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5031 * gdb.threads/tls-so_extern.exp: New test file.
5032 * gdb.threads/tls-so_extern.c: New test file.
5033 * gdb.threads/tls-so_extern_main.c: New test file.
5035 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5037 * gdb.opt/solib-intra-step-lib.c: New file.
5038 * gdb.opt/solib-intra-step-main.c: New file.
5039 * gdb.opt/solib-intra-step.exp: New file.
5041 2015-09-15 Pedro Alves <palves@redhat.com>
5043 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5044 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5046 2015-09-14 Pedro Alves <palves@redhat.com>
5048 * gdb.base/hook-stop-continue.c: Delete.
5049 * gdb.base/hook-stop-continue.exp: Delete.
5050 * gdb.base/hook-stop-frame.c: Delete.
5051 * gdb.base/hook-stop-frame.exp: Delete.
5052 * gdb.base/hook-stop.c: New file.
5053 * gdb.base/hook-stop.exp: New file.
5055 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5057 * gdb.ada/access_to_packed_array.exp: New testcase.
5058 * gdb.ada/access_to_packed_array/foo.adb: New file.
5059 * gdb.ada/access_to_packed_array/pack.adb: New file.
5060 * gdb.ada/access_to_packed_array/pack.ads: New file.
5062 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5064 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5067 2015-09-11 Don Breazeal <donb@codesourcery.com>
5069 * gdb.base/foll-exec.c: Add copyright header. Fix
5071 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5072 (do_exec_tests): Use clean_restart in place of zap_session,
5073 and for test initialization. Fix formatting issues. Use
5074 fail in place of perror.
5075 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5076 an expect statement to match an expression with output from
5077 the program under debug.
5078 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5079 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5080 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5081 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5082 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5084 2015-09-09 Doug Evans <dje@google.com>
5086 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5088 2015-09-09 Doug Evans <dje@google.com>
5090 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5092 2015-09-09 Doug Evans <dje@google.com>
5094 * gdb.base/savedregs.exp: Fix typo.
5096 2015-09-09 Pedro Alves <palves@redhat.com>
5098 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5100 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5102 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5103 command actually switches threads. Give up on remaining
5104 tests if target fails to stop at breakpoint.
5106 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5108 * gdb.ada/funcall_char.exp: New testcase.
5109 * gdb.ada/funcall_char/foo.adb: New file.
5111 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5113 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5114 expected outputs. Add two testcases for completing ambiguous
5116 * gdb.ada/complete/aux_pck.adb: New file.
5117 * gdb.ada/complete/aux_pck.ads: New file.
5118 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5119 Ambiguous_Func functions.
5120 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5121 * gdb.ada/complete/pck.adb: Likewise.
5123 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5125 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5126 failures to run the test program under GDB.
5128 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5130 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5133 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5135 * gdb.base/run-after-attach.exp: New test file.
5136 * gdb.base/run-after-attach.c: New test file.
5138 2015-08-26 Don Breazeal <donb@codesourcery.com>
5140 * gdb.base/foll-exec-2.c: New test program.
5141 * gdb.base/foll-exec-2.exp: New test.
5143 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5145 * gdb.base/nested-subp1.exp: New file.
5146 * gdb.base/nested-subp1.c: New file.
5147 * gdb.base/nested-subp2.exp: New file.
5148 * gdb.base/nested-subp2.c: New file.
5149 * gdb.base/nested-subp3.exp: New file.
5150 * gdb.base/nested-subp3.c: New file.
5152 2015-08-24 Pedro Alves <palves@redhat.com>
5154 * gdb.server/connect-without-multi-process.c: New file.
5155 * gdb.server/connect-without-multi-process.exp: New file.
5157 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5159 * gdb.opt/inline-markers.c: Make z int.
5161 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5163 * gdb.opt/inline-markers.c: Make z volatile.
5165 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5167 * gdb.opt/inline-bt.c: New volatile global z.
5168 * gdb.opt/inline-cmds.c: Likewise.
5169 * gdb.opt/inline-locals.c: Likewise.
5170 * gdb.opt/inline-markers.c: New extern global z.
5172 (inline_fn): Likewise.
5174 2015-08-24 Pedro Alves <palves@redhat.com>
5176 * config/m32r-stub.exp: Remove file.
5177 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5178 * gdb.base/call-rt-st.exp: Likewise.
5179 * gdb.base/call-strs.exp: Likewise.
5180 * gdb.base/default.exp: Remove references to h8300-*-hms and
5182 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5184 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5186 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5187 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5188 and "return" use KFAIL when GDB can not read/write the vector
5191 2015-08-21 Gary Benson <gbenson@redhat.com>
5193 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5195 2015-08-20 Pedro Alves <palves@redhat.com>
5197 * gdb.server/solib-list.exp: No longer expect an interior stop in
5200 2015-08-20 Pedro Alves <palves@redhat.com>
5202 * gdb.server/connect-stopped-target.c: New file.
5203 * gdb.server/connect-stopped-target.exp: New file.
5205 2015-08-20 Pedro Alves <palves@redhat.com>
5207 * gdb.dwarf2/comp-unit-lang.exp: New file.
5208 * gdb.dwarf2/comp-unit-lang.c: New file.
5210 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5212 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5213 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5215 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5217 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5218 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5220 2015-08-18 Doug Evans <dje@google.com>
5221 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5223 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5224 skip_python_tests. New arg prompt_regexp.
5225 (skip_python_tests): New function.
5226 * lib/mi-support.exp (mi_skip_python_tests): New function.
5227 * gdb.python/py-mi-objfile-gdb.py: New file.
5228 * gdb.python/py-mi-objfile.c: New file.
5229 * gdb.python/py-mi-objfile.exp: New file.
5231 2015-08-17 Keith Seitz <keiths@redhat.com>
5233 * gdb.linespec/explicit.exp: Move strace test from here ...
5234 * gdb.trace/strace.exp: ... to here.
5236 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5238 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5239 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5241 2015-08-14 Doug Evans <xdje42@gmail.com>
5243 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5244 inferior before selecting a new file.
5246 2015-08-14 Doug Evans <xdje42@gmail.com>
5248 * gdb.mi/mi-disassemble.exp: Update.
5249 * gdb.base/disasm-optim.S: New file.
5250 * gdb.base/disasm-optim.c: New file.
5251 * gdb.base/disasm-optim.h: New file.
5252 * gdb.base/disasm-optim.exp: New file.
5254 2015-08-14 Keith Seitz <keiths@redhat.com>
5256 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5259 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5261 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5263 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5265 * gdb.ada/fun_renaming.exp: New testcase.
5266 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5267 * gdb.ada/fun_renaming/pack.adb: New file.
5268 * gdb.ada/fun_renaming/pack.ads: New file.
5270 2015-08-12 Keith Seitz <keiths@redhat.com>
5272 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5273 gdb_get_line_number.
5275 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5277 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5278 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5279 gdb.base/dso2dso.exp: New files.
5281 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5282 Pedro Alves <palves@redhat.com>
5283 Keith Seitz <keiths@redhat.com>
5285 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5288 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5290 * gdb.base/gdbhistsize-history.exp
5291 (test_histsize_history_setting): Use save_vars.
5292 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5294 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5295 * gdb.base/readline.exp: Use save_vars.
5297 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5299 * lib/gdb.exp (save_vars): New proc.
5301 2015-08-11 Keith Seitz <keiths@redhat.com>
5303 * gdb.base/help.exp: Update help_breakpoint_text.
5305 2015-08-11 Keith Seitz <keiths@redhat.com>
5307 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5308 (at toplevel): Call test_explicit_breakpoints.
5309 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5311 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5312 breakpoint conditions, "-cond".
5314 2015-08-11 Keith Seitz <keiths@redhat.com>
5316 * gdb.linespec/3explicit.c: New file.
5317 * gdb.linespec/cpexplicit.cc: New file.
5318 * gdb.linespec/cpexplicit.exp: New file.
5319 * gdb.linespec/explicit.c: New file.
5320 * gdb.linespec/explicit.exp: New file.
5321 * gdb.linespec/explicit2.c: New file.
5322 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5323 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5324 before using in the matching pattern.
5325 Clarify that `prefix' is a regular expression.
5327 2015-08-11 Keith Seitz <keiths@redhat.com>
5329 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5331 Add tests for missing ",FMT" and ",".
5333 2015-08-10 Doug Evans <dje@google.com>
5334 Keith Seitz <keiths@redhat.com>
5337 * gdb.base/completion.exp: Add location completer tests.
5339 2015-08-07 Pedro Alves <palves@redhat.com>
5341 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5343 (top level): Run do_test with and without displaced stepping.
5345 2015-08-07 Pedro Alves <palves@redhat.com>
5347 * gdb.base/valgrind-disp-step.c: New file.
5348 * gdb.base/valgrind-disp-step.exp: New file.
5350 2015-08-07 Pedro Alves <palves@redhat.com>
5352 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5354 (main): Add alarm. Run an infinite loop instead of calling
5356 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5358 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5360 (main): Add alarm. Run an infinite loop instead of calling
5362 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5365 2015-08-07 Pedro Alves <palves@redhat.com>
5367 * gdb.base/checkpoint-ns.exp: New file.
5368 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5371 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5373 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5374 * gdb.btrace/instruction_history.exp: Update.
5375 * gdb.btrace/tsx.exp: New.
5376 * gdb.btrace/tsx.c: New.
5378 2015-08-06 Pedro Alves <palves@redhat.com>
5380 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5382 * gdb.reverse/until-precsave.exp: Bump timeouts.
5384 2015-08-06 Pedro Alves <palves@redhat.com>
5386 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5388 2015-08-06 Pedro Alves <palves@redhat.com>
5391 * gdb.threads/process-dies-while-handling-bp.c: New file.
5392 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5394 2015-08-06 Pedro Alves <palves@redhat.com>
5396 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5397 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5399 2015-08-05 Pedro Alves <palves@redhat.com>
5401 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5402 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5404 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5406 * gdb.base/bp-permanent.exp: Report test as unsupported if
5407 the target cannot stop at the permanent breakpoint.
5409 2015-08-03 Doug Evans <dje@google.com>
5411 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5414 2015-08-03 Doug Evans <dje@google.com>
5416 * Makefile.in (workers/%.worker, build-perf): New rule.
5417 (GDB_PERFTEST_MODE): New variable.
5418 (check-perf): Use it.
5419 (clean): Clean up gdb.perf parallel build subdirs.
5420 * lib/build-piece.exp: New file.
5421 * lib/gdb.exp (make_gdb_parallel_path): New function
5422 (standard_output_file, standard_temp_file): Call it.
5423 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5425 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5427 2015-08-03 Doug Evans <dje@google.com>
5429 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5430 (LOG_FILE_NAME): New global.
5431 (TextReporter.__init__): Initialize self.txt_sum.
5432 (TextReporter.report): Add support for multiple data-points.
5433 Move report to perftest.sum, put raw data in perftest.log.
5434 (TextReporter.start): Open sum and log files.
5435 (TextReporter.end): Close sum and log files.
5436 * gdb.perf/lib/perftest/testresult.py
5437 (SingleStatisticTestResult.record): Handle multiple data-points.
5439 2015-07-31 Pedro Alves <palves@redhat.com>
5441 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5442 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5443 kill_wait_spawned_process instead of explicit "kill -9".
5444 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5445 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5446 kill_wait_spawned_process.
5447 * gdb.base/attach-twice.exp: Likewise.
5448 * gdb.base/attach.exp: Likewise.
5449 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5451 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5452 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5453 kill_wait_spawned_process.
5454 * gdb.base/valgrind-infcall.exp: Likewise.
5455 * gdb.multi/multi-attach.exp: Likewise.
5456 * gdb.python/py-prompt.exp: Likewise.
5457 * gdb.python/py-sync-interp.exp: Likewise.
5458 * gdb.server/ext-attach.exp: Likewise.
5459 * gdb.threads/attach-into-signal.exp (corefunc): Use
5460 spawn_wait_for_attach, spawn_id_get_pid and
5461 kill_wait_spawned_process.
5462 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5463 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5464 spawn_id_get_pid and kill_wait_spawned_process.
5465 * gdb.threads/attach-stopped.exp (corefunc): Use
5466 spawn_wait_for_attach, spawn_id_get_pid and
5467 kill_wait_spawned_process.
5468 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5469 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5470 kill_wait_spawned_process instead of explicit "kill -9".
5471 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5472 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5473 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5474 processes. Don't map cygwin/windows pids here. Now returns a
5477 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5479 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5480 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5483 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5485 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5487 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5490 2014-05-21 Mark Wielaard <mjw@redhat.com>
5492 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5494 2015-07-30 Pedro Alves <palves@redhat.com>
5496 * linux-low.c (handle_extended_wait): Set the child's last
5497 reported status to TARGET_WAITKIND_STOPPED.
5499 2015-07-30 Pedro Alves <palves@redhat.com>
5502 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5503 only shows inferior 1.
5505 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5506 Pedro Alves <palves@redhat.com>
5509 * gdb.threads/fork-plus-threads.c: New file.
5510 * gdb.threads/fork-plus-threads.exp: New file.
5512 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5514 * gdb.base/batch-preserve-term-settings.exp
5515 (test_terminal_settings_preserved_after_cli_exit): Use
5518 2015-07-29 Pedro Alves <palves@redhat.com>
5519 Don Breazeal <donb@codesourcery.com>
5521 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5522 output from both inferior_spawn_id and gdb_spawn_id.
5524 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5526 * gdb.threads/attach-into-signal.exp (corefunc): Use
5527 with_test_prefix on nested loops, uniquefying the test messages.
5529 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5531 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5534 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5536 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5538 (test_terminal_settings_preserved_after_sigterm): New test.
5540 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5542 * gdb.base/batch-preserve-term-settings.exp
5543 (test_terminal_settings_preserved_after_cli_exit): New test.
5545 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5547 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5548 manipulation of saved_gdbflags.
5549 (test_terminal_settings_preserved): Remove global declaration of
5550 the unused variable pagination_prompt. Remove manipulation of
5551 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5554 2015-07-29 Pedro Alves <palves@redhat.com>
5556 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5558 2015-07-29 Pedro Alves <palves@redhat.com>
5560 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5563 2015-07-29 Pedro Alves <palves@redhat.com>
5565 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5566 (main): Call gdb_unbuffer_output.
5567 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5568 (main): Call gdb_unbuffer_output.
5569 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5570 (main): Call gdb_unbuffer_output.
5571 * gdb.base/call-strs.exp: Adjust to step over the
5572 gdb_unbuffer_output call.
5573 * gdb.base/catch-gdb-caused-signals.c: Include
5574 "../lib/unbuffer_output.c".
5575 (main): Call gdb_unbuffer_output.
5576 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5577 (main): Call gdb_unbuffer_output.
5578 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5579 (main): Call gdb_unbuffer_output.
5580 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5581 (main): Call gdb_unbuffer_output.
5582 * gdb.base/shlib-call.exp: Adjust to step over the
5583 gdb_unbuffer_output call.
5584 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5585 (main): Call gdb_unbuffer_output.
5586 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5587 (main): Call gdb_unbuffer_output.
5588 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5589 (main): Rename to ...
5591 (main): Reimplement.
5592 * gdb.base/varargs.exp: Run to test instead of to main.
5593 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5594 (main): Call gdb_unbuffer_output.
5596 2015-07-29 Pedro Alves <palves@redhat.com>
5598 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5599 factore out from mi_continue_dprintf. For call-style dprintfs,
5600 expect dprintf output out of $inferior_spawn_id.
5601 (mi_continue_dprintf): Use mi_expect_dprintf.
5602 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5603 (main): Call gdb_unbuffer_output.
5605 2015-07-29 Pedro Alves <palves@redhat.com>
5607 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5608 (default_mi_gdb_start): Set inferior_spawn_id instead of
5609 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5611 (mi_gdb_test): Always expect inferior output from both
5612 $inferior_spawn_id and $gdb_spawn_id.
5614 2015-07-29 Pedro Alves <palves@redhat.com>
5616 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5617 send_inferior and $inferior_spawn_id.
5619 2015-07-29 Pedro Alves <palves@redhat.com>
5621 * gdb.gdb/complaints.exp (test_initial_complaints)
5622 (test_serial_complaints, test_short_complaints): Use
5624 (test_empty_complaint): Handle $inferior_spawn_id !=
5627 2015-07-29 Pedro Alves <palves@redhat.com>
5629 * gdb.base/varargs.exp: Use gdb_test_stdio.
5631 2015-07-29 Pedro Alves <palves@redhat.com>
5633 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5635 2015-07-29 Pedro Alves <palves@redhat.com>
5637 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5639 2015-07-29 Pedro Alves <palves@redhat.com>
5641 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5642 parameter into two new parameters, "inf_result" and "gdb_result".
5643 Expect inferior output and gdb output from $inferior_spawn_id and
5644 $gdb_spawn_id, respectively. Adjust all callers.
5646 2015-07-29 Pedro Alves <palves@redhat.com>
5648 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5649 of gdb_test_sequence.
5651 2015-07-29 Pedro Alves <palves@redhat.com>
5653 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5654 (saw_spurious_output): Expect inferior output from
5655 $inferior_spawn_id. Use gdb_test_stdio.
5657 2015-07-29 Pedro Alves <palves@redhat.com>
5659 * gdb.base/dprintf.exp: Use standard_testfile. Change
5660 prepare_for_testing call.
5661 (srcfile): Don't set.
5662 (restart): New procedure.
5663 (test_dprintf): New procecure, use to continue over dprintfs.
5664 (test_call, test_agent): New procedures, tests moved here.
5665 Restart gdb and recreate dprintfs. Adjust expected output.
5667 2015-07-29 Pedro Alves <palves@redhat.com>
5669 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5671 2015-07-29 Pedro Alves <palves@redhat.com>
5673 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5675 2015-07-29 Pedro Alves <palves@redhat.com>
5677 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5680 2015-07-29 Pedro Alves <palves@redhat.com>
5682 * lib/gdb.exp (gdb_test_stdio): New procedure.
5684 2015-07-29 Pedro Alves <palves@redhat.com>
5686 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5688 2015-07-29 Pedro Alves <palves@redhat.com>
5690 * gdb.base/call-signal-resume.exp: Remove check for
5691 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5692 * gdb.base/unwindonsignal.exp: Likewise.
5693 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5694 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5696 2015-07-29 Pedro Alves <palves@redhat.com>
5698 * gdb.base/siginfo-addr.c (pass): New function.
5699 (handler): Call it iff si_addr is correct.
5700 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5701 Set a breakpoint at "pass" and continue to it.
5703 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5705 * gdb.python/py-objfile.exp: Make some tests have unique names.
5706 * gdb.python/py-pp-registration.exp: Likewise.
5708 2015-07-28 Pedro Alves <palves@redhat.com>
5710 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5712 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5714 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5716 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5718 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5720 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5722 * gdb.base/gdb-sigterm-2.exp: New test.
5724 2015-07-25 Doug Evans <xdje42@gmail.com>
5727 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5728 (workers/%.worker, build-perf): New rule.
5729 (GDB_PERFTEST_MODE): New variable.
5730 (check-perf): Use it.
5731 (clean): Clean up gdb.perf parallel build subdirs.
5732 * lib/build-piece.exp: New file.
5733 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5734 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5736 (standard_temp_file): Ditto.
5737 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5740 2015-07-24 Doug Evans <dje@google.com>
5742 * gdb.perf/lib/perftest/utils.py: New file.
5743 * gdb.perf/gm-hello.cc: New file.
5744 * gdb.perf/gm-pervasive-typedef.cc: New file.
5745 * gdb.perf/gm-pervasive-typedef.h: New file.
5746 * gdb.perf/gm-std.cc: New file.
5747 * gdb.perf/gm-std.h: New file.
5748 * gdb.perf/gm-use-cerr.cc: New file.
5749 * gdb.perf/gm-utils.h: New file.
5750 * gdb.perf/gmonster-null-lookup.py: New file.
5751 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5752 * gdb.perf/gmonster-print-cerr.py: New file.
5753 * gdb.perf/gmonster-ptype-string.py: New file.
5754 * gdb.perf/gmonster-runto-main.py: New file.
5755 * gdb.perf/gmonster-select-file.py: New file.
5756 * gdb.perf/gmonster1-null-lookup.exp: New file.
5757 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5758 * gdb.perf/gmonster1-print-cerr.exp: New file.
5759 * gdb.perf/gmonster1-ptype-string.exp: New file.
5760 * gdb.perf/gmonster1-runto-main.exp: New file.
5761 * gdb.perf/gmonster1-select-file.exp: New file.
5762 * gdb.perf/gmonster1.cc: New file.
5763 * gdb.perf/gmonster1.exp: New file.
5764 * gdb.perf/gmonster2-null-lookup.exp: New file.
5765 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5766 * gdb.perf/gmonster2-print-cerr.exp: New file.
5767 * gdb.perf/gmonster2-ptype-string.exp: New file.
5768 * gdb.perf/gmonster2-runto-main.exp: New file.
5769 * gdb.perf/gmonster2-select-file.exp: New file.
5770 * gdb.perf/gmonster2.cc: New file.
5771 * gdb.perf/gmonster2.exp: New file.
5773 2015-07-24 Doug Evans <dje@google.com>
5775 * gdb.perf/README: New file.
5776 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5777 * lib/gen-perf-test.exp: New file.
5779 2015-07-24 Doug Evans <dje@google.com>
5781 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5782 (PerfTest::startup): New function.
5783 (PerfTest::run): Return result of calling body.
5784 (PerfTest::assemble): Rewrite.
5785 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5786 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5787 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5788 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5789 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5791 2015-07-24 Doug Evans <dje@google.com>
5793 * lib/gdb.exp (clean_restart): Make executable optional.
5795 2015-07-24 Doug Evans <dje@google.com>
5797 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5798 compiler_info references.
5799 * gdb.cp/temargs.exp: Ditto.
5800 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5801 (get_compiler_info): Early exit if already computed. Set compiler_info
5802 to "unknown" if there was a problem.
5803 (test_compiler_info): Add function comment. Call get_compiler_info.
5805 2015-07-24 Doug Evans <dje@google.com>
5807 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5808 (workers/%.worker, build-perf): New rule.
5809 (GDB_PERFTEST_MODE): New variable.
5810 (check-perf): Use it.
5811 (clean): Clean up gdb.perf parallel build subdirs.
5812 * lib/build-piece.exp: New file.
5813 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5814 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5816 (standard_temp_file): Ditto.
5817 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5820 2015-07-24 Doug Evans <dje@google.com>
5822 * lib/future.exp (gdb_default_target_compile): New option
5824 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5827 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5829 * gdb.base/catch-syscall.exp: Call gdb_exit before
5832 2015-07-24 Pedro Alves <palves@redhat.com>
5834 * gdb.python/py-events.exp: Accept output between the stop event
5836 * gdb.python/py-evsignal.exp: Likewise.
5837 * gdb.python/py-evthreads.exp: Likewise.
5839 2015-07-24 Pedro Alves <palves@redhat.com>
5842 * gdb.threads/non-ldr-exit.c: New file.
5843 * gdb.threads/non-ldr-exit.exp: New file.
5845 2015-07-24 Yao Qi <yao.qi@linaro.org>
5847 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5850 2015-07-24 Yao Qi <yao.qi@linaro.org>
5852 * gdb.server/ext-restart.exp: New file.
5854 2015-07-24 Yao Qi <yao.qi@linaro.org>
5856 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5858 * gdb.server/ext-wrapper.exp: New file.
5860 2015-07-23 Doug Evans <dje@google.com>
5862 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5863 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5865 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5867 * gdb.ada/var_arr_typedef.exp: New testcase.
5868 * gdb.ada/var_arr_typedef/pack.adb: New file.
5869 * gdb.ada/var_arr_typedef/pack.ads: New file.
5870 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5872 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5874 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5876 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5878 * gdb.arch/i386-biarch-core.exp: Replace istarget
5879 by "complete set gnutarget". Remove expectation for the "core-file"
5882 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5884 Revert the previous commit:
5885 Tests for validate symbol file using build-id.
5887 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5889 Tests for validate symbol file using build-id.
5890 * gdb.base/solib-mismatch-lib.c: New file.
5891 * gdb.base/solib-mismatch-libmod.c: New file.
5892 * gdb.base/solib-mismatch.c: New file.
5893 * gdb.base/solib-mismatch.exp: New file.
5895 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5897 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5899 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5900 * gdb.base/siginfo.exp: Likewise.
5901 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5903 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5905 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5907 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5909 * gdb.trace/range-stepping.exp: Check that the target supports
5912 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5914 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5916 2015-07-14 Pedro Alves <palves@redhat.com>
5918 * gdb.base/killed-outside.exp: New file.
5919 * gdb.base/killed-outside.c: New file.
5921 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5923 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5925 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5927 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5929 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5930 infcall tests instead of setting up for KFAIL.
5932 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5934 * gdb.btrace/record_goto-step.exp: New.
5936 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5939 * gdb.compile/compile.c (struct struct_type): Add volatile to
5941 * gdb.compile/compile.exp
5942 (compile code struct_object.selffield = &struct_object): Skip further
5943 struct_object tests if this one xfails.
5945 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5948 * gdb.trace/ax.exp: Add test.
5950 2015-07-07 Yao Qi <yao.qi@linaro.org>
5952 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
5953 instead of istarget "aarch64*-*-*".
5954 * gdb.arch/aarch64-fp.exp: Likewise.
5955 * gdb.base/float.exp: Likewise.
5956 * gdb.reverse/aarch64.exp: Likewise.
5957 * lib/gdb.exp (is_aarch64_target): New proc.
5959 2015-07-07 Yao Qi <yao.qi@linaro.org>
5961 * lib/gdb.exp (is_aarch32_target): New proc.
5962 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
5963 instead of "istarget "arm*-*-*"".
5964 * gdb.arch/arm-disp-step.exp: Likewise.
5965 * gdb.arch/thumb-bx-pc.exp: Likewise.
5966 * gdb.arch/thumb-prologue.exp: Likewise.
5967 * gdb.arch/thumb-singlestep.exp: Likewise.
5968 * gdb.base/disp-step-syscall.exp: Likewise.
5969 * gdb.base/float.exp: Likewise.
5971 2015-07-07 Yao Qi <yao.qi@linaro.org>
5973 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
5974 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
5976 2015-07-07 Yao Qi <yao.qi@linaro.org>
5978 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
5979 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
5981 * gdb.multi/multi-arch.exp: Likewise.
5983 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
5985 * gdb.python/py-lazy-string.exp: Add missing parentheses to
5988 2015-07-07 Yao Qi <yao.qi@linaro.org>
5990 * gdb.arch/thumb-singlestep.exp: Do one more single step.
5992 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
5994 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
5995 '[' and ']' characters.
5997 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
5999 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6001 2015-06-29 Pedro Alves <palves@redhat.com>
6004 * gdb.threads/hand-call-new-thread.c: New file.
6005 * gdb.threads/hand-call-new-thread.c: New file.
6007 2015-06-26 Keith Seitz <keiths@redhat.com>
6008 Doug Evans <dje@google.com>
6011 * gdb.cp/var-tag-2.cc: New file.
6012 * gdb.cp/var-tag-3.cc: New file.
6013 * gdb.cp/var-tag-4.cc: New file.
6014 * gdb.cp/var-tag.cc: New file.
6015 * gdb.cp/var-tag.exp: New file.
6017 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6019 * gdb.base/history-duplicates.exp: New test.
6021 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6023 * gdb.base/completion.exp: Test the completion of the "focus"
6026 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6028 * gdb.arch/amd64-prologue-skip.S: New file.
6029 * gdb.arch/amd64-prologue-skip.exp: New file.
6031 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6033 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6034 is_address_zero_readable check.
6036 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6038 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6039 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6041 2015-06-24 Yao Qi <yao.qi@linaro.org>
6043 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6046 2015-06-24 Yao Qi <yao.qi@linaro.org>
6048 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6049 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6050 * gdb.base/siginfo-thread.exp: Likewise.
6052 2015-06-22 Yao Qi <yao.qi@linaro.org>
6054 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6056 2015-06-22 Yao Qi <yao.qi@linaro.org>
6058 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6060 (skip_hw_watchpoint_tests): Likewise.
6062 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6064 * gdb.base/gdbinit-history.exp: Test the interaction between
6065 setting GDBHISTSIZE and setting the history size via .gdbinit.
6067 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6070 * gdb.base/gdbhistsize-history.exp: New test.
6072 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6074 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6076 * gdb.base/readline.exp: Likewise.
6078 2015-06-17 Yao Qi <yao.qi@linaro.org>
6080 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6083 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6085 * gdb.base/gdbinit-history.exp: Add test case to check that
6086 an unlimited history file does not get truncated on exit.
6088 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6090 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6091 (VECTOR): New macro. Use it...
6092 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6093 ...for these typedefs.
6094 (int8, char1, int1, double1): New typedefs.
6095 (struct just_int2, struct two_int2): New structures.
6096 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6097 (add_structvecs, add_singlevecs): New functions.
6098 (main): Call add_some_intvecs twice.
6099 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6100 the compile and exit upon failure. Try compiling for the "native"
6101 architecture. Test inferior function calls with vector arguments
6102 and vector return value handling with "finish" and "return".
6104 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6106 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6107 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6109 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6111 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6113 PR breakpoints/16465
6114 * gdb.mi/mi-dprintf-pending.c: New file.
6115 * gdb.mi/mi-dprintf-pending.exp: New test.
6116 * gdb.mi/mi-dprintf-pendshr.c: New file.
6118 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6119 Mircea Gherzan <mircea.gherzan@intel.com>
6121 * gdb.arch/i386-mpx-map.c: New file.
6122 * gdb.arch/i386-mpx-map.exp: New File.
6124 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6126 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6127 * gdb.arch/i386-mpx.exp: Indentation fixed.
6129 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6131 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6132 function and improved indentation.
6133 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6134 gdb_test_multiple. Added additional tests to skip the test.
6136 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6138 * gdb.arch/i386-avx512.c: Change path in include file.
6139 * gdb.arch/i386-avx512.exp: Change include dir path
6141 * gdb.arch/i386-mpx.c: Change path in include file.
6142 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6145 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6147 * gdb.compile/compile-print.exp (compile print *vararray@3)
6148 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6150 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6152 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6153 (do not keep jit in memory): ... this.
6154 (expect 5): Change it to ...
6155 (expect no 5): ... this.
6157 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6160 * gdb.mi/mi-detach.exp: New file.
6162 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6165 * gdb.arch/amd64-tailcall-self.S: New file.
6166 * gdb.arch/amd64-tailcall-self.c: New file.
6167 * gdb.arch/amd64-tailcall-self.exp: New file.
6169 2015-05-28 Don Breazeal <donb@codesourcery.com>
6171 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6172 tests for remote targets by checking is_target_gdbserver.
6174 2015-05-27 Doug Evans <dje@google.com>
6176 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6177 * gdb.dwarf2/opaque-type-lookup.c: New file.
6178 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6180 2015-05-26 Doug Evans <dje@google.com>
6182 * gdb.cp/iostream.cc: New file.
6183 * gdb.cp/iostream.exp: New file.
6185 2015-05-26 Doug Evans <dje@google.com>
6187 * gdb.dwarf2/dw2-op-call.exp: Update.
6188 * gdb.dwarf2/dw4-sig-types.exp: Update.
6189 * gdb.dwarf2/implptr.exp: Update.
6190 * gdb.mi/mi-cmd-param-changed.exp: Update.
6192 2015-05-26 Doug Evans <dje@google.com>
6194 * gdb.python/py-lazy-string.c: New file.
6195 * gdb.python/py-lazy-string.exp: New file.
6196 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6197 (main): Update. Add estring3.
6198 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6199 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6201 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6202 Yao Qi <yao.qi@linaro.org>
6204 * gdb.reverse/aarch64.c: New.
6205 * gdb.reverse/aarch64.exp: New.
6207 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6209 * lib/gdb.exp (supports_process_record): Return true for
6211 (supports_reverse): Likewise.
6213 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6215 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6216 Use with_test_prefix.
6218 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6220 * gdb.base/completion.exp: Add test for completion of layout
6223 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6225 * lib/gdb.exp (skip_tui_tests): New proc.
6226 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6228 2015-05-19 Pedro Alves <palves@redhat.com>
6230 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6231 Save the whole env array instead of just HOME. Unset HISTSIZE in
6232 the environment while testing. Restore whole environment
6235 2015-05-16 Doug Evans <xdje42@gmail.com>
6237 * gdb.guile/scm-ports.c: New file.
6238 * gdb.guile/scm-ports.exp: Add memory port tests.
6240 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6242 * gdb.compile/compile-print.c: New file.
6243 * gdb.compile/compile-print.exp: New file.
6245 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6247 * gdb.compile/compile-ops.exp: Cast param to void.
6248 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6249 (compile code struct_object.selffield = &struct_object): Add xfail.
6251 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6253 * gdb.ada/arr_enum_with_gap: New testcase.
6255 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6257 * gdb.ada/byte_packed_arr: New testcase.
6259 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6261 * gdb.ada/pckd_neg: New testcase.
6263 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6266 * gdb.base/gdbinit-history.exp: New test.
6267 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6268 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6270 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6272 * gdb.python/py-xmethods.cc: Enhance test case.
6273 * gdb.python/py-xmethods.exp: New tests.
6274 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6276 (B_indexoper): Likewise.
6277 (global_dm_list) : Add new xmethod worker functions.
6279 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6281 * gdb.base/coredump-filter.exp: Correctly unset
6282 "coredump_var_addr" array.
6284 2015-05-08 Pedro Alves <palves@redhat.com>
6286 * gdb.server/non-existing-program.exp: Unset spawn_id.
6288 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6291 * gdb.python/py-xmethods.exp: Add tests.
6293 2015-05-08 Yao Qi <yao.qi@linaro.org>
6296 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6297 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6298 function set_coredump_filter, and remove remote_exec call.
6299 Remove argument ipid. Callers update.
6300 (top level): Don't get inferior's PID.
6302 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6304 * gdb.base/watch_thread_num.exp: Skip test on targets without
6307 2015-05-06 Pedro Alves <palves@redhat.com>
6310 * gdb.server/non-existing-program.exp: New file.
6312 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6314 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6316 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6318 * gdb.ada/out_of_line_in_inlined: New testcase.
6320 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6322 * gdb.ada/var_rec_arr: New testcase.
6324 2015-04-30 Yao Qi <yao.qi@linaro.org>
6326 * gdb.base/break-idempotent.exp: If
6327 skip_hw_watchpoint_multi_tests returns true, skip the tests
6328 on "rwatch" and "awatch".
6330 2015-04-30 Yao Qi <yao.qi@linaro.org>
6332 * gdb.base/relativedebug.exp: Invoke gdb command
6333 "info sharedlibrary", and if libc.so doesn't have debug info,
6336 2015-04-29 Doug Evans <dje@google.com>
6338 * gdb.python/py-xmethods.exp: Add ptype tests.
6339 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6340 get_result_type method.
6342 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6344 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6345 the target does not support hardware watchpoints.
6347 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6349 * gdb.base/break-always.exp: Abort testing if writing to memory
6352 2015-04-28 Doug Evans <dje@google.com>
6354 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6355 * gdb.python/py-pp-registration.exp: ... here. New file.
6356 * gdb.python/py-pp-registration.c: New file.
6357 * gdb.python/py-pp-registration.py: New file.
6359 2015-04-28 Doug Evans <dje@google.com>
6361 * gdb.python/py-bad-printers.c: New file.
6362 * gdb.python/py-bad-printers.py: New file.
6363 * gdb.python/py-bad-printers.exp: New file.
6365 2015-04-28 Sasha Smundak <asmundak@google.com>
6367 * gdb.python/py-type.exp: New test.
6369 2015-04-28 Andy Wingo <wingo@igalia.com>
6371 * gdb.python/py-parameter.exp:
6372 * gdb.guile/scm-parameter.exp: Escape the path that we are
6373 matching against, as it might contain characters that are special
6374 to regular expressions.
6376 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6378 * gdb.ada/rec_comp: New testcase.
6380 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6382 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6385 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6387 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6388 new tests for verilog output.
6390 2015-04-24 Yao Qi <yao.qi@linaro.org>
6392 * boards/remote-gdbserver-on-localhost.exp: New file.
6394 2015-04-23 Pedro Alves <palves@redhat.com>
6396 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6397 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6398 "end of file", remove $inferior_spawn_id from the indirect list.
6400 2015-04-23 Pedro Alves <palves@redhat.com>
6402 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6404 2015-04-23 Pedro Alves <palves@redhat.com>
6406 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6407 on $any_spawn_id instead of only on $gdb_spawn_id.
6409 2015-04-21 Pierre Muller <muller@sourceware.org>
6412 * lib/pascal.exp (gpc_compile): Add new option "class".
6413 (fpc_compile): Likewise.
6414 * gdb.pascal/case-insensitive-symbols.pas: New file.
6415 * gdb.pascal/case-insensitive-symbols.exp: New file.
6417 2015-04-20 Gary Benson <gbenson@redhat.com>
6419 * gdb.base/attach.exp: Fix three extended remote failures.
6421 2015-04-17 Gary Benson <gbenson@redhat.com>
6423 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6424 the main executable over the remote protocol.
6426 2015-04-16 Pedro Alves <palves@redhat.com>
6428 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6429 a new gdbserver if gdbserver_reconnect_p is set.
6431 2015-04-16 Pedro Alves <palves@redhat.com>
6433 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6434 is set, don't exit gdbserver.
6436 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6438 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6439 appropriate .insn, such that an older assembler can be used.
6440 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6441 the z/Architecture instruction set on 31-bit targets as well.
6443 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6445 * gdb.go/handcall.exp: Remove all logic related to the first
6446 breakpoint and rely on go_runto_main instead.
6447 * gdb.go/strings.exp: Likewise.
6448 * gdb.go/unsafe.exp: Likewise.
6449 * gdb.go/hello.exp: Likewise. Also rename the remaining
6450 breakpoint marker to "breakpoint 1".
6451 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6452 * gdb.go/strings.go: Likewise.
6453 * gdb.go/unsafe.go: Likewise.
6454 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6455 "set breakpoint 2 here" and rename the remaining breakpoint marker
6458 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6460 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6461 if itertools.imap is not present.
6462 * gdb.python/py-objfile.exp: Add parentheses.
6463 * gdb.python/py-type.exp: Same.
6464 * gdb.python/py-unwind-maint.py: Same.
6466 2015-04-15 Yao Qi <yao.qi@linaro.org>
6468 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6469 of ":$ptr_size" and set its form explicitly.
6471 2015-04-15 Pedro Alves <palves@redhat.com>
6472 Yao Qi <yao.qi@linaro.org>
6474 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6475 timeout by factor of 4.
6476 (test_regular_watch): Likewise.
6477 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6478 * gdb.reverse/sigall-reverse.exp: Likewise.
6479 * gdb.reverse/until-precsave.exp: Likewise.
6480 * lib/gdb.exp (with_timeout_factor): New proc.
6481 (gdb_expect): Move some code to ...
6482 (get_largest_timeout): ... here. New procedure.
6484 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6486 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6488 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6490 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6491 to write to the .text section.
6493 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6495 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6496 Handle the case of targets that do not provide PID information.
6498 2015-04-13 Yao Qi <yao.qi@linaro.org>
6500 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6501 and use expect instead of gdb_expect.
6503 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6505 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6506 "coredump_var_addr" to avoid naming conflict with other testcases.
6508 2015-04-10 Pedro Alves <palves@redhat.com>
6510 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6511 gdb_test_sequence and gdb_assert.
6513 2015-04-10 Pedro Alves <palves@redhat.com>
6515 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6516 test messages that don't include the breakpoint address.
6518 2015-04-10 Yao Qi <yao.qi@linaro.org>
6520 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6521 false for some offset and width combinations which aren't
6522 supported by linux kernel.
6524 2015-04-10 Pedro Alves <palves@redhat.com>
6526 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6527 procedure, factored out from ...
6528 (top level): ... here. Add "set displaced-stepping" testing axis.
6529 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6530 parameter "displaced". Use it.
6531 (top level): Use foreach and add "set displaced-stepping" testing
6534 2015-04-10 Pedro Alves <palves@redhat.com>
6536 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6538 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6539 both the address of the instruction that triggers the watchpoint
6540 and the address of the instruction immediately after, and use
6541 those addresses for the test. Fix comment.
6543 2015-04-10 Pedro Alves <palves@redhat.com>
6545 * gdb.base/sigstep.exp (breakpoint_to_handler)
6546 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6547 Test "backtrace" in handler.
6548 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6549 (top level): Add new "displaced" test axis to
6550 breakpoint_to_handler, breakpoint_to_handler_entry and
6551 breakpoint_over_handler.
6553 2015-04-10 Pedro Alves <palves@redhat.com>
6556 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6558 2015-04-10 Yao Qi <yao.qi@linaro.org>
6560 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6561 (test_add_rn_pc): New function.
6562 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6563 (top level): Invoke test_add_rn_pc.
6565 2015-04-10 Pedro Alves <palves@redhat.com>
6568 * gdb.base/step-over-no-symbols.exp: New file.
6570 2015-04-09 Andy Wingo <wingo@igalia.com>
6572 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6573 after the Python tests.
6575 2015-04-08 Keith Seitz <keiths@redhat.com>
6578 * gdb.python/py-completion.exp: New tests for completion.
6579 * gdb.python/py-completion.py (CompleteLimit1): New class.
6580 (CompleteLimit2): Likewise.
6581 (CompleteLimit3): Likewise.
6582 (CompleteLimit4): Likewise.
6583 (CompleteLimit5): Likewise.
6584 (CompleteLimit6): Likewise.
6585 (CompleteLimit7): Likewise.
6587 2015-04-08 Pedro Alves <palves@redhat.com>
6591 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6593 (main): Install it as SIGUSR1 handler.
6594 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6595 parameter. Always use "setup" as prefix. Toggle "set
6596 displaced-stepping" off/on depending on global. Don't switch to
6598 (top level): Add displaced stepping "off/on" test axis. Update
6599 "setup" calls. Wrap each subtest with with_test_prefix. Test
6600 continuing with a queued signal in each thread.
6602 2015-04-08 Pedro Alves <palves@redhat.com>
6604 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6605 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6606 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6607 Return early if running to main fails.
6608 * gdb.trace/while-stepping.exp: Likewise.
6610 2015-04-07 Pedro Alves <palves@redhat.com>
6612 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6613 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6614 interact with inferior program.
6616 2015-04-07 Pedro Alves <palves@redhat.com>
6618 * lib/gdb.exp (inferior_spawn_id): New global.
6619 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6620 spawn id after processing the user code.
6621 (default_gdb_start): Set inferior_spawn_id.
6622 (send_inferior): New procedure.
6623 * lib/gdbserver-support.exp (gdbserver_start): Set
6625 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6627 2015-04-07 Pedro Alves <palves@redhat.com>
6629 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6630 * lib/gdbserver-support.exp (gdbserver_start): Make
6631 $server_spawn_id global.
6632 (gdbserver_start): Don't wait for gdbserver's spawn id with
6634 (close_gdbserver): New procedure.
6635 (gdb_exit): Rename the default version and reimplement.
6637 2015-04-07 Pedro Alves <palves@redhat.com>
6639 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6640 append the substituted item, not the original item.
6642 2015-04-07 Pedro Alves <palves@redhat.com>
6644 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6647 2015-04-07 Pedro Alves <palves@redhat.com>
6649 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6650 output appearing once only.
6652 2015-04-07 Pedro Alves <palves@redhat.com>
6654 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6655 that doesn't expect anything. Return early if running to main
6658 2015-04-07 Yao Qi <yao.qi@linaro.org>
6660 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6661 (child_function): Call alarm.
6662 (main): Move call to alarm into the loop.
6663 * gdb.threads/non-stop-fair-events.exp: Build program with
6666 2015-04-06 Doug Evans <xdje42@gmail.com>
6668 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6669 Fix dest parameter to board_info.
6670 (fpc_compile): Ditto.
6671 (gdb_compile_pascal): Rename dest arg to destfile.
6673 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6675 * gdb.ada/funcall_ref.exp: New file.
6676 * gdb.ada/funcall_ref/foo.adb: New file.
6678 2015-04-02 Yao Qi <yao.qi@linaro.org>
6680 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6683 2015-04-02 Gary Benson <gbenson@redhat.com>
6685 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6687 2015-04-01 Sasha Smundak <asmundak@google.com>
6689 * gdb.python/py-unwind-maint.c: New file.
6690 * gdb.python/py-unwind-maint.exp: New test.
6691 * gdb.python/py-unwind-maint.py: New file.
6692 * gdb.python/py-unwind.c: New file.
6693 * gdb.python/py-unwind.exp: New test.
6694 * gdb.python/py-unwind.py: New test.
6696 2015-04-01 Pedro Alves <palves@redhat.com>
6698 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6699 to fail instead of non-existent $test.
6701 2015-04-01 Pedro Alves <palves@redhat.com>
6703 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6704 GDBFLAGS if not empty.
6706 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6708 * gdb.ada/complete.exp: Remove "multi_line".
6709 * gdb.ada/info_exc.exp: Remove "multi_line".
6710 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6711 * gdb.ada/ptype_field.exp: Remove "multi_line".
6712 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6713 * gdb.ada/tagged.exp: Remove "multi_line".
6714 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6716 * gdb.btrace/delta.exp: Likewise.
6717 * gdb.btrace/exception.exp: Likewise.
6718 * gdb.btrace/function_call_history.exp: Likewise.
6719 * gdb.btrace/instruction_history.exp: Likewise.
6720 * gdb.btrace/nohist.exp: Likewise.
6721 * gdb.btrace/record_goto.exp: Likewise.
6722 * gdb.btrace/segv.exp: Likewise.
6723 * gdb.btrace/stepi.exp: Likewise.
6724 * gdb.btrace/tailcall.exp: Likewise.
6725 * gdb.btrace/unknown_functions.exp: Likewise.
6726 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6727 * lib/gdb.exp: Add the "multi_line" helper.
6729 2015-04-01 Pedro Alves <palves@redhat.com>
6731 * gdb.threads/tid-reuse.c: New file.
6732 * gdb.threads/tid-reuse.exp: New file.
6734 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6737 * gdb.base/coredump-filter.c: New file.
6738 * gdb.base/coredump-filter.exp: Likewise.
6740 2015-03-27 Petr Machata <pmachata@redhat.com>
6742 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6743 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6744 (Dwarf::assemble): Initialize them.
6745 (Dwarf::lines): New function.
6747 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6749 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6750 SYMBOL_PREFIX for x86_64-*-cygwin.
6752 2015-03-26 Andy Wingo <wingo@igalia.com>
6755 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6756 const_value but not a location.
6757 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6758 location defined in non-main CUs are visible.
6760 2015-03-26 Yao Qi <yao.qi@linaro.org>
6763 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6764 Add a line number entry for the same line.
6765 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6766 Add a line number entry for the same line.
6768 2015-03-26 Yao Qi <yao.qi@linaro.org>
6770 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6772 (func): Likewise. Add .Lfunc_1 label.
6774 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6779 2015-03-26 Yao Qi <yao.qi@linaro.org>
6781 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6782 Call gdb_compile instead to compile each .s files without debug
6785 2015-03-26 Yao Qi <yao.qi@linaro.org>
6787 * gdb.base/savedregs.exp (process_saved_regs): Make
6788 "Saved registers:" optional in the pattern.
6790 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6792 * gdb.btrace/next.exp: Merged into step.exp.
6793 * gdb.btrace/finish.exp: Merged into step.exp.
6794 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6795 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6796 "record goto" and checking the exact replay position.
6797 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6798 check for "Recording format" in "info record" output.
6799 * gdb.btrace/record_goto.exp: Choose test file based on target.
6800 * gdb.btrace/x86-record_goto.S: Renamed into ...
6801 * gdb.btrace/x86_64-record_goto.S: ... this.
6802 * gdb.btrace/i686-record_goto.S: New.
6803 * gdb.btrace/x86-tailcall.S: Renamed into ...
6804 * gdb.btrace/x86_64-tailcall.S: ... this.
6805 * gdb.btrace/i686-tailcall.S: New.
6806 * gdb.btrace/x86-tailcall.c: Renamed into ...
6807 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6808 separate statements. Update test.
6809 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6810 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6811 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6812 * gdb.btrace/tailcall.exp: Choose test file based on target.
6813 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6815 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6817 * gdb.btrace/exception.exp: Increase BTS buffer size.
6819 2015-03-24 Pedro Alves <palves@redhat.com>
6821 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6823 2015-03-24 Pedro Alves <palves@redhat.com>
6825 * gdb.threads/schedlock.exp (test_step): No longer expect that
6826 "set scheduler-locking step" with "next" over a function call runs
6829 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6831 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6833 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6835 PR breakpoints/16466
6836 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6837 * gdb.mi/mi-pending.c (thread_func): New function.
6838 (int main): Add threading support required.
6839 * gdb.mi/mi-pending.exp: Add tests for this issue.
6840 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6841 (pendfunc2): Remove stdio dependency.
6842 * gdb.mi/mi-pendshr2.c: New file.
6844 2015-03-23 Keith Seitz <keiths@redhat.com>
6846 * gdb.linespec/keywords.c: New file.
6847 * gdb.linespec/keywords.exp: New file.
6849 2015-03-23 Keith Seitz <keiths@redhat.com>
6852 * gdb.dwarf2/staticvirtual.exp: New test.
6854 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6856 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6857 * README: Remove HP-UX and gdb.hp.
6859 * configure: Regenerate.
6860 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6861 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6862 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6863 gdb.hp/gdb.defects/Makefile.
6864 * gdb.hp/Makefile.in: File deleted.
6865 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6866 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6867 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6868 * gdb.hp/gdb.aCC/run.c: File deleted.
6869 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6870 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6871 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6872 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6873 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6874 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6875 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6876 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6877 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6878 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6879 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6880 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6881 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6882 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6883 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6884 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6885 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6886 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6887 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6888 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6889 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6890 * gdb.hp/gdb.compat/average.c: File deleted.
6891 * gdb.hp/gdb.compat/sum.c: File deleted.
6892 * gdb.hp/gdb.compat/xdb.c: File deleted.
6893 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6894 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6895 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6896 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6897 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6898 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6899 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6900 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6901 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6902 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6903 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6904 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6905 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6906 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6907 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6908 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6909 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6910 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6911 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6912 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6913 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6914 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6915 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6916 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6917 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6918 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6919 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6920 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6921 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6922 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6923 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6924 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6925 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6926 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6927 * gdb.hp/tools/odump: File deleted.
6929 2015-03-19 Pedro Alves <palves@redhat.com>
6931 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6932 (saw_thread_3): New globals.
6933 (top level): Increment them when an event for the corresponding
6935 (no thread starvation): New test.
6937 2015-03-19 Pedro Alves <palves@redhat.com>
6939 * gdb.threads/continue-pending-status.c: New file.
6940 * gdb.threads/continue-pending-status.exp: New file.
6942 2015-03-18 Pedro Alves <palves@redhat.com>
6944 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6945 Use gdb_is_target_remote instead of is_remote. Use
6946 gdb_test_multiple instead of gdb_expect. Exit early if
6947 gdb_test_multiple hits its internal matches. Tighten stepi tests
6948 expected output. Fail on exit with any signal, instead of just
6951 2015-03-18 Yao Qi <yao.qi@linaro.org>
6954 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
6956 * gdb.base/catch-syscall.exp: Don't skip it on
6957 aarch64*-*-linux* target. Remove elements in all_syscalls.
6958 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
6960 (setup_all_syscalls): New proc.
6962 2015-03-16 Yao Qi <yao.qi@linaro.org>
6964 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
6965 (top level): Skip tests if valid_addr_p returns false for
6968 2015-03-11 Andy Wingo <wingo@igalia.com>
6970 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
6972 2015-03-11 Yao Qi <yao.qi@linaro.org>
6974 * gdb.base/catch-syscall.exp: Fix typo in comments.
6976 2015-03-11 Yao Qi <yao.qi@linaro.org>
6978 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
6980 2015-03-09 Pedro Alves <palves@redhat.com>
6982 * dg-extract-results.py: Delete.
6984 2015-03-09 Pedro Alves <palves@redhat.com>
6986 Merge dg-extract-results.sh from GCC upstream (r218843).
6988 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
6989 * dg-extract-results.sh: Use --text with grep to avoid issues with
6990 binary files. Fall back to cat -v, if that doesn't work.
6992 2015-03-05 Pedro Alves <palves@redhat.com>
6994 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
6996 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
6998 * lib/mi-support.exp (mi_expect_interrupt): Accept
6999 alternative event for when in all-stop mode.
7001 2015-03-04 Pedro Alves <palves@redhat.com>
7003 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7005 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7007 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7009 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7011 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7012 regexps for GDB's current line display, accept a hex address
7013 preceding the line number.
7015 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7017 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7018 the 'arch1' variable for "s390*-linux*" targets.
7020 2015-03-04 Pedro Alves <palves@redhat.com>
7022 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7023 (main): Pass missing retval argument to pthread_join call.
7025 2015-03-02 Pedro Alves <palves@redhat.com>
7027 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7028 (top level): Call do_test with non-stop as well.
7030 2015-03-02 Pedro Alves <palves@redhat.com>
7032 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7035 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7037 * gdb.arch/s390-vregs.exp: New test.
7038 * gdb.arch/s390-vregs.S: New file.
7040 2015-02-27 Pedro Alves <palves@redhat.com>
7042 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7043 call to catch_command_errors.
7044 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7045 catch_command_errors.
7047 2015-02-27 Pedro Alves <palves@redhat.com>
7049 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7050 "true" for boolean result.
7051 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7054 2015-02-27 Pedro Alves <palves@redhat.com>
7056 * lib/unbuffer_output.c: New file.
7057 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7058 (main): Call gdb_unbuffer_output.
7060 2015-02-27 Yao Qi <yao.qi@linaro.org>
7062 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7065 2015-02-26 Doug Evans <dje@google.com>
7067 * gdb.cp/class2.cc (Dbase, D): New classes.
7068 (main): New local delta.
7069 * gdb.cp/class2.exp: Test printing delta.
7070 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7071 (dynbar): New global.
7072 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7074 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7076 * gdb.compile/compile-ifunc.c: New file.
7077 * gdb.compile/compile-ifunc.exp: New file.
7079 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7081 * gdb.base/structs.exp: Check for correct struct on finish.
7083 2015-02-26 Yao Qi <yao.qi@linaro.org>
7085 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7088 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7090 * gdb.arch/cordic.ko.bz2: New file.
7091 * gdb.arch/cordic.ko.debug.bz2: New file.
7092 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7094 2015-02-25 Yao Qi <yao.qi@linaro.org>
7096 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7097 aarch64*-*-* target.
7099 2015-02-23 Pedro Alves <palves@redhat.com>
7101 * lib/gdb.exp (delete_breakpoints): Rewrite using
7104 2015-02-23 Pedro Alves <palves@redhat.com>
7106 * gdb.base/info-os.c: Include stdlib.h.
7108 2015-02-22 Doug Evans <xdje42@gmail.com>
7111 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7112 is read after symbols have been re-read.
7113 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7114 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7116 2015-02-21 Doug Evans <dje@google.com>
7118 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7120 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7123 * gdb.arch/i386-biarch-core.core.bz2: New file.
7124 * gdb.arch/i386-biarch-core.exp: New file.
7126 2015-02-21 Pedro Alves <palves@redhat.com>
7128 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7131 2015-02-20 Pedro Alves <palves@redhat.com>
7133 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7136 2015-02-20 Pedro Alves <palves@redhat.com>
7138 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7140 2015-02-20 Pedro Alves <palves@redhat.com>
7142 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7143 clean_restart before gdb_target_supports_trace.
7145 2015-02-20 Pedro Alves <palves@redhat.com>
7148 * gdb.threads/clone-thread_db.c: New file.
7149 * gdb.threads/clone-thread_db.exp: New file.
7151 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7153 PR breakpoints/16812
7154 * gdb.base/catch-gdb-caused-signals.c: New file.
7155 * gdb.base/catch-gdb-caused-signals.exp: New file.
7157 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7159 * configure: Regenerated.
7160 * configure.ac: Use GDB_AC_TRANSFORM.
7161 * aclocal.m4: sinclude ../transform.m4.
7163 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7165 * lib/dtrace.exp: New file.
7166 * gdb.base/dtrace-probe.exp: Likewise.
7167 * gdb.base/dtrace-probe.d: Likewise.
7168 * gdb.base/dtrace-probe.c: Likewise.
7169 * lib/pdtrace.in: Likewise.
7170 * configure.ac: Output variables with the transformed names of
7171 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7172 * configure: Regenerated.
7174 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7176 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7177 expected message when trying to access $_probe_* convenience
7178 variables while not on a probe.
7180 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7182 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7184 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7186 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7187 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7189 2015-02-10 Doug Evans <xdje42@gmail.com>
7191 * lib/gdb.exp (gdb_load): Always return a result.
7193 2015-02-10 Pedro Alves <palves@redhat.com>
7195 * gdb.threads/signal-sigtrap.c: New file.
7196 * gdb.threads/signal-sigtrap.exp: New file.
7198 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7200 * gdb.trace/no-attach-trace.c: New file.
7201 * gdb.trace/no-attach-trace.exp: New file.
7203 2015-02-09 Mark Wielaard <mjw@redhat.com>
7205 * gdb.dwarf2/atomic.c: New file.
7206 * gdb.dwarf2/atomic-type.exp: Likewise.
7208 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7210 * gdb.btrace/buffer-size.exp: Update "info record" output.
7211 * gdb.btrace/delta.exp: Update "info record" output.
7212 * gdb.btrace/enable.exp: Update "info record" output.
7213 * gdb.btrace/finish.exp: Update "info record" output.
7214 * gdb.btrace/instruction_history.exp: Update "info record" output.
7215 * gdb.btrace/next.exp: Update "info record" output.
7216 * gdb.btrace/nexti.exp: Update "info record" output.
7217 * gdb.btrace/step.exp: Update "info record" output.
7218 * gdb.btrace/stepi.exp: Update "info record" output.
7219 * gdb.btrace/nohist.exp: Update "info record" output.
7221 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7223 * gdb.btrace/buffer-size: New.
7225 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7227 * gdb.btrace/delta.exp: Update "info record" output.
7228 * gdb.btrace/enable.exp: Update "info record" output.
7229 * gdb.btrace/finish.exp: Update "info record" output.
7230 * gdb.btrace/instruction_history.exp: Update "info record" output.
7231 * gdb.btrace/next.exp: Update "info record" output.
7232 * gdb.btrace/nexti.exp: Update "info record" output.
7233 * gdb.btrace/step.exp: Update "info record" output.
7234 * gdb.btrace/stepi.exp: Update "info record" output.
7235 * gdb.btrace/nohist.exp: Update "info record" output.
7237 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7240 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7242 2015-02-06 Pedro Alves <palves@redhat.com>
7244 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7246 (seconds_left, again): New globals.
7247 (main): Wait seconds_left in a 1-second sleep loop instead of
7248 sleeping 180 seconds. If 'again' is set, reset the seconds
7250 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7251 'again' in the inferior before detaching. Print the seconds left.
7252 (options): New global.
7253 (top level): Build program with -DTIMEOUT=$timeout.
7255 2015-02-06 Pedro Alves <palves@redhat.com>
7257 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7258 determine how many seconds to pass to 'alarm'.
7259 * gdb.base/gdb-sigterm.exp (top level): Build program with
7261 (do_test): Return success/failure indication. Add more verbose
7262 logging. Don't fail if 200 single steps are seen. Instead, fail
7263 when the test times out.
7264 (passes): New global.
7265 (top level): Break the testing loop if testing fails on any
7266 iteration. Use gdb_assert.
7268 2015-02-04 Don Breazeal <donb@codesourcery.com>
7270 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7271 and initialize them.
7272 (ipc_cleanup): New function.
7273 (main): Don't declare shmid, semid, and msqid. Add a call to
7274 atexit so that we call ipc_cleanup on exit.
7276 2015-02-04 Pedro Alves <palves@redhat.com>
7278 * boards/native-extended-gdbserver.exp: Remove any target variant
7279 specifications from the board name before clearing the isremote
7280 flag from board_info.
7282 2015-01-31 Doug Evans <xdje42@gmail.com>
7284 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7286 2015-01-31 Gary Benson <gbenson@redhat.com>
7288 * gdb.base/completion.exp: Disable completion limiting for
7289 existing tests. Add new tests to check completion limiting.
7290 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7292 2015-01-31 Doug Evans <xdje42@gmail.com>
7294 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7296 2015-01-31 Doug Evans <xdje42@gmail.com>
7298 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7299 entries. Duplicate file section script entries.
7300 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7301 inlined entries. Add test for safe-path rejection.
7302 * gdb.python/py-section-script.c: Add duplicate inlined section script
7303 entries. Duplicate file section script entries.
7304 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7305 inlined entries. Add test for safe-path rejection.
7307 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7309 * gdb.ada/disc_arr_bound: New testcase.
7311 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7313 * gdb.ada/mi_var_array: New testcase.
7315 2015-01-27 Doug Evans <dje@google.com>
7317 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7318 Add test for objfile.filename, objfile.username after objfile
7321 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7323 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7324 the second test to print the name attribute of value
7325 returned by the call to gdb.lookup_type, and adjust
7326 the expected output accordingly.
7328 2015-01-25 Mark Wielaard <mjw@redhat.com>
7330 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7331 * gdb.base/disp-step-fork.c: Include unistd.h.
7332 * gdb.base/siginfo-obj.c: Include stdio.h.
7333 * gdb.base/siginfo-thread.c: Likewise.
7334 * gdb.mi/non-stop.c: Include unistd.h.
7335 * gdb.mi/nsthrexec.c: Include stdio.h.
7336 * gdb.mi/pthreads.c: Include unistd.h.
7337 * gdb.modula2/unbounded1.c (main): Declare returns int.
7338 * gdb.reverse/consecutive-reverse.c: Likewise.
7339 * gdb.threads/create-fail.c: Include unistd.h.
7340 * gdb.threads/killed.c: Likewise.
7341 * gdb.threads/linux-dp.c: Likewise.
7342 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7343 * gdb.threads/non-ldr-exc-2.c: Likewise.
7344 * gdb.threads/non-ldr-exc-3.c: Likewise.
7345 * gdb.threads/non-ldr-exc-4.c: Likewise.
7346 * gdb.threads/pthreads.c: Include unistd.h.
7347 (main): Declare returns int.
7348 * gdb.threads/tls-main.c (foo): New declaration.
7349 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7351 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7353 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7354 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7356 2015-01-15 Mark Wielaard <mjw@redhat.com>
7358 * gdb.base/noreturn-return.c: New file.
7359 * gdb.base/noreturn-return.exp: New file.
7360 * gdb.base/noreturn-finish.c: New file.
7361 * gdb.base/noreturn-finish.exp: New file.
7363 2015-01-23 Pedro Alves <palves@redhat.com>
7365 * gdb.threads/continue-pending-after-query.c: New file.
7366 * gdb.threads/continue-pending-after-query.exp: New file.
7368 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7369 Simon Marchi <simon.marchi@ericsson.com>
7371 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7372 * gdb.base/valgrind-db-attach.exp: Same.
7373 * gdb.base/valgrind-infcall.exp: Same.
7374 * lib/mi-support.exp (default_mi_gdb_start): Same.
7375 * lib/prompt.exp (default_prompt_gdb_start): Same.
7376 * lib/gdb.exp (default_gdb_spawn): Same.
7377 (gdb_interact): New.
7380 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7382 * gdb.compile/compile.exp (pointer to jit function): New test.
7384 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7386 * lib/gdb.exp (supports_process_record): Return true for
7388 (supports_reverse): Likewise.
7390 2015-01-15 Don Breazeal <donb@codesourcery.com>
7392 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7393 instead of checking whether the target board is remote and
7394 use spawn_wait_for_attach instead of exec/sleep.
7395 * gdb.base/attach-twice.exp: Likewise.
7397 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7399 * gdb.ada/var_arr_attrs: New testcase.
7401 2015-01-14 Pedro Alves <palves@redhat.com>
7402 Joel Brobecker <brobecker@adacore.com>
7405 * gdb.base/bp-cmds-execution-x-script.c: New file.
7406 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7407 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7409 2015-01-14 Pedro Alves <palves@redhat.com>
7412 * gdb.base/batch-preserve-term-settings.c: New file.
7413 * gdb.base/batch-preserve-term-settings.exp: New file.
7415 2015-01-13 Doug Evans <dje@google.com>
7417 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7420 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7422 * Makefile.in (clean mostlyclean): Do not delete *.py.
7424 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7426 * gdb.python/py-lookup-type.exp: New file.
7428 2015-01-12 Pedro Alves <palves@redhat.com>
7430 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7431 restore GDBFLAGS before returning.
7433 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7435 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7436 is_amd64_regs_target and is_x86_like_target.
7438 2015-01-11 Doug Evans <xdje42@gmail.com>
7440 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7441 is given without an explicit form.
7442 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7444 * gdb.dwarf/corrupt.exp: Ditto.
7445 * gdb.dwarf2/enum-type.exp: Ditto.
7446 * gdb.trace/entry-values.exp: Ditto.
7447 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7449 2015-01-11 Doug Evans <xdje42@gmail.com>
7452 * gdb.base/maint.exp: Remove references to "maint demangle".
7453 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7454 Add tests for explicitly specifying language to demangle.
7455 * gdb.dlang/demangle.exp: Ditto.
7457 2015-01-09 Pedro Alves <palves@redhat.com>
7459 * gdb.threads/non-stop-fair-events.c: New file.
7460 * gdb.threads/non-stop-fair-events.exp: New file.
7462 2015-01-09 Pedro Alves <palves@redhat.com>
7464 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7465 the global scope. Set a breakpoint after all threads are started
7466 rather than stepping over two source lines. Expect the prompt.
7467 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7470 (main): Use threads_started_barrier to wait for all threads to
7471 start. Main thread no longer calls thread_function. Exit after
7473 (loop): New function.
7474 (thread_function): Wait on threads_started_barrier barrier. Call
7475 'loop' at each iteration.
7476 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7477 threads have started, instead of hardcoding number of "next"
7478 steps. Use an access watchpoint instead of a write watchpoint.
7480 2015-01-09 Pedro Alves <palves@redhat.com>
7482 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7483 (thread_func): Wait on barrier.
7484 (main): Wait for all threads to start before stopping GDB.
7485 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7487 (thread1_func, thread2_func): Wait on barrier.
7488 (main): Wait for all threads to start before stopping GDB.
7489 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7491 (thread1_func, thread2_func): Wait on barrier.
7492 (main): Wait for all threads to start before stopping GDB.
7494 2015-01-09 Pedro Alves <palves@redhat.com>
7496 * gdb.threads/attach-many-short-lived-threads.c: New file.
7497 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7499 2014-01-09 Pedro Alves <palves@redhat.com>
7501 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7502 instead of to thread 2.
7503 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7504 Add barrier around each pthread_create call instead of around all
7506 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7507 Set a break on thread_function and have the child threads hit it
7510 2015-01-09 Pedro Alves <palves@redhat.com>
7512 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7513 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7515 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7516 checking whether the target board is remote.
7517 * gdb.multi/multi-attach.exp: Likewise.
7518 * gdb.python/py-sync-interp.exp: Likewise.
7519 * gdb.server/ext-attach.exp: Likewise.
7520 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7521 tests that need to attach, instead of checking whether the target
7522 board is remote at the top of the file.
7524 2015-01-08 Yao Qi <yao@codesourcery.com>
7526 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7528 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7530 Fix testcase compilation.
7531 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7533 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7535 * gdb.python/py-type.exp: Add a couple test about empty
7536 array creation, and negative-length array creation.
7538 2015-01-02 Doug Evans <xdje42@gmail.com>
7540 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7542 2015-01-02 Doug Evans <dje@google.com>
7544 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7546 2014-12-29 Yao Qi <yao@codesourcery.com>
7548 * gdb.trace/entry-values.exp: Update comments. Rename variable
7549 bar_call_foo to returned_from_foo.
7551 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7554 * gdb.linespec/break-asm-file.c: New file.
7555 * gdb.linespec/break-asm-file.exp: New file.
7556 * gdb.linespec/break-asm-file0.s: New file.
7557 * gdb.linespec/break-asm-file1.s: New file.
7559 2014-12-18 Nigel Stephens <nigel@mips.com>
7560 Maciej W. Rozycki <macro@codesourcery.com>
7562 * gdb.base/float.exp: Handle the new output from "info float" on
7565 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7567 Fix MinGW compilation.
7568 * gdb.compile/compile-ops.exp: Update untested message if
7569 !skip_compile_feature_tests.
7570 * gdb.compile/compile-setjmp.exp: Likewise.
7571 * gdb.compile/compile-tls.exp: Likewise.
7572 * gdb.compile/compile.exp: Likewise.
7573 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7574 supported on this host".
7576 2014-12-16 Doug Evans <xdje42@gmail.com>
7578 * boards/stabs.exp: New file.
7580 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7582 * gdb.base/completion.exp: Adjust to format changes of "maint
7583 print user-registers".
7585 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7588 * gdb.arch/aarch64-fp.c: New file.
7589 * gdb.arch/aarch64-fp.exp: New file.
7591 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7593 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7594 r210637, r210913, r211666, r215400, r215817).
7596 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7597 * dg-extract-results.py: New file.
7598 * dg-extract-results.sh: Use it if the environment seems
7601 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7603 * dg-extract-results.py (parse_run): Handle warnings that
7604 are printed before a test harness is run.
7606 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7608 * dg-extract-results.py (Named): Remove __cmp__ method.
7609 (output_variation): Use a key to sort variation.harnesses.
7611 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7613 * dg-extract-results.py: For Python 3, force sys.stdout to
7614 handle surrogate escape sequences.
7615 (safe_open): New function.
7616 (output_segment, main): Use it.
7618 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7620 * dg-extract-results.py (Prog.result_re): Include options
7623 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7625 * dg-extract-results.py (output_variation): Always sort if
7628 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7630 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7631 as long as we get pagination notifications.
7633 2014-12-15 Jason Merrill <jason@redhat.com>
7635 * Makefile.in (check-gdb.%): Restore.
7636 * README: Mention it.
7638 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7640 * gdb.ada/str_uninit: New testcase.
7642 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7645 * gdb.base/vla-stub-define.c: New file.
7646 * gdb.base/vla-stub.c: New file.
7647 * gdb.base/vla-stub.exp: New file.
7649 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7650 Jan Kratochvil <jan.kratochvil@redhat.com>
7651 Tom Tromey <tromey@redhat.com>
7653 * configure.ac: Add gdb.compile/.
7654 * configure: Regenerate.
7655 * gdb.compile/Makefile.in: New file.
7656 * gdb.compile/compile-ops.exp: New file.
7657 * gdb.compile/compile-ops.c: New file.
7658 * gdb.compile/compile-tls.c: New file.
7659 * gdb.compile/compile-tls.exp: New file.
7660 * gdb.compile/compile-constvar.S: New file.
7661 * gdb.compile/compile-constvar.c: New file.
7662 * gdb.compile/compile-mod.c: New file.
7663 * gdb.compile/compile-nodebug.c: New file.
7664 * gdb.compile/compile-setjmp-mod.c: New file.
7665 * gdb.compile/compile-setjmp.c: New file.
7666 * gdb.compile/compile-setjmp.exp: New file.
7667 * gdb.compile/compile-shlib.c: New file.
7668 * gdb.compile/compile.c: New file.
7669 * gdb.compile/compile.exp: New file.
7670 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7672 2014-12-12 Tom Tromey <tromey@redhat.com>
7674 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7675 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7677 2014-12-12 Doug Evans <dje@google.com>
7679 * lib/gdb-python.exp (get_python_valueof): New function.
7680 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7682 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7684 * gdb.base/completion.exp: Add test for completion of "info
7687 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7689 * gdb.base/func-ptrs.c: New file.
7690 * gdb.base/func-ptrs.exp: New file.
7692 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7694 PR breakpoints/17012
7695 * gdb.base/dprintf-detach.c: New file.
7696 * gdb.base/dprintf-detach.exp: New file.
7698 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7700 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7701 * lib/gdb.exp (target_is_gdbserver): New procedure.
7703 2014-12-08 Doug Evans <dje@google.com>
7705 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7707 2014-12-05 Yao Qi <yao@codesourcery.com>
7709 * gdb.guile/scm-error.exp: Remove the third argument to
7710 gdb_remote_download.
7711 * gdb.guile/scm-frame-args.exp: Likewise.
7712 * gdb.guile/scm-section-script.exp: Likewise.
7714 2014-12-05 Yao Qi <yao@codesourcery.com>
7716 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7718 2014-12-04 Doug Evans <dje@google.com>
7720 * gdb.python/py-objfile.exp: Add tests for
7721 objfile.add_separate_debug_file.
7723 2014-12-04 Doug Evans <dje@google.com>
7725 * lib/gdb.exp (get_build_id): New function.
7726 (build_id_debug_filename_get): Rewrite to use it.
7727 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7729 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7731 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7732 `method(long)', not just 0x0.
7733 * gdb.cp/nsalias.exp: Align code labels to 4.
7734 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7735 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7736 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7737 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7738 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7739 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7741 2014-12-02 Doug Evans <dje@google.com>
7744 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7745 * gdb.cp/anon-ns2.cc: ... here. New file.
7746 * gdb.cp/anon-ns.exp: Update.
7748 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7750 * gdb.python/py-events.py (inferior_call_handler): New.
7751 (register_changed_handler, memory_changed_handler): New.
7752 (test_events.invoke): Register new handlers.
7753 * gdb.python/py-events.exp: Add tests for inferior call,
7754 memory_changed and register_changed events.
7756 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7758 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7759 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7760 if the linker doesn't understand this.
7762 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7764 * gdb.python/python.exp: Change expected reply to help().
7766 2014-12-01 Yao Qi <yao@codesourcery.com>
7768 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7769 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7770 * configure: Re-generated.
7772 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7774 * gdb.cp/chained-calls.cc: New file.
7775 * gdb.cp/chained-calls.exp: New file.
7776 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7778 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7780 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7781 * gdb.dwarf2/symtab-producer.exp: Same.
7782 * gdb.gdb/python-interrupts.exp: Same.
7783 * gdb.gdb/python-selftest.exp: Same.
7784 * gdb.python/py-linetable.exp: Same.
7785 * gdb.python/py-type.exp: Same.
7786 * gdb.python/py-value-cc.exp: Same.
7787 * gdb.python/py-value.exp: Same.
7789 2014-11-28 Yao Qi <yao@codesourcery.com>
7791 * gdb.base/break-probes.exp: Match library name prefixed with
7794 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7796 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7797 test expected output. Add parentheses for the call to print.
7798 Remove L suffix from integers.
7800 2014-11-26 Doug Evans <dje@google.com>
7802 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7804 2014-11-22 Yao Qi <yao@codesourcery.com>
7806 * gdb.trace/entry-values.c: Remove asms.
7807 (foo): Add foo_label.
7808 (bar): Add bar_label.
7809 * gdb.trace/entry-values.exp: Remove code computing foo's
7810 length and bar's length.
7811 (Dwarf::assemble): Invoke function_range for bar and use
7812 MACRO_AT_func for foo.
7814 2014-11-22 Yao Qi <yao@codesourcery.com>
7816 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7817 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7818 Use .Lgcc43_procstart instead of gcc43.
7820 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7822 * gdb.ada/n_arr_bound: New testcase.
7824 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7826 PR breakpoints/10737
7827 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7828 test_catch_syscall_multi_arch.
7829 (test_catch_syscall_multi_arch): New function.
7831 2014-11-20 Doug Evans <xdje42@gmail.com>
7833 * gdb.base/maint.exp: Update expected output.
7835 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7837 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7838 4-byte instruction on S390.
7840 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7842 * gdb.ada/arr_arr: New testcase.
7844 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7846 * gdb.ada/pkd_arr_elem: New Testcase.
7848 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7850 * gdb.reverse/break-precsave: Expect completion message for
7852 * gdb.reverse/consecutive-precsave.exp: Likewise.
7853 * gdb.reverse/finish-precsave.exp: Likewise.
7854 * gdb.reverse/i386-precsave.exp: Likewise.
7855 * gdb.reverse/machinestate-precsave.exp: Likewise.
7856 * gdb.reverse/sigall-precsave.exp: Likewise.
7857 * gdb.reverse/solib-precsave.exp: Likewise.
7858 * gdb.reverse/step-precsave.exp: Likewise.
7859 * gdb.reverse/until-precsave.exp: Likewise.
7860 * gdb.reverse/watch-precsave.exp: Likewise.
7862 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7864 * gdb.base/bp-permanent.c: Include unistd.h.
7865 * gdb.python/py-framefilter-mi.c (main): Add return type.
7866 * gdb.python/py-framefilter.c (main): Likewise.
7867 * gdb.trace/actions-changed.c (main): Likewise.
7869 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7871 * gdb.mi/until.c: Add eye-catchers.
7872 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7875 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7877 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7878 function header variants in break1.c.
7879 * gdb.base/ena-dis-br.exp: Likewise.
7880 * gdb.base/hbreak2.exp: Likewise.
7881 * gdb.reverse/until-precsave.exp: Drop references to removed
7882 non-prototype function header variants in ur1.c.
7883 * gdb.reverse/until-reverse.exp: Likewise.
7885 2014-11-17 Petr Machata <pmachata@redhat.com>
7887 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7888 ${_cu_offset_size} bytes abbrev offset.
7890 2014-11-15 Doug Evans <xdje42@gmail.com>
7893 * gdb.base/line-symtabs.exp: New file.
7894 * gdb.base/line-symtabs.c: New file.
7895 * gdb.base/line-symtabs.h: New file.
7897 2014-11-14 Yao Qi <yao@codesourcery.com>
7899 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7900 (func): Add label func_label.
7901 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7902 Replace low_pc and high_pc with MACRO_AT_range.
7903 Replace name, low_pc and high_pc with MACRO_AT_func.
7905 2014-11-14 Yao Qi <yao@codesourcery.com>
7907 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7908 Replace name, low_pc and high_pc with MACRO_AT_func.
7910 2014-11-14 Yao Qi <yao@codesourcery.com>
7912 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7913 produce debug information.
7914 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7916 2014-11-14 Yao Qi <yao@codesourcery.com>
7918 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7919 object and get function length.
7920 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7922 (top-level): Replace gdb_compile and clean_restart with
7923 prepare_for_testing.
7924 * gdb.dwarf2/main.c (main): Add label main_label.
7926 2014-11-14 Yao Qi <yao@codesourcery.com>
7928 * lib/dwarf.exp (function_range): New procedure.
7929 (Dwarf::_handle_macro_at_func): New procedure.
7930 (Dwarf::_handle_macro_at_range): New procedure.
7931 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7933 2014-11-14 Yao Qi <yao@codesourcery.com>
7935 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7936 (_handle_attribute): New procedure.
7938 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7940 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7941 * gdb.base/call-sc.c (zed): Likewise.
7942 * gdb.base/checkpoint.c (main): Likewise.
7943 * gdb.base/dump.c (main): Likewise.
7944 * gdb.base/gcore.c (main): Likewise.
7945 * gdb.base/huge.c (main): Likewise.
7946 * gdb.base/multi-forks.c (main): Likewise.
7947 * gdb.base/pr10179-a.c (main): Likewise.
7948 * gdb.base/savedregs.c (main): Likewise.
7949 * gdb.base/sigaltstack.c (main): Likewise.
7950 * gdb.base/siginfo.c (main): Likewise.
7951 * gdb.base/structs.c (zed): Likewise.
7952 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
7953 * gdb.mi/mi-syn-frame.c (main): Likewise.
7954 * gdb.mi/until.c (foo, main): Likewise.
7955 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
7956 * gdb.base/solib-weak.c (foo): Declare.
7957 * gdb.base/attach-twice.c: Include stdio.h.
7958 * gdb.base/weaklib1.c: Likewise.
7959 * gdb.base/weaklib2.c: Likewise.
7960 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
7961 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
7963 * gdb.base/attach-pie-misread.c: Include stdlib.h.
7964 * gdb.mi/mi-exit-code.c: Likewise.
7965 * gdb.base/break-interp-lib.c: Include string.h.
7966 * gdb.base/coremaker.c: Likewise.
7967 * gdb.base/testenv.c: Likewise.
7968 * gdb.python/py-finish-breakpoint.c: Likewise.
7969 * gdb.base/inferior-died.c: Include sys/wait.h.
7970 * gdb.base/fileio.c: Include time.h.
7971 * gdb.base/async-shell.c: Include unistd.h.
7972 * gdb.base/dprintf-non-stop.c: Likewise.
7973 * gdb.base/info-os.c: Likewise.
7974 * gdb.mi/mi-console.c: Likewise.
7975 * gdb.mi/watch-nonstop.c: Likewise.
7976 * gdb.python/py-events.c: Likewise.
7977 * gdb.base/async.c (baz): Move up before its invocation.
7978 * gdb.base/code_elim2.c (my_global_func): Likewise.
7979 * gdb.base/skip-solib-lib.c (multiply): Likewise.
7980 * gdb.base/advance.c (func2): Likewise.
7982 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7984 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
7986 * gdb.base/annota3.c: Likewise.
7987 * gdb.base/async.c: Likewise.
7988 * gdb.base/average.c: Likewise.
7989 * gdb.base/call-ar-st.c: Likewise.
7990 * gdb.base/call-rt-st.c: Likewise.
7991 * gdb.base/call-sc.c: Likewise.
7992 * gdb.base/call-strs.c: Likewise.
7993 * gdb.base/ending-run.c: Likewise.
7994 * gdb.base/execd-prog.c: Likewise.
7995 * gdb.base/exprs.c: Likewise.
7996 * gdb.base/foll-exec.c: Likewise.
7997 * gdb.base/foll-fork.c: Likewise.
7998 * gdb.base/foll-vfork.c: Likewise.
7999 * gdb.base/funcargs.c: Likewise.
8000 * gdb.base/gcore.c: Likewise.
8001 * gdb.base/jump.c: Likewise.
8002 * gdb.base/langs0.c: Likewise.
8003 * gdb.base/langs1.c: Likewise.
8004 * gdb.base/langs2.c: Likewise.
8005 * gdb.base/mips_pro.c: Likewise.
8006 * gdb.base/nodebug.c: Likewise.
8007 * gdb.base/opaque0.c: Likewise.
8008 * gdb.base/opaque1.c: Likewise.
8009 * gdb.base/recurse.c: Likewise.
8010 * gdb.base/run.c: Likewise.
8011 * gdb.base/scope0.c: Likewise.
8012 * gdb.base/scope1.c: Likewise.
8013 * gdb.base/setshow.c: Likewise.
8014 * gdb.base/setvar.c: Likewise.
8015 * gdb.base/shmain.c: Likewise.
8016 * gdb.base/shr1.c: Likewise.
8017 * gdb.base/shr2.c: Likewise.
8018 * gdb.base/sigall.c: Likewise.
8019 * gdb.base/signals.c: Likewise.
8020 * gdb.base/so-indr-cl.c: Likewise.
8021 * gdb.base/solib2.c: Likewise.
8022 * gdb.base/structs.c: Likewise.
8023 * gdb.base/sum.c: Likewise.
8024 * gdb.base/vforked-prog.c: Likewise.
8025 * gdb.base/watchpoint.c: Likewise.
8026 * gdb.reverse/shr2.c: Likewise.
8027 * gdb.reverse/until-reverse.c: Likewise.
8028 * gdb.reverse/ur1.c: Likewise.
8029 * gdb.reverse/watch-reverse.c: Likewise.
8031 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8033 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8035 * gdb.base/sepdebug.exp: Drop references to removed code.
8037 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8039 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8040 variant. Preserve original line numbering.
8041 * gdb.base/list1.c: Likewise.
8043 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8045 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8047 * gdb.base/break1.c: Likewise.
8048 * gdb.base/break.exp: Drop references to removed code.
8050 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8052 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8055 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8057 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8059 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8061 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8062 logic into perform_all_tests() and invoke it with and without
8063 function header prototypes.
8064 (do_function_calls): Remove conditional XFAIL for PR 5318.
8065 (rerun_and_prepare): Remove duplicate code.
8066 (perform_all_tests): New. Main logic moved here.
8068 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8070 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8071 code guarded by #ifdef NO_PROTOTYPES.
8072 (t_double_many_args): Likewise.
8073 (DEF_FUNC_MANY_ARGS_1): Likewise.
8074 (DEF_FUNC_VALUES_1): Likewise.
8075 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8076 guarded by #ifdef PROTOTYPES.
8078 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8080 * gdb.mi/mi-console.c: Add eye-catcher.
8081 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8082 instead of literal line number.
8084 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8086 * gdb.base/shr2.c: Add eye-catcher.
8087 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8090 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8092 * gdb.base/jump.c: Add eye-catchers.
8093 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8098 * gdb.base/execd-prog.c: Add eye-catchers.
8099 * gdb.base/foll-exec.c: Likewise.
8100 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8103 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8105 * gdb.base/ending-run.c: Add eye-catchers.
8106 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8107 literal line numbers.
8109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8111 * gdb.base/call-rt-st.c: Add eye-catchers.
8112 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8113 literal line numbers.
8115 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8117 * gdb.base/call-ar-st.c: Add eye-catchers.
8118 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8119 literal line numbers.
8121 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8123 * gdb.base/average.c: Add eye-catchers.
8124 * gdb.base/sum.c: Likewise.
8125 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8126 regexps dynamically.
8128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8130 * gdb.base/solib1.c: Add eye-catchers.
8131 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8132 literal line numbers.
8134 2014-11-12 Pedro Alves <palves@redhat.com>
8136 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8139 2014-11-12 Pedro Alves <palves@redhat.com>
8141 * gdb.arch/i386-bp_permanent.c: New file.
8142 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8143 (srcfile): Set to i386-bp_permanent.c.
8144 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8145 that stepi does not execute the 'leave' instruction, instead of
8146 testing it does execute.
8147 * gdb.base/bp-permanent.c: New file.
8148 * gdb.base/bp-permanent.exp: New file.
8150 2014-11-10 Doug Evans <xdje42@gmail.com>
8153 * gdb.base/symtab-search-order.exp: New file.
8154 * gdb.base/symtab-search-order.c: New file.
8155 * gdb.base/symtab-search-order-1.c: New file.
8156 * gdb.base/symtab-search-order-shlib-1.c: New file.
8158 2014-11-07 Pedro Alves <palves@redhat.com>
8161 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8164 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8167 * gdb.cp/pr17494.cc: New file.
8168 * gdb.cp/pr17494.exp: New file.
8170 2014-11-02 Yao Qi <yao@codesourcery.com>
8172 * gdb.python/python.exp: Get working directory and match the
8173 output of "set extended-prompt \\w " with it.
8175 2014-10-30 Doug Evans <dje@google.com>
8177 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8179 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8182 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8184 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8185 * gdb.base/realname-expand.exp: Likewise.
8186 * gdb.linespec/macro-relative.exp: Likewise.
8188 2014-10-29 Pedro Alves <palves@redhat.com>
8191 * gdb.threads/schedlock.c (some_function): New function.
8192 (call_function): New global.
8193 (MAYBE_CALL_SOME_FUNCTION): New macro.
8194 (thread_function): Call it.
8195 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8196 and use it instead of a global counter. Adjust all callers.
8197 (get_current_thread): Use "find current thread" for test message
8198 here rather than having all callers pass down the same string.
8199 (goto_loop): New procedure, factored out from ...
8200 (my_continue): ... this.
8201 (step_ten_loops): Change parameter from test message to command to
8203 (list_count): Delete global.
8204 (check_result): New procedure, factored out from duplicate top
8206 (continue tests): Wrap in with_test_prefix.
8207 (test_step): New procedure, factored out from duplicate top level
8209 (top level): Test "step" in combination with all scheduler-locking
8210 modes. Test "next" in combination with all scheduler-locking
8211 modes, and in combination with stepping over a function call or
8213 * gdb.threads/next-bp-other-thread.c: New file.
8214 * gdb.threads/next-bp-other-thread.exp: New file.
8216 2014-10-29 Pedro Alves <palves@redhat.com>
8219 * gdb.python/python.exp: Test a multi-line command that spawns
8221 * gdb.base/multi-line-starts-subshell.exp: New file.
8223 2014-10-29 Yao Qi <yao@codesourcery.com>
8225 * gdb.base/fileio.exp: Make directories on host.
8227 2014-10-29 Yao Qi <yao@codesourcery.com>
8229 * gdb.base/fileio.c (test_write): Close the file.
8231 2014-10-28 Pedro Alves <palves@redhat.com>
8234 * gdb.base/sigstep.c (no_handler): New global.
8235 (main): If 'no_handler is true, set the signal handlers to
8237 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8238 with_sw_watch and no_handler parameters. Handle them.
8239 (top level) <stepping over handler when stopped at a breakpoint
8240 test>: Add a test axis for testing with a software watchpoint, and
8241 another for testing with the signal handler set to SIG_IGN.
8242 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8243 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8245 2014-10-28 Pedro Alves <palves@redhat.com>
8248 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8249 * gdb.base/sigstep.exp (other_handler_location): New global.
8250 (advance): Support stepping into the signal handler, and running
8251 commands while in the handler.
8252 (in_handler_map): New global.
8253 (top level): In the advance test, add combinations for getting
8254 into the handler with stepping commands, and for running commands
8255 in the handler. Add comment descripting the advancei tests.
8257 2014-10-28 Pedro Alves <palves@redhat.com>
8259 * gdb.base/sigstep.exp: Use build_executable instead of
8260 prepare_for_testing.
8261 (top level): Move code that starts GDB, runs to main and creates a
8263 (restart): ... this new procedure.
8264 (top level): Move backtrace from signal handler test to ...
8265 (validate_backtrace): ... this new procedure.
8266 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8267 with_test_prefix. Always restart GDB.
8268 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8269 with_test_prefix. Always restart GDB. No need to delete
8270 breakpoints after the test.
8271 (test_skip_handler): Remove prefix parameter.
8272 (skip_over_handler, breakpoint_to_handler)
8273 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8274 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8275 restart GDB. No need to delete breakpoints after the test.
8276 (top level): Use foreach to call the test procedures with
8279 2014-10-28 Pedro Alves <palves@redhat.com>
8281 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8282 instead of GNATS numbers.
8283 * gdb.base/sigbpt.exp: Likewise.
8284 * gdb.base/siginfo.exp: Likewise.
8285 * gdb.base/sigstep.exp: Likewise.
8287 2014-10-27 Pedro Alves <palves@redhat.com>
8289 * gdb.base/sigstep.c (dummy): New global.
8290 (main): Issue a couple writes to the new global.
8291 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8293 (skip_over_handler): Use test_skip_handler.
8294 (top level): Call skip_over_handler for stepi and nexti too.
8295 (breakpoint_over_handler): Use test_skip_handler.
8296 (top level): Call breakpoint_over_handler for stepi and nexti too.
8298 2014-10-27 Yao Qi <yao@codesourcery.com>
8300 * gdb.trace/tfile.c (adjust_function_address)
8301 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8302 function descriptor.
8304 2014-10-24 Don Breazeal <donb@codesourcery.com>
8306 * gdb.base/foll-fork.exp (test_follow_fork,
8307 catch_fork_child_follow): Check for updated fork messages emitted
8309 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8310 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8311 vfork_and_exec_child_follow_through_step): Check for updated vfork
8312 messages emitted from infrun.c.
8314 2014-10-24 Pedro Alves <palves@redhat.com>
8316 * gdb.base/corefile.exp: Remove references to ultrix.
8317 * gdb.base/interrupt.exp: Likewise.
8318 * gdb.base/whatis.exp: Likewise.
8319 * gdb.gdb/selftest.exp: Likewise.
8320 * gdb.threads/manythreads.exp: Likewise.
8321 * gdb.threads/print-threads.exp: Likewise.
8322 * gdb.threads/pthreads.exp:: Likewise.
8323 * gdb.threads/schedlock.exp: Likewise.
8325 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8327 * gdb.cp/non-trivial-retval.cc: Add a test case.
8328 * gdb.cp/non-trivial-retval.exp: Add a test.
8330 2014-10-20 Yao Qi <yao@codesourcery.com>
8332 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8333 * gdb.python/py-objfile-script-gdb.py: New file.
8334 * gdb.python/py-objfile-script.exp: Update reference to
8335 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8336 of remote_download. Remove the dest file.
8338 2014-10-20 Yao Qi <yao@codesourcery.com>
8340 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8341 * gdb.base/step-line.exp: Likewise.
8342 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8343 * gdb.dwarf2/dw2-basic.exp: Likewise.
8344 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8345 * gdb.dwarf2/dw2-filename.exp: Likewise.
8346 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8347 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8348 * gdb.dwarf2/dw2-producer.exp: Likewise.
8349 * gdb.dwarf2/mac-fileno.exp: Likewise.
8350 * gdb.python/py-frame-args.exp: Likewise.
8351 * gdb.python/py-framefilter.exp: Likewise.
8352 * gdb.python/py-mi.exp: Likewise.
8353 * gdb.python/py-objfile-script.exp: Likewise
8354 * gdb.python/py-pp-integral.exp: Likewise.
8355 * gdb.python/py-pp-re-notag.exp: Likewise.
8356 * gdb.python/py-prettyprint.exp: Likewise.
8357 * gdb.python/py-section-script.exp: Likewise.
8358 * gdb.python/py-typeprint.exp: Likewise.
8359 * gdb.python/py-xmethods.exp: Likewise.
8360 * gdb.stabs/weird.exp: Likewise.
8361 * gdb.xml/tdesc-regs.exp: Likewise.
8363 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8365 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8366 (out_cu): Use addr_len for the size of addresses.
8367 (out_line): Likewise. Size DW_LNE_set_address instruction
8368 according to addr_len.
8369 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8370 (FUNC): Add START_INSNS to definition.
8372 2014-10-18 Yao Qi <yao@codesourcery.com>
8374 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8375 gdb_has_argv0 return true.
8376 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8377 check [target_info exists noargs], check [gdb_has_argv0]
8379 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8380 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8383 2014-10-17 Doug Evans <dje@google.com>
8385 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8387 * gdb.python/py-events.py: Add clear_objfiles event.
8389 2014-10-17 Doug Evans <dje@google.com>
8391 * gdb.python/py-objfile.exp: Test progspace attribute.
8393 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8395 * gdb.guile/scm-breakpoint.exp: Do not assume any
8396 directory separators when matching source file paths.
8397 * gdb.python/py-breakpoint.exp: Likewise.
8398 * gdb.reverse/break-precsave.exp: Likewise.
8399 * gdb.reverse/break-reverse.exp: Likewise.
8400 * gdb.reverse/consecutive-precsave.exp: Likewise.
8401 * gdb.reverse/finish-precsave.exp: Likewise.
8402 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8403 * gdb.reverse/finish-reverse.exp: Likewise.
8404 * gdb.reverse/i386-precsave.exp: Likewise.
8405 * gdb.reverse/i387-env-reverse.exp: Likewise.
8406 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8407 * gdb.reverse/machinestate-precsave.exp: Likewise.
8408 * gdb.reverse/machinestate.exp: Likewise.
8409 * gdb.reverse/sigall-precsave.exp: Likewise.
8410 * gdb.reverse/solib-precsave.exp: Likewise.
8411 * gdb.reverse/step-precsave.exp: Likewise.
8412 * gdb.reverse/until-precsave.exp: Likewise.
8413 * gdb.reverse/watch-precsave.exp: Likewise.
8414 * gdb.reverse/watch-reverse.exp: Likewise.
8416 2014-10-17 Yao Qi <yao@codesourcery.com>
8418 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8419 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8421 2014-10-17 Pedro Alves <palves@redhat.com>
8424 * gdb.base/bg-execution-repeat.c: New file.
8425 * gdb.base/bg-execution-repeat.exp: New file.
8427 2014-10-17 Pedro Alves <palves@redhat.com>
8430 * gdb.base/continue-all-already-running.c: New file.
8431 * gdb.base/continue-all-already-running.exp: New file.
8433 2014-10-17 Pedro Alves <palves@redhat.com>
8436 * gdb.base/annota-input-while-running.c: New file.
8437 * gdb.base/annota-input-while-running.exp: New file.
8439 2014-10-17 Pedro Alves <palves@redhat.com>
8441 * gdb.base/callfuncs.exp: emove references to osf.
8442 * gdb.base/sigall.exp: Likewise.
8443 * gdb.gdb/selftest.exp: Likewise.
8444 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8445 * gdb.mi/non-stop.c: Likewise.
8446 * gdb.mi/pthreads.c: Likewise.
8447 * gdb.reverse/sigall-precsave.exp: Likewise.
8448 * gdb.reverse/sigall-reverse.exp: Likewise.
8449 * gdb.threads/pthreads.c: Likewise.
8450 * gdb.threads/pthreads.exp: Likewise.
8452 2014-10-17 Yao Qi <yao@codesourcery.com>
8454 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8455 check 'target_info exists noargs'.
8456 (test_command_prompt_position): Likewise.
8457 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8459 (progvar_simple_while_test): Likewise.
8460 (progvar_complex_if_while_test): Likewise.
8461 (if_while_breakpoint_command_test): Likewise.
8462 (infrun_breakpoint_command_test): Likewise.
8463 (breakpoint_command_test): Likewise.
8464 (watchpoint_command_test): Likewise.
8465 (bp_deleted_in_command_test): Likewise.
8466 (temporary_breakpoint_commands): Likewise.
8468 2014-10-16 Yao Qi <yao@codesourcery.com>
8470 * gdb.base/remotetimeout.exp: Remove noargs checking.
8472 2014-10-15 Pedro Alves <palves@redhat.com>
8475 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8476 * gdb.base/breakpoint-in-ro-region.exp
8477 (probe_target_hardware_step): New procedure.
8478 (top level): Probe hardware stepping and hardware breakpoint
8479 support. Test stepping through a read-only region, with both
8480 "breakpoint auto-hw" on and off and both "always-inserted" on and
8483 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8485 * gdb.dlang/demangle.exp: Update for demangling changes.
8487 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8489 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8490 * gdb.cp/non-trivial-retval.exp: Add new tests.
8492 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8496 * gdb.cp/non-trivial-retval.cc: New file.
8497 * gdb.cp/non-trivial-retval.exp: New file.
8499 2014-10-15 Yao Qi <yao@codesourcery.com>
8501 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8504 2014-10-15 Yao Qi <yao@codesourcery.com>
8506 * gdb.python/py-symbol.exp: Match file base name if host is
8507 remote, otherwise match file name with dir name.
8508 * gdb.python/py-symtab.exp: Likewise.
8509 * gdb.python/python.exp: Likewise.
8511 2014-10-15 Yao Qi <yao@codesourcery.com>
8513 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8515 * gdb.python/py-symtab.exp: Likewise.
8516 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8519 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8521 * gdb.ada/addr_arith: New testcase.
8523 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8525 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8526 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8527 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8528 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8530 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8532 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8533 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8534 * gdb.arch/stap-eval-lang-ada.exp: New file.
8536 2014-10-14 Yao Qi <yao@codesourcery.com>
8538 * gdb.mi/mi-var-child.c (nothing1): New function.
8539 (nothing2): New function.
8540 (do_children_tests): Set function pointers by nothing1 and
8542 * gdb.mi/mi-var-child.exp: Step over new added statements.
8543 Update test to match the new output.
8544 * gdb.mi/var-cmd.c (nothing1): New function.
8545 (nothing2): New function.
8546 (do_children_tests): Set function pointers by nothing1 and
8548 * gdb.mi/mi-var-display.exp: Update test to match output.
8549 Step to the line specified by $line_dct_nothing.
8550 Increase the number of lines to step.
8552 2014-10-14 Yao Qi <yao@codesourcery.com>
8554 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8556 * gdb.mi/mi2-var-child.exp: Likewise.
8558 2014-10-13 Doug Evans <dje@google.com>
8560 * gdb.python/py-objfile.exp: Change name of file name test.
8562 2014-10-13 Doug Evans <dje@google.com>
8564 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8565 from the start of the CU.
8567 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8568 Yao Qi <yao@codesourcery.com>
8570 Fix "save breakpoints" for "catch" command.
8571 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8572 Remove -nonewline. Match also the added "main" line.
8574 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8576 Fix "save breakpoints" for "disable $bpnum" command.
8577 * gdb.base/save-bp.c (main): Add label.
8578 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8580 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8582 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8584 2014-10-11 Yao Qi <yao@codesourcery.com>
8586 * gdb.server/server-kill.exp: Execute command
8587 "set remote trace-status-packet on" before "tstatus".
8589 2014-10-11 Yao Qi <yao@codesourcery.com>
8591 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8592 (main): Call getppid.
8593 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8594 and continue to it. Read variable "server_pid".
8596 2014-10-11 Yao Qi <yao@codesourcery.com>
8598 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8600 2014-10-11 Yao Qi <yao@codesourcery.com>
8602 * gdb.threads/thread-find.exp: Don't execute command
8604 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8605 * gdb.threads/linux-dp.exp: Don't check the condition
8606 $threads_created equals to zero.
8608 2014-10-10 Pedro Alves <palves@redhat.com>
8610 * gdb.base/bigcore.exp: Remove references to IRIX.
8611 * gdb.base/funcargs.exp: Likewise.
8612 * gdb.base/interrupt.exp: Likewise.
8613 * gdb.base/mips_pro.exp: Likewise.
8614 * gdb.base/nodebug.exp: Likewise.
8615 * gdb.base/setvar.exp: Likewise.
8616 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8618 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8619 Pedro Alves <palves@redhat.com>
8622 * gdb.base/vdso-warning.c: New file.
8623 * gdb.base/vdso-warning.exp: New file.
8625 2014-10-02 Doug Evans <dje@google.com>
8627 * gdb.base/structs.c (main): Don't run forever.
8629 2014-10-02 Pedro Alves <palves@redhat.com>
8631 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8632 (top level) <stop threads 1, stop threads 2>: Use it.
8634 2014-10-02 Pedro Alves <palves@redhat.com>
8636 * gdb.threads/break-while-running.exp (test): Add new
8637 'update_thread_list' argument. Skip "info threads" if false.
8638 (top level): Add new 'update_thread_list' axis.
8640 2014-10-02 Pedro Alves <palves@redhat.com>
8642 PR breakpoints/17431
8643 * gdb.base/execl-update-breakpoints.c: New file.
8644 * gdb.base/execl-update-breakpoints.exp: New file.
8646 2014-10-01 Pedro Alves <palves@redhat.com>
8648 * gdb.base/breakpoint-in-ro-region.c: New file.
8649 * gdb.base/breakpoint-in-ro-region.exp: New file.
8651 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8653 * gdb.mi/mi-exit-code.exp: New file.
8654 * gdb.mi/mi-exit-code.c: New file.
8656 2014-09-30 Yao Qi <yao@codesourcery.com>
8658 * lib/prelink-support.exp (build_executable_own_libs): Error if
8659 the target isn't native.
8661 2014-09-30 Yao Qi <yao@codesourcery.com>
8663 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8666 2014-09-22 Pedro Alves <palves@redhat.com>
8668 * gdb.threads/break-while-running.exp: New file.
8669 * gdb.threads/break-while-running.c: New file.
8671 2014-09-19 Yao Qi <yao@codesourcery.com>
8673 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8674 Invoke test. Restart GDB with --readnow and invoke test again.
8676 2014-09-19 Yao Qi <yao@codesourcery.com>
8678 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8679 proc set_breakpoint_on_gcd_function. Invoke
8680 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8681 invoke set_breakpoint_on_gcd_function again.
8683 2014-09-18 Doug Evans <dje@google.com>
8685 * gdb.dwarf2/symtab-producer.exp: New file.
8687 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8689 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8690 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8691 * gdb.base/global-var-nested-by-dso.c: Likewise.
8692 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8694 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8695 Pedro Alves <palves@redhat.com>
8697 * gdb.base/watch-bitfields.exp: Pass string other than test file
8698 name to prepare_for_testing.
8699 (watch): New procedure.
8700 (expect_watchpoint): Use with_test_prefix.
8701 (top level): Factor out tests to ...
8702 (test_watch_location, test_regular_watch): ... these new
8703 procedures, and use with_test_prefix and gdb_continue_to_end.
8705 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8707 PR breakpoints/12526
8708 * gdb.base/watch-bitfields.exp: New file.
8709 * gdb.base/watch-bitfields.c: New file.
8711 2014-09-16 Pedro Alves <palves@redhat.com>
8713 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8714 software and hardware addresses, not software address against
8717 2014-09-16 Pedro Alves <palves@redhat.com>
8719 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8720 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8722 2014-09-16 Pedro Alves <palves@redhat.com>
8724 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8726 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8727 "*-*-vxworks*" throughout.
8728 * gdb.base/break.exp: Likewise.
8729 * gdb.base/default.exp: Likewise.
8730 * gdb.base/scope.exp: Likewise.
8731 * gdb.base/sepdebug.exp: Likewise.
8732 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8734 * gdb.base/run.c: Likewise.
8735 * gdb.base/sepdebug.c: Likewise.
8736 * gdb.hp/gdb.aCC/run.c: Likewise.
8737 * gdb.reverse/until-reverse.c: Likewise.
8738 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8740 2014-09-16 Yao Qi <yao@codesourcery.com>
8742 * boards/local-remote-host-native.exp: New file.
8744 2014-09-14 Doug Evans <xdje42@gmail.com>
8746 * gdb.threads/queue-signal.c (thread_count): New variable.
8747 (thread_count_mutex, thread_count_condvar): New variables.
8748 (incr_thread_count, wait_all_threads_running): New functions.
8749 (main): Wait for all threads to be in their thread functions.
8751 2014-09-13 Doug Evans <xdje42@gmail.com>
8753 * gdb.threads/queue-signal.c: New file.
8754 * gdb.threads/queue-signal.exp: New file.
8756 2014-09-13 Doug Evans <xdje42@gmail.com>
8758 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8759 be consistent with what default_gdb_init uses.
8760 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8761 the plain text of the prompt. Add some logging printfs.
8762 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8764 2014-09-12 Pedro Alves <palves@redhat.com>
8766 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8767 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8768 * gdb.arch/i386-size-overlap.exp: Likewise.
8769 * gdb.arch/i386-size.exp: Likewise.
8770 * gdb.arch/i386-unwind.exp: Likewise.
8771 * gdb.base/a2-run.exp: Likewise.
8772 * gdb.base/break.exp: Likewise.
8773 * gdb.base/charset.exp: Likewise.
8774 * gdb.base/chng-syms.exp: Likewise.
8775 * gdb.base/commands.exp: Likewise.
8776 * gdb.base/dbx.exp: Likewise.
8777 * gdb.base/find.exp: Likewise.
8778 * gdb.base/funcargs.exp: Likewise.
8779 * gdb.base/jit-simple.exp: Likewise.
8780 * gdb.base/reread.exp: Likewise.
8781 * gdb.base/sepdebug.exp: Likewise.
8782 * gdb.base/step-bt.exp: Likewise.
8783 * gdb.cp/mb-inline.exp: Likewise.
8784 * gdb.cp/mb-templates.exp: Likewise.
8785 * gdb.objc/basicclass.exp: Likewise.
8786 * gdb.threads/killed.exp: Likewise.
8788 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8791 * gdb.arch/powerpc-stackless.S: New file.
8792 * gdb.arch/powerpc-stackless.exp: New file.
8794 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8796 * gdb.base/attach.c: Include unistd.h.
8797 (main): Call alarm. Add label postloop.
8798 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8799 gdb_breakpoint, gdb_continue_to_breakpoint.
8800 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8802 2014-09-11 Pedro Alves <palves@redhat.com>
8805 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8806 * gdb.base/attach.exp (test_command_line_attach_run): New
8808 (top level): Call it.
8810 2014-09-11 Pedro Alves <palves@redhat.com>
8812 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8813 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8814 (do_command_attach_tests): Use spawn_wait_for_attach.
8815 * gdb.base/solib-overlap.exp: Likewise.
8816 * gdb.multi/multi-attach.exp: Likewise.
8817 * gdb.python/py-prompt.exp: Likewise.
8818 * gdb.python/py-sync-interp.exp: Likewise.
8819 * gdb.server/ext-attach.exp: Likewise.
8821 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8823 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8824 command in testcase. Simplify testcase.
8826 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8828 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8830 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8832 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8834 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8836 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8838 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8840 * gdb.dwarf2/dynarr-ptr.c: New file.
8841 * gdb.dwarf2/dynarr-ptr.exp: New file.
8843 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8845 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8846 of 30 rather than hardcoding 120 for a slow test case. Take the
8847 `gdb,timeout' target setting into account for this calculation.
8848 Don't extend the timeout for the test cases that don't need it.
8850 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8852 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8853 a factor of 2 for a slow test case. Take the `gdb,timeout'
8854 target setting into account for this calculation.
8855 * gdb.reverse/until-precsave.exp: Increase the timeout by
8856 a factor of 15 and 3 respectively rather than adding 120
8857 for a pair of slow test cases. Take the `gdb,timeout'
8858 target setting into account for this calculation.
8860 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8862 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8863 timeout, don't pass one down to gdb_expect.
8864 (gdb_expect): Rework timeout selection.
8866 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8868 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8869 exception on timeout.
8870 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8871 (gdbserver_start_extended): Catch any `gdbserver_start' error
8873 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8874 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8875 `gdbserver_gdb_load' error exceptions.
8877 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8879 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8880 120 on waiting for the TCP socket to open.
8882 2014-09-09 Doug Evans <xdje42@gmail.com>
8884 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8885 _caller_matches, _any_caller_is, _any_caller_matches.
8887 2014-09-09 Doug Evans <xdje42@gmail.com>
8889 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8891 2014-09-09 Yao Qi <yao@codesourcery.com>
8893 * gdb.mi/mi-var-display.exp: Set print symbol off.
8895 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8898 * gdb.base/commands.exp: Add tests to verify user-defined
8899 commands with empty bodies.
8900 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8901 python commands in `show user command`.
8902 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8903 scheme commands in `show user command`.
8905 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8908 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8909 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8910 * gdb.python/py-framefilter-invalidarg.exp: New file.
8911 * gdb.python/py-framefilter-invalidarg.py: New file.
8913 2014-09-06 Doug Evans <xdje42@gmail.com>
8916 * gdb.python/py-caller-is.c: New file.
8917 * gdb.python/py-caller-is.exp: New file.
8919 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8922 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8923 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8925 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8928 * gdb.fortran/print-formatted.exp: New file.
8929 * gdb.fortran/print-formatted.f90: Likewise.
8931 2014-09-03 Sasha Smundak <asmundak@google.com>
8933 * gdb.python/py-frame.exp: Test Frame.read_register.
8935 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8938 * gdb.python/py-completion.exp: New file.
8939 * gdb.python/py-completion.py: Likewise.
8941 2014-08-28 Doug Evans <dje@google.com>
8943 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8944 eax,etc. are live with values set by gdb and thus the compiler can't
8946 * gdb.arch/i386-pseudo.c (main): Ditto.
8948 2014-08-27 Doug Evans <dje@google.com>
8950 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
8952 2014-08-25 Doug Evans <dje@google.com>
8954 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
8957 2014-08-25 Doug Evans <dje@google.com>
8959 * gdb.threads/thread-execl.exp: #include <stdio.h>.
8961 2014-08-24 Yao Qi <yao@codesourcery.com>
8963 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
8965 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
8967 2014-08-22 Doug Evans <dje@google.com>
8970 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
8971 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
8972 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
8974 2014-08-22 Yao Qi <yao@codesourcery.com>
8976 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
8977 * gdb.python/py-finish-breakpoint2.exp: Likewise.
8978 * gdb.python/python.exp: Likewise. Use .py file on the host
8979 instead of the build.
8981 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8983 * gdb.threads/gcore-stale-thread.c: New file.
8984 * gdb.threads/gcore-stale-thread.exp: New file.
8986 2014-08-21 Pedro Alves <palves@redhat.com>
8988 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
8989 * gdb.base/gcore-relro-pie.exp: Likewise.
8990 * gdb.base/gcore-relro.exp: Likewise.
8991 * gdb.base/gcore.exp: Likewise.
8992 * gdb.base/print-symbol-loading.exp: Likewise.
8993 * gdb.threads/gcore-thread.exp: Likewise.
8994 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
8996 2014-08-20 Pedro Alves <palves@redhat.com>
8997 Jan Kratochvil <jan.kratochvil@redhat.com>
8999 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9001 (EXPECT): Handle READ1 being set.
9002 (all): Depend on EXTRA_RULES.
9003 (check-read1, expect-read1, read1.so, read1): New rules.
9004 * README (Testsuite Parameters): Document the READ1 make variable.
9005 (Race detection): New section.
9006 * configure: Regenerate.
9007 * configure.ac: If build==host==target, and running under a
9008 GNU/glibc system, add read1 to the extra Makefile rules.
9009 (EXTRA_RULES): AC_SUBST it.
9010 * lib/read1.c: New file.
9012 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9014 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9015 the handling of variables declared as a typedef to an array
9016 which a DW_AT_data_location attribute.
9018 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9019 Pedro Alves <palves@redhat.com>
9023 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9026 2014-08-19 Pedro Alves <palves@redhat.com>
9028 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9030 2014-08-19 Yao Qi <yao@codesourcery.com>
9032 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9035 2014-08-18 David Blaikie <dblaikie@gmail.com>
9037 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9039 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9041 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9042 attribute in array range.
9044 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9046 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9048 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9051 * gdb.cp/pr17132.cc: New file.
9052 * gdb.cp/pr17132.exp: New file.
9054 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9056 * gdb.python/py-xmethods.py (A_getarrayind)
9057 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9058 Use 'print' with function call syntax.
9059 (E_method_matcher.match): Fix tab vs space indentation mixup.
9061 2014-08-15 Yao Qi <yao@codesourcery.com>
9063 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9066 2014-08-15 Yao Qi <yao@codesourcery.com>
9068 * gdb.cp/casts.exp: Set print symbol off.
9069 * gdb.cp/class2.exp: Likewise.
9070 * gdb.cp/overload.exp: Likewise.
9071 * gdb.cp/templates.exp: Likewise.
9073 2014-08-11 Doug Evans <dje@google.com>
9075 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9076 (test_load_shlib): Update.
9078 2014-08-09 Yao Qi <yao@codesourcery.com>
9080 * gdb.base/display.exp: Invoke is_address_zero_readable.
9081 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9082 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9083 * gdb.base/hbreak-unmapped.exp: Return if
9084 is_address_zero_readable returns true.
9085 * gdb.base/signest.exp: Likewise.
9086 * gdb.base/signull.exp: Likewise.
9087 * gdb.base/sigbpt.exp: Likewise.
9088 * gdb.guile/scm-disasm.exp: Do the test if
9089 is_address_zero_readable returns false.
9090 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9091 * gdb.python/py-arch.exp: Likewise.
9092 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9093 * lib/gdb.exp (is_address_zero_readable): New proc.
9095 2014-08-09 Yao Qi <yao@codesourcery.com>
9098 * gdb.mi/mi-var-display.exp: Make test messages unique.
9100 2014-08-04 Tom Tromey <tromey@redhat.com>
9102 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9105 2014-08-04 Tom Tromey <tromey@redhat.com>
9107 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9110 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9112 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9113 inner_vla_struct_object_size.
9114 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9117 2014-07-30 Pedro Alves <palves@redhat.com>
9119 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9122 2014-07-29 Yao Qi <yao@codesourcery.com>
9125 * gdb.base/until-nodebug.exp: New.
9127 2014-07-28 Doug Evans <xdje42@gmail.com>
9130 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9131 previously existing parameter, and previously ambiguously spelled
9134 2014-07-28 Will Newton <will.newton@linaro.org>
9136 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9138 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9139 Doug Evans <xdje42@gmail.com>
9142 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9144 2014-07-25 Pedro Alves <palves@redhat.com>
9146 * gdb.threads/signal-command-handle-nopass.c: New file.
9147 * gdb.threads/signal-command-handle-nopass.exp: New file.
9148 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9149 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9150 * gdb.threads/signal-delivered-right-thread.c: New file.
9151 * gdb.threads/signal-delivered-right-thread.exp: New file.
9153 2014-07-25 Pedro Alves <palves@redhat.com>
9155 * gdb.base/double-prompt-target-event-error.exp
9156 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9158 (cancel_pagination_in_target_event): Rework double prompt
9160 * gdb.base/paginate-after-ctrl-c-running.exp
9161 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9163 * gdb.base/paginate-bg-execution.exp
9164 (test_bg_execution_pagination_return)
9165 (test_bg_execution_pagination_cancel): Remove '-notransfer
9167 * gdb.base/paginate-execution-startup.exp
9168 (test_fg_execution_pagination_return)
9169 (test_fg_execution_pagination_cancel): Remove '-notransfer
9171 * gdb.base/paginate-inferior-exit.exp
9172 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9174 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9175 * lib/gdb.exp (pagination_prompt): Run text through
9177 (gdb_test_multiple): Match $pagination_prompt instead of
9179 (string_to_regexp): Move to lib/gdb-utils.exp.
9181 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9183 * gdb.arch/amd64-entry-value-paramref.S: New file.
9184 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9185 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9186 * gdb.arch/amd64-optimout-repeat.S: New file.
9187 * gdb.arch/amd64-optimout-repeat.c: New file.
9188 * gdb.arch/amd64-optimout-repeat.exp: New file.
9190 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9193 * gdb.base/statistics.exp: New file.
9195 2014-07-17 Doug Evans <dje@google.com>
9198 * gdb.base/maint.exp: Update testing of per-command stats.
9200 2014-07-16 Pedro Alves <palves@redhat.com>
9202 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9203 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9204 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9205 (tfile_write_buf): New functions.
9206 (add_memory_block): Rewrite using the above.
9207 (adjust_function_address): New function.
9208 (FUNCTION_ADDRESS): New macro.
9209 (write_basic_trace_file): Remove short_x local, and use
9210 tfile_write_16. Change type of func_addr local to unsigned long
9211 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9212 here. Cast argument of add_memory_block to char pointer.
9213 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9214 (main): Remove parameters.
9215 * gdb.trace/tfile.exp: Remove nowarnings.
9217 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9219 * gdb.base/debug-expr.exp: Test string evaluation with
9220 "debug expression" on.
9222 2014-07-15 Pedro Alves <palves@redhat.com>
9224 * gdb.base/reread.exp: Use clean_restart.
9226 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9228 * gdb.arch/avr-flash-qualifer.c: New.
9229 * gdb.arch/avr-flash-qualifer.exp: New.
9231 2014-07-14 Pedro Alves <palves@redhat.com>
9233 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9234 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9236 2014-07-14 Pedro Alves <palves@redhat.com>
9238 * gdb.base/double-prompt-target-event-error.c: New file.
9239 * gdb.base/double-prompt-target-event-error.exp: New file.
9241 2014-07-14 Pedro Alves <palves@redhat.com>
9244 * gdb.base/paginate-inferior-exit.c: New file.
9245 * gdb.base/paginate-inferior-exit.exp: New file.
9247 2014-07-14 Pedro Alves <palves@redhat.com>
9250 * gdb.base/paginate-bg-execution.c: New file.
9251 * gdb.base/paginate-bg-execution.exp: New file.
9253 2014-07-14 Pedro Alves <palves@redhat.com>
9256 * gdb.base/paginate-execution-startup.c: New file.
9257 * gdb.base/paginate-execution-startup.exp: New file.
9258 * lib/gdb.exp (pagination_prompt): New global.
9259 (default_gdb_spawn): New procedure, factored out from
9261 (default_gdb_start): Adjust to call default_gdb_spawn.
9262 (gdb_spawn): New procedure.
9264 2014-07-14 Pedro Alves <palves@redhat.com>
9266 * lib/gdb.exp (gdb_assert): New procedure.
9267 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9269 2014-07-14 Pedro Alves <palves@redhat.com>
9271 * gdb.base/execution-termios.c: New file.
9272 * gdb.base/execution-termios.exp: New file.
9274 2014-07-14 Tom Tromey <tromey@redhat.com>
9276 * gdb.cp/vla-cxx.cc: New file.
9277 * gdb.cp/vla-cxx.exp: New file.
9279 2014-07-14 Tom Tromey <tromey@redhat.com>
9281 * gdb.reverse/rerun-prec.c: New file.
9282 * gdb.reverse/rerun-prec.exp: New file.
9284 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9285 Maciej W. Rozycki <macro@codesourcery.com>
9287 * lib/gdb-utils.exp: New file.
9288 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9289 inline `gdb_init_command' processing.
9290 (gdb_start_cmd): Likewise.
9291 * lib/mi-support.exp (mi_run_cmd): Likewise.
9292 * README: Document `gdb_init_command' and `gdb_init_commands'.
9294 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9296 Fix false FAIL running under a very long directory name.
9297 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9298 and "set print elements 10000". Twice.
9300 2014-07-11 Yao Qi <yao@codesourcery.com>
9302 * gdb.base/exprs.exp: "set print symbol off".
9304 2014-07-11 Pedro Alves <palves@redhat.com>
9306 * gdb.threads/kill.c: New file.
9307 * gdb.threads/kill.exp: New file.
9309 2014-07-10 Yao Qi <yao@codesourcery.com>
9311 * gdb.trace/tfile.c (write_basic_trace_file)
9312 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9313 address written to trace file.
9315 2014-07-09 Pedro Alves <palves@redhat.com>
9317 * gdb.base/attach-wait-input.exp: New file.
9318 * gdb.base/attach-wait-input.c: New file.
9320 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9322 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9323 setting up test structures.
9324 (main): Call new test function.
9325 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9326 test function, continue into test function and walk test
9329 2014-07-02 Yao Qi <yao@codesourcery.com>
9331 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9332 'bar_start' at the beginning of functions 'foo' and 'bar'
9334 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9335 instead of 'foo' and 'bar'.
9337 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9339 * gdb.btrace/segv.exp: New.
9340 * gdb.btrace/segv.c: New.
9342 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9344 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9347 2014-06-30 Mark Wielaard <mjw@redhat.com>
9349 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9350 vulture, vilify, villar): New volatile array constants.
9351 (vindictive, vegetation): New const volatile array constants.
9352 * gdb.base/volatile.exp: Test volatile and const volatile array
9355 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9357 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9358 target lacks support for awatch, rwatch, or hbreak.
9360 2014-06-27 Yao Qi <yao@codesourcery.com>
9362 * gdb.multi/dummy-frame-restore.exp: New.
9363 * gdb.multi/dummy-frame-restore.c: New.
9365 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9367 * gdb.btrace/gcore.exp: New.
9369 2014-06-23 Pedro Alves <palves@redhat.com>
9371 * gdb.base/watchpoint-reuse-slot.c: New file.
9372 * gdb.base/watchpoint-reuse-slot.exp: New file.
9374 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9376 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9377 progspace's filename in 'info', 'enable' and 'disable' command
9380 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9382 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9383 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9384 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9386 2014-06-20 Gary Benson <gbenson@redhat.com>
9388 * gdb.arch/i386-avx.exp: Fix include file location.
9389 * gdb.arch/i386-sse.exp: Likewise.
9391 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9393 * gdb.dlang/expression.exp: New file.
9395 2014-06-19 Pedro Alves <palves@redhat.com>
9397 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9399 (top level): ... here. Iterate running tests under different
9400 scheduler-locking settings.
9402 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9404 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9405 to DW_FORM_addr and use non-zero addresses.
9407 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9410 * gdb.python/py-xmethods.cc: Add global function call counters and
9411 increment them in their respective functions. Remove "cout"
9413 * gdb.python/py-xmethods.exp: Make tests check the global function
9414 call counters instead of depending on inferior IO.
9416 2014-06-18 Don Breazeal <donb@codesourcery.com>
9418 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9420 (explicit_fork_parent_follow): Deleted procedure.
9421 (explicit_fork_child_follow): Deleted procedure.
9422 (test_follow_fork): New procedure.
9423 (do_fork_tests): Replace calls to deleted procedures with
9424 calls to test_follow_fork and reset GDB for subsequent
9427 2014-06-17 Yao Qi <yao@codesourcery.com>
9429 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9432 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9434 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9435 Initialize ptr and S explicitly.
9436 (skip_type_update_when_not_use_rtti_test): Likewise.
9438 2014-06-16 Keith Seitz <keiths@redhat.com>
9441 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9442 the inferior is started.
9444 2014-06-16 Pedro Alves <palves@redhat.com>
9446 * gdb.base/break-main-file-remove-fail.c: New file.
9447 * gdb.base/break-main-file-remove-fail.exp: New file.
9448 * gdb.base/break-unload-file.exp: Use build_executable instead of
9449 prepare_for_testing.
9450 (test_break): New parameter "initial_load". Handle it.
9451 (top level): Add initial_load cmdline/file axis.
9453 2014-06-12 Tom Tromey <tromey@redhat.com>
9455 * gdb.base/completion.exp: Don't use directory name in test.
9457 2014-06-09 Gary Benson <gbenson@redhat.com>
9459 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9460 separate the always-available ANSI-standard signals from the
9461 signals that require checking.
9463 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9467 2014-06-07 Keith Seitz <keiths@redhat.com>
9471 * gdb.cp/var-tag.cc: New file.
9472 * gdb.cp/var-tag.exp: New file.
9473 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9474 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9475 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9476 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9478 2014-06-06 Doug Evans <xdje42@gmail.com>
9480 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9482 2014-06-06 Pedro Alves <palves@redhat.com>
9484 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9485 in target debug output instead of looking at RSP packets,
9486 disabling the test on any target that uses hardware stepping.
9489 2014-06-06 Pedro Alves <palves@redhat.com>
9491 * gdb.base/break-unload-file.exp: Fix typo.
9493 2014-06-06 Yao Qi <yao@codesourcery.com>
9495 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9496 from "jit_function" to "^jit_function".
9498 2014-06-06 Yao Qi <yao@codesourcery.com>
9500 * gdb.base/async.c (foo): Add one statement.
9501 * gdb.base/async.exp: Get the next instruction address and
9502 match the output of "nexti" by instruction address. Match
9503 the hex address in the output of "finish".
9505 2014-06-06 Gary Benson <gbenson@redhat.com>
9507 * gdb.base/call-signals.c: Remove preprocessor conditionals
9508 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9509 SIGSEGV and SIGTERM.
9510 * gdb.base/sigall.c: Likewise.
9511 * gdb.base/unwindonsignal.c: Likewise.
9512 * gdb.reverse/sigall-reverse.c: Likewise.
9514 2014-06-06 Yao Qi <yao@codesourcery.com>
9516 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9517 readable, skip the test.
9519 2014-06-06 Yao Qi <yao@codesourcery.com>
9521 * gdb.threads/staticthreads.c (thread_function): Move the line
9522 setting breakpoint on forward.
9523 * gdb.threads/staticthreads.exp: Update comments.
9525 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9527 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9528 "history-append! type error".
9530 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9532 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9533 erroneous dprintf expected input.
9535 2014-06-04 Doug Evans <xdje42@gmail.com>
9537 * gdb.guile/scm-generics.exp: Delete.
9539 2014-06-04 Doug Evans <xdje42@gmail.com>
9541 * gdb.guile/scm-breakpoint.exp: Update.
9542 Add tests for breakpoint registration.
9544 2014-06-04 Tom Tromey <tromey@redhat.com>
9546 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9548 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9549 inner_vla_struct, vla_union types. Initialize objects of those
9550 types and compute their sizes.
9552 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9553 Hui Zhu <hui@codesourcery.com>
9555 * gdb.base/fileio.exp: Add test for shell not available as well as
9557 * gdb.base/fileio.c (test_system): Check for shell twice.
9559 2014-06-04 Yao Qi <yao@codesourcery.com>
9561 * gdb.base/auto-connect-native-target.exp: Remove redundant
9562 space from the regexp pattern.
9564 2014-06-04 Yao Qi <yao@codesourcery.com>
9566 * gdb.base/default.exp: Replace "child" with "native" in
9569 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9571 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9572 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9573 * gdb.python/py-xmethods.py: Python script supporting the
9574 new testcase and tests.
9576 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9577 Pedro Alves <palves@redhat.com>
9579 PR breakpoints/17000
9580 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9581 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9583 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9585 * gdb.base/subst.exp: Add tests to verify partial path matching
9588 2014-06-03 Pedro Alves <palves@redhat.com>
9590 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9591 target that doesn't use software single-stepping.
9593 2014-06-03 Pedro Alves <palves@redhat.com>
9595 PR breakpoints/17000
9596 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9597 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9599 2014-06-02 Doug Evans <xdje42@gmail.com>
9601 * gdb.guile/scm-parameter.exp: New file.
9603 2014-06-02 Doug Evans <xdje42@gmail.com>
9605 * gdb.guile/scm-cmd.c: New file.
9606 * gdb.guile/scm-cmd.exp: New file.
9608 2014-06-02 Doug Evans <xdje42@gmail.com>
9610 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9611 pretty-printer lookup.
9612 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9613 (make-pp_s-printer): Call it.
9614 (make-pretty-printer-from-dict): New function.
9615 (lookup-pretty-printer-maker-from-dict): New function.
9616 (*pretty-printer*): Simplify.
9617 (make-objfile-pp_s-printer): New function.
9618 (install-objfile-pretty-printers!): New function.
9619 (make-progspace-pp_s-printer): New function.
9620 (install-progspace-pretty-printers!): New function.
9621 * gdb.guile/scm-progspace.c: New file.
9622 * gdb.guile/scm-progspace.exp: New file.
9624 2014-06-02 Pedro Alves <palves@redhat.com>
9626 * gdb.base/dprintf-bp-same-addr.c: New file.
9627 * gdb.base/dprintf-bp-same-addr.exp: New file.
9629 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9631 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9632 * gdb.arch/powerpc-power.s: Likewise.
9634 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9636 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9638 2014-06-01 Yao Qi <yao@codesourcery.com>
9640 * gdb.base/watchpoint.exp (test_watch_location): Check null
9641 pointer can be dereferenced. If not, do the test, otherwise
9644 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9646 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9648 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9650 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9652 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9653 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9654 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9655 * gdb.arch/amd64-invalid-stack-top.c: New file.
9656 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9658 2014-05-30 Pedro Alves <palves@redhat.com>
9660 PR breakpoints/17000
9661 * gdb.base/sss-bp-on-user-bp.c: New file.
9662 * gdb.base/sss-bp-on-user-bp.exp: New file.
9664 2014-05-30 David Blaikie <dblaikie@gmail.com>
9666 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9667 gnu_inline semantics via attribute.
9668 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9669 source explicitly specifies the required semantics.
9671 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9673 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9675 2014-05-29 Pedro Alves <palves@redhat.com>
9676 Tom Tromey <tromey@redhat.com>
9678 * gdb.base/async-shell.exp: Don't enable target-async.
9679 * gdb.base/async.exp
9680 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9682 (top level): Don't test with "target-async".
9683 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9684 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9685 * gdb.base/inferior-died.exp: Don't enable target-async.
9686 * gdb.base/interrupt-noterm.exp: Likewise.
9687 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9688 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9689 * gdb.mi/mi-nonstop.exp: Likewise.
9690 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9691 * gdb.mi/mi-nsintrall.exp: Likewise.
9692 * gdb.mi/mi-nsmoribund.exp: Likewise.
9693 * gdb.mi/mi-nsthrexec.exp: Likewise.
9694 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9695 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9696 * gdb.python/py-evsignal.exp: Don't enable target-async.
9697 * gdb.python/py-evthreads.exp: Likewise.
9698 * gdb.python/py-prompt.exp: Likewise.
9699 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9700 * gdb.server/solib-list.exp: Don't enable target-async.
9701 * gdb.threads/thread-specific-bp.exp: Likewise.
9702 * lib/mi-support.exp: Adjust to use mi-async.
9704 2014-05-29 Pedro Alves <palves@redhat.com>
9707 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9708 reason, even in sync mode.
9710 2014-05-29 Pedro Alves <palves@redhat.com>
9711 Hui Zhu <hui@codesourcery.com>
9714 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9715 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9716 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9717 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9719 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9721 * config/monitor.exp (gdb_target_monitor): Replace use of
9722 "set remotebaud" by "set serial baud".
9724 2014-05-26 Andy Wingo <wingo@igalia.com>
9726 * gdb.guile/scm-breakpoint.exp:
9727 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9728 properties instead of gdb-object-properties.
9730 2014-05-26 Yao Qi <yao@codesourcery.com>
9732 * gdb.server/no-thread-db.exp: Specify source file name
9733 explicitly when setting a breakpoint.
9735 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9737 * gdb.btrace/vdso.c: New.
9738 * gdb.btrace/vdso.exp: New.
9740 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9742 * gdb.base/gcore.exp (capture_command_output): Move ...
9743 * lib/gdb.exp (capture_command_output): ... here.
9745 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9747 * gdb.btrace/data.exp: Test memory access during btrace replay.
9749 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9751 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9753 2014-05-21 Pedro Alves <palves@redhat.com>
9756 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9757 (top level): Test that output related to execution commands is
9758 sent to the console with CLI commands, but not with MI commands.
9759 Test that breakpoint events are always mirrored to the console.
9760 Also expect the new source line to be output after a "next" in
9761 async mode too. Make it a pass/fail test.
9762 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9764 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9766 2014-05-21 Pedro Alves <palves@redhat.com>
9768 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9769 Use them to test variations of "list" after reaching a breakpoint.
9770 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9771 Test "list" with listsize 10 after reaching a breakpoint.
9772 * gdb.python/python.exp (decode_line current location line
9773 number): Adjust expected line number.
9775 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9777 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9778 behavior for $args, pass it directly to "run".
9780 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9782 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9785 2014-05-21 Pedro Alves <palves@redhat.com>
9787 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9788 auto-connect-native-target off".
9789 * gdb.base/auto-connect-native-target.c: New file.
9790 * gdb.base/auto-connect-native-target.exp: New file.
9792 2014-05-21 Pedro Alves <palves@redhat.com>
9794 * gdb.base/default.exp: Test "target native" instead of "target
9797 2014-05-21 Mark Wielaard <mjw@redhat.com>
9799 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9801 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9803 Fix TLS access for -static -pthread.
9804 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9805 <HAVE_TLS> (thread_function, main): Initialize it.
9806 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9808 <$have_tls != "">: Check TLSVAR.
9810 2014-05-21 Pedro Alves <palves@redhat.com>
9812 * gdb.base/dcache-line-read-error.c: New.
9813 * gdb.base/dcache-line-read-error.exp: New.
9815 2014-05-20 Pedro Alves <palves@redhat.com>
9817 * gdb.base/compare-sections.c: New file.
9818 * gdb.base/compare-sections.exp: New file.
9820 2014-05-20 Pedro Alves <palves@redhat.com>
9822 * gdb.base/break-idempotent.c: New file.
9823 * gdb.base/break-idempotent.exp: New file.
9825 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9827 * gdb.btrace/nohist.exp: New.
9829 2014-05-20 Yao Qi <yao@codesourcery.com>
9831 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9832 gdb.reverse directory and gdb_reverse_timeout exists in board
9834 * README: Document gdb_reverse_timeout.
9836 2014-05-20 Yao Qi <yao@codesourcery.com>
9838 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9839 'test_file_name'. Treat args as a string instead of a list.
9840 (gdb_init): Rename argument 'args' by 'test_file_name'.
9842 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9844 * gdb.arch/powerpc-power.exp: New file.
9845 * gdb.arch/powerpc-power.s: New file.
9847 2014-05-16 Doug Evans <dje@google.com>
9849 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9850 * gdb.base/completion.exp: Check that all expected files exist
9851 before doing file completion.
9853 2014-05-16 Doug Evans <dje@google.com>
9855 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9857 (do_syscall_tests_without_xml): Update.
9859 2014-05-16 Pedro Alves <palves@redhat.com>
9861 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9862 instead of "unknown output after running".
9864 2014-05-16 Yao Qi <yao@codesourcery.com>
9866 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9867 file1.txt from host at the end.
9868 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9870 2014-05-15 Doug Evans <dje@google.com>
9872 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9873 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9874 loading file. Add test for TU lookup.
9876 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9878 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9879 calling "-exec-arguments" or "set args" before running the
9882 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9884 * lib/mi-support.exp (mi_expect_stop): Expect message for
9885 inferiors that exit with non-zero exit code.
9887 2014-05-14 Yao Qi <yao@codesourcery.com>
9889 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9890 match absolute path on remote host.
9891 (test_file_list_exec_source_files): Remove "/" from the
9894 2014-05-14 Yao Qi <yao@codesourcery.com>
9896 * boards/local-remote-host-notty.exp (${board}_file): New
9899 2014-05-07 Kyle McMartin <kyle@redhat.com>
9901 Pushed by Joel Brobecker <brobecker@adacore.com>.
9902 * gdb.arch/aarch64-atomic-inst.c: New file.
9903 * gdb.arch/aarch64-atomic-inst.exp: New file.
9905 2014-05-07 Yao Qi <yao@codesourcery.com>
9907 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9908 in current context" too.
9910 2014-05-05 Keith Seitz <keiths@redhat.com>
9912 * gdb.linespec/ls-dollar.exp: Add test for linespec
9913 file:convenience_variable.
9915 2014-05-05 Yao Qi <yao@codesourcery.com>
9917 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9918 traceframes into tfile and ctf trace files. Read data from
9919 trace file and test collected data.
9920 (gdb_collect_locals_test): Likewise.
9921 (gdb_unavailable_registers_test): Likewise.
9922 (gdb_unavailable_floats): Likewise.
9923 (gdb_collect_globals_test): Likewise.
9924 (top-level): Append "ctf" to trace_file_targets if GDB
9927 2014-05-05 Yao Qi <yao@codesourcery.com>
9929 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9931 (gdb_collect_args_test_1): ... it. New proc.
9932 (gdb_collect_locals_test): Move some code to ...
9933 (gdb_collect_locals_test_1): ... it. New proc.
9934 (gdb_unavailable_registers_test): Move some code to ...
9935 (gdb_unavailable_registers_test_1): ... it. New proc.
9936 (gdb_unavailable_floats): Move some code to ...
9937 (gdb_unavailable_floats_1): ... it. New proc.
9939 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9941 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9942 probes to test for bitness recognition.
9943 * gdb.arch/amd64-stap-optional-prefix.exp
9944 (test_probe_value_without_reg): New procedure.
9945 Add code to test for different kinds of bitness.
9947 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9949 PR breakpoints/16889
9950 * gdb.arch/amd64-stap-optional-prefix.S: New file.
9951 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9953 2014-05-01 Pedro Alves <palves@redhat.com>
9955 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
9956 gdb_file_cmd if no file is specified.
9957 * boards/native-extended-gdbserver.exp (gdb_load): Use the
9958 last_loaded_file to set the remote exec-file.
9960 2014-05-01 Pedro Alves <palves@redhat.com>
9962 * boards/local-remote-host.exp: New file.
9964 2014-05-01 Pedro Alves <palves@redhat.com>
9966 * boards/local-remote-host.exp: Rename to ...
9967 * boards/local-remote-host-notty.exp: ... this.
9969 2014-04-28 Joel Brobecker <brobecker@adacore.com>
9971 * gdb.ada/dyn_arrayidx: New testcase.
9973 2014-04-26 Yao Qi <yao@codesourcery.com>
9975 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
9976 and compute the length of function main. Save it in
9978 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
9979 (top-level): Use gdb_compile to compile objects into
9980 executable and restart GDB. Remove invocation to
9981 prepare_for_testing.
9983 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
9984 Pedro Alves <palves@redhat.com>
9987 * gdb.multi/multi-attach.c: New file.
9988 * gdb.multi/multi-attach.exp: New file.
9990 2014-04-25 Pedro Alves <palves@redhat.com>
9992 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
9994 (top level): Test that "set remote conditional-breakpoints-packet
9995 off" works as intended.
9996 * gdb.base/dprintf.exp: Test that "set remote
9997 breakpoint-commands-packet off" works as intended.
9998 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10000 (top level): Call it.
10001 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10002 remote fast-tracepoints-packet off" works as intended.
10003 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10004 * lib/gdb.exp (gdb_is_target_remote): ... here.
10006 2014-04-24 David Blaikie <dblaikie@gmail.com>
10008 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10009 ensure clang would not discard them.
10010 * gdb.base/gdbvars.c: Ditto.
10011 * gdb.base/memattr.c: Ditto.
10012 * gdb.base/whatis.c: Ditto.
10013 * gdb.python/py-prettyprint.c: Ditto.
10014 * gdb.trace/actions.c: Ditto.
10015 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10016 ensure clang would not discard it.
10018 2014-04-24 David Blaikie <dblaikie@gmail.com>
10020 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10021 clang to emit the full definition of type required by the test
10022 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10024 2014-04-24 David Blaikie <dblaikie@gmail.com>
10026 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10027 coax Clang into emitting the definition of the type.
10028 * gdb.cp/pr10728-x.h (y): Ditto.
10029 * gdb.cp/pr10728-y.cc (y): Ditto.
10031 2014-04-24 David Blaikie <dblaikie@gmail.com>
10033 * gdb.base/label.exp: XFAIL label related tests under Clang.
10034 * gdb.cp/cplabel.exp: Ditto.
10035 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10036 under Clang those using labels.
10038 2014-04-25 Yao Qi <yao@codesourcery.com>
10040 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10042 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10043 partial_label and double_label.
10045 2014-04-24 David Blaikie <dblaikie@gmail.com>
10047 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10049 2014-04-24 David Blaikie <dblaikie@gmail.com>
10051 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10052 of the function to work across GCC and Clang.
10053 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10054 pointer types (const void ** const V void **).
10056 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10057 Walfred Tedeschi <walfred.tedeschi@intel.com>
10059 * Makefile.in (EXECUTABLES): Added i386-avx512.
10060 * gdb.arch/i386-avx512.c: New file.
10061 * gdb.arch/i386-avx512.exp: Likewise.
10063 2014-04-23 Keith Seitz <keiths@redhat.com>
10065 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10066 (mi_make_breakpoint_table): New procedure.
10067 (mi_create_breakpoint): Use mi_make_breakpoint
10068 and return the result.
10069 (mi_make_breakpoint): New procedure.
10070 (mi_build_kv_pairs): New procedure.
10072 * gdb.mi/mi-break.exp: Remove unused globals,
10073 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10074 All callers updated.
10075 * gdb.mi/mi-dprintf.exp: Use variable to track command
10077 Update all callers of mi_create_breakpoint and use
10078 mi_make_breakpoint_table.
10079 Remove any unused global variables.
10080 * gdb.mi/mi-nonstop.exp: Likewise.
10081 * gdb.mi/mi-nsintrall.exp: Likewise.
10082 * gdb.mi/mi-nsmoribund.exp: Likewise.
10083 * gdb.mi/mi-nsthrexec.exp: Likewise.
10084 * gdb.mi/mi-reverse.exp: Likewise.
10085 * gdb.mi/mi-simplerun.exp: Likewise.
10086 * gdb.mi/mi-stepn.exp: Likewise.
10087 * gdb.mi/mi-syn-frame.exp: Likewise.
10088 * gdb.mi/mi-until.exp: Likewise.
10089 * gdb.mi/mi-var-cp.exp: Likewise.
10090 * gdb.mi/mi-var-display.exp: Likewise.
10091 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10092 * gdb.mi/mi2-var-child.exp: Likewise.
10093 * gdb.mi/mi-vla-c99.exp: Likewise.
10094 * lib/mi-support.exp: Likewise.
10096 From Ian Lance Taylor <iant@cygnus.com>:
10097 * lib/gdb.exp (parse_args): New procedure.
10099 2014-04-23 Pedro Alves <palves@redhat.com>
10101 * gdb.base/break-unload-file.c: New file.
10102 * gdb.base/break-unload-file.exp: New file.
10103 * gdb.base/sym-file-lib.c (baz): New function.
10104 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10106 (load): Store the segment's mapped size.
10107 (unload): New function.
10108 (unload_shlib): New function.
10109 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10110 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10111 set a breakpoint at baz, and call it.
10112 * gdb.base/sym-file.exp: New tests for stale breakpoint
10115 2014-04-23 Pedro Alves <palves@redhat.com>
10117 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10118 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10119 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10120 * gdb.base/hbreak-unmapped.c: New file.
10121 * gdb.base/hbreak-unmapped.exp: New file.
10122 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10123 * lib/gdb.exp (gdb_is_target_remote): ... here.
10125 2014-04-22 Pedro Alves <palves@redhat.com>
10127 * gdb.base/consecutive-step-over.c: New file.
10128 * gdb.base/consecutive-step-over.exp: New file.
10130 2014-04-22 Pedro Alves <palves@redhat.com>
10132 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10133 instead of send_gdb/gdb_expect.
10135 2014-04-22 Yao Qi <yao@codesourcery.com>
10137 * lib/trace-support.exp (generate_tracefile): New procedure.
10138 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10140 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10141 if generate_tracefile returns 1.
10143 2014-04-18 Tom Tromey <palves@redhat.com>
10144 Pedro alves <tromey@redhat.com>
10147 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10148 with a backtrace limit.
10149 * gdb.python/py-frame-inline.exp: Test running to an inline
10150 function with a backtrace limit, and printing the newest frame.
10151 * gdb.python/py-frame-inline.c (main): Call f.
10153 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10155 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10157 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10159 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10160 Drop prefix from unsupported source file path.
10162 2014-04-17 Yao Qi <yao@codesourcery.com>
10164 * lib/gdb.exp (with_target_charset): New proc.
10165 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10166 with_target_charset.
10167 (test_print_strings): Likewise.
10168 (test_repeat_bytes): Likewise.
10169 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10172 2014-04-16 Keith Seitz <keiths@redhat.com>
10175 * gdb.dwarf2/corrupt.c: New file.
10176 * gdb.dwarf2/corrupt.exp: New file.
10178 2014-04-16 Keith Seitz <keiths@redhat.com>
10181 * gdb.cp/namelessclass.cc: New file.
10182 * gdb.cp/namelessclass.exp: New file.
10183 * gdb.cp/namelessclass.S: New file.
10185 2014-04-16 Doug Evans <dje@google.com>
10187 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10189 (gdbserver_default_get_comm_port): New function.
10190 (gdbserver_start): Check if board file provided
10191 "gdbserver,get_comm_port" and use it if so.
10192 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10193 (gdb,socketport): Set to "stdio".
10194 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10195 (stdio_gdbserver_template): Delete.
10196 (${board}_get_remote_address): Update.
10197 (${board}_build_remote_cmd): Delete.
10198 (${board}_get_comm_port): New function.
10199 (${board}_spawn): Update.
10200 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10202 (${board}_get_remote_address): Update.
10203 (${board}_get_comm_port): New function.
10205 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10207 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10208 appearing in any order.
10210 2014-04-15 Doug Evans <dje@google.com>
10212 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10213 uninitialized value of "description".
10215 2014-04-15 Keith Seitz <keiths@redhat.com>
10217 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10218 Remove unused globals.
10219 (test_running_the_program): Likewise.
10220 (test_controlled_execution): Likewise.
10221 (test_controlling_breakpoints): Likewise.
10222 (test_program_termination): Likewise.
10224 2014-04-15 Keith Seitz <keiths@redhat.com>
10226 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10228 (test_rbreak_creation_and_listing): Likewise.
10229 (test_ignore_count): Likewise.
10230 (test_error): Likewise.
10232 2014-04-15 Pedro Alves <palves@redhat.com>
10234 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10235 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10237 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10238 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10239 to sym-file-loader.c.
10240 (struct library): Forward declare.
10241 (load_shlib, lookup_function): Change prototypes.
10242 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10243 (translate_offset): Remove declarations.
10244 (get_text_addr): New declaration.
10245 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10246 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10248 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10249 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10250 here from sym-file-loader.h.
10251 (struct library): New structure.
10252 (load_shlib, lookup_function): Change prototypes and adjust to
10253 work with a struct library.
10254 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10255 (translate_offset): Make static.
10256 (get_text_addr): New function.
10257 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10259 2014-04-15 Pedro Alves <palves@redhat.com>
10261 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10263 2014-04-15 Pedro Alves <palves@redhat.com>
10265 * gdb.base/sym-file-loader.c: Include <limits.h>.
10266 (SELF_LINK): New define.
10267 (get_origin): New function.
10268 (load_shlib): Use it.
10269 * gdb.base/sym-file.exp: Don't early return if the target is
10270 remote. Use runto_main, and issue fail is that fails. Use
10272 (shlib_name): Delete.
10273 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10275 2014-04-15 Pedro Alves <palves@redhat.com>
10277 * gdb.base/sym-file.exp: Remove regex characters from test
10278 message. Don't refer to breakpoint numbers in test messages.
10280 2014-04-14 Keith Seitz <keiths@redhat.com>
10283 * gdb.cp/var-tag.cc: New file.
10284 * gdb.cp/var-tag.exp: New file.
10285 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10286 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10287 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10288 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10290 2014-04-14 Tom Tromey <tromey@redhat.com>
10292 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10293 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10295 * gdb.cp/enum-class.exp: New file.
10296 * gdb.cp/enum-class.cc: New file.
10298 2014-04-14 Tom Tromey <tromey@redhat.com>
10300 * gdb.dwarf2/enum-type.exp: New file.
10302 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10304 * gdb.mi/mi-vla-c99.exp: New file.
10305 * gdb.mi/vla.c: New file.
10307 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10309 * gdb.base/vla-datatypes.c: New file.
10310 * gdb.base/vla-datatypes.exp: New file.
10312 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10314 * gdb.base/vla-ptr.c: New file.
10315 * gdb.base/vla-ptr.exp: New file.
10317 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10319 * gdb.dwarf2/count.exp: New file.
10321 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10323 * gdb.base/vla-sideeffect.c: New file.
10324 * gdb.base/vla-sideeffect.exp: New file.
10326 2014-04-14 David Blaikie <dblaikie@gmail.com>
10328 * gdb.mi/non-stop.c: Add return value for non-void function return
10330 * gdb.threads/staticthreads.c: Ditto.
10332 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10333 Doug Evans <xdje42@gmail.com>
10335 * gdb.guile/scm-value.c: Improve test case.
10336 * gdb.guile/scm-value.exp: Add new test.
10338 2014-04-11 David Blaikie <dblaikie@gmail.com>
10340 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10341 override Clang's default.
10343 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10345 Revert the following changes (regressions):
10347 * gdb.base/vla-sideeffect.c: New file.
10348 * gdb.base/vla-sideeffect.exp: New file.
10350 * gdb.dwarf2/count.exp: New file.
10352 * gdb.base/vla-multi.c: New file.
10353 * gdb.base/vla-multi.exp: New file.
10355 * gdb.base/vla-ptr.c: New file.
10356 * gdb.base/vla-ptr.exp: New file.
10358 * gdb.base/vla-datatypes.c: New file.
10359 * gdb.base/vla-datatypes.exp: New file.
10361 * gdb.mi/mi-vla-c99.exp: New file.
10362 * gdb.mi/vla.c: New file.
10364 2014-04-11 Keith Seitz <keiths@redhat.com>
10367 * gdb.cp/cpsizeof.exp: New file.
10368 * gdb.cp/cpsizeof.cc: New file.
10370 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10372 * gdb.mi/mi-vla-c99.exp: New file.
10373 * gdb.mi/vla.c: New file.
10375 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10377 * gdb.base/vla-datatypes.c: New file.
10378 * gdb.base/vla-datatypes.exp: New file.
10380 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10382 * gdb.base/vla-ptr.c: New file.
10383 * gdb.base/vla-ptr.exp: New file.
10385 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10387 * gdb.base/vla-multi.c: New file.
10388 * gdb.base/vla-multi.exp: New file.
10390 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10392 * gdb.dwarf2/count.exp: New file.
10394 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10396 * gdb.base/vla-sideeffect.c: New file.
10397 * gdb.base/vla-sideeffect.exp: New file.
10399 2014-04-11 Yao Qi <yao@codesourcery.com>
10401 * gdb.base/completion.exp: Check file exists before running tests
10402 on file completion.
10404 2014-04-10 Pedro Alves <palves@redhat.com>
10406 * gdb.base/cond-eval-mode.c: New file.
10407 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10408 prepare_for_testing to build the new file. Check result of
10410 (test_break, test_watch): New procedures.
10411 (top level): Use them.
10413 2014-04-08 Pierre Muller <muller@sourceware.org>
10415 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10416 Ctrl-V use for mingw hosts.
10418 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10420 * gdb.python/py-value.c: Improve test case.
10421 * gdb.python/py-value.exp: Add new test.
10423 2014-04-07 David Blaikie <dblaikie@gmail.com>
10425 * lib/compiler.c: Identify the clang compiler.
10426 * lib/compiler.cc: Ditto.
10428 2014-04-03 Yao Qi <yao@codesourcery.com>
10430 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10432 2014-04-01 Anton Blanchard <anton@samba.org>
10434 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10437 2014-04-01 Anton Blanchard <anton@samba.org>
10439 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10440 prepare_for_testing.
10442 2014-04-01 Anton Blanchard <anton@samba.org>
10444 * gdb.arch/ppc64-atomic-inst.c: Remove.
10445 * gdb.arch/ppc64-atomic-inst.S: New file.
10446 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10448 2014-03-31 Doug Evans <dje@google.com>
10450 * gdb.base/print-symbol-loading-lib.c: New file.
10451 * gdb.base/print-symbol-loading-main.c: New file.
10452 * gdb.base/print-symbol-loading.exp: New file.
10454 2014-03-31 Yao Qi <yao@codesourcery.com>
10456 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10458 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10460 * gdb.ada/mi_dyn_arr: New testcase.
10462 2014-03-27 Doug Evans <dje@google.com>
10464 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10466 2014-03-27 Yao Qi <yao@codesourcery.com>
10468 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10469 if target is nios2-*-*.
10471 2014-03-26 Yao Qi <yao@codesourcery.com>
10473 * lib/gdb.exp (readline_is_used): New proc.
10474 * gdb.base/completion.exp: Move tests on command complete up.
10475 Skip the rest of tests if readline is not used.
10476 * gdb.ada/complete.exp: Skp the test if readline is not
10478 * gdb.base/filesym.exp: Likewise.
10479 * gdb.base/macscp.exp: Likewise.
10480 * gdb.base/readline-ask.exp: Likewise.
10481 * gdb.base/readline.exp: Likewise.
10482 * gdb.python/py-cmd.exp: Likewise.
10483 * gdb.trace/tfile.exp: Likewise.
10485 2014-03-26 Yao Qi <yao@codesourcery.com>
10487 * gdb.base/macscp.exp: Fix code format issues.
10489 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10491 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10492 * gdb.asm/powerpc64le.inc: New file.
10494 2014-03-25 Pedro Alves <palves@redhat.com>
10495 Doug Evans <dje@google.com>
10497 * gdb.base/source-execution.c: New file.
10498 * gdb.base/source-execution.exp: New file.
10499 * gdb.base/source-execution.gdb: New file.
10501 2014-03-24 Doug Evans <dje@google.com>
10503 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10506 2014-03-24 Hui Zhu <hui@codesourcery.com>
10507 Pedro Alves <palves@redhat.com>
10509 PR breakpoints/16101
10510 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10511 test pass/fail messages. Detect missing support for dprintf when
10512 breakpoints are actually inserted.
10513 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10514 breakpoints are actually inserted.
10515 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10518 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10520 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10522 2014-03-22 Doug Evans <xdje42@gmail.com>
10524 * gdb.python/python.exp (python not supported): Verify multi-line
10525 python command issues an error.
10526 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10527 guile command issues an error.
10529 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10531 * gdb.threads/thread-specific.exp: Handle the lack of usable
10532 $this_breakpoint and $this_thread.
10534 2014-03-21 Hui Zhu <hui@codesourcery.com>
10536 * gdb.base/attach.exp (do_command_attach_tests): New.
10538 2014-03-20 Tom Tromey <tromey@redhat.com>
10539 Pedro Alves <palves@redhat.com>
10542 * gdb.base/condbreak-call-false.c: New file.
10543 * gdb.base/condbreak-call-false.exp: New file.
10545 2014-03-20 Pedro Alves <palves@redhat.com>
10547 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10549 (block_signals, unblock_signals): Delete.
10550 (child_function_2, main): Remove references to deleted variable
10553 2014-03-20 Pedro Alves <palves@redhat.com>
10555 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10556 Use pthread_kill to signal thread 2.
10557 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10558 Adjust to make the test send itself a signal rather than using the
10559 host's "kill" command.
10561 2014-03-20 Pedro Alves <palves@redhat.com>
10563 * gdb.threads/multiple-step-overs.c: New file.
10564 * gdb.threads/multiple-step-overs.exp: New file.
10565 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10566 Adjust expected infrun debug output.
10568 2014-03-20 Pedro Alves <palves@redhat.com>
10570 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10571 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10573 2014-03-20 Pedro Alves <palves@redhat.com>
10575 PR breakpoints/7143
10576 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10577 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10578 of gdb_test_multiple.
10579 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10580 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10582 2014-03-20 Pedro Alves <palves@redhat.com>
10584 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10585 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10587 2014-03-19 Pedro Alves <palves@redhat.com>
10589 * gdb.base/async.exp: Remove early return.
10591 2014-03-19 Pedro Alves <palves@redhat.com>
10593 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10595 2014-03-19 Pedro Alves <palves@redhat.com>
10597 * gdb.base/async.exp (test_background): Expect \r\n after
10598 "completed." in the fail pattern.
10600 2014-03-19 Pedro Alves <palves@redhat.com>
10602 * gdb.base/async.exp (test_background): New procedure.
10603 Use it for all background execution command tests.
10605 2014-03-19 Pedro Alves <palves@redhat.com>
10607 * gdb.base/async.exp: Use prepare_for_testing.
10609 2014-03-19 Pedro Alves <palves@redhat.com>
10611 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10614 2014-03-19 Pedro Alves <palves@redhat.com>
10616 * gdb.base/async.c (main): Add "jump here" and "until here" line
10618 * gdb.base/async.exp (jump_here): New global.
10619 (jump& test): Use it.
10620 (until_here): New global.
10621 (until& test): Use it.
10623 2014-03-19 Pedro Alves <palves@redhat.com>
10625 * gdb.base/async.exp: Don't frob gdb_protocol.
10627 2014-03-18 Doug Evans <xdje42@gmail.com>
10629 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10630 Fix spelling of exec-done-display.
10632 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10635 * gdb.base/gdb-sigterm.c: New file.
10636 * gdb.base/gdb-sigterm.exp: New file.
10638 2014-03-18 Pedro Alves <palves@redhat.com>
10641 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10642 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10645 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10647 * gdb.ada/pckd_arr_ren: New testcase.
10649 2014-03-13 Doug Evans <xdje42@gmail.com>
10652 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10653 collect after discarding symbols.
10655 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10656 Doug Evans <xdje42@gmail.com>
10658 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10659 to history survives a gc.
10661 2014-03-13 Pedro Alves <palves@redhat.com>
10663 * gdb.base/default.exp: Don't test "target procfs".
10665 2014-03-13 Pedro Alves <palves@redhat.com>
10667 * gdb.base/default.exp: Update "target child" and "target procfs"
10668 tests to not expect "Unix".
10670 2014-03-12 Tom Tromey <tromey@redhat.com>
10672 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10673 New procs. Add target-async tests.
10674 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10675 Add target-async tests.
10677 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10679 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10680 'func_start' and 'func_end' for the beginning and end of the
10681 function code, respectively.
10682 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10683 'func_end' instead of 'func' and 'main'.
10685 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10687 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10688 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10689 generate the debug info assembler source.
10691 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10693 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10694 * gdb.dwarf2/arr-subrange.exp: Likewise.
10695 * gdb.dwarf2/dwz.exp: Likewise.
10696 * gdb.dwarf2/method-ptr.exp: Likewise.
10697 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10698 * gdb.dwarf2/subrange.exp: Likewise.
10699 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10700 * gdb.dwarf2/implptrpiece.exp: Likewise.
10701 * gdb.dwarf2/nostaticblock.exp: Likewise.
10703 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10705 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10706 directory to absolute path name arguments.
10708 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10710 * gdb.ada/tagged_access: New testcase.
10712 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10714 * gdb.btrace/data.exp: Update expected output.
10716 2014-03-06 Yao Qi <yao@codesourcery.com>
10718 * gdb.trace/pr16508.exp: New file.
10720 2014-03-05 Pedro Alves <palves@redhat.com>
10723 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10725 (top level): Adjust to use it. Add tests that exercise breakpoint
10726 interaction with the code-cache.
10728 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10730 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10731 test for 'history-append!'.
10733 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10735 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10736 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10737 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10738 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10739 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10740 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10742 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10744 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10745 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10746 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10748 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10750 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10752 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10754 * gdb.dwarf2/arr-stride.c: New file.
10755 * gdb.dwarf2/arr-stride.exp: New file.
10757 2014-02-26 Pedro Alves <palves@redhat.com>
10759 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10760 that won't ever trigger. Make sure that GDB reports the correct
10761 breakpoint that caused the stop.
10763 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10766 * gdb.base/auto-load-script: New file.
10767 * gdb.base/auto-load.c: New file.
10768 * gdb.base/auto-load.exp: New file.
10771 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10773 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10775 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10776 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10778 2014-02-24 Doug Evans <dje@google.com>
10780 * lib/gdb.exp (run_on_host): Log error output if program fails.
10782 2014-02-21 Pedro Alves <palves@redhat.com>
10784 * gdb.threads/step-after-sr-lock.c: Rename to ...
10785 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10786 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10787 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10790 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10793 * gdb.arch/amd64-stap-special-operands.exp: New file.
10794 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10795 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10796 * gdb.arch/amd64-stap-triplet.S: Likewise.
10797 * gdb.arch/amd64-stap-triplet.c: Likewise.
10799 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10801 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10802 in .section pseudo-op.
10804 2014-02-20 lin zuojian <manjian2006@gmail.com>
10805 Joel Brobecker <brobecker@adacore.com>
10806 Doug Evans <xdje42@gmail.com>
10809 * gdb.dwarf2/dw2-icycle.S: New file.
10810 * gdb.dwarf2/dw2-icycle.c: New file.
10811 * gdb.dwarf2/dw2-icycle.exp: New file.
10813 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10815 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10816 operations on gdb.Value objects.
10817 * gdb.python/py-value-cc.exp: Add new test to test operations on
10820 2014-02-18 Doug Evans <dje@google.com>
10822 * Makefile.in (TESTS): New variable.
10823 (expanded_tests, expanded_tests_or_none): New variables
10824 (check-single): Pass $(expanded_tests_or_none) to runtest.
10825 (check-parallel): Only run tests in $(TESTS) if non-empty.
10826 (check/no-matching-tests-found): New rule.
10827 * README: Document TESTS makefile variable.
10829 2014-02-18 Doug Evans <dje@google.com>
10831 * Makefile.in (check-parallel): rm -rf outputs temp.
10833 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10835 Fix "ERROR: no fileid for" in the testsuite.
10836 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10838 2014-02-12 Doug Evans <dje@google.com>
10840 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10841 (MISCELLANEOUS): New variable.
10842 (clean): rm -rf $(MISCELLANEOUS).
10843 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10844 dwp live in the same directory as symlinks, with each symlink pointed
10845 to a differently named file in a different directory.
10847 2014-02-11 Doug Evans <dje@google.com>
10849 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10850 of Tcl file commands.
10852 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10854 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10855 "kill -SIGUSR1 -1".
10857 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10859 * gdb.ada/tick_length_array_enum_idx: New testcase.
10861 2014-02-10 Doug Evans <xdje42@gmail.com>
10863 * configure.ac (AC_OUTPUT): Add gdb.guile.
10864 * configure: Regenerate.
10865 * lib/gdb-guile.exp: New file.
10866 * lib/gdb.exp (get_target_charset): New function.
10867 * gdb.base/help.exp: Update expected output from "apropos apropos".
10868 * gdb.guile/Makefile.in: New file.
10869 * gdb.guile/guile.exp: New file.
10870 * gdb.guile/scm-arch.c: New file.
10871 * gdb.guile/scm-arch.exp: New file.
10872 * gdb.guile/scm-block.c: New file.
10873 * gdb.guile/scm-block.exp: New file.
10874 * gdb.guile/scm-breakpoint.c: New file.
10875 * gdb.guile/scm-breakpoint.exp: New file.
10876 * gdb.guile/scm-disasm.c: New file.
10877 * gdb.guile/scm-disasm.exp: New file.
10878 * gdb.guile/scm-equal.c: New file.
10879 * gdb.guile/scm-equal.exp: New file.
10880 * gdb.guile/scm-error.exp: New file.
10881 * gdb.guile/scm-error.scm: New file.
10882 * gdb.guile/scm-frame-args.c: New file.
10883 * gdb.guile/scm-frame-args.exp: New file.
10884 * gdb.guile/scm-frame-args.scm: New file.
10885 * gdb.guile/scm-frame-inline.c: New file.
10886 * gdb.guile/scm-frame-inline.exp: New file.
10887 * gdb.guile/scm-frame.c: New file.
10888 * gdb.guile/scm-frame.exp: New file.
10889 * gdb.guile/scm-generics.exp: New file.
10890 * gdb.guile/scm-gsmob.exp: New file.
10891 * gdb.guile/scm-iterator.c: New file.
10892 * gdb.guile/scm-iterator.exp: New file.
10893 * gdb.guile/scm-math.c: New file.
10894 * gdb.guile/scm-math.exp: New file.
10895 * gdb.guile/scm-objfile-script-gdb.in: New file.
10896 * gdb.guile/scm-objfile-script.c: New file.
10897 * gdb.guile/scm-objfile-script.exp: New file.
10898 * gdb.guile/scm-objfile.c: New file.
10899 * gdb.guile/scm-objfile.exp: New file.
10900 * gdb.guile/scm-ports.exp: New file.
10901 * gdb.guile/scm-pretty-print.c: New file.
10902 * gdb.guile/scm-pretty-print.exp: New file.
10903 * gdb.guile/scm-pretty-print.scm: New file.
10904 * gdb.guile/scm-section-script.c: New file.
10905 * gdb.guile/scm-section-script.exp: New file.
10906 * gdb.guile/scm-section-script.scm: New file.
10907 * gdb.guile/scm-symbol.c: New file.
10908 * gdb.guile/scm-symbol.exp: New file.
10909 * gdb.guile/scm-symtab-2.c: New file.
10910 * gdb.guile/scm-symtab.c: New file.
10911 * gdb.guile/scm-symtab.exp: New file.
10912 * gdb.guile/scm-type.c: New file.
10913 * gdb.guile/scm-type.exp: New file.
10914 * gdb.guile/scm-value-cc.cc: New file.
10915 * gdb.guile/scm-value-cc.exp: New file.
10916 * gdb.guile/scm-value.c: New file.
10917 * gdb.guile/scm-value.exp: New file.
10918 * gdb.guile/source2.scm: New file.
10919 * gdb.guile/types-module.cc: New file.
10920 * gdb.guile/types-module.exp: New file.
10922 2014-02-10 Yao Qi <yao@codesourcery.com>
10925 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10926 * configure: Regenerated.
10927 * Makefile.in: New file.
10929 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10931 * gdb.python/py-framefilter.exp: Fix typo.
10933 2014-02-08 Yao Qi <yao@codesourcery.com>
10935 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10936 that no =breakpoint-modified is emitted when breakpoints are
10937 modified through MI commands.
10939 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10940 Pedro Alves <palves@redhat.com>
10942 * gdb.threads/step-after-sr-lock.c: New file.
10943 * gdb.threads/step-after-sr-lock.exp: New file.
10945 2014-02-07 Pedro Alves <palves@redhat.com>
10947 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10949 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10951 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
10952 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
10954 2014-02-06 Doug Evans <xdje42@gmail.com>
10956 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
10959 * gdb.gdb/python-interrupts.exp: New file.
10961 2014-02-05 Yao Qi <yao@codesourcery.com>
10963 * gdb.trace/report.exp (use_collected_data): Test the output
10964 of "info threads" and "info inferiors".
10966 2014-02-05 Yao Qi <yao@codesourcery.com>
10970 2013-05-24 Yao Qi <yao@codesourcery.com>
10972 * gdb.trace/tfile.exp: Test inferior and thread.
10974 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10976 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
10978 * gdb.base/step-bt.c: Call hello via function pointer to make
10979 sure its first instruction is executed on powerpc64le-linux.
10981 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10983 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
10985 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10987 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
10988 of the test patterns for use on little-endian systems.
10990 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10992 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
10993 (decimal_vector): Fix for little-endian.
10995 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10997 * gdb.arch/sparc-sysstep.exp: New file.
10998 * gdb.arch/sparc-sysstep.c: Likewise.
11000 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11002 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11004 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11006 2014-01-23 Tom Tromey <tromey@redhat.com>
11008 * gdb.ada/array_char_idx: New testcase.
11010 2014-01-23 Tom Tromey <tromey@redhat.com>
11013 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11014 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11017 2014-01-23 Tom Tromey <tromey@redhat.com>
11020 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11021 string from an inferior frame.
11022 * gdb.python/py-framefilter-mi.exp: Update.
11024 2014-01-22 Doug Evans <dje@google.com>
11026 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11028 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11030 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11032 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11034 * gdb.trace/entry-values.exp: Remove excess space character from
11035 regex patterns. Handle s390 call instruction.
11037 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11039 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11040 define "*_start" label. Make "name" static.
11041 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11042 ${name} by references to ${name}_start.
11044 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11046 * gdb.base/info-macros.exp: Remove "debug" from the compile
11049 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11051 * gdb.dlang/demangle.exp: New file.
11053 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11055 * gdb.dlang/primitive-types.exp: New file.
11057 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11059 * configure.ac: Create gdb.dlang/Makefile.
11060 * configure: Regenerate.
11061 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11062 * gdb.dlang/Makefile.in: New file.
11063 * lib/d-support.exp: New file.
11064 * lib/gdb.exp (skip_d_tests): New proc.
11066 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11068 * gdb.btrace/delta.exp: Check reverse stepi.
11069 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11070 * gdb.btrace/finish.exp: New.
11071 * gdb.btrace/next.exp: New.
11072 * gdb.btrace/nexti.exp: New.
11073 * gdb.btrace/record_goto.c: Add comments.
11074 * gdb.btrace/step.exp: New.
11075 * gdb.btrace/stepi.exp: New.
11076 * gdb.btrace/multi-thread-step.c: New.
11077 * gdb.btrace/multi-thread-step.exp: New.
11078 * gdb.btrace/rn-dl-bind.c: New.
11079 * gdb.btrace/rn-dl-bind.exp: New.
11080 * gdb.btrace/data.c: New.
11081 * gdb.btrace/data.exp: New.
11082 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11084 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11086 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11087 * gdb.btrace/exception.exp: Update.
11088 * gdb.btrace/instruction_history.exp: Update.
11089 * gdb.btrace/record_goto.exp: Update.
11090 * gdb.btrace/tailcall.exp: Update.
11091 * gdb.btrace/unknown_functions.exp: Update.
11092 * gdb.btrace/delta.exp: New.
11094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11096 * gdb.btrace/record_goto.exp: Add backtrace test.
11097 * gdb.btrace/tailcall.exp: Add backtrace test.
11099 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11101 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11102 * gdb.btrace/record_goto.c: New.
11103 * gdb.btrace/record_goto.exp: New.
11104 * gdb.btrace/x86-record_goto.S: New.
11106 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11108 * gdb.btrace/function_call_history.exp: Update tests.
11109 * gdb.btrace/instruction_history.exp: Update tests.
11111 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11113 * gdb.btrace/function_call_history.exp: Fix expected field
11114 order for "record function-call-history".
11115 Add new tests for "record function-call-history /c".
11116 * gdb.btrace/exception.cc: New.
11117 * gdb.btrace/exception.exp: New.
11118 * gdb.btrace/tailcall.exp: New.
11119 * gdb.btrace/x86-tailcall.S: New.
11120 * gdb.btrace/x86-tailcall.c: New.
11121 * gdb.btrace/unknown_functions.c: New.
11122 * gdb.btrace/unknown_functions.exp: New.
11123 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11125 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11127 * gdb.btrace/instruction_history.exp: Update.
11128 * gdb.btrace/function_call_history.exp: Update.
11130 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11132 * gdb.btrace/function_call_history.exp: Fix expected function
11134 * gdb.btrace/instruction_history.exp: Initialize traced.
11135 Remove traced_functions.
11137 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11139 * gdb.btrace/function_call_history.exp: Update
11140 * gdb.btrace/instruction_history.exp: Update.
11142 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11144 * gdb.btrace/enable.exp: Update expected text.
11146 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11148 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11151 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11153 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11155 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11157 * lib/gdb.exp (supports_process_record): Return true for
11158 arm*-linux*. (supports_reverse): Likewise.
11160 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11164 * gdb.python/py-type.c: Enhance test case.
11165 * gdb.python/py-value-cc.cc: Likewise
11166 * gdb.python/py-type.exp: Add new tests.
11167 * gdb.python/py-value-cc.exp: Likewise
11169 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11170 Pedro Alves <palves@redhat.com>
11172 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11173 Make "name" extern.
11174 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11175 references to ${name}_start by references to ${name}.
11177 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11179 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11181 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11183 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11185 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11186 Pedro Alves <palves@redhat.com>
11188 * gdb.mi/mi-info-os.exp: Connect to the target with
11189 mi_gdb_target_load.
11191 2014-01-08 Pedro Alves <palves@redhat.com>
11193 * gdb.threads/reconnect-signal.c: New file.
11194 * gdb.threads/reconnect-signal.exp: New file.
11196 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11198 * gdb.base/source-dir.exp: New file.
11200 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11202 * gdb.ada/mi_interface: New testcase.
11204 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11206 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11207 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11208 gdb.ada/pp-rec-component/pck.ads: New files.
11210 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11212 * gdb.python/py-pp-integral.c: New file.
11213 * gdb.python/py-pp-integral.py: New file.
11214 * gdb.python/py-pp-integral.exp: New file.
11216 For older changes see ChangeLog-1993-2013.
11218 ;; Local Variables:
11219 ;; mode: change-log
11222 ;; version-control: never
11225 Copyright 2014-2017 Free Software Foundation, Inc.
11226 Copying and distribution of this file, with or without modification,
11227 are permitted provided the copyright notice and this notice are preserved.