1 2016-12-02 Pedro Alves <palves@redhat.com>
4 * gdb.base/commands.exp (user_defined_command_args_eval): New
8 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13 2016-12-02 Tom Tromey <tom@tromey.com>
15 * gdb.dwarf2/main-subprogram.c: New file.
16 * gdb.dwarf2/main-subprogram.exp: New file.
18 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
20 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
21 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
22 gdb_test_no_output for a couple of cases.
23 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
25 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
27 Fix test names and standardize compilation error messages throughout
31 * gdb.arch/alpha-step.exp
32 * gdb.arch/e500-prologue.exp
33 * gdb.arch/ftrace-insn-reloc.exp
34 * gdb.arch/gdb1291.exp
35 * gdb.arch/gdb1431.exp
36 * gdb.arch/gdb1558.exp
37 * gdb.arch/i386-dr3-watch.exp
38 * gdb.arch/i386-sse-stack-align.exp
39 * gdb.arch/ia64-breakpoint-shadow.exp
40 * gdb.arch/pa-nullify.exp
41 * gdb.arch/powerpc-aix-prologue.exp
42 * gdb.arch/thumb-bx-pc.exp
43 * gdb.base/annota1.exp
44 * gdb.base/annota3.exp
45 * gdb.base/arrayidx.exp
50 * gdb.base/bfp-test.exp
51 * gdb.base/bigcore.exp
52 * gdb.base/bitfields2.exp
53 * gdb.base/break-fun-addr.exp
54 * gdb.base/break-probes.exp
55 * gdb.base/call-rt-st.exp
56 * gdb.base/callexit.exp
57 * gdb.base/catch-fork-kill.exp
58 * gdb.base/charset.exp
59 * gdb.base/checkpoint.exp
60 * gdb.base/comprdebug.exp
61 * gdb.base/constvars.exp
62 * gdb.base/coredump-filter.exp
66 * gdb.base/display.exp
68 * gdb.base/dprintf-pending.exp
69 * gdb.base/dso2dso.exp
70 * gdb.base/dtrace-probe.exp
72 * gdb.base/enum_cond.exp
73 * gdb.base/exe-lock.exp
74 * gdb.base/exec-invalid-sysroot.exp
75 * gdb.base/execl-update-breakpoints.exp
80 * gdb.base/fixsection.exp
81 * gdb.base/foll-vfork.exp
82 * gdb.base/frame-args.exp
84 * gdb.base/gdb1250.exp
85 * gdb.base/global-var-nested-by-dso.exp
86 * gdb.base/gnu-ifunc.exp
87 * gdb.base/hashline1.exp
88 * gdb.base/hashline2.exp
89 * gdb.base/hashline3.exp
90 * gdb.base/hbreak-in-shr-unsupported.exp
92 * gdb.base/infcall-input.exp
93 * gdb.base/info-fun.exp
94 * gdb.base/info-shared.exp
95 * gdb.base/jit-simple.exp
100 * gdb.base/lineinc.exp
101 * gdb.base/logical.exp
102 * gdb.base/longjmp.exp
103 * gdb.base/macscp.exp
104 * gdb.base/miscexprs.exp
105 * gdb.base/new-ui-echo.exp
106 * gdb.base/new-ui-pending-input.exp
107 * gdb.base/new-ui.exp
108 * gdb.base/nodebug.exp
109 * gdb.base/nofield.exp
110 * gdb.base/offsets.exp
111 * gdb.base/overlays.exp
112 * gdb.base/pending.exp
113 * gdb.base/pointers.exp
114 * gdb.base/pr11022.exp
115 * gdb.base/printcmds.exp
116 * gdb.base/prologue.exp
117 * gdb.base/ptr-typedef.exp
118 * gdb.base/realname-expand.exp
119 * gdb.base/relativedebug.exp
120 * gdb.base/relocate.exp
121 * gdb.base/remote.exp
122 * gdb.base/reread.exp
123 * gdb.base/return2.exp
124 * gdb.base/savedregs.exp
126 * gdb.base/sepdebug.exp
127 * gdb.base/sepsymtab.exp
128 * gdb.base/set-inferior-tty.exp
129 * gdb.base/setshow.exp
130 * gdb.base/shlib-call.exp
131 * gdb.base/sigaltstack.exp
132 * gdb.base/siginfo-addr.exp
133 * gdb.base/signals.exp
134 * gdb.base/signull.exp
135 * gdb.base/sigrepeat.exp
136 * gdb.base/so-impl-ld.exp
137 * gdb.base/solib-display.exp
138 * gdb.base/solib-overlap.exp
139 * gdb.base/solib-search.exp
140 * gdb.base/solib-symbol.exp
141 * gdb.base/structs.exp
142 * gdb.base/structs2.exp
143 * gdb.base/symtab-search-order.exp
145 * gdb.base/unload.exp
146 * gdb.base/varargs.exp
147 * gdb.base/watchpoint-solib.exp
148 * gdb.base/watchpoint.exp
149 * gdb.base/whatis.exp
150 * gdb.base/wrong_frame_bt_full.exp
151 * gdb.btrace/dlopen.exp
152 * gdb.cell/ea-standalone.exp
153 * gdb.cell/ea-test.exp
157 * gdb.cp/nextoverthrow.exp
159 * gdb.disasm/am33.exp
160 * gdb.disasm/h8300s.exp
161 * gdb.disasm/mn10300.exp
163 * gdb.dwarf2/dw2-dir-file-name.exp
164 * gdb.fortran/complex.exp
165 * gdb.fortran/library-module.exp
166 * gdb.guile/scm-pretty-print.exp
167 * gdb.guile/scm-symbol.exp
168 * gdb.guile/scm-type.exp
169 * gdb.guile/scm-value.exp
170 * gdb.linespec/linespec.exp
173 * gdb.mi/mi-breakpoint-changed.exp
174 * gdb.mi/mi-dprintf-pending.exp
175 * gdb.mi/mi-dprintf.exp
176 * gdb.mi/mi-exit-code.exp
177 * gdb.mi/mi-pending.exp
178 * gdb.mi/mi-solib.exp
179 * gdb.mi/new-ui-mi-sync.exp
181 * gdb.mi/user-selected-context-sync.exp
182 * gdb.opt/solib-intra-step.exp
183 * gdb.python/py-events.exp
184 * gdb.python/py-finish-breakpoint.exp
185 * gdb.python/py-mi.exp
186 * gdb.python/py-prettyprint.exp
187 * gdb.python/py-shared.exp
188 * gdb.python/py-symbol.exp
189 * gdb.python/py-template.exp
190 * gdb.python/py-type.exp
191 * gdb.python/py-value.exp
192 * gdb.reverse/solib-precsave.exp
193 * gdb.reverse/solib-reverse.exp
194 * gdb.server/solib-list.exp
195 * gdb.stabs/weird.exp
196 * gdb.threads/reconnect-signal.exp
197 * gdb.threads/stepi-random-signal.exp
198 * gdb.trace/actions.exp
200 * gdb.trace/backtrace.exp
201 * gdb.trace/change-loc.exp
202 * gdb.trace/deltrace.exp
203 * gdb.trace/ftrace-lock.exp
204 * gdb.trace/ftrace.exp
205 * gdb.trace/infotrace.exp
206 * gdb.trace/mi-tracepoint-changed.exp
207 * gdb.trace/packetlen.exp
208 * gdb.trace/passcount.exp
209 * gdb.trace/pending.exp
210 * gdb.trace/range-stepping.exp
211 * gdb.trace/report.exp
212 * gdb.trace/stap-trace.exp
213 * gdb.trace/tfind.exp
214 * gdb.trace/trace-break.exp
215 * gdb.trace/trace-condition.exp
216 * gdb.trace/trace-enable-disable.exp
217 * gdb.trace/trace-mt.exp
218 * gdb.trace/tracecmd.exp
219 * gdb.trace/tspeed.exp
223 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
225 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
226 with gdb_test_no_output.
227 Use command as test name.
229 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
231 Fix test names starting with uppercase throughout the files.
233 * gdb.ada/assign_1.exp
234 * gdb.ada/boolean_expr.exp
235 * gdb.base/arrayidx.exp
237 * gdb.base/gcore-buffer-overflow.exp
238 * gdb.base/testenv.exp
239 * gdb.compile/compile.exp
240 * gdb.python/py-framefilter-invalidarg.exp
241 * gdb.python/py-framefilter.exp
243 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
245 Fix test names starting with uppercase throughout the files.
247 * gdb.ada/array_return.exp
248 * gdb.ada/expr_delims.exp
249 * gdb.ada/mi_dyn_arr.exp
250 * gdb.ada/mi_interface.exp
251 * gdb.ada/mi_var_array.exp
252 * gdb.ada/watch_arg.exp
253 * gdb.arch/alpha-step.exp
254 * gdb.arch/altivec-regs.exp
255 * gdb.arch/e500-regs.exp
256 * gdb.arch/powerpc-d128-regs.exp
257 * gdb.base/arrayidx.exp
259 * gdb.base/checkpoint.exp
260 * gdb.base/debug-expr.exp
263 * gdb.base/sepdebug.exp
264 * gdb.base/testenv.exp
265 * gdb.base/watch_thread_num.exp
266 * gdb.base/watchpoint-cond-gone.exp
268 * gdb.cell/ea-cache.exp
269 * gdb.compile/compile.exp
271 * gdb.gdb/selftest.exp
272 * gdb.gdb/xfullpath.exp
274 * gdb.go/integers.exp
275 * gdb.objc/basicclass.exp
276 * gdb.pascal/hello.exp
277 * gdb.pascal/integers.exp
278 * gdb.python/py-breakpoint.exp
279 * gdb.python/py-cmd.exp
280 * gdb.python/py-linetable.exp
281 * gdb.python/py-xmethods.exp
282 * gdb.python/python.exp
283 * gdb.reverse/consecutive-precsave.exp
284 * gdb.reverse/finish-precsave.exp
285 * gdb.reverse/i386-precsave.exp
286 * gdb.reverse/machinestate-precsave.exp
287 * gdb.reverse/sigall-precsave.exp
288 * gdb.reverse/solib-precsave.exp
289 * gdb.reverse/step-precsave.exp
290 * gdb.reverse/until-precsave.exp
291 * gdb.reverse/watch-precsave.exp
292 * gdb.threads/leader-exit.exp
293 * gdb.threads/pthreads.exp
294 * gdb.threads/wp-replication.exp
295 * gdb.trace/actions.exp
296 * gdb.trace/mi-tsv-changed.exp
299 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
301 Fix test names starting with uppercase throughout the files.
303 * gdb.arch/i386-bp_permanent.exp
304 * gdb.arch/i386-gnu-cfi.exp
305 * gdb.base/disasm-end-cu.exp
306 * gdb.base/macscp.exp
307 * gdb.base/pending.exp
308 * gdb.base/watch_thread_num.exp
309 * gdb.cp/exception.exp
312 * gdb.python/py-evsignal.exp
313 * gdb.python/python.exp
314 * gdb.trace/tracecmd.exp
316 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
318 Fix test names starting with uppercase throughout the files.
320 * gdb.base/charset.exp
322 * gdb.base/multi-forks.exp
323 * gdb.guile/scm-progspace.exp
324 * gdb.opencl/datatypes.exp
325 * gdb.python/py-block.exp
326 * gdb.python/py-function.exp
327 * gdb.python/py-symbol.exp
328 * gdb.python/py-symtab.exp
329 * gdb.python/py-xmethods.exp
330 * gdb.reverse/break-precsave.exp
331 * gdb.reverse/break-reverse.exp
332 * gdb.reverse/consecutive-precsave.exp
333 * gdb.reverse/consecutive-reverse.exp
334 * gdb.reverse/finish-precsave.exp
335 * gdb.reverse/finish-reverse-bkpt.exp
336 * gdb.reverse/finish-reverse.exp
337 * gdb.reverse/fstatat-reverse.exp
338 * gdb.reverse/getresuid-reverse.exp
339 * gdb.reverse/i386-precsave.exp
340 * gdb.reverse/i386-reverse.exp
341 * gdb.reverse/i386-sse-reverse.exp
342 * gdb.reverse/i387-stack-reverse.exp
343 * gdb.reverse/insn-reverse.exp
344 * gdb.reverse/machinestate-precsave.exp
345 * gdb.reverse/machinestate.exp
346 * gdb.reverse/next-reverse-bkpt-over-sr.exp
347 * gdb.reverse/pipe-reverse.exp
348 * gdb.reverse/readv-reverse.exp
349 * gdb.reverse/recvmsg-reverse.exp
350 * gdb.reverse/rerun-prec.exp
351 * gdb.reverse/s390-mvcle.exp
352 * gdb.reverse/sigall-precsave.exp
353 * gdb.reverse/sigall-reverse.exp
354 * gdb.reverse/solib-precsave.exp
355 * gdb.reverse/solib-reverse.exp
356 * gdb.reverse/step-precsave.exp
357 * gdb.reverse/step-reverse.exp
358 * gdb.reverse/time-reverse.exp
359 * gdb.reverse/until-precsave.exp
360 * gdb.reverse/until-reverse.exp
361 * gdb.reverse/waitpid-reverse.exp
362 * gdb.reverse/watch-precsave.exp
363 * gdb.reverse/watch-reverse.exp
365 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
367 Fix test names starting with uppercase throughout the files.
369 * gdb.arch/i386-mpx-simple_segv.exp
370 * gdb.arch/i386-mpx.exp
371 * gdb.arch/i386-permbkpt.exp
372 * gdb.arch/pa-nullify.exp
373 * gdb.arch/powerpc-d128-regs.exp
374 * gdb.arch/vsx-regs.exp
375 * gdb.base/bfp-test.exp
377 * gdb.base/breakpoint-shadow.exp
378 * gdb.base/callfuncs.exp
379 * gdb.base/charset.exp
380 * gdb.base/commands.exp
381 * gdb.base/completion.exp
382 * gdb.base/dfp-test.exp
384 * gdb.base/ending-run.exp
386 * gdb.base/expand-psymtabs.exp
387 * gdb.base/float128.exp
388 * gdb.base/floatn.exp
389 * gdb.base/foll-exec-mode.exp
390 * gdb.base/gdb1056.exp
391 * gdb.base/gdb11531.exp
392 * gdb.base/kill-after-signal.exp
393 * gdb.base/multi-forks.exp
394 * gdb.base/overlays.exp
395 * gdb.base/pending.exp
396 * gdb.base/sepdebug.exp
397 * gdb.base/testenv.exp
398 * gdb.base/valgrind-db-attach.exp
399 * gdb.base/watch_thread_num.exp
400 * gdb.base/watchpoint-cond-gone.exp
401 * gdb.base/watchpoint.exp
402 * gdb.base/watchpoints.exp
403 * gdb.cp/arg-reference.exp
404 * gdb.cp/baseenum.exp
405 * gdb.cp/operator.exp
407 * gdb.dwarf2/dw2-op-out-param.exp
408 * gdb.dwarf2/dw2-reg-undefined.exp
411 * gdb.go/integers.exp
414 * gdb.guile/scm-parameter.exp
415 * gdb.guile/scm-progspace.exp
416 * gdb.guile/scm-value.exp
417 * gdb.mi/mi-pending.exp
418 * gdb.mi/user-selected-context-sync.exp
419 * gdb.multi/multi-attach.exp
421 * gdb.opt/clobbered-registers-O2.exp
422 * gdb.pascal/floats.exp
423 * gdb.pascal/integers.exp
424 * gdb.python/py-block.exp
425 * gdb.python/py-events.exp
426 * gdb.python/py-parameter.exp
427 * gdb.python/py-symbol.exp
428 * gdb.python/py-symtab.exp
429 * gdb.python/py-type.exp
430 * gdb.python/py-value.exp
431 * gdb.python/py-xmethods.exp
432 * gdb.python/python.exp
433 * gdb.reverse/break-precsave.exp
434 * gdb.reverse/consecutive-precsave.exp
435 * gdb.reverse/finish-precsave.exp
436 * gdb.reverse/i386-precsave.exp
437 * gdb.reverse/machinestate-precsave.exp
438 * gdb.reverse/sigall-precsave.exp
439 * gdb.reverse/solib-precsave.exp
440 * gdb.reverse/step-precsave.exp
441 * gdb.reverse/until-precsave.exp
442 * gdb.reverse/watch-precsave.exp
443 * gdb.server/ext-attach.exp
444 * gdb.server/ext-restart.exp
445 * gdb.server/ext-run.exp
446 * gdb.server/ext-wrapper.exp
447 * gdb.stabs/gdb11479.exp
448 * gdb.stabs/weird.exp
449 * gdb.threads/attach-many-short-lived-threads.exp
450 * gdb.threads/kill.exp
451 * gdb.threads/watchpoint-fork.exp
453 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
455 Fix test names starting with uppercase throughout all the files below.
457 * gdb.ada/array_return.exp
458 * gdb.ada/catch_ex.exp
459 * gdb.ada/info_exc.exp
460 * gdb.ada/mi_catch_ex.exp
461 * gdb.ada/mi_dyn_arr.exp
462 * gdb.ada/mi_ex_cond.exp
463 * gdb.ada/mi_exc_info.exp
464 * gdb.ada/mi_interface.exp
465 * gdb.ada/mi_task_arg.exp
466 * gdb.ada/mi_task_info.exp
467 * gdb.ada/mi_var_array.exp
468 * gdb.arch/alpha-step.exp
469 * gdb.arch/amd64-disp-step.exp
470 * gdb.arch/arm-disp-step.exp
471 * gdb.arch/disp-step-insn-reloc.exp
472 * gdb.arch/e500-prologue.exp
473 * gdb.arch/ftrace-insn-reloc.exp
474 * gdb.arch/gdb1558.exp
475 * gdb.arch/i386-bp_permanent.exp
476 * gdb.arch/i386-disp-step.exp
477 * gdb.arch/i386-float.exp
478 * gdb.arch/i386-gnu-cfi.exp
479 * gdb.arch/ia64-breakpoint-shadow.exp
480 * gdb.arch/mips16-thunks.exp
481 * gdb.arch/pa-nullify.exp
482 * gdb.arch/powerpc-aix-prologue.exp
483 * gdb.arch/powerpc-power.exp
484 * gdb.arch/ppc-dfp.exp
485 * gdb.arch/s390-tdbregs.exp
486 * gdb.arch/spu-info.exp
487 * gdb.arch/spu-ls.exp
488 * gdb.arch/thumb-bx-pc.exp
489 * gdb.base/advance.exp
490 * gdb.base/annota-input-while-running.exp
491 * gdb.base/arrayidx.exp
492 * gdb.base/asmlabel.exp
494 * gdb.base/attach-wait-input.exp
495 * gdb.base/auto-connect-native-target.exp
496 * gdb.base/batch-preserve-term-settings.exp
497 * gdb.base/bfp-test.exp
498 * gdb.base/bigcore.exp
499 * gdb.base/bp-permanent.exp
500 * gdb.base/break-always.exp
501 * gdb.base/break-fun-addr.exp
502 * gdb.base/break-idempotent.exp
503 * gdb.base/break-main-file-remove-fail.exp
504 * gdb.base/break-probes.exp
505 * gdb.base/break-unload-file.exp
507 * gdb.base/call-ar-st.exp
508 * gdb.base/call-rt-st.exp
509 * gdb.base/call-sc.exp
510 * gdb.base/call-signal-resume.exp
511 * gdb.base/call-strs.exp
512 * gdb.base/callexit.exp
513 * gdb.base/callfuncs.exp
514 * gdb.base/catch-gdb-caused-signals.exp
515 * gdb.base/catch-signal-siginfo-cond.exp
516 * gdb.base/catch-syscall.exp
517 * gdb.base/compare-sections.exp
518 * gdb.base/cond-eval-mode.exp
519 * gdb.base/condbreak-call-false.exp
520 * gdb.base/consecutive-step-over.exp
521 * gdb.base/cursal.exp
522 * gdb.base/disabled-location.exp
523 * gdb.base/disasm-end-cu.exp
524 * gdb.base/display.exp
525 * gdb.base/double-prompt-target-event-error.exp
526 * gdb.base/dprintf-bp-same-addr.exp
527 * gdb.base/dprintf-detach.exp
528 * gdb.base/dprintf-next.exp
529 * gdb.base/dprintf-non-stop.exp
530 * gdb.base/dprintf-pending.exp
531 * gdb.base/dso2dso.exp
532 * gdb.base/ending-run.exp
533 * gdb.base/enum_cond.exp
534 * gdb.base/examine-backward.exp
535 * gdb.base/exe-lock.exp
536 * gdb.base/exec-invalid-sysroot.exp
537 * gdb.base/execl-update-breakpoints.exp
538 * gdb.base/execution-termios.exp
539 * gdb.base/fileio.exp
540 * gdb.base/fixsection.exp
541 * gdb.base/foll-exec-mode.exp
542 * gdb.base/foll-exec.exp
543 * gdb.base/fork-running-state.exp
544 * gdb.base/frame-args.exp
545 * gdb.base/fullpath-expand.exp
546 * gdb.base/func-ptr.exp
547 * gdb.base/gcore-relro-pie.exp
548 * gdb.base/gdb1090.exp
549 * gdb.base/gdb1555.exp
550 * gdb.base/global-var-nested-by-dso.exp
551 * gdb.base/gnu-ifunc.exp
552 * gdb.base/hbreak-in-shr-unsupported.exp
553 * gdb.base/hbreak-unmapped.exp
554 * gdb.base/hook-stop.exp
555 * gdb.base/infcall-input.exp
556 * gdb.base/info-fun.exp
557 * gdb.base/info-shared.exp
558 * gdb.base/interrupt-noterm.exp
559 * gdb.base/jit-so.exp
561 * gdb.base/line-symtabs.exp
563 * gdb.base/longjmp.exp
564 * gdb.base/macscp.exp
565 * gdb.base/max-value-size.exp
566 * gdb.base/nodebug.exp
567 * gdb.base/nofield.exp
568 * gdb.base/overlays.exp
569 * gdb.base/paginate-after-ctrl-c-running.exp
570 * gdb.base/paginate-bg-execution.exp
571 * gdb.base/paginate-inferior-exit.exp
572 * gdb.base/pending.exp
573 * gdb.base/pr11022.exp
574 * gdb.base/printcmds.exp
575 * gdb.base/ptr-typedef.exp
577 * gdb.base/randomize.exp
578 * gdb.base/range-stepping.exp
579 * gdb.base/realname-expand.exp
580 * gdb.base/relativedebug.exp
581 * gdb.base/remote.exp
582 * gdb.base/savedregs.exp
583 * gdb.base/sepdebug.exp
584 * gdb.base/set-noassign.exp
585 * gdb.base/shlib-call.exp
586 * gdb.base/shreloc.exp
587 * gdb.base/sigaltstack.exp
588 * gdb.base/sigbpt.exp
589 * gdb.base/siginfo-addr.exp
590 * gdb.base/siginfo-obj.exp
591 * gdb.base/siginfo-thread.exp
592 * gdb.base/signest.exp
593 * gdb.base/signull.exp
594 * gdb.base/sigrepeat.exp
596 * gdb.base/so-impl-ld.exp
597 * gdb.base/solib-corrupted.exp
598 * gdb.base/solib-disc.exp
599 * gdb.base/solib-display.exp
600 * gdb.base/solib-overlap.exp
601 * gdb.base/solib-search.exp
602 * gdb.base/solib-symbol.exp
603 * gdb.base/source-execution.exp
604 * gdb.base/sss-bp-on-user-bp-2.exp
605 * gdb.base/sss-bp-on-user-bp.exp
606 * gdb.base/stack-checking.exp
607 * gdb.base/stale-infcall.exp
608 * gdb.base/step-break.exp
609 * gdb.base/step-line.exp
610 * gdb.base/step-over-exit.exp
611 * gdb.base/step-test.exp
612 * gdb.base/structs.exp
613 * gdb.base/sym-file.exp
614 * gdb.base/symtab-search-order.exp
616 * gdb.base/type-opaque.exp
617 * gdb.base/unload.exp
618 * gdb.base/until-nodebug.exp
620 * gdb.base/unwindonsignal.exp
621 * gdb.base/watch-cond.exp
622 * gdb.base/watch-non-mem.exp
623 * gdb.base/watch_thread_num.exp
624 * gdb.base/watchpoint-reuse-slot.exp
625 * gdb.base/watchpoint-solib.exp
626 * gdb.base/watchpoint.exp
627 * gdb.btrace/dlopen.exp
633 * gdb.cell/dwarfaddr.exp
634 * gdb.cell/ea-cache.exp
635 * gdb.cell/ea-standalone.exp
636 * gdb.cell/ea-test.exp
637 * gdb.cell/f-regs.exp
640 * gdb.cell/mem-access.exp
642 * gdb.cell/registers.exp
643 * gdb.cell/sizeof.exp
644 * gdb.cell/solib-symbol.exp
646 * gdb.compile/compile-tls.exp
647 * gdb.cp/exception.exp
650 * gdb.cp/mb-inline.exp
651 * gdb.cp/mb-templates.exp
654 * gdb.cp/scope-err.exp
655 * gdb.cp/templates.exp
656 * gdb.cp/virtfunc.exp
657 * gdb.dwarf2/dw2-dir-file-name.exp
658 * gdb.dwarf2/dw2-single-line-discriminators.exp
659 * gdb.fortran/complex.exp
660 * gdb.fortran/library-module.exp
661 * gdb.guile/guile.exp
662 * gdb.guile/scm-cmd.exp
663 * gdb.guile/scm-frame-inline.exp
664 * gdb.guile/scm-objfile.exp
665 * gdb.guile/scm-pretty-print.exp
666 * gdb.guile/scm-symbol.exp
667 * gdb.guile/scm-type.exp
668 * gdb.guile/scm-value.exp
669 * gdb.linespec/keywords.exp
670 * gdb.linespec/ls-errs.exp
671 * gdb.linespec/macro-relative.exp
672 * gdb.linespec/thread.exp
673 * gdb.mi/mi-breakpoint-changed.exp
674 * gdb.mi/mi-dprintf-pending.exp
675 * gdb.mi/mi-fullname-deleted.exp
676 * gdb.mi/mi-logging.exp
677 * gdb.mi/mi-pending.exp
678 * gdb.mi/mi-solib.exp
679 * gdb.mi/new-ui-mi-sync.exp
680 * gdb.mi/user-selected-context-sync.exp
681 * gdb.multi/dummy-frame-restore.exp
682 * gdb.multi/multi-arch-exec.exp
683 * gdb.multi/remove-inferiors.exp
684 * gdb.multi/watchpoint-multi-exit.exp
685 * gdb.opt/solib-intra-step.exp
686 * gdb.perf/backtrace.exp
687 * gdb.perf/single-step.exp
688 * gdb.perf/skip-command.exp
689 * gdb.perf/skip-prologue.exp
691 * gdb.python/lib-types.exp
692 * gdb.python/py-as-string.exp
693 * gdb.python/py-bad-printers.exp
694 * gdb.python/py-block.exp
695 * gdb.python/py-breakpoint.exp
696 * gdb.python/py-cmd.exp
697 * gdb.python/py-events.exp
698 * gdb.python/py-evthreads.exp
699 * gdb.python/py-finish-breakpoint.exp
700 * gdb.python/py-finish-breakpoint2.exp
701 * gdb.python/py-frame-inline.exp
702 * gdb.python/py-frame.exp
703 * gdb.python/py-inferior.exp
704 * gdb.python/py-infthread.exp
705 * gdb.python/py-mi.exp
706 * gdb.python/py-objfile.exp
707 * gdb.python/py-pp-maint.exp
708 * gdb.python/py-pp-registration.exp
709 * gdb.python/py-prettyprint.exp
710 * gdb.python/py-recurse-unwind.exp
711 * gdb.python/py-shared.exp
712 * gdb.python/py-symbol.exp
713 * gdb.python/py-symtab.exp
714 * gdb.python/py-template.exp
715 * gdb.python/py-type.exp
716 * gdb.python/py-unwind-maint.exp
717 * gdb.python/py-unwind.exp
718 * gdb.python/py-value.exp
719 * gdb.python/python.exp
720 * gdb.reverse/finish-reverse-bkpt.exp
721 * gdb.reverse/insn-reverse.exp
722 * gdb.reverse/next-reverse-bkpt-over-sr.exp
723 * gdb.reverse/solib-precsave.exp
724 * gdb.reverse/solib-reverse.exp
725 * gdb.stabs/gdb11479.exp
726 * gdb.stabs/weird.exp
727 * gdb.threads/fork-child-threads.exp
728 * gdb.threads/fork-plus-threads.exp
729 * gdb.threads/fork-thread-pending.exp
730 * gdb.threads/forking-threads-plus-breakpoint.exp
731 * gdb.threads/hand-call-in-threads.exp
732 * gdb.threads/interrupted-hand-call.exp
733 * gdb.threads/linux-dp.exp
734 * gdb.threads/local-watch-wrong-thread.exp
735 * gdb.threads/next-while-other-thread-longjmps.exp
736 * gdb.threads/non-ldr-exit.exp
737 * gdb.threads/pending-step.exp
738 * gdb.threads/print-threads.exp
739 * gdb.threads/process-dies-while-detaching.exp
740 * gdb.threads/process-dies-while-handling-bp.exp
741 * gdb.threads/pthreads.exp
742 * gdb.threads/queue-signal.exp
743 * gdb.threads/reconnect-signal.exp
744 * gdb.threads/signal-command-handle-nopass.exp
745 * gdb.threads/signal-command-multiple-signals-pending.exp
746 * gdb.threads/signal-delivered-right-thread.exp
747 * gdb.threads/signal-sigtrap.exp
748 * gdb.threads/sigthread.exp
749 * gdb.threads/staticthreads.exp
750 * gdb.threads/stepi-random-signal.exp
751 * gdb.threads/thread-unwindonsignal.exp
752 * gdb.threads/thread_check.exp
753 * gdb.threads/thread_events.exp
754 * gdb.threads/tid-reuse.exp
755 * gdb.threads/tls-nodebug.exp
756 * gdb.threads/tls-shared.exp
757 * gdb.threads/tls-so_extern.exp
758 * gdb.threads/tls.exp
759 * gdb.threads/wp-replication.exp
760 * gdb.trace/actions-changed.exp
761 * gdb.trace/actions.exp
762 * gdb.trace/backtrace.exp
763 * gdb.trace/change-loc.exp
764 * gdb.trace/collection.exp
765 * gdb.trace/deltrace.exp
766 * gdb.trace/disconnected-tracing.exp
767 * gdb.trace/entry-values.exp
768 * gdb.trace/ftrace-lock.exp
769 * gdb.trace/ftrace.exp
770 * gdb.trace/infotrace.exp
771 * gdb.trace/mi-trace-frame-collected.exp
772 * gdb.trace/mi-trace-unavailable.exp
773 * gdb.trace/mi-traceframe-changed.exp
774 * gdb.trace/mi-tracepoint-changed.exp
775 * gdb.trace/mi-tsv-changed.exp
776 * gdb.trace/no-attach-trace.exp
777 * gdb.trace/packetlen.exp
778 * gdb.trace/passc-dyn.exp
779 * gdb.trace/passcount.exp
780 * gdb.trace/pending.exp
781 * gdb.trace/pr16508.exp
783 * gdb.trace/range-stepping.exp
784 * gdb.trace/read-memory.exp
785 * gdb.trace/report.exp
786 * gdb.trace/save-trace.exp
787 * gdb.trace/signal.exp
788 * gdb.trace/stap-trace.exp
789 * gdb.trace/status-stop.exp
790 * gdb.trace/strace.exp
791 * gdb.trace/tfile.exp
792 * gdb.trace/tfind.exp
793 * gdb.trace/trace-break.exp
794 * gdb.trace/trace-condition.exp
795 * gdb.trace/trace-enable-disable.exp
796 * gdb.trace/trace-mt.exp
797 * gdb.trace/tracecmd.exp
798 * gdb.trace/tracefile-pseudo-reg.exp
799 * gdb.trace/tspeed.exp
800 * gdb.trace/tstatus.exp
802 * gdb.trace/unavailable.exp
803 * gdb.trace/while-dyn.exp
804 * gdb.trace/while-stepping.exp
810 * lib/prelink-support.exp
811 * lib/selftest-support.exp
813 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
815 * Makefile.in: Include disable-implicit-rules.mk.
817 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
819 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
820 non-byte-aligned bit fields.
822 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
825 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
826 respects the DW_AT_data_bit_offset attribute.
828 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
830 * gdb.base/default.exp: Fix output of "set language".
832 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
834 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
835 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
837 * configure.ac: Remove checks for the make program.
838 * configure: Re-generate.
840 2016-11-16 Kevin Buettner <kevinb@redhat.com>
842 * gdb.python/py-recurse-unwind.c (main): Add loop.
843 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
844 to read_register() and gdb.parse_and_eval(). Make each code
845 call a separate case that can be individually tested.
846 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
847 proc. Call cont_and_backtrace for each of the code paths that
848 we want to test in the unwinder.
850 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
852 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
853 the definition of struct S.
855 2016-11-11 Catherine Moore <clm@codesourcery.com>
857 * gdb.base/dump.exp: Identify verilog format dump tests as such.
859 2016-11-09 Pedro Alves <palves@redhat.com>
861 * gdb.base/commands.exp (runto_or_return): New procedure.
862 (gdbvar_simple_if_test, gdbvar_simple_while_test)
863 (gdbvar_complex_if_while_test, progvar_simple_if_test)
864 (progvar_simple_while_test, progvar_complex_if_while_test)
865 (if_while_breakpoint_command_test)
866 (infrun_breakpoint_command_test, breakpoint_command_test)
867 (user_defined_command_test, watchpoint_command_test)
868 (test_command_prompt_position, redefine_hook_test)
869 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
870 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
871 multi_line_input and multi_line. Remove gdb_expect and
872 gdb_stop_suppressing_tests uses.
873 * lib/gdb.exp (valnum_re): New global.
874 (multi_line_input): New procedure.
876 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
878 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
880 (test_setup): Define with proc_with_prefix.
881 (test_cli_inferior): Likewise.
882 (test_cli_thread): Likewise.
883 (test_cli_frame): Likewise.
884 (test_cli_select_frame): Likewise.
885 (test_cli_up_down): Likewise.
886 (test_mi_thread_select): Likewise.
887 (test_mi_stack_select_frame): Likewise.
888 (test_cli_in_mi_inferior): Likewise.
889 (test_cli_in_mi_thread): Likewise.
890 (test_cli_in_mi_frame): Likewise.
891 (top level): Do not use with_test_prefix_procname.
893 2016-11-09 Pedro Alves <palves@redhat.com>
895 * gdb.base/commands.exp (gdbvar_simple_if_test)
896 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
897 (progvar_simple_if_test, progvar_simple_while_test)
898 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
899 (infrun_breakpoint_command_test, breakpoint_command_test)
900 (user_defined_command_test, watchpoint_command_test)
901 (test_command_prompt_position, deprecated_command_test)
902 (bp_deleted_in_command, temporary_breakpoint_commands)
903 (stray_arg0_test, source_file_with_indented_comment)
904 (recursive_source_test, if_commands_test)
905 (error_clears_commands_left, redefine_hook_test)
906 (redefine_backtrace_test): Use proc_with_prefix.
907 * lib/gdb.exp (proc_with_prefix): New proc.
909 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
911 * gdb.base/tui-layout.c: New file.
912 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
913 disassembly window contains very long lines.
915 2016-11-08 Tom Tromey <tom@tromey.com>
917 * gdb.python/py-value.exp (test_value_creation): Make "long" test
920 2016-11-08 Tom Tromey <tom@tromey.com>
922 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
925 2016-10-29 Manish Goregaokar <manish@mozilla.com>
927 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
929 2016-10-27 Manish Goregaokar <manish@mozilla.com>
931 * gdb.rust/simple.rs: Add test for univariant enums without
932 discriminants and for encoded struct-like enums.
934 2016-10-28 Pedro Alves <palves@redhat.com>
936 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
937 gdb_test_multiple, tighten regexps and match symtabs and line
938 tables incrementally.
940 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
942 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
945 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
947 * gdb.base/exec-invalid-sysroot.exp: New file.
949 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
951 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
953 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
955 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
957 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
959 * gdb.base/killed-outside.exp: Remove $options from a call to
960 `prepare_for_testing'.
962 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
964 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
967 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
969 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
972 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
974 * gdb.trace/mi-trace-save.exp: New file.
976 2016-10-13 Yao Qi <yao.qi@linaro.org>
978 * gdb.base/code_elim.exp (get_var_address): Remove.
979 * gdb.base/relocate.exp: Likewise.
980 * gdb.base/shreloc.exp: Likewise.
981 * lib/gdb.exp (get_var_address): New.
983 2016-10-13 Yao Qi <yao.qi@linaro.org>
985 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
986 floating point tests if $skip_float_test is false.
988 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
990 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
991 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
993 Add 1 to argc so we guarantee distinct initial/modified argc values.
995 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
997 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
999 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1001 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1002 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1003 * gdb.arch/vsx-regs.exp: Likewise.
1005 2016-10-07 Yao Qi <yao.qi@linaro.org>
1007 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1009 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1011 * gdb.python/python.exp: Test decode_line("*0").
1013 2016-10-06 Doug Evans <dje@google.com>
1015 * gdb.python/py-value.exp (test_value_creation): Add test for large
1016 unsigned 64-bit value.
1018 2016-10-06 Tom Tromey <tom@tromey.com>
1020 * gdb.compile/compile.exp: Change java tests to rust.
1021 * gdb.base/setshow.exp: Change java tests to rust.
1022 * gdb.base/default.exp: Remove java from language list.
1023 * README (Examples): Update language example.
1024 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1026 * lib/gdb.exp (skip_java_tests): Remove.
1027 * lib/java.exp: Remove.
1030 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1032 * gdb.arch/mips-fcr.exp: New test.
1033 * gdb.arch/mips-fcr.c: Source for the new test.
1035 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1037 * gdb.base/solib-disc.exp: Use `standard_output_file'
1040 2016-10-06 Pedro Alves <palves@redhat.com>
1042 * gdb.base/jit-simple-dl.c: New file.
1043 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1044 * gdb.base/jit-simple.c: ... this.
1045 * gdb.base/jit-simple.exp (jit_run): Delete.
1046 (build_jit): New proc.
1047 (jit_test_reread): Recompile either the main program or the shared
1048 library, depending on what is being tested. Skip changing address
1049 if caller wants to. Compare before/after addresses. If testing
1050 standalone, explicitly load the binary. Test "maint info
1052 (top level): Add "standalone vs shared lib" and "change address"
1053 vs "same address" axes.
1055 2016-10-06 Pedro Alves <palves@redhat.com>
1057 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1060 (jit_test_reread): Use with_test_prefix. Reload the main binary
1061 explicitly. Compare the before/after addresses of the JIT
1064 2016-08-15 Doug Evans <dje@google.com>
1066 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1067 for single bitfields is bool.
1068 * gdb.xml/tdesc-regs.exp: Ditto.
1070 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1072 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1074 2016-10-05 Yao Qi <yao.qi@linaro.org>
1076 * lib/gdb.exp (support_complex_tests): Return zero if
1077 gdb_skip_float_test return true.
1079 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1080 Simon Marchi <simon.marchi@ericsson.com>
1083 * gdb.mi/user-selected-context-sync.exp: New file.
1084 * gdb.mi/user-selected-context-sync.c: New file.
1086 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1087 Simon Marchi <simon.marchi@ericsson.com>
1090 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1091 =thread-select-event check.
1093 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1095 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1096 the compulsory L operand changes.
1097 * gdb.arch/powerpc-power.s: Likewise.
1099 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1101 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1102 * gdb.base/jit-attach-pie.c: New file.
1103 * gdb.base/jit-attach-pie.exp: New file.
1105 2016-09-28 Pedro Alves <palves@redhat.com>
1107 * gdb.base/infcall-input.c: New file.
1108 * gdb.base/infcall-input.exp: New file.
1110 2016-09-22 Yao Qi <yao.qi@linaro.org>
1112 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1113 (gdb_exit): Rename it to ...
1114 (gdbserver_gdb_exit): ... Close GDBserver.
1115 (gdb_exit): New proc, call gdbserver_gdb_exit.
1116 (mi_gdb_exit): Likewise.
1118 2016-09-22 Yao Qi <yao.qi@linaro.org>
1120 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1122 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1125 2016-09-22 Yao Qi <yao.qi@linaro.org>
1127 * lib/gdbserver-support.exp: Check the existence of
1128 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1130 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1132 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1134 2016-09-21 Tom Tromey <tom@tromey.com>
1137 * gdb.base/quit.exp: New file.
1139 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1141 * .gitignore: New file.
1143 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1145 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1148 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1150 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1152 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1154 * gdb.cp/casts.cc (decltype): Move it ...
1155 (main): ... with its call to ...
1156 * gdb.cp/casts03.cc: ... a new file.
1157 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1159 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1161 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1163 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1165 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1166 and sync up the test with tests in gas/testsuite/gas/ppc.
1167 * gdb.arch/powerpc-power.exp: Likewise.
1169 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1171 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1173 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1174 Jan Kratochvil <jan.kratochvil@redhat.com>
1176 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1177 make m1's definition to be different from m2's. Use 'dummy' as an
1178 argument for probe 'two'.
1180 2016-09-10 Jon Beniston <jon@beniston.com>
1182 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1185 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1187 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1188 variable declaration.
1189 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1190 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1191 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1192 received HWCAP as its argument.
1194 2016-09-06 Pedro Alves <palves@redhat.com>
1196 * gdb.base/new-ui-pending-input.c: New file.
1197 * gdb.base/new-ui-pending-input.exp: New file.
1198 * gdb.exp (clear_gdb_spawn_id): New procedure.
1199 (with_spawn_id): Check whether gdb_spawn_id exists before
1200 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1203 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1205 * gdb.base/float128.c: New file.
1206 * gdb.base/float128.exp: Likewise.
1207 * gdb.base/floatn.c: Likewise.
1208 * gdb.base/floatn.exp: Likewise.
1210 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1212 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1214 2016-09-05 Pedro Alves <palves@redhat.com>
1217 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1218 unwinders are immediately called as side effect of "source" or
1219 "disable unwinder" commands.
1220 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1222 2016-09-02 Yao Qi <yao.qi@linaro.org>
1224 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1225 is true and $type is "float" or "double".
1227 2016-09-02 Yao Qi <yao.qi@linaro.org>
1229 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1231 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1232 * gdb.base/call-rt-st.exp: Likewise.
1233 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1234 return value instead of gdb,skip_float_test.
1235 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1236 (do_function_calls): Use its return value instead of
1237 gdb,skip_float_test.
1238 * gdb.base/finish.exp: Likewise.
1239 * gdb.base/funcargs.exp: Likewise.
1240 * gdb.base/return.exp: Likewise.
1241 * gdb.base/return2.exp: Likewise.
1242 * gdb.base/varargs.exp: Likewise.
1243 * lib/gdb.exp (gdb_skip_float_test): Change it to
1244 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1246 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1248 * gdb.multi/tids.exp: Test "thread apply all".
1250 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1252 * gdb.base/default.exp (tty): Remove.
1254 2016-08-24 Kevin Buettner <kevinb@redhat.com>
1256 * gdb.python/py-recurse-unwind.c: New file.
1257 * gdb.python/py-recurse-unwind.py: New file.
1258 * gdb.python/py-recurse-unwind.exp: New file.
1260 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1262 * gdb.base/set-inferior-tty.exp: New file.
1263 * gdb.base/set-inferior-tty.c: New file.
1265 2016-08-23 Pedro Alves <palves@redhat.com>
1268 * gdb.base/new-ui-echo.c: New file.
1269 * gdb.base/new-ui-echo.exp: New file.
1271 2016-08-23 Yao Qi <yao.qi@linaro.org>
1273 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1275 * gdb.server/connect-without-multi-process.exp (do_test):
1278 2016-08-23 Yao Qi <yao.qi@linaro.org>
1280 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1281 standalone_txt. Delete gdb_txt and standalone_txt on host
1282 and target. Spawn the binary on target. Copy files from
1285 2016-08-22 Pedro Alves <palves@redhat.com>
1288 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1289 with_test_prefix. Factor out bits to ...
1290 (test_no_vdso): ... this new procedure.
1292 2016-08-19 Carl Love <cel@us.ibm.com>
1294 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1295 maintaining separate logic for constructing the output path.
1296 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1297 * gdb.arch/ppc-dfp.exp: Likewise.
1298 * gdb.arch/ppc-fp.exp: Likewise.
1299 * gdb.arch/vsx-regs.exp: Likewise.
1300 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1301 binprefix for generating the additional binary files.
1303 2016-08-19 Pedro Alves <palves@redhat.com>
1305 * gdb.trace/mi-trace-frame-collected.exp
1306 (test_trace_frame_collected): On x32, expect two registers.
1308 2016-08-18 Carl Love <cel@us.ibm.com>
1310 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1311 and sync up the test with tests in gas/testsuite/gas/ppc.
1312 * gdb.arch/powerpc-power.exp: Likewise.
1314 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1316 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1317 expected error message.
1319 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1321 * gdb.multi/remove-inferiors.exp: New file.
1322 * gdb.multi/remove-inferiors.c: New file.
1324 2016-08-12 Yao Qi <yao.qi@linaro.org>
1326 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1329 2016-08-10 Pedro Alves <palves@redhat.com>
1332 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1335 2016-08-09 Pedro Alves <palves@redhat.com>
1336 Simon Marchi <simon.marchi@ericsson.com>
1339 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1340 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1342 2016-08-09 Pedro Alves <palves@redhat.com>
1345 * gdb.mi/mi-cmd-error.exp: New file.
1347 2016-08-09 Pedro Alves <palves@redhat.com>
1350 * gdb.base/signals-state-child.c: New file.
1351 * gdb.base/signals-state-child.exp: New file.
1352 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1354 2016-08-09 Pedro Alves <palves@redhat.com>
1356 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1358 2016-08-03 Tom Tromey <tom@tromey.com>
1361 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1363 2016-08-01 Yao Qi <yao.qi@linaro.org>
1365 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1366 variable mode to "multi-process" if $multi_process is 1, otherwise
1367 set it to "single-process".
1369 2016-08-01 Yao Qi <yao.qi@linaro.org>
1371 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1372 * gdb.cp/cpexprs.exp: Likewise.
1373 * gdb.cp/m-static.exp: Likewise.
1375 2016-07-26 Tom Tromey <tom@tromey.com>
1378 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1381 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1383 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1384 selecting assembly source files.
1385 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1386 assembly source files.
1387 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1388 assembly source files.
1389 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1390 selecting assembly source files.
1392 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1394 * gdb.base/new-ui.exp (do_test_invalid_args): New
1397 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1399 * gdb.btrace/reconnect.c: New file.
1400 * gdb.btrace/reconnect.exp: New file.
1402 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1404 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1405 to test_catch_syscall_group.
1406 (test_catch_syscall_group): New.
1408 2016-07-21 Tom Tromey <tom@tromey.com>
1410 * gdb.rust/simple.rs (main): Use empty struct expression.
1411 * gdb.rust/simple.exp: Add tests for empty struct expression.
1413 2016-07-21 Yao Qi <yao.qi@linaro.org>
1415 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1416 if gdb_skip_xml_test is true on some targets.
1418 2016-07-21 Yao Qi <yao.qi@linaro.org>
1420 * gdb.server/solib-list.exp: Unset last_loaded_file.
1422 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1424 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1425 "step into captured_main (args)".
1427 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1429 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1431 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1433 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1435 2016-07-19 Pedro Alves <palves@redhat.com>
1437 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1438 * gdb.opt/inline-bt.exp: Likewise.
1439 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1440 additional_flags=-Winline.
1441 * gdb.opt/inline-locals.exp: Likewise.
1442 * gdb.opt/inline-markers.c (ATTR): Define.
1443 (inlined_fn): Use it.
1445 2016-07-19 Yao Qi <yao.qi@linaro.org>
1447 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1448 (test_with_self): Remove some code. Remove argument executable.
1449 (top-level): Use do_self_tests.
1451 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
1452 Don Breazeal <donb@codesourcery.com>
1454 * gdb.base/maint.exp: Escape paths used in regular expressions.
1455 * gdb.stabs/weird.exp: Likewise.
1457 2016-07-13 Tom Tromey <tom@tromey.com>
1459 PR python/15620, PR python/18620:
1460 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1461 (test_bkpt_events): New procs.
1463 2016-07-13 Tom Tromey <tom@tromey.com>
1466 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1468 (test_watchpoints): Likewise.
1469 (test_bkpt_pending): New proc.
1471 2016-07-13 Tom Tromey <tom@tromey.com>
1474 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1477 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1479 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1480 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1481 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1483 (g): Rename g_end_lbl to g_label.
1484 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1486 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1488 2016-07-12 Tom Tromey <tom@tromey.com>
1491 * gdb.python/py-unwind-maint.exp: Update tests.
1493 2016-07-12 Yao Qi <yao.qi@linaro.org>
1495 * lib/selftest-support.exp (selftest_setup): Match the output
1496 when captured_main is inlined.
1498 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1500 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1502 (print this%a, print this%b, print this): New tests.
1503 * gdb.fortran/derived-types.f90 (this): New object and
1506 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1508 * gdb.ada/arraydim.exp: Remove extra directory level in build
1511 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1513 * lib/ada.exp: Remove extra directory level in build directory.
1514 * gdb.ada/cond_lang.exp: Likewise.
1515 * gdb.ada/exec_changed.exp: Likewise.
1516 * gdb.ada/lang_switch.exp: Likewise.
1518 2016-07-06 Manish Goregaokar <manish@mozilla.com>
1520 * simple.rs: Add test for raw pointer subscripting.
1521 * simple.exp: Add test expectations.
1523 2016-07-05 Yao Qi <yao.qi@linaro.org>
1525 * gdb.mi/mi-reverse.exp: Match =record-started output.
1527 2016-07-01 Pedro Alves <palves@redhat.com>
1529 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1531 (jit_reader_test): Test the jit reader's unwinder.
1532 * gdb.base/jithost.c (jit_function_00_code): New global.
1533 (main): Use memcpy to fill in the mmapped code, instead of poking
1534 bytes manually here.
1535 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1537 (read_debug_info): Save the function's range.
1538 (read_sp): New function.
1539 (unwind_frame): Use it. Also unwind RBP.
1540 (get_frame_id): Use read_sp.
1541 (gdb_init_reader): Use calloc instead of malloc.
1542 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1543 parameter. Use gdb_test_multiple.
1545 2016-07-01 Pedro Alves <palves@redhat.com>
1546 Antoine Tremblay <antoine.tremblay@ericsson.com>
1548 * gdb.threads/process-dies-while-detaching.c: New file.
1549 * gdb.threads/process-dies-while-detaching.exp: New file.
1551 2016-07-01 Pedro Alves <palves@redhat.com>
1553 * gdb.multi/watchpoint-multi-exit.c: New file.
1554 * gdb.multi/watchpoint-multi-exit.exp: New file.
1556 2016-06-30 Pedro Alves <palves@redhat.com>
1558 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1559 unset inferior_spawn_id.
1561 2016-06-30 Pedro Alves <palves@redhat.com>
1563 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1564 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1566 2016-06-29 Yao Qi <yao.qi@linaro.org>
1568 * gdb.base/return.c: Add copyright header.
1570 2016-06-29 Tom Tromey <tom@tromey.com>
1573 * gdb.python/py-framefilter.exp: Add tests for setting priority
1574 and disabling of non-existent frame filter.
1576 2016-06-29 Yao Qi <yao.qi@linaro.org>
1578 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1581 2016-06-28 Yao Qi <yao.qi@linaro.org>
1583 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1584 triplets. Start gdb, execute catch syscall, and continue. Check
1585 gdb's output to determine catch syscall is supported.
1587 2016-06-27 Manish Goregaokar <manish@mozilla.com>
1589 * gdb.rust/simple.rs: Add test for returning unit in a function.
1590 * gdb.rust/simple.exp: Add expectation for functions returning
1593 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1595 * gdb.python/py-breakpoint-create-fail.c,
1596 gdb.python/py-breakpoint-create-fail.exp,
1597 gdb.python/py-breakpoint-create-fail.py: New testcase.
1599 2016-06-25 Manish Goregaokar <manish@mozilla.com>
1602 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
1603 * gdb.rust/simple.exp: Add test expectations for new NonZero
1606 2016-06-24 David Taylor <dtaylor@emc.com>
1608 * gdb.base/offsets.exp: New file.
1609 * gdb.base/offsets.c: New file.
1611 2016-06-23 Tom Tromey <tom@tromey.com>
1614 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1615 before any filters are loaded.
1617 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1619 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1620 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1622 * gdb.fortran/derived-type-function.exp: New file.
1623 * gdb.fortran/derived-type-function.f90: New file.
1626 2016-06-21 Pedro Alves <palves@redhat.com>
1628 * gdb.base/new-ui.exp: New file.
1629 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1630 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1631 (with_spawn_id): New procedure.
1633 2016-06-21 Pedro Alves <palves@redhat.com>
1635 * gdb.mi/mi-exec-run.exp: New file.
1637 2016-06-21 Pedro Alves <palves@redhat.com>
1639 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1640 breakpoint command's output on the main UI.
1641 (test_break): New procedure, factored out from calls in the top
1643 (top level): Use foreach_with_prefix to test MI as main UI and as
1646 2016-06-21 Pedro Alves <palves@redhat.com>
1648 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1649 (test_awatch_creation_and_listing)
1650 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1651 Remove 'type' parameter.
1652 (test_watchpoint_all): New parameter mi_mode. Remove
1654 (top level): Use foreach_with_prefix, and add main/separate UI MI
1657 2016-06-21 Pedro Alves <palves@redhat.com>
1659 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1660 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1661 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1662 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1663 (gdb_main_spawn_id, mi_spawn_id): Declare and
1665 (mi_create_inferior_pty): New procedure,
1666 factored out from default_mi_gdb_start.
1667 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1669 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1670 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1671 Use mi_create_inferior_pty.
1672 (mi_gdb_start): Use eval to pass down args list.
1674 2016-06-21 Pedro Alves <palves@redhat.com>
1676 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1677 * gdb.opt/inline-cmds.exp: Add MI tests.
1679 2016-06-21 Pedro Alves <palves@redhat.com>
1681 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1683 2016-06-21 Pedro Alves <palves@redhat.com>
1685 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1686 (top level): Use it instead of mi_execute_to.
1688 2016-06-21 Pedro Alves <palves@redhat.com>
1690 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1691 (cont_handler_str): New.
1692 (signal_stop_handler): Set stop_handler_str instead of printing to
1694 (continue_handler): Set cont_handler_str instead of printing to
1696 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1697 mi_send_resuming_command. Print stop_handler_str and
1698 cont_handler_str instead of expecting the python events print
1701 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1703 * gdb.base/jit-reader.exp: New file.
1704 * gdb.base/jithost.c: New file.
1705 * gdb.base/jithost.h: New file.
1706 * gdb.base/jitreader.c : New file.
1707 * gdb.base/jit-protocol.h: New file.
1709 2016-06-17 Yao Qi <yao.qi@linaro.org>
1711 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1712 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1713 and detach-on-fork. Adjust tests.
1714 (top level): Invoke break_cond_on_syscall with combinations of
1715 syscall, follow-fork-mode and detach-on-fork.
1717 2016-06-17 Yao Qi <yao.qi@linaro.org>
1719 * gdb.base/step-over-exit.c: New.
1720 * gdb.base/step-over-exit.exp: New.
1722 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1724 * gdb.base/float.exp: Add target check for nds32*-*-*.
1725 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1727 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1729 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1730 for unsupported target features.
1731 * gdb.base/call-rt-st.exp: Likewise.
1732 * gdb.base/call-sc.exp: Likewise.
1733 * gdb.base/call-signal-resume.exp: Likewise.
1734 * gdb.base/call-strs.exp: Likewise.
1735 * gdb.base/callexit.exp: Likewise.
1736 * gdb.base/callfuncs.exp: Likewise.
1737 * gdb.base/nodebug.exp: Likewise.
1738 * gdb.base/printcmds.exp: Likewise.
1739 * gdb.base/ptype.exp: Likewise.
1740 * gdb.base/structs.exp: Likewise.
1741 * gdb.base/unwindonsignal.exp: Likewise.
1742 * gdb.cp/gdb2495.exp: Likewise.
1743 * gdb.cp/templates.exp: Likewise.
1744 * gdb.cp/virtfunc.exp: Likewise.
1745 * gdb.threads/hand-call-in-threads.exp: Likewise.
1746 * gdb.threads/interrupted-hand-call.exp: Likewise.
1747 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1749 2016-06-10 Tom Tromey <tom@tromey.com>
1752 * gdb.rust/expr.exp: Add test for integer constant larger than
1755 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1757 * gdb.fortran/nested-funcs.exp: New.
1758 * gdb.fortran/nested-funcs.f90: New.
1760 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1762 * gdb.base/examine-backward.c: New file.
1763 * gdb.base/examine-backward.exp: New file.
1765 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1767 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1770 2016-06-02 Tom Tromey <tom@tromey.com>
1773 * gdb.python/py-shared.exp: Add solib_name test.
1775 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1777 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1779 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1782 * gdb.dwarf2/implref.exp: Rename to...
1783 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1784 * gdb.dwarf2/implref-array.c: New file.
1785 * gdb.dwarf2/implref-array.exp: Likewise.
1786 * gdb.dwarf2/implref-global.c: Likewise.
1787 * gdb.dwarf2/implref-global.exp: Likewise.
1788 * gdb.dwarf2/implref-struct.c: Likewise.
1789 * gdb.dwarf2/implref-struct.exp: Likewise.
1791 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1793 * gdb.trace/trace-condition.exp: Add 64bit tests.
1795 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1797 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1799 (main): Adapt to 8 to 64 bits types.
1800 * gdb.trace/trace-condition.exp: Add new tests.
1802 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1804 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1806 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1808 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1809 Move condition tests...
1810 * gdb.trace/trace-condition.exp: Here.
1812 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1814 * gdb.trace/trace-condition.exp: Add counter-case tests.
1816 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1819 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1820 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1822 2016-05-27 Pedro Alves <palves@redhat.com>
1824 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1826 (top level): Call it, and bail out of DejaGnu is known to be bad.
1828 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1830 * gdb.base/whatis.c: Extend the test case.
1831 * gdb.base/whatis.exp: Add additional tests.
1833 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1835 * gdb.fortran/type.f90: Add pointer variable.
1836 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1838 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1840 * gdb.fortran/vla-type.exp: Fix testcase name.
1842 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1844 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1846 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1848 * gdb.fortran/type.f90: Add nested structures.
1849 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1850 * gdb.fortran/derived-type.exp: Adapt expected output.
1851 * gdb.fortran/vla-type.exp: Adapt expected output.
1853 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1855 * gdb.fortran/whatis_type.exp: Adapt expected output.
1857 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1859 * gdb.fortran/print_type.exp: Fix expected output.
1860 * gdb.fortran/whatis_type.exp: Fix expected output.
1862 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1864 * gdb.fortran/whatis_type.exp: Use multi_line.
1866 2016-05-24 Tom Tromey <tom@tromey.com>
1869 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1870 use value as an index.
1872 2016-05-23 Tom Tromey <tom@tromey.com>
1875 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1878 2016-05-24 Pedro Alves <palves@redhat.com>
1881 * gdb.threads/clone-attach-detach.c: New file.
1882 * gdb.threads/clone-attach-detach.exp: New file.
1884 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1886 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1888 2016-05-23 Tom Tromey <tom@tromey.com>
1890 PR python/19438, PR python/18393:
1891 * gdb.python/py-progspace.exp: Add "dir" test.
1892 * gdb.python/py-objfile.exp: Add "dir" test.
1894 2016-05-23 Yao Qi <yao.qi@linaro.org>
1896 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1897 * gdb.arch/thumb2-it.exp: Likewise.
1899 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1901 * gdb.mi/mi-threads-interrupt.c: New file.
1902 * gdb.mi/mi-threads-interrupt.exp: New file.
1904 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1907 * gdb.mi/mi-async-run.exp: New file.
1908 * gdb.mi/mi-async-run.c: New file.
1910 2016-05-17 Tom Tromey <tom@tromey.com>
1911 Manish Goregaokar <manishsmail@gmail.com>
1913 * lib/rust-support.exp: New file.
1914 * lib/gdb.exp (skip_rust_tests): New proc.
1915 (build_executable_from_specs): Handle rust.
1916 * lib/future.exp (gdb_find_rustc): New proc.
1917 (gdb_default_target_compile): Handle rust.
1918 * gdb.rust/expr.exp: New file.
1919 * gdb.rust/generics.exp: New file.
1920 * gdb.rust/generics.rs: New file.
1921 * gdb.rust/methods.exp: New file.
1922 * gdb.rust/methods.rs: New file.
1923 * gdb.rust/modules.exp: New file.
1924 * gdb.rust/modules.rs: New file.
1925 * gdb.rust/simple.exp: New file.
1926 * gdb.rust/simple.rs: New file.
1928 2016-05-17 Tom Tromey <tom@tromey.com>
1930 * gdb.base/default.exp (set language): Add rust.
1932 2016-05-17 Tom Tromey <tom@tromey.com>
1934 * gdb.gdb/unittest.exp: New file.
1936 2016-05-16 Yao Qi <yao.qi@linaro.org>
1938 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1939 shell_prompt. Update shell_prompt_re.
1941 2016-05-12 Doug Evans <dje@google.com>
1944 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1945 $options when building executable.
1946 * gdb.dwarf2/fission-loclists-pie.S: New file.
1947 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1949 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1951 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1952 of [is_remote target],
1954 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1956 * lib/gdb.exp (use_gdb_stub): New procedure.
1958 2016-05-03 Yunlian Jiang <yunlian@google.com>
1959 Doug Evans <dje@google.com>
1962 * gdb.dwarf2/dwp-sepdebug.c: New file.
1963 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1965 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1967 * gdb.base/detach.exp: Remove is_remote check.
1969 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1971 * gdb.base/annota-input-while-running.exp: Don't check for
1972 [is_remote target]. Enable annotations after running to main.
1973 Remove unused "set test..." line.
1975 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1977 * gdb.trace/trace-enable-disable.exp: New file.
1978 * gdb.trace/trace-enable-disable.c: New file.
1980 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1982 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1983 use it in info sharedlibrary test.
1984 * gdb.trace/ftrace-lock.exp: Likewise.
1985 * gdb.trace/ftrace.exp: Likewise.
1986 * gdb.trace/range-stepping.exp: Likewise.
1987 * gdb.trace/trace-break.exp: Likewise.
1988 * gdb.trace/trace-condition.exp: Likewise.
1989 * gdb.trace/trace-mt.exp: Likewise.
1991 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1993 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1994 (gdb_load_shlib): ... this.
1995 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1997 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1998 * gdb.base/ctxobj.exp: Likewise.
1999 * gdb.base/dprintf-pending.exp: Likewise.
2000 * gdb.base/dso2dso.exp: Likewise.
2001 * gdb.base/fixsection.exp: Likewise.
2002 * gdb.base/gcore-relro.exp: Likewise.
2003 * gdb.base/gdb1555.exp: Likewise.
2004 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2005 * gdb.base/gnu-ifunc.exp: Likewise.
2006 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2007 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2008 * gdb.base/pending.exp: Likewise.
2009 * gdb.base/print-file-var.exp: Likewise.
2010 * gdb.base/print-symbol-loading.exp: Likewise.
2011 * gdb.base/shlib-call.exp: Likewise.
2012 * gdb.base/shreloc.exp: Likewise.
2013 * gdb.base/so-impl-ld.exp: Likewise.
2014 * gdb.base/solib-disc.exp: Likewise.
2015 * gdb.base/solib-nodir.exp: Likewise.
2016 * gdb.base/solib-overlap.exp: Likewise.
2017 * gdb.base/solib-symbol.exp: Likewise.
2018 * gdb.base/solib-weak.exp (do_test): Likewise.
2019 * gdb.base/sym-file.exp: Likewise.
2020 * gdb.base/symtab-search-order.exp: Likewise.
2021 * gdb.base/type-opaque.exp: Likewise.
2022 * gdb.base/unload.exp: Likewise.
2023 * gdb.base/watchpoint-solib.exp: Likewise.
2024 * gdb.compile/compile.exp: Likewise.
2025 * gdb.cp/gdb2384.exp: Likewise.
2026 * gdb.cp/infcall-dlopen.exp: Likewise.
2027 * gdb.cp/re-set-overloaded.exp: Likewise.
2028 * gdb.fortran/library-module.exp: Likewise.
2029 * gdb.opt/solib-intra-step.exp: Likewise.
2030 * gdb.python/py-finish-breakpoint.exp: Likewise.
2031 * gdb.python/py-shared.exp: Likewise.
2032 * gdb.reverse/solib-precsave.exp: Likewise.
2033 * gdb.reverse/solib-reverse.exp: Likewise.
2034 * gdb.server/solib-list.exp: Likewise.
2035 * gdb.threads/dlopen-libpthread.exp: Likewise.
2036 * gdb.threads/tls-shared.exp: Likewise.
2037 * gdb.threads/tls-so_extern.exp: Likewise.
2038 * gdb.trace/change-loc.exp: Likewise.
2039 * gdb.trace/ftrace-lock.exp: Likewise.
2040 * gdb.trace/ftrace.exp: Likewise.
2041 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2042 * gdb.trace/pending.exp: Likewise.
2043 * gdb.trace/range-stepping.exp: Likewise.
2044 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2045 (strace_info_marker): Likewise.
2046 (strace_probe_marker): Likewise.
2047 (strace_trace_on_same_addr): Likewise.
2048 (strace_trace_on_diff_addr): Likewise.
2049 * gdb.trace/trace-break.exp: Likewise.
2050 * gdb.trace/trace-condition.exp: Likewise.
2051 * gdb.trace/trace-mt.exp: Likewise.
2053 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2055 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2056 result of gdb_remote_download.
2057 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2058 * gdb.base/dso2dso.exp: Likewise.
2059 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2060 * gdb.base/print-file-var.exp: Likewise.
2061 * gdb.base/shlib-call.exp: Likewise.
2062 * gdb.base/shreloc.exp: Likewise.
2063 * gdb.base/solib-overlap.exp: Likewise.
2064 * gdb.base/solib-weak.exp (do_test): Likewise.
2065 * gdb.base/unload.exp: Likewise.
2067 2016-04-27 Yao Qi <yao.qi@linaro.org>
2069 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2072 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2074 * vla-type.exp: Print structure from toplevel.
2076 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2078 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2080 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2083 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2085 * gdb.fortran/vla-type.f90: New file.
2086 * gdb.fortran/vla-type.exp: New file.
2088 2016-04-25 Yao Qi <yao.qi@linaro.org>
2090 * gdb.base/branch-to-self.c: New file.
2091 * gdb.base/branch-to-self.exp: New file.
2093 2016-04-22 Yao Qi <yao.qi@linaro.org>
2095 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2098 2016-04-22 Yao Qi <yao.qi@linaro.org>
2100 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2101 * gdb.base/annota3.exp: Likewise.
2103 2016-04-22 Yao Qi <yao.qi@linaro.org>
2105 * gdb.reverse/step-precsave.exp: Do one step and test program
2106 stops in "callee" and do multiple steps until program goes out
2108 * gdb.reverse/step-reverse.exp: Likewise.
2110 2016-04-22 Yao Qi <yao.qi@linaro.org>
2112 * gdb.trace/signal.exp: Also pass if
2113 $tracepoint_hits($i) > $iterations.
2115 2016-04-22 Yao Qi <yao.qi@linaro.org>
2117 * gdb.trace/signal.c: New file.
2118 * gdb.trace/signal.exp: New file.
2120 2016-04-19 Doug Evans <xdje42@gmail.com>
2122 * gdb.base/bad-file.exp: New file.
2124 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2126 * gdb.dwarf2/implref.exp: New file.
2128 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2130 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2131 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2132 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2133 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2134 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2135 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2136 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2137 * lib/fortran.exp (fortran_int4): New procedure.
2138 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2139 (fortran_logical4): Likewise.
2141 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2143 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2145 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2147 * lib/compiler.c: Add Intel specific preprocessor macros.
2148 * lib/compiler.cc: Likewise.
2150 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2152 * gdb.server/connect-with-no-symbol-file.c: New file.
2153 * gdb.server/connect-with-no-symbol-file.exp: New file.
2155 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2157 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2159 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2161 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2162 standard output directory.
2164 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2166 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2168 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2170 * gdb.btrace/instruction_history.c (loop): Add declaration.
2172 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2174 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2176 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2178 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2179 parentheses to print.
2180 (continue_handler): Likewise.
2182 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2184 * gdb.server/solib-list.exp: Remove is_remote check.
2185 Pass shlib= to gdb_compile. Don't link shared library with
2186 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2187 Run binary filename through "readlink -f" on the target.
2189 2016-04-08 Pedro Alves <palves@redhat.com>
2191 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2192 interpreter filename as argument to gdbserver_spawn.
2193 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2194 Return empty if $last_loaded_file does not exist.
2196 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2198 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2199 * gdb.base/jit-main.c: Use exit after usage.
2201 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2203 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2204 GDBHISTSIZE prior to the tests.
2205 * gdb.base/gdbinit-history.exp: Likewise.
2207 2016-04-07 Pedro Alves <palves@redhat.com>
2209 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2210 instead of build_executable. Use gdb_load_shlibs.
2212 2016-04-07 Yao Qi <yao.qi@linaro.org>
2214 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2215 Execute "si" command.
2217 2016-04-07 Yao Qi <yao.qi@linaro.org>
2219 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2220 number instead of the comments on some line.
2222 2016-04-06 Don Breazeal <donb@codesourcery.com>
2224 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2225 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2227 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2229 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2230 standard_output_file. Remove unused binfile variable.
2232 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
2234 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2235 * gdb.python/py-mi-objfile.exp: Match "list main" output
2238 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2240 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2243 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2245 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2247 * gdb.trace/ftrace.exp: Likewise.
2248 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2250 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2251 (gdb_load_shlibs): Copy libraries to test directory when testing
2252 natively. Only set solib-search-path if testing remotely.
2253 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2255 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2257 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2258 gdb_download. Use it even if the target is not remote.
2259 * gdb.base/jit.exp (compile_jit_test): Likewise.
2260 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2261 output directory if the destination board is local, otherwise use
2262 the standard remote_download from DejaGnu.
2263 (gdb_download): Remove.
2264 (gdb_load_shlibs): Use gdb_remote_download instead of
2266 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2267 Use gdb_remote_download instead of gdb_download. Use it even if
2268 the target is not remote.
2269 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2270 instead of gdb_download.
2272 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2274 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2275 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2278 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
2281 * gdb.base/printcmds.exp: Add artificial arrays tests.
2283 2016-03-31 Pedro Alves <palves@redhat.com>
2286 * gdb.base/jit-main.c: Include unistd.h.
2287 (ATTACH): Define to 0 if not already defined.
2288 (wait_for_gdb, mypid): New globals.
2289 (WAIT_FOR_GDB): New macro.
2290 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2291 some breakpoint locations.
2292 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2294 (one_jit_test): Add REATTACH parameter, and handle it. Use
2295 continue_to_test_location.
2296 (top level): Test attach, and adjusts calls to one_jit_test.
2298 2016-03-31 Pedro Alves <palves@redhat.com>
2301 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2302 BINSUFFIX parameter, and handle it.
2303 (top level): Adjust calls compile_jit_test.
2305 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
2308 * gdb.python/py-mi-events-gdb.py: New file.
2309 * gdb.python/py-mi-events.c: New file.
2310 * gdb.python/py-mi-events.exp: New file.
2312 2016-03-30 Yao Qi <yao.qi@linaro.org>
2314 * gdb.reverse/until-precsave.exp: Match function name only.
2315 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2316 Move malloc to a condition block.
2317 * gdb.reverse/until-reverse.exp: Match function name only.
2319 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2321 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2322 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2323 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2324 variable for GPR 0 instead of assuming it is register 0.
2325 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2326 * lib/trace-support.exp: Add s390 registers.
2328 2016-03-29 Yao Qi <yao.qi@linaro.org>
2330 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2332 2016-03-24 Yao Qi <yao.qi@linaro.org>
2334 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2337 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2339 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2340 maintaining separate logic for constructing the output path.
2342 2016-03-16 Don Breazeal <donb@codesourcery.com>
2344 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2345 Retry fork and waitpid on interrupted system call errors.
2346 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2347 Use with_timeout_factor to increase timeout by factor of 10.
2349 2016-03-15 Don Breazeal <donb@codesourcery.com>
2351 * gdb.cp/scope-err.cc: New test program.
2352 * gdb.cp/scope-err.exp: New test script.
2353 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2354 lines and "set breakpoint here" comment.
2355 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2356 Fixed some whitespace and format issues.
2357 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2358 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2360 2016-03-15 Doug Evans <dje@google.com>
2362 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2363 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2364 All callers updated. Add tests for enums, mixed flags register.
2366 2016-03-15 Doug Evans <dje@google.com>
2368 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2369 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2371 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2373 * gdb.base/default.exp: Add $_as_string to the list of expected
2374 convenience functions.
2376 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2378 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2380 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2382 * gdb.python/py-as-string.exp: New file.
2383 * gdb.python/py-as-string.c: New file.
2385 2016-03-09 Pedro Alves <palves@redhat.com>
2387 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2388 signal" -> "Thread NN received signal" output change.
2389 * gdb.threads/ia64-sigill.exp: Likewise.
2390 * gdb.threads/linux-dp.exp: Likewise.
2391 * gdb.threads/manythreads.exp: Likewise.
2392 * gdb.threads/pending-step.exp: Likewise.
2393 * gdb.threads/print-threads.exp: Likewise.
2394 * gdb.threads/sigstep-threads.exp: Likewise.
2395 * gdb.threads/staticthreads.exp: Likewise.
2396 * gdb.threads/tls.exp: Likewise.
2398 2016-03-09 Pedro Alves <palves@redhat.com>
2400 * gdb.base/command-line-input.exp: New file.
2402 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2404 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2405 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2406 * gdb.trace/pending.exp: Accept leading dot before function name.
2407 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2408 * lib/trace-support.exp: Set registers for ppc.
2410 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2412 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2413 use it for disassembly; accept .main in addition to main in backtrace.
2415 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2416 Marcin Kościelnicki <koriakin@0x04.net>
2418 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2419 (gdb_recursion_test_ptr): New global variable.
2420 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2422 (gdb_c_test): Ditto.
2424 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2426 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2429 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2431 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2432 (bar): Add bar_start_lbl label.
2433 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2434 of foo/bar for emitting DWARF and tracing.
2436 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2438 * analyze-racy-logs.py: Set executable bit.
2440 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2442 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2443 (CHECK_TARGET_TMP): Likewise.
2444 (check-single-racy): New rule.
2445 (check-parallel-racy): Likewise.
2446 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2447 (do-check-parallel-racy): New rule.
2448 (check-racy/%.exp): Likewise.
2449 * README (Racy testcases): New section.
2450 * analyze-racy-logs.py: New file.
2452 2016-03-03 Doug Evans <dje@google.com>
2454 * gdb.base/skip.exp: Use with_test_prefix.
2456 2016-03-03 Yao Qi <yao.qi@linaro.org>
2458 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2459 Invoke step_over_syscall "clone" and break_cond_on_syscall
2461 * gdb.base/step-over-clone.c: New file.
2463 2016-03-03 Yao Qi <yao.qi@linaro.org>
2465 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2468 2016-03-03 Yao Qi <yao.qi@linaro.org>
2470 * gdb.base/disp-step-fork.c: Rename to ...
2471 * gdb.base/step-over-fork.c: ... it. New file.
2472 * gdb.base/disp-step-vfork.c: Rename to ...
2473 * gdb.base/step-over-vfork.c: ... it. New file.
2474 * gdb.base/disp-step-syscall.exp: Rename to ...
2475 * gdb.base/step-over-syscall.exp: ... it. New file.
2476 (disp_step_cross_syscall): Rename to ...
2477 (step_over_syscall): ... it.
2479 2016-03-03 Yao Qi <yao.qi@linaro.org>
2481 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2482 If target supports condition evaluation on target, invoke
2483 break_cond_on_syscall for fork and vfork.
2485 2016-03-03 Yao Qi <yao.qi@linaro.org>
2487 * gdb.base/disp-step-syscall.exp: Don't invoke
2488 support_displaced_stepping.
2489 (disp_step_cross_syscall): Test with displaced stepping off and
2492 2016-03-03 Yao Qi <yao.qi@linaro.org>
2494 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2497 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2500 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2502 * gdb.fortran/vla-history.exp: Remove breakpoint.
2504 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2506 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2509 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2511 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2514 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2516 * gdb.mi/vla.f90: Nullify pointer after declaration.
2518 2016-03-01 Pedro Alves <palves@redhat.com>
2520 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2522 2016-03-01 Pedro Alves <palves@redhat.com>
2524 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2525 before anything else.
2526 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2528 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2529 before anything else.
2530 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2532 2016-03-01 Pedro Alves <palves@redhat.com>
2534 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2536 2016-03-01 Yao Qi <yao.qi@linaro.org>
2538 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2539 prepare_for_testing.
2541 2016-03-01 Yao Qi <yao.qi@linaro.org>
2543 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2545 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2547 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2548 manually constructing the output path.
2550 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2552 * gdb.arch/s390-stackless.S: New.
2553 * gdb.arch/s390-stackless.exp: New.
2555 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2557 * gdb.dlang/circular.c: New file.
2558 * gdb.dlang/circular.exp: New file.
2560 2016-02-26 Yao Qi <yao.qi@linaro.org>
2562 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2563 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2564 (testcases): Update.
2566 2016-02-26 Yao Qi <yao.qi@linaro.org>
2568 * gdb.reverse/aarch64.c: Rename to ...
2569 * gdb.reverse/insn-reverse.c: ... it.
2570 * gdb.reverse/aarch64.exp: Rename to ...
2571 * gdb.reverse/insn-reverse.exp: ... it.
2573 2016-02-26 Yao Qi <yao.qi@linaro.org>
2575 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2576 (testcase_ftype): New.
2577 (testcases): New array.
2579 (main): Call each element in testcases.
2580 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2581 (read_testcase): New.
2582 Do the tests in a loop.
2584 2016-02-25 Yao Qi <yao.qi@linaro.org>
2586 * gdb.base/branches.c: Remove.
2588 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2591 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2593 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2595 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2597 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2599 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2600 change x86_64 call_insn to 'callq'.
2602 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2604 * gdb.trace/tfile-avx.c: Move to...
2605 * gdb.trace/tracefile-pseudo-reg.c: Here.
2606 * gdb.trace/tfile-avx.exp: Move to...
2607 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2609 2016-02-24 Gary Benson <gbenson@redhat.com>
2611 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2614 2016-02-23 Doug Evans <dje@google.com>
2616 * gdb.base/skip.c (test_skip): New function.
2617 (end_test_skip_file_and_function): New function.
2618 (test_skip_file_and_function): New function.
2619 * gdb.base/skip1.c (test_skip): New function.
2620 (skip1_test_skip_file_and_function): New function.
2621 * gdb.base/skip.exp: Add tests for new skip options.
2622 * gdb.base/skip-solib.exp: Update expected output.
2623 * gdb.perf/skip-command.cc: New file.
2624 * gdb.perf/skip-command.exp: New file.
2625 * gdb.perf/skip-command.py: New file.
2627 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2629 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2630 info registers pattern.
2632 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2634 * lib/future.exp: Add D support.
2635 (gdb_find_gdc): New proc.
2636 (gdb_default_target_compile): Add D support.
2638 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
2640 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2642 (trace_speed_test): Determine the iteration count for a time
2643 between 15..30 seconds.
2645 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2647 * gdb.arch/i386-mpx-sigsegv.c: New file.
2648 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2649 * gdb.arch/i386-mpx-simple_segv.c: New file.
2650 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2652 2016-02-18 Yao Qi <yao.qi@linaro.org>
2654 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2655 Don't call setup_kfail.
2657 2016-02-18 Yao Qi <yao.qi@linaro.org>
2659 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2660 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2662 2016-02-16 Doug Evans <dje@google.com>
2664 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2665 * gdb.base/skip1.c: Ditto.
2666 * gdb.base/skip.exp: Whitespace cleanup.
2668 2016-02-16 Don Breazeal <donb@codesourcery.com>
2671 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2672 Remove kfail for PR remote/19496.
2674 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2676 * lib/gdb.exp (standard_temp_file): Return a path specific to
2677 the runtest invocation.
2679 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2681 * gdb.trace/save-trace.exp: Change relative path to be in the
2682 standard output directory.
2684 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2686 * gdb.arch/i386-prologue.c: Add missing prototypes.
2688 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2690 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2691 * gdb.arch/i386-prologue.exp: Likewise.
2692 * gdb.arch/i386-size.exp: Likewise.
2694 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2696 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2697 define object file path.
2698 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2700 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2701 standard_output_file to define binfile.
2703 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2705 Fix compatibility with recent gfortran-5.3.1.
2706 * gdb.fortran/vla-history.exp (print vla1 allocated)
2707 (print vla2 allocated, print $2, print $3): Remove
2708 (print $4): Rename to ...
2709 (print $2): ... here.
2710 (print $9): Rename to ...
2711 (print $5): ... here.
2712 (print $10): Rename to ...
2713 (print $6): ... here.
2714 * gdb.fortran/vla.f90: Add pvla initialization.
2716 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2718 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2720 * gdb.fortran/vla-value-sub.exp: Likewise.
2722 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2724 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2726 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2728 * i386-biarch-core.exp: Define corefile using
2729 standard_output_file.
2731 2016-02-12 Yao Qi <yao.qi@linaro.org>
2733 * gdb.arch/arm-single-step-kernel-helper.c: New.
2734 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2736 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2738 * gdb.btrace/tailcall-only.exp: New.
2739 * gdb.btrace/tailcall-only.c: New.
2740 * gdb.btrace/x86_64-tailcall-only.S: New.
2741 * gdb.btrace/i686-tailcall-only.S: New.
2743 2016-02-11 Pedro Alves <palves@redhat.com>
2745 * README (Parallel testing): Add missing double quotes.
2747 2016-02-11 Pedro Alves <palves@redhat.com>
2749 * README (Parallel testing): New section.
2750 (GDB_PARALLEL): Rewrite.
2751 (FORCE_PARALLEL): Document.
2753 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2755 * gdb.trace/tfile-avx.c: New test.
2756 * gdb.trace/tfile-avx.exp: New test.
2758 2016-02-09 Keith Seitz <keiths@redhat.com>
2760 PR breakpoints/19546
2761 * gdb.base/infcall-exec.c: New file.
2762 * gdb.base/infcall-exec2.c: New file.
2763 * gdb.base/infcall-exec.exp: New file.
2765 2016-02-09 Keith Seitz <keiths@redhat.com>
2767 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2768 (toplevel): Call test_bkpt_address.
2770 2016-02-09 Keith Seitz <keiths@redhat.com>
2773 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2774 (toplevel): Call test_bkpt_address.
2776 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2778 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2780 * configure: Regenerate.
2782 2016-02-09 Pedro Alves <palves@redhat.com>
2784 PR breakpoints/19548
2785 * gdb.base/execl-update-breakpoints.c (some_function): New
2788 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2789 Tighten expected GDB output.
2791 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2793 * Makefile.in (ALL_SUBDIRS): Remove.
2794 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2795 (distclean maintainer-clean realclean): Likewise.
2796 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2797 * configure: Regenerate.
2798 * gdb.ada/Makefile.in: Delete.
2799 * gdb.arch/Makefile.in: Likewise.
2800 * gdb.asm/Makefile.in: Likewise.
2801 * gdb.base/Makefile.in: Likewise.
2802 * gdb.btrace/Makefile.in: Likewise.
2803 * gdb.cell/Makefile.in: Likewise.
2804 * gdb.compile/Makefile.in: Likewise.
2805 * gdb.cp/Makefile.in: Likewise.
2806 * gdb.disasm/Makefile.in: Likewise.
2807 * gdb.dlang/Makefile.in: Likewise.
2808 * gdb.dwarf2/Makefile.in: Likewise.
2809 * gdb.fortran/Makefile.in: Likewise.
2810 * gdb.gdb/Makefile.in: Likewise.
2811 * gdb.go/Makefile.in: Likewise.
2812 * gdb.guile/Makefile.in: Likewise.
2813 * gdb.java/Makefile.in: Likewise.
2814 * gdb.linespec/Makefile.in: Likewise.
2815 * gdb.mi/Makefile.in: Likewise.
2816 * gdb.modula2/Makefile.in: Likewise.
2817 * gdb.multi/Makefile.in: Likewise.
2818 * gdb.objc/Makefile.in: Likewise.
2819 * gdb.opencl/Makefile.in: Likewise.
2820 * gdb.opt/Makefile.in: Likewise.
2821 * gdb.pascal/Makefile.in: Likewise.
2822 * gdb.perf/Makefile.in: Likewise.
2823 * gdb.python/Makefile.in: Likewise.
2824 * gdb.reverse/Makefile.in: Likewise.
2825 * gdb.server/Makefile.in: Likewise.
2826 * gdb.stabs/Makefile.in: Likewise.
2827 * gdb.threads/Makefile.in: Likewise.
2828 * gdb.trace/Makefile.in: Likewise.
2829 * gdb.xml/Makefile.in: Likewise.
2830 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2832 (standard_output_file): Remove check for GDB_PARALLEL, always
2833 return path in outputs/$subdir/$testname.
2835 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2837 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2838 (site.exp): Assign abs_srcdir to tcl's srcdir.
2840 2016-02-04 Yao Qi <yao.qi@linaro.org>
2842 * gdb.base/foll-exec-mode.c: Include limits.h.
2843 (main): Add parameters argc and argv. Get directory from
2845 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2847 * gdb.base/foll-exec.c: Include limits.h.
2848 (main): Add parameters argc and argv.
2849 Get directory from argv[0].
2850 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2851 Adjust tests on the number of lines as source code changed.
2852 * gdb.base/foll-vfork-exit.c: Include limits.h.
2853 (main): Add one line of statement before vfork.
2854 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2855 (main): Add parameters argc and argv. Get directory from
2857 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2858 (setup_gdb): Set tbreak to skip some source lines.
2859 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2860 (main): Add parameters argc and argv. Get directory from
2862 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2864 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2865 (main): Add parameters argc and argv. Get directory from
2867 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2870 2016-02-01 Doug Evans <dje@google.com>
2872 * gdb.base/skip.exp: Clean up multiple references to same test name.
2874 2016-02-01 Pedro Alves <palves@redhat.com>
2877 * gdb.threads/forking-threads-plus-breakpoint.exp
2878 (displaced_stepping_supported): New global.
2879 (probe_displaced_stepping_support): New procedure.
2880 (do_test): Add 'displaced' parameter, and use it.
2881 (top level): Check for displaced stepping support. Add displaced
2882 stepping on/off testing axis.
2884 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2886 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2887 pointer. Don't perform further tests on the unassociated pointer
2888 if the first test fails.
2890 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2892 * gdb.base/max-value-size.c: New file.
2893 * gdb.base/max-value-size.exp: New file.
2894 * gdb.base/huge.exp: Disable max-value-size for this test.
2896 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2898 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2900 2016-01-28 Yao Qi <yao.qi@linaro.org>
2902 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2904 2016-01-25 Pedro Alves <palves@redhat.com>
2907 * gdb.base/fork-running-state.c: New file.
2908 * gdb.base/fork-running-state.exp: New file.
2910 2016-01-25 Pedro Alves <palves@redhat.com>
2913 * gdb.base/catch-fork-kill.c: New file.
2914 * gdb.base/catch-fork-kill.exp: New file.
2916 2016-01-25 Pedro Alves <palves@redhat.com>
2918 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2919 Delete, moved to lib/gdb.exp.
2920 * gdb.threads/forking-threads-plus-breakpoint.exp
2921 (foreach_with_prefix): Likewise.
2922 * gdb.threads/process-dies-while-handling-bp.exp
2923 (foreach_with_prefix): Likewise.
2924 * lib/gdb.exp (foreach_with_prefix): New procedure.
2926 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2928 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2929 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2931 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2933 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2936 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2937 Pedro Alves <palves@redhat.com>
2939 Fix testsuite compatibility with Guile.
2940 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2943 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2945 Fix testsuite compatibility with Guile.
2946 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2947 (thread 1): New test for backtrace through signal handler.
2949 2016-01-22 Yao Qi <yao.qi@linaro.org>
2952 * gdb.base/multi-forks.c: Include
2953 ../lib/unbuffer_output.c
2954 (main): Call gdb_unbuffer_output.
2956 2016-01-21 Doug Evans <dje@google.com>
2958 * lib/ada.exp (gdb_compile_ada): Fix typo.
2960 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2962 * gdb.base/break-fun-addr.exp: New file.
2963 * gdb.base/break-fun-addr1.c: New file.
2964 * gdb.base/break-fun-addr2.c: New file.
2966 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2968 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2969 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2972 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2974 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2975 when GDB can not set the vector return value. Add more comments
2978 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2980 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2983 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2985 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2987 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2989 * Makefile.in (check-single): Pass --status to runtest.
2990 (check/%.exp): Likewise.
2992 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2994 * Makefile.in (check-parallel): Propagate return code from make
2997 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2999 * gdb.trace/ftrace.exp: Fix expected message on continue.
3000 * gdb.trace/pending.exp: Fix expected message on continue.
3001 * gdb.trace/trace-break.exp: Fix expected message on continue.
3003 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3005 * lib/gdb.exp (gdb_test): Remove unused global references.
3007 2016-01-18 Pedro Alves <palves@redhat.com>
3009 * gdb.base/async-shell.exp: Adjust expected output.
3010 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3011 * gdb.base/siginfo-thread.exp: Adjust expected output.
3012 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3013 * gdb.java/jnpe.exp: Adjust expected output.
3014 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3015 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3016 * gdb.threads/leader-exit.exp: Adjust expected output.
3017 * gdb.threads/manythreads.exp: Adjust expected output.
3018 * gdb.threads/pthreads.exp: Adjust expected output.
3019 * gdb.threads/schedlock.exp: Adjust expected output.
3020 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3021 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3023 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3025 * gdb.threads/sigthread.exp: Adjust expected output.
3026 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3028 2016-01-18 Yao Qi <yao.qi@linaro.org>
3030 * gdb.guile/scm-section-script.c: Replace @progbits with
3032 * gdb.python/py-section-script.c: Likewise.
3034 2016-01-15 Pedro Alves <palves@redhat.com>
3036 * gdb.multi/tids.exp: Test star wildcard ranges.
3038 2016-01-15 Pedro Alves <palves@redhat.com>
3040 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3041 command from "thread apply" invocation.
3042 (thr_apply_info_thr_invalid): Default the expected output to the
3044 (top level): Add tests that use convenience variables. Add tests
3045 for "thread apply" with a valid TID list, but missing the command.
3047 2016-01-13 Pedro Alves <palves@redhat.com>
3049 * gdb.base/default.exp: Expect $_gthread as well.
3050 * gdb.multi/tids.exp: Test $_gthread.
3051 * gdb.threads/thread-specific.exp: Test $_gthread.
3053 2016-01-13 Pedro Alves <palves@redhat.com>
3055 * gdb.multi/tids.exp: Test "info threads -gid".
3057 2016-01-13 Pedro Alves <palves@redhat.com>
3059 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3061 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3063 2016-01-07 Pedro Alves <palves@redhat.com>
3065 * gdb.base/break.exp: Adjust to output changes.
3066 * gdb.base/hbreak2.exp: Likewise.
3067 * gdb.base/sepdebug.exp: Likewise.
3068 * gdb.base/watch_thread_num.exp: Likewise.
3069 * gdb.linespec/keywords.exp: Likewise.
3070 * gdb.multi/info-threads.exp: Likewise.
3071 * gdb.threads/thread-find.exp: Likewise.
3072 * gdb.multi/tids.c: New file.
3073 * gdb.multi/tids.exp: New file.
3075 2016-01-13 Pedro Alves <palves@redhat.com>
3077 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3079 2016-01-13 Pedro Alves <palves@redhat.com>
3081 * gdb.base/default.exp: Expect $_inferior as well.
3082 * gdb.multi/base.exp: Test $_inferior.
3084 2016-01-13 Pedro Alves <palves@redhat.com>
3086 PR breakpoints/19388
3087 * gdb.base/catch-signal-siginfo-cond.c: New file.
3088 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3090 2016-01-12 Josh Stone <jistone@redhat.com>
3091 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3093 * gdb.base/catch-syscall.c (do_execve): New variable.
3094 (main): Conditionally trigger an execve.
3095 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3096 (test_catch_syscall_execve): New, check entry/return across execve.
3097 (do_syscall_tests): Call test_catch_syscall_execve.
3099 2016-01-12 Pedro Alves <palves@redhat.com>
3101 * gdb.base/random-signal.exp (do_test): New procedure, with body
3102 of testcase moved in.
3104 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3105 Pedro Alves <palves@redhat.com>
3107 * gdb.base/funcargs.exp (finish from indirectly called function):
3108 Reintroduce the case for 'First'.
3110 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3111 Pedro Alves <palves@redhat.com>
3113 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3114 (tcatch_vfork_then_child_follow_exec)
3115 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3118 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3120 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3121 and repeats to unlimited.
3122 * gdb.python/py-value.exp: Likewise.
3123 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3124 and repeats to unlimited.
3126 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3128 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3129 and reordering the functions.
3130 * gdb.multi/hangout.c: Likewise.
3131 * gdb.multi/hello.c: Likewise.
3133 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3135 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3137 (SingleStatisticTestResult.report): Use dict.keys instead of
3140 2016-01-06 Pedro Alves <palves@redhat.com>
3142 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3144 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3146 * gdb.btrace/dlopen.exp: New.
3147 * gdb.btrace/dlopen.c: New.
3148 * gdb.btrace/dlopen-dso.c: New.
3150 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3152 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3153 PATTERN argument is optional.
3155 2015-12-24 Joel Brobecker <brobecker@adacore.com>
3157 * lib/ada.exp (target_compile_ada_from_dir): New function.
3158 (gdb_compile_ada): Reimplement avoiding the use of project files.
3159 * gdb.ada/gnat_ada.gpr: Delete.
3160 * gdb.ada/cond_lang.exp: Adjust test to make path before
3162 * gdb.ada/small_reg_param.exp: Likewise.
3164 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3166 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3168 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3170 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3173 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3175 * gdb.base/break.exp: Remove dead code.
3176 * gdb.base/sepdebug.exp: Likewise.
3178 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3180 * gdb.asm/asm-source.exp: Remove HP-UX references.
3181 * gdb.base/annota1.exp: Likewise.
3182 * gdb.base/annota3.exp: Likewise.
3183 * gdb.base/attach.exp: Likewise.
3184 * gdb.base/bigcore.exp: Likewise.
3185 * gdb.base/break.exp: Likewise.
3186 * gdb.base/call-ar-st.exp: Likewise.
3187 * gdb.base/callfuncs.exp: Likewise.
3188 * gdb.base/catch-fork-static.exp: Likewise.
3189 * gdb.base/display.exp: Likewise.
3190 * gdb.base/foll-exec-mode.exp: Likewise.
3191 * gdb.base/foll-exec.exp: Likewise.
3192 * gdb.base/foll-fork.exp: Likewise.
3193 * gdb.base/foll-vfork.exp: Likewise.
3194 * gdb.base/funcargs.exp: Likewise.
3195 * gdb.base/hbreak2.exp: Likewise.
3196 * gdb.base/inferior-died.exp: Likewise.
3197 * gdb.base/interrupt.exp: Likewise.
3198 * gdb.base/multi-forks.exp: Likewise.
3199 * gdb.base/nodebug.exp: Likewise.
3200 * gdb.base/sepdebug.exp: Likewise.
3201 * gdb.base/solib1.c: Likewise.
3202 * gdb.base/step-test.exp: Likewise.
3203 * gdb.mi/non-stop.c: Likewise.
3204 * gdb.mi/pthreads.c: Likewise.
3205 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3206 * gdb.threads/pthreads.c: Likewise.
3207 * gdb.threads/staticthreads.exp: Likewise.
3208 * lib/future.exp: Likewise.
3209 * lib/gdb.exp: Likewise.
3210 * gdb.base/so-indr-cl.c: Remove.
3211 * gdb.base/so-indr-cl.exp: Likewise.
3212 * gdb.base/solib.c: Likewise.
3213 * gdb.base/solib.exp: Likewise.
3214 * gdb.base/solib2.c: Likewise.
3216 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3218 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3219 * gdb.base/call-ar-st.exp: Likewise.
3220 * gdb.base/callfuncs.exp: Likewise.
3221 * gdb.base/condbreak.exp: Likewise.
3222 * gdb.base/constvars.exp: Likewise.
3223 * gdb.base/hbreak2.exp: Likewise.
3224 * gdb.base/langs.exp: Likewise.
3225 * gdb.base/list.exp: Likewise.
3226 * gdb.base/long_long.exp: Likewise.
3227 * gdb.base/ptype.exp: Likewise.
3228 * gdb.base/scope.exp: Likewise.
3229 * gdb.base/signals.exp: Likewise.
3230 * gdb.base/so-impl-ld.exp: Likewise.
3231 * gdb.base/varargs.exp: Likewise.
3232 * gdb.base/volatile.exp: Likewise.
3233 * gdb.base/whatis.exp: Likewise.
3234 * gdb.cp/cplusfuncs.exp: Likewise.
3235 * gdb.cp/inherit.exp: Likewise.
3236 * gdb.cp/local.exp: Likewise.
3237 * gdb.cp/member-ptr.exp: Likewise.
3238 * gdb.cp/method.exp: Likewise.
3239 * gdb.cp/overload.exp: Likewise.
3240 * gdb.cp/templates.exp: Likewise.
3241 * gdb.stabs/weird.exp: Likewise.
3242 * lib/compiler.c: Likewise.
3243 * lib/compiler.cc: Likewise.
3244 * lib/cp-support.exp: Likewise.
3245 * lib/gdb.exp: Likewise.
3247 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3249 * configure.ac: Remove HP-UX case.
3250 * configure: Regenerate.
3252 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3254 * lib/gdb.exp (gdb_compile): Add function doc.
3256 2015-12-17 Pedro Alves <palves@redhat.com>
3259 * gdb.multi/info-threads.exp: New file.
3261 2015-12-15 Yao Qi <yao.qi@linaro.org>
3263 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3266 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3268 * gdb.base/history-duplicates.exp: Skip if no readline support.
3270 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3272 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3274 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3276 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3278 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3280 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3281 ctrl-C if nointerrupts target property is set.
3282 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3283 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3284 * gdb.base/paginate-bg-execution.exp: Likewise.
3285 * gdb.base/paginate-execution-startup.exp: Likewise.
3286 * gdb.base/random-signal.exp: Likewise.
3287 * gdb.base/range-stepping.exp: Likewise.
3288 * gdb.cp/annota2.exp: Likewise.
3289 * gdb.cp/annota3.exp: Likewise.
3290 * gdb.gdb/selftest.exp: Likewise.
3291 * gdb.threads/continue-pending-status.exp: Likewise.
3292 * gdb.threads/leader-exit.exp: Likewise.
3293 * gdb.threads/manythreads.exp: Likewise.
3294 * gdb.threads/pthreads.exp: Likewise.
3295 * gdb.threads/schedlock.exp: Likewise.
3296 * gdb.threads/sigthread.exp: Likewise.
3298 2015-12-11 Don Breazeal <donb@codesourcery.com>
3300 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3302 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3303 * gdb.base/foll-exec.exp (main): Enable for target remote.
3304 * gdb.base/foll-fork.exp (main): Likewise.
3305 * gdb.base/foll-vfork.exp (main): Likewise.
3306 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3307 (proc continue_to_exit_bp_loc): Use clean_restart.
3308 * gdb.base/pie-execl.exp (main): Disable for target remote.
3309 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3310 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3311 * gdb.threads/execl.exp (main): Likewise.
3312 * gdb.threads/fork-child-threads.exp (main): Likewise.
3313 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3315 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3317 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3318 pid.tid style ptids, instead of just tid.
3319 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3320 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3321 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3322 ptids, instead of just tid.
3324 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3326 * gdb.base/list.exp (test_list_forward): Add end of file error
3328 (test_repeat_list_command): Add end of file error test.
3329 (test_list_backwards): Add beginning of file error test.
3331 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3333 * gdb.base/list.exp (test_list_invalid_args): New function,
3334 defined, and called.
3336 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3338 * gdb.base/list.exp (test_list): Make test names unique.
3340 2015-12-11 Yao Qi <yao.qi@linaro.org>
3342 * gdb.base/coremaker2.c: Remove.
3344 2015-12-10 Pedro Alves <palves@redhat.com>
3346 * gdb.multi/base.exp: Remove stale "spaces" references.
3348 2015-12-10 Pedro Alves <palves@redhat.com>
3350 * gdb.multi/base.exp: Don't use nowarnings.
3351 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3352 * gdb.multi/hangout.c: Include stdio.h.
3353 * gdb.multi/hello.c: Include stdlib.h.
3354 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3355 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3356 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3358 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3360 * gdb.dwarf2/dw2-ranges-base.c: New file.
3361 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3362 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3363 support additional line table, and debug ranges generation.
3364 (Dwarf::ranges): New function, generate .debug_ranges.
3365 (Dwarf::lines): Support generating simple line table programs.
3366 (Dwarf::assemble): Initialise new namespace variables.
3368 2015-12-09 Kevin Buettner <kevinb@redhat.com>
3370 * gdb.base/async.exp (proc test_background): Add case for
3371 asynchronous execution not supported.
3373 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
3375 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3376 format and change test names to make them unique.
3378 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3379 Pedro Alves <pedro@redhat.com>
3382 Add checking of floatformats setup on x86_64 hosts.
3383 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3384 (smallval, bigval): New labels/constants.
3385 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3386 float" after loading bigval and smallval.
3388 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3390 * gdb.ada/fun_overload_menu.exp: New testcase.
3391 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3393 2015-12-04 Josh Stone <jistone@redhat.com>
3395 * gdb.base/catch-fork-static.exp: New.
3397 2015-12-03 Yao Qi <yao.qi@linaro.org>
3399 * gdb.base/sizeof.c: Don't include stdio.h and
3400 ../lib/unbuffer_output.c.
3401 (main): New variable 'size' and 'value'. Remove printf and
3402 gdb_unbuffer_output. Assign return value to size and value.
3403 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3405 (check_sizeof): Check the result by printing variable 'size'.
3406 (check_valueof): Check the result by printing variable 'value'.
3408 2015-12-01 Yao Qi <yao.qi@linaro.org>
3410 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3411 for aarch64*-*-linux* target.
3413 2015-11-30 Pedro Alves <palves@redhat.com>
3415 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3417 2015-11-30 Pedro Alves <palves@redhat.com>
3419 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3420 Handle non-stop mode vCont replies.
3422 2015-11-30 Pedro Alves <palves@redhat.com>
3424 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3425 prepare_for_testing. Start gdb with "set non-stop on" appended to
3426 GDBFLAGS. Lax expected stop output.
3428 2015-11-27 Yao Qi <yao.qi@linaro.org>
3430 * gdb.arch/arm-neon.exp: New.
3431 * gdb.arch/arm-neon.c: New.
3433 2015-11-27 Yao Qi <yao.qi@linaro.org>
3435 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3437 2015-11-27 Yao Qi <yao.qi@linaro.org>
3439 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3440 frames-invalid annotation.
3442 2015-11-27 Yao Qi <yao.qi@linaro.org>
3444 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3446 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3448 * gdb.threads/names.exp: New file.
3449 * gdb.threads/names.c: New file.
3450 * README: Mention gdb,no_thread_names.
3452 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3455 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3458 2015-11-24 Pedro Alves <palves@redhat.com>
3461 * gdb.base/display.exp: Expect displays to be sorted in ascending
3462 order. Use multi_line.
3463 * gdb.base/solib-display.exp: Likewise.
3465 2015-11-24 Pedro Alves <palves@redhat.com>
3468 * gdb.base/display.exp: Expect displays to be sorted in ascending
3469 order. Use multi_line.
3470 * gdb.base/solib-display.exp: Likewise.
3472 2015-11-24 Pedro Alves <palves@redhat.com>
3475 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3476 threads in ascending order.
3477 * gdb.base/foll-fork.exp: Likewise.
3478 * gdb.base/foll-vfork.exp: Likewise.
3479 * gdb.base/multi-forks.exp: Likewise.
3480 * gdb.mi/mi-nonstop.exp: Likewise.
3481 * gdb.mi/mi-nsintrall.exp: Likewise.
3482 * gdb.multi/base.exp: Likewise.
3483 * gdb.multi/multi-arch.exp: Likewise.
3484 * gdb.python/py-inferior.exp: Likewise.
3485 * gdb.threads/break-while-running.exp: Likewise.
3486 * gdb.threads/execl.exp: Likewise.
3487 * gdb.threads/gcore-thread.exp: Likewise.
3488 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3489 * gdb.threads/kill.exp: Likewise.
3490 * gdb.threads/linux-dp.exp: Likewise.
3491 * gdb.threads/multiple-step-overs.exp: Likewise.
3492 * gdb.threads/next-bp-other-thread.exp: Likewise.
3493 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3494 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3495 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3496 * gdb.threads/thread-find.exp: Likewise.
3497 * gdb.threads/tls.exp: Likewise.
3498 * lib/mi-support.exp (mi_reverse_list): Delete.
3499 (mi_check_thread_states): No longer reverse list.
3501 2015-11-24 Pedro Alves <palves@redhat.com>
3503 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3506 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3508 * gdb.trace/actions.c: Include trace-common.h.
3509 (main): Add a location for a fast tracepoint.
3510 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3511 the normal tracepoints.
3512 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3514 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3516 * save-trace.exp: Factor out code to these...
3517 (gdb_save_tracepoints): New.
3518 (gdb_load_tracepoints): New.
3519 (do_save_load_test): New.
3521 2015-11-23 Kevin Buettner <kevinb@redhat.com>
3523 * gdb.base/asmlabel.exp: New test.
3524 * gdb.base/asmlabel.c: New test case.
3526 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3528 * gdb.base/wrong_frame_bt_full-main.c: New file.
3529 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3530 * gdb.base/wrong_frame_bt_full.exp: New file.
3532 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3534 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3536 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3538 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
3539 pstate register when comparing registers values in
3540 sparc64-*-linux-gnu targets to avoid spurious differences.
3542 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3544 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
3546 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3548 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3549 as type argument to gdb_compile.
3550 * gdb.base/nested-subp2.exp: Likewise.
3551 * gdb.base/nested-subp3.exp: Likewise.
3553 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3555 * lib/dwarf.exp (_note): Fix left shift of negative value.
3556 * gdb.trace/trace-condition.exp: Likewise.
3558 2015-11-13 Yao Qi <yao.qi@linaro.org>
3560 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3561 comments about d10v.
3562 (test_scalar_returns): Likewise.
3563 * gdb.base/d10v.ld: Remove.
3564 * gdb.base/overlays.exp: Remove the target triplet checking for
3566 * gdb.base/structs.exp (test_struct_returns): Remove the
3567 comments about d10v.
3568 (test_struct_calls): Likewise.
3570 2015-11-13 Yao Qi <yao.qi@linaro.org>
3572 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3573 * gdb.base/gnu_vector.c: Don't include stdio.h.
3574 (main): Don't print res and call add_some_intvecs.
3576 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3578 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3581 (func4): Use FAST_TRACEPOINT_LABEL.
3582 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3585 (thread_function): Use FAST_TRACEPOINT_LABEL.
3586 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3588 (marker): Use FAST_TRACEPOINT_LABEL.
3589 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3590 (pendfunc1): Remove.
3591 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3592 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3594 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3595 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3598 (marker): Use FAST_TRACEPOINT_LABEL.
3599 * gdb.trace/trace-common.h: New header.
3600 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3603 (marker): Use FAST_TRACEPOINT_LABEL.
3604 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3606 (thread_function): Use FAST_TRACEPOINT_LABEL.
3608 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3610 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3612 * gdb.trace/change-loc.exp: Use global pcreg definition.
3613 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3614 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3616 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3617 * gdb.trace/pending.exp: Likewise.
3618 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3619 * gdb.trace/trace-break.exp: Likewise.
3620 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3622 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3623 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3625 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3627 2015-11-09 Joel Brobecker <brobecker@adacore.com>
3629 * gdb.ada/fin_fun_out: New testcase.
3631 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3633 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3634 value associated with DW_AT_byte_size.
3635 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3636 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3639 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3641 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3642 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3644 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3645 gdb.dwarf2/dw2-canonicalize-type.exp,
3646 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3647 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3648 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3649 provided by gdb_target_symbol_prefix_flags_asm.
3650 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3651 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3652 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3653 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3654 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3655 macros where needed). Use this macro for symbols which require
3656 the prefix provided by SYMBOL_PREFIX.
3658 2015-11-05 Kevin Buettner <kevinb@redhat.com>
3660 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3662 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3663 representing expressions, of more than one list element.
3664 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3665 to prepend linker symbol prefix to f.
3666 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3667 table_1 and table_2.
3668 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3669 Likewise, for f and g.
3670 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3672 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3674 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3675 table_1_ptr and table_2_ptr.
3677 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3678 Joel Brobecker <brobecker@adacore.com>
3680 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3682 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3684 * gdb.reverse/s390-mvcle.c: New test.
3685 * gdb.reverse/s390-mvcle.exp: New file.
3686 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3688 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3690 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3692 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3694 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3696 * gdb.reverse/getresuid-reverse.exp: Likewise.
3697 * gdb.reverse/pipe-reverse.exp: Likewise.
3698 * gdb.reverse/readv-reverse.exp: Likewise.
3699 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3700 * gdb.reverse/time-reverse.exp: Likewise.
3701 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3703 2015-10-30 Yao Qi <yao.qi@linaro.org>
3705 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3706 (empty_cycle): Remove.
3707 (main): Don't call empty_cycle. Don't use watch_count_done.
3708 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3709 empty_cycle. Rewrite the code counting HW watchpoints.
3711 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3713 * gdb.reverse/fstatat-reverse.c: New test.
3714 * gdb.reverse/fstatat-reverse.exp: New file.
3715 * gdb.reverse/getresuid-reverse.c: New test.
3716 * gdb.reverse/getresuid-reverse.exp: New file.
3717 * gdb.reverse/pipe-reverse.c: New test.
3718 * gdb.reverse/pipe-reverse.exp: New file.
3719 * gdb.reverse/readv-reverse.c: New test.
3720 * gdb.reverse/readv-reverse.exp: New file.
3721 * gdb.reverse/recvmsg-reverse.c: New test.
3722 * gdb.reverse/recvmsg-reverse.exp: New file.
3723 * gdb.reverse/time-reverse.c: New test.
3724 * gdb.reverse/time-reverse.exp: New file.
3725 * gdb.reverse/waitpid-reverse.c: New test.
3726 * gdb.reverse/waitpid-reverse.exp: New file.
3728 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3730 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3732 2015-10-26 Doug Evans <dje@google.com>
3735 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3736 * gdb.dwarf2/bad-regnum.c: New file.
3737 * gdb.dwarf2/bad-regnum.exp: New file.
3739 2015-10-26 Doug Evans <dje@google.com>
3742 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3745 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3747 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3748 for a change by "Mention language in compile error message".
3750 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3753 * gdb.python/py-type.c (C::a_method): New.
3754 (C::a_const_method): New.
3755 (C::a_static_method): New.
3757 * gdb.python/py-type.exp (test_fields): Test getting fields
3758 from function and method.
3760 2015-10-21 Keven Boell <keven.boell@intel.com>
3762 * gdb.fortran/vla-alloc-assoc.exp: New file.
3763 * gdb.fortran/vla-datatypes.exp: New file.
3764 * gdb.fortran/vla-datatypes.f90: New file.
3765 * gdb.fortran/vla-history.exp: New file.
3766 * gdb.fortran/vla-ptype-sub.exp: New file.
3767 * gdb.fortran/vla-ptype.exp: New file.
3768 * gdb.fortran/vla-sizeof.exp: New file.
3769 * gdb.fortran/vla-sub.f90: New file.
3770 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3771 * gdb.fortran/vla-value-sub-finish.exp: New file.
3772 * gdb.fortran/vla-value-sub.exp: New file.
3773 * gdb.fortran/vla-value.exp: New file.
3774 * gdb.fortran/vla-ptr-info.exp: New file.
3775 * gdb.mi/mi-vla-fortran.exp: New file.
3776 * gdb.mi/vla.f90: New file.
3778 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3780 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3781 of hardwired timeout value.
3783 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3784 Pedro Alves <palves@redhat.com>
3786 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3787 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3789 2015-10-19 Josh Stone <jistone@redhat.com>
3791 * gdb.base/catch-syscall.c: Include <sched.h>.
3792 (unknown_syscall): New variable.
3793 (main): Trigger a vfork and an unknown syscall.
3794 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3795 (unknown_syscall_number): Likewise.
3796 (check_call_to_syscall): Accept an optional syscall pattern.
3797 (check_return_from_syscall): Likewise.
3798 (check_continue): Likewise.
3799 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3800 (test_catch_syscall_skipping_return): New test toggling off 'catch
3801 syscall' to step over the syscall return, then toggling back on.
3802 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3803 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3804 (do_syscall_tests): Call test_catch_syscall_without_args and
3805 test_catch_syscall_mid_vfork.
3806 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3807 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3809 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
3811 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3812 print g_vE): Add new pass patterns.
3813 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3814 print various symbol names for vptr fields.
3816 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3818 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3821 2015-10-12 Yao Qi <yao.qi@linaro.org>
3823 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3825 2015-10-12 Yao Qi <yao.qi@linaro.org>
3827 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3828 is aarch64*-*-linux*.
3830 2015-10-12 Yao Qi <yao.qi@linaro.org>
3832 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3833 (can_relocate_bcond_true): ... it.
3834 (can_relocate_bcond_false): New function.
3836 (can_relocate_bl): Likewise.
3837 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3840 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3842 * gdb.base/nested-addr.c: New file.
3843 * gdb.base/nested-addr.exp: New testcase.
3845 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3847 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3848 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3849 its output. Ignore the output of "record goto begin" and instead
3850 check that GDB is replaying.
3852 2015-10-09 Pedro Alves <palves@redhat.com>
3854 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3855 (top level): Use it in the run with no args test.
3857 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3859 * gdb.dlang/properties.exp: New file.
3861 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3863 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3864 whether or not address 0x1000 is mapped on the target.
3866 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3868 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3871 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3873 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3874 instruction-history test.
3876 2015-09-28 Doug Evans <dje@google.com>
3878 * gdb.base/gcore.c (array_func): Add reference to static_array.
3880 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3882 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3885 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3887 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3888 short or char as base type.
3890 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3892 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3893 to allow any size enum.
3895 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3897 * gdb.ada/array_ptr_renaming.exp: New testcase.
3898 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3899 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3901 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3903 * gdb.trace/ftrace-lock.c: New file.
3904 * gdb.trace/ftrace-lock.exp: New file.
3906 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3908 * gdb.arch/insn-reloc.c: New file.
3909 * gdb.arch/ftrace-insn-reloc.exp: New file.
3911 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3913 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3915 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3916 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3917 * gdb.trace/range-stepping.c: Likewise.
3918 * gdb.trace/trace-break.c: Likewise.
3919 * gdb.trace/trace-mt.c (thread_function): Likewise.
3920 * gdb.trace/ftrace.c (marker): Likewise.
3921 * gdb.trace/trace-condition.c (marker): Likewise.
3922 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3923 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3926 2015-09-18 Doug Evans <xdje42@gmail.com>
3928 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3929 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3931 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3933 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3936 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3938 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3939 the pending breakpoint. Remove timeout override for "Run till
3940 MI pending breakpoint on pendfunc3 on thread 2" test.
3942 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3944 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3947 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3949 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3950 in breakpoint filename pattern.
3952 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3954 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3956 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3958 * gdb.linespec/explicit.exp: Check for readline support for
3959 tab-completion tests. Fix obvious typo.
3961 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3963 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3966 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3968 * gdb.btrace/non-stop.c: New.
3969 * gdb.btrace/non-stop.exp: New.
3971 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3972 Yao Qi <yao.qi@linaro.org>
3974 * gdb.trace/trace-condition.c: New file.
3975 * gdb.trace/trace-condition.exp: New file.
3977 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3979 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3980 for testing bytecode compilation.
3982 2015-09-16 Pedro Alves <palves@redhat.com>
3983 Sandra Loosemore <sandra@codesourcery.com>
3985 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3986 (SECONDS): Redefine.
3987 (main): Call pthread_kill and alarm early.
3988 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3990 (test): If the target can't hardware step and doesn't support
3991 displaced stepping, increase the timeout.
3993 2015-09-16 Pedro Alves <palves@redhat.com>
3995 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3996 (enable_debug): New procedures.
3997 (test): Use them. Bail out if waiting for threads fails.
3998 (top level): Bail out if a test fails.
4000 2015-09-16 Yao Qi <yao.qi@linaro.org>
4002 * gdb.asm/asm-source.exp: Set asm-arch for
4003 aarch64*-*-* target.
4004 * gdb.asm/aarch64.inc: New file.
4006 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4008 * gdb.ada/array_of_variable_length.exp: New testcase.
4009 * gdb.ada/array_of_variable_length/foo.adb: New file.
4010 * gdb.ada/array_of_variable_length/pck.adb: New file.
4011 * gdb.ada/array_of_variable_length/pck.ads: New file.
4013 2015-09-15 Doug Evans <dje@google.com>
4015 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4016 of function static local variable.
4018 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4020 * gdb.threads/tls-so_extern.exp: New test file.
4021 * gdb.threads/tls-so_extern.c: New test file.
4022 * gdb.threads/tls-so_extern_main.c: New test file.
4024 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4026 * gdb.opt/solib-intra-step-lib.c: New file.
4027 * gdb.opt/solib-intra-step-main.c: New file.
4028 * gdb.opt/solib-intra-step.exp: New file.
4030 2015-09-15 Pedro Alves <palves@redhat.com>
4032 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4033 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4035 2015-09-14 Pedro Alves <palves@redhat.com>
4037 * gdb.base/hook-stop-continue.c: Delete.
4038 * gdb.base/hook-stop-continue.exp: Delete.
4039 * gdb.base/hook-stop-frame.c: Delete.
4040 * gdb.base/hook-stop-frame.exp: Delete.
4041 * gdb.base/hook-stop.c: New file.
4042 * gdb.base/hook-stop.exp: New file.
4044 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4046 * gdb.ada/access_to_packed_array.exp: New testcase.
4047 * gdb.ada/access_to_packed_array/foo.adb: New file.
4048 * gdb.ada/access_to_packed_array/pack.adb: New file.
4049 * gdb.ada/access_to_packed_array/pack.ads: New file.
4051 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4053 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4056 2015-09-11 Don Breazeal <donb@codesourcery.com>
4058 * gdb.base/foll-exec.c: Add copyright header. Fix
4060 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4061 (do_exec_tests): Use clean_restart in place of zap_session,
4062 and for test initialization. Fix formatting issues. Use
4063 fail in place of perror.
4064 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4065 an expect statement to match an expression with output from
4066 the program under debug.
4067 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4068 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4069 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4070 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4071 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4073 2015-09-09 Doug Evans <dje@google.com>
4075 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4077 2015-09-09 Doug Evans <dje@google.com>
4079 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4081 2015-09-09 Doug Evans <dje@google.com>
4083 * gdb.base/savedregs.exp: Fix typo.
4085 2015-09-09 Pedro Alves <palves@redhat.com>
4087 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4089 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4091 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4092 command actually switches threads. Give up on remaining
4093 tests if target fails to stop at breakpoint.
4095 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4097 * gdb.ada/funcall_char.exp: New testcase.
4098 * gdb.ada/funcall_char/foo.adb: New file.
4100 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4102 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4103 expected outputs. Add two testcases for completing ambiguous
4105 * gdb.ada/complete/aux_pck.adb: New file.
4106 * gdb.ada/complete/aux_pck.ads: New file.
4107 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4108 Ambiguous_Func functions.
4109 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4110 * gdb.ada/complete/pck.adb: Likewise.
4112 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4114 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4115 failures to run the test program under GDB.
4117 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4119 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4122 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4124 * gdb.base/run-after-attach.exp: New test file.
4125 * gdb.base/run-after-attach.c: New test file.
4127 2015-08-26 Don Breazeal <donb@codesourcery.com>
4129 * gdb.base/foll-exec-2.c: New test program.
4130 * gdb.base/foll-exec-2.exp: New test.
4132 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4134 * gdb.base/nested-subp1.exp: New file.
4135 * gdb.base/nested-subp1.c: New file.
4136 * gdb.base/nested-subp2.exp: New file.
4137 * gdb.base/nested-subp2.c: New file.
4138 * gdb.base/nested-subp3.exp: New file.
4139 * gdb.base/nested-subp3.c: New file.
4141 2015-08-24 Pedro Alves <palves@redhat.com>
4143 * gdb.server/connect-without-multi-process.c: New file.
4144 * gdb.server/connect-without-multi-process.exp: New file.
4146 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4148 * gdb.opt/inline-markers.c: Make z int.
4150 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4152 * gdb.opt/inline-markers.c: Make z volatile.
4154 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4156 * gdb.opt/inline-bt.c: New volatile global z.
4157 * gdb.opt/inline-cmds.c: Likewise.
4158 * gdb.opt/inline-locals.c: Likewise.
4159 * gdb.opt/inline-markers.c: New extern global z.
4161 (inline_fn): Likewise.
4163 2015-08-24 Pedro Alves <palves@redhat.com>
4165 * config/m32r-stub.exp: Remove file.
4166 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4167 * gdb.base/call-rt-st.exp: Likewise.
4168 * gdb.base/call-strs.exp: Likewise.
4169 * gdb.base/default.exp: Remove references to h8300-*-hms and
4171 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4173 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4175 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4176 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4177 and "return" use KFAIL when GDB can not read/write the vector
4180 2015-08-21 Gary Benson <gbenson@redhat.com>
4182 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4184 2015-08-20 Pedro Alves <palves@redhat.com>
4186 * gdb.server/solib-list.exp: No longer expect an interior stop in
4189 2015-08-20 Pedro Alves <palves@redhat.com>
4191 * gdb.server/connect-stopped-target.c: New file.
4192 * gdb.server/connect-stopped-target.exp: New file.
4194 2015-08-20 Pedro Alves <palves@redhat.com>
4196 * gdb.dwarf2/comp-unit-lang.exp: New file.
4197 * gdb.dwarf2/comp-unit-lang.c: New file.
4199 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4201 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4202 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4204 2015-08-19 Kevin Buettner <kevinb@redhat.com>
4206 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4207 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4209 2015-08-18 Doug Evans <dje@google.com>
4210 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4212 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4213 skip_python_tests. New arg prompt_regexp.
4214 (skip_python_tests): New function.
4215 * lib/mi-support.exp (mi_skip_python_tests): New function.
4216 * gdb.python/py-mi-objfile-gdb.py: New file.
4217 * gdb.python/py-mi-objfile.c: New file.
4218 * gdb.python/py-mi-objfile.exp: New file.
4220 2015-08-17 Keith Seitz <keiths@redhat.com>
4222 * gdb.linespec/explicit.exp: Move strace test from here ...
4223 * gdb.trace/strace.exp: ... to here.
4225 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4227 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4228 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4230 2015-08-14 Doug Evans <xdje42@gmail.com>
4232 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4233 inferior before selecting a new file.
4235 2015-08-14 Doug Evans <xdje42@gmail.com>
4237 * gdb.mi/mi-disassemble.exp: Update.
4238 * gdb.base/disasm-optim.S: New file.
4239 * gdb.base/disasm-optim.c: New file.
4240 * gdb.base/disasm-optim.h: New file.
4241 * gdb.base/disasm-optim.exp: New file.
4243 2015-08-14 Keith Seitz <keiths@redhat.com>
4245 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4248 2015-08-13 Joel Brobecker <brobecker@adacore.com>
4250 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4252 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4254 * gdb.ada/fun_renaming.exp: New testcase.
4255 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4256 * gdb.ada/fun_renaming/pack.adb: New file.
4257 * gdb.ada/fun_renaming/pack.ads: New file.
4259 2015-08-12 Keith Seitz <keiths@redhat.com>
4261 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4262 gdb_get_line_number.
4264 2015-08-12 Joel Brobecker <brobecker@adacore.com>
4266 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4267 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4268 gdb.base/dso2dso.exp: New files.
4270 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4271 Pedro Alves <palves@redhat.com>
4272 Keith Seitz <keiths@redhat.com>
4274 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4277 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4279 * gdb.base/gdbhistsize-history.exp
4280 (test_histsize_history_setting): Use save_vars.
4281 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4283 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4284 * gdb.base/readline.exp: Use save_vars.
4286 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4288 * lib/gdb.exp (save_vars): New proc.
4290 2015-08-11 Keith Seitz <keiths@redhat.com>
4292 * gdb.base/help.exp: Update help_breakpoint_text.
4294 2015-08-11 Keith Seitz <keiths@redhat.com>
4296 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4297 (at toplevel): Call test_explicit_breakpoints.
4298 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4300 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4301 breakpoint conditions, "-cond".
4303 2015-08-11 Keith Seitz <keiths@redhat.com>
4305 * gdb.linespec/3explicit.c: New file.
4306 * gdb.linespec/cpexplicit.cc: New file.
4307 * gdb.linespec/cpexplicit.exp: New file.
4308 * gdb.linespec/explicit.c: New file.
4309 * gdb.linespec/explicit.exp: New file.
4310 * gdb.linespec/explicit2.c: New file.
4311 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4312 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4313 before using in the matching pattern.
4314 Clarify that `prefix' is a regular expression.
4316 2015-08-11 Keith Seitz <keiths@redhat.com>
4318 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4320 Add tests for missing ",FMT" and ",".
4322 2015-08-10 Doug Evans <dje@google.com>
4323 Keith Seitz <keiths@redhat.com>
4326 * gdb.base/completion.exp: Add location completer tests.
4328 2015-08-07 Pedro Alves <palves@redhat.com>
4330 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4332 (top level): Run do_test with and without displaced stepping.
4334 2015-08-07 Pedro Alves <palves@redhat.com>
4336 * gdb.base/valgrind-disp-step.c: New file.
4337 * gdb.base/valgrind-disp-step.exp: New file.
4339 2015-08-07 Pedro Alves <palves@redhat.com>
4341 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4343 (main): Add alarm. Run an infinite loop instead of calling
4345 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4347 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4349 (main): Add alarm. Run an infinite loop instead of calling
4351 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4354 2015-08-07 Pedro Alves <palves@redhat.com>
4356 * gdb.base/checkpoint-ns.exp: New file.
4357 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4360 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4362 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4363 * gdb.btrace/instruction_history.exp: Update.
4364 * gdb.btrace/tsx.exp: New.
4365 * gdb.btrace/tsx.c: New.
4367 2015-08-06 Pedro Alves <palves@redhat.com>
4369 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4371 * gdb.reverse/until-precsave.exp: Bump timeouts.
4373 2015-08-06 Pedro Alves <palves@redhat.com>
4375 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4377 2015-08-06 Pedro Alves <palves@redhat.com>
4380 * gdb.threads/process-dies-while-handling-bp.c: New file.
4381 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4383 2015-08-06 Pedro Alves <palves@redhat.com>
4385 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4386 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4388 2015-08-05 Pedro Alves <palves@redhat.com>
4390 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4391 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4393 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4395 * gdb.base/bp-permanent.exp: Report test as unsupported if
4396 the target cannot stop at the permanent breakpoint.
4398 2015-08-03 Doug Evans <dje@google.com>
4400 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4403 2015-08-03 Doug Evans <dje@google.com>
4405 * Makefile.in (workers/%.worker, build-perf): New rule.
4406 (GDB_PERFTEST_MODE): New variable.
4407 (check-perf): Use it.
4408 (clean): Clean up gdb.perf parallel build subdirs.
4409 * lib/build-piece.exp: New file.
4410 * lib/gdb.exp (make_gdb_parallel_path): New function
4411 (standard_output_file, standard_temp_file): Call it.
4412 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4414 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4416 2015-08-03 Doug Evans <dje@google.com>
4418 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4419 (LOG_FILE_NAME): New global.
4420 (TextReporter.__init__): Initialize self.txt_sum.
4421 (TextReporter.report): Add support for multiple data-points.
4422 Move report to perftest.sum, put raw data in perftest.log.
4423 (TextReporter.start): Open sum and log files.
4424 (TextReporter.end): Close sum and log files.
4425 * gdb.perf/lib/perftest/testresult.py
4426 (SingleStatisticTestResult.record): Handle multiple data-points.
4428 2015-07-31 Pedro Alves <palves@redhat.com>
4430 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4431 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4432 kill_wait_spawned_process instead of explicit "kill -9".
4433 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4434 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4435 kill_wait_spawned_process.
4436 * gdb.base/attach-twice.exp: Likewise.
4437 * gdb.base/attach.exp: Likewise.
4438 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4440 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4441 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4442 kill_wait_spawned_process.
4443 * gdb.base/valgrind-infcall.exp: Likewise.
4444 * gdb.multi/multi-attach.exp: Likewise.
4445 * gdb.python/py-prompt.exp: Likewise.
4446 * gdb.python/py-sync-interp.exp: Likewise.
4447 * gdb.server/ext-attach.exp: Likewise.
4448 * gdb.threads/attach-into-signal.exp (corefunc): Use
4449 spawn_wait_for_attach, spawn_id_get_pid and
4450 kill_wait_spawned_process.
4451 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4452 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4453 spawn_id_get_pid and kill_wait_spawned_process.
4454 * gdb.threads/attach-stopped.exp (corefunc): Use
4455 spawn_wait_for_attach, spawn_id_get_pid and
4456 kill_wait_spawned_process.
4457 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4458 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4459 kill_wait_spawned_process instead of explicit "kill -9".
4460 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4461 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4462 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4463 processes. Don't map cygwin/windows pids here. Now returns a
4466 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4468 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4469 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4472 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4474 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4476 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4479 2014-05-21 Mark Wielaard <mjw@redhat.com>
4481 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4483 2015-07-30 Pedro Alves <palves@redhat.com>
4485 * linux-low.c (handle_extended_wait): Set the child's last
4486 reported status to TARGET_WAITKIND_STOPPED.
4488 2015-07-30 Pedro Alves <palves@redhat.com>
4491 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4492 only shows inferior 1.
4494 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4495 Pedro Alves <palves@redhat.com>
4498 * gdb.threads/fork-plus-threads.c: New file.
4499 * gdb.threads/fork-plus-threads.exp: New file.
4501 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4503 * gdb.base/batch-preserve-term-settings.exp
4504 (test_terminal_settings_preserved_after_cli_exit): Use
4507 2015-07-29 Pedro Alves <palves@redhat.com>
4508 Don Breazeal <donb@codesourcery.com>
4510 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4511 output from both inferior_spawn_id and gdb_spawn_id.
4513 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4515 * gdb.threads/attach-into-signal.exp (corefunc): Use
4516 with_test_prefix on nested loops, uniquefying the test messages.
4518 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4520 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4523 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4525 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4527 (test_terminal_settings_preserved_after_sigterm): New test.
4529 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4531 * gdb.base/batch-preserve-term-settings.exp
4532 (test_terminal_settings_preserved_after_cli_exit): New test.
4534 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4536 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4537 manipulation of saved_gdbflags.
4538 (test_terminal_settings_preserved): Remove global declaration of
4539 the unused variable pagination_prompt. Remove manipulation of
4540 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4543 2015-07-29 Pedro Alves <palves@redhat.com>
4545 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4547 2015-07-29 Pedro Alves <palves@redhat.com>
4549 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4552 2015-07-29 Pedro Alves <palves@redhat.com>
4554 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4555 (main): Call gdb_unbuffer_output.
4556 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4557 (main): Call gdb_unbuffer_output.
4558 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4559 (main): Call gdb_unbuffer_output.
4560 * gdb.base/call-strs.exp: Adjust to step over the
4561 gdb_unbuffer_output call.
4562 * gdb.base/catch-gdb-caused-signals.c: Include
4563 "../lib/unbuffer_output.c".
4564 (main): Call gdb_unbuffer_output.
4565 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4566 (main): Call gdb_unbuffer_output.
4567 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4568 (main): Call gdb_unbuffer_output.
4569 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4570 (main): Call gdb_unbuffer_output.
4571 * gdb.base/shlib-call.exp: Adjust to step over the
4572 gdb_unbuffer_output call.
4573 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4574 (main): Call gdb_unbuffer_output.
4575 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4576 (main): Call gdb_unbuffer_output.
4577 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4578 (main): Rename to ...
4580 (main): Reimplement.
4581 * gdb.base/varargs.exp: Run to test instead of to main.
4582 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4583 (main): Call gdb_unbuffer_output.
4585 2015-07-29 Pedro Alves <palves@redhat.com>
4587 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4588 factore out from mi_continue_dprintf. For call-style dprintfs,
4589 expect dprintf output out of $inferior_spawn_id.
4590 (mi_continue_dprintf): Use mi_expect_dprintf.
4591 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4592 (main): Call gdb_unbuffer_output.
4594 2015-07-29 Pedro Alves <palves@redhat.com>
4596 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4597 (default_mi_gdb_start): Set inferior_spawn_id instead of
4598 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4600 (mi_gdb_test): Always expect inferior output from both
4601 $inferior_spawn_id and $gdb_spawn_id.
4603 2015-07-29 Pedro Alves <palves@redhat.com>
4605 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4606 send_inferior and $inferior_spawn_id.
4608 2015-07-29 Pedro Alves <palves@redhat.com>
4610 * gdb.gdb/complaints.exp (test_initial_complaints)
4611 (test_serial_complaints, test_short_complaints): Use
4613 (test_empty_complaint): Handle $inferior_spawn_id !=
4616 2015-07-29 Pedro Alves <palves@redhat.com>
4618 * gdb.base/varargs.exp: Use gdb_test_stdio.
4620 2015-07-29 Pedro Alves <palves@redhat.com>
4622 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4624 2015-07-29 Pedro Alves <palves@redhat.com>
4626 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4628 2015-07-29 Pedro Alves <palves@redhat.com>
4630 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4631 parameter into two new parameters, "inf_result" and "gdb_result".
4632 Expect inferior output and gdb output from $inferior_spawn_id and
4633 $gdb_spawn_id, respectively. Adjust all callers.
4635 2015-07-29 Pedro Alves <palves@redhat.com>
4637 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4638 of gdb_test_sequence.
4640 2015-07-29 Pedro Alves <palves@redhat.com>
4642 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4643 (saw_spurious_output): Expect inferior output from
4644 $inferior_spawn_id. Use gdb_test_stdio.
4646 2015-07-29 Pedro Alves <palves@redhat.com>
4648 * gdb.base/dprintf.exp: Use standard_testfile. Change
4649 prepare_for_testing call.
4650 (srcfile): Don't set.
4651 (restart): New procedure.
4652 (test_dprintf): New procecure, use to continue over dprintfs.
4653 (test_call, test_agent): New procedures, tests moved here.
4654 Restart gdb and recreate dprintfs. Adjust expected output.
4656 2015-07-29 Pedro Alves <palves@redhat.com>
4658 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4660 2015-07-29 Pedro Alves <palves@redhat.com>
4662 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4664 2015-07-29 Pedro Alves <palves@redhat.com>
4666 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4669 2015-07-29 Pedro Alves <palves@redhat.com>
4671 * lib/gdb.exp (gdb_test_stdio): New procedure.
4673 2015-07-29 Pedro Alves <palves@redhat.com>
4675 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4677 2015-07-29 Pedro Alves <palves@redhat.com>
4679 * gdb.base/call-signal-resume.exp: Remove check for
4680 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4681 * gdb.base/unwindonsignal.exp: Likewise.
4682 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4683 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4685 2015-07-29 Pedro Alves <palves@redhat.com>
4687 * gdb.base/siginfo-addr.c (pass): New function.
4688 (handler): Call it iff si_addr is correct.
4689 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4690 Set a breakpoint at "pass" and continue to it.
4692 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4694 * gdb.python/py-objfile.exp: Make some tests have unique names.
4695 * gdb.python/py-pp-registration.exp: Likewise.
4697 2015-07-28 Pedro Alves <palves@redhat.com>
4699 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4701 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4703 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4705 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4707 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4709 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4711 * gdb.base/gdb-sigterm-2.exp: New test.
4713 2015-07-25 Doug Evans <xdje42@gmail.com>
4716 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4717 (workers/%.worker, build-perf): New rule.
4718 (GDB_PERFTEST_MODE): New variable.
4719 (check-perf): Use it.
4720 (clean): Clean up gdb.perf parallel build subdirs.
4721 * lib/build-piece.exp: New file.
4722 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4723 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4725 (standard_temp_file): Ditto.
4726 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4729 2015-07-24 Doug Evans <dje@google.com>
4731 * gdb.perf/lib/perftest/utils.py: New file.
4732 * gdb.perf/gm-hello.cc: New file.
4733 * gdb.perf/gm-pervasive-typedef.cc: New file.
4734 * gdb.perf/gm-pervasive-typedef.h: New file.
4735 * gdb.perf/gm-std.cc: New file.
4736 * gdb.perf/gm-std.h: New file.
4737 * gdb.perf/gm-use-cerr.cc: New file.
4738 * gdb.perf/gm-utils.h: New file.
4739 * gdb.perf/gmonster-null-lookup.py: New file.
4740 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4741 * gdb.perf/gmonster-print-cerr.py: New file.
4742 * gdb.perf/gmonster-ptype-string.py: New file.
4743 * gdb.perf/gmonster-runto-main.py: New file.
4744 * gdb.perf/gmonster-select-file.py: New file.
4745 * gdb.perf/gmonster1-null-lookup.exp: New file.
4746 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4747 * gdb.perf/gmonster1-print-cerr.exp: New file.
4748 * gdb.perf/gmonster1-ptype-string.exp: New file.
4749 * gdb.perf/gmonster1-runto-main.exp: New file.
4750 * gdb.perf/gmonster1-select-file.exp: New file.
4751 * gdb.perf/gmonster1.cc: New file.
4752 * gdb.perf/gmonster1.exp: New file.
4753 * gdb.perf/gmonster2-null-lookup.exp: New file.
4754 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4755 * gdb.perf/gmonster2-print-cerr.exp: New file.
4756 * gdb.perf/gmonster2-ptype-string.exp: New file.
4757 * gdb.perf/gmonster2-runto-main.exp: New file.
4758 * gdb.perf/gmonster2-select-file.exp: New file.
4759 * gdb.perf/gmonster2.cc: New file.
4760 * gdb.perf/gmonster2.exp: New file.
4762 2015-07-24 Doug Evans <dje@google.com>
4764 * gdb.perf/README: New file.
4765 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4766 * lib/gen-perf-test.exp: New file.
4768 2015-07-24 Doug Evans <dje@google.com>
4770 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4771 (PerfTest::startup): New function.
4772 (PerfTest::run): Return result of calling body.
4773 (PerfTest::assemble): Rewrite.
4774 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4775 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4776 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4777 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4778 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4780 2015-07-24 Doug Evans <dje@google.com>
4782 * lib/gdb.exp (clean_restart): Make executable optional.
4784 2015-07-24 Doug Evans <dje@google.com>
4786 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4787 compiler_info references.
4788 * gdb.cp/temargs.exp: Ditto.
4789 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4790 (get_compiler_info): Early exit if already computed. Set compiler_info
4791 to "unknown" if there was a problem.
4792 (test_compiler_info): Add function comment. Call get_compiler_info.
4794 2015-07-24 Doug Evans <dje@google.com>
4796 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4797 (workers/%.worker, build-perf): New rule.
4798 (GDB_PERFTEST_MODE): New variable.
4799 (check-perf): Use it.
4800 (clean): Clean up gdb.perf parallel build subdirs.
4801 * lib/build-piece.exp: New file.
4802 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4803 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4805 (standard_temp_file): Ditto.
4806 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4809 2015-07-24 Doug Evans <dje@google.com>
4811 * lib/future.exp (gdb_default_target_compile): New option
4813 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4816 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4818 * gdb.base/catch-syscall.exp: Call gdb_exit before
4821 2015-07-24 Pedro Alves <palves@redhat.com>
4823 * gdb.python/py-events.exp: Accept output between the stop event
4825 * gdb.python/py-evsignal.exp: Likewise.
4826 * gdb.python/py-evthreads.exp: Likewise.
4828 2015-07-24 Pedro Alves <palves@redhat.com>
4831 * gdb.threads/non-ldr-exit.c: New file.
4832 * gdb.threads/non-ldr-exit.exp: New file.
4834 2015-07-24 Yao Qi <yao.qi@linaro.org>
4836 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4839 2015-07-24 Yao Qi <yao.qi@linaro.org>
4841 * gdb.server/ext-restart.exp: New file.
4843 2015-07-24 Yao Qi <yao.qi@linaro.org>
4845 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4847 * gdb.server/ext-wrapper.exp: New file.
4849 2015-07-23 Doug Evans <dje@google.com>
4851 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4852 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4854 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4856 * gdb.ada/var_arr_typedef.exp: New testcase.
4857 * gdb.ada/var_arr_typedef/pack.adb: New file.
4858 * gdb.ada/var_arr_typedef/pack.ads: New file.
4859 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4861 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4863 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4865 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4867 * gdb.arch/i386-biarch-core.exp: Replace istarget
4868 by "complete set gnutarget". Remove expectation for the "core-file"
4871 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4873 Revert the previous commit:
4874 Tests for validate symbol file using build-id.
4876 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4878 Tests for validate symbol file using build-id.
4879 * gdb.base/solib-mismatch-lib.c: New file.
4880 * gdb.base/solib-mismatch-libmod.c: New file.
4881 * gdb.base/solib-mismatch.c: New file.
4882 * gdb.base/solib-mismatch.exp: New file.
4884 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4886 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4888 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4889 * gdb.base/siginfo.exp: Likewise.
4890 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4892 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4894 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4896 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4898 * gdb.trace/range-stepping.exp: Check that the target supports
4901 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4903 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4905 2015-07-14 Pedro Alves <palves@redhat.com>
4907 * gdb.base/killed-outside.exp: New file.
4908 * gdb.base/killed-outside.c: New file.
4910 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4912 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4914 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4916 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4918 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4919 infcall tests instead of setting up for KFAIL.
4921 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4923 * gdb.btrace/record_goto-step.exp: New.
4925 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4928 * gdb.compile/compile.c (struct struct_type): Add volatile to
4930 * gdb.compile/compile.exp
4931 (compile code struct_object.selffield = &struct_object): Skip further
4932 struct_object tests if this one xfails.
4934 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4937 * gdb.trace/ax.exp: Add test.
4939 2015-07-07 Yao Qi <yao.qi@linaro.org>
4941 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4942 instead of istarget "aarch64*-*-*".
4943 * gdb.arch/aarch64-fp.exp: Likewise.
4944 * gdb.base/float.exp: Likewise.
4945 * gdb.reverse/aarch64.exp: Likewise.
4946 * lib/gdb.exp (is_aarch64_target): New proc.
4948 2015-07-07 Yao Qi <yao.qi@linaro.org>
4950 * lib/gdb.exp (is_aarch32_target): New proc.
4951 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4952 instead of "istarget "arm*-*-*"".
4953 * gdb.arch/arm-disp-step.exp: Likewise.
4954 * gdb.arch/thumb-bx-pc.exp: Likewise.
4955 * gdb.arch/thumb-prologue.exp: Likewise.
4956 * gdb.arch/thumb-singlestep.exp: Likewise.
4957 * gdb.base/disp-step-syscall.exp: Likewise.
4958 * gdb.base/float.exp: Likewise.
4960 2015-07-07 Yao Qi <yao.qi@linaro.org>
4962 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4963 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4965 2015-07-07 Yao Qi <yao.qi@linaro.org>
4967 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4968 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4970 * gdb.multi/multi-arch.exp: Likewise.
4972 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4974 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4977 2015-07-07 Yao Qi <yao.qi@linaro.org>
4979 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4981 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4983 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4984 '[' and ']' characters.
4986 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4988 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4990 2015-06-29 Pedro Alves <palves@redhat.com>
4993 * gdb.threads/hand-call-new-thread.c: New file.
4994 * gdb.threads/hand-call-new-thread.c: New file.
4996 2015-06-26 Keith Seitz <keiths@redhat.com>
4997 Doug Evans <dje@google.com>
5000 * gdb.cp/var-tag-2.cc: New file.
5001 * gdb.cp/var-tag-3.cc: New file.
5002 * gdb.cp/var-tag-4.cc: New file.
5003 * gdb.cp/var-tag.cc: New file.
5004 * gdb.cp/var-tag.exp: New file.
5006 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5008 * gdb.base/history-duplicates.exp: New test.
5010 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5012 * gdb.base/completion.exp: Test the completion of the "focus"
5015 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5017 * gdb.arch/amd64-prologue-skip.S: New file.
5018 * gdb.arch/amd64-prologue-skip.exp: New file.
5020 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5022 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5023 is_address_zero_readable check.
5025 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5027 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5028 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5030 2015-06-24 Yao Qi <yao.qi@linaro.org>
5032 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5035 2015-06-24 Yao Qi <yao.qi@linaro.org>
5037 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5038 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5039 * gdb.base/siginfo-thread.exp: Likewise.
5041 2015-06-22 Yao Qi <yao.qi@linaro.org>
5043 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5045 2015-06-22 Yao Qi <yao.qi@linaro.org>
5047 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5049 (skip_hw_watchpoint_tests): Likewise.
5051 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5053 * gdb.base/gdbinit-history.exp: Test the interaction between
5054 setting GDBHISTSIZE and setting the history size via .gdbinit.
5056 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5059 * gdb.base/gdbhistsize-history.exp: New test.
5061 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5063 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5065 * gdb.base/readline.exp: Likewise.
5067 2015-06-17 Yao Qi <yao.qi@linaro.org>
5069 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5072 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5074 * gdb.base/gdbinit-history.exp: Add test case to check that
5075 an unlimited history file does not get truncated on exit.
5077 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5079 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5080 (VECTOR): New macro. Use it...
5081 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5082 ...for these typedefs.
5083 (int8, char1, int1, double1): New typedefs.
5084 (struct just_int2, struct two_int2): New structures.
5085 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5086 (add_structvecs, add_singlevecs): New functions.
5087 (main): Call add_some_intvecs twice.
5088 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5089 the compile and exit upon failure. Try compiling for the "native"
5090 architecture. Test inferior function calls with vector arguments
5091 and vector return value handling with "finish" and "return".
5093 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5095 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5096 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5098 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5100 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5102 PR breakpoints/16465
5103 * gdb.mi/mi-dprintf-pending.c: New file.
5104 * gdb.mi/mi-dprintf-pending.exp: New test.
5105 * gdb.mi/mi-dprintf-pendshr.c: New file.
5107 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5108 Mircea Gherzan <mircea.gherzan@intel.com>
5110 * gdb.arch/i386-mpx-map.c: New file.
5111 * gdb.arch/i386-mpx-map.exp: New File.
5113 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5115 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5116 * gdb.arch/i386-mpx.exp: Indentation fixed.
5118 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5120 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5121 function and improved indentation.
5122 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5123 gdb_test_multiple. Added additional tests to skip the test.
5125 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5127 * gdb.arch/i386-avx512.c: Change path in include file.
5128 * gdb.arch/i386-avx512.exp: Change include dir path
5130 * gdb.arch/i386-mpx.c: Change path in include file.
5131 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5134 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5136 * gdb.compile/compile-print.exp (compile print *vararray@3)
5137 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5139 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5141 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5142 (do not keep jit in memory): ... this.
5143 (expect 5): Change it to ...
5144 (expect no 5): ... this.
5146 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5149 * gdb.mi/mi-detach.exp: New file.
5151 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 * gdb.arch/amd64-tailcall-self.S: New file.
5155 * gdb.arch/amd64-tailcall-self.c: New file.
5156 * gdb.arch/amd64-tailcall-self.exp: New file.
5158 2015-05-28 Don Breazeal <donb@codesourcery.com>
5160 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5161 tests for remote targets by checking is_target_gdbserver.
5163 2015-05-27 Doug Evans <dje@google.com>
5165 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5166 * gdb.dwarf2/opaque-type-lookup.c: New file.
5167 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5169 2015-05-26 Doug Evans <dje@google.com>
5171 * gdb.cp/iostream.cc: New file.
5172 * gdb.cp/iostream.exp: New file.
5174 2015-05-26 Doug Evans <dje@google.com>
5176 * gdb.dwarf2/dw2-op-call.exp: Update.
5177 * gdb.dwarf2/dw4-sig-types.exp: Update.
5178 * gdb.dwarf2/implptr.exp: Update.
5179 * gdb.mi/mi-cmd-param-changed.exp: Update.
5181 2015-05-26 Doug Evans <dje@google.com>
5183 * gdb.python/py-lazy-string.c: New file.
5184 * gdb.python/py-lazy-string.exp: New file.
5185 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5186 (main): Update. Add estring3.
5187 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5188 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5190 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5191 Yao Qi <yao.qi@linaro.org>
5193 * gdb.reverse/aarch64.c: New.
5194 * gdb.reverse/aarch64.exp: New.
5196 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5198 * lib/gdb.exp (supports_process_record): Return true for
5200 (supports_reverse): Likewise.
5202 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5204 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5205 Use with_test_prefix.
5207 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5209 * gdb.base/completion.exp: Add test for completion of layout
5212 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5214 * lib/gdb.exp (skip_tui_tests): New proc.
5215 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5217 2015-05-19 Pedro Alves <palves@redhat.com>
5219 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5220 Save the whole env array instead of just HOME. Unset HISTSIZE in
5221 the environment while testing. Restore whole environment
5224 2015-05-16 Doug Evans <xdje42@gmail.com>
5226 * gdb.guile/scm-ports.c: New file.
5227 * gdb.guile/scm-ports.exp: Add memory port tests.
5229 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5231 * gdb.compile/compile-print.c: New file.
5232 * gdb.compile/compile-print.exp: New file.
5234 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5236 * gdb.compile/compile-ops.exp: Cast param to void.
5237 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5238 (compile code struct_object.selffield = &struct_object): Add xfail.
5240 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5242 * gdb.ada/arr_enum_with_gap: New testcase.
5244 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5246 * gdb.ada/byte_packed_arr: New testcase.
5248 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5250 * gdb.ada/pckd_neg: New testcase.
5252 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5255 * gdb.base/gdbinit-history.exp: New test.
5256 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5257 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5259 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5261 * gdb.python/py-xmethods.cc: Enhance test case.
5262 * gdb.python/py-xmethods.exp: New tests.
5263 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5265 (B_indexoper): Likewise.
5266 (global_dm_list) : Add new xmethod worker functions.
5268 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5270 * gdb.base/coredump-filter.exp: Correctly unset
5271 "coredump_var_addr" array.
5273 2015-05-08 Pedro Alves <palves@redhat.com>
5275 * gdb.server/non-existing-program.exp: Unset spawn_id.
5277 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5280 * gdb.python/py-xmethods.exp: Add tests.
5282 2015-05-08 Yao Qi <yao.qi@linaro.org>
5285 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5286 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5287 function set_coredump_filter, and remove remote_exec call.
5288 Remove argument ipid. Callers update.
5289 (top level): Don't get inferior's PID.
5291 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5293 * gdb.base/watch_thread_num.exp: Skip test on targets without
5296 2015-05-06 Pedro Alves <palves@redhat.com>
5299 * gdb.server/non-existing-program.exp: New file.
5301 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5303 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5305 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5307 * gdb.ada/out_of_line_in_inlined: New testcase.
5309 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5311 * gdb.ada/var_rec_arr: New testcase.
5313 2015-04-30 Yao Qi <yao.qi@linaro.org>
5315 * gdb.base/break-idempotent.exp: If
5316 skip_hw_watchpoint_multi_tests returns true, skip the tests
5317 on "rwatch" and "awatch".
5319 2015-04-30 Yao Qi <yao.qi@linaro.org>
5321 * gdb.base/relativedebug.exp: Invoke gdb command
5322 "info sharedlibrary", and if libc.so doesn't have debug info,
5325 2015-04-29 Doug Evans <dje@google.com>
5327 * gdb.python/py-xmethods.exp: Add ptype tests.
5328 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5329 get_result_type method.
5331 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5333 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5334 the target does not support hardware watchpoints.
5336 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5338 * gdb.base/break-always.exp: Abort testing if writing to memory
5341 2015-04-28 Doug Evans <dje@google.com>
5343 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5344 * gdb.python/py-pp-registration.exp: ... here. New file.
5345 * gdb.python/py-pp-registration.c: New file.
5346 * gdb.python/py-pp-registration.py: New file.
5348 2015-04-28 Doug Evans <dje@google.com>
5350 * gdb.python/py-bad-printers.c: New file.
5351 * gdb.python/py-bad-printers.py: New file.
5352 * gdb.python/py-bad-printers.exp: New file.
5354 2015-04-28 Sasha Smundak <asmundak@google.com>
5356 * gdb.python/py-type.exp: New test.
5358 2015-04-28 Andy Wingo <wingo@igalia.com>
5360 * gdb.python/py-parameter.exp:
5361 * gdb.guile/scm-parameter.exp: Escape the path that we are
5362 matching against, as it might contain characters that are special
5363 to regular expressions.
5365 2015-04-27 Joel Brobecker <brobecker@adacore.com>
5367 * gdb.ada/rec_comp: New testcase.
5369 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5371 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5374 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5376 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5377 new tests for verilog output.
5379 2015-04-24 Yao Qi <yao.qi@linaro.org>
5381 * boards/remote-gdbserver-on-localhost.exp: New file.
5383 2015-04-23 Pedro Alves <palves@redhat.com>
5385 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5386 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5387 "end of file", remove $inferior_spawn_id from the indirect list.
5389 2015-04-23 Pedro Alves <palves@redhat.com>
5391 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5393 2015-04-23 Pedro Alves <palves@redhat.com>
5395 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5396 on $any_spawn_id instead of only on $gdb_spawn_id.
5398 2015-04-21 Pierre Muller <muller@sourceware.org>
5401 * lib/pascal.exp (gpc_compile): Add new option "class".
5402 (fpc_compile): Likewise.
5403 * gdb.pascal/case-insensitive-symbols.pas: New file.
5404 * gdb.pascal/case-insensitive-symbols.exp: New file.
5406 2015-04-20 Gary Benson <gbenson@redhat.com>
5408 * gdb.base/attach.exp: Fix three extended remote failures.
5410 2015-04-17 Gary Benson <gbenson@redhat.com>
5412 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5413 the main executable over the remote protocol.
5415 2015-04-16 Pedro Alves <palves@redhat.com>
5417 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5418 a new gdbserver if gdbserver_reconnect_p is set.
5420 2015-04-16 Pedro Alves <palves@redhat.com>
5422 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5423 is set, don't exit gdbserver.
5425 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5427 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5428 appropriate .insn, such that an older assembler can be used.
5429 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5430 the z/Architecture instruction set on 31-bit targets as well.
5432 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5434 * gdb.go/handcall.exp: Remove all logic related to the first
5435 breakpoint and rely on go_runto_main instead.
5436 * gdb.go/strings.exp: Likewise.
5437 * gdb.go/unsafe.exp: Likewise.
5438 * gdb.go/hello.exp: Likewise. Also rename the remaining
5439 breakpoint marker to "breakpoint 1".
5440 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5441 * gdb.go/strings.go: Likewise.
5442 * gdb.go/unsafe.go: Likewise.
5443 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5444 "set breakpoint 2 here" and rename the remaining breakpoint marker
5447 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5449 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5450 if itertools.imap is not present.
5451 * gdb.python/py-objfile.exp: Add parentheses.
5452 * gdb.python/py-type.exp: Same.
5453 * gdb.python/py-unwind-maint.py: Same.
5455 2015-04-15 Yao Qi <yao.qi@linaro.org>
5457 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5458 of ":$ptr_size" and set its form explicitly.
5460 2015-04-15 Pedro Alves <palves@redhat.com>
5461 Yao Qi <yao.qi@linaro.org>
5463 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5464 timeout by factor of 4.
5465 (test_regular_watch): Likewise.
5466 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5467 * gdb.reverse/sigall-reverse.exp: Likewise.
5468 * gdb.reverse/until-precsave.exp: Likewise.
5469 * lib/gdb.exp (with_timeout_factor): New proc.
5470 (gdb_expect): Move some code to ...
5471 (get_largest_timeout): ... here. New procedure.
5473 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
5475 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5477 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5479 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5480 to write to the .text section.
5482 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5484 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5485 Handle the case of targets that do not provide PID information.
5487 2015-04-13 Yao Qi <yao.qi@linaro.org>
5489 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5490 and use expect instead of gdb_expect.
5492 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5494 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5495 "coredump_var_addr" to avoid naming conflict with other testcases.
5497 2015-04-10 Pedro Alves <palves@redhat.com>
5499 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5500 gdb_test_sequence and gdb_assert.
5502 2015-04-10 Pedro Alves <palves@redhat.com>
5504 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5505 test messages that don't include the breakpoint address.
5507 2015-04-10 Yao Qi <yao.qi@linaro.org>
5509 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5510 false for some offset and width combinations which aren't
5511 supported by linux kernel.
5513 2015-04-10 Pedro Alves <palves@redhat.com>
5515 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5516 procedure, factored out from ...
5517 (top level): ... here. Add "set displaced-stepping" testing axis.
5518 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5519 parameter "displaced". Use it.
5520 (top level): Use foreach and add "set displaced-stepping" testing
5523 2015-04-10 Pedro Alves <palves@redhat.com>
5525 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5527 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5528 both the address of the instruction that triggers the watchpoint
5529 and the address of the instruction immediately after, and use
5530 those addresses for the test. Fix comment.
5532 2015-04-10 Pedro Alves <palves@redhat.com>
5534 * gdb.base/sigstep.exp (breakpoint_to_handler)
5535 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5536 Test "backtrace" in handler.
5537 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5538 (top level): Add new "displaced" test axis to
5539 breakpoint_to_handler, breakpoint_to_handler_entry and
5540 breakpoint_over_handler.
5542 2015-04-10 Pedro Alves <palves@redhat.com>
5545 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5547 2015-04-10 Yao Qi <yao.qi@linaro.org>
5549 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5550 (test_add_rn_pc): New function.
5551 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5552 (top level): Invoke test_add_rn_pc.
5554 2015-04-10 Pedro Alves <palves@redhat.com>
5557 * gdb.base/step-over-no-symbols.exp: New file.
5559 2015-04-09 Andy Wingo <wingo@igalia.com>
5561 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5562 after the Python tests.
5564 2015-04-08 Keith Seitz <keiths@redhat.com>
5567 * gdb.python/py-completion.exp: New tests for completion.
5568 * gdb.python/py-completion.py (CompleteLimit1): New class.
5569 (CompleteLimit2): Likewise.
5570 (CompleteLimit3): Likewise.
5571 (CompleteLimit4): Likewise.
5572 (CompleteLimit5): Likewise.
5573 (CompleteLimit6): Likewise.
5574 (CompleteLimit7): Likewise.
5576 2015-04-08 Pedro Alves <palves@redhat.com>
5580 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5582 (main): Install it as SIGUSR1 handler.
5583 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5584 parameter. Always use "setup" as prefix. Toggle "set
5585 displaced-stepping" off/on depending on global. Don't switch to
5587 (top level): Add displaced stepping "off/on" test axis. Update
5588 "setup" calls. Wrap each subtest with with_test_prefix. Test
5589 continuing with a queued signal in each thread.
5591 2015-04-08 Pedro Alves <palves@redhat.com>
5593 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5594 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5595 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5596 Return early if running to main fails.
5597 * gdb.trace/while-stepping.exp: Likewise.
5599 2015-04-07 Pedro Alves <palves@redhat.com>
5601 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5602 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5603 interact with inferior program.
5605 2015-04-07 Pedro Alves <palves@redhat.com>
5607 * lib/gdb.exp (inferior_spawn_id): New global.
5608 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5609 spawn id after processing the user code.
5610 (default_gdb_start): Set inferior_spawn_id.
5611 (send_inferior): New procedure.
5612 * lib/gdbserver-support.exp (gdbserver_start): Set
5614 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5616 2015-04-07 Pedro Alves <palves@redhat.com>
5618 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5619 * lib/gdbserver-support.exp (gdbserver_start): Make
5620 $server_spawn_id global.
5621 (gdbserver_start): Don't wait for gdbserver's spawn id with
5623 (close_gdbserver): New procedure.
5624 (gdb_exit): Rename the default version and reimplement.
5626 2015-04-07 Pedro Alves <palves@redhat.com>
5628 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
5629 append the substituted item, not the original item.
5631 2015-04-07 Pedro Alves <palves@redhat.com>
5633 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5636 2015-04-07 Pedro Alves <palves@redhat.com>
5638 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5639 output appearing once only.
5641 2015-04-07 Pedro Alves <palves@redhat.com>
5643 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5644 that doesn't expect anything. Return early if running to main
5647 2015-04-07 Yao Qi <yao.qi@linaro.org>
5649 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5650 (child_function): Call alarm.
5651 (main): Move call to alarm into the loop.
5652 * gdb.threads/non-stop-fair-events.exp: Build program with
5655 2015-04-06 Doug Evans <xdje42@gmail.com>
5657 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5658 Fix dest parameter to board_info.
5659 (fpc_compile): Ditto.
5660 (gdb_compile_pascal): Rename dest arg to destfile.
5662 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5664 * gdb.ada/funcall_ref.exp: New file.
5665 * gdb.ada/funcall_ref/foo.adb: New file.
5667 2015-04-02 Yao Qi <yao.qi@linaro.org>
5669 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5672 2015-04-02 Gary Benson <gbenson@redhat.com>
5674 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5676 2015-04-01 Sasha Smundak <asmundak@google.com>
5678 * gdb.python/py-unwind-maint.c: New file.
5679 * gdb.python/py-unwind-maint.exp: New test.
5680 * gdb.python/py-unwind-maint.py: New file.
5681 * gdb.python/py-unwind.c: New file.
5682 * gdb.python/py-unwind.exp: New test.
5683 * gdb.python/py-unwind.py: New test.
5685 2015-04-01 Pedro Alves <palves@redhat.com>
5687 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5688 to fail instead of non-existent $test.
5690 2015-04-01 Pedro Alves <palves@redhat.com>
5692 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5693 GDBFLAGS if not empty.
5695 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5697 * gdb.ada/complete.exp: Remove "multi_line".
5698 * gdb.ada/info_exc.exp: Remove "multi_line".
5699 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5700 * gdb.ada/ptype_field.exp: Remove "multi_line".
5701 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5702 * gdb.ada/tagged.exp: Remove "multi_line".
5703 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5705 * gdb.btrace/delta.exp: Likewise.
5706 * gdb.btrace/exception.exp: Likewise.
5707 * gdb.btrace/function_call_history.exp: Likewise.
5708 * gdb.btrace/instruction_history.exp: Likewise.
5709 * gdb.btrace/nohist.exp: Likewise.
5710 * gdb.btrace/record_goto.exp: Likewise.
5711 * gdb.btrace/segv.exp: Likewise.
5712 * gdb.btrace/stepi.exp: Likewise.
5713 * gdb.btrace/tailcall.exp: Likewise.
5714 * gdb.btrace/unknown_functions.exp: Likewise.
5715 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5716 * lib/gdb.exp: Add the "multi_line" helper.
5718 2015-04-01 Pedro Alves <palves@redhat.com>
5720 * gdb.threads/tid-reuse.c: New file.
5721 * gdb.threads/tid-reuse.exp: New file.
5723 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5726 * gdb.base/coredump-filter.c: New file.
5727 * gdb.base/coredump-filter.exp: Likewise.
5729 2015-03-27 Petr Machata <pmachata@redhat.com>
5731 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5732 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5733 (Dwarf::assemble): Initialize them.
5734 (Dwarf::lines): New function.
5736 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5738 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5739 SYMBOL_PREFIX for x86_64-*-cygwin.
5741 2015-03-26 Andy Wingo <wingo@igalia.com>
5744 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5745 const_value but not a location.
5746 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5747 location defined in non-main CUs are visible.
5749 2015-03-26 Yao Qi <yao.qi@linaro.org>
5752 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5753 Add a line number entry for the same line.
5754 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5755 Add a line number entry for the same line.
5757 2015-03-26 Yao Qi <yao.qi@linaro.org>
5759 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5761 (func): Likewise. Add .Lfunc_1 label.
5763 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5768 2015-03-26 Yao Qi <yao.qi@linaro.org>
5770 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5771 Call gdb_compile instead to compile each .s files without debug
5774 2015-03-26 Yao Qi <yao.qi@linaro.org>
5776 * gdb.base/savedregs.exp (process_saved_regs): Make
5777 "Saved registers:" optional in the pattern.
5779 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5781 * gdb.btrace/next.exp: Merged into step.exp.
5782 * gdb.btrace/finish.exp: Merged into step.exp.
5783 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5784 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5785 "record goto" and checking the exact replay position.
5786 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5787 check for "Recording format" in "info record" output.
5788 * gdb.btrace/record_goto.exp: Choose test file based on target.
5789 * gdb.btrace/x86-record_goto.S: Renamed into ...
5790 * gdb.btrace/x86_64-record_goto.S: ... this.
5791 * gdb.btrace/i686-record_goto.S: New.
5792 * gdb.btrace/x86-tailcall.S: Renamed into ...
5793 * gdb.btrace/x86_64-tailcall.S: ... this.
5794 * gdb.btrace/i686-tailcall.S: New.
5795 * gdb.btrace/x86-tailcall.c: Renamed into ...
5796 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5797 separate statements. Update test.
5798 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5799 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5800 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5801 * gdb.btrace/tailcall.exp: Choose test file based on target.
5802 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5804 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5806 * gdb.btrace/exception.exp: Increase BTS buffer size.
5808 2015-03-24 Pedro Alves <palves@redhat.com>
5810 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5812 2015-03-24 Pedro Alves <palves@redhat.com>
5814 * gdb.threads/schedlock.exp (test_step): No longer expect that
5815 "set scheduler-locking step" with "next" over a function call runs
5818 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5820 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5822 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5824 PR breakpoints/16466
5825 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5826 * gdb.mi/mi-pending.c (thread_func): New function.
5827 (int main): Add threading support required.
5828 * gdb.mi/mi-pending.exp: Add tests for this issue.
5829 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5830 (pendfunc2): Remove stdio dependency.
5831 * gdb.mi/mi-pendshr2.c: New file.
5833 2015-03-23 Keith Seitz <keiths@redhat.com>
5835 * gdb.linespec/keywords.c: New file.
5836 * gdb.linespec/keywords.exp: New file.
5838 2015-03-23 Keith Seitz <keiths@redhat.com>
5841 * gdb.dwarf2/staticvirtual.exp: New test.
5843 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5845 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5846 * README: Remove HP-UX and gdb.hp.
5848 * configure: Regenerate.
5849 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5850 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5851 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5852 gdb.hp/gdb.defects/Makefile.
5853 * gdb.hp/Makefile.in: File deleted.
5854 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5855 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5856 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5857 * gdb.hp/gdb.aCC/run.c: File deleted.
5858 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5859 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5860 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5861 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5862 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5863 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5864 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5865 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5866 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5867 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5868 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5869 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5870 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5871 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5872 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5873 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5874 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5875 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5876 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5877 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5878 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5879 * gdb.hp/gdb.compat/average.c: File deleted.
5880 * gdb.hp/gdb.compat/sum.c: File deleted.
5881 * gdb.hp/gdb.compat/xdb.c: File deleted.
5882 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5883 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5884 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5885 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5886 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5887 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5888 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5889 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5890 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5891 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5892 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5893 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5894 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5895 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5896 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5897 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5898 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5899 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5900 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5901 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5902 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5903 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5904 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5905 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5906 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5907 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5908 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5909 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5910 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5911 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5912 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5913 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5914 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5915 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5916 * gdb.hp/tools/odump: File deleted.
5918 2015-03-19 Pedro Alves <palves@redhat.com>
5920 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5921 (saw_thread_3): New globals.
5922 (top level): Increment them when an event for the corresponding
5924 (no thread starvation): New test.
5926 2015-03-19 Pedro Alves <palves@redhat.com>
5928 * gdb.threads/continue-pending-status.c: New file.
5929 * gdb.threads/continue-pending-status.exp: New file.
5931 2015-03-18 Pedro Alves <palves@redhat.com>
5933 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5934 Use gdb_is_target_remote instead of is_remote. Use
5935 gdb_test_multiple instead of gdb_expect. Exit early if
5936 gdb_test_multiple hits its internal matches. Tighten stepi tests
5937 expected output. Fail on exit with any signal, instead of just
5940 2015-03-18 Yao Qi <yao.qi@linaro.org>
5943 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5945 * gdb.base/catch-syscall.exp: Don't skip it on
5946 aarch64*-*-linux* target. Remove elements in all_syscalls.
5947 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5949 (setup_all_syscalls): New proc.
5951 2015-03-16 Yao Qi <yao.qi@linaro.org>
5953 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5954 (top level): Skip tests if valid_addr_p returns false for
5957 2015-03-11 Andy Wingo <wingo@igalia.com>
5959 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5961 2015-03-11 Yao Qi <yao.qi@linaro.org>
5963 * gdb.base/catch-syscall.exp: Fix typo in comments.
5965 2015-03-11 Yao Qi <yao.qi@linaro.org>
5967 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5969 2015-03-09 Pedro Alves <palves@redhat.com>
5971 * dg-extract-results.py: Delete.
5973 2015-03-09 Pedro Alves <palves@redhat.com>
5975 Merge dg-extract-results.sh from GCC upstream (r218843).
5977 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5978 * dg-extract-results.sh: Use --text with grep to avoid issues with
5979 binary files. Fall back to cat -v, if that doesn't work.
5981 2015-03-05 Pedro Alves <palves@redhat.com>
5983 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5985 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5987 * lib/mi-support.exp (mi_expect_interrupt): Accept
5988 alternative event for when in all-stop mode.
5990 2015-03-04 Pedro Alves <palves@redhat.com>
5992 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5994 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5996 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5998 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6000 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6001 regexps for GDB's current line display, accept a hex address
6002 preceding the line number.
6004 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6006 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6007 the 'arch1' variable for "s390*-linux*" targets.
6009 2015-03-04 Pedro Alves <palves@redhat.com>
6011 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6012 (main): Pass missing retval argument to pthread_join call.
6014 2015-03-02 Pedro Alves <palves@redhat.com>
6016 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6017 (top level): Call do_test with non-stop as well.
6019 2015-03-02 Pedro Alves <palves@redhat.com>
6021 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6024 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6026 * gdb.arch/s390-vregs.exp: New test.
6027 * gdb.arch/s390-vregs.S: New file.
6029 2015-02-27 Pedro Alves <palves@redhat.com>
6031 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6032 call to catch_command_errors.
6033 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6034 catch_command_errors.
6036 2015-02-27 Pedro Alves <palves@redhat.com>
6038 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6039 "true" for boolean result.
6040 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6043 2015-02-27 Pedro Alves <palves@redhat.com>
6045 * lib/unbuffer_output.c: New file.
6046 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6047 (main): Call gdb_unbuffer_output.
6049 2015-02-27 Yao Qi <yao.qi@linaro.org>
6051 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6054 2015-02-26 Doug Evans <dje@google.com>
6056 * gdb.cp/class2.cc (Dbase, D): New classes.
6057 (main): New local delta.
6058 * gdb.cp/class2.exp: Test printing delta.
6059 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6060 (dynbar): New global.
6061 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6063 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6065 * gdb.compile/compile-ifunc.c: New file.
6066 * gdb.compile/compile-ifunc.exp: New file.
6068 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6070 * gdb.base/structs.exp: Check for correct struct on finish.
6072 2015-02-26 Yao Qi <yao.qi@linaro.org>
6074 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6077 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6079 * gdb.arch/cordic.ko.bz2: New file.
6080 * gdb.arch/cordic.ko.debug.bz2: New file.
6081 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6083 2015-02-25 Yao Qi <yao.qi@linaro.org>
6085 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6086 aarch64*-*-* target.
6088 2015-02-23 Pedro Alves <palves@redhat.com>
6090 * lib/gdb.exp (delete_breakpoints): Rewrite using
6093 2015-02-23 Pedro Alves <palves@redhat.com>
6095 * gdb.base/info-os.c: Include stdlib.h.
6097 2015-02-22 Doug Evans <xdje42@gmail.com>
6100 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6101 is read after symbols have been re-read.
6102 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6103 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6105 2015-02-21 Doug Evans <dje@google.com>
6107 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6109 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6112 * gdb.arch/i386-biarch-core.core.bz2: New file.
6113 * gdb.arch/i386-biarch-core.exp: New file.
6115 2015-02-21 Pedro Alves <palves@redhat.com>
6117 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6120 2015-02-20 Pedro Alves <palves@redhat.com>
6122 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6125 2015-02-20 Pedro Alves <palves@redhat.com>
6127 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6129 2015-02-20 Pedro Alves <palves@redhat.com>
6131 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6132 clean_restart before gdb_target_supports_trace.
6134 2015-02-20 Pedro Alves <palves@redhat.com>
6137 * gdb.threads/clone-thread_db.c: New file.
6138 * gdb.threads/clone-thread_db.exp: New file.
6140 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6142 PR breakpoints/16812
6143 * gdb.base/catch-gdb-caused-signals.c: New file.
6144 * gdb.base/catch-gdb-caused-signals.exp: New file.
6146 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6148 * configure: Regenerated.
6149 * configure.ac: Use GDB_AC_TRANSFORM.
6150 * aclocal.m4: sinclude ../transform.m4.
6152 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6154 * lib/dtrace.exp: New file.
6155 * gdb.base/dtrace-probe.exp: Likewise.
6156 * gdb.base/dtrace-probe.d: Likewise.
6157 * gdb.base/dtrace-probe.c: Likewise.
6158 * lib/pdtrace.in: Likewise.
6159 * configure.ac: Output variables with the transformed names of
6160 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6161 * configure: Regenerated.
6163 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6165 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6166 expected message when trying to access $_probe_* convenience
6167 variables while not on a probe.
6169 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6171 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6173 2015-02-11 Pedro Alves <pedro@codesourcery.com>
6175 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6176 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6178 2015-02-10 Doug Evans <xdje42@gmail.com>
6180 * lib/gdb.exp (gdb_load): Always return a result.
6182 2015-02-10 Pedro Alves <palves@redhat.com>
6184 * gdb.threads/signal-sigtrap.c: New file.
6185 * gdb.threads/signal-sigtrap.exp: New file.
6187 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6189 * gdb.trace/no-attach-trace.c: New file.
6190 * gdb.trace/no-attach-trace.exp: New file.
6192 2015-02-09 Mark Wielaard <mjw@redhat.com>
6194 * gdb.dwarf2/atomic.c: New file.
6195 * gdb.dwarf2/atomic-type.exp: Likewise.
6197 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6199 * gdb.btrace/buffer-size.exp: Update "info record" output.
6200 * gdb.btrace/delta.exp: Update "info record" output.
6201 * gdb.btrace/enable.exp: Update "info record" output.
6202 * gdb.btrace/finish.exp: Update "info record" output.
6203 * gdb.btrace/instruction_history.exp: Update "info record" output.
6204 * gdb.btrace/next.exp: Update "info record" output.
6205 * gdb.btrace/nexti.exp: Update "info record" output.
6206 * gdb.btrace/step.exp: Update "info record" output.
6207 * gdb.btrace/stepi.exp: Update "info record" output.
6208 * gdb.btrace/nohist.exp: Update "info record" output.
6210 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6212 * gdb.btrace/buffer-size: New.
6214 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6216 * gdb.btrace/delta.exp: Update "info record" output.
6217 * gdb.btrace/enable.exp: Update "info record" output.
6218 * gdb.btrace/finish.exp: Update "info record" output.
6219 * gdb.btrace/instruction_history.exp: Update "info record" output.
6220 * gdb.btrace/next.exp: Update "info record" output.
6221 * gdb.btrace/nexti.exp: Update "info record" output.
6222 * gdb.btrace/step.exp: Update "info record" output.
6223 * gdb.btrace/stepi.exp: Update "info record" output.
6224 * gdb.btrace/nohist.exp: Update "info record" output.
6226 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6229 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6231 2015-02-06 Pedro Alves <palves@redhat.com>
6233 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6235 (seconds_left, again): New globals.
6236 (main): Wait seconds_left in a 1-second sleep loop instead of
6237 sleeping 180 seconds. If 'again' is set, reset the seconds
6239 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6240 'again' in the inferior before detaching. Print the seconds left.
6241 (options): New global.
6242 (top level): Build program with -DTIMEOUT=$timeout.
6244 2015-02-06 Pedro Alves <palves@redhat.com>
6246 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6247 determine how many seconds to pass to 'alarm'.
6248 * gdb.base/gdb-sigterm.exp (top level): Build program with
6250 (do_test): Return success/failure indication. Add more verbose
6251 logging. Don't fail if 200 single steps are seen. Instead, fail
6252 when the test times out.
6253 (passes): New global.
6254 (top level): Break the testing loop if testing fails on any
6255 iteration. Use gdb_assert.
6257 2015-02-04 Don Breazeal <donb@codesourcery.com>
6259 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6260 and initialize them.
6261 (ipc_cleanup): New function.
6262 (main): Don't declare shmid, semid, and msqid. Add a call to
6263 atexit so that we call ipc_cleanup on exit.
6265 2015-02-04 Pedro Alves <palves@redhat.com>
6267 * boards/native-extended-gdbserver.exp: Remove any target variant
6268 specifications from the board name before clearing the isremote
6269 flag from board_info.
6271 2015-01-31 Doug Evans <xdje42@gmail.com>
6273 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6275 2015-01-31 Gary Benson <gbenson@redhat.com>
6277 * gdb.base/completion.exp: Disable completion limiting for
6278 existing tests. Add new tests to check completion limiting.
6279 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6281 2015-01-31 Doug Evans <xdje42@gmail.com>
6283 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6285 2015-01-31 Doug Evans <xdje42@gmail.com>
6287 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6288 entries. Duplicate file section script entries.
6289 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6290 inlined entries. Add test for safe-path rejection.
6291 * gdb.python/py-section-script.c: Add duplicate inlined section script
6292 entries. Duplicate file section script entries.
6293 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6294 inlined entries. Add test for safe-path rejection.
6296 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6298 * gdb.ada/disc_arr_bound: New testcase.
6300 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6302 * gdb.ada/mi_var_array: New testcase.
6304 2015-01-27 Doug Evans <dje@google.com>
6306 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6307 Add test for objfile.filename, objfile.username after objfile
6310 2015-01-26 Joel Brobecker <brobecker@adacore.com>
6312 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6313 the second test to print the name attribute of value
6314 returned by the call to gdb.lookup_type, and adjust
6315 the expected output accordingly.
6317 2015-01-25 Mark Wielaard <mjw@redhat.com>
6319 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6320 * gdb.base/disp-step-fork.c: Include unistd.h.
6321 * gdb.base/siginfo-obj.c: Include stdio.h.
6322 * gdb.base/siginfo-thread.c: Likewise.
6323 * gdb.mi/non-stop.c: Include unistd.h.
6324 * gdb.mi/nsthrexec.c: Include stdio.h.
6325 * gdb.mi/pthreads.c: Include unistd.h.
6326 * gdb.modula2/unbounded1.c (main): Declare returns int.
6327 * gdb.reverse/consecutive-reverse.c: Likewise.
6328 * gdb.threads/create-fail.c: Include unistd.h.
6329 * gdb.threads/killed.c: Likewise.
6330 * gdb.threads/linux-dp.c: Likewise.
6331 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6332 * gdb.threads/non-ldr-exc-2.c: Likewise.
6333 * gdb.threads/non-ldr-exc-3.c: Likewise.
6334 * gdb.threads/non-ldr-exc-4.c: Likewise.
6335 * gdb.threads/pthreads.c: Include unistd.h.
6336 (main): Declare returns int.
6337 * gdb.threads/tls-main.c (foo): New declaration.
6338 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6340 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6342 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6343 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6345 2015-01-15 Mark Wielaard <mjw@redhat.com>
6347 * gdb.base/noreturn-return.c: New file.
6348 * gdb.base/noreturn-return.exp: New file.
6349 * gdb.base/noreturn-finish.c: New file.
6350 * gdb.base/noreturn-finish.exp: New file.
6352 2015-01-23 Pedro Alves <palves@redhat.com>
6354 * gdb.threads/continue-pending-after-query.c: New file.
6355 * gdb.threads/continue-pending-after-query.exp: New file.
6357 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6358 Simon Marchi <simon.marchi@ericsson.com>
6360 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6361 * gdb.base/valgrind-db-attach.exp: Same.
6362 * gdb.base/valgrind-infcall.exp: Same.
6363 * lib/mi-support.exp (default_mi_gdb_start): Same.
6364 * lib/prompt.exp (default_prompt_gdb_start): Same.
6365 * lib/gdb.exp (default_gdb_spawn): Same.
6366 (gdb_interact): New.
6369 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6371 * gdb.compile/compile.exp (pointer to jit function): New test.
6373 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
6375 * lib/gdb.exp (supports_process_record): Return true for
6377 (supports_reverse): Likewise.
6379 2015-01-15 Don Breazeal <donb@codesourcery.com>
6381 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6382 instead of checking whether the target board is remote and
6383 use spawn_wait_for_attach instead of exec/sleep.
6384 * gdb.base/attach-twice.exp: Likewise.
6386 2015-01-15 Joel Brobecker <brobecker@adacore.com>
6388 * gdb.ada/var_arr_attrs: New testcase.
6390 2015-01-14 Pedro Alves <palves@redhat.com>
6391 Joel Brobecker <brobecker@adacore.com>
6394 * gdb.base/bp-cmds-execution-x-script.c: New file.
6395 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6396 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6398 2015-01-14 Pedro Alves <palves@redhat.com>
6401 * gdb.base/batch-preserve-term-settings.c: New file.
6402 * gdb.base/batch-preserve-term-settings.exp: New file.
6404 2015-01-13 Doug Evans <dje@google.com>
6406 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6409 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6411 * Makefile.in (clean mostlyclean): Do not delete *.py.
6413 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6415 * gdb.python/py-lookup-type.exp: New file.
6417 2015-01-12 Pedro Alves <palves@redhat.com>
6419 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6420 restore GDBFLAGS before returning.
6422 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6424 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6425 is_amd64_regs_target and is_x86_like_target.
6427 2015-01-11 Doug Evans <xdje42@gmail.com>
6429 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6430 is given without an explicit form.
6431 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6433 * gdb.dwarf/corrupt.exp: Ditto.
6434 * gdb.dwarf2/enum-type.exp: Ditto.
6435 * gdb.trace/entry-values.exp: Ditto.
6436 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6438 2015-01-11 Doug Evans <xdje42@gmail.com>
6441 * gdb.base/maint.exp: Remove references to "maint demangle".
6442 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6443 Add tests for explicitly specifying language to demangle.
6444 * gdb.dlang/demangle.exp: Ditto.
6446 2015-01-09 Pedro Alves <palves@redhat.com>
6448 * gdb.threads/non-stop-fair-events.c: New file.
6449 * gdb.threads/non-stop-fair-events.exp: New file.
6451 2015-01-09 Pedro Alves <palves@redhat.com>
6453 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6454 the global scope. Set a breakpoint after all threads are started
6455 rather than stepping over two source lines. Expect the prompt.
6456 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6459 (main): Use threads_started_barrier to wait for all threads to
6460 start. Main thread no longer calls thread_function. Exit after
6462 (loop): New function.
6463 (thread_function): Wait on threads_started_barrier barrier. Call
6464 'loop' at each iteration.
6465 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6466 threads have started, instead of hardcoding number of "next"
6467 steps. Use an access watchpoint instead of a write watchpoint.
6469 2015-01-09 Pedro Alves <palves@redhat.com>
6471 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6472 (thread_func): Wait on barrier.
6473 (main): Wait for all threads to start before stopping GDB.
6474 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6476 (thread1_func, thread2_func): Wait on barrier.
6477 (main): Wait for all threads to start before stopping GDB.
6478 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6480 (thread1_func, thread2_func): Wait on barrier.
6481 (main): Wait for all threads to start before stopping GDB.
6483 2015-01-09 Pedro Alves <palves@redhat.com>
6485 * gdb.threads/attach-many-short-lived-threads.c: New file.
6486 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6488 2014-01-09 Pedro Alves <palves@redhat.com>
6490 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6491 instead of to thread 2.
6492 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6493 Add barrier around each pthread_create call instead of around all
6495 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6496 Set a break on thread_function and have the child threads hit it
6499 2015-01-09 Pedro Alves <palves@redhat.com>
6501 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6502 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6504 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6505 checking whether the target board is remote.
6506 * gdb.multi/multi-attach.exp: Likewise.
6507 * gdb.python/py-sync-interp.exp: Likewise.
6508 * gdb.server/ext-attach.exp: Likewise.
6509 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6510 tests that need to attach, instead of checking whether the target
6511 board is remote at the top of the file.
6513 2015-01-08 Yao Qi <yao@codesourcery.com>
6515 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6517 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6519 Fix testcase compilation.
6520 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6522 2015-01-06 Joel Brobecker <brobecker@adacore.com>
6524 * gdb.python/py-type.exp: Add a couple test about empty
6525 array creation, and negative-length array creation.
6527 2015-01-02 Doug Evans <xdje42@gmail.com>
6529 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6531 2015-01-02 Doug Evans <dje@google.com>
6533 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6535 2014-12-29 Yao Qi <yao@codesourcery.com>
6537 * gdb.trace/entry-values.exp: Update comments. Rename variable
6538 bar_call_foo to returned_from_foo.
6540 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6543 * gdb.linespec/break-asm-file.c: New file.
6544 * gdb.linespec/break-asm-file.exp: New file.
6545 * gdb.linespec/break-asm-file0.s: New file.
6546 * gdb.linespec/break-asm-file1.s: New file.
6548 2014-12-18 Nigel Stephens <nigel@mips.com>
6549 Maciej W. Rozycki <macro@codesourcery.com>
6551 * gdb.base/float.exp: Handle the new output from "info float" on
6554 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6556 Fix MinGW compilation.
6557 * gdb.compile/compile-ops.exp: Update untested message if
6558 !skip_compile_feature_tests.
6559 * gdb.compile/compile-setjmp.exp: Likewise.
6560 * gdb.compile/compile-tls.exp: Likewise.
6561 * gdb.compile/compile.exp: Likewise.
6562 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6563 supported on this host".
6565 2014-12-16 Doug Evans <xdje42@gmail.com>
6567 * boards/stabs.exp: New file.
6569 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6571 * gdb.base/completion.exp: Adjust to format changes of "maint
6572 print user-registers".
6574 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
6577 * gdb.arch/aarch64-fp.c: New file.
6578 * gdb.arch/aarch64-fp.exp: New file.
6580 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6582 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6583 r210637, r210913, r211666, r215400, r215817).
6585 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6586 * dg-extract-results.py: New file.
6587 * dg-extract-results.sh: Use it if the environment seems
6590 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6592 * dg-extract-results.py (parse_run): Handle warnings that
6593 are printed before a test harness is run.
6595 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6597 * dg-extract-results.py (Named): Remove __cmp__ method.
6598 (output_variation): Use a key to sort variation.harnesses.
6600 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6602 * dg-extract-results.py: For Python 3, force sys.stdout to
6603 handle surrogate escape sequences.
6604 (safe_open): New function.
6605 (output_segment, main): Use it.
6607 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6609 * dg-extract-results.py (Prog.result_re): Include options
6612 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6614 * dg-extract-results.py (output_variation): Always sort if
6617 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6619 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6620 as long as we get pagination notifications.
6622 2014-12-15 Jason Merrill <jason@redhat.com>
6624 * Makefile.in (check-gdb.%): Restore.
6625 * README: Mention it.
6627 2014-12-13 Joel Brobecker <brobecker@adacore.com>
6629 * gdb.ada/str_uninit: New testcase.
6631 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6634 * gdb.base/vla-stub-define.c: New file.
6635 * gdb.base/vla-stub.c: New file.
6636 * gdb.base/vla-stub.exp: New file.
6638 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6639 Jan Kratochvil <jan.kratochvil@redhat.com>
6640 Tom Tromey <tromey@redhat.com>
6642 * configure.ac: Add gdb.compile/.
6643 * configure: Regenerate.
6644 * gdb.compile/Makefile.in: New file.
6645 * gdb.compile/compile-ops.exp: New file.
6646 * gdb.compile/compile-ops.c: New file.
6647 * gdb.compile/compile-tls.c: New file.
6648 * gdb.compile/compile-tls.exp: New file.
6649 * gdb.compile/compile-constvar.S: New file.
6650 * gdb.compile/compile-constvar.c: New file.
6651 * gdb.compile/compile-mod.c: New file.
6652 * gdb.compile/compile-nodebug.c: New file.
6653 * gdb.compile/compile-setjmp-mod.c: New file.
6654 * gdb.compile/compile-setjmp.c: New file.
6655 * gdb.compile/compile-setjmp.exp: New file.
6656 * gdb.compile/compile-shlib.c: New file.
6657 * gdb.compile/compile.c: New file.
6658 * gdb.compile/compile.exp: New file.
6659 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6661 2014-12-12 Tom Tromey <tromey@redhat.com>
6663 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6664 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6666 2014-12-12 Doug Evans <dje@google.com>
6668 * lib/gdb-python.exp (get_python_valueof): New function.
6669 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6671 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6673 * gdb.base/completion.exp: Add test for completion of "info
6676 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6678 * gdb.base/func-ptrs.c: New file.
6679 * gdb.base/func-ptrs.exp: New file.
6681 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6683 PR breakpoints/17012
6684 * gdb.base/dprintf-detach.c: New file.
6685 * gdb.base/dprintf-detach.exp: New file.
6687 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6689 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6690 * lib/gdb.exp (target_is_gdbserver): New procedure.
6692 2014-12-08 Doug Evans <dje@google.com>
6694 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6696 2014-12-05 Yao Qi <yao@codesourcery.com>
6698 * gdb.guile/scm-error.exp: Remove the third argument to
6699 gdb_remote_download.
6700 * gdb.guile/scm-frame-args.exp: Likewise.
6701 * gdb.guile/scm-section-script.exp: Likewise.
6703 2014-12-05 Yao Qi <yao@codesourcery.com>
6705 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6707 2014-12-04 Doug Evans <dje@google.com>
6709 * gdb.python/py-objfile.exp: Add tests for
6710 objfile.add_separate_debug_file.
6712 2014-12-04 Doug Evans <dje@google.com>
6714 * lib/gdb.exp (get_build_id): New function.
6715 (build_id_debug_filename_get): Rewrite to use it.
6716 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6718 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6720 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6721 `method(long)', not just 0x0.
6722 * gdb.cp/nsalias.exp: Align code labels to 4.
6723 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6724 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6725 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6726 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6727 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6728 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6730 2014-12-02 Doug Evans <dje@google.com>
6733 * gdb.cp/anon-ns.cc: Move guts of this file to ...
6734 * gdb.cp/anon-ns2.cc: ... here. New file.
6735 * gdb.cp/anon-ns.exp: Update.
6737 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
6739 * gdb.python/py-events.py (inferior_call_handler): New.
6740 (register_changed_handler, memory_changed_handler): New.
6741 (test_events.invoke): Register new handlers.
6742 * gdb.python/py-events.exp: Add tests for inferior call,
6743 memory_changed and register_changed events.
6745 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6747 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6748 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6749 if the linker doesn't understand this.
6751 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6753 * gdb.python/python.exp: Change expected reply to help().
6755 2014-12-01 Yao Qi <yao@codesourcery.com>
6757 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6758 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6759 * configure: Re-generated.
6761 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6763 * gdb.cp/chained-calls.cc: New file.
6764 * gdb.cp/chained-calls.exp: New file.
6765 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6767 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6769 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6770 * gdb.dwarf2/symtab-producer.exp: Same.
6771 * gdb.gdb/python-interrupts.exp: Same.
6772 * gdb.gdb/python-selftest.exp: Same.
6773 * gdb.python/py-linetable.exp: Same.
6774 * gdb.python/py-type.exp: Same.
6775 * gdb.python/py-value-cc.exp: Same.
6776 * gdb.python/py-value.exp: Same.
6778 2014-11-28 Yao Qi <yao@codesourcery.com>
6780 * gdb.base/break-probes.exp: Match library name prefixed with
6783 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6785 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6786 test expected output. Add parentheses for the call to print.
6787 Remove L suffix from integers.
6789 2014-11-26 Doug Evans <dje@google.com>
6791 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6793 2014-11-22 Yao Qi <yao@codesourcery.com>
6795 * gdb.trace/entry-values.c: Remove asms.
6796 (foo): Add foo_label.
6797 (bar): Add bar_label.
6798 * gdb.trace/entry-values.exp: Remove code computing foo's
6799 length and bar's length.
6800 (Dwarf::assemble): Invoke function_range for bar and use
6801 MACRO_AT_func for foo.
6803 2014-11-22 Yao Qi <yao@codesourcery.com>
6805 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6806 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6807 Use .Lgcc43_procstart instead of gcc43.
6809 2014-11-21 Joel Brobecker <brobecker@adacore.com>
6811 * gdb.ada/n_arr_bound: New testcase.
6813 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6815 PR breakpoints/10737
6816 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6817 test_catch_syscall_multi_arch.
6818 (test_catch_syscall_multi_arch): New function.
6820 2014-11-20 Doug Evans <xdje42@gmail.com>
6822 * gdb.base/maint.exp: Update expected output.
6824 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6826 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6827 4-byte instruction on S390.
6829 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6831 * gdb.ada/arr_arr: New testcase.
6833 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6835 * gdb.ada/pkd_arr_elem: New Testcase.
6837 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6839 * gdb.reverse/break-precsave: Expect completion message for
6841 * gdb.reverse/consecutive-precsave.exp: Likewise.
6842 * gdb.reverse/finish-precsave.exp: Likewise.
6843 * gdb.reverse/i386-precsave.exp: Likewise.
6844 * gdb.reverse/machinestate-precsave.exp: Likewise.
6845 * gdb.reverse/sigall-precsave.exp: Likewise.
6846 * gdb.reverse/solib-precsave.exp: Likewise.
6847 * gdb.reverse/step-precsave.exp: Likewise.
6848 * gdb.reverse/until-precsave.exp: Likewise.
6849 * gdb.reverse/watch-precsave.exp: Likewise.
6851 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6853 * gdb.base/bp-permanent.c: Include unistd.h.
6854 * gdb.python/py-framefilter-mi.c (main): Add return type.
6855 * gdb.python/py-framefilter.c (main): Likewise.
6856 * gdb.trace/actions-changed.c (main): Likewise.
6858 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6860 * gdb.mi/until.c: Add eye-catchers.
6861 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6864 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6866 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6867 function header variants in break1.c.
6868 * gdb.base/ena-dis-br.exp: Likewise.
6869 * gdb.base/hbreak2.exp: Likewise.
6870 * gdb.reverse/until-precsave.exp: Drop references to removed
6871 non-prototype function header variants in ur1.c.
6872 * gdb.reverse/until-reverse.exp: Likewise.
6874 2014-11-17 Petr Machata <pmachata@redhat.com>
6876 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6877 ${_cu_offset_size} bytes abbrev offset.
6879 2014-11-15 Doug Evans <xdje42@gmail.com>
6882 * gdb.base/line-symtabs.exp: New file.
6883 * gdb.base/line-symtabs.c: New file.
6884 * gdb.base/line-symtabs.h: New file.
6886 2014-11-14 Yao Qi <yao@codesourcery.com>
6888 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6889 (func): Add label func_label.
6890 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6891 Replace low_pc and high_pc with MACRO_AT_range.
6892 Replace name, low_pc and high_pc with MACRO_AT_func.
6894 2014-11-14 Yao Qi <yao@codesourcery.com>
6896 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6897 Replace name, low_pc and high_pc with MACRO_AT_func.
6899 2014-11-14 Yao Qi <yao@codesourcery.com>
6901 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6902 produce debug information.
6903 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6905 2014-11-14 Yao Qi <yao@codesourcery.com>
6907 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6908 object and get function length.
6909 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6911 (top-level): Replace gdb_compile and clean_restart with
6912 prepare_for_testing.
6913 * gdb.dwarf2/main.c (main): Add label main_label.
6915 2014-11-14 Yao Qi <yao@codesourcery.com>
6917 * lib/dwarf.exp (function_range): New procedure.
6918 (Dwarf::_handle_macro_at_func): New procedure.
6919 (Dwarf::_handle_macro_at_range): New procedure.
6920 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6922 2014-11-14 Yao Qi <yao@codesourcery.com>
6924 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6925 (_handle_attribute): New procedure.
6927 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6929 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6930 * gdb.base/call-sc.c (zed): Likewise.
6931 * gdb.base/checkpoint.c (main): Likewise.
6932 * gdb.base/dump.c (main): Likewise.
6933 * gdb.base/gcore.c (main): Likewise.
6934 * gdb.base/huge.c (main): Likewise.
6935 * gdb.base/multi-forks.c (main): Likewise.
6936 * gdb.base/pr10179-a.c (main): Likewise.
6937 * gdb.base/savedregs.c (main): Likewise.
6938 * gdb.base/sigaltstack.c (main): Likewise.
6939 * gdb.base/siginfo.c (main): Likewise.
6940 * gdb.base/structs.c (zed): Likewise.
6941 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6942 * gdb.mi/mi-syn-frame.c (main): Likewise.
6943 * gdb.mi/until.c (foo, main): Likewise.
6944 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6945 * gdb.base/solib-weak.c (foo): Declare.
6946 * gdb.base/attach-twice.c: Include stdio.h.
6947 * gdb.base/weaklib1.c: Likewise.
6948 * gdb.base/weaklib2.c: Likewise.
6949 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6950 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6952 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6953 * gdb.mi/mi-exit-code.c: Likewise.
6954 * gdb.base/break-interp-lib.c: Include string.h.
6955 * gdb.base/coremaker.c: Likewise.
6956 * gdb.base/testenv.c: Likewise.
6957 * gdb.python/py-finish-breakpoint.c: Likewise.
6958 * gdb.base/inferior-died.c: Include sys/wait.h.
6959 * gdb.base/fileio.c: Include time.h.
6960 * gdb.base/async-shell.c: Include unistd.h.
6961 * gdb.base/dprintf-non-stop.c: Likewise.
6962 * gdb.base/info-os.c: Likewise.
6963 * gdb.mi/mi-console.c: Likewise.
6964 * gdb.mi/watch-nonstop.c: Likewise.
6965 * gdb.python/py-events.c: Likewise.
6966 * gdb.base/async.c (baz): Move up before its invocation.
6967 * gdb.base/code_elim2.c (my_global_func): Likewise.
6968 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6969 * gdb.base/advance.c (func2): Likewise.
6971 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6973 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6975 * gdb.base/annota3.c: Likewise.
6976 * gdb.base/async.c: Likewise.
6977 * gdb.base/average.c: Likewise.
6978 * gdb.base/call-ar-st.c: Likewise.
6979 * gdb.base/call-rt-st.c: Likewise.
6980 * gdb.base/call-sc.c: Likewise.
6981 * gdb.base/call-strs.c: Likewise.
6982 * gdb.base/ending-run.c: Likewise.
6983 * gdb.base/execd-prog.c: Likewise.
6984 * gdb.base/exprs.c: Likewise.
6985 * gdb.base/foll-exec.c: Likewise.
6986 * gdb.base/foll-fork.c: Likewise.
6987 * gdb.base/foll-vfork.c: Likewise.
6988 * gdb.base/funcargs.c: Likewise.
6989 * gdb.base/gcore.c: Likewise.
6990 * gdb.base/jump.c: Likewise.
6991 * gdb.base/langs0.c: Likewise.
6992 * gdb.base/langs1.c: Likewise.
6993 * gdb.base/langs2.c: Likewise.
6994 * gdb.base/mips_pro.c: Likewise.
6995 * gdb.base/nodebug.c: Likewise.
6996 * gdb.base/opaque0.c: Likewise.
6997 * gdb.base/opaque1.c: Likewise.
6998 * gdb.base/recurse.c: Likewise.
6999 * gdb.base/run.c: Likewise.
7000 * gdb.base/scope0.c: Likewise.
7001 * gdb.base/scope1.c: Likewise.
7002 * gdb.base/setshow.c: Likewise.
7003 * gdb.base/setvar.c: Likewise.
7004 * gdb.base/shmain.c: Likewise.
7005 * gdb.base/shr1.c: Likewise.
7006 * gdb.base/shr2.c: Likewise.
7007 * gdb.base/sigall.c: Likewise.
7008 * gdb.base/signals.c: Likewise.
7009 * gdb.base/so-indr-cl.c: Likewise.
7010 * gdb.base/solib2.c: Likewise.
7011 * gdb.base/structs.c: Likewise.
7012 * gdb.base/sum.c: Likewise.
7013 * gdb.base/vforked-prog.c: Likewise.
7014 * gdb.base/watchpoint.c: Likewise.
7015 * gdb.reverse/shr2.c: Likewise.
7016 * gdb.reverse/until-reverse.c: Likewise.
7017 * gdb.reverse/ur1.c: Likewise.
7018 * gdb.reverse/watch-reverse.c: Likewise.
7020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7022 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7024 * gdb.base/sepdebug.exp: Drop references to removed code.
7026 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7028 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7029 variant. Preserve original line numbering.
7030 * gdb.base/list1.c: Likewise.
7032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7034 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7036 * gdb.base/break1.c: Likewise.
7037 * gdb.base/break.exp: Drop references to removed code.
7039 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7041 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7044 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7046 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7048 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7050 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7051 logic into perform_all_tests() and invoke it with and without
7052 function header prototypes.
7053 (do_function_calls): Remove conditional XFAIL for PR 5318.
7054 (rerun_and_prepare): Remove duplicate code.
7055 (perform_all_tests): New. Main logic moved here.
7057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7059 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7060 code guarded by #ifdef NO_PROTOTYPES.
7061 (t_double_many_args): Likewise.
7062 (DEF_FUNC_MANY_ARGS_1): Likewise.
7063 (DEF_FUNC_VALUES_1): Likewise.
7064 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7065 guarded by #ifdef PROTOTYPES.
7067 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7069 * gdb.mi/mi-console.c: Add eye-catcher.
7070 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7071 instead of literal line number.
7073 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7075 * gdb.base/shr2.c: Add eye-catcher.
7076 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7079 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7081 * gdb.base/jump.c: Add eye-catchers.
7082 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7087 * gdb.base/execd-prog.c: Add eye-catchers.
7088 * gdb.base/foll-exec.c: Likewise.
7089 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7094 * gdb.base/ending-run.c: Add eye-catchers.
7095 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7096 literal line numbers.
7098 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7100 * gdb.base/call-rt-st.c: Add eye-catchers.
7101 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7102 literal line numbers.
7104 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7106 * gdb.base/call-ar-st.c: Add eye-catchers.
7107 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7108 literal line numbers.
7110 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7112 * gdb.base/average.c: Add eye-catchers.
7113 * gdb.base/sum.c: Likewise.
7114 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7115 regexps dynamically.
7117 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7119 * gdb.base/solib1.c: Add eye-catchers.
7120 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7121 literal line numbers.
7123 2014-11-12 Pedro Alves <palves@redhat.com>
7125 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7128 2014-11-12 Pedro Alves <palves@redhat.com>
7130 * gdb.arch/i386-bp_permanent.c: New file.
7131 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7132 (srcfile): Set to i386-bp_permanent.c.
7133 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7134 that stepi does not execute the 'leave' instruction, instead of
7135 testing it does execute.
7136 * gdb.base/bp-permanent.c: New file.
7137 * gdb.base/bp-permanent.exp: New file.
7139 2014-11-10 Doug Evans <xdje42@gmail.com>
7142 * gdb.base/symtab-search-order.exp: New file.
7143 * gdb.base/symtab-search-order.c: New file.
7144 * gdb.base/symtab-search-order-1.c: New file.
7145 * gdb.base/symtab-search-order-shlib-1.c: New file.
7147 2014-11-07 Pedro Alves <palves@redhat.com>
7150 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7153 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7156 * gdb.cp/pr17494.cc: New file.
7157 * gdb.cp/pr17494.exp: New file.
7159 2014-11-02 Yao Qi <yao@codesourcery.com>
7161 * gdb.python/python.exp: Get working directory and match the
7162 output of "set extended-prompt \\w " with it.
7164 2014-10-30 Doug Evans <dje@google.com>
7166 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7168 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7171 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
7173 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7174 * gdb.base/realname-expand.exp: Likewise.
7175 * gdb.linespec/macro-relative.exp: Likewise.
7177 2014-10-29 Pedro Alves <palves@redhat.com>
7180 * gdb.threads/schedlock.c (some_function): New function.
7181 (call_function): New global.
7182 (MAYBE_CALL_SOME_FUNCTION): New macro.
7183 (thread_function): Call it.
7184 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7185 and use it instead of a global counter. Adjust all callers.
7186 (get_current_thread): Use "find current thread" for test message
7187 here rather than having all callers pass down the same string.
7188 (goto_loop): New procedure, factored out from ...
7189 (my_continue): ... this.
7190 (step_ten_loops): Change parameter from test message to command to
7192 (list_count): Delete global.
7193 (check_result): New procedure, factored out from duplicate top
7195 (continue tests): Wrap in with_test_prefix.
7196 (test_step): New procedure, factored out from duplicate top level
7198 (top level): Test "step" in combination with all scheduler-locking
7199 modes. Test "next" in combination with all scheduler-locking
7200 modes, and in combination with stepping over a function call or
7202 * gdb.threads/next-bp-other-thread.c: New file.
7203 * gdb.threads/next-bp-other-thread.exp: New file.
7205 2014-10-29 Pedro Alves <palves@redhat.com>
7208 * gdb.python/python.exp: Test a multi-line command that spawns
7210 * gdb.base/multi-line-starts-subshell.exp: New file.
7212 2014-10-29 Yao Qi <yao@codesourcery.com>
7214 * gdb.base/fileio.exp: Make directories on host.
7216 2014-10-29 Yao Qi <yao@codesourcery.com>
7218 * gdb.base/fileio.c (test_write): Close the file.
7220 2014-10-28 Pedro Alves <palves@redhat.com>
7223 * gdb.base/sigstep.c (no_handler): New global.
7224 (main): If 'no_handler is true, set the signal handlers to
7226 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7227 with_sw_watch and no_handler parameters. Handle them.
7228 (top level) <stepping over handler when stopped at a breakpoint
7229 test>: Add a test axis for testing with a software watchpoint, and
7230 another for testing with the signal handler set to SIG_IGN.
7231 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7232 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7234 2014-10-28 Pedro Alves <palves@redhat.com>
7237 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7238 * gdb.base/sigstep.exp (other_handler_location): New global.
7239 (advance): Support stepping into the signal handler, and running
7240 commands while in the handler.
7241 (in_handler_map): New global.
7242 (top level): In the advance test, add combinations for getting
7243 into the handler with stepping commands, and for running commands
7244 in the handler. Add comment descripting the advancei tests.
7246 2014-10-28 Pedro Alves <palves@redhat.com>
7248 * gdb.base/sigstep.exp: Use build_executable instead of
7249 prepare_for_testing.
7250 (top level): Move code that starts GDB, runs to main and creates a
7252 (restart): ... this new procedure.
7253 (top level): Move backtrace from signal handler test to ...
7254 (validate_backtrace): ... this new procedure.
7255 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7256 with_test_prefix. Always restart GDB.
7257 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7258 with_test_prefix. Always restart GDB. No need to delete
7259 breakpoints after the test.
7260 (test_skip_handler): Remove prefix parameter.
7261 (skip_over_handler, breakpoint_to_handler)
7262 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7263 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7264 restart GDB. No need to delete breakpoints after the test.
7265 (top level): Use foreach to call the test procedures with
7268 2014-10-28 Pedro Alves <palves@redhat.com>
7270 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7271 instead of GNATS numbers.
7272 * gdb.base/sigbpt.exp: Likewise.
7273 * gdb.base/siginfo.exp: Likewise.
7274 * gdb.base/sigstep.exp: Likewise.
7276 2014-10-27 Pedro Alves <palves@redhat.com>
7278 * gdb.base/sigstep.c (dummy): New global.
7279 (main): Issue a couple writes to the new global.
7280 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7282 (skip_over_handler): Use test_skip_handler.
7283 (top level): Call skip_over_handler for stepi and nexti too.
7284 (breakpoint_over_handler): Use test_skip_handler.
7285 (top level): Call breakpoint_over_handler for stepi and nexti too.
7287 2014-10-27 Yao Qi <yao@codesourcery.com>
7289 * gdb.trace/tfile.c (adjust_function_address)
7290 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7291 function descriptor.
7293 2014-10-24 Don Breazeal <donb@codesourcery.com>
7295 * gdb.base/foll-fork.exp (test_follow_fork,
7296 catch_fork_child_follow): Check for updated fork messages emitted
7298 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7299 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7300 vfork_and_exec_child_follow_through_step): Check for updated vfork
7301 messages emitted from infrun.c.
7303 2014-10-24 Pedro Alves <palves@redhat.com>
7305 * gdb.base/corefile.exp: Remove references to ultrix.
7306 * gdb.base/interrupt.exp: Likewise.
7307 * gdb.base/whatis.exp: Likewise.
7308 * gdb.gdb/selftest.exp: Likewise.
7309 * gdb.threads/manythreads.exp: Likewise.
7310 * gdb.threads/print-threads.exp: Likewise.
7311 * gdb.threads/pthreads.exp:: Likewise.
7312 * gdb.threads/schedlock.exp: Likewise.
7314 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7316 * gdb.cp/non-trivial-retval.cc: Add a test case.
7317 * gdb.cp/non-trivial-retval.exp: Add a test.
7319 2014-10-20 Yao Qi <yao@codesourcery.com>
7321 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7322 * gdb.python/py-objfile-script-gdb.py: New file.
7323 * gdb.python/py-objfile-script.exp: Update reference to
7324 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7325 of remote_download. Remove the dest file.
7327 2014-10-20 Yao Qi <yao@codesourcery.com>
7329 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7330 * gdb.base/step-line.exp: Likewise.
7331 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7332 * gdb.dwarf2/dw2-basic.exp: Likewise.
7333 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7334 * gdb.dwarf2/dw2-filename.exp: Likewise.
7335 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7336 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7337 * gdb.dwarf2/dw2-producer.exp: Likewise.
7338 * gdb.dwarf2/mac-fileno.exp: Likewise.
7339 * gdb.python/py-frame-args.exp: Likewise.
7340 * gdb.python/py-framefilter.exp: Likewise.
7341 * gdb.python/py-mi.exp: Likewise.
7342 * gdb.python/py-objfile-script.exp: Likewise
7343 * gdb.python/py-pp-integral.exp: Likewise.
7344 * gdb.python/py-pp-re-notag.exp: Likewise.
7345 * gdb.python/py-prettyprint.exp: Likewise.
7346 * gdb.python/py-section-script.exp: Likewise.
7347 * gdb.python/py-typeprint.exp: Likewise.
7348 * gdb.python/py-xmethods.exp: Likewise.
7349 * gdb.stabs/weird.exp: Likewise.
7350 * gdb.xml/tdesc-regs.exp: Likewise.
7352 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7354 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7355 (out_cu): Use addr_len for the size of addresses.
7356 (out_line): Likewise. Size DW_LNE_set_address instruction
7357 according to addr_len.
7358 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7359 (FUNC): Add START_INSNS to definition.
7361 2014-10-18 Yao Qi <yao@codesourcery.com>
7363 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7364 gdb_has_argv0 return true.
7365 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7366 check [target_info exists noargs], check [gdb_has_argv0]
7368 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7369 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7372 2014-10-17 Doug Evans <dje@google.com>
7374 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7376 * gdb.python/py-events.py: Add clear_objfiles event.
7378 2014-10-17 Doug Evans <dje@google.com>
7380 * gdb.python/py-objfile.exp: Test progspace attribute.
7382 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7384 * gdb.guile/scm-breakpoint.exp: Do not assume any
7385 directory separators when matching source file paths.
7386 * gdb.python/py-breakpoint.exp: Likewise.
7387 * gdb.reverse/break-precsave.exp: Likewise.
7388 * gdb.reverse/break-reverse.exp: Likewise.
7389 * gdb.reverse/consecutive-precsave.exp: Likewise.
7390 * gdb.reverse/finish-precsave.exp: Likewise.
7391 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7392 * gdb.reverse/finish-reverse.exp: Likewise.
7393 * gdb.reverse/i386-precsave.exp: Likewise.
7394 * gdb.reverse/i387-env-reverse.exp: Likewise.
7395 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7396 * gdb.reverse/machinestate-precsave.exp: Likewise.
7397 * gdb.reverse/machinestate.exp: Likewise.
7398 * gdb.reverse/sigall-precsave.exp: Likewise.
7399 * gdb.reverse/solib-precsave.exp: Likewise.
7400 * gdb.reverse/step-precsave.exp: Likewise.
7401 * gdb.reverse/until-precsave.exp: Likewise.
7402 * gdb.reverse/watch-precsave.exp: Likewise.
7403 * gdb.reverse/watch-reverse.exp: Likewise.
7405 2014-10-17 Yao Qi <yao@codesourcery.com>
7407 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7408 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7410 2014-10-17 Pedro Alves <palves@redhat.com>
7413 * gdb.base/bg-execution-repeat.c: New file.
7414 * gdb.base/bg-execution-repeat.exp: New file.
7416 2014-10-17 Pedro Alves <palves@redhat.com>
7419 * gdb.base/continue-all-already-running.c: New file.
7420 * gdb.base/continue-all-already-running.exp: New file.
7422 2014-10-17 Pedro Alves <palves@redhat.com>
7425 * gdb.base/annota-input-while-running.c: New file.
7426 * gdb.base/annota-input-while-running.exp: New file.
7428 2014-10-17 Pedro Alves <palves@redhat.com>
7430 * gdb.base/callfuncs.exp: emove references to osf.
7431 * gdb.base/sigall.exp: Likewise.
7432 * gdb.gdb/selftest.exp: Likewise.
7433 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7434 * gdb.mi/non-stop.c: Likewise.
7435 * gdb.mi/pthreads.c: Likewise.
7436 * gdb.reverse/sigall-precsave.exp: Likewise.
7437 * gdb.reverse/sigall-reverse.exp: Likewise.
7438 * gdb.threads/pthreads.c: Likewise.
7439 * gdb.threads/pthreads.exp: Likewise.
7441 2014-10-17 Yao Qi <yao@codesourcery.com>
7443 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7444 check 'target_info exists noargs'.
7445 (test_command_prompt_position): Likewise.
7446 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7448 (progvar_simple_while_test): Likewise.
7449 (progvar_complex_if_while_test): Likewise.
7450 (if_while_breakpoint_command_test): Likewise.
7451 (infrun_breakpoint_command_test): Likewise.
7452 (breakpoint_command_test): Likewise.
7453 (watchpoint_command_test): Likewise.
7454 (bp_deleted_in_command_test): Likewise.
7455 (temporary_breakpoint_commands): Likewise.
7457 2014-10-16 Yao Qi <yao@codesourcery.com>
7459 * gdb.base/remotetimeout.exp: Remove noargs checking.
7461 2014-10-15 Pedro Alves <palves@redhat.com>
7464 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7465 * gdb.base/breakpoint-in-ro-region.exp
7466 (probe_target_hardware_step): New procedure.
7467 (top level): Probe hardware stepping and hardware breakpoint
7468 support. Test stepping through a read-only region, with both
7469 "breakpoint auto-hw" on and off and both "always-inserted" on and
7472 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7474 * gdb.dlang/demangle.exp: Update for demangling changes.
7476 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7478 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7479 * gdb.cp/non-trivial-retval.exp: Add new tests.
7481 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7485 * gdb.cp/non-trivial-retval.cc: New file.
7486 * gdb.cp/non-trivial-retval.exp: New file.
7488 2014-10-15 Yao Qi <yao@codesourcery.com>
7490 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7493 2014-10-15 Yao Qi <yao@codesourcery.com>
7495 * gdb.python/py-symbol.exp: Match file base name if host is
7496 remote, otherwise match file name with dir name.
7497 * gdb.python/py-symtab.exp: Likewise.
7498 * gdb.python/python.exp: Likewise.
7500 2014-10-15 Yao Qi <yao@codesourcery.com>
7502 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7504 * gdb.python/py-symtab.exp: Likewise.
7505 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7508 2014-10-14 Joel Brobecker <brobecker@adacore.com>
7510 * gdb.ada/addr_arith: New testcase.
7512 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7514 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7515 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7516 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7517 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7519 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7521 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7522 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7523 * gdb.arch/stap-eval-lang-ada.exp: New file.
7525 2014-10-14 Yao Qi <yao@codesourcery.com>
7527 * gdb.mi/mi-var-child.c (nothing1): New function.
7528 (nothing2): New function.
7529 (do_children_tests): Set function pointers by nothing1 and
7531 * gdb.mi/mi-var-child.exp: Step over new added statements.
7532 Update test to match the new output.
7533 * gdb.mi/var-cmd.c (nothing1): New function.
7534 (nothing2): New function.
7535 (do_children_tests): Set function pointers by nothing1 and
7537 * gdb.mi/mi-var-display.exp: Update test to match output.
7538 Step to the line specified by $line_dct_nothing.
7539 Increase the number of lines to step.
7541 2014-10-14 Yao Qi <yao@codesourcery.com>
7543 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7545 * gdb.mi/mi2-var-child.exp: Likewise.
7547 2014-10-13 Doug Evans <dje@google.com>
7549 * gdb.python/py-objfile.exp: Change name of file name test.
7551 2014-10-13 Doug Evans <dje@google.com>
7553 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7554 from the start of the CU.
7556 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7557 Yao Qi <yao@codesourcery.com>
7559 Fix "save breakpoints" for "catch" command.
7560 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7561 Remove -nonewline. Match also the added "main" line.
7563 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7565 Fix "save breakpoints" for "disable $bpnum" command.
7566 * gdb.base/save-bp.c (main): Add label.
7567 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7569 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7571 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7573 2014-10-11 Yao Qi <yao@codesourcery.com>
7575 * gdb.server/server-kill.exp: Execute command
7576 "set remote trace-status-packet on" before "tstatus".
7578 2014-10-11 Yao Qi <yao@codesourcery.com>
7580 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7581 (main): Call getppid.
7582 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7583 and continue to it. Read variable "server_pid".
7585 2014-10-11 Yao Qi <yao@codesourcery.com>
7587 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7589 2014-10-11 Yao Qi <yao@codesourcery.com>
7591 * gdb.threads/thread-find.exp: Don't execute command
7593 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7594 * gdb.threads/linux-dp.exp: Don't check the condition
7595 $threads_created equals to zero.
7597 2014-10-10 Pedro Alves <palves@redhat.com>
7599 * gdb.base/bigcore.exp: Remove references to IRIX.
7600 * gdb.base/funcargs.exp: Likewise.
7601 * gdb.base/interrupt.exp: Likewise.
7602 * gdb.base/mips_pro.exp: Likewise.
7603 * gdb.base/nodebug.exp: Likewise.
7604 * gdb.base/setvar.exp: Likewise.
7605 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7607 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7608 Pedro Alves <palves@redhat.com>
7611 * gdb.base/vdso-warning.c: New file.
7612 * gdb.base/vdso-warning.exp: New file.
7614 2014-10-02 Doug Evans <dje@google.com>
7616 * gdb.base/structs.c (main): Don't run forever.
7618 2014-10-02 Pedro Alves <palves@redhat.com>
7620 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7621 (top level) <stop threads 1, stop threads 2>: Use it.
7623 2014-10-02 Pedro Alves <palves@redhat.com>
7625 * gdb.threads/break-while-running.exp (test): Add new
7626 'update_thread_list' argument. Skip "info threads" if false.
7627 (top level): Add new 'update_thread_list' axis.
7629 2014-10-02 Pedro Alves <palves@redhat.com>
7631 PR breakpoints/17431
7632 * gdb.base/execl-update-breakpoints.c: New file.
7633 * gdb.base/execl-update-breakpoints.exp: New file.
7635 2014-10-01 Pedro Alves <palves@redhat.com>
7637 * gdb.base/breakpoint-in-ro-region.c: New file.
7638 * gdb.base/breakpoint-in-ro-region.exp: New file.
7640 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7642 * gdb.mi/mi-exit-code.exp: New file.
7643 * gdb.mi/mi-exit-code.c: New file.
7645 2014-09-30 Yao Qi <yao@codesourcery.com>
7647 * lib/prelink-support.exp (build_executable_own_libs): Error if
7648 the target isn't native.
7650 2014-09-30 Yao Qi <yao@codesourcery.com>
7652 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7655 2014-09-22 Pedro Alves <palves@redhat.com>
7657 * gdb.threads/break-while-running.exp: New file.
7658 * gdb.threads/break-while-running.c: New file.
7660 2014-09-19 Yao Qi <yao@codesourcery.com>
7662 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7663 Invoke test. Restart GDB with --readnow and invoke test again.
7665 2014-09-19 Yao Qi <yao@codesourcery.com>
7667 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7668 proc set_breakpoint_on_gcd_function. Invoke
7669 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7670 invoke set_breakpoint_on_gcd_function again.
7672 2014-09-18 Doug Evans <dje@google.com>
7674 * gdb.dwarf2/symtab-producer.exp: New file.
7676 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7678 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7679 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7680 * gdb.base/global-var-nested-by-dso.c: Likewise.
7681 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7683 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7684 Pedro Alves <palves@redhat.com>
7686 * gdb.base/watch-bitfields.exp: Pass string other than test file
7687 name to prepare_for_testing.
7688 (watch): New procedure.
7689 (expect_watchpoint): Use with_test_prefix.
7690 (top level): Factor out tests to ...
7691 (test_watch_location, test_regular_watch): ... these new
7692 procedures, and use with_test_prefix and gdb_continue_to_end.
7694 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7696 PR breakpoints/12526
7697 * gdb.base/watch-bitfields.exp: New file.
7698 * gdb.base/watch-bitfields.c: New file.
7700 2014-09-16 Pedro Alves <palves@redhat.com>
7702 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7703 software and hardware addresses, not software address against
7706 2014-09-16 Pedro Alves <palves@redhat.com>
7708 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7709 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7711 2014-09-16 Pedro Alves <palves@redhat.com>
7713 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7715 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7716 "*-*-vxworks*" throughout.
7717 * gdb.base/break.exp: Likewise.
7718 * gdb.base/default.exp: Likewise.
7719 * gdb.base/scope.exp: Likewise.
7720 * gdb.base/sepdebug.exp: Likewise.
7721 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7723 * gdb.base/run.c: Likewise.
7724 * gdb.base/sepdebug.c: Likewise.
7725 * gdb.hp/gdb.aCC/run.c: Likewise.
7726 * gdb.reverse/until-reverse.c: Likewise.
7727 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7729 2014-09-16 Yao Qi <yao@codesourcery.com>
7731 * boards/local-remote-host-native.exp: New file.
7733 2014-09-14 Doug Evans <xdje42@gmail.com>
7735 * gdb.threads/queue-signal.c (thread_count): New variable.
7736 (thread_count_mutex, thread_count_condvar): New variables.
7737 (incr_thread_count, wait_all_threads_running): New functions.
7738 (main): Wait for all threads to be in their thread functions.
7740 2014-09-13 Doug Evans <xdje42@gmail.com>
7742 * gdb.threads/queue-signal.c: New file.
7743 * gdb.threads/queue-signal.exp: New file.
7745 2014-09-13 Doug Evans <xdje42@gmail.com>
7747 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7748 be consistent with what default_gdb_init uses.
7749 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7750 the plain text of the prompt. Add some logging printfs.
7751 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7753 2014-09-12 Pedro Alves <palves@redhat.com>
7755 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7756 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7757 * gdb.arch/i386-size-overlap.exp: Likewise.
7758 * gdb.arch/i386-size.exp: Likewise.
7759 * gdb.arch/i386-unwind.exp: Likewise.
7760 * gdb.base/a2-run.exp: Likewise.
7761 * gdb.base/break.exp: Likewise.
7762 * gdb.base/charset.exp: Likewise.
7763 * gdb.base/chng-syms.exp: Likewise.
7764 * gdb.base/commands.exp: Likewise.
7765 * gdb.base/dbx.exp: Likewise.
7766 * gdb.base/find.exp: Likewise.
7767 * gdb.base/funcargs.exp: Likewise.
7768 * gdb.base/jit-simple.exp: Likewise.
7769 * gdb.base/reread.exp: Likewise.
7770 * gdb.base/sepdebug.exp: Likewise.
7771 * gdb.base/step-bt.exp: Likewise.
7772 * gdb.cp/mb-inline.exp: Likewise.
7773 * gdb.cp/mb-templates.exp: Likewise.
7774 * gdb.objc/basicclass.exp: Likewise.
7775 * gdb.threads/killed.exp: Likewise.
7777 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7780 * gdb.arch/powerpc-stackless.S: New file.
7781 * gdb.arch/powerpc-stackless.exp: New file.
7783 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7785 * gdb.base/attach.c: Include unistd.h.
7786 (main): Call alarm. Add label postloop.
7787 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7788 gdb_breakpoint, gdb_continue_to_breakpoint.
7789 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7791 2014-09-11 Pedro Alves <palves@redhat.com>
7794 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7795 * gdb.base/attach.exp (test_command_line_attach_run): New
7797 (top level): Call it.
7799 2014-09-11 Pedro Alves <palves@redhat.com>
7801 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7802 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7803 (do_command_attach_tests): Use spawn_wait_for_attach.
7804 * gdb.base/solib-overlap.exp: Likewise.
7805 * gdb.multi/multi-attach.exp: Likewise.
7806 * gdb.python/py-prompt.exp: Likewise.
7807 * gdb.python/py-sync-interp.exp: Likewise.
7808 * gdb.server/ext-attach.exp: Likewise.
7810 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7812 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7813 command in testcase. Simplify testcase.
7815 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7817 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7819 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7821 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7823 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7825 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7827 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7829 * gdb.dwarf2/dynarr-ptr.c: New file.
7830 * gdb.dwarf2/dynarr-ptr.exp: New file.
7832 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7834 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7835 of 30 rather than hardcoding 120 for a slow test case. Take the
7836 `gdb,timeout' target setting into account for this calculation.
7837 Don't extend the timeout for the test cases that don't need it.
7839 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7841 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7842 a factor of 2 for a slow test case. Take the `gdb,timeout'
7843 target setting into account for this calculation.
7844 * gdb.reverse/until-precsave.exp: Increase the timeout by
7845 a factor of 15 and 3 respectively rather than adding 120
7846 for a pair of slow test cases. Take the `gdb,timeout'
7847 target setting into account for this calculation.
7849 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7851 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7852 timeout, don't pass one down to gdb_expect.
7853 (gdb_expect): Rework timeout selection.
7855 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7857 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7858 exception on timeout.
7859 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7860 (gdbserver_start_extended): Catch any `gdbserver_start' error
7862 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7863 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7864 `gdbserver_gdb_load' error exceptions.
7866 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7868 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7869 120 on waiting for the TCP socket to open.
7871 2014-09-09 Doug Evans <xdje42@gmail.com>
7873 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7874 _caller_matches, _any_caller_is, _any_caller_matches.
7876 2014-09-09 Doug Evans <xdje42@gmail.com>
7878 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7880 2014-09-09 Yao Qi <yao@codesourcery.com>
7882 * gdb.mi/mi-var-display.exp: Set print symbol off.
7884 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7887 * gdb.base/commands.exp: Add tests to verify user-defined
7888 commands with empty bodies.
7889 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7890 python commands in `show user command`.
7891 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7892 scheme commands in `show user command`.
7894 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7897 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7898 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7899 * gdb.python/py-framefilter-invalidarg.exp: New file.
7900 * gdb.python/py-framefilter-invalidarg.py: New file.
7902 2014-09-06 Doug Evans <xdje42@gmail.com>
7905 * gdb.python/py-caller-is.c: New file.
7906 * gdb.python/py-caller-is.exp: New file.
7908 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7911 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7912 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7914 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7917 * gdb.fortran/print-formatted.exp: New file.
7918 * gdb.fortran/print-formatted.f90: Likewise.
7920 2014-09-03 Sasha Smundak <asmundak@google.com>
7922 * gdb.python/py-frame.exp: Test Frame.read_register.
7924 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7927 * gdb.python/py-completion.exp: New file.
7928 * gdb.python/py-completion.py: Likewise.
7930 2014-08-28 Doug Evans <dje@google.com>
7932 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7933 eax,etc. are live with values set by gdb and thus the compiler can't
7935 * gdb.arch/i386-pseudo.c (main): Ditto.
7937 2014-08-27 Doug Evans <dje@google.com>
7939 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7941 2014-08-25 Doug Evans <dje@google.com>
7943 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7946 2014-08-25 Doug Evans <dje@google.com>
7948 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7950 2014-08-24 Yao Qi <yao@codesourcery.com>
7952 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7954 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7956 2014-08-22 Doug Evans <dje@google.com>
7959 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7960 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7961 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7963 2014-08-22 Yao Qi <yao@codesourcery.com>
7965 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7966 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7967 * gdb.python/python.exp: Likewise. Use .py file on the host
7968 instead of the build.
7970 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7972 * gdb.threads/gcore-stale-thread.c: New file.
7973 * gdb.threads/gcore-stale-thread.exp: New file.
7975 2014-08-21 Pedro Alves <palves@redhat.com>
7977 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7978 * gdb.base/gcore-relro-pie.exp: Likewise.
7979 * gdb.base/gcore-relro.exp: Likewise.
7980 * gdb.base/gcore.exp: Likewise.
7981 * gdb.base/print-symbol-loading.exp: Likewise.
7982 * gdb.threads/gcore-thread.exp: Likewise.
7983 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7985 2014-08-20 Pedro Alves <palves@redhat.com>
7986 Jan Kratochvil <jan.kratochvil@redhat.com>
7988 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7990 (EXPECT): Handle READ1 being set.
7991 (all): Depend on EXTRA_RULES.
7992 (check-read1, expect-read1, read1.so, read1): New rules.
7993 * README (Testsuite Parameters): Document the READ1 make variable.
7994 (Race detection): New section.
7995 * configure: Regenerate.
7996 * configure.ac: If build==host==target, and running under a
7997 GNU/glibc system, add read1 to the extra Makefile rules.
7998 (EXTRA_RULES): AC_SUBST it.
7999 * lib/read1.c: New file.
8001 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8003 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8004 the handling of variables declared as a typedef to an array
8005 which a DW_AT_data_location attribute.
8007 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8008 Pedro Alves <palves@redhat.com>
8012 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8015 2014-08-19 Pedro Alves <palves@redhat.com>
8017 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8019 2014-08-19 Yao Qi <yao@codesourcery.com>
8021 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8024 2014-08-18 David Blaikie <dblaikie@gmail.com>
8026 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8028 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8030 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8031 attribute in array range.
8033 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8035 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8037 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8040 * gdb.cp/pr17132.cc: New file.
8041 * gdb.cp/pr17132.exp: New file.
8043 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8045 * gdb.python/py-xmethods.py (A_getarrayind)
8046 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8047 Use 'print' with function call syntax.
8048 (E_method_matcher.match): Fix tab vs space indentation mixup.
8050 2014-08-15 Yao Qi <yao@codesourcery.com>
8052 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8055 2014-08-15 Yao Qi <yao@codesourcery.com>
8057 * gdb.cp/casts.exp: Set print symbol off.
8058 * gdb.cp/class2.exp: Likewise.
8059 * gdb.cp/overload.exp: Likewise.
8060 * gdb.cp/templates.exp: Likewise.
8062 2014-08-11 Doug Evans <dje@google.com>
8064 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8065 (test_load_shlib): Update.
8067 2014-08-09 Yao Qi <yao@codesourcery.com>
8069 * gdb.base/display.exp: Invoke is_address_zero_readable.
8070 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8071 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8072 * gdb.base/hbreak-unmapped.exp: Return if
8073 is_address_zero_readable returns true.
8074 * gdb.base/signest.exp: Likewise.
8075 * gdb.base/signull.exp: Likewise.
8076 * gdb.base/sigbpt.exp: Likewise.
8077 * gdb.guile/scm-disasm.exp: Do the test if
8078 is_address_zero_readable returns false.
8079 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8080 * gdb.python/py-arch.exp: Likewise.
8081 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8082 * lib/gdb.exp (is_address_zero_readable): New proc.
8084 2014-08-09 Yao Qi <yao@codesourcery.com>
8087 * gdb.mi/mi-var-display.exp: Make test messages unique.
8089 2014-08-04 Tom Tromey <tromey@redhat.com>
8091 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8094 2014-08-04 Tom Tromey <tromey@redhat.com>
8096 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8099 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8101 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8102 inner_vla_struct_object_size.
8103 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8106 2014-07-30 Pedro Alves <palves@redhat.com>
8108 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8111 2014-07-29 Yao Qi <yao@codesourcery.com>
8114 * gdb.base/until-nodebug.exp: New.
8116 2014-07-28 Doug Evans <xdje42@gmail.com>
8119 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8120 previously existing parameter, and previously ambiguously spelled
8123 2014-07-28 Will Newton <will.newton@linaro.org>
8125 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8127 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8128 Doug Evans <xdje42@gmail.com>
8131 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8133 2014-07-25 Pedro Alves <palves@redhat.com>
8135 * gdb.threads/signal-command-handle-nopass.c: New file.
8136 * gdb.threads/signal-command-handle-nopass.exp: New file.
8137 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8138 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8139 * gdb.threads/signal-delivered-right-thread.c: New file.
8140 * gdb.threads/signal-delivered-right-thread.exp: New file.
8142 2014-07-25 Pedro Alves <palves@redhat.com>
8144 * gdb.base/double-prompt-target-event-error.exp
8145 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8147 (cancel_pagination_in_target_event): Rework double prompt
8149 * gdb.base/paginate-after-ctrl-c-running.exp
8150 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8152 * gdb.base/paginate-bg-execution.exp
8153 (test_bg_execution_pagination_return)
8154 (test_bg_execution_pagination_cancel): Remove '-notransfer
8156 * gdb.base/paginate-execution-startup.exp
8157 (test_fg_execution_pagination_return)
8158 (test_fg_execution_pagination_cancel): Remove '-notransfer
8160 * gdb.base/paginate-inferior-exit.exp
8161 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8163 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8164 * lib/gdb.exp (pagination_prompt): Run text through
8166 (gdb_test_multiple): Match $pagination_prompt instead of
8168 (string_to_regexp): Move to lib/gdb-utils.exp.
8170 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8172 * gdb.arch/amd64-entry-value-paramref.S: New file.
8173 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8174 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8175 * gdb.arch/amd64-optimout-repeat.S: New file.
8176 * gdb.arch/amd64-optimout-repeat.c: New file.
8177 * gdb.arch/amd64-optimout-repeat.exp: New file.
8179 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8182 * gdb.base/statistics.exp: New file.
8184 2014-07-17 Doug Evans <dje@google.com>
8187 * gdb.base/maint.exp: Update testing of per-command stats.
8189 2014-07-16 Pedro Alves <palves@redhat.com>
8191 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8192 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8193 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8194 (tfile_write_buf): New functions.
8195 (add_memory_block): Rewrite using the above.
8196 (adjust_function_address): New function.
8197 (FUNCTION_ADDRESS): New macro.
8198 (write_basic_trace_file): Remove short_x local, and use
8199 tfile_write_16. Change type of func_addr local to unsigned long
8200 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8201 here. Cast argument of add_memory_block to char pointer.
8202 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8203 (main): Remove parameters.
8204 * gdb.trace/tfile.exp: Remove nowarnings.
8206 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8208 * gdb.base/debug-expr.exp: Test string evaluation with
8209 "debug expression" on.
8211 2014-07-15 Pedro Alves <palves@redhat.com>
8213 * gdb.base/reread.exp: Use clean_restart.
8215 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8217 * gdb.arch/avr-flash-qualifer.c: New.
8218 * gdb.arch/avr-flash-qualifer.exp: New.
8220 2014-07-14 Pedro Alves <palves@redhat.com>
8222 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8223 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8225 2014-07-14 Pedro Alves <palves@redhat.com>
8227 * gdb.base/double-prompt-target-event-error.c: New file.
8228 * gdb.base/double-prompt-target-event-error.exp: New file.
8230 2014-07-14 Pedro Alves <palves@redhat.com>
8233 * gdb.base/paginate-inferior-exit.c: New file.
8234 * gdb.base/paginate-inferior-exit.exp: New file.
8236 2014-07-14 Pedro Alves <palves@redhat.com>
8239 * gdb.base/paginate-bg-execution.c: New file.
8240 * gdb.base/paginate-bg-execution.exp: New file.
8242 2014-07-14 Pedro Alves <palves@redhat.com>
8245 * gdb.base/paginate-execution-startup.c: New file.
8246 * gdb.base/paginate-execution-startup.exp: New file.
8247 * lib/gdb.exp (pagination_prompt): New global.
8248 (default_gdb_spawn): New procedure, factored out from
8250 (default_gdb_start): Adjust to call default_gdb_spawn.
8251 (gdb_spawn): New procedure.
8253 2014-07-14 Pedro Alves <palves@redhat.com>
8255 * lib/gdb.exp (gdb_assert): New procedure.
8256 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8258 2014-07-14 Pedro Alves <palves@redhat.com>
8260 * gdb.base/execution-termios.c: New file.
8261 * gdb.base/execution-termios.exp: New file.
8263 2014-07-14 Tom Tromey <tromey@redhat.com>
8265 * gdb.cp/vla-cxx.cc: New file.
8266 * gdb.cp/vla-cxx.exp: New file.
8268 2014-07-14 Tom Tromey <tromey@redhat.com>
8270 * gdb.reverse/rerun-prec.c: New file.
8271 * gdb.reverse/rerun-prec.exp: New file.
8273 2014-07-12 Maciej W. Rozycki <macro@mips.com>
8274 Maciej W. Rozycki <macro@codesourcery.com>
8276 * lib/gdb-utils.exp: New file.
8277 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8278 inline `gdb_init_command' processing.
8279 (gdb_start_cmd): Likewise.
8280 * lib/mi-support.exp (mi_run_cmd): Likewise.
8281 * README: Document `gdb_init_command' and `gdb_init_commands'.
8283 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8285 Fix false FAIL running under a very long directory name.
8286 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8287 and "set print elements 10000". Twice.
8289 2014-07-11 Yao Qi <yao@codesourcery.com>
8291 * gdb.base/exprs.exp: "set print symbol off".
8293 2014-07-11 Pedro Alves <palves@redhat.com>
8295 * gdb.threads/kill.c: New file.
8296 * gdb.threads/kill.exp: New file.
8298 2014-07-10 Yao Qi <yao@codesourcery.com>
8300 * gdb.trace/tfile.c (write_basic_trace_file)
8301 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8302 address written to trace file.
8304 2014-07-09 Pedro Alves <palves@redhat.com>
8306 * gdb.base/attach-wait-input.exp: New file.
8307 * gdb.base/attach-wait-input.c: New file.
8309 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8311 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8312 setting up test structures.
8313 (main): Call new test function.
8314 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8315 test function, continue into test function and walk test
8318 2014-07-02 Yao Qi <yao@codesourcery.com>
8320 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8321 'bar_start' at the beginning of functions 'foo' and 'bar'
8323 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8324 instead of 'foo' and 'bar'.
8326 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8328 * gdb.btrace/segv.exp: New.
8329 * gdb.btrace/segv.c: New.
8331 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
8333 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8336 2014-06-30 Mark Wielaard <mjw@redhat.com>
8338 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8339 vulture, vilify, villar): New volatile array constants.
8340 (vindictive, vegetation): New const volatile array constants.
8341 * gdb.base/volatile.exp: Test volatile and const volatile array
8344 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8346 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8347 target lacks support for awatch, rwatch, or hbreak.
8349 2014-06-27 Yao Qi <yao@codesourcery.com>
8351 * gdb.multi/dummy-frame-restore.exp: New.
8352 * gdb.multi/dummy-frame-restore.c: New.
8354 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8356 * gdb.btrace/gcore.exp: New.
8358 2014-06-23 Pedro Alves <palves@redhat.com>
8360 * gdb.base/watchpoint-reuse-slot.c: New file.
8361 * gdb.base/watchpoint-reuse-slot.exp: New file.
8363 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8365 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8366 progspace's filename in 'info', 'enable' and 'disable' command
8369 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8371 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8372 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8373 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8375 2014-06-20 Gary Benson <gbenson@redhat.com>
8377 * gdb.arch/i386-avx.exp: Fix include file location.
8378 * gdb.arch/i386-sse.exp: Likewise.
8380 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8382 * gdb.dlang/expression.exp: New file.
8384 2014-06-19 Pedro Alves <palves@redhat.com>
8386 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8388 (top level): ... here. Iterate running tests under different
8389 scheduler-locking settings.
8391 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
8393 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8394 to DW_FORM_addr and use non-zero addresses.
8396 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8399 * gdb.python/py-xmethods.cc: Add global function call counters and
8400 increment them in their respective functions. Remove "cout"
8402 * gdb.python/py-xmethods.exp: Make tests check the global function
8403 call counters instead of depending on inferior IO.
8405 2014-06-18 Don Breazeal <donb@codesourcery.com>
8407 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8409 (explicit_fork_parent_follow): Deleted procedure.
8410 (explicit_fork_child_follow): Deleted procedure.
8411 (test_follow_fork): New procedure.
8412 (do_fork_tests): Replace calls to deleted procedures with
8413 calls to test_follow_fork and reset GDB for subsequent
8416 2014-06-17 Yao Qi <yao@codesourcery.com>
8418 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8421 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
8423 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8424 Initialize ptr and S explicitly.
8425 (skip_type_update_when_not_use_rtti_test): Likewise.
8427 2014-06-16 Keith Seitz <keiths@redhat.com>
8430 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8431 the inferior is started.
8433 2014-06-16 Pedro Alves <palves@redhat.com>
8435 * gdb.base/break-main-file-remove-fail.c: New file.
8436 * gdb.base/break-main-file-remove-fail.exp: New file.
8437 * gdb.base/break-unload-file.exp: Use build_executable instead of
8438 prepare_for_testing.
8439 (test_break): New parameter "initial_load". Handle it.
8440 (top level): Add initial_load cmdline/file axis.
8442 2014-06-12 Tom Tromey <tromey@redhat.com>
8444 * gdb.base/completion.exp: Don't use directory name in test.
8446 2014-06-09 Gary Benson <gbenson@redhat.com>
8448 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8449 separate the always-available ANSI-standard signals from the
8450 signals that require checking.
8452 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8456 2014-06-07 Keith Seitz <keiths@redhat.com>
8460 * gdb.cp/var-tag.cc: New file.
8461 * gdb.cp/var-tag.exp: New file.
8462 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8463 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8464 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8465 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8467 2014-06-06 Doug Evans <xdje42@gmail.com>
8469 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8471 2014-06-06 Pedro Alves <palves@redhat.com>
8473 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8474 in target debug output instead of looking at RSP packets,
8475 disabling the test on any target that uses hardware stepping.
8478 2014-06-06 Pedro Alves <palves@redhat.com>
8480 * gdb.base/break-unload-file.exp: Fix typo.
8482 2014-06-06 Yao Qi <yao@codesourcery.com>
8484 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8485 from "jit_function" to "^jit_function".
8487 2014-06-06 Yao Qi <yao@codesourcery.com>
8489 * gdb.base/async.c (foo): Add one statement.
8490 * gdb.base/async.exp: Get the next instruction address and
8491 match the output of "nexti" by instruction address. Match
8492 the hex address in the output of "finish".
8494 2014-06-06 Gary Benson <gbenson@redhat.com>
8496 * gdb.base/call-signals.c: Remove preprocessor conditionals
8497 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8498 SIGSEGV and SIGTERM.
8499 * gdb.base/sigall.c: Likewise.
8500 * gdb.base/unwindonsignal.c: Likewise.
8501 * gdb.reverse/sigall-reverse.c: Likewise.
8503 2014-06-06 Yao Qi <yao@codesourcery.com>
8505 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8506 readable, skip the test.
8508 2014-06-06 Yao Qi <yao@codesourcery.com>
8510 * gdb.threads/staticthreads.c (thread_function): Move the line
8511 setting breakpoint on forward.
8512 * gdb.threads/staticthreads.exp: Update comments.
8514 2014-06-05 Ludovic Courtès <ludo@gnu.org>
8516 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8517 "history-append! type error".
8519 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8521 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8522 erroneous dprintf expected input.
8524 2014-06-04 Doug Evans <xdje42@gmail.com>
8526 * gdb.guile/scm-generics.exp: Delete.
8528 2014-06-04 Doug Evans <xdje42@gmail.com>
8530 * gdb.guile/scm-breakpoint.exp: Update.
8531 Add tests for breakpoint registration.
8533 2014-06-04 Tom Tromey <tromey@redhat.com>
8535 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8537 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8538 inner_vla_struct, vla_union types. Initialize objects of those
8539 types and compute their sizes.
8541 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8542 Hui Zhu <hui@codesourcery.com>
8544 * gdb.base/fileio.exp: Add test for shell not available as well as
8546 * gdb.base/fileio.c (test_system): Check for shell twice.
8548 2014-06-04 Yao Qi <yao@codesourcery.com>
8550 * gdb.base/auto-connect-native-target.exp: Remove redundant
8551 space from the regexp pattern.
8553 2014-06-04 Yao Qi <yao@codesourcery.com>
8555 * gdb.base/default.exp: Replace "child" with "native" in
8558 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8560 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8561 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8562 * gdb.python/py-xmethods.py: Python script supporting the
8563 new testcase and tests.
8565 2014-06-03 Joel Brobecker <brobecker@adacore.com>
8566 Pedro Alves <palves@redhat.com>
8568 PR breakpoints/17000
8569 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8570 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8572 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8574 * gdb.base/subst.exp: Add tests to verify partial path matching
8577 2014-06-03 Pedro Alves <palves@redhat.com>
8579 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8580 target that doesn't use software single-stepping.
8582 2014-06-03 Pedro Alves <palves@redhat.com>
8584 PR breakpoints/17000
8585 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8586 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8588 2014-06-02 Doug Evans <xdje42@gmail.com>
8590 * gdb.guile/scm-parameter.exp: New file.
8592 2014-06-02 Doug Evans <xdje42@gmail.com>
8594 * gdb.guile/scm-cmd.c: New file.
8595 * gdb.guile/scm-cmd.exp: New file.
8597 2014-06-02 Doug Evans <xdje42@gmail.com>
8599 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8600 pretty-printer lookup.
8601 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8602 (make-pp_s-printer): Call it.
8603 (make-pretty-printer-from-dict): New function.
8604 (lookup-pretty-printer-maker-from-dict): New function.
8605 (*pretty-printer*): Simplify.
8606 (make-objfile-pp_s-printer): New function.
8607 (install-objfile-pretty-printers!): New function.
8608 (make-progspace-pp_s-printer): New function.
8609 (install-progspace-pretty-printers!): New function.
8610 * gdb.guile/scm-progspace.c: New file.
8611 * gdb.guile/scm-progspace.exp: New file.
8613 2014-06-02 Pedro Alves <palves@redhat.com>
8615 * gdb.base/dprintf-bp-same-addr.c: New file.
8616 * gdb.base/dprintf-bp-same-addr.exp: New file.
8618 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8620 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8621 * gdb.arch/powerpc-power.s: Likewise.
8623 2014-06-02 Joel Brobecker <brobecker@adacore.com>
8625 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8627 2014-06-01 Yao Qi <yao@codesourcery.com>
8629 * gdb.base/watchpoint.exp (test_watch_location): Check null
8630 pointer can be dereferenced. If not, do the test, otherwise
8633 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8635 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8637 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8639 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8641 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8642 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8643 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8644 * gdb.arch/amd64-invalid-stack-top.c: New file.
8645 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8647 2014-05-30 Pedro Alves <palves@redhat.com>
8649 PR breakpoints/17000
8650 * gdb.base/sss-bp-on-user-bp.c: New file.
8651 * gdb.base/sss-bp-on-user-bp.exp: New file.
8653 2014-05-30 David Blaikie <dblaikie@gmail.com>
8655 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8656 gnu_inline semantics via attribute.
8657 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8658 source explicitly specifies the required semantics.
8660 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8662 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8664 2014-05-29 Pedro Alves <palves@redhat.com>
8665 Tom Tromey <tromey@redhat.com>
8667 * gdb.base/async-shell.exp: Don't enable target-async.
8668 * gdb.base/async.exp
8669 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8671 (top level): Don't test with "target-async".
8672 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8673 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8674 * gdb.base/inferior-died.exp: Don't enable target-async.
8675 * gdb.base/interrupt-noterm.exp: Likewise.
8676 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8677 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8678 * gdb.mi/mi-nonstop.exp: Likewise.
8679 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8680 * gdb.mi/mi-nsintrall.exp: Likewise.
8681 * gdb.mi/mi-nsmoribund.exp: Likewise.
8682 * gdb.mi/mi-nsthrexec.exp: Likewise.
8683 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8684 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8685 * gdb.python/py-evsignal.exp: Don't enable target-async.
8686 * gdb.python/py-evthreads.exp: Likewise.
8687 * gdb.python/py-prompt.exp: Likewise.
8688 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8689 * gdb.server/solib-list.exp: Don't enable target-async.
8690 * gdb.threads/thread-specific-bp.exp: Likewise.
8691 * lib/mi-support.exp: Adjust to use mi-async.
8693 2014-05-29 Pedro Alves <palves@redhat.com>
8696 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8697 reason, even in sync mode.
8699 2014-05-29 Pedro Alves <palves@redhat.com>
8700 Hui Zhu <hui@codesourcery.com>
8703 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8704 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8705 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8706 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8708 2014-05-28 Joel Brobecker <brobecker@adacore.com>
8710 * config/monitor.exp (gdb_target_monitor): Replace use of
8711 "set remotebaud" by "set serial baud".
8713 2014-05-26 Andy Wingo <wingo@igalia.com>
8715 * gdb.guile/scm-breakpoint.exp:
8716 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8717 properties instead of gdb-object-properties.
8719 2014-05-26 Yao Qi <yao@codesourcery.com>
8721 * gdb.server/no-thread-db.exp: Specify source file name
8722 explicitly when setting a breakpoint.
8724 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8726 * gdb.btrace/vdso.c: New.
8727 * gdb.btrace/vdso.exp: New.
8729 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8731 * gdb.base/gcore.exp (capture_command_output): Move ...
8732 * lib/gdb.exp (capture_command_output): ... here.
8734 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8736 * gdb.btrace/data.exp: Test memory access during btrace replay.
8738 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8740 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8742 2014-05-21 Pedro Alves <palves@redhat.com>
8745 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8746 (top level): Test that output related to execution commands is
8747 sent to the console with CLI commands, but not with MI commands.
8748 Test that breakpoint events are always mirrored to the console.
8749 Also expect the new source line to be output after a "next" in
8750 async mode too. Make it a pass/fail test.
8751 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8753 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8755 2014-05-21 Pedro Alves <palves@redhat.com>
8757 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8758 Use them to test variations of "list" after reaching a breakpoint.
8759 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8760 Test "list" with listsize 10 after reaching a breakpoint.
8761 * gdb.python/python.exp (decode_line current location line
8762 number): Adjust expected line number.
8764 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8766 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8767 behavior for $args, pass it directly to "run".
8769 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8771 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8774 2014-05-21 Pedro Alves <palves@redhat.com>
8776 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8777 auto-connect-native-target off".
8778 * gdb.base/auto-connect-native-target.c: New file.
8779 * gdb.base/auto-connect-native-target.exp: New file.
8781 2014-05-21 Pedro Alves <palves@redhat.com>
8783 * gdb.base/default.exp: Test "target native" instead of "target
8786 2014-05-21 Mark Wielaard <mjw@redhat.com>
8788 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8790 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8792 Fix TLS access for -static -pthread.
8793 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8794 <HAVE_TLS> (thread_function, main): Initialize it.
8795 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8797 <$have_tls != "">: Check TLSVAR.
8799 2014-05-21 Pedro Alves <palves@redhat.com>
8801 * gdb.base/dcache-line-read-error.c: New.
8802 * gdb.base/dcache-line-read-error.exp: New.
8804 2014-05-20 Pedro Alves <palves@redhat.com>
8806 * gdb.base/compare-sections.c: New file.
8807 * gdb.base/compare-sections.exp: New file.
8809 2014-05-20 Pedro Alves <palves@redhat.com>
8811 * gdb.base/break-idempotent.c: New file.
8812 * gdb.base/break-idempotent.exp: New file.
8814 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8816 * gdb.btrace/nohist.exp: New.
8818 2014-05-20 Yao Qi <yao@codesourcery.com>
8820 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8821 gdb.reverse directory and gdb_reverse_timeout exists in board
8823 * README: Document gdb_reverse_timeout.
8825 2014-05-20 Yao Qi <yao@codesourcery.com>
8827 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8828 'test_file_name'. Treat args as a string instead of a list.
8829 (gdb_init): Rename argument 'args' by 'test_file_name'.
8831 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8833 * gdb.arch/powerpc-power.exp: New file.
8834 * gdb.arch/powerpc-power.s: New file.
8836 2014-05-16 Doug Evans <dje@google.com>
8838 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8839 * gdb.base/completion.exp: Check that all expected files exist
8840 before doing file completion.
8842 2014-05-16 Doug Evans <dje@google.com>
8844 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8846 (do_syscall_tests_without_xml): Update.
8848 2014-05-16 Pedro Alves <palves@redhat.com>
8850 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8851 instead of "unknown output after running".
8853 2014-05-16 Yao Qi <yao@codesourcery.com>
8855 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8856 file1.txt from host at the end.
8857 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8859 2014-05-15 Doug Evans <dje@google.com>
8861 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8862 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8863 loading file. Add test for TU lookup.
8865 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8867 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8868 calling "-exec-arguments" or "set args" before running the
8871 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8873 * lib/mi-support.exp (mi_expect_stop): Expect message for
8874 inferiors that exit with non-zero exit code.
8876 2014-05-14 Yao Qi <yao@codesourcery.com>
8878 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8879 match absolute path on remote host.
8880 (test_file_list_exec_source_files): Remove "/" from the
8883 2014-05-14 Yao Qi <yao@codesourcery.com>
8885 * boards/local-remote-host-notty.exp (${board}_file): New
8888 2014-05-07 Kyle McMartin <kyle@redhat.com>
8890 Pushed by Joel Brobecker <brobecker@adacore.com>.
8891 * gdb.arch/aarch64-atomic-inst.c: New file.
8892 * gdb.arch/aarch64-atomic-inst.exp: New file.
8894 2014-05-07 Yao Qi <yao@codesourcery.com>
8896 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8897 in current context" too.
8899 2014-05-05 Keith Seitz <keiths@redhat.com>
8901 * gdb.linespec/ls-dollar.exp: Add test for linespec
8902 file:convenience_variable.
8904 2014-05-05 Yao Qi <yao@codesourcery.com>
8906 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8907 traceframes into tfile and ctf trace files. Read data from
8908 trace file and test collected data.
8909 (gdb_collect_locals_test): Likewise.
8910 (gdb_unavailable_registers_test): Likewise.
8911 (gdb_unavailable_floats): Likewise.
8912 (gdb_collect_globals_test): Likewise.
8913 (top-level): Append "ctf" to trace_file_targets if GDB
8916 2014-05-05 Yao Qi <yao@codesourcery.com>
8918 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8920 (gdb_collect_args_test_1): ... it. New proc.
8921 (gdb_collect_locals_test): Move some code to ...
8922 (gdb_collect_locals_test_1): ... it. New proc.
8923 (gdb_unavailable_registers_test): Move some code to ...
8924 (gdb_unavailable_registers_test_1): ... it. New proc.
8925 (gdb_unavailable_floats): Move some code to ...
8926 (gdb_unavailable_floats_1): ... it. New proc.
8928 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8930 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8931 probes to test for bitness recognition.
8932 * gdb.arch/amd64-stap-optional-prefix.exp
8933 (test_probe_value_without_reg): New procedure.
8934 Add code to test for different kinds of bitness.
8936 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8938 PR breakpoints/16889
8939 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8940 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8942 2014-05-01 Pedro Alves <palves@redhat.com>
8944 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8945 gdb_file_cmd if no file is specified.
8946 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8947 last_loaded_file to set the remote exec-file.
8949 2014-05-01 Pedro Alves <palves@redhat.com>
8951 * boards/local-remote-host.exp: New file.
8953 2014-05-01 Pedro Alves <palves@redhat.com>
8955 * boards/local-remote-host.exp: Rename to ...
8956 * boards/local-remote-host-notty.exp: ... this.
8958 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8960 * gdb.ada/dyn_arrayidx: New testcase.
8962 2014-04-26 Yao Qi <yao@codesourcery.com>
8964 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8965 and compute the length of function main. Save it in
8967 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8968 (top-level): Use gdb_compile to compile objects into
8969 executable and restart GDB. Remove invocation to
8970 prepare_for_testing.
8972 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8973 Pedro Alves <palves@redhat.com>
8976 * gdb.multi/multi-attach.c: New file.
8977 * gdb.multi/multi-attach.exp: New file.
8979 2014-04-25 Pedro Alves <palves@redhat.com>
8981 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8983 (top level): Test that "set remote conditional-breakpoints-packet
8984 off" works as intended.
8985 * gdb.base/dprintf.exp: Test that "set remote
8986 breakpoint-commands-packet off" works as intended.
8987 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8989 (top level): Call it.
8990 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8991 remote fast-tracepoints-packet off" works as intended.
8992 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8993 * lib/gdb.exp (gdb_is_target_remote): ... here.
8995 2014-04-24 David Blaikie <dblaikie@gmail.com>
8997 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8998 ensure clang would not discard them.
8999 * gdb.base/gdbvars.c: Ditto.
9000 * gdb.base/memattr.c: Ditto.
9001 * gdb.base/whatis.c: Ditto.
9002 * gdb.python/py-prettyprint.c: Ditto.
9003 * gdb.trace/actions.c: Ditto.
9004 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9005 ensure clang would not discard it.
9007 2014-04-24 David Blaikie <dblaikie@gmail.com>
9009 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9010 clang to emit the full definition of type required by the test
9011 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9013 2014-04-24 David Blaikie <dblaikie@gmail.com>
9015 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9016 coax Clang into emitting the definition of the type.
9017 * gdb.cp/pr10728-x.h (y): Ditto.
9018 * gdb.cp/pr10728-y.cc (y): Ditto.
9020 2014-04-24 David Blaikie <dblaikie@gmail.com>
9022 * gdb.base/label.exp: XFAIL label related tests under Clang.
9023 * gdb.cp/cplabel.exp: Ditto.
9024 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9025 under Clang those using labels.
9027 2014-04-25 Yao Qi <yao@codesourcery.com>
9029 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9031 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9032 partial_label and double_label.
9034 2014-04-24 David Blaikie <dblaikie@gmail.com>
9036 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9038 2014-04-24 David Blaikie <dblaikie@gmail.com>
9040 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9041 of the function to work across GCC and Clang.
9042 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9043 pointer types (const void ** const V void **).
9045 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9046 Walfred Tedeschi <walfred.tedeschi@intel.com>
9048 * Makefile.in (EXECUTABLES): Added i386-avx512.
9049 * gdb.arch/i386-avx512.c: New file.
9050 * gdb.arch/i386-avx512.exp: Likewise.
9052 2014-04-23 Keith Seitz <keiths@redhat.com>
9054 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9055 (mi_make_breakpoint_table): New procedure.
9056 (mi_create_breakpoint): Use mi_make_breakpoint
9057 and return the result.
9058 (mi_make_breakpoint): New procedure.
9059 (mi_build_kv_pairs): New procedure.
9061 * gdb.mi/mi-break.exp: Remove unused globals,
9062 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9063 All callers updated.
9064 * gdb.mi/mi-dprintf.exp: Use variable to track command
9066 Update all callers of mi_create_breakpoint and use
9067 mi_make_breakpoint_table.
9068 Remove any unused global variables.
9069 * gdb.mi/mi-nonstop.exp: Likewise.
9070 * gdb.mi/mi-nsintrall.exp: Likewise.
9071 * gdb.mi/mi-nsmoribund.exp: Likewise.
9072 * gdb.mi/mi-nsthrexec.exp: Likewise.
9073 * gdb.mi/mi-reverse.exp: Likewise.
9074 * gdb.mi/mi-simplerun.exp: Likewise.
9075 * gdb.mi/mi-stepn.exp: Likewise.
9076 * gdb.mi/mi-syn-frame.exp: Likewise.
9077 * gdb.mi/mi-until.exp: Likewise.
9078 * gdb.mi/mi-var-cp.exp: Likewise.
9079 * gdb.mi/mi-var-display.exp: Likewise.
9080 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9081 * gdb.mi/mi2-var-child.exp: Likewise.
9082 * gdb.mi/mi-vla-c99.exp: Likewise.
9083 * lib/mi-support.exp: Likewise.
9085 From Ian Lance Taylor <iant@cygnus.com>:
9086 * lib/gdb.exp (parse_args): New procedure.
9088 2014-04-23 Pedro Alves <palves@redhat.com>
9090 * gdb.base/break-unload-file.c: New file.
9091 * gdb.base/break-unload-file.exp: New file.
9092 * gdb.base/sym-file-lib.c (baz): New function.
9093 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9095 (load): Store the segment's mapped size.
9096 (unload): New function.
9097 (unload_shlib): New function.
9098 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9099 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9100 set a breakpoint at baz, and call it.
9101 * gdb.base/sym-file.exp: New tests for stale breakpoint
9104 2014-04-23 Pedro Alves <palves@redhat.com>
9106 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9107 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9108 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9109 * gdb.base/hbreak-unmapped.c: New file.
9110 * gdb.base/hbreak-unmapped.exp: New file.
9111 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9112 * lib/gdb.exp (gdb_is_target_remote): ... here.
9114 2014-04-22 Pedro Alves <palves@redhat.com>
9116 * gdb.base/consecutive-step-over.c: New file.
9117 * gdb.base/consecutive-step-over.exp: New file.
9119 2014-04-22 Pedro Alves <palves@redhat.com>
9121 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9122 instead of send_gdb/gdb_expect.
9124 2014-04-22 Yao Qi <yao@codesourcery.com>
9126 * lib/trace-support.exp (generate_tracefile): New procedure.
9127 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9129 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9130 if generate_tracefile returns 1.
9132 2014-04-18 Tom Tromey <palves@redhat.com>
9133 Pedro alves <tromey@redhat.com>
9136 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9137 with a backtrace limit.
9138 * gdb.python/py-frame-inline.exp: Test running to an inline
9139 function with a backtrace limit, and printing the newest frame.
9140 * gdb.python/py-frame-inline.c (main): Call f.
9142 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9144 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9146 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9148 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9149 Drop prefix from unsupported source file path.
9151 2014-04-17 Yao Qi <yao@codesourcery.com>
9153 * lib/gdb.exp (with_target_charset): New proc.
9154 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9155 with_target_charset.
9156 (test_print_strings): Likewise.
9157 (test_repeat_bytes): Likewise.
9158 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9161 2014-04-16 Keith Seitz <keiths@redhat.com>
9164 * gdb.dwarf2/corrupt.c: New file.
9165 * gdb.dwarf2/corrupt.exp: New file.
9167 2014-04-16 Keith Seitz <keiths@redhat.com>
9170 * gdb.cp/namelessclass.cc: New file.
9171 * gdb.cp/namelessclass.exp: New file.
9172 * gdb.cp/namelessclass.S: New file.
9174 2014-04-16 Doug Evans <dje@google.com>
9176 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9178 (gdbserver_default_get_comm_port): New function.
9179 (gdbserver_start): Check if board file provided
9180 "gdbserver,get_comm_port" and use it if so.
9181 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9182 (gdb,socketport): Set to "stdio".
9183 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9184 (stdio_gdbserver_template): Delete.
9185 (${board}_get_remote_address): Update.
9186 (${board}_build_remote_cmd): Delete.
9187 (${board}_get_comm_port): New function.
9188 (${board}_spawn): Update.
9189 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9191 (${board}_get_remote_address): Update.
9192 (${board}_get_comm_port): New function.
9194 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
9196 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9197 appearing in any order.
9199 2014-04-15 Doug Evans <dje@google.com>
9201 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9202 uninitialized value of "description".
9204 2014-04-15 Keith Seitz <keiths@redhat.com>
9206 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9207 Remove unused globals.
9208 (test_running_the_program): Likewise.
9209 (test_controlled_execution): Likewise.
9210 (test_controlling_breakpoints): Likewise.
9211 (test_program_termination): Likewise.
9213 2014-04-15 Keith Seitz <keiths@redhat.com>
9215 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9217 (test_rbreak_creation_and_listing): Likewise.
9218 (test_ignore_count): Likewise.
9219 (test_error): Likewise.
9221 2014-04-15 Pedro Alves <palves@redhat.com>
9223 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9224 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9226 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9227 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9228 to sym-file-loader.c.
9229 (struct library): Forward declare.
9230 (load_shlib, lookup_function): Change prototypes.
9231 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9232 (translate_offset): Remove declarations.
9233 (get_text_addr): New declaration.
9234 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9235 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9237 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9238 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9239 here from sym-file-loader.h.
9240 (struct library): New structure.
9241 (load_shlib, lookup_function): Change prototypes and adjust to
9242 work with a struct library.
9243 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9244 (translate_offset): Make static.
9245 (get_text_addr): New function.
9246 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9248 2014-04-15 Pedro Alves <palves@redhat.com>
9250 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9252 2014-04-15 Pedro Alves <palves@redhat.com>
9254 * gdb.base/sym-file-loader.c: Include <limits.h>.
9255 (SELF_LINK): New define.
9256 (get_origin): New function.
9257 (load_shlib): Use it.
9258 * gdb.base/sym-file.exp: Don't early return if the target is
9259 remote. Use runto_main, and issue fail is that fails. Use
9261 (shlib_name): Delete.
9262 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9264 2014-04-15 Pedro Alves <palves@redhat.com>
9266 * gdb.base/sym-file.exp: Remove regex characters from test
9267 message. Don't refer to breakpoint numbers in test messages.
9269 2014-04-14 Keith Seitz <keiths@redhat.com>
9272 * gdb.cp/var-tag.cc: New file.
9273 * gdb.cp/var-tag.exp: New file.
9274 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9275 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9276 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9277 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9279 2014-04-14 Tom Tromey <tromey@redhat.com>
9281 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9282 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9284 * gdb.cp/enum-class.exp: New file.
9285 * gdb.cp/enum-class.cc: New file.
9287 2014-04-14 Tom Tromey <tromey@redhat.com>
9289 * gdb.dwarf2/enum-type.exp: New file.
9291 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9293 * gdb.mi/mi-vla-c99.exp: New file.
9294 * gdb.mi/vla.c: New file.
9296 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9298 * gdb.base/vla-datatypes.c: New file.
9299 * gdb.base/vla-datatypes.exp: New file.
9301 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9303 * gdb.base/vla-ptr.c: New file.
9304 * gdb.base/vla-ptr.exp: New file.
9306 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9308 * gdb.dwarf2/count.exp: New file.
9310 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9312 * gdb.base/vla-sideeffect.c: New file.
9313 * gdb.base/vla-sideeffect.exp: New file.
9315 2014-04-14 David Blaikie <dblaikie@gmail.com>
9317 * gdb.mi/non-stop.c: Add return value for non-void function return
9319 * gdb.threads/staticthreads.c: Ditto.
9321 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9322 Doug Evans <xdje42@gmail.com>
9324 * gdb.guile/scm-value.c: Improve test case.
9325 * gdb.guile/scm-value.exp: Add new test.
9327 2014-04-11 David Blaikie <dblaikie@gmail.com>
9329 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9330 override Clang's default.
9332 2014-04-11 Joel Brobecker <brobecker@adacore.com>
9334 Revert the following changes (regressions):
9336 * gdb.base/vla-sideeffect.c: New file.
9337 * gdb.base/vla-sideeffect.exp: New file.
9339 * gdb.dwarf2/count.exp: New file.
9341 * gdb.base/vla-multi.c: New file.
9342 * gdb.base/vla-multi.exp: New file.
9344 * gdb.base/vla-ptr.c: New file.
9345 * gdb.base/vla-ptr.exp: New file.
9347 * gdb.base/vla-datatypes.c: New file.
9348 * gdb.base/vla-datatypes.exp: New file.
9350 * gdb.mi/mi-vla-c99.exp: New file.
9351 * gdb.mi/vla.c: New file.
9353 2014-04-11 Keith Seitz <keiths@redhat.com>
9356 * gdb.cp/cpsizeof.exp: New file.
9357 * gdb.cp/cpsizeof.cc: New file.
9359 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9361 * gdb.mi/mi-vla-c99.exp: New file.
9362 * gdb.mi/vla.c: New file.
9364 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9366 * gdb.base/vla-datatypes.c: New file.
9367 * gdb.base/vla-datatypes.exp: New file.
9369 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9371 * gdb.base/vla-ptr.c: New file.
9372 * gdb.base/vla-ptr.exp: New file.
9374 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9376 * gdb.base/vla-multi.c: New file.
9377 * gdb.base/vla-multi.exp: New file.
9379 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9381 * gdb.dwarf2/count.exp: New file.
9383 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9385 * gdb.base/vla-sideeffect.c: New file.
9386 * gdb.base/vla-sideeffect.exp: New file.
9388 2014-04-11 Yao Qi <yao@codesourcery.com>
9390 * gdb.base/completion.exp: Check file exists before running tests
9393 2014-04-10 Pedro Alves <palves@redhat.com>
9395 * gdb.base/cond-eval-mode.c: New file.
9396 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9397 prepare_for_testing to build the new file. Check result of
9399 (test_break, test_watch): New procedures.
9400 (top level): Use them.
9402 2014-04-08 Pierre Muller <muller@sourceware.org>
9404 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9405 Ctrl-V use for mingw hosts.
9407 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9409 * gdb.python/py-value.c: Improve test case.
9410 * gdb.python/py-value.exp: Add new test.
9412 2014-04-07 David Blaikie <dblaikie@gmail.com>
9414 * lib/compiler.c: Identify the clang compiler.
9415 * lib/compiler.cc: Ditto.
9417 2014-04-03 Yao Qi <yao@codesourcery.com>
9419 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9421 2014-04-01 Anton Blanchard <anton@samba.org>
9423 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9426 2014-04-01 Anton Blanchard <anton@samba.org>
9428 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9429 prepare_for_testing.
9431 2014-04-01 Anton Blanchard <anton@samba.org>
9433 * gdb.arch/ppc64-atomic-inst.c: Remove.
9434 * gdb.arch/ppc64-atomic-inst.S: New file.
9435 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9437 2014-03-31 Doug Evans <dje@google.com>
9439 * gdb.base/print-symbol-loading-lib.c: New file.
9440 * gdb.base/print-symbol-loading-main.c: New file.
9441 * gdb.base/print-symbol-loading.exp: New file.
9443 2014-03-31 Yao Qi <yao@codesourcery.com>
9445 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9447 2014-03-28 Joel Brobecker <brobecker@adacore.com>
9449 * gdb.ada/mi_dyn_arr: New testcase.
9451 2014-03-27 Doug Evans <dje@google.com>
9453 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9455 2014-03-27 Yao Qi <yao@codesourcery.com>
9457 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9458 if target is nios2-*-*.
9460 2014-03-26 Yao Qi <yao@codesourcery.com>
9462 * lib/gdb.exp (readline_is_used): New proc.
9463 * gdb.base/completion.exp: Move tests on command complete up.
9464 Skip the rest of tests if readline is not used.
9465 * gdb.ada/complete.exp: Skp the test if readline is not
9467 * gdb.base/filesym.exp: Likewise.
9468 * gdb.base/macscp.exp: Likewise.
9469 * gdb.base/readline-ask.exp: Likewise.
9470 * gdb.base/readline.exp: Likewise.
9471 * gdb.python/py-cmd.exp: Likewise.
9472 * gdb.trace/tfile.exp: Likewise.
9474 2014-03-26 Yao Qi <yao@codesourcery.com>
9476 * gdb.base/macscp.exp: Fix code format issues.
9478 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9480 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9481 * gdb.asm/powerpc64le.inc: New file.
9483 2014-03-25 Pedro Alves <palves@redhat.com>
9484 Doug Evans <dje@google.com>
9486 * gdb.base/source-execution.c: New file.
9487 * gdb.base/source-execution.exp: New file.
9488 * gdb.base/source-execution.gdb: New file.
9490 2014-03-24 Doug Evans <dje@google.com>
9492 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9495 2014-03-24 Hui Zhu <hui@codesourcery.com>
9496 Pedro Alves <palves@redhat.com>
9498 PR breakpoints/16101
9499 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9500 test pass/fail messages. Detect missing support for dprintf when
9501 breakpoints are actually inserted.
9502 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9503 breakpoints are actually inserted.
9504 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9507 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9509 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9511 2014-03-22 Doug Evans <xdje42@gmail.com>
9513 * gdb.python/python.exp (python not supported): Verify multi-line
9514 python command issues an error.
9515 * gdb.guile/guile.exp (guile not supported): Verify multi-line
9516 guile command issues an error.
9518 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9520 * gdb.threads/thread-specific.exp: Handle the lack of usable
9521 $this_breakpoint and $this_thread.
9523 2014-03-21 Hui Zhu <hui@codesourcery.com>
9525 * gdb.base/attach.exp (do_command_attach_tests): New.
9527 2014-03-20 Tom Tromey <tromey@redhat.com>
9528 Pedro Alves <palves@redhat.com>
9531 * gdb.base/condbreak-call-false.c: New file.
9532 * gdb.base/condbreak-call-false.exp: New file.
9534 2014-03-20 Pedro Alves <palves@redhat.com>
9536 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9538 (block_signals, unblock_signals): Delete.
9539 (child_function_2, main): Remove references to deleted variable
9542 2014-03-20 Pedro Alves <palves@redhat.com>
9544 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9545 Use pthread_kill to signal thread 2.
9546 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9547 Adjust to make the test send itself a signal rather than using the
9548 host's "kill" command.
9550 2014-03-20 Pedro Alves <palves@redhat.com>
9552 * gdb.threads/multiple-step-overs.c: New file.
9553 * gdb.threads/multiple-step-overs.exp: New file.
9554 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9555 Adjust expected infrun debug output.
9557 2014-03-20 Pedro Alves <palves@redhat.com>
9559 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9560 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9562 2014-03-20 Pedro Alves <palves@redhat.com>
9565 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9566 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9567 of gdb_test_multiple.
9568 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9569 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9571 2014-03-20 Pedro Alves <palves@redhat.com>
9573 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9574 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9576 2014-03-19 Pedro Alves <palves@redhat.com>
9578 * gdb.base/async.exp: Remove early return.
9580 2014-03-19 Pedro Alves <palves@redhat.com>
9582 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9584 2014-03-19 Pedro Alves <palves@redhat.com>
9586 * gdb.base/async.exp (test_background): Expect \r\n after
9587 "completed." in the fail pattern.
9589 2014-03-19 Pedro Alves <palves@redhat.com>
9591 * gdb.base/async.exp (test_background): New procedure.
9592 Use it for all background execution command tests.
9594 2014-03-19 Pedro Alves <palves@redhat.com>
9596 * gdb.base/async.exp: Use prepare_for_testing.
9598 2014-03-19 Pedro Alves <palves@redhat.com>
9600 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9603 2014-03-19 Pedro Alves <palves@redhat.com>
9605 * gdb.base/async.c (main): Add "jump here" and "until here" line
9607 * gdb.base/async.exp (jump_here): New global.
9608 (jump& test): Use it.
9609 (until_here): New global.
9610 (until& test): Use it.
9612 2014-03-19 Pedro Alves <palves@redhat.com>
9614 * gdb.base/async.exp: Don't frob gdb_protocol.
9616 2014-03-18 Doug Evans <xdje42@gmail.com>
9618 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9619 Fix spelling of exec-done-display.
9621 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9624 * gdb.base/gdb-sigterm.c: New file.
9625 * gdb.base/gdb-sigterm.exp: New file.
9627 2014-03-18 Pedro Alves <palves@redhat.com>
9630 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9631 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9634 2014-03-17 Joel Brobecker <brobecker@adacore.com>
9636 * gdb.ada/pckd_arr_ren: New testcase.
9638 2014-03-13 Doug Evans <xdje42@gmail.com>
9641 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9642 collect after discarding symbols.
9644 2014-03-13 Ludovic Courtès <ludo@gnu.org>
9645 Doug Evans <xdje42@gmail.com>
9647 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9648 to history survives a gc.
9650 2014-03-13 Pedro Alves <palves@redhat.com>
9652 * gdb.base/default.exp: Don't test "target procfs".
9654 2014-03-13 Pedro Alves <palves@redhat.com>
9656 * gdb.base/default.exp: Update "target child" and "target procfs"
9657 tests to not expect "Unix".
9659 2014-03-12 Tom Tromey <tromey@redhat.com>
9661 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9662 New procs. Add target-async tests.
9663 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9664 Add target-async tests.
9666 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9668 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9669 'func_start' and 'func_end' for the beginning and end of the
9670 function code, respectively.
9671 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9672 'func_end' instead of 'func' and 'main'.
9674 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9676 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9677 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9678 generate the debug info assembler source.
9680 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9682 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9683 * gdb.dwarf2/arr-subrange.exp: Likewise.
9684 * gdb.dwarf2/dwz.exp: Likewise.
9685 * gdb.dwarf2/method-ptr.exp: Likewise.
9686 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9687 * gdb.dwarf2/subrange.exp: Likewise.
9688 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9689 * gdb.dwarf2/implptrpiece.exp: Likewise.
9690 * gdb.dwarf2/nostaticblock.exp: Likewise.
9692 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9694 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9695 directory to absolute path name arguments.
9697 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9699 * gdb.ada/tagged_access: New testcase.
9701 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9703 * gdb.btrace/data.exp: Update expected output.
9705 2014-03-06 Yao Qi <yao@codesourcery.com>
9707 * gdb.trace/pr16508.exp: New file.
9709 2014-03-05 Pedro Alves <palves@redhat.com>
9712 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9714 (top level): Adjust to use it. Add tests that exercise breakpoint
9715 interaction with the code-cache.
9717 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9719 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9720 test for 'history-append!'.
9722 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9724 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9725 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9726 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9727 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9728 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9729 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9731 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9733 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9734 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9735 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9737 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9739 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9741 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9743 * gdb.dwarf2/arr-stride.c: New file.
9744 * gdb.dwarf2/arr-stride.exp: New file.
9746 2014-02-26 Pedro Alves <palves@redhat.com>
9748 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9749 that won't ever trigger. Make sure that GDB reports the correct
9750 breakpoint that caused the stop.
9752 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9755 * gdb.base/auto-load-script: New file.
9756 * gdb.base/auto-load.c: New file.
9757 * gdb.base/auto-load.exp: New file.
9760 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9762 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9764 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9765 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9767 2014-02-24 Doug Evans <dje@google.com>
9769 * lib/gdb.exp (run_on_host): Log error output if program fails.
9771 2014-02-21 Pedro Alves <palves@redhat.com>
9773 * gdb.threads/step-after-sr-lock.c: Rename to ...
9774 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9775 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9776 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9779 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9782 * gdb.arch/amd64-stap-special-operands.exp: New file.
9783 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9784 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9785 * gdb.arch/amd64-stap-triplet.S: Likewise.
9786 * gdb.arch/amd64-stap-triplet.c: Likewise.
9788 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9790 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9791 in .section pseudo-op.
9793 2014-02-20 lin zuojian <manjian2006@gmail.com>
9794 Joel Brobecker <brobecker@adacore.com>
9795 Doug Evans <xdje42@gmail.com>
9798 * gdb.dwarf2/dw2-icycle.S: New file.
9799 * gdb.dwarf2/dw2-icycle.c: New file.
9800 * gdb.dwarf2/dw2-icycle.exp: New file.
9802 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9804 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9805 operations on gdb.Value objects.
9806 * gdb.python/py-value-cc.exp: Add new test to test operations on
9809 2014-02-18 Doug Evans <dje@google.com>
9811 * Makefile.in (TESTS): New variable.
9812 (expanded_tests, expanded_tests_or_none): New variables
9813 (check-single): Pass $(expanded_tests_or_none) to runtest.
9814 (check-parallel): Only run tests in $(TESTS) if non-empty.
9815 (check/no-matching-tests-found): New rule.
9816 * README: Document TESTS makefile variable.
9818 2014-02-18 Doug Evans <dje@google.com>
9820 * Makefile.in (check-parallel): rm -rf outputs temp.
9822 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9824 Fix "ERROR: no fileid for" in the testsuite.
9825 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9827 2014-02-12 Doug Evans <dje@google.com>
9829 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9830 (MISCELLANEOUS): New variable.
9831 (clean): rm -rf $(MISCELLANEOUS).
9832 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9833 dwp live in the same directory as symlinks, with each symlink pointed
9834 to a differently named file in a different directory.
9836 2014-02-11 Doug Evans <dje@google.com>
9838 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9839 of Tcl file commands.
9841 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9843 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9846 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9848 * gdb.ada/tick_length_array_enum_idx: New testcase.
9850 2014-02-10 Doug Evans <xdje42@gmail.com>
9852 * configure.ac (AC_OUTPUT): Add gdb.guile.
9853 * configure: Regenerate.
9854 * lib/gdb-guile.exp: New file.
9855 * lib/gdb.exp (get_target_charset): New function.
9856 * gdb.base/help.exp: Update expected output from "apropos apropos".
9857 * gdb.guile/Makefile.in: New file.
9858 * gdb.guile/guile.exp: New file.
9859 * gdb.guile/scm-arch.c: New file.
9860 * gdb.guile/scm-arch.exp: New file.
9861 * gdb.guile/scm-block.c: New file.
9862 * gdb.guile/scm-block.exp: New file.
9863 * gdb.guile/scm-breakpoint.c: New file.
9864 * gdb.guile/scm-breakpoint.exp: New file.
9865 * gdb.guile/scm-disasm.c: New file.
9866 * gdb.guile/scm-disasm.exp: New file.
9867 * gdb.guile/scm-equal.c: New file.
9868 * gdb.guile/scm-equal.exp: New file.
9869 * gdb.guile/scm-error.exp: New file.
9870 * gdb.guile/scm-error.scm: New file.
9871 * gdb.guile/scm-frame-args.c: New file.
9872 * gdb.guile/scm-frame-args.exp: New file.
9873 * gdb.guile/scm-frame-args.scm: New file.
9874 * gdb.guile/scm-frame-inline.c: New file.
9875 * gdb.guile/scm-frame-inline.exp: New file.
9876 * gdb.guile/scm-frame.c: New file.
9877 * gdb.guile/scm-frame.exp: New file.
9878 * gdb.guile/scm-generics.exp: New file.
9879 * gdb.guile/scm-gsmob.exp: New file.
9880 * gdb.guile/scm-iterator.c: New file.
9881 * gdb.guile/scm-iterator.exp: New file.
9882 * gdb.guile/scm-math.c: New file.
9883 * gdb.guile/scm-math.exp: New file.
9884 * gdb.guile/scm-objfile-script-gdb.in: New file.
9885 * gdb.guile/scm-objfile-script.c: New file.
9886 * gdb.guile/scm-objfile-script.exp: New file.
9887 * gdb.guile/scm-objfile.c: New file.
9888 * gdb.guile/scm-objfile.exp: New file.
9889 * gdb.guile/scm-ports.exp: New file.
9890 * gdb.guile/scm-pretty-print.c: New file.
9891 * gdb.guile/scm-pretty-print.exp: New file.
9892 * gdb.guile/scm-pretty-print.scm: New file.
9893 * gdb.guile/scm-section-script.c: New file.
9894 * gdb.guile/scm-section-script.exp: New file.
9895 * gdb.guile/scm-section-script.scm: New file.
9896 * gdb.guile/scm-symbol.c: New file.
9897 * gdb.guile/scm-symbol.exp: New file.
9898 * gdb.guile/scm-symtab-2.c: New file.
9899 * gdb.guile/scm-symtab.c: New file.
9900 * gdb.guile/scm-symtab.exp: New file.
9901 * gdb.guile/scm-type.c: New file.
9902 * gdb.guile/scm-type.exp: New file.
9903 * gdb.guile/scm-value-cc.cc: New file.
9904 * gdb.guile/scm-value-cc.exp: New file.
9905 * gdb.guile/scm-value.c: New file.
9906 * gdb.guile/scm-value.exp: New file.
9907 * gdb.guile/source2.scm: New file.
9908 * gdb.guile/types-module.cc: New file.
9909 * gdb.guile/types-module.exp: New file.
9911 2014-02-10 Yao Qi <yao@codesourcery.com>
9914 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9915 * configure: Regenerated.
9916 * Makefile.in: New file.
9918 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9920 * gdb.python/py-framefilter.exp: Fix typo.
9922 2014-02-08 Yao Qi <yao@codesourcery.com>
9924 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9925 that no =breakpoint-modified is emitted when breakpoints are
9926 modified through MI commands.
9928 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9929 Pedro Alves <palves@redhat.com>
9931 * gdb.threads/step-after-sr-lock.c: New file.
9932 * gdb.threads/step-after-sr-lock.exp: New file.
9934 2014-02-07 Pedro Alves <palves@redhat.com>
9936 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9938 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9940 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9941 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9943 2014-02-06 Doug Evans <xdje42@gmail.com>
9945 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9948 * gdb.gdb/python-interrupts.exp: New file.
9950 2014-02-05 Yao Qi <yao@codesourcery.com>
9952 * gdb.trace/report.exp (use_collected_data): Test the output
9953 of "info threads" and "info inferiors".
9955 2014-02-05 Yao Qi <yao@codesourcery.com>
9959 2013-05-24 Yao Qi <yao@codesourcery.com>
9961 * gdb.trace/tfile.exp: Test inferior and thread.
9963 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9965 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9967 * gdb.base/step-bt.c: Call hello via function pointer to make
9968 sure its first instruction is executed on powerpc64le-linux.
9970 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9972 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9974 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9976 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9977 of the test patterns for use on little-endian systems.
9979 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9981 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9982 (decimal_vector): Fix for little-endian.
9984 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9986 * gdb.arch/sparc-sysstep.exp: New file.
9987 * gdb.arch/sparc-sysstep.c: Likewise.
9989 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9991 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9993 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9995 2014-01-23 Tom Tromey <tromey@redhat.com>
9997 * gdb.ada/array_char_idx: New testcase.
9999 2014-01-23 Tom Tromey <tromey@redhat.com>
10002 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10003 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10006 2014-01-23 Tom Tromey <tromey@redhat.com>
10009 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10010 string from an inferior frame.
10011 * gdb.python/py-framefilter-mi.exp: Update.
10013 2014-01-22 Doug Evans <dje@google.com>
10015 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10017 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10019 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10021 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10023 * gdb.trace/entry-values.exp: Remove excess space character from
10024 regex patterns. Handle s390 call instruction.
10026 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10028 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10029 define "*_start" label. Make "name" static.
10030 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10031 ${name} by references to ${name}_start.
10033 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10035 * gdb.base/info-macros.exp: Remove "debug" from the compile
10038 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10040 * gdb.dlang/demangle.exp: New file.
10042 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10044 * gdb.dlang/primitive-types.exp: New file.
10046 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10048 * configure.ac: Create gdb.dlang/Makefile.
10049 * configure: Regenerate.
10050 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10051 * gdb.dlang/Makefile.in: New file.
10052 * lib/d-support.exp: New file.
10053 * lib/gdb.exp (skip_d_tests): New proc.
10055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10057 * gdb.btrace/delta.exp: Check reverse stepi.
10058 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10059 * gdb.btrace/finish.exp: New.
10060 * gdb.btrace/next.exp: New.
10061 * gdb.btrace/nexti.exp: New.
10062 * gdb.btrace/record_goto.c: Add comments.
10063 * gdb.btrace/step.exp: New.
10064 * gdb.btrace/stepi.exp: New.
10065 * gdb.btrace/multi-thread-step.c: New.
10066 * gdb.btrace/multi-thread-step.exp: New.
10067 * gdb.btrace/rn-dl-bind.c: New.
10068 * gdb.btrace/rn-dl-bind.exp: New.
10069 * gdb.btrace/data.c: New.
10070 * gdb.btrace/data.exp: New.
10071 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10073 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10075 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10076 * gdb.btrace/exception.exp: Update.
10077 * gdb.btrace/instruction_history.exp: Update.
10078 * gdb.btrace/record_goto.exp: Update.
10079 * gdb.btrace/tailcall.exp: Update.
10080 * gdb.btrace/unknown_functions.exp: Update.
10081 * gdb.btrace/delta.exp: New.
10083 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10085 * gdb.btrace/record_goto.exp: Add backtrace test.
10086 * gdb.btrace/tailcall.exp: Add backtrace test.
10088 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10090 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10091 * gdb.btrace/record_goto.c: New.
10092 * gdb.btrace/record_goto.exp: New.
10093 * gdb.btrace/x86-record_goto.S: New.
10095 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10097 * gdb.btrace/function_call_history.exp: Update tests.
10098 * gdb.btrace/instruction_history.exp: Update tests.
10100 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10102 * gdb.btrace/function_call_history.exp: Fix expected field
10103 order for "record function-call-history".
10104 Add new tests for "record function-call-history /c".
10105 * gdb.btrace/exception.cc: New.
10106 * gdb.btrace/exception.exp: New.
10107 * gdb.btrace/tailcall.exp: New.
10108 * gdb.btrace/x86-tailcall.S: New.
10109 * gdb.btrace/x86-tailcall.c: New.
10110 * gdb.btrace/unknown_functions.c: New.
10111 * gdb.btrace/unknown_functions.exp: New.
10112 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10116 * gdb.btrace/instruction_history.exp: Update.
10117 * gdb.btrace/function_call_history.exp: Update.
10119 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10121 * gdb.btrace/function_call_history.exp: Fix expected function
10123 * gdb.btrace/instruction_history.exp: Initialize traced.
10124 Remove traced_functions.
10126 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10128 * gdb.btrace/function_call_history.exp: Update
10129 * gdb.btrace/instruction_history.exp: Update.
10131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10133 * gdb.btrace/enable.exp: Update expected text.
10135 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10137 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10140 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10142 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10144 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10146 * lib/gdb.exp (supports_process_record): Return true for
10147 arm*-linux*. (supports_reverse): Likewise.
10149 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10153 * gdb.python/py-type.c: Enhance test case.
10154 * gdb.python/py-value-cc.cc: Likewise
10155 * gdb.python/py-type.exp: Add new tests.
10156 * gdb.python/py-value-cc.exp: Likewise
10158 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10159 Pedro Alves <palves@redhat.com>
10161 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10162 Make "name" extern.
10163 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10164 references to ${name}_start by references to ${name}.
10166 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10168 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10170 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10172 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10174 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10175 Pedro Alves <palves@redhat.com>
10177 * gdb.mi/mi-info-os.exp: Connect to the target with
10178 mi_gdb_target_load.
10180 2014-01-08 Pedro Alves <palves@redhat.com>
10182 * gdb.threads/reconnect-signal.c: New file.
10183 * gdb.threads/reconnect-signal.exp: New file.
10185 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10187 * gdb.base/source-dir.exp: New file.
10189 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10191 * gdb.ada/mi_interface: New testcase.
10193 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10195 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10196 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10197 gdb.ada/pp-rec-component/pck.ads: New files.
10199 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10201 * gdb.python/py-pp-integral.c: New file.
10202 * gdb.python/py-pp-integral.py: New file.
10203 * gdb.python/py-pp-integral.exp: New file.
10205 For older changes see ChangeLog-1993-2013.
10207 ;; Local Variables:
10208 ;; mode: change-log
10211 ;; version-control: never
10214 Copyright 2014-2016 Free Software Foundation, Inc.
10215 Copying and distribution of this file, with or without modification,
10216 are permitted provided the copyright notice and this notice are preserved.