1 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5 Remove useless pattern-matching code.
7 2016-12-02 Pedro Alves <palves@redhat.com>
9 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13 2016-12-02 Pedro Alves <palves@redhat.com>
15 * gdb.base/commands.exp (user_defined_command_args_stack_test):
19 2016-12-02 Pedro Alves <palves@redhat.com>
22 * gdb.base/commands.exp (user_defined_command_args_eval): New
26 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
28 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
31 2016-12-02 Tom Tromey <tom@tromey.com>
33 * gdb.dwarf2/main-subprogram.c: New file.
34 * gdb.dwarf2/main-subprogram.exp: New file.
36 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
38 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
39 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
40 gdb_test_no_output for a couple of cases.
41 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
43 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
45 Fix test names and standardize compilation error messages throughout
49 * gdb.arch/alpha-step.exp
50 * gdb.arch/e500-prologue.exp
51 * gdb.arch/ftrace-insn-reloc.exp
52 * gdb.arch/gdb1291.exp
53 * gdb.arch/gdb1431.exp
54 * gdb.arch/gdb1558.exp
55 * gdb.arch/i386-dr3-watch.exp
56 * gdb.arch/i386-sse-stack-align.exp
57 * gdb.arch/ia64-breakpoint-shadow.exp
58 * gdb.arch/pa-nullify.exp
59 * gdb.arch/powerpc-aix-prologue.exp
60 * gdb.arch/thumb-bx-pc.exp
61 * gdb.base/annota1.exp
62 * gdb.base/annota3.exp
63 * gdb.base/arrayidx.exp
68 * gdb.base/bfp-test.exp
69 * gdb.base/bigcore.exp
70 * gdb.base/bitfields2.exp
71 * gdb.base/break-fun-addr.exp
72 * gdb.base/break-probes.exp
73 * gdb.base/call-rt-st.exp
74 * gdb.base/callexit.exp
75 * gdb.base/catch-fork-kill.exp
76 * gdb.base/charset.exp
77 * gdb.base/checkpoint.exp
78 * gdb.base/comprdebug.exp
79 * gdb.base/constvars.exp
80 * gdb.base/coredump-filter.exp
84 * gdb.base/display.exp
86 * gdb.base/dprintf-pending.exp
87 * gdb.base/dso2dso.exp
88 * gdb.base/dtrace-probe.exp
90 * gdb.base/enum_cond.exp
91 * gdb.base/exe-lock.exp
92 * gdb.base/exec-invalid-sysroot.exp
93 * gdb.base/execl-update-breakpoints.exp
98 * gdb.base/fixsection.exp
99 * gdb.base/foll-vfork.exp
100 * gdb.base/frame-args.exp
102 * gdb.base/gdb1250.exp
103 * gdb.base/global-var-nested-by-dso.exp
104 * gdb.base/gnu-ifunc.exp
105 * gdb.base/hashline1.exp
106 * gdb.base/hashline2.exp
107 * gdb.base/hashline3.exp
108 * gdb.base/hbreak-in-shr-unsupported.exp
110 * gdb.base/infcall-input.exp
111 * gdb.base/info-fun.exp
112 * gdb.base/info-shared.exp
113 * gdb.base/jit-simple.exp
114 * gdb.base/jit-so.exp
118 * gdb.base/lineinc.exp
119 * gdb.base/logical.exp
120 * gdb.base/longjmp.exp
121 * gdb.base/macscp.exp
122 * gdb.base/miscexprs.exp
123 * gdb.base/new-ui-echo.exp
124 * gdb.base/new-ui-pending-input.exp
125 * gdb.base/new-ui.exp
126 * gdb.base/nodebug.exp
127 * gdb.base/nofield.exp
128 * gdb.base/offsets.exp
129 * gdb.base/overlays.exp
130 * gdb.base/pending.exp
131 * gdb.base/pointers.exp
132 * gdb.base/pr11022.exp
133 * gdb.base/printcmds.exp
134 * gdb.base/prologue.exp
135 * gdb.base/ptr-typedef.exp
136 * gdb.base/realname-expand.exp
137 * gdb.base/relativedebug.exp
138 * gdb.base/relocate.exp
139 * gdb.base/remote.exp
140 * gdb.base/reread.exp
141 * gdb.base/return2.exp
142 * gdb.base/savedregs.exp
144 * gdb.base/sepdebug.exp
145 * gdb.base/sepsymtab.exp
146 * gdb.base/set-inferior-tty.exp
147 * gdb.base/setshow.exp
148 * gdb.base/shlib-call.exp
149 * gdb.base/sigaltstack.exp
150 * gdb.base/siginfo-addr.exp
151 * gdb.base/signals.exp
152 * gdb.base/signull.exp
153 * gdb.base/sigrepeat.exp
154 * gdb.base/so-impl-ld.exp
155 * gdb.base/solib-display.exp
156 * gdb.base/solib-overlap.exp
157 * gdb.base/solib-search.exp
158 * gdb.base/solib-symbol.exp
159 * gdb.base/structs.exp
160 * gdb.base/structs2.exp
161 * gdb.base/symtab-search-order.exp
163 * gdb.base/unload.exp
164 * gdb.base/varargs.exp
165 * gdb.base/watchpoint-solib.exp
166 * gdb.base/watchpoint.exp
167 * gdb.base/whatis.exp
168 * gdb.base/wrong_frame_bt_full.exp
169 * gdb.btrace/dlopen.exp
170 * gdb.cell/ea-standalone.exp
171 * gdb.cell/ea-test.exp
175 * gdb.cp/nextoverthrow.exp
177 * gdb.disasm/am33.exp
178 * gdb.disasm/h8300s.exp
179 * gdb.disasm/mn10300.exp
181 * gdb.dwarf2/dw2-dir-file-name.exp
182 * gdb.fortran/complex.exp
183 * gdb.fortran/library-module.exp
184 * gdb.guile/scm-pretty-print.exp
185 * gdb.guile/scm-symbol.exp
186 * gdb.guile/scm-type.exp
187 * gdb.guile/scm-value.exp
188 * gdb.linespec/linespec.exp
191 * gdb.mi/mi-breakpoint-changed.exp
192 * gdb.mi/mi-dprintf-pending.exp
193 * gdb.mi/mi-dprintf.exp
194 * gdb.mi/mi-exit-code.exp
195 * gdb.mi/mi-pending.exp
196 * gdb.mi/mi-solib.exp
197 * gdb.mi/new-ui-mi-sync.exp
199 * gdb.mi/user-selected-context-sync.exp
200 * gdb.opt/solib-intra-step.exp
201 * gdb.python/py-events.exp
202 * gdb.python/py-finish-breakpoint.exp
203 * gdb.python/py-mi.exp
204 * gdb.python/py-prettyprint.exp
205 * gdb.python/py-shared.exp
206 * gdb.python/py-symbol.exp
207 * gdb.python/py-template.exp
208 * gdb.python/py-type.exp
209 * gdb.python/py-value.exp
210 * gdb.reverse/solib-precsave.exp
211 * gdb.reverse/solib-reverse.exp
212 * gdb.server/solib-list.exp
213 * gdb.stabs/weird.exp
214 * gdb.threads/reconnect-signal.exp
215 * gdb.threads/stepi-random-signal.exp
216 * gdb.trace/actions.exp
218 * gdb.trace/backtrace.exp
219 * gdb.trace/change-loc.exp
220 * gdb.trace/deltrace.exp
221 * gdb.trace/ftrace-lock.exp
222 * gdb.trace/ftrace.exp
223 * gdb.trace/infotrace.exp
224 * gdb.trace/mi-tracepoint-changed.exp
225 * gdb.trace/packetlen.exp
226 * gdb.trace/passcount.exp
227 * gdb.trace/pending.exp
228 * gdb.trace/range-stepping.exp
229 * gdb.trace/report.exp
230 * gdb.trace/stap-trace.exp
231 * gdb.trace/tfind.exp
232 * gdb.trace/trace-break.exp
233 * gdb.trace/trace-condition.exp
234 * gdb.trace/trace-enable-disable.exp
235 * gdb.trace/trace-mt.exp
236 * gdb.trace/tracecmd.exp
237 * gdb.trace/tspeed.exp
241 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
243 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
244 with gdb_test_no_output.
245 Use command as test name.
247 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
249 Fix test names starting with uppercase throughout the files.
251 * gdb.ada/assign_1.exp
252 * gdb.ada/boolean_expr.exp
253 * gdb.base/arrayidx.exp
255 * gdb.base/gcore-buffer-overflow.exp
256 * gdb.base/testenv.exp
257 * gdb.compile/compile.exp
258 * gdb.python/py-framefilter-invalidarg.exp
259 * gdb.python/py-framefilter.exp
261 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
263 Fix test names starting with uppercase throughout the files.
265 * gdb.ada/array_return.exp
266 * gdb.ada/expr_delims.exp
267 * gdb.ada/mi_dyn_arr.exp
268 * gdb.ada/mi_interface.exp
269 * gdb.ada/mi_var_array.exp
270 * gdb.ada/watch_arg.exp
271 * gdb.arch/alpha-step.exp
272 * gdb.arch/altivec-regs.exp
273 * gdb.arch/e500-regs.exp
274 * gdb.arch/powerpc-d128-regs.exp
275 * gdb.base/arrayidx.exp
277 * gdb.base/checkpoint.exp
278 * gdb.base/debug-expr.exp
281 * gdb.base/sepdebug.exp
282 * gdb.base/testenv.exp
283 * gdb.base/watch_thread_num.exp
284 * gdb.base/watchpoint-cond-gone.exp
286 * gdb.cell/ea-cache.exp
287 * gdb.compile/compile.exp
289 * gdb.gdb/selftest.exp
290 * gdb.gdb/xfullpath.exp
292 * gdb.go/integers.exp
293 * gdb.objc/basicclass.exp
294 * gdb.pascal/hello.exp
295 * gdb.pascal/integers.exp
296 * gdb.python/py-breakpoint.exp
297 * gdb.python/py-cmd.exp
298 * gdb.python/py-linetable.exp
299 * gdb.python/py-xmethods.exp
300 * gdb.python/python.exp
301 * gdb.reverse/consecutive-precsave.exp
302 * gdb.reverse/finish-precsave.exp
303 * gdb.reverse/i386-precsave.exp
304 * gdb.reverse/machinestate-precsave.exp
305 * gdb.reverse/sigall-precsave.exp
306 * gdb.reverse/solib-precsave.exp
307 * gdb.reverse/step-precsave.exp
308 * gdb.reverse/until-precsave.exp
309 * gdb.reverse/watch-precsave.exp
310 * gdb.threads/leader-exit.exp
311 * gdb.threads/pthreads.exp
312 * gdb.threads/wp-replication.exp
313 * gdb.trace/actions.exp
314 * gdb.trace/mi-tsv-changed.exp
317 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
319 Fix test names starting with uppercase throughout the files.
321 * gdb.arch/i386-bp_permanent.exp
322 * gdb.arch/i386-gnu-cfi.exp
323 * gdb.base/disasm-end-cu.exp
324 * gdb.base/macscp.exp
325 * gdb.base/pending.exp
326 * gdb.base/watch_thread_num.exp
327 * gdb.cp/exception.exp
330 * gdb.python/py-evsignal.exp
331 * gdb.python/python.exp
332 * gdb.trace/tracecmd.exp
334 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
336 Fix test names starting with uppercase throughout the files.
338 * gdb.base/charset.exp
340 * gdb.base/multi-forks.exp
341 * gdb.guile/scm-progspace.exp
342 * gdb.opencl/datatypes.exp
343 * gdb.python/py-block.exp
344 * gdb.python/py-function.exp
345 * gdb.python/py-symbol.exp
346 * gdb.python/py-symtab.exp
347 * gdb.python/py-xmethods.exp
348 * gdb.reverse/break-precsave.exp
349 * gdb.reverse/break-reverse.exp
350 * gdb.reverse/consecutive-precsave.exp
351 * gdb.reverse/consecutive-reverse.exp
352 * gdb.reverse/finish-precsave.exp
353 * gdb.reverse/finish-reverse-bkpt.exp
354 * gdb.reverse/finish-reverse.exp
355 * gdb.reverse/fstatat-reverse.exp
356 * gdb.reverse/getresuid-reverse.exp
357 * gdb.reverse/i386-precsave.exp
358 * gdb.reverse/i386-reverse.exp
359 * gdb.reverse/i386-sse-reverse.exp
360 * gdb.reverse/i387-stack-reverse.exp
361 * gdb.reverse/insn-reverse.exp
362 * gdb.reverse/machinestate-precsave.exp
363 * gdb.reverse/machinestate.exp
364 * gdb.reverse/next-reverse-bkpt-over-sr.exp
365 * gdb.reverse/pipe-reverse.exp
366 * gdb.reverse/readv-reverse.exp
367 * gdb.reverse/recvmsg-reverse.exp
368 * gdb.reverse/rerun-prec.exp
369 * gdb.reverse/s390-mvcle.exp
370 * gdb.reverse/sigall-precsave.exp
371 * gdb.reverse/sigall-reverse.exp
372 * gdb.reverse/solib-precsave.exp
373 * gdb.reverse/solib-reverse.exp
374 * gdb.reverse/step-precsave.exp
375 * gdb.reverse/step-reverse.exp
376 * gdb.reverse/time-reverse.exp
377 * gdb.reverse/until-precsave.exp
378 * gdb.reverse/until-reverse.exp
379 * gdb.reverse/waitpid-reverse.exp
380 * gdb.reverse/watch-precsave.exp
381 * gdb.reverse/watch-reverse.exp
383 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
385 Fix test names starting with uppercase throughout the files.
387 * gdb.arch/i386-mpx-simple_segv.exp
388 * gdb.arch/i386-mpx.exp
389 * gdb.arch/i386-permbkpt.exp
390 * gdb.arch/pa-nullify.exp
391 * gdb.arch/powerpc-d128-regs.exp
392 * gdb.arch/vsx-regs.exp
393 * gdb.base/bfp-test.exp
395 * gdb.base/breakpoint-shadow.exp
396 * gdb.base/callfuncs.exp
397 * gdb.base/charset.exp
398 * gdb.base/commands.exp
399 * gdb.base/completion.exp
400 * gdb.base/dfp-test.exp
402 * gdb.base/ending-run.exp
404 * gdb.base/expand-psymtabs.exp
405 * gdb.base/float128.exp
406 * gdb.base/floatn.exp
407 * gdb.base/foll-exec-mode.exp
408 * gdb.base/gdb1056.exp
409 * gdb.base/gdb11531.exp
410 * gdb.base/kill-after-signal.exp
411 * gdb.base/multi-forks.exp
412 * gdb.base/overlays.exp
413 * gdb.base/pending.exp
414 * gdb.base/sepdebug.exp
415 * gdb.base/testenv.exp
416 * gdb.base/valgrind-db-attach.exp
417 * gdb.base/watch_thread_num.exp
418 * gdb.base/watchpoint-cond-gone.exp
419 * gdb.base/watchpoint.exp
420 * gdb.base/watchpoints.exp
421 * gdb.cp/arg-reference.exp
422 * gdb.cp/baseenum.exp
423 * gdb.cp/operator.exp
425 * gdb.dwarf2/dw2-op-out-param.exp
426 * gdb.dwarf2/dw2-reg-undefined.exp
429 * gdb.go/integers.exp
432 * gdb.guile/scm-parameter.exp
433 * gdb.guile/scm-progspace.exp
434 * gdb.guile/scm-value.exp
435 * gdb.mi/mi-pending.exp
436 * gdb.mi/user-selected-context-sync.exp
437 * gdb.multi/multi-attach.exp
439 * gdb.opt/clobbered-registers-O2.exp
440 * gdb.pascal/floats.exp
441 * gdb.pascal/integers.exp
442 * gdb.python/py-block.exp
443 * gdb.python/py-events.exp
444 * gdb.python/py-parameter.exp
445 * gdb.python/py-symbol.exp
446 * gdb.python/py-symtab.exp
447 * gdb.python/py-type.exp
448 * gdb.python/py-value.exp
449 * gdb.python/py-xmethods.exp
450 * gdb.python/python.exp
451 * gdb.reverse/break-precsave.exp
452 * gdb.reverse/consecutive-precsave.exp
453 * gdb.reverse/finish-precsave.exp
454 * gdb.reverse/i386-precsave.exp
455 * gdb.reverse/machinestate-precsave.exp
456 * gdb.reverse/sigall-precsave.exp
457 * gdb.reverse/solib-precsave.exp
458 * gdb.reverse/step-precsave.exp
459 * gdb.reverse/until-precsave.exp
460 * gdb.reverse/watch-precsave.exp
461 * gdb.server/ext-attach.exp
462 * gdb.server/ext-restart.exp
463 * gdb.server/ext-run.exp
464 * gdb.server/ext-wrapper.exp
465 * gdb.stabs/gdb11479.exp
466 * gdb.stabs/weird.exp
467 * gdb.threads/attach-many-short-lived-threads.exp
468 * gdb.threads/kill.exp
469 * gdb.threads/watchpoint-fork.exp
471 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
473 Fix test names starting with uppercase throughout all the files below.
475 * gdb.ada/array_return.exp
476 * gdb.ada/catch_ex.exp
477 * gdb.ada/info_exc.exp
478 * gdb.ada/mi_catch_ex.exp
479 * gdb.ada/mi_dyn_arr.exp
480 * gdb.ada/mi_ex_cond.exp
481 * gdb.ada/mi_exc_info.exp
482 * gdb.ada/mi_interface.exp
483 * gdb.ada/mi_task_arg.exp
484 * gdb.ada/mi_task_info.exp
485 * gdb.ada/mi_var_array.exp
486 * gdb.arch/alpha-step.exp
487 * gdb.arch/amd64-disp-step.exp
488 * gdb.arch/arm-disp-step.exp
489 * gdb.arch/disp-step-insn-reloc.exp
490 * gdb.arch/e500-prologue.exp
491 * gdb.arch/ftrace-insn-reloc.exp
492 * gdb.arch/gdb1558.exp
493 * gdb.arch/i386-bp_permanent.exp
494 * gdb.arch/i386-disp-step.exp
495 * gdb.arch/i386-float.exp
496 * gdb.arch/i386-gnu-cfi.exp
497 * gdb.arch/ia64-breakpoint-shadow.exp
498 * gdb.arch/mips16-thunks.exp
499 * gdb.arch/pa-nullify.exp
500 * gdb.arch/powerpc-aix-prologue.exp
501 * gdb.arch/powerpc-power.exp
502 * gdb.arch/ppc-dfp.exp
503 * gdb.arch/s390-tdbregs.exp
504 * gdb.arch/spu-info.exp
505 * gdb.arch/spu-ls.exp
506 * gdb.arch/thumb-bx-pc.exp
507 * gdb.base/advance.exp
508 * gdb.base/annota-input-while-running.exp
509 * gdb.base/arrayidx.exp
510 * gdb.base/asmlabel.exp
512 * gdb.base/attach-wait-input.exp
513 * gdb.base/auto-connect-native-target.exp
514 * gdb.base/batch-preserve-term-settings.exp
515 * gdb.base/bfp-test.exp
516 * gdb.base/bigcore.exp
517 * gdb.base/bp-permanent.exp
518 * gdb.base/break-always.exp
519 * gdb.base/break-fun-addr.exp
520 * gdb.base/break-idempotent.exp
521 * gdb.base/break-main-file-remove-fail.exp
522 * gdb.base/break-probes.exp
523 * gdb.base/break-unload-file.exp
525 * gdb.base/call-ar-st.exp
526 * gdb.base/call-rt-st.exp
527 * gdb.base/call-sc.exp
528 * gdb.base/call-signal-resume.exp
529 * gdb.base/call-strs.exp
530 * gdb.base/callexit.exp
531 * gdb.base/callfuncs.exp
532 * gdb.base/catch-gdb-caused-signals.exp
533 * gdb.base/catch-signal-siginfo-cond.exp
534 * gdb.base/catch-syscall.exp
535 * gdb.base/compare-sections.exp
536 * gdb.base/cond-eval-mode.exp
537 * gdb.base/condbreak-call-false.exp
538 * gdb.base/consecutive-step-over.exp
539 * gdb.base/cursal.exp
540 * gdb.base/disabled-location.exp
541 * gdb.base/disasm-end-cu.exp
542 * gdb.base/display.exp
543 * gdb.base/double-prompt-target-event-error.exp
544 * gdb.base/dprintf-bp-same-addr.exp
545 * gdb.base/dprintf-detach.exp
546 * gdb.base/dprintf-next.exp
547 * gdb.base/dprintf-non-stop.exp
548 * gdb.base/dprintf-pending.exp
549 * gdb.base/dso2dso.exp
550 * gdb.base/ending-run.exp
551 * gdb.base/enum_cond.exp
552 * gdb.base/examine-backward.exp
553 * gdb.base/exe-lock.exp
554 * gdb.base/exec-invalid-sysroot.exp
555 * gdb.base/execl-update-breakpoints.exp
556 * gdb.base/execution-termios.exp
557 * gdb.base/fileio.exp
558 * gdb.base/fixsection.exp
559 * gdb.base/foll-exec-mode.exp
560 * gdb.base/foll-exec.exp
561 * gdb.base/fork-running-state.exp
562 * gdb.base/frame-args.exp
563 * gdb.base/fullpath-expand.exp
564 * gdb.base/func-ptr.exp
565 * gdb.base/gcore-relro-pie.exp
566 * gdb.base/gdb1090.exp
567 * gdb.base/gdb1555.exp
568 * gdb.base/global-var-nested-by-dso.exp
569 * gdb.base/gnu-ifunc.exp
570 * gdb.base/hbreak-in-shr-unsupported.exp
571 * gdb.base/hbreak-unmapped.exp
572 * gdb.base/hook-stop.exp
573 * gdb.base/infcall-input.exp
574 * gdb.base/info-fun.exp
575 * gdb.base/info-shared.exp
576 * gdb.base/interrupt-noterm.exp
577 * gdb.base/jit-so.exp
579 * gdb.base/line-symtabs.exp
581 * gdb.base/longjmp.exp
582 * gdb.base/macscp.exp
583 * gdb.base/max-value-size.exp
584 * gdb.base/nodebug.exp
585 * gdb.base/nofield.exp
586 * gdb.base/overlays.exp
587 * gdb.base/paginate-after-ctrl-c-running.exp
588 * gdb.base/paginate-bg-execution.exp
589 * gdb.base/paginate-inferior-exit.exp
590 * gdb.base/pending.exp
591 * gdb.base/pr11022.exp
592 * gdb.base/printcmds.exp
593 * gdb.base/ptr-typedef.exp
595 * gdb.base/randomize.exp
596 * gdb.base/range-stepping.exp
597 * gdb.base/realname-expand.exp
598 * gdb.base/relativedebug.exp
599 * gdb.base/remote.exp
600 * gdb.base/savedregs.exp
601 * gdb.base/sepdebug.exp
602 * gdb.base/set-noassign.exp
603 * gdb.base/shlib-call.exp
604 * gdb.base/shreloc.exp
605 * gdb.base/sigaltstack.exp
606 * gdb.base/sigbpt.exp
607 * gdb.base/siginfo-addr.exp
608 * gdb.base/siginfo-obj.exp
609 * gdb.base/siginfo-thread.exp
610 * gdb.base/signest.exp
611 * gdb.base/signull.exp
612 * gdb.base/sigrepeat.exp
614 * gdb.base/so-impl-ld.exp
615 * gdb.base/solib-corrupted.exp
616 * gdb.base/solib-disc.exp
617 * gdb.base/solib-display.exp
618 * gdb.base/solib-overlap.exp
619 * gdb.base/solib-search.exp
620 * gdb.base/solib-symbol.exp
621 * gdb.base/source-execution.exp
622 * gdb.base/sss-bp-on-user-bp-2.exp
623 * gdb.base/sss-bp-on-user-bp.exp
624 * gdb.base/stack-checking.exp
625 * gdb.base/stale-infcall.exp
626 * gdb.base/step-break.exp
627 * gdb.base/step-line.exp
628 * gdb.base/step-over-exit.exp
629 * gdb.base/step-test.exp
630 * gdb.base/structs.exp
631 * gdb.base/sym-file.exp
632 * gdb.base/symtab-search-order.exp
634 * gdb.base/type-opaque.exp
635 * gdb.base/unload.exp
636 * gdb.base/until-nodebug.exp
638 * gdb.base/unwindonsignal.exp
639 * gdb.base/watch-cond.exp
640 * gdb.base/watch-non-mem.exp
641 * gdb.base/watch_thread_num.exp
642 * gdb.base/watchpoint-reuse-slot.exp
643 * gdb.base/watchpoint-solib.exp
644 * gdb.base/watchpoint.exp
645 * gdb.btrace/dlopen.exp
651 * gdb.cell/dwarfaddr.exp
652 * gdb.cell/ea-cache.exp
653 * gdb.cell/ea-standalone.exp
654 * gdb.cell/ea-test.exp
655 * gdb.cell/f-regs.exp
658 * gdb.cell/mem-access.exp
660 * gdb.cell/registers.exp
661 * gdb.cell/sizeof.exp
662 * gdb.cell/solib-symbol.exp
664 * gdb.compile/compile-tls.exp
665 * gdb.cp/exception.exp
668 * gdb.cp/mb-inline.exp
669 * gdb.cp/mb-templates.exp
672 * gdb.cp/scope-err.exp
673 * gdb.cp/templates.exp
674 * gdb.cp/virtfunc.exp
675 * gdb.dwarf2/dw2-dir-file-name.exp
676 * gdb.dwarf2/dw2-single-line-discriminators.exp
677 * gdb.fortran/complex.exp
678 * gdb.fortran/library-module.exp
679 * gdb.guile/guile.exp
680 * gdb.guile/scm-cmd.exp
681 * gdb.guile/scm-frame-inline.exp
682 * gdb.guile/scm-objfile.exp
683 * gdb.guile/scm-pretty-print.exp
684 * gdb.guile/scm-symbol.exp
685 * gdb.guile/scm-type.exp
686 * gdb.guile/scm-value.exp
687 * gdb.linespec/keywords.exp
688 * gdb.linespec/ls-errs.exp
689 * gdb.linespec/macro-relative.exp
690 * gdb.linespec/thread.exp
691 * gdb.mi/mi-breakpoint-changed.exp
692 * gdb.mi/mi-dprintf-pending.exp
693 * gdb.mi/mi-fullname-deleted.exp
694 * gdb.mi/mi-logging.exp
695 * gdb.mi/mi-pending.exp
696 * gdb.mi/mi-solib.exp
697 * gdb.mi/new-ui-mi-sync.exp
698 * gdb.mi/user-selected-context-sync.exp
699 * gdb.multi/dummy-frame-restore.exp
700 * gdb.multi/multi-arch-exec.exp
701 * gdb.multi/remove-inferiors.exp
702 * gdb.multi/watchpoint-multi-exit.exp
703 * gdb.opt/solib-intra-step.exp
704 * gdb.perf/backtrace.exp
705 * gdb.perf/single-step.exp
706 * gdb.perf/skip-command.exp
707 * gdb.perf/skip-prologue.exp
709 * gdb.python/lib-types.exp
710 * gdb.python/py-as-string.exp
711 * gdb.python/py-bad-printers.exp
712 * gdb.python/py-block.exp
713 * gdb.python/py-breakpoint.exp
714 * gdb.python/py-cmd.exp
715 * gdb.python/py-events.exp
716 * gdb.python/py-evthreads.exp
717 * gdb.python/py-finish-breakpoint.exp
718 * gdb.python/py-finish-breakpoint2.exp
719 * gdb.python/py-frame-inline.exp
720 * gdb.python/py-frame.exp
721 * gdb.python/py-inferior.exp
722 * gdb.python/py-infthread.exp
723 * gdb.python/py-mi.exp
724 * gdb.python/py-objfile.exp
725 * gdb.python/py-pp-maint.exp
726 * gdb.python/py-pp-registration.exp
727 * gdb.python/py-prettyprint.exp
728 * gdb.python/py-recurse-unwind.exp
729 * gdb.python/py-shared.exp
730 * gdb.python/py-symbol.exp
731 * gdb.python/py-symtab.exp
732 * gdb.python/py-template.exp
733 * gdb.python/py-type.exp
734 * gdb.python/py-unwind-maint.exp
735 * gdb.python/py-unwind.exp
736 * gdb.python/py-value.exp
737 * gdb.python/python.exp
738 * gdb.reverse/finish-reverse-bkpt.exp
739 * gdb.reverse/insn-reverse.exp
740 * gdb.reverse/next-reverse-bkpt-over-sr.exp
741 * gdb.reverse/solib-precsave.exp
742 * gdb.reverse/solib-reverse.exp
743 * gdb.stabs/gdb11479.exp
744 * gdb.stabs/weird.exp
745 * gdb.threads/fork-child-threads.exp
746 * gdb.threads/fork-plus-threads.exp
747 * gdb.threads/fork-thread-pending.exp
748 * gdb.threads/forking-threads-plus-breakpoint.exp
749 * gdb.threads/hand-call-in-threads.exp
750 * gdb.threads/interrupted-hand-call.exp
751 * gdb.threads/linux-dp.exp
752 * gdb.threads/local-watch-wrong-thread.exp
753 * gdb.threads/next-while-other-thread-longjmps.exp
754 * gdb.threads/non-ldr-exit.exp
755 * gdb.threads/pending-step.exp
756 * gdb.threads/print-threads.exp
757 * gdb.threads/process-dies-while-detaching.exp
758 * gdb.threads/process-dies-while-handling-bp.exp
759 * gdb.threads/pthreads.exp
760 * gdb.threads/queue-signal.exp
761 * gdb.threads/reconnect-signal.exp
762 * gdb.threads/signal-command-handle-nopass.exp
763 * gdb.threads/signal-command-multiple-signals-pending.exp
764 * gdb.threads/signal-delivered-right-thread.exp
765 * gdb.threads/signal-sigtrap.exp
766 * gdb.threads/sigthread.exp
767 * gdb.threads/staticthreads.exp
768 * gdb.threads/stepi-random-signal.exp
769 * gdb.threads/thread-unwindonsignal.exp
770 * gdb.threads/thread_check.exp
771 * gdb.threads/thread_events.exp
772 * gdb.threads/tid-reuse.exp
773 * gdb.threads/tls-nodebug.exp
774 * gdb.threads/tls-shared.exp
775 * gdb.threads/tls-so_extern.exp
776 * gdb.threads/tls.exp
777 * gdb.threads/wp-replication.exp
778 * gdb.trace/actions-changed.exp
779 * gdb.trace/actions.exp
780 * gdb.trace/backtrace.exp
781 * gdb.trace/change-loc.exp
782 * gdb.trace/collection.exp
783 * gdb.trace/deltrace.exp
784 * gdb.trace/disconnected-tracing.exp
785 * gdb.trace/entry-values.exp
786 * gdb.trace/ftrace-lock.exp
787 * gdb.trace/ftrace.exp
788 * gdb.trace/infotrace.exp
789 * gdb.trace/mi-trace-frame-collected.exp
790 * gdb.trace/mi-trace-unavailable.exp
791 * gdb.trace/mi-traceframe-changed.exp
792 * gdb.trace/mi-tracepoint-changed.exp
793 * gdb.trace/mi-tsv-changed.exp
794 * gdb.trace/no-attach-trace.exp
795 * gdb.trace/packetlen.exp
796 * gdb.trace/passc-dyn.exp
797 * gdb.trace/passcount.exp
798 * gdb.trace/pending.exp
799 * gdb.trace/pr16508.exp
801 * gdb.trace/range-stepping.exp
802 * gdb.trace/read-memory.exp
803 * gdb.trace/report.exp
804 * gdb.trace/save-trace.exp
805 * gdb.trace/signal.exp
806 * gdb.trace/stap-trace.exp
807 * gdb.trace/status-stop.exp
808 * gdb.trace/strace.exp
809 * gdb.trace/tfile.exp
810 * gdb.trace/tfind.exp
811 * gdb.trace/trace-break.exp
812 * gdb.trace/trace-condition.exp
813 * gdb.trace/trace-enable-disable.exp
814 * gdb.trace/trace-mt.exp
815 * gdb.trace/tracecmd.exp
816 * gdb.trace/tracefile-pseudo-reg.exp
817 * gdb.trace/tspeed.exp
818 * gdb.trace/tstatus.exp
820 * gdb.trace/unavailable.exp
821 * gdb.trace/while-dyn.exp
822 * gdb.trace/while-stepping.exp
828 * lib/prelink-support.exp
829 * lib/selftest-support.exp
831 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
833 * Makefile.in: Include disable-implicit-rules.mk.
835 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
837 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
838 non-byte-aligned bit fields.
840 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
843 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
844 respects the DW_AT_data_bit_offset attribute.
846 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
848 * gdb.base/default.exp: Fix output of "set language".
850 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
852 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
853 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
855 * configure.ac: Remove checks for the make program.
856 * configure: Re-generate.
858 2016-11-16 Kevin Buettner <kevinb@redhat.com>
860 * gdb.python/py-recurse-unwind.c (main): Add loop.
861 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
862 to read_register() and gdb.parse_and_eval(). Make each code
863 call a separate case that can be individually tested.
864 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
865 proc. Call cont_and_backtrace for each of the code paths that
866 we want to test in the unwinder.
868 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
870 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
871 the definition of struct S.
873 2016-11-11 Catherine Moore <clm@codesourcery.com>
875 * gdb.base/dump.exp: Identify verilog format dump tests as such.
877 2016-11-09 Pedro Alves <palves@redhat.com>
879 * gdb.base/commands.exp (runto_or_return): New procedure.
880 (gdbvar_simple_if_test, gdbvar_simple_while_test)
881 (gdbvar_complex_if_while_test, progvar_simple_if_test)
882 (progvar_simple_while_test, progvar_complex_if_while_test)
883 (if_while_breakpoint_command_test)
884 (infrun_breakpoint_command_test, breakpoint_command_test)
885 (user_defined_command_test, watchpoint_command_test)
886 (test_command_prompt_position, redefine_hook_test)
887 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
888 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
889 multi_line_input and multi_line. Remove gdb_expect and
890 gdb_stop_suppressing_tests uses.
891 * lib/gdb.exp (valnum_re): New global.
892 (multi_line_input): New procedure.
894 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
896 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
898 (test_setup): Define with proc_with_prefix.
899 (test_cli_inferior): Likewise.
900 (test_cli_thread): Likewise.
901 (test_cli_frame): Likewise.
902 (test_cli_select_frame): Likewise.
903 (test_cli_up_down): Likewise.
904 (test_mi_thread_select): Likewise.
905 (test_mi_stack_select_frame): Likewise.
906 (test_cli_in_mi_inferior): Likewise.
907 (test_cli_in_mi_thread): Likewise.
908 (test_cli_in_mi_frame): Likewise.
909 (top level): Do not use with_test_prefix_procname.
911 2016-11-09 Pedro Alves <palves@redhat.com>
913 * gdb.base/commands.exp (gdbvar_simple_if_test)
914 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
915 (progvar_simple_if_test, progvar_simple_while_test)
916 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
917 (infrun_breakpoint_command_test, breakpoint_command_test)
918 (user_defined_command_test, watchpoint_command_test)
919 (test_command_prompt_position, deprecated_command_test)
920 (bp_deleted_in_command, temporary_breakpoint_commands)
921 (stray_arg0_test, source_file_with_indented_comment)
922 (recursive_source_test, if_commands_test)
923 (error_clears_commands_left, redefine_hook_test)
924 (redefine_backtrace_test): Use proc_with_prefix.
925 * lib/gdb.exp (proc_with_prefix): New proc.
927 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
929 * gdb.base/tui-layout.c: New file.
930 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
931 disassembly window contains very long lines.
933 2016-11-08 Tom Tromey <tom@tromey.com>
935 * gdb.python/py-value.exp (test_value_creation): Make "long" test
938 2016-11-08 Tom Tromey <tom@tromey.com>
940 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
943 2016-10-29 Manish Goregaokar <manish@mozilla.com>
945 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
947 2016-10-27 Manish Goregaokar <manish@mozilla.com>
949 * gdb.rust/simple.rs: Add test for univariant enums without
950 discriminants and for encoded struct-like enums.
952 2016-10-28 Pedro Alves <palves@redhat.com>
954 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
955 gdb_test_multiple, tighten regexps and match symtabs and line
956 tables incrementally.
958 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
960 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
963 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
965 * gdb.base/exec-invalid-sysroot.exp: New file.
967 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
969 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
971 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
973 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
975 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
977 * gdb.base/killed-outside.exp: Remove $options from a call to
978 `prepare_for_testing'.
980 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
982 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
985 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
987 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
990 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
992 * gdb.trace/mi-trace-save.exp: New file.
994 2016-10-13 Yao Qi <yao.qi@linaro.org>
996 * gdb.base/code_elim.exp (get_var_address): Remove.
997 * gdb.base/relocate.exp: Likewise.
998 * gdb.base/shreloc.exp: Likewise.
999 * lib/gdb.exp (get_var_address): New.
1001 2016-10-13 Yao Qi <yao.qi@linaro.org>
1003 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
1004 floating point tests if $skip_float_test is false.
1006 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
1008 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
1009 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
1011 Add 1 to argc so we guarantee distinct initial/modified argc values.
1013 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1015 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
1017 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1019 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1020 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1021 * gdb.arch/vsx-regs.exp: Likewise.
1023 2016-10-07 Yao Qi <yao.qi@linaro.org>
1025 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1027 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1029 * gdb.python/python.exp: Test decode_line("*0").
1031 2016-10-06 Doug Evans <dje@google.com>
1033 * gdb.python/py-value.exp (test_value_creation): Add test for large
1034 unsigned 64-bit value.
1036 2016-10-06 Tom Tromey <tom@tromey.com>
1038 * gdb.compile/compile.exp: Change java tests to rust.
1039 * gdb.base/setshow.exp: Change java tests to rust.
1040 * gdb.base/default.exp: Remove java from language list.
1041 * README (Examples): Update language example.
1042 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1044 * lib/gdb.exp (skip_java_tests): Remove.
1045 * lib/java.exp: Remove.
1048 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1050 * gdb.arch/mips-fcr.exp: New test.
1051 * gdb.arch/mips-fcr.c: Source for the new test.
1053 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1055 * gdb.base/solib-disc.exp: Use `standard_output_file'
1058 2016-10-06 Pedro Alves <palves@redhat.com>
1060 * gdb.base/jit-simple-dl.c: New file.
1061 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1062 * gdb.base/jit-simple.c: ... this.
1063 * gdb.base/jit-simple.exp (jit_run): Delete.
1064 (build_jit): New proc.
1065 (jit_test_reread): Recompile either the main program or the shared
1066 library, depending on what is being tested. Skip changing address
1067 if caller wants to. Compare before/after addresses. If testing
1068 standalone, explicitly load the binary. Test "maint info
1070 (top level): Add "standalone vs shared lib" and "change address"
1071 vs "same address" axes.
1073 2016-10-06 Pedro Alves <palves@redhat.com>
1075 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1078 (jit_test_reread): Use with_test_prefix. Reload the main binary
1079 explicitly. Compare the before/after addresses of the JIT
1082 2016-08-15 Doug Evans <dje@google.com>
1084 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1085 for single bitfields is bool.
1086 * gdb.xml/tdesc-regs.exp: Ditto.
1088 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1090 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1092 2016-10-05 Yao Qi <yao.qi@linaro.org>
1094 * lib/gdb.exp (support_complex_tests): Return zero if
1095 gdb_skip_float_test return true.
1097 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1098 Simon Marchi <simon.marchi@ericsson.com>
1101 * gdb.mi/user-selected-context-sync.exp: New file.
1102 * gdb.mi/user-selected-context-sync.c: New file.
1104 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1105 Simon Marchi <simon.marchi@ericsson.com>
1108 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1109 =thread-select-event check.
1111 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1113 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1114 the compulsory L operand changes.
1115 * gdb.arch/powerpc-power.s: Likewise.
1117 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1119 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1120 * gdb.base/jit-attach-pie.c: New file.
1121 * gdb.base/jit-attach-pie.exp: New file.
1123 2016-09-28 Pedro Alves <palves@redhat.com>
1125 * gdb.base/infcall-input.c: New file.
1126 * gdb.base/infcall-input.exp: New file.
1128 2016-09-22 Yao Qi <yao.qi@linaro.org>
1130 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1131 (gdb_exit): Rename it to ...
1132 (gdbserver_gdb_exit): ... Close GDBserver.
1133 (gdb_exit): New proc, call gdbserver_gdb_exit.
1134 (mi_gdb_exit): Likewise.
1136 2016-09-22 Yao Qi <yao.qi@linaro.org>
1138 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1140 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1143 2016-09-22 Yao Qi <yao.qi@linaro.org>
1145 * lib/gdbserver-support.exp: Check the existence of
1146 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1148 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1150 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1152 2016-09-21 Tom Tromey <tom@tromey.com>
1155 * gdb.base/quit.exp: New file.
1157 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1159 * .gitignore: New file.
1161 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1163 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1166 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1168 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1170 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1172 * gdb.cp/casts.cc (decltype): Move it ...
1173 (main): ... with its call to ...
1174 * gdb.cp/casts03.cc: ... a new file.
1175 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1177 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1179 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1181 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1183 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1184 and sync up the test with tests in gas/testsuite/gas/ppc.
1185 * gdb.arch/powerpc-power.exp: Likewise.
1187 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1189 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1191 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1192 Jan Kratochvil <jan.kratochvil@redhat.com>
1194 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1195 make m1's definition to be different from m2's. Use 'dummy' as an
1196 argument for probe 'two'.
1198 2016-09-10 Jon Beniston <jon@beniston.com>
1200 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1203 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1205 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1206 variable declaration.
1207 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1208 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1209 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1210 received HWCAP as its argument.
1212 2016-09-06 Pedro Alves <palves@redhat.com>
1214 * gdb.base/new-ui-pending-input.c: New file.
1215 * gdb.base/new-ui-pending-input.exp: New file.
1216 * gdb.exp (clear_gdb_spawn_id): New procedure.
1217 (with_spawn_id): Check whether gdb_spawn_id exists before
1218 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1221 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1223 * gdb.base/float128.c: New file.
1224 * gdb.base/float128.exp: Likewise.
1225 * gdb.base/floatn.c: Likewise.
1226 * gdb.base/floatn.exp: Likewise.
1228 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1230 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1232 2016-09-05 Pedro Alves <palves@redhat.com>
1235 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1236 unwinders are immediately called as side effect of "source" or
1237 "disable unwinder" commands.
1238 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1240 2016-09-02 Yao Qi <yao.qi@linaro.org>
1242 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1243 is true and $type is "float" or "double".
1245 2016-09-02 Yao Qi <yao.qi@linaro.org>
1247 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1249 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1250 * gdb.base/call-rt-st.exp: Likewise.
1251 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1252 return value instead of gdb,skip_float_test.
1253 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1254 (do_function_calls): Use its return value instead of
1255 gdb,skip_float_test.
1256 * gdb.base/finish.exp: Likewise.
1257 * gdb.base/funcargs.exp: Likewise.
1258 * gdb.base/return.exp: Likewise.
1259 * gdb.base/return2.exp: Likewise.
1260 * gdb.base/varargs.exp: Likewise.
1261 * lib/gdb.exp (gdb_skip_float_test): Change it to
1262 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1264 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1266 * gdb.multi/tids.exp: Test "thread apply all".
1268 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1270 * gdb.base/default.exp (tty): Remove.
1272 2016-08-24 Kevin Buettner <kevinb@redhat.com>
1274 * gdb.python/py-recurse-unwind.c: New file.
1275 * gdb.python/py-recurse-unwind.py: New file.
1276 * gdb.python/py-recurse-unwind.exp: New file.
1278 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1280 * gdb.base/set-inferior-tty.exp: New file.
1281 * gdb.base/set-inferior-tty.c: New file.
1283 2016-08-23 Pedro Alves <palves@redhat.com>
1286 * gdb.base/new-ui-echo.c: New file.
1287 * gdb.base/new-ui-echo.exp: New file.
1289 2016-08-23 Yao Qi <yao.qi@linaro.org>
1291 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1293 * gdb.server/connect-without-multi-process.exp (do_test):
1296 2016-08-23 Yao Qi <yao.qi@linaro.org>
1298 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1299 standalone_txt. Delete gdb_txt and standalone_txt on host
1300 and target. Spawn the binary on target. Copy files from
1303 2016-08-22 Pedro Alves <palves@redhat.com>
1306 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1307 with_test_prefix. Factor out bits to ...
1308 (test_no_vdso): ... this new procedure.
1310 2016-08-19 Carl Love <cel@us.ibm.com>
1312 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1313 maintaining separate logic for constructing the output path.
1314 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1315 * gdb.arch/ppc-dfp.exp: Likewise.
1316 * gdb.arch/ppc-fp.exp: Likewise.
1317 * gdb.arch/vsx-regs.exp: Likewise.
1318 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1319 binprefix for generating the additional binary files.
1321 2016-08-19 Pedro Alves <palves@redhat.com>
1323 * gdb.trace/mi-trace-frame-collected.exp
1324 (test_trace_frame_collected): On x32, expect two registers.
1326 2016-08-18 Carl Love <cel@us.ibm.com>
1328 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1329 and sync up the test with tests in gas/testsuite/gas/ppc.
1330 * gdb.arch/powerpc-power.exp: Likewise.
1332 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1334 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1335 expected error message.
1337 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1339 * gdb.multi/remove-inferiors.exp: New file.
1340 * gdb.multi/remove-inferiors.c: New file.
1342 2016-08-12 Yao Qi <yao.qi@linaro.org>
1344 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1347 2016-08-10 Pedro Alves <palves@redhat.com>
1350 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1353 2016-08-09 Pedro Alves <palves@redhat.com>
1354 Simon Marchi <simon.marchi@ericsson.com>
1357 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1358 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1360 2016-08-09 Pedro Alves <palves@redhat.com>
1363 * gdb.mi/mi-cmd-error.exp: New file.
1365 2016-08-09 Pedro Alves <palves@redhat.com>
1368 * gdb.base/signals-state-child.c: New file.
1369 * gdb.base/signals-state-child.exp: New file.
1370 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1372 2016-08-09 Pedro Alves <palves@redhat.com>
1374 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1376 2016-08-03 Tom Tromey <tom@tromey.com>
1379 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1381 2016-08-01 Yao Qi <yao.qi@linaro.org>
1383 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1384 variable mode to "multi-process" if $multi_process is 1, otherwise
1385 set it to "single-process".
1387 2016-08-01 Yao Qi <yao.qi@linaro.org>
1389 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1390 * gdb.cp/cpexprs.exp: Likewise.
1391 * gdb.cp/m-static.exp: Likewise.
1393 2016-07-26 Tom Tromey <tom@tromey.com>
1396 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1399 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1401 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1402 selecting assembly source files.
1403 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1404 assembly source files.
1405 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1406 assembly source files.
1407 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1408 selecting assembly source files.
1410 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1412 * gdb.base/new-ui.exp (do_test_invalid_args): New
1415 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1417 * gdb.btrace/reconnect.c: New file.
1418 * gdb.btrace/reconnect.exp: New file.
1420 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1422 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1423 to test_catch_syscall_group.
1424 (test_catch_syscall_group): New.
1426 2016-07-21 Tom Tromey <tom@tromey.com>
1428 * gdb.rust/simple.rs (main): Use empty struct expression.
1429 * gdb.rust/simple.exp: Add tests for empty struct expression.
1431 2016-07-21 Yao Qi <yao.qi@linaro.org>
1433 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1434 if gdb_skip_xml_test is true on some targets.
1436 2016-07-21 Yao Qi <yao.qi@linaro.org>
1438 * gdb.server/solib-list.exp: Unset last_loaded_file.
1440 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1442 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1443 "step into captured_main (args)".
1445 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1447 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1449 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1451 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1453 2016-07-19 Pedro Alves <palves@redhat.com>
1455 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1456 * gdb.opt/inline-bt.exp: Likewise.
1457 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1458 additional_flags=-Winline.
1459 * gdb.opt/inline-locals.exp: Likewise.
1460 * gdb.opt/inline-markers.c (ATTR): Define.
1461 (inlined_fn): Use it.
1463 2016-07-19 Yao Qi <yao.qi@linaro.org>
1465 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1466 (test_with_self): Remove some code. Remove argument executable.
1467 (top-level): Use do_self_tests.
1469 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
1470 Don Breazeal <donb@codesourcery.com>
1472 * gdb.base/maint.exp: Escape paths used in regular expressions.
1473 * gdb.stabs/weird.exp: Likewise.
1475 2016-07-13 Tom Tromey <tom@tromey.com>
1477 PR python/15620, PR python/18620:
1478 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1479 (test_bkpt_events): New procs.
1481 2016-07-13 Tom Tromey <tom@tromey.com>
1484 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1486 (test_watchpoints): Likewise.
1487 (test_bkpt_pending): New proc.
1489 2016-07-13 Tom Tromey <tom@tromey.com>
1492 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1495 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1497 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1498 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1499 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1501 (g): Rename g_end_lbl to g_label.
1502 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1504 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1506 2016-07-12 Tom Tromey <tom@tromey.com>
1509 * gdb.python/py-unwind-maint.exp: Update tests.
1511 2016-07-12 Yao Qi <yao.qi@linaro.org>
1513 * lib/selftest-support.exp (selftest_setup): Match the output
1514 when captured_main is inlined.
1516 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1518 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1520 (print this%a, print this%b, print this): New tests.
1521 * gdb.fortran/derived-types.f90 (this): New object and
1524 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1526 * gdb.ada/arraydim.exp: Remove extra directory level in build
1529 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1531 * lib/ada.exp: Remove extra directory level in build directory.
1532 * gdb.ada/cond_lang.exp: Likewise.
1533 * gdb.ada/exec_changed.exp: Likewise.
1534 * gdb.ada/lang_switch.exp: Likewise.
1536 2016-07-06 Manish Goregaokar <manish@mozilla.com>
1538 * simple.rs: Add test for raw pointer subscripting.
1539 * simple.exp: Add test expectations.
1541 2016-07-05 Yao Qi <yao.qi@linaro.org>
1543 * gdb.mi/mi-reverse.exp: Match =record-started output.
1545 2016-07-01 Pedro Alves <palves@redhat.com>
1547 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1549 (jit_reader_test): Test the jit reader's unwinder.
1550 * gdb.base/jithost.c (jit_function_00_code): New global.
1551 (main): Use memcpy to fill in the mmapped code, instead of poking
1552 bytes manually here.
1553 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1555 (read_debug_info): Save the function's range.
1556 (read_sp): New function.
1557 (unwind_frame): Use it. Also unwind RBP.
1558 (get_frame_id): Use read_sp.
1559 (gdb_init_reader): Use calloc instead of malloc.
1560 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1561 parameter. Use gdb_test_multiple.
1563 2016-07-01 Pedro Alves <palves@redhat.com>
1564 Antoine Tremblay <antoine.tremblay@ericsson.com>
1566 * gdb.threads/process-dies-while-detaching.c: New file.
1567 * gdb.threads/process-dies-while-detaching.exp: New file.
1569 2016-07-01 Pedro Alves <palves@redhat.com>
1571 * gdb.multi/watchpoint-multi-exit.c: New file.
1572 * gdb.multi/watchpoint-multi-exit.exp: New file.
1574 2016-06-30 Pedro Alves <palves@redhat.com>
1576 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1577 unset inferior_spawn_id.
1579 2016-06-30 Pedro Alves <palves@redhat.com>
1581 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1582 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1584 2016-06-29 Yao Qi <yao.qi@linaro.org>
1586 * gdb.base/return.c: Add copyright header.
1588 2016-06-29 Tom Tromey <tom@tromey.com>
1591 * gdb.python/py-framefilter.exp: Add tests for setting priority
1592 and disabling of non-existent frame filter.
1594 2016-06-29 Yao Qi <yao.qi@linaro.org>
1596 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1599 2016-06-28 Yao Qi <yao.qi@linaro.org>
1601 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1602 triplets. Start gdb, execute catch syscall, and continue. Check
1603 gdb's output to determine catch syscall is supported.
1605 2016-06-27 Manish Goregaokar <manish@mozilla.com>
1607 * gdb.rust/simple.rs: Add test for returning unit in a function.
1608 * gdb.rust/simple.exp: Add expectation for functions returning
1611 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1613 * gdb.python/py-breakpoint-create-fail.c,
1614 gdb.python/py-breakpoint-create-fail.exp,
1615 gdb.python/py-breakpoint-create-fail.py: New testcase.
1617 2016-06-25 Manish Goregaokar <manish@mozilla.com>
1620 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
1621 * gdb.rust/simple.exp: Add test expectations for new NonZero
1624 2016-06-24 David Taylor <dtaylor@emc.com>
1626 * gdb.base/offsets.exp: New file.
1627 * gdb.base/offsets.c: New file.
1629 2016-06-23 Tom Tromey <tom@tromey.com>
1632 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1633 before any filters are loaded.
1635 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1637 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1638 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1640 * gdb.fortran/derived-type-function.exp: New file.
1641 * gdb.fortran/derived-type-function.f90: New file.
1644 2016-06-21 Pedro Alves <palves@redhat.com>
1646 * gdb.base/new-ui.exp: New file.
1647 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1648 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1649 (with_spawn_id): New procedure.
1651 2016-06-21 Pedro Alves <palves@redhat.com>
1653 * gdb.mi/mi-exec-run.exp: New file.
1655 2016-06-21 Pedro Alves <palves@redhat.com>
1657 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1658 breakpoint command's output on the main UI.
1659 (test_break): New procedure, factored out from calls in the top
1661 (top level): Use foreach_with_prefix to test MI as main UI and as
1664 2016-06-21 Pedro Alves <palves@redhat.com>
1666 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1667 (test_awatch_creation_and_listing)
1668 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1669 Remove 'type' parameter.
1670 (test_watchpoint_all): New parameter mi_mode. Remove
1672 (top level): Use foreach_with_prefix, and add main/separate UI MI
1675 2016-06-21 Pedro Alves <palves@redhat.com>
1677 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1678 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1679 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1680 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1681 (gdb_main_spawn_id, mi_spawn_id): Declare and
1683 (mi_create_inferior_pty): New procedure,
1684 factored out from default_mi_gdb_start.
1685 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1687 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1688 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1689 Use mi_create_inferior_pty.
1690 (mi_gdb_start): Use eval to pass down args list.
1692 2016-06-21 Pedro Alves <palves@redhat.com>
1694 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1695 * gdb.opt/inline-cmds.exp: Add MI tests.
1697 2016-06-21 Pedro Alves <palves@redhat.com>
1699 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1701 2016-06-21 Pedro Alves <palves@redhat.com>
1703 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1704 (top level): Use it instead of mi_execute_to.
1706 2016-06-21 Pedro Alves <palves@redhat.com>
1708 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1709 (cont_handler_str): New.
1710 (signal_stop_handler): Set stop_handler_str instead of printing to
1712 (continue_handler): Set cont_handler_str instead of printing to
1714 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1715 mi_send_resuming_command. Print stop_handler_str and
1716 cont_handler_str instead of expecting the python events print
1719 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1721 * gdb.base/jit-reader.exp: New file.
1722 * gdb.base/jithost.c: New file.
1723 * gdb.base/jithost.h: New file.
1724 * gdb.base/jitreader.c : New file.
1725 * gdb.base/jit-protocol.h: New file.
1727 2016-06-17 Yao Qi <yao.qi@linaro.org>
1729 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1730 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1731 and detach-on-fork. Adjust tests.
1732 (top level): Invoke break_cond_on_syscall with combinations of
1733 syscall, follow-fork-mode and detach-on-fork.
1735 2016-06-17 Yao Qi <yao.qi@linaro.org>
1737 * gdb.base/step-over-exit.c: New.
1738 * gdb.base/step-over-exit.exp: New.
1740 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1742 * gdb.base/float.exp: Add target check for nds32*-*-*.
1743 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1745 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1747 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1748 for unsupported target features.
1749 * gdb.base/call-rt-st.exp: Likewise.
1750 * gdb.base/call-sc.exp: Likewise.
1751 * gdb.base/call-signal-resume.exp: Likewise.
1752 * gdb.base/call-strs.exp: Likewise.
1753 * gdb.base/callexit.exp: Likewise.
1754 * gdb.base/callfuncs.exp: Likewise.
1755 * gdb.base/nodebug.exp: Likewise.
1756 * gdb.base/printcmds.exp: Likewise.
1757 * gdb.base/ptype.exp: Likewise.
1758 * gdb.base/structs.exp: Likewise.
1759 * gdb.base/unwindonsignal.exp: Likewise.
1760 * gdb.cp/gdb2495.exp: Likewise.
1761 * gdb.cp/templates.exp: Likewise.
1762 * gdb.cp/virtfunc.exp: Likewise.
1763 * gdb.threads/hand-call-in-threads.exp: Likewise.
1764 * gdb.threads/interrupted-hand-call.exp: Likewise.
1765 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1767 2016-06-10 Tom Tromey <tom@tromey.com>
1770 * gdb.rust/expr.exp: Add test for integer constant larger than
1773 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1775 * gdb.fortran/nested-funcs.exp: New.
1776 * gdb.fortran/nested-funcs.f90: New.
1778 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1780 * gdb.base/examine-backward.c: New file.
1781 * gdb.base/examine-backward.exp: New file.
1783 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1785 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1788 2016-06-02 Tom Tromey <tom@tromey.com>
1791 * gdb.python/py-shared.exp: Add solib_name test.
1793 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1795 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1797 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1800 * gdb.dwarf2/implref.exp: Rename to...
1801 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1802 * gdb.dwarf2/implref-array.c: New file.
1803 * gdb.dwarf2/implref-array.exp: Likewise.
1804 * gdb.dwarf2/implref-global.c: Likewise.
1805 * gdb.dwarf2/implref-global.exp: Likewise.
1806 * gdb.dwarf2/implref-struct.c: Likewise.
1807 * gdb.dwarf2/implref-struct.exp: Likewise.
1809 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1811 * gdb.trace/trace-condition.exp: Add 64bit tests.
1813 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1815 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1817 (main): Adapt to 8 to 64 bits types.
1818 * gdb.trace/trace-condition.exp: Add new tests.
1820 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1822 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1824 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1826 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1827 Move condition tests...
1828 * gdb.trace/trace-condition.exp: Here.
1830 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1832 * gdb.trace/trace-condition.exp: Add counter-case tests.
1834 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1837 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1838 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1840 2016-05-27 Pedro Alves <palves@redhat.com>
1842 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1844 (top level): Call it, and bail out of DejaGnu is known to be bad.
1846 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1848 * gdb.base/whatis.c: Extend the test case.
1849 * gdb.base/whatis.exp: Add additional tests.
1851 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1853 * gdb.fortran/type.f90: Add pointer variable.
1854 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1856 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1858 * gdb.fortran/vla-type.exp: Fix testcase name.
1860 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1862 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1864 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1866 * gdb.fortran/type.f90: Add nested structures.
1867 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1868 * gdb.fortran/derived-type.exp: Adapt expected output.
1869 * gdb.fortran/vla-type.exp: Adapt expected output.
1871 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1873 * gdb.fortran/whatis_type.exp: Adapt expected output.
1875 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1877 * gdb.fortran/print_type.exp: Fix expected output.
1878 * gdb.fortran/whatis_type.exp: Fix expected output.
1880 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1882 * gdb.fortran/whatis_type.exp: Use multi_line.
1884 2016-05-24 Tom Tromey <tom@tromey.com>
1887 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1888 use value as an index.
1890 2016-05-23 Tom Tromey <tom@tromey.com>
1893 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1896 2016-05-24 Pedro Alves <palves@redhat.com>
1899 * gdb.threads/clone-attach-detach.c: New file.
1900 * gdb.threads/clone-attach-detach.exp: New file.
1902 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1904 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1906 2016-05-23 Tom Tromey <tom@tromey.com>
1908 PR python/19438, PR python/18393:
1909 * gdb.python/py-progspace.exp: Add "dir" test.
1910 * gdb.python/py-objfile.exp: Add "dir" test.
1912 2016-05-23 Yao Qi <yao.qi@linaro.org>
1914 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1915 * gdb.arch/thumb2-it.exp: Likewise.
1917 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1919 * gdb.mi/mi-threads-interrupt.c: New file.
1920 * gdb.mi/mi-threads-interrupt.exp: New file.
1922 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1925 * gdb.mi/mi-async-run.exp: New file.
1926 * gdb.mi/mi-async-run.c: New file.
1928 2016-05-17 Tom Tromey <tom@tromey.com>
1929 Manish Goregaokar <manishsmail@gmail.com>
1931 * lib/rust-support.exp: New file.
1932 * lib/gdb.exp (skip_rust_tests): New proc.
1933 (build_executable_from_specs): Handle rust.
1934 * lib/future.exp (gdb_find_rustc): New proc.
1935 (gdb_default_target_compile): Handle rust.
1936 * gdb.rust/expr.exp: New file.
1937 * gdb.rust/generics.exp: New file.
1938 * gdb.rust/generics.rs: New file.
1939 * gdb.rust/methods.exp: New file.
1940 * gdb.rust/methods.rs: New file.
1941 * gdb.rust/modules.exp: New file.
1942 * gdb.rust/modules.rs: New file.
1943 * gdb.rust/simple.exp: New file.
1944 * gdb.rust/simple.rs: New file.
1946 2016-05-17 Tom Tromey <tom@tromey.com>
1948 * gdb.base/default.exp (set language): Add rust.
1950 2016-05-17 Tom Tromey <tom@tromey.com>
1952 * gdb.gdb/unittest.exp: New file.
1954 2016-05-16 Yao Qi <yao.qi@linaro.org>
1956 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1957 shell_prompt. Update shell_prompt_re.
1959 2016-05-12 Doug Evans <dje@google.com>
1962 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1963 $options when building executable.
1964 * gdb.dwarf2/fission-loclists-pie.S: New file.
1965 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1967 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1969 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1970 of [is_remote target],
1972 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1974 * lib/gdb.exp (use_gdb_stub): New procedure.
1976 2016-05-03 Yunlian Jiang <yunlian@google.com>
1977 Doug Evans <dje@google.com>
1980 * gdb.dwarf2/dwp-sepdebug.c: New file.
1981 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1983 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1985 * gdb.base/detach.exp: Remove is_remote check.
1987 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1989 * gdb.base/annota-input-while-running.exp: Don't check for
1990 [is_remote target]. Enable annotations after running to main.
1991 Remove unused "set test..." line.
1993 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1995 * gdb.trace/trace-enable-disable.exp: New file.
1996 * gdb.trace/trace-enable-disable.c: New file.
1998 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2000 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
2001 use it in info sharedlibrary test.
2002 * gdb.trace/ftrace-lock.exp: Likewise.
2003 * gdb.trace/ftrace.exp: Likewise.
2004 * gdb.trace/range-stepping.exp: Likewise.
2005 * gdb.trace/trace-break.exp: Likewise.
2006 * gdb.trace/trace-condition.exp: Likewise.
2007 * gdb.trace/trace-mt.exp: Likewise.
2009 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2011 * lib/gdb.exp (gdb_load_shlibs): Rename to...
2012 (gdb_load_shlib): ... this.
2013 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
2015 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2016 * gdb.base/ctxobj.exp: Likewise.
2017 * gdb.base/dprintf-pending.exp: Likewise.
2018 * gdb.base/dso2dso.exp: Likewise.
2019 * gdb.base/fixsection.exp: Likewise.
2020 * gdb.base/gcore-relro.exp: Likewise.
2021 * gdb.base/gdb1555.exp: Likewise.
2022 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2023 * gdb.base/gnu-ifunc.exp: Likewise.
2024 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2025 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2026 * gdb.base/pending.exp: Likewise.
2027 * gdb.base/print-file-var.exp: Likewise.
2028 * gdb.base/print-symbol-loading.exp: Likewise.
2029 * gdb.base/shlib-call.exp: Likewise.
2030 * gdb.base/shreloc.exp: Likewise.
2031 * gdb.base/so-impl-ld.exp: Likewise.
2032 * gdb.base/solib-disc.exp: Likewise.
2033 * gdb.base/solib-nodir.exp: Likewise.
2034 * gdb.base/solib-overlap.exp: Likewise.
2035 * gdb.base/solib-symbol.exp: Likewise.
2036 * gdb.base/solib-weak.exp (do_test): Likewise.
2037 * gdb.base/sym-file.exp: Likewise.
2038 * gdb.base/symtab-search-order.exp: Likewise.
2039 * gdb.base/type-opaque.exp: Likewise.
2040 * gdb.base/unload.exp: Likewise.
2041 * gdb.base/watchpoint-solib.exp: Likewise.
2042 * gdb.compile/compile.exp: Likewise.
2043 * gdb.cp/gdb2384.exp: Likewise.
2044 * gdb.cp/infcall-dlopen.exp: Likewise.
2045 * gdb.cp/re-set-overloaded.exp: Likewise.
2046 * gdb.fortran/library-module.exp: Likewise.
2047 * gdb.opt/solib-intra-step.exp: Likewise.
2048 * gdb.python/py-finish-breakpoint.exp: Likewise.
2049 * gdb.python/py-shared.exp: Likewise.
2050 * gdb.reverse/solib-precsave.exp: Likewise.
2051 * gdb.reverse/solib-reverse.exp: Likewise.
2052 * gdb.server/solib-list.exp: Likewise.
2053 * gdb.threads/dlopen-libpthread.exp: Likewise.
2054 * gdb.threads/tls-shared.exp: Likewise.
2055 * gdb.threads/tls-so_extern.exp: Likewise.
2056 * gdb.trace/change-loc.exp: Likewise.
2057 * gdb.trace/ftrace-lock.exp: Likewise.
2058 * gdb.trace/ftrace.exp: Likewise.
2059 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2060 * gdb.trace/pending.exp: Likewise.
2061 * gdb.trace/range-stepping.exp: Likewise.
2062 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2063 (strace_info_marker): Likewise.
2064 (strace_probe_marker): Likewise.
2065 (strace_trace_on_same_addr): Likewise.
2066 (strace_trace_on_diff_addr): Likewise.
2067 * gdb.trace/trace-break.exp: Likewise.
2068 * gdb.trace/trace-condition.exp: Likewise.
2069 * gdb.trace/trace-mt.exp: Likewise.
2071 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2073 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2074 result of gdb_remote_download.
2075 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2076 * gdb.base/dso2dso.exp: Likewise.
2077 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2078 * gdb.base/print-file-var.exp: Likewise.
2079 * gdb.base/shlib-call.exp: Likewise.
2080 * gdb.base/shreloc.exp: Likewise.
2081 * gdb.base/solib-overlap.exp: Likewise.
2082 * gdb.base/solib-weak.exp (do_test): Likewise.
2083 * gdb.base/unload.exp: Likewise.
2085 2016-04-27 Yao Qi <yao.qi@linaro.org>
2087 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2090 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2092 * vla-type.exp: Print structure from toplevel.
2094 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2096 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2098 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2101 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2103 * gdb.fortran/vla-type.f90: New file.
2104 * gdb.fortran/vla-type.exp: New file.
2106 2016-04-25 Yao Qi <yao.qi@linaro.org>
2108 * gdb.base/branch-to-self.c: New file.
2109 * gdb.base/branch-to-self.exp: New file.
2111 2016-04-22 Yao Qi <yao.qi@linaro.org>
2113 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2116 2016-04-22 Yao Qi <yao.qi@linaro.org>
2118 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2119 * gdb.base/annota3.exp: Likewise.
2121 2016-04-22 Yao Qi <yao.qi@linaro.org>
2123 * gdb.reverse/step-precsave.exp: Do one step and test program
2124 stops in "callee" and do multiple steps until program goes out
2126 * gdb.reverse/step-reverse.exp: Likewise.
2128 2016-04-22 Yao Qi <yao.qi@linaro.org>
2130 * gdb.trace/signal.exp: Also pass if
2131 $tracepoint_hits($i) > $iterations.
2133 2016-04-22 Yao Qi <yao.qi@linaro.org>
2135 * gdb.trace/signal.c: New file.
2136 * gdb.trace/signal.exp: New file.
2138 2016-04-19 Doug Evans <xdje42@gmail.com>
2140 * gdb.base/bad-file.exp: New file.
2142 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2144 * gdb.dwarf2/implref.exp: New file.
2146 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2148 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2149 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2150 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2151 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2152 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2153 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2154 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2155 * lib/fortran.exp (fortran_int4): New procedure.
2156 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2157 (fortran_logical4): Likewise.
2159 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2161 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2163 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2165 * lib/compiler.c: Add Intel specific preprocessor macros.
2166 * lib/compiler.cc: Likewise.
2168 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2170 * gdb.server/connect-with-no-symbol-file.c: New file.
2171 * gdb.server/connect-with-no-symbol-file.exp: New file.
2173 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2175 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2177 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2179 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2180 standard output directory.
2182 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2184 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2186 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2188 * gdb.btrace/instruction_history.c (loop): Add declaration.
2190 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2192 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2194 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2196 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2197 parentheses to print.
2198 (continue_handler): Likewise.
2200 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2202 * gdb.server/solib-list.exp: Remove is_remote check.
2203 Pass shlib= to gdb_compile. Don't link shared library with
2204 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2205 Run binary filename through "readlink -f" on the target.
2207 2016-04-08 Pedro Alves <palves@redhat.com>
2209 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2210 interpreter filename as argument to gdbserver_spawn.
2211 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2212 Return empty if $last_loaded_file does not exist.
2214 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2216 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2217 * gdb.base/jit-main.c: Use exit after usage.
2219 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2221 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2222 GDBHISTSIZE prior to the tests.
2223 * gdb.base/gdbinit-history.exp: Likewise.
2225 2016-04-07 Pedro Alves <palves@redhat.com>
2227 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2228 instead of build_executable. Use gdb_load_shlibs.
2230 2016-04-07 Yao Qi <yao.qi@linaro.org>
2232 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2233 Execute "si" command.
2235 2016-04-07 Yao Qi <yao.qi@linaro.org>
2237 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2238 number instead of the comments on some line.
2240 2016-04-06 Don Breazeal <donb@codesourcery.com>
2242 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2243 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2245 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2247 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2248 standard_output_file. Remove unused binfile variable.
2250 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
2252 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2253 * gdb.python/py-mi-objfile.exp: Match "list main" output
2256 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2258 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2261 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2263 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2265 * gdb.trace/ftrace.exp: Likewise.
2266 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2268 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2269 (gdb_load_shlibs): Copy libraries to test directory when testing
2270 natively. Only set solib-search-path if testing remotely.
2271 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2273 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2275 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2276 gdb_download. Use it even if the target is not remote.
2277 * gdb.base/jit.exp (compile_jit_test): Likewise.
2278 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2279 output directory if the destination board is local, otherwise use
2280 the standard remote_download from DejaGnu.
2281 (gdb_download): Remove.
2282 (gdb_load_shlibs): Use gdb_remote_download instead of
2284 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2285 Use gdb_remote_download instead of gdb_download. Use it even if
2286 the target is not remote.
2287 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2288 instead of gdb_download.
2290 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2292 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2293 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2296 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
2299 * gdb.base/printcmds.exp: Add artificial arrays tests.
2301 2016-03-31 Pedro Alves <palves@redhat.com>
2304 * gdb.base/jit-main.c: Include unistd.h.
2305 (ATTACH): Define to 0 if not already defined.
2306 (wait_for_gdb, mypid): New globals.
2307 (WAIT_FOR_GDB): New macro.
2308 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2309 some breakpoint locations.
2310 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2312 (one_jit_test): Add REATTACH parameter, and handle it. Use
2313 continue_to_test_location.
2314 (top level): Test attach, and adjusts calls to one_jit_test.
2316 2016-03-31 Pedro Alves <palves@redhat.com>
2319 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2320 BINSUFFIX parameter, and handle it.
2321 (top level): Adjust calls compile_jit_test.
2323 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
2326 * gdb.python/py-mi-events-gdb.py: New file.
2327 * gdb.python/py-mi-events.c: New file.
2328 * gdb.python/py-mi-events.exp: New file.
2330 2016-03-30 Yao Qi <yao.qi@linaro.org>
2332 * gdb.reverse/until-precsave.exp: Match function name only.
2333 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2334 Move malloc to a condition block.
2335 * gdb.reverse/until-reverse.exp: Match function name only.
2337 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2339 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2340 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2341 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2342 variable for GPR 0 instead of assuming it is register 0.
2343 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2344 * lib/trace-support.exp: Add s390 registers.
2346 2016-03-29 Yao Qi <yao.qi@linaro.org>
2348 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2350 2016-03-24 Yao Qi <yao.qi@linaro.org>
2352 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2355 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2357 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2358 maintaining separate logic for constructing the output path.
2360 2016-03-16 Don Breazeal <donb@codesourcery.com>
2362 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2363 Retry fork and waitpid on interrupted system call errors.
2364 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2365 Use with_timeout_factor to increase timeout by factor of 10.
2367 2016-03-15 Don Breazeal <donb@codesourcery.com>
2369 * gdb.cp/scope-err.cc: New test program.
2370 * gdb.cp/scope-err.exp: New test script.
2371 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2372 lines and "set breakpoint here" comment.
2373 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2374 Fixed some whitespace and format issues.
2375 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2376 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2378 2016-03-15 Doug Evans <dje@google.com>
2380 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2381 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2382 All callers updated. Add tests for enums, mixed flags register.
2384 2016-03-15 Doug Evans <dje@google.com>
2386 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2387 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2389 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2391 * gdb.base/default.exp: Add $_as_string to the list of expected
2392 convenience functions.
2394 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2396 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2398 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2400 * gdb.python/py-as-string.exp: New file.
2401 * gdb.python/py-as-string.c: New file.
2403 2016-03-09 Pedro Alves <palves@redhat.com>
2405 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2406 signal" -> "Thread NN received signal" output change.
2407 * gdb.threads/ia64-sigill.exp: Likewise.
2408 * gdb.threads/linux-dp.exp: Likewise.
2409 * gdb.threads/manythreads.exp: Likewise.
2410 * gdb.threads/pending-step.exp: Likewise.
2411 * gdb.threads/print-threads.exp: Likewise.
2412 * gdb.threads/sigstep-threads.exp: Likewise.
2413 * gdb.threads/staticthreads.exp: Likewise.
2414 * gdb.threads/tls.exp: Likewise.
2416 2016-03-09 Pedro Alves <palves@redhat.com>
2418 * gdb.base/command-line-input.exp: New file.
2420 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2422 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2423 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2424 * gdb.trace/pending.exp: Accept leading dot before function name.
2425 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2426 * lib/trace-support.exp: Set registers for ppc.
2428 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2430 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2431 use it for disassembly; accept .main in addition to main in backtrace.
2433 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2434 Marcin Kościelnicki <koriakin@0x04.net>
2436 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2437 (gdb_recursion_test_ptr): New global variable.
2438 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2440 (gdb_c_test): Ditto.
2442 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2444 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2447 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2449 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2450 (bar): Add bar_start_lbl label.
2451 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2452 of foo/bar for emitting DWARF and tracing.
2454 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2456 * analyze-racy-logs.py: Set executable bit.
2458 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2460 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2461 (CHECK_TARGET_TMP): Likewise.
2462 (check-single-racy): New rule.
2463 (check-parallel-racy): Likewise.
2464 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2465 (do-check-parallel-racy): New rule.
2466 (check-racy/%.exp): Likewise.
2467 * README (Racy testcases): New section.
2468 * analyze-racy-logs.py: New file.
2470 2016-03-03 Doug Evans <dje@google.com>
2472 * gdb.base/skip.exp: Use with_test_prefix.
2474 2016-03-03 Yao Qi <yao.qi@linaro.org>
2476 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2477 Invoke step_over_syscall "clone" and break_cond_on_syscall
2479 * gdb.base/step-over-clone.c: New file.
2481 2016-03-03 Yao Qi <yao.qi@linaro.org>
2483 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2486 2016-03-03 Yao Qi <yao.qi@linaro.org>
2488 * gdb.base/disp-step-fork.c: Rename to ...
2489 * gdb.base/step-over-fork.c: ... it. New file.
2490 * gdb.base/disp-step-vfork.c: Rename to ...
2491 * gdb.base/step-over-vfork.c: ... it. New file.
2492 * gdb.base/disp-step-syscall.exp: Rename to ...
2493 * gdb.base/step-over-syscall.exp: ... it. New file.
2494 (disp_step_cross_syscall): Rename to ...
2495 (step_over_syscall): ... it.
2497 2016-03-03 Yao Qi <yao.qi@linaro.org>
2499 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2500 If target supports condition evaluation on target, invoke
2501 break_cond_on_syscall for fork and vfork.
2503 2016-03-03 Yao Qi <yao.qi@linaro.org>
2505 * gdb.base/disp-step-syscall.exp: Don't invoke
2506 support_displaced_stepping.
2507 (disp_step_cross_syscall): Test with displaced stepping off and
2510 2016-03-03 Yao Qi <yao.qi@linaro.org>
2512 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2515 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2518 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2520 * gdb.fortran/vla-history.exp: Remove breakpoint.
2522 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2524 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2527 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2529 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2532 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2534 * gdb.mi/vla.f90: Nullify pointer after declaration.
2536 2016-03-01 Pedro Alves <palves@redhat.com>
2538 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2540 2016-03-01 Pedro Alves <palves@redhat.com>
2542 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2543 before anything else.
2544 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2546 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2547 before anything else.
2548 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2550 2016-03-01 Pedro Alves <palves@redhat.com>
2552 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2554 2016-03-01 Yao Qi <yao.qi@linaro.org>
2556 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2557 prepare_for_testing.
2559 2016-03-01 Yao Qi <yao.qi@linaro.org>
2561 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2563 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2565 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2566 manually constructing the output path.
2568 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2570 * gdb.arch/s390-stackless.S: New.
2571 * gdb.arch/s390-stackless.exp: New.
2573 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2575 * gdb.dlang/circular.c: New file.
2576 * gdb.dlang/circular.exp: New file.
2578 2016-02-26 Yao Qi <yao.qi@linaro.org>
2580 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2581 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2582 (testcases): Update.
2584 2016-02-26 Yao Qi <yao.qi@linaro.org>
2586 * gdb.reverse/aarch64.c: Rename to ...
2587 * gdb.reverse/insn-reverse.c: ... it.
2588 * gdb.reverse/aarch64.exp: Rename to ...
2589 * gdb.reverse/insn-reverse.exp: ... it.
2591 2016-02-26 Yao Qi <yao.qi@linaro.org>
2593 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2594 (testcase_ftype): New.
2595 (testcases): New array.
2597 (main): Call each element in testcases.
2598 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2599 (read_testcase): New.
2600 Do the tests in a loop.
2602 2016-02-25 Yao Qi <yao.qi@linaro.org>
2604 * gdb.base/branches.c: Remove.
2606 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2609 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2611 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2613 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2615 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2617 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2618 change x86_64 call_insn to 'callq'.
2620 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2622 * gdb.trace/tfile-avx.c: Move to...
2623 * gdb.trace/tracefile-pseudo-reg.c: Here.
2624 * gdb.trace/tfile-avx.exp: Move to...
2625 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2627 2016-02-24 Gary Benson <gbenson@redhat.com>
2629 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2632 2016-02-23 Doug Evans <dje@google.com>
2634 * gdb.base/skip.c (test_skip): New function.
2635 (end_test_skip_file_and_function): New function.
2636 (test_skip_file_and_function): New function.
2637 * gdb.base/skip1.c (test_skip): New function.
2638 (skip1_test_skip_file_and_function): New function.
2639 * gdb.base/skip.exp: Add tests for new skip options.
2640 * gdb.base/skip-solib.exp: Update expected output.
2641 * gdb.perf/skip-command.cc: New file.
2642 * gdb.perf/skip-command.exp: New file.
2643 * gdb.perf/skip-command.py: New file.
2645 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2647 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2648 info registers pattern.
2650 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2652 * lib/future.exp: Add D support.
2653 (gdb_find_gdc): New proc.
2654 (gdb_default_target_compile): Add D support.
2656 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
2658 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2660 (trace_speed_test): Determine the iteration count for a time
2661 between 15..30 seconds.
2663 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2665 * gdb.arch/i386-mpx-sigsegv.c: New file.
2666 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2667 * gdb.arch/i386-mpx-simple_segv.c: New file.
2668 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2670 2016-02-18 Yao Qi <yao.qi@linaro.org>
2672 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2673 Don't call setup_kfail.
2675 2016-02-18 Yao Qi <yao.qi@linaro.org>
2677 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2678 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2680 2016-02-16 Doug Evans <dje@google.com>
2682 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2683 * gdb.base/skip1.c: Ditto.
2684 * gdb.base/skip.exp: Whitespace cleanup.
2686 2016-02-16 Don Breazeal <donb@codesourcery.com>
2689 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2690 Remove kfail for PR remote/19496.
2692 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2694 * lib/gdb.exp (standard_temp_file): Return a path specific to
2695 the runtest invocation.
2697 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2699 * gdb.trace/save-trace.exp: Change relative path to be in the
2700 standard output directory.
2702 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2704 * gdb.arch/i386-prologue.c: Add missing prototypes.
2706 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2708 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2709 * gdb.arch/i386-prologue.exp: Likewise.
2710 * gdb.arch/i386-size.exp: Likewise.
2712 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2714 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2715 define object file path.
2716 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2718 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2719 standard_output_file to define binfile.
2721 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2723 Fix compatibility with recent gfortran-5.3.1.
2724 * gdb.fortran/vla-history.exp (print vla1 allocated)
2725 (print vla2 allocated, print $2, print $3): Remove
2726 (print $4): Rename to ...
2727 (print $2): ... here.
2728 (print $9): Rename to ...
2729 (print $5): ... here.
2730 (print $10): Rename to ...
2731 (print $6): ... here.
2732 * gdb.fortran/vla.f90: Add pvla initialization.
2734 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2736 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2738 * gdb.fortran/vla-value-sub.exp: Likewise.
2740 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2742 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2744 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2746 * i386-biarch-core.exp: Define corefile using
2747 standard_output_file.
2749 2016-02-12 Yao Qi <yao.qi@linaro.org>
2751 * gdb.arch/arm-single-step-kernel-helper.c: New.
2752 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2754 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2756 * gdb.btrace/tailcall-only.exp: New.
2757 * gdb.btrace/tailcall-only.c: New.
2758 * gdb.btrace/x86_64-tailcall-only.S: New.
2759 * gdb.btrace/i686-tailcall-only.S: New.
2761 2016-02-11 Pedro Alves <palves@redhat.com>
2763 * README (Parallel testing): Add missing double quotes.
2765 2016-02-11 Pedro Alves <palves@redhat.com>
2767 * README (Parallel testing): New section.
2768 (GDB_PARALLEL): Rewrite.
2769 (FORCE_PARALLEL): Document.
2771 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2773 * gdb.trace/tfile-avx.c: New test.
2774 * gdb.trace/tfile-avx.exp: New test.
2776 2016-02-09 Keith Seitz <keiths@redhat.com>
2778 PR breakpoints/19546
2779 * gdb.base/infcall-exec.c: New file.
2780 * gdb.base/infcall-exec2.c: New file.
2781 * gdb.base/infcall-exec.exp: New file.
2783 2016-02-09 Keith Seitz <keiths@redhat.com>
2785 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2786 (toplevel): Call test_bkpt_address.
2788 2016-02-09 Keith Seitz <keiths@redhat.com>
2791 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2792 (toplevel): Call test_bkpt_address.
2794 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2796 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2798 * configure: Regenerate.
2800 2016-02-09 Pedro Alves <palves@redhat.com>
2802 PR breakpoints/19548
2803 * gdb.base/execl-update-breakpoints.c (some_function): New
2806 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2807 Tighten expected GDB output.
2809 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2811 * Makefile.in (ALL_SUBDIRS): Remove.
2812 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2813 (distclean maintainer-clean realclean): Likewise.
2814 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2815 * configure: Regenerate.
2816 * gdb.ada/Makefile.in: Delete.
2817 * gdb.arch/Makefile.in: Likewise.
2818 * gdb.asm/Makefile.in: Likewise.
2819 * gdb.base/Makefile.in: Likewise.
2820 * gdb.btrace/Makefile.in: Likewise.
2821 * gdb.cell/Makefile.in: Likewise.
2822 * gdb.compile/Makefile.in: Likewise.
2823 * gdb.cp/Makefile.in: Likewise.
2824 * gdb.disasm/Makefile.in: Likewise.
2825 * gdb.dlang/Makefile.in: Likewise.
2826 * gdb.dwarf2/Makefile.in: Likewise.
2827 * gdb.fortran/Makefile.in: Likewise.
2828 * gdb.gdb/Makefile.in: Likewise.
2829 * gdb.go/Makefile.in: Likewise.
2830 * gdb.guile/Makefile.in: Likewise.
2831 * gdb.java/Makefile.in: Likewise.
2832 * gdb.linespec/Makefile.in: Likewise.
2833 * gdb.mi/Makefile.in: Likewise.
2834 * gdb.modula2/Makefile.in: Likewise.
2835 * gdb.multi/Makefile.in: Likewise.
2836 * gdb.objc/Makefile.in: Likewise.
2837 * gdb.opencl/Makefile.in: Likewise.
2838 * gdb.opt/Makefile.in: Likewise.
2839 * gdb.pascal/Makefile.in: Likewise.
2840 * gdb.perf/Makefile.in: Likewise.
2841 * gdb.python/Makefile.in: Likewise.
2842 * gdb.reverse/Makefile.in: Likewise.
2843 * gdb.server/Makefile.in: Likewise.
2844 * gdb.stabs/Makefile.in: Likewise.
2845 * gdb.threads/Makefile.in: Likewise.
2846 * gdb.trace/Makefile.in: Likewise.
2847 * gdb.xml/Makefile.in: Likewise.
2848 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2850 (standard_output_file): Remove check for GDB_PARALLEL, always
2851 return path in outputs/$subdir/$testname.
2853 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2855 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2856 (site.exp): Assign abs_srcdir to tcl's srcdir.
2858 2016-02-04 Yao Qi <yao.qi@linaro.org>
2860 * gdb.base/foll-exec-mode.c: Include limits.h.
2861 (main): Add parameters argc and argv. Get directory from
2863 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2865 * gdb.base/foll-exec.c: Include limits.h.
2866 (main): Add parameters argc and argv.
2867 Get directory from argv[0].
2868 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2869 Adjust tests on the number of lines as source code changed.
2870 * gdb.base/foll-vfork-exit.c: Include limits.h.
2871 (main): Add one line of statement before vfork.
2872 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2873 (main): Add parameters argc and argv. Get directory from
2875 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2876 (setup_gdb): Set tbreak to skip some source lines.
2877 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2878 (main): Add parameters argc and argv. Get directory from
2880 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2882 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2883 (main): Add parameters argc and argv. Get directory from
2885 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2888 2016-02-01 Doug Evans <dje@google.com>
2890 * gdb.base/skip.exp: Clean up multiple references to same test name.
2892 2016-02-01 Pedro Alves <palves@redhat.com>
2895 * gdb.threads/forking-threads-plus-breakpoint.exp
2896 (displaced_stepping_supported): New global.
2897 (probe_displaced_stepping_support): New procedure.
2898 (do_test): Add 'displaced' parameter, and use it.
2899 (top level): Check for displaced stepping support. Add displaced
2900 stepping on/off testing axis.
2902 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2904 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2905 pointer. Don't perform further tests on the unassociated pointer
2906 if the first test fails.
2908 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2910 * gdb.base/max-value-size.c: New file.
2911 * gdb.base/max-value-size.exp: New file.
2912 * gdb.base/huge.exp: Disable max-value-size for this test.
2914 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2916 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2918 2016-01-28 Yao Qi <yao.qi@linaro.org>
2920 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2922 2016-01-25 Pedro Alves <palves@redhat.com>
2925 * gdb.base/fork-running-state.c: New file.
2926 * gdb.base/fork-running-state.exp: New file.
2928 2016-01-25 Pedro Alves <palves@redhat.com>
2931 * gdb.base/catch-fork-kill.c: New file.
2932 * gdb.base/catch-fork-kill.exp: New file.
2934 2016-01-25 Pedro Alves <palves@redhat.com>
2936 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2937 Delete, moved to lib/gdb.exp.
2938 * gdb.threads/forking-threads-plus-breakpoint.exp
2939 (foreach_with_prefix): Likewise.
2940 * gdb.threads/process-dies-while-handling-bp.exp
2941 (foreach_with_prefix): Likewise.
2942 * lib/gdb.exp (foreach_with_prefix): New procedure.
2944 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2946 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2947 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2949 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2951 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2954 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2955 Pedro Alves <palves@redhat.com>
2957 Fix testsuite compatibility with Guile.
2958 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2961 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2963 Fix testsuite compatibility with Guile.
2964 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2965 (thread 1): New test for backtrace through signal handler.
2967 2016-01-22 Yao Qi <yao.qi@linaro.org>
2970 * gdb.base/multi-forks.c: Include
2971 ../lib/unbuffer_output.c
2972 (main): Call gdb_unbuffer_output.
2974 2016-01-21 Doug Evans <dje@google.com>
2976 * lib/ada.exp (gdb_compile_ada): Fix typo.
2978 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2980 * gdb.base/break-fun-addr.exp: New file.
2981 * gdb.base/break-fun-addr1.c: New file.
2982 * gdb.base/break-fun-addr2.c: New file.
2984 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2986 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2987 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2990 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2992 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2993 when GDB can not set the vector return value. Add more comments
2996 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2998 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
3001 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3003 * Makefile.in (DO_RUNTEST): Add --status and update usages.
3005 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3007 * Makefile.in (check-single): Pass --status to runtest.
3008 (check/%.exp): Likewise.
3010 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3012 * Makefile.in (check-parallel): Propagate return code from make
3015 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
3017 * gdb.trace/ftrace.exp: Fix expected message on continue.
3018 * gdb.trace/pending.exp: Fix expected message on continue.
3019 * gdb.trace/trace-break.exp: Fix expected message on continue.
3021 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3023 * lib/gdb.exp (gdb_test): Remove unused global references.
3025 2016-01-18 Pedro Alves <palves@redhat.com>
3027 * gdb.base/async-shell.exp: Adjust expected output.
3028 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3029 * gdb.base/siginfo-thread.exp: Adjust expected output.
3030 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3031 * gdb.java/jnpe.exp: Adjust expected output.
3032 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3033 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3034 * gdb.threads/leader-exit.exp: Adjust expected output.
3035 * gdb.threads/manythreads.exp: Adjust expected output.
3036 * gdb.threads/pthreads.exp: Adjust expected output.
3037 * gdb.threads/schedlock.exp: Adjust expected output.
3038 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3039 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3041 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3043 * gdb.threads/sigthread.exp: Adjust expected output.
3044 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3046 2016-01-18 Yao Qi <yao.qi@linaro.org>
3048 * gdb.guile/scm-section-script.c: Replace @progbits with
3050 * gdb.python/py-section-script.c: Likewise.
3052 2016-01-15 Pedro Alves <palves@redhat.com>
3054 * gdb.multi/tids.exp: Test star wildcard ranges.
3056 2016-01-15 Pedro Alves <palves@redhat.com>
3058 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3059 command from "thread apply" invocation.
3060 (thr_apply_info_thr_invalid): Default the expected output to the
3062 (top level): Add tests that use convenience variables. Add tests
3063 for "thread apply" with a valid TID list, but missing the command.
3065 2016-01-13 Pedro Alves <palves@redhat.com>
3067 * gdb.base/default.exp: Expect $_gthread as well.
3068 * gdb.multi/tids.exp: Test $_gthread.
3069 * gdb.threads/thread-specific.exp: Test $_gthread.
3071 2016-01-13 Pedro Alves <palves@redhat.com>
3073 * gdb.multi/tids.exp: Test "info threads -gid".
3075 2016-01-13 Pedro Alves <palves@redhat.com>
3077 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3079 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3081 2016-01-07 Pedro Alves <palves@redhat.com>
3083 * gdb.base/break.exp: Adjust to output changes.
3084 * gdb.base/hbreak2.exp: Likewise.
3085 * gdb.base/sepdebug.exp: Likewise.
3086 * gdb.base/watch_thread_num.exp: Likewise.
3087 * gdb.linespec/keywords.exp: Likewise.
3088 * gdb.multi/info-threads.exp: Likewise.
3089 * gdb.threads/thread-find.exp: Likewise.
3090 * gdb.multi/tids.c: New file.
3091 * gdb.multi/tids.exp: New file.
3093 2016-01-13 Pedro Alves <palves@redhat.com>
3095 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3097 2016-01-13 Pedro Alves <palves@redhat.com>
3099 * gdb.base/default.exp: Expect $_inferior as well.
3100 * gdb.multi/base.exp: Test $_inferior.
3102 2016-01-13 Pedro Alves <palves@redhat.com>
3104 PR breakpoints/19388
3105 * gdb.base/catch-signal-siginfo-cond.c: New file.
3106 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3108 2016-01-12 Josh Stone <jistone@redhat.com>
3109 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3111 * gdb.base/catch-syscall.c (do_execve): New variable.
3112 (main): Conditionally trigger an execve.
3113 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3114 (test_catch_syscall_execve): New, check entry/return across execve.
3115 (do_syscall_tests): Call test_catch_syscall_execve.
3117 2016-01-12 Pedro Alves <palves@redhat.com>
3119 * gdb.base/random-signal.exp (do_test): New procedure, with body
3120 of testcase moved in.
3122 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3123 Pedro Alves <palves@redhat.com>
3125 * gdb.base/funcargs.exp (finish from indirectly called function):
3126 Reintroduce the case for 'First'.
3128 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3129 Pedro Alves <palves@redhat.com>
3131 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3132 (tcatch_vfork_then_child_follow_exec)
3133 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3136 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3138 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3139 and repeats to unlimited.
3140 * gdb.python/py-value.exp: Likewise.
3141 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3142 and repeats to unlimited.
3144 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3146 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3147 and reordering the functions.
3148 * gdb.multi/hangout.c: Likewise.
3149 * gdb.multi/hello.c: Likewise.
3151 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3153 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3155 (SingleStatisticTestResult.report): Use dict.keys instead of
3158 2016-01-06 Pedro Alves <palves@redhat.com>
3160 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3162 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3164 * gdb.btrace/dlopen.exp: New.
3165 * gdb.btrace/dlopen.c: New.
3166 * gdb.btrace/dlopen-dso.c: New.
3168 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3170 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3171 PATTERN argument is optional.
3173 2015-12-24 Joel Brobecker <brobecker@adacore.com>
3175 * lib/ada.exp (target_compile_ada_from_dir): New function.
3176 (gdb_compile_ada): Reimplement avoiding the use of project files.
3177 * gdb.ada/gnat_ada.gpr: Delete.
3178 * gdb.ada/cond_lang.exp: Adjust test to make path before
3180 * gdb.ada/small_reg_param.exp: Likewise.
3182 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3184 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3186 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3188 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3191 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3193 * gdb.base/break.exp: Remove dead code.
3194 * gdb.base/sepdebug.exp: Likewise.
3196 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3198 * gdb.asm/asm-source.exp: Remove HP-UX references.
3199 * gdb.base/annota1.exp: Likewise.
3200 * gdb.base/annota3.exp: Likewise.
3201 * gdb.base/attach.exp: Likewise.
3202 * gdb.base/bigcore.exp: Likewise.
3203 * gdb.base/break.exp: Likewise.
3204 * gdb.base/call-ar-st.exp: Likewise.
3205 * gdb.base/callfuncs.exp: Likewise.
3206 * gdb.base/catch-fork-static.exp: Likewise.
3207 * gdb.base/display.exp: Likewise.
3208 * gdb.base/foll-exec-mode.exp: Likewise.
3209 * gdb.base/foll-exec.exp: Likewise.
3210 * gdb.base/foll-fork.exp: Likewise.
3211 * gdb.base/foll-vfork.exp: Likewise.
3212 * gdb.base/funcargs.exp: Likewise.
3213 * gdb.base/hbreak2.exp: Likewise.
3214 * gdb.base/inferior-died.exp: Likewise.
3215 * gdb.base/interrupt.exp: Likewise.
3216 * gdb.base/multi-forks.exp: Likewise.
3217 * gdb.base/nodebug.exp: Likewise.
3218 * gdb.base/sepdebug.exp: Likewise.
3219 * gdb.base/solib1.c: Likewise.
3220 * gdb.base/step-test.exp: Likewise.
3221 * gdb.mi/non-stop.c: Likewise.
3222 * gdb.mi/pthreads.c: Likewise.
3223 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3224 * gdb.threads/pthreads.c: Likewise.
3225 * gdb.threads/staticthreads.exp: Likewise.
3226 * lib/future.exp: Likewise.
3227 * lib/gdb.exp: Likewise.
3228 * gdb.base/so-indr-cl.c: Remove.
3229 * gdb.base/so-indr-cl.exp: Likewise.
3230 * gdb.base/solib.c: Likewise.
3231 * gdb.base/solib.exp: Likewise.
3232 * gdb.base/solib2.c: Likewise.
3234 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3236 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3237 * gdb.base/call-ar-st.exp: Likewise.
3238 * gdb.base/callfuncs.exp: Likewise.
3239 * gdb.base/condbreak.exp: Likewise.
3240 * gdb.base/constvars.exp: Likewise.
3241 * gdb.base/hbreak2.exp: Likewise.
3242 * gdb.base/langs.exp: Likewise.
3243 * gdb.base/list.exp: Likewise.
3244 * gdb.base/long_long.exp: Likewise.
3245 * gdb.base/ptype.exp: Likewise.
3246 * gdb.base/scope.exp: Likewise.
3247 * gdb.base/signals.exp: Likewise.
3248 * gdb.base/so-impl-ld.exp: Likewise.
3249 * gdb.base/varargs.exp: Likewise.
3250 * gdb.base/volatile.exp: Likewise.
3251 * gdb.base/whatis.exp: Likewise.
3252 * gdb.cp/cplusfuncs.exp: Likewise.
3253 * gdb.cp/inherit.exp: Likewise.
3254 * gdb.cp/local.exp: Likewise.
3255 * gdb.cp/member-ptr.exp: Likewise.
3256 * gdb.cp/method.exp: Likewise.
3257 * gdb.cp/overload.exp: Likewise.
3258 * gdb.cp/templates.exp: Likewise.
3259 * gdb.stabs/weird.exp: Likewise.
3260 * lib/compiler.c: Likewise.
3261 * lib/compiler.cc: Likewise.
3262 * lib/cp-support.exp: Likewise.
3263 * lib/gdb.exp: Likewise.
3265 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3267 * configure.ac: Remove HP-UX case.
3268 * configure: Regenerate.
3270 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3272 * lib/gdb.exp (gdb_compile): Add function doc.
3274 2015-12-17 Pedro Alves <palves@redhat.com>
3277 * gdb.multi/info-threads.exp: New file.
3279 2015-12-15 Yao Qi <yao.qi@linaro.org>
3281 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3284 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3286 * gdb.base/history-duplicates.exp: Skip if no readline support.
3288 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3290 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3292 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3294 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3296 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3298 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3299 ctrl-C if nointerrupts target property is set.
3300 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3301 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3302 * gdb.base/paginate-bg-execution.exp: Likewise.
3303 * gdb.base/paginate-execution-startup.exp: Likewise.
3304 * gdb.base/random-signal.exp: Likewise.
3305 * gdb.base/range-stepping.exp: Likewise.
3306 * gdb.cp/annota2.exp: Likewise.
3307 * gdb.cp/annota3.exp: Likewise.
3308 * gdb.gdb/selftest.exp: Likewise.
3309 * gdb.threads/continue-pending-status.exp: Likewise.
3310 * gdb.threads/leader-exit.exp: Likewise.
3311 * gdb.threads/manythreads.exp: Likewise.
3312 * gdb.threads/pthreads.exp: Likewise.
3313 * gdb.threads/schedlock.exp: Likewise.
3314 * gdb.threads/sigthread.exp: Likewise.
3316 2015-12-11 Don Breazeal <donb@codesourcery.com>
3318 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3320 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3321 * gdb.base/foll-exec.exp (main): Enable for target remote.
3322 * gdb.base/foll-fork.exp (main): Likewise.
3323 * gdb.base/foll-vfork.exp (main): Likewise.
3324 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3325 (proc continue_to_exit_bp_loc): Use clean_restart.
3326 * gdb.base/pie-execl.exp (main): Disable for target remote.
3327 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3328 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3329 * gdb.threads/execl.exp (main): Likewise.
3330 * gdb.threads/fork-child-threads.exp (main): Likewise.
3331 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3333 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3335 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3336 pid.tid style ptids, instead of just tid.
3337 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3338 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3339 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3340 ptids, instead of just tid.
3342 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3344 * gdb.base/list.exp (test_list_forward): Add end of file error
3346 (test_repeat_list_command): Add end of file error test.
3347 (test_list_backwards): Add beginning of file error test.
3349 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3351 * gdb.base/list.exp (test_list_invalid_args): New function,
3352 defined, and called.
3354 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3356 * gdb.base/list.exp (test_list): Make test names unique.
3358 2015-12-11 Yao Qi <yao.qi@linaro.org>
3360 * gdb.base/coremaker2.c: Remove.
3362 2015-12-10 Pedro Alves <palves@redhat.com>
3364 * gdb.multi/base.exp: Remove stale "spaces" references.
3366 2015-12-10 Pedro Alves <palves@redhat.com>
3368 * gdb.multi/base.exp: Don't use nowarnings.
3369 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3370 * gdb.multi/hangout.c: Include stdio.h.
3371 * gdb.multi/hello.c: Include stdlib.h.
3372 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3373 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3374 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3376 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3378 * gdb.dwarf2/dw2-ranges-base.c: New file.
3379 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3380 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3381 support additional line table, and debug ranges generation.
3382 (Dwarf::ranges): New function, generate .debug_ranges.
3383 (Dwarf::lines): Support generating simple line table programs.
3384 (Dwarf::assemble): Initialise new namespace variables.
3386 2015-12-09 Kevin Buettner <kevinb@redhat.com>
3388 * gdb.base/async.exp (proc test_background): Add case for
3389 asynchronous execution not supported.
3391 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
3393 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3394 format and change test names to make them unique.
3396 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3397 Pedro Alves <pedro@redhat.com>
3400 Add checking of floatformats setup on x86_64 hosts.
3401 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3402 (smallval, bigval): New labels/constants.
3403 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3404 float" after loading bigval and smallval.
3406 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3408 * gdb.ada/fun_overload_menu.exp: New testcase.
3409 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3411 2015-12-04 Josh Stone <jistone@redhat.com>
3413 * gdb.base/catch-fork-static.exp: New.
3415 2015-12-03 Yao Qi <yao.qi@linaro.org>
3417 * gdb.base/sizeof.c: Don't include stdio.h and
3418 ../lib/unbuffer_output.c.
3419 (main): New variable 'size' and 'value'. Remove printf and
3420 gdb_unbuffer_output. Assign return value to size and value.
3421 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3423 (check_sizeof): Check the result by printing variable 'size'.
3424 (check_valueof): Check the result by printing variable 'value'.
3426 2015-12-01 Yao Qi <yao.qi@linaro.org>
3428 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3429 for aarch64*-*-linux* target.
3431 2015-11-30 Pedro Alves <palves@redhat.com>
3433 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3435 2015-11-30 Pedro Alves <palves@redhat.com>
3437 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3438 Handle non-stop mode vCont replies.
3440 2015-11-30 Pedro Alves <palves@redhat.com>
3442 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3443 prepare_for_testing. Start gdb with "set non-stop on" appended to
3444 GDBFLAGS. Lax expected stop output.
3446 2015-11-27 Yao Qi <yao.qi@linaro.org>
3448 * gdb.arch/arm-neon.exp: New.
3449 * gdb.arch/arm-neon.c: New.
3451 2015-11-27 Yao Qi <yao.qi@linaro.org>
3453 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3455 2015-11-27 Yao Qi <yao.qi@linaro.org>
3457 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3458 frames-invalid annotation.
3460 2015-11-27 Yao Qi <yao.qi@linaro.org>
3462 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3464 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3466 * gdb.threads/names.exp: New file.
3467 * gdb.threads/names.c: New file.
3468 * README: Mention gdb,no_thread_names.
3470 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3473 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3476 2015-11-24 Pedro Alves <palves@redhat.com>
3479 * gdb.base/display.exp: Expect displays to be sorted in ascending
3480 order. Use multi_line.
3481 * gdb.base/solib-display.exp: Likewise.
3483 2015-11-24 Pedro Alves <palves@redhat.com>
3486 * gdb.base/display.exp: Expect displays to be sorted in ascending
3487 order. Use multi_line.
3488 * gdb.base/solib-display.exp: Likewise.
3490 2015-11-24 Pedro Alves <palves@redhat.com>
3493 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3494 threads in ascending order.
3495 * gdb.base/foll-fork.exp: Likewise.
3496 * gdb.base/foll-vfork.exp: Likewise.
3497 * gdb.base/multi-forks.exp: Likewise.
3498 * gdb.mi/mi-nonstop.exp: Likewise.
3499 * gdb.mi/mi-nsintrall.exp: Likewise.
3500 * gdb.multi/base.exp: Likewise.
3501 * gdb.multi/multi-arch.exp: Likewise.
3502 * gdb.python/py-inferior.exp: Likewise.
3503 * gdb.threads/break-while-running.exp: Likewise.
3504 * gdb.threads/execl.exp: Likewise.
3505 * gdb.threads/gcore-thread.exp: Likewise.
3506 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3507 * gdb.threads/kill.exp: Likewise.
3508 * gdb.threads/linux-dp.exp: Likewise.
3509 * gdb.threads/multiple-step-overs.exp: Likewise.
3510 * gdb.threads/next-bp-other-thread.exp: Likewise.
3511 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3512 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3513 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3514 * gdb.threads/thread-find.exp: Likewise.
3515 * gdb.threads/tls.exp: Likewise.
3516 * lib/mi-support.exp (mi_reverse_list): Delete.
3517 (mi_check_thread_states): No longer reverse list.
3519 2015-11-24 Pedro Alves <palves@redhat.com>
3521 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3524 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3526 * gdb.trace/actions.c: Include trace-common.h.
3527 (main): Add a location for a fast tracepoint.
3528 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3529 the normal tracepoints.
3530 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3532 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3534 * save-trace.exp: Factor out code to these...
3535 (gdb_save_tracepoints): New.
3536 (gdb_load_tracepoints): New.
3537 (do_save_load_test): New.
3539 2015-11-23 Kevin Buettner <kevinb@redhat.com>
3541 * gdb.base/asmlabel.exp: New test.
3542 * gdb.base/asmlabel.c: New test case.
3544 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3546 * gdb.base/wrong_frame_bt_full-main.c: New file.
3547 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3548 * gdb.base/wrong_frame_bt_full.exp: New file.
3550 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3552 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3554 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3556 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
3557 pstate register when comparing registers values in
3558 sparc64-*-linux-gnu targets to avoid spurious differences.
3560 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3562 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
3564 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3566 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3567 as type argument to gdb_compile.
3568 * gdb.base/nested-subp2.exp: Likewise.
3569 * gdb.base/nested-subp3.exp: Likewise.
3571 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3573 * lib/dwarf.exp (_note): Fix left shift of negative value.
3574 * gdb.trace/trace-condition.exp: Likewise.
3576 2015-11-13 Yao Qi <yao.qi@linaro.org>
3578 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3579 comments about d10v.
3580 (test_scalar_returns): Likewise.
3581 * gdb.base/d10v.ld: Remove.
3582 * gdb.base/overlays.exp: Remove the target triplet checking for
3584 * gdb.base/structs.exp (test_struct_returns): Remove the
3585 comments about d10v.
3586 (test_struct_calls): Likewise.
3588 2015-11-13 Yao Qi <yao.qi@linaro.org>
3590 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3591 * gdb.base/gnu_vector.c: Don't include stdio.h.
3592 (main): Don't print res and call add_some_intvecs.
3594 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3596 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3599 (func4): Use FAST_TRACEPOINT_LABEL.
3600 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3603 (thread_function): Use FAST_TRACEPOINT_LABEL.
3604 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3606 (marker): Use FAST_TRACEPOINT_LABEL.
3607 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3608 (pendfunc1): Remove.
3609 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3610 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3612 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3613 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3616 (marker): Use FAST_TRACEPOINT_LABEL.
3617 * gdb.trace/trace-common.h: New header.
3618 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3621 (marker): Use FAST_TRACEPOINT_LABEL.
3622 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3624 (thread_function): Use FAST_TRACEPOINT_LABEL.
3626 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3628 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3630 * gdb.trace/change-loc.exp: Use global pcreg definition.
3631 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3632 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3634 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3635 * gdb.trace/pending.exp: Likewise.
3636 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3637 * gdb.trace/trace-break.exp: Likewise.
3638 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3640 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3641 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3643 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3645 2015-11-09 Joel Brobecker <brobecker@adacore.com>
3647 * gdb.ada/fin_fun_out: New testcase.
3649 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3651 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3652 value associated with DW_AT_byte_size.
3653 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3654 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3657 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3659 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3660 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3662 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3663 gdb.dwarf2/dw2-canonicalize-type.exp,
3664 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3665 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3666 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3667 provided by gdb_target_symbol_prefix_flags_asm.
3668 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3669 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3670 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3671 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3672 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3673 macros where needed). Use this macro for symbols which require
3674 the prefix provided by SYMBOL_PREFIX.
3676 2015-11-05 Kevin Buettner <kevinb@redhat.com>
3678 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3680 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3681 representing expressions, of more than one list element.
3682 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3683 to prepend linker symbol prefix to f.
3684 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3685 table_1 and table_2.
3686 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3687 Likewise, for f and g.
3688 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3690 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3692 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3693 table_1_ptr and table_2_ptr.
3695 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3696 Joel Brobecker <brobecker@adacore.com>
3698 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3700 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3702 * gdb.reverse/s390-mvcle.c: New test.
3703 * gdb.reverse/s390-mvcle.exp: New file.
3704 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3706 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3708 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3710 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3712 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3714 * gdb.reverse/getresuid-reverse.exp: Likewise.
3715 * gdb.reverse/pipe-reverse.exp: Likewise.
3716 * gdb.reverse/readv-reverse.exp: Likewise.
3717 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3718 * gdb.reverse/time-reverse.exp: Likewise.
3719 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3721 2015-10-30 Yao Qi <yao.qi@linaro.org>
3723 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3724 (empty_cycle): Remove.
3725 (main): Don't call empty_cycle. Don't use watch_count_done.
3726 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3727 empty_cycle. Rewrite the code counting HW watchpoints.
3729 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3731 * gdb.reverse/fstatat-reverse.c: New test.
3732 * gdb.reverse/fstatat-reverse.exp: New file.
3733 * gdb.reverse/getresuid-reverse.c: New test.
3734 * gdb.reverse/getresuid-reverse.exp: New file.
3735 * gdb.reverse/pipe-reverse.c: New test.
3736 * gdb.reverse/pipe-reverse.exp: New file.
3737 * gdb.reverse/readv-reverse.c: New test.
3738 * gdb.reverse/readv-reverse.exp: New file.
3739 * gdb.reverse/recvmsg-reverse.c: New test.
3740 * gdb.reverse/recvmsg-reverse.exp: New file.
3741 * gdb.reverse/time-reverse.c: New test.
3742 * gdb.reverse/time-reverse.exp: New file.
3743 * gdb.reverse/waitpid-reverse.c: New test.
3744 * gdb.reverse/waitpid-reverse.exp: New file.
3746 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3748 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3750 2015-10-26 Doug Evans <dje@google.com>
3753 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3754 * gdb.dwarf2/bad-regnum.c: New file.
3755 * gdb.dwarf2/bad-regnum.exp: New file.
3757 2015-10-26 Doug Evans <dje@google.com>
3760 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3763 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3765 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3766 for a change by "Mention language in compile error message".
3768 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3771 * gdb.python/py-type.c (C::a_method): New.
3772 (C::a_const_method): New.
3773 (C::a_static_method): New.
3775 * gdb.python/py-type.exp (test_fields): Test getting fields
3776 from function and method.
3778 2015-10-21 Keven Boell <keven.boell@intel.com>
3780 * gdb.fortran/vla-alloc-assoc.exp: New file.
3781 * gdb.fortran/vla-datatypes.exp: New file.
3782 * gdb.fortran/vla-datatypes.f90: New file.
3783 * gdb.fortran/vla-history.exp: New file.
3784 * gdb.fortran/vla-ptype-sub.exp: New file.
3785 * gdb.fortran/vla-ptype.exp: New file.
3786 * gdb.fortran/vla-sizeof.exp: New file.
3787 * gdb.fortran/vla-sub.f90: New file.
3788 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3789 * gdb.fortran/vla-value-sub-finish.exp: New file.
3790 * gdb.fortran/vla-value-sub.exp: New file.
3791 * gdb.fortran/vla-value.exp: New file.
3792 * gdb.fortran/vla-ptr-info.exp: New file.
3793 * gdb.mi/mi-vla-fortran.exp: New file.
3794 * gdb.mi/vla.f90: New file.
3796 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3798 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3799 of hardwired timeout value.
3801 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3802 Pedro Alves <palves@redhat.com>
3804 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3805 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3807 2015-10-19 Josh Stone <jistone@redhat.com>
3809 * gdb.base/catch-syscall.c: Include <sched.h>.
3810 (unknown_syscall): New variable.
3811 (main): Trigger a vfork and an unknown syscall.
3812 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3813 (unknown_syscall_number): Likewise.
3814 (check_call_to_syscall): Accept an optional syscall pattern.
3815 (check_return_from_syscall): Likewise.
3816 (check_continue): Likewise.
3817 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3818 (test_catch_syscall_skipping_return): New test toggling off 'catch
3819 syscall' to step over the syscall return, then toggling back on.
3820 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3821 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3822 (do_syscall_tests): Call test_catch_syscall_without_args and
3823 test_catch_syscall_mid_vfork.
3824 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3825 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3827 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
3829 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3830 print g_vE): Add new pass patterns.
3831 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3832 print various symbol names for vptr fields.
3834 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3836 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3839 2015-10-12 Yao Qi <yao.qi@linaro.org>
3841 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3843 2015-10-12 Yao Qi <yao.qi@linaro.org>
3845 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3846 is aarch64*-*-linux*.
3848 2015-10-12 Yao Qi <yao.qi@linaro.org>
3850 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3851 (can_relocate_bcond_true): ... it.
3852 (can_relocate_bcond_false): New function.
3854 (can_relocate_bl): Likewise.
3855 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3858 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3860 * gdb.base/nested-addr.c: New file.
3861 * gdb.base/nested-addr.exp: New testcase.
3863 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3865 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3866 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3867 its output. Ignore the output of "record goto begin" and instead
3868 check that GDB is replaying.
3870 2015-10-09 Pedro Alves <palves@redhat.com>
3872 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3873 (top level): Use it in the run with no args test.
3875 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3877 * gdb.dlang/properties.exp: New file.
3879 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3881 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3882 whether or not address 0x1000 is mapped on the target.
3884 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3886 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3889 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3891 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3892 instruction-history test.
3894 2015-09-28 Doug Evans <dje@google.com>
3896 * gdb.base/gcore.c (array_func): Add reference to static_array.
3898 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3900 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3903 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3905 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3906 short or char as base type.
3908 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3910 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3911 to allow any size enum.
3913 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3915 * gdb.ada/array_ptr_renaming.exp: New testcase.
3916 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3917 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3919 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3921 * gdb.trace/ftrace-lock.c: New file.
3922 * gdb.trace/ftrace-lock.exp: New file.
3924 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3926 * gdb.arch/insn-reloc.c: New file.
3927 * gdb.arch/ftrace-insn-reloc.exp: New file.
3929 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3931 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3933 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3934 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3935 * gdb.trace/range-stepping.c: Likewise.
3936 * gdb.trace/trace-break.c: Likewise.
3937 * gdb.trace/trace-mt.c (thread_function): Likewise.
3938 * gdb.trace/ftrace.c (marker): Likewise.
3939 * gdb.trace/trace-condition.c (marker): Likewise.
3940 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3941 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3944 2015-09-18 Doug Evans <xdje42@gmail.com>
3946 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3947 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3949 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3951 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3954 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3956 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3957 the pending breakpoint. Remove timeout override for "Run till
3958 MI pending breakpoint on pendfunc3 on thread 2" test.
3960 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3962 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3965 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3967 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3968 in breakpoint filename pattern.
3970 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3972 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3974 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3976 * gdb.linespec/explicit.exp: Check for readline support for
3977 tab-completion tests. Fix obvious typo.
3979 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3981 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3984 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3986 * gdb.btrace/non-stop.c: New.
3987 * gdb.btrace/non-stop.exp: New.
3989 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3990 Yao Qi <yao.qi@linaro.org>
3992 * gdb.trace/trace-condition.c: New file.
3993 * gdb.trace/trace-condition.exp: New file.
3995 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3997 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3998 for testing bytecode compilation.
4000 2015-09-16 Pedro Alves <palves@redhat.com>
4001 Sandra Loosemore <sandra@codesourcery.com>
4003 * gdb.threads/non-stop-fair-events.c (timeout): New global.
4004 (SECONDS): Redefine.
4005 (main): Call pthread_kill and alarm early.
4006 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
4008 (test): If the target can't hardware step and doesn't support
4009 displaced stepping, increase the timeout.
4011 2015-09-16 Pedro Alves <palves@redhat.com>
4013 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4014 (enable_debug): New procedures.
4015 (test): Use them. Bail out if waiting for threads fails.
4016 (top level): Bail out if a test fails.
4018 2015-09-16 Yao Qi <yao.qi@linaro.org>
4020 * gdb.asm/asm-source.exp: Set asm-arch for
4021 aarch64*-*-* target.
4022 * gdb.asm/aarch64.inc: New file.
4024 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4026 * gdb.ada/array_of_variable_length.exp: New testcase.
4027 * gdb.ada/array_of_variable_length/foo.adb: New file.
4028 * gdb.ada/array_of_variable_length/pck.adb: New file.
4029 * gdb.ada/array_of_variable_length/pck.ads: New file.
4031 2015-09-15 Doug Evans <dje@google.com>
4033 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4034 of function static local variable.
4036 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4038 * gdb.threads/tls-so_extern.exp: New test file.
4039 * gdb.threads/tls-so_extern.c: New test file.
4040 * gdb.threads/tls-so_extern_main.c: New test file.
4042 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4044 * gdb.opt/solib-intra-step-lib.c: New file.
4045 * gdb.opt/solib-intra-step-main.c: New file.
4046 * gdb.opt/solib-intra-step.exp: New file.
4048 2015-09-15 Pedro Alves <palves@redhat.com>
4050 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4051 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4053 2015-09-14 Pedro Alves <palves@redhat.com>
4055 * gdb.base/hook-stop-continue.c: Delete.
4056 * gdb.base/hook-stop-continue.exp: Delete.
4057 * gdb.base/hook-stop-frame.c: Delete.
4058 * gdb.base/hook-stop-frame.exp: Delete.
4059 * gdb.base/hook-stop.c: New file.
4060 * gdb.base/hook-stop.exp: New file.
4062 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4064 * gdb.ada/access_to_packed_array.exp: New testcase.
4065 * gdb.ada/access_to_packed_array/foo.adb: New file.
4066 * gdb.ada/access_to_packed_array/pack.adb: New file.
4067 * gdb.ada/access_to_packed_array/pack.ads: New file.
4069 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4071 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4074 2015-09-11 Don Breazeal <donb@codesourcery.com>
4076 * gdb.base/foll-exec.c: Add copyright header. Fix
4078 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4079 (do_exec_tests): Use clean_restart in place of zap_session,
4080 and for test initialization. Fix formatting issues. Use
4081 fail in place of perror.
4082 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4083 an expect statement to match an expression with output from
4084 the program under debug.
4085 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4086 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4087 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4088 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4089 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4091 2015-09-09 Doug Evans <dje@google.com>
4093 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4095 2015-09-09 Doug Evans <dje@google.com>
4097 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4099 2015-09-09 Doug Evans <dje@google.com>
4101 * gdb.base/savedregs.exp: Fix typo.
4103 2015-09-09 Pedro Alves <palves@redhat.com>
4105 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4107 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4109 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4110 command actually switches threads. Give up on remaining
4111 tests if target fails to stop at breakpoint.
4113 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4115 * gdb.ada/funcall_char.exp: New testcase.
4116 * gdb.ada/funcall_char/foo.adb: New file.
4118 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4120 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4121 expected outputs. Add two testcases for completing ambiguous
4123 * gdb.ada/complete/aux_pck.adb: New file.
4124 * gdb.ada/complete/aux_pck.ads: New file.
4125 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4126 Ambiguous_Func functions.
4127 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4128 * gdb.ada/complete/pck.adb: Likewise.
4130 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4132 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4133 failures to run the test program under GDB.
4135 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4137 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4140 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4142 * gdb.base/run-after-attach.exp: New test file.
4143 * gdb.base/run-after-attach.c: New test file.
4145 2015-08-26 Don Breazeal <donb@codesourcery.com>
4147 * gdb.base/foll-exec-2.c: New test program.
4148 * gdb.base/foll-exec-2.exp: New test.
4150 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4152 * gdb.base/nested-subp1.exp: New file.
4153 * gdb.base/nested-subp1.c: New file.
4154 * gdb.base/nested-subp2.exp: New file.
4155 * gdb.base/nested-subp2.c: New file.
4156 * gdb.base/nested-subp3.exp: New file.
4157 * gdb.base/nested-subp3.c: New file.
4159 2015-08-24 Pedro Alves <palves@redhat.com>
4161 * gdb.server/connect-without-multi-process.c: New file.
4162 * gdb.server/connect-without-multi-process.exp: New file.
4164 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4166 * gdb.opt/inline-markers.c: Make z int.
4168 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4170 * gdb.opt/inline-markers.c: Make z volatile.
4172 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4174 * gdb.opt/inline-bt.c: New volatile global z.
4175 * gdb.opt/inline-cmds.c: Likewise.
4176 * gdb.opt/inline-locals.c: Likewise.
4177 * gdb.opt/inline-markers.c: New extern global z.
4179 (inline_fn): Likewise.
4181 2015-08-24 Pedro Alves <palves@redhat.com>
4183 * config/m32r-stub.exp: Remove file.
4184 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4185 * gdb.base/call-rt-st.exp: Likewise.
4186 * gdb.base/call-strs.exp: Likewise.
4187 * gdb.base/default.exp: Remove references to h8300-*-hms and
4189 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4191 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4193 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4194 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4195 and "return" use KFAIL when GDB can not read/write the vector
4198 2015-08-21 Gary Benson <gbenson@redhat.com>
4200 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4202 2015-08-20 Pedro Alves <palves@redhat.com>
4204 * gdb.server/solib-list.exp: No longer expect an interior stop in
4207 2015-08-20 Pedro Alves <palves@redhat.com>
4209 * gdb.server/connect-stopped-target.c: New file.
4210 * gdb.server/connect-stopped-target.exp: New file.
4212 2015-08-20 Pedro Alves <palves@redhat.com>
4214 * gdb.dwarf2/comp-unit-lang.exp: New file.
4215 * gdb.dwarf2/comp-unit-lang.c: New file.
4217 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4219 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4220 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4222 2015-08-19 Kevin Buettner <kevinb@redhat.com>
4224 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4225 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4227 2015-08-18 Doug Evans <dje@google.com>
4228 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4230 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4231 skip_python_tests. New arg prompt_regexp.
4232 (skip_python_tests): New function.
4233 * lib/mi-support.exp (mi_skip_python_tests): New function.
4234 * gdb.python/py-mi-objfile-gdb.py: New file.
4235 * gdb.python/py-mi-objfile.c: New file.
4236 * gdb.python/py-mi-objfile.exp: New file.
4238 2015-08-17 Keith Seitz <keiths@redhat.com>
4240 * gdb.linespec/explicit.exp: Move strace test from here ...
4241 * gdb.trace/strace.exp: ... to here.
4243 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4245 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4246 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4248 2015-08-14 Doug Evans <xdje42@gmail.com>
4250 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4251 inferior before selecting a new file.
4253 2015-08-14 Doug Evans <xdje42@gmail.com>
4255 * gdb.mi/mi-disassemble.exp: Update.
4256 * gdb.base/disasm-optim.S: New file.
4257 * gdb.base/disasm-optim.c: New file.
4258 * gdb.base/disasm-optim.h: New file.
4259 * gdb.base/disasm-optim.exp: New file.
4261 2015-08-14 Keith Seitz <keiths@redhat.com>
4263 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4266 2015-08-13 Joel Brobecker <brobecker@adacore.com>
4268 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4270 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4272 * gdb.ada/fun_renaming.exp: New testcase.
4273 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4274 * gdb.ada/fun_renaming/pack.adb: New file.
4275 * gdb.ada/fun_renaming/pack.ads: New file.
4277 2015-08-12 Keith Seitz <keiths@redhat.com>
4279 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4280 gdb_get_line_number.
4282 2015-08-12 Joel Brobecker <brobecker@adacore.com>
4284 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4285 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4286 gdb.base/dso2dso.exp: New files.
4288 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4289 Pedro Alves <palves@redhat.com>
4290 Keith Seitz <keiths@redhat.com>
4292 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4295 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4297 * gdb.base/gdbhistsize-history.exp
4298 (test_histsize_history_setting): Use save_vars.
4299 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4301 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4302 * gdb.base/readline.exp: Use save_vars.
4304 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4306 * lib/gdb.exp (save_vars): New proc.
4308 2015-08-11 Keith Seitz <keiths@redhat.com>
4310 * gdb.base/help.exp: Update help_breakpoint_text.
4312 2015-08-11 Keith Seitz <keiths@redhat.com>
4314 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4315 (at toplevel): Call test_explicit_breakpoints.
4316 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4318 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4319 breakpoint conditions, "-cond".
4321 2015-08-11 Keith Seitz <keiths@redhat.com>
4323 * gdb.linespec/3explicit.c: New file.
4324 * gdb.linespec/cpexplicit.cc: New file.
4325 * gdb.linespec/cpexplicit.exp: New file.
4326 * gdb.linespec/explicit.c: New file.
4327 * gdb.linespec/explicit.exp: New file.
4328 * gdb.linespec/explicit2.c: New file.
4329 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4330 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4331 before using in the matching pattern.
4332 Clarify that `prefix' is a regular expression.
4334 2015-08-11 Keith Seitz <keiths@redhat.com>
4336 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4338 Add tests for missing ",FMT" and ",".
4340 2015-08-10 Doug Evans <dje@google.com>
4341 Keith Seitz <keiths@redhat.com>
4344 * gdb.base/completion.exp: Add location completer tests.
4346 2015-08-07 Pedro Alves <palves@redhat.com>
4348 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4350 (top level): Run do_test with and without displaced stepping.
4352 2015-08-07 Pedro Alves <palves@redhat.com>
4354 * gdb.base/valgrind-disp-step.c: New file.
4355 * gdb.base/valgrind-disp-step.exp: New file.
4357 2015-08-07 Pedro Alves <palves@redhat.com>
4359 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4361 (main): Add alarm. Run an infinite loop instead of calling
4363 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4365 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4367 (main): Add alarm. Run an infinite loop instead of calling
4369 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4372 2015-08-07 Pedro Alves <palves@redhat.com>
4374 * gdb.base/checkpoint-ns.exp: New file.
4375 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4378 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4380 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4381 * gdb.btrace/instruction_history.exp: Update.
4382 * gdb.btrace/tsx.exp: New.
4383 * gdb.btrace/tsx.c: New.
4385 2015-08-06 Pedro Alves <palves@redhat.com>
4387 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4389 * gdb.reverse/until-precsave.exp: Bump timeouts.
4391 2015-08-06 Pedro Alves <palves@redhat.com>
4393 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4395 2015-08-06 Pedro Alves <palves@redhat.com>
4398 * gdb.threads/process-dies-while-handling-bp.c: New file.
4399 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4401 2015-08-06 Pedro Alves <palves@redhat.com>
4403 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4404 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4406 2015-08-05 Pedro Alves <palves@redhat.com>
4408 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4409 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4411 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4413 * gdb.base/bp-permanent.exp: Report test as unsupported if
4414 the target cannot stop at the permanent breakpoint.
4416 2015-08-03 Doug Evans <dje@google.com>
4418 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4421 2015-08-03 Doug Evans <dje@google.com>
4423 * Makefile.in (workers/%.worker, build-perf): New rule.
4424 (GDB_PERFTEST_MODE): New variable.
4425 (check-perf): Use it.
4426 (clean): Clean up gdb.perf parallel build subdirs.
4427 * lib/build-piece.exp: New file.
4428 * lib/gdb.exp (make_gdb_parallel_path): New function
4429 (standard_output_file, standard_temp_file): Call it.
4430 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4432 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4434 2015-08-03 Doug Evans <dje@google.com>
4436 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4437 (LOG_FILE_NAME): New global.
4438 (TextReporter.__init__): Initialize self.txt_sum.
4439 (TextReporter.report): Add support for multiple data-points.
4440 Move report to perftest.sum, put raw data in perftest.log.
4441 (TextReporter.start): Open sum and log files.
4442 (TextReporter.end): Close sum and log files.
4443 * gdb.perf/lib/perftest/testresult.py
4444 (SingleStatisticTestResult.record): Handle multiple data-points.
4446 2015-07-31 Pedro Alves <palves@redhat.com>
4448 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4449 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4450 kill_wait_spawned_process instead of explicit "kill -9".
4451 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4452 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4453 kill_wait_spawned_process.
4454 * gdb.base/attach-twice.exp: Likewise.
4455 * gdb.base/attach.exp: Likewise.
4456 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4458 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4459 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4460 kill_wait_spawned_process.
4461 * gdb.base/valgrind-infcall.exp: Likewise.
4462 * gdb.multi/multi-attach.exp: Likewise.
4463 * gdb.python/py-prompt.exp: Likewise.
4464 * gdb.python/py-sync-interp.exp: Likewise.
4465 * gdb.server/ext-attach.exp: Likewise.
4466 * gdb.threads/attach-into-signal.exp (corefunc): Use
4467 spawn_wait_for_attach, spawn_id_get_pid and
4468 kill_wait_spawned_process.
4469 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4470 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4471 spawn_id_get_pid and kill_wait_spawned_process.
4472 * gdb.threads/attach-stopped.exp (corefunc): Use
4473 spawn_wait_for_attach, spawn_id_get_pid and
4474 kill_wait_spawned_process.
4475 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4476 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4477 kill_wait_spawned_process instead of explicit "kill -9".
4478 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4479 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4480 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4481 processes. Don't map cygwin/windows pids here. Now returns a
4484 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4486 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4487 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4490 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4492 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4494 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4497 2014-05-21 Mark Wielaard <mjw@redhat.com>
4499 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4501 2015-07-30 Pedro Alves <palves@redhat.com>
4503 * linux-low.c (handle_extended_wait): Set the child's last
4504 reported status to TARGET_WAITKIND_STOPPED.
4506 2015-07-30 Pedro Alves <palves@redhat.com>
4509 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4510 only shows inferior 1.
4512 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4513 Pedro Alves <palves@redhat.com>
4516 * gdb.threads/fork-plus-threads.c: New file.
4517 * gdb.threads/fork-plus-threads.exp: New file.
4519 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4521 * gdb.base/batch-preserve-term-settings.exp
4522 (test_terminal_settings_preserved_after_cli_exit): Use
4525 2015-07-29 Pedro Alves <palves@redhat.com>
4526 Don Breazeal <donb@codesourcery.com>
4528 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4529 output from both inferior_spawn_id and gdb_spawn_id.
4531 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4533 * gdb.threads/attach-into-signal.exp (corefunc): Use
4534 with_test_prefix on nested loops, uniquefying the test messages.
4536 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4538 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4541 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4543 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4545 (test_terminal_settings_preserved_after_sigterm): New test.
4547 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4549 * gdb.base/batch-preserve-term-settings.exp
4550 (test_terminal_settings_preserved_after_cli_exit): New test.
4552 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4554 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4555 manipulation of saved_gdbflags.
4556 (test_terminal_settings_preserved): Remove global declaration of
4557 the unused variable pagination_prompt. Remove manipulation of
4558 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4561 2015-07-29 Pedro Alves <palves@redhat.com>
4563 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4565 2015-07-29 Pedro Alves <palves@redhat.com>
4567 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4570 2015-07-29 Pedro Alves <palves@redhat.com>
4572 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4573 (main): Call gdb_unbuffer_output.
4574 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4575 (main): Call gdb_unbuffer_output.
4576 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4577 (main): Call gdb_unbuffer_output.
4578 * gdb.base/call-strs.exp: Adjust to step over the
4579 gdb_unbuffer_output call.
4580 * gdb.base/catch-gdb-caused-signals.c: Include
4581 "../lib/unbuffer_output.c".
4582 (main): Call gdb_unbuffer_output.
4583 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4584 (main): Call gdb_unbuffer_output.
4585 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4586 (main): Call gdb_unbuffer_output.
4587 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4588 (main): Call gdb_unbuffer_output.
4589 * gdb.base/shlib-call.exp: Adjust to step over the
4590 gdb_unbuffer_output call.
4591 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4592 (main): Call gdb_unbuffer_output.
4593 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4594 (main): Call gdb_unbuffer_output.
4595 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4596 (main): Rename to ...
4598 (main): Reimplement.
4599 * gdb.base/varargs.exp: Run to test instead of to main.
4600 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4601 (main): Call gdb_unbuffer_output.
4603 2015-07-29 Pedro Alves <palves@redhat.com>
4605 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4606 factore out from mi_continue_dprintf. For call-style dprintfs,
4607 expect dprintf output out of $inferior_spawn_id.
4608 (mi_continue_dprintf): Use mi_expect_dprintf.
4609 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4610 (main): Call gdb_unbuffer_output.
4612 2015-07-29 Pedro Alves <palves@redhat.com>
4614 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4615 (default_mi_gdb_start): Set inferior_spawn_id instead of
4616 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4618 (mi_gdb_test): Always expect inferior output from both
4619 $inferior_spawn_id and $gdb_spawn_id.
4621 2015-07-29 Pedro Alves <palves@redhat.com>
4623 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4624 send_inferior and $inferior_spawn_id.
4626 2015-07-29 Pedro Alves <palves@redhat.com>
4628 * gdb.gdb/complaints.exp (test_initial_complaints)
4629 (test_serial_complaints, test_short_complaints): Use
4631 (test_empty_complaint): Handle $inferior_spawn_id !=
4634 2015-07-29 Pedro Alves <palves@redhat.com>
4636 * gdb.base/varargs.exp: Use gdb_test_stdio.
4638 2015-07-29 Pedro Alves <palves@redhat.com>
4640 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4642 2015-07-29 Pedro Alves <palves@redhat.com>
4644 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4646 2015-07-29 Pedro Alves <palves@redhat.com>
4648 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4649 parameter into two new parameters, "inf_result" and "gdb_result".
4650 Expect inferior output and gdb output from $inferior_spawn_id and
4651 $gdb_spawn_id, respectively. Adjust all callers.
4653 2015-07-29 Pedro Alves <palves@redhat.com>
4655 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4656 of gdb_test_sequence.
4658 2015-07-29 Pedro Alves <palves@redhat.com>
4660 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4661 (saw_spurious_output): Expect inferior output from
4662 $inferior_spawn_id. Use gdb_test_stdio.
4664 2015-07-29 Pedro Alves <palves@redhat.com>
4666 * gdb.base/dprintf.exp: Use standard_testfile. Change
4667 prepare_for_testing call.
4668 (srcfile): Don't set.
4669 (restart): New procedure.
4670 (test_dprintf): New procecure, use to continue over dprintfs.
4671 (test_call, test_agent): New procedures, tests moved here.
4672 Restart gdb and recreate dprintfs. Adjust expected output.
4674 2015-07-29 Pedro Alves <palves@redhat.com>
4676 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4678 2015-07-29 Pedro Alves <palves@redhat.com>
4680 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4682 2015-07-29 Pedro Alves <palves@redhat.com>
4684 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4687 2015-07-29 Pedro Alves <palves@redhat.com>
4689 * lib/gdb.exp (gdb_test_stdio): New procedure.
4691 2015-07-29 Pedro Alves <palves@redhat.com>
4693 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4695 2015-07-29 Pedro Alves <palves@redhat.com>
4697 * gdb.base/call-signal-resume.exp: Remove check for
4698 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4699 * gdb.base/unwindonsignal.exp: Likewise.
4700 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4701 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4703 2015-07-29 Pedro Alves <palves@redhat.com>
4705 * gdb.base/siginfo-addr.c (pass): New function.
4706 (handler): Call it iff si_addr is correct.
4707 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4708 Set a breakpoint at "pass" and continue to it.
4710 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4712 * gdb.python/py-objfile.exp: Make some tests have unique names.
4713 * gdb.python/py-pp-registration.exp: Likewise.
4715 2015-07-28 Pedro Alves <palves@redhat.com>
4717 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4719 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4721 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4723 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4725 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4727 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4729 * gdb.base/gdb-sigterm-2.exp: New test.
4731 2015-07-25 Doug Evans <xdje42@gmail.com>
4734 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4735 (workers/%.worker, build-perf): New rule.
4736 (GDB_PERFTEST_MODE): New variable.
4737 (check-perf): Use it.
4738 (clean): Clean up gdb.perf parallel build subdirs.
4739 * lib/build-piece.exp: New file.
4740 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4741 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4743 (standard_temp_file): Ditto.
4744 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4747 2015-07-24 Doug Evans <dje@google.com>
4749 * gdb.perf/lib/perftest/utils.py: New file.
4750 * gdb.perf/gm-hello.cc: New file.
4751 * gdb.perf/gm-pervasive-typedef.cc: New file.
4752 * gdb.perf/gm-pervasive-typedef.h: New file.
4753 * gdb.perf/gm-std.cc: New file.
4754 * gdb.perf/gm-std.h: New file.
4755 * gdb.perf/gm-use-cerr.cc: New file.
4756 * gdb.perf/gm-utils.h: New file.
4757 * gdb.perf/gmonster-null-lookup.py: New file.
4758 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4759 * gdb.perf/gmonster-print-cerr.py: New file.
4760 * gdb.perf/gmonster-ptype-string.py: New file.
4761 * gdb.perf/gmonster-runto-main.py: New file.
4762 * gdb.perf/gmonster-select-file.py: New file.
4763 * gdb.perf/gmonster1-null-lookup.exp: New file.
4764 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4765 * gdb.perf/gmonster1-print-cerr.exp: New file.
4766 * gdb.perf/gmonster1-ptype-string.exp: New file.
4767 * gdb.perf/gmonster1-runto-main.exp: New file.
4768 * gdb.perf/gmonster1-select-file.exp: New file.
4769 * gdb.perf/gmonster1.cc: New file.
4770 * gdb.perf/gmonster1.exp: New file.
4771 * gdb.perf/gmonster2-null-lookup.exp: New file.
4772 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4773 * gdb.perf/gmonster2-print-cerr.exp: New file.
4774 * gdb.perf/gmonster2-ptype-string.exp: New file.
4775 * gdb.perf/gmonster2-runto-main.exp: New file.
4776 * gdb.perf/gmonster2-select-file.exp: New file.
4777 * gdb.perf/gmonster2.cc: New file.
4778 * gdb.perf/gmonster2.exp: New file.
4780 2015-07-24 Doug Evans <dje@google.com>
4782 * gdb.perf/README: New file.
4783 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4784 * lib/gen-perf-test.exp: New file.
4786 2015-07-24 Doug Evans <dje@google.com>
4788 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4789 (PerfTest::startup): New function.
4790 (PerfTest::run): Return result of calling body.
4791 (PerfTest::assemble): Rewrite.
4792 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4793 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4794 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4795 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4796 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4798 2015-07-24 Doug Evans <dje@google.com>
4800 * lib/gdb.exp (clean_restart): Make executable optional.
4802 2015-07-24 Doug Evans <dje@google.com>
4804 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4805 compiler_info references.
4806 * gdb.cp/temargs.exp: Ditto.
4807 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4808 (get_compiler_info): Early exit if already computed. Set compiler_info
4809 to "unknown" if there was a problem.
4810 (test_compiler_info): Add function comment. Call get_compiler_info.
4812 2015-07-24 Doug Evans <dje@google.com>
4814 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4815 (workers/%.worker, build-perf): New rule.
4816 (GDB_PERFTEST_MODE): New variable.
4817 (check-perf): Use it.
4818 (clean): Clean up gdb.perf parallel build subdirs.
4819 * lib/build-piece.exp: New file.
4820 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4821 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4823 (standard_temp_file): Ditto.
4824 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4827 2015-07-24 Doug Evans <dje@google.com>
4829 * lib/future.exp (gdb_default_target_compile): New option
4831 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4834 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4836 * gdb.base/catch-syscall.exp: Call gdb_exit before
4839 2015-07-24 Pedro Alves <palves@redhat.com>
4841 * gdb.python/py-events.exp: Accept output between the stop event
4843 * gdb.python/py-evsignal.exp: Likewise.
4844 * gdb.python/py-evthreads.exp: Likewise.
4846 2015-07-24 Pedro Alves <palves@redhat.com>
4849 * gdb.threads/non-ldr-exit.c: New file.
4850 * gdb.threads/non-ldr-exit.exp: New file.
4852 2015-07-24 Yao Qi <yao.qi@linaro.org>
4854 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4857 2015-07-24 Yao Qi <yao.qi@linaro.org>
4859 * gdb.server/ext-restart.exp: New file.
4861 2015-07-24 Yao Qi <yao.qi@linaro.org>
4863 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4865 * gdb.server/ext-wrapper.exp: New file.
4867 2015-07-23 Doug Evans <dje@google.com>
4869 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4870 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4872 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4874 * gdb.ada/var_arr_typedef.exp: New testcase.
4875 * gdb.ada/var_arr_typedef/pack.adb: New file.
4876 * gdb.ada/var_arr_typedef/pack.ads: New file.
4877 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4879 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4881 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4883 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4885 * gdb.arch/i386-biarch-core.exp: Replace istarget
4886 by "complete set gnutarget". Remove expectation for the "core-file"
4889 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4891 Revert the previous commit:
4892 Tests for validate symbol file using build-id.
4894 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4896 Tests for validate symbol file using build-id.
4897 * gdb.base/solib-mismatch-lib.c: New file.
4898 * gdb.base/solib-mismatch-libmod.c: New file.
4899 * gdb.base/solib-mismatch.c: New file.
4900 * gdb.base/solib-mismatch.exp: New file.
4902 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4904 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4906 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4907 * gdb.base/siginfo.exp: Likewise.
4908 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4910 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4912 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4914 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4916 * gdb.trace/range-stepping.exp: Check that the target supports
4919 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4921 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4923 2015-07-14 Pedro Alves <palves@redhat.com>
4925 * gdb.base/killed-outside.exp: New file.
4926 * gdb.base/killed-outside.c: New file.
4928 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4930 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4932 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4934 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4936 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4937 infcall tests instead of setting up for KFAIL.
4939 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4941 * gdb.btrace/record_goto-step.exp: New.
4943 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4946 * gdb.compile/compile.c (struct struct_type): Add volatile to
4948 * gdb.compile/compile.exp
4949 (compile code struct_object.selffield = &struct_object): Skip further
4950 struct_object tests if this one xfails.
4952 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4955 * gdb.trace/ax.exp: Add test.
4957 2015-07-07 Yao Qi <yao.qi@linaro.org>
4959 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4960 instead of istarget "aarch64*-*-*".
4961 * gdb.arch/aarch64-fp.exp: Likewise.
4962 * gdb.base/float.exp: Likewise.
4963 * gdb.reverse/aarch64.exp: Likewise.
4964 * lib/gdb.exp (is_aarch64_target): New proc.
4966 2015-07-07 Yao Qi <yao.qi@linaro.org>
4968 * lib/gdb.exp (is_aarch32_target): New proc.
4969 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4970 instead of "istarget "arm*-*-*"".
4971 * gdb.arch/arm-disp-step.exp: Likewise.
4972 * gdb.arch/thumb-bx-pc.exp: Likewise.
4973 * gdb.arch/thumb-prologue.exp: Likewise.
4974 * gdb.arch/thumb-singlestep.exp: Likewise.
4975 * gdb.base/disp-step-syscall.exp: Likewise.
4976 * gdb.base/float.exp: Likewise.
4978 2015-07-07 Yao Qi <yao.qi@linaro.org>
4980 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4981 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4983 2015-07-07 Yao Qi <yao.qi@linaro.org>
4985 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4986 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4988 * gdb.multi/multi-arch.exp: Likewise.
4990 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4992 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4995 2015-07-07 Yao Qi <yao.qi@linaro.org>
4997 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4999 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
5001 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
5002 '[' and ']' characters.
5004 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
5006 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5008 2015-06-29 Pedro Alves <palves@redhat.com>
5011 * gdb.threads/hand-call-new-thread.c: New file.
5012 * gdb.threads/hand-call-new-thread.c: New file.
5014 2015-06-26 Keith Seitz <keiths@redhat.com>
5015 Doug Evans <dje@google.com>
5018 * gdb.cp/var-tag-2.cc: New file.
5019 * gdb.cp/var-tag-3.cc: New file.
5020 * gdb.cp/var-tag-4.cc: New file.
5021 * gdb.cp/var-tag.cc: New file.
5022 * gdb.cp/var-tag.exp: New file.
5024 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5026 * gdb.base/history-duplicates.exp: New test.
5028 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5030 * gdb.base/completion.exp: Test the completion of the "focus"
5033 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5035 * gdb.arch/amd64-prologue-skip.S: New file.
5036 * gdb.arch/amd64-prologue-skip.exp: New file.
5038 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5040 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5041 is_address_zero_readable check.
5043 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5045 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5046 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5048 2015-06-24 Yao Qi <yao.qi@linaro.org>
5050 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5053 2015-06-24 Yao Qi <yao.qi@linaro.org>
5055 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5056 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5057 * gdb.base/siginfo-thread.exp: Likewise.
5059 2015-06-22 Yao Qi <yao.qi@linaro.org>
5061 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5063 2015-06-22 Yao Qi <yao.qi@linaro.org>
5065 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5067 (skip_hw_watchpoint_tests): Likewise.
5069 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5071 * gdb.base/gdbinit-history.exp: Test the interaction between
5072 setting GDBHISTSIZE and setting the history size via .gdbinit.
5074 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5077 * gdb.base/gdbhistsize-history.exp: New test.
5079 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5081 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5083 * gdb.base/readline.exp: Likewise.
5085 2015-06-17 Yao Qi <yao.qi@linaro.org>
5087 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5090 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5092 * gdb.base/gdbinit-history.exp: Add test case to check that
5093 an unlimited history file does not get truncated on exit.
5095 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5097 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5098 (VECTOR): New macro. Use it...
5099 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5100 ...for these typedefs.
5101 (int8, char1, int1, double1): New typedefs.
5102 (struct just_int2, struct two_int2): New structures.
5103 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5104 (add_structvecs, add_singlevecs): New functions.
5105 (main): Call add_some_intvecs twice.
5106 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5107 the compile and exit upon failure. Try compiling for the "native"
5108 architecture. Test inferior function calls with vector arguments
5109 and vector return value handling with "finish" and "return".
5111 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5113 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5114 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5116 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5118 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5120 PR breakpoints/16465
5121 * gdb.mi/mi-dprintf-pending.c: New file.
5122 * gdb.mi/mi-dprintf-pending.exp: New test.
5123 * gdb.mi/mi-dprintf-pendshr.c: New file.
5125 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5126 Mircea Gherzan <mircea.gherzan@intel.com>
5128 * gdb.arch/i386-mpx-map.c: New file.
5129 * gdb.arch/i386-mpx-map.exp: New File.
5131 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5133 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5134 * gdb.arch/i386-mpx.exp: Indentation fixed.
5136 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5138 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5139 function and improved indentation.
5140 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5141 gdb_test_multiple. Added additional tests to skip the test.
5143 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5145 * gdb.arch/i386-avx512.c: Change path in include file.
5146 * gdb.arch/i386-avx512.exp: Change include dir path
5148 * gdb.arch/i386-mpx.c: Change path in include file.
5149 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5152 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 * gdb.compile/compile-print.exp (compile print *vararray@3)
5155 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5157 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5159 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5160 (do not keep jit in memory): ... this.
5161 (expect 5): Change it to ...
5162 (expect no 5): ... this.
5164 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5167 * gdb.mi/mi-detach.exp: New file.
5169 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5172 * gdb.arch/amd64-tailcall-self.S: New file.
5173 * gdb.arch/amd64-tailcall-self.c: New file.
5174 * gdb.arch/amd64-tailcall-self.exp: New file.
5176 2015-05-28 Don Breazeal <donb@codesourcery.com>
5178 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5179 tests for remote targets by checking is_target_gdbserver.
5181 2015-05-27 Doug Evans <dje@google.com>
5183 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5184 * gdb.dwarf2/opaque-type-lookup.c: New file.
5185 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5187 2015-05-26 Doug Evans <dje@google.com>
5189 * gdb.cp/iostream.cc: New file.
5190 * gdb.cp/iostream.exp: New file.
5192 2015-05-26 Doug Evans <dje@google.com>
5194 * gdb.dwarf2/dw2-op-call.exp: Update.
5195 * gdb.dwarf2/dw4-sig-types.exp: Update.
5196 * gdb.dwarf2/implptr.exp: Update.
5197 * gdb.mi/mi-cmd-param-changed.exp: Update.
5199 2015-05-26 Doug Evans <dje@google.com>
5201 * gdb.python/py-lazy-string.c: New file.
5202 * gdb.python/py-lazy-string.exp: New file.
5203 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5204 (main): Update. Add estring3.
5205 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5206 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5208 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5209 Yao Qi <yao.qi@linaro.org>
5211 * gdb.reverse/aarch64.c: New.
5212 * gdb.reverse/aarch64.exp: New.
5214 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5216 * lib/gdb.exp (supports_process_record): Return true for
5218 (supports_reverse): Likewise.
5220 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5222 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5223 Use with_test_prefix.
5225 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5227 * gdb.base/completion.exp: Add test for completion of layout
5230 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5232 * lib/gdb.exp (skip_tui_tests): New proc.
5233 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5235 2015-05-19 Pedro Alves <palves@redhat.com>
5237 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5238 Save the whole env array instead of just HOME. Unset HISTSIZE in
5239 the environment while testing. Restore whole environment
5242 2015-05-16 Doug Evans <xdje42@gmail.com>
5244 * gdb.guile/scm-ports.c: New file.
5245 * gdb.guile/scm-ports.exp: Add memory port tests.
5247 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5249 * gdb.compile/compile-print.c: New file.
5250 * gdb.compile/compile-print.exp: New file.
5252 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5254 * gdb.compile/compile-ops.exp: Cast param to void.
5255 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5256 (compile code struct_object.selffield = &struct_object): Add xfail.
5258 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5260 * gdb.ada/arr_enum_with_gap: New testcase.
5262 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5264 * gdb.ada/byte_packed_arr: New testcase.
5266 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5268 * gdb.ada/pckd_neg: New testcase.
5270 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5273 * gdb.base/gdbinit-history.exp: New test.
5274 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5275 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5277 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5279 * gdb.python/py-xmethods.cc: Enhance test case.
5280 * gdb.python/py-xmethods.exp: New tests.
5281 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5283 (B_indexoper): Likewise.
5284 (global_dm_list) : Add new xmethod worker functions.
5286 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5288 * gdb.base/coredump-filter.exp: Correctly unset
5289 "coredump_var_addr" array.
5291 2015-05-08 Pedro Alves <palves@redhat.com>
5293 * gdb.server/non-existing-program.exp: Unset spawn_id.
5295 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5298 * gdb.python/py-xmethods.exp: Add tests.
5300 2015-05-08 Yao Qi <yao.qi@linaro.org>
5303 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5304 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5305 function set_coredump_filter, and remove remote_exec call.
5306 Remove argument ipid. Callers update.
5307 (top level): Don't get inferior's PID.
5309 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5311 * gdb.base/watch_thread_num.exp: Skip test on targets without
5314 2015-05-06 Pedro Alves <palves@redhat.com>
5317 * gdb.server/non-existing-program.exp: New file.
5319 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5321 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5323 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5325 * gdb.ada/out_of_line_in_inlined: New testcase.
5327 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5329 * gdb.ada/var_rec_arr: New testcase.
5331 2015-04-30 Yao Qi <yao.qi@linaro.org>
5333 * gdb.base/break-idempotent.exp: If
5334 skip_hw_watchpoint_multi_tests returns true, skip the tests
5335 on "rwatch" and "awatch".
5337 2015-04-30 Yao Qi <yao.qi@linaro.org>
5339 * gdb.base/relativedebug.exp: Invoke gdb command
5340 "info sharedlibrary", and if libc.so doesn't have debug info,
5343 2015-04-29 Doug Evans <dje@google.com>
5345 * gdb.python/py-xmethods.exp: Add ptype tests.
5346 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5347 get_result_type method.
5349 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5351 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5352 the target does not support hardware watchpoints.
5354 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5356 * gdb.base/break-always.exp: Abort testing if writing to memory
5359 2015-04-28 Doug Evans <dje@google.com>
5361 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5362 * gdb.python/py-pp-registration.exp: ... here. New file.
5363 * gdb.python/py-pp-registration.c: New file.
5364 * gdb.python/py-pp-registration.py: New file.
5366 2015-04-28 Doug Evans <dje@google.com>
5368 * gdb.python/py-bad-printers.c: New file.
5369 * gdb.python/py-bad-printers.py: New file.
5370 * gdb.python/py-bad-printers.exp: New file.
5372 2015-04-28 Sasha Smundak <asmundak@google.com>
5374 * gdb.python/py-type.exp: New test.
5376 2015-04-28 Andy Wingo <wingo@igalia.com>
5378 * gdb.python/py-parameter.exp:
5379 * gdb.guile/scm-parameter.exp: Escape the path that we are
5380 matching against, as it might contain characters that are special
5381 to regular expressions.
5383 2015-04-27 Joel Brobecker <brobecker@adacore.com>
5385 * gdb.ada/rec_comp: New testcase.
5387 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5389 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5392 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5394 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5395 new tests for verilog output.
5397 2015-04-24 Yao Qi <yao.qi@linaro.org>
5399 * boards/remote-gdbserver-on-localhost.exp: New file.
5401 2015-04-23 Pedro Alves <palves@redhat.com>
5403 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5404 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5405 "end of file", remove $inferior_spawn_id from the indirect list.
5407 2015-04-23 Pedro Alves <palves@redhat.com>
5409 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5411 2015-04-23 Pedro Alves <palves@redhat.com>
5413 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5414 on $any_spawn_id instead of only on $gdb_spawn_id.
5416 2015-04-21 Pierre Muller <muller@sourceware.org>
5419 * lib/pascal.exp (gpc_compile): Add new option "class".
5420 (fpc_compile): Likewise.
5421 * gdb.pascal/case-insensitive-symbols.pas: New file.
5422 * gdb.pascal/case-insensitive-symbols.exp: New file.
5424 2015-04-20 Gary Benson <gbenson@redhat.com>
5426 * gdb.base/attach.exp: Fix three extended remote failures.
5428 2015-04-17 Gary Benson <gbenson@redhat.com>
5430 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5431 the main executable over the remote protocol.
5433 2015-04-16 Pedro Alves <palves@redhat.com>
5435 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5436 a new gdbserver if gdbserver_reconnect_p is set.
5438 2015-04-16 Pedro Alves <palves@redhat.com>
5440 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5441 is set, don't exit gdbserver.
5443 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5445 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5446 appropriate .insn, such that an older assembler can be used.
5447 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5448 the z/Architecture instruction set on 31-bit targets as well.
5450 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5452 * gdb.go/handcall.exp: Remove all logic related to the first
5453 breakpoint and rely on go_runto_main instead.
5454 * gdb.go/strings.exp: Likewise.
5455 * gdb.go/unsafe.exp: Likewise.
5456 * gdb.go/hello.exp: Likewise. Also rename the remaining
5457 breakpoint marker to "breakpoint 1".
5458 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5459 * gdb.go/strings.go: Likewise.
5460 * gdb.go/unsafe.go: Likewise.
5461 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5462 "set breakpoint 2 here" and rename the remaining breakpoint marker
5465 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5467 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5468 if itertools.imap is not present.
5469 * gdb.python/py-objfile.exp: Add parentheses.
5470 * gdb.python/py-type.exp: Same.
5471 * gdb.python/py-unwind-maint.py: Same.
5473 2015-04-15 Yao Qi <yao.qi@linaro.org>
5475 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5476 of ":$ptr_size" and set its form explicitly.
5478 2015-04-15 Pedro Alves <palves@redhat.com>
5479 Yao Qi <yao.qi@linaro.org>
5481 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5482 timeout by factor of 4.
5483 (test_regular_watch): Likewise.
5484 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5485 * gdb.reverse/sigall-reverse.exp: Likewise.
5486 * gdb.reverse/until-precsave.exp: Likewise.
5487 * lib/gdb.exp (with_timeout_factor): New proc.
5488 (gdb_expect): Move some code to ...
5489 (get_largest_timeout): ... here. New procedure.
5491 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
5493 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5495 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5497 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5498 to write to the .text section.
5500 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5502 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5503 Handle the case of targets that do not provide PID information.
5505 2015-04-13 Yao Qi <yao.qi@linaro.org>
5507 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5508 and use expect instead of gdb_expect.
5510 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5512 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5513 "coredump_var_addr" to avoid naming conflict with other testcases.
5515 2015-04-10 Pedro Alves <palves@redhat.com>
5517 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5518 gdb_test_sequence and gdb_assert.
5520 2015-04-10 Pedro Alves <palves@redhat.com>
5522 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5523 test messages that don't include the breakpoint address.
5525 2015-04-10 Yao Qi <yao.qi@linaro.org>
5527 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5528 false for some offset and width combinations which aren't
5529 supported by linux kernel.
5531 2015-04-10 Pedro Alves <palves@redhat.com>
5533 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5534 procedure, factored out from ...
5535 (top level): ... here. Add "set displaced-stepping" testing axis.
5536 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5537 parameter "displaced". Use it.
5538 (top level): Use foreach and add "set displaced-stepping" testing
5541 2015-04-10 Pedro Alves <palves@redhat.com>
5543 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5545 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5546 both the address of the instruction that triggers the watchpoint
5547 and the address of the instruction immediately after, and use
5548 those addresses for the test. Fix comment.
5550 2015-04-10 Pedro Alves <palves@redhat.com>
5552 * gdb.base/sigstep.exp (breakpoint_to_handler)
5553 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5554 Test "backtrace" in handler.
5555 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5556 (top level): Add new "displaced" test axis to
5557 breakpoint_to_handler, breakpoint_to_handler_entry and
5558 breakpoint_over_handler.
5560 2015-04-10 Pedro Alves <palves@redhat.com>
5563 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5565 2015-04-10 Yao Qi <yao.qi@linaro.org>
5567 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5568 (test_add_rn_pc): New function.
5569 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5570 (top level): Invoke test_add_rn_pc.
5572 2015-04-10 Pedro Alves <palves@redhat.com>
5575 * gdb.base/step-over-no-symbols.exp: New file.
5577 2015-04-09 Andy Wingo <wingo@igalia.com>
5579 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5580 after the Python tests.
5582 2015-04-08 Keith Seitz <keiths@redhat.com>
5585 * gdb.python/py-completion.exp: New tests for completion.
5586 * gdb.python/py-completion.py (CompleteLimit1): New class.
5587 (CompleteLimit2): Likewise.
5588 (CompleteLimit3): Likewise.
5589 (CompleteLimit4): Likewise.
5590 (CompleteLimit5): Likewise.
5591 (CompleteLimit6): Likewise.
5592 (CompleteLimit7): Likewise.
5594 2015-04-08 Pedro Alves <palves@redhat.com>
5598 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5600 (main): Install it as SIGUSR1 handler.
5601 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5602 parameter. Always use "setup" as prefix. Toggle "set
5603 displaced-stepping" off/on depending on global. Don't switch to
5605 (top level): Add displaced stepping "off/on" test axis. Update
5606 "setup" calls. Wrap each subtest with with_test_prefix. Test
5607 continuing with a queued signal in each thread.
5609 2015-04-08 Pedro Alves <palves@redhat.com>
5611 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5612 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5613 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5614 Return early if running to main fails.
5615 * gdb.trace/while-stepping.exp: Likewise.
5617 2015-04-07 Pedro Alves <palves@redhat.com>
5619 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5620 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5621 interact with inferior program.
5623 2015-04-07 Pedro Alves <palves@redhat.com>
5625 * lib/gdb.exp (inferior_spawn_id): New global.
5626 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5627 spawn id after processing the user code.
5628 (default_gdb_start): Set inferior_spawn_id.
5629 (send_inferior): New procedure.
5630 * lib/gdbserver-support.exp (gdbserver_start): Set
5632 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5634 2015-04-07 Pedro Alves <palves@redhat.com>
5636 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5637 * lib/gdbserver-support.exp (gdbserver_start): Make
5638 $server_spawn_id global.
5639 (gdbserver_start): Don't wait for gdbserver's spawn id with
5641 (close_gdbserver): New procedure.
5642 (gdb_exit): Rename the default version and reimplement.
5644 2015-04-07 Pedro Alves <palves@redhat.com>
5646 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
5647 append the substituted item, not the original item.
5649 2015-04-07 Pedro Alves <palves@redhat.com>
5651 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5654 2015-04-07 Pedro Alves <palves@redhat.com>
5656 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5657 output appearing once only.
5659 2015-04-07 Pedro Alves <palves@redhat.com>
5661 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5662 that doesn't expect anything. Return early if running to main
5665 2015-04-07 Yao Qi <yao.qi@linaro.org>
5667 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5668 (child_function): Call alarm.
5669 (main): Move call to alarm into the loop.
5670 * gdb.threads/non-stop-fair-events.exp: Build program with
5673 2015-04-06 Doug Evans <xdje42@gmail.com>
5675 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5676 Fix dest parameter to board_info.
5677 (fpc_compile): Ditto.
5678 (gdb_compile_pascal): Rename dest arg to destfile.
5680 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5682 * gdb.ada/funcall_ref.exp: New file.
5683 * gdb.ada/funcall_ref/foo.adb: New file.
5685 2015-04-02 Yao Qi <yao.qi@linaro.org>
5687 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5690 2015-04-02 Gary Benson <gbenson@redhat.com>
5692 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5694 2015-04-01 Sasha Smundak <asmundak@google.com>
5696 * gdb.python/py-unwind-maint.c: New file.
5697 * gdb.python/py-unwind-maint.exp: New test.
5698 * gdb.python/py-unwind-maint.py: New file.
5699 * gdb.python/py-unwind.c: New file.
5700 * gdb.python/py-unwind.exp: New test.
5701 * gdb.python/py-unwind.py: New test.
5703 2015-04-01 Pedro Alves <palves@redhat.com>
5705 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5706 to fail instead of non-existent $test.
5708 2015-04-01 Pedro Alves <palves@redhat.com>
5710 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5711 GDBFLAGS if not empty.
5713 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5715 * gdb.ada/complete.exp: Remove "multi_line".
5716 * gdb.ada/info_exc.exp: Remove "multi_line".
5717 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5718 * gdb.ada/ptype_field.exp: Remove "multi_line".
5719 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5720 * gdb.ada/tagged.exp: Remove "multi_line".
5721 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5723 * gdb.btrace/delta.exp: Likewise.
5724 * gdb.btrace/exception.exp: Likewise.
5725 * gdb.btrace/function_call_history.exp: Likewise.
5726 * gdb.btrace/instruction_history.exp: Likewise.
5727 * gdb.btrace/nohist.exp: Likewise.
5728 * gdb.btrace/record_goto.exp: Likewise.
5729 * gdb.btrace/segv.exp: Likewise.
5730 * gdb.btrace/stepi.exp: Likewise.
5731 * gdb.btrace/tailcall.exp: Likewise.
5732 * gdb.btrace/unknown_functions.exp: Likewise.
5733 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5734 * lib/gdb.exp: Add the "multi_line" helper.
5736 2015-04-01 Pedro Alves <palves@redhat.com>
5738 * gdb.threads/tid-reuse.c: New file.
5739 * gdb.threads/tid-reuse.exp: New file.
5741 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5744 * gdb.base/coredump-filter.c: New file.
5745 * gdb.base/coredump-filter.exp: Likewise.
5747 2015-03-27 Petr Machata <pmachata@redhat.com>
5749 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5750 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5751 (Dwarf::assemble): Initialize them.
5752 (Dwarf::lines): New function.
5754 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5756 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5757 SYMBOL_PREFIX for x86_64-*-cygwin.
5759 2015-03-26 Andy Wingo <wingo@igalia.com>
5762 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5763 const_value but not a location.
5764 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5765 location defined in non-main CUs are visible.
5767 2015-03-26 Yao Qi <yao.qi@linaro.org>
5770 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5771 Add a line number entry for the same line.
5772 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5773 Add a line number entry for the same line.
5775 2015-03-26 Yao Qi <yao.qi@linaro.org>
5777 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5779 (func): Likewise. Add .Lfunc_1 label.
5781 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5786 2015-03-26 Yao Qi <yao.qi@linaro.org>
5788 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5789 Call gdb_compile instead to compile each .s files without debug
5792 2015-03-26 Yao Qi <yao.qi@linaro.org>
5794 * gdb.base/savedregs.exp (process_saved_regs): Make
5795 "Saved registers:" optional in the pattern.
5797 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5799 * gdb.btrace/next.exp: Merged into step.exp.
5800 * gdb.btrace/finish.exp: Merged into step.exp.
5801 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5802 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5803 "record goto" and checking the exact replay position.
5804 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5805 check for "Recording format" in "info record" output.
5806 * gdb.btrace/record_goto.exp: Choose test file based on target.
5807 * gdb.btrace/x86-record_goto.S: Renamed into ...
5808 * gdb.btrace/x86_64-record_goto.S: ... this.
5809 * gdb.btrace/i686-record_goto.S: New.
5810 * gdb.btrace/x86-tailcall.S: Renamed into ...
5811 * gdb.btrace/x86_64-tailcall.S: ... this.
5812 * gdb.btrace/i686-tailcall.S: New.
5813 * gdb.btrace/x86-tailcall.c: Renamed into ...
5814 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5815 separate statements. Update test.
5816 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5817 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5818 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5819 * gdb.btrace/tailcall.exp: Choose test file based on target.
5820 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5822 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5824 * gdb.btrace/exception.exp: Increase BTS buffer size.
5826 2015-03-24 Pedro Alves <palves@redhat.com>
5828 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5830 2015-03-24 Pedro Alves <palves@redhat.com>
5832 * gdb.threads/schedlock.exp (test_step): No longer expect that
5833 "set scheduler-locking step" with "next" over a function call runs
5836 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5838 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5840 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5842 PR breakpoints/16466
5843 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5844 * gdb.mi/mi-pending.c (thread_func): New function.
5845 (int main): Add threading support required.
5846 * gdb.mi/mi-pending.exp: Add tests for this issue.
5847 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5848 (pendfunc2): Remove stdio dependency.
5849 * gdb.mi/mi-pendshr2.c: New file.
5851 2015-03-23 Keith Seitz <keiths@redhat.com>
5853 * gdb.linespec/keywords.c: New file.
5854 * gdb.linespec/keywords.exp: New file.
5856 2015-03-23 Keith Seitz <keiths@redhat.com>
5859 * gdb.dwarf2/staticvirtual.exp: New test.
5861 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5863 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5864 * README: Remove HP-UX and gdb.hp.
5866 * configure: Regenerate.
5867 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5868 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5869 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5870 gdb.hp/gdb.defects/Makefile.
5871 * gdb.hp/Makefile.in: File deleted.
5872 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5873 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5874 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5875 * gdb.hp/gdb.aCC/run.c: File deleted.
5876 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5877 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5878 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5879 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5880 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5881 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5882 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5883 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5884 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5885 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5886 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5887 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5888 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5889 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5890 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5891 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5892 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5893 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5894 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5895 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5896 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5897 * gdb.hp/gdb.compat/average.c: File deleted.
5898 * gdb.hp/gdb.compat/sum.c: File deleted.
5899 * gdb.hp/gdb.compat/xdb.c: File deleted.
5900 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5901 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5902 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5903 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5904 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5905 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5906 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5907 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5908 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5909 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5910 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5911 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5912 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5913 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5914 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5915 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5916 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5917 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5918 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5919 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5920 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5921 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5922 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5923 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5924 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5925 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5926 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5927 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5928 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5929 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5930 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5931 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5932 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5933 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5934 * gdb.hp/tools/odump: File deleted.
5936 2015-03-19 Pedro Alves <palves@redhat.com>
5938 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5939 (saw_thread_3): New globals.
5940 (top level): Increment them when an event for the corresponding
5942 (no thread starvation): New test.
5944 2015-03-19 Pedro Alves <palves@redhat.com>
5946 * gdb.threads/continue-pending-status.c: New file.
5947 * gdb.threads/continue-pending-status.exp: New file.
5949 2015-03-18 Pedro Alves <palves@redhat.com>
5951 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5952 Use gdb_is_target_remote instead of is_remote. Use
5953 gdb_test_multiple instead of gdb_expect. Exit early if
5954 gdb_test_multiple hits its internal matches. Tighten stepi tests
5955 expected output. Fail on exit with any signal, instead of just
5958 2015-03-18 Yao Qi <yao.qi@linaro.org>
5961 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5963 * gdb.base/catch-syscall.exp: Don't skip it on
5964 aarch64*-*-linux* target. Remove elements in all_syscalls.
5965 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5967 (setup_all_syscalls): New proc.
5969 2015-03-16 Yao Qi <yao.qi@linaro.org>
5971 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5972 (top level): Skip tests if valid_addr_p returns false for
5975 2015-03-11 Andy Wingo <wingo@igalia.com>
5977 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5979 2015-03-11 Yao Qi <yao.qi@linaro.org>
5981 * gdb.base/catch-syscall.exp: Fix typo in comments.
5983 2015-03-11 Yao Qi <yao.qi@linaro.org>
5985 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5987 2015-03-09 Pedro Alves <palves@redhat.com>
5989 * dg-extract-results.py: Delete.
5991 2015-03-09 Pedro Alves <palves@redhat.com>
5993 Merge dg-extract-results.sh from GCC upstream (r218843).
5995 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5996 * dg-extract-results.sh: Use --text with grep to avoid issues with
5997 binary files. Fall back to cat -v, if that doesn't work.
5999 2015-03-05 Pedro Alves <palves@redhat.com>
6001 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
6003 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
6005 * lib/mi-support.exp (mi_expect_interrupt): Accept
6006 alternative event for when in all-stop mode.
6008 2015-03-04 Pedro Alves <palves@redhat.com>
6010 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
6012 2015-03-04 Mark Kettenis <kettenis@gnu.org>
6014 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
6016 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6018 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6019 regexps for GDB's current line display, accept a hex address
6020 preceding the line number.
6022 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6024 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6025 the 'arch1' variable for "s390*-linux*" targets.
6027 2015-03-04 Pedro Alves <palves@redhat.com>
6029 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6030 (main): Pass missing retval argument to pthread_join call.
6032 2015-03-02 Pedro Alves <palves@redhat.com>
6034 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6035 (top level): Call do_test with non-stop as well.
6037 2015-03-02 Pedro Alves <palves@redhat.com>
6039 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6042 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6044 * gdb.arch/s390-vregs.exp: New test.
6045 * gdb.arch/s390-vregs.S: New file.
6047 2015-02-27 Pedro Alves <palves@redhat.com>
6049 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6050 call to catch_command_errors.
6051 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6052 catch_command_errors.
6054 2015-02-27 Pedro Alves <palves@redhat.com>
6056 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6057 "true" for boolean result.
6058 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6061 2015-02-27 Pedro Alves <palves@redhat.com>
6063 * lib/unbuffer_output.c: New file.
6064 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6065 (main): Call gdb_unbuffer_output.
6067 2015-02-27 Yao Qi <yao.qi@linaro.org>
6069 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6072 2015-02-26 Doug Evans <dje@google.com>
6074 * gdb.cp/class2.cc (Dbase, D): New classes.
6075 (main): New local delta.
6076 * gdb.cp/class2.exp: Test printing delta.
6077 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6078 (dynbar): New global.
6079 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6081 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6083 * gdb.compile/compile-ifunc.c: New file.
6084 * gdb.compile/compile-ifunc.exp: New file.
6086 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6088 * gdb.base/structs.exp: Check for correct struct on finish.
6090 2015-02-26 Yao Qi <yao.qi@linaro.org>
6092 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6095 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6097 * gdb.arch/cordic.ko.bz2: New file.
6098 * gdb.arch/cordic.ko.debug.bz2: New file.
6099 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6101 2015-02-25 Yao Qi <yao.qi@linaro.org>
6103 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6104 aarch64*-*-* target.
6106 2015-02-23 Pedro Alves <palves@redhat.com>
6108 * lib/gdb.exp (delete_breakpoints): Rewrite using
6111 2015-02-23 Pedro Alves <palves@redhat.com>
6113 * gdb.base/info-os.c: Include stdlib.h.
6115 2015-02-22 Doug Evans <xdje42@gmail.com>
6118 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6119 is read after symbols have been re-read.
6120 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6121 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6123 2015-02-21 Doug Evans <dje@google.com>
6125 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6127 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6130 * gdb.arch/i386-biarch-core.core.bz2: New file.
6131 * gdb.arch/i386-biarch-core.exp: New file.
6133 2015-02-21 Pedro Alves <palves@redhat.com>
6135 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6138 2015-02-20 Pedro Alves <palves@redhat.com>
6140 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6143 2015-02-20 Pedro Alves <palves@redhat.com>
6145 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6147 2015-02-20 Pedro Alves <palves@redhat.com>
6149 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6150 clean_restart before gdb_target_supports_trace.
6152 2015-02-20 Pedro Alves <palves@redhat.com>
6155 * gdb.threads/clone-thread_db.c: New file.
6156 * gdb.threads/clone-thread_db.exp: New file.
6158 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6160 PR breakpoints/16812
6161 * gdb.base/catch-gdb-caused-signals.c: New file.
6162 * gdb.base/catch-gdb-caused-signals.exp: New file.
6164 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6166 * configure: Regenerated.
6167 * configure.ac: Use GDB_AC_TRANSFORM.
6168 * aclocal.m4: sinclude ../transform.m4.
6170 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6172 * lib/dtrace.exp: New file.
6173 * gdb.base/dtrace-probe.exp: Likewise.
6174 * gdb.base/dtrace-probe.d: Likewise.
6175 * gdb.base/dtrace-probe.c: Likewise.
6176 * lib/pdtrace.in: Likewise.
6177 * configure.ac: Output variables with the transformed names of
6178 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6179 * configure: Regenerated.
6181 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6183 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6184 expected message when trying to access $_probe_* convenience
6185 variables while not on a probe.
6187 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6189 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6191 2015-02-11 Pedro Alves <pedro@codesourcery.com>
6193 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6194 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6196 2015-02-10 Doug Evans <xdje42@gmail.com>
6198 * lib/gdb.exp (gdb_load): Always return a result.
6200 2015-02-10 Pedro Alves <palves@redhat.com>
6202 * gdb.threads/signal-sigtrap.c: New file.
6203 * gdb.threads/signal-sigtrap.exp: New file.
6205 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6207 * gdb.trace/no-attach-trace.c: New file.
6208 * gdb.trace/no-attach-trace.exp: New file.
6210 2015-02-09 Mark Wielaard <mjw@redhat.com>
6212 * gdb.dwarf2/atomic.c: New file.
6213 * gdb.dwarf2/atomic-type.exp: Likewise.
6215 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6217 * gdb.btrace/buffer-size.exp: Update "info record" output.
6218 * gdb.btrace/delta.exp: Update "info record" output.
6219 * gdb.btrace/enable.exp: Update "info record" output.
6220 * gdb.btrace/finish.exp: Update "info record" output.
6221 * gdb.btrace/instruction_history.exp: Update "info record" output.
6222 * gdb.btrace/next.exp: Update "info record" output.
6223 * gdb.btrace/nexti.exp: Update "info record" output.
6224 * gdb.btrace/step.exp: Update "info record" output.
6225 * gdb.btrace/stepi.exp: Update "info record" output.
6226 * gdb.btrace/nohist.exp: Update "info record" output.
6228 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6230 * gdb.btrace/buffer-size: New.
6232 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6234 * gdb.btrace/delta.exp: Update "info record" output.
6235 * gdb.btrace/enable.exp: Update "info record" output.
6236 * gdb.btrace/finish.exp: Update "info record" output.
6237 * gdb.btrace/instruction_history.exp: Update "info record" output.
6238 * gdb.btrace/next.exp: Update "info record" output.
6239 * gdb.btrace/nexti.exp: Update "info record" output.
6240 * gdb.btrace/step.exp: Update "info record" output.
6241 * gdb.btrace/stepi.exp: Update "info record" output.
6242 * gdb.btrace/nohist.exp: Update "info record" output.
6244 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6247 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6249 2015-02-06 Pedro Alves <palves@redhat.com>
6251 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6253 (seconds_left, again): New globals.
6254 (main): Wait seconds_left in a 1-second sleep loop instead of
6255 sleeping 180 seconds. If 'again' is set, reset the seconds
6257 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6258 'again' in the inferior before detaching. Print the seconds left.
6259 (options): New global.
6260 (top level): Build program with -DTIMEOUT=$timeout.
6262 2015-02-06 Pedro Alves <palves@redhat.com>
6264 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6265 determine how many seconds to pass to 'alarm'.
6266 * gdb.base/gdb-sigterm.exp (top level): Build program with
6268 (do_test): Return success/failure indication. Add more verbose
6269 logging. Don't fail if 200 single steps are seen. Instead, fail
6270 when the test times out.
6271 (passes): New global.
6272 (top level): Break the testing loop if testing fails on any
6273 iteration. Use gdb_assert.
6275 2015-02-04 Don Breazeal <donb@codesourcery.com>
6277 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6278 and initialize them.
6279 (ipc_cleanup): New function.
6280 (main): Don't declare shmid, semid, and msqid. Add a call to
6281 atexit so that we call ipc_cleanup on exit.
6283 2015-02-04 Pedro Alves <palves@redhat.com>
6285 * boards/native-extended-gdbserver.exp: Remove any target variant
6286 specifications from the board name before clearing the isremote
6287 flag from board_info.
6289 2015-01-31 Doug Evans <xdje42@gmail.com>
6291 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6293 2015-01-31 Gary Benson <gbenson@redhat.com>
6295 * gdb.base/completion.exp: Disable completion limiting for
6296 existing tests. Add new tests to check completion limiting.
6297 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6299 2015-01-31 Doug Evans <xdje42@gmail.com>
6301 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6303 2015-01-31 Doug Evans <xdje42@gmail.com>
6305 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6306 entries. Duplicate file section script entries.
6307 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6308 inlined entries. Add test for safe-path rejection.
6309 * gdb.python/py-section-script.c: Add duplicate inlined section script
6310 entries. Duplicate file section script entries.
6311 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6312 inlined entries. Add test for safe-path rejection.
6314 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6316 * gdb.ada/disc_arr_bound: New testcase.
6318 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6320 * gdb.ada/mi_var_array: New testcase.
6322 2015-01-27 Doug Evans <dje@google.com>
6324 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6325 Add test for objfile.filename, objfile.username after objfile
6328 2015-01-26 Joel Brobecker <brobecker@adacore.com>
6330 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6331 the second test to print the name attribute of value
6332 returned by the call to gdb.lookup_type, and adjust
6333 the expected output accordingly.
6335 2015-01-25 Mark Wielaard <mjw@redhat.com>
6337 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6338 * gdb.base/disp-step-fork.c: Include unistd.h.
6339 * gdb.base/siginfo-obj.c: Include stdio.h.
6340 * gdb.base/siginfo-thread.c: Likewise.
6341 * gdb.mi/non-stop.c: Include unistd.h.
6342 * gdb.mi/nsthrexec.c: Include stdio.h.
6343 * gdb.mi/pthreads.c: Include unistd.h.
6344 * gdb.modula2/unbounded1.c (main): Declare returns int.
6345 * gdb.reverse/consecutive-reverse.c: Likewise.
6346 * gdb.threads/create-fail.c: Include unistd.h.
6347 * gdb.threads/killed.c: Likewise.
6348 * gdb.threads/linux-dp.c: Likewise.
6349 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6350 * gdb.threads/non-ldr-exc-2.c: Likewise.
6351 * gdb.threads/non-ldr-exc-3.c: Likewise.
6352 * gdb.threads/non-ldr-exc-4.c: Likewise.
6353 * gdb.threads/pthreads.c: Include unistd.h.
6354 (main): Declare returns int.
6355 * gdb.threads/tls-main.c (foo): New declaration.
6356 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6358 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6360 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6361 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6363 2015-01-15 Mark Wielaard <mjw@redhat.com>
6365 * gdb.base/noreturn-return.c: New file.
6366 * gdb.base/noreturn-return.exp: New file.
6367 * gdb.base/noreturn-finish.c: New file.
6368 * gdb.base/noreturn-finish.exp: New file.
6370 2015-01-23 Pedro Alves <palves@redhat.com>
6372 * gdb.threads/continue-pending-after-query.c: New file.
6373 * gdb.threads/continue-pending-after-query.exp: New file.
6375 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6376 Simon Marchi <simon.marchi@ericsson.com>
6378 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6379 * gdb.base/valgrind-db-attach.exp: Same.
6380 * gdb.base/valgrind-infcall.exp: Same.
6381 * lib/mi-support.exp (default_mi_gdb_start): Same.
6382 * lib/prompt.exp (default_prompt_gdb_start): Same.
6383 * lib/gdb.exp (default_gdb_spawn): Same.
6384 (gdb_interact): New.
6387 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6389 * gdb.compile/compile.exp (pointer to jit function): New test.
6391 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
6393 * lib/gdb.exp (supports_process_record): Return true for
6395 (supports_reverse): Likewise.
6397 2015-01-15 Don Breazeal <donb@codesourcery.com>
6399 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6400 instead of checking whether the target board is remote and
6401 use spawn_wait_for_attach instead of exec/sleep.
6402 * gdb.base/attach-twice.exp: Likewise.
6404 2015-01-15 Joel Brobecker <brobecker@adacore.com>
6406 * gdb.ada/var_arr_attrs: New testcase.
6408 2015-01-14 Pedro Alves <palves@redhat.com>
6409 Joel Brobecker <brobecker@adacore.com>
6412 * gdb.base/bp-cmds-execution-x-script.c: New file.
6413 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6414 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6416 2015-01-14 Pedro Alves <palves@redhat.com>
6419 * gdb.base/batch-preserve-term-settings.c: New file.
6420 * gdb.base/batch-preserve-term-settings.exp: New file.
6422 2015-01-13 Doug Evans <dje@google.com>
6424 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6427 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6429 * Makefile.in (clean mostlyclean): Do not delete *.py.
6431 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6433 * gdb.python/py-lookup-type.exp: New file.
6435 2015-01-12 Pedro Alves <palves@redhat.com>
6437 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6438 restore GDBFLAGS before returning.
6440 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6442 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6443 is_amd64_regs_target and is_x86_like_target.
6445 2015-01-11 Doug Evans <xdje42@gmail.com>
6447 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6448 is given without an explicit form.
6449 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6451 * gdb.dwarf/corrupt.exp: Ditto.
6452 * gdb.dwarf2/enum-type.exp: Ditto.
6453 * gdb.trace/entry-values.exp: Ditto.
6454 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6456 2015-01-11 Doug Evans <xdje42@gmail.com>
6459 * gdb.base/maint.exp: Remove references to "maint demangle".
6460 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6461 Add tests for explicitly specifying language to demangle.
6462 * gdb.dlang/demangle.exp: Ditto.
6464 2015-01-09 Pedro Alves <palves@redhat.com>
6466 * gdb.threads/non-stop-fair-events.c: New file.
6467 * gdb.threads/non-stop-fair-events.exp: New file.
6469 2015-01-09 Pedro Alves <palves@redhat.com>
6471 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6472 the global scope. Set a breakpoint after all threads are started
6473 rather than stepping over two source lines. Expect the prompt.
6474 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6477 (main): Use threads_started_barrier to wait for all threads to
6478 start. Main thread no longer calls thread_function. Exit after
6480 (loop): New function.
6481 (thread_function): Wait on threads_started_barrier barrier. Call
6482 'loop' at each iteration.
6483 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6484 threads have started, instead of hardcoding number of "next"
6485 steps. Use an access watchpoint instead of a write watchpoint.
6487 2015-01-09 Pedro Alves <palves@redhat.com>
6489 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6490 (thread_func): Wait on barrier.
6491 (main): Wait for all threads to start before stopping GDB.
6492 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6494 (thread1_func, thread2_func): Wait on barrier.
6495 (main): Wait for all threads to start before stopping GDB.
6496 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6498 (thread1_func, thread2_func): Wait on barrier.
6499 (main): Wait for all threads to start before stopping GDB.
6501 2015-01-09 Pedro Alves <palves@redhat.com>
6503 * gdb.threads/attach-many-short-lived-threads.c: New file.
6504 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6506 2014-01-09 Pedro Alves <palves@redhat.com>
6508 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6509 instead of to thread 2.
6510 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6511 Add barrier around each pthread_create call instead of around all
6513 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6514 Set a break on thread_function and have the child threads hit it
6517 2015-01-09 Pedro Alves <palves@redhat.com>
6519 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6520 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6522 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6523 checking whether the target board is remote.
6524 * gdb.multi/multi-attach.exp: Likewise.
6525 * gdb.python/py-sync-interp.exp: Likewise.
6526 * gdb.server/ext-attach.exp: Likewise.
6527 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6528 tests that need to attach, instead of checking whether the target
6529 board is remote at the top of the file.
6531 2015-01-08 Yao Qi <yao@codesourcery.com>
6533 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6535 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6537 Fix testcase compilation.
6538 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6540 2015-01-06 Joel Brobecker <brobecker@adacore.com>
6542 * gdb.python/py-type.exp: Add a couple test about empty
6543 array creation, and negative-length array creation.
6545 2015-01-02 Doug Evans <xdje42@gmail.com>
6547 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6549 2015-01-02 Doug Evans <dje@google.com>
6551 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6553 2014-12-29 Yao Qi <yao@codesourcery.com>
6555 * gdb.trace/entry-values.exp: Update comments. Rename variable
6556 bar_call_foo to returned_from_foo.
6558 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6561 * gdb.linespec/break-asm-file.c: New file.
6562 * gdb.linespec/break-asm-file.exp: New file.
6563 * gdb.linespec/break-asm-file0.s: New file.
6564 * gdb.linespec/break-asm-file1.s: New file.
6566 2014-12-18 Nigel Stephens <nigel@mips.com>
6567 Maciej W. Rozycki <macro@codesourcery.com>
6569 * gdb.base/float.exp: Handle the new output from "info float" on
6572 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6574 Fix MinGW compilation.
6575 * gdb.compile/compile-ops.exp: Update untested message if
6576 !skip_compile_feature_tests.
6577 * gdb.compile/compile-setjmp.exp: Likewise.
6578 * gdb.compile/compile-tls.exp: Likewise.
6579 * gdb.compile/compile.exp: Likewise.
6580 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6581 supported on this host".
6583 2014-12-16 Doug Evans <xdje42@gmail.com>
6585 * boards/stabs.exp: New file.
6587 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6589 * gdb.base/completion.exp: Adjust to format changes of "maint
6590 print user-registers".
6592 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
6595 * gdb.arch/aarch64-fp.c: New file.
6596 * gdb.arch/aarch64-fp.exp: New file.
6598 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6600 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6601 r210637, r210913, r211666, r215400, r215817).
6603 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6604 * dg-extract-results.py: New file.
6605 * dg-extract-results.sh: Use it if the environment seems
6608 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6610 * dg-extract-results.py (parse_run): Handle warnings that
6611 are printed before a test harness is run.
6613 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6615 * dg-extract-results.py (Named): Remove __cmp__ method.
6616 (output_variation): Use a key to sort variation.harnesses.
6618 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6620 * dg-extract-results.py: For Python 3, force sys.stdout to
6621 handle surrogate escape sequences.
6622 (safe_open): New function.
6623 (output_segment, main): Use it.
6625 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6627 * dg-extract-results.py (Prog.result_re): Include options
6630 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6632 * dg-extract-results.py (output_variation): Always sort if
6635 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6637 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6638 as long as we get pagination notifications.
6640 2014-12-15 Jason Merrill <jason@redhat.com>
6642 * Makefile.in (check-gdb.%): Restore.
6643 * README: Mention it.
6645 2014-12-13 Joel Brobecker <brobecker@adacore.com>
6647 * gdb.ada/str_uninit: New testcase.
6649 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6652 * gdb.base/vla-stub-define.c: New file.
6653 * gdb.base/vla-stub.c: New file.
6654 * gdb.base/vla-stub.exp: New file.
6656 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6657 Jan Kratochvil <jan.kratochvil@redhat.com>
6658 Tom Tromey <tromey@redhat.com>
6660 * configure.ac: Add gdb.compile/.
6661 * configure: Regenerate.
6662 * gdb.compile/Makefile.in: New file.
6663 * gdb.compile/compile-ops.exp: New file.
6664 * gdb.compile/compile-ops.c: New file.
6665 * gdb.compile/compile-tls.c: New file.
6666 * gdb.compile/compile-tls.exp: New file.
6667 * gdb.compile/compile-constvar.S: New file.
6668 * gdb.compile/compile-constvar.c: New file.
6669 * gdb.compile/compile-mod.c: New file.
6670 * gdb.compile/compile-nodebug.c: New file.
6671 * gdb.compile/compile-setjmp-mod.c: New file.
6672 * gdb.compile/compile-setjmp.c: New file.
6673 * gdb.compile/compile-setjmp.exp: New file.
6674 * gdb.compile/compile-shlib.c: New file.
6675 * gdb.compile/compile.c: New file.
6676 * gdb.compile/compile.exp: New file.
6677 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6679 2014-12-12 Tom Tromey <tromey@redhat.com>
6681 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6682 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6684 2014-12-12 Doug Evans <dje@google.com>
6686 * lib/gdb-python.exp (get_python_valueof): New function.
6687 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6689 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6691 * gdb.base/completion.exp: Add test for completion of "info
6694 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6696 * gdb.base/func-ptrs.c: New file.
6697 * gdb.base/func-ptrs.exp: New file.
6699 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6701 PR breakpoints/17012
6702 * gdb.base/dprintf-detach.c: New file.
6703 * gdb.base/dprintf-detach.exp: New file.
6705 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6707 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6708 * lib/gdb.exp (target_is_gdbserver): New procedure.
6710 2014-12-08 Doug Evans <dje@google.com>
6712 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6714 2014-12-05 Yao Qi <yao@codesourcery.com>
6716 * gdb.guile/scm-error.exp: Remove the third argument to
6717 gdb_remote_download.
6718 * gdb.guile/scm-frame-args.exp: Likewise.
6719 * gdb.guile/scm-section-script.exp: Likewise.
6721 2014-12-05 Yao Qi <yao@codesourcery.com>
6723 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6725 2014-12-04 Doug Evans <dje@google.com>
6727 * gdb.python/py-objfile.exp: Add tests for
6728 objfile.add_separate_debug_file.
6730 2014-12-04 Doug Evans <dje@google.com>
6732 * lib/gdb.exp (get_build_id): New function.
6733 (build_id_debug_filename_get): Rewrite to use it.
6734 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6736 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6738 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6739 `method(long)', not just 0x0.
6740 * gdb.cp/nsalias.exp: Align code labels to 4.
6741 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6742 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6743 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6744 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6745 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6746 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6748 2014-12-02 Doug Evans <dje@google.com>
6751 * gdb.cp/anon-ns.cc: Move guts of this file to ...
6752 * gdb.cp/anon-ns2.cc: ... here. New file.
6753 * gdb.cp/anon-ns.exp: Update.
6755 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
6757 * gdb.python/py-events.py (inferior_call_handler): New.
6758 (register_changed_handler, memory_changed_handler): New.
6759 (test_events.invoke): Register new handlers.
6760 * gdb.python/py-events.exp: Add tests for inferior call,
6761 memory_changed and register_changed events.
6763 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6765 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6766 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6767 if the linker doesn't understand this.
6769 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6771 * gdb.python/python.exp: Change expected reply to help().
6773 2014-12-01 Yao Qi <yao@codesourcery.com>
6775 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6776 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6777 * configure: Re-generated.
6779 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6781 * gdb.cp/chained-calls.cc: New file.
6782 * gdb.cp/chained-calls.exp: New file.
6783 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6785 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6787 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6788 * gdb.dwarf2/symtab-producer.exp: Same.
6789 * gdb.gdb/python-interrupts.exp: Same.
6790 * gdb.gdb/python-selftest.exp: Same.
6791 * gdb.python/py-linetable.exp: Same.
6792 * gdb.python/py-type.exp: Same.
6793 * gdb.python/py-value-cc.exp: Same.
6794 * gdb.python/py-value.exp: Same.
6796 2014-11-28 Yao Qi <yao@codesourcery.com>
6798 * gdb.base/break-probes.exp: Match library name prefixed with
6801 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6803 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6804 test expected output. Add parentheses for the call to print.
6805 Remove L suffix from integers.
6807 2014-11-26 Doug Evans <dje@google.com>
6809 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6811 2014-11-22 Yao Qi <yao@codesourcery.com>
6813 * gdb.trace/entry-values.c: Remove asms.
6814 (foo): Add foo_label.
6815 (bar): Add bar_label.
6816 * gdb.trace/entry-values.exp: Remove code computing foo's
6817 length and bar's length.
6818 (Dwarf::assemble): Invoke function_range for bar and use
6819 MACRO_AT_func for foo.
6821 2014-11-22 Yao Qi <yao@codesourcery.com>
6823 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6824 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6825 Use .Lgcc43_procstart instead of gcc43.
6827 2014-11-21 Joel Brobecker <brobecker@adacore.com>
6829 * gdb.ada/n_arr_bound: New testcase.
6831 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6833 PR breakpoints/10737
6834 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6835 test_catch_syscall_multi_arch.
6836 (test_catch_syscall_multi_arch): New function.
6838 2014-11-20 Doug Evans <xdje42@gmail.com>
6840 * gdb.base/maint.exp: Update expected output.
6842 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6844 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6845 4-byte instruction on S390.
6847 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6849 * gdb.ada/arr_arr: New testcase.
6851 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6853 * gdb.ada/pkd_arr_elem: New Testcase.
6855 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6857 * gdb.reverse/break-precsave: Expect completion message for
6859 * gdb.reverse/consecutive-precsave.exp: Likewise.
6860 * gdb.reverse/finish-precsave.exp: Likewise.
6861 * gdb.reverse/i386-precsave.exp: Likewise.
6862 * gdb.reverse/machinestate-precsave.exp: Likewise.
6863 * gdb.reverse/sigall-precsave.exp: Likewise.
6864 * gdb.reverse/solib-precsave.exp: Likewise.
6865 * gdb.reverse/step-precsave.exp: Likewise.
6866 * gdb.reverse/until-precsave.exp: Likewise.
6867 * gdb.reverse/watch-precsave.exp: Likewise.
6869 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6871 * gdb.base/bp-permanent.c: Include unistd.h.
6872 * gdb.python/py-framefilter-mi.c (main): Add return type.
6873 * gdb.python/py-framefilter.c (main): Likewise.
6874 * gdb.trace/actions-changed.c (main): Likewise.
6876 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6878 * gdb.mi/until.c: Add eye-catchers.
6879 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6882 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6884 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6885 function header variants in break1.c.
6886 * gdb.base/ena-dis-br.exp: Likewise.
6887 * gdb.base/hbreak2.exp: Likewise.
6888 * gdb.reverse/until-precsave.exp: Drop references to removed
6889 non-prototype function header variants in ur1.c.
6890 * gdb.reverse/until-reverse.exp: Likewise.
6892 2014-11-17 Petr Machata <pmachata@redhat.com>
6894 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6895 ${_cu_offset_size} bytes abbrev offset.
6897 2014-11-15 Doug Evans <xdje42@gmail.com>
6900 * gdb.base/line-symtabs.exp: New file.
6901 * gdb.base/line-symtabs.c: New file.
6902 * gdb.base/line-symtabs.h: New file.
6904 2014-11-14 Yao Qi <yao@codesourcery.com>
6906 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6907 (func): Add label func_label.
6908 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6909 Replace low_pc and high_pc with MACRO_AT_range.
6910 Replace name, low_pc and high_pc with MACRO_AT_func.
6912 2014-11-14 Yao Qi <yao@codesourcery.com>
6914 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6915 Replace name, low_pc and high_pc with MACRO_AT_func.
6917 2014-11-14 Yao Qi <yao@codesourcery.com>
6919 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6920 produce debug information.
6921 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6923 2014-11-14 Yao Qi <yao@codesourcery.com>
6925 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6926 object and get function length.
6927 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6929 (top-level): Replace gdb_compile and clean_restart with
6930 prepare_for_testing.
6931 * gdb.dwarf2/main.c (main): Add label main_label.
6933 2014-11-14 Yao Qi <yao@codesourcery.com>
6935 * lib/dwarf.exp (function_range): New procedure.
6936 (Dwarf::_handle_macro_at_func): New procedure.
6937 (Dwarf::_handle_macro_at_range): New procedure.
6938 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6940 2014-11-14 Yao Qi <yao@codesourcery.com>
6942 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6943 (_handle_attribute): New procedure.
6945 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6947 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6948 * gdb.base/call-sc.c (zed): Likewise.
6949 * gdb.base/checkpoint.c (main): Likewise.
6950 * gdb.base/dump.c (main): Likewise.
6951 * gdb.base/gcore.c (main): Likewise.
6952 * gdb.base/huge.c (main): Likewise.
6953 * gdb.base/multi-forks.c (main): Likewise.
6954 * gdb.base/pr10179-a.c (main): Likewise.
6955 * gdb.base/savedregs.c (main): Likewise.
6956 * gdb.base/sigaltstack.c (main): Likewise.
6957 * gdb.base/siginfo.c (main): Likewise.
6958 * gdb.base/structs.c (zed): Likewise.
6959 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6960 * gdb.mi/mi-syn-frame.c (main): Likewise.
6961 * gdb.mi/until.c (foo, main): Likewise.
6962 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6963 * gdb.base/solib-weak.c (foo): Declare.
6964 * gdb.base/attach-twice.c: Include stdio.h.
6965 * gdb.base/weaklib1.c: Likewise.
6966 * gdb.base/weaklib2.c: Likewise.
6967 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6968 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6970 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6971 * gdb.mi/mi-exit-code.c: Likewise.
6972 * gdb.base/break-interp-lib.c: Include string.h.
6973 * gdb.base/coremaker.c: Likewise.
6974 * gdb.base/testenv.c: Likewise.
6975 * gdb.python/py-finish-breakpoint.c: Likewise.
6976 * gdb.base/inferior-died.c: Include sys/wait.h.
6977 * gdb.base/fileio.c: Include time.h.
6978 * gdb.base/async-shell.c: Include unistd.h.
6979 * gdb.base/dprintf-non-stop.c: Likewise.
6980 * gdb.base/info-os.c: Likewise.
6981 * gdb.mi/mi-console.c: Likewise.
6982 * gdb.mi/watch-nonstop.c: Likewise.
6983 * gdb.python/py-events.c: Likewise.
6984 * gdb.base/async.c (baz): Move up before its invocation.
6985 * gdb.base/code_elim2.c (my_global_func): Likewise.
6986 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6987 * gdb.base/advance.c (func2): Likewise.
6989 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6991 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6993 * gdb.base/annota3.c: Likewise.
6994 * gdb.base/async.c: Likewise.
6995 * gdb.base/average.c: Likewise.
6996 * gdb.base/call-ar-st.c: Likewise.
6997 * gdb.base/call-rt-st.c: Likewise.
6998 * gdb.base/call-sc.c: Likewise.
6999 * gdb.base/call-strs.c: Likewise.
7000 * gdb.base/ending-run.c: Likewise.
7001 * gdb.base/execd-prog.c: Likewise.
7002 * gdb.base/exprs.c: Likewise.
7003 * gdb.base/foll-exec.c: Likewise.
7004 * gdb.base/foll-fork.c: Likewise.
7005 * gdb.base/foll-vfork.c: Likewise.
7006 * gdb.base/funcargs.c: Likewise.
7007 * gdb.base/gcore.c: Likewise.
7008 * gdb.base/jump.c: Likewise.
7009 * gdb.base/langs0.c: Likewise.
7010 * gdb.base/langs1.c: Likewise.
7011 * gdb.base/langs2.c: Likewise.
7012 * gdb.base/mips_pro.c: Likewise.
7013 * gdb.base/nodebug.c: Likewise.
7014 * gdb.base/opaque0.c: Likewise.
7015 * gdb.base/opaque1.c: Likewise.
7016 * gdb.base/recurse.c: Likewise.
7017 * gdb.base/run.c: Likewise.
7018 * gdb.base/scope0.c: Likewise.
7019 * gdb.base/scope1.c: Likewise.
7020 * gdb.base/setshow.c: Likewise.
7021 * gdb.base/setvar.c: Likewise.
7022 * gdb.base/shmain.c: Likewise.
7023 * gdb.base/shr1.c: Likewise.
7024 * gdb.base/shr2.c: Likewise.
7025 * gdb.base/sigall.c: Likewise.
7026 * gdb.base/signals.c: Likewise.
7027 * gdb.base/so-indr-cl.c: Likewise.
7028 * gdb.base/solib2.c: Likewise.
7029 * gdb.base/structs.c: Likewise.
7030 * gdb.base/sum.c: Likewise.
7031 * gdb.base/vforked-prog.c: Likewise.
7032 * gdb.base/watchpoint.c: Likewise.
7033 * gdb.reverse/shr2.c: Likewise.
7034 * gdb.reverse/until-reverse.c: Likewise.
7035 * gdb.reverse/ur1.c: Likewise.
7036 * gdb.reverse/watch-reverse.c: Likewise.
7038 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7040 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7042 * gdb.base/sepdebug.exp: Drop references to removed code.
7044 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7046 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7047 variant. Preserve original line numbering.
7048 * gdb.base/list1.c: Likewise.
7050 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7052 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7054 * gdb.base/break1.c: Likewise.
7055 * gdb.base/break.exp: Drop references to removed code.
7057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7059 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7062 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7064 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7066 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7068 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7069 logic into perform_all_tests() and invoke it with and without
7070 function header prototypes.
7071 (do_function_calls): Remove conditional XFAIL for PR 5318.
7072 (rerun_and_prepare): Remove duplicate code.
7073 (perform_all_tests): New. Main logic moved here.
7075 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7077 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7078 code guarded by #ifdef NO_PROTOTYPES.
7079 (t_double_many_args): Likewise.
7080 (DEF_FUNC_MANY_ARGS_1): Likewise.
7081 (DEF_FUNC_VALUES_1): Likewise.
7082 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7083 guarded by #ifdef PROTOTYPES.
7085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7087 * gdb.mi/mi-console.c: Add eye-catcher.
7088 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7089 instead of literal line number.
7091 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7093 * gdb.base/shr2.c: Add eye-catcher.
7094 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7097 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7099 * gdb.base/jump.c: Add eye-catchers.
7100 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7103 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7105 * gdb.base/execd-prog.c: Add eye-catchers.
7106 * gdb.base/foll-exec.c: Likewise.
7107 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7110 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7112 * gdb.base/ending-run.c: Add eye-catchers.
7113 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7114 literal line numbers.
7116 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7118 * gdb.base/call-rt-st.c: Add eye-catchers.
7119 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7120 literal line numbers.
7122 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7124 * gdb.base/call-ar-st.c: Add eye-catchers.
7125 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7126 literal line numbers.
7128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7130 * gdb.base/average.c: Add eye-catchers.
7131 * gdb.base/sum.c: Likewise.
7132 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7133 regexps dynamically.
7135 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7137 * gdb.base/solib1.c: Add eye-catchers.
7138 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7139 literal line numbers.
7141 2014-11-12 Pedro Alves <palves@redhat.com>
7143 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7146 2014-11-12 Pedro Alves <palves@redhat.com>
7148 * gdb.arch/i386-bp_permanent.c: New file.
7149 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7150 (srcfile): Set to i386-bp_permanent.c.
7151 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7152 that stepi does not execute the 'leave' instruction, instead of
7153 testing it does execute.
7154 * gdb.base/bp-permanent.c: New file.
7155 * gdb.base/bp-permanent.exp: New file.
7157 2014-11-10 Doug Evans <xdje42@gmail.com>
7160 * gdb.base/symtab-search-order.exp: New file.
7161 * gdb.base/symtab-search-order.c: New file.
7162 * gdb.base/symtab-search-order-1.c: New file.
7163 * gdb.base/symtab-search-order-shlib-1.c: New file.
7165 2014-11-07 Pedro Alves <palves@redhat.com>
7168 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7171 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7174 * gdb.cp/pr17494.cc: New file.
7175 * gdb.cp/pr17494.exp: New file.
7177 2014-11-02 Yao Qi <yao@codesourcery.com>
7179 * gdb.python/python.exp: Get working directory and match the
7180 output of "set extended-prompt \\w " with it.
7182 2014-10-30 Doug Evans <dje@google.com>
7184 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7186 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7189 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
7191 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7192 * gdb.base/realname-expand.exp: Likewise.
7193 * gdb.linespec/macro-relative.exp: Likewise.
7195 2014-10-29 Pedro Alves <palves@redhat.com>
7198 * gdb.threads/schedlock.c (some_function): New function.
7199 (call_function): New global.
7200 (MAYBE_CALL_SOME_FUNCTION): New macro.
7201 (thread_function): Call it.
7202 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7203 and use it instead of a global counter. Adjust all callers.
7204 (get_current_thread): Use "find current thread" for test message
7205 here rather than having all callers pass down the same string.
7206 (goto_loop): New procedure, factored out from ...
7207 (my_continue): ... this.
7208 (step_ten_loops): Change parameter from test message to command to
7210 (list_count): Delete global.
7211 (check_result): New procedure, factored out from duplicate top
7213 (continue tests): Wrap in with_test_prefix.
7214 (test_step): New procedure, factored out from duplicate top level
7216 (top level): Test "step" in combination with all scheduler-locking
7217 modes. Test "next" in combination with all scheduler-locking
7218 modes, and in combination with stepping over a function call or
7220 * gdb.threads/next-bp-other-thread.c: New file.
7221 * gdb.threads/next-bp-other-thread.exp: New file.
7223 2014-10-29 Pedro Alves <palves@redhat.com>
7226 * gdb.python/python.exp: Test a multi-line command that spawns
7228 * gdb.base/multi-line-starts-subshell.exp: New file.
7230 2014-10-29 Yao Qi <yao@codesourcery.com>
7232 * gdb.base/fileio.exp: Make directories on host.
7234 2014-10-29 Yao Qi <yao@codesourcery.com>
7236 * gdb.base/fileio.c (test_write): Close the file.
7238 2014-10-28 Pedro Alves <palves@redhat.com>
7241 * gdb.base/sigstep.c (no_handler): New global.
7242 (main): If 'no_handler is true, set the signal handlers to
7244 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7245 with_sw_watch and no_handler parameters. Handle them.
7246 (top level) <stepping over handler when stopped at a breakpoint
7247 test>: Add a test axis for testing with a software watchpoint, and
7248 another for testing with the signal handler set to SIG_IGN.
7249 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7250 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7252 2014-10-28 Pedro Alves <palves@redhat.com>
7255 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7256 * gdb.base/sigstep.exp (other_handler_location): New global.
7257 (advance): Support stepping into the signal handler, and running
7258 commands while in the handler.
7259 (in_handler_map): New global.
7260 (top level): In the advance test, add combinations for getting
7261 into the handler with stepping commands, and for running commands
7262 in the handler. Add comment descripting the advancei tests.
7264 2014-10-28 Pedro Alves <palves@redhat.com>
7266 * gdb.base/sigstep.exp: Use build_executable instead of
7267 prepare_for_testing.
7268 (top level): Move code that starts GDB, runs to main and creates a
7270 (restart): ... this new procedure.
7271 (top level): Move backtrace from signal handler test to ...
7272 (validate_backtrace): ... this new procedure.
7273 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7274 with_test_prefix. Always restart GDB.
7275 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7276 with_test_prefix. Always restart GDB. No need to delete
7277 breakpoints after the test.
7278 (test_skip_handler): Remove prefix parameter.
7279 (skip_over_handler, breakpoint_to_handler)
7280 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7281 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7282 restart GDB. No need to delete breakpoints after the test.
7283 (top level): Use foreach to call the test procedures with
7286 2014-10-28 Pedro Alves <palves@redhat.com>
7288 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7289 instead of GNATS numbers.
7290 * gdb.base/sigbpt.exp: Likewise.
7291 * gdb.base/siginfo.exp: Likewise.
7292 * gdb.base/sigstep.exp: Likewise.
7294 2014-10-27 Pedro Alves <palves@redhat.com>
7296 * gdb.base/sigstep.c (dummy): New global.
7297 (main): Issue a couple writes to the new global.
7298 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7300 (skip_over_handler): Use test_skip_handler.
7301 (top level): Call skip_over_handler for stepi and nexti too.
7302 (breakpoint_over_handler): Use test_skip_handler.
7303 (top level): Call breakpoint_over_handler for stepi and nexti too.
7305 2014-10-27 Yao Qi <yao@codesourcery.com>
7307 * gdb.trace/tfile.c (adjust_function_address)
7308 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7309 function descriptor.
7311 2014-10-24 Don Breazeal <donb@codesourcery.com>
7313 * gdb.base/foll-fork.exp (test_follow_fork,
7314 catch_fork_child_follow): Check for updated fork messages emitted
7316 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7317 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7318 vfork_and_exec_child_follow_through_step): Check for updated vfork
7319 messages emitted from infrun.c.
7321 2014-10-24 Pedro Alves <palves@redhat.com>
7323 * gdb.base/corefile.exp: Remove references to ultrix.
7324 * gdb.base/interrupt.exp: Likewise.
7325 * gdb.base/whatis.exp: Likewise.
7326 * gdb.gdb/selftest.exp: Likewise.
7327 * gdb.threads/manythreads.exp: Likewise.
7328 * gdb.threads/print-threads.exp: Likewise.
7329 * gdb.threads/pthreads.exp:: Likewise.
7330 * gdb.threads/schedlock.exp: Likewise.
7332 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7334 * gdb.cp/non-trivial-retval.cc: Add a test case.
7335 * gdb.cp/non-trivial-retval.exp: Add a test.
7337 2014-10-20 Yao Qi <yao@codesourcery.com>
7339 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7340 * gdb.python/py-objfile-script-gdb.py: New file.
7341 * gdb.python/py-objfile-script.exp: Update reference to
7342 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7343 of remote_download. Remove the dest file.
7345 2014-10-20 Yao Qi <yao@codesourcery.com>
7347 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7348 * gdb.base/step-line.exp: Likewise.
7349 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7350 * gdb.dwarf2/dw2-basic.exp: Likewise.
7351 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7352 * gdb.dwarf2/dw2-filename.exp: Likewise.
7353 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7354 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7355 * gdb.dwarf2/dw2-producer.exp: Likewise.
7356 * gdb.dwarf2/mac-fileno.exp: Likewise.
7357 * gdb.python/py-frame-args.exp: Likewise.
7358 * gdb.python/py-framefilter.exp: Likewise.
7359 * gdb.python/py-mi.exp: Likewise.
7360 * gdb.python/py-objfile-script.exp: Likewise
7361 * gdb.python/py-pp-integral.exp: Likewise.
7362 * gdb.python/py-pp-re-notag.exp: Likewise.
7363 * gdb.python/py-prettyprint.exp: Likewise.
7364 * gdb.python/py-section-script.exp: Likewise.
7365 * gdb.python/py-typeprint.exp: Likewise.
7366 * gdb.python/py-xmethods.exp: Likewise.
7367 * gdb.stabs/weird.exp: Likewise.
7368 * gdb.xml/tdesc-regs.exp: Likewise.
7370 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7372 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7373 (out_cu): Use addr_len for the size of addresses.
7374 (out_line): Likewise. Size DW_LNE_set_address instruction
7375 according to addr_len.
7376 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7377 (FUNC): Add START_INSNS to definition.
7379 2014-10-18 Yao Qi <yao@codesourcery.com>
7381 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7382 gdb_has_argv0 return true.
7383 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7384 check [target_info exists noargs], check [gdb_has_argv0]
7386 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7387 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7390 2014-10-17 Doug Evans <dje@google.com>
7392 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7394 * gdb.python/py-events.py: Add clear_objfiles event.
7396 2014-10-17 Doug Evans <dje@google.com>
7398 * gdb.python/py-objfile.exp: Test progspace attribute.
7400 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7402 * gdb.guile/scm-breakpoint.exp: Do not assume any
7403 directory separators when matching source file paths.
7404 * gdb.python/py-breakpoint.exp: Likewise.
7405 * gdb.reverse/break-precsave.exp: Likewise.
7406 * gdb.reverse/break-reverse.exp: Likewise.
7407 * gdb.reverse/consecutive-precsave.exp: Likewise.
7408 * gdb.reverse/finish-precsave.exp: Likewise.
7409 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7410 * gdb.reverse/finish-reverse.exp: Likewise.
7411 * gdb.reverse/i386-precsave.exp: Likewise.
7412 * gdb.reverse/i387-env-reverse.exp: Likewise.
7413 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7414 * gdb.reverse/machinestate-precsave.exp: Likewise.
7415 * gdb.reverse/machinestate.exp: Likewise.
7416 * gdb.reverse/sigall-precsave.exp: Likewise.
7417 * gdb.reverse/solib-precsave.exp: Likewise.
7418 * gdb.reverse/step-precsave.exp: Likewise.
7419 * gdb.reverse/until-precsave.exp: Likewise.
7420 * gdb.reverse/watch-precsave.exp: Likewise.
7421 * gdb.reverse/watch-reverse.exp: Likewise.
7423 2014-10-17 Yao Qi <yao@codesourcery.com>
7425 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7426 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7428 2014-10-17 Pedro Alves <palves@redhat.com>
7431 * gdb.base/bg-execution-repeat.c: New file.
7432 * gdb.base/bg-execution-repeat.exp: New file.
7434 2014-10-17 Pedro Alves <palves@redhat.com>
7437 * gdb.base/continue-all-already-running.c: New file.
7438 * gdb.base/continue-all-already-running.exp: New file.
7440 2014-10-17 Pedro Alves <palves@redhat.com>
7443 * gdb.base/annota-input-while-running.c: New file.
7444 * gdb.base/annota-input-while-running.exp: New file.
7446 2014-10-17 Pedro Alves <palves@redhat.com>
7448 * gdb.base/callfuncs.exp: emove references to osf.
7449 * gdb.base/sigall.exp: Likewise.
7450 * gdb.gdb/selftest.exp: Likewise.
7451 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7452 * gdb.mi/non-stop.c: Likewise.
7453 * gdb.mi/pthreads.c: Likewise.
7454 * gdb.reverse/sigall-precsave.exp: Likewise.
7455 * gdb.reverse/sigall-reverse.exp: Likewise.
7456 * gdb.threads/pthreads.c: Likewise.
7457 * gdb.threads/pthreads.exp: Likewise.
7459 2014-10-17 Yao Qi <yao@codesourcery.com>
7461 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7462 check 'target_info exists noargs'.
7463 (test_command_prompt_position): Likewise.
7464 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7466 (progvar_simple_while_test): Likewise.
7467 (progvar_complex_if_while_test): Likewise.
7468 (if_while_breakpoint_command_test): Likewise.
7469 (infrun_breakpoint_command_test): Likewise.
7470 (breakpoint_command_test): Likewise.
7471 (watchpoint_command_test): Likewise.
7472 (bp_deleted_in_command_test): Likewise.
7473 (temporary_breakpoint_commands): Likewise.
7475 2014-10-16 Yao Qi <yao@codesourcery.com>
7477 * gdb.base/remotetimeout.exp: Remove noargs checking.
7479 2014-10-15 Pedro Alves <palves@redhat.com>
7482 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7483 * gdb.base/breakpoint-in-ro-region.exp
7484 (probe_target_hardware_step): New procedure.
7485 (top level): Probe hardware stepping and hardware breakpoint
7486 support. Test stepping through a read-only region, with both
7487 "breakpoint auto-hw" on and off and both "always-inserted" on and
7490 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7492 * gdb.dlang/demangle.exp: Update for demangling changes.
7494 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7496 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7497 * gdb.cp/non-trivial-retval.exp: Add new tests.
7499 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7503 * gdb.cp/non-trivial-retval.cc: New file.
7504 * gdb.cp/non-trivial-retval.exp: New file.
7506 2014-10-15 Yao Qi <yao@codesourcery.com>
7508 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7511 2014-10-15 Yao Qi <yao@codesourcery.com>
7513 * gdb.python/py-symbol.exp: Match file base name if host is
7514 remote, otherwise match file name with dir name.
7515 * gdb.python/py-symtab.exp: Likewise.
7516 * gdb.python/python.exp: Likewise.
7518 2014-10-15 Yao Qi <yao@codesourcery.com>
7520 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7522 * gdb.python/py-symtab.exp: Likewise.
7523 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7526 2014-10-14 Joel Brobecker <brobecker@adacore.com>
7528 * gdb.ada/addr_arith: New testcase.
7530 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7532 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7533 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7534 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7535 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7537 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7539 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7540 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7541 * gdb.arch/stap-eval-lang-ada.exp: New file.
7543 2014-10-14 Yao Qi <yao@codesourcery.com>
7545 * gdb.mi/mi-var-child.c (nothing1): New function.
7546 (nothing2): New function.
7547 (do_children_tests): Set function pointers by nothing1 and
7549 * gdb.mi/mi-var-child.exp: Step over new added statements.
7550 Update test to match the new output.
7551 * gdb.mi/var-cmd.c (nothing1): New function.
7552 (nothing2): New function.
7553 (do_children_tests): Set function pointers by nothing1 and
7555 * gdb.mi/mi-var-display.exp: Update test to match output.
7556 Step to the line specified by $line_dct_nothing.
7557 Increase the number of lines to step.
7559 2014-10-14 Yao Qi <yao@codesourcery.com>
7561 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7563 * gdb.mi/mi2-var-child.exp: Likewise.
7565 2014-10-13 Doug Evans <dje@google.com>
7567 * gdb.python/py-objfile.exp: Change name of file name test.
7569 2014-10-13 Doug Evans <dje@google.com>
7571 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7572 from the start of the CU.
7574 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7575 Yao Qi <yao@codesourcery.com>
7577 Fix "save breakpoints" for "catch" command.
7578 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7579 Remove -nonewline. Match also the added "main" line.
7581 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7583 Fix "save breakpoints" for "disable $bpnum" command.
7584 * gdb.base/save-bp.c (main): Add label.
7585 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7587 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7589 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7591 2014-10-11 Yao Qi <yao@codesourcery.com>
7593 * gdb.server/server-kill.exp: Execute command
7594 "set remote trace-status-packet on" before "tstatus".
7596 2014-10-11 Yao Qi <yao@codesourcery.com>
7598 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7599 (main): Call getppid.
7600 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7601 and continue to it. Read variable "server_pid".
7603 2014-10-11 Yao Qi <yao@codesourcery.com>
7605 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7607 2014-10-11 Yao Qi <yao@codesourcery.com>
7609 * gdb.threads/thread-find.exp: Don't execute command
7611 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7612 * gdb.threads/linux-dp.exp: Don't check the condition
7613 $threads_created equals to zero.
7615 2014-10-10 Pedro Alves <palves@redhat.com>
7617 * gdb.base/bigcore.exp: Remove references to IRIX.
7618 * gdb.base/funcargs.exp: Likewise.
7619 * gdb.base/interrupt.exp: Likewise.
7620 * gdb.base/mips_pro.exp: Likewise.
7621 * gdb.base/nodebug.exp: Likewise.
7622 * gdb.base/setvar.exp: Likewise.
7623 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7625 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7626 Pedro Alves <palves@redhat.com>
7629 * gdb.base/vdso-warning.c: New file.
7630 * gdb.base/vdso-warning.exp: New file.
7632 2014-10-02 Doug Evans <dje@google.com>
7634 * gdb.base/structs.c (main): Don't run forever.
7636 2014-10-02 Pedro Alves <palves@redhat.com>
7638 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7639 (top level) <stop threads 1, stop threads 2>: Use it.
7641 2014-10-02 Pedro Alves <palves@redhat.com>
7643 * gdb.threads/break-while-running.exp (test): Add new
7644 'update_thread_list' argument. Skip "info threads" if false.
7645 (top level): Add new 'update_thread_list' axis.
7647 2014-10-02 Pedro Alves <palves@redhat.com>
7649 PR breakpoints/17431
7650 * gdb.base/execl-update-breakpoints.c: New file.
7651 * gdb.base/execl-update-breakpoints.exp: New file.
7653 2014-10-01 Pedro Alves <palves@redhat.com>
7655 * gdb.base/breakpoint-in-ro-region.c: New file.
7656 * gdb.base/breakpoint-in-ro-region.exp: New file.
7658 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7660 * gdb.mi/mi-exit-code.exp: New file.
7661 * gdb.mi/mi-exit-code.c: New file.
7663 2014-09-30 Yao Qi <yao@codesourcery.com>
7665 * lib/prelink-support.exp (build_executable_own_libs): Error if
7666 the target isn't native.
7668 2014-09-30 Yao Qi <yao@codesourcery.com>
7670 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7673 2014-09-22 Pedro Alves <palves@redhat.com>
7675 * gdb.threads/break-while-running.exp: New file.
7676 * gdb.threads/break-while-running.c: New file.
7678 2014-09-19 Yao Qi <yao@codesourcery.com>
7680 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7681 Invoke test. Restart GDB with --readnow and invoke test again.
7683 2014-09-19 Yao Qi <yao@codesourcery.com>
7685 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7686 proc set_breakpoint_on_gcd_function. Invoke
7687 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7688 invoke set_breakpoint_on_gcd_function again.
7690 2014-09-18 Doug Evans <dje@google.com>
7692 * gdb.dwarf2/symtab-producer.exp: New file.
7694 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7696 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7697 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7698 * gdb.base/global-var-nested-by-dso.c: Likewise.
7699 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7701 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7702 Pedro Alves <palves@redhat.com>
7704 * gdb.base/watch-bitfields.exp: Pass string other than test file
7705 name to prepare_for_testing.
7706 (watch): New procedure.
7707 (expect_watchpoint): Use with_test_prefix.
7708 (top level): Factor out tests to ...
7709 (test_watch_location, test_regular_watch): ... these new
7710 procedures, and use with_test_prefix and gdb_continue_to_end.
7712 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7714 PR breakpoints/12526
7715 * gdb.base/watch-bitfields.exp: New file.
7716 * gdb.base/watch-bitfields.c: New file.
7718 2014-09-16 Pedro Alves <palves@redhat.com>
7720 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7721 software and hardware addresses, not software address against
7724 2014-09-16 Pedro Alves <palves@redhat.com>
7726 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7727 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7729 2014-09-16 Pedro Alves <palves@redhat.com>
7731 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7733 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7734 "*-*-vxworks*" throughout.
7735 * gdb.base/break.exp: Likewise.
7736 * gdb.base/default.exp: Likewise.
7737 * gdb.base/scope.exp: Likewise.
7738 * gdb.base/sepdebug.exp: Likewise.
7739 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7741 * gdb.base/run.c: Likewise.
7742 * gdb.base/sepdebug.c: Likewise.
7743 * gdb.hp/gdb.aCC/run.c: Likewise.
7744 * gdb.reverse/until-reverse.c: Likewise.
7745 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7747 2014-09-16 Yao Qi <yao@codesourcery.com>
7749 * boards/local-remote-host-native.exp: New file.
7751 2014-09-14 Doug Evans <xdje42@gmail.com>
7753 * gdb.threads/queue-signal.c (thread_count): New variable.
7754 (thread_count_mutex, thread_count_condvar): New variables.
7755 (incr_thread_count, wait_all_threads_running): New functions.
7756 (main): Wait for all threads to be in their thread functions.
7758 2014-09-13 Doug Evans <xdje42@gmail.com>
7760 * gdb.threads/queue-signal.c: New file.
7761 * gdb.threads/queue-signal.exp: New file.
7763 2014-09-13 Doug Evans <xdje42@gmail.com>
7765 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7766 be consistent with what default_gdb_init uses.
7767 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7768 the plain text of the prompt. Add some logging printfs.
7769 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7771 2014-09-12 Pedro Alves <palves@redhat.com>
7773 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7774 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7775 * gdb.arch/i386-size-overlap.exp: Likewise.
7776 * gdb.arch/i386-size.exp: Likewise.
7777 * gdb.arch/i386-unwind.exp: Likewise.
7778 * gdb.base/a2-run.exp: Likewise.
7779 * gdb.base/break.exp: Likewise.
7780 * gdb.base/charset.exp: Likewise.
7781 * gdb.base/chng-syms.exp: Likewise.
7782 * gdb.base/commands.exp: Likewise.
7783 * gdb.base/dbx.exp: Likewise.
7784 * gdb.base/find.exp: Likewise.
7785 * gdb.base/funcargs.exp: Likewise.
7786 * gdb.base/jit-simple.exp: Likewise.
7787 * gdb.base/reread.exp: Likewise.
7788 * gdb.base/sepdebug.exp: Likewise.
7789 * gdb.base/step-bt.exp: Likewise.
7790 * gdb.cp/mb-inline.exp: Likewise.
7791 * gdb.cp/mb-templates.exp: Likewise.
7792 * gdb.objc/basicclass.exp: Likewise.
7793 * gdb.threads/killed.exp: Likewise.
7795 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7798 * gdb.arch/powerpc-stackless.S: New file.
7799 * gdb.arch/powerpc-stackless.exp: New file.
7801 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7803 * gdb.base/attach.c: Include unistd.h.
7804 (main): Call alarm. Add label postloop.
7805 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7806 gdb_breakpoint, gdb_continue_to_breakpoint.
7807 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7809 2014-09-11 Pedro Alves <palves@redhat.com>
7812 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7813 * gdb.base/attach.exp (test_command_line_attach_run): New
7815 (top level): Call it.
7817 2014-09-11 Pedro Alves <palves@redhat.com>
7819 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7820 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7821 (do_command_attach_tests): Use spawn_wait_for_attach.
7822 * gdb.base/solib-overlap.exp: Likewise.
7823 * gdb.multi/multi-attach.exp: Likewise.
7824 * gdb.python/py-prompt.exp: Likewise.
7825 * gdb.python/py-sync-interp.exp: Likewise.
7826 * gdb.server/ext-attach.exp: Likewise.
7828 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7830 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7831 command in testcase. Simplify testcase.
7833 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7835 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7837 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7839 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7841 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7843 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7845 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7847 * gdb.dwarf2/dynarr-ptr.c: New file.
7848 * gdb.dwarf2/dynarr-ptr.exp: New file.
7850 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7852 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7853 of 30 rather than hardcoding 120 for a slow test case. Take the
7854 `gdb,timeout' target setting into account for this calculation.
7855 Don't extend the timeout for the test cases that don't need it.
7857 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7859 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7860 a factor of 2 for a slow test case. Take the `gdb,timeout'
7861 target setting into account for this calculation.
7862 * gdb.reverse/until-precsave.exp: Increase the timeout by
7863 a factor of 15 and 3 respectively rather than adding 120
7864 for a pair of slow test cases. Take the `gdb,timeout'
7865 target setting into account for this calculation.
7867 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7869 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7870 timeout, don't pass one down to gdb_expect.
7871 (gdb_expect): Rework timeout selection.
7873 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7875 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7876 exception on timeout.
7877 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7878 (gdbserver_start_extended): Catch any `gdbserver_start' error
7880 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7881 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7882 `gdbserver_gdb_load' error exceptions.
7884 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7886 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7887 120 on waiting for the TCP socket to open.
7889 2014-09-09 Doug Evans <xdje42@gmail.com>
7891 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7892 _caller_matches, _any_caller_is, _any_caller_matches.
7894 2014-09-09 Doug Evans <xdje42@gmail.com>
7896 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7898 2014-09-09 Yao Qi <yao@codesourcery.com>
7900 * gdb.mi/mi-var-display.exp: Set print symbol off.
7902 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7905 * gdb.base/commands.exp: Add tests to verify user-defined
7906 commands with empty bodies.
7907 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7908 python commands in `show user command`.
7909 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7910 scheme commands in `show user command`.
7912 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7915 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7916 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7917 * gdb.python/py-framefilter-invalidarg.exp: New file.
7918 * gdb.python/py-framefilter-invalidarg.py: New file.
7920 2014-09-06 Doug Evans <xdje42@gmail.com>
7923 * gdb.python/py-caller-is.c: New file.
7924 * gdb.python/py-caller-is.exp: New file.
7926 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7929 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7930 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7932 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7935 * gdb.fortran/print-formatted.exp: New file.
7936 * gdb.fortran/print-formatted.f90: Likewise.
7938 2014-09-03 Sasha Smundak <asmundak@google.com>
7940 * gdb.python/py-frame.exp: Test Frame.read_register.
7942 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7945 * gdb.python/py-completion.exp: New file.
7946 * gdb.python/py-completion.py: Likewise.
7948 2014-08-28 Doug Evans <dje@google.com>
7950 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7951 eax,etc. are live with values set by gdb and thus the compiler can't
7953 * gdb.arch/i386-pseudo.c (main): Ditto.
7955 2014-08-27 Doug Evans <dje@google.com>
7957 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7959 2014-08-25 Doug Evans <dje@google.com>
7961 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7964 2014-08-25 Doug Evans <dje@google.com>
7966 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7968 2014-08-24 Yao Qi <yao@codesourcery.com>
7970 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7972 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7974 2014-08-22 Doug Evans <dje@google.com>
7977 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7978 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7979 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7981 2014-08-22 Yao Qi <yao@codesourcery.com>
7983 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7984 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7985 * gdb.python/python.exp: Likewise. Use .py file on the host
7986 instead of the build.
7988 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7990 * gdb.threads/gcore-stale-thread.c: New file.
7991 * gdb.threads/gcore-stale-thread.exp: New file.
7993 2014-08-21 Pedro Alves <palves@redhat.com>
7995 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7996 * gdb.base/gcore-relro-pie.exp: Likewise.
7997 * gdb.base/gcore-relro.exp: Likewise.
7998 * gdb.base/gcore.exp: Likewise.
7999 * gdb.base/print-symbol-loading.exp: Likewise.
8000 * gdb.threads/gcore-thread.exp: Likewise.
8001 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
8003 2014-08-20 Pedro Alves <palves@redhat.com>
8004 Jan Kratochvil <jan.kratochvil@redhat.com>
8006 * Makefile.in (EXTRA_RULES, CC): New variables, get from
8008 (EXPECT): Handle READ1 being set.
8009 (all): Depend on EXTRA_RULES.
8010 (check-read1, expect-read1, read1.so, read1): New rules.
8011 * README (Testsuite Parameters): Document the READ1 make variable.
8012 (Race detection): New section.
8013 * configure: Regenerate.
8014 * configure.ac: If build==host==target, and running under a
8015 GNU/glibc system, add read1 to the extra Makefile rules.
8016 (EXTRA_RULES): AC_SUBST it.
8017 * lib/read1.c: New file.
8019 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8021 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8022 the handling of variables declared as a typedef to an array
8023 which a DW_AT_data_location attribute.
8025 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8026 Pedro Alves <palves@redhat.com>
8030 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8033 2014-08-19 Pedro Alves <palves@redhat.com>
8035 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8037 2014-08-19 Yao Qi <yao@codesourcery.com>
8039 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8042 2014-08-18 David Blaikie <dblaikie@gmail.com>
8044 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8046 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8048 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8049 attribute in array range.
8051 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8053 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8055 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8058 * gdb.cp/pr17132.cc: New file.
8059 * gdb.cp/pr17132.exp: New file.
8061 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8063 * gdb.python/py-xmethods.py (A_getarrayind)
8064 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8065 Use 'print' with function call syntax.
8066 (E_method_matcher.match): Fix tab vs space indentation mixup.
8068 2014-08-15 Yao Qi <yao@codesourcery.com>
8070 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8073 2014-08-15 Yao Qi <yao@codesourcery.com>
8075 * gdb.cp/casts.exp: Set print symbol off.
8076 * gdb.cp/class2.exp: Likewise.
8077 * gdb.cp/overload.exp: Likewise.
8078 * gdb.cp/templates.exp: Likewise.
8080 2014-08-11 Doug Evans <dje@google.com>
8082 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8083 (test_load_shlib): Update.
8085 2014-08-09 Yao Qi <yao@codesourcery.com>
8087 * gdb.base/display.exp: Invoke is_address_zero_readable.
8088 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8089 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8090 * gdb.base/hbreak-unmapped.exp: Return if
8091 is_address_zero_readable returns true.
8092 * gdb.base/signest.exp: Likewise.
8093 * gdb.base/signull.exp: Likewise.
8094 * gdb.base/sigbpt.exp: Likewise.
8095 * gdb.guile/scm-disasm.exp: Do the test if
8096 is_address_zero_readable returns false.
8097 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8098 * gdb.python/py-arch.exp: Likewise.
8099 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8100 * lib/gdb.exp (is_address_zero_readable): New proc.
8102 2014-08-09 Yao Qi <yao@codesourcery.com>
8105 * gdb.mi/mi-var-display.exp: Make test messages unique.
8107 2014-08-04 Tom Tromey <tromey@redhat.com>
8109 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8112 2014-08-04 Tom Tromey <tromey@redhat.com>
8114 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8117 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8119 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8120 inner_vla_struct_object_size.
8121 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8124 2014-07-30 Pedro Alves <palves@redhat.com>
8126 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8129 2014-07-29 Yao Qi <yao@codesourcery.com>
8132 * gdb.base/until-nodebug.exp: New.
8134 2014-07-28 Doug Evans <xdje42@gmail.com>
8137 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8138 previously existing parameter, and previously ambiguously spelled
8141 2014-07-28 Will Newton <will.newton@linaro.org>
8143 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8145 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8146 Doug Evans <xdje42@gmail.com>
8149 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8151 2014-07-25 Pedro Alves <palves@redhat.com>
8153 * gdb.threads/signal-command-handle-nopass.c: New file.
8154 * gdb.threads/signal-command-handle-nopass.exp: New file.
8155 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8156 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8157 * gdb.threads/signal-delivered-right-thread.c: New file.
8158 * gdb.threads/signal-delivered-right-thread.exp: New file.
8160 2014-07-25 Pedro Alves <palves@redhat.com>
8162 * gdb.base/double-prompt-target-event-error.exp
8163 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8165 (cancel_pagination_in_target_event): Rework double prompt
8167 * gdb.base/paginate-after-ctrl-c-running.exp
8168 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8170 * gdb.base/paginate-bg-execution.exp
8171 (test_bg_execution_pagination_return)
8172 (test_bg_execution_pagination_cancel): Remove '-notransfer
8174 * gdb.base/paginate-execution-startup.exp
8175 (test_fg_execution_pagination_return)
8176 (test_fg_execution_pagination_cancel): Remove '-notransfer
8178 * gdb.base/paginate-inferior-exit.exp
8179 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8181 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8182 * lib/gdb.exp (pagination_prompt): Run text through
8184 (gdb_test_multiple): Match $pagination_prompt instead of
8186 (string_to_regexp): Move to lib/gdb-utils.exp.
8188 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8190 * gdb.arch/amd64-entry-value-paramref.S: New file.
8191 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8192 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8193 * gdb.arch/amd64-optimout-repeat.S: New file.
8194 * gdb.arch/amd64-optimout-repeat.c: New file.
8195 * gdb.arch/amd64-optimout-repeat.exp: New file.
8197 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8200 * gdb.base/statistics.exp: New file.
8202 2014-07-17 Doug Evans <dje@google.com>
8205 * gdb.base/maint.exp: Update testing of per-command stats.
8207 2014-07-16 Pedro Alves <palves@redhat.com>
8209 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8210 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8211 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8212 (tfile_write_buf): New functions.
8213 (add_memory_block): Rewrite using the above.
8214 (adjust_function_address): New function.
8215 (FUNCTION_ADDRESS): New macro.
8216 (write_basic_trace_file): Remove short_x local, and use
8217 tfile_write_16. Change type of func_addr local to unsigned long
8218 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8219 here. Cast argument of add_memory_block to char pointer.
8220 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8221 (main): Remove parameters.
8222 * gdb.trace/tfile.exp: Remove nowarnings.
8224 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8226 * gdb.base/debug-expr.exp: Test string evaluation with
8227 "debug expression" on.
8229 2014-07-15 Pedro Alves <palves@redhat.com>
8231 * gdb.base/reread.exp: Use clean_restart.
8233 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8235 * gdb.arch/avr-flash-qualifer.c: New.
8236 * gdb.arch/avr-flash-qualifer.exp: New.
8238 2014-07-14 Pedro Alves <palves@redhat.com>
8240 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8241 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8243 2014-07-14 Pedro Alves <palves@redhat.com>
8245 * gdb.base/double-prompt-target-event-error.c: New file.
8246 * gdb.base/double-prompt-target-event-error.exp: New file.
8248 2014-07-14 Pedro Alves <palves@redhat.com>
8251 * gdb.base/paginate-inferior-exit.c: New file.
8252 * gdb.base/paginate-inferior-exit.exp: New file.
8254 2014-07-14 Pedro Alves <palves@redhat.com>
8257 * gdb.base/paginate-bg-execution.c: New file.
8258 * gdb.base/paginate-bg-execution.exp: New file.
8260 2014-07-14 Pedro Alves <palves@redhat.com>
8263 * gdb.base/paginate-execution-startup.c: New file.
8264 * gdb.base/paginate-execution-startup.exp: New file.
8265 * lib/gdb.exp (pagination_prompt): New global.
8266 (default_gdb_spawn): New procedure, factored out from
8268 (default_gdb_start): Adjust to call default_gdb_spawn.
8269 (gdb_spawn): New procedure.
8271 2014-07-14 Pedro Alves <palves@redhat.com>
8273 * lib/gdb.exp (gdb_assert): New procedure.
8274 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8276 2014-07-14 Pedro Alves <palves@redhat.com>
8278 * gdb.base/execution-termios.c: New file.
8279 * gdb.base/execution-termios.exp: New file.
8281 2014-07-14 Tom Tromey <tromey@redhat.com>
8283 * gdb.cp/vla-cxx.cc: New file.
8284 * gdb.cp/vla-cxx.exp: New file.
8286 2014-07-14 Tom Tromey <tromey@redhat.com>
8288 * gdb.reverse/rerun-prec.c: New file.
8289 * gdb.reverse/rerun-prec.exp: New file.
8291 2014-07-12 Maciej W. Rozycki <macro@mips.com>
8292 Maciej W. Rozycki <macro@codesourcery.com>
8294 * lib/gdb-utils.exp: New file.
8295 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8296 inline `gdb_init_command' processing.
8297 (gdb_start_cmd): Likewise.
8298 * lib/mi-support.exp (mi_run_cmd): Likewise.
8299 * README: Document `gdb_init_command' and `gdb_init_commands'.
8301 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8303 Fix false FAIL running under a very long directory name.
8304 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8305 and "set print elements 10000". Twice.
8307 2014-07-11 Yao Qi <yao@codesourcery.com>
8309 * gdb.base/exprs.exp: "set print symbol off".
8311 2014-07-11 Pedro Alves <palves@redhat.com>
8313 * gdb.threads/kill.c: New file.
8314 * gdb.threads/kill.exp: New file.
8316 2014-07-10 Yao Qi <yao@codesourcery.com>
8318 * gdb.trace/tfile.c (write_basic_trace_file)
8319 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8320 address written to trace file.
8322 2014-07-09 Pedro Alves <palves@redhat.com>
8324 * gdb.base/attach-wait-input.exp: New file.
8325 * gdb.base/attach-wait-input.c: New file.
8327 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8329 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8330 setting up test structures.
8331 (main): Call new test function.
8332 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8333 test function, continue into test function and walk test
8336 2014-07-02 Yao Qi <yao@codesourcery.com>
8338 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8339 'bar_start' at the beginning of functions 'foo' and 'bar'
8341 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8342 instead of 'foo' and 'bar'.
8344 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8346 * gdb.btrace/segv.exp: New.
8347 * gdb.btrace/segv.c: New.
8349 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
8351 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8354 2014-06-30 Mark Wielaard <mjw@redhat.com>
8356 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8357 vulture, vilify, villar): New volatile array constants.
8358 (vindictive, vegetation): New const volatile array constants.
8359 * gdb.base/volatile.exp: Test volatile and const volatile array
8362 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8364 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8365 target lacks support for awatch, rwatch, or hbreak.
8367 2014-06-27 Yao Qi <yao@codesourcery.com>
8369 * gdb.multi/dummy-frame-restore.exp: New.
8370 * gdb.multi/dummy-frame-restore.c: New.
8372 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8374 * gdb.btrace/gcore.exp: New.
8376 2014-06-23 Pedro Alves <palves@redhat.com>
8378 * gdb.base/watchpoint-reuse-slot.c: New file.
8379 * gdb.base/watchpoint-reuse-slot.exp: New file.
8381 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8383 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8384 progspace's filename in 'info', 'enable' and 'disable' command
8387 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8389 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8390 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8391 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8393 2014-06-20 Gary Benson <gbenson@redhat.com>
8395 * gdb.arch/i386-avx.exp: Fix include file location.
8396 * gdb.arch/i386-sse.exp: Likewise.
8398 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8400 * gdb.dlang/expression.exp: New file.
8402 2014-06-19 Pedro Alves <palves@redhat.com>
8404 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8406 (top level): ... here. Iterate running tests under different
8407 scheduler-locking settings.
8409 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
8411 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8412 to DW_FORM_addr and use non-zero addresses.
8414 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8417 * gdb.python/py-xmethods.cc: Add global function call counters and
8418 increment them in their respective functions. Remove "cout"
8420 * gdb.python/py-xmethods.exp: Make tests check the global function
8421 call counters instead of depending on inferior IO.
8423 2014-06-18 Don Breazeal <donb@codesourcery.com>
8425 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8427 (explicit_fork_parent_follow): Deleted procedure.
8428 (explicit_fork_child_follow): Deleted procedure.
8429 (test_follow_fork): New procedure.
8430 (do_fork_tests): Replace calls to deleted procedures with
8431 calls to test_follow_fork and reset GDB for subsequent
8434 2014-06-17 Yao Qi <yao@codesourcery.com>
8436 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8439 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
8441 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8442 Initialize ptr and S explicitly.
8443 (skip_type_update_when_not_use_rtti_test): Likewise.
8445 2014-06-16 Keith Seitz <keiths@redhat.com>
8448 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8449 the inferior is started.
8451 2014-06-16 Pedro Alves <palves@redhat.com>
8453 * gdb.base/break-main-file-remove-fail.c: New file.
8454 * gdb.base/break-main-file-remove-fail.exp: New file.
8455 * gdb.base/break-unload-file.exp: Use build_executable instead of
8456 prepare_for_testing.
8457 (test_break): New parameter "initial_load". Handle it.
8458 (top level): Add initial_load cmdline/file axis.
8460 2014-06-12 Tom Tromey <tromey@redhat.com>
8462 * gdb.base/completion.exp: Don't use directory name in test.
8464 2014-06-09 Gary Benson <gbenson@redhat.com>
8466 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8467 separate the always-available ANSI-standard signals from the
8468 signals that require checking.
8470 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8474 2014-06-07 Keith Seitz <keiths@redhat.com>
8478 * gdb.cp/var-tag.cc: New file.
8479 * gdb.cp/var-tag.exp: New file.
8480 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8481 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8482 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8483 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8485 2014-06-06 Doug Evans <xdje42@gmail.com>
8487 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8489 2014-06-06 Pedro Alves <palves@redhat.com>
8491 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8492 in target debug output instead of looking at RSP packets,
8493 disabling the test on any target that uses hardware stepping.
8496 2014-06-06 Pedro Alves <palves@redhat.com>
8498 * gdb.base/break-unload-file.exp: Fix typo.
8500 2014-06-06 Yao Qi <yao@codesourcery.com>
8502 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8503 from "jit_function" to "^jit_function".
8505 2014-06-06 Yao Qi <yao@codesourcery.com>
8507 * gdb.base/async.c (foo): Add one statement.
8508 * gdb.base/async.exp: Get the next instruction address and
8509 match the output of "nexti" by instruction address. Match
8510 the hex address in the output of "finish".
8512 2014-06-06 Gary Benson <gbenson@redhat.com>
8514 * gdb.base/call-signals.c: Remove preprocessor conditionals
8515 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8516 SIGSEGV and SIGTERM.
8517 * gdb.base/sigall.c: Likewise.
8518 * gdb.base/unwindonsignal.c: Likewise.
8519 * gdb.reverse/sigall-reverse.c: Likewise.
8521 2014-06-06 Yao Qi <yao@codesourcery.com>
8523 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8524 readable, skip the test.
8526 2014-06-06 Yao Qi <yao@codesourcery.com>
8528 * gdb.threads/staticthreads.c (thread_function): Move the line
8529 setting breakpoint on forward.
8530 * gdb.threads/staticthreads.exp: Update comments.
8532 2014-06-05 Ludovic Courtès <ludo@gnu.org>
8534 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8535 "history-append! type error".
8537 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8539 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8540 erroneous dprintf expected input.
8542 2014-06-04 Doug Evans <xdje42@gmail.com>
8544 * gdb.guile/scm-generics.exp: Delete.
8546 2014-06-04 Doug Evans <xdje42@gmail.com>
8548 * gdb.guile/scm-breakpoint.exp: Update.
8549 Add tests for breakpoint registration.
8551 2014-06-04 Tom Tromey <tromey@redhat.com>
8553 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8555 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8556 inner_vla_struct, vla_union types. Initialize objects of those
8557 types and compute their sizes.
8559 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8560 Hui Zhu <hui@codesourcery.com>
8562 * gdb.base/fileio.exp: Add test for shell not available as well as
8564 * gdb.base/fileio.c (test_system): Check for shell twice.
8566 2014-06-04 Yao Qi <yao@codesourcery.com>
8568 * gdb.base/auto-connect-native-target.exp: Remove redundant
8569 space from the regexp pattern.
8571 2014-06-04 Yao Qi <yao@codesourcery.com>
8573 * gdb.base/default.exp: Replace "child" with "native" in
8576 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8578 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8579 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8580 * gdb.python/py-xmethods.py: Python script supporting the
8581 new testcase and tests.
8583 2014-06-03 Joel Brobecker <brobecker@adacore.com>
8584 Pedro Alves <palves@redhat.com>
8586 PR breakpoints/17000
8587 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8588 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8590 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8592 * gdb.base/subst.exp: Add tests to verify partial path matching
8595 2014-06-03 Pedro Alves <palves@redhat.com>
8597 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8598 target that doesn't use software single-stepping.
8600 2014-06-03 Pedro Alves <palves@redhat.com>
8602 PR breakpoints/17000
8603 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8604 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8606 2014-06-02 Doug Evans <xdje42@gmail.com>
8608 * gdb.guile/scm-parameter.exp: New file.
8610 2014-06-02 Doug Evans <xdje42@gmail.com>
8612 * gdb.guile/scm-cmd.c: New file.
8613 * gdb.guile/scm-cmd.exp: New file.
8615 2014-06-02 Doug Evans <xdje42@gmail.com>
8617 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8618 pretty-printer lookup.
8619 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8620 (make-pp_s-printer): Call it.
8621 (make-pretty-printer-from-dict): New function.
8622 (lookup-pretty-printer-maker-from-dict): New function.
8623 (*pretty-printer*): Simplify.
8624 (make-objfile-pp_s-printer): New function.
8625 (install-objfile-pretty-printers!): New function.
8626 (make-progspace-pp_s-printer): New function.
8627 (install-progspace-pretty-printers!): New function.
8628 * gdb.guile/scm-progspace.c: New file.
8629 * gdb.guile/scm-progspace.exp: New file.
8631 2014-06-02 Pedro Alves <palves@redhat.com>
8633 * gdb.base/dprintf-bp-same-addr.c: New file.
8634 * gdb.base/dprintf-bp-same-addr.exp: New file.
8636 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8638 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8639 * gdb.arch/powerpc-power.s: Likewise.
8641 2014-06-02 Joel Brobecker <brobecker@adacore.com>
8643 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8645 2014-06-01 Yao Qi <yao@codesourcery.com>
8647 * gdb.base/watchpoint.exp (test_watch_location): Check null
8648 pointer can be dereferenced. If not, do the test, otherwise
8651 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8653 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8655 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8657 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8659 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8660 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8661 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8662 * gdb.arch/amd64-invalid-stack-top.c: New file.
8663 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8665 2014-05-30 Pedro Alves <palves@redhat.com>
8667 PR breakpoints/17000
8668 * gdb.base/sss-bp-on-user-bp.c: New file.
8669 * gdb.base/sss-bp-on-user-bp.exp: New file.
8671 2014-05-30 David Blaikie <dblaikie@gmail.com>
8673 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8674 gnu_inline semantics via attribute.
8675 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8676 source explicitly specifies the required semantics.
8678 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8680 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8682 2014-05-29 Pedro Alves <palves@redhat.com>
8683 Tom Tromey <tromey@redhat.com>
8685 * gdb.base/async-shell.exp: Don't enable target-async.
8686 * gdb.base/async.exp
8687 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8689 (top level): Don't test with "target-async".
8690 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8691 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8692 * gdb.base/inferior-died.exp: Don't enable target-async.
8693 * gdb.base/interrupt-noterm.exp: Likewise.
8694 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8695 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8696 * gdb.mi/mi-nonstop.exp: Likewise.
8697 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8698 * gdb.mi/mi-nsintrall.exp: Likewise.
8699 * gdb.mi/mi-nsmoribund.exp: Likewise.
8700 * gdb.mi/mi-nsthrexec.exp: Likewise.
8701 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8702 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8703 * gdb.python/py-evsignal.exp: Don't enable target-async.
8704 * gdb.python/py-evthreads.exp: Likewise.
8705 * gdb.python/py-prompt.exp: Likewise.
8706 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8707 * gdb.server/solib-list.exp: Don't enable target-async.
8708 * gdb.threads/thread-specific-bp.exp: Likewise.
8709 * lib/mi-support.exp: Adjust to use mi-async.
8711 2014-05-29 Pedro Alves <palves@redhat.com>
8714 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8715 reason, even in sync mode.
8717 2014-05-29 Pedro Alves <palves@redhat.com>
8718 Hui Zhu <hui@codesourcery.com>
8721 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8722 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8723 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8724 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8726 2014-05-28 Joel Brobecker <brobecker@adacore.com>
8728 * config/monitor.exp (gdb_target_monitor): Replace use of
8729 "set remotebaud" by "set serial baud".
8731 2014-05-26 Andy Wingo <wingo@igalia.com>
8733 * gdb.guile/scm-breakpoint.exp:
8734 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8735 properties instead of gdb-object-properties.
8737 2014-05-26 Yao Qi <yao@codesourcery.com>
8739 * gdb.server/no-thread-db.exp: Specify source file name
8740 explicitly when setting a breakpoint.
8742 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8744 * gdb.btrace/vdso.c: New.
8745 * gdb.btrace/vdso.exp: New.
8747 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8749 * gdb.base/gcore.exp (capture_command_output): Move ...
8750 * lib/gdb.exp (capture_command_output): ... here.
8752 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8754 * gdb.btrace/data.exp: Test memory access during btrace replay.
8756 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8758 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8760 2014-05-21 Pedro Alves <palves@redhat.com>
8763 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8764 (top level): Test that output related to execution commands is
8765 sent to the console with CLI commands, but not with MI commands.
8766 Test that breakpoint events are always mirrored to the console.
8767 Also expect the new source line to be output after a "next" in
8768 async mode too. Make it a pass/fail test.
8769 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8771 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8773 2014-05-21 Pedro Alves <palves@redhat.com>
8775 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8776 Use them to test variations of "list" after reaching a breakpoint.
8777 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8778 Test "list" with listsize 10 after reaching a breakpoint.
8779 * gdb.python/python.exp (decode_line current location line
8780 number): Adjust expected line number.
8782 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8784 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8785 behavior for $args, pass it directly to "run".
8787 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8789 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8792 2014-05-21 Pedro Alves <palves@redhat.com>
8794 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8795 auto-connect-native-target off".
8796 * gdb.base/auto-connect-native-target.c: New file.
8797 * gdb.base/auto-connect-native-target.exp: New file.
8799 2014-05-21 Pedro Alves <palves@redhat.com>
8801 * gdb.base/default.exp: Test "target native" instead of "target
8804 2014-05-21 Mark Wielaard <mjw@redhat.com>
8806 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8808 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8810 Fix TLS access for -static -pthread.
8811 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8812 <HAVE_TLS> (thread_function, main): Initialize it.
8813 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8815 <$have_tls != "">: Check TLSVAR.
8817 2014-05-21 Pedro Alves <palves@redhat.com>
8819 * gdb.base/dcache-line-read-error.c: New.
8820 * gdb.base/dcache-line-read-error.exp: New.
8822 2014-05-20 Pedro Alves <palves@redhat.com>
8824 * gdb.base/compare-sections.c: New file.
8825 * gdb.base/compare-sections.exp: New file.
8827 2014-05-20 Pedro Alves <palves@redhat.com>
8829 * gdb.base/break-idempotent.c: New file.
8830 * gdb.base/break-idempotent.exp: New file.
8832 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8834 * gdb.btrace/nohist.exp: New.
8836 2014-05-20 Yao Qi <yao@codesourcery.com>
8838 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8839 gdb.reverse directory and gdb_reverse_timeout exists in board
8841 * README: Document gdb_reverse_timeout.
8843 2014-05-20 Yao Qi <yao@codesourcery.com>
8845 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8846 'test_file_name'. Treat args as a string instead of a list.
8847 (gdb_init): Rename argument 'args' by 'test_file_name'.
8849 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8851 * gdb.arch/powerpc-power.exp: New file.
8852 * gdb.arch/powerpc-power.s: New file.
8854 2014-05-16 Doug Evans <dje@google.com>
8856 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8857 * gdb.base/completion.exp: Check that all expected files exist
8858 before doing file completion.
8860 2014-05-16 Doug Evans <dje@google.com>
8862 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8864 (do_syscall_tests_without_xml): Update.
8866 2014-05-16 Pedro Alves <palves@redhat.com>
8868 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8869 instead of "unknown output after running".
8871 2014-05-16 Yao Qi <yao@codesourcery.com>
8873 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8874 file1.txt from host at the end.
8875 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8877 2014-05-15 Doug Evans <dje@google.com>
8879 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8880 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8881 loading file. Add test for TU lookup.
8883 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8885 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8886 calling "-exec-arguments" or "set args" before running the
8889 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8891 * lib/mi-support.exp (mi_expect_stop): Expect message for
8892 inferiors that exit with non-zero exit code.
8894 2014-05-14 Yao Qi <yao@codesourcery.com>
8896 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8897 match absolute path on remote host.
8898 (test_file_list_exec_source_files): Remove "/" from the
8901 2014-05-14 Yao Qi <yao@codesourcery.com>
8903 * boards/local-remote-host-notty.exp (${board}_file): New
8906 2014-05-07 Kyle McMartin <kyle@redhat.com>
8908 Pushed by Joel Brobecker <brobecker@adacore.com>.
8909 * gdb.arch/aarch64-atomic-inst.c: New file.
8910 * gdb.arch/aarch64-atomic-inst.exp: New file.
8912 2014-05-07 Yao Qi <yao@codesourcery.com>
8914 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8915 in current context" too.
8917 2014-05-05 Keith Seitz <keiths@redhat.com>
8919 * gdb.linespec/ls-dollar.exp: Add test for linespec
8920 file:convenience_variable.
8922 2014-05-05 Yao Qi <yao@codesourcery.com>
8924 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8925 traceframes into tfile and ctf trace files. Read data from
8926 trace file and test collected data.
8927 (gdb_collect_locals_test): Likewise.
8928 (gdb_unavailable_registers_test): Likewise.
8929 (gdb_unavailable_floats): Likewise.
8930 (gdb_collect_globals_test): Likewise.
8931 (top-level): Append "ctf" to trace_file_targets if GDB
8934 2014-05-05 Yao Qi <yao@codesourcery.com>
8936 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8938 (gdb_collect_args_test_1): ... it. New proc.
8939 (gdb_collect_locals_test): Move some code to ...
8940 (gdb_collect_locals_test_1): ... it. New proc.
8941 (gdb_unavailable_registers_test): Move some code to ...
8942 (gdb_unavailable_registers_test_1): ... it. New proc.
8943 (gdb_unavailable_floats): Move some code to ...
8944 (gdb_unavailable_floats_1): ... it. New proc.
8946 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8948 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8949 probes to test for bitness recognition.
8950 * gdb.arch/amd64-stap-optional-prefix.exp
8951 (test_probe_value_without_reg): New procedure.
8952 Add code to test for different kinds of bitness.
8954 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8956 PR breakpoints/16889
8957 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8958 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8960 2014-05-01 Pedro Alves <palves@redhat.com>
8962 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8963 gdb_file_cmd if no file is specified.
8964 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8965 last_loaded_file to set the remote exec-file.
8967 2014-05-01 Pedro Alves <palves@redhat.com>
8969 * boards/local-remote-host.exp: New file.
8971 2014-05-01 Pedro Alves <palves@redhat.com>
8973 * boards/local-remote-host.exp: Rename to ...
8974 * boards/local-remote-host-notty.exp: ... this.
8976 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8978 * gdb.ada/dyn_arrayidx: New testcase.
8980 2014-04-26 Yao Qi <yao@codesourcery.com>
8982 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8983 and compute the length of function main. Save it in
8985 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8986 (top-level): Use gdb_compile to compile objects into
8987 executable and restart GDB. Remove invocation to
8988 prepare_for_testing.
8990 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8991 Pedro Alves <palves@redhat.com>
8994 * gdb.multi/multi-attach.c: New file.
8995 * gdb.multi/multi-attach.exp: New file.
8997 2014-04-25 Pedro Alves <palves@redhat.com>
8999 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
9001 (top level): Test that "set remote conditional-breakpoints-packet
9002 off" works as intended.
9003 * gdb.base/dprintf.exp: Test that "set remote
9004 breakpoint-commands-packet off" works as intended.
9005 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
9007 (top level): Call it.
9008 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
9009 remote fast-tracepoints-packet off" works as intended.
9010 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
9011 * lib/gdb.exp (gdb_is_target_remote): ... here.
9013 2014-04-24 David Blaikie <dblaikie@gmail.com>
9015 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
9016 ensure clang would not discard them.
9017 * gdb.base/gdbvars.c: Ditto.
9018 * gdb.base/memattr.c: Ditto.
9019 * gdb.base/whatis.c: Ditto.
9020 * gdb.python/py-prettyprint.c: Ditto.
9021 * gdb.trace/actions.c: Ditto.
9022 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9023 ensure clang would not discard it.
9025 2014-04-24 David Blaikie <dblaikie@gmail.com>
9027 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9028 clang to emit the full definition of type required by the test
9029 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9031 2014-04-24 David Blaikie <dblaikie@gmail.com>
9033 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9034 coax Clang into emitting the definition of the type.
9035 * gdb.cp/pr10728-x.h (y): Ditto.
9036 * gdb.cp/pr10728-y.cc (y): Ditto.
9038 2014-04-24 David Blaikie <dblaikie@gmail.com>
9040 * gdb.base/label.exp: XFAIL label related tests under Clang.
9041 * gdb.cp/cplabel.exp: Ditto.
9042 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9043 under Clang those using labels.
9045 2014-04-25 Yao Qi <yao@codesourcery.com>
9047 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9049 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9050 partial_label and double_label.
9052 2014-04-24 David Blaikie <dblaikie@gmail.com>
9054 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9056 2014-04-24 David Blaikie <dblaikie@gmail.com>
9058 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9059 of the function to work across GCC and Clang.
9060 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9061 pointer types (const void ** const V void **).
9063 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9064 Walfred Tedeschi <walfred.tedeschi@intel.com>
9066 * Makefile.in (EXECUTABLES): Added i386-avx512.
9067 * gdb.arch/i386-avx512.c: New file.
9068 * gdb.arch/i386-avx512.exp: Likewise.
9070 2014-04-23 Keith Seitz <keiths@redhat.com>
9072 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9073 (mi_make_breakpoint_table): New procedure.
9074 (mi_create_breakpoint): Use mi_make_breakpoint
9075 and return the result.
9076 (mi_make_breakpoint): New procedure.
9077 (mi_build_kv_pairs): New procedure.
9079 * gdb.mi/mi-break.exp: Remove unused globals,
9080 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9081 All callers updated.
9082 * gdb.mi/mi-dprintf.exp: Use variable to track command
9084 Update all callers of mi_create_breakpoint and use
9085 mi_make_breakpoint_table.
9086 Remove any unused global variables.
9087 * gdb.mi/mi-nonstop.exp: Likewise.
9088 * gdb.mi/mi-nsintrall.exp: Likewise.
9089 * gdb.mi/mi-nsmoribund.exp: Likewise.
9090 * gdb.mi/mi-nsthrexec.exp: Likewise.
9091 * gdb.mi/mi-reverse.exp: Likewise.
9092 * gdb.mi/mi-simplerun.exp: Likewise.
9093 * gdb.mi/mi-stepn.exp: Likewise.
9094 * gdb.mi/mi-syn-frame.exp: Likewise.
9095 * gdb.mi/mi-until.exp: Likewise.
9096 * gdb.mi/mi-var-cp.exp: Likewise.
9097 * gdb.mi/mi-var-display.exp: Likewise.
9098 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9099 * gdb.mi/mi2-var-child.exp: Likewise.
9100 * gdb.mi/mi-vla-c99.exp: Likewise.
9101 * lib/mi-support.exp: Likewise.
9103 From Ian Lance Taylor <iant@cygnus.com>:
9104 * lib/gdb.exp (parse_args): New procedure.
9106 2014-04-23 Pedro Alves <palves@redhat.com>
9108 * gdb.base/break-unload-file.c: New file.
9109 * gdb.base/break-unload-file.exp: New file.
9110 * gdb.base/sym-file-lib.c (baz): New function.
9111 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9113 (load): Store the segment's mapped size.
9114 (unload): New function.
9115 (unload_shlib): New function.
9116 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9117 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9118 set a breakpoint at baz, and call it.
9119 * gdb.base/sym-file.exp: New tests for stale breakpoint
9122 2014-04-23 Pedro Alves <palves@redhat.com>
9124 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9125 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9126 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9127 * gdb.base/hbreak-unmapped.c: New file.
9128 * gdb.base/hbreak-unmapped.exp: New file.
9129 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9130 * lib/gdb.exp (gdb_is_target_remote): ... here.
9132 2014-04-22 Pedro Alves <palves@redhat.com>
9134 * gdb.base/consecutive-step-over.c: New file.
9135 * gdb.base/consecutive-step-over.exp: New file.
9137 2014-04-22 Pedro Alves <palves@redhat.com>
9139 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9140 instead of send_gdb/gdb_expect.
9142 2014-04-22 Yao Qi <yao@codesourcery.com>
9144 * lib/trace-support.exp (generate_tracefile): New procedure.
9145 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9147 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9148 if generate_tracefile returns 1.
9150 2014-04-18 Tom Tromey <palves@redhat.com>
9151 Pedro alves <tromey@redhat.com>
9154 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9155 with a backtrace limit.
9156 * gdb.python/py-frame-inline.exp: Test running to an inline
9157 function with a backtrace limit, and printing the newest frame.
9158 * gdb.python/py-frame-inline.c (main): Call f.
9160 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9162 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9164 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9166 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9167 Drop prefix from unsupported source file path.
9169 2014-04-17 Yao Qi <yao@codesourcery.com>
9171 * lib/gdb.exp (with_target_charset): New proc.
9172 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9173 with_target_charset.
9174 (test_print_strings): Likewise.
9175 (test_repeat_bytes): Likewise.
9176 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9179 2014-04-16 Keith Seitz <keiths@redhat.com>
9182 * gdb.dwarf2/corrupt.c: New file.
9183 * gdb.dwarf2/corrupt.exp: New file.
9185 2014-04-16 Keith Seitz <keiths@redhat.com>
9188 * gdb.cp/namelessclass.cc: New file.
9189 * gdb.cp/namelessclass.exp: New file.
9190 * gdb.cp/namelessclass.S: New file.
9192 2014-04-16 Doug Evans <dje@google.com>
9194 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9196 (gdbserver_default_get_comm_port): New function.
9197 (gdbserver_start): Check if board file provided
9198 "gdbserver,get_comm_port" and use it if so.
9199 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9200 (gdb,socketport): Set to "stdio".
9201 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9202 (stdio_gdbserver_template): Delete.
9203 (${board}_get_remote_address): Update.
9204 (${board}_build_remote_cmd): Delete.
9205 (${board}_get_comm_port): New function.
9206 (${board}_spawn): Update.
9207 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9209 (${board}_get_remote_address): Update.
9210 (${board}_get_comm_port): New function.
9212 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
9214 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9215 appearing in any order.
9217 2014-04-15 Doug Evans <dje@google.com>
9219 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9220 uninitialized value of "description".
9222 2014-04-15 Keith Seitz <keiths@redhat.com>
9224 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9225 Remove unused globals.
9226 (test_running_the_program): Likewise.
9227 (test_controlled_execution): Likewise.
9228 (test_controlling_breakpoints): Likewise.
9229 (test_program_termination): Likewise.
9231 2014-04-15 Keith Seitz <keiths@redhat.com>
9233 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9235 (test_rbreak_creation_and_listing): Likewise.
9236 (test_ignore_count): Likewise.
9237 (test_error): Likewise.
9239 2014-04-15 Pedro Alves <palves@redhat.com>
9241 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9242 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9244 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9245 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9246 to sym-file-loader.c.
9247 (struct library): Forward declare.
9248 (load_shlib, lookup_function): Change prototypes.
9249 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9250 (translate_offset): Remove declarations.
9251 (get_text_addr): New declaration.
9252 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9253 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9255 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9256 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9257 here from sym-file-loader.h.
9258 (struct library): New structure.
9259 (load_shlib, lookup_function): Change prototypes and adjust to
9260 work with a struct library.
9261 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9262 (translate_offset): Make static.
9263 (get_text_addr): New function.
9264 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9266 2014-04-15 Pedro Alves <palves@redhat.com>
9268 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9270 2014-04-15 Pedro Alves <palves@redhat.com>
9272 * gdb.base/sym-file-loader.c: Include <limits.h>.
9273 (SELF_LINK): New define.
9274 (get_origin): New function.
9275 (load_shlib): Use it.
9276 * gdb.base/sym-file.exp: Don't early return if the target is
9277 remote. Use runto_main, and issue fail is that fails. Use
9279 (shlib_name): Delete.
9280 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9282 2014-04-15 Pedro Alves <palves@redhat.com>
9284 * gdb.base/sym-file.exp: Remove regex characters from test
9285 message. Don't refer to breakpoint numbers in test messages.
9287 2014-04-14 Keith Seitz <keiths@redhat.com>
9290 * gdb.cp/var-tag.cc: New file.
9291 * gdb.cp/var-tag.exp: New file.
9292 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9293 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9294 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9295 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9297 2014-04-14 Tom Tromey <tromey@redhat.com>
9299 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9300 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9302 * gdb.cp/enum-class.exp: New file.
9303 * gdb.cp/enum-class.cc: New file.
9305 2014-04-14 Tom Tromey <tromey@redhat.com>
9307 * gdb.dwarf2/enum-type.exp: New file.
9309 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9311 * gdb.mi/mi-vla-c99.exp: New file.
9312 * gdb.mi/vla.c: New file.
9314 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9316 * gdb.base/vla-datatypes.c: New file.
9317 * gdb.base/vla-datatypes.exp: New file.
9319 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9321 * gdb.base/vla-ptr.c: New file.
9322 * gdb.base/vla-ptr.exp: New file.
9324 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9326 * gdb.dwarf2/count.exp: New file.
9328 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9330 * gdb.base/vla-sideeffect.c: New file.
9331 * gdb.base/vla-sideeffect.exp: New file.
9333 2014-04-14 David Blaikie <dblaikie@gmail.com>
9335 * gdb.mi/non-stop.c: Add return value for non-void function return
9337 * gdb.threads/staticthreads.c: Ditto.
9339 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9340 Doug Evans <xdje42@gmail.com>
9342 * gdb.guile/scm-value.c: Improve test case.
9343 * gdb.guile/scm-value.exp: Add new test.
9345 2014-04-11 David Blaikie <dblaikie@gmail.com>
9347 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9348 override Clang's default.
9350 2014-04-11 Joel Brobecker <brobecker@adacore.com>
9352 Revert the following changes (regressions):
9354 * gdb.base/vla-sideeffect.c: New file.
9355 * gdb.base/vla-sideeffect.exp: New file.
9357 * gdb.dwarf2/count.exp: New file.
9359 * gdb.base/vla-multi.c: New file.
9360 * gdb.base/vla-multi.exp: New file.
9362 * gdb.base/vla-ptr.c: New file.
9363 * gdb.base/vla-ptr.exp: New file.
9365 * gdb.base/vla-datatypes.c: New file.
9366 * gdb.base/vla-datatypes.exp: New file.
9368 * gdb.mi/mi-vla-c99.exp: New file.
9369 * gdb.mi/vla.c: New file.
9371 2014-04-11 Keith Seitz <keiths@redhat.com>
9374 * gdb.cp/cpsizeof.exp: New file.
9375 * gdb.cp/cpsizeof.cc: New file.
9377 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9379 * gdb.mi/mi-vla-c99.exp: New file.
9380 * gdb.mi/vla.c: New file.
9382 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9384 * gdb.base/vla-datatypes.c: New file.
9385 * gdb.base/vla-datatypes.exp: New file.
9387 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9389 * gdb.base/vla-ptr.c: New file.
9390 * gdb.base/vla-ptr.exp: New file.
9392 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9394 * gdb.base/vla-multi.c: New file.
9395 * gdb.base/vla-multi.exp: New file.
9397 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9399 * gdb.dwarf2/count.exp: New file.
9401 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9403 * gdb.base/vla-sideeffect.c: New file.
9404 * gdb.base/vla-sideeffect.exp: New file.
9406 2014-04-11 Yao Qi <yao@codesourcery.com>
9408 * gdb.base/completion.exp: Check file exists before running tests
9411 2014-04-10 Pedro Alves <palves@redhat.com>
9413 * gdb.base/cond-eval-mode.c: New file.
9414 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9415 prepare_for_testing to build the new file. Check result of
9417 (test_break, test_watch): New procedures.
9418 (top level): Use them.
9420 2014-04-08 Pierre Muller <muller@sourceware.org>
9422 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9423 Ctrl-V use for mingw hosts.
9425 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9427 * gdb.python/py-value.c: Improve test case.
9428 * gdb.python/py-value.exp: Add new test.
9430 2014-04-07 David Blaikie <dblaikie@gmail.com>
9432 * lib/compiler.c: Identify the clang compiler.
9433 * lib/compiler.cc: Ditto.
9435 2014-04-03 Yao Qi <yao@codesourcery.com>
9437 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9439 2014-04-01 Anton Blanchard <anton@samba.org>
9441 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9444 2014-04-01 Anton Blanchard <anton@samba.org>
9446 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9447 prepare_for_testing.
9449 2014-04-01 Anton Blanchard <anton@samba.org>
9451 * gdb.arch/ppc64-atomic-inst.c: Remove.
9452 * gdb.arch/ppc64-atomic-inst.S: New file.
9453 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9455 2014-03-31 Doug Evans <dje@google.com>
9457 * gdb.base/print-symbol-loading-lib.c: New file.
9458 * gdb.base/print-symbol-loading-main.c: New file.
9459 * gdb.base/print-symbol-loading.exp: New file.
9461 2014-03-31 Yao Qi <yao@codesourcery.com>
9463 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9465 2014-03-28 Joel Brobecker <brobecker@adacore.com>
9467 * gdb.ada/mi_dyn_arr: New testcase.
9469 2014-03-27 Doug Evans <dje@google.com>
9471 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9473 2014-03-27 Yao Qi <yao@codesourcery.com>
9475 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9476 if target is nios2-*-*.
9478 2014-03-26 Yao Qi <yao@codesourcery.com>
9480 * lib/gdb.exp (readline_is_used): New proc.
9481 * gdb.base/completion.exp: Move tests on command complete up.
9482 Skip the rest of tests if readline is not used.
9483 * gdb.ada/complete.exp: Skp the test if readline is not
9485 * gdb.base/filesym.exp: Likewise.
9486 * gdb.base/macscp.exp: Likewise.
9487 * gdb.base/readline-ask.exp: Likewise.
9488 * gdb.base/readline.exp: Likewise.
9489 * gdb.python/py-cmd.exp: Likewise.
9490 * gdb.trace/tfile.exp: Likewise.
9492 2014-03-26 Yao Qi <yao@codesourcery.com>
9494 * gdb.base/macscp.exp: Fix code format issues.
9496 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9498 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9499 * gdb.asm/powerpc64le.inc: New file.
9501 2014-03-25 Pedro Alves <palves@redhat.com>
9502 Doug Evans <dje@google.com>
9504 * gdb.base/source-execution.c: New file.
9505 * gdb.base/source-execution.exp: New file.
9506 * gdb.base/source-execution.gdb: New file.
9508 2014-03-24 Doug Evans <dje@google.com>
9510 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9513 2014-03-24 Hui Zhu <hui@codesourcery.com>
9514 Pedro Alves <palves@redhat.com>
9516 PR breakpoints/16101
9517 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9518 test pass/fail messages. Detect missing support for dprintf when
9519 breakpoints are actually inserted.
9520 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9521 breakpoints are actually inserted.
9522 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9525 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9527 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9529 2014-03-22 Doug Evans <xdje42@gmail.com>
9531 * gdb.python/python.exp (python not supported): Verify multi-line
9532 python command issues an error.
9533 * gdb.guile/guile.exp (guile not supported): Verify multi-line
9534 guile command issues an error.
9536 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9538 * gdb.threads/thread-specific.exp: Handle the lack of usable
9539 $this_breakpoint and $this_thread.
9541 2014-03-21 Hui Zhu <hui@codesourcery.com>
9543 * gdb.base/attach.exp (do_command_attach_tests): New.
9545 2014-03-20 Tom Tromey <tromey@redhat.com>
9546 Pedro Alves <palves@redhat.com>
9549 * gdb.base/condbreak-call-false.c: New file.
9550 * gdb.base/condbreak-call-false.exp: New file.
9552 2014-03-20 Pedro Alves <palves@redhat.com>
9554 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9556 (block_signals, unblock_signals): Delete.
9557 (child_function_2, main): Remove references to deleted variable
9560 2014-03-20 Pedro Alves <palves@redhat.com>
9562 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9563 Use pthread_kill to signal thread 2.
9564 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9565 Adjust to make the test send itself a signal rather than using the
9566 host's "kill" command.
9568 2014-03-20 Pedro Alves <palves@redhat.com>
9570 * gdb.threads/multiple-step-overs.c: New file.
9571 * gdb.threads/multiple-step-overs.exp: New file.
9572 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9573 Adjust expected infrun debug output.
9575 2014-03-20 Pedro Alves <palves@redhat.com>
9577 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9578 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9580 2014-03-20 Pedro Alves <palves@redhat.com>
9583 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9584 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9585 of gdb_test_multiple.
9586 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9587 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9589 2014-03-20 Pedro Alves <palves@redhat.com>
9591 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9592 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9594 2014-03-19 Pedro Alves <palves@redhat.com>
9596 * gdb.base/async.exp: Remove early return.
9598 2014-03-19 Pedro Alves <palves@redhat.com>
9600 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9602 2014-03-19 Pedro Alves <palves@redhat.com>
9604 * gdb.base/async.exp (test_background): Expect \r\n after
9605 "completed." in the fail pattern.
9607 2014-03-19 Pedro Alves <palves@redhat.com>
9609 * gdb.base/async.exp (test_background): New procedure.
9610 Use it for all background execution command tests.
9612 2014-03-19 Pedro Alves <palves@redhat.com>
9614 * gdb.base/async.exp: Use prepare_for_testing.
9616 2014-03-19 Pedro Alves <palves@redhat.com>
9618 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9621 2014-03-19 Pedro Alves <palves@redhat.com>
9623 * gdb.base/async.c (main): Add "jump here" and "until here" line
9625 * gdb.base/async.exp (jump_here): New global.
9626 (jump& test): Use it.
9627 (until_here): New global.
9628 (until& test): Use it.
9630 2014-03-19 Pedro Alves <palves@redhat.com>
9632 * gdb.base/async.exp: Don't frob gdb_protocol.
9634 2014-03-18 Doug Evans <xdje42@gmail.com>
9636 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9637 Fix spelling of exec-done-display.
9639 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9642 * gdb.base/gdb-sigterm.c: New file.
9643 * gdb.base/gdb-sigterm.exp: New file.
9645 2014-03-18 Pedro Alves <palves@redhat.com>
9648 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9649 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9652 2014-03-17 Joel Brobecker <brobecker@adacore.com>
9654 * gdb.ada/pckd_arr_ren: New testcase.
9656 2014-03-13 Doug Evans <xdje42@gmail.com>
9659 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9660 collect after discarding symbols.
9662 2014-03-13 Ludovic Courtès <ludo@gnu.org>
9663 Doug Evans <xdje42@gmail.com>
9665 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9666 to history survives a gc.
9668 2014-03-13 Pedro Alves <palves@redhat.com>
9670 * gdb.base/default.exp: Don't test "target procfs".
9672 2014-03-13 Pedro Alves <palves@redhat.com>
9674 * gdb.base/default.exp: Update "target child" and "target procfs"
9675 tests to not expect "Unix".
9677 2014-03-12 Tom Tromey <tromey@redhat.com>
9679 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9680 New procs. Add target-async tests.
9681 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9682 Add target-async tests.
9684 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9686 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9687 'func_start' and 'func_end' for the beginning and end of the
9688 function code, respectively.
9689 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9690 'func_end' instead of 'func' and 'main'.
9692 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9694 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9695 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9696 generate the debug info assembler source.
9698 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9700 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9701 * gdb.dwarf2/arr-subrange.exp: Likewise.
9702 * gdb.dwarf2/dwz.exp: Likewise.
9703 * gdb.dwarf2/method-ptr.exp: Likewise.
9704 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9705 * gdb.dwarf2/subrange.exp: Likewise.
9706 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9707 * gdb.dwarf2/implptrpiece.exp: Likewise.
9708 * gdb.dwarf2/nostaticblock.exp: Likewise.
9710 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9712 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9713 directory to absolute path name arguments.
9715 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9717 * gdb.ada/tagged_access: New testcase.
9719 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9721 * gdb.btrace/data.exp: Update expected output.
9723 2014-03-06 Yao Qi <yao@codesourcery.com>
9725 * gdb.trace/pr16508.exp: New file.
9727 2014-03-05 Pedro Alves <palves@redhat.com>
9730 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9732 (top level): Adjust to use it. Add tests that exercise breakpoint
9733 interaction with the code-cache.
9735 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9737 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9738 test for 'history-append!'.
9740 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9742 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9743 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9744 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9745 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9746 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9747 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9749 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9751 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9752 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9753 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9755 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9757 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9759 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9761 * gdb.dwarf2/arr-stride.c: New file.
9762 * gdb.dwarf2/arr-stride.exp: New file.
9764 2014-02-26 Pedro Alves <palves@redhat.com>
9766 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9767 that won't ever trigger. Make sure that GDB reports the correct
9768 breakpoint that caused the stop.
9770 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9773 * gdb.base/auto-load-script: New file.
9774 * gdb.base/auto-load.c: New file.
9775 * gdb.base/auto-load.exp: New file.
9778 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9780 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9782 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9783 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9785 2014-02-24 Doug Evans <dje@google.com>
9787 * lib/gdb.exp (run_on_host): Log error output if program fails.
9789 2014-02-21 Pedro Alves <palves@redhat.com>
9791 * gdb.threads/step-after-sr-lock.c: Rename to ...
9792 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9793 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9794 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9797 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9800 * gdb.arch/amd64-stap-special-operands.exp: New file.
9801 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9802 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9803 * gdb.arch/amd64-stap-triplet.S: Likewise.
9804 * gdb.arch/amd64-stap-triplet.c: Likewise.
9806 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9808 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9809 in .section pseudo-op.
9811 2014-02-20 lin zuojian <manjian2006@gmail.com>
9812 Joel Brobecker <brobecker@adacore.com>
9813 Doug Evans <xdje42@gmail.com>
9816 * gdb.dwarf2/dw2-icycle.S: New file.
9817 * gdb.dwarf2/dw2-icycle.c: New file.
9818 * gdb.dwarf2/dw2-icycle.exp: New file.
9820 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9822 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9823 operations on gdb.Value objects.
9824 * gdb.python/py-value-cc.exp: Add new test to test operations on
9827 2014-02-18 Doug Evans <dje@google.com>
9829 * Makefile.in (TESTS): New variable.
9830 (expanded_tests, expanded_tests_or_none): New variables
9831 (check-single): Pass $(expanded_tests_or_none) to runtest.
9832 (check-parallel): Only run tests in $(TESTS) if non-empty.
9833 (check/no-matching-tests-found): New rule.
9834 * README: Document TESTS makefile variable.
9836 2014-02-18 Doug Evans <dje@google.com>
9838 * Makefile.in (check-parallel): rm -rf outputs temp.
9840 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9842 Fix "ERROR: no fileid for" in the testsuite.
9843 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9845 2014-02-12 Doug Evans <dje@google.com>
9847 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9848 (MISCELLANEOUS): New variable.
9849 (clean): rm -rf $(MISCELLANEOUS).
9850 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9851 dwp live in the same directory as symlinks, with each symlink pointed
9852 to a differently named file in a different directory.
9854 2014-02-11 Doug Evans <dje@google.com>
9856 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9857 of Tcl file commands.
9859 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9861 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9864 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9866 * gdb.ada/tick_length_array_enum_idx: New testcase.
9868 2014-02-10 Doug Evans <xdje42@gmail.com>
9870 * configure.ac (AC_OUTPUT): Add gdb.guile.
9871 * configure: Regenerate.
9872 * lib/gdb-guile.exp: New file.
9873 * lib/gdb.exp (get_target_charset): New function.
9874 * gdb.base/help.exp: Update expected output from "apropos apropos".
9875 * gdb.guile/Makefile.in: New file.
9876 * gdb.guile/guile.exp: New file.
9877 * gdb.guile/scm-arch.c: New file.
9878 * gdb.guile/scm-arch.exp: New file.
9879 * gdb.guile/scm-block.c: New file.
9880 * gdb.guile/scm-block.exp: New file.
9881 * gdb.guile/scm-breakpoint.c: New file.
9882 * gdb.guile/scm-breakpoint.exp: New file.
9883 * gdb.guile/scm-disasm.c: New file.
9884 * gdb.guile/scm-disasm.exp: New file.
9885 * gdb.guile/scm-equal.c: New file.
9886 * gdb.guile/scm-equal.exp: New file.
9887 * gdb.guile/scm-error.exp: New file.
9888 * gdb.guile/scm-error.scm: New file.
9889 * gdb.guile/scm-frame-args.c: New file.
9890 * gdb.guile/scm-frame-args.exp: New file.
9891 * gdb.guile/scm-frame-args.scm: New file.
9892 * gdb.guile/scm-frame-inline.c: New file.
9893 * gdb.guile/scm-frame-inline.exp: New file.
9894 * gdb.guile/scm-frame.c: New file.
9895 * gdb.guile/scm-frame.exp: New file.
9896 * gdb.guile/scm-generics.exp: New file.
9897 * gdb.guile/scm-gsmob.exp: New file.
9898 * gdb.guile/scm-iterator.c: New file.
9899 * gdb.guile/scm-iterator.exp: New file.
9900 * gdb.guile/scm-math.c: New file.
9901 * gdb.guile/scm-math.exp: New file.
9902 * gdb.guile/scm-objfile-script-gdb.in: New file.
9903 * gdb.guile/scm-objfile-script.c: New file.
9904 * gdb.guile/scm-objfile-script.exp: New file.
9905 * gdb.guile/scm-objfile.c: New file.
9906 * gdb.guile/scm-objfile.exp: New file.
9907 * gdb.guile/scm-ports.exp: New file.
9908 * gdb.guile/scm-pretty-print.c: New file.
9909 * gdb.guile/scm-pretty-print.exp: New file.
9910 * gdb.guile/scm-pretty-print.scm: New file.
9911 * gdb.guile/scm-section-script.c: New file.
9912 * gdb.guile/scm-section-script.exp: New file.
9913 * gdb.guile/scm-section-script.scm: New file.
9914 * gdb.guile/scm-symbol.c: New file.
9915 * gdb.guile/scm-symbol.exp: New file.
9916 * gdb.guile/scm-symtab-2.c: New file.
9917 * gdb.guile/scm-symtab.c: New file.
9918 * gdb.guile/scm-symtab.exp: New file.
9919 * gdb.guile/scm-type.c: New file.
9920 * gdb.guile/scm-type.exp: New file.
9921 * gdb.guile/scm-value-cc.cc: New file.
9922 * gdb.guile/scm-value-cc.exp: New file.
9923 * gdb.guile/scm-value.c: New file.
9924 * gdb.guile/scm-value.exp: New file.
9925 * gdb.guile/source2.scm: New file.
9926 * gdb.guile/types-module.cc: New file.
9927 * gdb.guile/types-module.exp: New file.
9929 2014-02-10 Yao Qi <yao@codesourcery.com>
9932 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9933 * configure: Regenerated.
9934 * Makefile.in: New file.
9936 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9938 * gdb.python/py-framefilter.exp: Fix typo.
9940 2014-02-08 Yao Qi <yao@codesourcery.com>
9942 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9943 that no =breakpoint-modified is emitted when breakpoints are
9944 modified through MI commands.
9946 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9947 Pedro Alves <palves@redhat.com>
9949 * gdb.threads/step-after-sr-lock.c: New file.
9950 * gdb.threads/step-after-sr-lock.exp: New file.
9952 2014-02-07 Pedro Alves <palves@redhat.com>
9954 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9956 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9958 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9959 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9961 2014-02-06 Doug Evans <xdje42@gmail.com>
9963 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9966 * gdb.gdb/python-interrupts.exp: New file.
9968 2014-02-05 Yao Qi <yao@codesourcery.com>
9970 * gdb.trace/report.exp (use_collected_data): Test the output
9971 of "info threads" and "info inferiors".
9973 2014-02-05 Yao Qi <yao@codesourcery.com>
9977 2013-05-24 Yao Qi <yao@codesourcery.com>
9979 * gdb.trace/tfile.exp: Test inferior and thread.
9981 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9983 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9985 * gdb.base/step-bt.c: Call hello via function pointer to make
9986 sure its first instruction is executed on powerpc64le-linux.
9988 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9990 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9992 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9994 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9995 of the test patterns for use on little-endian systems.
9997 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9999 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
10000 (decimal_vector): Fix for little-endian.
10002 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10004 * gdb.arch/sparc-sysstep.exp: New file.
10005 * gdb.arch/sparc-sysstep.c: Likewise.
10007 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
10009 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10011 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
10013 2014-01-23 Tom Tromey <tromey@redhat.com>
10015 * gdb.ada/array_char_idx: New testcase.
10017 2014-01-23 Tom Tromey <tromey@redhat.com>
10020 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10021 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10024 2014-01-23 Tom Tromey <tromey@redhat.com>
10027 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10028 string from an inferior frame.
10029 * gdb.python/py-framefilter-mi.exp: Update.
10031 2014-01-22 Doug Evans <dje@google.com>
10033 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10035 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10037 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10039 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10041 * gdb.trace/entry-values.exp: Remove excess space character from
10042 regex patterns. Handle s390 call instruction.
10044 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10046 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10047 define "*_start" label. Make "name" static.
10048 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10049 ${name} by references to ${name}_start.
10051 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10053 * gdb.base/info-macros.exp: Remove "debug" from the compile
10056 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10058 * gdb.dlang/demangle.exp: New file.
10060 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10062 * gdb.dlang/primitive-types.exp: New file.
10064 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10066 * configure.ac: Create gdb.dlang/Makefile.
10067 * configure: Regenerate.
10068 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10069 * gdb.dlang/Makefile.in: New file.
10070 * lib/d-support.exp: New file.
10071 * lib/gdb.exp (skip_d_tests): New proc.
10073 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10075 * gdb.btrace/delta.exp: Check reverse stepi.
10076 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10077 * gdb.btrace/finish.exp: New.
10078 * gdb.btrace/next.exp: New.
10079 * gdb.btrace/nexti.exp: New.
10080 * gdb.btrace/record_goto.c: Add comments.
10081 * gdb.btrace/step.exp: New.
10082 * gdb.btrace/stepi.exp: New.
10083 * gdb.btrace/multi-thread-step.c: New.
10084 * gdb.btrace/multi-thread-step.exp: New.
10085 * gdb.btrace/rn-dl-bind.c: New.
10086 * gdb.btrace/rn-dl-bind.exp: New.
10087 * gdb.btrace/data.c: New.
10088 * gdb.btrace/data.exp: New.
10089 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10091 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10093 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10094 * gdb.btrace/exception.exp: Update.
10095 * gdb.btrace/instruction_history.exp: Update.
10096 * gdb.btrace/record_goto.exp: Update.
10097 * gdb.btrace/tailcall.exp: Update.
10098 * gdb.btrace/unknown_functions.exp: Update.
10099 * gdb.btrace/delta.exp: New.
10101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10103 * gdb.btrace/record_goto.exp: Add backtrace test.
10104 * gdb.btrace/tailcall.exp: Add backtrace test.
10106 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10108 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10109 * gdb.btrace/record_goto.c: New.
10110 * gdb.btrace/record_goto.exp: New.
10111 * gdb.btrace/x86-record_goto.S: New.
10113 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10115 * gdb.btrace/function_call_history.exp: Update tests.
10116 * gdb.btrace/instruction_history.exp: Update tests.
10118 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10120 * gdb.btrace/function_call_history.exp: Fix expected field
10121 order for "record function-call-history".
10122 Add new tests for "record function-call-history /c".
10123 * gdb.btrace/exception.cc: New.
10124 * gdb.btrace/exception.exp: New.
10125 * gdb.btrace/tailcall.exp: New.
10126 * gdb.btrace/x86-tailcall.S: New.
10127 * gdb.btrace/x86-tailcall.c: New.
10128 * gdb.btrace/unknown_functions.c: New.
10129 * gdb.btrace/unknown_functions.exp: New.
10130 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10132 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10134 * gdb.btrace/instruction_history.exp: Update.
10135 * gdb.btrace/function_call_history.exp: Update.
10137 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10139 * gdb.btrace/function_call_history.exp: Fix expected function
10141 * gdb.btrace/instruction_history.exp: Initialize traced.
10142 Remove traced_functions.
10144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10146 * gdb.btrace/function_call_history.exp: Update
10147 * gdb.btrace/instruction_history.exp: Update.
10149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10151 * gdb.btrace/enable.exp: Update expected text.
10153 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10155 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10158 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10160 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10162 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10164 * lib/gdb.exp (supports_process_record): Return true for
10165 arm*-linux*. (supports_reverse): Likewise.
10167 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10171 * gdb.python/py-type.c: Enhance test case.
10172 * gdb.python/py-value-cc.cc: Likewise
10173 * gdb.python/py-type.exp: Add new tests.
10174 * gdb.python/py-value-cc.exp: Likewise
10176 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10177 Pedro Alves <palves@redhat.com>
10179 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10180 Make "name" extern.
10181 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10182 references to ${name}_start by references to ${name}.
10184 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10186 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10188 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10190 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10192 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10193 Pedro Alves <palves@redhat.com>
10195 * gdb.mi/mi-info-os.exp: Connect to the target with
10196 mi_gdb_target_load.
10198 2014-01-08 Pedro Alves <palves@redhat.com>
10200 * gdb.threads/reconnect-signal.c: New file.
10201 * gdb.threads/reconnect-signal.exp: New file.
10203 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10205 * gdb.base/source-dir.exp: New file.
10207 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10209 * gdb.ada/mi_interface: New testcase.
10211 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10213 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10214 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10215 gdb.ada/pp-rec-component/pck.ads: New files.
10217 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10219 * gdb.python/py-pp-integral.c: New file.
10220 * gdb.python/py-pp-integral.py: New file.
10221 * gdb.python/py-pp-integral.exp: New file.
10223 For older changes see ChangeLog-1993-2013.
10225 ;; Local Variables:
10226 ;; mode: change-log
10229 ;; version-control: never
10232 Copyright 2014-2016 Free Software Foundation, Inc.
10233 Copying and distribution of this file, with or without modification,
10234 are permitted provided the copyright notice and this notice are preserved.