1 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3 Fix test names and standardize compilation error messages throughout
7 * gdb.arch/alpha-step.exp
8 * gdb.arch/e500-prologue.exp
9 * gdb.arch/ftrace-insn-reloc.exp
10 * gdb.arch/gdb1291.exp
11 * gdb.arch/gdb1431.exp
12 * gdb.arch/gdb1558.exp
13 * gdb.arch/i386-dr3-watch.exp
14 * gdb.arch/i386-sse-stack-align.exp
15 * gdb.arch/ia64-breakpoint-shadow.exp
16 * gdb.arch/pa-nullify.exp
17 * gdb.arch/powerpc-aix-prologue.exp
18 * gdb.arch/thumb-bx-pc.exp
19 * gdb.base/annota1.exp
20 * gdb.base/annota3.exp
21 * gdb.base/arrayidx.exp
26 * gdb.base/bfp-test.exp
27 * gdb.base/bigcore.exp
28 * gdb.base/bitfields2.exp
29 * gdb.base/break-fun-addr.exp
30 * gdb.base/break-probes.exp
31 * gdb.base/call-rt-st.exp
32 * gdb.base/callexit.exp
33 * gdb.base/catch-fork-kill.exp
34 * gdb.base/charset.exp
35 * gdb.base/checkpoint.exp
36 * gdb.base/comprdebug.exp
37 * gdb.base/constvars.exp
38 * gdb.base/coredump-filter.exp
42 * gdb.base/display.exp
44 * gdb.base/dprintf-pending.exp
45 * gdb.base/dso2dso.exp
46 * gdb.base/dtrace-probe.exp
48 * gdb.base/enum_cond.exp
49 * gdb.base/exe-lock.exp
50 * gdb.base/exec-invalid-sysroot.exp
51 * gdb.base/execl-update-breakpoints.exp
56 * gdb.base/fixsection.exp
57 * gdb.base/foll-vfork.exp
58 * gdb.base/frame-args.exp
60 * gdb.base/gdb1250.exp
61 * gdb.base/global-var-nested-by-dso.exp
62 * gdb.base/gnu-ifunc.exp
63 * gdb.base/hashline1.exp
64 * gdb.base/hashline2.exp
65 * gdb.base/hashline3.exp
66 * gdb.base/hbreak-in-shr-unsupported.exp
68 * gdb.base/infcall-input.exp
69 * gdb.base/info-fun.exp
70 * gdb.base/info-shared.exp
71 * gdb.base/jit-simple.exp
76 * gdb.base/lineinc.exp
77 * gdb.base/logical.exp
78 * gdb.base/longjmp.exp
80 * gdb.base/miscexprs.exp
81 * gdb.base/new-ui-echo.exp
82 * gdb.base/new-ui-pending-input.exp
84 * gdb.base/nodebug.exp
85 * gdb.base/nofield.exp
86 * gdb.base/offsets.exp
87 * gdb.base/overlays.exp
88 * gdb.base/pending.exp
89 * gdb.base/pointers.exp
90 * gdb.base/pr11022.exp
91 * gdb.base/printcmds.exp
92 * gdb.base/prologue.exp
93 * gdb.base/ptr-typedef.exp
94 * gdb.base/realname-expand.exp
95 * gdb.base/relativedebug.exp
96 * gdb.base/relocate.exp
99 * gdb.base/return2.exp
100 * gdb.base/savedregs.exp
102 * gdb.base/sepdebug.exp
103 * gdb.base/sepsymtab.exp
104 * gdb.base/set-inferior-tty.exp
105 * gdb.base/setshow.exp
106 * gdb.base/shlib-call.exp
107 * gdb.base/sigaltstack.exp
108 * gdb.base/siginfo-addr.exp
109 * gdb.base/signals.exp
110 * gdb.base/signull.exp
111 * gdb.base/sigrepeat.exp
112 * gdb.base/so-impl-ld.exp
113 * gdb.base/solib-display.exp
114 * gdb.base/solib-overlap.exp
115 * gdb.base/solib-search.exp
116 * gdb.base/solib-symbol.exp
117 * gdb.base/structs.exp
118 * gdb.base/structs2.exp
119 * gdb.base/symtab-search-order.exp
121 * gdb.base/unload.exp
122 * gdb.base/varargs.exp
123 * gdb.base/watchpoint-solib.exp
124 * gdb.base/watchpoint.exp
125 * gdb.base/whatis.exp
126 * gdb.base/wrong_frame_bt_full.exp
127 * gdb.btrace/dlopen.exp
128 * gdb.cell/ea-standalone.exp
129 * gdb.cell/ea-test.exp
133 * gdb.cp/nextoverthrow.exp
135 * gdb.disasm/am33.exp
136 * gdb.disasm/h8300s.exp
137 * gdb.disasm/mn10300.exp
139 * gdb.dwarf2/dw2-dir-file-name.exp
140 * gdb.fortran/complex.exp
141 * gdb.fortran/library-module.exp
142 * gdb.guile/scm-pretty-print.exp
143 * gdb.guile/scm-symbol.exp
144 * gdb.guile/scm-type.exp
145 * gdb.guile/scm-value.exp
146 * gdb.linespec/linespec.exp
149 * gdb.mi/mi-breakpoint-changed.exp
150 * gdb.mi/mi-dprintf-pending.exp
151 * gdb.mi/mi-dprintf.exp
152 * gdb.mi/mi-exit-code.exp
153 * gdb.mi/mi-pending.exp
154 * gdb.mi/mi-solib.exp
155 * gdb.mi/new-ui-mi-sync.exp
157 * gdb.mi/user-selected-context-sync.exp
158 * gdb.opt/solib-intra-step.exp
159 * gdb.python/py-events.exp
160 * gdb.python/py-finish-breakpoint.exp
161 * gdb.python/py-mi.exp
162 * gdb.python/py-prettyprint.exp
163 * gdb.python/py-shared.exp
164 * gdb.python/py-symbol.exp
165 * gdb.python/py-template.exp
166 * gdb.python/py-type.exp
167 * gdb.python/py-value.exp
168 * gdb.reverse/solib-precsave.exp
169 * gdb.reverse/solib-reverse.exp
170 * gdb.server/solib-list.exp
171 * gdb.stabs/weird.exp
172 * gdb.threads/reconnect-signal.exp
173 * gdb.threads/stepi-random-signal.exp
174 * gdb.trace/actions.exp
176 * gdb.trace/backtrace.exp
177 * gdb.trace/change-loc.exp
178 * gdb.trace/deltrace.exp
179 * gdb.trace/ftrace-lock.exp
180 * gdb.trace/ftrace.exp
181 * gdb.trace/infotrace.exp
182 * gdb.trace/mi-tracepoint-changed.exp
183 * gdb.trace/packetlen.exp
184 * gdb.trace/passcount.exp
185 * gdb.trace/pending.exp
186 * gdb.trace/range-stepping.exp
187 * gdb.trace/report.exp
188 * gdb.trace/stap-trace.exp
189 * gdb.trace/tfind.exp
190 * gdb.trace/trace-break.exp
191 * gdb.trace/trace-condition.exp
192 * gdb.trace/trace-enable-disable.exp
193 * gdb.trace/trace-mt.exp
194 * gdb.trace/tracecmd.exp
195 * gdb.trace/tspeed.exp
199 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
201 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
202 with gdb_test_no_output.
203 Use command as test name.
205 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
207 Fix test names starting with uppercase throughout the files.
209 * gdb.ada/assign_1.exp
210 * gdb.ada/boolean_expr.exp
211 * gdb.base/arrayidx.exp
213 * gdb.base/gcore-buffer-overflow.exp
214 * gdb.base/testenv.exp
215 * gdb.compile/compile.exp
216 * gdb.python/py-framefilter-invalidarg.exp
217 * gdb.python/py-framefilter.exp
219 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
221 Fix test names starting with uppercase throughout the files.
223 * gdb.ada/array_return.exp
224 * gdb.ada/expr_delims.exp
225 * gdb.ada/mi_dyn_arr.exp
226 * gdb.ada/mi_interface.exp
227 * gdb.ada/mi_var_array.exp
228 * gdb.ada/watch_arg.exp
229 * gdb.arch/alpha-step.exp
230 * gdb.arch/altivec-regs.exp
231 * gdb.arch/e500-regs.exp
232 * gdb.arch/powerpc-d128-regs.exp
233 * gdb.base/arrayidx.exp
235 * gdb.base/checkpoint.exp
236 * gdb.base/debug-expr.exp
239 * gdb.base/sepdebug.exp
240 * gdb.base/testenv.exp
241 * gdb.base/watch_thread_num.exp
242 * gdb.base/watchpoint-cond-gone.exp
244 * gdb.cell/ea-cache.exp
245 * gdb.compile/compile.exp
247 * gdb.gdb/selftest.exp
248 * gdb.gdb/xfullpath.exp
250 * gdb.go/integers.exp
251 * gdb.objc/basicclass.exp
252 * gdb.pascal/hello.exp
253 * gdb.pascal/integers.exp
254 * gdb.python/py-breakpoint.exp
255 * gdb.python/py-cmd.exp
256 * gdb.python/py-linetable.exp
257 * gdb.python/py-xmethods.exp
258 * gdb.python/python.exp
259 * gdb.reverse/consecutive-precsave.exp
260 * gdb.reverse/finish-precsave.exp
261 * gdb.reverse/i386-precsave.exp
262 * gdb.reverse/machinestate-precsave.exp
263 * gdb.reverse/sigall-precsave.exp
264 * gdb.reverse/solib-precsave.exp
265 * gdb.reverse/step-precsave.exp
266 * gdb.reverse/until-precsave.exp
267 * gdb.reverse/watch-precsave.exp
268 * gdb.threads/leader-exit.exp
269 * gdb.threads/pthreads.exp
270 * gdb.threads/wp-replication.exp
271 * gdb.trace/actions.exp
272 * gdb.trace/mi-tsv-changed.exp
275 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
277 Fix test names starting with uppercase throughout the files.
279 * gdb.arch/i386-bp_permanent.exp
280 * gdb.arch/i386-gnu-cfi.exp
281 * gdb.base/disasm-end-cu.exp
282 * gdb.base/macscp.exp
283 * gdb.base/pending.exp
284 * gdb.base/watch_thread_num.exp
285 * gdb.cp/exception.exp
288 * gdb.python/py-evsignal.exp
289 * gdb.python/python.exp
290 * gdb.trace/tracecmd.exp
292 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
294 Fix test names starting with uppercase throughout the files.
296 * gdb.base/charset.exp
298 * gdb.base/multi-forks.exp
299 * gdb.guile/scm-progspace.exp
300 * gdb.opencl/datatypes.exp
301 * gdb.python/py-block.exp
302 * gdb.python/py-function.exp
303 * gdb.python/py-symbol.exp
304 * gdb.python/py-symtab.exp
305 * gdb.python/py-xmethods.exp
306 * gdb.reverse/break-precsave.exp
307 * gdb.reverse/break-reverse.exp
308 * gdb.reverse/consecutive-precsave.exp
309 * gdb.reverse/consecutive-reverse.exp
310 * gdb.reverse/finish-precsave.exp
311 * gdb.reverse/finish-reverse-bkpt.exp
312 * gdb.reverse/finish-reverse.exp
313 * gdb.reverse/fstatat-reverse.exp
314 * gdb.reverse/getresuid-reverse.exp
315 * gdb.reverse/i386-precsave.exp
316 * gdb.reverse/i386-reverse.exp
317 * gdb.reverse/i386-sse-reverse.exp
318 * gdb.reverse/i387-stack-reverse.exp
319 * gdb.reverse/insn-reverse.exp
320 * gdb.reverse/machinestate-precsave.exp
321 * gdb.reverse/machinestate.exp
322 * gdb.reverse/next-reverse-bkpt-over-sr.exp
323 * gdb.reverse/pipe-reverse.exp
324 * gdb.reverse/readv-reverse.exp
325 * gdb.reverse/recvmsg-reverse.exp
326 * gdb.reverse/rerun-prec.exp
327 * gdb.reverse/s390-mvcle.exp
328 * gdb.reverse/sigall-precsave.exp
329 * gdb.reverse/sigall-reverse.exp
330 * gdb.reverse/solib-precsave.exp
331 * gdb.reverse/solib-reverse.exp
332 * gdb.reverse/step-precsave.exp
333 * gdb.reverse/step-reverse.exp
334 * gdb.reverse/time-reverse.exp
335 * gdb.reverse/until-precsave.exp
336 * gdb.reverse/until-reverse.exp
337 * gdb.reverse/waitpid-reverse.exp
338 * gdb.reverse/watch-precsave.exp
339 * gdb.reverse/watch-reverse.exp
341 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
343 Fix test names starting with uppercase throughout the files.
345 * gdb.arch/i386-mpx-simple_segv.exp
346 * gdb.arch/i386-mpx.exp
347 * gdb.arch/i386-permbkpt.exp
348 * gdb.arch/pa-nullify.exp
349 * gdb.arch/powerpc-d128-regs.exp
350 * gdb.arch/vsx-regs.exp
351 * gdb.base/bfp-test.exp
353 * gdb.base/breakpoint-shadow.exp
354 * gdb.base/callfuncs.exp
355 * gdb.base/charset.exp
356 * gdb.base/commands.exp
357 * gdb.base/completion.exp
358 * gdb.base/dfp-test.exp
360 * gdb.base/ending-run.exp
362 * gdb.base/expand-psymtabs.exp
363 * gdb.base/float128.exp
364 * gdb.base/floatn.exp
365 * gdb.base/foll-exec-mode.exp
366 * gdb.base/gdb1056.exp
367 * gdb.base/gdb11531.exp
368 * gdb.base/kill-after-signal.exp
369 * gdb.base/multi-forks.exp
370 * gdb.base/overlays.exp
371 * gdb.base/pending.exp
372 * gdb.base/sepdebug.exp
373 * gdb.base/testenv.exp
374 * gdb.base/valgrind-db-attach.exp
375 * gdb.base/watch_thread_num.exp
376 * gdb.base/watchpoint-cond-gone.exp
377 * gdb.base/watchpoint.exp
378 * gdb.base/watchpoints.exp
379 * gdb.cp/arg-reference.exp
380 * gdb.cp/baseenum.exp
381 * gdb.cp/operator.exp
383 * gdb.dwarf2/dw2-op-out-param.exp
384 * gdb.dwarf2/dw2-reg-undefined.exp
387 * gdb.go/integers.exp
390 * gdb.guile/scm-parameter.exp
391 * gdb.guile/scm-progspace.exp
392 * gdb.guile/scm-value.exp
393 * gdb.mi/mi-pending.exp
394 * gdb.mi/user-selected-context-sync.exp
395 * gdb.multi/multi-attach.exp
397 * gdb.opt/clobbered-registers-O2.exp
398 * gdb.pascal/floats.exp
399 * gdb.pascal/integers.exp
400 * gdb.python/py-block.exp
401 * gdb.python/py-events.exp
402 * gdb.python/py-parameter.exp
403 * gdb.python/py-symbol.exp
404 * gdb.python/py-symtab.exp
405 * gdb.python/py-type.exp
406 * gdb.python/py-value.exp
407 * gdb.python/py-xmethods.exp
408 * gdb.python/python.exp
409 * gdb.reverse/break-precsave.exp
410 * gdb.reverse/consecutive-precsave.exp
411 * gdb.reverse/finish-precsave.exp
412 * gdb.reverse/i386-precsave.exp
413 * gdb.reverse/machinestate-precsave.exp
414 * gdb.reverse/sigall-precsave.exp
415 * gdb.reverse/solib-precsave.exp
416 * gdb.reverse/step-precsave.exp
417 * gdb.reverse/until-precsave.exp
418 * gdb.reverse/watch-precsave.exp
419 * gdb.server/ext-attach.exp
420 * gdb.server/ext-restart.exp
421 * gdb.server/ext-run.exp
422 * gdb.server/ext-wrapper.exp
423 * gdb.stabs/gdb11479.exp
424 * gdb.stabs/weird.exp
425 * gdb.threads/attach-many-short-lived-threads.exp
426 * gdb.threads/kill.exp
427 * gdb.threads/watchpoint-fork.exp
429 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
431 Fix test names starting with uppercase throughout all the files below.
433 * gdb.ada/array_return.exp
434 * gdb.ada/catch_ex.exp
435 * gdb.ada/info_exc.exp
436 * gdb.ada/mi_catch_ex.exp
437 * gdb.ada/mi_dyn_arr.exp
438 * gdb.ada/mi_ex_cond.exp
439 * gdb.ada/mi_exc_info.exp
440 * gdb.ada/mi_interface.exp
441 * gdb.ada/mi_task_arg.exp
442 * gdb.ada/mi_task_info.exp
443 * gdb.ada/mi_var_array.exp
444 * gdb.arch/alpha-step.exp
445 * gdb.arch/amd64-disp-step.exp
446 * gdb.arch/arm-disp-step.exp
447 * gdb.arch/disp-step-insn-reloc.exp
448 * gdb.arch/e500-prologue.exp
449 * gdb.arch/ftrace-insn-reloc.exp
450 * gdb.arch/gdb1558.exp
451 * gdb.arch/i386-bp_permanent.exp
452 * gdb.arch/i386-disp-step.exp
453 * gdb.arch/i386-float.exp
454 * gdb.arch/i386-gnu-cfi.exp
455 * gdb.arch/ia64-breakpoint-shadow.exp
456 * gdb.arch/mips16-thunks.exp
457 * gdb.arch/pa-nullify.exp
458 * gdb.arch/powerpc-aix-prologue.exp
459 * gdb.arch/powerpc-power.exp
460 * gdb.arch/ppc-dfp.exp
461 * gdb.arch/s390-tdbregs.exp
462 * gdb.arch/spu-info.exp
463 * gdb.arch/spu-ls.exp
464 * gdb.arch/thumb-bx-pc.exp
465 * gdb.base/advance.exp
466 * gdb.base/annota-input-while-running.exp
467 * gdb.base/arrayidx.exp
468 * gdb.base/asmlabel.exp
470 * gdb.base/attach-wait-input.exp
471 * gdb.base/auto-connect-native-target.exp
472 * gdb.base/batch-preserve-term-settings.exp
473 * gdb.base/bfp-test.exp
474 * gdb.base/bigcore.exp
475 * gdb.base/bp-permanent.exp
476 * gdb.base/break-always.exp
477 * gdb.base/break-fun-addr.exp
478 * gdb.base/break-idempotent.exp
479 * gdb.base/break-main-file-remove-fail.exp
480 * gdb.base/break-probes.exp
481 * gdb.base/break-unload-file.exp
483 * gdb.base/call-ar-st.exp
484 * gdb.base/call-rt-st.exp
485 * gdb.base/call-sc.exp
486 * gdb.base/call-signal-resume.exp
487 * gdb.base/call-strs.exp
488 * gdb.base/callexit.exp
489 * gdb.base/callfuncs.exp
490 * gdb.base/catch-gdb-caused-signals.exp
491 * gdb.base/catch-signal-siginfo-cond.exp
492 * gdb.base/catch-syscall.exp
493 * gdb.base/compare-sections.exp
494 * gdb.base/cond-eval-mode.exp
495 * gdb.base/condbreak-call-false.exp
496 * gdb.base/consecutive-step-over.exp
497 * gdb.base/cursal.exp
498 * gdb.base/disabled-location.exp
499 * gdb.base/disasm-end-cu.exp
500 * gdb.base/display.exp
501 * gdb.base/double-prompt-target-event-error.exp
502 * gdb.base/dprintf-bp-same-addr.exp
503 * gdb.base/dprintf-detach.exp
504 * gdb.base/dprintf-next.exp
505 * gdb.base/dprintf-non-stop.exp
506 * gdb.base/dprintf-pending.exp
507 * gdb.base/dso2dso.exp
508 * gdb.base/ending-run.exp
509 * gdb.base/enum_cond.exp
510 * gdb.base/examine-backward.exp
511 * gdb.base/exe-lock.exp
512 * gdb.base/exec-invalid-sysroot.exp
513 * gdb.base/execl-update-breakpoints.exp
514 * gdb.base/execution-termios.exp
515 * gdb.base/fileio.exp
516 * gdb.base/fixsection.exp
517 * gdb.base/foll-exec-mode.exp
518 * gdb.base/foll-exec.exp
519 * gdb.base/fork-running-state.exp
520 * gdb.base/frame-args.exp
521 * gdb.base/fullpath-expand.exp
522 * gdb.base/func-ptr.exp
523 * gdb.base/gcore-relro-pie.exp
524 * gdb.base/gdb1090.exp
525 * gdb.base/gdb1555.exp
526 * gdb.base/global-var-nested-by-dso.exp
527 * gdb.base/gnu-ifunc.exp
528 * gdb.base/hbreak-in-shr-unsupported.exp
529 * gdb.base/hbreak-unmapped.exp
530 * gdb.base/hook-stop.exp
531 * gdb.base/infcall-input.exp
532 * gdb.base/info-fun.exp
533 * gdb.base/info-shared.exp
534 * gdb.base/interrupt-noterm.exp
535 * gdb.base/jit-so.exp
537 * gdb.base/line-symtabs.exp
539 * gdb.base/longjmp.exp
540 * gdb.base/macscp.exp
541 * gdb.base/max-value-size.exp
542 * gdb.base/nodebug.exp
543 * gdb.base/nofield.exp
544 * gdb.base/overlays.exp
545 * gdb.base/paginate-after-ctrl-c-running.exp
546 * gdb.base/paginate-bg-execution.exp
547 * gdb.base/paginate-inferior-exit.exp
548 * gdb.base/pending.exp
549 * gdb.base/pr11022.exp
550 * gdb.base/printcmds.exp
551 * gdb.base/ptr-typedef.exp
553 * gdb.base/randomize.exp
554 * gdb.base/range-stepping.exp
555 * gdb.base/realname-expand.exp
556 * gdb.base/relativedebug.exp
557 * gdb.base/remote.exp
558 * gdb.base/savedregs.exp
559 * gdb.base/sepdebug.exp
560 * gdb.base/set-noassign.exp
561 * gdb.base/shlib-call.exp
562 * gdb.base/shreloc.exp
563 * gdb.base/sigaltstack.exp
564 * gdb.base/sigbpt.exp
565 * gdb.base/siginfo-addr.exp
566 * gdb.base/siginfo-obj.exp
567 * gdb.base/siginfo-thread.exp
568 * gdb.base/signest.exp
569 * gdb.base/signull.exp
570 * gdb.base/sigrepeat.exp
572 * gdb.base/so-impl-ld.exp
573 * gdb.base/solib-corrupted.exp
574 * gdb.base/solib-disc.exp
575 * gdb.base/solib-display.exp
576 * gdb.base/solib-overlap.exp
577 * gdb.base/solib-search.exp
578 * gdb.base/solib-symbol.exp
579 * gdb.base/source-execution.exp
580 * gdb.base/sss-bp-on-user-bp-2.exp
581 * gdb.base/sss-bp-on-user-bp.exp
582 * gdb.base/stack-checking.exp
583 * gdb.base/stale-infcall.exp
584 * gdb.base/step-break.exp
585 * gdb.base/step-line.exp
586 * gdb.base/step-over-exit.exp
587 * gdb.base/step-test.exp
588 * gdb.base/structs.exp
589 * gdb.base/sym-file.exp
590 * gdb.base/symtab-search-order.exp
592 * gdb.base/type-opaque.exp
593 * gdb.base/unload.exp
594 * gdb.base/until-nodebug.exp
596 * gdb.base/unwindonsignal.exp
597 * gdb.base/watch-cond.exp
598 * gdb.base/watch-non-mem.exp
599 * gdb.base/watch_thread_num.exp
600 * gdb.base/watchpoint-reuse-slot.exp
601 * gdb.base/watchpoint-solib.exp
602 * gdb.base/watchpoint.exp
603 * gdb.btrace/dlopen.exp
609 * gdb.cell/dwarfaddr.exp
610 * gdb.cell/ea-cache.exp
611 * gdb.cell/ea-standalone.exp
612 * gdb.cell/ea-test.exp
613 * gdb.cell/f-regs.exp
616 * gdb.cell/mem-access.exp
618 * gdb.cell/registers.exp
619 * gdb.cell/sizeof.exp
620 * gdb.cell/solib-symbol.exp
622 * gdb.compile/compile-tls.exp
623 * gdb.cp/exception.exp
626 * gdb.cp/mb-inline.exp
627 * gdb.cp/mb-templates.exp
630 * gdb.cp/scope-err.exp
631 * gdb.cp/templates.exp
632 * gdb.cp/virtfunc.exp
633 * gdb.dwarf2/dw2-dir-file-name.exp
634 * gdb.dwarf2/dw2-single-line-discriminators.exp
635 * gdb.fortran/complex.exp
636 * gdb.fortran/library-module.exp
637 * gdb.guile/guile.exp
638 * gdb.guile/scm-cmd.exp
639 * gdb.guile/scm-frame-inline.exp
640 * gdb.guile/scm-objfile.exp
641 * gdb.guile/scm-pretty-print.exp
642 * gdb.guile/scm-symbol.exp
643 * gdb.guile/scm-type.exp
644 * gdb.guile/scm-value.exp
645 * gdb.linespec/keywords.exp
646 * gdb.linespec/ls-errs.exp
647 * gdb.linespec/macro-relative.exp
648 * gdb.linespec/thread.exp
649 * gdb.mi/mi-breakpoint-changed.exp
650 * gdb.mi/mi-dprintf-pending.exp
651 * gdb.mi/mi-fullname-deleted.exp
652 * gdb.mi/mi-logging.exp
653 * gdb.mi/mi-pending.exp
654 * gdb.mi/mi-solib.exp
655 * gdb.mi/new-ui-mi-sync.exp
656 * gdb.mi/user-selected-context-sync.exp
657 * gdb.multi/dummy-frame-restore.exp
658 * gdb.multi/multi-arch-exec.exp
659 * gdb.multi/remove-inferiors.exp
660 * gdb.multi/watchpoint-multi-exit.exp
661 * gdb.opt/solib-intra-step.exp
662 * gdb.perf/backtrace.exp
663 * gdb.perf/single-step.exp
664 * gdb.perf/skip-command.exp
665 * gdb.perf/skip-prologue.exp
667 * gdb.python/lib-types.exp
668 * gdb.python/py-as-string.exp
669 * gdb.python/py-bad-printers.exp
670 * gdb.python/py-block.exp
671 * gdb.python/py-breakpoint.exp
672 * gdb.python/py-cmd.exp
673 * gdb.python/py-events.exp
674 * gdb.python/py-evthreads.exp
675 * gdb.python/py-finish-breakpoint.exp
676 * gdb.python/py-finish-breakpoint2.exp
677 * gdb.python/py-frame-inline.exp
678 * gdb.python/py-frame.exp
679 * gdb.python/py-inferior.exp
680 * gdb.python/py-infthread.exp
681 * gdb.python/py-mi.exp
682 * gdb.python/py-objfile.exp
683 * gdb.python/py-pp-maint.exp
684 * gdb.python/py-pp-registration.exp
685 * gdb.python/py-prettyprint.exp
686 * gdb.python/py-recurse-unwind.exp
687 * gdb.python/py-shared.exp
688 * gdb.python/py-symbol.exp
689 * gdb.python/py-symtab.exp
690 * gdb.python/py-template.exp
691 * gdb.python/py-type.exp
692 * gdb.python/py-unwind-maint.exp
693 * gdb.python/py-unwind.exp
694 * gdb.python/py-value.exp
695 * gdb.python/python.exp
696 * gdb.reverse/finish-reverse-bkpt.exp
697 * gdb.reverse/insn-reverse.exp
698 * gdb.reverse/next-reverse-bkpt-over-sr.exp
699 * gdb.reverse/solib-precsave.exp
700 * gdb.reverse/solib-reverse.exp
701 * gdb.stabs/gdb11479.exp
702 * gdb.stabs/weird.exp
703 * gdb.threads/fork-child-threads.exp
704 * gdb.threads/fork-plus-threads.exp
705 * gdb.threads/fork-thread-pending.exp
706 * gdb.threads/forking-threads-plus-breakpoint.exp
707 * gdb.threads/hand-call-in-threads.exp
708 * gdb.threads/interrupted-hand-call.exp
709 * gdb.threads/linux-dp.exp
710 * gdb.threads/local-watch-wrong-thread.exp
711 * gdb.threads/next-while-other-thread-longjmps.exp
712 * gdb.threads/non-ldr-exit.exp
713 * gdb.threads/pending-step.exp
714 * gdb.threads/print-threads.exp
715 * gdb.threads/process-dies-while-detaching.exp
716 * gdb.threads/process-dies-while-handling-bp.exp
717 * gdb.threads/pthreads.exp
718 * gdb.threads/queue-signal.exp
719 * gdb.threads/reconnect-signal.exp
720 * gdb.threads/signal-command-handle-nopass.exp
721 * gdb.threads/signal-command-multiple-signals-pending.exp
722 * gdb.threads/signal-delivered-right-thread.exp
723 * gdb.threads/signal-sigtrap.exp
724 * gdb.threads/sigthread.exp
725 * gdb.threads/staticthreads.exp
726 * gdb.threads/stepi-random-signal.exp
727 * gdb.threads/thread-unwindonsignal.exp
728 * gdb.threads/thread_check.exp
729 * gdb.threads/thread_events.exp
730 * gdb.threads/tid-reuse.exp
731 * gdb.threads/tls-nodebug.exp
732 * gdb.threads/tls-shared.exp
733 * gdb.threads/tls-so_extern.exp
734 * gdb.threads/tls.exp
735 * gdb.threads/wp-replication.exp
736 * gdb.trace/actions-changed.exp
737 * gdb.trace/actions.exp
738 * gdb.trace/backtrace.exp
739 * gdb.trace/change-loc.exp
740 * gdb.trace/collection.exp
741 * gdb.trace/deltrace.exp
742 * gdb.trace/disconnected-tracing.exp
743 * gdb.trace/entry-values.exp
744 * gdb.trace/ftrace-lock.exp
745 * gdb.trace/ftrace.exp
746 * gdb.trace/infotrace.exp
747 * gdb.trace/mi-trace-frame-collected.exp
748 * gdb.trace/mi-trace-unavailable.exp
749 * gdb.trace/mi-traceframe-changed.exp
750 * gdb.trace/mi-tracepoint-changed.exp
751 * gdb.trace/mi-tsv-changed.exp
752 * gdb.trace/no-attach-trace.exp
753 * gdb.trace/packetlen.exp
754 * gdb.trace/passc-dyn.exp
755 * gdb.trace/passcount.exp
756 * gdb.trace/pending.exp
757 * gdb.trace/pr16508.exp
759 * gdb.trace/range-stepping.exp
760 * gdb.trace/read-memory.exp
761 * gdb.trace/report.exp
762 * gdb.trace/save-trace.exp
763 * gdb.trace/signal.exp
764 * gdb.trace/stap-trace.exp
765 * gdb.trace/status-stop.exp
766 * gdb.trace/strace.exp
767 * gdb.trace/tfile.exp
768 * gdb.trace/tfind.exp
769 * gdb.trace/trace-break.exp
770 * gdb.trace/trace-condition.exp
771 * gdb.trace/trace-enable-disable.exp
772 * gdb.trace/trace-mt.exp
773 * gdb.trace/tracecmd.exp
774 * gdb.trace/tracefile-pseudo-reg.exp
775 * gdb.trace/tspeed.exp
776 * gdb.trace/tstatus.exp
778 * gdb.trace/unavailable.exp
779 * gdb.trace/while-dyn.exp
780 * gdb.trace/while-stepping.exp
786 * lib/prelink-support.exp
787 * lib/selftest-support.exp
789 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
791 * Makefile.in: Include disable-implicit-rules.mk.
793 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
795 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
796 non-byte-aligned bit fields.
798 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
801 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
802 respects the DW_AT_data_bit_offset attribute.
804 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
806 * gdb.base/default.exp: Fix output of "set language".
808 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
810 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
811 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
813 * configure.ac: Remove checks for the make program.
814 * configure: Re-generate.
816 2016-11-16 Kevin Buettner <kevinb@redhat.com>
818 * gdb.python/py-recurse-unwind.c (main): Add loop.
819 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
820 to read_register() and gdb.parse_and_eval(). Make each code
821 call a separate case that can be individually tested.
822 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
823 proc. Call cont_and_backtrace for each of the code paths that
824 we want to test in the unwinder.
826 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
828 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
829 the definition of struct S.
831 2016-11-11 Catherine Moore <clm@codesourcery.com>
833 * gdb.base/dump.exp: Identify verilog format dump tests as such.
835 2016-11-09 Pedro Alves <palves@redhat.com>
837 * gdb.base/commands.exp (runto_or_return): New procedure.
838 (gdbvar_simple_if_test, gdbvar_simple_while_test)
839 (gdbvar_complex_if_while_test, progvar_simple_if_test)
840 (progvar_simple_while_test, progvar_complex_if_while_test)
841 (if_while_breakpoint_command_test)
842 (infrun_breakpoint_command_test, breakpoint_command_test)
843 (user_defined_command_test, watchpoint_command_test)
844 (test_command_prompt_position, redefine_hook_test)
845 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
846 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
847 multi_line_input and multi_line. Remove gdb_expect and
848 gdb_stop_suppressing_tests uses.
849 * lib/gdb.exp (valnum_re): New global.
850 (multi_line_input): New procedure.
852 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
854 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
856 (test_setup): Define with proc_with_prefix.
857 (test_cli_inferior): Likewise.
858 (test_cli_thread): Likewise.
859 (test_cli_frame): Likewise.
860 (test_cli_select_frame): Likewise.
861 (test_cli_up_down): Likewise.
862 (test_mi_thread_select): Likewise.
863 (test_mi_stack_select_frame): Likewise.
864 (test_cli_in_mi_inferior): Likewise.
865 (test_cli_in_mi_thread): Likewise.
866 (test_cli_in_mi_frame): Likewise.
867 (top level): Do not use with_test_prefix_procname.
869 2016-11-09 Pedro Alves <palves@redhat.com>
871 * gdb.base/commands.exp (gdbvar_simple_if_test)
872 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
873 (progvar_simple_if_test, progvar_simple_while_test)
874 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
875 (infrun_breakpoint_command_test, breakpoint_command_test)
876 (user_defined_command_test, watchpoint_command_test)
877 (test_command_prompt_position, deprecated_command_test)
878 (bp_deleted_in_command, temporary_breakpoint_commands)
879 (stray_arg0_test, source_file_with_indented_comment)
880 (recursive_source_test, if_commands_test)
881 (error_clears_commands_left, redefine_hook_test)
882 (redefine_backtrace_test): Use proc_with_prefix.
883 * lib/gdb.exp (proc_with_prefix): New proc.
885 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
887 * gdb.base/tui-layout.c: New file.
888 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
889 disassembly window contains very long lines.
891 2016-11-08 Tom Tromey <tom@tromey.com>
893 * gdb.python/py-value.exp (test_value_creation): Make "long" test
896 2016-11-08 Tom Tromey <tom@tromey.com>
898 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
901 2016-10-29 Manish Goregaokar <manish@mozilla.com>
903 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
905 2016-10-27 Manish Goregaokar <manish@mozilla.com>
907 * gdb.rust/simple.rs: Add test for univariant enums without
908 discriminants and for encoded struct-like enums.
910 2016-10-28 Pedro Alves <palves@redhat.com>
912 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
913 gdb_test_multiple, tighten regexps and match symtabs and line
914 tables incrementally.
916 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
918 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
921 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
923 * gdb.base/exec-invalid-sysroot.exp: New file.
925 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
927 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
929 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
931 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
933 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
935 * gdb.base/killed-outside.exp: Remove $options from a call to
936 `prepare_for_testing'.
938 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
940 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
943 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
945 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
948 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
950 * gdb.trace/mi-trace-save.exp: New file.
952 2016-10-13 Yao Qi <yao.qi@linaro.org>
954 * gdb.base/code_elim.exp (get_var_address): Remove.
955 * gdb.base/relocate.exp: Likewise.
956 * gdb.base/shreloc.exp: Likewise.
957 * lib/gdb.exp (get_var_address): New.
959 2016-10-13 Yao Qi <yao.qi@linaro.org>
961 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
962 floating point tests if $skip_float_test is false.
964 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
966 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
967 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
969 Add 1 to argc so we guarantee distinct initial/modified argc values.
971 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
973 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
975 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
977 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
978 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
979 * gdb.arch/vsx-regs.exp: Likewise.
981 2016-10-07 Yao Qi <yao.qi@linaro.org>
983 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
985 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
987 * gdb.python/python.exp: Test decode_line("*0").
989 2016-10-06 Doug Evans <dje@google.com>
991 * gdb.python/py-value.exp (test_value_creation): Add test for large
992 unsigned 64-bit value.
994 2016-10-06 Tom Tromey <tom@tromey.com>
996 * gdb.compile/compile.exp: Change java tests to rust.
997 * gdb.base/setshow.exp: Change java tests to rust.
998 * gdb.base/default.exp: Remove java from language list.
999 * README (Examples): Update language example.
1000 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1002 * lib/gdb.exp (skip_java_tests): Remove.
1003 * lib/java.exp: Remove.
1006 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1008 * gdb.arch/mips-fcr.exp: New test.
1009 * gdb.arch/mips-fcr.c: Source for the new test.
1011 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1013 * gdb.base/solib-disc.exp: Use `standard_output_file'
1016 2016-10-06 Pedro Alves <palves@redhat.com>
1018 * gdb.base/jit-simple-dl.c: New file.
1019 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1020 * gdb.base/jit-simple.c: ... this.
1021 * gdb.base/jit-simple.exp (jit_run): Delete.
1022 (build_jit): New proc.
1023 (jit_test_reread): Recompile either the main program or the shared
1024 library, depending on what is being tested. Skip changing address
1025 if caller wants to. Compare before/after addresses. If testing
1026 standalone, explicitly load the binary. Test "maint info
1028 (top level): Add "standalone vs shared lib" and "change address"
1029 vs "same address" axes.
1031 2016-10-06 Pedro Alves <palves@redhat.com>
1033 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1036 (jit_test_reread): Use with_test_prefix. Reload the main binary
1037 explicitly. Compare the before/after addresses of the JIT
1040 2016-08-15 Doug Evans <dje@google.com>
1042 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1043 for single bitfields is bool.
1044 * gdb.xml/tdesc-regs.exp: Ditto.
1046 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1048 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1050 2016-10-05 Yao Qi <yao.qi@linaro.org>
1052 * lib/gdb.exp (support_complex_tests): Return zero if
1053 gdb_skip_float_test return true.
1055 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1056 Simon Marchi <simon.marchi@ericsson.com>
1059 * gdb.mi/user-selected-context-sync.exp: New file.
1060 * gdb.mi/user-selected-context-sync.c: New file.
1062 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1063 Simon Marchi <simon.marchi@ericsson.com>
1066 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1067 =thread-select-event check.
1069 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1071 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1072 the compulsory L operand changes.
1073 * gdb.arch/powerpc-power.s: Likewise.
1075 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1077 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1078 * gdb.base/jit-attach-pie.c: New file.
1079 * gdb.base/jit-attach-pie.exp: New file.
1081 2016-09-28 Pedro Alves <palves@redhat.com>
1083 * gdb.base/infcall-input.c: New file.
1084 * gdb.base/infcall-input.exp: New file.
1086 2016-09-22 Yao Qi <yao.qi@linaro.org>
1088 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1089 (gdb_exit): Rename it to ...
1090 (gdbserver_gdb_exit): ... Close GDBserver.
1091 (gdb_exit): New proc, call gdbserver_gdb_exit.
1092 (mi_gdb_exit): Likewise.
1094 2016-09-22 Yao Qi <yao.qi@linaro.org>
1096 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1098 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1101 2016-09-22 Yao Qi <yao.qi@linaro.org>
1103 * lib/gdbserver-support.exp: Check the existence of
1104 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1106 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1108 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1110 2016-09-21 Tom Tromey <tom@tromey.com>
1113 * gdb.base/quit.exp: New file.
1115 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1117 * .gitignore: New file.
1119 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1121 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1124 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1126 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1128 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1130 * gdb.cp/casts.cc (decltype): Move it ...
1131 (main): ... with its call to ...
1132 * gdb.cp/casts03.cc: ... a new file.
1133 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1135 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1137 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1139 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1141 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1142 and sync up the test with tests in gas/testsuite/gas/ppc.
1143 * gdb.arch/powerpc-power.exp: Likewise.
1145 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1147 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1149 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1150 Jan Kratochvil <jan.kratochvil@redhat.com>
1152 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1153 make m1's definition to be different from m2's. Use 'dummy' as an
1154 argument for probe 'two'.
1156 2016-09-10 Jon Beniston <jon@beniston.com>
1158 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1161 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1163 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1164 variable declaration.
1165 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1166 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1167 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1168 received HWCAP as its argument.
1170 2016-09-06 Pedro Alves <palves@redhat.com>
1172 * gdb.base/new-ui-pending-input.c: New file.
1173 * gdb.base/new-ui-pending-input.exp: New file.
1174 * gdb.exp (clear_gdb_spawn_id): New procedure.
1175 (with_spawn_id): Check whether gdb_spawn_id exists before
1176 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1179 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1181 * gdb.base/float128.c: New file.
1182 * gdb.base/float128.exp: Likewise.
1183 * gdb.base/floatn.c: Likewise.
1184 * gdb.base/floatn.exp: Likewise.
1186 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1188 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1190 2016-09-05 Pedro Alves <palves@redhat.com>
1193 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1194 unwinders are immediately called as side effect of "source" or
1195 "disable unwinder" commands.
1196 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1198 2016-09-02 Yao Qi <yao.qi@linaro.org>
1200 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1201 is true and $type is "float" or "double".
1203 2016-09-02 Yao Qi <yao.qi@linaro.org>
1205 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1207 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1208 * gdb.base/call-rt-st.exp: Likewise.
1209 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1210 return value instead of gdb,skip_float_test.
1211 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1212 (do_function_calls): Use its return value instead of
1213 gdb,skip_float_test.
1214 * gdb.base/finish.exp: Likewise.
1215 * gdb.base/funcargs.exp: Likewise.
1216 * gdb.base/return.exp: Likewise.
1217 * gdb.base/return2.exp: Likewise.
1218 * gdb.base/varargs.exp: Likewise.
1219 * lib/gdb.exp (gdb_skip_float_test): Change it to
1220 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1222 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1224 * gdb.multi/tids.exp: Test "thread apply all".
1226 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1228 * gdb.base/default.exp (tty): Remove.
1230 2016-08-24 Kevin Buettner <kevinb@redhat.com>
1232 * gdb.python/py-recurse-unwind.c: New file.
1233 * gdb.python/py-recurse-unwind.py: New file.
1234 * gdb.python/py-recurse-unwind.exp: New file.
1236 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1238 * gdb.base/set-inferior-tty.exp: New file.
1239 * gdb.base/set-inferior-tty.c: New file.
1241 2016-08-23 Pedro Alves <palves@redhat.com>
1244 * gdb.base/new-ui-echo.c: New file.
1245 * gdb.base/new-ui-echo.exp: New file.
1247 2016-08-23 Yao Qi <yao.qi@linaro.org>
1249 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1251 * gdb.server/connect-without-multi-process.exp (do_test):
1254 2016-08-23 Yao Qi <yao.qi@linaro.org>
1256 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1257 standalone_txt. Delete gdb_txt and standalone_txt on host
1258 and target. Spawn the binary on target. Copy files from
1261 2016-08-22 Pedro Alves <palves@redhat.com>
1264 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1265 with_test_prefix. Factor out bits to ...
1266 (test_no_vdso): ... this new procedure.
1268 2016-08-19 Carl Love <cel@us.ibm.com>
1270 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1271 maintaining separate logic for constructing the output path.
1272 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1273 * gdb.arch/ppc-dfp.exp: Likewise.
1274 * gdb.arch/ppc-fp.exp: Likewise.
1275 * gdb.arch/vsx-regs.exp: Likewise.
1276 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1277 binprefix for generating the additional binary files.
1279 2016-08-19 Pedro Alves <palves@redhat.com>
1281 * gdb.trace/mi-trace-frame-collected.exp
1282 (test_trace_frame_collected): On x32, expect two registers.
1284 2016-08-18 Carl Love <cel@us.ibm.com>
1286 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1287 and sync up the test with tests in gas/testsuite/gas/ppc.
1288 * gdb.arch/powerpc-power.exp: Likewise.
1290 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1292 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1293 expected error message.
1295 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1297 * gdb.multi/remove-inferiors.exp: New file.
1298 * gdb.multi/remove-inferiors.c: New file.
1300 2016-08-12 Yao Qi <yao.qi@linaro.org>
1302 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1305 2016-08-10 Pedro Alves <palves@redhat.com>
1308 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1311 2016-08-09 Pedro Alves <palves@redhat.com>
1312 Simon Marchi <simon.marchi@ericsson.com>
1315 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1316 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1318 2016-08-09 Pedro Alves <palves@redhat.com>
1321 * gdb.mi/mi-cmd-error.exp: New file.
1323 2016-08-09 Pedro Alves <palves@redhat.com>
1326 * gdb.base/signals-state-child.c: New file.
1327 * gdb.base/signals-state-child.exp: New file.
1328 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1330 2016-08-09 Pedro Alves <palves@redhat.com>
1332 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1334 2016-08-03 Tom Tromey <tom@tromey.com>
1337 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1339 2016-08-01 Yao Qi <yao.qi@linaro.org>
1341 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1342 variable mode to "multi-process" if $multi_process is 1, otherwise
1343 set it to "single-process".
1345 2016-08-01 Yao Qi <yao.qi@linaro.org>
1347 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1348 * gdb.cp/cpexprs.exp: Likewise.
1349 * gdb.cp/m-static.exp: Likewise.
1351 2016-07-26 Tom Tromey <tom@tromey.com>
1354 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1357 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1359 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1360 selecting assembly source files.
1361 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1362 assembly source files.
1363 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1364 assembly source files.
1365 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1366 selecting assembly source files.
1368 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1370 * gdb.base/new-ui.exp (do_test_invalid_args): New
1373 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1375 * gdb.btrace/reconnect.c: New file.
1376 * gdb.btrace/reconnect.exp: New file.
1378 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1380 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1381 to test_catch_syscall_group.
1382 (test_catch_syscall_group): New.
1384 2016-07-21 Tom Tromey <tom@tromey.com>
1386 * gdb.rust/simple.rs (main): Use empty struct expression.
1387 * gdb.rust/simple.exp: Add tests for empty struct expression.
1389 2016-07-21 Yao Qi <yao.qi@linaro.org>
1391 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1392 if gdb_skip_xml_test is true on some targets.
1394 2016-07-21 Yao Qi <yao.qi@linaro.org>
1396 * gdb.server/solib-list.exp: Unset last_loaded_file.
1398 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1400 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1401 "step into captured_main (args)".
1403 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1405 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1407 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1409 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1411 2016-07-19 Pedro Alves <palves@redhat.com>
1413 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1414 * gdb.opt/inline-bt.exp: Likewise.
1415 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1416 additional_flags=-Winline.
1417 * gdb.opt/inline-locals.exp: Likewise.
1418 * gdb.opt/inline-markers.c (ATTR): Define.
1419 (inlined_fn): Use it.
1421 2016-07-19 Yao Qi <yao.qi@linaro.org>
1423 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1424 (test_with_self): Remove some code. Remove argument executable.
1425 (top-level): Use do_self_tests.
1427 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
1428 Don Breazeal <donb@codesourcery.com>
1430 * gdb.base/maint.exp: Escape paths used in regular expressions.
1431 * gdb.stabs/weird.exp: Likewise.
1433 2016-07-13 Tom Tromey <tom@tromey.com>
1435 PR python/15620, PR python/18620:
1436 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1437 (test_bkpt_events): New procs.
1439 2016-07-13 Tom Tromey <tom@tromey.com>
1442 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1444 (test_watchpoints): Likewise.
1445 (test_bkpt_pending): New proc.
1447 2016-07-13 Tom Tromey <tom@tromey.com>
1450 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1453 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1455 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1456 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1457 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1459 (g): Rename g_end_lbl to g_label.
1460 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1462 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1464 2016-07-12 Tom Tromey <tom@tromey.com>
1467 * gdb.python/py-unwind-maint.exp: Update tests.
1469 2016-07-12 Yao Qi <yao.qi@linaro.org>
1471 * lib/selftest-support.exp (selftest_setup): Match the output
1472 when captured_main is inlined.
1474 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1476 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1478 (print this%a, print this%b, print this): New tests.
1479 * gdb.fortran/derived-types.f90 (this): New object and
1482 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1484 * gdb.ada/arraydim.exp: Remove extra directory level in build
1487 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1489 * lib/ada.exp: Remove extra directory level in build directory.
1490 * gdb.ada/cond_lang.exp: Likewise.
1491 * gdb.ada/exec_changed.exp: Likewise.
1492 * gdb.ada/lang_switch.exp: Likewise.
1494 2016-07-06 Manish Goregaokar <manish@mozilla.com>
1496 * simple.rs: Add test for raw pointer subscripting.
1497 * simple.exp: Add test expectations.
1499 2016-07-05 Yao Qi <yao.qi@linaro.org>
1501 * gdb.mi/mi-reverse.exp: Match =record-started output.
1503 2016-07-01 Pedro Alves <palves@redhat.com>
1505 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1507 (jit_reader_test): Test the jit reader's unwinder.
1508 * gdb.base/jithost.c (jit_function_00_code): New global.
1509 (main): Use memcpy to fill in the mmapped code, instead of poking
1510 bytes manually here.
1511 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1513 (read_debug_info): Save the function's range.
1514 (read_sp): New function.
1515 (unwind_frame): Use it. Also unwind RBP.
1516 (get_frame_id): Use read_sp.
1517 (gdb_init_reader): Use calloc instead of malloc.
1518 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1519 parameter. Use gdb_test_multiple.
1521 2016-07-01 Pedro Alves <palves@redhat.com>
1522 Antoine Tremblay <antoine.tremblay@ericsson.com>
1524 * gdb.threads/process-dies-while-detaching.c: New file.
1525 * gdb.threads/process-dies-while-detaching.exp: New file.
1527 2016-07-01 Pedro Alves <palves@redhat.com>
1529 * gdb.multi/watchpoint-multi-exit.c: New file.
1530 * gdb.multi/watchpoint-multi-exit.exp: New file.
1532 2016-06-30 Pedro Alves <palves@redhat.com>
1534 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1535 unset inferior_spawn_id.
1537 2016-06-30 Pedro Alves <palves@redhat.com>
1539 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1540 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1542 2016-06-29 Yao Qi <yao.qi@linaro.org>
1544 * gdb.base/return.c: Add copyright header.
1546 2016-06-29 Tom Tromey <tom@tromey.com>
1549 * gdb.python/py-framefilter.exp: Add tests for setting priority
1550 and disabling of non-existent frame filter.
1552 2016-06-29 Yao Qi <yao.qi@linaro.org>
1554 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1557 2016-06-28 Yao Qi <yao.qi@linaro.org>
1559 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1560 triplets. Start gdb, execute catch syscall, and continue. Check
1561 gdb's output to determine catch syscall is supported.
1563 2016-06-27 Manish Goregaokar <manish@mozilla.com>
1565 * gdb.rust/simple.rs: Add test for returning unit in a function.
1566 * gdb.rust/simple.exp: Add expectation for functions returning
1569 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1571 * gdb.python/py-breakpoint-create-fail.c,
1572 gdb.python/py-breakpoint-create-fail.exp,
1573 gdb.python/py-breakpoint-create-fail.py: New testcase.
1575 2016-06-25 Manish Goregaokar <manish@mozilla.com>
1578 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
1579 * gdb.rust/simple.exp: Add test expectations for new NonZero
1582 2016-06-24 David Taylor <dtaylor@emc.com>
1584 * gdb.base/offsets.exp: New file.
1585 * gdb.base/offsets.c: New file.
1587 2016-06-23 Tom Tromey <tom@tromey.com>
1590 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1591 before any filters are loaded.
1593 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1595 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1596 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1598 * gdb.fortran/derived-type-function.exp: New file.
1599 * gdb.fortran/derived-type-function.f90: New file.
1602 2016-06-21 Pedro Alves <palves@redhat.com>
1604 * gdb.base/new-ui.exp: New file.
1605 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1606 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1607 (with_spawn_id): New procedure.
1609 2016-06-21 Pedro Alves <palves@redhat.com>
1611 * gdb.mi/mi-exec-run.exp: New file.
1613 2016-06-21 Pedro Alves <palves@redhat.com>
1615 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1616 breakpoint command's output on the main UI.
1617 (test_break): New procedure, factored out from calls in the top
1619 (top level): Use foreach_with_prefix to test MI as main UI and as
1622 2016-06-21 Pedro Alves <palves@redhat.com>
1624 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1625 (test_awatch_creation_and_listing)
1626 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1627 Remove 'type' parameter.
1628 (test_watchpoint_all): New parameter mi_mode. Remove
1630 (top level): Use foreach_with_prefix, and add main/separate UI MI
1633 2016-06-21 Pedro Alves <palves@redhat.com>
1635 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1636 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1637 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1638 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1639 (gdb_main_spawn_id, mi_spawn_id): Declare and
1641 (mi_create_inferior_pty): New procedure,
1642 factored out from default_mi_gdb_start.
1643 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1645 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1646 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1647 Use mi_create_inferior_pty.
1648 (mi_gdb_start): Use eval to pass down args list.
1650 2016-06-21 Pedro Alves <palves@redhat.com>
1652 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1653 * gdb.opt/inline-cmds.exp: Add MI tests.
1655 2016-06-21 Pedro Alves <palves@redhat.com>
1657 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1659 2016-06-21 Pedro Alves <palves@redhat.com>
1661 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1662 (top level): Use it instead of mi_execute_to.
1664 2016-06-21 Pedro Alves <palves@redhat.com>
1666 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1667 (cont_handler_str): New.
1668 (signal_stop_handler): Set stop_handler_str instead of printing to
1670 (continue_handler): Set cont_handler_str instead of printing to
1672 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1673 mi_send_resuming_command. Print stop_handler_str and
1674 cont_handler_str instead of expecting the python events print
1677 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1679 * gdb.base/jit-reader.exp: New file.
1680 * gdb.base/jithost.c: New file.
1681 * gdb.base/jithost.h: New file.
1682 * gdb.base/jitreader.c : New file.
1683 * gdb.base/jit-protocol.h: New file.
1685 2016-06-17 Yao Qi <yao.qi@linaro.org>
1687 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1688 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1689 and detach-on-fork. Adjust tests.
1690 (top level): Invoke break_cond_on_syscall with combinations of
1691 syscall, follow-fork-mode and detach-on-fork.
1693 2016-06-17 Yao Qi <yao.qi@linaro.org>
1695 * gdb.base/step-over-exit.c: New.
1696 * gdb.base/step-over-exit.exp: New.
1698 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1700 * gdb.base/float.exp: Add target check for nds32*-*-*.
1701 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1703 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1705 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1706 for unsupported target features.
1707 * gdb.base/call-rt-st.exp: Likewise.
1708 * gdb.base/call-sc.exp: Likewise.
1709 * gdb.base/call-signal-resume.exp: Likewise.
1710 * gdb.base/call-strs.exp: Likewise.
1711 * gdb.base/callexit.exp: Likewise.
1712 * gdb.base/callfuncs.exp: Likewise.
1713 * gdb.base/nodebug.exp: Likewise.
1714 * gdb.base/printcmds.exp: Likewise.
1715 * gdb.base/ptype.exp: Likewise.
1716 * gdb.base/structs.exp: Likewise.
1717 * gdb.base/unwindonsignal.exp: Likewise.
1718 * gdb.cp/gdb2495.exp: Likewise.
1719 * gdb.cp/templates.exp: Likewise.
1720 * gdb.cp/virtfunc.exp: Likewise.
1721 * gdb.threads/hand-call-in-threads.exp: Likewise.
1722 * gdb.threads/interrupted-hand-call.exp: Likewise.
1723 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1725 2016-06-10 Tom Tromey <tom@tromey.com>
1728 * gdb.rust/expr.exp: Add test for integer constant larger than
1731 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1733 * gdb.fortran/nested-funcs.exp: New.
1734 * gdb.fortran/nested-funcs.f90: New.
1736 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1738 * gdb.base/examine-backward.c: New file.
1739 * gdb.base/examine-backward.exp: New file.
1741 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1743 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1746 2016-06-02 Tom Tromey <tom@tromey.com>
1749 * gdb.python/py-shared.exp: Add solib_name test.
1751 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1753 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1755 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1758 * gdb.dwarf2/implref.exp: Rename to...
1759 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1760 * gdb.dwarf2/implref-array.c: New file.
1761 * gdb.dwarf2/implref-array.exp: Likewise.
1762 * gdb.dwarf2/implref-global.c: Likewise.
1763 * gdb.dwarf2/implref-global.exp: Likewise.
1764 * gdb.dwarf2/implref-struct.c: Likewise.
1765 * gdb.dwarf2/implref-struct.exp: Likewise.
1767 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1769 * gdb.trace/trace-condition.exp: Add 64bit tests.
1771 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1773 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1775 (main): Adapt to 8 to 64 bits types.
1776 * gdb.trace/trace-condition.exp: Add new tests.
1778 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1780 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1782 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1784 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1785 Move condition tests...
1786 * gdb.trace/trace-condition.exp: Here.
1788 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1790 * gdb.trace/trace-condition.exp: Add counter-case tests.
1792 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1795 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1796 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1798 2016-05-27 Pedro Alves <palves@redhat.com>
1800 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1802 (top level): Call it, and bail out of DejaGnu is known to be bad.
1804 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1806 * gdb.base/whatis.c: Extend the test case.
1807 * gdb.base/whatis.exp: Add additional tests.
1809 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1811 * gdb.fortran/type.f90: Add pointer variable.
1812 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1814 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1816 * gdb.fortran/vla-type.exp: Fix testcase name.
1818 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1820 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1822 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1824 * gdb.fortran/type.f90: Add nested structures.
1825 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1826 * gdb.fortran/derived-type.exp: Adapt expected output.
1827 * gdb.fortran/vla-type.exp: Adapt expected output.
1829 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1831 * gdb.fortran/whatis_type.exp: Adapt expected output.
1833 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1835 * gdb.fortran/print_type.exp: Fix expected output.
1836 * gdb.fortran/whatis_type.exp: Fix expected output.
1838 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1840 * gdb.fortran/whatis_type.exp: Use multi_line.
1842 2016-05-24 Tom Tromey <tom@tromey.com>
1845 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1846 use value as an index.
1848 2016-05-23 Tom Tromey <tom@tromey.com>
1851 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1854 2016-05-24 Pedro Alves <palves@redhat.com>
1857 * gdb.threads/clone-attach-detach.c: New file.
1858 * gdb.threads/clone-attach-detach.exp: New file.
1860 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1862 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1864 2016-05-23 Tom Tromey <tom@tromey.com>
1866 PR python/19438, PR python/18393:
1867 * gdb.python/py-progspace.exp: Add "dir" test.
1868 * gdb.python/py-objfile.exp: Add "dir" test.
1870 2016-05-23 Yao Qi <yao.qi@linaro.org>
1872 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1873 * gdb.arch/thumb2-it.exp: Likewise.
1875 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1877 * gdb.mi/mi-threads-interrupt.c: New file.
1878 * gdb.mi/mi-threads-interrupt.exp: New file.
1880 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1883 * gdb.mi/mi-async-run.exp: New file.
1884 * gdb.mi/mi-async-run.c: New file.
1886 2016-05-17 Tom Tromey <tom@tromey.com>
1887 Manish Goregaokar <manishsmail@gmail.com>
1889 * lib/rust-support.exp: New file.
1890 * lib/gdb.exp (skip_rust_tests): New proc.
1891 (build_executable_from_specs): Handle rust.
1892 * lib/future.exp (gdb_find_rustc): New proc.
1893 (gdb_default_target_compile): Handle rust.
1894 * gdb.rust/expr.exp: New file.
1895 * gdb.rust/generics.exp: New file.
1896 * gdb.rust/generics.rs: New file.
1897 * gdb.rust/methods.exp: New file.
1898 * gdb.rust/methods.rs: New file.
1899 * gdb.rust/modules.exp: New file.
1900 * gdb.rust/modules.rs: New file.
1901 * gdb.rust/simple.exp: New file.
1902 * gdb.rust/simple.rs: New file.
1904 2016-05-17 Tom Tromey <tom@tromey.com>
1906 * gdb.base/default.exp (set language): Add rust.
1908 2016-05-17 Tom Tromey <tom@tromey.com>
1910 * gdb.gdb/unittest.exp: New file.
1912 2016-05-16 Yao Qi <yao.qi@linaro.org>
1914 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1915 shell_prompt. Update shell_prompt_re.
1917 2016-05-12 Doug Evans <dje@google.com>
1920 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1921 $options when building executable.
1922 * gdb.dwarf2/fission-loclists-pie.S: New file.
1923 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1925 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1927 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1928 of [is_remote target],
1930 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1932 * lib/gdb.exp (use_gdb_stub): New procedure.
1934 2016-05-03 Yunlian Jiang <yunlian@google.com>
1935 Doug Evans <dje@google.com>
1938 * gdb.dwarf2/dwp-sepdebug.c: New file.
1939 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1941 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1943 * gdb.base/detach.exp: Remove is_remote check.
1945 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1947 * gdb.base/annota-input-while-running.exp: Don't check for
1948 [is_remote target]. Enable annotations after running to main.
1949 Remove unused "set test..." line.
1951 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1953 * gdb.trace/trace-enable-disable.exp: New file.
1954 * gdb.trace/trace-enable-disable.c: New file.
1956 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1958 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1959 use it in info sharedlibrary test.
1960 * gdb.trace/ftrace-lock.exp: Likewise.
1961 * gdb.trace/ftrace.exp: Likewise.
1962 * gdb.trace/range-stepping.exp: Likewise.
1963 * gdb.trace/trace-break.exp: Likewise.
1964 * gdb.trace/trace-condition.exp: Likewise.
1965 * gdb.trace/trace-mt.exp: Likewise.
1967 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1969 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1970 (gdb_load_shlib): ... this.
1971 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1973 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1974 * gdb.base/ctxobj.exp: Likewise.
1975 * gdb.base/dprintf-pending.exp: Likewise.
1976 * gdb.base/dso2dso.exp: Likewise.
1977 * gdb.base/fixsection.exp: Likewise.
1978 * gdb.base/gcore-relro.exp: Likewise.
1979 * gdb.base/gdb1555.exp: Likewise.
1980 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1981 * gdb.base/gnu-ifunc.exp: Likewise.
1982 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1983 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1984 * gdb.base/pending.exp: Likewise.
1985 * gdb.base/print-file-var.exp: Likewise.
1986 * gdb.base/print-symbol-loading.exp: Likewise.
1987 * gdb.base/shlib-call.exp: Likewise.
1988 * gdb.base/shreloc.exp: Likewise.
1989 * gdb.base/so-impl-ld.exp: Likewise.
1990 * gdb.base/solib-disc.exp: Likewise.
1991 * gdb.base/solib-nodir.exp: Likewise.
1992 * gdb.base/solib-overlap.exp: Likewise.
1993 * gdb.base/solib-symbol.exp: Likewise.
1994 * gdb.base/solib-weak.exp (do_test): Likewise.
1995 * gdb.base/sym-file.exp: Likewise.
1996 * gdb.base/symtab-search-order.exp: Likewise.
1997 * gdb.base/type-opaque.exp: Likewise.
1998 * gdb.base/unload.exp: Likewise.
1999 * gdb.base/watchpoint-solib.exp: Likewise.
2000 * gdb.compile/compile.exp: Likewise.
2001 * gdb.cp/gdb2384.exp: Likewise.
2002 * gdb.cp/infcall-dlopen.exp: Likewise.
2003 * gdb.cp/re-set-overloaded.exp: Likewise.
2004 * gdb.fortran/library-module.exp: Likewise.
2005 * gdb.opt/solib-intra-step.exp: Likewise.
2006 * gdb.python/py-finish-breakpoint.exp: Likewise.
2007 * gdb.python/py-shared.exp: Likewise.
2008 * gdb.reverse/solib-precsave.exp: Likewise.
2009 * gdb.reverse/solib-reverse.exp: Likewise.
2010 * gdb.server/solib-list.exp: Likewise.
2011 * gdb.threads/dlopen-libpthread.exp: Likewise.
2012 * gdb.threads/tls-shared.exp: Likewise.
2013 * gdb.threads/tls-so_extern.exp: Likewise.
2014 * gdb.trace/change-loc.exp: Likewise.
2015 * gdb.trace/ftrace-lock.exp: Likewise.
2016 * gdb.trace/ftrace.exp: Likewise.
2017 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2018 * gdb.trace/pending.exp: Likewise.
2019 * gdb.trace/range-stepping.exp: Likewise.
2020 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2021 (strace_info_marker): Likewise.
2022 (strace_probe_marker): Likewise.
2023 (strace_trace_on_same_addr): Likewise.
2024 (strace_trace_on_diff_addr): Likewise.
2025 * gdb.trace/trace-break.exp: Likewise.
2026 * gdb.trace/trace-condition.exp: Likewise.
2027 * gdb.trace/trace-mt.exp: Likewise.
2029 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2031 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2032 result of gdb_remote_download.
2033 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2034 * gdb.base/dso2dso.exp: Likewise.
2035 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2036 * gdb.base/print-file-var.exp: Likewise.
2037 * gdb.base/shlib-call.exp: Likewise.
2038 * gdb.base/shreloc.exp: Likewise.
2039 * gdb.base/solib-overlap.exp: Likewise.
2040 * gdb.base/solib-weak.exp (do_test): Likewise.
2041 * gdb.base/unload.exp: Likewise.
2043 2016-04-27 Yao Qi <yao.qi@linaro.org>
2045 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2048 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2050 * vla-type.exp: Print structure from toplevel.
2052 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2054 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2056 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2059 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2061 * gdb.fortran/vla-type.f90: New file.
2062 * gdb.fortran/vla-type.exp: New file.
2064 2016-04-25 Yao Qi <yao.qi@linaro.org>
2066 * gdb.base/branch-to-self.c: New file.
2067 * gdb.base/branch-to-self.exp: New file.
2069 2016-04-22 Yao Qi <yao.qi@linaro.org>
2071 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2074 2016-04-22 Yao Qi <yao.qi@linaro.org>
2076 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2077 * gdb.base/annota3.exp: Likewise.
2079 2016-04-22 Yao Qi <yao.qi@linaro.org>
2081 * gdb.reverse/step-precsave.exp: Do one step and test program
2082 stops in "callee" and do multiple steps until program goes out
2084 * gdb.reverse/step-reverse.exp: Likewise.
2086 2016-04-22 Yao Qi <yao.qi@linaro.org>
2088 * gdb.trace/signal.exp: Also pass if
2089 $tracepoint_hits($i) > $iterations.
2091 2016-04-22 Yao Qi <yao.qi@linaro.org>
2093 * gdb.trace/signal.c: New file.
2094 * gdb.trace/signal.exp: New file.
2096 2016-04-19 Doug Evans <xdje42@gmail.com>
2098 * gdb.base/bad-file.exp: New file.
2100 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2102 * gdb.dwarf2/implref.exp: New file.
2104 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2106 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2107 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2108 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2109 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2110 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2111 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2112 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2113 * lib/fortran.exp (fortran_int4): New procedure.
2114 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2115 (fortran_logical4): Likewise.
2117 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2119 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2121 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2123 * lib/compiler.c: Add Intel specific preprocessor macros.
2124 * lib/compiler.cc: Likewise.
2126 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2128 * gdb.server/connect-with-no-symbol-file.c: New file.
2129 * gdb.server/connect-with-no-symbol-file.exp: New file.
2131 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2133 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2135 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2137 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2138 standard output directory.
2140 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2142 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2144 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2146 * gdb.btrace/instruction_history.c (loop): Add declaration.
2148 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2150 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2152 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2154 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2155 parentheses to print.
2156 (continue_handler): Likewise.
2158 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2160 * gdb.server/solib-list.exp: Remove is_remote check.
2161 Pass shlib= to gdb_compile. Don't link shared library with
2162 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2163 Run binary filename through "readlink -f" on the target.
2165 2016-04-08 Pedro Alves <palves@redhat.com>
2167 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2168 interpreter filename as argument to gdbserver_spawn.
2169 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2170 Return empty if $last_loaded_file does not exist.
2172 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2174 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2175 * gdb.base/jit-main.c: Use exit after usage.
2177 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2179 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2180 GDBHISTSIZE prior to the tests.
2181 * gdb.base/gdbinit-history.exp: Likewise.
2183 2016-04-07 Pedro Alves <palves@redhat.com>
2185 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2186 instead of build_executable. Use gdb_load_shlibs.
2188 2016-04-07 Yao Qi <yao.qi@linaro.org>
2190 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2191 Execute "si" command.
2193 2016-04-07 Yao Qi <yao.qi@linaro.org>
2195 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2196 number instead of the comments on some line.
2198 2016-04-06 Don Breazeal <donb@codesourcery.com>
2200 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2201 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2203 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2205 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2206 standard_output_file. Remove unused binfile variable.
2208 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
2210 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2211 * gdb.python/py-mi-objfile.exp: Match "list main" output
2214 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2216 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2219 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2221 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2223 * gdb.trace/ftrace.exp: Likewise.
2224 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2226 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2227 (gdb_load_shlibs): Copy libraries to test directory when testing
2228 natively. Only set solib-search-path if testing remotely.
2229 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2231 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2233 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2234 gdb_download. Use it even if the target is not remote.
2235 * gdb.base/jit.exp (compile_jit_test): Likewise.
2236 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2237 output directory if the destination board is local, otherwise use
2238 the standard remote_download from DejaGnu.
2239 (gdb_download): Remove.
2240 (gdb_load_shlibs): Use gdb_remote_download instead of
2242 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2243 Use gdb_remote_download instead of gdb_download. Use it even if
2244 the target is not remote.
2245 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2246 instead of gdb_download.
2248 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2250 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2251 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2254 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
2257 * gdb.base/printcmds.exp: Add artificial arrays tests.
2259 2016-03-31 Pedro Alves <palves@redhat.com>
2262 * gdb.base/jit-main.c: Include unistd.h.
2263 (ATTACH): Define to 0 if not already defined.
2264 (wait_for_gdb, mypid): New globals.
2265 (WAIT_FOR_GDB): New macro.
2266 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2267 some breakpoint locations.
2268 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2270 (one_jit_test): Add REATTACH parameter, and handle it. Use
2271 continue_to_test_location.
2272 (top level): Test attach, and adjusts calls to one_jit_test.
2274 2016-03-31 Pedro Alves <palves@redhat.com>
2277 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2278 BINSUFFIX parameter, and handle it.
2279 (top level): Adjust calls compile_jit_test.
2281 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
2284 * gdb.python/py-mi-events-gdb.py: New file.
2285 * gdb.python/py-mi-events.c: New file.
2286 * gdb.python/py-mi-events.exp: New file.
2288 2016-03-30 Yao Qi <yao.qi@linaro.org>
2290 * gdb.reverse/until-precsave.exp: Match function name only.
2291 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2292 Move malloc to a condition block.
2293 * gdb.reverse/until-reverse.exp: Match function name only.
2295 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2297 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2298 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2299 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2300 variable for GPR 0 instead of assuming it is register 0.
2301 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2302 * lib/trace-support.exp: Add s390 registers.
2304 2016-03-29 Yao Qi <yao.qi@linaro.org>
2306 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2308 2016-03-24 Yao Qi <yao.qi@linaro.org>
2310 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2313 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2315 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2316 maintaining separate logic for constructing the output path.
2318 2016-03-16 Don Breazeal <donb@codesourcery.com>
2320 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2321 Retry fork and waitpid on interrupted system call errors.
2322 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2323 Use with_timeout_factor to increase timeout by factor of 10.
2325 2016-03-15 Don Breazeal <donb@codesourcery.com>
2327 * gdb.cp/scope-err.cc: New test program.
2328 * gdb.cp/scope-err.exp: New test script.
2329 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2330 lines and "set breakpoint here" comment.
2331 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2332 Fixed some whitespace and format issues.
2333 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2334 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2336 2016-03-15 Doug Evans <dje@google.com>
2338 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2339 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2340 All callers updated. Add tests for enums, mixed flags register.
2342 2016-03-15 Doug Evans <dje@google.com>
2344 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2345 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2347 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2349 * gdb.base/default.exp: Add $_as_string to the list of expected
2350 convenience functions.
2352 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2354 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2356 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2358 * gdb.python/py-as-string.exp: New file.
2359 * gdb.python/py-as-string.c: New file.
2361 2016-03-09 Pedro Alves <palves@redhat.com>
2363 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2364 signal" -> "Thread NN received signal" output change.
2365 * gdb.threads/ia64-sigill.exp: Likewise.
2366 * gdb.threads/linux-dp.exp: Likewise.
2367 * gdb.threads/manythreads.exp: Likewise.
2368 * gdb.threads/pending-step.exp: Likewise.
2369 * gdb.threads/print-threads.exp: Likewise.
2370 * gdb.threads/sigstep-threads.exp: Likewise.
2371 * gdb.threads/staticthreads.exp: Likewise.
2372 * gdb.threads/tls.exp: Likewise.
2374 2016-03-09 Pedro Alves <palves@redhat.com>
2376 * gdb.base/command-line-input.exp: New file.
2378 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2380 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2381 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2382 * gdb.trace/pending.exp: Accept leading dot before function name.
2383 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2384 * lib/trace-support.exp: Set registers for ppc.
2386 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2388 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2389 use it for disassembly; accept .main in addition to main in backtrace.
2391 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2392 Marcin Kościelnicki <koriakin@0x04.net>
2394 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2395 (gdb_recursion_test_ptr): New global variable.
2396 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2398 (gdb_c_test): Ditto.
2400 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2402 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2405 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2407 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2408 (bar): Add bar_start_lbl label.
2409 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2410 of foo/bar for emitting DWARF and tracing.
2412 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2414 * analyze-racy-logs.py: Set executable bit.
2416 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2418 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2419 (CHECK_TARGET_TMP): Likewise.
2420 (check-single-racy): New rule.
2421 (check-parallel-racy): Likewise.
2422 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2423 (do-check-parallel-racy): New rule.
2424 (check-racy/%.exp): Likewise.
2425 * README (Racy testcases): New section.
2426 * analyze-racy-logs.py: New file.
2428 2016-03-03 Doug Evans <dje@google.com>
2430 * gdb.base/skip.exp: Use with_test_prefix.
2432 2016-03-03 Yao Qi <yao.qi@linaro.org>
2434 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2435 Invoke step_over_syscall "clone" and break_cond_on_syscall
2437 * gdb.base/step-over-clone.c: New file.
2439 2016-03-03 Yao Qi <yao.qi@linaro.org>
2441 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2444 2016-03-03 Yao Qi <yao.qi@linaro.org>
2446 * gdb.base/disp-step-fork.c: Rename to ...
2447 * gdb.base/step-over-fork.c: ... it. New file.
2448 * gdb.base/disp-step-vfork.c: Rename to ...
2449 * gdb.base/step-over-vfork.c: ... it. New file.
2450 * gdb.base/disp-step-syscall.exp: Rename to ...
2451 * gdb.base/step-over-syscall.exp: ... it. New file.
2452 (disp_step_cross_syscall): Rename to ...
2453 (step_over_syscall): ... it.
2455 2016-03-03 Yao Qi <yao.qi@linaro.org>
2457 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2458 If target supports condition evaluation on target, invoke
2459 break_cond_on_syscall for fork and vfork.
2461 2016-03-03 Yao Qi <yao.qi@linaro.org>
2463 * gdb.base/disp-step-syscall.exp: Don't invoke
2464 support_displaced_stepping.
2465 (disp_step_cross_syscall): Test with displaced stepping off and
2468 2016-03-03 Yao Qi <yao.qi@linaro.org>
2470 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2473 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2476 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2478 * gdb.fortran/vla-history.exp: Remove breakpoint.
2480 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2482 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2485 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2487 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2490 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2492 * gdb.mi/vla.f90: Nullify pointer after declaration.
2494 2016-03-01 Pedro Alves <palves@redhat.com>
2496 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2498 2016-03-01 Pedro Alves <palves@redhat.com>
2500 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2501 before anything else.
2502 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2504 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2505 before anything else.
2506 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2508 2016-03-01 Pedro Alves <palves@redhat.com>
2510 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2512 2016-03-01 Yao Qi <yao.qi@linaro.org>
2514 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2515 prepare_for_testing.
2517 2016-03-01 Yao Qi <yao.qi@linaro.org>
2519 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2521 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2523 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2524 manually constructing the output path.
2526 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2528 * gdb.arch/s390-stackless.S: New.
2529 * gdb.arch/s390-stackless.exp: New.
2531 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2533 * gdb.dlang/circular.c: New file.
2534 * gdb.dlang/circular.exp: New file.
2536 2016-02-26 Yao Qi <yao.qi@linaro.org>
2538 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2539 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2540 (testcases): Update.
2542 2016-02-26 Yao Qi <yao.qi@linaro.org>
2544 * gdb.reverse/aarch64.c: Rename to ...
2545 * gdb.reverse/insn-reverse.c: ... it.
2546 * gdb.reverse/aarch64.exp: Rename to ...
2547 * gdb.reverse/insn-reverse.exp: ... it.
2549 2016-02-26 Yao Qi <yao.qi@linaro.org>
2551 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2552 (testcase_ftype): New.
2553 (testcases): New array.
2555 (main): Call each element in testcases.
2556 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2557 (read_testcase): New.
2558 Do the tests in a loop.
2560 2016-02-25 Yao Qi <yao.qi@linaro.org>
2562 * gdb.base/branches.c: Remove.
2564 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2567 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2569 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2571 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2573 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2575 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2576 change x86_64 call_insn to 'callq'.
2578 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2580 * gdb.trace/tfile-avx.c: Move to...
2581 * gdb.trace/tracefile-pseudo-reg.c: Here.
2582 * gdb.trace/tfile-avx.exp: Move to...
2583 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2585 2016-02-24 Gary Benson <gbenson@redhat.com>
2587 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2590 2016-02-23 Doug Evans <dje@google.com>
2592 * gdb.base/skip.c (test_skip): New function.
2593 (end_test_skip_file_and_function): New function.
2594 (test_skip_file_and_function): New function.
2595 * gdb.base/skip1.c (test_skip): New function.
2596 (skip1_test_skip_file_and_function): New function.
2597 * gdb.base/skip.exp: Add tests for new skip options.
2598 * gdb.base/skip-solib.exp: Update expected output.
2599 * gdb.perf/skip-command.cc: New file.
2600 * gdb.perf/skip-command.exp: New file.
2601 * gdb.perf/skip-command.py: New file.
2603 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2605 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2606 info registers pattern.
2608 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2610 * lib/future.exp: Add D support.
2611 (gdb_find_gdc): New proc.
2612 (gdb_default_target_compile): Add D support.
2614 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
2616 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2618 (trace_speed_test): Determine the iteration count for a time
2619 between 15..30 seconds.
2621 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2623 * gdb.arch/i386-mpx-sigsegv.c: New file.
2624 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2625 * gdb.arch/i386-mpx-simple_segv.c: New file.
2626 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2628 2016-02-18 Yao Qi <yao.qi@linaro.org>
2630 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2631 Don't call setup_kfail.
2633 2016-02-18 Yao Qi <yao.qi@linaro.org>
2635 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2636 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2638 2016-02-16 Doug Evans <dje@google.com>
2640 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2641 * gdb.base/skip1.c: Ditto.
2642 * gdb.base/skip.exp: Whitespace cleanup.
2644 2016-02-16 Don Breazeal <donb@codesourcery.com>
2647 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2648 Remove kfail for PR remote/19496.
2650 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2652 * lib/gdb.exp (standard_temp_file): Return a path specific to
2653 the runtest invocation.
2655 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2657 * gdb.trace/save-trace.exp: Change relative path to be in the
2658 standard output directory.
2660 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2662 * gdb.arch/i386-prologue.c: Add missing prototypes.
2664 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2666 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2667 * gdb.arch/i386-prologue.exp: Likewise.
2668 * gdb.arch/i386-size.exp: Likewise.
2670 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2672 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2673 define object file path.
2674 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2676 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2677 standard_output_file to define binfile.
2679 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2681 Fix compatibility with recent gfortran-5.3.1.
2682 * gdb.fortran/vla-history.exp (print vla1 allocated)
2683 (print vla2 allocated, print $2, print $3): Remove
2684 (print $4): Rename to ...
2685 (print $2): ... here.
2686 (print $9): Rename to ...
2687 (print $5): ... here.
2688 (print $10): Rename to ...
2689 (print $6): ... here.
2690 * gdb.fortran/vla.f90: Add pvla initialization.
2692 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2694 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2696 * gdb.fortran/vla-value-sub.exp: Likewise.
2698 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2700 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2702 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2704 * i386-biarch-core.exp: Define corefile using
2705 standard_output_file.
2707 2016-02-12 Yao Qi <yao.qi@linaro.org>
2709 * gdb.arch/arm-single-step-kernel-helper.c: New.
2710 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2712 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2714 * gdb.btrace/tailcall-only.exp: New.
2715 * gdb.btrace/tailcall-only.c: New.
2716 * gdb.btrace/x86_64-tailcall-only.S: New.
2717 * gdb.btrace/i686-tailcall-only.S: New.
2719 2016-02-11 Pedro Alves <palves@redhat.com>
2721 * README (Parallel testing): Add missing double quotes.
2723 2016-02-11 Pedro Alves <palves@redhat.com>
2725 * README (Parallel testing): New section.
2726 (GDB_PARALLEL): Rewrite.
2727 (FORCE_PARALLEL): Document.
2729 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2731 * gdb.trace/tfile-avx.c: New test.
2732 * gdb.trace/tfile-avx.exp: New test.
2734 2016-02-09 Keith Seitz <keiths@redhat.com>
2736 PR breakpoints/19546
2737 * gdb.base/infcall-exec.c: New file.
2738 * gdb.base/infcall-exec2.c: New file.
2739 * gdb.base/infcall-exec.exp: New file.
2741 2016-02-09 Keith Seitz <keiths@redhat.com>
2743 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2744 (toplevel): Call test_bkpt_address.
2746 2016-02-09 Keith Seitz <keiths@redhat.com>
2749 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2750 (toplevel): Call test_bkpt_address.
2752 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2754 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2756 * configure: Regenerate.
2758 2016-02-09 Pedro Alves <palves@redhat.com>
2760 PR breakpoints/19548
2761 * gdb.base/execl-update-breakpoints.c (some_function): New
2764 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2765 Tighten expected GDB output.
2767 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2769 * Makefile.in (ALL_SUBDIRS): Remove.
2770 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2771 (distclean maintainer-clean realclean): Likewise.
2772 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2773 * configure: Regenerate.
2774 * gdb.ada/Makefile.in: Delete.
2775 * gdb.arch/Makefile.in: Likewise.
2776 * gdb.asm/Makefile.in: Likewise.
2777 * gdb.base/Makefile.in: Likewise.
2778 * gdb.btrace/Makefile.in: Likewise.
2779 * gdb.cell/Makefile.in: Likewise.
2780 * gdb.compile/Makefile.in: Likewise.
2781 * gdb.cp/Makefile.in: Likewise.
2782 * gdb.disasm/Makefile.in: Likewise.
2783 * gdb.dlang/Makefile.in: Likewise.
2784 * gdb.dwarf2/Makefile.in: Likewise.
2785 * gdb.fortran/Makefile.in: Likewise.
2786 * gdb.gdb/Makefile.in: Likewise.
2787 * gdb.go/Makefile.in: Likewise.
2788 * gdb.guile/Makefile.in: Likewise.
2789 * gdb.java/Makefile.in: Likewise.
2790 * gdb.linespec/Makefile.in: Likewise.
2791 * gdb.mi/Makefile.in: Likewise.
2792 * gdb.modula2/Makefile.in: Likewise.
2793 * gdb.multi/Makefile.in: Likewise.
2794 * gdb.objc/Makefile.in: Likewise.
2795 * gdb.opencl/Makefile.in: Likewise.
2796 * gdb.opt/Makefile.in: Likewise.
2797 * gdb.pascal/Makefile.in: Likewise.
2798 * gdb.perf/Makefile.in: Likewise.
2799 * gdb.python/Makefile.in: Likewise.
2800 * gdb.reverse/Makefile.in: Likewise.
2801 * gdb.server/Makefile.in: Likewise.
2802 * gdb.stabs/Makefile.in: Likewise.
2803 * gdb.threads/Makefile.in: Likewise.
2804 * gdb.trace/Makefile.in: Likewise.
2805 * gdb.xml/Makefile.in: Likewise.
2806 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2808 (standard_output_file): Remove check for GDB_PARALLEL, always
2809 return path in outputs/$subdir/$testname.
2811 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2813 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2814 (site.exp): Assign abs_srcdir to tcl's srcdir.
2816 2016-02-04 Yao Qi <yao.qi@linaro.org>
2818 * gdb.base/foll-exec-mode.c: Include limits.h.
2819 (main): Add parameters argc and argv. Get directory from
2821 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2823 * gdb.base/foll-exec.c: Include limits.h.
2824 (main): Add parameters argc and argv.
2825 Get directory from argv[0].
2826 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2827 Adjust tests on the number of lines as source code changed.
2828 * gdb.base/foll-vfork-exit.c: Include limits.h.
2829 (main): Add one line of statement before vfork.
2830 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2831 (main): Add parameters argc and argv. Get directory from
2833 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2834 (setup_gdb): Set tbreak to skip some source lines.
2835 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2836 (main): Add parameters argc and argv. Get directory from
2838 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2840 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2841 (main): Add parameters argc and argv. Get directory from
2843 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2846 2016-02-01 Doug Evans <dje@google.com>
2848 * gdb.base/skip.exp: Clean up multiple references to same test name.
2850 2016-02-01 Pedro Alves <palves@redhat.com>
2853 * gdb.threads/forking-threads-plus-breakpoint.exp
2854 (displaced_stepping_supported): New global.
2855 (probe_displaced_stepping_support): New procedure.
2856 (do_test): Add 'displaced' parameter, and use it.
2857 (top level): Check for displaced stepping support. Add displaced
2858 stepping on/off testing axis.
2860 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2862 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2863 pointer. Don't perform further tests on the unassociated pointer
2864 if the first test fails.
2866 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2868 * gdb.base/max-value-size.c: New file.
2869 * gdb.base/max-value-size.exp: New file.
2870 * gdb.base/huge.exp: Disable max-value-size for this test.
2872 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2874 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2876 2016-01-28 Yao Qi <yao.qi@linaro.org>
2878 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2880 2016-01-25 Pedro Alves <palves@redhat.com>
2883 * gdb.base/fork-running-state.c: New file.
2884 * gdb.base/fork-running-state.exp: New file.
2886 2016-01-25 Pedro Alves <palves@redhat.com>
2889 * gdb.base/catch-fork-kill.c: New file.
2890 * gdb.base/catch-fork-kill.exp: New file.
2892 2016-01-25 Pedro Alves <palves@redhat.com>
2894 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2895 Delete, moved to lib/gdb.exp.
2896 * gdb.threads/forking-threads-plus-breakpoint.exp
2897 (foreach_with_prefix): Likewise.
2898 * gdb.threads/process-dies-while-handling-bp.exp
2899 (foreach_with_prefix): Likewise.
2900 * lib/gdb.exp (foreach_with_prefix): New procedure.
2902 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2904 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2905 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2907 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2909 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2912 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2913 Pedro Alves <palves@redhat.com>
2915 Fix testsuite compatibility with Guile.
2916 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2919 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2921 Fix testsuite compatibility with Guile.
2922 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2923 (thread 1): New test for backtrace through signal handler.
2925 2016-01-22 Yao Qi <yao.qi@linaro.org>
2928 * gdb.base/multi-forks.c: Include
2929 ../lib/unbuffer_output.c
2930 (main): Call gdb_unbuffer_output.
2932 2016-01-21 Doug Evans <dje@google.com>
2934 * lib/ada.exp (gdb_compile_ada): Fix typo.
2936 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2938 * gdb.base/break-fun-addr.exp: New file.
2939 * gdb.base/break-fun-addr1.c: New file.
2940 * gdb.base/break-fun-addr2.c: New file.
2942 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2944 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2945 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2948 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2950 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2951 when GDB can not set the vector return value. Add more comments
2954 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2956 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2959 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2961 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2963 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2965 * Makefile.in (check-single): Pass --status to runtest.
2966 (check/%.exp): Likewise.
2968 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2970 * Makefile.in (check-parallel): Propagate return code from make
2973 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2975 * gdb.trace/ftrace.exp: Fix expected message on continue.
2976 * gdb.trace/pending.exp: Fix expected message on continue.
2977 * gdb.trace/trace-break.exp: Fix expected message on continue.
2979 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2981 * lib/gdb.exp (gdb_test): Remove unused global references.
2983 2016-01-18 Pedro Alves <palves@redhat.com>
2985 * gdb.base/async-shell.exp: Adjust expected output.
2986 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2987 * gdb.base/siginfo-thread.exp: Adjust expected output.
2988 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2989 * gdb.java/jnpe.exp: Adjust expected output.
2990 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2991 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2992 * gdb.threads/leader-exit.exp: Adjust expected output.
2993 * gdb.threads/manythreads.exp: Adjust expected output.
2994 * gdb.threads/pthreads.exp: Adjust expected output.
2995 * gdb.threads/schedlock.exp: Adjust expected output.
2996 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2997 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2999 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3001 * gdb.threads/sigthread.exp: Adjust expected output.
3002 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3004 2016-01-18 Yao Qi <yao.qi@linaro.org>
3006 * gdb.guile/scm-section-script.c: Replace @progbits with
3008 * gdb.python/py-section-script.c: Likewise.
3010 2016-01-15 Pedro Alves <palves@redhat.com>
3012 * gdb.multi/tids.exp: Test star wildcard ranges.
3014 2016-01-15 Pedro Alves <palves@redhat.com>
3016 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3017 command from "thread apply" invocation.
3018 (thr_apply_info_thr_invalid): Default the expected output to the
3020 (top level): Add tests that use convenience variables. Add tests
3021 for "thread apply" with a valid TID list, but missing the command.
3023 2016-01-13 Pedro Alves <palves@redhat.com>
3025 * gdb.base/default.exp: Expect $_gthread as well.
3026 * gdb.multi/tids.exp: Test $_gthread.
3027 * gdb.threads/thread-specific.exp: Test $_gthread.
3029 2016-01-13 Pedro Alves <palves@redhat.com>
3031 * gdb.multi/tids.exp: Test "info threads -gid".
3033 2016-01-13 Pedro Alves <palves@redhat.com>
3035 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3037 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3039 2016-01-07 Pedro Alves <palves@redhat.com>
3041 * gdb.base/break.exp: Adjust to output changes.
3042 * gdb.base/hbreak2.exp: Likewise.
3043 * gdb.base/sepdebug.exp: Likewise.
3044 * gdb.base/watch_thread_num.exp: Likewise.
3045 * gdb.linespec/keywords.exp: Likewise.
3046 * gdb.multi/info-threads.exp: Likewise.
3047 * gdb.threads/thread-find.exp: Likewise.
3048 * gdb.multi/tids.c: New file.
3049 * gdb.multi/tids.exp: New file.
3051 2016-01-13 Pedro Alves <palves@redhat.com>
3053 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3055 2016-01-13 Pedro Alves <palves@redhat.com>
3057 * gdb.base/default.exp: Expect $_inferior as well.
3058 * gdb.multi/base.exp: Test $_inferior.
3060 2016-01-13 Pedro Alves <palves@redhat.com>
3062 PR breakpoints/19388
3063 * gdb.base/catch-signal-siginfo-cond.c: New file.
3064 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3066 2016-01-12 Josh Stone <jistone@redhat.com>
3067 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3069 * gdb.base/catch-syscall.c (do_execve): New variable.
3070 (main): Conditionally trigger an execve.
3071 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3072 (test_catch_syscall_execve): New, check entry/return across execve.
3073 (do_syscall_tests): Call test_catch_syscall_execve.
3075 2016-01-12 Pedro Alves <palves@redhat.com>
3077 * gdb.base/random-signal.exp (do_test): New procedure, with body
3078 of testcase moved in.
3080 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3081 Pedro Alves <palves@redhat.com>
3083 * gdb.base/funcargs.exp (finish from indirectly called function):
3084 Reintroduce the case for 'First'.
3086 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3087 Pedro Alves <palves@redhat.com>
3089 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3090 (tcatch_vfork_then_child_follow_exec)
3091 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3094 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3096 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3097 and repeats to unlimited.
3098 * gdb.python/py-value.exp: Likewise.
3099 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3100 and repeats to unlimited.
3102 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3104 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3105 and reordering the functions.
3106 * gdb.multi/hangout.c: Likewise.
3107 * gdb.multi/hello.c: Likewise.
3109 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3111 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3113 (SingleStatisticTestResult.report): Use dict.keys instead of
3116 2016-01-06 Pedro Alves <palves@redhat.com>
3118 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3120 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3122 * gdb.btrace/dlopen.exp: New.
3123 * gdb.btrace/dlopen.c: New.
3124 * gdb.btrace/dlopen-dso.c: New.
3126 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3128 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3129 PATTERN argument is optional.
3131 2015-12-24 Joel Brobecker <brobecker@adacore.com>
3133 * lib/ada.exp (target_compile_ada_from_dir): New function.
3134 (gdb_compile_ada): Reimplement avoiding the use of project files.
3135 * gdb.ada/gnat_ada.gpr: Delete.
3136 * gdb.ada/cond_lang.exp: Adjust test to make path before
3138 * gdb.ada/small_reg_param.exp: Likewise.
3140 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3142 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3144 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3146 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3149 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3151 * gdb.base/break.exp: Remove dead code.
3152 * gdb.base/sepdebug.exp: Likewise.
3154 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3156 * gdb.asm/asm-source.exp: Remove HP-UX references.
3157 * gdb.base/annota1.exp: Likewise.
3158 * gdb.base/annota3.exp: Likewise.
3159 * gdb.base/attach.exp: Likewise.
3160 * gdb.base/bigcore.exp: Likewise.
3161 * gdb.base/break.exp: Likewise.
3162 * gdb.base/call-ar-st.exp: Likewise.
3163 * gdb.base/callfuncs.exp: Likewise.
3164 * gdb.base/catch-fork-static.exp: Likewise.
3165 * gdb.base/display.exp: Likewise.
3166 * gdb.base/foll-exec-mode.exp: Likewise.
3167 * gdb.base/foll-exec.exp: Likewise.
3168 * gdb.base/foll-fork.exp: Likewise.
3169 * gdb.base/foll-vfork.exp: Likewise.
3170 * gdb.base/funcargs.exp: Likewise.
3171 * gdb.base/hbreak2.exp: Likewise.
3172 * gdb.base/inferior-died.exp: Likewise.
3173 * gdb.base/interrupt.exp: Likewise.
3174 * gdb.base/multi-forks.exp: Likewise.
3175 * gdb.base/nodebug.exp: Likewise.
3176 * gdb.base/sepdebug.exp: Likewise.
3177 * gdb.base/solib1.c: Likewise.
3178 * gdb.base/step-test.exp: Likewise.
3179 * gdb.mi/non-stop.c: Likewise.
3180 * gdb.mi/pthreads.c: Likewise.
3181 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3182 * gdb.threads/pthreads.c: Likewise.
3183 * gdb.threads/staticthreads.exp: Likewise.
3184 * lib/future.exp: Likewise.
3185 * lib/gdb.exp: Likewise.
3186 * gdb.base/so-indr-cl.c: Remove.
3187 * gdb.base/so-indr-cl.exp: Likewise.
3188 * gdb.base/solib.c: Likewise.
3189 * gdb.base/solib.exp: Likewise.
3190 * gdb.base/solib2.c: Likewise.
3192 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3194 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3195 * gdb.base/call-ar-st.exp: Likewise.
3196 * gdb.base/callfuncs.exp: Likewise.
3197 * gdb.base/condbreak.exp: Likewise.
3198 * gdb.base/constvars.exp: Likewise.
3199 * gdb.base/hbreak2.exp: Likewise.
3200 * gdb.base/langs.exp: Likewise.
3201 * gdb.base/list.exp: Likewise.
3202 * gdb.base/long_long.exp: Likewise.
3203 * gdb.base/ptype.exp: Likewise.
3204 * gdb.base/scope.exp: Likewise.
3205 * gdb.base/signals.exp: Likewise.
3206 * gdb.base/so-impl-ld.exp: Likewise.
3207 * gdb.base/varargs.exp: Likewise.
3208 * gdb.base/volatile.exp: Likewise.
3209 * gdb.base/whatis.exp: Likewise.
3210 * gdb.cp/cplusfuncs.exp: Likewise.
3211 * gdb.cp/inherit.exp: Likewise.
3212 * gdb.cp/local.exp: Likewise.
3213 * gdb.cp/member-ptr.exp: Likewise.
3214 * gdb.cp/method.exp: Likewise.
3215 * gdb.cp/overload.exp: Likewise.
3216 * gdb.cp/templates.exp: Likewise.
3217 * gdb.stabs/weird.exp: Likewise.
3218 * lib/compiler.c: Likewise.
3219 * lib/compiler.cc: Likewise.
3220 * lib/cp-support.exp: Likewise.
3221 * lib/gdb.exp: Likewise.
3223 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3225 * configure.ac: Remove HP-UX case.
3226 * configure: Regenerate.
3228 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3230 * lib/gdb.exp (gdb_compile): Add function doc.
3232 2015-12-17 Pedro Alves <palves@redhat.com>
3235 * gdb.multi/info-threads.exp: New file.
3237 2015-12-15 Yao Qi <yao.qi@linaro.org>
3239 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3242 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3244 * gdb.base/history-duplicates.exp: Skip if no readline support.
3246 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3248 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3250 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3252 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3254 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3256 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3257 ctrl-C if nointerrupts target property is set.
3258 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3259 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3260 * gdb.base/paginate-bg-execution.exp: Likewise.
3261 * gdb.base/paginate-execution-startup.exp: Likewise.
3262 * gdb.base/random-signal.exp: Likewise.
3263 * gdb.base/range-stepping.exp: Likewise.
3264 * gdb.cp/annota2.exp: Likewise.
3265 * gdb.cp/annota3.exp: Likewise.
3266 * gdb.gdb/selftest.exp: Likewise.
3267 * gdb.threads/continue-pending-status.exp: Likewise.
3268 * gdb.threads/leader-exit.exp: Likewise.
3269 * gdb.threads/manythreads.exp: Likewise.
3270 * gdb.threads/pthreads.exp: Likewise.
3271 * gdb.threads/schedlock.exp: Likewise.
3272 * gdb.threads/sigthread.exp: Likewise.
3274 2015-12-11 Don Breazeal <donb@codesourcery.com>
3276 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3278 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3279 * gdb.base/foll-exec.exp (main): Enable for target remote.
3280 * gdb.base/foll-fork.exp (main): Likewise.
3281 * gdb.base/foll-vfork.exp (main): Likewise.
3282 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3283 (proc continue_to_exit_bp_loc): Use clean_restart.
3284 * gdb.base/pie-execl.exp (main): Disable for target remote.
3285 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3286 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3287 * gdb.threads/execl.exp (main): Likewise.
3288 * gdb.threads/fork-child-threads.exp (main): Likewise.
3289 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3291 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3293 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3294 pid.tid style ptids, instead of just tid.
3295 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3296 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3297 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3298 ptids, instead of just tid.
3300 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3302 * gdb.base/list.exp (test_list_forward): Add end of file error
3304 (test_repeat_list_command): Add end of file error test.
3305 (test_list_backwards): Add beginning of file error test.
3307 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3309 * gdb.base/list.exp (test_list_invalid_args): New function,
3310 defined, and called.
3312 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3314 * gdb.base/list.exp (test_list): Make test names unique.
3316 2015-12-11 Yao Qi <yao.qi@linaro.org>
3318 * gdb.base/coremaker2.c: Remove.
3320 2015-12-10 Pedro Alves <palves@redhat.com>
3322 * gdb.multi/base.exp: Remove stale "spaces" references.
3324 2015-12-10 Pedro Alves <palves@redhat.com>
3326 * gdb.multi/base.exp: Don't use nowarnings.
3327 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3328 * gdb.multi/hangout.c: Include stdio.h.
3329 * gdb.multi/hello.c: Include stdlib.h.
3330 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3331 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3332 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3334 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3336 * gdb.dwarf2/dw2-ranges-base.c: New file.
3337 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3338 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3339 support additional line table, and debug ranges generation.
3340 (Dwarf::ranges): New function, generate .debug_ranges.
3341 (Dwarf::lines): Support generating simple line table programs.
3342 (Dwarf::assemble): Initialise new namespace variables.
3344 2015-12-09 Kevin Buettner <kevinb@redhat.com>
3346 * gdb.base/async.exp (proc test_background): Add case for
3347 asynchronous execution not supported.
3349 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
3351 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3352 format and change test names to make them unique.
3354 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3355 Pedro Alves <pedro@redhat.com>
3358 Add checking of floatformats setup on x86_64 hosts.
3359 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3360 (smallval, bigval): New labels/constants.
3361 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3362 float" after loading bigval and smallval.
3364 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3366 * gdb.ada/fun_overload_menu.exp: New testcase.
3367 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3369 2015-12-04 Josh Stone <jistone@redhat.com>
3371 * gdb.base/catch-fork-static.exp: New.
3373 2015-12-03 Yao Qi <yao.qi@linaro.org>
3375 * gdb.base/sizeof.c: Don't include stdio.h and
3376 ../lib/unbuffer_output.c.
3377 (main): New variable 'size' and 'value'. Remove printf and
3378 gdb_unbuffer_output. Assign return value to size and value.
3379 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3381 (check_sizeof): Check the result by printing variable 'size'.
3382 (check_valueof): Check the result by printing variable 'value'.
3384 2015-12-01 Yao Qi <yao.qi@linaro.org>
3386 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3387 for aarch64*-*-linux* target.
3389 2015-11-30 Pedro Alves <palves@redhat.com>
3391 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3393 2015-11-30 Pedro Alves <palves@redhat.com>
3395 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3396 Handle non-stop mode vCont replies.
3398 2015-11-30 Pedro Alves <palves@redhat.com>
3400 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3401 prepare_for_testing. Start gdb with "set non-stop on" appended to
3402 GDBFLAGS. Lax expected stop output.
3404 2015-11-27 Yao Qi <yao.qi@linaro.org>
3406 * gdb.arch/arm-neon.exp: New.
3407 * gdb.arch/arm-neon.c: New.
3409 2015-11-27 Yao Qi <yao.qi@linaro.org>
3411 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3413 2015-11-27 Yao Qi <yao.qi@linaro.org>
3415 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3416 frames-invalid annotation.
3418 2015-11-27 Yao Qi <yao.qi@linaro.org>
3420 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3422 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3424 * gdb.threads/names.exp: New file.
3425 * gdb.threads/names.c: New file.
3426 * README: Mention gdb,no_thread_names.
3428 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3431 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3434 2015-11-24 Pedro Alves <palves@redhat.com>
3437 * gdb.base/display.exp: Expect displays to be sorted in ascending
3438 order. Use multi_line.
3439 * gdb.base/solib-display.exp: Likewise.
3441 2015-11-24 Pedro Alves <palves@redhat.com>
3444 * gdb.base/display.exp: Expect displays to be sorted in ascending
3445 order. Use multi_line.
3446 * gdb.base/solib-display.exp: Likewise.
3448 2015-11-24 Pedro Alves <palves@redhat.com>
3451 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3452 threads in ascending order.
3453 * gdb.base/foll-fork.exp: Likewise.
3454 * gdb.base/foll-vfork.exp: Likewise.
3455 * gdb.base/multi-forks.exp: Likewise.
3456 * gdb.mi/mi-nonstop.exp: Likewise.
3457 * gdb.mi/mi-nsintrall.exp: Likewise.
3458 * gdb.multi/base.exp: Likewise.
3459 * gdb.multi/multi-arch.exp: Likewise.
3460 * gdb.python/py-inferior.exp: Likewise.
3461 * gdb.threads/break-while-running.exp: Likewise.
3462 * gdb.threads/execl.exp: Likewise.
3463 * gdb.threads/gcore-thread.exp: Likewise.
3464 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3465 * gdb.threads/kill.exp: Likewise.
3466 * gdb.threads/linux-dp.exp: Likewise.
3467 * gdb.threads/multiple-step-overs.exp: Likewise.
3468 * gdb.threads/next-bp-other-thread.exp: Likewise.
3469 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3470 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3471 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3472 * gdb.threads/thread-find.exp: Likewise.
3473 * gdb.threads/tls.exp: Likewise.
3474 * lib/mi-support.exp (mi_reverse_list): Delete.
3475 (mi_check_thread_states): No longer reverse list.
3477 2015-11-24 Pedro Alves <palves@redhat.com>
3479 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3482 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3484 * gdb.trace/actions.c: Include trace-common.h.
3485 (main): Add a location for a fast tracepoint.
3486 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3487 the normal tracepoints.
3488 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3490 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3492 * save-trace.exp: Factor out code to these...
3493 (gdb_save_tracepoints): New.
3494 (gdb_load_tracepoints): New.
3495 (do_save_load_test): New.
3497 2015-11-23 Kevin Buettner <kevinb@redhat.com>
3499 * gdb.base/asmlabel.exp: New test.
3500 * gdb.base/asmlabel.c: New test case.
3502 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3504 * gdb.base/wrong_frame_bt_full-main.c: New file.
3505 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3506 * gdb.base/wrong_frame_bt_full.exp: New file.
3508 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3510 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3512 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3514 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
3515 pstate register when comparing registers values in
3516 sparc64-*-linux-gnu targets to avoid spurious differences.
3518 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3520 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
3522 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3524 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3525 as type argument to gdb_compile.
3526 * gdb.base/nested-subp2.exp: Likewise.
3527 * gdb.base/nested-subp3.exp: Likewise.
3529 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3531 * lib/dwarf.exp (_note): Fix left shift of negative value.
3532 * gdb.trace/trace-condition.exp: Likewise.
3534 2015-11-13 Yao Qi <yao.qi@linaro.org>
3536 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3537 comments about d10v.
3538 (test_scalar_returns): Likewise.
3539 * gdb.base/d10v.ld: Remove.
3540 * gdb.base/overlays.exp: Remove the target triplet checking for
3542 * gdb.base/structs.exp (test_struct_returns): Remove the
3543 comments about d10v.
3544 (test_struct_calls): Likewise.
3546 2015-11-13 Yao Qi <yao.qi@linaro.org>
3548 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3549 * gdb.base/gnu_vector.c: Don't include stdio.h.
3550 (main): Don't print res and call add_some_intvecs.
3552 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3554 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3557 (func4): Use FAST_TRACEPOINT_LABEL.
3558 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3561 (thread_function): Use FAST_TRACEPOINT_LABEL.
3562 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3564 (marker): Use FAST_TRACEPOINT_LABEL.
3565 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3566 (pendfunc1): Remove.
3567 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3568 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3570 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3571 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3574 (marker): Use FAST_TRACEPOINT_LABEL.
3575 * gdb.trace/trace-common.h: New header.
3576 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3579 (marker): Use FAST_TRACEPOINT_LABEL.
3580 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3582 (thread_function): Use FAST_TRACEPOINT_LABEL.
3584 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3586 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3588 * gdb.trace/change-loc.exp: Use global pcreg definition.
3589 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3590 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3592 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3593 * gdb.trace/pending.exp: Likewise.
3594 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3595 * gdb.trace/trace-break.exp: Likewise.
3596 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3598 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3599 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3601 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3603 2015-11-09 Joel Brobecker <brobecker@adacore.com>
3605 * gdb.ada/fin_fun_out: New testcase.
3607 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3609 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3610 value associated with DW_AT_byte_size.
3611 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3612 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3615 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3617 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3618 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3620 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3621 gdb.dwarf2/dw2-canonicalize-type.exp,
3622 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3623 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3624 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3625 provided by gdb_target_symbol_prefix_flags_asm.
3626 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3627 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3628 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3629 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3630 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3631 macros where needed). Use this macro for symbols which require
3632 the prefix provided by SYMBOL_PREFIX.
3634 2015-11-05 Kevin Buettner <kevinb@redhat.com>
3636 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3638 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3639 representing expressions, of more than one list element.
3640 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3641 to prepend linker symbol prefix to f.
3642 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3643 table_1 and table_2.
3644 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3645 Likewise, for f and g.
3646 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3648 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3650 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3651 table_1_ptr and table_2_ptr.
3653 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3654 Joel Brobecker <brobecker@adacore.com>
3656 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3658 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3660 * gdb.reverse/s390-mvcle.c: New test.
3661 * gdb.reverse/s390-mvcle.exp: New file.
3662 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3664 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3666 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3668 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3670 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3672 * gdb.reverse/getresuid-reverse.exp: Likewise.
3673 * gdb.reverse/pipe-reverse.exp: Likewise.
3674 * gdb.reverse/readv-reverse.exp: Likewise.
3675 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3676 * gdb.reverse/time-reverse.exp: Likewise.
3677 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3679 2015-10-30 Yao Qi <yao.qi@linaro.org>
3681 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3682 (empty_cycle): Remove.
3683 (main): Don't call empty_cycle. Don't use watch_count_done.
3684 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3685 empty_cycle. Rewrite the code counting HW watchpoints.
3687 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3689 * gdb.reverse/fstatat-reverse.c: New test.
3690 * gdb.reverse/fstatat-reverse.exp: New file.
3691 * gdb.reverse/getresuid-reverse.c: New test.
3692 * gdb.reverse/getresuid-reverse.exp: New file.
3693 * gdb.reverse/pipe-reverse.c: New test.
3694 * gdb.reverse/pipe-reverse.exp: New file.
3695 * gdb.reverse/readv-reverse.c: New test.
3696 * gdb.reverse/readv-reverse.exp: New file.
3697 * gdb.reverse/recvmsg-reverse.c: New test.
3698 * gdb.reverse/recvmsg-reverse.exp: New file.
3699 * gdb.reverse/time-reverse.c: New test.
3700 * gdb.reverse/time-reverse.exp: New file.
3701 * gdb.reverse/waitpid-reverse.c: New test.
3702 * gdb.reverse/waitpid-reverse.exp: New file.
3704 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3706 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3708 2015-10-26 Doug Evans <dje@google.com>
3711 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3712 * gdb.dwarf2/bad-regnum.c: New file.
3713 * gdb.dwarf2/bad-regnum.exp: New file.
3715 2015-10-26 Doug Evans <dje@google.com>
3718 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3721 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3723 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3724 for a change by "Mention language in compile error message".
3726 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3729 * gdb.python/py-type.c (C::a_method): New.
3730 (C::a_const_method): New.
3731 (C::a_static_method): New.
3733 * gdb.python/py-type.exp (test_fields): Test getting fields
3734 from function and method.
3736 2015-10-21 Keven Boell <keven.boell@intel.com>
3738 * gdb.fortran/vla-alloc-assoc.exp: New file.
3739 * gdb.fortran/vla-datatypes.exp: New file.
3740 * gdb.fortran/vla-datatypes.f90: New file.
3741 * gdb.fortran/vla-history.exp: New file.
3742 * gdb.fortran/vla-ptype-sub.exp: New file.
3743 * gdb.fortran/vla-ptype.exp: New file.
3744 * gdb.fortran/vla-sizeof.exp: New file.
3745 * gdb.fortran/vla-sub.f90: New file.
3746 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3747 * gdb.fortran/vla-value-sub-finish.exp: New file.
3748 * gdb.fortran/vla-value-sub.exp: New file.
3749 * gdb.fortran/vla-value.exp: New file.
3750 * gdb.fortran/vla-ptr-info.exp: New file.
3751 * gdb.mi/mi-vla-fortran.exp: New file.
3752 * gdb.mi/vla.f90: New file.
3754 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3756 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3757 of hardwired timeout value.
3759 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3760 Pedro Alves <palves@redhat.com>
3762 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3763 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3765 2015-10-19 Josh Stone <jistone@redhat.com>
3767 * gdb.base/catch-syscall.c: Include <sched.h>.
3768 (unknown_syscall): New variable.
3769 (main): Trigger a vfork and an unknown syscall.
3770 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3771 (unknown_syscall_number): Likewise.
3772 (check_call_to_syscall): Accept an optional syscall pattern.
3773 (check_return_from_syscall): Likewise.
3774 (check_continue): Likewise.
3775 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3776 (test_catch_syscall_skipping_return): New test toggling off 'catch
3777 syscall' to step over the syscall return, then toggling back on.
3778 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3779 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3780 (do_syscall_tests): Call test_catch_syscall_without_args and
3781 test_catch_syscall_mid_vfork.
3782 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3783 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3785 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
3787 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3788 print g_vE): Add new pass patterns.
3789 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3790 print various symbol names for vptr fields.
3792 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3794 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3797 2015-10-12 Yao Qi <yao.qi@linaro.org>
3799 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3801 2015-10-12 Yao Qi <yao.qi@linaro.org>
3803 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3804 is aarch64*-*-linux*.
3806 2015-10-12 Yao Qi <yao.qi@linaro.org>
3808 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3809 (can_relocate_bcond_true): ... it.
3810 (can_relocate_bcond_false): New function.
3812 (can_relocate_bl): Likewise.
3813 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3816 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3818 * gdb.base/nested-addr.c: New file.
3819 * gdb.base/nested-addr.exp: New testcase.
3821 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3823 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3824 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3825 its output. Ignore the output of "record goto begin" and instead
3826 check that GDB is replaying.
3828 2015-10-09 Pedro Alves <palves@redhat.com>
3830 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3831 (top level): Use it in the run with no args test.
3833 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3835 * gdb.dlang/properties.exp: New file.
3837 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3839 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3840 whether or not address 0x1000 is mapped on the target.
3842 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3844 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3847 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3849 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3850 instruction-history test.
3852 2015-09-28 Doug Evans <dje@google.com>
3854 * gdb.base/gcore.c (array_func): Add reference to static_array.
3856 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3858 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3861 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3863 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3864 short or char as base type.
3866 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3868 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3869 to allow any size enum.
3871 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3873 * gdb.ada/array_ptr_renaming.exp: New testcase.
3874 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3875 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3877 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3879 * gdb.trace/ftrace-lock.c: New file.
3880 * gdb.trace/ftrace-lock.exp: New file.
3882 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3884 * gdb.arch/insn-reloc.c: New file.
3885 * gdb.arch/ftrace-insn-reloc.exp: New file.
3887 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3889 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3891 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3892 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3893 * gdb.trace/range-stepping.c: Likewise.
3894 * gdb.trace/trace-break.c: Likewise.
3895 * gdb.trace/trace-mt.c (thread_function): Likewise.
3896 * gdb.trace/ftrace.c (marker): Likewise.
3897 * gdb.trace/trace-condition.c (marker): Likewise.
3898 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3899 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3902 2015-09-18 Doug Evans <xdje42@gmail.com>
3904 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3905 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3907 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3909 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3912 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3914 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3915 the pending breakpoint. Remove timeout override for "Run till
3916 MI pending breakpoint on pendfunc3 on thread 2" test.
3918 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3920 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3923 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3925 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3926 in breakpoint filename pattern.
3928 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3930 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3932 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3934 * gdb.linespec/explicit.exp: Check for readline support for
3935 tab-completion tests. Fix obvious typo.
3937 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3939 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3942 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3944 * gdb.btrace/non-stop.c: New.
3945 * gdb.btrace/non-stop.exp: New.
3947 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3948 Yao Qi <yao.qi@linaro.org>
3950 * gdb.trace/trace-condition.c: New file.
3951 * gdb.trace/trace-condition.exp: New file.
3953 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3955 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3956 for testing bytecode compilation.
3958 2015-09-16 Pedro Alves <palves@redhat.com>
3959 Sandra Loosemore <sandra@codesourcery.com>
3961 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3962 (SECONDS): Redefine.
3963 (main): Call pthread_kill and alarm early.
3964 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3966 (test): If the target can't hardware step and doesn't support
3967 displaced stepping, increase the timeout.
3969 2015-09-16 Pedro Alves <palves@redhat.com>
3971 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3972 (enable_debug): New procedures.
3973 (test): Use them. Bail out if waiting for threads fails.
3974 (top level): Bail out if a test fails.
3976 2015-09-16 Yao Qi <yao.qi@linaro.org>
3978 * gdb.asm/asm-source.exp: Set asm-arch for
3979 aarch64*-*-* target.
3980 * gdb.asm/aarch64.inc: New file.
3982 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3984 * gdb.ada/array_of_variable_length.exp: New testcase.
3985 * gdb.ada/array_of_variable_length/foo.adb: New file.
3986 * gdb.ada/array_of_variable_length/pck.adb: New file.
3987 * gdb.ada/array_of_variable_length/pck.ads: New file.
3989 2015-09-15 Doug Evans <dje@google.com>
3991 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3992 of function static local variable.
3994 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3996 * gdb.threads/tls-so_extern.exp: New test file.
3997 * gdb.threads/tls-so_extern.c: New test file.
3998 * gdb.threads/tls-so_extern_main.c: New test file.
4000 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4002 * gdb.opt/solib-intra-step-lib.c: New file.
4003 * gdb.opt/solib-intra-step-main.c: New file.
4004 * gdb.opt/solib-intra-step.exp: New file.
4006 2015-09-15 Pedro Alves <palves@redhat.com>
4008 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4009 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4011 2015-09-14 Pedro Alves <palves@redhat.com>
4013 * gdb.base/hook-stop-continue.c: Delete.
4014 * gdb.base/hook-stop-continue.exp: Delete.
4015 * gdb.base/hook-stop-frame.c: Delete.
4016 * gdb.base/hook-stop-frame.exp: Delete.
4017 * gdb.base/hook-stop.c: New file.
4018 * gdb.base/hook-stop.exp: New file.
4020 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4022 * gdb.ada/access_to_packed_array.exp: New testcase.
4023 * gdb.ada/access_to_packed_array/foo.adb: New file.
4024 * gdb.ada/access_to_packed_array/pack.adb: New file.
4025 * gdb.ada/access_to_packed_array/pack.ads: New file.
4027 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4029 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4032 2015-09-11 Don Breazeal <donb@codesourcery.com>
4034 * gdb.base/foll-exec.c: Add copyright header. Fix
4036 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4037 (do_exec_tests): Use clean_restart in place of zap_session,
4038 and for test initialization. Fix formatting issues. Use
4039 fail in place of perror.
4040 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4041 an expect statement to match an expression with output from
4042 the program under debug.
4043 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4044 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4045 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4046 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4047 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4049 2015-09-09 Doug Evans <dje@google.com>
4051 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4053 2015-09-09 Doug Evans <dje@google.com>
4055 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4057 2015-09-09 Doug Evans <dje@google.com>
4059 * gdb.base/savedregs.exp: Fix typo.
4061 2015-09-09 Pedro Alves <palves@redhat.com>
4063 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4065 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4067 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4068 command actually switches threads. Give up on remaining
4069 tests if target fails to stop at breakpoint.
4071 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4073 * gdb.ada/funcall_char.exp: New testcase.
4074 * gdb.ada/funcall_char/foo.adb: New file.
4076 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4078 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4079 expected outputs. Add two testcases for completing ambiguous
4081 * gdb.ada/complete/aux_pck.adb: New file.
4082 * gdb.ada/complete/aux_pck.ads: New file.
4083 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4084 Ambiguous_Func functions.
4085 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4086 * gdb.ada/complete/pck.adb: Likewise.
4088 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4090 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4091 failures to run the test program under GDB.
4093 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4095 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4098 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4100 * gdb.base/run-after-attach.exp: New test file.
4101 * gdb.base/run-after-attach.c: New test file.
4103 2015-08-26 Don Breazeal <donb@codesourcery.com>
4105 * gdb.base/foll-exec-2.c: New test program.
4106 * gdb.base/foll-exec-2.exp: New test.
4108 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4110 * gdb.base/nested-subp1.exp: New file.
4111 * gdb.base/nested-subp1.c: New file.
4112 * gdb.base/nested-subp2.exp: New file.
4113 * gdb.base/nested-subp2.c: New file.
4114 * gdb.base/nested-subp3.exp: New file.
4115 * gdb.base/nested-subp3.c: New file.
4117 2015-08-24 Pedro Alves <palves@redhat.com>
4119 * gdb.server/connect-without-multi-process.c: New file.
4120 * gdb.server/connect-without-multi-process.exp: New file.
4122 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4124 * gdb.opt/inline-markers.c: Make z int.
4126 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4128 * gdb.opt/inline-markers.c: Make z volatile.
4130 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4132 * gdb.opt/inline-bt.c: New volatile global z.
4133 * gdb.opt/inline-cmds.c: Likewise.
4134 * gdb.opt/inline-locals.c: Likewise.
4135 * gdb.opt/inline-markers.c: New extern global z.
4137 (inline_fn): Likewise.
4139 2015-08-24 Pedro Alves <palves@redhat.com>
4141 * config/m32r-stub.exp: Remove file.
4142 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4143 * gdb.base/call-rt-st.exp: Likewise.
4144 * gdb.base/call-strs.exp: Likewise.
4145 * gdb.base/default.exp: Remove references to h8300-*-hms and
4147 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4149 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4151 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4152 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4153 and "return" use KFAIL when GDB can not read/write the vector
4156 2015-08-21 Gary Benson <gbenson@redhat.com>
4158 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4160 2015-08-20 Pedro Alves <palves@redhat.com>
4162 * gdb.server/solib-list.exp: No longer expect an interior stop in
4165 2015-08-20 Pedro Alves <palves@redhat.com>
4167 * gdb.server/connect-stopped-target.c: New file.
4168 * gdb.server/connect-stopped-target.exp: New file.
4170 2015-08-20 Pedro Alves <palves@redhat.com>
4172 * gdb.dwarf2/comp-unit-lang.exp: New file.
4173 * gdb.dwarf2/comp-unit-lang.c: New file.
4175 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4177 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4178 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4180 2015-08-19 Kevin Buettner <kevinb@redhat.com>
4182 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4183 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4185 2015-08-18 Doug Evans <dje@google.com>
4186 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4188 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4189 skip_python_tests. New arg prompt_regexp.
4190 (skip_python_tests): New function.
4191 * lib/mi-support.exp (mi_skip_python_tests): New function.
4192 * gdb.python/py-mi-objfile-gdb.py: New file.
4193 * gdb.python/py-mi-objfile.c: New file.
4194 * gdb.python/py-mi-objfile.exp: New file.
4196 2015-08-17 Keith Seitz <keiths@redhat.com>
4198 * gdb.linespec/explicit.exp: Move strace test from here ...
4199 * gdb.trace/strace.exp: ... to here.
4201 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4203 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4204 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4206 2015-08-14 Doug Evans <xdje42@gmail.com>
4208 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4209 inferior before selecting a new file.
4211 2015-08-14 Doug Evans <xdje42@gmail.com>
4213 * gdb.mi/mi-disassemble.exp: Update.
4214 * gdb.base/disasm-optim.S: New file.
4215 * gdb.base/disasm-optim.c: New file.
4216 * gdb.base/disasm-optim.h: New file.
4217 * gdb.base/disasm-optim.exp: New file.
4219 2015-08-14 Keith Seitz <keiths@redhat.com>
4221 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4224 2015-08-13 Joel Brobecker <brobecker@adacore.com>
4226 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4228 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4230 * gdb.ada/fun_renaming.exp: New testcase.
4231 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4232 * gdb.ada/fun_renaming/pack.adb: New file.
4233 * gdb.ada/fun_renaming/pack.ads: New file.
4235 2015-08-12 Keith Seitz <keiths@redhat.com>
4237 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4238 gdb_get_line_number.
4240 2015-08-12 Joel Brobecker <brobecker@adacore.com>
4242 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4243 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4244 gdb.base/dso2dso.exp: New files.
4246 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4247 Pedro Alves <palves@redhat.com>
4248 Keith Seitz <keiths@redhat.com>
4250 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4253 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4255 * gdb.base/gdbhistsize-history.exp
4256 (test_histsize_history_setting): Use save_vars.
4257 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4259 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4260 * gdb.base/readline.exp: Use save_vars.
4262 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4264 * lib/gdb.exp (save_vars): New proc.
4266 2015-08-11 Keith Seitz <keiths@redhat.com>
4268 * gdb.base/help.exp: Update help_breakpoint_text.
4270 2015-08-11 Keith Seitz <keiths@redhat.com>
4272 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4273 (at toplevel): Call test_explicit_breakpoints.
4274 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4276 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4277 breakpoint conditions, "-cond".
4279 2015-08-11 Keith Seitz <keiths@redhat.com>
4281 * gdb.linespec/3explicit.c: New file.
4282 * gdb.linespec/cpexplicit.cc: New file.
4283 * gdb.linespec/cpexplicit.exp: New file.
4284 * gdb.linespec/explicit.c: New file.
4285 * gdb.linespec/explicit.exp: New file.
4286 * gdb.linespec/explicit2.c: New file.
4287 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4288 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4289 before using in the matching pattern.
4290 Clarify that `prefix' is a regular expression.
4292 2015-08-11 Keith Seitz <keiths@redhat.com>
4294 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4296 Add tests for missing ",FMT" and ",".
4298 2015-08-10 Doug Evans <dje@google.com>
4299 Keith Seitz <keiths@redhat.com>
4302 * gdb.base/completion.exp: Add location completer tests.
4304 2015-08-07 Pedro Alves <palves@redhat.com>
4306 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4308 (top level): Run do_test with and without displaced stepping.
4310 2015-08-07 Pedro Alves <palves@redhat.com>
4312 * gdb.base/valgrind-disp-step.c: New file.
4313 * gdb.base/valgrind-disp-step.exp: New file.
4315 2015-08-07 Pedro Alves <palves@redhat.com>
4317 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4319 (main): Add alarm. Run an infinite loop instead of calling
4321 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4323 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4325 (main): Add alarm. Run an infinite loop instead of calling
4327 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4330 2015-08-07 Pedro Alves <palves@redhat.com>
4332 * gdb.base/checkpoint-ns.exp: New file.
4333 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4336 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4338 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4339 * gdb.btrace/instruction_history.exp: Update.
4340 * gdb.btrace/tsx.exp: New.
4341 * gdb.btrace/tsx.c: New.
4343 2015-08-06 Pedro Alves <palves@redhat.com>
4345 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4347 * gdb.reverse/until-precsave.exp: Bump timeouts.
4349 2015-08-06 Pedro Alves <palves@redhat.com>
4351 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4353 2015-08-06 Pedro Alves <palves@redhat.com>
4356 * gdb.threads/process-dies-while-handling-bp.c: New file.
4357 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4359 2015-08-06 Pedro Alves <palves@redhat.com>
4361 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4362 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4364 2015-08-05 Pedro Alves <palves@redhat.com>
4366 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4367 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4369 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4371 * gdb.base/bp-permanent.exp: Report test as unsupported if
4372 the target cannot stop at the permanent breakpoint.
4374 2015-08-03 Doug Evans <dje@google.com>
4376 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4379 2015-08-03 Doug Evans <dje@google.com>
4381 * Makefile.in (workers/%.worker, build-perf): New rule.
4382 (GDB_PERFTEST_MODE): New variable.
4383 (check-perf): Use it.
4384 (clean): Clean up gdb.perf parallel build subdirs.
4385 * lib/build-piece.exp: New file.
4386 * lib/gdb.exp (make_gdb_parallel_path): New function
4387 (standard_output_file, standard_temp_file): Call it.
4388 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4390 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4392 2015-08-03 Doug Evans <dje@google.com>
4394 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4395 (LOG_FILE_NAME): New global.
4396 (TextReporter.__init__): Initialize self.txt_sum.
4397 (TextReporter.report): Add support for multiple data-points.
4398 Move report to perftest.sum, put raw data in perftest.log.
4399 (TextReporter.start): Open sum and log files.
4400 (TextReporter.end): Close sum and log files.
4401 * gdb.perf/lib/perftest/testresult.py
4402 (SingleStatisticTestResult.record): Handle multiple data-points.
4404 2015-07-31 Pedro Alves <palves@redhat.com>
4406 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4407 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4408 kill_wait_spawned_process instead of explicit "kill -9".
4409 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4410 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4411 kill_wait_spawned_process.
4412 * gdb.base/attach-twice.exp: Likewise.
4413 * gdb.base/attach.exp: Likewise.
4414 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4416 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4417 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4418 kill_wait_spawned_process.
4419 * gdb.base/valgrind-infcall.exp: Likewise.
4420 * gdb.multi/multi-attach.exp: Likewise.
4421 * gdb.python/py-prompt.exp: Likewise.
4422 * gdb.python/py-sync-interp.exp: Likewise.
4423 * gdb.server/ext-attach.exp: Likewise.
4424 * gdb.threads/attach-into-signal.exp (corefunc): Use
4425 spawn_wait_for_attach, spawn_id_get_pid and
4426 kill_wait_spawned_process.
4427 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4428 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4429 spawn_id_get_pid and kill_wait_spawned_process.
4430 * gdb.threads/attach-stopped.exp (corefunc): Use
4431 spawn_wait_for_attach, spawn_id_get_pid and
4432 kill_wait_spawned_process.
4433 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4434 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4435 kill_wait_spawned_process instead of explicit "kill -9".
4436 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4437 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4438 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4439 processes. Don't map cygwin/windows pids here. Now returns a
4442 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4444 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4445 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4448 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4450 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4452 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4455 2014-05-21 Mark Wielaard <mjw@redhat.com>
4457 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4459 2015-07-30 Pedro Alves <palves@redhat.com>
4461 * linux-low.c (handle_extended_wait): Set the child's last
4462 reported status to TARGET_WAITKIND_STOPPED.
4464 2015-07-30 Pedro Alves <palves@redhat.com>
4467 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4468 only shows inferior 1.
4470 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4471 Pedro Alves <palves@redhat.com>
4474 * gdb.threads/fork-plus-threads.c: New file.
4475 * gdb.threads/fork-plus-threads.exp: New file.
4477 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4479 * gdb.base/batch-preserve-term-settings.exp
4480 (test_terminal_settings_preserved_after_cli_exit): Use
4483 2015-07-29 Pedro Alves <palves@redhat.com>
4484 Don Breazeal <donb@codesourcery.com>
4486 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4487 output from both inferior_spawn_id and gdb_spawn_id.
4489 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4491 * gdb.threads/attach-into-signal.exp (corefunc): Use
4492 with_test_prefix on nested loops, uniquefying the test messages.
4494 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4496 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4499 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4501 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4503 (test_terminal_settings_preserved_after_sigterm): New test.
4505 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4507 * gdb.base/batch-preserve-term-settings.exp
4508 (test_terminal_settings_preserved_after_cli_exit): New test.
4510 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4512 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4513 manipulation of saved_gdbflags.
4514 (test_terminal_settings_preserved): Remove global declaration of
4515 the unused variable pagination_prompt. Remove manipulation of
4516 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4519 2015-07-29 Pedro Alves <palves@redhat.com>
4521 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4523 2015-07-29 Pedro Alves <palves@redhat.com>
4525 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4528 2015-07-29 Pedro Alves <palves@redhat.com>
4530 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4531 (main): Call gdb_unbuffer_output.
4532 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4533 (main): Call gdb_unbuffer_output.
4534 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4535 (main): Call gdb_unbuffer_output.
4536 * gdb.base/call-strs.exp: Adjust to step over the
4537 gdb_unbuffer_output call.
4538 * gdb.base/catch-gdb-caused-signals.c: Include
4539 "../lib/unbuffer_output.c".
4540 (main): Call gdb_unbuffer_output.
4541 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4542 (main): Call gdb_unbuffer_output.
4543 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4544 (main): Call gdb_unbuffer_output.
4545 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4546 (main): Call gdb_unbuffer_output.
4547 * gdb.base/shlib-call.exp: Adjust to step over the
4548 gdb_unbuffer_output call.
4549 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4550 (main): Call gdb_unbuffer_output.
4551 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4552 (main): Call gdb_unbuffer_output.
4553 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4554 (main): Rename to ...
4556 (main): Reimplement.
4557 * gdb.base/varargs.exp: Run to test instead of to main.
4558 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4559 (main): Call gdb_unbuffer_output.
4561 2015-07-29 Pedro Alves <palves@redhat.com>
4563 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4564 factore out from mi_continue_dprintf. For call-style dprintfs,
4565 expect dprintf output out of $inferior_spawn_id.
4566 (mi_continue_dprintf): Use mi_expect_dprintf.
4567 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4568 (main): Call gdb_unbuffer_output.
4570 2015-07-29 Pedro Alves <palves@redhat.com>
4572 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4573 (default_mi_gdb_start): Set inferior_spawn_id instead of
4574 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4576 (mi_gdb_test): Always expect inferior output from both
4577 $inferior_spawn_id and $gdb_spawn_id.
4579 2015-07-29 Pedro Alves <palves@redhat.com>
4581 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4582 send_inferior and $inferior_spawn_id.
4584 2015-07-29 Pedro Alves <palves@redhat.com>
4586 * gdb.gdb/complaints.exp (test_initial_complaints)
4587 (test_serial_complaints, test_short_complaints): Use
4589 (test_empty_complaint): Handle $inferior_spawn_id !=
4592 2015-07-29 Pedro Alves <palves@redhat.com>
4594 * gdb.base/varargs.exp: Use gdb_test_stdio.
4596 2015-07-29 Pedro Alves <palves@redhat.com>
4598 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4600 2015-07-29 Pedro Alves <palves@redhat.com>
4602 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4604 2015-07-29 Pedro Alves <palves@redhat.com>
4606 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4607 parameter into two new parameters, "inf_result" and "gdb_result".
4608 Expect inferior output and gdb output from $inferior_spawn_id and
4609 $gdb_spawn_id, respectively. Adjust all callers.
4611 2015-07-29 Pedro Alves <palves@redhat.com>
4613 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4614 of gdb_test_sequence.
4616 2015-07-29 Pedro Alves <palves@redhat.com>
4618 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4619 (saw_spurious_output): Expect inferior output from
4620 $inferior_spawn_id. Use gdb_test_stdio.
4622 2015-07-29 Pedro Alves <palves@redhat.com>
4624 * gdb.base/dprintf.exp: Use standard_testfile. Change
4625 prepare_for_testing call.
4626 (srcfile): Don't set.
4627 (restart): New procedure.
4628 (test_dprintf): New procecure, use to continue over dprintfs.
4629 (test_call, test_agent): New procedures, tests moved here.
4630 Restart gdb and recreate dprintfs. Adjust expected output.
4632 2015-07-29 Pedro Alves <palves@redhat.com>
4634 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4636 2015-07-29 Pedro Alves <palves@redhat.com>
4638 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4640 2015-07-29 Pedro Alves <palves@redhat.com>
4642 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4645 2015-07-29 Pedro Alves <palves@redhat.com>
4647 * lib/gdb.exp (gdb_test_stdio): New procedure.
4649 2015-07-29 Pedro Alves <palves@redhat.com>
4651 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4653 2015-07-29 Pedro Alves <palves@redhat.com>
4655 * gdb.base/call-signal-resume.exp: Remove check for
4656 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4657 * gdb.base/unwindonsignal.exp: Likewise.
4658 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4659 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4661 2015-07-29 Pedro Alves <palves@redhat.com>
4663 * gdb.base/siginfo-addr.c (pass): New function.
4664 (handler): Call it iff si_addr is correct.
4665 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4666 Set a breakpoint at "pass" and continue to it.
4668 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4670 * gdb.python/py-objfile.exp: Make some tests have unique names.
4671 * gdb.python/py-pp-registration.exp: Likewise.
4673 2015-07-28 Pedro Alves <palves@redhat.com>
4675 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4677 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4679 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4681 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4683 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4685 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4687 * gdb.base/gdb-sigterm-2.exp: New test.
4689 2015-07-25 Doug Evans <xdje42@gmail.com>
4692 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4693 (workers/%.worker, build-perf): New rule.
4694 (GDB_PERFTEST_MODE): New variable.
4695 (check-perf): Use it.
4696 (clean): Clean up gdb.perf parallel build subdirs.
4697 * lib/build-piece.exp: New file.
4698 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4699 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4701 (standard_temp_file): Ditto.
4702 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4705 2015-07-24 Doug Evans <dje@google.com>
4707 * gdb.perf/lib/perftest/utils.py: New file.
4708 * gdb.perf/gm-hello.cc: New file.
4709 * gdb.perf/gm-pervasive-typedef.cc: New file.
4710 * gdb.perf/gm-pervasive-typedef.h: New file.
4711 * gdb.perf/gm-std.cc: New file.
4712 * gdb.perf/gm-std.h: New file.
4713 * gdb.perf/gm-use-cerr.cc: New file.
4714 * gdb.perf/gm-utils.h: New file.
4715 * gdb.perf/gmonster-null-lookup.py: New file.
4716 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4717 * gdb.perf/gmonster-print-cerr.py: New file.
4718 * gdb.perf/gmonster-ptype-string.py: New file.
4719 * gdb.perf/gmonster-runto-main.py: New file.
4720 * gdb.perf/gmonster-select-file.py: New file.
4721 * gdb.perf/gmonster1-null-lookup.exp: New file.
4722 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4723 * gdb.perf/gmonster1-print-cerr.exp: New file.
4724 * gdb.perf/gmonster1-ptype-string.exp: New file.
4725 * gdb.perf/gmonster1-runto-main.exp: New file.
4726 * gdb.perf/gmonster1-select-file.exp: New file.
4727 * gdb.perf/gmonster1.cc: New file.
4728 * gdb.perf/gmonster1.exp: New file.
4729 * gdb.perf/gmonster2-null-lookup.exp: New file.
4730 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4731 * gdb.perf/gmonster2-print-cerr.exp: New file.
4732 * gdb.perf/gmonster2-ptype-string.exp: New file.
4733 * gdb.perf/gmonster2-runto-main.exp: New file.
4734 * gdb.perf/gmonster2-select-file.exp: New file.
4735 * gdb.perf/gmonster2.cc: New file.
4736 * gdb.perf/gmonster2.exp: New file.
4738 2015-07-24 Doug Evans <dje@google.com>
4740 * gdb.perf/README: New file.
4741 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4742 * lib/gen-perf-test.exp: New file.
4744 2015-07-24 Doug Evans <dje@google.com>
4746 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4747 (PerfTest::startup): New function.
4748 (PerfTest::run): Return result of calling body.
4749 (PerfTest::assemble): Rewrite.
4750 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4751 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4752 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4753 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4754 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4756 2015-07-24 Doug Evans <dje@google.com>
4758 * lib/gdb.exp (clean_restart): Make executable optional.
4760 2015-07-24 Doug Evans <dje@google.com>
4762 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4763 compiler_info references.
4764 * gdb.cp/temargs.exp: Ditto.
4765 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4766 (get_compiler_info): Early exit if already computed. Set compiler_info
4767 to "unknown" if there was a problem.
4768 (test_compiler_info): Add function comment. Call get_compiler_info.
4770 2015-07-24 Doug Evans <dje@google.com>
4772 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4773 (workers/%.worker, build-perf): New rule.
4774 (GDB_PERFTEST_MODE): New variable.
4775 (check-perf): Use it.
4776 (clean): Clean up gdb.perf parallel build subdirs.
4777 * lib/build-piece.exp: New file.
4778 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4779 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4781 (standard_temp_file): Ditto.
4782 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4785 2015-07-24 Doug Evans <dje@google.com>
4787 * lib/future.exp (gdb_default_target_compile): New option
4789 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4792 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4794 * gdb.base/catch-syscall.exp: Call gdb_exit before
4797 2015-07-24 Pedro Alves <palves@redhat.com>
4799 * gdb.python/py-events.exp: Accept output between the stop event
4801 * gdb.python/py-evsignal.exp: Likewise.
4802 * gdb.python/py-evthreads.exp: Likewise.
4804 2015-07-24 Pedro Alves <palves@redhat.com>
4807 * gdb.threads/non-ldr-exit.c: New file.
4808 * gdb.threads/non-ldr-exit.exp: New file.
4810 2015-07-24 Yao Qi <yao.qi@linaro.org>
4812 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4815 2015-07-24 Yao Qi <yao.qi@linaro.org>
4817 * gdb.server/ext-restart.exp: New file.
4819 2015-07-24 Yao Qi <yao.qi@linaro.org>
4821 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4823 * gdb.server/ext-wrapper.exp: New file.
4825 2015-07-23 Doug Evans <dje@google.com>
4827 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4828 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4830 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4832 * gdb.ada/var_arr_typedef.exp: New testcase.
4833 * gdb.ada/var_arr_typedef/pack.adb: New file.
4834 * gdb.ada/var_arr_typedef/pack.ads: New file.
4835 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4837 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4839 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4841 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4843 * gdb.arch/i386-biarch-core.exp: Replace istarget
4844 by "complete set gnutarget". Remove expectation for the "core-file"
4847 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4849 Revert the previous commit:
4850 Tests for validate symbol file using build-id.
4852 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4854 Tests for validate symbol file using build-id.
4855 * gdb.base/solib-mismatch-lib.c: New file.
4856 * gdb.base/solib-mismatch-libmod.c: New file.
4857 * gdb.base/solib-mismatch.c: New file.
4858 * gdb.base/solib-mismatch.exp: New file.
4860 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4862 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4864 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4865 * gdb.base/siginfo.exp: Likewise.
4866 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4868 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4870 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4872 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4874 * gdb.trace/range-stepping.exp: Check that the target supports
4877 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4879 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4881 2015-07-14 Pedro Alves <palves@redhat.com>
4883 * gdb.base/killed-outside.exp: New file.
4884 * gdb.base/killed-outside.c: New file.
4886 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4888 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4890 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4892 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4894 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4895 infcall tests instead of setting up for KFAIL.
4897 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4899 * gdb.btrace/record_goto-step.exp: New.
4901 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4904 * gdb.compile/compile.c (struct struct_type): Add volatile to
4906 * gdb.compile/compile.exp
4907 (compile code struct_object.selffield = &struct_object): Skip further
4908 struct_object tests if this one xfails.
4910 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4913 * gdb.trace/ax.exp: Add test.
4915 2015-07-07 Yao Qi <yao.qi@linaro.org>
4917 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4918 instead of istarget "aarch64*-*-*".
4919 * gdb.arch/aarch64-fp.exp: Likewise.
4920 * gdb.base/float.exp: Likewise.
4921 * gdb.reverse/aarch64.exp: Likewise.
4922 * lib/gdb.exp (is_aarch64_target): New proc.
4924 2015-07-07 Yao Qi <yao.qi@linaro.org>
4926 * lib/gdb.exp (is_aarch32_target): New proc.
4927 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4928 instead of "istarget "arm*-*-*"".
4929 * gdb.arch/arm-disp-step.exp: Likewise.
4930 * gdb.arch/thumb-bx-pc.exp: Likewise.
4931 * gdb.arch/thumb-prologue.exp: Likewise.
4932 * gdb.arch/thumb-singlestep.exp: Likewise.
4933 * gdb.base/disp-step-syscall.exp: Likewise.
4934 * gdb.base/float.exp: Likewise.
4936 2015-07-07 Yao Qi <yao.qi@linaro.org>
4938 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4939 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4941 2015-07-07 Yao Qi <yao.qi@linaro.org>
4943 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4944 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4946 * gdb.multi/multi-arch.exp: Likewise.
4948 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4950 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4953 2015-07-07 Yao Qi <yao.qi@linaro.org>
4955 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4957 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4959 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4960 '[' and ']' characters.
4962 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4964 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4966 2015-06-29 Pedro Alves <palves@redhat.com>
4969 * gdb.threads/hand-call-new-thread.c: New file.
4970 * gdb.threads/hand-call-new-thread.c: New file.
4972 2015-06-26 Keith Seitz <keiths@redhat.com>
4973 Doug Evans <dje@google.com>
4976 * gdb.cp/var-tag-2.cc: New file.
4977 * gdb.cp/var-tag-3.cc: New file.
4978 * gdb.cp/var-tag-4.cc: New file.
4979 * gdb.cp/var-tag.cc: New file.
4980 * gdb.cp/var-tag.exp: New file.
4982 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4984 * gdb.base/history-duplicates.exp: New test.
4986 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4988 * gdb.base/completion.exp: Test the completion of the "focus"
4991 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4993 * gdb.arch/amd64-prologue-skip.S: New file.
4994 * gdb.arch/amd64-prologue-skip.exp: New file.
4996 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4998 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4999 is_address_zero_readable check.
5001 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5003 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5004 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5006 2015-06-24 Yao Qi <yao.qi@linaro.org>
5008 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5011 2015-06-24 Yao Qi <yao.qi@linaro.org>
5013 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5014 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5015 * gdb.base/siginfo-thread.exp: Likewise.
5017 2015-06-22 Yao Qi <yao.qi@linaro.org>
5019 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5021 2015-06-22 Yao Qi <yao.qi@linaro.org>
5023 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5025 (skip_hw_watchpoint_tests): Likewise.
5027 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5029 * gdb.base/gdbinit-history.exp: Test the interaction between
5030 setting GDBHISTSIZE and setting the history size via .gdbinit.
5032 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5035 * gdb.base/gdbhistsize-history.exp: New test.
5037 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5039 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5041 * gdb.base/readline.exp: Likewise.
5043 2015-06-17 Yao Qi <yao.qi@linaro.org>
5045 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5048 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5050 * gdb.base/gdbinit-history.exp: Add test case to check that
5051 an unlimited history file does not get truncated on exit.
5053 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5055 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5056 (VECTOR): New macro. Use it...
5057 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5058 ...for these typedefs.
5059 (int8, char1, int1, double1): New typedefs.
5060 (struct just_int2, struct two_int2): New structures.
5061 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5062 (add_structvecs, add_singlevecs): New functions.
5063 (main): Call add_some_intvecs twice.
5064 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5065 the compile and exit upon failure. Try compiling for the "native"
5066 architecture. Test inferior function calls with vector arguments
5067 and vector return value handling with "finish" and "return".
5069 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5071 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5072 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5074 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5076 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5078 PR breakpoints/16465
5079 * gdb.mi/mi-dprintf-pending.c: New file.
5080 * gdb.mi/mi-dprintf-pending.exp: New test.
5081 * gdb.mi/mi-dprintf-pendshr.c: New file.
5083 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5084 Mircea Gherzan <mircea.gherzan@intel.com>
5086 * gdb.arch/i386-mpx-map.c: New file.
5087 * gdb.arch/i386-mpx-map.exp: New File.
5089 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5091 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5092 * gdb.arch/i386-mpx.exp: Indentation fixed.
5094 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5096 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5097 function and improved indentation.
5098 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5099 gdb_test_multiple. Added additional tests to skip the test.
5101 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5103 * gdb.arch/i386-avx512.c: Change path in include file.
5104 * gdb.arch/i386-avx512.exp: Change include dir path
5106 * gdb.arch/i386-mpx.c: Change path in include file.
5107 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5110 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5112 * gdb.compile/compile-print.exp (compile print *vararray@3)
5113 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5115 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5117 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5118 (do not keep jit in memory): ... this.
5119 (expect 5): Change it to ...
5120 (expect no 5): ... this.
5122 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5125 * gdb.mi/mi-detach.exp: New file.
5127 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5130 * gdb.arch/amd64-tailcall-self.S: New file.
5131 * gdb.arch/amd64-tailcall-self.c: New file.
5132 * gdb.arch/amd64-tailcall-self.exp: New file.
5134 2015-05-28 Don Breazeal <donb@codesourcery.com>
5136 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5137 tests for remote targets by checking is_target_gdbserver.
5139 2015-05-27 Doug Evans <dje@google.com>
5141 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5142 * gdb.dwarf2/opaque-type-lookup.c: New file.
5143 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5145 2015-05-26 Doug Evans <dje@google.com>
5147 * gdb.cp/iostream.cc: New file.
5148 * gdb.cp/iostream.exp: New file.
5150 2015-05-26 Doug Evans <dje@google.com>
5152 * gdb.dwarf2/dw2-op-call.exp: Update.
5153 * gdb.dwarf2/dw4-sig-types.exp: Update.
5154 * gdb.dwarf2/implptr.exp: Update.
5155 * gdb.mi/mi-cmd-param-changed.exp: Update.
5157 2015-05-26 Doug Evans <dje@google.com>
5159 * gdb.python/py-lazy-string.c: New file.
5160 * gdb.python/py-lazy-string.exp: New file.
5161 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5162 (main): Update. Add estring3.
5163 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5164 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5166 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5167 Yao Qi <yao.qi@linaro.org>
5169 * gdb.reverse/aarch64.c: New.
5170 * gdb.reverse/aarch64.exp: New.
5172 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5174 * lib/gdb.exp (supports_process_record): Return true for
5176 (supports_reverse): Likewise.
5178 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5180 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5181 Use with_test_prefix.
5183 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5185 * gdb.base/completion.exp: Add test for completion of layout
5188 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5190 * lib/gdb.exp (skip_tui_tests): New proc.
5191 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5193 2015-05-19 Pedro Alves <palves@redhat.com>
5195 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5196 Save the whole env array instead of just HOME. Unset HISTSIZE in
5197 the environment while testing. Restore whole environment
5200 2015-05-16 Doug Evans <xdje42@gmail.com>
5202 * gdb.guile/scm-ports.c: New file.
5203 * gdb.guile/scm-ports.exp: Add memory port tests.
5205 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5207 * gdb.compile/compile-print.c: New file.
5208 * gdb.compile/compile-print.exp: New file.
5210 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5212 * gdb.compile/compile-ops.exp: Cast param to void.
5213 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5214 (compile code struct_object.selffield = &struct_object): Add xfail.
5216 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5218 * gdb.ada/arr_enum_with_gap: New testcase.
5220 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5222 * gdb.ada/byte_packed_arr: New testcase.
5224 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5226 * gdb.ada/pckd_neg: New testcase.
5228 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5231 * gdb.base/gdbinit-history.exp: New test.
5232 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5233 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5235 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5237 * gdb.python/py-xmethods.cc: Enhance test case.
5238 * gdb.python/py-xmethods.exp: New tests.
5239 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5241 (B_indexoper): Likewise.
5242 (global_dm_list) : Add new xmethod worker functions.
5244 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5246 * gdb.base/coredump-filter.exp: Correctly unset
5247 "coredump_var_addr" array.
5249 2015-05-08 Pedro Alves <palves@redhat.com>
5251 * gdb.server/non-existing-program.exp: Unset spawn_id.
5253 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5256 * gdb.python/py-xmethods.exp: Add tests.
5258 2015-05-08 Yao Qi <yao.qi@linaro.org>
5261 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5262 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5263 function set_coredump_filter, and remove remote_exec call.
5264 Remove argument ipid. Callers update.
5265 (top level): Don't get inferior's PID.
5267 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5269 * gdb.base/watch_thread_num.exp: Skip test on targets without
5272 2015-05-06 Pedro Alves <palves@redhat.com>
5275 * gdb.server/non-existing-program.exp: New file.
5277 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5279 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5281 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5283 * gdb.ada/out_of_line_in_inlined: New testcase.
5285 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5287 * gdb.ada/var_rec_arr: New testcase.
5289 2015-04-30 Yao Qi <yao.qi@linaro.org>
5291 * gdb.base/break-idempotent.exp: If
5292 skip_hw_watchpoint_multi_tests returns true, skip the tests
5293 on "rwatch" and "awatch".
5295 2015-04-30 Yao Qi <yao.qi@linaro.org>
5297 * gdb.base/relativedebug.exp: Invoke gdb command
5298 "info sharedlibrary", and if libc.so doesn't have debug info,
5301 2015-04-29 Doug Evans <dje@google.com>
5303 * gdb.python/py-xmethods.exp: Add ptype tests.
5304 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5305 get_result_type method.
5307 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5309 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5310 the target does not support hardware watchpoints.
5312 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5314 * gdb.base/break-always.exp: Abort testing if writing to memory
5317 2015-04-28 Doug Evans <dje@google.com>
5319 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5320 * gdb.python/py-pp-registration.exp: ... here. New file.
5321 * gdb.python/py-pp-registration.c: New file.
5322 * gdb.python/py-pp-registration.py: New file.
5324 2015-04-28 Doug Evans <dje@google.com>
5326 * gdb.python/py-bad-printers.c: New file.
5327 * gdb.python/py-bad-printers.py: New file.
5328 * gdb.python/py-bad-printers.exp: New file.
5330 2015-04-28 Sasha Smundak <asmundak@google.com>
5332 * gdb.python/py-type.exp: New test.
5334 2015-04-28 Andy Wingo <wingo@igalia.com>
5336 * gdb.python/py-parameter.exp:
5337 * gdb.guile/scm-parameter.exp: Escape the path that we are
5338 matching against, as it might contain characters that are special
5339 to regular expressions.
5341 2015-04-27 Joel Brobecker <brobecker@adacore.com>
5343 * gdb.ada/rec_comp: New testcase.
5345 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5347 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5350 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5352 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5353 new tests for verilog output.
5355 2015-04-24 Yao Qi <yao.qi@linaro.org>
5357 * boards/remote-gdbserver-on-localhost.exp: New file.
5359 2015-04-23 Pedro Alves <palves@redhat.com>
5361 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5362 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5363 "end of file", remove $inferior_spawn_id from the indirect list.
5365 2015-04-23 Pedro Alves <palves@redhat.com>
5367 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5369 2015-04-23 Pedro Alves <palves@redhat.com>
5371 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5372 on $any_spawn_id instead of only on $gdb_spawn_id.
5374 2015-04-21 Pierre Muller <muller@sourceware.org>
5377 * lib/pascal.exp (gpc_compile): Add new option "class".
5378 (fpc_compile): Likewise.
5379 * gdb.pascal/case-insensitive-symbols.pas: New file.
5380 * gdb.pascal/case-insensitive-symbols.exp: New file.
5382 2015-04-20 Gary Benson <gbenson@redhat.com>
5384 * gdb.base/attach.exp: Fix three extended remote failures.
5386 2015-04-17 Gary Benson <gbenson@redhat.com>
5388 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5389 the main executable over the remote protocol.
5391 2015-04-16 Pedro Alves <palves@redhat.com>
5393 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5394 a new gdbserver if gdbserver_reconnect_p is set.
5396 2015-04-16 Pedro Alves <palves@redhat.com>
5398 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5399 is set, don't exit gdbserver.
5401 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5403 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5404 appropriate .insn, such that an older assembler can be used.
5405 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5406 the z/Architecture instruction set on 31-bit targets as well.
5408 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5410 * gdb.go/handcall.exp: Remove all logic related to the first
5411 breakpoint and rely on go_runto_main instead.
5412 * gdb.go/strings.exp: Likewise.
5413 * gdb.go/unsafe.exp: Likewise.
5414 * gdb.go/hello.exp: Likewise. Also rename the remaining
5415 breakpoint marker to "breakpoint 1".
5416 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5417 * gdb.go/strings.go: Likewise.
5418 * gdb.go/unsafe.go: Likewise.
5419 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5420 "set breakpoint 2 here" and rename the remaining breakpoint marker
5423 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5425 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5426 if itertools.imap is not present.
5427 * gdb.python/py-objfile.exp: Add parentheses.
5428 * gdb.python/py-type.exp: Same.
5429 * gdb.python/py-unwind-maint.py: Same.
5431 2015-04-15 Yao Qi <yao.qi@linaro.org>
5433 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5434 of ":$ptr_size" and set its form explicitly.
5436 2015-04-15 Pedro Alves <palves@redhat.com>
5437 Yao Qi <yao.qi@linaro.org>
5439 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5440 timeout by factor of 4.
5441 (test_regular_watch): Likewise.
5442 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5443 * gdb.reverse/sigall-reverse.exp: Likewise.
5444 * gdb.reverse/until-precsave.exp: Likewise.
5445 * lib/gdb.exp (with_timeout_factor): New proc.
5446 (gdb_expect): Move some code to ...
5447 (get_largest_timeout): ... here. New procedure.
5449 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
5451 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5453 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5455 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5456 to write to the .text section.
5458 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5460 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5461 Handle the case of targets that do not provide PID information.
5463 2015-04-13 Yao Qi <yao.qi@linaro.org>
5465 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5466 and use expect instead of gdb_expect.
5468 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5470 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5471 "coredump_var_addr" to avoid naming conflict with other testcases.
5473 2015-04-10 Pedro Alves <palves@redhat.com>
5475 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5476 gdb_test_sequence and gdb_assert.
5478 2015-04-10 Pedro Alves <palves@redhat.com>
5480 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5481 test messages that don't include the breakpoint address.
5483 2015-04-10 Yao Qi <yao.qi@linaro.org>
5485 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5486 false for some offset and width combinations which aren't
5487 supported by linux kernel.
5489 2015-04-10 Pedro Alves <palves@redhat.com>
5491 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5492 procedure, factored out from ...
5493 (top level): ... here. Add "set displaced-stepping" testing axis.
5494 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5495 parameter "displaced". Use it.
5496 (top level): Use foreach and add "set displaced-stepping" testing
5499 2015-04-10 Pedro Alves <palves@redhat.com>
5501 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5503 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5504 both the address of the instruction that triggers the watchpoint
5505 and the address of the instruction immediately after, and use
5506 those addresses for the test. Fix comment.
5508 2015-04-10 Pedro Alves <palves@redhat.com>
5510 * gdb.base/sigstep.exp (breakpoint_to_handler)
5511 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5512 Test "backtrace" in handler.
5513 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5514 (top level): Add new "displaced" test axis to
5515 breakpoint_to_handler, breakpoint_to_handler_entry and
5516 breakpoint_over_handler.
5518 2015-04-10 Pedro Alves <palves@redhat.com>
5521 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5523 2015-04-10 Yao Qi <yao.qi@linaro.org>
5525 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5526 (test_add_rn_pc): New function.
5527 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5528 (top level): Invoke test_add_rn_pc.
5530 2015-04-10 Pedro Alves <palves@redhat.com>
5533 * gdb.base/step-over-no-symbols.exp: New file.
5535 2015-04-09 Andy Wingo <wingo@igalia.com>
5537 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5538 after the Python tests.
5540 2015-04-08 Keith Seitz <keiths@redhat.com>
5543 * gdb.python/py-completion.exp: New tests for completion.
5544 * gdb.python/py-completion.py (CompleteLimit1): New class.
5545 (CompleteLimit2): Likewise.
5546 (CompleteLimit3): Likewise.
5547 (CompleteLimit4): Likewise.
5548 (CompleteLimit5): Likewise.
5549 (CompleteLimit6): Likewise.
5550 (CompleteLimit7): Likewise.
5552 2015-04-08 Pedro Alves <palves@redhat.com>
5556 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5558 (main): Install it as SIGUSR1 handler.
5559 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5560 parameter. Always use "setup" as prefix. Toggle "set
5561 displaced-stepping" off/on depending on global. Don't switch to
5563 (top level): Add displaced stepping "off/on" test axis. Update
5564 "setup" calls. Wrap each subtest with with_test_prefix. Test
5565 continuing with a queued signal in each thread.
5567 2015-04-08 Pedro Alves <palves@redhat.com>
5569 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5570 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5571 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5572 Return early if running to main fails.
5573 * gdb.trace/while-stepping.exp: Likewise.
5575 2015-04-07 Pedro Alves <palves@redhat.com>
5577 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5578 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5579 interact with inferior program.
5581 2015-04-07 Pedro Alves <palves@redhat.com>
5583 * lib/gdb.exp (inferior_spawn_id): New global.
5584 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5585 spawn id after processing the user code.
5586 (default_gdb_start): Set inferior_spawn_id.
5587 (send_inferior): New procedure.
5588 * lib/gdbserver-support.exp (gdbserver_start): Set
5590 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5592 2015-04-07 Pedro Alves <palves@redhat.com>
5594 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5595 * lib/gdbserver-support.exp (gdbserver_start): Make
5596 $server_spawn_id global.
5597 (gdbserver_start): Don't wait for gdbserver's spawn id with
5599 (close_gdbserver): New procedure.
5600 (gdb_exit): Rename the default version and reimplement.
5602 2015-04-07 Pedro Alves <palves@redhat.com>
5604 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
5605 append the substituted item, not the original item.
5607 2015-04-07 Pedro Alves <palves@redhat.com>
5609 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5612 2015-04-07 Pedro Alves <palves@redhat.com>
5614 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5615 output appearing once only.
5617 2015-04-07 Pedro Alves <palves@redhat.com>
5619 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5620 that doesn't expect anything. Return early if running to main
5623 2015-04-07 Yao Qi <yao.qi@linaro.org>
5625 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5626 (child_function): Call alarm.
5627 (main): Move call to alarm into the loop.
5628 * gdb.threads/non-stop-fair-events.exp: Build program with
5631 2015-04-06 Doug Evans <xdje42@gmail.com>
5633 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5634 Fix dest parameter to board_info.
5635 (fpc_compile): Ditto.
5636 (gdb_compile_pascal): Rename dest arg to destfile.
5638 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5640 * gdb.ada/funcall_ref.exp: New file.
5641 * gdb.ada/funcall_ref/foo.adb: New file.
5643 2015-04-02 Yao Qi <yao.qi@linaro.org>
5645 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5648 2015-04-02 Gary Benson <gbenson@redhat.com>
5650 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5652 2015-04-01 Sasha Smundak <asmundak@google.com>
5654 * gdb.python/py-unwind-maint.c: New file.
5655 * gdb.python/py-unwind-maint.exp: New test.
5656 * gdb.python/py-unwind-maint.py: New file.
5657 * gdb.python/py-unwind.c: New file.
5658 * gdb.python/py-unwind.exp: New test.
5659 * gdb.python/py-unwind.py: New test.
5661 2015-04-01 Pedro Alves <palves@redhat.com>
5663 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5664 to fail instead of non-existent $test.
5666 2015-04-01 Pedro Alves <palves@redhat.com>
5668 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5669 GDBFLAGS if not empty.
5671 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5673 * gdb.ada/complete.exp: Remove "multi_line".
5674 * gdb.ada/info_exc.exp: Remove "multi_line".
5675 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5676 * gdb.ada/ptype_field.exp: Remove "multi_line".
5677 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5678 * gdb.ada/tagged.exp: Remove "multi_line".
5679 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5681 * gdb.btrace/delta.exp: Likewise.
5682 * gdb.btrace/exception.exp: Likewise.
5683 * gdb.btrace/function_call_history.exp: Likewise.
5684 * gdb.btrace/instruction_history.exp: Likewise.
5685 * gdb.btrace/nohist.exp: Likewise.
5686 * gdb.btrace/record_goto.exp: Likewise.
5687 * gdb.btrace/segv.exp: Likewise.
5688 * gdb.btrace/stepi.exp: Likewise.
5689 * gdb.btrace/tailcall.exp: Likewise.
5690 * gdb.btrace/unknown_functions.exp: Likewise.
5691 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5692 * lib/gdb.exp: Add the "multi_line" helper.
5694 2015-04-01 Pedro Alves <palves@redhat.com>
5696 * gdb.threads/tid-reuse.c: New file.
5697 * gdb.threads/tid-reuse.exp: New file.
5699 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5702 * gdb.base/coredump-filter.c: New file.
5703 * gdb.base/coredump-filter.exp: Likewise.
5705 2015-03-27 Petr Machata <pmachata@redhat.com>
5707 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5708 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5709 (Dwarf::assemble): Initialize them.
5710 (Dwarf::lines): New function.
5712 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5714 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5715 SYMBOL_PREFIX for x86_64-*-cygwin.
5717 2015-03-26 Andy Wingo <wingo@igalia.com>
5720 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5721 const_value but not a location.
5722 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5723 location defined in non-main CUs are visible.
5725 2015-03-26 Yao Qi <yao.qi@linaro.org>
5728 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5729 Add a line number entry for the same line.
5730 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5731 Add a line number entry for the same line.
5733 2015-03-26 Yao Qi <yao.qi@linaro.org>
5735 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5737 (func): Likewise. Add .Lfunc_1 label.
5739 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5744 2015-03-26 Yao Qi <yao.qi@linaro.org>
5746 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5747 Call gdb_compile instead to compile each .s files without debug
5750 2015-03-26 Yao Qi <yao.qi@linaro.org>
5752 * gdb.base/savedregs.exp (process_saved_regs): Make
5753 "Saved registers:" optional in the pattern.
5755 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5757 * gdb.btrace/next.exp: Merged into step.exp.
5758 * gdb.btrace/finish.exp: Merged into step.exp.
5759 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5760 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5761 "record goto" and checking the exact replay position.
5762 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5763 check for "Recording format" in "info record" output.
5764 * gdb.btrace/record_goto.exp: Choose test file based on target.
5765 * gdb.btrace/x86-record_goto.S: Renamed into ...
5766 * gdb.btrace/x86_64-record_goto.S: ... this.
5767 * gdb.btrace/i686-record_goto.S: New.
5768 * gdb.btrace/x86-tailcall.S: Renamed into ...
5769 * gdb.btrace/x86_64-tailcall.S: ... this.
5770 * gdb.btrace/i686-tailcall.S: New.
5771 * gdb.btrace/x86-tailcall.c: Renamed into ...
5772 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5773 separate statements. Update test.
5774 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5775 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5776 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5777 * gdb.btrace/tailcall.exp: Choose test file based on target.
5778 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5780 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5782 * gdb.btrace/exception.exp: Increase BTS buffer size.
5784 2015-03-24 Pedro Alves <palves@redhat.com>
5786 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5788 2015-03-24 Pedro Alves <palves@redhat.com>
5790 * gdb.threads/schedlock.exp (test_step): No longer expect that
5791 "set scheduler-locking step" with "next" over a function call runs
5794 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5796 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5798 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5800 PR breakpoints/16466
5801 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5802 * gdb.mi/mi-pending.c (thread_func): New function.
5803 (int main): Add threading support required.
5804 * gdb.mi/mi-pending.exp: Add tests for this issue.
5805 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5806 (pendfunc2): Remove stdio dependency.
5807 * gdb.mi/mi-pendshr2.c: New file.
5809 2015-03-23 Keith Seitz <keiths@redhat.com>
5811 * gdb.linespec/keywords.c: New file.
5812 * gdb.linespec/keywords.exp: New file.
5814 2015-03-23 Keith Seitz <keiths@redhat.com>
5817 * gdb.dwarf2/staticvirtual.exp: New test.
5819 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5821 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5822 * README: Remove HP-UX and gdb.hp.
5824 * configure: Regenerate.
5825 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5826 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5827 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5828 gdb.hp/gdb.defects/Makefile.
5829 * gdb.hp/Makefile.in: File deleted.
5830 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5831 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5832 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5833 * gdb.hp/gdb.aCC/run.c: File deleted.
5834 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5835 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5836 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5837 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5838 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5839 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5840 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5841 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5842 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5843 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5844 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5845 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5846 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5847 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5848 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5849 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5850 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5851 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5852 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5853 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5854 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5855 * gdb.hp/gdb.compat/average.c: File deleted.
5856 * gdb.hp/gdb.compat/sum.c: File deleted.
5857 * gdb.hp/gdb.compat/xdb.c: File deleted.
5858 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5859 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5860 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5861 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5862 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5863 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5864 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5865 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5866 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5867 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5868 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5869 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5870 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5871 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5872 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5873 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5874 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5875 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5876 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5877 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5878 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5879 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5880 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5881 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5882 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5883 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5884 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5885 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5886 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5887 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5888 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5889 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5890 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5891 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5892 * gdb.hp/tools/odump: File deleted.
5894 2015-03-19 Pedro Alves <palves@redhat.com>
5896 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5897 (saw_thread_3): New globals.
5898 (top level): Increment them when an event for the corresponding
5900 (no thread starvation): New test.
5902 2015-03-19 Pedro Alves <palves@redhat.com>
5904 * gdb.threads/continue-pending-status.c: New file.
5905 * gdb.threads/continue-pending-status.exp: New file.
5907 2015-03-18 Pedro Alves <palves@redhat.com>
5909 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5910 Use gdb_is_target_remote instead of is_remote. Use
5911 gdb_test_multiple instead of gdb_expect. Exit early if
5912 gdb_test_multiple hits its internal matches. Tighten stepi tests
5913 expected output. Fail on exit with any signal, instead of just
5916 2015-03-18 Yao Qi <yao.qi@linaro.org>
5919 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5921 * gdb.base/catch-syscall.exp: Don't skip it on
5922 aarch64*-*-linux* target. Remove elements in all_syscalls.
5923 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5925 (setup_all_syscalls): New proc.
5927 2015-03-16 Yao Qi <yao.qi@linaro.org>
5929 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5930 (top level): Skip tests if valid_addr_p returns false for
5933 2015-03-11 Andy Wingo <wingo@igalia.com>
5935 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5937 2015-03-11 Yao Qi <yao.qi@linaro.org>
5939 * gdb.base/catch-syscall.exp: Fix typo in comments.
5941 2015-03-11 Yao Qi <yao.qi@linaro.org>
5943 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5945 2015-03-09 Pedro Alves <palves@redhat.com>
5947 * dg-extract-results.py: Delete.
5949 2015-03-09 Pedro Alves <palves@redhat.com>
5951 Merge dg-extract-results.sh from GCC upstream (r218843).
5953 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5954 * dg-extract-results.sh: Use --text with grep to avoid issues with
5955 binary files. Fall back to cat -v, if that doesn't work.
5957 2015-03-05 Pedro Alves <palves@redhat.com>
5959 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5961 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5963 * lib/mi-support.exp (mi_expect_interrupt): Accept
5964 alternative event for when in all-stop mode.
5966 2015-03-04 Pedro Alves <palves@redhat.com>
5968 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5970 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5972 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5974 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5976 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5977 regexps for GDB's current line display, accept a hex address
5978 preceding the line number.
5980 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5982 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5983 the 'arch1' variable for "s390*-linux*" targets.
5985 2015-03-04 Pedro Alves <palves@redhat.com>
5987 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5988 (main): Pass missing retval argument to pthread_join call.
5990 2015-03-02 Pedro Alves <palves@redhat.com>
5992 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5993 (top level): Call do_test with non-stop as well.
5995 2015-03-02 Pedro Alves <palves@redhat.com>
5997 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6000 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6002 * gdb.arch/s390-vregs.exp: New test.
6003 * gdb.arch/s390-vregs.S: New file.
6005 2015-02-27 Pedro Alves <palves@redhat.com>
6007 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6008 call to catch_command_errors.
6009 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6010 catch_command_errors.
6012 2015-02-27 Pedro Alves <palves@redhat.com>
6014 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6015 "true" for boolean result.
6016 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6019 2015-02-27 Pedro Alves <palves@redhat.com>
6021 * lib/unbuffer_output.c: New file.
6022 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6023 (main): Call gdb_unbuffer_output.
6025 2015-02-27 Yao Qi <yao.qi@linaro.org>
6027 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6030 2015-02-26 Doug Evans <dje@google.com>
6032 * gdb.cp/class2.cc (Dbase, D): New classes.
6033 (main): New local delta.
6034 * gdb.cp/class2.exp: Test printing delta.
6035 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6036 (dynbar): New global.
6037 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6039 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6041 * gdb.compile/compile-ifunc.c: New file.
6042 * gdb.compile/compile-ifunc.exp: New file.
6044 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6046 * gdb.base/structs.exp: Check for correct struct on finish.
6048 2015-02-26 Yao Qi <yao.qi@linaro.org>
6050 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6053 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6055 * gdb.arch/cordic.ko.bz2: New file.
6056 * gdb.arch/cordic.ko.debug.bz2: New file.
6057 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6059 2015-02-25 Yao Qi <yao.qi@linaro.org>
6061 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6062 aarch64*-*-* target.
6064 2015-02-23 Pedro Alves <palves@redhat.com>
6066 * lib/gdb.exp (delete_breakpoints): Rewrite using
6069 2015-02-23 Pedro Alves <palves@redhat.com>
6071 * gdb.base/info-os.c: Include stdlib.h.
6073 2015-02-22 Doug Evans <xdje42@gmail.com>
6076 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6077 is read after symbols have been re-read.
6078 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6079 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6081 2015-02-21 Doug Evans <dje@google.com>
6083 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6085 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6088 * gdb.arch/i386-biarch-core.core.bz2: New file.
6089 * gdb.arch/i386-biarch-core.exp: New file.
6091 2015-02-21 Pedro Alves <palves@redhat.com>
6093 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6096 2015-02-20 Pedro Alves <palves@redhat.com>
6098 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6101 2015-02-20 Pedro Alves <palves@redhat.com>
6103 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6105 2015-02-20 Pedro Alves <palves@redhat.com>
6107 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6108 clean_restart before gdb_target_supports_trace.
6110 2015-02-20 Pedro Alves <palves@redhat.com>
6113 * gdb.threads/clone-thread_db.c: New file.
6114 * gdb.threads/clone-thread_db.exp: New file.
6116 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6118 PR breakpoints/16812
6119 * gdb.base/catch-gdb-caused-signals.c: New file.
6120 * gdb.base/catch-gdb-caused-signals.exp: New file.
6122 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6124 * configure: Regenerated.
6125 * configure.ac: Use GDB_AC_TRANSFORM.
6126 * aclocal.m4: sinclude ../transform.m4.
6128 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6130 * lib/dtrace.exp: New file.
6131 * gdb.base/dtrace-probe.exp: Likewise.
6132 * gdb.base/dtrace-probe.d: Likewise.
6133 * gdb.base/dtrace-probe.c: Likewise.
6134 * lib/pdtrace.in: Likewise.
6135 * configure.ac: Output variables with the transformed names of
6136 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6137 * configure: Regenerated.
6139 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6141 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6142 expected message when trying to access $_probe_* convenience
6143 variables while not on a probe.
6145 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6147 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6149 2015-02-11 Pedro Alves <pedro@codesourcery.com>
6151 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6152 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6154 2015-02-10 Doug Evans <xdje42@gmail.com>
6156 * lib/gdb.exp (gdb_load): Always return a result.
6158 2015-02-10 Pedro Alves <palves@redhat.com>
6160 * gdb.threads/signal-sigtrap.c: New file.
6161 * gdb.threads/signal-sigtrap.exp: New file.
6163 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6165 * gdb.trace/no-attach-trace.c: New file.
6166 * gdb.trace/no-attach-trace.exp: New file.
6168 2015-02-09 Mark Wielaard <mjw@redhat.com>
6170 * gdb.dwarf2/atomic.c: New file.
6171 * gdb.dwarf2/atomic-type.exp: Likewise.
6173 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6175 * gdb.btrace/buffer-size.exp: Update "info record" output.
6176 * gdb.btrace/delta.exp: Update "info record" output.
6177 * gdb.btrace/enable.exp: Update "info record" output.
6178 * gdb.btrace/finish.exp: Update "info record" output.
6179 * gdb.btrace/instruction_history.exp: Update "info record" output.
6180 * gdb.btrace/next.exp: Update "info record" output.
6181 * gdb.btrace/nexti.exp: Update "info record" output.
6182 * gdb.btrace/step.exp: Update "info record" output.
6183 * gdb.btrace/stepi.exp: Update "info record" output.
6184 * gdb.btrace/nohist.exp: Update "info record" output.
6186 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6188 * gdb.btrace/buffer-size: New.
6190 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6192 * gdb.btrace/delta.exp: Update "info record" output.
6193 * gdb.btrace/enable.exp: Update "info record" output.
6194 * gdb.btrace/finish.exp: Update "info record" output.
6195 * gdb.btrace/instruction_history.exp: Update "info record" output.
6196 * gdb.btrace/next.exp: Update "info record" output.
6197 * gdb.btrace/nexti.exp: Update "info record" output.
6198 * gdb.btrace/step.exp: Update "info record" output.
6199 * gdb.btrace/stepi.exp: Update "info record" output.
6200 * gdb.btrace/nohist.exp: Update "info record" output.
6202 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6205 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6207 2015-02-06 Pedro Alves <palves@redhat.com>
6209 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6211 (seconds_left, again): New globals.
6212 (main): Wait seconds_left in a 1-second sleep loop instead of
6213 sleeping 180 seconds. If 'again' is set, reset the seconds
6215 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6216 'again' in the inferior before detaching. Print the seconds left.
6217 (options): New global.
6218 (top level): Build program with -DTIMEOUT=$timeout.
6220 2015-02-06 Pedro Alves <palves@redhat.com>
6222 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6223 determine how many seconds to pass to 'alarm'.
6224 * gdb.base/gdb-sigterm.exp (top level): Build program with
6226 (do_test): Return success/failure indication. Add more verbose
6227 logging. Don't fail if 200 single steps are seen. Instead, fail
6228 when the test times out.
6229 (passes): New global.
6230 (top level): Break the testing loop if testing fails on any
6231 iteration. Use gdb_assert.
6233 2015-02-04 Don Breazeal <donb@codesourcery.com>
6235 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6236 and initialize them.
6237 (ipc_cleanup): New function.
6238 (main): Don't declare shmid, semid, and msqid. Add a call to
6239 atexit so that we call ipc_cleanup on exit.
6241 2015-02-04 Pedro Alves <palves@redhat.com>
6243 * boards/native-extended-gdbserver.exp: Remove any target variant
6244 specifications from the board name before clearing the isremote
6245 flag from board_info.
6247 2015-01-31 Doug Evans <xdje42@gmail.com>
6249 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6251 2015-01-31 Gary Benson <gbenson@redhat.com>
6253 * gdb.base/completion.exp: Disable completion limiting for
6254 existing tests. Add new tests to check completion limiting.
6255 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6257 2015-01-31 Doug Evans <xdje42@gmail.com>
6259 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6261 2015-01-31 Doug Evans <xdje42@gmail.com>
6263 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6264 entries. Duplicate file section script entries.
6265 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6266 inlined entries. Add test for safe-path rejection.
6267 * gdb.python/py-section-script.c: Add duplicate inlined section script
6268 entries. Duplicate file section script entries.
6269 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6270 inlined entries. Add test for safe-path rejection.
6272 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6274 * gdb.ada/disc_arr_bound: New testcase.
6276 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6278 * gdb.ada/mi_var_array: New testcase.
6280 2015-01-27 Doug Evans <dje@google.com>
6282 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6283 Add test for objfile.filename, objfile.username after objfile
6286 2015-01-26 Joel Brobecker <brobecker@adacore.com>
6288 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6289 the second test to print the name attribute of value
6290 returned by the call to gdb.lookup_type, and adjust
6291 the expected output accordingly.
6293 2015-01-25 Mark Wielaard <mjw@redhat.com>
6295 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6296 * gdb.base/disp-step-fork.c: Include unistd.h.
6297 * gdb.base/siginfo-obj.c: Include stdio.h.
6298 * gdb.base/siginfo-thread.c: Likewise.
6299 * gdb.mi/non-stop.c: Include unistd.h.
6300 * gdb.mi/nsthrexec.c: Include stdio.h.
6301 * gdb.mi/pthreads.c: Include unistd.h.
6302 * gdb.modula2/unbounded1.c (main): Declare returns int.
6303 * gdb.reverse/consecutive-reverse.c: Likewise.
6304 * gdb.threads/create-fail.c: Include unistd.h.
6305 * gdb.threads/killed.c: Likewise.
6306 * gdb.threads/linux-dp.c: Likewise.
6307 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6308 * gdb.threads/non-ldr-exc-2.c: Likewise.
6309 * gdb.threads/non-ldr-exc-3.c: Likewise.
6310 * gdb.threads/non-ldr-exc-4.c: Likewise.
6311 * gdb.threads/pthreads.c: Include unistd.h.
6312 (main): Declare returns int.
6313 * gdb.threads/tls-main.c (foo): New declaration.
6314 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6316 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6318 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6319 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6321 2015-01-15 Mark Wielaard <mjw@redhat.com>
6323 * gdb.base/noreturn-return.c: New file.
6324 * gdb.base/noreturn-return.exp: New file.
6325 * gdb.base/noreturn-finish.c: New file.
6326 * gdb.base/noreturn-finish.exp: New file.
6328 2015-01-23 Pedro Alves <palves@redhat.com>
6330 * gdb.threads/continue-pending-after-query.c: New file.
6331 * gdb.threads/continue-pending-after-query.exp: New file.
6333 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6334 Simon Marchi <simon.marchi@ericsson.com>
6336 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6337 * gdb.base/valgrind-db-attach.exp: Same.
6338 * gdb.base/valgrind-infcall.exp: Same.
6339 * lib/mi-support.exp (default_mi_gdb_start): Same.
6340 * lib/prompt.exp (default_prompt_gdb_start): Same.
6341 * lib/gdb.exp (default_gdb_spawn): Same.
6342 (gdb_interact): New.
6345 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6347 * gdb.compile/compile.exp (pointer to jit function): New test.
6349 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
6351 * lib/gdb.exp (supports_process_record): Return true for
6353 (supports_reverse): Likewise.
6355 2015-01-15 Don Breazeal <donb@codesourcery.com>
6357 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6358 instead of checking whether the target board is remote and
6359 use spawn_wait_for_attach instead of exec/sleep.
6360 * gdb.base/attach-twice.exp: Likewise.
6362 2015-01-15 Joel Brobecker <brobecker@adacore.com>
6364 * gdb.ada/var_arr_attrs: New testcase.
6366 2015-01-14 Pedro Alves <palves@redhat.com>
6367 Joel Brobecker <brobecker@adacore.com>
6370 * gdb.base/bp-cmds-execution-x-script.c: New file.
6371 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6372 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6374 2015-01-14 Pedro Alves <palves@redhat.com>
6377 * gdb.base/batch-preserve-term-settings.c: New file.
6378 * gdb.base/batch-preserve-term-settings.exp: New file.
6380 2015-01-13 Doug Evans <dje@google.com>
6382 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6385 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6387 * Makefile.in (clean mostlyclean): Do not delete *.py.
6389 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6391 * gdb.python/py-lookup-type.exp: New file.
6393 2015-01-12 Pedro Alves <palves@redhat.com>
6395 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6396 restore GDBFLAGS before returning.
6398 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6400 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6401 is_amd64_regs_target and is_x86_like_target.
6403 2015-01-11 Doug Evans <xdje42@gmail.com>
6405 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6406 is given without an explicit form.
6407 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6409 * gdb.dwarf/corrupt.exp: Ditto.
6410 * gdb.dwarf2/enum-type.exp: Ditto.
6411 * gdb.trace/entry-values.exp: Ditto.
6412 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6414 2015-01-11 Doug Evans <xdje42@gmail.com>
6417 * gdb.base/maint.exp: Remove references to "maint demangle".
6418 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6419 Add tests for explicitly specifying language to demangle.
6420 * gdb.dlang/demangle.exp: Ditto.
6422 2015-01-09 Pedro Alves <palves@redhat.com>
6424 * gdb.threads/non-stop-fair-events.c: New file.
6425 * gdb.threads/non-stop-fair-events.exp: New file.
6427 2015-01-09 Pedro Alves <palves@redhat.com>
6429 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6430 the global scope. Set a breakpoint after all threads are started
6431 rather than stepping over two source lines. Expect the prompt.
6432 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6435 (main): Use threads_started_barrier to wait for all threads to
6436 start. Main thread no longer calls thread_function. Exit after
6438 (loop): New function.
6439 (thread_function): Wait on threads_started_barrier barrier. Call
6440 'loop' at each iteration.
6441 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6442 threads have started, instead of hardcoding number of "next"
6443 steps. Use an access watchpoint instead of a write watchpoint.
6445 2015-01-09 Pedro Alves <palves@redhat.com>
6447 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6448 (thread_func): Wait on barrier.
6449 (main): Wait for all threads to start before stopping GDB.
6450 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6452 (thread1_func, thread2_func): Wait on barrier.
6453 (main): Wait for all threads to start before stopping GDB.
6454 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6456 (thread1_func, thread2_func): Wait on barrier.
6457 (main): Wait for all threads to start before stopping GDB.
6459 2015-01-09 Pedro Alves <palves@redhat.com>
6461 * gdb.threads/attach-many-short-lived-threads.c: New file.
6462 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6464 2014-01-09 Pedro Alves <palves@redhat.com>
6466 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6467 instead of to thread 2.
6468 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6469 Add barrier around each pthread_create call instead of around all
6471 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6472 Set a break on thread_function and have the child threads hit it
6475 2015-01-09 Pedro Alves <palves@redhat.com>
6477 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6478 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6480 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6481 checking whether the target board is remote.
6482 * gdb.multi/multi-attach.exp: Likewise.
6483 * gdb.python/py-sync-interp.exp: Likewise.
6484 * gdb.server/ext-attach.exp: Likewise.
6485 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6486 tests that need to attach, instead of checking whether the target
6487 board is remote at the top of the file.
6489 2015-01-08 Yao Qi <yao@codesourcery.com>
6491 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6493 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6495 Fix testcase compilation.
6496 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6498 2015-01-06 Joel Brobecker <brobecker@adacore.com>
6500 * gdb.python/py-type.exp: Add a couple test about empty
6501 array creation, and negative-length array creation.
6503 2015-01-02 Doug Evans <xdje42@gmail.com>
6505 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6507 2015-01-02 Doug Evans <dje@google.com>
6509 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6511 2014-12-29 Yao Qi <yao@codesourcery.com>
6513 * gdb.trace/entry-values.exp: Update comments. Rename variable
6514 bar_call_foo to returned_from_foo.
6516 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6519 * gdb.linespec/break-asm-file.c: New file.
6520 * gdb.linespec/break-asm-file.exp: New file.
6521 * gdb.linespec/break-asm-file0.s: New file.
6522 * gdb.linespec/break-asm-file1.s: New file.
6524 2014-12-18 Nigel Stephens <nigel@mips.com>
6525 Maciej W. Rozycki <macro@codesourcery.com>
6527 * gdb.base/float.exp: Handle the new output from "info float" on
6530 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6532 Fix MinGW compilation.
6533 * gdb.compile/compile-ops.exp: Update untested message if
6534 !skip_compile_feature_tests.
6535 * gdb.compile/compile-setjmp.exp: Likewise.
6536 * gdb.compile/compile-tls.exp: Likewise.
6537 * gdb.compile/compile.exp: Likewise.
6538 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6539 supported on this host".
6541 2014-12-16 Doug Evans <xdje42@gmail.com>
6543 * boards/stabs.exp: New file.
6545 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6547 * gdb.base/completion.exp: Adjust to format changes of "maint
6548 print user-registers".
6550 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
6553 * gdb.arch/aarch64-fp.c: New file.
6554 * gdb.arch/aarch64-fp.exp: New file.
6556 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6558 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6559 r210637, r210913, r211666, r215400, r215817).
6561 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6562 * dg-extract-results.py: New file.
6563 * dg-extract-results.sh: Use it if the environment seems
6566 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6568 * dg-extract-results.py (parse_run): Handle warnings that
6569 are printed before a test harness is run.
6571 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6573 * dg-extract-results.py (Named): Remove __cmp__ method.
6574 (output_variation): Use a key to sort variation.harnesses.
6576 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6578 * dg-extract-results.py: For Python 3, force sys.stdout to
6579 handle surrogate escape sequences.
6580 (safe_open): New function.
6581 (output_segment, main): Use it.
6583 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6585 * dg-extract-results.py (Prog.result_re): Include options
6588 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6590 * dg-extract-results.py (output_variation): Always sort if
6593 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6595 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6596 as long as we get pagination notifications.
6598 2014-12-15 Jason Merrill <jason@redhat.com>
6600 * Makefile.in (check-gdb.%): Restore.
6601 * README: Mention it.
6603 2014-12-13 Joel Brobecker <brobecker@adacore.com>
6605 * gdb.ada/str_uninit: New testcase.
6607 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6610 * gdb.base/vla-stub-define.c: New file.
6611 * gdb.base/vla-stub.c: New file.
6612 * gdb.base/vla-stub.exp: New file.
6614 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6615 Jan Kratochvil <jan.kratochvil@redhat.com>
6616 Tom Tromey <tromey@redhat.com>
6618 * configure.ac: Add gdb.compile/.
6619 * configure: Regenerate.
6620 * gdb.compile/Makefile.in: New file.
6621 * gdb.compile/compile-ops.exp: New file.
6622 * gdb.compile/compile-ops.c: New file.
6623 * gdb.compile/compile-tls.c: New file.
6624 * gdb.compile/compile-tls.exp: New file.
6625 * gdb.compile/compile-constvar.S: New file.
6626 * gdb.compile/compile-constvar.c: New file.
6627 * gdb.compile/compile-mod.c: New file.
6628 * gdb.compile/compile-nodebug.c: New file.
6629 * gdb.compile/compile-setjmp-mod.c: New file.
6630 * gdb.compile/compile-setjmp.c: New file.
6631 * gdb.compile/compile-setjmp.exp: New file.
6632 * gdb.compile/compile-shlib.c: New file.
6633 * gdb.compile/compile.c: New file.
6634 * gdb.compile/compile.exp: New file.
6635 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6637 2014-12-12 Tom Tromey <tromey@redhat.com>
6639 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6640 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6642 2014-12-12 Doug Evans <dje@google.com>
6644 * lib/gdb-python.exp (get_python_valueof): New function.
6645 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6647 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6649 * gdb.base/completion.exp: Add test for completion of "info
6652 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6654 * gdb.base/func-ptrs.c: New file.
6655 * gdb.base/func-ptrs.exp: New file.
6657 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6659 PR breakpoints/17012
6660 * gdb.base/dprintf-detach.c: New file.
6661 * gdb.base/dprintf-detach.exp: New file.
6663 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6665 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6666 * lib/gdb.exp (target_is_gdbserver): New procedure.
6668 2014-12-08 Doug Evans <dje@google.com>
6670 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6672 2014-12-05 Yao Qi <yao@codesourcery.com>
6674 * gdb.guile/scm-error.exp: Remove the third argument to
6675 gdb_remote_download.
6676 * gdb.guile/scm-frame-args.exp: Likewise.
6677 * gdb.guile/scm-section-script.exp: Likewise.
6679 2014-12-05 Yao Qi <yao@codesourcery.com>
6681 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6683 2014-12-04 Doug Evans <dje@google.com>
6685 * gdb.python/py-objfile.exp: Add tests for
6686 objfile.add_separate_debug_file.
6688 2014-12-04 Doug Evans <dje@google.com>
6690 * lib/gdb.exp (get_build_id): New function.
6691 (build_id_debug_filename_get): Rewrite to use it.
6692 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6694 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6696 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6697 `method(long)', not just 0x0.
6698 * gdb.cp/nsalias.exp: Align code labels to 4.
6699 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6700 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6701 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6702 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6703 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6704 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6706 2014-12-02 Doug Evans <dje@google.com>
6709 * gdb.cp/anon-ns.cc: Move guts of this file to ...
6710 * gdb.cp/anon-ns2.cc: ... here. New file.
6711 * gdb.cp/anon-ns.exp: Update.
6713 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
6715 * gdb.python/py-events.py (inferior_call_handler): New.
6716 (register_changed_handler, memory_changed_handler): New.
6717 (test_events.invoke): Register new handlers.
6718 * gdb.python/py-events.exp: Add tests for inferior call,
6719 memory_changed and register_changed events.
6721 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6723 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6724 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6725 if the linker doesn't understand this.
6727 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6729 * gdb.python/python.exp: Change expected reply to help().
6731 2014-12-01 Yao Qi <yao@codesourcery.com>
6733 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6734 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6735 * configure: Re-generated.
6737 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6739 * gdb.cp/chained-calls.cc: New file.
6740 * gdb.cp/chained-calls.exp: New file.
6741 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6743 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6745 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6746 * gdb.dwarf2/symtab-producer.exp: Same.
6747 * gdb.gdb/python-interrupts.exp: Same.
6748 * gdb.gdb/python-selftest.exp: Same.
6749 * gdb.python/py-linetable.exp: Same.
6750 * gdb.python/py-type.exp: Same.
6751 * gdb.python/py-value-cc.exp: Same.
6752 * gdb.python/py-value.exp: Same.
6754 2014-11-28 Yao Qi <yao@codesourcery.com>
6756 * gdb.base/break-probes.exp: Match library name prefixed with
6759 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6761 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6762 test expected output. Add parentheses for the call to print.
6763 Remove L suffix from integers.
6765 2014-11-26 Doug Evans <dje@google.com>
6767 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6769 2014-11-22 Yao Qi <yao@codesourcery.com>
6771 * gdb.trace/entry-values.c: Remove asms.
6772 (foo): Add foo_label.
6773 (bar): Add bar_label.
6774 * gdb.trace/entry-values.exp: Remove code computing foo's
6775 length and bar's length.
6776 (Dwarf::assemble): Invoke function_range for bar and use
6777 MACRO_AT_func for foo.
6779 2014-11-22 Yao Qi <yao@codesourcery.com>
6781 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6782 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6783 Use .Lgcc43_procstart instead of gcc43.
6785 2014-11-21 Joel Brobecker <brobecker@adacore.com>
6787 * gdb.ada/n_arr_bound: New testcase.
6789 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6791 PR breakpoints/10737
6792 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6793 test_catch_syscall_multi_arch.
6794 (test_catch_syscall_multi_arch): New function.
6796 2014-11-20 Doug Evans <xdje42@gmail.com>
6798 * gdb.base/maint.exp: Update expected output.
6800 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6802 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6803 4-byte instruction on S390.
6805 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6807 * gdb.ada/arr_arr: New testcase.
6809 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6811 * gdb.ada/pkd_arr_elem: New Testcase.
6813 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6815 * gdb.reverse/break-precsave: Expect completion message for
6817 * gdb.reverse/consecutive-precsave.exp: Likewise.
6818 * gdb.reverse/finish-precsave.exp: Likewise.
6819 * gdb.reverse/i386-precsave.exp: Likewise.
6820 * gdb.reverse/machinestate-precsave.exp: Likewise.
6821 * gdb.reverse/sigall-precsave.exp: Likewise.
6822 * gdb.reverse/solib-precsave.exp: Likewise.
6823 * gdb.reverse/step-precsave.exp: Likewise.
6824 * gdb.reverse/until-precsave.exp: Likewise.
6825 * gdb.reverse/watch-precsave.exp: Likewise.
6827 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6829 * gdb.base/bp-permanent.c: Include unistd.h.
6830 * gdb.python/py-framefilter-mi.c (main): Add return type.
6831 * gdb.python/py-framefilter.c (main): Likewise.
6832 * gdb.trace/actions-changed.c (main): Likewise.
6834 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6836 * gdb.mi/until.c: Add eye-catchers.
6837 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6840 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6842 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6843 function header variants in break1.c.
6844 * gdb.base/ena-dis-br.exp: Likewise.
6845 * gdb.base/hbreak2.exp: Likewise.
6846 * gdb.reverse/until-precsave.exp: Drop references to removed
6847 non-prototype function header variants in ur1.c.
6848 * gdb.reverse/until-reverse.exp: Likewise.
6850 2014-11-17 Petr Machata <pmachata@redhat.com>
6852 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6853 ${_cu_offset_size} bytes abbrev offset.
6855 2014-11-15 Doug Evans <xdje42@gmail.com>
6858 * gdb.base/line-symtabs.exp: New file.
6859 * gdb.base/line-symtabs.c: New file.
6860 * gdb.base/line-symtabs.h: New file.
6862 2014-11-14 Yao Qi <yao@codesourcery.com>
6864 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6865 (func): Add label func_label.
6866 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6867 Replace low_pc and high_pc with MACRO_AT_range.
6868 Replace name, low_pc and high_pc with MACRO_AT_func.
6870 2014-11-14 Yao Qi <yao@codesourcery.com>
6872 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6873 Replace name, low_pc and high_pc with MACRO_AT_func.
6875 2014-11-14 Yao Qi <yao@codesourcery.com>
6877 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6878 produce debug information.
6879 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6881 2014-11-14 Yao Qi <yao@codesourcery.com>
6883 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6884 object and get function length.
6885 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6887 (top-level): Replace gdb_compile and clean_restart with
6888 prepare_for_testing.
6889 * gdb.dwarf2/main.c (main): Add label main_label.
6891 2014-11-14 Yao Qi <yao@codesourcery.com>
6893 * lib/dwarf.exp (function_range): New procedure.
6894 (Dwarf::_handle_macro_at_func): New procedure.
6895 (Dwarf::_handle_macro_at_range): New procedure.
6896 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6898 2014-11-14 Yao Qi <yao@codesourcery.com>
6900 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6901 (_handle_attribute): New procedure.
6903 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6905 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6906 * gdb.base/call-sc.c (zed): Likewise.
6907 * gdb.base/checkpoint.c (main): Likewise.
6908 * gdb.base/dump.c (main): Likewise.
6909 * gdb.base/gcore.c (main): Likewise.
6910 * gdb.base/huge.c (main): Likewise.
6911 * gdb.base/multi-forks.c (main): Likewise.
6912 * gdb.base/pr10179-a.c (main): Likewise.
6913 * gdb.base/savedregs.c (main): Likewise.
6914 * gdb.base/sigaltstack.c (main): Likewise.
6915 * gdb.base/siginfo.c (main): Likewise.
6916 * gdb.base/structs.c (zed): Likewise.
6917 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6918 * gdb.mi/mi-syn-frame.c (main): Likewise.
6919 * gdb.mi/until.c (foo, main): Likewise.
6920 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6921 * gdb.base/solib-weak.c (foo): Declare.
6922 * gdb.base/attach-twice.c: Include stdio.h.
6923 * gdb.base/weaklib1.c: Likewise.
6924 * gdb.base/weaklib2.c: Likewise.
6925 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6926 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6928 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6929 * gdb.mi/mi-exit-code.c: Likewise.
6930 * gdb.base/break-interp-lib.c: Include string.h.
6931 * gdb.base/coremaker.c: Likewise.
6932 * gdb.base/testenv.c: Likewise.
6933 * gdb.python/py-finish-breakpoint.c: Likewise.
6934 * gdb.base/inferior-died.c: Include sys/wait.h.
6935 * gdb.base/fileio.c: Include time.h.
6936 * gdb.base/async-shell.c: Include unistd.h.
6937 * gdb.base/dprintf-non-stop.c: Likewise.
6938 * gdb.base/info-os.c: Likewise.
6939 * gdb.mi/mi-console.c: Likewise.
6940 * gdb.mi/watch-nonstop.c: Likewise.
6941 * gdb.python/py-events.c: Likewise.
6942 * gdb.base/async.c (baz): Move up before its invocation.
6943 * gdb.base/code_elim2.c (my_global_func): Likewise.
6944 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6945 * gdb.base/advance.c (func2): Likewise.
6947 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6949 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6951 * gdb.base/annota3.c: Likewise.
6952 * gdb.base/async.c: Likewise.
6953 * gdb.base/average.c: Likewise.
6954 * gdb.base/call-ar-st.c: Likewise.
6955 * gdb.base/call-rt-st.c: Likewise.
6956 * gdb.base/call-sc.c: Likewise.
6957 * gdb.base/call-strs.c: Likewise.
6958 * gdb.base/ending-run.c: Likewise.
6959 * gdb.base/execd-prog.c: Likewise.
6960 * gdb.base/exprs.c: Likewise.
6961 * gdb.base/foll-exec.c: Likewise.
6962 * gdb.base/foll-fork.c: Likewise.
6963 * gdb.base/foll-vfork.c: Likewise.
6964 * gdb.base/funcargs.c: Likewise.
6965 * gdb.base/gcore.c: Likewise.
6966 * gdb.base/jump.c: Likewise.
6967 * gdb.base/langs0.c: Likewise.
6968 * gdb.base/langs1.c: Likewise.
6969 * gdb.base/langs2.c: Likewise.
6970 * gdb.base/mips_pro.c: Likewise.
6971 * gdb.base/nodebug.c: Likewise.
6972 * gdb.base/opaque0.c: Likewise.
6973 * gdb.base/opaque1.c: Likewise.
6974 * gdb.base/recurse.c: Likewise.
6975 * gdb.base/run.c: Likewise.
6976 * gdb.base/scope0.c: Likewise.
6977 * gdb.base/scope1.c: Likewise.
6978 * gdb.base/setshow.c: Likewise.
6979 * gdb.base/setvar.c: Likewise.
6980 * gdb.base/shmain.c: Likewise.
6981 * gdb.base/shr1.c: Likewise.
6982 * gdb.base/shr2.c: Likewise.
6983 * gdb.base/sigall.c: Likewise.
6984 * gdb.base/signals.c: Likewise.
6985 * gdb.base/so-indr-cl.c: Likewise.
6986 * gdb.base/solib2.c: Likewise.
6987 * gdb.base/structs.c: Likewise.
6988 * gdb.base/sum.c: Likewise.
6989 * gdb.base/vforked-prog.c: Likewise.
6990 * gdb.base/watchpoint.c: Likewise.
6991 * gdb.reverse/shr2.c: Likewise.
6992 * gdb.reverse/until-reverse.c: Likewise.
6993 * gdb.reverse/ur1.c: Likewise.
6994 * gdb.reverse/watch-reverse.c: Likewise.
6996 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6998 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7000 * gdb.base/sepdebug.exp: Drop references to removed code.
7002 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7004 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7005 variant. Preserve original line numbering.
7006 * gdb.base/list1.c: Likewise.
7008 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7010 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7012 * gdb.base/break1.c: Likewise.
7013 * gdb.base/break.exp: Drop references to removed code.
7015 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7017 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7022 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7024 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7026 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7027 logic into perform_all_tests() and invoke it with and without
7028 function header prototypes.
7029 (do_function_calls): Remove conditional XFAIL for PR 5318.
7030 (rerun_and_prepare): Remove duplicate code.
7031 (perform_all_tests): New. Main logic moved here.
7033 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7035 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7036 code guarded by #ifdef NO_PROTOTYPES.
7037 (t_double_many_args): Likewise.
7038 (DEF_FUNC_MANY_ARGS_1): Likewise.
7039 (DEF_FUNC_VALUES_1): Likewise.
7040 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7041 guarded by #ifdef PROTOTYPES.
7043 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7045 * gdb.mi/mi-console.c: Add eye-catcher.
7046 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7047 instead of literal line number.
7049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7051 * gdb.base/shr2.c: Add eye-catcher.
7052 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7055 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7057 * gdb.base/jump.c: Add eye-catchers.
7058 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7061 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7063 * gdb.base/execd-prog.c: Add eye-catchers.
7064 * gdb.base/foll-exec.c: Likewise.
7065 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7068 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7070 * gdb.base/ending-run.c: Add eye-catchers.
7071 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7072 literal line numbers.
7074 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7076 * gdb.base/call-rt-st.c: Add eye-catchers.
7077 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7078 literal line numbers.
7080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7082 * gdb.base/call-ar-st.c: Add eye-catchers.
7083 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7084 literal line numbers.
7086 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7088 * gdb.base/average.c: Add eye-catchers.
7089 * gdb.base/sum.c: Likewise.
7090 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7091 regexps dynamically.
7093 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7095 * gdb.base/solib1.c: Add eye-catchers.
7096 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7097 literal line numbers.
7099 2014-11-12 Pedro Alves <palves@redhat.com>
7101 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7104 2014-11-12 Pedro Alves <palves@redhat.com>
7106 * gdb.arch/i386-bp_permanent.c: New file.
7107 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7108 (srcfile): Set to i386-bp_permanent.c.
7109 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7110 that stepi does not execute the 'leave' instruction, instead of
7111 testing it does execute.
7112 * gdb.base/bp-permanent.c: New file.
7113 * gdb.base/bp-permanent.exp: New file.
7115 2014-11-10 Doug Evans <xdje42@gmail.com>
7118 * gdb.base/symtab-search-order.exp: New file.
7119 * gdb.base/symtab-search-order.c: New file.
7120 * gdb.base/symtab-search-order-1.c: New file.
7121 * gdb.base/symtab-search-order-shlib-1.c: New file.
7123 2014-11-07 Pedro Alves <palves@redhat.com>
7126 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7129 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7132 * gdb.cp/pr17494.cc: New file.
7133 * gdb.cp/pr17494.exp: New file.
7135 2014-11-02 Yao Qi <yao@codesourcery.com>
7137 * gdb.python/python.exp: Get working directory and match the
7138 output of "set extended-prompt \\w " with it.
7140 2014-10-30 Doug Evans <dje@google.com>
7142 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7144 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7147 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
7149 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7150 * gdb.base/realname-expand.exp: Likewise.
7151 * gdb.linespec/macro-relative.exp: Likewise.
7153 2014-10-29 Pedro Alves <palves@redhat.com>
7156 * gdb.threads/schedlock.c (some_function): New function.
7157 (call_function): New global.
7158 (MAYBE_CALL_SOME_FUNCTION): New macro.
7159 (thread_function): Call it.
7160 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7161 and use it instead of a global counter. Adjust all callers.
7162 (get_current_thread): Use "find current thread" for test message
7163 here rather than having all callers pass down the same string.
7164 (goto_loop): New procedure, factored out from ...
7165 (my_continue): ... this.
7166 (step_ten_loops): Change parameter from test message to command to
7168 (list_count): Delete global.
7169 (check_result): New procedure, factored out from duplicate top
7171 (continue tests): Wrap in with_test_prefix.
7172 (test_step): New procedure, factored out from duplicate top level
7174 (top level): Test "step" in combination with all scheduler-locking
7175 modes. Test "next" in combination with all scheduler-locking
7176 modes, and in combination with stepping over a function call or
7178 * gdb.threads/next-bp-other-thread.c: New file.
7179 * gdb.threads/next-bp-other-thread.exp: New file.
7181 2014-10-29 Pedro Alves <palves@redhat.com>
7184 * gdb.python/python.exp: Test a multi-line command that spawns
7186 * gdb.base/multi-line-starts-subshell.exp: New file.
7188 2014-10-29 Yao Qi <yao@codesourcery.com>
7190 * gdb.base/fileio.exp: Make directories on host.
7192 2014-10-29 Yao Qi <yao@codesourcery.com>
7194 * gdb.base/fileio.c (test_write): Close the file.
7196 2014-10-28 Pedro Alves <palves@redhat.com>
7199 * gdb.base/sigstep.c (no_handler): New global.
7200 (main): If 'no_handler is true, set the signal handlers to
7202 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7203 with_sw_watch and no_handler parameters. Handle them.
7204 (top level) <stepping over handler when stopped at a breakpoint
7205 test>: Add a test axis for testing with a software watchpoint, and
7206 another for testing with the signal handler set to SIG_IGN.
7207 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7208 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7210 2014-10-28 Pedro Alves <palves@redhat.com>
7213 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7214 * gdb.base/sigstep.exp (other_handler_location): New global.
7215 (advance): Support stepping into the signal handler, and running
7216 commands while in the handler.
7217 (in_handler_map): New global.
7218 (top level): In the advance test, add combinations for getting
7219 into the handler with stepping commands, and for running commands
7220 in the handler. Add comment descripting the advancei tests.
7222 2014-10-28 Pedro Alves <palves@redhat.com>
7224 * gdb.base/sigstep.exp: Use build_executable instead of
7225 prepare_for_testing.
7226 (top level): Move code that starts GDB, runs to main and creates a
7228 (restart): ... this new procedure.
7229 (top level): Move backtrace from signal handler test to ...
7230 (validate_backtrace): ... this new procedure.
7231 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7232 with_test_prefix. Always restart GDB.
7233 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7234 with_test_prefix. Always restart GDB. No need to delete
7235 breakpoints after the test.
7236 (test_skip_handler): Remove prefix parameter.
7237 (skip_over_handler, breakpoint_to_handler)
7238 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7239 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7240 restart GDB. No need to delete breakpoints after the test.
7241 (top level): Use foreach to call the test procedures with
7244 2014-10-28 Pedro Alves <palves@redhat.com>
7246 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7247 instead of GNATS numbers.
7248 * gdb.base/sigbpt.exp: Likewise.
7249 * gdb.base/siginfo.exp: Likewise.
7250 * gdb.base/sigstep.exp: Likewise.
7252 2014-10-27 Pedro Alves <palves@redhat.com>
7254 * gdb.base/sigstep.c (dummy): New global.
7255 (main): Issue a couple writes to the new global.
7256 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7258 (skip_over_handler): Use test_skip_handler.
7259 (top level): Call skip_over_handler for stepi and nexti too.
7260 (breakpoint_over_handler): Use test_skip_handler.
7261 (top level): Call breakpoint_over_handler for stepi and nexti too.
7263 2014-10-27 Yao Qi <yao@codesourcery.com>
7265 * gdb.trace/tfile.c (adjust_function_address)
7266 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7267 function descriptor.
7269 2014-10-24 Don Breazeal <donb@codesourcery.com>
7271 * gdb.base/foll-fork.exp (test_follow_fork,
7272 catch_fork_child_follow): Check for updated fork messages emitted
7274 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7275 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7276 vfork_and_exec_child_follow_through_step): Check for updated vfork
7277 messages emitted from infrun.c.
7279 2014-10-24 Pedro Alves <palves@redhat.com>
7281 * gdb.base/corefile.exp: Remove references to ultrix.
7282 * gdb.base/interrupt.exp: Likewise.
7283 * gdb.base/whatis.exp: Likewise.
7284 * gdb.gdb/selftest.exp: Likewise.
7285 * gdb.threads/manythreads.exp: Likewise.
7286 * gdb.threads/print-threads.exp: Likewise.
7287 * gdb.threads/pthreads.exp:: Likewise.
7288 * gdb.threads/schedlock.exp: Likewise.
7290 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7292 * gdb.cp/non-trivial-retval.cc: Add a test case.
7293 * gdb.cp/non-trivial-retval.exp: Add a test.
7295 2014-10-20 Yao Qi <yao@codesourcery.com>
7297 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7298 * gdb.python/py-objfile-script-gdb.py: New file.
7299 * gdb.python/py-objfile-script.exp: Update reference to
7300 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7301 of remote_download. Remove the dest file.
7303 2014-10-20 Yao Qi <yao@codesourcery.com>
7305 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7306 * gdb.base/step-line.exp: Likewise.
7307 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7308 * gdb.dwarf2/dw2-basic.exp: Likewise.
7309 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7310 * gdb.dwarf2/dw2-filename.exp: Likewise.
7311 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7312 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7313 * gdb.dwarf2/dw2-producer.exp: Likewise.
7314 * gdb.dwarf2/mac-fileno.exp: Likewise.
7315 * gdb.python/py-frame-args.exp: Likewise.
7316 * gdb.python/py-framefilter.exp: Likewise.
7317 * gdb.python/py-mi.exp: Likewise.
7318 * gdb.python/py-objfile-script.exp: Likewise
7319 * gdb.python/py-pp-integral.exp: Likewise.
7320 * gdb.python/py-pp-re-notag.exp: Likewise.
7321 * gdb.python/py-prettyprint.exp: Likewise.
7322 * gdb.python/py-section-script.exp: Likewise.
7323 * gdb.python/py-typeprint.exp: Likewise.
7324 * gdb.python/py-xmethods.exp: Likewise.
7325 * gdb.stabs/weird.exp: Likewise.
7326 * gdb.xml/tdesc-regs.exp: Likewise.
7328 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7330 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7331 (out_cu): Use addr_len for the size of addresses.
7332 (out_line): Likewise. Size DW_LNE_set_address instruction
7333 according to addr_len.
7334 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7335 (FUNC): Add START_INSNS to definition.
7337 2014-10-18 Yao Qi <yao@codesourcery.com>
7339 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7340 gdb_has_argv0 return true.
7341 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7342 check [target_info exists noargs], check [gdb_has_argv0]
7344 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7345 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7348 2014-10-17 Doug Evans <dje@google.com>
7350 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7352 * gdb.python/py-events.py: Add clear_objfiles event.
7354 2014-10-17 Doug Evans <dje@google.com>
7356 * gdb.python/py-objfile.exp: Test progspace attribute.
7358 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7360 * gdb.guile/scm-breakpoint.exp: Do not assume any
7361 directory separators when matching source file paths.
7362 * gdb.python/py-breakpoint.exp: Likewise.
7363 * gdb.reverse/break-precsave.exp: Likewise.
7364 * gdb.reverse/break-reverse.exp: Likewise.
7365 * gdb.reverse/consecutive-precsave.exp: Likewise.
7366 * gdb.reverse/finish-precsave.exp: Likewise.
7367 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7368 * gdb.reverse/finish-reverse.exp: Likewise.
7369 * gdb.reverse/i386-precsave.exp: Likewise.
7370 * gdb.reverse/i387-env-reverse.exp: Likewise.
7371 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7372 * gdb.reverse/machinestate-precsave.exp: Likewise.
7373 * gdb.reverse/machinestate.exp: Likewise.
7374 * gdb.reverse/sigall-precsave.exp: Likewise.
7375 * gdb.reverse/solib-precsave.exp: Likewise.
7376 * gdb.reverse/step-precsave.exp: Likewise.
7377 * gdb.reverse/until-precsave.exp: Likewise.
7378 * gdb.reverse/watch-precsave.exp: Likewise.
7379 * gdb.reverse/watch-reverse.exp: Likewise.
7381 2014-10-17 Yao Qi <yao@codesourcery.com>
7383 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7384 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7386 2014-10-17 Pedro Alves <palves@redhat.com>
7389 * gdb.base/bg-execution-repeat.c: New file.
7390 * gdb.base/bg-execution-repeat.exp: New file.
7392 2014-10-17 Pedro Alves <palves@redhat.com>
7395 * gdb.base/continue-all-already-running.c: New file.
7396 * gdb.base/continue-all-already-running.exp: New file.
7398 2014-10-17 Pedro Alves <palves@redhat.com>
7401 * gdb.base/annota-input-while-running.c: New file.
7402 * gdb.base/annota-input-while-running.exp: New file.
7404 2014-10-17 Pedro Alves <palves@redhat.com>
7406 * gdb.base/callfuncs.exp: emove references to osf.
7407 * gdb.base/sigall.exp: Likewise.
7408 * gdb.gdb/selftest.exp: Likewise.
7409 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7410 * gdb.mi/non-stop.c: Likewise.
7411 * gdb.mi/pthreads.c: Likewise.
7412 * gdb.reverse/sigall-precsave.exp: Likewise.
7413 * gdb.reverse/sigall-reverse.exp: Likewise.
7414 * gdb.threads/pthreads.c: Likewise.
7415 * gdb.threads/pthreads.exp: Likewise.
7417 2014-10-17 Yao Qi <yao@codesourcery.com>
7419 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7420 check 'target_info exists noargs'.
7421 (test_command_prompt_position): Likewise.
7422 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7424 (progvar_simple_while_test): Likewise.
7425 (progvar_complex_if_while_test): Likewise.
7426 (if_while_breakpoint_command_test): Likewise.
7427 (infrun_breakpoint_command_test): Likewise.
7428 (breakpoint_command_test): Likewise.
7429 (watchpoint_command_test): Likewise.
7430 (bp_deleted_in_command_test): Likewise.
7431 (temporary_breakpoint_commands): Likewise.
7433 2014-10-16 Yao Qi <yao@codesourcery.com>
7435 * gdb.base/remotetimeout.exp: Remove noargs checking.
7437 2014-10-15 Pedro Alves <palves@redhat.com>
7440 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7441 * gdb.base/breakpoint-in-ro-region.exp
7442 (probe_target_hardware_step): New procedure.
7443 (top level): Probe hardware stepping and hardware breakpoint
7444 support. Test stepping through a read-only region, with both
7445 "breakpoint auto-hw" on and off and both "always-inserted" on and
7448 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7450 * gdb.dlang/demangle.exp: Update for demangling changes.
7452 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7454 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7455 * gdb.cp/non-trivial-retval.exp: Add new tests.
7457 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7461 * gdb.cp/non-trivial-retval.cc: New file.
7462 * gdb.cp/non-trivial-retval.exp: New file.
7464 2014-10-15 Yao Qi <yao@codesourcery.com>
7466 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7469 2014-10-15 Yao Qi <yao@codesourcery.com>
7471 * gdb.python/py-symbol.exp: Match file base name if host is
7472 remote, otherwise match file name with dir name.
7473 * gdb.python/py-symtab.exp: Likewise.
7474 * gdb.python/python.exp: Likewise.
7476 2014-10-15 Yao Qi <yao@codesourcery.com>
7478 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7480 * gdb.python/py-symtab.exp: Likewise.
7481 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7484 2014-10-14 Joel Brobecker <brobecker@adacore.com>
7486 * gdb.ada/addr_arith: New testcase.
7488 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7490 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7491 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7492 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7493 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7495 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7497 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7498 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7499 * gdb.arch/stap-eval-lang-ada.exp: New file.
7501 2014-10-14 Yao Qi <yao@codesourcery.com>
7503 * gdb.mi/mi-var-child.c (nothing1): New function.
7504 (nothing2): New function.
7505 (do_children_tests): Set function pointers by nothing1 and
7507 * gdb.mi/mi-var-child.exp: Step over new added statements.
7508 Update test to match the new output.
7509 * gdb.mi/var-cmd.c (nothing1): New function.
7510 (nothing2): New function.
7511 (do_children_tests): Set function pointers by nothing1 and
7513 * gdb.mi/mi-var-display.exp: Update test to match output.
7514 Step to the line specified by $line_dct_nothing.
7515 Increase the number of lines to step.
7517 2014-10-14 Yao Qi <yao@codesourcery.com>
7519 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7521 * gdb.mi/mi2-var-child.exp: Likewise.
7523 2014-10-13 Doug Evans <dje@google.com>
7525 * gdb.python/py-objfile.exp: Change name of file name test.
7527 2014-10-13 Doug Evans <dje@google.com>
7529 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7530 from the start of the CU.
7532 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7533 Yao Qi <yao@codesourcery.com>
7535 Fix "save breakpoints" for "catch" command.
7536 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7537 Remove -nonewline. Match also the added "main" line.
7539 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7541 Fix "save breakpoints" for "disable $bpnum" command.
7542 * gdb.base/save-bp.c (main): Add label.
7543 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7545 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7547 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7549 2014-10-11 Yao Qi <yao@codesourcery.com>
7551 * gdb.server/server-kill.exp: Execute command
7552 "set remote trace-status-packet on" before "tstatus".
7554 2014-10-11 Yao Qi <yao@codesourcery.com>
7556 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7557 (main): Call getppid.
7558 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7559 and continue to it. Read variable "server_pid".
7561 2014-10-11 Yao Qi <yao@codesourcery.com>
7563 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7565 2014-10-11 Yao Qi <yao@codesourcery.com>
7567 * gdb.threads/thread-find.exp: Don't execute command
7569 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7570 * gdb.threads/linux-dp.exp: Don't check the condition
7571 $threads_created equals to zero.
7573 2014-10-10 Pedro Alves <palves@redhat.com>
7575 * gdb.base/bigcore.exp: Remove references to IRIX.
7576 * gdb.base/funcargs.exp: Likewise.
7577 * gdb.base/interrupt.exp: Likewise.
7578 * gdb.base/mips_pro.exp: Likewise.
7579 * gdb.base/nodebug.exp: Likewise.
7580 * gdb.base/setvar.exp: Likewise.
7581 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7583 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7584 Pedro Alves <palves@redhat.com>
7587 * gdb.base/vdso-warning.c: New file.
7588 * gdb.base/vdso-warning.exp: New file.
7590 2014-10-02 Doug Evans <dje@google.com>
7592 * gdb.base/structs.c (main): Don't run forever.
7594 2014-10-02 Pedro Alves <palves@redhat.com>
7596 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7597 (top level) <stop threads 1, stop threads 2>: Use it.
7599 2014-10-02 Pedro Alves <palves@redhat.com>
7601 * gdb.threads/break-while-running.exp (test): Add new
7602 'update_thread_list' argument. Skip "info threads" if false.
7603 (top level): Add new 'update_thread_list' axis.
7605 2014-10-02 Pedro Alves <palves@redhat.com>
7607 PR breakpoints/17431
7608 * gdb.base/execl-update-breakpoints.c: New file.
7609 * gdb.base/execl-update-breakpoints.exp: New file.
7611 2014-10-01 Pedro Alves <palves@redhat.com>
7613 * gdb.base/breakpoint-in-ro-region.c: New file.
7614 * gdb.base/breakpoint-in-ro-region.exp: New file.
7616 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7618 * gdb.mi/mi-exit-code.exp: New file.
7619 * gdb.mi/mi-exit-code.c: New file.
7621 2014-09-30 Yao Qi <yao@codesourcery.com>
7623 * lib/prelink-support.exp (build_executable_own_libs): Error if
7624 the target isn't native.
7626 2014-09-30 Yao Qi <yao@codesourcery.com>
7628 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7631 2014-09-22 Pedro Alves <palves@redhat.com>
7633 * gdb.threads/break-while-running.exp: New file.
7634 * gdb.threads/break-while-running.c: New file.
7636 2014-09-19 Yao Qi <yao@codesourcery.com>
7638 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7639 Invoke test. Restart GDB with --readnow and invoke test again.
7641 2014-09-19 Yao Qi <yao@codesourcery.com>
7643 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7644 proc set_breakpoint_on_gcd_function. Invoke
7645 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7646 invoke set_breakpoint_on_gcd_function again.
7648 2014-09-18 Doug Evans <dje@google.com>
7650 * gdb.dwarf2/symtab-producer.exp: New file.
7652 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7654 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7655 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7656 * gdb.base/global-var-nested-by-dso.c: Likewise.
7657 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7659 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7660 Pedro Alves <palves@redhat.com>
7662 * gdb.base/watch-bitfields.exp: Pass string other than test file
7663 name to prepare_for_testing.
7664 (watch): New procedure.
7665 (expect_watchpoint): Use with_test_prefix.
7666 (top level): Factor out tests to ...
7667 (test_watch_location, test_regular_watch): ... these new
7668 procedures, and use with_test_prefix and gdb_continue_to_end.
7670 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7672 PR breakpoints/12526
7673 * gdb.base/watch-bitfields.exp: New file.
7674 * gdb.base/watch-bitfields.c: New file.
7676 2014-09-16 Pedro Alves <palves@redhat.com>
7678 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7679 software and hardware addresses, not software address against
7682 2014-09-16 Pedro Alves <palves@redhat.com>
7684 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7685 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7687 2014-09-16 Pedro Alves <palves@redhat.com>
7689 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7691 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7692 "*-*-vxworks*" throughout.
7693 * gdb.base/break.exp: Likewise.
7694 * gdb.base/default.exp: Likewise.
7695 * gdb.base/scope.exp: Likewise.
7696 * gdb.base/sepdebug.exp: Likewise.
7697 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7699 * gdb.base/run.c: Likewise.
7700 * gdb.base/sepdebug.c: Likewise.
7701 * gdb.hp/gdb.aCC/run.c: Likewise.
7702 * gdb.reverse/until-reverse.c: Likewise.
7703 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7705 2014-09-16 Yao Qi <yao@codesourcery.com>
7707 * boards/local-remote-host-native.exp: New file.
7709 2014-09-14 Doug Evans <xdje42@gmail.com>
7711 * gdb.threads/queue-signal.c (thread_count): New variable.
7712 (thread_count_mutex, thread_count_condvar): New variables.
7713 (incr_thread_count, wait_all_threads_running): New functions.
7714 (main): Wait for all threads to be in their thread functions.
7716 2014-09-13 Doug Evans <xdje42@gmail.com>
7718 * gdb.threads/queue-signal.c: New file.
7719 * gdb.threads/queue-signal.exp: New file.
7721 2014-09-13 Doug Evans <xdje42@gmail.com>
7723 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7724 be consistent with what default_gdb_init uses.
7725 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7726 the plain text of the prompt. Add some logging printfs.
7727 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7729 2014-09-12 Pedro Alves <palves@redhat.com>
7731 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7732 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7733 * gdb.arch/i386-size-overlap.exp: Likewise.
7734 * gdb.arch/i386-size.exp: Likewise.
7735 * gdb.arch/i386-unwind.exp: Likewise.
7736 * gdb.base/a2-run.exp: Likewise.
7737 * gdb.base/break.exp: Likewise.
7738 * gdb.base/charset.exp: Likewise.
7739 * gdb.base/chng-syms.exp: Likewise.
7740 * gdb.base/commands.exp: Likewise.
7741 * gdb.base/dbx.exp: Likewise.
7742 * gdb.base/find.exp: Likewise.
7743 * gdb.base/funcargs.exp: Likewise.
7744 * gdb.base/jit-simple.exp: Likewise.
7745 * gdb.base/reread.exp: Likewise.
7746 * gdb.base/sepdebug.exp: Likewise.
7747 * gdb.base/step-bt.exp: Likewise.
7748 * gdb.cp/mb-inline.exp: Likewise.
7749 * gdb.cp/mb-templates.exp: Likewise.
7750 * gdb.objc/basicclass.exp: Likewise.
7751 * gdb.threads/killed.exp: Likewise.
7753 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7756 * gdb.arch/powerpc-stackless.S: New file.
7757 * gdb.arch/powerpc-stackless.exp: New file.
7759 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7761 * gdb.base/attach.c: Include unistd.h.
7762 (main): Call alarm. Add label postloop.
7763 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7764 gdb_breakpoint, gdb_continue_to_breakpoint.
7765 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7767 2014-09-11 Pedro Alves <palves@redhat.com>
7770 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7771 * gdb.base/attach.exp (test_command_line_attach_run): New
7773 (top level): Call it.
7775 2014-09-11 Pedro Alves <palves@redhat.com>
7777 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7778 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7779 (do_command_attach_tests): Use spawn_wait_for_attach.
7780 * gdb.base/solib-overlap.exp: Likewise.
7781 * gdb.multi/multi-attach.exp: Likewise.
7782 * gdb.python/py-prompt.exp: Likewise.
7783 * gdb.python/py-sync-interp.exp: Likewise.
7784 * gdb.server/ext-attach.exp: Likewise.
7786 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7788 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7789 command in testcase. Simplify testcase.
7791 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7793 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7795 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7797 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7799 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7801 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7803 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7805 * gdb.dwarf2/dynarr-ptr.c: New file.
7806 * gdb.dwarf2/dynarr-ptr.exp: New file.
7808 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7810 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7811 of 30 rather than hardcoding 120 for a slow test case. Take the
7812 `gdb,timeout' target setting into account for this calculation.
7813 Don't extend the timeout for the test cases that don't need it.
7815 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7817 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7818 a factor of 2 for a slow test case. Take the `gdb,timeout'
7819 target setting into account for this calculation.
7820 * gdb.reverse/until-precsave.exp: Increase the timeout by
7821 a factor of 15 and 3 respectively rather than adding 120
7822 for a pair of slow test cases. Take the `gdb,timeout'
7823 target setting into account for this calculation.
7825 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7827 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7828 timeout, don't pass one down to gdb_expect.
7829 (gdb_expect): Rework timeout selection.
7831 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7833 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7834 exception on timeout.
7835 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7836 (gdbserver_start_extended): Catch any `gdbserver_start' error
7838 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7839 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7840 `gdbserver_gdb_load' error exceptions.
7842 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7844 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7845 120 on waiting for the TCP socket to open.
7847 2014-09-09 Doug Evans <xdje42@gmail.com>
7849 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7850 _caller_matches, _any_caller_is, _any_caller_matches.
7852 2014-09-09 Doug Evans <xdje42@gmail.com>
7854 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7856 2014-09-09 Yao Qi <yao@codesourcery.com>
7858 * gdb.mi/mi-var-display.exp: Set print symbol off.
7860 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7863 * gdb.base/commands.exp: Add tests to verify user-defined
7864 commands with empty bodies.
7865 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7866 python commands in `show user command`.
7867 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7868 scheme commands in `show user command`.
7870 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7873 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7874 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7875 * gdb.python/py-framefilter-invalidarg.exp: New file.
7876 * gdb.python/py-framefilter-invalidarg.py: New file.
7878 2014-09-06 Doug Evans <xdje42@gmail.com>
7881 * gdb.python/py-caller-is.c: New file.
7882 * gdb.python/py-caller-is.exp: New file.
7884 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7887 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7888 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7890 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7893 * gdb.fortran/print-formatted.exp: New file.
7894 * gdb.fortran/print-formatted.f90: Likewise.
7896 2014-09-03 Sasha Smundak <asmundak@google.com>
7898 * gdb.python/py-frame.exp: Test Frame.read_register.
7900 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7903 * gdb.python/py-completion.exp: New file.
7904 * gdb.python/py-completion.py: Likewise.
7906 2014-08-28 Doug Evans <dje@google.com>
7908 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7909 eax,etc. are live with values set by gdb and thus the compiler can't
7911 * gdb.arch/i386-pseudo.c (main): Ditto.
7913 2014-08-27 Doug Evans <dje@google.com>
7915 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7917 2014-08-25 Doug Evans <dje@google.com>
7919 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7922 2014-08-25 Doug Evans <dje@google.com>
7924 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7926 2014-08-24 Yao Qi <yao@codesourcery.com>
7928 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7930 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7932 2014-08-22 Doug Evans <dje@google.com>
7935 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7936 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7937 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7939 2014-08-22 Yao Qi <yao@codesourcery.com>
7941 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7942 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7943 * gdb.python/python.exp: Likewise. Use .py file on the host
7944 instead of the build.
7946 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7948 * gdb.threads/gcore-stale-thread.c: New file.
7949 * gdb.threads/gcore-stale-thread.exp: New file.
7951 2014-08-21 Pedro Alves <palves@redhat.com>
7953 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7954 * gdb.base/gcore-relro-pie.exp: Likewise.
7955 * gdb.base/gcore-relro.exp: Likewise.
7956 * gdb.base/gcore.exp: Likewise.
7957 * gdb.base/print-symbol-loading.exp: Likewise.
7958 * gdb.threads/gcore-thread.exp: Likewise.
7959 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7961 2014-08-20 Pedro Alves <palves@redhat.com>
7962 Jan Kratochvil <jan.kratochvil@redhat.com>
7964 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7966 (EXPECT): Handle READ1 being set.
7967 (all): Depend on EXTRA_RULES.
7968 (check-read1, expect-read1, read1.so, read1): New rules.
7969 * README (Testsuite Parameters): Document the READ1 make variable.
7970 (Race detection): New section.
7971 * configure: Regenerate.
7972 * configure.ac: If build==host==target, and running under a
7973 GNU/glibc system, add read1 to the extra Makefile rules.
7974 (EXTRA_RULES): AC_SUBST it.
7975 * lib/read1.c: New file.
7977 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7979 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7980 the handling of variables declared as a typedef to an array
7981 which a DW_AT_data_location attribute.
7983 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7984 Pedro Alves <palves@redhat.com>
7988 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7991 2014-08-19 Pedro Alves <palves@redhat.com>
7993 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7995 2014-08-19 Yao Qi <yao@codesourcery.com>
7997 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8000 2014-08-18 David Blaikie <dblaikie@gmail.com>
8002 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8004 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8006 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8007 attribute in array range.
8009 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8011 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8013 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8016 * gdb.cp/pr17132.cc: New file.
8017 * gdb.cp/pr17132.exp: New file.
8019 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8021 * gdb.python/py-xmethods.py (A_getarrayind)
8022 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8023 Use 'print' with function call syntax.
8024 (E_method_matcher.match): Fix tab vs space indentation mixup.
8026 2014-08-15 Yao Qi <yao@codesourcery.com>
8028 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8031 2014-08-15 Yao Qi <yao@codesourcery.com>
8033 * gdb.cp/casts.exp: Set print symbol off.
8034 * gdb.cp/class2.exp: Likewise.
8035 * gdb.cp/overload.exp: Likewise.
8036 * gdb.cp/templates.exp: Likewise.
8038 2014-08-11 Doug Evans <dje@google.com>
8040 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8041 (test_load_shlib): Update.
8043 2014-08-09 Yao Qi <yao@codesourcery.com>
8045 * gdb.base/display.exp: Invoke is_address_zero_readable.
8046 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8047 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8048 * gdb.base/hbreak-unmapped.exp: Return if
8049 is_address_zero_readable returns true.
8050 * gdb.base/signest.exp: Likewise.
8051 * gdb.base/signull.exp: Likewise.
8052 * gdb.base/sigbpt.exp: Likewise.
8053 * gdb.guile/scm-disasm.exp: Do the test if
8054 is_address_zero_readable returns false.
8055 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8056 * gdb.python/py-arch.exp: Likewise.
8057 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8058 * lib/gdb.exp (is_address_zero_readable): New proc.
8060 2014-08-09 Yao Qi <yao@codesourcery.com>
8063 * gdb.mi/mi-var-display.exp: Make test messages unique.
8065 2014-08-04 Tom Tromey <tromey@redhat.com>
8067 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8070 2014-08-04 Tom Tromey <tromey@redhat.com>
8072 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8075 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8077 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8078 inner_vla_struct_object_size.
8079 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8082 2014-07-30 Pedro Alves <palves@redhat.com>
8084 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8087 2014-07-29 Yao Qi <yao@codesourcery.com>
8090 * gdb.base/until-nodebug.exp: New.
8092 2014-07-28 Doug Evans <xdje42@gmail.com>
8095 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8096 previously existing parameter, and previously ambiguously spelled
8099 2014-07-28 Will Newton <will.newton@linaro.org>
8101 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8103 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8104 Doug Evans <xdje42@gmail.com>
8107 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8109 2014-07-25 Pedro Alves <palves@redhat.com>
8111 * gdb.threads/signal-command-handle-nopass.c: New file.
8112 * gdb.threads/signal-command-handle-nopass.exp: New file.
8113 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8114 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8115 * gdb.threads/signal-delivered-right-thread.c: New file.
8116 * gdb.threads/signal-delivered-right-thread.exp: New file.
8118 2014-07-25 Pedro Alves <palves@redhat.com>
8120 * gdb.base/double-prompt-target-event-error.exp
8121 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8123 (cancel_pagination_in_target_event): Rework double prompt
8125 * gdb.base/paginate-after-ctrl-c-running.exp
8126 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8128 * gdb.base/paginate-bg-execution.exp
8129 (test_bg_execution_pagination_return)
8130 (test_bg_execution_pagination_cancel): Remove '-notransfer
8132 * gdb.base/paginate-execution-startup.exp
8133 (test_fg_execution_pagination_return)
8134 (test_fg_execution_pagination_cancel): Remove '-notransfer
8136 * gdb.base/paginate-inferior-exit.exp
8137 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8139 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8140 * lib/gdb.exp (pagination_prompt): Run text through
8142 (gdb_test_multiple): Match $pagination_prompt instead of
8144 (string_to_regexp): Move to lib/gdb-utils.exp.
8146 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8148 * gdb.arch/amd64-entry-value-paramref.S: New file.
8149 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8150 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8151 * gdb.arch/amd64-optimout-repeat.S: New file.
8152 * gdb.arch/amd64-optimout-repeat.c: New file.
8153 * gdb.arch/amd64-optimout-repeat.exp: New file.
8155 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8158 * gdb.base/statistics.exp: New file.
8160 2014-07-17 Doug Evans <dje@google.com>
8163 * gdb.base/maint.exp: Update testing of per-command stats.
8165 2014-07-16 Pedro Alves <palves@redhat.com>
8167 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8168 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8169 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8170 (tfile_write_buf): New functions.
8171 (add_memory_block): Rewrite using the above.
8172 (adjust_function_address): New function.
8173 (FUNCTION_ADDRESS): New macro.
8174 (write_basic_trace_file): Remove short_x local, and use
8175 tfile_write_16. Change type of func_addr local to unsigned long
8176 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8177 here. Cast argument of add_memory_block to char pointer.
8178 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8179 (main): Remove parameters.
8180 * gdb.trace/tfile.exp: Remove nowarnings.
8182 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8184 * gdb.base/debug-expr.exp: Test string evaluation with
8185 "debug expression" on.
8187 2014-07-15 Pedro Alves <palves@redhat.com>
8189 * gdb.base/reread.exp: Use clean_restart.
8191 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8193 * gdb.arch/avr-flash-qualifer.c: New.
8194 * gdb.arch/avr-flash-qualifer.exp: New.
8196 2014-07-14 Pedro Alves <palves@redhat.com>
8198 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8199 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8201 2014-07-14 Pedro Alves <palves@redhat.com>
8203 * gdb.base/double-prompt-target-event-error.c: New file.
8204 * gdb.base/double-prompt-target-event-error.exp: New file.
8206 2014-07-14 Pedro Alves <palves@redhat.com>
8209 * gdb.base/paginate-inferior-exit.c: New file.
8210 * gdb.base/paginate-inferior-exit.exp: New file.
8212 2014-07-14 Pedro Alves <palves@redhat.com>
8215 * gdb.base/paginate-bg-execution.c: New file.
8216 * gdb.base/paginate-bg-execution.exp: New file.
8218 2014-07-14 Pedro Alves <palves@redhat.com>
8221 * gdb.base/paginate-execution-startup.c: New file.
8222 * gdb.base/paginate-execution-startup.exp: New file.
8223 * lib/gdb.exp (pagination_prompt): New global.
8224 (default_gdb_spawn): New procedure, factored out from
8226 (default_gdb_start): Adjust to call default_gdb_spawn.
8227 (gdb_spawn): New procedure.
8229 2014-07-14 Pedro Alves <palves@redhat.com>
8231 * lib/gdb.exp (gdb_assert): New procedure.
8232 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8234 2014-07-14 Pedro Alves <palves@redhat.com>
8236 * gdb.base/execution-termios.c: New file.
8237 * gdb.base/execution-termios.exp: New file.
8239 2014-07-14 Tom Tromey <tromey@redhat.com>
8241 * gdb.cp/vla-cxx.cc: New file.
8242 * gdb.cp/vla-cxx.exp: New file.
8244 2014-07-14 Tom Tromey <tromey@redhat.com>
8246 * gdb.reverse/rerun-prec.c: New file.
8247 * gdb.reverse/rerun-prec.exp: New file.
8249 2014-07-12 Maciej W. Rozycki <macro@mips.com>
8250 Maciej W. Rozycki <macro@codesourcery.com>
8252 * lib/gdb-utils.exp: New file.
8253 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8254 inline `gdb_init_command' processing.
8255 (gdb_start_cmd): Likewise.
8256 * lib/mi-support.exp (mi_run_cmd): Likewise.
8257 * README: Document `gdb_init_command' and `gdb_init_commands'.
8259 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8261 Fix false FAIL running under a very long directory name.
8262 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8263 and "set print elements 10000". Twice.
8265 2014-07-11 Yao Qi <yao@codesourcery.com>
8267 * gdb.base/exprs.exp: "set print symbol off".
8269 2014-07-11 Pedro Alves <palves@redhat.com>
8271 * gdb.threads/kill.c: New file.
8272 * gdb.threads/kill.exp: New file.
8274 2014-07-10 Yao Qi <yao@codesourcery.com>
8276 * gdb.trace/tfile.c (write_basic_trace_file)
8277 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8278 address written to trace file.
8280 2014-07-09 Pedro Alves <palves@redhat.com>
8282 * gdb.base/attach-wait-input.exp: New file.
8283 * gdb.base/attach-wait-input.c: New file.
8285 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8287 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8288 setting up test structures.
8289 (main): Call new test function.
8290 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8291 test function, continue into test function and walk test
8294 2014-07-02 Yao Qi <yao@codesourcery.com>
8296 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8297 'bar_start' at the beginning of functions 'foo' and 'bar'
8299 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8300 instead of 'foo' and 'bar'.
8302 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8304 * gdb.btrace/segv.exp: New.
8305 * gdb.btrace/segv.c: New.
8307 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
8309 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8312 2014-06-30 Mark Wielaard <mjw@redhat.com>
8314 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8315 vulture, vilify, villar): New volatile array constants.
8316 (vindictive, vegetation): New const volatile array constants.
8317 * gdb.base/volatile.exp: Test volatile and const volatile array
8320 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8322 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8323 target lacks support for awatch, rwatch, or hbreak.
8325 2014-06-27 Yao Qi <yao@codesourcery.com>
8327 * gdb.multi/dummy-frame-restore.exp: New.
8328 * gdb.multi/dummy-frame-restore.c: New.
8330 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8332 * gdb.btrace/gcore.exp: New.
8334 2014-06-23 Pedro Alves <palves@redhat.com>
8336 * gdb.base/watchpoint-reuse-slot.c: New file.
8337 * gdb.base/watchpoint-reuse-slot.exp: New file.
8339 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8341 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8342 progspace's filename in 'info', 'enable' and 'disable' command
8345 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8347 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8348 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8349 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8351 2014-06-20 Gary Benson <gbenson@redhat.com>
8353 * gdb.arch/i386-avx.exp: Fix include file location.
8354 * gdb.arch/i386-sse.exp: Likewise.
8356 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8358 * gdb.dlang/expression.exp: New file.
8360 2014-06-19 Pedro Alves <palves@redhat.com>
8362 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8364 (top level): ... here. Iterate running tests under different
8365 scheduler-locking settings.
8367 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
8369 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8370 to DW_FORM_addr and use non-zero addresses.
8372 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8375 * gdb.python/py-xmethods.cc: Add global function call counters and
8376 increment them in their respective functions. Remove "cout"
8378 * gdb.python/py-xmethods.exp: Make tests check the global function
8379 call counters instead of depending on inferior IO.
8381 2014-06-18 Don Breazeal <donb@codesourcery.com>
8383 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8385 (explicit_fork_parent_follow): Deleted procedure.
8386 (explicit_fork_child_follow): Deleted procedure.
8387 (test_follow_fork): New procedure.
8388 (do_fork_tests): Replace calls to deleted procedures with
8389 calls to test_follow_fork and reset GDB for subsequent
8392 2014-06-17 Yao Qi <yao@codesourcery.com>
8394 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8397 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
8399 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8400 Initialize ptr and S explicitly.
8401 (skip_type_update_when_not_use_rtti_test): Likewise.
8403 2014-06-16 Keith Seitz <keiths@redhat.com>
8406 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8407 the inferior is started.
8409 2014-06-16 Pedro Alves <palves@redhat.com>
8411 * gdb.base/break-main-file-remove-fail.c: New file.
8412 * gdb.base/break-main-file-remove-fail.exp: New file.
8413 * gdb.base/break-unload-file.exp: Use build_executable instead of
8414 prepare_for_testing.
8415 (test_break): New parameter "initial_load". Handle it.
8416 (top level): Add initial_load cmdline/file axis.
8418 2014-06-12 Tom Tromey <tromey@redhat.com>
8420 * gdb.base/completion.exp: Don't use directory name in test.
8422 2014-06-09 Gary Benson <gbenson@redhat.com>
8424 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8425 separate the always-available ANSI-standard signals from the
8426 signals that require checking.
8428 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8432 2014-06-07 Keith Seitz <keiths@redhat.com>
8436 * gdb.cp/var-tag.cc: New file.
8437 * gdb.cp/var-tag.exp: New file.
8438 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8439 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8440 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8441 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8443 2014-06-06 Doug Evans <xdje42@gmail.com>
8445 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8447 2014-06-06 Pedro Alves <palves@redhat.com>
8449 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8450 in target debug output instead of looking at RSP packets,
8451 disabling the test on any target that uses hardware stepping.
8454 2014-06-06 Pedro Alves <palves@redhat.com>
8456 * gdb.base/break-unload-file.exp: Fix typo.
8458 2014-06-06 Yao Qi <yao@codesourcery.com>
8460 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8461 from "jit_function" to "^jit_function".
8463 2014-06-06 Yao Qi <yao@codesourcery.com>
8465 * gdb.base/async.c (foo): Add one statement.
8466 * gdb.base/async.exp: Get the next instruction address and
8467 match the output of "nexti" by instruction address. Match
8468 the hex address in the output of "finish".
8470 2014-06-06 Gary Benson <gbenson@redhat.com>
8472 * gdb.base/call-signals.c: Remove preprocessor conditionals
8473 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8474 SIGSEGV and SIGTERM.
8475 * gdb.base/sigall.c: Likewise.
8476 * gdb.base/unwindonsignal.c: Likewise.
8477 * gdb.reverse/sigall-reverse.c: Likewise.
8479 2014-06-06 Yao Qi <yao@codesourcery.com>
8481 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8482 readable, skip the test.
8484 2014-06-06 Yao Qi <yao@codesourcery.com>
8486 * gdb.threads/staticthreads.c (thread_function): Move the line
8487 setting breakpoint on forward.
8488 * gdb.threads/staticthreads.exp: Update comments.
8490 2014-06-05 Ludovic Courtès <ludo@gnu.org>
8492 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8493 "history-append! type error".
8495 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8497 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8498 erroneous dprintf expected input.
8500 2014-06-04 Doug Evans <xdje42@gmail.com>
8502 * gdb.guile/scm-generics.exp: Delete.
8504 2014-06-04 Doug Evans <xdje42@gmail.com>
8506 * gdb.guile/scm-breakpoint.exp: Update.
8507 Add tests for breakpoint registration.
8509 2014-06-04 Tom Tromey <tromey@redhat.com>
8511 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8513 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8514 inner_vla_struct, vla_union types. Initialize objects of those
8515 types and compute their sizes.
8517 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8518 Hui Zhu <hui@codesourcery.com>
8520 * gdb.base/fileio.exp: Add test for shell not available as well as
8522 * gdb.base/fileio.c (test_system): Check for shell twice.
8524 2014-06-04 Yao Qi <yao@codesourcery.com>
8526 * gdb.base/auto-connect-native-target.exp: Remove redundant
8527 space from the regexp pattern.
8529 2014-06-04 Yao Qi <yao@codesourcery.com>
8531 * gdb.base/default.exp: Replace "child" with "native" in
8534 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8536 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8537 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8538 * gdb.python/py-xmethods.py: Python script supporting the
8539 new testcase and tests.
8541 2014-06-03 Joel Brobecker <brobecker@adacore.com>
8542 Pedro Alves <palves@redhat.com>
8544 PR breakpoints/17000
8545 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8546 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8548 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8550 * gdb.base/subst.exp: Add tests to verify partial path matching
8553 2014-06-03 Pedro Alves <palves@redhat.com>
8555 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8556 target that doesn't use software single-stepping.
8558 2014-06-03 Pedro Alves <palves@redhat.com>
8560 PR breakpoints/17000
8561 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8562 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8564 2014-06-02 Doug Evans <xdje42@gmail.com>
8566 * gdb.guile/scm-parameter.exp: New file.
8568 2014-06-02 Doug Evans <xdje42@gmail.com>
8570 * gdb.guile/scm-cmd.c: New file.
8571 * gdb.guile/scm-cmd.exp: New file.
8573 2014-06-02 Doug Evans <xdje42@gmail.com>
8575 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8576 pretty-printer lookup.
8577 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8578 (make-pp_s-printer): Call it.
8579 (make-pretty-printer-from-dict): New function.
8580 (lookup-pretty-printer-maker-from-dict): New function.
8581 (*pretty-printer*): Simplify.
8582 (make-objfile-pp_s-printer): New function.
8583 (install-objfile-pretty-printers!): New function.
8584 (make-progspace-pp_s-printer): New function.
8585 (install-progspace-pretty-printers!): New function.
8586 * gdb.guile/scm-progspace.c: New file.
8587 * gdb.guile/scm-progspace.exp: New file.
8589 2014-06-02 Pedro Alves <palves@redhat.com>
8591 * gdb.base/dprintf-bp-same-addr.c: New file.
8592 * gdb.base/dprintf-bp-same-addr.exp: New file.
8594 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8596 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8597 * gdb.arch/powerpc-power.s: Likewise.
8599 2014-06-02 Joel Brobecker <brobecker@adacore.com>
8601 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8603 2014-06-01 Yao Qi <yao@codesourcery.com>
8605 * gdb.base/watchpoint.exp (test_watch_location): Check null
8606 pointer can be dereferenced. If not, do the test, otherwise
8609 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8611 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8613 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8615 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8617 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8618 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8619 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8620 * gdb.arch/amd64-invalid-stack-top.c: New file.
8621 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8623 2014-05-30 Pedro Alves <palves@redhat.com>
8625 PR breakpoints/17000
8626 * gdb.base/sss-bp-on-user-bp.c: New file.
8627 * gdb.base/sss-bp-on-user-bp.exp: New file.
8629 2014-05-30 David Blaikie <dblaikie@gmail.com>
8631 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8632 gnu_inline semantics via attribute.
8633 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8634 source explicitly specifies the required semantics.
8636 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8638 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8640 2014-05-29 Pedro Alves <palves@redhat.com>
8641 Tom Tromey <tromey@redhat.com>
8643 * gdb.base/async-shell.exp: Don't enable target-async.
8644 * gdb.base/async.exp
8645 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8647 (top level): Don't test with "target-async".
8648 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8649 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8650 * gdb.base/inferior-died.exp: Don't enable target-async.
8651 * gdb.base/interrupt-noterm.exp: Likewise.
8652 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8653 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8654 * gdb.mi/mi-nonstop.exp: Likewise.
8655 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8656 * gdb.mi/mi-nsintrall.exp: Likewise.
8657 * gdb.mi/mi-nsmoribund.exp: Likewise.
8658 * gdb.mi/mi-nsthrexec.exp: Likewise.
8659 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8660 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8661 * gdb.python/py-evsignal.exp: Don't enable target-async.
8662 * gdb.python/py-evthreads.exp: Likewise.
8663 * gdb.python/py-prompt.exp: Likewise.
8664 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8665 * gdb.server/solib-list.exp: Don't enable target-async.
8666 * gdb.threads/thread-specific-bp.exp: Likewise.
8667 * lib/mi-support.exp: Adjust to use mi-async.
8669 2014-05-29 Pedro Alves <palves@redhat.com>
8672 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8673 reason, even in sync mode.
8675 2014-05-29 Pedro Alves <palves@redhat.com>
8676 Hui Zhu <hui@codesourcery.com>
8679 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8680 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8681 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8682 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8684 2014-05-28 Joel Brobecker <brobecker@adacore.com>
8686 * config/monitor.exp (gdb_target_monitor): Replace use of
8687 "set remotebaud" by "set serial baud".
8689 2014-05-26 Andy Wingo <wingo@igalia.com>
8691 * gdb.guile/scm-breakpoint.exp:
8692 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8693 properties instead of gdb-object-properties.
8695 2014-05-26 Yao Qi <yao@codesourcery.com>
8697 * gdb.server/no-thread-db.exp: Specify source file name
8698 explicitly when setting a breakpoint.
8700 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8702 * gdb.btrace/vdso.c: New.
8703 * gdb.btrace/vdso.exp: New.
8705 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8707 * gdb.base/gcore.exp (capture_command_output): Move ...
8708 * lib/gdb.exp (capture_command_output): ... here.
8710 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8712 * gdb.btrace/data.exp: Test memory access during btrace replay.
8714 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8716 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8718 2014-05-21 Pedro Alves <palves@redhat.com>
8721 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8722 (top level): Test that output related to execution commands is
8723 sent to the console with CLI commands, but not with MI commands.
8724 Test that breakpoint events are always mirrored to the console.
8725 Also expect the new source line to be output after a "next" in
8726 async mode too. Make it a pass/fail test.
8727 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8729 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8731 2014-05-21 Pedro Alves <palves@redhat.com>
8733 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8734 Use them to test variations of "list" after reaching a breakpoint.
8735 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8736 Test "list" with listsize 10 after reaching a breakpoint.
8737 * gdb.python/python.exp (decode_line current location line
8738 number): Adjust expected line number.
8740 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8742 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8743 behavior for $args, pass it directly to "run".
8745 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8747 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8750 2014-05-21 Pedro Alves <palves@redhat.com>
8752 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8753 auto-connect-native-target off".
8754 * gdb.base/auto-connect-native-target.c: New file.
8755 * gdb.base/auto-connect-native-target.exp: New file.
8757 2014-05-21 Pedro Alves <palves@redhat.com>
8759 * gdb.base/default.exp: Test "target native" instead of "target
8762 2014-05-21 Mark Wielaard <mjw@redhat.com>
8764 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8766 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8768 Fix TLS access for -static -pthread.
8769 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8770 <HAVE_TLS> (thread_function, main): Initialize it.
8771 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8773 <$have_tls != "">: Check TLSVAR.
8775 2014-05-21 Pedro Alves <palves@redhat.com>
8777 * gdb.base/dcache-line-read-error.c: New.
8778 * gdb.base/dcache-line-read-error.exp: New.
8780 2014-05-20 Pedro Alves <palves@redhat.com>
8782 * gdb.base/compare-sections.c: New file.
8783 * gdb.base/compare-sections.exp: New file.
8785 2014-05-20 Pedro Alves <palves@redhat.com>
8787 * gdb.base/break-idempotent.c: New file.
8788 * gdb.base/break-idempotent.exp: New file.
8790 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8792 * gdb.btrace/nohist.exp: New.
8794 2014-05-20 Yao Qi <yao@codesourcery.com>
8796 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8797 gdb.reverse directory and gdb_reverse_timeout exists in board
8799 * README: Document gdb_reverse_timeout.
8801 2014-05-20 Yao Qi <yao@codesourcery.com>
8803 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8804 'test_file_name'. Treat args as a string instead of a list.
8805 (gdb_init): Rename argument 'args' by 'test_file_name'.
8807 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8809 * gdb.arch/powerpc-power.exp: New file.
8810 * gdb.arch/powerpc-power.s: New file.
8812 2014-05-16 Doug Evans <dje@google.com>
8814 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8815 * gdb.base/completion.exp: Check that all expected files exist
8816 before doing file completion.
8818 2014-05-16 Doug Evans <dje@google.com>
8820 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8822 (do_syscall_tests_without_xml): Update.
8824 2014-05-16 Pedro Alves <palves@redhat.com>
8826 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8827 instead of "unknown output after running".
8829 2014-05-16 Yao Qi <yao@codesourcery.com>
8831 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8832 file1.txt from host at the end.
8833 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8835 2014-05-15 Doug Evans <dje@google.com>
8837 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8838 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8839 loading file. Add test for TU lookup.
8841 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8843 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8844 calling "-exec-arguments" or "set args" before running the
8847 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8849 * lib/mi-support.exp (mi_expect_stop): Expect message for
8850 inferiors that exit with non-zero exit code.
8852 2014-05-14 Yao Qi <yao@codesourcery.com>
8854 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8855 match absolute path on remote host.
8856 (test_file_list_exec_source_files): Remove "/" from the
8859 2014-05-14 Yao Qi <yao@codesourcery.com>
8861 * boards/local-remote-host-notty.exp (${board}_file): New
8864 2014-05-07 Kyle McMartin <kyle@redhat.com>
8866 Pushed by Joel Brobecker <brobecker@adacore.com>.
8867 * gdb.arch/aarch64-atomic-inst.c: New file.
8868 * gdb.arch/aarch64-atomic-inst.exp: New file.
8870 2014-05-07 Yao Qi <yao@codesourcery.com>
8872 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8873 in current context" too.
8875 2014-05-05 Keith Seitz <keiths@redhat.com>
8877 * gdb.linespec/ls-dollar.exp: Add test for linespec
8878 file:convenience_variable.
8880 2014-05-05 Yao Qi <yao@codesourcery.com>
8882 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8883 traceframes into tfile and ctf trace files. Read data from
8884 trace file and test collected data.
8885 (gdb_collect_locals_test): Likewise.
8886 (gdb_unavailable_registers_test): Likewise.
8887 (gdb_unavailable_floats): Likewise.
8888 (gdb_collect_globals_test): Likewise.
8889 (top-level): Append "ctf" to trace_file_targets if GDB
8892 2014-05-05 Yao Qi <yao@codesourcery.com>
8894 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8896 (gdb_collect_args_test_1): ... it. New proc.
8897 (gdb_collect_locals_test): Move some code to ...
8898 (gdb_collect_locals_test_1): ... it. New proc.
8899 (gdb_unavailable_registers_test): Move some code to ...
8900 (gdb_unavailable_registers_test_1): ... it. New proc.
8901 (gdb_unavailable_floats): Move some code to ...
8902 (gdb_unavailable_floats_1): ... it. New proc.
8904 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8906 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8907 probes to test for bitness recognition.
8908 * gdb.arch/amd64-stap-optional-prefix.exp
8909 (test_probe_value_without_reg): New procedure.
8910 Add code to test for different kinds of bitness.
8912 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8914 PR breakpoints/16889
8915 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8916 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8918 2014-05-01 Pedro Alves <palves@redhat.com>
8920 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8921 gdb_file_cmd if no file is specified.
8922 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8923 last_loaded_file to set the remote exec-file.
8925 2014-05-01 Pedro Alves <palves@redhat.com>
8927 * boards/local-remote-host.exp: New file.
8929 2014-05-01 Pedro Alves <palves@redhat.com>
8931 * boards/local-remote-host.exp: Rename to ...
8932 * boards/local-remote-host-notty.exp: ... this.
8934 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8936 * gdb.ada/dyn_arrayidx: New testcase.
8938 2014-04-26 Yao Qi <yao@codesourcery.com>
8940 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8941 and compute the length of function main. Save it in
8943 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8944 (top-level): Use gdb_compile to compile objects into
8945 executable and restart GDB. Remove invocation to
8946 prepare_for_testing.
8948 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8949 Pedro Alves <palves@redhat.com>
8952 * gdb.multi/multi-attach.c: New file.
8953 * gdb.multi/multi-attach.exp: New file.
8955 2014-04-25 Pedro Alves <palves@redhat.com>
8957 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8959 (top level): Test that "set remote conditional-breakpoints-packet
8960 off" works as intended.
8961 * gdb.base/dprintf.exp: Test that "set remote
8962 breakpoint-commands-packet off" works as intended.
8963 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8965 (top level): Call it.
8966 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8967 remote fast-tracepoints-packet off" works as intended.
8968 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8969 * lib/gdb.exp (gdb_is_target_remote): ... here.
8971 2014-04-24 David Blaikie <dblaikie@gmail.com>
8973 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8974 ensure clang would not discard them.
8975 * gdb.base/gdbvars.c: Ditto.
8976 * gdb.base/memattr.c: Ditto.
8977 * gdb.base/whatis.c: Ditto.
8978 * gdb.python/py-prettyprint.c: Ditto.
8979 * gdb.trace/actions.c: Ditto.
8980 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8981 ensure clang would not discard it.
8983 2014-04-24 David Blaikie <dblaikie@gmail.com>
8985 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8986 clang to emit the full definition of type required by the test
8987 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8989 2014-04-24 David Blaikie <dblaikie@gmail.com>
8991 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8992 coax Clang into emitting the definition of the type.
8993 * gdb.cp/pr10728-x.h (y): Ditto.
8994 * gdb.cp/pr10728-y.cc (y): Ditto.
8996 2014-04-24 David Blaikie <dblaikie@gmail.com>
8998 * gdb.base/label.exp: XFAIL label related tests under Clang.
8999 * gdb.cp/cplabel.exp: Ditto.
9000 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9001 under Clang those using labels.
9003 2014-04-25 Yao Qi <yao@codesourcery.com>
9005 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9007 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9008 partial_label and double_label.
9010 2014-04-24 David Blaikie <dblaikie@gmail.com>
9012 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9014 2014-04-24 David Blaikie <dblaikie@gmail.com>
9016 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9017 of the function to work across GCC and Clang.
9018 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9019 pointer types (const void ** const V void **).
9021 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9022 Walfred Tedeschi <walfred.tedeschi@intel.com>
9024 * Makefile.in (EXECUTABLES): Added i386-avx512.
9025 * gdb.arch/i386-avx512.c: New file.
9026 * gdb.arch/i386-avx512.exp: Likewise.
9028 2014-04-23 Keith Seitz <keiths@redhat.com>
9030 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9031 (mi_make_breakpoint_table): New procedure.
9032 (mi_create_breakpoint): Use mi_make_breakpoint
9033 and return the result.
9034 (mi_make_breakpoint): New procedure.
9035 (mi_build_kv_pairs): New procedure.
9037 * gdb.mi/mi-break.exp: Remove unused globals,
9038 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9039 All callers updated.
9040 * gdb.mi/mi-dprintf.exp: Use variable to track command
9042 Update all callers of mi_create_breakpoint and use
9043 mi_make_breakpoint_table.
9044 Remove any unused global variables.
9045 * gdb.mi/mi-nonstop.exp: Likewise.
9046 * gdb.mi/mi-nsintrall.exp: Likewise.
9047 * gdb.mi/mi-nsmoribund.exp: Likewise.
9048 * gdb.mi/mi-nsthrexec.exp: Likewise.
9049 * gdb.mi/mi-reverse.exp: Likewise.
9050 * gdb.mi/mi-simplerun.exp: Likewise.
9051 * gdb.mi/mi-stepn.exp: Likewise.
9052 * gdb.mi/mi-syn-frame.exp: Likewise.
9053 * gdb.mi/mi-until.exp: Likewise.
9054 * gdb.mi/mi-var-cp.exp: Likewise.
9055 * gdb.mi/mi-var-display.exp: Likewise.
9056 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9057 * gdb.mi/mi2-var-child.exp: Likewise.
9058 * gdb.mi/mi-vla-c99.exp: Likewise.
9059 * lib/mi-support.exp: Likewise.
9061 From Ian Lance Taylor <iant@cygnus.com>:
9062 * lib/gdb.exp (parse_args): New procedure.
9064 2014-04-23 Pedro Alves <palves@redhat.com>
9066 * gdb.base/break-unload-file.c: New file.
9067 * gdb.base/break-unload-file.exp: New file.
9068 * gdb.base/sym-file-lib.c (baz): New function.
9069 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9071 (load): Store the segment's mapped size.
9072 (unload): New function.
9073 (unload_shlib): New function.
9074 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9075 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9076 set a breakpoint at baz, and call it.
9077 * gdb.base/sym-file.exp: New tests for stale breakpoint
9080 2014-04-23 Pedro Alves <palves@redhat.com>
9082 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9083 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9084 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9085 * gdb.base/hbreak-unmapped.c: New file.
9086 * gdb.base/hbreak-unmapped.exp: New file.
9087 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9088 * lib/gdb.exp (gdb_is_target_remote): ... here.
9090 2014-04-22 Pedro Alves <palves@redhat.com>
9092 * gdb.base/consecutive-step-over.c: New file.
9093 * gdb.base/consecutive-step-over.exp: New file.
9095 2014-04-22 Pedro Alves <palves@redhat.com>
9097 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9098 instead of send_gdb/gdb_expect.
9100 2014-04-22 Yao Qi <yao@codesourcery.com>
9102 * lib/trace-support.exp (generate_tracefile): New procedure.
9103 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9105 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9106 if generate_tracefile returns 1.
9108 2014-04-18 Tom Tromey <palves@redhat.com>
9109 Pedro alves <tromey@redhat.com>
9112 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9113 with a backtrace limit.
9114 * gdb.python/py-frame-inline.exp: Test running to an inline
9115 function with a backtrace limit, and printing the newest frame.
9116 * gdb.python/py-frame-inline.c (main): Call f.
9118 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9120 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9122 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9124 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9125 Drop prefix from unsupported source file path.
9127 2014-04-17 Yao Qi <yao@codesourcery.com>
9129 * lib/gdb.exp (with_target_charset): New proc.
9130 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9131 with_target_charset.
9132 (test_print_strings): Likewise.
9133 (test_repeat_bytes): Likewise.
9134 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9137 2014-04-16 Keith Seitz <keiths@redhat.com>
9140 * gdb.dwarf2/corrupt.c: New file.
9141 * gdb.dwarf2/corrupt.exp: New file.
9143 2014-04-16 Keith Seitz <keiths@redhat.com>
9146 * gdb.cp/namelessclass.cc: New file.
9147 * gdb.cp/namelessclass.exp: New file.
9148 * gdb.cp/namelessclass.S: New file.
9150 2014-04-16 Doug Evans <dje@google.com>
9152 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9154 (gdbserver_default_get_comm_port): New function.
9155 (gdbserver_start): Check if board file provided
9156 "gdbserver,get_comm_port" and use it if so.
9157 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9158 (gdb,socketport): Set to "stdio".
9159 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9160 (stdio_gdbserver_template): Delete.
9161 (${board}_get_remote_address): Update.
9162 (${board}_build_remote_cmd): Delete.
9163 (${board}_get_comm_port): New function.
9164 (${board}_spawn): Update.
9165 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9167 (${board}_get_remote_address): Update.
9168 (${board}_get_comm_port): New function.
9170 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
9172 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9173 appearing in any order.
9175 2014-04-15 Doug Evans <dje@google.com>
9177 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9178 uninitialized value of "description".
9180 2014-04-15 Keith Seitz <keiths@redhat.com>
9182 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9183 Remove unused globals.
9184 (test_running_the_program): Likewise.
9185 (test_controlled_execution): Likewise.
9186 (test_controlling_breakpoints): Likewise.
9187 (test_program_termination): Likewise.
9189 2014-04-15 Keith Seitz <keiths@redhat.com>
9191 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9193 (test_rbreak_creation_and_listing): Likewise.
9194 (test_ignore_count): Likewise.
9195 (test_error): Likewise.
9197 2014-04-15 Pedro Alves <palves@redhat.com>
9199 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9200 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9202 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9203 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9204 to sym-file-loader.c.
9205 (struct library): Forward declare.
9206 (load_shlib, lookup_function): Change prototypes.
9207 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9208 (translate_offset): Remove declarations.
9209 (get_text_addr): New declaration.
9210 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9211 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9213 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9214 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9215 here from sym-file-loader.h.
9216 (struct library): New structure.
9217 (load_shlib, lookup_function): Change prototypes and adjust to
9218 work with a struct library.
9219 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9220 (translate_offset): Make static.
9221 (get_text_addr): New function.
9222 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9224 2014-04-15 Pedro Alves <palves@redhat.com>
9226 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9228 2014-04-15 Pedro Alves <palves@redhat.com>
9230 * gdb.base/sym-file-loader.c: Include <limits.h>.
9231 (SELF_LINK): New define.
9232 (get_origin): New function.
9233 (load_shlib): Use it.
9234 * gdb.base/sym-file.exp: Don't early return if the target is
9235 remote. Use runto_main, and issue fail is that fails. Use
9237 (shlib_name): Delete.
9238 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9240 2014-04-15 Pedro Alves <palves@redhat.com>
9242 * gdb.base/sym-file.exp: Remove regex characters from test
9243 message. Don't refer to breakpoint numbers in test messages.
9245 2014-04-14 Keith Seitz <keiths@redhat.com>
9248 * gdb.cp/var-tag.cc: New file.
9249 * gdb.cp/var-tag.exp: New file.
9250 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9251 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9252 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9253 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9255 2014-04-14 Tom Tromey <tromey@redhat.com>
9257 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9258 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9260 * gdb.cp/enum-class.exp: New file.
9261 * gdb.cp/enum-class.cc: New file.
9263 2014-04-14 Tom Tromey <tromey@redhat.com>
9265 * gdb.dwarf2/enum-type.exp: New file.
9267 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9269 * gdb.mi/mi-vla-c99.exp: New file.
9270 * gdb.mi/vla.c: New file.
9272 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9274 * gdb.base/vla-datatypes.c: New file.
9275 * gdb.base/vla-datatypes.exp: New file.
9277 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9279 * gdb.base/vla-ptr.c: New file.
9280 * gdb.base/vla-ptr.exp: New file.
9282 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9284 * gdb.dwarf2/count.exp: New file.
9286 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9288 * gdb.base/vla-sideeffect.c: New file.
9289 * gdb.base/vla-sideeffect.exp: New file.
9291 2014-04-14 David Blaikie <dblaikie@gmail.com>
9293 * gdb.mi/non-stop.c: Add return value for non-void function return
9295 * gdb.threads/staticthreads.c: Ditto.
9297 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9298 Doug Evans <xdje42@gmail.com>
9300 * gdb.guile/scm-value.c: Improve test case.
9301 * gdb.guile/scm-value.exp: Add new test.
9303 2014-04-11 David Blaikie <dblaikie@gmail.com>
9305 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9306 override Clang's default.
9308 2014-04-11 Joel Brobecker <brobecker@adacore.com>
9310 Revert the following changes (regressions):
9312 * gdb.base/vla-sideeffect.c: New file.
9313 * gdb.base/vla-sideeffect.exp: New file.
9315 * gdb.dwarf2/count.exp: New file.
9317 * gdb.base/vla-multi.c: New file.
9318 * gdb.base/vla-multi.exp: New file.
9320 * gdb.base/vla-ptr.c: New file.
9321 * gdb.base/vla-ptr.exp: New file.
9323 * gdb.base/vla-datatypes.c: New file.
9324 * gdb.base/vla-datatypes.exp: New file.
9326 * gdb.mi/mi-vla-c99.exp: New file.
9327 * gdb.mi/vla.c: New file.
9329 2014-04-11 Keith Seitz <keiths@redhat.com>
9332 * gdb.cp/cpsizeof.exp: New file.
9333 * gdb.cp/cpsizeof.cc: New file.
9335 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9337 * gdb.mi/mi-vla-c99.exp: New file.
9338 * gdb.mi/vla.c: New file.
9340 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9342 * gdb.base/vla-datatypes.c: New file.
9343 * gdb.base/vla-datatypes.exp: New file.
9345 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9347 * gdb.base/vla-ptr.c: New file.
9348 * gdb.base/vla-ptr.exp: New file.
9350 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9352 * gdb.base/vla-multi.c: New file.
9353 * gdb.base/vla-multi.exp: New file.
9355 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9357 * gdb.dwarf2/count.exp: New file.
9359 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9361 * gdb.base/vla-sideeffect.c: New file.
9362 * gdb.base/vla-sideeffect.exp: New file.
9364 2014-04-11 Yao Qi <yao@codesourcery.com>
9366 * gdb.base/completion.exp: Check file exists before running tests
9369 2014-04-10 Pedro Alves <palves@redhat.com>
9371 * gdb.base/cond-eval-mode.c: New file.
9372 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9373 prepare_for_testing to build the new file. Check result of
9375 (test_break, test_watch): New procedures.
9376 (top level): Use them.
9378 2014-04-08 Pierre Muller <muller@sourceware.org>
9380 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9381 Ctrl-V use for mingw hosts.
9383 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9385 * gdb.python/py-value.c: Improve test case.
9386 * gdb.python/py-value.exp: Add new test.
9388 2014-04-07 David Blaikie <dblaikie@gmail.com>
9390 * lib/compiler.c: Identify the clang compiler.
9391 * lib/compiler.cc: Ditto.
9393 2014-04-03 Yao Qi <yao@codesourcery.com>
9395 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9397 2014-04-01 Anton Blanchard <anton@samba.org>
9399 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9402 2014-04-01 Anton Blanchard <anton@samba.org>
9404 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9405 prepare_for_testing.
9407 2014-04-01 Anton Blanchard <anton@samba.org>
9409 * gdb.arch/ppc64-atomic-inst.c: Remove.
9410 * gdb.arch/ppc64-atomic-inst.S: New file.
9411 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9413 2014-03-31 Doug Evans <dje@google.com>
9415 * gdb.base/print-symbol-loading-lib.c: New file.
9416 * gdb.base/print-symbol-loading-main.c: New file.
9417 * gdb.base/print-symbol-loading.exp: New file.
9419 2014-03-31 Yao Qi <yao@codesourcery.com>
9421 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9423 2014-03-28 Joel Brobecker <brobecker@adacore.com>
9425 * gdb.ada/mi_dyn_arr: New testcase.
9427 2014-03-27 Doug Evans <dje@google.com>
9429 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9431 2014-03-27 Yao Qi <yao@codesourcery.com>
9433 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9434 if target is nios2-*-*.
9436 2014-03-26 Yao Qi <yao@codesourcery.com>
9438 * lib/gdb.exp (readline_is_used): New proc.
9439 * gdb.base/completion.exp: Move tests on command complete up.
9440 Skip the rest of tests if readline is not used.
9441 * gdb.ada/complete.exp: Skp the test if readline is not
9443 * gdb.base/filesym.exp: Likewise.
9444 * gdb.base/macscp.exp: Likewise.
9445 * gdb.base/readline-ask.exp: Likewise.
9446 * gdb.base/readline.exp: Likewise.
9447 * gdb.python/py-cmd.exp: Likewise.
9448 * gdb.trace/tfile.exp: Likewise.
9450 2014-03-26 Yao Qi <yao@codesourcery.com>
9452 * gdb.base/macscp.exp: Fix code format issues.
9454 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9456 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9457 * gdb.asm/powerpc64le.inc: New file.
9459 2014-03-25 Pedro Alves <palves@redhat.com>
9460 Doug Evans <dje@google.com>
9462 * gdb.base/source-execution.c: New file.
9463 * gdb.base/source-execution.exp: New file.
9464 * gdb.base/source-execution.gdb: New file.
9466 2014-03-24 Doug Evans <dje@google.com>
9468 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9471 2014-03-24 Hui Zhu <hui@codesourcery.com>
9472 Pedro Alves <palves@redhat.com>
9474 PR breakpoints/16101
9475 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9476 test pass/fail messages. Detect missing support for dprintf when
9477 breakpoints are actually inserted.
9478 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9479 breakpoints are actually inserted.
9480 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9483 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9485 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9487 2014-03-22 Doug Evans <xdje42@gmail.com>
9489 * gdb.python/python.exp (python not supported): Verify multi-line
9490 python command issues an error.
9491 * gdb.guile/guile.exp (guile not supported): Verify multi-line
9492 guile command issues an error.
9494 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9496 * gdb.threads/thread-specific.exp: Handle the lack of usable
9497 $this_breakpoint and $this_thread.
9499 2014-03-21 Hui Zhu <hui@codesourcery.com>
9501 * gdb.base/attach.exp (do_command_attach_tests): New.
9503 2014-03-20 Tom Tromey <tromey@redhat.com>
9504 Pedro Alves <palves@redhat.com>
9507 * gdb.base/condbreak-call-false.c: New file.
9508 * gdb.base/condbreak-call-false.exp: New file.
9510 2014-03-20 Pedro Alves <palves@redhat.com>
9512 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9514 (block_signals, unblock_signals): Delete.
9515 (child_function_2, main): Remove references to deleted variable
9518 2014-03-20 Pedro Alves <palves@redhat.com>
9520 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9521 Use pthread_kill to signal thread 2.
9522 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9523 Adjust to make the test send itself a signal rather than using the
9524 host's "kill" command.
9526 2014-03-20 Pedro Alves <palves@redhat.com>
9528 * gdb.threads/multiple-step-overs.c: New file.
9529 * gdb.threads/multiple-step-overs.exp: New file.
9530 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9531 Adjust expected infrun debug output.
9533 2014-03-20 Pedro Alves <palves@redhat.com>
9535 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9536 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9538 2014-03-20 Pedro Alves <palves@redhat.com>
9541 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9542 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9543 of gdb_test_multiple.
9544 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9545 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9547 2014-03-20 Pedro Alves <palves@redhat.com>
9549 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9550 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9552 2014-03-19 Pedro Alves <palves@redhat.com>
9554 * gdb.base/async.exp: Remove early return.
9556 2014-03-19 Pedro Alves <palves@redhat.com>
9558 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9560 2014-03-19 Pedro Alves <palves@redhat.com>
9562 * gdb.base/async.exp (test_background): Expect \r\n after
9563 "completed." in the fail pattern.
9565 2014-03-19 Pedro Alves <palves@redhat.com>
9567 * gdb.base/async.exp (test_background): New procedure.
9568 Use it for all background execution command tests.
9570 2014-03-19 Pedro Alves <palves@redhat.com>
9572 * gdb.base/async.exp: Use prepare_for_testing.
9574 2014-03-19 Pedro Alves <palves@redhat.com>
9576 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9579 2014-03-19 Pedro Alves <palves@redhat.com>
9581 * gdb.base/async.c (main): Add "jump here" and "until here" line
9583 * gdb.base/async.exp (jump_here): New global.
9584 (jump& test): Use it.
9585 (until_here): New global.
9586 (until& test): Use it.
9588 2014-03-19 Pedro Alves <palves@redhat.com>
9590 * gdb.base/async.exp: Don't frob gdb_protocol.
9592 2014-03-18 Doug Evans <xdje42@gmail.com>
9594 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9595 Fix spelling of exec-done-display.
9597 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9600 * gdb.base/gdb-sigterm.c: New file.
9601 * gdb.base/gdb-sigterm.exp: New file.
9603 2014-03-18 Pedro Alves <palves@redhat.com>
9606 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9607 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9610 2014-03-17 Joel Brobecker <brobecker@adacore.com>
9612 * gdb.ada/pckd_arr_ren: New testcase.
9614 2014-03-13 Doug Evans <xdje42@gmail.com>
9617 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9618 collect after discarding symbols.
9620 2014-03-13 Ludovic Courtès <ludo@gnu.org>
9621 Doug Evans <xdje42@gmail.com>
9623 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9624 to history survives a gc.
9626 2014-03-13 Pedro Alves <palves@redhat.com>
9628 * gdb.base/default.exp: Don't test "target procfs".
9630 2014-03-13 Pedro Alves <palves@redhat.com>
9632 * gdb.base/default.exp: Update "target child" and "target procfs"
9633 tests to not expect "Unix".
9635 2014-03-12 Tom Tromey <tromey@redhat.com>
9637 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9638 New procs. Add target-async tests.
9639 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9640 Add target-async tests.
9642 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9644 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9645 'func_start' and 'func_end' for the beginning and end of the
9646 function code, respectively.
9647 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9648 'func_end' instead of 'func' and 'main'.
9650 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9652 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9653 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9654 generate the debug info assembler source.
9656 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9658 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9659 * gdb.dwarf2/arr-subrange.exp: Likewise.
9660 * gdb.dwarf2/dwz.exp: Likewise.
9661 * gdb.dwarf2/method-ptr.exp: Likewise.
9662 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9663 * gdb.dwarf2/subrange.exp: Likewise.
9664 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9665 * gdb.dwarf2/implptrpiece.exp: Likewise.
9666 * gdb.dwarf2/nostaticblock.exp: Likewise.
9668 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9670 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9671 directory to absolute path name arguments.
9673 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9675 * gdb.ada/tagged_access: New testcase.
9677 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9679 * gdb.btrace/data.exp: Update expected output.
9681 2014-03-06 Yao Qi <yao@codesourcery.com>
9683 * gdb.trace/pr16508.exp: New file.
9685 2014-03-05 Pedro Alves <palves@redhat.com>
9688 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9690 (top level): Adjust to use it. Add tests that exercise breakpoint
9691 interaction with the code-cache.
9693 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9695 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9696 test for 'history-append!'.
9698 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9700 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9701 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9702 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9703 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9704 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9705 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9707 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9709 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9710 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9711 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9713 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9715 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9717 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9719 * gdb.dwarf2/arr-stride.c: New file.
9720 * gdb.dwarf2/arr-stride.exp: New file.
9722 2014-02-26 Pedro Alves <palves@redhat.com>
9724 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9725 that won't ever trigger. Make sure that GDB reports the correct
9726 breakpoint that caused the stop.
9728 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9731 * gdb.base/auto-load-script: New file.
9732 * gdb.base/auto-load.c: New file.
9733 * gdb.base/auto-load.exp: New file.
9736 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9738 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9740 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9741 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9743 2014-02-24 Doug Evans <dje@google.com>
9745 * lib/gdb.exp (run_on_host): Log error output if program fails.
9747 2014-02-21 Pedro Alves <palves@redhat.com>
9749 * gdb.threads/step-after-sr-lock.c: Rename to ...
9750 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9751 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9752 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9755 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9758 * gdb.arch/amd64-stap-special-operands.exp: New file.
9759 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9760 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9761 * gdb.arch/amd64-stap-triplet.S: Likewise.
9762 * gdb.arch/amd64-stap-triplet.c: Likewise.
9764 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9766 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9767 in .section pseudo-op.
9769 2014-02-20 lin zuojian <manjian2006@gmail.com>
9770 Joel Brobecker <brobecker@adacore.com>
9771 Doug Evans <xdje42@gmail.com>
9774 * gdb.dwarf2/dw2-icycle.S: New file.
9775 * gdb.dwarf2/dw2-icycle.c: New file.
9776 * gdb.dwarf2/dw2-icycle.exp: New file.
9778 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9780 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9781 operations on gdb.Value objects.
9782 * gdb.python/py-value-cc.exp: Add new test to test operations on
9785 2014-02-18 Doug Evans <dje@google.com>
9787 * Makefile.in (TESTS): New variable.
9788 (expanded_tests, expanded_tests_or_none): New variables
9789 (check-single): Pass $(expanded_tests_or_none) to runtest.
9790 (check-parallel): Only run tests in $(TESTS) if non-empty.
9791 (check/no-matching-tests-found): New rule.
9792 * README: Document TESTS makefile variable.
9794 2014-02-18 Doug Evans <dje@google.com>
9796 * Makefile.in (check-parallel): rm -rf outputs temp.
9798 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9800 Fix "ERROR: no fileid for" in the testsuite.
9801 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9803 2014-02-12 Doug Evans <dje@google.com>
9805 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9806 (MISCELLANEOUS): New variable.
9807 (clean): rm -rf $(MISCELLANEOUS).
9808 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9809 dwp live in the same directory as symlinks, with each symlink pointed
9810 to a differently named file in a different directory.
9812 2014-02-11 Doug Evans <dje@google.com>
9814 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9815 of Tcl file commands.
9817 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9819 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9822 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9824 * gdb.ada/tick_length_array_enum_idx: New testcase.
9826 2014-02-10 Doug Evans <xdje42@gmail.com>
9828 * configure.ac (AC_OUTPUT): Add gdb.guile.
9829 * configure: Regenerate.
9830 * lib/gdb-guile.exp: New file.
9831 * lib/gdb.exp (get_target_charset): New function.
9832 * gdb.base/help.exp: Update expected output from "apropos apropos".
9833 * gdb.guile/Makefile.in: New file.
9834 * gdb.guile/guile.exp: New file.
9835 * gdb.guile/scm-arch.c: New file.
9836 * gdb.guile/scm-arch.exp: New file.
9837 * gdb.guile/scm-block.c: New file.
9838 * gdb.guile/scm-block.exp: New file.
9839 * gdb.guile/scm-breakpoint.c: New file.
9840 * gdb.guile/scm-breakpoint.exp: New file.
9841 * gdb.guile/scm-disasm.c: New file.
9842 * gdb.guile/scm-disasm.exp: New file.
9843 * gdb.guile/scm-equal.c: New file.
9844 * gdb.guile/scm-equal.exp: New file.
9845 * gdb.guile/scm-error.exp: New file.
9846 * gdb.guile/scm-error.scm: New file.
9847 * gdb.guile/scm-frame-args.c: New file.
9848 * gdb.guile/scm-frame-args.exp: New file.
9849 * gdb.guile/scm-frame-args.scm: New file.
9850 * gdb.guile/scm-frame-inline.c: New file.
9851 * gdb.guile/scm-frame-inline.exp: New file.
9852 * gdb.guile/scm-frame.c: New file.
9853 * gdb.guile/scm-frame.exp: New file.
9854 * gdb.guile/scm-generics.exp: New file.
9855 * gdb.guile/scm-gsmob.exp: New file.
9856 * gdb.guile/scm-iterator.c: New file.
9857 * gdb.guile/scm-iterator.exp: New file.
9858 * gdb.guile/scm-math.c: New file.
9859 * gdb.guile/scm-math.exp: New file.
9860 * gdb.guile/scm-objfile-script-gdb.in: New file.
9861 * gdb.guile/scm-objfile-script.c: New file.
9862 * gdb.guile/scm-objfile-script.exp: New file.
9863 * gdb.guile/scm-objfile.c: New file.
9864 * gdb.guile/scm-objfile.exp: New file.
9865 * gdb.guile/scm-ports.exp: New file.
9866 * gdb.guile/scm-pretty-print.c: New file.
9867 * gdb.guile/scm-pretty-print.exp: New file.
9868 * gdb.guile/scm-pretty-print.scm: New file.
9869 * gdb.guile/scm-section-script.c: New file.
9870 * gdb.guile/scm-section-script.exp: New file.
9871 * gdb.guile/scm-section-script.scm: New file.
9872 * gdb.guile/scm-symbol.c: New file.
9873 * gdb.guile/scm-symbol.exp: New file.
9874 * gdb.guile/scm-symtab-2.c: New file.
9875 * gdb.guile/scm-symtab.c: New file.
9876 * gdb.guile/scm-symtab.exp: New file.
9877 * gdb.guile/scm-type.c: New file.
9878 * gdb.guile/scm-type.exp: New file.
9879 * gdb.guile/scm-value-cc.cc: New file.
9880 * gdb.guile/scm-value-cc.exp: New file.
9881 * gdb.guile/scm-value.c: New file.
9882 * gdb.guile/scm-value.exp: New file.
9883 * gdb.guile/source2.scm: New file.
9884 * gdb.guile/types-module.cc: New file.
9885 * gdb.guile/types-module.exp: New file.
9887 2014-02-10 Yao Qi <yao@codesourcery.com>
9890 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9891 * configure: Regenerated.
9892 * Makefile.in: New file.
9894 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9896 * gdb.python/py-framefilter.exp: Fix typo.
9898 2014-02-08 Yao Qi <yao@codesourcery.com>
9900 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9901 that no =breakpoint-modified is emitted when breakpoints are
9902 modified through MI commands.
9904 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9905 Pedro Alves <palves@redhat.com>
9907 * gdb.threads/step-after-sr-lock.c: New file.
9908 * gdb.threads/step-after-sr-lock.exp: New file.
9910 2014-02-07 Pedro Alves <palves@redhat.com>
9912 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9914 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9916 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9917 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9919 2014-02-06 Doug Evans <xdje42@gmail.com>
9921 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9924 * gdb.gdb/python-interrupts.exp: New file.
9926 2014-02-05 Yao Qi <yao@codesourcery.com>
9928 * gdb.trace/report.exp (use_collected_data): Test the output
9929 of "info threads" and "info inferiors".
9931 2014-02-05 Yao Qi <yao@codesourcery.com>
9935 2013-05-24 Yao Qi <yao@codesourcery.com>
9937 * gdb.trace/tfile.exp: Test inferior and thread.
9939 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9941 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9943 * gdb.base/step-bt.c: Call hello via function pointer to make
9944 sure its first instruction is executed on powerpc64le-linux.
9946 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9948 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9950 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9952 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9953 of the test patterns for use on little-endian systems.
9955 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9957 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9958 (decimal_vector): Fix for little-endian.
9960 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9962 * gdb.arch/sparc-sysstep.exp: New file.
9963 * gdb.arch/sparc-sysstep.c: Likewise.
9965 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9967 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9969 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9971 2014-01-23 Tom Tromey <tromey@redhat.com>
9973 * gdb.ada/array_char_idx: New testcase.
9975 2014-01-23 Tom Tromey <tromey@redhat.com>
9978 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9979 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9982 2014-01-23 Tom Tromey <tromey@redhat.com>
9985 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9986 string from an inferior frame.
9987 * gdb.python/py-framefilter-mi.exp: Update.
9989 2014-01-22 Doug Evans <dje@google.com>
9991 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9993 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9995 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9997 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9999 * gdb.trace/entry-values.exp: Remove excess space character from
10000 regex patterns. Handle s390 call instruction.
10002 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10004 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10005 define "*_start" label. Make "name" static.
10006 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10007 ${name} by references to ${name}_start.
10009 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10011 * gdb.base/info-macros.exp: Remove "debug" from the compile
10014 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10016 * gdb.dlang/demangle.exp: New file.
10018 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10020 * gdb.dlang/primitive-types.exp: New file.
10022 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10024 * configure.ac: Create gdb.dlang/Makefile.
10025 * configure: Regenerate.
10026 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10027 * gdb.dlang/Makefile.in: New file.
10028 * lib/d-support.exp: New file.
10029 * lib/gdb.exp (skip_d_tests): New proc.
10031 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10033 * gdb.btrace/delta.exp: Check reverse stepi.
10034 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10035 * gdb.btrace/finish.exp: New.
10036 * gdb.btrace/next.exp: New.
10037 * gdb.btrace/nexti.exp: New.
10038 * gdb.btrace/record_goto.c: Add comments.
10039 * gdb.btrace/step.exp: New.
10040 * gdb.btrace/stepi.exp: New.
10041 * gdb.btrace/multi-thread-step.c: New.
10042 * gdb.btrace/multi-thread-step.exp: New.
10043 * gdb.btrace/rn-dl-bind.c: New.
10044 * gdb.btrace/rn-dl-bind.exp: New.
10045 * gdb.btrace/data.c: New.
10046 * gdb.btrace/data.exp: New.
10047 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10049 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10051 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10052 * gdb.btrace/exception.exp: Update.
10053 * gdb.btrace/instruction_history.exp: Update.
10054 * gdb.btrace/record_goto.exp: Update.
10055 * gdb.btrace/tailcall.exp: Update.
10056 * gdb.btrace/unknown_functions.exp: Update.
10057 * gdb.btrace/delta.exp: New.
10059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10061 * gdb.btrace/record_goto.exp: Add backtrace test.
10062 * gdb.btrace/tailcall.exp: Add backtrace test.
10064 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10066 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10067 * gdb.btrace/record_goto.c: New.
10068 * gdb.btrace/record_goto.exp: New.
10069 * gdb.btrace/x86-record_goto.S: New.
10071 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10073 * gdb.btrace/function_call_history.exp: Update tests.
10074 * gdb.btrace/instruction_history.exp: Update tests.
10076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10078 * gdb.btrace/function_call_history.exp: Fix expected field
10079 order for "record function-call-history".
10080 Add new tests for "record function-call-history /c".
10081 * gdb.btrace/exception.cc: New.
10082 * gdb.btrace/exception.exp: New.
10083 * gdb.btrace/tailcall.exp: New.
10084 * gdb.btrace/x86-tailcall.S: New.
10085 * gdb.btrace/x86-tailcall.c: New.
10086 * gdb.btrace/unknown_functions.c: New.
10087 * gdb.btrace/unknown_functions.exp: New.
10088 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10090 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10092 * gdb.btrace/instruction_history.exp: Update.
10093 * gdb.btrace/function_call_history.exp: Update.
10095 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10097 * gdb.btrace/function_call_history.exp: Fix expected function
10099 * gdb.btrace/instruction_history.exp: Initialize traced.
10100 Remove traced_functions.
10102 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10104 * gdb.btrace/function_call_history.exp: Update
10105 * gdb.btrace/instruction_history.exp: Update.
10107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10109 * gdb.btrace/enable.exp: Update expected text.
10111 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10113 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10116 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10118 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10120 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10122 * lib/gdb.exp (supports_process_record): Return true for
10123 arm*-linux*. (supports_reverse): Likewise.
10125 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10129 * gdb.python/py-type.c: Enhance test case.
10130 * gdb.python/py-value-cc.cc: Likewise
10131 * gdb.python/py-type.exp: Add new tests.
10132 * gdb.python/py-value-cc.exp: Likewise
10134 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10135 Pedro Alves <palves@redhat.com>
10137 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10138 Make "name" extern.
10139 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10140 references to ${name}_start by references to ${name}.
10142 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10144 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10146 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10148 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10150 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10151 Pedro Alves <palves@redhat.com>
10153 * gdb.mi/mi-info-os.exp: Connect to the target with
10154 mi_gdb_target_load.
10156 2014-01-08 Pedro Alves <palves@redhat.com>
10158 * gdb.threads/reconnect-signal.c: New file.
10159 * gdb.threads/reconnect-signal.exp: New file.
10161 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10163 * gdb.base/source-dir.exp: New file.
10165 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10167 * gdb.ada/mi_interface: New testcase.
10169 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10171 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10172 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10173 gdb.ada/pp-rec-component/pck.ads: New files.
10175 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10177 * gdb.python/py-pp-integral.c: New file.
10178 * gdb.python/py-pp-integral.py: New file.
10179 * gdb.python/py-pp-integral.exp: New file.
10181 For older changes see ChangeLog-1993-2013.
10183 ;; Local Variables:
10184 ;; mode: change-log
10187 ;; version-control: never
10190 Copyright 2014-2016 Free Software Foundation, Inc.
10191 Copying and distribution of this file, with or without modification,
10192 are permitted provided the copyright notice and this notice are preserved.