1 2016-12-02 Tom Tromey <tom@tromey.com>
3 * gdb.dwarf2/main-subprogram.c: New file.
4 * gdb.dwarf2/main-subprogram.exp: New file.
6 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10 gdb_test_no_output for a couple of cases.
11 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
15 Fix test names and standardize compilation error messages throughout
19 * gdb.arch/alpha-step.exp
20 * gdb.arch/e500-prologue.exp
21 * gdb.arch/ftrace-insn-reloc.exp
22 * gdb.arch/gdb1291.exp
23 * gdb.arch/gdb1431.exp
24 * gdb.arch/gdb1558.exp
25 * gdb.arch/i386-dr3-watch.exp
26 * gdb.arch/i386-sse-stack-align.exp
27 * gdb.arch/ia64-breakpoint-shadow.exp
28 * gdb.arch/pa-nullify.exp
29 * gdb.arch/powerpc-aix-prologue.exp
30 * gdb.arch/thumb-bx-pc.exp
31 * gdb.base/annota1.exp
32 * gdb.base/annota3.exp
33 * gdb.base/arrayidx.exp
38 * gdb.base/bfp-test.exp
39 * gdb.base/bigcore.exp
40 * gdb.base/bitfields2.exp
41 * gdb.base/break-fun-addr.exp
42 * gdb.base/break-probes.exp
43 * gdb.base/call-rt-st.exp
44 * gdb.base/callexit.exp
45 * gdb.base/catch-fork-kill.exp
46 * gdb.base/charset.exp
47 * gdb.base/checkpoint.exp
48 * gdb.base/comprdebug.exp
49 * gdb.base/constvars.exp
50 * gdb.base/coredump-filter.exp
54 * gdb.base/display.exp
56 * gdb.base/dprintf-pending.exp
57 * gdb.base/dso2dso.exp
58 * gdb.base/dtrace-probe.exp
60 * gdb.base/enum_cond.exp
61 * gdb.base/exe-lock.exp
62 * gdb.base/exec-invalid-sysroot.exp
63 * gdb.base/execl-update-breakpoints.exp
68 * gdb.base/fixsection.exp
69 * gdb.base/foll-vfork.exp
70 * gdb.base/frame-args.exp
72 * gdb.base/gdb1250.exp
73 * gdb.base/global-var-nested-by-dso.exp
74 * gdb.base/gnu-ifunc.exp
75 * gdb.base/hashline1.exp
76 * gdb.base/hashline2.exp
77 * gdb.base/hashline3.exp
78 * gdb.base/hbreak-in-shr-unsupported.exp
80 * gdb.base/infcall-input.exp
81 * gdb.base/info-fun.exp
82 * gdb.base/info-shared.exp
83 * gdb.base/jit-simple.exp
88 * gdb.base/lineinc.exp
89 * gdb.base/logical.exp
90 * gdb.base/longjmp.exp
92 * gdb.base/miscexprs.exp
93 * gdb.base/new-ui-echo.exp
94 * gdb.base/new-ui-pending-input.exp
96 * gdb.base/nodebug.exp
97 * gdb.base/nofield.exp
98 * gdb.base/offsets.exp
99 * gdb.base/overlays.exp
100 * gdb.base/pending.exp
101 * gdb.base/pointers.exp
102 * gdb.base/pr11022.exp
103 * gdb.base/printcmds.exp
104 * gdb.base/prologue.exp
105 * gdb.base/ptr-typedef.exp
106 * gdb.base/realname-expand.exp
107 * gdb.base/relativedebug.exp
108 * gdb.base/relocate.exp
109 * gdb.base/remote.exp
110 * gdb.base/reread.exp
111 * gdb.base/return2.exp
112 * gdb.base/savedregs.exp
114 * gdb.base/sepdebug.exp
115 * gdb.base/sepsymtab.exp
116 * gdb.base/set-inferior-tty.exp
117 * gdb.base/setshow.exp
118 * gdb.base/shlib-call.exp
119 * gdb.base/sigaltstack.exp
120 * gdb.base/siginfo-addr.exp
121 * gdb.base/signals.exp
122 * gdb.base/signull.exp
123 * gdb.base/sigrepeat.exp
124 * gdb.base/so-impl-ld.exp
125 * gdb.base/solib-display.exp
126 * gdb.base/solib-overlap.exp
127 * gdb.base/solib-search.exp
128 * gdb.base/solib-symbol.exp
129 * gdb.base/structs.exp
130 * gdb.base/structs2.exp
131 * gdb.base/symtab-search-order.exp
133 * gdb.base/unload.exp
134 * gdb.base/varargs.exp
135 * gdb.base/watchpoint-solib.exp
136 * gdb.base/watchpoint.exp
137 * gdb.base/whatis.exp
138 * gdb.base/wrong_frame_bt_full.exp
139 * gdb.btrace/dlopen.exp
140 * gdb.cell/ea-standalone.exp
141 * gdb.cell/ea-test.exp
145 * gdb.cp/nextoverthrow.exp
147 * gdb.disasm/am33.exp
148 * gdb.disasm/h8300s.exp
149 * gdb.disasm/mn10300.exp
151 * gdb.dwarf2/dw2-dir-file-name.exp
152 * gdb.fortran/complex.exp
153 * gdb.fortran/library-module.exp
154 * gdb.guile/scm-pretty-print.exp
155 * gdb.guile/scm-symbol.exp
156 * gdb.guile/scm-type.exp
157 * gdb.guile/scm-value.exp
158 * gdb.linespec/linespec.exp
161 * gdb.mi/mi-breakpoint-changed.exp
162 * gdb.mi/mi-dprintf-pending.exp
163 * gdb.mi/mi-dprintf.exp
164 * gdb.mi/mi-exit-code.exp
165 * gdb.mi/mi-pending.exp
166 * gdb.mi/mi-solib.exp
167 * gdb.mi/new-ui-mi-sync.exp
169 * gdb.mi/user-selected-context-sync.exp
170 * gdb.opt/solib-intra-step.exp
171 * gdb.python/py-events.exp
172 * gdb.python/py-finish-breakpoint.exp
173 * gdb.python/py-mi.exp
174 * gdb.python/py-prettyprint.exp
175 * gdb.python/py-shared.exp
176 * gdb.python/py-symbol.exp
177 * gdb.python/py-template.exp
178 * gdb.python/py-type.exp
179 * gdb.python/py-value.exp
180 * gdb.reverse/solib-precsave.exp
181 * gdb.reverse/solib-reverse.exp
182 * gdb.server/solib-list.exp
183 * gdb.stabs/weird.exp
184 * gdb.threads/reconnect-signal.exp
185 * gdb.threads/stepi-random-signal.exp
186 * gdb.trace/actions.exp
188 * gdb.trace/backtrace.exp
189 * gdb.trace/change-loc.exp
190 * gdb.trace/deltrace.exp
191 * gdb.trace/ftrace-lock.exp
192 * gdb.trace/ftrace.exp
193 * gdb.trace/infotrace.exp
194 * gdb.trace/mi-tracepoint-changed.exp
195 * gdb.trace/packetlen.exp
196 * gdb.trace/passcount.exp
197 * gdb.trace/pending.exp
198 * gdb.trace/range-stepping.exp
199 * gdb.trace/report.exp
200 * gdb.trace/stap-trace.exp
201 * gdb.trace/tfind.exp
202 * gdb.trace/trace-break.exp
203 * gdb.trace/trace-condition.exp
204 * gdb.trace/trace-enable-disable.exp
205 * gdb.trace/trace-mt.exp
206 * gdb.trace/tracecmd.exp
207 * gdb.trace/tspeed.exp
211 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
213 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
214 with gdb_test_no_output.
215 Use command as test name.
217 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
219 Fix test names starting with uppercase throughout the files.
221 * gdb.ada/assign_1.exp
222 * gdb.ada/boolean_expr.exp
223 * gdb.base/arrayidx.exp
225 * gdb.base/gcore-buffer-overflow.exp
226 * gdb.base/testenv.exp
227 * gdb.compile/compile.exp
228 * gdb.python/py-framefilter-invalidarg.exp
229 * gdb.python/py-framefilter.exp
231 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
233 Fix test names starting with uppercase throughout the files.
235 * gdb.ada/array_return.exp
236 * gdb.ada/expr_delims.exp
237 * gdb.ada/mi_dyn_arr.exp
238 * gdb.ada/mi_interface.exp
239 * gdb.ada/mi_var_array.exp
240 * gdb.ada/watch_arg.exp
241 * gdb.arch/alpha-step.exp
242 * gdb.arch/altivec-regs.exp
243 * gdb.arch/e500-regs.exp
244 * gdb.arch/powerpc-d128-regs.exp
245 * gdb.base/arrayidx.exp
247 * gdb.base/checkpoint.exp
248 * gdb.base/debug-expr.exp
251 * gdb.base/sepdebug.exp
252 * gdb.base/testenv.exp
253 * gdb.base/watch_thread_num.exp
254 * gdb.base/watchpoint-cond-gone.exp
256 * gdb.cell/ea-cache.exp
257 * gdb.compile/compile.exp
259 * gdb.gdb/selftest.exp
260 * gdb.gdb/xfullpath.exp
262 * gdb.go/integers.exp
263 * gdb.objc/basicclass.exp
264 * gdb.pascal/hello.exp
265 * gdb.pascal/integers.exp
266 * gdb.python/py-breakpoint.exp
267 * gdb.python/py-cmd.exp
268 * gdb.python/py-linetable.exp
269 * gdb.python/py-xmethods.exp
270 * gdb.python/python.exp
271 * gdb.reverse/consecutive-precsave.exp
272 * gdb.reverse/finish-precsave.exp
273 * gdb.reverse/i386-precsave.exp
274 * gdb.reverse/machinestate-precsave.exp
275 * gdb.reverse/sigall-precsave.exp
276 * gdb.reverse/solib-precsave.exp
277 * gdb.reverse/step-precsave.exp
278 * gdb.reverse/until-precsave.exp
279 * gdb.reverse/watch-precsave.exp
280 * gdb.threads/leader-exit.exp
281 * gdb.threads/pthreads.exp
282 * gdb.threads/wp-replication.exp
283 * gdb.trace/actions.exp
284 * gdb.trace/mi-tsv-changed.exp
287 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
289 Fix test names starting with uppercase throughout the files.
291 * gdb.arch/i386-bp_permanent.exp
292 * gdb.arch/i386-gnu-cfi.exp
293 * gdb.base/disasm-end-cu.exp
294 * gdb.base/macscp.exp
295 * gdb.base/pending.exp
296 * gdb.base/watch_thread_num.exp
297 * gdb.cp/exception.exp
300 * gdb.python/py-evsignal.exp
301 * gdb.python/python.exp
302 * gdb.trace/tracecmd.exp
304 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
306 Fix test names starting with uppercase throughout the files.
308 * gdb.base/charset.exp
310 * gdb.base/multi-forks.exp
311 * gdb.guile/scm-progspace.exp
312 * gdb.opencl/datatypes.exp
313 * gdb.python/py-block.exp
314 * gdb.python/py-function.exp
315 * gdb.python/py-symbol.exp
316 * gdb.python/py-symtab.exp
317 * gdb.python/py-xmethods.exp
318 * gdb.reverse/break-precsave.exp
319 * gdb.reverse/break-reverse.exp
320 * gdb.reverse/consecutive-precsave.exp
321 * gdb.reverse/consecutive-reverse.exp
322 * gdb.reverse/finish-precsave.exp
323 * gdb.reverse/finish-reverse-bkpt.exp
324 * gdb.reverse/finish-reverse.exp
325 * gdb.reverse/fstatat-reverse.exp
326 * gdb.reverse/getresuid-reverse.exp
327 * gdb.reverse/i386-precsave.exp
328 * gdb.reverse/i386-reverse.exp
329 * gdb.reverse/i386-sse-reverse.exp
330 * gdb.reverse/i387-stack-reverse.exp
331 * gdb.reverse/insn-reverse.exp
332 * gdb.reverse/machinestate-precsave.exp
333 * gdb.reverse/machinestate.exp
334 * gdb.reverse/next-reverse-bkpt-over-sr.exp
335 * gdb.reverse/pipe-reverse.exp
336 * gdb.reverse/readv-reverse.exp
337 * gdb.reverse/recvmsg-reverse.exp
338 * gdb.reverse/rerun-prec.exp
339 * gdb.reverse/s390-mvcle.exp
340 * gdb.reverse/sigall-precsave.exp
341 * gdb.reverse/sigall-reverse.exp
342 * gdb.reverse/solib-precsave.exp
343 * gdb.reverse/solib-reverse.exp
344 * gdb.reverse/step-precsave.exp
345 * gdb.reverse/step-reverse.exp
346 * gdb.reverse/time-reverse.exp
347 * gdb.reverse/until-precsave.exp
348 * gdb.reverse/until-reverse.exp
349 * gdb.reverse/waitpid-reverse.exp
350 * gdb.reverse/watch-precsave.exp
351 * gdb.reverse/watch-reverse.exp
353 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
355 Fix test names starting with uppercase throughout the files.
357 * gdb.arch/i386-mpx-simple_segv.exp
358 * gdb.arch/i386-mpx.exp
359 * gdb.arch/i386-permbkpt.exp
360 * gdb.arch/pa-nullify.exp
361 * gdb.arch/powerpc-d128-regs.exp
362 * gdb.arch/vsx-regs.exp
363 * gdb.base/bfp-test.exp
365 * gdb.base/breakpoint-shadow.exp
366 * gdb.base/callfuncs.exp
367 * gdb.base/charset.exp
368 * gdb.base/commands.exp
369 * gdb.base/completion.exp
370 * gdb.base/dfp-test.exp
372 * gdb.base/ending-run.exp
374 * gdb.base/expand-psymtabs.exp
375 * gdb.base/float128.exp
376 * gdb.base/floatn.exp
377 * gdb.base/foll-exec-mode.exp
378 * gdb.base/gdb1056.exp
379 * gdb.base/gdb11531.exp
380 * gdb.base/kill-after-signal.exp
381 * gdb.base/multi-forks.exp
382 * gdb.base/overlays.exp
383 * gdb.base/pending.exp
384 * gdb.base/sepdebug.exp
385 * gdb.base/testenv.exp
386 * gdb.base/valgrind-db-attach.exp
387 * gdb.base/watch_thread_num.exp
388 * gdb.base/watchpoint-cond-gone.exp
389 * gdb.base/watchpoint.exp
390 * gdb.base/watchpoints.exp
391 * gdb.cp/arg-reference.exp
392 * gdb.cp/baseenum.exp
393 * gdb.cp/operator.exp
395 * gdb.dwarf2/dw2-op-out-param.exp
396 * gdb.dwarf2/dw2-reg-undefined.exp
399 * gdb.go/integers.exp
402 * gdb.guile/scm-parameter.exp
403 * gdb.guile/scm-progspace.exp
404 * gdb.guile/scm-value.exp
405 * gdb.mi/mi-pending.exp
406 * gdb.mi/user-selected-context-sync.exp
407 * gdb.multi/multi-attach.exp
409 * gdb.opt/clobbered-registers-O2.exp
410 * gdb.pascal/floats.exp
411 * gdb.pascal/integers.exp
412 * gdb.python/py-block.exp
413 * gdb.python/py-events.exp
414 * gdb.python/py-parameter.exp
415 * gdb.python/py-symbol.exp
416 * gdb.python/py-symtab.exp
417 * gdb.python/py-type.exp
418 * gdb.python/py-value.exp
419 * gdb.python/py-xmethods.exp
420 * gdb.python/python.exp
421 * gdb.reverse/break-precsave.exp
422 * gdb.reverse/consecutive-precsave.exp
423 * gdb.reverse/finish-precsave.exp
424 * gdb.reverse/i386-precsave.exp
425 * gdb.reverse/machinestate-precsave.exp
426 * gdb.reverse/sigall-precsave.exp
427 * gdb.reverse/solib-precsave.exp
428 * gdb.reverse/step-precsave.exp
429 * gdb.reverse/until-precsave.exp
430 * gdb.reverse/watch-precsave.exp
431 * gdb.server/ext-attach.exp
432 * gdb.server/ext-restart.exp
433 * gdb.server/ext-run.exp
434 * gdb.server/ext-wrapper.exp
435 * gdb.stabs/gdb11479.exp
436 * gdb.stabs/weird.exp
437 * gdb.threads/attach-many-short-lived-threads.exp
438 * gdb.threads/kill.exp
439 * gdb.threads/watchpoint-fork.exp
441 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
443 Fix test names starting with uppercase throughout all the files below.
445 * gdb.ada/array_return.exp
446 * gdb.ada/catch_ex.exp
447 * gdb.ada/info_exc.exp
448 * gdb.ada/mi_catch_ex.exp
449 * gdb.ada/mi_dyn_arr.exp
450 * gdb.ada/mi_ex_cond.exp
451 * gdb.ada/mi_exc_info.exp
452 * gdb.ada/mi_interface.exp
453 * gdb.ada/mi_task_arg.exp
454 * gdb.ada/mi_task_info.exp
455 * gdb.ada/mi_var_array.exp
456 * gdb.arch/alpha-step.exp
457 * gdb.arch/amd64-disp-step.exp
458 * gdb.arch/arm-disp-step.exp
459 * gdb.arch/disp-step-insn-reloc.exp
460 * gdb.arch/e500-prologue.exp
461 * gdb.arch/ftrace-insn-reloc.exp
462 * gdb.arch/gdb1558.exp
463 * gdb.arch/i386-bp_permanent.exp
464 * gdb.arch/i386-disp-step.exp
465 * gdb.arch/i386-float.exp
466 * gdb.arch/i386-gnu-cfi.exp
467 * gdb.arch/ia64-breakpoint-shadow.exp
468 * gdb.arch/mips16-thunks.exp
469 * gdb.arch/pa-nullify.exp
470 * gdb.arch/powerpc-aix-prologue.exp
471 * gdb.arch/powerpc-power.exp
472 * gdb.arch/ppc-dfp.exp
473 * gdb.arch/s390-tdbregs.exp
474 * gdb.arch/spu-info.exp
475 * gdb.arch/spu-ls.exp
476 * gdb.arch/thumb-bx-pc.exp
477 * gdb.base/advance.exp
478 * gdb.base/annota-input-while-running.exp
479 * gdb.base/arrayidx.exp
480 * gdb.base/asmlabel.exp
482 * gdb.base/attach-wait-input.exp
483 * gdb.base/auto-connect-native-target.exp
484 * gdb.base/batch-preserve-term-settings.exp
485 * gdb.base/bfp-test.exp
486 * gdb.base/bigcore.exp
487 * gdb.base/bp-permanent.exp
488 * gdb.base/break-always.exp
489 * gdb.base/break-fun-addr.exp
490 * gdb.base/break-idempotent.exp
491 * gdb.base/break-main-file-remove-fail.exp
492 * gdb.base/break-probes.exp
493 * gdb.base/break-unload-file.exp
495 * gdb.base/call-ar-st.exp
496 * gdb.base/call-rt-st.exp
497 * gdb.base/call-sc.exp
498 * gdb.base/call-signal-resume.exp
499 * gdb.base/call-strs.exp
500 * gdb.base/callexit.exp
501 * gdb.base/callfuncs.exp
502 * gdb.base/catch-gdb-caused-signals.exp
503 * gdb.base/catch-signal-siginfo-cond.exp
504 * gdb.base/catch-syscall.exp
505 * gdb.base/compare-sections.exp
506 * gdb.base/cond-eval-mode.exp
507 * gdb.base/condbreak-call-false.exp
508 * gdb.base/consecutive-step-over.exp
509 * gdb.base/cursal.exp
510 * gdb.base/disabled-location.exp
511 * gdb.base/disasm-end-cu.exp
512 * gdb.base/display.exp
513 * gdb.base/double-prompt-target-event-error.exp
514 * gdb.base/dprintf-bp-same-addr.exp
515 * gdb.base/dprintf-detach.exp
516 * gdb.base/dprintf-next.exp
517 * gdb.base/dprintf-non-stop.exp
518 * gdb.base/dprintf-pending.exp
519 * gdb.base/dso2dso.exp
520 * gdb.base/ending-run.exp
521 * gdb.base/enum_cond.exp
522 * gdb.base/examine-backward.exp
523 * gdb.base/exe-lock.exp
524 * gdb.base/exec-invalid-sysroot.exp
525 * gdb.base/execl-update-breakpoints.exp
526 * gdb.base/execution-termios.exp
527 * gdb.base/fileio.exp
528 * gdb.base/fixsection.exp
529 * gdb.base/foll-exec-mode.exp
530 * gdb.base/foll-exec.exp
531 * gdb.base/fork-running-state.exp
532 * gdb.base/frame-args.exp
533 * gdb.base/fullpath-expand.exp
534 * gdb.base/func-ptr.exp
535 * gdb.base/gcore-relro-pie.exp
536 * gdb.base/gdb1090.exp
537 * gdb.base/gdb1555.exp
538 * gdb.base/global-var-nested-by-dso.exp
539 * gdb.base/gnu-ifunc.exp
540 * gdb.base/hbreak-in-shr-unsupported.exp
541 * gdb.base/hbreak-unmapped.exp
542 * gdb.base/hook-stop.exp
543 * gdb.base/infcall-input.exp
544 * gdb.base/info-fun.exp
545 * gdb.base/info-shared.exp
546 * gdb.base/interrupt-noterm.exp
547 * gdb.base/jit-so.exp
549 * gdb.base/line-symtabs.exp
551 * gdb.base/longjmp.exp
552 * gdb.base/macscp.exp
553 * gdb.base/max-value-size.exp
554 * gdb.base/nodebug.exp
555 * gdb.base/nofield.exp
556 * gdb.base/overlays.exp
557 * gdb.base/paginate-after-ctrl-c-running.exp
558 * gdb.base/paginate-bg-execution.exp
559 * gdb.base/paginate-inferior-exit.exp
560 * gdb.base/pending.exp
561 * gdb.base/pr11022.exp
562 * gdb.base/printcmds.exp
563 * gdb.base/ptr-typedef.exp
565 * gdb.base/randomize.exp
566 * gdb.base/range-stepping.exp
567 * gdb.base/realname-expand.exp
568 * gdb.base/relativedebug.exp
569 * gdb.base/remote.exp
570 * gdb.base/savedregs.exp
571 * gdb.base/sepdebug.exp
572 * gdb.base/set-noassign.exp
573 * gdb.base/shlib-call.exp
574 * gdb.base/shreloc.exp
575 * gdb.base/sigaltstack.exp
576 * gdb.base/sigbpt.exp
577 * gdb.base/siginfo-addr.exp
578 * gdb.base/siginfo-obj.exp
579 * gdb.base/siginfo-thread.exp
580 * gdb.base/signest.exp
581 * gdb.base/signull.exp
582 * gdb.base/sigrepeat.exp
584 * gdb.base/so-impl-ld.exp
585 * gdb.base/solib-corrupted.exp
586 * gdb.base/solib-disc.exp
587 * gdb.base/solib-display.exp
588 * gdb.base/solib-overlap.exp
589 * gdb.base/solib-search.exp
590 * gdb.base/solib-symbol.exp
591 * gdb.base/source-execution.exp
592 * gdb.base/sss-bp-on-user-bp-2.exp
593 * gdb.base/sss-bp-on-user-bp.exp
594 * gdb.base/stack-checking.exp
595 * gdb.base/stale-infcall.exp
596 * gdb.base/step-break.exp
597 * gdb.base/step-line.exp
598 * gdb.base/step-over-exit.exp
599 * gdb.base/step-test.exp
600 * gdb.base/structs.exp
601 * gdb.base/sym-file.exp
602 * gdb.base/symtab-search-order.exp
604 * gdb.base/type-opaque.exp
605 * gdb.base/unload.exp
606 * gdb.base/until-nodebug.exp
608 * gdb.base/unwindonsignal.exp
609 * gdb.base/watch-cond.exp
610 * gdb.base/watch-non-mem.exp
611 * gdb.base/watch_thread_num.exp
612 * gdb.base/watchpoint-reuse-slot.exp
613 * gdb.base/watchpoint-solib.exp
614 * gdb.base/watchpoint.exp
615 * gdb.btrace/dlopen.exp
621 * gdb.cell/dwarfaddr.exp
622 * gdb.cell/ea-cache.exp
623 * gdb.cell/ea-standalone.exp
624 * gdb.cell/ea-test.exp
625 * gdb.cell/f-regs.exp
628 * gdb.cell/mem-access.exp
630 * gdb.cell/registers.exp
631 * gdb.cell/sizeof.exp
632 * gdb.cell/solib-symbol.exp
634 * gdb.compile/compile-tls.exp
635 * gdb.cp/exception.exp
638 * gdb.cp/mb-inline.exp
639 * gdb.cp/mb-templates.exp
642 * gdb.cp/scope-err.exp
643 * gdb.cp/templates.exp
644 * gdb.cp/virtfunc.exp
645 * gdb.dwarf2/dw2-dir-file-name.exp
646 * gdb.dwarf2/dw2-single-line-discriminators.exp
647 * gdb.fortran/complex.exp
648 * gdb.fortran/library-module.exp
649 * gdb.guile/guile.exp
650 * gdb.guile/scm-cmd.exp
651 * gdb.guile/scm-frame-inline.exp
652 * gdb.guile/scm-objfile.exp
653 * gdb.guile/scm-pretty-print.exp
654 * gdb.guile/scm-symbol.exp
655 * gdb.guile/scm-type.exp
656 * gdb.guile/scm-value.exp
657 * gdb.linespec/keywords.exp
658 * gdb.linespec/ls-errs.exp
659 * gdb.linespec/macro-relative.exp
660 * gdb.linespec/thread.exp
661 * gdb.mi/mi-breakpoint-changed.exp
662 * gdb.mi/mi-dprintf-pending.exp
663 * gdb.mi/mi-fullname-deleted.exp
664 * gdb.mi/mi-logging.exp
665 * gdb.mi/mi-pending.exp
666 * gdb.mi/mi-solib.exp
667 * gdb.mi/new-ui-mi-sync.exp
668 * gdb.mi/user-selected-context-sync.exp
669 * gdb.multi/dummy-frame-restore.exp
670 * gdb.multi/multi-arch-exec.exp
671 * gdb.multi/remove-inferiors.exp
672 * gdb.multi/watchpoint-multi-exit.exp
673 * gdb.opt/solib-intra-step.exp
674 * gdb.perf/backtrace.exp
675 * gdb.perf/single-step.exp
676 * gdb.perf/skip-command.exp
677 * gdb.perf/skip-prologue.exp
679 * gdb.python/lib-types.exp
680 * gdb.python/py-as-string.exp
681 * gdb.python/py-bad-printers.exp
682 * gdb.python/py-block.exp
683 * gdb.python/py-breakpoint.exp
684 * gdb.python/py-cmd.exp
685 * gdb.python/py-events.exp
686 * gdb.python/py-evthreads.exp
687 * gdb.python/py-finish-breakpoint.exp
688 * gdb.python/py-finish-breakpoint2.exp
689 * gdb.python/py-frame-inline.exp
690 * gdb.python/py-frame.exp
691 * gdb.python/py-inferior.exp
692 * gdb.python/py-infthread.exp
693 * gdb.python/py-mi.exp
694 * gdb.python/py-objfile.exp
695 * gdb.python/py-pp-maint.exp
696 * gdb.python/py-pp-registration.exp
697 * gdb.python/py-prettyprint.exp
698 * gdb.python/py-recurse-unwind.exp
699 * gdb.python/py-shared.exp
700 * gdb.python/py-symbol.exp
701 * gdb.python/py-symtab.exp
702 * gdb.python/py-template.exp
703 * gdb.python/py-type.exp
704 * gdb.python/py-unwind-maint.exp
705 * gdb.python/py-unwind.exp
706 * gdb.python/py-value.exp
707 * gdb.python/python.exp
708 * gdb.reverse/finish-reverse-bkpt.exp
709 * gdb.reverse/insn-reverse.exp
710 * gdb.reverse/next-reverse-bkpt-over-sr.exp
711 * gdb.reverse/solib-precsave.exp
712 * gdb.reverse/solib-reverse.exp
713 * gdb.stabs/gdb11479.exp
714 * gdb.stabs/weird.exp
715 * gdb.threads/fork-child-threads.exp
716 * gdb.threads/fork-plus-threads.exp
717 * gdb.threads/fork-thread-pending.exp
718 * gdb.threads/forking-threads-plus-breakpoint.exp
719 * gdb.threads/hand-call-in-threads.exp
720 * gdb.threads/interrupted-hand-call.exp
721 * gdb.threads/linux-dp.exp
722 * gdb.threads/local-watch-wrong-thread.exp
723 * gdb.threads/next-while-other-thread-longjmps.exp
724 * gdb.threads/non-ldr-exit.exp
725 * gdb.threads/pending-step.exp
726 * gdb.threads/print-threads.exp
727 * gdb.threads/process-dies-while-detaching.exp
728 * gdb.threads/process-dies-while-handling-bp.exp
729 * gdb.threads/pthreads.exp
730 * gdb.threads/queue-signal.exp
731 * gdb.threads/reconnect-signal.exp
732 * gdb.threads/signal-command-handle-nopass.exp
733 * gdb.threads/signal-command-multiple-signals-pending.exp
734 * gdb.threads/signal-delivered-right-thread.exp
735 * gdb.threads/signal-sigtrap.exp
736 * gdb.threads/sigthread.exp
737 * gdb.threads/staticthreads.exp
738 * gdb.threads/stepi-random-signal.exp
739 * gdb.threads/thread-unwindonsignal.exp
740 * gdb.threads/thread_check.exp
741 * gdb.threads/thread_events.exp
742 * gdb.threads/tid-reuse.exp
743 * gdb.threads/tls-nodebug.exp
744 * gdb.threads/tls-shared.exp
745 * gdb.threads/tls-so_extern.exp
746 * gdb.threads/tls.exp
747 * gdb.threads/wp-replication.exp
748 * gdb.trace/actions-changed.exp
749 * gdb.trace/actions.exp
750 * gdb.trace/backtrace.exp
751 * gdb.trace/change-loc.exp
752 * gdb.trace/collection.exp
753 * gdb.trace/deltrace.exp
754 * gdb.trace/disconnected-tracing.exp
755 * gdb.trace/entry-values.exp
756 * gdb.trace/ftrace-lock.exp
757 * gdb.trace/ftrace.exp
758 * gdb.trace/infotrace.exp
759 * gdb.trace/mi-trace-frame-collected.exp
760 * gdb.trace/mi-trace-unavailable.exp
761 * gdb.trace/mi-traceframe-changed.exp
762 * gdb.trace/mi-tracepoint-changed.exp
763 * gdb.trace/mi-tsv-changed.exp
764 * gdb.trace/no-attach-trace.exp
765 * gdb.trace/packetlen.exp
766 * gdb.trace/passc-dyn.exp
767 * gdb.trace/passcount.exp
768 * gdb.trace/pending.exp
769 * gdb.trace/pr16508.exp
771 * gdb.trace/range-stepping.exp
772 * gdb.trace/read-memory.exp
773 * gdb.trace/report.exp
774 * gdb.trace/save-trace.exp
775 * gdb.trace/signal.exp
776 * gdb.trace/stap-trace.exp
777 * gdb.trace/status-stop.exp
778 * gdb.trace/strace.exp
779 * gdb.trace/tfile.exp
780 * gdb.trace/tfind.exp
781 * gdb.trace/trace-break.exp
782 * gdb.trace/trace-condition.exp
783 * gdb.trace/trace-enable-disable.exp
784 * gdb.trace/trace-mt.exp
785 * gdb.trace/tracecmd.exp
786 * gdb.trace/tracefile-pseudo-reg.exp
787 * gdb.trace/tspeed.exp
788 * gdb.trace/tstatus.exp
790 * gdb.trace/unavailable.exp
791 * gdb.trace/while-dyn.exp
792 * gdb.trace/while-stepping.exp
798 * lib/prelink-support.exp
799 * lib/selftest-support.exp
801 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
803 * Makefile.in: Include disable-implicit-rules.mk.
805 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
807 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
808 non-byte-aligned bit fields.
810 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
813 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
814 respects the DW_AT_data_bit_offset attribute.
816 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
818 * gdb.base/default.exp: Fix output of "set language".
820 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
822 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
823 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
825 * configure.ac: Remove checks for the make program.
826 * configure: Re-generate.
828 2016-11-16 Kevin Buettner <kevinb@redhat.com>
830 * gdb.python/py-recurse-unwind.c (main): Add loop.
831 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
832 to read_register() and gdb.parse_and_eval(). Make each code
833 call a separate case that can be individually tested.
834 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
835 proc. Call cont_and_backtrace for each of the code paths that
836 we want to test in the unwinder.
838 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
840 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
841 the definition of struct S.
843 2016-11-11 Catherine Moore <clm@codesourcery.com>
845 * gdb.base/dump.exp: Identify verilog format dump tests as such.
847 2016-11-09 Pedro Alves <palves@redhat.com>
849 * gdb.base/commands.exp (runto_or_return): New procedure.
850 (gdbvar_simple_if_test, gdbvar_simple_while_test)
851 (gdbvar_complex_if_while_test, progvar_simple_if_test)
852 (progvar_simple_while_test, progvar_complex_if_while_test)
853 (if_while_breakpoint_command_test)
854 (infrun_breakpoint_command_test, breakpoint_command_test)
855 (user_defined_command_test, watchpoint_command_test)
856 (test_command_prompt_position, redefine_hook_test)
857 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
858 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
859 multi_line_input and multi_line. Remove gdb_expect and
860 gdb_stop_suppressing_tests uses.
861 * lib/gdb.exp (valnum_re): New global.
862 (multi_line_input): New procedure.
864 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
866 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
868 (test_setup): Define with proc_with_prefix.
869 (test_cli_inferior): Likewise.
870 (test_cli_thread): Likewise.
871 (test_cli_frame): Likewise.
872 (test_cli_select_frame): Likewise.
873 (test_cli_up_down): Likewise.
874 (test_mi_thread_select): Likewise.
875 (test_mi_stack_select_frame): Likewise.
876 (test_cli_in_mi_inferior): Likewise.
877 (test_cli_in_mi_thread): Likewise.
878 (test_cli_in_mi_frame): Likewise.
879 (top level): Do not use with_test_prefix_procname.
881 2016-11-09 Pedro Alves <palves@redhat.com>
883 * gdb.base/commands.exp (gdbvar_simple_if_test)
884 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
885 (progvar_simple_if_test, progvar_simple_while_test)
886 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
887 (infrun_breakpoint_command_test, breakpoint_command_test)
888 (user_defined_command_test, watchpoint_command_test)
889 (test_command_prompt_position, deprecated_command_test)
890 (bp_deleted_in_command, temporary_breakpoint_commands)
891 (stray_arg0_test, source_file_with_indented_comment)
892 (recursive_source_test, if_commands_test)
893 (error_clears_commands_left, redefine_hook_test)
894 (redefine_backtrace_test): Use proc_with_prefix.
895 * lib/gdb.exp (proc_with_prefix): New proc.
897 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
899 * gdb.base/tui-layout.c: New file.
900 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
901 disassembly window contains very long lines.
903 2016-11-08 Tom Tromey <tom@tromey.com>
905 * gdb.python/py-value.exp (test_value_creation): Make "long" test
908 2016-11-08 Tom Tromey <tom@tromey.com>
910 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
913 2016-10-29 Manish Goregaokar <manish@mozilla.com>
915 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
917 2016-10-27 Manish Goregaokar <manish@mozilla.com>
919 * gdb.rust/simple.rs: Add test for univariant enums without
920 discriminants and for encoded struct-like enums.
922 2016-10-28 Pedro Alves <palves@redhat.com>
924 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
925 gdb_test_multiple, tighten regexps and match symtabs and line
926 tables incrementally.
928 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
930 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
933 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
935 * gdb.base/exec-invalid-sysroot.exp: New file.
937 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
939 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
941 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
943 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
945 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
947 * gdb.base/killed-outside.exp: Remove $options from a call to
948 `prepare_for_testing'.
950 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
952 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
955 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
957 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
960 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
962 * gdb.trace/mi-trace-save.exp: New file.
964 2016-10-13 Yao Qi <yao.qi@linaro.org>
966 * gdb.base/code_elim.exp (get_var_address): Remove.
967 * gdb.base/relocate.exp: Likewise.
968 * gdb.base/shreloc.exp: Likewise.
969 * lib/gdb.exp (get_var_address): New.
971 2016-10-13 Yao Qi <yao.qi@linaro.org>
973 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
974 floating point tests if $skip_float_test is false.
976 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
978 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
979 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
981 Add 1 to argc so we guarantee distinct initial/modified argc values.
983 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
985 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
987 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
989 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
990 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
991 * gdb.arch/vsx-regs.exp: Likewise.
993 2016-10-07 Yao Qi <yao.qi@linaro.org>
995 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
997 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
999 * gdb.python/python.exp: Test decode_line("*0").
1001 2016-10-06 Doug Evans <dje@google.com>
1003 * gdb.python/py-value.exp (test_value_creation): Add test for large
1004 unsigned 64-bit value.
1006 2016-10-06 Tom Tromey <tom@tromey.com>
1008 * gdb.compile/compile.exp: Change java tests to rust.
1009 * gdb.base/setshow.exp: Change java tests to rust.
1010 * gdb.base/default.exp: Remove java from language list.
1011 * README (Examples): Update language example.
1012 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1014 * lib/gdb.exp (skip_java_tests): Remove.
1015 * lib/java.exp: Remove.
1018 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1020 * gdb.arch/mips-fcr.exp: New test.
1021 * gdb.arch/mips-fcr.c: Source for the new test.
1023 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1025 * gdb.base/solib-disc.exp: Use `standard_output_file'
1028 2016-10-06 Pedro Alves <palves@redhat.com>
1030 * gdb.base/jit-simple-dl.c: New file.
1031 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1032 * gdb.base/jit-simple.c: ... this.
1033 * gdb.base/jit-simple.exp (jit_run): Delete.
1034 (build_jit): New proc.
1035 (jit_test_reread): Recompile either the main program or the shared
1036 library, depending on what is being tested. Skip changing address
1037 if caller wants to. Compare before/after addresses. If testing
1038 standalone, explicitly load the binary. Test "maint info
1040 (top level): Add "standalone vs shared lib" and "change address"
1041 vs "same address" axes.
1043 2016-10-06 Pedro Alves <palves@redhat.com>
1045 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1048 (jit_test_reread): Use with_test_prefix. Reload the main binary
1049 explicitly. Compare the before/after addresses of the JIT
1052 2016-08-15 Doug Evans <dje@google.com>
1054 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1055 for single bitfields is bool.
1056 * gdb.xml/tdesc-regs.exp: Ditto.
1058 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1060 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1062 2016-10-05 Yao Qi <yao.qi@linaro.org>
1064 * lib/gdb.exp (support_complex_tests): Return zero if
1065 gdb_skip_float_test return true.
1067 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1068 Simon Marchi <simon.marchi@ericsson.com>
1071 * gdb.mi/user-selected-context-sync.exp: New file.
1072 * gdb.mi/user-selected-context-sync.c: New file.
1074 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1075 Simon Marchi <simon.marchi@ericsson.com>
1078 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1079 =thread-select-event check.
1081 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1083 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1084 the compulsory L operand changes.
1085 * gdb.arch/powerpc-power.s: Likewise.
1087 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1089 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1090 * gdb.base/jit-attach-pie.c: New file.
1091 * gdb.base/jit-attach-pie.exp: New file.
1093 2016-09-28 Pedro Alves <palves@redhat.com>
1095 * gdb.base/infcall-input.c: New file.
1096 * gdb.base/infcall-input.exp: New file.
1098 2016-09-22 Yao Qi <yao.qi@linaro.org>
1100 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1101 (gdb_exit): Rename it to ...
1102 (gdbserver_gdb_exit): ... Close GDBserver.
1103 (gdb_exit): New proc, call gdbserver_gdb_exit.
1104 (mi_gdb_exit): Likewise.
1106 2016-09-22 Yao Qi <yao.qi@linaro.org>
1108 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1110 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1113 2016-09-22 Yao Qi <yao.qi@linaro.org>
1115 * lib/gdbserver-support.exp: Check the existence of
1116 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1118 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1120 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1122 2016-09-21 Tom Tromey <tom@tromey.com>
1125 * gdb.base/quit.exp: New file.
1127 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1129 * .gitignore: New file.
1131 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1133 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1136 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1138 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1140 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1142 * gdb.cp/casts.cc (decltype): Move it ...
1143 (main): ... with its call to ...
1144 * gdb.cp/casts03.cc: ... a new file.
1145 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1147 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1149 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1151 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1153 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1154 and sync up the test with tests in gas/testsuite/gas/ppc.
1155 * gdb.arch/powerpc-power.exp: Likewise.
1157 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1159 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1161 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1162 Jan Kratochvil <jan.kratochvil@redhat.com>
1164 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1165 make m1's definition to be different from m2's. Use 'dummy' as an
1166 argument for probe 'two'.
1168 2016-09-10 Jon Beniston <jon@beniston.com>
1170 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1173 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1175 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1176 variable declaration.
1177 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1178 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1179 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1180 received HWCAP as its argument.
1182 2016-09-06 Pedro Alves <palves@redhat.com>
1184 * gdb.base/new-ui-pending-input.c: New file.
1185 * gdb.base/new-ui-pending-input.exp: New file.
1186 * gdb.exp (clear_gdb_spawn_id): New procedure.
1187 (with_spawn_id): Check whether gdb_spawn_id exists before
1188 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1191 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1193 * gdb.base/float128.c: New file.
1194 * gdb.base/float128.exp: Likewise.
1195 * gdb.base/floatn.c: Likewise.
1196 * gdb.base/floatn.exp: Likewise.
1198 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1200 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1202 2016-09-05 Pedro Alves <palves@redhat.com>
1205 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1206 unwinders are immediately called as side effect of "source" or
1207 "disable unwinder" commands.
1208 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1210 2016-09-02 Yao Qi <yao.qi@linaro.org>
1212 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1213 is true and $type is "float" or "double".
1215 2016-09-02 Yao Qi <yao.qi@linaro.org>
1217 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1219 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1220 * gdb.base/call-rt-st.exp: Likewise.
1221 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1222 return value instead of gdb,skip_float_test.
1223 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1224 (do_function_calls): Use its return value instead of
1225 gdb,skip_float_test.
1226 * gdb.base/finish.exp: Likewise.
1227 * gdb.base/funcargs.exp: Likewise.
1228 * gdb.base/return.exp: Likewise.
1229 * gdb.base/return2.exp: Likewise.
1230 * gdb.base/varargs.exp: Likewise.
1231 * lib/gdb.exp (gdb_skip_float_test): Change it to
1232 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1234 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1236 * gdb.multi/tids.exp: Test "thread apply all".
1238 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1240 * gdb.base/default.exp (tty): Remove.
1242 2016-08-24 Kevin Buettner <kevinb@redhat.com>
1244 * gdb.python/py-recurse-unwind.c: New file.
1245 * gdb.python/py-recurse-unwind.py: New file.
1246 * gdb.python/py-recurse-unwind.exp: New file.
1248 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1250 * gdb.base/set-inferior-tty.exp: New file.
1251 * gdb.base/set-inferior-tty.c: New file.
1253 2016-08-23 Pedro Alves <palves@redhat.com>
1256 * gdb.base/new-ui-echo.c: New file.
1257 * gdb.base/new-ui-echo.exp: New file.
1259 2016-08-23 Yao Qi <yao.qi@linaro.org>
1261 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1263 * gdb.server/connect-without-multi-process.exp (do_test):
1266 2016-08-23 Yao Qi <yao.qi@linaro.org>
1268 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1269 standalone_txt. Delete gdb_txt and standalone_txt on host
1270 and target. Spawn the binary on target. Copy files from
1273 2016-08-22 Pedro Alves <palves@redhat.com>
1276 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1277 with_test_prefix. Factor out bits to ...
1278 (test_no_vdso): ... this new procedure.
1280 2016-08-19 Carl Love <cel@us.ibm.com>
1282 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1283 maintaining separate logic for constructing the output path.
1284 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1285 * gdb.arch/ppc-dfp.exp: Likewise.
1286 * gdb.arch/ppc-fp.exp: Likewise.
1287 * gdb.arch/vsx-regs.exp: Likewise.
1288 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1289 binprefix for generating the additional binary files.
1291 2016-08-19 Pedro Alves <palves@redhat.com>
1293 * gdb.trace/mi-trace-frame-collected.exp
1294 (test_trace_frame_collected): On x32, expect two registers.
1296 2016-08-18 Carl Love <cel@us.ibm.com>
1298 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1299 and sync up the test with tests in gas/testsuite/gas/ppc.
1300 * gdb.arch/powerpc-power.exp: Likewise.
1302 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1304 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1305 expected error message.
1307 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1309 * gdb.multi/remove-inferiors.exp: New file.
1310 * gdb.multi/remove-inferiors.c: New file.
1312 2016-08-12 Yao Qi <yao.qi@linaro.org>
1314 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1317 2016-08-10 Pedro Alves <palves@redhat.com>
1320 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1323 2016-08-09 Pedro Alves <palves@redhat.com>
1324 Simon Marchi <simon.marchi@ericsson.com>
1327 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1328 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1330 2016-08-09 Pedro Alves <palves@redhat.com>
1333 * gdb.mi/mi-cmd-error.exp: New file.
1335 2016-08-09 Pedro Alves <palves@redhat.com>
1338 * gdb.base/signals-state-child.c: New file.
1339 * gdb.base/signals-state-child.exp: New file.
1340 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1342 2016-08-09 Pedro Alves <palves@redhat.com>
1344 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1346 2016-08-03 Tom Tromey <tom@tromey.com>
1349 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1351 2016-08-01 Yao Qi <yao.qi@linaro.org>
1353 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1354 variable mode to "multi-process" if $multi_process is 1, otherwise
1355 set it to "single-process".
1357 2016-08-01 Yao Qi <yao.qi@linaro.org>
1359 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1360 * gdb.cp/cpexprs.exp: Likewise.
1361 * gdb.cp/m-static.exp: Likewise.
1363 2016-07-26 Tom Tromey <tom@tromey.com>
1366 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1369 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1371 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1372 selecting assembly source files.
1373 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1374 assembly source files.
1375 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1376 assembly source files.
1377 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1378 selecting assembly source files.
1380 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1382 * gdb.base/new-ui.exp (do_test_invalid_args): New
1385 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1387 * gdb.btrace/reconnect.c: New file.
1388 * gdb.btrace/reconnect.exp: New file.
1390 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1392 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1393 to test_catch_syscall_group.
1394 (test_catch_syscall_group): New.
1396 2016-07-21 Tom Tromey <tom@tromey.com>
1398 * gdb.rust/simple.rs (main): Use empty struct expression.
1399 * gdb.rust/simple.exp: Add tests for empty struct expression.
1401 2016-07-21 Yao Qi <yao.qi@linaro.org>
1403 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1404 if gdb_skip_xml_test is true on some targets.
1406 2016-07-21 Yao Qi <yao.qi@linaro.org>
1408 * gdb.server/solib-list.exp: Unset last_loaded_file.
1410 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1412 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1413 "step into captured_main (args)".
1415 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1417 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1419 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1421 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1423 2016-07-19 Pedro Alves <palves@redhat.com>
1425 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1426 * gdb.opt/inline-bt.exp: Likewise.
1427 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1428 additional_flags=-Winline.
1429 * gdb.opt/inline-locals.exp: Likewise.
1430 * gdb.opt/inline-markers.c (ATTR): Define.
1431 (inlined_fn): Use it.
1433 2016-07-19 Yao Qi <yao.qi@linaro.org>
1435 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1436 (test_with_self): Remove some code. Remove argument executable.
1437 (top-level): Use do_self_tests.
1439 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
1440 Don Breazeal <donb@codesourcery.com>
1442 * gdb.base/maint.exp: Escape paths used in regular expressions.
1443 * gdb.stabs/weird.exp: Likewise.
1445 2016-07-13 Tom Tromey <tom@tromey.com>
1447 PR python/15620, PR python/18620:
1448 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1449 (test_bkpt_events): New procs.
1451 2016-07-13 Tom Tromey <tom@tromey.com>
1454 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1456 (test_watchpoints): Likewise.
1457 (test_bkpt_pending): New proc.
1459 2016-07-13 Tom Tromey <tom@tromey.com>
1462 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1465 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1467 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1468 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1469 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1471 (g): Rename g_end_lbl to g_label.
1472 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1474 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1476 2016-07-12 Tom Tromey <tom@tromey.com>
1479 * gdb.python/py-unwind-maint.exp: Update tests.
1481 2016-07-12 Yao Qi <yao.qi@linaro.org>
1483 * lib/selftest-support.exp (selftest_setup): Match the output
1484 when captured_main is inlined.
1486 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1488 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1490 (print this%a, print this%b, print this): New tests.
1491 * gdb.fortran/derived-types.f90 (this): New object and
1494 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1496 * gdb.ada/arraydim.exp: Remove extra directory level in build
1499 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1501 * lib/ada.exp: Remove extra directory level in build directory.
1502 * gdb.ada/cond_lang.exp: Likewise.
1503 * gdb.ada/exec_changed.exp: Likewise.
1504 * gdb.ada/lang_switch.exp: Likewise.
1506 2016-07-06 Manish Goregaokar <manish@mozilla.com>
1508 * simple.rs: Add test for raw pointer subscripting.
1509 * simple.exp: Add test expectations.
1511 2016-07-05 Yao Qi <yao.qi@linaro.org>
1513 * gdb.mi/mi-reverse.exp: Match =record-started output.
1515 2016-07-01 Pedro Alves <palves@redhat.com>
1517 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1519 (jit_reader_test): Test the jit reader's unwinder.
1520 * gdb.base/jithost.c (jit_function_00_code): New global.
1521 (main): Use memcpy to fill in the mmapped code, instead of poking
1522 bytes manually here.
1523 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1525 (read_debug_info): Save the function's range.
1526 (read_sp): New function.
1527 (unwind_frame): Use it. Also unwind RBP.
1528 (get_frame_id): Use read_sp.
1529 (gdb_init_reader): Use calloc instead of malloc.
1530 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1531 parameter. Use gdb_test_multiple.
1533 2016-07-01 Pedro Alves <palves@redhat.com>
1534 Antoine Tremblay <antoine.tremblay@ericsson.com>
1536 * gdb.threads/process-dies-while-detaching.c: New file.
1537 * gdb.threads/process-dies-while-detaching.exp: New file.
1539 2016-07-01 Pedro Alves <palves@redhat.com>
1541 * gdb.multi/watchpoint-multi-exit.c: New file.
1542 * gdb.multi/watchpoint-multi-exit.exp: New file.
1544 2016-06-30 Pedro Alves <palves@redhat.com>
1546 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1547 unset inferior_spawn_id.
1549 2016-06-30 Pedro Alves <palves@redhat.com>
1551 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1552 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1554 2016-06-29 Yao Qi <yao.qi@linaro.org>
1556 * gdb.base/return.c: Add copyright header.
1558 2016-06-29 Tom Tromey <tom@tromey.com>
1561 * gdb.python/py-framefilter.exp: Add tests for setting priority
1562 and disabling of non-existent frame filter.
1564 2016-06-29 Yao Qi <yao.qi@linaro.org>
1566 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1569 2016-06-28 Yao Qi <yao.qi@linaro.org>
1571 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1572 triplets. Start gdb, execute catch syscall, and continue. Check
1573 gdb's output to determine catch syscall is supported.
1575 2016-06-27 Manish Goregaokar <manish@mozilla.com>
1577 * gdb.rust/simple.rs: Add test for returning unit in a function.
1578 * gdb.rust/simple.exp: Add expectation for functions returning
1581 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1583 * gdb.python/py-breakpoint-create-fail.c,
1584 gdb.python/py-breakpoint-create-fail.exp,
1585 gdb.python/py-breakpoint-create-fail.py: New testcase.
1587 2016-06-25 Manish Goregaokar <manish@mozilla.com>
1590 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
1591 * gdb.rust/simple.exp: Add test expectations for new NonZero
1594 2016-06-24 David Taylor <dtaylor@emc.com>
1596 * gdb.base/offsets.exp: New file.
1597 * gdb.base/offsets.c: New file.
1599 2016-06-23 Tom Tromey <tom@tromey.com>
1602 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1603 before any filters are loaded.
1605 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1607 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1608 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1610 * gdb.fortran/derived-type-function.exp: New file.
1611 * gdb.fortran/derived-type-function.f90: New file.
1614 2016-06-21 Pedro Alves <palves@redhat.com>
1616 * gdb.base/new-ui.exp: New file.
1617 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1618 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1619 (with_spawn_id): New procedure.
1621 2016-06-21 Pedro Alves <palves@redhat.com>
1623 * gdb.mi/mi-exec-run.exp: New file.
1625 2016-06-21 Pedro Alves <palves@redhat.com>
1627 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1628 breakpoint command's output on the main UI.
1629 (test_break): New procedure, factored out from calls in the top
1631 (top level): Use foreach_with_prefix to test MI as main UI and as
1634 2016-06-21 Pedro Alves <palves@redhat.com>
1636 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1637 (test_awatch_creation_and_listing)
1638 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1639 Remove 'type' parameter.
1640 (test_watchpoint_all): New parameter mi_mode. Remove
1642 (top level): Use foreach_with_prefix, and add main/separate UI MI
1645 2016-06-21 Pedro Alves <palves@redhat.com>
1647 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1648 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1649 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1650 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1651 (gdb_main_spawn_id, mi_spawn_id): Declare and
1653 (mi_create_inferior_pty): New procedure,
1654 factored out from default_mi_gdb_start.
1655 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1657 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1658 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1659 Use mi_create_inferior_pty.
1660 (mi_gdb_start): Use eval to pass down args list.
1662 2016-06-21 Pedro Alves <palves@redhat.com>
1664 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1665 * gdb.opt/inline-cmds.exp: Add MI tests.
1667 2016-06-21 Pedro Alves <palves@redhat.com>
1669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1671 2016-06-21 Pedro Alves <palves@redhat.com>
1673 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1674 (top level): Use it instead of mi_execute_to.
1676 2016-06-21 Pedro Alves <palves@redhat.com>
1678 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1679 (cont_handler_str): New.
1680 (signal_stop_handler): Set stop_handler_str instead of printing to
1682 (continue_handler): Set cont_handler_str instead of printing to
1684 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1685 mi_send_resuming_command. Print stop_handler_str and
1686 cont_handler_str instead of expecting the python events print
1689 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1691 * gdb.base/jit-reader.exp: New file.
1692 * gdb.base/jithost.c: New file.
1693 * gdb.base/jithost.h: New file.
1694 * gdb.base/jitreader.c : New file.
1695 * gdb.base/jit-protocol.h: New file.
1697 2016-06-17 Yao Qi <yao.qi@linaro.org>
1699 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1700 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1701 and detach-on-fork. Adjust tests.
1702 (top level): Invoke break_cond_on_syscall with combinations of
1703 syscall, follow-fork-mode and detach-on-fork.
1705 2016-06-17 Yao Qi <yao.qi@linaro.org>
1707 * gdb.base/step-over-exit.c: New.
1708 * gdb.base/step-over-exit.exp: New.
1710 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1712 * gdb.base/float.exp: Add target check for nds32*-*-*.
1713 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1715 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1717 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1718 for unsupported target features.
1719 * gdb.base/call-rt-st.exp: Likewise.
1720 * gdb.base/call-sc.exp: Likewise.
1721 * gdb.base/call-signal-resume.exp: Likewise.
1722 * gdb.base/call-strs.exp: Likewise.
1723 * gdb.base/callexit.exp: Likewise.
1724 * gdb.base/callfuncs.exp: Likewise.
1725 * gdb.base/nodebug.exp: Likewise.
1726 * gdb.base/printcmds.exp: Likewise.
1727 * gdb.base/ptype.exp: Likewise.
1728 * gdb.base/structs.exp: Likewise.
1729 * gdb.base/unwindonsignal.exp: Likewise.
1730 * gdb.cp/gdb2495.exp: Likewise.
1731 * gdb.cp/templates.exp: Likewise.
1732 * gdb.cp/virtfunc.exp: Likewise.
1733 * gdb.threads/hand-call-in-threads.exp: Likewise.
1734 * gdb.threads/interrupted-hand-call.exp: Likewise.
1735 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1737 2016-06-10 Tom Tromey <tom@tromey.com>
1740 * gdb.rust/expr.exp: Add test for integer constant larger than
1743 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1745 * gdb.fortran/nested-funcs.exp: New.
1746 * gdb.fortran/nested-funcs.f90: New.
1748 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1750 * gdb.base/examine-backward.c: New file.
1751 * gdb.base/examine-backward.exp: New file.
1753 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1755 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1758 2016-06-02 Tom Tromey <tom@tromey.com>
1761 * gdb.python/py-shared.exp: Add solib_name test.
1763 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1765 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1767 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1770 * gdb.dwarf2/implref.exp: Rename to...
1771 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1772 * gdb.dwarf2/implref-array.c: New file.
1773 * gdb.dwarf2/implref-array.exp: Likewise.
1774 * gdb.dwarf2/implref-global.c: Likewise.
1775 * gdb.dwarf2/implref-global.exp: Likewise.
1776 * gdb.dwarf2/implref-struct.c: Likewise.
1777 * gdb.dwarf2/implref-struct.exp: Likewise.
1779 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1781 * gdb.trace/trace-condition.exp: Add 64bit tests.
1783 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1785 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1787 (main): Adapt to 8 to 64 bits types.
1788 * gdb.trace/trace-condition.exp: Add new tests.
1790 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1792 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1794 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1796 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1797 Move condition tests...
1798 * gdb.trace/trace-condition.exp: Here.
1800 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1802 * gdb.trace/trace-condition.exp: Add counter-case tests.
1804 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1807 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1808 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1810 2016-05-27 Pedro Alves <palves@redhat.com>
1812 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1814 (top level): Call it, and bail out of DejaGnu is known to be bad.
1816 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1818 * gdb.base/whatis.c: Extend the test case.
1819 * gdb.base/whatis.exp: Add additional tests.
1821 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1823 * gdb.fortran/type.f90: Add pointer variable.
1824 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1826 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1828 * gdb.fortran/vla-type.exp: Fix testcase name.
1830 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1832 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1834 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1836 * gdb.fortran/type.f90: Add nested structures.
1837 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1838 * gdb.fortran/derived-type.exp: Adapt expected output.
1839 * gdb.fortran/vla-type.exp: Adapt expected output.
1841 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1843 * gdb.fortran/whatis_type.exp: Adapt expected output.
1845 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1847 * gdb.fortran/print_type.exp: Fix expected output.
1848 * gdb.fortran/whatis_type.exp: Fix expected output.
1850 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1852 * gdb.fortran/whatis_type.exp: Use multi_line.
1854 2016-05-24 Tom Tromey <tom@tromey.com>
1857 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1858 use value as an index.
1860 2016-05-23 Tom Tromey <tom@tromey.com>
1863 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1866 2016-05-24 Pedro Alves <palves@redhat.com>
1869 * gdb.threads/clone-attach-detach.c: New file.
1870 * gdb.threads/clone-attach-detach.exp: New file.
1872 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1874 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1876 2016-05-23 Tom Tromey <tom@tromey.com>
1878 PR python/19438, PR python/18393:
1879 * gdb.python/py-progspace.exp: Add "dir" test.
1880 * gdb.python/py-objfile.exp: Add "dir" test.
1882 2016-05-23 Yao Qi <yao.qi@linaro.org>
1884 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1885 * gdb.arch/thumb2-it.exp: Likewise.
1887 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1889 * gdb.mi/mi-threads-interrupt.c: New file.
1890 * gdb.mi/mi-threads-interrupt.exp: New file.
1892 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1895 * gdb.mi/mi-async-run.exp: New file.
1896 * gdb.mi/mi-async-run.c: New file.
1898 2016-05-17 Tom Tromey <tom@tromey.com>
1899 Manish Goregaokar <manishsmail@gmail.com>
1901 * lib/rust-support.exp: New file.
1902 * lib/gdb.exp (skip_rust_tests): New proc.
1903 (build_executable_from_specs): Handle rust.
1904 * lib/future.exp (gdb_find_rustc): New proc.
1905 (gdb_default_target_compile): Handle rust.
1906 * gdb.rust/expr.exp: New file.
1907 * gdb.rust/generics.exp: New file.
1908 * gdb.rust/generics.rs: New file.
1909 * gdb.rust/methods.exp: New file.
1910 * gdb.rust/methods.rs: New file.
1911 * gdb.rust/modules.exp: New file.
1912 * gdb.rust/modules.rs: New file.
1913 * gdb.rust/simple.exp: New file.
1914 * gdb.rust/simple.rs: New file.
1916 2016-05-17 Tom Tromey <tom@tromey.com>
1918 * gdb.base/default.exp (set language): Add rust.
1920 2016-05-17 Tom Tromey <tom@tromey.com>
1922 * gdb.gdb/unittest.exp: New file.
1924 2016-05-16 Yao Qi <yao.qi@linaro.org>
1926 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1927 shell_prompt. Update shell_prompt_re.
1929 2016-05-12 Doug Evans <dje@google.com>
1932 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1933 $options when building executable.
1934 * gdb.dwarf2/fission-loclists-pie.S: New file.
1935 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1937 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1939 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1940 of [is_remote target],
1942 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1944 * lib/gdb.exp (use_gdb_stub): New procedure.
1946 2016-05-03 Yunlian Jiang <yunlian@google.com>
1947 Doug Evans <dje@google.com>
1950 * gdb.dwarf2/dwp-sepdebug.c: New file.
1951 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1953 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1955 * gdb.base/detach.exp: Remove is_remote check.
1957 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1959 * gdb.base/annota-input-while-running.exp: Don't check for
1960 [is_remote target]. Enable annotations after running to main.
1961 Remove unused "set test..." line.
1963 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1965 * gdb.trace/trace-enable-disable.exp: New file.
1966 * gdb.trace/trace-enable-disable.c: New file.
1968 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1970 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1971 use it in info sharedlibrary test.
1972 * gdb.trace/ftrace-lock.exp: Likewise.
1973 * gdb.trace/ftrace.exp: Likewise.
1974 * gdb.trace/range-stepping.exp: Likewise.
1975 * gdb.trace/trace-break.exp: Likewise.
1976 * gdb.trace/trace-condition.exp: Likewise.
1977 * gdb.trace/trace-mt.exp: Likewise.
1979 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1981 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1982 (gdb_load_shlib): ... this.
1983 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1985 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1986 * gdb.base/ctxobj.exp: Likewise.
1987 * gdb.base/dprintf-pending.exp: Likewise.
1988 * gdb.base/dso2dso.exp: Likewise.
1989 * gdb.base/fixsection.exp: Likewise.
1990 * gdb.base/gcore-relro.exp: Likewise.
1991 * gdb.base/gdb1555.exp: Likewise.
1992 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1993 * gdb.base/gnu-ifunc.exp: Likewise.
1994 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1995 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1996 * gdb.base/pending.exp: Likewise.
1997 * gdb.base/print-file-var.exp: Likewise.
1998 * gdb.base/print-symbol-loading.exp: Likewise.
1999 * gdb.base/shlib-call.exp: Likewise.
2000 * gdb.base/shreloc.exp: Likewise.
2001 * gdb.base/so-impl-ld.exp: Likewise.
2002 * gdb.base/solib-disc.exp: Likewise.
2003 * gdb.base/solib-nodir.exp: Likewise.
2004 * gdb.base/solib-overlap.exp: Likewise.
2005 * gdb.base/solib-symbol.exp: Likewise.
2006 * gdb.base/solib-weak.exp (do_test): Likewise.
2007 * gdb.base/sym-file.exp: Likewise.
2008 * gdb.base/symtab-search-order.exp: Likewise.
2009 * gdb.base/type-opaque.exp: Likewise.
2010 * gdb.base/unload.exp: Likewise.
2011 * gdb.base/watchpoint-solib.exp: Likewise.
2012 * gdb.compile/compile.exp: Likewise.
2013 * gdb.cp/gdb2384.exp: Likewise.
2014 * gdb.cp/infcall-dlopen.exp: Likewise.
2015 * gdb.cp/re-set-overloaded.exp: Likewise.
2016 * gdb.fortran/library-module.exp: Likewise.
2017 * gdb.opt/solib-intra-step.exp: Likewise.
2018 * gdb.python/py-finish-breakpoint.exp: Likewise.
2019 * gdb.python/py-shared.exp: Likewise.
2020 * gdb.reverse/solib-precsave.exp: Likewise.
2021 * gdb.reverse/solib-reverse.exp: Likewise.
2022 * gdb.server/solib-list.exp: Likewise.
2023 * gdb.threads/dlopen-libpthread.exp: Likewise.
2024 * gdb.threads/tls-shared.exp: Likewise.
2025 * gdb.threads/tls-so_extern.exp: Likewise.
2026 * gdb.trace/change-loc.exp: Likewise.
2027 * gdb.trace/ftrace-lock.exp: Likewise.
2028 * gdb.trace/ftrace.exp: Likewise.
2029 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2030 * gdb.trace/pending.exp: Likewise.
2031 * gdb.trace/range-stepping.exp: Likewise.
2032 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2033 (strace_info_marker): Likewise.
2034 (strace_probe_marker): Likewise.
2035 (strace_trace_on_same_addr): Likewise.
2036 (strace_trace_on_diff_addr): Likewise.
2037 * gdb.trace/trace-break.exp: Likewise.
2038 * gdb.trace/trace-condition.exp: Likewise.
2039 * gdb.trace/trace-mt.exp: Likewise.
2041 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2043 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2044 result of gdb_remote_download.
2045 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2046 * gdb.base/dso2dso.exp: Likewise.
2047 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2048 * gdb.base/print-file-var.exp: Likewise.
2049 * gdb.base/shlib-call.exp: Likewise.
2050 * gdb.base/shreloc.exp: Likewise.
2051 * gdb.base/solib-overlap.exp: Likewise.
2052 * gdb.base/solib-weak.exp (do_test): Likewise.
2053 * gdb.base/unload.exp: Likewise.
2055 2016-04-27 Yao Qi <yao.qi@linaro.org>
2057 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2060 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2062 * vla-type.exp: Print structure from toplevel.
2064 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2066 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2068 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2071 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2073 * gdb.fortran/vla-type.f90: New file.
2074 * gdb.fortran/vla-type.exp: New file.
2076 2016-04-25 Yao Qi <yao.qi@linaro.org>
2078 * gdb.base/branch-to-self.c: New file.
2079 * gdb.base/branch-to-self.exp: New file.
2081 2016-04-22 Yao Qi <yao.qi@linaro.org>
2083 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2086 2016-04-22 Yao Qi <yao.qi@linaro.org>
2088 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2089 * gdb.base/annota3.exp: Likewise.
2091 2016-04-22 Yao Qi <yao.qi@linaro.org>
2093 * gdb.reverse/step-precsave.exp: Do one step and test program
2094 stops in "callee" and do multiple steps until program goes out
2096 * gdb.reverse/step-reverse.exp: Likewise.
2098 2016-04-22 Yao Qi <yao.qi@linaro.org>
2100 * gdb.trace/signal.exp: Also pass if
2101 $tracepoint_hits($i) > $iterations.
2103 2016-04-22 Yao Qi <yao.qi@linaro.org>
2105 * gdb.trace/signal.c: New file.
2106 * gdb.trace/signal.exp: New file.
2108 2016-04-19 Doug Evans <xdje42@gmail.com>
2110 * gdb.base/bad-file.exp: New file.
2112 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2114 * gdb.dwarf2/implref.exp: New file.
2116 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2118 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2119 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2120 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2121 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2122 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2123 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2124 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2125 * lib/fortran.exp (fortran_int4): New procedure.
2126 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2127 (fortran_logical4): Likewise.
2129 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2131 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2133 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2135 * lib/compiler.c: Add Intel specific preprocessor macros.
2136 * lib/compiler.cc: Likewise.
2138 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2140 * gdb.server/connect-with-no-symbol-file.c: New file.
2141 * gdb.server/connect-with-no-symbol-file.exp: New file.
2143 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2145 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2147 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2149 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2150 standard output directory.
2152 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2154 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2156 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2158 * gdb.btrace/instruction_history.c (loop): Add declaration.
2160 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2162 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2164 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2166 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2167 parentheses to print.
2168 (continue_handler): Likewise.
2170 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2172 * gdb.server/solib-list.exp: Remove is_remote check.
2173 Pass shlib= to gdb_compile. Don't link shared library with
2174 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2175 Run binary filename through "readlink -f" on the target.
2177 2016-04-08 Pedro Alves <palves@redhat.com>
2179 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2180 interpreter filename as argument to gdbserver_spawn.
2181 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2182 Return empty if $last_loaded_file does not exist.
2184 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2186 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2187 * gdb.base/jit-main.c: Use exit after usage.
2189 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2192 GDBHISTSIZE prior to the tests.
2193 * gdb.base/gdbinit-history.exp: Likewise.
2195 2016-04-07 Pedro Alves <palves@redhat.com>
2197 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2198 instead of build_executable. Use gdb_load_shlibs.
2200 2016-04-07 Yao Qi <yao.qi@linaro.org>
2202 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2203 Execute "si" command.
2205 2016-04-07 Yao Qi <yao.qi@linaro.org>
2207 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2208 number instead of the comments on some line.
2210 2016-04-06 Don Breazeal <donb@codesourcery.com>
2212 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2213 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2215 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2217 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2218 standard_output_file. Remove unused binfile variable.
2220 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
2222 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2223 * gdb.python/py-mi-objfile.exp: Match "list main" output
2226 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2228 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2231 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2233 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2235 * gdb.trace/ftrace.exp: Likewise.
2236 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2238 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2239 (gdb_load_shlibs): Copy libraries to test directory when testing
2240 natively. Only set solib-search-path if testing remotely.
2241 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2243 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2245 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2246 gdb_download. Use it even if the target is not remote.
2247 * gdb.base/jit.exp (compile_jit_test): Likewise.
2248 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2249 output directory if the destination board is local, otherwise use
2250 the standard remote_download from DejaGnu.
2251 (gdb_download): Remove.
2252 (gdb_load_shlibs): Use gdb_remote_download instead of
2254 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2255 Use gdb_remote_download instead of gdb_download. Use it even if
2256 the target is not remote.
2257 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2258 instead of gdb_download.
2260 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2262 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2263 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2266 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
2269 * gdb.base/printcmds.exp: Add artificial arrays tests.
2271 2016-03-31 Pedro Alves <palves@redhat.com>
2274 * gdb.base/jit-main.c: Include unistd.h.
2275 (ATTACH): Define to 0 if not already defined.
2276 (wait_for_gdb, mypid): New globals.
2277 (WAIT_FOR_GDB): New macro.
2278 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2279 some breakpoint locations.
2280 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2282 (one_jit_test): Add REATTACH parameter, and handle it. Use
2283 continue_to_test_location.
2284 (top level): Test attach, and adjusts calls to one_jit_test.
2286 2016-03-31 Pedro Alves <palves@redhat.com>
2289 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2290 BINSUFFIX parameter, and handle it.
2291 (top level): Adjust calls compile_jit_test.
2293 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
2296 * gdb.python/py-mi-events-gdb.py: New file.
2297 * gdb.python/py-mi-events.c: New file.
2298 * gdb.python/py-mi-events.exp: New file.
2300 2016-03-30 Yao Qi <yao.qi@linaro.org>
2302 * gdb.reverse/until-precsave.exp: Match function name only.
2303 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2304 Move malloc to a condition block.
2305 * gdb.reverse/until-reverse.exp: Match function name only.
2307 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2309 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2310 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2311 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2312 variable for GPR 0 instead of assuming it is register 0.
2313 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2314 * lib/trace-support.exp: Add s390 registers.
2316 2016-03-29 Yao Qi <yao.qi@linaro.org>
2318 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2320 2016-03-24 Yao Qi <yao.qi@linaro.org>
2322 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2325 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2327 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2328 maintaining separate logic for constructing the output path.
2330 2016-03-16 Don Breazeal <donb@codesourcery.com>
2332 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2333 Retry fork and waitpid on interrupted system call errors.
2334 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2335 Use with_timeout_factor to increase timeout by factor of 10.
2337 2016-03-15 Don Breazeal <donb@codesourcery.com>
2339 * gdb.cp/scope-err.cc: New test program.
2340 * gdb.cp/scope-err.exp: New test script.
2341 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2342 lines and "set breakpoint here" comment.
2343 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2344 Fixed some whitespace and format issues.
2345 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2346 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2348 2016-03-15 Doug Evans <dje@google.com>
2350 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2351 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2352 All callers updated. Add tests for enums, mixed flags register.
2354 2016-03-15 Doug Evans <dje@google.com>
2356 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2357 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2359 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2361 * gdb.base/default.exp: Add $_as_string to the list of expected
2362 convenience functions.
2364 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2366 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2368 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2370 * gdb.python/py-as-string.exp: New file.
2371 * gdb.python/py-as-string.c: New file.
2373 2016-03-09 Pedro Alves <palves@redhat.com>
2375 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2376 signal" -> "Thread NN received signal" output change.
2377 * gdb.threads/ia64-sigill.exp: Likewise.
2378 * gdb.threads/linux-dp.exp: Likewise.
2379 * gdb.threads/manythreads.exp: Likewise.
2380 * gdb.threads/pending-step.exp: Likewise.
2381 * gdb.threads/print-threads.exp: Likewise.
2382 * gdb.threads/sigstep-threads.exp: Likewise.
2383 * gdb.threads/staticthreads.exp: Likewise.
2384 * gdb.threads/tls.exp: Likewise.
2386 2016-03-09 Pedro Alves <palves@redhat.com>
2388 * gdb.base/command-line-input.exp: New file.
2390 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2392 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2393 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2394 * gdb.trace/pending.exp: Accept leading dot before function name.
2395 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2396 * lib/trace-support.exp: Set registers for ppc.
2398 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2400 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2401 use it for disassembly; accept .main in addition to main in backtrace.
2403 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2404 Marcin Kościelnicki <koriakin@0x04.net>
2406 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2407 (gdb_recursion_test_ptr): New global variable.
2408 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2410 (gdb_c_test): Ditto.
2412 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2414 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2417 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2419 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2420 (bar): Add bar_start_lbl label.
2421 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2422 of foo/bar for emitting DWARF and tracing.
2424 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2426 * analyze-racy-logs.py: Set executable bit.
2428 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2430 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2431 (CHECK_TARGET_TMP): Likewise.
2432 (check-single-racy): New rule.
2433 (check-parallel-racy): Likewise.
2434 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2435 (do-check-parallel-racy): New rule.
2436 (check-racy/%.exp): Likewise.
2437 * README (Racy testcases): New section.
2438 * analyze-racy-logs.py: New file.
2440 2016-03-03 Doug Evans <dje@google.com>
2442 * gdb.base/skip.exp: Use with_test_prefix.
2444 2016-03-03 Yao Qi <yao.qi@linaro.org>
2446 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2447 Invoke step_over_syscall "clone" and break_cond_on_syscall
2449 * gdb.base/step-over-clone.c: New file.
2451 2016-03-03 Yao Qi <yao.qi@linaro.org>
2453 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2456 2016-03-03 Yao Qi <yao.qi@linaro.org>
2458 * gdb.base/disp-step-fork.c: Rename to ...
2459 * gdb.base/step-over-fork.c: ... it. New file.
2460 * gdb.base/disp-step-vfork.c: Rename to ...
2461 * gdb.base/step-over-vfork.c: ... it. New file.
2462 * gdb.base/disp-step-syscall.exp: Rename to ...
2463 * gdb.base/step-over-syscall.exp: ... it. New file.
2464 (disp_step_cross_syscall): Rename to ...
2465 (step_over_syscall): ... it.
2467 2016-03-03 Yao Qi <yao.qi@linaro.org>
2469 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2470 If target supports condition evaluation on target, invoke
2471 break_cond_on_syscall for fork and vfork.
2473 2016-03-03 Yao Qi <yao.qi@linaro.org>
2475 * gdb.base/disp-step-syscall.exp: Don't invoke
2476 support_displaced_stepping.
2477 (disp_step_cross_syscall): Test with displaced stepping off and
2480 2016-03-03 Yao Qi <yao.qi@linaro.org>
2482 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2485 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2488 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2490 * gdb.fortran/vla-history.exp: Remove breakpoint.
2492 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2494 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2497 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2499 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2502 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2504 * gdb.mi/vla.f90: Nullify pointer after declaration.
2506 2016-03-01 Pedro Alves <palves@redhat.com>
2508 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2510 2016-03-01 Pedro Alves <palves@redhat.com>
2512 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2513 before anything else.
2514 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2516 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2517 before anything else.
2518 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2520 2016-03-01 Pedro Alves <palves@redhat.com>
2522 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2524 2016-03-01 Yao Qi <yao.qi@linaro.org>
2526 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2527 prepare_for_testing.
2529 2016-03-01 Yao Qi <yao.qi@linaro.org>
2531 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2533 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2535 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2536 manually constructing the output path.
2538 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2540 * gdb.arch/s390-stackless.S: New.
2541 * gdb.arch/s390-stackless.exp: New.
2543 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2545 * gdb.dlang/circular.c: New file.
2546 * gdb.dlang/circular.exp: New file.
2548 2016-02-26 Yao Qi <yao.qi@linaro.org>
2550 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2551 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2552 (testcases): Update.
2554 2016-02-26 Yao Qi <yao.qi@linaro.org>
2556 * gdb.reverse/aarch64.c: Rename to ...
2557 * gdb.reverse/insn-reverse.c: ... it.
2558 * gdb.reverse/aarch64.exp: Rename to ...
2559 * gdb.reverse/insn-reverse.exp: ... it.
2561 2016-02-26 Yao Qi <yao.qi@linaro.org>
2563 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2564 (testcase_ftype): New.
2565 (testcases): New array.
2567 (main): Call each element in testcases.
2568 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2569 (read_testcase): New.
2570 Do the tests in a loop.
2572 2016-02-25 Yao Qi <yao.qi@linaro.org>
2574 * gdb.base/branches.c: Remove.
2576 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2579 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2581 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2583 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2585 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2587 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2588 change x86_64 call_insn to 'callq'.
2590 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2592 * gdb.trace/tfile-avx.c: Move to...
2593 * gdb.trace/tracefile-pseudo-reg.c: Here.
2594 * gdb.trace/tfile-avx.exp: Move to...
2595 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2597 2016-02-24 Gary Benson <gbenson@redhat.com>
2599 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2602 2016-02-23 Doug Evans <dje@google.com>
2604 * gdb.base/skip.c (test_skip): New function.
2605 (end_test_skip_file_and_function): New function.
2606 (test_skip_file_and_function): New function.
2607 * gdb.base/skip1.c (test_skip): New function.
2608 (skip1_test_skip_file_and_function): New function.
2609 * gdb.base/skip.exp: Add tests for new skip options.
2610 * gdb.base/skip-solib.exp: Update expected output.
2611 * gdb.perf/skip-command.cc: New file.
2612 * gdb.perf/skip-command.exp: New file.
2613 * gdb.perf/skip-command.py: New file.
2615 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2617 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2618 info registers pattern.
2620 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2622 * lib/future.exp: Add D support.
2623 (gdb_find_gdc): New proc.
2624 (gdb_default_target_compile): Add D support.
2626 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
2628 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2630 (trace_speed_test): Determine the iteration count for a time
2631 between 15..30 seconds.
2633 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2635 * gdb.arch/i386-mpx-sigsegv.c: New file.
2636 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2637 * gdb.arch/i386-mpx-simple_segv.c: New file.
2638 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2640 2016-02-18 Yao Qi <yao.qi@linaro.org>
2642 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2643 Don't call setup_kfail.
2645 2016-02-18 Yao Qi <yao.qi@linaro.org>
2647 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2648 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2650 2016-02-16 Doug Evans <dje@google.com>
2652 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2653 * gdb.base/skip1.c: Ditto.
2654 * gdb.base/skip.exp: Whitespace cleanup.
2656 2016-02-16 Don Breazeal <donb@codesourcery.com>
2659 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2660 Remove kfail for PR remote/19496.
2662 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2664 * lib/gdb.exp (standard_temp_file): Return a path specific to
2665 the runtest invocation.
2667 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2669 * gdb.trace/save-trace.exp: Change relative path to be in the
2670 standard output directory.
2672 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2674 * gdb.arch/i386-prologue.c: Add missing prototypes.
2676 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2678 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2679 * gdb.arch/i386-prologue.exp: Likewise.
2680 * gdb.arch/i386-size.exp: Likewise.
2682 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2684 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2685 define object file path.
2686 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2688 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2689 standard_output_file to define binfile.
2691 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2693 Fix compatibility with recent gfortran-5.3.1.
2694 * gdb.fortran/vla-history.exp (print vla1 allocated)
2695 (print vla2 allocated, print $2, print $3): Remove
2696 (print $4): Rename to ...
2697 (print $2): ... here.
2698 (print $9): Rename to ...
2699 (print $5): ... here.
2700 (print $10): Rename to ...
2701 (print $6): ... here.
2702 * gdb.fortran/vla.f90: Add pvla initialization.
2704 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2706 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2708 * gdb.fortran/vla-value-sub.exp: Likewise.
2710 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2712 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2714 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2716 * i386-biarch-core.exp: Define corefile using
2717 standard_output_file.
2719 2016-02-12 Yao Qi <yao.qi@linaro.org>
2721 * gdb.arch/arm-single-step-kernel-helper.c: New.
2722 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2724 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2726 * gdb.btrace/tailcall-only.exp: New.
2727 * gdb.btrace/tailcall-only.c: New.
2728 * gdb.btrace/x86_64-tailcall-only.S: New.
2729 * gdb.btrace/i686-tailcall-only.S: New.
2731 2016-02-11 Pedro Alves <palves@redhat.com>
2733 * README (Parallel testing): Add missing double quotes.
2735 2016-02-11 Pedro Alves <palves@redhat.com>
2737 * README (Parallel testing): New section.
2738 (GDB_PARALLEL): Rewrite.
2739 (FORCE_PARALLEL): Document.
2741 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2743 * gdb.trace/tfile-avx.c: New test.
2744 * gdb.trace/tfile-avx.exp: New test.
2746 2016-02-09 Keith Seitz <keiths@redhat.com>
2748 PR breakpoints/19546
2749 * gdb.base/infcall-exec.c: New file.
2750 * gdb.base/infcall-exec2.c: New file.
2751 * gdb.base/infcall-exec.exp: New file.
2753 2016-02-09 Keith Seitz <keiths@redhat.com>
2755 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2756 (toplevel): Call test_bkpt_address.
2758 2016-02-09 Keith Seitz <keiths@redhat.com>
2761 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2762 (toplevel): Call test_bkpt_address.
2764 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2766 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2768 * configure: Regenerate.
2770 2016-02-09 Pedro Alves <palves@redhat.com>
2772 PR breakpoints/19548
2773 * gdb.base/execl-update-breakpoints.c (some_function): New
2776 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2777 Tighten expected GDB output.
2779 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2781 * Makefile.in (ALL_SUBDIRS): Remove.
2782 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2783 (distclean maintainer-clean realclean): Likewise.
2784 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2785 * configure: Regenerate.
2786 * gdb.ada/Makefile.in: Delete.
2787 * gdb.arch/Makefile.in: Likewise.
2788 * gdb.asm/Makefile.in: Likewise.
2789 * gdb.base/Makefile.in: Likewise.
2790 * gdb.btrace/Makefile.in: Likewise.
2791 * gdb.cell/Makefile.in: Likewise.
2792 * gdb.compile/Makefile.in: Likewise.
2793 * gdb.cp/Makefile.in: Likewise.
2794 * gdb.disasm/Makefile.in: Likewise.
2795 * gdb.dlang/Makefile.in: Likewise.
2796 * gdb.dwarf2/Makefile.in: Likewise.
2797 * gdb.fortran/Makefile.in: Likewise.
2798 * gdb.gdb/Makefile.in: Likewise.
2799 * gdb.go/Makefile.in: Likewise.
2800 * gdb.guile/Makefile.in: Likewise.
2801 * gdb.java/Makefile.in: Likewise.
2802 * gdb.linespec/Makefile.in: Likewise.
2803 * gdb.mi/Makefile.in: Likewise.
2804 * gdb.modula2/Makefile.in: Likewise.
2805 * gdb.multi/Makefile.in: Likewise.
2806 * gdb.objc/Makefile.in: Likewise.
2807 * gdb.opencl/Makefile.in: Likewise.
2808 * gdb.opt/Makefile.in: Likewise.
2809 * gdb.pascal/Makefile.in: Likewise.
2810 * gdb.perf/Makefile.in: Likewise.
2811 * gdb.python/Makefile.in: Likewise.
2812 * gdb.reverse/Makefile.in: Likewise.
2813 * gdb.server/Makefile.in: Likewise.
2814 * gdb.stabs/Makefile.in: Likewise.
2815 * gdb.threads/Makefile.in: Likewise.
2816 * gdb.trace/Makefile.in: Likewise.
2817 * gdb.xml/Makefile.in: Likewise.
2818 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2820 (standard_output_file): Remove check for GDB_PARALLEL, always
2821 return path in outputs/$subdir/$testname.
2823 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2825 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2826 (site.exp): Assign abs_srcdir to tcl's srcdir.
2828 2016-02-04 Yao Qi <yao.qi@linaro.org>
2830 * gdb.base/foll-exec-mode.c: Include limits.h.
2831 (main): Add parameters argc and argv. Get directory from
2833 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2835 * gdb.base/foll-exec.c: Include limits.h.
2836 (main): Add parameters argc and argv.
2837 Get directory from argv[0].
2838 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2839 Adjust tests on the number of lines as source code changed.
2840 * gdb.base/foll-vfork-exit.c: Include limits.h.
2841 (main): Add one line of statement before vfork.
2842 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2843 (main): Add parameters argc and argv. Get directory from
2845 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2846 (setup_gdb): Set tbreak to skip some source lines.
2847 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2848 (main): Add parameters argc and argv. Get directory from
2850 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2852 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2853 (main): Add parameters argc and argv. Get directory from
2855 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2858 2016-02-01 Doug Evans <dje@google.com>
2860 * gdb.base/skip.exp: Clean up multiple references to same test name.
2862 2016-02-01 Pedro Alves <palves@redhat.com>
2865 * gdb.threads/forking-threads-plus-breakpoint.exp
2866 (displaced_stepping_supported): New global.
2867 (probe_displaced_stepping_support): New procedure.
2868 (do_test): Add 'displaced' parameter, and use it.
2869 (top level): Check for displaced stepping support. Add displaced
2870 stepping on/off testing axis.
2872 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2874 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2875 pointer. Don't perform further tests on the unassociated pointer
2876 if the first test fails.
2878 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2880 * gdb.base/max-value-size.c: New file.
2881 * gdb.base/max-value-size.exp: New file.
2882 * gdb.base/huge.exp: Disable max-value-size for this test.
2884 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2886 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2888 2016-01-28 Yao Qi <yao.qi@linaro.org>
2890 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2892 2016-01-25 Pedro Alves <palves@redhat.com>
2895 * gdb.base/fork-running-state.c: New file.
2896 * gdb.base/fork-running-state.exp: New file.
2898 2016-01-25 Pedro Alves <palves@redhat.com>
2901 * gdb.base/catch-fork-kill.c: New file.
2902 * gdb.base/catch-fork-kill.exp: New file.
2904 2016-01-25 Pedro Alves <palves@redhat.com>
2906 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2907 Delete, moved to lib/gdb.exp.
2908 * gdb.threads/forking-threads-plus-breakpoint.exp
2909 (foreach_with_prefix): Likewise.
2910 * gdb.threads/process-dies-while-handling-bp.exp
2911 (foreach_with_prefix): Likewise.
2912 * lib/gdb.exp (foreach_with_prefix): New procedure.
2914 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2916 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2917 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2919 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2921 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2924 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2925 Pedro Alves <palves@redhat.com>
2927 Fix testsuite compatibility with Guile.
2928 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2931 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2933 Fix testsuite compatibility with Guile.
2934 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2935 (thread 1): New test for backtrace through signal handler.
2937 2016-01-22 Yao Qi <yao.qi@linaro.org>
2940 * gdb.base/multi-forks.c: Include
2941 ../lib/unbuffer_output.c
2942 (main): Call gdb_unbuffer_output.
2944 2016-01-21 Doug Evans <dje@google.com>
2946 * lib/ada.exp (gdb_compile_ada): Fix typo.
2948 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2950 * gdb.base/break-fun-addr.exp: New file.
2951 * gdb.base/break-fun-addr1.c: New file.
2952 * gdb.base/break-fun-addr2.c: New file.
2954 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2956 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2957 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2960 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2962 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2963 when GDB can not set the vector return value. Add more comments
2966 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2968 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2971 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2973 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2975 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2977 * Makefile.in (check-single): Pass --status to runtest.
2978 (check/%.exp): Likewise.
2980 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2982 * Makefile.in (check-parallel): Propagate return code from make
2985 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2987 * gdb.trace/ftrace.exp: Fix expected message on continue.
2988 * gdb.trace/pending.exp: Fix expected message on continue.
2989 * gdb.trace/trace-break.exp: Fix expected message on continue.
2991 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2993 * lib/gdb.exp (gdb_test): Remove unused global references.
2995 2016-01-18 Pedro Alves <palves@redhat.com>
2997 * gdb.base/async-shell.exp: Adjust expected output.
2998 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2999 * gdb.base/siginfo-thread.exp: Adjust expected output.
3000 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3001 * gdb.java/jnpe.exp: Adjust expected output.
3002 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3003 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3004 * gdb.threads/leader-exit.exp: Adjust expected output.
3005 * gdb.threads/manythreads.exp: Adjust expected output.
3006 * gdb.threads/pthreads.exp: Adjust expected output.
3007 * gdb.threads/schedlock.exp: Adjust expected output.
3008 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3009 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3011 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3013 * gdb.threads/sigthread.exp: Adjust expected output.
3014 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3016 2016-01-18 Yao Qi <yao.qi@linaro.org>
3018 * gdb.guile/scm-section-script.c: Replace @progbits with
3020 * gdb.python/py-section-script.c: Likewise.
3022 2016-01-15 Pedro Alves <palves@redhat.com>
3024 * gdb.multi/tids.exp: Test star wildcard ranges.
3026 2016-01-15 Pedro Alves <palves@redhat.com>
3028 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3029 command from "thread apply" invocation.
3030 (thr_apply_info_thr_invalid): Default the expected output to the
3032 (top level): Add tests that use convenience variables. Add tests
3033 for "thread apply" with a valid TID list, but missing the command.
3035 2016-01-13 Pedro Alves <palves@redhat.com>
3037 * gdb.base/default.exp: Expect $_gthread as well.
3038 * gdb.multi/tids.exp: Test $_gthread.
3039 * gdb.threads/thread-specific.exp: Test $_gthread.
3041 2016-01-13 Pedro Alves <palves@redhat.com>
3043 * gdb.multi/tids.exp: Test "info threads -gid".
3045 2016-01-13 Pedro Alves <palves@redhat.com>
3047 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3049 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3051 2016-01-07 Pedro Alves <palves@redhat.com>
3053 * gdb.base/break.exp: Adjust to output changes.
3054 * gdb.base/hbreak2.exp: Likewise.
3055 * gdb.base/sepdebug.exp: Likewise.
3056 * gdb.base/watch_thread_num.exp: Likewise.
3057 * gdb.linespec/keywords.exp: Likewise.
3058 * gdb.multi/info-threads.exp: Likewise.
3059 * gdb.threads/thread-find.exp: Likewise.
3060 * gdb.multi/tids.c: New file.
3061 * gdb.multi/tids.exp: New file.
3063 2016-01-13 Pedro Alves <palves@redhat.com>
3065 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3067 2016-01-13 Pedro Alves <palves@redhat.com>
3069 * gdb.base/default.exp: Expect $_inferior as well.
3070 * gdb.multi/base.exp: Test $_inferior.
3072 2016-01-13 Pedro Alves <palves@redhat.com>
3074 PR breakpoints/19388
3075 * gdb.base/catch-signal-siginfo-cond.c: New file.
3076 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3078 2016-01-12 Josh Stone <jistone@redhat.com>
3079 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3081 * gdb.base/catch-syscall.c (do_execve): New variable.
3082 (main): Conditionally trigger an execve.
3083 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3084 (test_catch_syscall_execve): New, check entry/return across execve.
3085 (do_syscall_tests): Call test_catch_syscall_execve.
3087 2016-01-12 Pedro Alves <palves@redhat.com>
3089 * gdb.base/random-signal.exp (do_test): New procedure, with body
3090 of testcase moved in.
3092 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3093 Pedro Alves <palves@redhat.com>
3095 * gdb.base/funcargs.exp (finish from indirectly called function):
3096 Reintroduce the case for 'First'.
3098 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3099 Pedro Alves <palves@redhat.com>
3101 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3102 (tcatch_vfork_then_child_follow_exec)
3103 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3106 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3108 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3109 and repeats to unlimited.
3110 * gdb.python/py-value.exp: Likewise.
3111 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3112 and repeats to unlimited.
3114 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3116 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3117 and reordering the functions.
3118 * gdb.multi/hangout.c: Likewise.
3119 * gdb.multi/hello.c: Likewise.
3121 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3123 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3125 (SingleStatisticTestResult.report): Use dict.keys instead of
3128 2016-01-06 Pedro Alves <palves@redhat.com>
3130 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3132 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3134 * gdb.btrace/dlopen.exp: New.
3135 * gdb.btrace/dlopen.c: New.
3136 * gdb.btrace/dlopen-dso.c: New.
3138 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3140 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3141 PATTERN argument is optional.
3143 2015-12-24 Joel Brobecker <brobecker@adacore.com>
3145 * lib/ada.exp (target_compile_ada_from_dir): New function.
3146 (gdb_compile_ada): Reimplement avoiding the use of project files.
3147 * gdb.ada/gnat_ada.gpr: Delete.
3148 * gdb.ada/cond_lang.exp: Adjust test to make path before
3150 * gdb.ada/small_reg_param.exp: Likewise.
3152 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3154 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3156 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3158 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3161 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3163 * gdb.base/break.exp: Remove dead code.
3164 * gdb.base/sepdebug.exp: Likewise.
3166 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3168 * gdb.asm/asm-source.exp: Remove HP-UX references.
3169 * gdb.base/annota1.exp: Likewise.
3170 * gdb.base/annota3.exp: Likewise.
3171 * gdb.base/attach.exp: Likewise.
3172 * gdb.base/bigcore.exp: Likewise.
3173 * gdb.base/break.exp: Likewise.
3174 * gdb.base/call-ar-st.exp: Likewise.
3175 * gdb.base/callfuncs.exp: Likewise.
3176 * gdb.base/catch-fork-static.exp: Likewise.
3177 * gdb.base/display.exp: Likewise.
3178 * gdb.base/foll-exec-mode.exp: Likewise.
3179 * gdb.base/foll-exec.exp: Likewise.
3180 * gdb.base/foll-fork.exp: Likewise.
3181 * gdb.base/foll-vfork.exp: Likewise.
3182 * gdb.base/funcargs.exp: Likewise.
3183 * gdb.base/hbreak2.exp: Likewise.
3184 * gdb.base/inferior-died.exp: Likewise.
3185 * gdb.base/interrupt.exp: Likewise.
3186 * gdb.base/multi-forks.exp: Likewise.
3187 * gdb.base/nodebug.exp: Likewise.
3188 * gdb.base/sepdebug.exp: Likewise.
3189 * gdb.base/solib1.c: Likewise.
3190 * gdb.base/step-test.exp: Likewise.
3191 * gdb.mi/non-stop.c: Likewise.
3192 * gdb.mi/pthreads.c: Likewise.
3193 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3194 * gdb.threads/pthreads.c: Likewise.
3195 * gdb.threads/staticthreads.exp: Likewise.
3196 * lib/future.exp: Likewise.
3197 * lib/gdb.exp: Likewise.
3198 * gdb.base/so-indr-cl.c: Remove.
3199 * gdb.base/so-indr-cl.exp: Likewise.
3200 * gdb.base/solib.c: Likewise.
3201 * gdb.base/solib.exp: Likewise.
3202 * gdb.base/solib2.c: Likewise.
3204 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3206 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3207 * gdb.base/call-ar-st.exp: Likewise.
3208 * gdb.base/callfuncs.exp: Likewise.
3209 * gdb.base/condbreak.exp: Likewise.
3210 * gdb.base/constvars.exp: Likewise.
3211 * gdb.base/hbreak2.exp: Likewise.
3212 * gdb.base/langs.exp: Likewise.
3213 * gdb.base/list.exp: Likewise.
3214 * gdb.base/long_long.exp: Likewise.
3215 * gdb.base/ptype.exp: Likewise.
3216 * gdb.base/scope.exp: Likewise.
3217 * gdb.base/signals.exp: Likewise.
3218 * gdb.base/so-impl-ld.exp: Likewise.
3219 * gdb.base/varargs.exp: Likewise.
3220 * gdb.base/volatile.exp: Likewise.
3221 * gdb.base/whatis.exp: Likewise.
3222 * gdb.cp/cplusfuncs.exp: Likewise.
3223 * gdb.cp/inherit.exp: Likewise.
3224 * gdb.cp/local.exp: Likewise.
3225 * gdb.cp/member-ptr.exp: Likewise.
3226 * gdb.cp/method.exp: Likewise.
3227 * gdb.cp/overload.exp: Likewise.
3228 * gdb.cp/templates.exp: Likewise.
3229 * gdb.stabs/weird.exp: Likewise.
3230 * lib/compiler.c: Likewise.
3231 * lib/compiler.cc: Likewise.
3232 * lib/cp-support.exp: Likewise.
3233 * lib/gdb.exp: Likewise.
3235 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3237 * configure.ac: Remove HP-UX case.
3238 * configure: Regenerate.
3240 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3242 * lib/gdb.exp (gdb_compile): Add function doc.
3244 2015-12-17 Pedro Alves <palves@redhat.com>
3247 * gdb.multi/info-threads.exp: New file.
3249 2015-12-15 Yao Qi <yao.qi@linaro.org>
3251 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3254 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3256 * gdb.base/history-duplicates.exp: Skip if no readline support.
3258 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3260 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3262 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3264 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3266 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3268 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3269 ctrl-C if nointerrupts target property is set.
3270 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3271 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3272 * gdb.base/paginate-bg-execution.exp: Likewise.
3273 * gdb.base/paginate-execution-startup.exp: Likewise.
3274 * gdb.base/random-signal.exp: Likewise.
3275 * gdb.base/range-stepping.exp: Likewise.
3276 * gdb.cp/annota2.exp: Likewise.
3277 * gdb.cp/annota3.exp: Likewise.
3278 * gdb.gdb/selftest.exp: Likewise.
3279 * gdb.threads/continue-pending-status.exp: Likewise.
3280 * gdb.threads/leader-exit.exp: Likewise.
3281 * gdb.threads/manythreads.exp: Likewise.
3282 * gdb.threads/pthreads.exp: Likewise.
3283 * gdb.threads/schedlock.exp: Likewise.
3284 * gdb.threads/sigthread.exp: Likewise.
3286 2015-12-11 Don Breazeal <donb@codesourcery.com>
3288 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3290 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3291 * gdb.base/foll-exec.exp (main): Enable for target remote.
3292 * gdb.base/foll-fork.exp (main): Likewise.
3293 * gdb.base/foll-vfork.exp (main): Likewise.
3294 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3295 (proc continue_to_exit_bp_loc): Use clean_restart.
3296 * gdb.base/pie-execl.exp (main): Disable for target remote.
3297 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3298 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3299 * gdb.threads/execl.exp (main): Likewise.
3300 * gdb.threads/fork-child-threads.exp (main): Likewise.
3301 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3303 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3305 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3306 pid.tid style ptids, instead of just tid.
3307 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3308 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3309 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3310 ptids, instead of just tid.
3312 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3314 * gdb.base/list.exp (test_list_forward): Add end of file error
3316 (test_repeat_list_command): Add end of file error test.
3317 (test_list_backwards): Add beginning of file error test.
3319 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3321 * gdb.base/list.exp (test_list_invalid_args): New function,
3322 defined, and called.
3324 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3326 * gdb.base/list.exp (test_list): Make test names unique.
3328 2015-12-11 Yao Qi <yao.qi@linaro.org>
3330 * gdb.base/coremaker2.c: Remove.
3332 2015-12-10 Pedro Alves <palves@redhat.com>
3334 * gdb.multi/base.exp: Remove stale "spaces" references.
3336 2015-12-10 Pedro Alves <palves@redhat.com>
3338 * gdb.multi/base.exp: Don't use nowarnings.
3339 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3340 * gdb.multi/hangout.c: Include stdio.h.
3341 * gdb.multi/hello.c: Include stdlib.h.
3342 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3343 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3344 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3346 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3348 * gdb.dwarf2/dw2-ranges-base.c: New file.
3349 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3350 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3351 support additional line table, and debug ranges generation.
3352 (Dwarf::ranges): New function, generate .debug_ranges.
3353 (Dwarf::lines): Support generating simple line table programs.
3354 (Dwarf::assemble): Initialise new namespace variables.
3356 2015-12-09 Kevin Buettner <kevinb@redhat.com>
3358 * gdb.base/async.exp (proc test_background): Add case for
3359 asynchronous execution not supported.
3361 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
3363 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3364 format and change test names to make them unique.
3366 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3367 Pedro Alves <pedro@redhat.com>
3370 Add checking of floatformats setup on x86_64 hosts.
3371 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3372 (smallval, bigval): New labels/constants.
3373 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3374 float" after loading bigval and smallval.
3376 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3378 * gdb.ada/fun_overload_menu.exp: New testcase.
3379 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3381 2015-12-04 Josh Stone <jistone@redhat.com>
3383 * gdb.base/catch-fork-static.exp: New.
3385 2015-12-03 Yao Qi <yao.qi@linaro.org>
3387 * gdb.base/sizeof.c: Don't include stdio.h and
3388 ../lib/unbuffer_output.c.
3389 (main): New variable 'size' and 'value'. Remove printf and
3390 gdb_unbuffer_output. Assign return value to size and value.
3391 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3393 (check_sizeof): Check the result by printing variable 'size'.
3394 (check_valueof): Check the result by printing variable 'value'.
3396 2015-12-01 Yao Qi <yao.qi@linaro.org>
3398 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3399 for aarch64*-*-linux* target.
3401 2015-11-30 Pedro Alves <palves@redhat.com>
3403 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3405 2015-11-30 Pedro Alves <palves@redhat.com>
3407 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3408 Handle non-stop mode vCont replies.
3410 2015-11-30 Pedro Alves <palves@redhat.com>
3412 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3413 prepare_for_testing. Start gdb with "set non-stop on" appended to
3414 GDBFLAGS. Lax expected stop output.
3416 2015-11-27 Yao Qi <yao.qi@linaro.org>
3418 * gdb.arch/arm-neon.exp: New.
3419 * gdb.arch/arm-neon.c: New.
3421 2015-11-27 Yao Qi <yao.qi@linaro.org>
3423 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3425 2015-11-27 Yao Qi <yao.qi@linaro.org>
3427 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3428 frames-invalid annotation.
3430 2015-11-27 Yao Qi <yao.qi@linaro.org>
3432 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3434 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3436 * gdb.threads/names.exp: New file.
3437 * gdb.threads/names.c: New file.
3438 * README: Mention gdb,no_thread_names.
3440 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3443 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3446 2015-11-24 Pedro Alves <palves@redhat.com>
3449 * gdb.base/display.exp: Expect displays to be sorted in ascending
3450 order. Use multi_line.
3451 * gdb.base/solib-display.exp: Likewise.
3453 2015-11-24 Pedro Alves <palves@redhat.com>
3456 * gdb.base/display.exp: Expect displays to be sorted in ascending
3457 order. Use multi_line.
3458 * gdb.base/solib-display.exp: Likewise.
3460 2015-11-24 Pedro Alves <palves@redhat.com>
3463 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3464 threads in ascending order.
3465 * gdb.base/foll-fork.exp: Likewise.
3466 * gdb.base/foll-vfork.exp: Likewise.
3467 * gdb.base/multi-forks.exp: Likewise.
3468 * gdb.mi/mi-nonstop.exp: Likewise.
3469 * gdb.mi/mi-nsintrall.exp: Likewise.
3470 * gdb.multi/base.exp: Likewise.
3471 * gdb.multi/multi-arch.exp: Likewise.
3472 * gdb.python/py-inferior.exp: Likewise.
3473 * gdb.threads/break-while-running.exp: Likewise.
3474 * gdb.threads/execl.exp: Likewise.
3475 * gdb.threads/gcore-thread.exp: Likewise.
3476 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3477 * gdb.threads/kill.exp: Likewise.
3478 * gdb.threads/linux-dp.exp: Likewise.
3479 * gdb.threads/multiple-step-overs.exp: Likewise.
3480 * gdb.threads/next-bp-other-thread.exp: Likewise.
3481 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3482 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3483 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3484 * gdb.threads/thread-find.exp: Likewise.
3485 * gdb.threads/tls.exp: Likewise.
3486 * lib/mi-support.exp (mi_reverse_list): Delete.
3487 (mi_check_thread_states): No longer reverse list.
3489 2015-11-24 Pedro Alves <palves@redhat.com>
3491 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3494 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3496 * gdb.trace/actions.c: Include trace-common.h.
3497 (main): Add a location for a fast tracepoint.
3498 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3499 the normal tracepoints.
3500 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3502 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3504 * save-trace.exp: Factor out code to these...
3505 (gdb_save_tracepoints): New.
3506 (gdb_load_tracepoints): New.
3507 (do_save_load_test): New.
3509 2015-11-23 Kevin Buettner <kevinb@redhat.com>
3511 * gdb.base/asmlabel.exp: New test.
3512 * gdb.base/asmlabel.c: New test case.
3514 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3516 * gdb.base/wrong_frame_bt_full-main.c: New file.
3517 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3518 * gdb.base/wrong_frame_bt_full.exp: New file.
3520 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3522 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3524 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3526 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
3527 pstate register when comparing registers values in
3528 sparc64-*-linux-gnu targets to avoid spurious differences.
3530 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3532 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
3534 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3536 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3537 as type argument to gdb_compile.
3538 * gdb.base/nested-subp2.exp: Likewise.
3539 * gdb.base/nested-subp3.exp: Likewise.
3541 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3543 * lib/dwarf.exp (_note): Fix left shift of negative value.
3544 * gdb.trace/trace-condition.exp: Likewise.
3546 2015-11-13 Yao Qi <yao.qi@linaro.org>
3548 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3549 comments about d10v.
3550 (test_scalar_returns): Likewise.
3551 * gdb.base/d10v.ld: Remove.
3552 * gdb.base/overlays.exp: Remove the target triplet checking for
3554 * gdb.base/structs.exp (test_struct_returns): Remove the
3555 comments about d10v.
3556 (test_struct_calls): Likewise.
3558 2015-11-13 Yao Qi <yao.qi@linaro.org>
3560 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3561 * gdb.base/gnu_vector.c: Don't include stdio.h.
3562 (main): Don't print res and call add_some_intvecs.
3564 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3566 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3569 (func4): Use FAST_TRACEPOINT_LABEL.
3570 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3573 (thread_function): Use FAST_TRACEPOINT_LABEL.
3574 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3576 (marker): Use FAST_TRACEPOINT_LABEL.
3577 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3578 (pendfunc1): Remove.
3579 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3580 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3582 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3583 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3586 (marker): Use FAST_TRACEPOINT_LABEL.
3587 * gdb.trace/trace-common.h: New header.
3588 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3591 (marker): Use FAST_TRACEPOINT_LABEL.
3592 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3594 (thread_function): Use FAST_TRACEPOINT_LABEL.
3596 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3598 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3600 * gdb.trace/change-loc.exp: Use global pcreg definition.
3601 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3602 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3604 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3605 * gdb.trace/pending.exp: Likewise.
3606 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3607 * gdb.trace/trace-break.exp: Likewise.
3608 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3610 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3611 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3613 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3615 2015-11-09 Joel Brobecker <brobecker@adacore.com>
3617 * gdb.ada/fin_fun_out: New testcase.
3619 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3621 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3622 value associated with DW_AT_byte_size.
3623 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3624 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3627 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3629 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3630 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3632 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3633 gdb.dwarf2/dw2-canonicalize-type.exp,
3634 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3635 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3636 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3637 provided by gdb_target_symbol_prefix_flags_asm.
3638 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3639 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3640 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3641 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3642 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3643 macros where needed). Use this macro for symbols which require
3644 the prefix provided by SYMBOL_PREFIX.
3646 2015-11-05 Kevin Buettner <kevinb@redhat.com>
3648 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3650 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3651 representing expressions, of more than one list element.
3652 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3653 to prepend linker symbol prefix to f.
3654 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3655 table_1 and table_2.
3656 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3657 Likewise, for f and g.
3658 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3660 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3662 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3663 table_1_ptr and table_2_ptr.
3665 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3666 Joel Brobecker <brobecker@adacore.com>
3668 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3670 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3672 * gdb.reverse/s390-mvcle.c: New test.
3673 * gdb.reverse/s390-mvcle.exp: New file.
3674 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3676 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3678 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3680 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3682 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3684 * gdb.reverse/getresuid-reverse.exp: Likewise.
3685 * gdb.reverse/pipe-reverse.exp: Likewise.
3686 * gdb.reverse/readv-reverse.exp: Likewise.
3687 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3688 * gdb.reverse/time-reverse.exp: Likewise.
3689 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3691 2015-10-30 Yao Qi <yao.qi@linaro.org>
3693 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3694 (empty_cycle): Remove.
3695 (main): Don't call empty_cycle. Don't use watch_count_done.
3696 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3697 empty_cycle. Rewrite the code counting HW watchpoints.
3699 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3701 * gdb.reverse/fstatat-reverse.c: New test.
3702 * gdb.reverse/fstatat-reverse.exp: New file.
3703 * gdb.reverse/getresuid-reverse.c: New test.
3704 * gdb.reverse/getresuid-reverse.exp: New file.
3705 * gdb.reverse/pipe-reverse.c: New test.
3706 * gdb.reverse/pipe-reverse.exp: New file.
3707 * gdb.reverse/readv-reverse.c: New test.
3708 * gdb.reverse/readv-reverse.exp: New file.
3709 * gdb.reverse/recvmsg-reverse.c: New test.
3710 * gdb.reverse/recvmsg-reverse.exp: New file.
3711 * gdb.reverse/time-reverse.c: New test.
3712 * gdb.reverse/time-reverse.exp: New file.
3713 * gdb.reverse/waitpid-reverse.c: New test.
3714 * gdb.reverse/waitpid-reverse.exp: New file.
3716 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3718 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3720 2015-10-26 Doug Evans <dje@google.com>
3723 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3724 * gdb.dwarf2/bad-regnum.c: New file.
3725 * gdb.dwarf2/bad-regnum.exp: New file.
3727 2015-10-26 Doug Evans <dje@google.com>
3730 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3733 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3735 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3736 for a change by "Mention language in compile error message".
3738 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3741 * gdb.python/py-type.c (C::a_method): New.
3742 (C::a_const_method): New.
3743 (C::a_static_method): New.
3745 * gdb.python/py-type.exp (test_fields): Test getting fields
3746 from function and method.
3748 2015-10-21 Keven Boell <keven.boell@intel.com>
3750 * gdb.fortran/vla-alloc-assoc.exp: New file.
3751 * gdb.fortran/vla-datatypes.exp: New file.
3752 * gdb.fortran/vla-datatypes.f90: New file.
3753 * gdb.fortran/vla-history.exp: New file.
3754 * gdb.fortran/vla-ptype-sub.exp: New file.
3755 * gdb.fortran/vla-ptype.exp: New file.
3756 * gdb.fortran/vla-sizeof.exp: New file.
3757 * gdb.fortran/vla-sub.f90: New file.
3758 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3759 * gdb.fortran/vla-value-sub-finish.exp: New file.
3760 * gdb.fortran/vla-value-sub.exp: New file.
3761 * gdb.fortran/vla-value.exp: New file.
3762 * gdb.fortran/vla-ptr-info.exp: New file.
3763 * gdb.mi/mi-vla-fortran.exp: New file.
3764 * gdb.mi/vla.f90: New file.
3766 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3768 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3769 of hardwired timeout value.
3771 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3772 Pedro Alves <palves@redhat.com>
3774 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3775 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3777 2015-10-19 Josh Stone <jistone@redhat.com>
3779 * gdb.base/catch-syscall.c: Include <sched.h>.
3780 (unknown_syscall): New variable.
3781 (main): Trigger a vfork and an unknown syscall.
3782 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3783 (unknown_syscall_number): Likewise.
3784 (check_call_to_syscall): Accept an optional syscall pattern.
3785 (check_return_from_syscall): Likewise.
3786 (check_continue): Likewise.
3787 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3788 (test_catch_syscall_skipping_return): New test toggling off 'catch
3789 syscall' to step over the syscall return, then toggling back on.
3790 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3791 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3792 (do_syscall_tests): Call test_catch_syscall_without_args and
3793 test_catch_syscall_mid_vfork.
3794 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3795 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3797 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
3799 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3800 print g_vE): Add new pass patterns.
3801 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3802 print various symbol names for vptr fields.
3804 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3806 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3809 2015-10-12 Yao Qi <yao.qi@linaro.org>
3811 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3813 2015-10-12 Yao Qi <yao.qi@linaro.org>
3815 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3816 is aarch64*-*-linux*.
3818 2015-10-12 Yao Qi <yao.qi@linaro.org>
3820 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3821 (can_relocate_bcond_true): ... it.
3822 (can_relocate_bcond_false): New function.
3824 (can_relocate_bl): Likewise.
3825 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3828 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3830 * gdb.base/nested-addr.c: New file.
3831 * gdb.base/nested-addr.exp: New testcase.
3833 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3835 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3836 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3837 its output. Ignore the output of "record goto begin" and instead
3838 check that GDB is replaying.
3840 2015-10-09 Pedro Alves <palves@redhat.com>
3842 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3843 (top level): Use it in the run with no args test.
3845 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3847 * gdb.dlang/properties.exp: New file.
3849 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3851 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3852 whether or not address 0x1000 is mapped on the target.
3854 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3856 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3859 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3861 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3862 instruction-history test.
3864 2015-09-28 Doug Evans <dje@google.com>
3866 * gdb.base/gcore.c (array_func): Add reference to static_array.
3868 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3870 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3873 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3875 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3876 short or char as base type.
3878 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3880 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3881 to allow any size enum.
3883 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3885 * gdb.ada/array_ptr_renaming.exp: New testcase.
3886 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3887 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3889 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3891 * gdb.trace/ftrace-lock.c: New file.
3892 * gdb.trace/ftrace-lock.exp: New file.
3894 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3896 * gdb.arch/insn-reloc.c: New file.
3897 * gdb.arch/ftrace-insn-reloc.exp: New file.
3899 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3901 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3903 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3904 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3905 * gdb.trace/range-stepping.c: Likewise.
3906 * gdb.trace/trace-break.c: Likewise.
3907 * gdb.trace/trace-mt.c (thread_function): Likewise.
3908 * gdb.trace/ftrace.c (marker): Likewise.
3909 * gdb.trace/trace-condition.c (marker): Likewise.
3910 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3911 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3914 2015-09-18 Doug Evans <xdje42@gmail.com>
3916 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3917 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3919 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3921 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3924 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3926 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3927 the pending breakpoint. Remove timeout override for "Run till
3928 MI pending breakpoint on pendfunc3 on thread 2" test.
3930 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3932 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3935 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3937 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3938 in breakpoint filename pattern.
3940 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3942 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3944 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3946 * gdb.linespec/explicit.exp: Check for readline support for
3947 tab-completion tests. Fix obvious typo.
3949 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3951 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3954 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3956 * gdb.btrace/non-stop.c: New.
3957 * gdb.btrace/non-stop.exp: New.
3959 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3960 Yao Qi <yao.qi@linaro.org>
3962 * gdb.trace/trace-condition.c: New file.
3963 * gdb.trace/trace-condition.exp: New file.
3965 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3967 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3968 for testing bytecode compilation.
3970 2015-09-16 Pedro Alves <palves@redhat.com>
3971 Sandra Loosemore <sandra@codesourcery.com>
3973 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3974 (SECONDS): Redefine.
3975 (main): Call pthread_kill and alarm early.
3976 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3978 (test): If the target can't hardware step and doesn't support
3979 displaced stepping, increase the timeout.
3981 2015-09-16 Pedro Alves <palves@redhat.com>
3983 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3984 (enable_debug): New procedures.
3985 (test): Use them. Bail out if waiting for threads fails.
3986 (top level): Bail out if a test fails.
3988 2015-09-16 Yao Qi <yao.qi@linaro.org>
3990 * gdb.asm/asm-source.exp: Set asm-arch for
3991 aarch64*-*-* target.
3992 * gdb.asm/aarch64.inc: New file.
3994 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3996 * gdb.ada/array_of_variable_length.exp: New testcase.
3997 * gdb.ada/array_of_variable_length/foo.adb: New file.
3998 * gdb.ada/array_of_variable_length/pck.adb: New file.
3999 * gdb.ada/array_of_variable_length/pck.ads: New file.
4001 2015-09-15 Doug Evans <dje@google.com>
4003 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4004 of function static local variable.
4006 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4008 * gdb.threads/tls-so_extern.exp: New test file.
4009 * gdb.threads/tls-so_extern.c: New test file.
4010 * gdb.threads/tls-so_extern_main.c: New test file.
4012 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4014 * gdb.opt/solib-intra-step-lib.c: New file.
4015 * gdb.opt/solib-intra-step-main.c: New file.
4016 * gdb.opt/solib-intra-step.exp: New file.
4018 2015-09-15 Pedro Alves <palves@redhat.com>
4020 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4021 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4023 2015-09-14 Pedro Alves <palves@redhat.com>
4025 * gdb.base/hook-stop-continue.c: Delete.
4026 * gdb.base/hook-stop-continue.exp: Delete.
4027 * gdb.base/hook-stop-frame.c: Delete.
4028 * gdb.base/hook-stop-frame.exp: Delete.
4029 * gdb.base/hook-stop.c: New file.
4030 * gdb.base/hook-stop.exp: New file.
4032 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4034 * gdb.ada/access_to_packed_array.exp: New testcase.
4035 * gdb.ada/access_to_packed_array/foo.adb: New file.
4036 * gdb.ada/access_to_packed_array/pack.adb: New file.
4037 * gdb.ada/access_to_packed_array/pack.ads: New file.
4039 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4041 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4044 2015-09-11 Don Breazeal <donb@codesourcery.com>
4046 * gdb.base/foll-exec.c: Add copyright header. Fix
4048 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4049 (do_exec_tests): Use clean_restart in place of zap_session,
4050 and for test initialization. Fix formatting issues. Use
4051 fail in place of perror.
4052 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4053 an expect statement to match an expression with output from
4054 the program under debug.
4055 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4056 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4057 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4058 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4059 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4061 2015-09-09 Doug Evans <dje@google.com>
4063 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4065 2015-09-09 Doug Evans <dje@google.com>
4067 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4069 2015-09-09 Doug Evans <dje@google.com>
4071 * gdb.base/savedregs.exp: Fix typo.
4073 2015-09-09 Pedro Alves <palves@redhat.com>
4075 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4077 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4079 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4080 command actually switches threads. Give up on remaining
4081 tests if target fails to stop at breakpoint.
4083 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4085 * gdb.ada/funcall_char.exp: New testcase.
4086 * gdb.ada/funcall_char/foo.adb: New file.
4088 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4090 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4091 expected outputs. Add two testcases for completing ambiguous
4093 * gdb.ada/complete/aux_pck.adb: New file.
4094 * gdb.ada/complete/aux_pck.ads: New file.
4095 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4096 Ambiguous_Func functions.
4097 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4098 * gdb.ada/complete/pck.adb: Likewise.
4100 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4102 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4103 failures to run the test program under GDB.
4105 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4107 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4110 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4112 * gdb.base/run-after-attach.exp: New test file.
4113 * gdb.base/run-after-attach.c: New test file.
4115 2015-08-26 Don Breazeal <donb@codesourcery.com>
4117 * gdb.base/foll-exec-2.c: New test program.
4118 * gdb.base/foll-exec-2.exp: New test.
4120 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4122 * gdb.base/nested-subp1.exp: New file.
4123 * gdb.base/nested-subp1.c: New file.
4124 * gdb.base/nested-subp2.exp: New file.
4125 * gdb.base/nested-subp2.c: New file.
4126 * gdb.base/nested-subp3.exp: New file.
4127 * gdb.base/nested-subp3.c: New file.
4129 2015-08-24 Pedro Alves <palves@redhat.com>
4131 * gdb.server/connect-without-multi-process.c: New file.
4132 * gdb.server/connect-without-multi-process.exp: New file.
4134 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4136 * gdb.opt/inline-markers.c: Make z int.
4138 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4140 * gdb.opt/inline-markers.c: Make z volatile.
4142 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4144 * gdb.opt/inline-bt.c: New volatile global z.
4145 * gdb.opt/inline-cmds.c: Likewise.
4146 * gdb.opt/inline-locals.c: Likewise.
4147 * gdb.opt/inline-markers.c: New extern global z.
4149 (inline_fn): Likewise.
4151 2015-08-24 Pedro Alves <palves@redhat.com>
4153 * config/m32r-stub.exp: Remove file.
4154 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4155 * gdb.base/call-rt-st.exp: Likewise.
4156 * gdb.base/call-strs.exp: Likewise.
4157 * gdb.base/default.exp: Remove references to h8300-*-hms and
4159 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4161 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4163 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4164 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4165 and "return" use KFAIL when GDB can not read/write the vector
4168 2015-08-21 Gary Benson <gbenson@redhat.com>
4170 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4172 2015-08-20 Pedro Alves <palves@redhat.com>
4174 * gdb.server/solib-list.exp: No longer expect an interior stop in
4177 2015-08-20 Pedro Alves <palves@redhat.com>
4179 * gdb.server/connect-stopped-target.c: New file.
4180 * gdb.server/connect-stopped-target.exp: New file.
4182 2015-08-20 Pedro Alves <palves@redhat.com>
4184 * gdb.dwarf2/comp-unit-lang.exp: New file.
4185 * gdb.dwarf2/comp-unit-lang.c: New file.
4187 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4189 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4190 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4192 2015-08-19 Kevin Buettner <kevinb@redhat.com>
4194 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4195 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4197 2015-08-18 Doug Evans <dje@google.com>
4198 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4200 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4201 skip_python_tests. New arg prompt_regexp.
4202 (skip_python_tests): New function.
4203 * lib/mi-support.exp (mi_skip_python_tests): New function.
4204 * gdb.python/py-mi-objfile-gdb.py: New file.
4205 * gdb.python/py-mi-objfile.c: New file.
4206 * gdb.python/py-mi-objfile.exp: New file.
4208 2015-08-17 Keith Seitz <keiths@redhat.com>
4210 * gdb.linespec/explicit.exp: Move strace test from here ...
4211 * gdb.trace/strace.exp: ... to here.
4213 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4215 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4216 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4218 2015-08-14 Doug Evans <xdje42@gmail.com>
4220 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4221 inferior before selecting a new file.
4223 2015-08-14 Doug Evans <xdje42@gmail.com>
4225 * gdb.mi/mi-disassemble.exp: Update.
4226 * gdb.base/disasm-optim.S: New file.
4227 * gdb.base/disasm-optim.c: New file.
4228 * gdb.base/disasm-optim.h: New file.
4229 * gdb.base/disasm-optim.exp: New file.
4231 2015-08-14 Keith Seitz <keiths@redhat.com>
4233 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4236 2015-08-13 Joel Brobecker <brobecker@adacore.com>
4238 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4240 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4242 * gdb.ada/fun_renaming.exp: New testcase.
4243 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4244 * gdb.ada/fun_renaming/pack.adb: New file.
4245 * gdb.ada/fun_renaming/pack.ads: New file.
4247 2015-08-12 Keith Seitz <keiths@redhat.com>
4249 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4250 gdb_get_line_number.
4252 2015-08-12 Joel Brobecker <brobecker@adacore.com>
4254 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4255 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4256 gdb.base/dso2dso.exp: New files.
4258 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4259 Pedro Alves <palves@redhat.com>
4260 Keith Seitz <keiths@redhat.com>
4262 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4265 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4267 * gdb.base/gdbhistsize-history.exp
4268 (test_histsize_history_setting): Use save_vars.
4269 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4271 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4272 * gdb.base/readline.exp: Use save_vars.
4274 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4276 * lib/gdb.exp (save_vars): New proc.
4278 2015-08-11 Keith Seitz <keiths@redhat.com>
4280 * gdb.base/help.exp: Update help_breakpoint_text.
4282 2015-08-11 Keith Seitz <keiths@redhat.com>
4284 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4285 (at toplevel): Call test_explicit_breakpoints.
4286 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4288 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4289 breakpoint conditions, "-cond".
4291 2015-08-11 Keith Seitz <keiths@redhat.com>
4293 * gdb.linespec/3explicit.c: New file.
4294 * gdb.linespec/cpexplicit.cc: New file.
4295 * gdb.linespec/cpexplicit.exp: New file.
4296 * gdb.linespec/explicit.c: New file.
4297 * gdb.linespec/explicit.exp: New file.
4298 * gdb.linespec/explicit2.c: New file.
4299 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4300 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4301 before using in the matching pattern.
4302 Clarify that `prefix' is a regular expression.
4304 2015-08-11 Keith Seitz <keiths@redhat.com>
4306 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4308 Add tests for missing ",FMT" and ",".
4310 2015-08-10 Doug Evans <dje@google.com>
4311 Keith Seitz <keiths@redhat.com>
4314 * gdb.base/completion.exp: Add location completer tests.
4316 2015-08-07 Pedro Alves <palves@redhat.com>
4318 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4320 (top level): Run do_test with and without displaced stepping.
4322 2015-08-07 Pedro Alves <palves@redhat.com>
4324 * gdb.base/valgrind-disp-step.c: New file.
4325 * gdb.base/valgrind-disp-step.exp: New file.
4327 2015-08-07 Pedro Alves <palves@redhat.com>
4329 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4331 (main): Add alarm. Run an infinite loop instead of calling
4333 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4335 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4337 (main): Add alarm. Run an infinite loop instead of calling
4339 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4342 2015-08-07 Pedro Alves <palves@redhat.com>
4344 * gdb.base/checkpoint-ns.exp: New file.
4345 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4348 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4350 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4351 * gdb.btrace/instruction_history.exp: Update.
4352 * gdb.btrace/tsx.exp: New.
4353 * gdb.btrace/tsx.c: New.
4355 2015-08-06 Pedro Alves <palves@redhat.com>
4357 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4359 * gdb.reverse/until-precsave.exp: Bump timeouts.
4361 2015-08-06 Pedro Alves <palves@redhat.com>
4363 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4365 2015-08-06 Pedro Alves <palves@redhat.com>
4368 * gdb.threads/process-dies-while-handling-bp.c: New file.
4369 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4371 2015-08-06 Pedro Alves <palves@redhat.com>
4373 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4374 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4376 2015-08-05 Pedro Alves <palves@redhat.com>
4378 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4379 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4381 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4383 * gdb.base/bp-permanent.exp: Report test as unsupported if
4384 the target cannot stop at the permanent breakpoint.
4386 2015-08-03 Doug Evans <dje@google.com>
4388 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4391 2015-08-03 Doug Evans <dje@google.com>
4393 * Makefile.in (workers/%.worker, build-perf): New rule.
4394 (GDB_PERFTEST_MODE): New variable.
4395 (check-perf): Use it.
4396 (clean): Clean up gdb.perf parallel build subdirs.
4397 * lib/build-piece.exp: New file.
4398 * lib/gdb.exp (make_gdb_parallel_path): New function
4399 (standard_output_file, standard_temp_file): Call it.
4400 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4402 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4404 2015-08-03 Doug Evans <dje@google.com>
4406 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4407 (LOG_FILE_NAME): New global.
4408 (TextReporter.__init__): Initialize self.txt_sum.
4409 (TextReporter.report): Add support for multiple data-points.
4410 Move report to perftest.sum, put raw data in perftest.log.
4411 (TextReporter.start): Open sum and log files.
4412 (TextReporter.end): Close sum and log files.
4413 * gdb.perf/lib/perftest/testresult.py
4414 (SingleStatisticTestResult.record): Handle multiple data-points.
4416 2015-07-31 Pedro Alves <palves@redhat.com>
4418 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4419 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4420 kill_wait_spawned_process instead of explicit "kill -9".
4421 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4422 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4423 kill_wait_spawned_process.
4424 * gdb.base/attach-twice.exp: Likewise.
4425 * gdb.base/attach.exp: Likewise.
4426 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4428 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4429 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4430 kill_wait_spawned_process.
4431 * gdb.base/valgrind-infcall.exp: Likewise.
4432 * gdb.multi/multi-attach.exp: Likewise.
4433 * gdb.python/py-prompt.exp: Likewise.
4434 * gdb.python/py-sync-interp.exp: Likewise.
4435 * gdb.server/ext-attach.exp: Likewise.
4436 * gdb.threads/attach-into-signal.exp (corefunc): Use
4437 spawn_wait_for_attach, spawn_id_get_pid and
4438 kill_wait_spawned_process.
4439 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4440 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4441 spawn_id_get_pid and kill_wait_spawned_process.
4442 * gdb.threads/attach-stopped.exp (corefunc): Use
4443 spawn_wait_for_attach, spawn_id_get_pid and
4444 kill_wait_spawned_process.
4445 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4446 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4447 kill_wait_spawned_process instead of explicit "kill -9".
4448 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4449 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4450 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4451 processes. Don't map cygwin/windows pids here. Now returns a
4454 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4456 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4457 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4460 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4462 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4464 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4467 2014-05-21 Mark Wielaard <mjw@redhat.com>
4469 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4471 2015-07-30 Pedro Alves <palves@redhat.com>
4473 * linux-low.c (handle_extended_wait): Set the child's last
4474 reported status to TARGET_WAITKIND_STOPPED.
4476 2015-07-30 Pedro Alves <palves@redhat.com>
4479 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4480 only shows inferior 1.
4482 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4483 Pedro Alves <palves@redhat.com>
4486 * gdb.threads/fork-plus-threads.c: New file.
4487 * gdb.threads/fork-plus-threads.exp: New file.
4489 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4491 * gdb.base/batch-preserve-term-settings.exp
4492 (test_terminal_settings_preserved_after_cli_exit): Use
4495 2015-07-29 Pedro Alves <palves@redhat.com>
4496 Don Breazeal <donb@codesourcery.com>
4498 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4499 output from both inferior_spawn_id and gdb_spawn_id.
4501 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4503 * gdb.threads/attach-into-signal.exp (corefunc): Use
4504 with_test_prefix on nested loops, uniquefying the test messages.
4506 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4508 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4511 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4513 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4515 (test_terminal_settings_preserved_after_sigterm): New test.
4517 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4519 * gdb.base/batch-preserve-term-settings.exp
4520 (test_terminal_settings_preserved_after_cli_exit): New test.
4522 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4524 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4525 manipulation of saved_gdbflags.
4526 (test_terminal_settings_preserved): Remove global declaration of
4527 the unused variable pagination_prompt. Remove manipulation of
4528 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4531 2015-07-29 Pedro Alves <palves@redhat.com>
4533 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4535 2015-07-29 Pedro Alves <palves@redhat.com>
4537 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4540 2015-07-29 Pedro Alves <palves@redhat.com>
4542 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4543 (main): Call gdb_unbuffer_output.
4544 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4545 (main): Call gdb_unbuffer_output.
4546 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4547 (main): Call gdb_unbuffer_output.
4548 * gdb.base/call-strs.exp: Adjust to step over the
4549 gdb_unbuffer_output call.
4550 * gdb.base/catch-gdb-caused-signals.c: Include
4551 "../lib/unbuffer_output.c".
4552 (main): Call gdb_unbuffer_output.
4553 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4554 (main): Call gdb_unbuffer_output.
4555 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4556 (main): Call gdb_unbuffer_output.
4557 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4558 (main): Call gdb_unbuffer_output.
4559 * gdb.base/shlib-call.exp: Adjust to step over the
4560 gdb_unbuffer_output call.
4561 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4562 (main): Call gdb_unbuffer_output.
4563 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4564 (main): Call gdb_unbuffer_output.
4565 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4566 (main): Rename to ...
4568 (main): Reimplement.
4569 * gdb.base/varargs.exp: Run to test instead of to main.
4570 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4571 (main): Call gdb_unbuffer_output.
4573 2015-07-29 Pedro Alves <palves@redhat.com>
4575 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4576 factore out from mi_continue_dprintf. For call-style dprintfs,
4577 expect dprintf output out of $inferior_spawn_id.
4578 (mi_continue_dprintf): Use mi_expect_dprintf.
4579 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4580 (main): Call gdb_unbuffer_output.
4582 2015-07-29 Pedro Alves <palves@redhat.com>
4584 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4585 (default_mi_gdb_start): Set inferior_spawn_id instead of
4586 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4588 (mi_gdb_test): Always expect inferior output from both
4589 $inferior_spawn_id and $gdb_spawn_id.
4591 2015-07-29 Pedro Alves <palves@redhat.com>
4593 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4594 send_inferior and $inferior_spawn_id.
4596 2015-07-29 Pedro Alves <palves@redhat.com>
4598 * gdb.gdb/complaints.exp (test_initial_complaints)
4599 (test_serial_complaints, test_short_complaints): Use
4601 (test_empty_complaint): Handle $inferior_spawn_id !=
4604 2015-07-29 Pedro Alves <palves@redhat.com>
4606 * gdb.base/varargs.exp: Use gdb_test_stdio.
4608 2015-07-29 Pedro Alves <palves@redhat.com>
4610 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4612 2015-07-29 Pedro Alves <palves@redhat.com>
4614 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4616 2015-07-29 Pedro Alves <palves@redhat.com>
4618 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4619 parameter into two new parameters, "inf_result" and "gdb_result".
4620 Expect inferior output and gdb output from $inferior_spawn_id and
4621 $gdb_spawn_id, respectively. Adjust all callers.
4623 2015-07-29 Pedro Alves <palves@redhat.com>
4625 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4626 of gdb_test_sequence.
4628 2015-07-29 Pedro Alves <palves@redhat.com>
4630 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4631 (saw_spurious_output): Expect inferior output from
4632 $inferior_spawn_id. Use gdb_test_stdio.
4634 2015-07-29 Pedro Alves <palves@redhat.com>
4636 * gdb.base/dprintf.exp: Use standard_testfile. Change
4637 prepare_for_testing call.
4638 (srcfile): Don't set.
4639 (restart): New procedure.
4640 (test_dprintf): New procecure, use to continue over dprintfs.
4641 (test_call, test_agent): New procedures, tests moved here.
4642 Restart gdb and recreate dprintfs. Adjust expected output.
4644 2015-07-29 Pedro Alves <palves@redhat.com>
4646 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4648 2015-07-29 Pedro Alves <palves@redhat.com>
4650 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4652 2015-07-29 Pedro Alves <palves@redhat.com>
4654 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4657 2015-07-29 Pedro Alves <palves@redhat.com>
4659 * lib/gdb.exp (gdb_test_stdio): New procedure.
4661 2015-07-29 Pedro Alves <palves@redhat.com>
4663 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4665 2015-07-29 Pedro Alves <palves@redhat.com>
4667 * gdb.base/call-signal-resume.exp: Remove check for
4668 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4669 * gdb.base/unwindonsignal.exp: Likewise.
4670 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4671 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4673 2015-07-29 Pedro Alves <palves@redhat.com>
4675 * gdb.base/siginfo-addr.c (pass): New function.
4676 (handler): Call it iff si_addr is correct.
4677 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4678 Set a breakpoint at "pass" and continue to it.
4680 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4682 * gdb.python/py-objfile.exp: Make some tests have unique names.
4683 * gdb.python/py-pp-registration.exp: Likewise.
4685 2015-07-28 Pedro Alves <palves@redhat.com>
4687 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4689 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4691 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4693 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4695 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4697 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4699 * gdb.base/gdb-sigterm-2.exp: New test.
4701 2015-07-25 Doug Evans <xdje42@gmail.com>
4704 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4705 (workers/%.worker, build-perf): New rule.
4706 (GDB_PERFTEST_MODE): New variable.
4707 (check-perf): Use it.
4708 (clean): Clean up gdb.perf parallel build subdirs.
4709 * lib/build-piece.exp: New file.
4710 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4711 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4713 (standard_temp_file): Ditto.
4714 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4717 2015-07-24 Doug Evans <dje@google.com>
4719 * gdb.perf/lib/perftest/utils.py: New file.
4720 * gdb.perf/gm-hello.cc: New file.
4721 * gdb.perf/gm-pervasive-typedef.cc: New file.
4722 * gdb.perf/gm-pervasive-typedef.h: New file.
4723 * gdb.perf/gm-std.cc: New file.
4724 * gdb.perf/gm-std.h: New file.
4725 * gdb.perf/gm-use-cerr.cc: New file.
4726 * gdb.perf/gm-utils.h: New file.
4727 * gdb.perf/gmonster-null-lookup.py: New file.
4728 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4729 * gdb.perf/gmonster-print-cerr.py: New file.
4730 * gdb.perf/gmonster-ptype-string.py: New file.
4731 * gdb.perf/gmonster-runto-main.py: New file.
4732 * gdb.perf/gmonster-select-file.py: New file.
4733 * gdb.perf/gmonster1-null-lookup.exp: New file.
4734 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4735 * gdb.perf/gmonster1-print-cerr.exp: New file.
4736 * gdb.perf/gmonster1-ptype-string.exp: New file.
4737 * gdb.perf/gmonster1-runto-main.exp: New file.
4738 * gdb.perf/gmonster1-select-file.exp: New file.
4739 * gdb.perf/gmonster1.cc: New file.
4740 * gdb.perf/gmonster1.exp: New file.
4741 * gdb.perf/gmonster2-null-lookup.exp: New file.
4742 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4743 * gdb.perf/gmonster2-print-cerr.exp: New file.
4744 * gdb.perf/gmonster2-ptype-string.exp: New file.
4745 * gdb.perf/gmonster2-runto-main.exp: New file.
4746 * gdb.perf/gmonster2-select-file.exp: New file.
4747 * gdb.perf/gmonster2.cc: New file.
4748 * gdb.perf/gmonster2.exp: New file.
4750 2015-07-24 Doug Evans <dje@google.com>
4752 * gdb.perf/README: New file.
4753 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4754 * lib/gen-perf-test.exp: New file.
4756 2015-07-24 Doug Evans <dje@google.com>
4758 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4759 (PerfTest::startup): New function.
4760 (PerfTest::run): Return result of calling body.
4761 (PerfTest::assemble): Rewrite.
4762 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4763 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4764 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4765 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4766 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4768 2015-07-24 Doug Evans <dje@google.com>
4770 * lib/gdb.exp (clean_restart): Make executable optional.
4772 2015-07-24 Doug Evans <dje@google.com>
4774 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4775 compiler_info references.
4776 * gdb.cp/temargs.exp: Ditto.
4777 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4778 (get_compiler_info): Early exit if already computed. Set compiler_info
4779 to "unknown" if there was a problem.
4780 (test_compiler_info): Add function comment. Call get_compiler_info.
4782 2015-07-24 Doug Evans <dje@google.com>
4784 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4785 (workers/%.worker, build-perf): New rule.
4786 (GDB_PERFTEST_MODE): New variable.
4787 (check-perf): Use it.
4788 (clean): Clean up gdb.perf parallel build subdirs.
4789 * lib/build-piece.exp: New file.
4790 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4791 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4793 (standard_temp_file): Ditto.
4794 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4797 2015-07-24 Doug Evans <dje@google.com>
4799 * lib/future.exp (gdb_default_target_compile): New option
4801 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4804 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4806 * gdb.base/catch-syscall.exp: Call gdb_exit before
4809 2015-07-24 Pedro Alves <palves@redhat.com>
4811 * gdb.python/py-events.exp: Accept output between the stop event
4813 * gdb.python/py-evsignal.exp: Likewise.
4814 * gdb.python/py-evthreads.exp: Likewise.
4816 2015-07-24 Pedro Alves <palves@redhat.com>
4819 * gdb.threads/non-ldr-exit.c: New file.
4820 * gdb.threads/non-ldr-exit.exp: New file.
4822 2015-07-24 Yao Qi <yao.qi@linaro.org>
4824 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4827 2015-07-24 Yao Qi <yao.qi@linaro.org>
4829 * gdb.server/ext-restart.exp: New file.
4831 2015-07-24 Yao Qi <yao.qi@linaro.org>
4833 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4835 * gdb.server/ext-wrapper.exp: New file.
4837 2015-07-23 Doug Evans <dje@google.com>
4839 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4840 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4842 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4844 * gdb.ada/var_arr_typedef.exp: New testcase.
4845 * gdb.ada/var_arr_typedef/pack.adb: New file.
4846 * gdb.ada/var_arr_typedef/pack.ads: New file.
4847 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4849 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4851 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4853 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4855 * gdb.arch/i386-biarch-core.exp: Replace istarget
4856 by "complete set gnutarget". Remove expectation for the "core-file"
4859 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4861 Revert the previous commit:
4862 Tests for validate symbol file using build-id.
4864 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4866 Tests for validate symbol file using build-id.
4867 * gdb.base/solib-mismatch-lib.c: New file.
4868 * gdb.base/solib-mismatch-libmod.c: New file.
4869 * gdb.base/solib-mismatch.c: New file.
4870 * gdb.base/solib-mismatch.exp: New file.
4872 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4874 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4876 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4877 * gdb.base/siginfo.exp: Likewise.
4878 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4880 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4882 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4884 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4886 * gdb.trace/range-stepping.exp: Check that the target supports
4889 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4891 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4893 2015-07-14 Pedro Alves <palves@redhat.com>
4895 * gdb.base/killed-outside.exp: New file.
4896 * gdb.base/killed-outside.c: New file.
4898 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4900 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4902 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4904 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4906 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4907 infcall tests instead of setting up for KFAIL.
4909 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4911 * gdb.btrace/record_goto-step.exp: New.
4913 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4916 * gdb.compile/compile.c (struct struct_type): Add volatile to
4918 * gdb.compile/compile.exp
4919 (compile code struct_object.selffield = &struct_object): Skip further
4920 struct_object tests if this one xfails.
4922 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4925 * gdb.trace/ax.exp: Add test.
4927 2015-07-07 Yao Qi <yao.qi@linaro.org>
4929 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4930 instead of istarget "aarch64*-*-*".
4931 * gdb.arch/aarch64-fp.exp: Likewise.
4932 * gdb.base/float.exp: Likewise.
4933 * gdb.reverse/aarch64.exp: Likewise.
4934 * lib/gdb.exp (is_aarch64_target): New proc.
4936 2015-07-07 Yao Qi <yao.qi@linaro.org>
4938 * lib/gdb.exp (is_aarch32_target): New proc.
4939 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4940 instead of "istarget "arm*-*-*"".
4941 * gdb.arch/arm-disp-step.exp: Likewise.
4942 * gdb.arch/thumb-bx-pc.exp: Likewise.
4943 * gdb.arch/thumb-prologue.exp: Likewise.
4944 * gdb.arch/thumb-singlestep.exp: Likewise.
4945 * gdb.base/disp-step-syscall.exp: Likewise.
4946 * gdb.base/float.exp: Likewise.
4948 2015-07-07 Yao Qi <yao.qi@linaro.org>
4950 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4951 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4953 2015-07-07 Yao Qi <yao.qi@linaro.org>
4955 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4956 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4958 * gdb.multi/multi-arch.exp: Likewise.
4960 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4962 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4965 2015-07-07 Yao Qi <yao.qi@linaro.org>
4967 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4969 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4971 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4972 '[' and ']' characters.
4974 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4976 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4978 2015-06-29 Pedro Alves <palves@redhat.com>
4981 * gdb.threads/hand-call-new-thread.c: New file.
4982 * gdb.threads/hand-call-new-thread.c: New file.
4984 2015-06-26 Keith Seitz <keiths@redhat.com>
4985 Doug Evans <dje@google.com>
4988 * gdb.cp/var-tag-2.cc: New file.
4989 * gdb.cp/var-tag-3.cc: New file.
4990 * gdb.cp/var-tag-4.cc: New file.
4991 * gdb.cp/var-tag.cc: New file.
4992 * gdb.cp/var-tag.exp: New file.
4994 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4996 * gdb.base/history-duplicates.exp: New test.
4998 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5000 * gdb.base/completion.exp: Test the completion of the "focus"
5003 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5005 * gdb.arch/amd64-prologue-skip.S: New file.
5006 * gdb.arch/amd64-prologue-skip.exp: New file.
5008 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5010 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5011 is_address_zero_readable check.
5013 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5015 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5016 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5018 2015-06-24 Yao Qi <yao.qi@linaro.org>
5020 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5023 2015-06-24 Yao Qi <yao.qi@linaro.org>
5025 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5026 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5027 * gdb.base/siginfo-thread.exp: Likewise.
5029 2015-06-22 Yao Qi <yao.qi@linaro.org>
5031 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5033 2015-06-22 Yao Qi <yao.qi@linaro.org>
5035 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5037 (skip_hw_watchpoint_tests): Likewise.
5039 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5041 * gdb.base/gdbinit-history.exp: Test the interaction between
5042 setting GDBHISTSIZE and setting the history size via .gdbinit.
5044 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5047 * gdb.base/gdbhistsize-history.exp: New test.
5049 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5051 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5053 * gdb.base/readline.exp: Likewise.
5055 2015-06-17 Yao Qi <yao.qi@linaro.org>
5057 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5060 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5062 * gdb.base/gdbinit-history.exp: Add test case to check that
5063 an unlimited history file does not get truncated on exit.
5065 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5067 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5068 (VECTOR): New macro. Use it...
5069 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5070 ...for these typedefs.
5071 (int8, char1, int1, double1): New typedefs.
5072 (struct just_int2, struct two_int2): New structures.
5073 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5074 (add_structvecs, add_singlevecs): New functions.
5075 (main): Call add_some_intvecs twice.
5076 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5077 the compile and exit upon failure. Try compiling for the "native"
5078 architecture. Test inferior function calls with vector arguments
5079 and vector return value handling with "finish" and "return".
5081 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5083 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5084 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5086 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5088 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5090 PR breakpoints/16465
5091 * gdb.mi/mi-dprintf-pending.c: New file.
5092 * gdb.mi/mi-dprintf-pending.exp: New test.
5093 * gdb.mi/mi-dprintf-pendshr.c: New file.
5095 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5096 Mircea Gherzan <mircea.gherzan@intel.com>
5098 * gdb.arch/i386-mpx-map.c: New file.
5099 * gdb.arch/i386-mpx-map.exp: New File.
5101 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5103 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5104 * gdb.arch/i386-mpx.exp: Indentation fixed.
5106 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5108 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5109 function and improved indentation.
5110 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5111 gdb_test_multiple. Added additional tests to skip the test.
5113 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5115 * gdb.arch/i386-avx512.c: Change path in include file.
5116 * gdb.arch/i386-avx512.exp: Change include dir path
5118 * gdb.arch/i386-mpx.c: Change path in include file.
5119 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5122 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5124 * gdb.compile/compile-print.exp (compile print *vararray@3)
5125 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5127 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5129 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5130 (do not keep jit in memory): ... this.
5131 (expect 5): Change it to ...
5132 (expect no 5): ... this.
5134 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5137 * gdb.mi/mi-detach.exp: New file.
5139 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5142 * gdb.arch/amd64-tailcall-self.S: New file.
5143 * gdb.arch/amd64-tailcall-self.c: New file.
5144 * gdb.arch/amd64-tailcall-self.exp: New file.
5146 2015-05-28 Don Breazeal <donb@codesourcery.com>
5148 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5149 tests for remote targets by checking is_target_gdbserver.
5151 2015-05-27 Doug Evans <dje@google.com>
5153 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5154 * gdb.dwarf2/opaque-type-lookup.c: New file.
5155 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5157 2015-05-26 Doug Evans <dje@google.com>
5159 * gdb.cp/iostream.cc: New file.
5160 * gdb.cp/iostream.exp: New file.
5162 2015-05-26 Doug Evans <dje@google.com>
5164 * gdb.dwarf2/dw2-op-call.exp: Update.
5165 * gdb.dwarf2/dw4-sig-types.exp: Update.
5166 * gdb.dwarf2/implptr.exp: Update.
5167 * gdb.mi/mi-cmd-param-changed.exp: Update.
5169 2015-05-26 Doug Evans <dje@google.com>
5171 * gdb.python/py-lazy-string.c: New file.
5172 * gdb.python/py-lazy-string.exp: New file.
5173 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5174 (main): Update. Add estring3.
5175 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5176 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5178 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5179 Yao Qi <yao.qi@linaro.org>
5181 * gdb.reverse/aarch64.c: New.
5182 * gdb.reverse/aarch64.exp: New.
5184 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5186 * lib/gdb.exp (supports_process_record): Return true for
5188 (supports_reverse): Likewise.
5190 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5192 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5193 Use with_test_prefix.
5195 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5197 * gdb.base/completion.exp: Add test for completion of layout
5200 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5202 * lib/gdb.exp (skip_tui_tests): New proc.
5203 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5205 2015-05-19 Pedro Alves <palves@redhat.com>
5207 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5208 Save the whole env array instead of just HOME. Unset HISTSIZE in
5209 the environment while testing. Restore whole environment
5212 2015-05-16 Doug Evans <xdje42@gmail.com>
5214 * gdb.guile/scm-ports.c: New file.
5215 * gdb.guile/scm-ports.exp: Add memory port tests.
5217 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5219 * gdb.compile/compile-print.c: New file.
5220 * gdb.compile/compile-print.exp: New file.
5222 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5224 * gdb.compile/compile-ops.exp: Cast param to void.
5225 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5226 (compile code struct_object.selffield = &struct_object): Add xfail.
5228 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5230 * gdb.ada/arr_enum_with_gap: New testcase.
5232 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5234 * gdb.ada/byte_packed_arr: New testcase.
5236 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5238 * gdb.ada/pckd_neg: New testcase.
5240 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5243 * gdb.base/gdbinit-history.exp: New test.
5244 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5245 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5247 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5249 * gdb.python/py-xmethods.cc: Enhance test case.
5250 * gdb.python/py-xmethods.exp: New tests.
5251 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5253 (B_indexoper): Likewise.
5254 (global_dm_list) : Add new xmethod worker functions.
5256 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5258 * gdb.base/coredump-filter.exp: Correctly unset
5259 "coredump_var_addr" array.
5261 2015-05-08 Pedro Alves <palves@redhat.com>
5263 * gdb.server/non-existing-program.exp: Unset spawn_id.
5265 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5268 * gdb.python/py-xmethods.exp: Add tests.
5270 2015-05-08 Yao Qi <yao.qi@linaro.org>
5273 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5274 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5275 function set_coredump_filter, and remove remote_exec call.
5276 Remove argument ipid. Callers update.
5277 (top level): Don't get inferior's PID.
5279 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5281 * gdb.base/watch_thread_num.exp: Skip test on targets without
5284 2015-05-06 Pedro Alves <palves@redhat.com>
5287 * gdb.server/non-existing-program.exp: New file.
5289 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5291 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5293 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5295 * gdb.ada/out_of_line_in_inlined: New testcase.
5297 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5299 * gdb.ada/var_rec_arr: New testcase.
5301 2015-04-30 Yao Qi <yao.qi@linaro.org>
5303 * gdb.base/break-idempotent.exp: If
5304 skip_hw_watchpoint_multi_tests returns true, skip the tests
5305 on "rwatch" and "awatch".
5307 2015-04-30 Yao Qi <yao.qi@linaro.org>
5309 * gdb.base/relativedebug.exp: Invoke gdb command
5310 "info sharedlibrary", and if libc.so doesn't have debug info,
5313 2015-04-29 Doug Evans <dje@google.com>
5315 * gdb.python/py-xmethods.exp: Add ptype tests.
5316 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5317 get_result_type method.
5319 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5321 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5322 the target does not support hardware watchpoints.
5324 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5326 * gdb.base/break-always.exp: Abort testing if writing to memory
5329 2015-04-28 Doug Evans <dje@google.com>
5331 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5332 * gdb.python/py-pp-registration.exp: ... here. New file.
5333 * gdb.python/py-pp-registration.c: New file.
5334 * gdb.python/py-pp-registration.py: New file.
5336 2015-04-28 Doug Evans <dje@google.com>
5338 * gdb.python/py-bad-printers.c: New file.
5339 * gdb.python/py-bad-printers.py: New file.
5340 * gdb.python/py-bad-printers.exp: New file.
5342 2015-04-28 Sasha Smundak <asmundak@google.com>
5344 * gdb.python/py-type.exp: New test.
5346 2015-04-28 Andy Wingo <wingo@igalia.com>
5348 * gdb.python/py-parameter.exp:
5349 * gdb.guile/scm-parameter.exp: Escape the path that we are
5350 matching against, as it might contain characters that are special
5351 to regular expressions.
5353 2015-04-27 Joel Brobecker <brobecker@adacore.com>
5355 * gdb.ada/rec_comp: New testcase.
5357 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5359 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5362 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5364 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5365 new tests for verilog output.
5367 2015-04-24 Yao Qi <yao.qi@linaro.org>
5369 * boards/remote-gdbserver-on-localhost.exp: New file.
5371 2015-04-23 Pedro Alves <palves@redhat.com>
5373 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5374 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5375 "end of file", remove $inferior_spawn_id from the indirect list.
5377 2015-04-23 Pedro Alves <palves@redhat.com>
5379 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5381 2015-04-23 Pedro Alves <palves@redhat.com>
5383 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5384 on $any_spawn_id instead of only on $gdb_spawn_id.
5386 2015-04-21 Pierre Muller <muller@sourceware.org>
5389 * lib/pascal.exp (gpc_compile): Add new option "class".
5390 (fpc_compile): Likewise.
5391 * gdb.pascal/case-insensitive-symbols.pas: New file.
5392 * gdb.pascal/case-insensitive-symbols.exp: New file.
5394 2015-04-20 Gary Benson <gbenson@redhat.com>
5396 * gdb.base/attach.exp: Fix three extended remote failures.
5398 2015-04-17 Gary Benson <gbenson@redhat.com>
5400 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5401 the main executable over the remote protocol.
5403 2015-04-16 Pedro Alves <palves@redhat.com>
5405 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5406 a new gdbserver if gdbserver_reconnect_p is set.
5408 2015-04-16 Pedro Alves <palves@redhat.com>
5410 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5411 is set, don't exit gdbserver.
5413 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5415 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5416 appropriate .insn, such that an older assembler can be used.
5417 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5418 the z/Architecture instruction set on 31-bit targets as well.
5420 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5422 * gdb.go/handcall.exp: Remove all logic related to the first
5423 breakpoint and rely on go_runto_main instead.
5424 * gdb.go/strings.exp: Likewise.
5425 * gdb.go/unsafe.exp: Likewise.
5426 * gdb.go/hello.exp: Likewise. Also rename the remaining
5427 breakpoint marker to "breakpoint 1".
5428 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5429 * gdb.go/strings.go: Likewise.
5430 * gdb.go/unsafe.go: Likewise.
5431 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5432 "set breakpoint 2 here" and rename the remaining breakpoint marker
5435 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5437 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5438 if itertools.imap is not present.
5439 * gdb.python/py-objfile.exp: Add parentheses.
5440 * gdb.python/py-type.exp: Same.
5441 * gdb.python/py-unwind-maint.py: Same.
5443 2015-04-15 Yao Qi <yao.qi@linaro.org>
5445 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5446 of ":$ptr_size" and set its form explicitly.
5448 2015-04-15 Pedro Alves <palves@redhat.com>
5449 Yao Qi <yao.qi@linaro.org>
5451 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5452 timeout by factor of 4.
5453 (test_regular_watch): Likewise.
5454 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5455 * gdb.reverse/sigall-reverse.exp: Likewise.
5456 * gdb.reverse/until-precsave.exp: Likewise.
5457 * lib/gdb.exp (with_timeout_factor): New proc.
5458 (gdb_expect): Move some code to ...
5459 (get_largest_timeout): ... here. New procedure.
5461 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
5463 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5465 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5467 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5468 to write to the .text section.
5470 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5472 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5473 Handle the case of targets that do not provide PID information.
5475 2015-04-13 Yao Qi <yao.qi@linaro.org>
5477 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5478 and use expect instead of gdb_expect.
5480 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5482 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5483 "coredump_var_addr" to avoid naming conflict with other testcases.
5485 2015-04-10 Pedro Alves <palves@redhat.com>
5487 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5488 gdb_test_sequence and gdb_assert.
5490 2015-04-10 Pedro Alves <palves@redhat.com>
5492 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5493 test messages that don't include the breakpoint address.
5495 2015-04-10 Yao Qi <yao.qi@linaro.org>
5497 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5498 false for some offset and width combinations which aren't
5499 supported by linux kernel.
5501 2015-04-10 Pedro Alves <palves@redhat.com>
5503 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5504 procedure, factored out from ...
5505 (top level): ... here. Add "set displaced-stepping" testing axis.
5506 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5507 parameter "displaced". Use it.
5508 (top level): Use foreach and add "set displaced-stepping" testing
5511 2015-04-10 Pedro Alves <palves@redhat.com>
5513 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5515 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5516 both the address of the instruction that triggers the watchpoint
5517 and the address of the instruction immediately after, and use
5518 those addresses for the test. Fix comment.
5520 2015-04-10 Pedro Alves <palves@redhat.com>
5522 * gdb.base/sigstep.exp (breakpoint_to_handler)
5523 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5524 Test "backtrace" in handler.
5525 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5526 (top level): Add new "displaced" test axis to
5527 breakpoint_to_handler, breakpoint_to_handler_entry and
5528 breakpoint_over_handler.
5530 2015-04-10 Pedro Alves <palves@redhat.com>
5533 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5535 2015-04-10 Yao Qi <yao.qi@linaro.org>
5537 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5538 (test_add_rn_pc): New function.
5539 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5540 (top level): Invoke test_add_rn_pc.
5542 2015-04-10 Pedro Alves <palves@redhat.com>
5545 * gdb.base/step-over-no-symbols.exp: New file.
5547 2015-04-09 Andy Wingo <wingo@igalia.com>
5549 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5550 after the Python tests.
5552 2015-04-08 Keith Seitz <keiths@redhat.com>
5555 * gdb.python/py-completion.exp: New tests for completion.
5556 * gdb.python/py-completion.py (CompleteLimit1): New class.
5557 (CompleteLimit2): Likewise.
5558 (CompleteLimit3): Likewise.
5559 (CompleteLimit4): Likewise.
5560 (CompleteLimit5): Likewise.
5561 (CompleteLimit6): Likewise.
5562 (CompleteLimit7): Likewise.
5564 2015-04-08 Pedro Alves <palves@redhat.com>
5568 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5570 (main): Install it as SIGUSR1 handler.
5571 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5572 parameter. Always use "setup" as prefix. Toggle "set
5573 displaced-stepping" off/on depending on global. Don't switch to
5575 (top level): Add displaced stepping "off/on" test axis. Update
5576 "setup" calls. Wrap each subtest with with_test_prefix. Test
5577 continuing with a queued signal in each thread.
5579 2015-04-08 Pedro Alves <palves@redhat.com>
5581 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5582 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5583 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5584 Return early if running to main fails.
5585 * gdb.trace/while-stepping.exp: Likewise.
5587 2015-04-07 Pedro Alves <palves@redhat.com>
5589 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5590 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5591 interact with inferior program.
5593 2015-04-07 Pedro Alves <palves@redhat.com>
5595 * lib/gdb.exp (inferior_spawn_id): New global.
5596 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5597 spawn id after processing the user code.
5598 (default_gdb_start): Set inferior_spawn_id.
5599 (send_inferior): New procedure.
5600 * lib/gdbserver-support.exp (gdbserver_start): Set
5602 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5604 2015-04-07 Pedro Alves <palves@redhat.com>
5606 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5607 * lib/gdbserver-support.exp (gdbserver_start): Make
5608 $server_spawn_id global.
5609 (gdbserver_start): Don't wait for gdbserver's spawn id with
5611 (close_gdbserver): New procedure.
5612 (gdb_exit): Rename the default version and reimplement.
5614 2015-04-07 Pedro Alves <palves@redhat.com>
5616 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
5617 append the substituted item, not the original item.
5619 2015-04-07 Pedro Alves <palves@redhat.com>
5621 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5624 2015-04-07 Pedro Alves <palves@redhat.com>
5626 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5627 output appearing once only.
5629 2015-04-07 Pedro Alves <palves@redhat.com>
5631 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5632 that doesn't expect anything. Return early if running to main
5635 2015-04-07 Yao Qi <yao.qi@linaro.org>
5637 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5638 (child_function): Call alarm.
5639 (main): Move call to alarm into the loop.
5640 * gdb.threads/non-stop-fair-events.exp: Build program with
5643 2015-04-06 Doug Evans <xdje42@gmail.com>
5645 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5646 Fix dest parameter to board_info.
5647 (fpc_compile): Ditto.
5648 (gdb_compile_pascal): Rename dest arg to destfile.
5650 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5652 * gdb.ada/funcall_ref.exp: New file.
5653 * gdb.ada/funcall_ref/foo.adb: New file.
5655 2015-04-02 Yao Qi <yao.qi@linaro.org>
5657 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5660 2015-04-02 Gary Benson <gbenson@redhat.com>
5662 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5664 2015-04-01 Sasha Smundak <asmundak@google.com>
5666 * gdb.python/py-unwind-maint.c: New file.
5667 * gdb.python/py-unwind-maint.exp: New test.
5668 * gdb.python/py-unwind-maint.py: New file.
5669 * gdb.python/py-unwind.c: New file.
5670 * gdb.python/py-unwind.exp: New test.
5671 * gdb.python/py-unwind.py: New test.
5673 2015-04-01 Pedro Alves <palves@redhat.com>
5675 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5676 to fail instead of non-existent $test.
5678 2015-04-01 Pedro Alves <palves@redhat.com>
5680 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5681 GDBFLAGS if not empty.
5683 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5685 * gdb.ada/complete.exp: Remove "multi_line".
5686 * gdb.ada/info_exc.exp: Remove "multi_line".
5687 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5688 * gdb.ada/ptype_field.exp: Remove "multi_line".
5689 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5690 * gdb.ada/tagged.exp: Remove "multi_line".
5691 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5693 * gdb.btrace/delta.exp: Likewise.
5694 * gdb.btrace/exception.exp: Likewise.
5695 * gdb.btrace/function_call_history.exp: Likewise.
5696 * gdb.btrace/instruction_history.exp: Likewise.
5697 * gdb.btrace/nohist.exp: Likewise.
5698 * gdb.btrace/record_goto.exp: Likewise.
5699 * gdb.btrace/segv.exp: Likewise.
5700 * gdb.btrace/stepi.exp: Likewise.
5701 * gdb.btrace/tailcall.exp: Likewise.
5702 * gdb.btrace/unknown_functions.exp: Likewise.
5703 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5704 * lib/gdb.exp: Add the "multi_line" helper.
5706 2015-04-01 Pedro Alves <palves@redhat.com>
5708 * gdb.threads/tid-reuse.c: New file.
5709 * gdb.threads/tid-reuse.exp: New file.
5711 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5714 * gdb.base/coredump-filter.c: New file.
5715 * gdb.base/coredump-filter.exp: Likewise.
5717 2015-03-27 Petr Machata <pmachata@redhat.com>
5719 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5720 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5721 (Dwarf::assemble): Initialize them.
5722 (Dwarf::lines): New function.
5724 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5726 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5727 SYMBOL_PREFIX for x86_64-*-cygwin.
5729 2015-03-26 Andy Wingo <wingo@igalia.com>
5732 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5733 const_value but not a location.
5734 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5735 location defined in non-main CUs are visible.
5737 2015-03-26 Yao Qi <yao.qi@linaro.org>
5740 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5741 Add a line number entry for the same line.
5742 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5743 Add a line number entry for the same line.
5745 2015-03-26 Yao Qi <yao.qi@linaro.org>
5747 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5749 (func): Likewise. Add .Lfunc_1 label.
5751 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5756 2015-03-26 Yao Qi <yao.qi@linaro.org>
5758 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5759 Call gdb_compile instead to compile each .s files without debug
5762 2015-03-26 Yao Qi <yao.qi@linaro.org>
5764 * gdb.base/savedregs.exp (process_saved_regs): Make
5765 "Saved registers:" optional in the pattern.
5767 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5769 * gdb.btrace/next.exp: Merged into step.exp.
5770 * gdb.btrace/finish.exp: Merged into step.exp.
5771 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5772 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5773 "record goto" and checking the exact replay position.
5774 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5775 check for "Recording format" in "info record" output.
5776 * gdb.btrace/record_goto.exp: Choose test file based on target.
5777 * gdb.btrace/x86-record_goto.S: Renamed into ...
5778 * gdb.btrace/x86_64-record_goto.S: ... this.
5779 * gdb.btrace/i686-record_goto.S: New.
5780 * gdb.btrace/x86-tailcall.S: Renamed into ...
5781 * gdb.btrace/x86_64-tailcall.S: ... this.
5782 * gdb.btrace/i686-tailcall.S: New.
5783 * gdb.btrace/x86-tailcall.c: Renamed into ...
5784 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5785 separate statements. Update test.
5786 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5787 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5788 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5789 * gdb.btrace/tailcall.exp: Choose test file based on target.
5790 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5792 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5794 * gdb.btrace/exception.exp: Increase BTS buffer size.
5796 2015-03-24 Pedro Alves <palves@redhat.com>
5798 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5800 2015-03-24 Pedro Alves <palves@redhat.com>
5802 * gdb.threads/schedlock.exp (test_step): No longer expect that
5803 "set scheduler-locking step" with "next" over a function call runs
5806 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5808 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5810 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5812 PR breakpoints/16466
5813 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5814 * gdb.mi/mi-pending.c (thread_func): New function.
5815 (int main): Add threading support required.
5816 * gdb.mi/mi-pending.exp: Add tests for this issue.
5817 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5818 (pendfunc2): Remove stdio dependency.
5819 * gdb.mi/mi-pendshr2.c: New file.
5821 2015-03-23 Keith Seitz <keiths@redhat.com>
5823 * gdb.linespec/keywords.c: New file.
5824 * gdb.linespec/keywords.exp: New file.
5826 2015-03-23 Keith Seitz <keiths@redhat.com>
5829 * gdb.dwarf2/staticvirtual.exp: New test.
5831 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5833 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5834 * README: Remove HP-UX and gdb.hp.
5836 * configure: Regenerate.
5837 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5838 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5839 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5840 gdb.hp/gdb.defects/Makefile.
5841 * gdb.hp/Makefile.in: File deleted.
5842 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5843 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5844 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5845 * gdb.hp/gdb.aCC/run.c: File deleted.
5846 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5847 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5848 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5849 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5850 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5851 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5852 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5853 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5854 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5855 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5856 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5857 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5858 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5859 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5860 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5861 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5862 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5863 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5864 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5865 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5866 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5867 * gdb.hp/gdb.compat/average.c: File deleted.
5868 * gdb.hp/gdb.compat/sum.c: File deleted.
5869 * gdb.hp/gdb.compat/xdb.c: File deleted.
5870 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5871 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5872 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5873 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5874 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5875 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5876 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5877 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5878 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5879 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5880 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5881 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5882 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5883 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5884 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5885 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5886 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5887 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5888 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5889 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5890 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5891 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5892 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5893 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5894 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5895 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5896 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5897 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5898 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5899 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5900 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5901 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5902 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5903 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5904 * gdb.hp/tools/odump: File deleted.
5906 2015-03-19 Pedro Alves <palves@redhat.com>
5908 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5909 (saw_thread_3): New globals.
5910 (top level): Increment them when an event for the corresponding
5912 (no thread starvation): New test.
5914 2015-03-19 Pedro Alves <palves@redhat.com>
5916 * gdb.threads/continue-pending-status.c: New file.
5917 * gdb.threads/continue-pending-status.exp: New file.
5919 2015-03-18 Pedro Alves <palves@redhat.com>
5921 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5922 Use gdb_is_target_remote instead of is_remote. Use
5923 gdb_test_multiple instead of gdb_expect. Exit early if
5924 gdb_test_multiple hits its internal matches. Tighten stepi tests
5925 expected output. Fail on exit with any signal, instead of just
5928 2015-03-18 Yao Qi <yao.qi@linaro.org>
5931 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5933 * gdb.base/catch-syscall.exp: Don't skip it on
5934 aarch64*-*-linux* target. Remove elements in all_syscalls.
5935 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5937 (setup_all_syscalls): New proc.
5939 2015-03-16 Yao Qi <yao.qi@linaro.org>
5941 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5942 (top level): Skip tests if valid_addr_p returns false for
5945 2015-03-11 Andy Wingo <wingo@igalia.com>
5947 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5949 2015-03-11 Yao Qi <yao.qi@linaro.org>
5951 * gdb.base/catch-syscall.exp: Fix typo in comments.
5953 2015-03-11 Yao Qi <yao.qi@linaro.org>
5955 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5957 2015-03-09 Pedro Alves <palves@redhat.com>
5959 * dg-extract-results.py: Delete.
5961 2015-03-09 Pedro Alves <palves@redhat.com>
5963 Merge dg-extract-results.sh from GCC upstream (r218843).
5965 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5966 * dg-extract-results.sh: Use --text with grep to avoid issues with
5967 binary files. Fall back to cat -v, if that doesn't work.
5969 2015-03-05 Pedro Alves <palves@redhat.com>
5971 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5973 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5975 * lib/mi-support.exp (mi_expect_interrupt): Accept
5976 alternative event for when in all-stop mode.
5978 2015-03-04 Pedro Alves <palves@redhat.com>
5980 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5982 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5984 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5986 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5988 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5989 regexps for GDB's current line display, accept a hex address
5990 preceding the line number.
5992 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5994 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5995 the 'arch1' variable for "s390*-linux*" targets.
5997 2015-03-04 Pedro Alves <palves@redhat.com>
5999 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6000 (main): Pass missing retval argument to pthread_join call.
6002 2015-03-02 Pedro Alves <palves@redhat.com>
6004 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6005 (top level): Call do_test with non-stop as well.
6007 2015-03-02 Pedro Alves <palves@redhat.com>
6009 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6012 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6014 * gdb.arch/s390-vregs.exp: New test.
6015 * gdb.arch/s390-vregs.S: New file.
6017 2015-02-27 Pedro Alves <palves@redhat.com>
6019 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6020 call to catch_command_errors.
6021 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6022 catch_command_errors.
6024 2015-02-27 Pedro Alves <palves@redhat.com>
6026 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6027 "true" for boolean result.
6028 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6031 2015-02-27 Pedro Alves <palves@redhat.com>
6033 * lib/unbuffer_output.c: New file.
6034 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6035 (main): Call gdb_unbuffer_output.
6037 2015-02-27 Yao Qi <yao.qi@linaro.org>
6039 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6042 2015-02-26 Doug Evans <dje@google.com>
6044 * gdb.cp/class2.cc (Dbase, D): New classes.
6045 (main): New local delta.
6046 * gdb.cp/class2.exp: Test printing delta.
6047 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6048 (dynbar): New global.
6049 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6051 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6053 * gdb.compile/compile-ifunc.c: New file.
6054 * gdb.compile/compile-ifunc.exp: New file.
6056 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6058 * gdb.base/structs.exp: Check for correct struct on finish.
6060 2015-02-26 Yao Qi <yao.qi@linaro.org>
6062 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6065 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6067 * gdb.arch/cordic.ko.bz2: New file.
6068 * gdb.arch/cordic.ko.debug.bz2: New file.
6069 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6071 2015-02-25 Yao Qi <yao.qi@linaro.org>
6073 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6074 aarch64*-*-* target.
6076 2015-02-23 Pedro Alves <palves@redhat.com>
6078 * lib/gdb.exp (delete_breakpoints): Rewrite using
6081 2015-02-23 Pedro Alves <palves@redhat.com>
6083 * gdb.base/info-os.c: Include stdlib.h.
6085 2015-02-22 Doug Evans <xdje42@gmail.com>
6088 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6089 is read after symbols have been re-read.
6090 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6091 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6093 2015-02-21 Doug Evans <dje@google.com>
6095 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6097 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6100 * gdb.arch/i386-biarch-core.core.bz2: New file.
6101 * gdb.arch/i386-biarch-core.exp: New file.
6103 2015-02-21 Pedro Alves <palves@redhat.com>
6105 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6108 2015-02-20 Pedro Alves <palves@redhat.com>
6110 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6113 2015-02-20 Pedro Alves <palves@redhat.com>
6115 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6117 2015-02-20 Pedro Alves <palves@redhat.com>
6119 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6120 clean_restart before gdb_target_supports_trace.
6122 2015-02-20 Pedro Alves <palves@redhat.com>
6125 * gdb.threads/clone-thread_db.c: New file.
6126 * gdb.threads/clone-thread_db.exp: New file.
6128 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6130 PR breakpoints/16812
6131 * gdb.base/catch-gdb-caused-signals.c: New file.
6132 * gdb.base/catch-gdb-caused-signals.exp: New file.
6134 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6136 * configure: Regenerated.
6137 * configure.ac: Use GDB_AC_TRANSFORM.
6138 * aclocal.m4: sinclude ../transform.m4.
6140 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6142 * lib/dtrace.exp: New file.
6143 * gdb.base/dtrace-probe.exp: Likewise.
6144 * gdb.base/dtrace-probe.d: Likewise.
6145 * gdb.base/dtrace-probe.c: Likewise.
6146 * lib/pdtrace.in: Likewise.
6147 * configure.ac: Output variables with the transformed names of
6148 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6149 * configure: Regenerated.
6151 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6153 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6154 expected message when trying to access $_probe_* convenience
6155 variables while not on a probe.
6157 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6159 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6161 2015-02-11 Pedro Alves <pedro@codesourcery.com>
6163 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6164 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6166 2015-02-10 Doug Evans <xdje42@gmail.com>
6168 * lib/gdb.exp (gdb_load): Always return a result.
6170 2015-02-10 Pedro Alves <palves@redhat.com>
6172 * gdb.threads/signal-sigtrap.c: New file.
6173 * gdb.threads/signal-sigtrap.exp: New file.
6175 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6177 * gdb.trace/no-attach-trace.c: New file.
6178 * gdb.trace/no-attach-trace.exp: New file.
6180 2015-02-09 Mark Wielaard <mjw@redhat.com>
6182 * gdb.dwarf2/atomic.c: New file.
6183 * gdb.dwarf2/atomic-type.exp: Likewise.
6185 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6187 * gdb.btrace/buffer-size.exp: Update "info record" output.
6188 * gdb.btrace/delta.exp: Update "info record" output.
6189 * gdb.btrace/enable.exp: Update "info record" output.
6190 * gdb.btrace/finish.exp: Update "info record" output.
6191 * gdb.btrace/instruction_history.exp: Update "info record" output.
6192 * gdb.btrace/next.exp: Update "info record" output.
6193 * gdb.btrace/nexti.exp: Update "info record" output.
6194 * gdb.btrace/step.exp: Update "info record" output.
6195 * gdb.btrace/stepi.exp: Update "info record" output.
6196 * gdb.btrace/nohist.exp: Update "info record" output.
6198 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6200 * gdb.btrace/buffer-size: New.
6202 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6204 * gdb.btrace/delta.exp: Update "info record" output.
6205 * gdb.btrace/enable.exp: Update "info record" output.
6206 * gdb.btrace/finish.exp: Update "info record" output.
6207 * gdb.btrace/instruction_history.exp: Update "info record" output.
6208 * gdb.btrace/next.exp: Update "info record" output.
6209 * gdb.btrace/nexti.exp: Update "info record" output.
6210 * gdb.btrace/step.exp: Update "info record" output.
6211 * gdb.btrace/stepi.exp: Update "info record" output.
6212 * gdb.btrace/nohist.exp: Update "info record" output.
6214 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6217 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6219 2015-02-06 Pedro Alves <palves@redhat.com>
6221 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6223 (seconds_left, again): New globals.
6224 (main): Wait seconds_left in a 1-second sleep loop instead of
6225 sleeping 180 seconds. If 'again' is set, reset the seconds
6227 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6228 'again' in the inferior before detaching. Print the seconds left.
6229 (options): New global.
6230 (top level): Build program with -DTIMEOUT=$timeout.
6232 2015-02-06 Pedro Alves <palves@redhat.com>
6234 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6235 determine how many seconds to pass to 'alarm'.
6236 * gdb.base/gdb-sigterm.exp (top level): Build program with
6238 (do_test): Return success/failure indication. Add more verbose
6239 logging. Don't fail if 200 single steps are seen. Instead, fail
6240 when the test times out.
6241 (passes): New global.
6242 (top level): Break the testing loop if testing fails on any
6243 iteration. Use gdb_assert.
6245 2015-02-04 Don Breazeal <donb@codesourcery.com>
6247 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6248 and initialize them.
6249 (ipc_cleanup): New function.
6250 (main): Don't declare shmid, semid, and msqid. Add a call to
6251 atexit so that we call ipc_cleanup on exit.
6253 2015-02-04 Pedro Alves <palves@redhat.com>
6255 * boards/native-extended-gdbserver.exp: Remove any target variant
6256 specifications from the board name before clearing the isremote
6257 flag from board_info.
6259 2015-01-31 Doug Evans <xdje42@gmail.com>
6261 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6263 2015-01-31 Gary Benson <gbenson@redhat.com>
6265 * gdb.base/completion.exp: Disable completion limiting for
6266 existing tests. Add new tests to check completion limiting.
6267 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6269 2015-01-31 Doug Evans <xdje42@gmail.com>
6271 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6273 2015-01-31 Doug Evans <xdje42@gmail.com>
6275 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6276 entries. Duplicate file section script entries.
6277 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6278 inlined entries. Add test for safe-path rejection.
6279 * gdb.python/py-section-script.c: Add duplicate inlined section script
6280 entries. Duplicate file section script entries.
6281 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6282 inlined entries. Add test for safe-path rejection.
6284 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6286 * gdb.ada/disc_arr_bound: New testcase.
6288 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6290 * gdb.ada/mi_var_array: New testcase.
6292 2015-01-27 Doug Evans <dje@google.com>
6294 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6295 Add test for objfile.filename, objfile.username after objfile
6298 2015-01-26 Joel Brobecker <brobecker@adacore.com>
6300 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6301 the second test to print the name attribute of value
6302 returned by the call to gdb.lookup_type, and adjust
6303 the expected output accordingly.
6305 2015-01-25 Mark Wielaard <mjw@redhat.com>
6307 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6308 * gdb.base/disp-step-fork.c: Include unistd.h.
6309 * gdb.base/siginfo-obj.c: Include stdio.h.
6310 * gdb.base/siginfo-thread.c: Likewise.
6311 * gdb.mi/non-stop.c: Include unistd.h.
6312 * gdb.mi/nsthrexec.c: Include stdio.h.
6313 * gdb.mi/pthreads.c: Include unistd.h.
6314 * gdb.modula2/unbounded1.c (main): Declare returns int.
6315 * gdb.reverse/consecutive-reverse.c: Likewise.
6316 * gdb.threads/create-fail.c: Include unistd.h.
6317 * gdb.threads/killed.c: Likewise.
6318 * gdb.threads/linux-dp.c: Likewise.
6319 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6320 * gdb.threads/non-ldr-exc-2.c: Likewise.
6321 * gdb.threads/non-ldr-exc-3.c: Likewise.
6322 * gdb.threads/non-ldr-exc-4.c: Likewise.
6323 * gdb.threads/pthreads.c: Include unistd.h.
6324 (main): Declare returns int.
6325 * gdb.threads/tls-main.c (foo): New declaration.
6326 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6328 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6330 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6331 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6333 2015-01-15 Mark Wielaard <mjw@redhat.com>
6335 * gdb.base/noreturn-return.c: New file.
6336 * gdb.base/noreturn-return.exp: New file.
6337 * gdb.base/noreturn-finish.c: New file.
6338 * gdb.base/noreturn-finish.exp: New file.
6340 2015-01-23 Pedro Alves <palves@redhat.com>
6342 * gdb.threads/continue-pending-after-query.c: New file.
6343 * gdb.threads/continue-pending-after-query.exp: New file.
6345 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6346 Simon Marchi <simon.marchi@ericsson.com>
6348 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6349 * gdb.base/valgrind-db-attach.exp: Same.
6350 * gdb.base/valgrind-infcall.exp: Same.
6351 * lib/mi-support.exp (default_mi_gdb_start): Same.
6352 * lib/prompt.exp (default_prompt_gdb_start): Same.
6353 * lib/gdb.exp (default_gdb_spawn): Same.
6354 (gdb_interact): New.
6357 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6359 * gdb.compile/compile.exp (pointer to jit function): New test.
6361 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
6363 * lib/gdb.exp (supports_process_record): Return true for
6365 (supports_reverse): Likewise.
6367 2015-01-15 Don Breazeal <donb@codesourcery.com>
6369 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6370 instead of checking whether the target board is remote and
6371 use spawn_wait_for_attach instead of exec/sleep.
6372 * gdb.base/attach-twice.exp: Likewise.
6374 2015-01-15 Joel Brobecker <brobecker@adacore.com>
6376 * gdb.ada/var_arr_attrs: New testcase.
6378 2015-01-14 Pedro Alves <palves@redhat.com>
6379 Joel Brobecker <brobecker@adacore.com>
6382 * gdb.base/bp-cmds-execution-x-script.c: New file.
6383 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6384 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6386 2015-01-14 Pedro Alves <palves@redhat.com>
6389 * gdb.base/batch-preserve-term-settings.c: New file.
6390 * gdb.base/batch-preserve-term-settings.exp: New file.
6392 2015-01-13 Doug Evans <dje@google.com>
6394 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6397 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6399 * Makefile.in (clean mostlyclean): Do not delete *.py.
6401 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6403 * gdb.python/py-lookup-type.exp: New file.
6405 2015-01-12 Pedro Alves <palves@redhat.com>
6407 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6408 restore GDBFLAGS before returning.
6410 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6412 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6413 is_amd64_regs_target and is_x86_like_target.
6415 2015-01-11 Doug Evans <xdje42@gmail.com>
6417 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6418 is given without an explicit form.
6419 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6421 * gdb.dwarf/corrupt.exp: Ditto.
6422 * gdb.dwarf2/enum-type.exp: Ditto.
6423 * gdb.trace/entry-values.exp: Ditto.
6424 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6426 2015-01-11 Doug Evans <xdje42@gmail.com>
6429 * gdb.base/maint.exp: Remove references to "maint demangle".
6430 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6431 Add tests for explicitly specifying language to demangle.
6432 * gdb.dlang/demangle.exp: Ditto.
6434 2015-01-09 Pedro Alves <palves@redhat.com>
6436 * gdb.threads/non-stop-fair-events.c: New file.
6437 * gdb.threads/non-stop-fair-events.exp: New file.
6439 2015-01-09 Pedro Alves <palves@redhat.com>
6441 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6442 the global scope. Set a breakpoint after all threads are started
6443 rather than stepping over two source lines. Expect the prompt.
6444 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6447 (main): Use threads_started_barrier to wait for all threads to
6448 start. Main thread no longer calls thread_function. Exit after
6450 (loop): New function.
6451 (thread_function): Wait on threads_started_barrier barrier. Call
6452 'loop' at each iteration.
6453 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6454 threads have started, instead of hardcoding number of "next"
6455 steps. Use an access watchpoint instead of a write watchpoint.
6457 2015-01-09 Pedro Alves <palves@redhat.com>
6459 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6460 (thread_func): Wait on barrier.
6461 (main): Wait for all threads to start before stopping GDB.
6462 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6464 (thread1_func, thread2_func): Wait on barrier.
6465 (main): Wait for all threads to start before stopping GDB.
6466 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6468 (thread1_func, thread2_func): Wait on barrier.
6469 (main): Wait for all threads to start before stopping GDB.
6471 2015-01-09 Pedro Alves <palves@redhat.com>
6473 * gdb.threads/attach-many-short-lived-threads.c: New file.
6474 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6476 2014-01-09 Pedro Alves <palves@redhat.com>
6478 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6479 instead of to thread 2.
6480 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6481 Add barrier around each pthread_create call instead of around all
6483 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6484 Set a break on thread_function and have the child threads hit it
6487 2015-01-09 Pedro Alves <palves@redhat.com>
6489 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6490 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6492 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6493 checking whether the target board is remote.
6494 * gdb.multi/multi-attach.exp: Likewise.
6495 * gdb.python/py-sync-interp.exp: Likewise.
6496 * gdb.server/ext-attach.exp: Likewise.
6497 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6498 tests that need to attach, instead of checking whether the target
6499 board is remote at the top of the file.
6501 2015-01-08 Yao Qi <yao@codesourcery.com>
6503 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6505 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6507 Fix testcase compilation.
6508 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6510 2015-01-06 Joel Brobecker <brobecker@adacore.com>
6512 * gdb.python/py-type.exp: Add a couple test about empty
6513 array creation, and negative-length array creation.
6515 2015-01-02 Doug Evans <xdje42@gmail.com>
6517 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6519 2015-01-02 Doug Evans <dje@google.com>
6521 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6523 2014-12-29 Yao Qi <yao@codesourcery.com>
6525 * gdb.trace/entry-values.exp: Update comments. Rename variable
6526 bar_call_foo to returned_from_foo.
6528 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6531 * gdb.linespec/break-asm-file.c: New file.
6532 * gdb.linespec/break-asm-file.exp: New file.
6533 * gdb.linespec/break-asm-file0.s: New file.
6534 * gdb.linespec/break-asm-file1.s: New file.
6536 2014-12-18 Nigel Stephens <nigel@mips.com>
6537 Maciej W. Rozycki <macro@codesourcery.com>
6539 * gdb.base/float.exp: Handle the new output from "info float" on
6542 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6544 Fix MinGW compilation.
6545 * gdb.compile/compile-ops.exp: Update untested message if
6546 !skip_compile_feature_tests.
6547 * gdb.compile/compile-setjmp.exp: Likewise.
6548 * gdb.compile/compile-tls.exp: Likewise.
6549 * gdb.compile/compile.exp: Likewise.
6550 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6551 supported on this host".
6553 2014-12-16 Doug Evans <xdje42@gmail.com>
6555 * boards/stabs.exp: New file.
6557 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6559 * gdb.base/completion.exp: Adjust to format changes of "maint
6560 print user-registers".
6562 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
6565 * gdb.arch/aarch64-fp.c: New file.
6566 * gdb.arch/aarch64-fp.exp: New file.
6568 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6570 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6571 r210637, r210913, r211666, r215400, r215817).
6573 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6574 * dg-extract-results.py: New file.
6575 * dg-extract-results.sh: Use it if the environment seems
6578 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6580 * dg-extract-results.py (parse_run): Handle warnings that
6581 are printed before a test harness is run.
6583 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6585 * dg-extract-results.py (Named): Remove __cmp__ method.
6586 (output_variation): Use a key to sort variation.harnesses.
6588 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6590 * dg-extract-results.py: For Python 3, force sys.stdout to
6591 handle surrogate escape sequences.
6592 (safe_open): New function.
6593 (output_segment, main): Use it.
6595 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6597 * dg-extract-results.py (Prog.result_re): Include options
6600 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6602 * dg-extract-results.py (output_variation): Always sort if
6605 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6607 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6608 as long as we get pagination notifications.
6610 2014-12-15 Jason Merrill <jason@redhat.com>
6612 * Makefile.in (check-gdb.%): Restore.
6613 * README: Mention it.
6615 2014-12-13 Joel Brobecker <brobecker@adacore.com>
6617 * gdb.ada/str_uninit: New testcase.
6619 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6622 * gdb.base/vla-stub-define.c: New file.
6623 * gdb.base/vla-stub.c: New file.
6624 * gdb.base/vla-stub.exp: New file.
6626 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6627 Jan Kratochvil <jan.kratochvil@redhat.com>
6628 Tom Tromey <tromey@redhat.com>
6630 * configure.ac: Add gdb.compile/.
6631 * configure: Regenerate.
6632 * gdb.compile/Makefile.in: New file.
6633 * gdb.compile/compile-ops.exp: New file.
6634 * gdb.compile/compile-ops.c: New file.
6635 * gdb.compile/compile-tls.c: New file.
6636 * gdb.compile/compile-tls.exp: New file.
6637 * gdb.compile/compile-constvar.S: New file.
6638 * gdb.compile/compile-constvar.c: New file.
6639 * gdb.compile/compile-mod.c: New file.
6640 * gdb.compile/compile-nodebug.c: New file.
6641 * gdb.compile/compile-setjmp-mod.c: New file.
6642 * gdb.compile/compile-setjmp.c: New file.
6643 * gdb.compile/compile-setjmp.exp: New file.
6644 * gdb.compile/compile-shlib.c: New file.
6645 * gdb.compile/compile.c: New file.
6646 * gdb.compile/compile.exp: New file.
6647 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6649 2014-12-12 Tom Tromey <tromey@redhat.com>
6651 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6652 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6654 2014-12-12 Doug Evans <dje@google.com>
6656 * lib/gdb-python.exp (get_python_valueof): New function.
6657 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6659 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6661 * gdb.base/completion.exp: Add test for completion of "info
6664 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6666 * gdb.base/func-ptrs.c: New file.
6667 * gdb.base/func-ptrs.exp: New file.
6669 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6671 PR breakpoints/17012
6672 * gdb.base/dprintf-detach.c: New file.
6673 * gdb.base/dprintf-detach.exp: New file.
6675 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6677 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6678 * lib/gdb.exp (target_is_gdbserver): New procedure.
6680 2014-12-08 Doug Evans <dje@google.com>
6682 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6684 2014-12-05 Yao Qi <yao@codesourcery.com>
6686 * gdb.guile/scm-error.exp: Remove the third argument to
6687 gdb_remote_download.
6688 * gdb.guile/scm-frame-args.exp: Likewise.
6689 * gdb.guile/scm-section-script.exp: Likewise.
6691 2014-12-05 Yao Qi <yao@codesourcery.com>
6693 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6695 2014-12-04 Doug Evans <dje@google.com>
6697 * gdb.python/py-objfile.exp: Add tests for
6698 objfile.add_separate_debug_file.
6700 2014-12-04 Doug Evans <dje@google.com>
6702 * lib/gdb.exp (get_build_id): New function.
6703 (build_id_debug_filename_get): Rewrite to use it.
6704 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6706 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6708 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6709 `method(long)', not just 0x0.
6710 * gdb.cp/nsalias.exp: Align code labels to 4.
6711 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6712 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6713 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6714 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6715 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6716 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6718 2014-12-02 Doug Evans <dje@google.com>
6721 * gdb.cp/anon-ns.cc: Move guts of this file to ...
6722 * gdb.cp/anon-ns2.cc: ... here. New file.
6723 * gdb.cp/anon-ns.exp: Update.
6725 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
6727 * gdb.python/py-events.py (inferior_call_handler): New.
6728 (register_changed_handler, memory_changed_handler): New.
6729 (test_events.invoke): Register new handlers.
6730 * gdb.python/py-events.exp: Add tests for inferior call,
6731 memory_changed and register_changed events.
6733 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6735 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6736 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6737 if the linker doesn't understand this.
6739 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6741 * gdb.python/python.exp: Change expected reply to help().
6743 2014-12-01 Yao Qi <yao@codesourcery.com>
6745 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6746 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6747 * configure: Re-generated.
6749 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6751 * gdb.cp/chained-calls.cc: New file.
6752 * gdb.cp/chained-calls.exp: New file.
6753 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6755 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6757 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6758 * gdb.dwarf2/symtab-producer.exp: Same.
6759 * gdb.gdb/python-interrupts.exp: Same.
6760 * gdb.gdb/python-selftest.exp: Same.
6761 * gdb.python/py-linetable.exp: Same.
6762 * gdb.python/py-type.exp: Same.
6763 * gdb.python/py-value-cc.exp: Same.
6764 * gdb.python/py-value.exp: Same.
6766 2014-11-28 Yao Qi <yao@codesourcery.com>
6768 * gdb.base/break-probes.exp: Match library name prefixed with
6771 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6773 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6774 test expected output. Add parentheses for the call to print.
6775 Remove L suffix from integers.
6777 2014-11-26 Doug Evans <dje@google.com>
6779 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6781 2014-11-22 Yao Qi <yao@codesourcery.com>
6783 * gdb.trace/entry-values.c: Remove asms.
6784 (foo): Add foo_label.
6785 (bar): Add bar_label.
6786 * gdb.trace/entry-values.exp: Remove code computing foo's
6787 length and bar's length.
6788 (Dwarf::assemble): Invoke function_range for bar and use
6789 MACRO_AT_func for foo.
6791 2014-11-22 Yao Qi <yao@codesourcery.com>
6793 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6794 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6795 Use .Lgcc43_procstart instead of gcc43.
6797 2014-11-21 Joel Brobecker <brobecker@adacore.com>
6799 * gdb.ada/n_arr_bound: New testcase.
6801 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6803 PR breakpoints/10737
6804 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6805 test_catch_syscall_multi_arch.
6806 (test_catch_syscall_multi_arch): New function.
6808 2014-11-20 Doug Evans <xdje42@gmail.com>
6810 * gdb.base/maint.exp: Update expected output.
6812 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6814 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6815 4-byte instruction on S390.
6817 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6819 * gdb.ada/arr_arr: New testcase.
6821 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6823 * gdb.ada/pkd_arr_elem: New Testcase.
6825 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6827 * gdb.reverse/break-precsave: Expect completion message for
6829 * gdb.reverse/consecutive-precsave.exp: Likewise.
6830 * gdb.reverse/finish-precsave.exp: Likewise.
6831 * gdb.reverse/i386-precsave.exp: Likewise.
6832 * gdb.reverse/machinestate-precsave.exp: Likewise.
6833 * gdb.reverse/sigall-precsave.exp: Likewise.
6834 * gdb.reverse/solib-precsave.exp: Likewise.
6835 * gdb.reverse/step-precsave.exp: Likewise.
6836 * gdb.reverse/until-precsave.exp: Likewise.
6837 * gdb.reverse/watch-precsave.exp: Likewise.
6839 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6841 * gdb.base/bp-permanent.c: Include unistd.h.
6842 * gdb.python/py-framefilter-mi.c (main): Add return type.
6843 * gdb.python/py-framefilter.c (main): Likewise.
6844 * gdb.trace/actions-changed.c (main): Likewise.
6846 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6848 * gdb.mi/until.c: Add eye-catchers.
6849 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6852 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6854 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6855 function header variants in break1.c.
6856 * gdb.base/ena-dis-br.exp: Likewise.
6857 * gdb.base/hbreak2.exp: Likewise.
6858 * gdb.reverse/until-precsave.exp: Drop references to removed
6859 non-prototype function header variants in ur1.c.
6860 * gdb.reverse/until-reverse.exp: Likewise.
6862 2014-11-17 Petr Machata <pmachata@redhat.com>
6864 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6865 ${_cu_offset_size} bytes abbrev offset.
6867 2014-11-15 Doug Evans <xdje42@gmail.com>
6870 * gdb.base/line-symtabs.exp: New file.
6871 * gdb.base/line-symtabs.c: New file.
6872 * gdb.base/line-symtabs.h: New file.
6874 2014-11-14 Yao Qi <yao@codesourcery.com>
6876 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6877 (func): Add label func_label.
6878 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6879 Replace low_pc and high_pc with MACRO_AT_range.
6880 Replace name, low_pc and high_pc with MACRO_AT_func.
6882 2014-11-14 Yao Qi <yao@codesourcery.com>
6884 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6885 Replace name, low_pc and high_pc with MACRO_AT_func.
6887 2014-11-14 Yao Qi <yao@codesourcery.com>
6889 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6890 produce debug information.
6891 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6893 2014-11-14 Yao Qi <yao@codesourcery.com>
6895 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6896 object and get function length.
6897 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6899 (top-level): Replace gdb_compile and clean_restart with
6900 prepare_for_testing.
6901 * gdb.dwarf2/main.c (main): Add label main_label.
6903 2014-11-14 Yao Qi <yao@codesourcery.com>
6905 * lib/dwarf.exp (function_range): New procedure.
6906 (Dwarf::_handle_macro_at_func): New procedure.
6907 (Dwarf::_handle_macro_at_range): New procedure.
6908 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6910 2014-11-14 Yao Qi <yao@codesourcery.com>
6912 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6913 (_handle_attribute): New procedure.
6915 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6917 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6918 * gdb.base/call-sc.c (zed): Likewise.
6919 * gdb.base/checkpoint.c (main): Likewise.
6920 * gdb.base/dump.c (main): Likewise.
6921 * gdb.base/gcore.c (main): Likewise.
6922 * gdb.base/huge.c (main): Likewise.
6923 * gdb.base/multi-forks.c (main): Likewise.
6924 * gdb.base/pr10179-a.c (main): Likewise.
6925 * gdb.base/savedregs.c (main): Likewise.
6926 * gdb.base/sigaltstack.c (main): Likewise.
6927 * gdb.base/siginfo.c (main): Likewise.
6928 * gdb.base/structs.c (zed): Likewise.
6929 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6930 * gdb.mi/mi-syn-frame.c (main): Likewise.
6931 * gdb.mi/until.c (foo, main): Likewise.
6932 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6933 * gdb.base/solib-weak.c (foo): Declare.
6934 * gdb.base/attach-twice.c: Include stdio.h.
6935 * gdb.base/weaklib1.c: Likewise.
6936 * gdb.base/weaklib2.c: Likewise.
6937 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6938 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6940 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6941 * gdb.mi/mi-exit-code.c: Likewise.
6942 * gdb.base/break-interp-lib.c: Include string.h.
6943 * gdb.base/coremaker.c: Likewise.
6944 * gdb.base/testenv.c: Likewise.
6945 * gdb.python/py-finish-breakpoint.c: Likewise.
6946 * gdb.base/inferior-died.c: Include sys/wait.h.
6947 * gdb.base/fileio.c: Include time.h.
6948 * gdb.base/async-shell.c: Include unistd.h.
6949 * gdb.base/dprintf-non-stop.c: Likewise.
6950 * gdb.base/info-os.c: Likewise.
6951 * gdb.mi/mi-console.c: Likewise.
6952 * gdb.mi/watch-nonstop.c: Likewise.
6953 * gdb.python/py-events.c: Likewise.
6954 * gdb.base/async.c (baz): Move up before its invocation.
6955 * gdb.base/code_elim2.c (my_global_func): Likewise.
6956 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6957 * gdb.base/advance.c (func2): Likewise.
6959 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6961 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6963 * gdb.base/annota3.c: Likewise.
6964 * gdb.base/async.c: Likewise.
6965 * gdb.base/average.c: Likewise.
6966 * gdb.base/call-ar-st.c: Likewise.
6967 * gdb.base/call-rt-st.c: Likewise.
6968 * gdb.base/call-sc.c: Likewise.
6969 * gdb.base/call-strs.c: Likewise.
6970 * gdb.base/ending-run.c: Likewise.
6971 * gdb.base/execd-prog.c: Likewise.
6972 * gdb.base/exprs.c: Likewise.
6973 * gdb.base/foll-exec.c: Likewise.
6974 * gdb.base/foll-fork.c: Likewise.
6975 * gdb.base/foll-vfork.c: Likewise.
6976 * gdb.base/funcargs.c: Likewise.
6977 * gdb.base/gcore.c: Likewise.
6978 * gdb.base/jump.c: Likewise.
6979 * gdb.base/langs0.c: Likewise.
6980 * gdb.base/langs1.c: Likewise.
6981 * gdb.base/langs2.c: Likewise.
6982 * gdb.base/mips_pro.c: Likewise.
6983 * gdb.base/nodebug.c: Likewise.
6984 * gdb.base/opaque0.c: Likewise.
6985 * gdb.base/opaque1.c: Likewise.
6986 * gdb.base/recurse.c: Likewise.
6987 * gdb.base/run.c: Likewise.
6988 * gdb.base/scope0.c: Likewise.
6989 * gdb.base/scope1.c: Likewise.
6990 * gdb.base/setshow.c: Likewise.
6991 * gdb.base/setvar.c: Likewise.
6992 * gdb.base/shmain.c: Likewise.
6993 * gdb.base/shr1.c: Likewise.
6994 * gdb.base/shr2.c: Likewise.
6995 * gdb.base/sigall.c: Likewise.
6996 * gdb.base/signals.c: Likewise.
6997 * gdb.base/so-indr-cl.c: Likewise.
6998 * gdb.base/solib2.c: Likewise.
6999 * gdb.base/structs.c: Likewise.
7000 * gdb.base/sum.c: Likewise.
7001 * gdb.base/vforked-prog.c: Likewise.
7002 * gdb.base/watchpoint.c: Likewise.
7003 * gdb.reverse/shr2.c: Likewise.
7004 * gdb.reverse/until-reverse.c: Likewise.
7005 * gdb.reverse/ur1.c: Likewise.
7006 * gdb.reverse/watch-reverse.c: Likewise.
7008 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7010 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7012 * gdb.base/sepdebug.exp: Drop references to removed code.
7014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7016 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7017 variant. Preserve original line numbering.
7018 * gdb.base/list1.c: Likewise.
7020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7022 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7024 * gdb.base/break1.c: Likewise.
7025 * gdb.base/break.exp: Drop references to removed code.
7027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7029 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7034 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7036 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7038 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7039 logic into perform_all_tests() and invoke it with and without
7040 function header prototypes.
7041 (do_function_calls): Remove conditional XFAIL for PR 5318.
7042 (rerun_and_prepare): Remove duplicate code.
7043 (perform_all_tests): New. Main logic moved here.
7045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7047 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7048 code guarded by #ifdef NO_PROTOTYPES.
7049 (t_double_many_args): Likewise.
7050 (DEF_FUNC_MANY_ARGS_1): Likewise.
7051 (DEF_FUNC_VALUES_1): Likewise.
7052 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7053 guarded by #ifdef PROTOTYPES.
7055 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7057 * gdb.mi/mi-console.c: Add eye-catcher.
7058 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7059 instead of literal line number.
7061 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7063 * gdb.base/shr2.c: Add eye-catcher.
7064 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7067 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7069 * gdb.base/jump.c: Add eye-catchers.
7070 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7073 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7075 * gdb.base/execd-prog.c: Add eye-catchers.
7076 * gdb.base/foll-exec.c: Likewise.
7077 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7082 * gdb.base/ending-run.c: Add eye-catchers.
7083 * gdb.base/ending-run.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/call-rt-st.c: Add eye-catchers.
7089 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7090 literal line numbers.
7092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7094 * gdb.base/call-ar-st.c: Add eye-catchers.
7095 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7096 literal line numbers.
7098 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7100 * gdb.base/average.c: Add eye-catchers.
7101 * gdb.base/sum.c: Likewise.
7102 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7103 regexps dynamically.
7105 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7107 * gdb.base/solib1.c: Add eye-catchers.
7108 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7109 literal line numbers.
7111 2014-11-12 Pedro Alves <palves@redhat.com>
7113 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7116 2014-11-12 Pedro Alves <palves@redhat.com>
7118 * gdb.arch/i386-bp_permanent.c: New file.
7119 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7120 (srcfile): Set to i386-bp_permanent.c.
7121 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7122 that stepi does not execute the 'leave' instruction, instead of
7123 testing it does execute.
7124 * gdb.base/bp-permanent.c: New file.
7125 * gdb.base/bp-permanent.exp: New file.
7127 2014-11-10 Doug Evans <xdje42@gmail.com>
7130 * gdb.base/symtab-search-order.exp: New file.
7131 * gdb.base/symtab-search-order.c: New file.
7132 * gdb.base/symtab-search-order-1.c: New file.
7133 * gdb.base/symtab-search-order-shlib-1.c: New file.
7135 2014-11-07 Pedro Alves <palves@redhat.com>
7138 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7141 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7144 * gdb.cp/pr17494.cc: New file.
7145 * gdb.cp/pr17494.exp: New file.
7147 2014-11-02 Yao Qi <yao@codesourcery.com>
7149 * gdb.python/python.exp: Get working directory and match the
7150 output of "set extended-prompt \\w " with it.
7152 2014-10-30 Doug Evans <dje@google.com>
7154 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7156 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7159 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
7161 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7162 * gdb.base/realname-expand.exp: Likewise.
7163 * gdb.linespec/macro-relative.exp: Likewise.
7165 2014-10-29 Pedro Alves <palves@redhat.com>
7168 * gdb.threads/schedlock.c (some_function): New function.
7169 (call_function): New global.
7170 (MAYBE_CALL_SOME_FUNCTION): New macro.
7171 (thread_function): Call it.
7172 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7173 and use it instead of a global counter. Adjust all callers.
7174 (get_current_thread): Use "find current thread" for test message
7175 here rather than having all callers pass down the same string.
7176 (goto_loop): New procedure, factored out from ...
7177 (my_continue): ... this.
7178 (step_ten_loops): Change parameter from test message to command to
7180 (list_count): Delete global.
7181 (check_result): New procedure, factored out from duplicate top
7183 (continue tests): Wrap in with_test_prefix.
7184 (test_step): New procedure, factored out from duplicate top level
7186 (top level): Test "step" in combination with all scheduler-locking
7187 modes. Test "next" in combination with all scheduler-locking
7188 modes, and in combination with stepping over a function call or
7190 * gdb.threads/next-bp-other-thread.c: New file.
7191 * gdb.threads/next-bp-other-thread.exp: New file.
7193 2014-10-29 Pedro Alves <palves@redhat.com>
7196 * gdb.python/python.exp: Test a multi-line command that spawns
7198 * gdb.base/multi-line-starts-subshell.exp: New file.
7200 2014-10-29 Yao Qi <yao@codesourcery.com>
7202 * gdb.base/fileio.exp: Make directories on host.
7204 2014-10-29 Yao Qi <yao@codesourcery.com>
7206 * gdb.base/fileio.c (test_write): Close the file.
7208 2014-10-28 Pedro Alves <palves@redhat.com>
7211 * gdb.base/sigstep.c (no_handler): New global.
7212 (main): If 'no_handler is true, set the signal handlers to
7214 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7215 with_sw_watch and no_handler parameters. Handle them.
7216 (top level) <stepping over handler when stopped at a breakpoint
7217 test>: Add a test axis for testing with a software watchpoint, and
7218 another for testing with the signal handler set to SIG_IGN.
7219 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7220 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7222 2014-10-28 Pedro Alves <palves@redhat.com>
7225 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7226 * gdb.base/sigstep.exp (other_handler_location): New global.
7227 (advance): Support stepping into the signal handler, and running
7228 commands while in the handler.
7229 (in_handler_map): New global.
7230 (top level): In the advance test, add combinations for getting
7231 into the handler with stepping commands, and for running commands
7232 in the handler. Add comment descripting the advancei tests.
7234 2014-10-28 Pedro Alves <palves@redhat.com>
7236 * gdb.base/sigstep.exp: Use build_executable instead of
7237 prepare_for_testing.
7238 (top level): Move code that starts GDB, runs to main and creates a
7240 (restart): ... this new procedure.
7241 (top level): Move backtrace from signal handler test to ...
7242 (validate_backtrace): ... this new procedure.
7243 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7244 with_test_prefix. Always restart GDB.
7245 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7246 with_test_prefix. Always restart GDB. No need to delete
7247 breakpoints after the test.
7248 (test_skip_handler): Remove prefix parameter.
7249 (skip_over_handler, breakpoint_to_handler)
7250 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7251 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7252 restart GDB. No need to delete breakpoints after the test.
7253 (top level): Use foreach to call the test procedures with
7256 2014-10-28 Pedro Alves <palves@redhat.com>
7258 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7259 instead of GNATS numbers.
7260 * gdb.base/sigbpt.exp: Likewise.
7261 * gdb.base/siginfo.exp: Likewise.
7262 * gdb.base/sigstep.exp: Likewise.
7264 2014-10-27 Pedro Alves <palves@redhat.com>
7266 * gdb.base/sigstep.c (dummy): New global.
7267 (main): Issue a couple writes to the new global.
7268 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7270 (skip_over_handler): Use test_skip_handler.
7271 (top level): Call skip_over_handler for stepi and nexti too.
7272 (breakpoint_over_handler): Use test_skip_handler.
7273 (top level): Call breakpoint_over_handler for stepi and nexti too.
7275 2014-10-27 Yao Qi <yao@codesourcery.com>
7277 * gdb.trace/tfile.c (adjust_function_address)
7278 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7279 function descriptor.
7281 2014-10-24 Don Breazeal <donb@codesourcery.com>
7283 * gdb.base/foll-fork.exp (test_follow_fork,
7284 catch_fork_child_follow): Check for updated fork messages emitted
7286 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7287 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7288 vfork_and_exec_child_follow_through_step): Check for updated vfork
7289 messages emitted from infrun.c.
7291 2014-10-24 Pedro Alves <palves@redhat.com>
7293 * gdb.base/corefile.exp: Remove references to ultrix.
7294 * gdb.base/interrupt.exp: Likewise.
7295 * gdb.base/whatis.exp: Likewise.
7296 * gdb.gdb/selftest.exp: Likewise.
7297 * gdb.threads/manythreads.exp: Likewise.
7298 * gdb.threads/print-threads.exp: Likewise.
7299 * gdb.threads/pthreads.exp:: Likewise.
7300 * gdb.threads/schedlock.exp: Likewise.
7302 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7304 * gdb.cp/non-trivial-retval.cc: Add a test case.
7305 * gdb.cp/non-trivial-retval.exp: Add a test.
7307 2014-10-20 Yao Qi <yao@codesourcery.com>
7309 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7310 * gdb.python/py-objfile-script-gdb.py: New file.
7311 * gdb.python/py-objfile-script.exp: Update reference to
7312 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7313 of remote_download. Remove the dest file.
7315 2014-10-20 Yao Qi <yao@codesourcery.com>
7317 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7318 * gdb.base/step-line.exp: Likewise.
7319 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7320 * gdb.dwarf2/dw2-basic.exp: Likewise.
7321 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7322 * gdb.dwarf2/dw2-filename.exp: Likewise.
7323 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7324 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7325 * gdb.dwarf2/dw2-producer.exp: Likewise.
7326 * gdb.dwarf2/mac-fileno.exp: Likewise.
7327 * gdb.python/py-frame-args.exp: Likewise.
7328 * gdb.python/py-framefilter.exp: Likewise.
7329 * gdb.python/py-mi.exp: Likewise.
7330 * gdb.python/py-objfile-script.exp: Likewise
7331 * gdb.python/py-pp-integral.exp: Likewise.
7332 * gdb.python/py-pp-re-notag.exp: Likewise.
7333 * gdb.python/py-prettyprint.exp: Likewise.
7334 * gdb.python/py-section-script.exp: Likewise.
7335 * gdb.python/py-typeprint.exp: Likewise.
7336 * gdb.python/py-xmethods.exp: Likewise.
7337 * gdb.stabs/weird.exp: Likewise.
7338 * gdb.xml/tdesc-regs.exp: Likewise.
7340 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7342 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7343 (out_cu): Use addr_len for the size of addresses.
7344 (out_line): Likewise. Size DW_LNE_set_address instruction
7345 according to addr_len.
7346 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7347 (FUNC): Add START_INSNS to definition.
7349 2014-10-18 Yao Qi <yao@codesourcery.com>
7351 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7352 gdb_has_argv0 return true.
7353 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7354 check [target_info exists noargs], check [gdb_has_argv0]
7356 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7357 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7360 2014-10-17 Doug Evans <dje@google.com>
7362 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7364 * gdb.python/py-events.py: Add clear_objfiles event.
7366 2014-10-17 Doug Evans <dje@google.com>
7368 * gdb.python/py-objfile.exp: Test progspace attribute.
7370 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7372 * gdb.guile/scm-breakpoint.exp: Do not assume any
7373 directory separators when matching source file paths.
7374 * gdb.python/py-breakpoint.exp: Likewise.
7375 * gdb.reverse/break-precsave.exp: Likewise.
7376 * gdb.reverse/break-reverse.exp: Likewise.
7377 * gdb.reverse/consecutive-precsave.exp: Likewise.
7378 * gdb.reverse/finish-precsave.exp: Likewise.
7379 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7380 * gdb.reverse/finish-reverse.exp: Likewise.
7381 * gdb.reverse/i386-precsave.exp: Likewise.
7382 * gdb.reverse/i387-env-reverse.exp: Likewise.
7383 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7384 * gdb.reverse/machinestate-precsave.exp: Likewise.
7385 * gdb.reverse/machinestate.exp: Likewise.
7386 * gdb.reverse/sigall-precsave.exp: Likewise.
7387 * gdb.reverse/solib-precsave.exp: Likewise.
7388 * gdb.reverse/step-precsave.exp: Likewise.
7389 * gdb.reverse/until-precsave.exp: Likewise.
7390 * gdb.reverse/watch-precsave.exp: Likewise.
7391 * gdb.reverse/watch-reverse.exp: Likewise.
7393 2014-10-17 Yao Qi <yao@codesourcery.com>
7395 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7396 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7398 2014-10-17 Pedro Alves <palves@redhat.com>
7401 * gdb.base/bg-execution-repeat.c: New file.
7402 * gdb.base/bg-execution-repeat.exp: New file.
7404 2014-10-17 Pedro Alves <palves@redhat.com>
7407 * gdb.base/continue-all-already-running.c: New file.
7408 * gdb.base/continue-all-already-running.exp: New file.
7410 2014-10-17 Pedro Alves <palves@redhat.com>
7413 * gdb.base/annota-input-while-running.c: New file.
7414 * gdb.base/annota-input-while-running.exp: New file.
7416 2014-10-17 Pedro Alves <palves@redhat.com>
7418 * gdb.base/callfuncs.exp: emove references to osf.
7419 * gdb.base/sigall.exp: Likewise.
7420 * gdb.gdb/selftest.exp: Likewise.
7421 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7422 * gdb.mi/non-stop.c: Likewise.
7423 * gdb.mi/pthreads.c: Likewise.
7424 * gdb.reverse/sigall-precsave.exp: Likewise.
7425 * gdb.reverse/sigall-reverse.exp: Likewise.
7426 * gdb.threads/pthreads.c: Likewise.
7427 * gdb.threads/pthreads.exp: Likewise.
7429 2014-10-17 Yao Qi <yao@codesourcery.com>
7431 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7432 check 'target_info exists noargs'.
7433 (test_command_prompt_position): Likewise.
7434 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7436 (progvar_simple_while_test): Likewise.
7437 (progvar_complex_if_while_test): Likewise.
7438 (if_while_breakpoint_command_test): Likewise.
7439 (infrun_breakpoint_command_test): Likewise.
7440 (breakpoint_command_test): Likewise.
7441 (watchpoint_command_test): Likewise.
7442 (bp_deleted_in_command_test): Likewise.
7443 (temporary_breakpoint_commands): Likewise.
7445 2014-10-16 Yao Qi <yao@codesourcery.com>
7447 * gdb.base/remotetimeout.exp: Remove noargs checking.
7449 2014-10-15 Pedro Alves <palves@redhat.com>
7452 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7453 * gdb.base/breakpoint-in-ro-region.exp
7454 (probe_target_hardware_step): New procedure.
7455 (top level): Probe hardware stepping and hardware breakpoint
7456 support. Test stepping through a read-only region, with both
7457 "breakpoint auto-hw" on and off and both "always-inserted" on and
7460 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7462 * gdb.dlang/demangle.exp: Update for demangling changes.
7464 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7466 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7467 * gdb.cp/non-trivial-retval.exp: Add new tests.
7469 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7473 * gdb.cp/non-trivial-retval.cc: New file.
7474 * gdb.cp/non-trivial-retval.exp: New file.
7476 2014-10-15 Yao Qi <yao@codesourcery.com>
7478 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7481 2014-10-15 Yao Qi <yao@codesourcery.com>
7483 * gdb.python/py-symbol.exp: Match file base name if host is
7484 remote, otherwise match file name with dir name.
7485 * gdb.python/py-symtab.exp: Likewise.
7486 * gdb.python/python.exp: Likewise.
7488 2014-10-15 Yao Qi <yao@codesourcery.com>
7490 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7492 * gdb.python/py-symtab.exp: Likewise.
7493 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7496 2014-10-14 Joel Brobecker <brobecker@adacore.com>
7498 * gdb.ada/addr_arith: New testcase.
7500 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7502 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7503 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7504 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7505 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7507 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7509 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7510 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7511 * gdb.arch/stap-eval-lang-ada.exp: New file.
7513 2014-10-14 Yao Qi <yao@codesourcery.com>
7515 * gdb.mi/mi-var-child.c (nothing1): New function.
7516 (nothing2): New function.
7517 (do_children_tests): Set function pointers by nothing1 and
7519 * gdb.mi/mi-var-child.exp: Step over new added statements.
7520 Update test to match the new output.
7521 * gdb.mi/var-cmd.c (nothing1): New function.
7522 (nothing2): New function.
7523 (do_children_tests): Set function pointers by nothing1 and
7525 * gdb.mi/mi-var-display.exp: Update test to match output.
7526 Step to the line specified by $line_dct_nothing.
7527 Increase the number of lines to step.
7529 2014-10-14 Yao Qi <yao@codesourcery.com>
7531 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7533 * gdb.mi/mi2-var-child.exp: Likewise.
7535 2014-10-13 Doug Evans <dje@google.com>
7537 * gdb.python/py-objfile.exp: Change name of file name test.
7539 2014-10-13 Doug Evans <dje@google.com>
7541 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7542 from the start of the CU.
7544 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7545 Yao Qi <yao@codesourcery.com>
7547 Fix "save breakpoints" for "catch" command.
7548 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7549 Remove -nonewline. Match also the added "main" line.
7551 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7553 Fix "save breakpoints" for "disable $bpnum" command.
7554 * gdb.base/save-bp.c (main): Add label.
7555 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7557 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7559 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7561 2014-10-11 Yao Qi <yao@codesourcery.com>
7563 * gdb.server/server-kill.exp: Execute command
7564 "set remote trace-status-packet on" before "tstatus".
7566 2014-10-11 Yao Qi <yao@codesourcery.com>
7568 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7569 (main): Call getppid.
7570 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7571 and continue to it. Read variable "server_pid".
7573 2014-10-11 Yao Qi <yao@codesourcery.com>
7575 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7577 2014-10-11 Yao Qi <yao@codesourcery.com>
7579 * gdb.threads/thread-find.exp: Don't execute command
7581 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7582 * gdb.threads/linux-dp.exp: Don't check the condition
7583 $threads_created equals to zero.
7585 2014-10-10 Pedro Alves <palves@redhat.com>
7587 * gdb.base/bigcore.exp: Remove references to IRIX.
7588 * gdb.base/funcargs.exp: Likewise.
7589 * gdb.base/interrupt.exp: Likewise.
7590 * gdb.base/mips_pro.exp: Likewise.
7591 * gdb.base/nodebug.exp: Likewise.
7592 * gdb.base/setvar.exp: Likewise.
7593 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7595 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7596 Pedro Alves <palves@redhat.com>
7599 * gdb.base/vdso-warning.c: New file.
7600 * gdb.base/vdso-warning.exp: New file.
7602 2014-10-02 Doug Evans <dje@google.com>
7604 * gdb.base/structs.c (main): Don't run forever.
7606 2014-10-02 Pedro Alves <palves@redhat.com>
7608 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7609 (top level) <stop threads 1, stop threads 2>: Use it.
7611 2014-10-02 Pedro Alves <palves@redhat.com>
7613 * gdb.threads/break-while-running.exp (test): Add new
7614 'update_thread_list' argument. Skip "info threads" if false.
7615 (top level): Add new 'update_thread_list' axis.
7617 2014-10-02 Pedro Alves <palves@redhat.com>
7619 PR breakpoints/17431
7620 * gdb.base/execl-update-breakpoints.c: New file.
7621 * gdb.base/execl-update-breakpoints.exp: New file.
7623 2014-10-01 Pedro Alves <palves@redhat.com>
7625 * gdb.base/breakpoint-in-ro-region.c: New file.
7626 * gdb.base/breakpoint-in-ro-region.exp: New file.
7628 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7630 * gdb.mi/mi-exit-code.exp: New file.
7631 * gdb.mi/mi-exit-code.c: New file.
7633 2014-09-30 Yao Qi <yao@codesourcery.com>
7635 * lib/prelink-support.exp (build_executable_own_libs): Error if
7636 the target isn't native.
7638 2014-09-30 Yao Qi <yao@codesourcery.com>
7640 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7643 2014-09-22 Pedro Alves <palves@redhat.com>
7645 * gdb.threads/break-while-running.exp: New file.
7646 * gdb.threads/break-while-running.c: New file.
7648 2014-09-19 Yao Qi <yao@codesourcery.com>
7650 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7651 Invoke test. Restart GDB with --readnow and invoke test again.
7653 2014-09-19 Yao Qi <yao@codesourcery.com>
7655 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7656 proc set_breakpoint_on_gcd_function. Invoke
7657 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7658 invoke set_breakpoint_on_gcd_function again.
7660 2014-09-18 Doug Evans <dje@google.com>
7662 * gdb.dwarf2/symtab-producer.exp: New file.
7664 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7666 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7667 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7668 * gdb.base/global-var-nested-by-dso.c: Likewise.
7669 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7671 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7672 Pedro Alves <palves@redhat.com>
7674 * gdb.base/watch-bitfields.exp: Pass string other than test file
7675 name to prepare_for_testing.
7676 (watch): New procedure.
7677 (expect_watchpoint): Use with_test_prefix.
7678 (top level): Factor out tests to ...
7679 (test_watch_location, test_regular_watch): ... these new
7680 procedures, and use with_test_prefix and gdb_continue_to_end.
7682 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7684 PR breakpoints/12526
7685 * gdb.base/watch-bitfields.exp: New file.
7686 * gdb.base/watch-bitfields.c: New file.
7688 2014-09-16 Pedro Alves <palves@redhat.com>
7690 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7691 software and hardware addresses, not software address against
7694 2014-09-16 Pedro Alves <palves@redhat.com>
7696 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7697 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7699 2014-09-16 Pedro Alves <palves@redhat.com>
7701 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7703 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7704 "*-*-vxworks*" throughout.
7705 * gdb.base/break.exp: Likewise.
7706 * gdb.base/default.exp: Likewise.
7707 * gdb.base/scope.exp: Likewise.
7708 * gdb.base/sepdebug.exp: Likewise.
7709 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7711 * gdb.base/run.c: Likewise.
7712 * gdb.base/sepdebug.c: Likewise.
7713 * gdb.hp/gdb.aCC/run.c: Likewise.
7714 * gdb.reverse/until-reverse.c: Likewise.
7715 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7717 2014-09-16 Yao Qi <yao@codesourcery.com>
7719 * boards/local-remote-host-native.exp: New file.
7721 2014-09-14 Doug Evans <xdje42@gmail.com>
7723 * gdb.threads/queue-signal.c (thread_count): New variable.
7724 (thread_count_mutex, thread_count_condvar): New variables.
7725 (incr_thread_count, wait_all_threads_running): New functions.
7726 (main): Wait for all threads to be in their thread functions.
7728 2014-09-13 Doug Evans <xdje42@gmail.com>
7730 * gdb.threads/queue-signal.c: New file.
7731 * gdb.threads/queue-signal.exp: New file.
7733 2014-09-13 Doug Evans <xdje42@gmail.com>
7735 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7736 be consistent with what default_gdb_init uses.
7737 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7738 the plain text of the prompt. Add some logging printfs.
7739 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7741 2014-09-12 Pedro Alves <palves@redhat.com>
7743 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7744 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7745 * gdb.arch/i386-size-overlap.exp: Likewise.
7746 * gdb.arch/i386-size.exp: Likewise.
7747 * gdb.arch/i386-unwind.exp: Likewise.
7748 * gdb.base/a2-run.exp: Likewise.
7749 * gdb.base/break.exp: Likewise.
7750 * gdb.base/charset.exp: Likewise.
7751 * gdb.base/chng-syms.exp: Likewise.
7752 * gdb.base/commands.exp: Likewise.
7753 * gdb.base/dbx.exp: Likewise.
7754 * gdb.base/find.exp: Likewise.
7755 * gdb.base/funcargs.exp: Likewise.
7756 * gdb.base/jit-simple.exp: Likewise.
7757 * gdb.base/reread.exp: Likewise.
7758 * gdb.base/sepdebug.exp: Likewise.
7759 * gdb.base/step-bt.exp: Likewise.
7760 * gdb.cp/mb-inline.exp: Likewise.
7761 * gdb.cp/mb-templates.exp: Likewise.
7762 * gdb.objc/basicclass.exp: Likewise.
7763 * gdb.threads/killed.exp: Likewise.
7765 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7768 * gdb.arch/powerpc-stackless.S: New file.
7769 * gdb.arch/powerpc-stackless.exp: New file.
7771 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7773 * gdb.base/attach.c: Include unistd.h.
7774 (main): Call alarm. Add label postloop.
7775 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7776 gdb_breakpoint, gdb_continue_to_breakpoint.
7777 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7779 2014-09-11 Pedro Alves <palves@redhat.com>
7782 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7783 * gdb.base/attach.exp (test_command_line_attach_run): New
7785 (top level): Call it.
7787 2014-09-11 Pedro Alves <palves@redhat.com>
7789 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7790 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7791 (do_command_attach_tests): Use spawn_wait_for_attach.
7792 * gdb.base/solib-overlap.exp: Likewise.
7793 * gdb.multi/multi-attach.exp: Likewise.
7794 * gdb.python/py-prompt.exp: Likewise.
7795 * gdb.python/py-sync-interp.exp: Likewise.
7796 * gdb.server/ext-attach.exp: Likewise.
7798 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7800 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7801 command in testcase. Simplify testcase.
7803 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7805 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7807 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7809 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7811 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7813 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7815 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7817 * gdb.dwarf2/dynarr-ptr.c: New file.
7818 * gdb.dwarf2/dynarr-ptr.exp: New file.
7820 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7822 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7823 of 30 rather than hardcoding 120 for a slow test case. Take the
7824 `gdb,timeout' target setting into account for this calculation.
7825 Don't extend the timeout for the test cases that don't need it.
7827 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7829 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7830 a factor of 2 for a slow test case. Take the `gdb,timeout'
7831 target setting into account for this calculation.
7832 * gdb.reverse/until-precsave.exp: Increase the timeout by
7833 a factor of 15 and 3 respectively rather than adding 120
7834 for a pair of slow test cases. Take the `gdb,timeout'
7835 target setting into account for this calculation.
7837 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7839 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7840 timeout, don't pass one down to gdb_expect.
7841 (gdb_expect): Rework timeout selection.
7843 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7845 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7846 exception on timeout.
7847 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7848 (gdbserver_start_extended): Catch any `gdbserver_start' error
7850 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7851 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7852 `gdbserver_gdb_load' error exceptions.
7854 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7856 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7857 120 on waiting for the TCP socket to open.
7859 2014-09-09 Doug Evans <xdje42@gmail.com>
7861 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7862 _caller_matches, _any_caller_is, _any_caller_matches.
7864 2014-09-09 Doug Evans <xdje42@gmail.com>
7866 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7868 2014-09-09 Yao Qi <yao@codesourcery.com>
7870 * gdb.mi/mi-var-display.exp: Set print symbol off.
7872 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7875 * gdb.base/commands.exp: Add tests to verify user-defined
7876 commands with empty bodies.
7877 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7878 python commands in `show user command`.
7879 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7880 scheme commands in `show user command`.
7882 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7885 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7886 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7887 * gdb.python/py-framefilter-invalidarg.exp: New file.
7888 * gdb.python/py-framefilter-invalidarg.py: New file.
7890 2014-09-06 Doug Evans <xdje42@gmail.com>
7893 * gdb.python/py-caller-is.c: New file.
7894 * gdb.python/py-caller-is.exp: New file.
7896 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7899 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7900 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7902 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7905 * gdb.fortran/print-formatted.exp: New file.
7906 * gdb.fortran/print-formatted.f90: Likewise.
7908 2014-09-03 Sasha Smundak <asmundak@google.com>
7910 * gdb.python/py-frame.exp: Test Frame.read_register.
7912 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7915 * gdb.python/py-completion.exp: New file.
7916 * gdb.python/py-completion.py: Likewise.
7918 2014-08-28 Doug Evans <dje@google.com>
7920 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7921 eax,etc. are live with values set by gdb and thus the compiler can't
7923 * gdb.arch/i386-pseudo.c (main): Ditto.
7925 2014-08-27 Doug Evans <dje@google.com>
7927 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7929 2014-08-25 Doug Evans <dje@google.com>
7931 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7934 2014-08-25 Doug Evans <dje@google.com>
7936 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7938 2014-08-24 Yao Qi <yao@codesourcery.com>
7940 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7942 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7944 2014-08-22 Doug Evans <dje@google.com>
7947 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7948 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7949 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7951 2014-08-22 Yao Qi <yao@codesourcery.com>
7953 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7954 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7955 * gdb.python/python.exp: Likewise. Use .py file on the host
7956 instead of the build.
7958 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7960 * gdb.threads/gcore-stale-thread.c: New file.
7961 * gdb.threads/gcore-stale-thread.exp: New file.
7963 2014-08-21 Pedro Alves <palves@redhat.com>
7965 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7966 * gdb.base/gcore-relro-pie.exp: Likewise.
7967 * gdb.base/gcore-relro.exp: Likewise.
7968 * gdb.base/gcore.exp: Likewise.
7969 * gdb.base/print-symbol-loading.exp: Likewise.
7970 * gdb.threads/gcore-thread.exp: Likewise.
7971 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7973 2014-08-20 Pedro Alves <palves@redhat.com>
7974 Jan Kratochvil <jan.kratochvil@redhat.com>
7976 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7978 (EXPECT): Handle READ1 being set.
7979 (all): Depend on EXTRA_RULES.
7980 (check-read1, expect-read1, read1.so, read1): New rules.
7981 * README (Testsuite Parameters): Document the READ1 make variable.
7982 (Race detection): New section.
7983 * configure: Regenerate.
7984 * configure.ac: If build==host==target, and running under a
7985 GNU/glibc system, add read1 to the extra Makefile rules.
7986 (EXTRA_RULES): AC_SUBST it.
7987 * lib/read1.c: New file.
7989 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7991 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7992 the handling of variables declared as a typedef to an array
7993 which a DW_AT_data_location attribute.
7995 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7996 Pedro Alves <palves@redhat.com>
8000 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8003 2014-08-19 Pedro Alves <palves@redhat.com>
8005 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8007 2014-08-19 Yao Qi <yao@codesourcery.com>
8009 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8012 2014-08-18 David Blaikie <dblaikie@gmail.com>
8014 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8016 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8018 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8019 attribute in array range.
8021 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8023 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8025 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8028 * gdb.cp/pr17132.cc: New file.
8029 * gdb.cp/pr17132.exp: New file.
8031 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8033 * gdb.python/py-xmethods.py (A_getarrayind)
8034 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8035 Use 'print' with function call syntax.
8036 (E_method_matcher.match): Fix tab vs space indentation mixup.
8038 2014-08-15 Yao Qi <yao@codesourcery.com>
8040 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8043 2014-08-15 Yao Qi <yao@codesourcery.com>
8045 * gdb.cp/casts.exp: Set print symbol off.
8046 * gdb.cp/class2.exp: Likewise.
8047 * gdb.cp/overload.exp: Likewise.
8048 * gdb.cp/templates.exp: Likewise.
8050 2014-08-11 Doug Evans <dje@google.com>
8052 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8053 (test_load_shlib): Update.
8055 2014-08-09 Yao Qi <yao@codesourcery.com>
8057 * gdb.base/display.exp: Invoke is_address_zero_readable.
8058 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8059 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8060 * gdb.base/hbreak-unmapped.exp: Return if
8061 is_address_zero_readable returns true.
8062 * gdb.base/signest.exp: Likewise.
8063 * gdb.base/signull.exp: Likewise.
8064 * gdb.base/sigbpt.exp: Likewise.
8065 * gdb.guile/scm-disasm.exp: Do the test if
8066 is_address_zero_readable returns false.
8067 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8068 * gdb.python/py-arch.exp: Likewise.
8069 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8070 * lib/gdb.exp (is_address_zero_readable): New proc.
8072 2014-08-09 Yao Qi <yao@codesourcery.com>
8075 * gdb.mi/mi-var-display.exp: Make test messages unique.
8077 2014-08-04 Tom Tromey <tromey@redhat.com>
8079 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8082 2014-08-04 Tom Tromey <tromey@redhat.com>
8084 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8087 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8089 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8090 inner_vla_struct_object_size.
8091 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8094 2014-07-30 Pedro Alves <palves@redhat.com>
8096 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8099 2014-07-29 Yao Qi <yao@codesourcery.com>
8102 * gdb.base/until-nodebug.exp: New.
8104 2014-07-28 Doug Evans <xdje42@gmail.com>
8107 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8108 previously existing parameter, and previously ambiguously spelled
8111 2014-07-28 Will Newton <will.newton@linaro.org>
8113 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8115 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8116 Doug Evans <xdje42@gmail.com>
8119 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8121 2014-07-25 Pedro Alves <palves@redhat.com>
8123 * gdb.threads/signal-command-handle-nopass.c: New file.
8124 * gdb.threads/signal-command-handle-nopass.exp: New file.
8125 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8126 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8127 * gdb.threads/signal-delivered-right-thread.c: New file.
8128 * gdb.threads/signal-delivered-right-thread.exp: New file.
8130 2014-07-25 Pedro Alves <palves@redhat.com>
8132 * gdb.base/double-prompt-target-event-error.exp
8133 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8135 (cancel_pagination_in_target_event): Rework double prompt
8137 * gdb.base/paginate-after-ctrl-c-running.exp
8138 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8140 * gdb.base/paginate-bg-execution.exp
8141 (test_bg_execution_pagination_return)
8142 (test_bg_execution_pagination_cancel): Remove '-notransfer
8144 * gdb.base/paginate-execution-startup.exp
8145 (test_fg_execution_pagination_return)
8146 (test_fg_execution_pagination_cancel): Remove '-notransfer
8148 * gdb.base/paginate-inferior-exit.exp
8149 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8151 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8152 * lib/gdb.exp (pagination_prompt): Run text through
8154 (gdb_test_multiple): Match $pagination_prompt instead of
8156 (string_to_regexp): Move to lib/gdb-utils.exp.
8158 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8160 * gdb.arch/amd64-entry-value-paramref.S: New file.
8161 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8162 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8163 * gdb.arch/amd64-optimout-repeat.S: New file.
8164 * gdb.arch/amd64-optimout-repeat.c: New file.
8165 * gdb.arch/amd64-optimout-repeat.exp: New file.
8167 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8170 * gdb.base/statistics.exp: New file.
8172 2014-07-17 Doug Evans <dje@google.com>
8175 * gdb.base/maint.exp: Update testing of per-command stats.
8177 2014-07-16 Pedro Alves <palves@redhat.com>
8179 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8180 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8181 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8182 (tfile_write_buf): New functions.
8183 (add_memory_block): Rewrite using the above.
8184 (adjust_function_address): New function.
8185 (FUNCTION_ADDRESS): New macro.
8186 (write_basic_trace_file): Remove short_x local, and use
8187 tfile_write_16. Change type of func_addr local to unsigned long
8188 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8189 here. Cast argument of add_memory_block to char pointer.
8190 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8191 (main): Remove parameters.
8192 * gdb.trace/tfile.exp: Remove nowarnings.
8194 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8196 * gdb.base/debug-expr.exp: Test string evaluation with
8197 "debug expression" on.
8199 2014-07-15 Pedro Alves <palves@redhat.com>
8201 * gdb.base/reread.exp: Use clean_restart.
8203 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8205 * gdb.arch/avr-flash-qualifer.c: New.
8206 * gdb.arch/avr-flash-qualifer.exp: New.
8208 2014-07-14 Pedro Alves <palves@redhat.com>
8210 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8211 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8213 2014-07-14 Pedro Alves <palves@redhat.com>
8215 * gdb.base/double-prompt-target-event-error.c: New file.
8216 * gdb.base/double-prompt-target-event-error.exp: New file.
8218 2014-07-14 Pedro Alves <palves@redhat.com>
8221 * gdb.base/paginate-inferior-exit.c: New file.
8222 * gdb.base/paginate-inferior-exit.exp: New file.
8224 2014-07-14 Pedro Alves <palves@redhat.com>
8227 * gdb.base/paginate-bg-execution.c: New file.
8228 * gdb.base/paginate-bg-execution.exp: New file.
8230 2014-07-14 Pedro Alves <palves@redhat.com>
8233 * gdb.base/paginate-execution-startup.c: New file.
8234 * gdb.base/paginate-execution-startup.exp: New file.
8235 * lib/gdb.exp (pagination_prompt): New global.
8236 (default_gdb_spawn): New procedure, factored out from
8238 (default_gdb_start): Adjust to call default_gdb_spawn.
8239 (gdb_spawn): New procedure.
8241 2014-07-14 Pedro Alves <palves@redhat.com>
8243 * lib/gdb.exp (gdb_assert): New procedure.
8244 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8246 2014-07-14 Pedro Alves <palves@redhat.com>
8248 * gdb.base/execution-termios.c: New file.
8249 * gdb.base/execution-termios.exp: New file.
8251 2014-07-14 Tom Tromey <tromey@redhat.com>
8253 * gdb.cp/vla-cxx.cc: New file.
8254 * gdb.cp/vla-cxx.exp: New file.
8256 2014-07-14 Tom Tromey <tromey@redhat.com>
8258 * gdb.reverse/rerun-prec.c: New file.
8259 * gdb.reverse/rerun-prec.exp: New file.
8261 2014-07-12 Maciej W. Rozycki <macro@mips.com>
8262 Maciej W. Rozycki <macro@codesourcery.com>
8264 * lib/gdb-utils.exp: New file.
8265 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8266 inline `gdb_init_command' processing.
8267 (gdb_start_cmd): Likewise.
8268 * lib/mi-support.exp (mi_run_cmd): Likewise.
8269 * README: Document `gdb_init_command' and `gdb_init_commands'.
8271 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8273 Fix false FAIL running under a very long directory name.
8274 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8275 and "set print elements 10000". Twice.
8277 2014-07-11 Yao Qi <yao@codesourcery.com>
8279 * gdb.base/exprs.exp: "set print symbol off".
8281 2014-07-11 Pedro Alves <palves@redhat.com>
8283 * gdb.threads/kill.c: New file.
8284 * gdb.threads/kill.exp: New file.
8286 2014-07-10 Yao Qi <yao@codesourcery.com>
8288 * gdb.trace/tfile.c (write_basic_trace_file)
8289 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8290 address written to trace file.
8292 2014-07-09 Pedro Alves <palves@redhat.com>
8294 * gdb.base/attach-wait-input.exp: New file.
8295 * gdb.base/attach-wait-input.c: New file.
8297 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8299 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8300 setting up test structures.
8301 (main): Call new test function.
8302 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8303 test function, continue into test function and walk test
8306 2014-07-02 Yao Qi <yao@codesourcery.com>
8308 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8309 'bar_start' at the beginning of functions 'foo' and 'bar'
8311 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8312 instead of 'foo' and 'bar'.
8314 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8316 * gdb.btrace/segv.exp: New.
8317 * gdb.btrace/segv.c: New.
8319 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
8321 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8324 2014-06-30 Mark Wielaard <mjw@redhat.com>
8326 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8327 vulture, vilify, villar): New volatile array constants.
8328 (vindictive, vegetation): New const volatile array constants.
8329 * gdb.base/volatile.exp: Test volatile and const volatile array
8332 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8334 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8335 target lacks support for awatch, rwatch, or hbreak.
8337 2014-06-27 Yao Qi <yao@codesourcery.com>
8339 * gdb.multi/dummy-frame-restore.exp: New.
8340 * gdb.multi/dummy-frame-restore.c: New.
8342 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8344 * gdb.btrace/gcore.exp: New.
8346 2014-06-23 Pedro Alves <palves@redhat.com>
8348 * gdb.base/watchpoint-reuse-slot.c: New file.
8349 * gdb.base/watchpoint-reuse-slot.exp: New file.
8351 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8353 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8354 progspace's filename in 'info', 'enable' and 'disable' command
8357 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8359 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8360 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8361 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8363 2014-06-20 Gary Benson <gbenson@redhat.com>
8365 * gdb.arch/i386-avx.exp: Fix include file location.
8366 * gdb.arch/i386-sse.exp: Likewise.
8368 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8370 * gdb.dlang/expression.exp: New file.
8372 2014-06-19 Pedro Alves <palves@redhat.com>
8374 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8376 (top level): ... here. Iterate running tests under different
8377 scheduler-locking settings.
8379 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
8381 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8382 to DW_FORM_addr and use non-zero addresses.
8384 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8387 * gdb.python/py-xmethods.cc: Add global function call counters and
8388 increment them in their respective functions. Remove "cout"
8390 * gdb.python/py-xmethods.exp: Make tests check the global function
8391 call counters instead of depending on inferior IO.
8393 2014-06-18 Don Breazeal <donb@codesourcery.com>
8395 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8397 (explicit_fork_parent_follow): Deleted procedure.
8398 (explicit_fork_child_follow): Deleted procedure.
8399 (test_follow_fork): New procedure.
8400 (do_fork_tests): Replace calls to deleted procedures with
8401 calls to test_follow_fork and reset GDB for subsequent
8404 2014-06-17 Yao Qi <yao@codesourcery.com>
8406 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8409 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
8411 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8412 Initialize ptr and S explicitly.
8413 (skip_type_update_when_not_use_rtti_test): Likewise.
8415 2014-06-16 Keith Seitz <keiths@redhat.com>
8418 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8419 the inferior is started.
8421 2014-06-16 Pedro Alves <palves@redhat.com>
8423 * gdb.base/break-main-file-remove-fail.c: New file.
8424 * gdb.base/break-main-file-remove-fail.exp: New file.
8425 * gdb.base/break-unload-file.exp: Use build_executable instead of
8426 prepare_for_testing.
8427 (test_break): New parameter "initial_load". Handle it.
8428 (top level): Add initial_load cmdline/file axis.
8430 2014-06-12 Tom Tromey <tromey@redhat.com>
8432 * gdb.base/completion.exp: Don't use directory name in test.
8434 2014-06-09 Gary Benson <gbenson@redhat.com>
8436 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8437 separate the always-available ANSI-standard signals from the
8438 signals that require checking.
8440 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8444 2014-06-07 Keith Seitz <keiths@redhat.com>
8448 * gdb.cp/var-tag.cc: New file.
8449 * gdb.cp/var-tag.exp: New file.
8450 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8451 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8452 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8453 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8455 2014-06-06 Doug Evans <xdje42@gmail.com>
8457 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8459 2014-06-06 Pedro Alves <palves@redhat.com>
8461 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8462 in target debug output instead of looking at RSP packets,
8463 disabling the test on any target that uses hardware stepping.
8466 2014-06-06 Pedro Alves <palves@redhat.com>
8468 * gdb.base/break-unload-file.exp: Fix typo.
8470 2014-06-06 Yao Qi <yao@codesourcery.com>
8472 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8473 from "jit_function" to "^jit_function".
8475 2014-06-06 Yao Qi <yao@codesourcery.com>
8477 * gdb.base/async.c (foo): Add one statement.
8478 * gdb.base/async.exp: Get the next instruction address and
8479 match the output of "nexti" by instruction address. Match
8480 the hex address in the output of "finish".
8482 2014-06-06 Gary Benson <gbenson@redhat.com>
8484 * gdb.base/call-signals.c: Remove preprocessor conditionals
8485 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8486 SIGSEGV and SIGTERM.
8487 * gdb.base/sigall.c: Likewise.
8488 * gdb.base/unwindonsignal.c: Likewise.
8489 * gdb.reverse/sigall-reverse.c: Likewise.
8491 2014-06-06 Yao Qi <yao@codesourcery.com>
8493 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8494 readable, skip the test.
8496 2014-06-06 Yao Qi <yao@codesourcery.com>
8498 * gdb.threads/staticthreads.c (thread_function): Move the line
8499 setting breakpoint on forward.
8500 * gdb.threads/staticthreads.exp: Update comments.
8502 2014-06-05 Ludovic Courtès <ludo@gnu.org>
8504 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8505 "history-append! type error".
8507 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8509 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8510 erroneous dprintf expected input.
8512 2014-06-04 Doug Evans <xdje42@gmail.com>
8514 * gdb.guile/scm-generics.exp: Delete.
8516 2014-06-04 Doug Evans <xdje42@gmail.com>
8518 * gdb.guile/scm-breakpoint.exp: Update.
8519 Add tests for breakpoint registration.
8521 2014-06-04 Tom Tromey <tromey@redhat.com>
8523 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8525 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8526 inner_vla_struct, vla_union types. Initialize objects of those
8527 types and compute their sizes.
8529 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8530 Hui Zhu <hui@codesourcery.com>
8532 * gdb.base/fileio.exp: Add test for shell not available as well as
8534 * gdb.base/fileio.c (test_system): Check for shell twice.
8536 2014-06-04 Yao Qi <yao@codesourcery.com>
8538 * gdb.base/auto-connect-native-target.exp: Remove redundant
8539 space from the regexp pattern.
8541 2014-06-04 Yao Qi <yao@codesourcery.com>
8543 * gdb.base/default.exp: Replace "child" with "native" in
8546 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8548 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8549 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8550 * gdb.python/py-xmethods.py: Python script supporting the
8551 new testcase and tests.
8553 2014-06-03 Joel Brobecker <brobecker@adacore.com>
8554 Pedro Alves <palves@redhat.com>
8556 PR breakpoints/17000
8557 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8558 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8560 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8562 * gdb.base/subst.exp: Add tests to verify partial path matching
8565 2014-06-03 Pedro Alves <palves@redhat.com>
8567 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8568 target that doesn't use software single-stepping.
8570 2014-06-03 Pedro Alves <palves@redhat.com>
8572 PR breakpoints/17000
8573 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8574 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8576 2014-06-02 Doug Evans <xdje42@gmail.com>
8578 * gdb.guile/scm-parameter.exp: New file.
8580 2014-06-02 Doug Evans <xdje42@gmail.com>
8582 * gdb.guile/scm-cmd.c: New file.
8583 * gdb.guile/scm-cmd.exp: New file.
8585 2014-06-02 Doug Evans <xdje42@gmail.com>
8587 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8588 pretty-printer lookup.
8589 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8590 (make-pp_s-printer): Call it.
8591 (make-pretty-printer-from-dict): New function.
8592 (lookup-pretty-printer-maker-from-dict): New function.
8593 (*pretty-printer*): Simplify.
8594 (make-objfile-pp_s-printer): New function.
8595 (install-objfile-pretty-printers!): New function.
8596 (make-progspace-pp_s-printer): New function.
8597 (install-progspace-pretty-printers!): New function.
8598 * gdb.guile/scm-progspace.c: New file.
8599 * gdb.guile/scm-progspace.exp: New file.
8601 2014-06-02 Pedro Alves <palves@redhat.com>
8603 * gdb.base/dprintf-bp-same-addr.c: New file.
8604 * gdb.base/dprintf-bp-same-addr.exp: New file.
8606 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8608 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8609 * gdb.arch/powerpc-power.s: Likewise.
8611 2014-06-02 Joel Brobecker <brobecker@adacore.com>
8613 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8615 2014-06-01 Yao Qi <yao@codesourcery.com>
8617 * gdb.base/watchpoint.exp (test_watch_location): Check null
8618 pointer can be dereferenced. If not, do the test, otherwise
8621 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8623 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8625 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8627 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8629 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8630 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8631 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8632 * gdb.arch/amd64-invalid-stack-top.c: New file.
8633 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8635 2014-05-30 Pedro Alves <palves@redhat.com>
8637 PR breakpoints/17000
8638 * gdb.base/sss-bp-on-user-bp.c: New file.
8639 * gdb.base/sss-bp-on-user-bp.exp: New file.
8641 2014-05-30 David Blaikie <dblaikie@gmail.com>
8643 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8644 gnu_inline semantics via attribute.
8645 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8646 source explicitly specifies the required semantics.
8648 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8650 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8652 2014-05-29 Pedro Alves <palves@redhat.com>
8653 Tom Tromey <tromey@redhat.com>
8655 * gdb.base/async-shell.exp: Don't enable target-async.
8656 * gdb.base/async.exp
8657 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8659 (top level): Don't test with "target-async".
8660 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8661 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8662 * gdb.base/inferior-died.exp: Don't enable target-async.
8663 * gdb.base/interrupt-noterm.exp: Likewise.
8664 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8665 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8666 * gdb.mi/mi-nonstop.exp: Likewise.
8667 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8668 * gdb.mi/mi-nsintrall.exp: Likewise.
8669 * gdb.mi/mi-nsmoribund.exp: Likewise.
8670 * gdb.mi/mi-nsthrexec.exp: Likewise.
8671 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8672 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8673 * gdb.python/py-evsignal.exp: Don't enable target-async.
8674 * gdb.python/py-evthreads.exp: Likewise.
8675 * gdb.python/py-prompt.exp: Likewise.
8676 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8677 * gdb.server/solib-list.exp: Don't enable target-async.
8678 * gdb.threads/thread-specific-bp.exp: Likewise.
8679 * lib/mi-support.exp: Adjust to use mi-async.
8681 2014-05-29 Pedro Alves <palves@redhat.com>
8684 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8685 reason, even in sync mode.
8687 2014-05-29 Pedro Alves <palves@redhat.com>
8688 Hui Zhu <hui@codesourcery.com>
8691 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8692 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8693 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8694 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8696 2014-05-28 Joel Brobecker <brobecker@adacore.com>
8698 * config/monitor.exp (gdb_target_monitor): Replace use of
8699 "set remotebaud" by "set serial baud".
8701 2014-05-26 Andy Wingo <wingo@igalia.com>
8703 * gdb.guile/scm-breakpoint.exp:
8704 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8705 properties instead of gdb-object-properties.
8707 2014-05-26 Yao Qi <yao@codesourcery.com>
8709 * gdb.server/no-thread-db.exp: Specify source file name
8710 explicitly when setting a breakpoint.
8712 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8714 * gdb.btrace/vdso.c: New.
8715 * gdb.btrace/vdso.exp: New.
8717 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8719 * gdb.base/gcore.exp (capture_command_output): Move ...
8720 * lib/gdb.exp (capture_command_output): ... here.
8722 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8724 * gdb.btrace/data.exp: Test memory access during btrace replay.
8726 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8728 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8730 2014-05-21 Pedro Alves <palves@redhat.com>
8733 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8734 (top level): Test that output related to execution commands is
8735 sent to the console with CLI commands, but not with MI commands.
8736 Test that breakpoint events are always mirrored to the console.
8737 Also expect the new source line to be output after a "next" in
8738 async mode too. Make it a pass/fail test.
8739 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8741 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8743 2014-05-21 Pedro Alves <palves@redhat.com>
8745 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8746 Use them to test variations of "list" after reaching a breakpoint.
8747 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8748 Test "list" with listsize 10 after reaching a breakpoint.
8749 * gdb.python/python.exp (decode_line current location line
8750 number): Adjust expected line number.
8752 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8754 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8755 behavior for $args, pass it directly to "run".
8757 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8759 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8762 2014-05-21 Pedro Alves <palves@redhat.com>
8764 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8765 auto-connect-native-target off".
8766 * gdb.base/auto-connect-native-target.c: New file.
8767 * gdb.base/auto-connect-native-target.exp: New file.
8769 2014-05-21 Pedro Alves <palves@redhat.com>
8771 * gdb.base/default.exp: Test "target native" instead of "target
8774 2014-05-21 Mark Wielaard <mjw@redhat.com>
8776 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8778 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8780 Fix TLS access for -static -pthread.
8781 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8782 <HAVE_TLS> (thread_function, main): Initialize it.
8783 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8785 <$have_tls != "">: Check TLSVAR.
8787 2014-05-21 Pedro Alves <palves@redhat.com>
8789 * gdb.base/dcache-line-read-error.c: New.
8790 * gdb.base/dcache-line-read-error.exp: New.
8792 2014-05-20 Pedro Alves <palves@redhat.com>
8794 * gdb.base/compare-sections.c: New file.
8795 * gdb.base/compare-sections.exp: New file.
8797 2014-05-20 Pedro Alves <palves@redhat.com>
8799 * gdb.base/break-idempotent.c: New file.
8800 * gdb.base/break-idempotent.exp: New file.
8802 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8804 * gdb.btrace/nohist.exp: New.
8806 2014-05-20 Yao Qi <yao@codesourcery.com>
8808 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8809 gdb.reverse directory and gdb_reverse_timeout exists in board
8811 * README: Document gdb_reverse_timeout.
8813 2014-05-20 Yao Qi <yao@codesourcery.com>
8815 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8816 'test_file_name'. Treat args as a string instead of a list.
8817 (gdb_init): Rename argument 'args' by 'test_file_name'.
8819 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8821 * gdb.arch/powerpc-power.exp: New file.
8822 * gdb.arch/powerpc-power.s: New file.
8824 2014-05-16 Doug Evans <dje@google.com>
8826 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8827 * gdb.base/completion.exp: Check that all expected files exist
8828 before doing file completion.
8830 2014-05-16 Doug Evans <dje@google.com>
8832 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8834 (do_syscall_tests_without_xml): Update.
8836 2014-05-16 Pedro Alves <palves@redhat.com>
8838 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8839 instead of "unknown output after running".
8841 2014-05-16 Yao Qi <yao@codesourcery.com>
8843 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8844 file1.txt from host at the end.
8845 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8847 2014-05-15 Doug Evans <dje@google.com>
8849 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8850 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8851 loading file. Add test for TU lookup.
8853 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8855 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8856 calling "-exec-arguments" or "set args" before running the
8859 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8861 * lib/mi-support.exp (mi_expect_stop): Expect message for
8862 inferiors that exit with non-zero exit code.
8864 2014-05-14 Yao Qi <yao@codesourcery.com>
8866 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8867 match absolute path on remote host.
8868 (test_file_list_exec_source_files): Remove "/" from the
8871 2014-05-14 Yao Qi <yao@codesourcery.com>
8873 * boards/local-remote-host-notty.exp (${board}_file): New
8876 2014-05-07 Kyle McMartin <kyle@redhat.com>
8878 Pushed by Joel Brobecker <brobecker@adacore.com>.
8879 * gdb.arch/aarch64-atomic-inst.c: New file.
8880 * gdb.arch/aarch64-atomic-inst.exp: New file.
8882 2014-05-07 Yao Qi <yao@codesourcery.com>
8884 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8885 in current context" too.
8887 2014-05-05 Keith Seitz <keiths@redhat.com>
8889 * gdb.linespec/ls-dollar.exp: Add test for linespec
8890 file:convenience_variable.
8892 2014-05-05 Yao Qi <yao@codesourcery.com>
8894 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8895 traceframes into tfile and ctf trace files. Read data from
8896 trace file and test collected data.
8897 (gdb_collect_locals_test): Likewise.
8898 (gdb_unavailable_registers_test): Likewise.
8899 (gdb_unavailable_floats): Likewise.
8900 (gdb_collect_globals_test): Likewise.
8901 (top-level): Append "ctf" to trace_file_targets if GDB
8904 2014-05-05 Yao Qi <yao@codesourcery.com>
8906 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8908 (gdb_collect_args_test_1): ... it. New proc.
8909 (gdb_collect_locals_test): Move some code to ...
8910 (gdb_collect_locals_test_1): ... it. New proc.
8911 (gdb_unavailable_registers_test): Move some code to ...
8912 (gdb_unavailable_registers_test_1): ... it. New proc.
8913 (gdb_unavailable_floats): Move some code to ...
8914 (gdb_unavailable_floats_1): ... it. New proc.
8916 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8918 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8919 probes to test for bitness recognition.
8920 * gdb.arch/amd64-stap-optional-prefix.exp
8921 (test_probe_value_without_reg): New procedure.
8922 Add code to test for different kinds of bitness.
8924 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8926 PR breakpoints/16889
8927 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8928 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8930 2014-05-01 Pedro Alves <palves@redhat.com>
8932 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8933 gdb_file_cmd if no file is specified.
8934 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8935 last_loaded_file to set the remote exec-file.
8937 2014-05-01 Pedro Alves <palves@redhat.com>
8939 * boards/local-remote-host.exp: New file.
8941 2014-05-01 Pedro Alves <palves@redhat.com>
8943 * boards/local-remote-host.exp: Rename to ...
8944 * boards/local-remote-host-notty.exp: ... this.
8946 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8948 * gdb.ada/dyn_arrayidx: New testcase.
8950 2014-04-26 Yao Qi <yao@codesourcery.com>
8952 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8953 and compute the length of function main. Save it in
8955 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8956 (top-level): Use gdb_compile to compile objects into
8957 executable and restart GDB. Remove invocation to
8958 prepare_for_testing.
8960 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8961 Pedro Alves <palves@redhat.com>
8964 * gdb.multi/multi-attach.c: New file.
8965 * gdb.multi/multi-attach.exp: New file.
8967 2014-04-25 Pedro Alves <palves@redhat.com>
8969 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8971 (top level): Test that "set remote conditional-breakpoints-packet
8972 off" works as intended.
8973 * gdb.base/dprintf.exp: Test that "set remote
8974 breakpoint-commands-packet off" works as intended.
8975 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8977 (top level): Call it.
8978 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8979 remote fast-tracepoints-packet off" works as intended.
8980 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8981 * lib/gdb.exp (gdb_is_target_remote): ... here.
8983 2014-04-24 David Blaikie <dblaikie@gmail.com>
8985 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8986 ensure clang would not discard them.
8987 * gdb.base/gdbvars.c: Ditto.
8988 * gdb.base/memattr.c: Ditto.
8989 * gdb.base/whatis.c: Ditto.
8990 * gdb.python/py-prettyprint.c: Ditto.
8991 * gdb.trace/actions.c: Ditto.
8992 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8993 ensure clang would not discard it.
8995 2014-04-24 David Blaikie <dblaikie@gmail.com>
8997 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8998 clang to emit the full definition of type required by the test
8999 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9001 2014-04-24 David Blaikie <dblaikie@gmail.com>
9003 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9004 coax Clang into emitting the definition of the type.
9005 * gdb.cp/pr10728-x.h (y): Ditto.
9006 * gdb.cp/pr10728-y.cc (y): Ditto.
9008 2014-04-24 David Blaikie <dblaikie@gmail.com>
9010 * gdb.base/label.exp: XFAIL label related tests under Clang.
9011 * gdb.cp/cplabel.exp: Ditto.
9012 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9013 under Clang those using labels.
9015 2014-04-25 Yao Qi <yao@codesourcery.com>
9017 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9019 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9020 partial_label and double_label.
9022 2014-04-24 David Blaikie <dblaikie@gmail.com>
9024 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9026 2014-04-24 David Blaikie <dblaikie@gmail.com>
9028 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9029 of the function to work across GCC and Clang.
9030 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9031 pointer types (const void ** const V void **).
9033 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9034 Walfred Tedeschi <walfred.tedeschi@intel.com>
9036 * Makefile.in (EXECUTABLES): Added i386-avx512.
9037 * gdb.arch/i386-avx512.c: New file.
9038 * gdb.arch/i386-avx512.exp: Likewise.
9040 2014-04-23 Keith Seitz <keiths@redhat.com>
9042 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9043 (mi_make_breakpoint_table): New procedure.
9044 (mi_create_breakpoint): Use mi_make_breakpoint
9045 and return the result.
9046 (mi_make_breakpoint): New procedure.
9047 (mi_build_kv_pairs): New procedure.
9049 * gdb.mi/mi-break.exp: Remove unused globals,
9050 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9051 All callers updated.
9052 * gdb.mi/mi-dprintf.exp: Use variable to track command
9054 Update all callers of mi_create_breakpoint and use
9055 mi_make_breakpoint_table.
9056 Remove any unused global variables.
9057 * gdb.mi/mi-nonstop.exp: Likewise.
9058 * gdb.mi/mi-nsintrall.exp: Likewise.
9059 * gdb.mi/mi-nsmoribund.exp: Likewise.
9060 * gdb.mi/mi-nsthrexec.exp: Likewise.
9061 * gdb.mi/mi-reverse.exp: Likewise.
9062 * gdb.mi/mi-simplerun.exp: Likewise.
9063 * gdb.mi/mi-stepn.exp: Likewise.
9064 * gdb.mi/mi-syn-frame.exp: Likewise.
9065 * gdb.mi/mi-until.exp: Likewise.
9066 * gdb.mi/mi-var-cp.exp: Likewise.
9067 * gdb.mi/mi-var-display.exp: Likewise.
9068 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9069 * gdb.mi/mi2-var-child.exp: Likewise.
9070 * gdb.mi/mi-vla-c99.exp: Likewise.
9071 * lib/mi-support.exp: Likewise.
9073 From Ian Lance Taylor <iant@cygnus.com>:
9074 * lib/gdb.exp (parse_args): New procedure.
9076 2014-04-23 Pedro Alves <palves@redhat.com>
9078 * gdb.base/break-unload-file.c: New file.
9079 * gdb.base/break-unload-file.exp: New file.
9080 * gdb.base/sym-file-lib.c (baz): New function.
9081 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9083 (load): Store the segment's mapped size.
9084 (unload): New function.
9085 (unload_shlib): New function.
9086 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9087 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9088 set a breakpoint at baz, and call it.
9089 * gdb.base/sym-file.exp: New tests for stale breakpoint
9092 2014-04-23 Pedro Alves <palves@redhat.com>
9094 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9095 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9096 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9097 * gdb.base/hbreak-unmapped.c: New file.
9098 * gdb.base/hbreak-unmapped.exp: New file.
9099 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9100 * lib/gdb.exp (gdb_is_target_remote): ... here.
9102 2014-04-22 Pedro Alves <palves@redhat.com>
9104 * gdb.base/consecutive-step-over.c: New file.
9105 * gdb.base/consecutive-step-over.exp: New file.
9107 2014-04-22 Pedro Alves <palves@redhat.com>
9109 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9110 instead of send_gdb/gdb_expect.
9112 2014-04-22 Yao Qi <yao@codesourcery.com>
9114 * lib/trace-support.exp (generate_tracefile): New procedure.
9115 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9117 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9118 if generate_tracefile returns 1.
9120 2014-04-18 Tom Tromey <palves@redhat.com>
9121 Pedro alves <tromey@redhat.com>
9124 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9125 with a backtrace limit.
9126 * gdb.python/py-frame-inline.exp: Test running to an inline
9127 function with a backtrace limit, and printing the newest frame.
9128 * gdb.python/py-frame-inline.c (main): Call f.
9130 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9132 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9134 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9136 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9137 Drop prefix from unsupported source file path.
9139 2014-04-17 Yao Qi <yao@codesourcery.com>
9141 * lib/gdb.exp (with_target_charset): New proc.
9142 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9143 with_target_charset.
9144 (test_print_strings): Likewise.
9145 (test_repeat_bytes): Likewise.
9146 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9149 2014-04-16 Keith Seitz <keiths@redhat.com>
9152 * gdb.dwarf2/corrupt.c: New file.
9153 * gdb.dwarf2/corrupt.exp: New file.
9155 2014-04-16 Keith Seitz <keiths@redhat.com>
9158 * gdb.cp/namelessclass.cc: New file.
9159 * gdb.cp/namelessclass.exp: New file.
9160 * gdb.cp/namelessclass.S: New file.
9162 2014-04-16 Doug Evans <dje@google.com>
9164 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9166 (gdbserver_default_get_comm_port): New function.
9167 (gdbserver_start): Check if board file provided
9168 "gdbserver,get_comm_port" and use it if so.
9169 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9170 (gdb,socketport): Set to "stdio".
9171 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9172 (stdio_gdbserver_template): Delete.
9173 (${board}_get_remote_address): Update.
9174 (${board}_build_remote_cmd): Delete.
9175 (${board}_get_comm_port): New function.
9176 (${board}_spawn): Update.
9177 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9179 (${board}_get_remote_address): Update.
9180 (${board}_get_comm_port): New function.
9182 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
9184 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9185 appearing in any order.
9187 2014-04-15 Doug Evans <dje@google.com>
9189 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9190 uninitialized value of "description".
9192 2014-04-15 Keith Seitz <keiths@redhat.com>
9194 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9195 Remove unused globals.
9196 (test_running_the_program): Likewise.
9197 (test_controlled_execution): Likewise.
9198 (test_controlling_breakpoints): Likewise.
9199 (test_program_termination): Likewise.
9201 2014-04-15 Keith Seitz <keiths@redhat.com>
9203 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9205 (test_rbreak_creation_and_listing): Likewise.
9206 (test_ignore_count): Likewise.
9207 (test_error): Likewise.
9209 2014-04-15 Pedro Alves <palves@redhat.com>
9211 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9212 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9214 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9215 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9216 to sym-file-loader.c.
9217 (struct library): Forward declare.
9218 (load_shlib, lookup_function): Change prototypes.
9219 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9220 (translate_offset): Remove declarations.
9221 (get_text_addr): New declaration.
9222 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9223 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9225 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9226 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9227 here from sym-file-loader.h.
9228 (struct library): New structure.
9229 (load_shlib, lookup_function): Change prototypes and adjust to
9230 work with a struct library.
9231 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9232 (translate_offset): Make static.
9233 (get_text_addr): New function.
9234 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9236 2014-04-15 Pedro Alves <palves@redhat.com>
9238 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9240 2014-04-15 Pedro Alves <palves@redhat.com>
9242 * gdb.base/sym-file-loader.c: Include <limits.h>.
9243 (SELF_LINK): New define.
9244 (get_origin): New function.
9245 (load_shlib): Use it.
9246 * gdb.base/sym-file.exp: Don't early return if the target is
9247 remote. Use runto_main, and issue fail is that fails. Use
9249 (shlib_name): Delete.
9250 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9252 2014-04-15 Pedro Alves <palves@redhat.com>
9254 * gdb.base/sym-file.exp: Remove regex characters from test
9255 message. Don't refer to breakpoint numbers in test messages.
9257 2014-04-14 Keith Seitz <keiths@redhat.com>
9260 * gdb.cp/var-tag.cc: New file.
9261 * gdb.cp/var-tag.exp: New file.
9262 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9263 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9264 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9265 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9267 2014-04-14 Tom Tromey <tromey@redhat.com>
9269 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9270 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9272 * gdb.cp/enum-class.exp: New file.
9273 * gdb.cp/enum-class.cc: New file.
9275 2014-04-14 Tom Tromey <tromey@redhat.com>
9277 * gdb.dwarf2/enum-type.exp: New file.
9279 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9281 * gdb.mi/mi-vla-c99.exp: New file.
9282 * gdb.mi/vla.c: New file.
9284 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9286 * gdb.base/vla-datatypes.c: New file.
9287 * gdb.base/vla-datatypes.exp: New file.
9289 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9291 * gdb.base/vla-ptr.c: New file.
9292 * gdb.base/vla-ptr.exp: New file.
9294 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9296 * gdb.dwarf2/count.exp: New file.
9298 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9300 * gdb.base/vla-sideeffect.c: New file.
9301 * gdb.base/vla-sideeffect.exp: New file.
9303 2014-04-14 David Blaikie <dblaikie@gmail.com>
9305 * gdb.mi/non-stop.c: Add return value for non-void function return
9307 * gdb.threads/staticthreads.c: Ditto.
9309 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9310 Doug Evans <xdje42@gmail.com>
9312 * gdb.guile/scm-value.c: Improve test case.
9313 * gdb.guile/scm-value.exp: Add new test.
9315 2014-04-11 David Blaikie <dblaikie@gmail.com>
9317 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9318 override Clang's default.
9320 2014-04-11 Joel Brobecker <brobecker@adacore.com>
9322 Revert the following changes (regressions):
9324 * gdb.base/vla-sideeffect.c: New file.
9325 * gdb.base/vla-sideeffect.exp: New file.
9327 * gdb.dwarf2/count.exp: New file.
9329 * gdb.base/vla-multi.c: New file.
9330 * gdb.base/vla-multi.exp: New file.
9332 * gdb.base/vla-ptr.c: New file.
9333 * gdb.base/vla-ptr.exp: New file.
9335 * gdb.base/vla-datatypes.c: New file.
9336 * gdb.base/vla-datatypes.exp: New file.
9338 * gdb.mi/mi-vla-c99.exp: New file.
9339 * gdb.mi/vla.c: New file.
9341 2014-04-11 Keith Seitz <keiths@redhat.com>
9344 * gdb.cp/cpsizeof.exp: New file.
9345 * gdb.cp/cpsizeof.cc: New file.
9347 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9349 * gdb.mi/mi-vla-c99.exp: New file.
9350 * gdb.mi/vla.c: New file.
9352 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9354 * gdb.base/vla-datatypes.c: New file.
9355 * gdb.base/vla-datatypes.exp: New file.
9357 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9359 * gdb.base/vla-ptr.c: New file.
9360 * gdb.base/vla-ptr.exp: New file.
9362 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9364 * gdb.base/vla-multi.c: New file.
9365 * gdb.base/vla-multi.exp: New file.
9367 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9369 * gdb.dwarf2/count.exp: New file.
9371 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9373 * gdb.base/vla-sideeffect.c: New file.
9374 * gdb.base/vla-sideeffect.exp: New file.
9376 2014-04-11 Yao Qi <yao@codesourcery.com>
9378 * gdb.base/completion.exp: Check file exists before running tests
9381 2014-04-10 Pedro Alves <palves@redhat.com>
9383 * gdb.base/cond-eval-mode.c: New file.
9384 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9385 prepare_for_testing to build the new file. Check result of
9387 (test_break, test_watch): New procedures.
9388 (top level): Use them.
9390 2014-04-08 Pierre Muller <muller@sourceware.org>
9392 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9393 Ctrl-V use for mingw hosts.
9395 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9397 * gdb.python/py-value.c: Improve test case.
9398 * gdb.python/py-value.exp: Add new test.
9400 2014-04-07 David Blaikie <dblaikie@gmail.com>
9402 * lib/compiler.c: Identify the clang compiler.
9403 * lib/compiler.cc: Ditto.
9405 2014-04-03 Yao Qi <yao@codesourcery.com>
9407 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9409 2014-04-01 Anton Blanchard <anton@samba.org>
9411 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9414 2014-04-01 Anton Blanchard <anton@samba.org>
9416 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9417 prepare_for_testing.
9419 2014-04-01 Anton Blanchard <anton@samba.org>
9421 * gdb.arch/ppc64-atomic-inst.c: Remove.
9422 * gdb.arch/ppc64-atomic-inst.S: New file.
9423 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9425 2014-03-31 Doug Evans <dje@google.com>
9427 * gdb.base/print-symbol-loading-lib.c: New file.
9428 * gdb.base/print-symbol-loading-main.c: New file.
9429 * gdb.base/print-symbol-loading.exp: New file.
9431 2014-03-31 Yao Qi <yao@codesourcery.com>
9433 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9435 2014-03-28 Joel Brobecker <brobecker@adacore.com>
9437 * gdb.ada/mi_dyn_arr: New testcase.
9439 2014-03-27 Doug Evans <dje@google.com>
9441 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9443 2014-03-27 Yao Qi <yao@codesourcery.com>
9445 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9446 if target is nios2-*-*.
9448 2014-03-26 Yao Qi <yao@codesourcery.com>
9450 * lib/gdb.exp (readline_is_used): New proc.
9451 * gdb.base/completion.exp: Move tests on command complete up.
9452 Skip the rest of tests if readline is not used.
9453 * gdb.ada/complete.exp: Skp the test if readline is not
9455 * gdb.base/filesym.exp: Likewise.
9456 * gdb.base/macscp.exp: Likewise.
9457 * gdb.base/readline-ask.exp: Likewise.
9458 * gdb.base/readline.exp: Likewise.
9459 * gdb.python/py-cmd.exp: Likewise.
9460 * gdb.trace/tfile.exp: Likewise.
9462 2014-03-26 Yao Qi <yao@codesourcery.com>
9464 * gdb.base/macscp.exp: Fix code format issues.
9466 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9468 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9469 * gdb.asm/powerpc64le.inc: New file.
9471 2014-03-25 Pedro Alves <palves@redhat.com>
9472 Doug Evans <dje@google.com>
9474 * gdb.base/source-execution.c: New file.
9475 * gdb.base/source-execution.exp: New file.
9476 * gdb.base/source-execution.gdb: New file.
9478 2014-03-24 Doug Evans <dje@google.com>
9480 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9483 2014-03-24 Hui Zhu <hui@codesourcery.com>
9484 Pedro Alves <palves@redhat.com>
9486 PR breakpoints/16101
9487 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9488 test pass/fail messages. Detect missing support for dprintf when
9489 breakpoints are actually inserted.
9490 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9491 breakpoints are actually inserted.
9492 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9495 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9497 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9499 2014-03-22 Doug Evans <xdje42@gmail.com>
9501 * gdb.python/python.exp (python not supported): Verify multi-line
9502 python command issues an error.
9503 * gdb.guile/guile.exp (guile not supported): Verify multi-line
9504 guile command issues an error.
9506 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9508 * gdb.threads/thread-specific.exp: Handle the lack of usable
9509 $this_breakpoint and $this_thread.
9511 2014-03-21 Hui Zhu <hui@codesourcery.com>
9513 * gdb.base/attach.exp (do_command_attach_tests): New.
9515 2014-03-20 Tom Tromey <tromey@redhat.com>
9516 Pedro Alves <palves@redhat.com>
9519 * gdb.base/condbreak-call-false.c: New file.
9520 * gdb.base/condbreak-call-false.exp: New file.
9522 2014-03-20 Pedro Alves <palves@redhat.com>
9524 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9526 (block_signals, unblock_signals): Delete.
9527 (child_function_2, main): Remove references to deleted variable
9530 2014-03-20 Pedro Alves <palves@redhat.com>
9532 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9533 Use pthread_kill to signal thread 2.
9534 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9535 Adjust to make the test send itself a signal rather than using the
9536 host's "kill" command.
9538 2014-03-20 Pedro Alves <palves@redhat.com>
9540 * gdb.threads/multiple-step-overs.c: New file.
9541 * gdb.threads/multiple-step-overs.exp: New file.
9542 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9543 Adjust expected infrun debug output.
9545 2014-03-20 Pedro Alves <palves@redhat.com>
9547 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9548 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9550 2014-03-20 Pedro Alves <palves@redhat.com>
9553 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9554 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9555 of gdb_test_multiple.
9556 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9557 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9559 2014-03-20 Pedro Alves <palves@redhat.com>
9561 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9562 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9564 2014-03-19 Pedro Alves <palves@redhat.com>
9566 * gdb.base/async.exp: Remove early return.
9568 2014-03-19 Pedro Alves <palves@redhat.com>
9570 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9572 2014-03-19 Pedro Alves <palves@redhat.com>
9574 * gdb.base/async.exp (test_background): Expect \r\n after
9575 "completed." in the fail pattern.
9577 2014-03-19 Pedro Alves <palves@redhat.com>
9579 * gdb.base/async.exp (test_background): New procedure.
9580 Use it for all background execution command tests.
9582 2014-03-19 Pedro Alves <palves@redhat.com>
9584 * gdb.base/async.exp: Use prepare_for_testing.
9586 2014-03-19 Pedro Alves <palves@redhat.com>
9588 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9591 2014-03-19 Pedro Alves <palves@redhat.com>
9593 * gdb.base/async.c (main): Add "jump here" and "until here" line
9595 * gdb.base/async.exp (jump_here): New global.
9596 (jump& test): Use it.
9597 (until_here): New global.
9598 (until& test): Use it.
9600 2014-03-19 Pedro Alves <palves@redhat.com>
9602 * gdb.base/async.exp: Don't frob gdb_protocol.
9604 2014-03-18 Doug Evans <xdje42@gmail.com>
9606 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9607 Fix spelling of exec-done-display.
9609 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9612 * gdb.base/gdb-sigterm.c: New file.
9613 * gdb.base/gdb-sigterm.exp: New file.
9615 2014-03-18 Pedro Alves <palves@redhat.com>
9618 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9619 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9622 2014-03-17 Joel Brobecker <brobecker@adacore.com>
9624 * gdb.ada/pckd_arr_ren: New testcase.
9626 2014-03-13 Doug Evans <xdje42@gmail.com>
9629 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9630 collect after discarding symbols.
9632 2014-03-13 Ludovic Courtès <ludo@gnu.org>
9633 Doug Evans <xdje42@gmail.com>
9635 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9636 to history survives a gc.
9638 2014-03-13 Pedro Alves <palves@redhat.com>
9640 * gdb.base/default.exp: Don't test "target procfs".
9642 2014-03-13 Pedro Alves <palves@redhat.com>
9644 * gdb.base/default.exp: Update "target child" and "target procfs"
9645 tests to not expect "Unix".
9647 2014-03-12 Tom Tromey <tromey@redhat.com>
9649 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9650 New procs. Add target-async tests.
9651 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9652 Add target-async tests.
9654 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9656 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9657 'func_start' and 'func_end' for the beginning and end of the
9658 function code, respectively.
9659 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9660 'func_end' instead of 'func' and 'main'.
9662 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9664 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9665 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9666 generate the debug info assembler source.
9668 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9670 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9671 * gdb.dwarf2/arr-subrange.exp: Likewise.
9672 * gdb.dwarf2/dwz.exp: Likewise.
9673 * gdb.dwarf2/method-ptr.exp: Likewise.
9674 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9675 * gdb.dwarf2/subrange.exp: Likewise.
9676 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9677 * gdb.dwarf2/implptrpiece.exp: Likewise.
9678 * gdb.dwarf2/nostaticblock.exp: Likewise.
9680 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9682 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9683 directory to absolute path name arguments.
9685 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9687 * gdb.ada/tagged_access: New testcase.
9689 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9691 * gdb.btrace/data.exp: Update expected output.
9693 2014-03-06 Yao Qi <yao@codesourcery.com>
9695 * gdb.trace/pr16508.exp: New file.
9697 2014-03-05 Pedro Alves <palves@redhat.com>
9700 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9702 (top level): Adjust to use it. Add tests that exercise breakpoint
9703 interaction with the code-cache.
9705 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9707 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9708 test for 'history-append!'.
9710 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9712 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9713 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9714 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9715 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9716 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9717 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9719 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9721 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9722 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9723 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9725 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9727 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9729 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9731 * gdb.dwarf2/arr-stride.c: New file.
9732 * gdb.dwarf2/arr-stride.exp: New file.
9734 2014-02-26 Pedro Alves <palves@redhat.com>
9736 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9737 that won't ever trigger. Make sure that GDB reports the correct
9738 breakpoint that caused the stop.
9740 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9743 * gdb.base/auto-load-script: New file.
9744 * gdb.base/auto-load.c: New file.
9745 * gdb.base/auto-load.exp: New file.
9748 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9750 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9752 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9753 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9755 2014-02-24 Doug Evans <dje@google.com>
9757 * lib/gdb.exp (run_on_host): Log error output if program fails.
9759 2014-02-21 Pedro Alves <palves@redhat.com>
9761 * gdb.threads/step-after-sr-lock.c: Rename to ...
9762 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9763 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9764 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9767 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9770 * gdb.arch/amd64-stap-special-operands.exp: New file.
9771 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9772 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9773 * gdb.arch/amd64-stap-triplet.S: Likewise.
9774 * gdb.arch/amd64-stap-triplet.c: Likewise.
9776 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9778 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9779 in .section pseudo-op.
9781 2014-02-20 lin zuojian <manjian2006@gmail.com>
9782 Joel Brobecker <brobecker@adacore.com>
9783 Doug Evans <xdje42@gmail.com>
9786 * gdb.dwarf2/dw2-icycle.S: New file.
9787 * gdb.dwarf2/dw2-icycle.c: New file.
9788 * gdb.dwarf2/dw2-icycle.exp: New file.
9790 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9792 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9793 operations on gdb.Value objects.
9794 * gdb.python/py-value-cc.exp: Add new test to test operations on
9797 2014-02-18 Doug Evans <dje@google.com>
9799 * Makefile.in (TESTS): New variable.
9800 (expanded_tests, expanded_tests_or_none): New variables
9801 (check-single): Pass $(expanded_tests_or_none) to runtest.
9802 (check-parallel): Only run tests in $(TESTS) if non-empty.
9803 (check/no-matching-tests-found): New rule.
9804 * README: Document TESTS makefile variable.
9806 2014-02-18 Doug Evans <dje@google.com>
9808 * Makefile.in (check-parallel): rm -rf outputs temp.
9810 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9812 Fix "ERROR: no fileid for" in the testsuite.
9813 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9815 2014-02-12 Doug Evans <dje@google.com>
9817 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9818 (MISCELLANEOUS): New variable.
9819 (clean): rm -rf $(MISCELLANEOUS).
9820 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9821 dwp live in the same directory as symlinks, with each symlink pointed
9822 to a differently named file in a different directory.
9824 2014-02-11 Doug Evans <dje@google.com>
9826 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9827 of Tcl file commands.
9829 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9831 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9834 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9836 * gdb.ada/tick_length_array_enum_idx: New testcase.
9838 2014-02-10 Doug Evans <xdje42@gmail.com>
9840 * configure.ac (AC_OUTPUT): Add gdb.guile.
9841 * configure: Regenerate.
9842 * lib/gdb-guile.exp: New file.
9843 * lib/gdb.exp (get_target_charset): New function.
9844 * gdb.base/help.exp: Update expected output from "apropos apropos".
9845 * gdb.guile/Makefile.in: New file.
9846 * gdb.guile/guile.exp: New file.
9847 * gdb.guile/scm-arch.c: New file.
9848 * gdb.guile/scm-arch.exp: New file.
9849 * gdb.guile/scm-block.c: New file.
9850 * gdb.guile/scm-block.exp: New file.
9851 * gdb.guile/scm-breakpoint.c: New file.
9852 * gdb.guile/scm-breakpoint.exp: New file.
9853 * gdb.guile/scm-disasm.c: New file.
9854 * gdb.guile/scm-disasm.exp: New file.
9855 * gdb.guile/scm-equal.c: New file.
9856 * gdb.guile/scm-equal.exp: New file.
9857 * gdb.guile/scm-error.exp: New file.
9858 * gdb.guile/scm-error.scm: New file.
9859 * gdb.guile/scm-frame-args.c: New file.
9860 * gdb.guile/scm-frame-args.exp: New file.
9861 * gdb.guile/scm-frame-args.scm: New file.
9862 * gdb.guile/scm-frame-inline.c: New file.
9863 * gdb.guile/scm-frame-inline.exp: New file.
9864 * gdb.guile/scm-frame.c: New file.
9865 * gdb.guile/scm-frame.exp: New file.
9866 * gdb.guile/scm-generics.exp: New file.
9867 * gdb.guile/scm-gsmob.exp: New file.
9868 * gdb.guile/scm-iterator.c: New file.
9869 * gdb.guile/scm-iterator.exp: New file.
9870 * gdb.guile/scm-math.c: New file.
9871 * gdb.guile/scm-math.exp: New file.
9872 * gdb.guile/scm-objfile-script-gdb.in: New file.
9873 * gdb.guile/scm-objfile-script.c: New file.
9874 * gdb.guile/scm-objfile-script.exp: New file.
9875 * gdb.guile/scm-objfile.c: New file.
9876 * gdb.guile/scm-objfile.exp: New file.
9877 * gdb.guile/scm-ports.exp: New file.
9878 * gdb.guile/scm-pretty-print.c: New file.
9879 * gdb.guile/scm-pretty-print.exp: New file.
9880 * gdb.guile/scm-pretty-print.scm: New file.
9881 * gdb.guile/scm-section-script.c: New file.
9882 * gdb.guile/scm-section-script.exp: New file.
9883 * gdb.guile/scm-section-script.scm: New file.
9884 * gdb.guile/scm-symbol.c: New file.
9885 * gdb.guile/scm-symbol.exp: New file.
9886 * gdb.guile/scm-symtab-2.c: New file.
9887 * gdb.guile/scm-symtab.c: New file.
9888 * gdb.guile/scm-symtab.exp: New file.
9889 * gdb.guile/scm-type.c: New file.
9890 * gdb.guile/scm-type.exp: New file.
9891 * gdb.guile/scm-value-cc.cc: New file.
9892 * gdb.guile/scm-value-cc.exp: New file.
9893 * gdb.guile/scm-value.c: New file.
9894 * gdb.guile/scm-value.exp: New file.
9895 * gdb.guile/source2.scm: New file.
9896 * gdb.guile/types-module.cc: New file.
9897 * gdb.guile/types-module.exp: New file.
9899 2014-02-10 Yao Qi <yao@codesourcery.com>
9902 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9903 * configure: Regenerated.
9904 * Makefile.in: New file.
9906 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9908 * gdb.python/py-framefilter.exp: Fix typo.
9910 2014-02-08 Yao Qi <yao@codesourcery.com>
9912 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9913 that no =breakpoint-modified is emitted when breakpoints are
9914 modified through MI commands.
9916 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9917 Pedro Alves <palves@redhat.com>
9919 * gdb.threads/step-after-sr-lock.c: New file.
9920 * gdb.threads/step-after-sr-lock.exp: New file.
9922 2014-02-07 Pedro Alves <palves@redhat.com>
9924 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9926 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9928 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9929 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9931 2014-02-06 Doug Evans <xdje42@gmail.com>
9933 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9936 * gdb.gdb/python-interrupts.exp: New file.
9938 2014-02-05 Yao Qi <yao@codesourcery.com>
9940 * gdb.trace/report.exp (use_collected_data): Test the output
9941 of "info threads" and "info inferiors".
9943 2014-02-05 Yao Qi <yao@codesourcery.com>
9947 2013-05-24 Yao Qi <yao@codesourcery.com>
9949 * gdb.trace/tfile.exp: Test inferior and thread.
9951 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9953 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9955 * gdb.base/step-bt.c: Call hello via function pointer to make
9956 sure its first instruction is executed on powerpc64le-linux.
9958 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9960 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9962 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9964 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9965 of the test patterns for use on little-endian systems.
9967 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9969 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9970 (decimal_vector): Fix for little-endian.
9972 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9974 * gdb.arch/sparc-sysstep.exp: New file.
9975 * gdb.arch/sparc-sysstep.c: Likewise.
9977 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9979 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9981 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9983 2014-01-23 Tom Tromey <tromey@redhat.com>
9985 * gdb.ada/array_char_idx: New testcase.
9987 2014-01-23 Tom Tromey <tromey@redhat.com>
9990 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9991 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9994 2014-01-23 Tom Tromey <tromey@redhat.com>
9997 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9998 string from an inferior frame.
9999 * gdb.python/py-framefilter-mi.exp: Update.
10001 2014-01-22 Doug Evans <dje@google.com>
10003 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10005 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10007 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10009 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10011 * gdb.trace/entry-values.exp: Remove excess space character from
10012 regex patterns. Handle s390 call instruction.
10014 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10016 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10017 define "*_start" label. Make "name" static.
10018 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10019 ${name} by references to ${name}_start.
10021 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10023 * gdb.base/info-macros.exp: Remove "debug" from the compile
10026 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10028 * gdb.dlang/demangle.exp: New file.
10030 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10032 * gdb.dlang/primitive-types.exp: New file.
10034 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10036 * configure.ac: Create gdb.dlang/Makefile.
10037 * configure: Regenerate.
10038 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10039 * gdb.dlang/Makefile.in: New file.
10040 * lib/d-support.exp: New file.
10041 * lib/gdb.exp (skip_d_tests): New proc.
10043 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10045 * gdb.btrace/delta.exp: Check reverse stepi.
10046 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10047 * gdb.btrace/finish.exp: New.
10048 * gdb.btrace/next.exp: New.
10049 * gdb.btrace/nexti.exp: New.
10050 * gdb.btrace/record_goto.c: Add comments.
10051 * gdb.btrace/step.exp: New.
10052 * gdb.btrace/stepi.exp: New.
10053 * gdb.btrace/multi-thread-step.c: New.
10054 * gdb.btrace/multi-thread-step.exp: New.
10055 * gdb.btrace/rn-dl-bind.c: New.
10056 * gdb.btrace/rn-dl-bind.exp: New.
10057 * gdb.btrace/data.c: New.
10058 * gdb.btrace/data.exp: New.
10059 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10061 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10063 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10064 * gdb.btrace/exception.exp: Update.
10065 * gdb.btrace/instruction_history.exp: Update.
10066 * gdb.btrace/record_goto.exp: Update.
10067 * gdb.btrace/tailcall.exp: Update.
10068 * gdb.btrace/unknown_functions.exp: Update.
10069 * gdb.btrace/delta.exp: New.
10071 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10073 * gdb.btrace/record_goto.exp: Add backtrace test.
10074 * gdb.btrace/tailcall.exp: Add backtrace test.
10076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10078 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10079 * gdb.btrace/record_goto.c: New.
10080 * gdb.btrace/record_goto.exp: New.
10081 * gdb.btrace/x86-record_goto.S: New.
10083 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10085 * gdb.btrace/function_call_history.exp: Update tests.
10086 * gdb.btrace/instruction_history.exp: Update tests.
10088 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10090 * gdb.btrace/function_call_history.exp: Fix expected field
10091 order for "record function-call-history".
10092 Add new tests for "record function-call-history /c".
10093 * gdb.btrace/exception.cc: New.
10094 * gdb.btrace/exception.exp: New.
10095 * gdb.btrace/tailcall.exp: New.
10096 * gdb.btrace/x86-tailcall.S: New.
10097 * gdb.btrace/x86-tailcall.c: New.
10098 * gdb.btrace/unknown_functions.c: New.
10099 * gdb.btrace/unknown_functions.exp: New.
10100 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10102 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10104 * gdb.btrace/instruction_history.exp: Update.
10105 * gdb.btrace/function_call_history.exp: Update.
10107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10109 * gdb.btrace/function_call_history.exp: Fix expected function
10111 * gdb.btrace/instruction_history.exp: Initialize traced.
10112 Remove traced_functions.
10114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10116 * gdb.btrace/function_call_history.exp: Update
10117 * gdb.btrace/instruction_history.exp: Update.
10119 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10121 * gdb.btrace/enable.exp: Update expected text.
10123 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10125 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10128 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10130 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10132 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10134 * lib/gdb.exp (supports_process_record): Return true for
10135 arm*-linux*. (supports_reverse): Likewise.
10137 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10141 * gdb.python/py-type.c: Enhance test case.
10142 * gdb.python/py-value-cc.cc: Likewise
10143 * gdb.python/py-type.exp: Add new tests.
10144 * gdb.python/py-value-cc.exp: Likewise
10146 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10147 Pedro Alves <palves@redhat.com>
10149 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10150 Make "name" extern.
10151 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10152 references to ${name}_start by references to ${name}.
10154 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10156 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10158 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10160 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10162 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10163 Pedro Alves <palves@redhat.com>
10165 * gdb.mi/mi-info-os.exp: Connect to the target with
10166 mi_gdb_target_load.
10168 2014-01-08 Pedro Alves <palves@redhat.com>
10170 * gdb.threads/reconnect-signal.c: New file.
10171 * gdb.threads/reconnect-signal.exp: New file.
10173 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10175 * gdb.base/source-dir.exp: New file.
10177 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10179 * gdb.ada/mi_interface: New testcase.
10181 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10183 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10184 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10185 gdb.ada/pp-rec-component/pck.ads: New files.
10187 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10189 * gdb.python/py-pp-integral.c: New file.
10190 * gdb.python/py-pp-integral.py: New file.
10191 * gdb.python/py-pp-integral.exp: New file.
10193 For older changes see ChangeLog-1993-2013.
10195 ;; Local Variables:
10196 ;; mode: change-log
10199 ;; version-control: never
10202 Copyright 2014-2016 Free Software Foundation, Inc.
10203 Copying and distribution of this file, with or without modification,
10204 are permitted provided the copyright notice and this notice are preserved.