1 2016-12-09 Pedro Alves <palves@redhat.com>
3 * gdb.base/all-architectures-0.exp: New file.
4 * gdb.base/all-architectures-1.exp: New file.
5 * gdb.base/all-architectures-2.exp: New file.
6 * gdb.base/all-architectures-3.exp: New file.
7 * gdb.base/all-architectures-4.exp: New file.
8 * gdb.base/all-architectures-5.exp: New file.
9 * gdb.base/all-architectures-6.exp: New file.
10 * gdb.base/all-architectures-7.exp: New file.
11 * gdb.base/all-architectures.exp.in: New file.
13 2016-12-09 Yao Qi <yao.qi@linaro.org>
15 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
17 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
19 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
21 Remove useless pattern-matching code.
23 2016-12-02 Pedro Alves <palves@redhat.com>
25 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
29 2016-12-02 Pedro Alves <palves@redhat.com>
31 * gdb.base/commands.exp (user_defined_command_args_stack_test):
35 2016-12-02 Pedro Alves <palves@redhat.com>
38 * gdb.base/commands.exp (user_defined_command_args_eval): New
42 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
44 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
47 2016-12-02 Tom Tromey <tom@tromey.com>
49 * gdb.dwarf2/main-subprogram.c: New file.
50 * gdb.dwarf2/main-subprogram.exp: New file.
52 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
54 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
55 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
56 gdb_test_no_output for a couple of cases.
57 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
59 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
61 Fix test names and standardize compilation error messages throughout
65 * gdb.arch/alpha-step.exp
66 * gdb.arch/e500-prologue.exp
67 * gdb.arch/ftrace-insn-reloc.exp
68 * gdb.arch/gdb1291.exp
69 * gdb.arch/gdb1431.exp
70 * gdb.arch/gdb1558.exp
71 * gdb.arch/i386-dr3-watch.exp
72 * gdb.arch/i386-sse-stack-align.exp
73 * gdb.arch/ia64-breakpoint-shadow.exp
74 * gdb.arch/pa-nullify.exp
75 * gdb.arch/powerpc-aix-prologue.exp
76 * gdb.arch/thumb-bx-pc.exp
77 * gdb.base/annota1.exp
78 * gdb.base/annota3.exp
79 * gdb.base/arrayidx.exp
84 * gdb.base/bfp-test.exp
85 * gdb.base/bigcore.exp
86 * gdb.base/bitfields2.exp
87 * gdb.base/break-fun-addr.exp
88 * gdb.base/break-probes.exp
89 * gdb.base/call-rt-st.exp
90 * gdb.base/callexit.exp
91 * gdb.base/catch-fork-kill.exp
92 * gdb.base/charset.exp
93 * gdb.base/checkpoint.exp
94 * gdb.base/comprdebug.exp
95 * gdb.base/constvars.exp
96 * gdb.base/coredump-filter.exp
100 * gdb.base/display.exp
102 * gdb.base/dprintf-pending.exp
103 * gdb.base/dso2dso.exp
104 * gdb.base/dtrace-probe.exp
106 * gdb.base/enum_cond.exp
107 * gdb.base/exe-lock.exp
108 * gdb.base/exec-invalid-sysroot.exp
109 * gdb.base/execl-update-breakpoints.exp
111 * gdb.base/fileio.exp
113 * gdb.base/finish.exp
114 * gdb.base/fixsection.exp
115 * gdb.base/foll-vfork.exp
116 * gdb.base/frame-args.exp
118 * gdb.base/gdb1250.exp
119 * gdb.base/global-var-nested-by-dso.exp
120 * gdb.base/gnu-ifunc.exp
121 * gdb.base/hashline1.exp
122 * gdb.base/hashline2.exp
123 * gdb.base/hashline3.exp
124 * gdb.base/hbreak-in-shr-unsupported.exp
126 * gdb.base/infcall-input.exp
127 * gdb.base/info-fun.exp
128 * gdb.base/info-shared.exp
129 * gdb.base/jit-simple.exp
130 * gdb.base/jit-so.exp
134 * gdb.base/lineinc.exp
135 * gdb.base/logical.exp
136 * gdb.base/longjmp.exp
137 * gdb.base/macscp.exp
138 * gdb.base/miscexprs.exp
139 * gdb.base/new-ui-echo.exp
140 * gdb.base/new-ui-pending-input.exp
141 * gdb.base/new-ui.exp
142 * gdb.base/nodebug.exp
143 * gdb.base/nofield.exp
144 * gdb.base/offsets.exp
145 * gdb.base/overlays.exp
146 * gdb.base/pending.exp
147 * gdb.base/pointers.exp
148 * gdb.base/pr11022.exp
149 * gdb.base/printcmds.exp
150 * gdb.base/prologue.exp
151 * gdb.base/ptr-typedef.exp
152 * gdb.base/realname-expand.exp
153 * gdb.base/relativedebug.exp
154 * gdb.base/relocate.exp
155 * gdb.base/remote.exp
156 * gdb.base/reread.exp
157 * gdb.base/return2.exp
158 * gdb.base/savedregs.exp
160 * gdb.base/sepdebug.exp
161 * gdb.base/sepsymtab.exp
162 * gdb.base/set-inferior-tty.exp
163 * gdb.base/setshow.exp
164 * gdb.base/shlib-call.exp
165 * gdb.base/sigaltstack.exp
166 * gdb.base/siginfo-addr.exp
167 * gdb.base/signals.exp
168 * gdb.base/signull.exp
169 * gdb.base/sigrepeat.exp
170 * gdb.base/so-impl-ld.exp
171 * gdb.base/solib-display.exp
172 * gdb.base/solib-overlap.exp
173 * gdb.base/solib-search.exp
174 * gdb.base/solib-symbol.exp
175 * gdb.base/structs.exp
176 * gdb.base/structs2.exp
177 * gdb.base/symtab-search-order.exp
179 * gdb.base/unload.exp
180 * gdb.base/varargs.exp
181 * gdb.base/watchpoint-solib.exp
182 * gdb.base/watchpoint.exp
183 * gdb.base/whatis.exp
184 * gdb.base/wrong_frame_bt_full.exp
185 * gdb.btrace/dlopen.exp
186 * gdb.cell/ea-standalone.exp
187 * gdb.cell/ea-test.exp
191 * gdb.cp/nextoverthrow.exp
193 * gdb.disasm/am33.exp
194 * gdb.disasm/h8300s.exp
195 * gdb.disasm/mn10300.exp
197 * gdb.dwarf2/dw2-dir-file-name.exp
198 * gdb.fortran/complex.exp
199 * gdb.fortran/library-module.exp
200 * gdb.guile/scm-pretty-print.exp
201 * gdb.guile/scm-symbol.exp
202 * gdb.guile/scm-type.exp
203 * gdb.guile/scm-value.exp
204 * gdb.linespec/linespec.exp
207 * gdb.mi/mi-breakpoint-changed.exp
208 * gdb.mi/mi-dprintf-pending.exp
209 * gdb.mi/mi-dprintf.exp
210 * gdb.mi/mi-exit-code.exp
211 * gdb.mi/mi-pending.exp
212 * gdb.mi/mi-solib.exp
213 * gdb.mi/new-ui-mi-sync.exp
215 * gdb.mi/user-selected-context-sync.exp
216 * gdb.opt/solib-intra-step.exp
217 * gdb.python/py-events.exp
218 * gdb.python/py-finish-breakpoint.exp
219 * gdb.python/py-mi.exp
220 * gdb.python/py-prettyprint.exp
221 * gdb.python/py-shared.exp
222 * gdb.python/py-symbol.exp
223 * gdb.python/py-template.exp
224 * gdb.python/py-type.exp
225 * gdb.python/py-value.exp
226 * gdb.reverse/solib-precsave.exp
227 * gdb.reverse/solib-reverse.exp
228 * gdb.server/solib-list.exp
229 * gdb.stabs/weird.exp
230 * gdb.threads/reconnect-signal.exp
231 * gdb.threads/stepi-random-signal.exp
232 * gdb.trace/actions.exp
234 * gdb.trace/backtrace.exp
235 * gdb.trace/change-loc.exp
236 * gdb.trace/deltrace.exp
237 * gdb.trace/ftrace-lock.exp
238 * gdb.trace/ftrace.exp
239 * gdb.trace/infotrace.exp
240 * gdb.trace/mi-tracepoint-changed.exp
241 * gdb.trace/packetlen.exp
242 * gdb.trace/passcount.exp
243 * gdb.trace/pending.exp
244 * gdb.trace/range-stepping.exp
245 * gdb.trace/report.exp
246 * gdb.trace/stap-trace.exp
247 * gdb.trace/tfind.exp
248 * gdb.trace/trace-break.exp
249 * gdb.trace/trace-condition.exp
250 * gdb.trace/trace-enable-disable.exp
251 * gdb.trace/trace-mt.exp
252 * gdb.trace/tracecmd.exp
253 * gdb.trace/tspeed.exp
257 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
259 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
260 with gdb_test_no_output.
261 Use command as test name.
263 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
265 Fix test names starting with uppercase throughout the files.
267 * gdb.ada/assign_1.exp
268 * gdb.ada/boolean_expr.exp
269 * gdb.base/arrayidx.exp
271 * gdb.base/gcore-buffer-overflow.exp
272 * gdb.base/testenv.exp
273 * gdb.compile/compile.exp
274 * gdb.python/py-framefilter-invalidarg.exp
275 * gdb.python/py-framefilter.exp
277 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
279 Fix test names starting with uppercase throughout the files.
281 * gdb.ada/array_return.exp
282 * gdb.ada/expr_delims.exp
283 * gdb.ada/mi_dyn_arr.exp
284 * gdb.ada/mi_interface.exp
285 * gdb.ada/mi_var_array.exp
286 * gdb.ada/watch_arg.exp
287 * gdb.arch/alpha-step.exp
288 * gdb.arch/altivec-regs.exp
289 * gdb.arch/e500-regs.exp
290 * gdb.arch/powerpc-d128-regs.exp
291 * gdb.base/arrayidx.exp
293 * gdb.base/checkpoint.exp
294 * gdb.base/debug-expr.exp
297 * gdb.base/sepdebug.exp
298 * gdb.base/testenv.exp
299 * gdb.base/watch_thread_num.exp
300 * gdb.base/watchpoint-cond-gone.exp
302 * gdb.cell/ea-cache.exp
303 * gdb.compile/compile.exp
305 * gdb.gdb/selftest.exp
306 * gdb.gdb/xfullpath.exp
308 * gdb.go/integers.exp
309 * gdb.objc/basicclass.exp
310 * gdb.pascal/hello.exp
311 * gdb.pascal/integers.exp
312 * gdb.python/py-breakpoint.exp
313 * gdb.python/py-cmd.exp
314 * gdb.python/py-linetable.exp
315 * gdb.python/py-xmethods.exp
316 * gdb.python/python.exp
317 * gdb.reverse/consecutive-precsave.exp
318 * gdb.reverse/finish-precsave.exp
319 * gdb.reverse/i386-precsave.exp
320 * gdb.reverse/machinestate-precsave.exp
321 * gdb.reverse/sigall-precsave.exp
322 * gdb.reverse/solib-precsave.exp
323 * gdb.reverse/step-precsave.exp
324 * gdb.reverse/until-precsave.exp
325 * gdb.reverse/watch-precsave.exp
326 * gdb.threads/leader-exit.exp
327 * gdb.threads/pthreads.exp
328 * gdb.threads/wp-replication.exp
329 * gdb.trace/actions.exp
330 * gdb.trace/mi-tsv-changed.exp
333 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
335 Fix test names starting with uppercase throughout the files.
337 * gdb.arch/i386-bp_permanent.exp
338 * gdb.arch/i386-gnu-cfi.exp
339 * gdb.base/disasm-end-cu.exp
340 * gdb.base/macscp.exp
341 * gdb.base/pending.exp
342 * gdb.base/watch_thread_num.exp
343 * gdb.cp/exception.exp
346 * gdb.python/py-evsignal.exp
347 * gdb.python/python.exp
348 * gdb.trace/tracecmd.exp
350 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
352 Fix test names starting with uppercase throughout the files.
354 * gdb.base/charset.exp
356 * gdb.base/multi-forks.exp
357 * gdb.guile/scm-progspace.exp
358 * gdb.opencl/datatypes.exp
359 * gdb.python/py-block.exp
360 * gdb.python/py-function.exp
361 * gdb.python/py-symbol.exp
362 * gdb.python/py-symtab.exp
363 * gdb.python/py-xmethods.exp
364 * gdb.reverse/break-precsave.exp
365 * gdb.reverse/break-reverse.exp
366 * gdb.reverse/consecutive-precsave.exp
367 * gdb.reverse/consecutive-reverse.exp
368 * gdb.reverse/finish-precsave.exp
369 * gdb.reverse/finish-reverse-bkpt.exp
370 * gdb.reverse/finish-reverse.exp
371 * gdb.reverse/fstatat-reverse.exp
372 * gdb.reverse/getresuid-reverse.exp
373 * gdb.reverse/i386-precsave.exp
374 * gdb.reverse/i386-reverse.exp
375 * gdb.reverse/i386-sse-reverse.exp
376 * gdb.reverse/i387-stack-reverse.exp
377 * gdb.reverse/insn-reverse.exp
378 * gdb.reverse/machinestate-precsave.exp
379 * gdb.reverse/machinestate.exp
380 * gdb.reverse/next-reverse-bkpt-over-sr.exp
381 * gdb.reverse/pipe-reverse.exp
382 * gdb.reverse/readv-reverse.exp
383 * gdb.reverse/recvmsg-reverse.exp
384 * gdb.reverse/rerun-prec.exp
385 * gdb.reverse/s390-mvcle.exp
386 * gdb.reverse/sigall-precsave.exp
387 * gdb.reverse/sigall-reverse.exp
388 * gdb.reverse/solib-precsave.exp
389 * gdb.reverse/solib-reverse.exp
390 * gdb.reverse/step-precsave.exp
391 * gdb.reverse/step-reverse.exp
392 * gdb.reverse/time-reverse.exp
393 * gdb.reverse/until-precsave.exp
394 * gdb.reverse/until-reverse.exp
395 * gdb.reverse/waitpid-reverse.exp
396 * gdb.reverse/watch-precsave.exp
397 * gdb.reverse/watch-reverse.exp
399 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
401 Fix test names starting with uppercase throughout the files.
403 * gdb.arch/i386-mpx-simple_segv.exp
404 * gdb.arch/i386-mpx.exp
405 * gdb.arch/i386-permbkpt.exp
406 * gdb.arch/pa-nullify.exp
407 * gdb.arch/powerpc-d128-regs.exp
408 * gdb.arch/vsx-regs.exp
409 * gdb.base/bfp-test.exp
411 * gdb.base/breakpoint-shadow.exp
412 * gdb.base/callfuncs.exp
413 * gdb.base/charset.exp
414 * gdb.base/commands.exp
415 * gdb.base/completion.exp
416 * gdb.base/dfp-test.exp
418 * gdb.base/ending-run.exp
420 * gdb.base/expand-psymtabs.exp
421 * gdb.base/float128.exp
422 * gdb.base/floatn.exp
423 * gdb.base/foll-exec-mode.exp
424 * gdb.base/gdb1056.exp
425 * gdb.base/gdb11531.exp
426 * gdb.base/kill-after-signal.exp
427 * gdb.base/multi-forks.exp
428 * gdb.base/overlays.exp
429 * gdb.base/pending.exp
430 * gdb.base/sepdebug.exp
431 * gdb.base/testenv.exp
432 * gdb.base/valgrind-db-attach.exp
433 * gdb.base/watch_thread_num.exp
434 * gdb.base/watchpoint-cond-gone.exp
435 * gdb.base/watchpoint.exp
436 * gdb.base/watchpoints.exp
437 * gdb.cp/arg-reference.exp
438 * gdb.cp/baseenum.exp
439 * gdb.cp/operator.exp
441 * gdb.dwarf2/dw2-op-out-param.exp
442 * gdb.dwarf2/dw2-reg-undefined.exp
445 * gdb.go/integers.exp
448 * gdb.guile/scm-parameter.exp
449 * gdb.guile/scm-progspace.exp
450 * gdb.guile/scm-value.exp
451 * gdb.mi/mi-pending.exp
452 * gdb.mi/user-selected-context-sync.exp
453 * gdb.multi/multi-attach.exp
455 * gdb.opt/clobbered-registers-O2.exp
456 * gdb.pascal/floats.exp
457 * gdb.pascal/integers.exp
458 * gdb.python/py-block.exp
459 * gdb.python/py-events.exp
460 * gdb.python/py-parameter.exp
461 * gdb.python/py-symbol.exp
462 * gdb.python/py-symtab.exp
463 * gdb.python/py-type.exp
464 * gdb.python/py-value.exp
465 * gdb.python/py-xmethods.exp
466 * gdb.python/python.exp
467 * gdb.reverse/break-precsave.exp
468 * gdb.reverse/consecutive-precsave.exp
469 * gdb.reverse/finish-precsave.exp
470 * gdb.reverse/i386-precsave.exp
471 * gdb.reverse/machinestate-precsave.exp
472 * gdb.reverse/sigall-precsave.exp
473 * gdb.reverse/solib-precsave.exp
474 * gdb.reverse/step-precsave.exp
475 * gdb.reverse/until-precsave.exp
476 * gdb.reverse/watch-precsave.exp
477 * gdb.server/ext-attach.exp
478 * gdb.server/ext-restart.exp
479 * gdb.server/ext-run.exp
480 * gdb.server/ext-wrapper.exp
481 * gdb.stabs/gdb11479.exp
482 * gdb.stabs/weird.exp
483 * gdb.threads/attach-many-short-lived-threads.exp
484 * gdb.threads/kill.exp
485 * gdb.threads/watchpoint-fork.exp
487 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
489 Fix test names starting with uppercase throughout all the files below.
491 * gdb.ada/array_return.exp
492 * gdb.ada/catch_ex.exp
493 * gdb.ada/info_exc.exp
494 * gdb.ada/mi_catch_ex.exp
495 * gdb.ada/mi_dyn_arr.exp
496 * gdb.ada/mi_ex_cond.exp
497 * gdb.ada/mi_exc_info.exp
498 * gdb.ada/mi_interface.exp
499 * gdb.ada/mi_task_arg.exp
500 * gdb.ada/mi_task_info.exp
501 * gdb.ada/mi_var_array.exp
502 * gdb.arch/alpha-step.exp
503 * gdb.arch/amd64-disp-step.exp
504 * gdb.arch/arm-disp-step.exp
505 * gdb.arch/disp-step-insn-reloc.exp
506 * gdb.arch/e500-prologue.exp
507 * gdb.arch/ftrace-insn-reloc.exp
508 * gdb.arch/gdb1558.exp
509 * gdb.arch/i386-bp_permanent.exp
510 * gdb.arch/i386-disp-step.exp
511 * gdb.arch/i386-float.exp
512 * gdb.arch/i386-gnu-cfi.exp
513 * gdb.arch/ia64-breakpoint-shadow.exp
514 * gdb.arch/mips16-thunks.exp
515 * gdb.arch/pa-nullify.exp
516 * gdb.arch/powerpc-aix-prologue.exp
517 * gdb.arch/powerpc-power.exp
518 * gdb.arch/ppc-dfp.exp
519 * gdb.arch/s390-tdbregs.exp
520 * gdb.arch/spu-info.exp
521 * gdb.arch/spu-ls.exp
522 * gdb.arch/thumb-bx-pc.exp
523 * gdb.base/advance.exp
524 * gdb.base/annota-input-while-running.exp
525 * gdb.base/arrayidx.exp
526 * gdb.base/asmlabel.exp
528 * gdb.base/attach-wait-input.exp
529 * gdb.base/auto-connect-native-target.exp
530 * gdb.base/batch-preserve-term-settings.exp
531 * gdb.base/bfp-test.exp
532 * gdb.base/bigcore.exp
533 * gdb.base/bp-permanent.exp
534 * gdb.base/break-always.exp
535 * gdb.base/break-fun-addr.exp
536 * gdb.base/break-idempotent.exp
537 * gdb.base/break-main-file-remove-fail.exp
538 * gdb.base/break-probes.exp
539 * gdb.base/break-unload-file.exp
541 * gdb.base/call-ar-st.exp
542 * gdb.base/call-rt-st.exp
543 * gdb.base/call-sc.exp
544 * gdb.base/call-signal-resume.exp
545 * gdb.base/call-strs.exp
546 * gdb.base/callexit.exp
547 * gdb.base/callfuncs.exp
548 * gdb.base/catch-gdb-caused-signals.exp
549 * gdb.base/catch-signal-siginfo-cond.exp
550 * gdb.base/catch-syscall.exp
551 * gdb.base/compare-sections.exp
552 * gdb.base/cond-eval-mode.exp
553 * gdb.base/condbreak-call-false.exp
554 * gdb.base/consecutive-step-over.exp
555 * gdb.base/cursal.exp
556 * gdb.base/disabled-location.exp
557 * gdb.base/disasm-end-cu.exp
558 * gdb.base/display.exp
559 * gdb.base/double-prompt-target-event-error.exp
560 * gdb.base/dprintf-bp-same-addr.exp
561 * gdb.base/dprintf-detach.exp
562 * gdb.base/dprintf-next.exp
563 * gdb.base/dprintf-non-stop.exp
564 * gdb.base/dprintf-pending.exp
565 * gdb.base/dso2dso.exp
566 * gdb.base/ending-run.exp
567 * gdb.base/enum_cond.exp
568 * gdb.base/examine-backward.exp
569 * gdb.base/exe-lock.exp
570 * gdb.base/exec-invalid-sysroot.exp
571 * gdb.base/execl-update-breakpoints.exp
572 * gdb.base/execution-termios.exp
573 * gdb.base/fileio.exp
574 * gdb.base/fixsection.exp
575 * gdb.base/foll-exec-mode.exp
576 * gdb.base/foll-exec.exp
577 * gdb.base/fork-running-state.exp
578 * gdb.base/frame-args.exp
579 * gdb.base/fullpath-expand.exp
580 * gdb.base/func-ptr.exp
581 * gdb.base/gcore-relro-pie.exp
582 * gdb.base/gdb1090.exp
583 * gdb.base/gdb1555.exp
584 * gdb.base/global-var-nested-by-dso.exp
585 * gdb.base/gnu-ifunc.exp
586 * gdb.base/hbreak-in-shr-unsupported.exp
587 * gdb.base/hbreak-unmapped.exp
588 * gdb.base/hook-stop.exp
589 * gdb.base/infcall-input.exp
590 * gdb.base/info-fun.exp
591 * gdb.base/info-shared.exp
592 * gdb.base/interrupt-noterm.exp
593 * gdb.base/jit-so.exp
595 * gdb.base/line-symtabs.exp
597 * gdb.base/longjmp.exp
598 * gdb.base/macscp.exp
599 * gdb.base/max-value-size.exp
600 * gdb.base/nodebug.exp
601 * gdb.base/nofield.exp
602 * gdb.base/overlays.exp
603 * gdb.base/paginate-after-ctrl-c-running.exp
604 * gdb.base/paginate-bg-execution.exp
605 * gdb.base/paginate-inferior-exit.exp
606 * gdb.base/pending.exp
607 * gdb.base/pr11022.exp
608 * gdb.base/printcmds.exp
609 * gdb.base/ptr-typedef.exp
611 * gdb.base/randomize.exp
612 * gdb.base/range-stepping.exp
613 * gdb.base/realname-expand.exp
614 * gdb.base/relativedebug.exp
615 * gdb.base/remote.exp
616 * gdb.base/savedregs.exp
617 * gdb.base/sepdebug.exp
618 * gdb.base/set-noassign.exp
619 * gdb.base/shlib-call.exp
620 * gdb.base/shreloc.exp
621 * gdb.base/sigaltstack.exp
622 * gdb.base/sigbpt.exp
623 * gdb.base/siginfo-addr.exp
624 * gdb.base/siginfo-obj.exp
625 * gdb.base/siginfo-thread.exp
626 * gdb.base/signest.exp
627 * gdb.base/signull.exp
628 * gdb.base/sigrepeat.exp
630 * gdb.base/so-impl-ld.exp
631 * gdb.base/solib-corrupted.exp
632 * gdb.base/solib-disc.exp
633 * gdb.base/solib-display.exp
634 * gdb.base/solib-overlap.exp
635 * gdb.base/solib-search.exp
636 * gdb.base/solib-symbol.exp
637 * gdb.base/source-execution.exp
638 * gdb.base/sss-bp-on-user-bp-2.exp
639 * gdb.base/sss-bp-on-user-bp.exp
640 * gdb.base/stack-checking.exp
641 * gdb.base/stale-infcall.exp
642 * gdb.base/step-break.exp
643 * gdb.base/step-line.exp
644 * gdb.base/step-over-exit.exp
645 * gdb.base/step-test.exp
646 * gdb.base/structs.exp
647 * gdb.base/sym-file.exp
648 * gdb.base/symtab-search-order.exp
650 * gdb.base/type-opaque.exp
651 * gdb.base/unload.exp
652 * gdb.base/until-nodebug.exp
654 * gdb.base/unwindonsignal.exp
655 * gdb.base/watch-cond.exp
656 * gdb.base/watch-non-mem.exp
657 * gdb.base/watch_thread_num.exp
658 * gdb.base/watchpoint-reuse-slot.exp
659 * gdb.base/watchpoint-solib.exp
660 * gdb.base/watchpoint.exp
661 * gdb.btrace/dlopen.exp
667 * gdb.cell/dwarfaddr.exp
668 * gdb.cell/ea-cache.exp
669 * gdb.cell/ea-standalone.exp
670 * gdb.cell/ea-test.exp
671 * gdb.cell/f-regs.exp
674 * gdb.cell/mem-access.exp
676 * gdb.cell/registers.exp
677 * gdb.cell/sizeof.exp
678 * gdb.cell/solib-symbol.exp
680 * gdb.compile/compile-tls.exp
681 * gdb.cp/exception.exp
684 * gdb.cp/mb-inline.exp
685 * gdb.cp/mb-templates.exp
688 * gdb.cp/scope-err.exp
689 * gdb.cp/templates.exp
690 * gdb.cp/virtfunc.exp
691 * gdb.dwarf2/dw2-dir-file-name.exp
692 * gdb.dwarf2/dw2-single-line-discriminators.exp
693 * gdb.fortran/complex.exp
694 * gdb.fortran/library-module.exp
695 * gdb.guile/guile.exp
696 * gdb.guile/scm-cmd.exp
697 * gdb.guile/scm-frame-inline.exp
698 * gdb.guile/scm-objfile.exp
699 * gdb.guile/scm-pretty-print.exp
700 * gdb.guile/scm-symbol.exp
701 * gdb.guile/scm-type.exp
702 * gdb.guile/scm-value.exp
703 * gdb.linespec/keywords.exp
704 * gdb.linespec/ls-errs.exp
705 * gdb.linespec/macro-relative.exp
706 * gdb.linespec/thread.exp
707 * gdb.mi/mi-breakpoint-changed.exp
708 * gdb.mi/mi-dprintf-pending.exp
709 * gdb.mi/mi-fullname-deleted.exp
710 * gdb.mi/mi-logging.exp
711 * gdb.mi/mi-pending.exp
712 * gdb.mi/mi-solib.exp
713 * gdb.mi/new-ui-mi-sync.exp
714 * gdb.mi/user-selected-context-sync.exp
715 * gdb.multi/dummy-frame-restore.exp
716 * gdb.multi/multi-arch-exec.exp
717 * gdb.multi/remove-inferiors.exp
718 * gdb.multi/watchpoint-multi-exit.exp
719 * gdb.opt/solib-intra-step.exp
720 * gdb.perf/backtrace.exp
721 * gdb.perf/single-step.exp
722 * gdb.perf/skip-command.exp
723 * gdb.perf/skip-prologue.exp
725 * gdb.python/lib-types.exp
726 * gdb.python/py-as-string.exp
727 * gdb.python/py-bad-printers.exp
728 * gdb.python/py-block.exp
729 * gdb.python/py-breakpoint.exp
730 * gdb.python/py-cmd.exp
731 * gdb.python/py-events.exp
732 * gdb.python/py-evthreads.exp
733 * gdb.python/py-finish-breakpoint.exp
734 * gdb.python/py-finish-breakpoint2.exp
735 * gdb.python/py-frame-inline.exp
736 * gdb.python/py-frame.exp
737 * gdb.python/py-inferior.exp
738 * gdb.python/py-infthread.exp
739 * gdb.python/py-mi.exp
740 * gdb.python/py-objfile.exp
741 * gdb.python/py-pp-maint.exp
742 * gdb.python/py-pp-registration.exp
743 * gdb.python/py-prettyprint.exp
744 * gdb.python/py-recurse-unwind.exp
745 * gdb.python/py-shared.exp
746 * gdb.python/py-symbol.exp
747 * gdb.python/py-symtab.exp
748 * gdb.python/py-template.exp
749 * gdb.python/py-type.exp
750 * gdb.python/py-unwind-maint.exp
751 * gdb.python/py-unwind.exp
752 * gdb.python/py-value.exp
753 * gdb.python/python.exp
754 * gdb.reverse/finish-reverse-bkpt.exp
755 * gdb.reverse/insn-reverse.exp
756 * gdb.reverse/next-reverse-bkpt-over-sr.exp
757 * gdb.reverse/solib-precsave.exp
758 * gdb.reverse/solib-reverse.exp
759 * gdb.stabs/gdb11479.exp
760 * gdb.stabs/weird.exp
761 * gdb.threads/fork-child-threads.exp
762 * gdb.threads/fork-plus-threads.exp
763 * gdb.threads/fork-thread-pending.exp
764 * gdb.threads/forking-threads-plus-breakpoint.exp
765 * gdb.threads/hand-call-in-threads.exp
766 * gdb.threads/interrupted-hand-call.exp
767 * gdb.threads/linux-dp.exp
768 * gdb.threads/local-watch-wrong-thread.exp
769 * gdb.threads/next-while-other-thread-longjmps.exp
770 * gdb.threads/non-ldr-exit.exp
771 * gdb.threads/pending-step.exp
772 * gdb.threads/print-threads.exp
773 * gdb.threads/process-dies-while-detaching.exp
774 * gdb.threads/process-dies-while-handling-bp.exp
775 * gdb.threads/pthreads.exp
776 * gdb.threads/queue-signal.exp
777 * gdb.threads/reconnect-signal.exp
778 * gdb.threads/signal-command-handle-nopass.exp
779 * gdb.threads/signal-command-multiple-signals-pending.exp
780 * gdb.threads/signal-delivered-right-thread.exp
781 * gdb.threads/signal-sigtrap.exp
782 * gdb.threads/sigthread.exp
783 * gdb.threads/staticthreads.exp
784 * gdb.threads/stepi-random-signal.exp
785 * gdb.threads/thread-unwindonsignal.exp
786 * gdb.threads/thread_check.exp
787 * gdb.threads/thread_events.exp
788 * gdb.threads/tid-reuse.exp
789 * gdb.threads/tls-nodebug.exp
790 * gdb.threads/tls-shared.exp
791 * gdb.threads/tls-so_extern.exp
792 * gdb.threads/tls.exp
793 * gdb.threads/wp-replication.exp
794 * gdb.trace/actions-changed.exp
795 * gdb.trace/actions.exp
796 * gdb.trace/backtrace.exp
797 * gdb.trace/change-loc.exp
798 * gdb.trace/collection.exp
799 * gdb.trace/deltrace.exp
800 * gdb.trace/disconnected-tracing.exp
801 * gdb.trace/entry-values.exp
802 * gdb.trace/ftrace-lock.exp
803 * gdb.trace/ftrace.exp
804 * gdb.trace/infotrace.exp
805 * gdb.trace/mi-trace-frame-collected.exp
806 * gdb.trace/mi-trace-unavailable.exp
807 * gdb.trace/mi-traceframe-changed.exp
808 * gdb.trace/mi-tracepoint-changed.exp
809 * gdb.trace/mi-tsv-changed.exp
810 * gdb.trace/no-attach-trace.exp
811 * gdb.trace/packetlen.exp
812 * gdb.trace/passc-dyn.exp
813 * gdb.trace/passcount.exp
814 * gdb.trace/pending.exp
815 * gdb.trace/pr16508.exp
817 * gdb.trace/range-stepping.exp
818 * gdb.trace/read-memory.exp
819 * gdb.trace/report.exp
820 * gdb.trace/save-trace.exp
821 * gdb.trace/signal.exp
822 * gdb.trace/stap-trace.exp
823 * gdb.trace/status-stop.exp
824 * gdb.trace/strace.exp
825 * gdb.trace/tfile.exp
826 * gdb.trace/tfind.exp
827 * gdb.trace/trace-break.exp
828 * gdb.trace/trace-condition.exp
829 * gdb.trace/trace-enable-disable.exp
830 * gdb.trace/trace-mt.exp
831 * gdb.trace/tracecmd.exp
832 * gdb.trace/tracefile-pseudo-reg.exp
833 * gdb.trace/tspeed.exp
834 * gdb.trace/tstatus.exp
836 * gdb.trace/unavailable.exp
837 * gdb.trace/while-dyn.exp
838 * gdb.trace/while-stepping.exp
844 * lib/prelink-support.exp
845 * lib/selftest-support.exp
847 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
849 * Makefile.in: Include disable-implicit-rules.mk.
851 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
853 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
854 non-byte-aligned bit fields.
856 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
859 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
860 respects the DW_AT_data_bit_offset attribute.
862 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
864 * gdb.base/default.exp: Fix output of "set language".
866 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
868 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
869 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
871 * configure.ac: Remove checks for the make program.
872 * configure: Re-generate.
874 2016-11-16 Kevin Buettner <kevinb@redhat.com>
876 * gdb.python/py-recurse-unwind.c (main): Add loop.
877 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
878 to read_register() and gdb.parse_and_eval(). Make each code
879 call a separate case that can be individually tested.
880 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
881 proc. Call cont_and_backtrace for each of the code paths that
882 we want to test in the unwinder.
884 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
886 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
887 the definition of struct S.
889 2016-11-11 Catherine Moore <clm@codesourcery.com>
891 * gdb.base/dump.exp: Identify verilog format dump tests as such.
893 2016-11-09 Pedro Alves <palves@redhat.com>
895 * gdb.base/commands.exp (runto_or_return): New procedure.
896 (gdbvar_simple_if_test, gdbvar_simple_while_test)
897 (gdbvar_complex_if_while_test, progvar_simple_if_test)
898 (progvar_simple_while_test, progvar_complex_if_while_test)
899 (if_while_breakpoint_command_test)
900 (infrun_breakpoint_command_test, breakpoint_command_test)
901 (user_defined_command_test, watchpoint_command_test)
902 (test_command_prompt_position, redefine_hook_test)
903 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
904 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
905 multi_line_input and multi_line. Remove gdb_expect and
906 gdb_stop_suppressing_tests uses.
907 * lib/gdb.exp (valnum_re): New global.
908 (multi_line_input): New procedure.
910 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
912 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
914 (test_setup): Define with proc_with_prefix.
915 (test_cli_inferior): Likewise.
916 (test_cli_thread): Likewise.
917 (test_cli_frame): Likewise.
918 (test_cli_select_frame): Likewise.
919 (test_cli_up_down): Likewise.
920 (test_mi_thread_select): Likewise.
921 (test_mi_stack_select_frame): Likewise.
922 (test_cli_in_mi_inferior): Likewise.
923 (test_cli_in_mi_thread): Likewise.
924 (test_cli_in_mi_frame): Likewise.
925 (top level): Do not use with_test_prefix_procname.
927 2016-11-09 Pedro Alves <palves@redhat.com>
929 * gdb.base/commands.exp (gdbvar_simple_if_test)
930 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
931 (progvar_simple_if_test, progvar_simple_while_test)
932 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
933 (infrun_breakpoint_command_test, breakpoint_command_test)
934 (user_defined_command_test, watchpoint_command_test)
935 (test_command_prompt_position, deprecated_command_test)
936 (bp_deleted_in_command, temporary_breakpoint_commands)
937 (stray_arg0_test, source_file_with_indented_comment)
938 (recursive_source_test, if_commands_test)
939 (error_clears_commands_left, redefine_hook_test)
940 (redefine_backtrace_test): Use proc_with_prefix.
941 * lib/gdb.exp (proc_with_prefix): New proc.
943 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
945 * gdb.base/tui-layout.c: New file.
946 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
947 disassembly window contains very long lines.
949 2016-11-08 Tom Tromey <tom@tromey.com>
951 * gdb.python/py-value.exp (test_value_creation): Make "long" test
954 2016-11-08 Tom Tromey <tom@tromey.com>
956 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
959 2016-10-29 Manish Goregaokar <manish@mozilla.com>
961 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
963 2016-10-27 Manish Goregaokar <manish@mozilla.com>
965 * gdb.rust/simple.rs: Add test for univariant enums without
966 discriminants and for encoded struct-like enums.
968 2016-10-28 Pedro Alves <palves@redhat.com>
970 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
971 gdb_test_multiple, tighten regexps and match symtabs and line
972 tables incrementally.
974 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
976 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
979 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
981 * gdb.base/exec-invalid-sysroot.exp: New file.
983 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
985 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
987 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
989 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
991 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
993 * gdb.base/killed-outside.exp: Remove $options from a call to
994 `prepare_for_testing'.
996 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
998 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1001 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1003 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
1006 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
1008 * gdb.trace/mi-trace-save.exp: New file.
1010 2016-10-13 Yao Qi <yao.qi@linaro.org>
1012 * gdb.base/code_elim.exp (get_var_address): Remove.
1013 * gdb.base/relocate.exp: Likewise.
1014 * gdb.base/shreloc.exp: Likewise.
1015 * lib/gdb.exp (get_var_address): New.
1017 2016-10-13 Yao Qi <yao.qi@linaro.org>
1019 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
1020 floating point tests if $skip_float_test is false.
1022 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
1024 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
1025 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
1027 Add 1 to argc so we guarantee distinct initial/modified argc values.
1029 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1031 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
1033 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1035 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1036 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1037 * gdb.arch/vsx-regs.exp: Likewise.
1039 2016-10-07 Yao Qi <yao.qi@linaro.org>
1041 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1043 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1045 * gdb.python/python.exp: Test decode_line("*0").
1047 2016-10-06 Doug Evans <dje@google.com>
1049 * gdb.python/py-value.exp (test_value_creation): Add test for large
1050 unsigned 64-bit value.
1052 2016-10-06 Tom Tromey <tom@tromey.com>
1054 * gdb.compile/compile.exp: Change java tests to rust.
1055 * gdb.base/setshow.exp: Change java tests to rust.
1056 * gdb.base/default.exp: Remove java from language list.
1057 * README (Examples): Update language example.
1058 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1060 * lib/gdb.exp (skip_java_tests): Remove.
1061 * lib/java.exp: Remove.
1064 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1066 * gdb.arch/mips-fcr.exp: New test.
1067 * gdb.arch/mips-fcr.c: Source for the new test.
1069 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1071 * gdb.base/solib-disc.exp: Use `standard_output_file'
1074 2016-10-06 Pedro Alves <palves@redhat.com>
1076 * gdb.base/jit-simple-dl.c: New file.
1077 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1078 * gdb.base/jit-simple.c: ... this.
1079 * gdb.base/jit-simple.exp (jit_run): Delete.
1080 (build_jit): New proc.
1081 (jit_test_reread): Recompile either the main program or the shared
1082 library, depending on what is being tested. Skip changing address
1083 if caller wants to. Compare before/after addresses. If testing
1084 standalone, explicitly load the binary. Test "maint info
1086 (top level): Add "standalone vs shared lib" and "change address"
1087 vs "same address" axes.
1089 2016-10-06 Pedro Alves <palves@redhat.com>
1091 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1094 (jit_test_reread): Use with_test_prefix. Reload the main binary
1095 explicitly. Compare the before/after addresses of the JIT
1098 2016-08-15 Doug Evans <dje@google.com>
1100 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1101 for single bitfields is bool.
1102 * gdb.xml/tdesc-regs.exp: Ditto.
1104 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1106 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1108 2016-10-05 Yao Qi <yao.qi@linaro.org>
1110 * lib/gdb.exp (support_complex_tests): Return zero if
1111 gdb_skip_float_test return true.
1113 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1114 Simon Marchi <simon.marchi@ericsson.com>
1117 * gdb.mi/user-selected-context-sync.exp: New file.
1118 * gdb.mi/user-selected-context-sync.c: New file.
1120 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1121 Simon Marchi <simon.marchi@ericsson.com>
1124 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1125 =thread-select-event check.
1127 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1129 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1130 the compulsory L operand changes.
1131 * gdb.arch/powerpc-power.s: Likewise.
1133 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1135 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1136 * gdb.base/jit-attach-pie.c: New file.
1137 * gdb.base/jit-attach-pie.exp: New file.
1139 2016-09-28 Pedro Alves <palves@redhat.com>
1141 * gdb.base/infcall-input.c: New file.
1142 * gdb.base/infcall-input.exp: New file.
1144 2016-09-22 Yao Qi <yao.qi@linaro.org>
1146 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1147 (gdb_exit): Rename it to ...
1148 (gdbserver_gdb_exit): ... Close GDBserver.
1149 (gdb_exit): New proc, call gdbserver_gdb_exit.
1150 (mi_gdb_exit): Likewise.
1152 2016-09-22 Yao Qi <yao.qi@linaro.org>
1154 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1156 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1159 2016-09-22 Yao Qi <yao.qi@linaro.org>
1161 * lib/gdbserver-support.exp: Check the existence of
1162 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1164 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1166 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1168 2016-09-21 Tom Tromey <tom@tromey.com>
1171 * gdb.base/quit.exp: New file.
1173 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1175 * .gitignore: New file.
1177 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1179 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1182 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1184 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1186 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1188 * gdb.cp/casts.cc (decltype): Move it ...
1189 (main): ... with its call to ...
1190 * gdb.cp/casts03.cc: ... a new file.
1191 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1193 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1195 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1197 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1199 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1200 and sync up the test with tests in gas/testsuite/gas/ppc.
1201 * gdb.arch/powerpc-power.exp: Likewise.
1203 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1205 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1207 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1208 Jan Kratochvil <jan.kratochvil@redhat.com>
1210 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1211 make m1's definition to be different from m2's. Use 'dummy' as an
1212 argument for probe 'two'.
1214 2016-09-10 Jon Beniston <jon@beniston.com>
1216 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1219 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1221 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1222 variable declaration.
1223 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1224 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1225 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1226 received HWCAP as its argument.
1228 2016-09-06 Pedro Alves <palves@redhat.com>
1230 * gdb.base/new-ui-pending-input.c: New file.
1231 * gdb.base/new-ui-pending-input.exp: New file.
1232 * gdb.exp (clear_gdb_spawn_id): New procedure.
1233 (with_spawn_id): Check whether gdb_spawn_id exists before
1234 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1237 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1239 * gdb.base/float128.c: New file.
1240 * gdb.base/float128.exp: Likewise.
1241 * gdb.base/floatn.c: Likewise.
1242 * gdb.base/floatn.exp: Likewise.
1244 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1246 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1248 2016-09-05 Pedro Alves <palves@redhat.com>
1251 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1252 unwinders are immediately called as side effect of "source" or
1253 "disable unwinder" commands.
1254 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1256 2016-09-02 Yao Qi <yao.qi@linaro.org>
1258 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1259 is true and $type is "float" or "double".
1261 2016-09-02 Yao Qi <yao.qi@linaro.org>
1263 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1265 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1266 * gdb.base/call-rt-st.exp: Likewise.
1267 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1268 return value instead of gdb,skip_float_test.
1269 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1270 (do_function_calls): Use its return value instead of
1271 gdb,skip_float_test.
1272 * gdb.base/finish.exp: Likewise.
1273 * gdb.base/funcargs.exp: Likewise.
1274 * gdb.base/return.exp: Likewise.
1275 * gdb.base/return2.exp: Likewise.
1276 * gdb.base/varargs.exp: Likewise.
1277 * lib/gdb.exp (gdb_skip_float_test): Change it to
1278 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1280 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1282 * gdb.multi/tids.exp: Test "thread apply all".
1284 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1286 * gdb.base/default.exp (tty): Remove.
1288 2016-08-24 Kevin Buettner <kevinb@redhat.com>
1290 * gdb.python/py-recurse-unwind.c: New file.
1291 * gdb.python/py-recurse-unwind.py: New file.
1292 * gdb.python/py-recurse-unwind.exp: New file.
1294 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1296 * gdb.base/set-inferior-tty.exp: New file.
1297 * gdb.base/set-inferior-tty.c: New file.
1299 2016-08-23 Pedro Alves <palves@redhat.com>
1302 * gdb.base/new-ui-echo.c: New file.
1303 * gdb.base/new-ui-echo.exp: New file.
1305 2016-08-23 Yao Qi <yao.qi@linaro.org>
1307 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1309 * gdb.server/connect-without-multi-process.exp (do_test):
1312 2016-08-23 Yao Qi <yao.qi@linaro.org>
1314 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1315 standalone_txt. Delete gdb_txt and standalone_txt on host
1316 and target. Spawn the binary on target. Copy files from
1319 2016-08-22 Pedro Alves <palves@redhat.com>
1322 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1323 with_test_prefix. Factor out bits to ...
1324 (test_no_vdso): ... this new procedure.
1326 2016-08-19 Carl Love <cel@us.ibm.com>
1328 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1329 maintaining separate logic for constructing the output path.
1330 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1331 * gdb.arch/ppc-dfp.exp: Likewise.
1332 * gdb.arch/ppc-fp.exp: Likewise.
1333 * gdb.arch/vsx-regs.exp: Likewise.
1334 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1335 binprefix for generating the additional binary files.
1337 2016-08-19 Pedro Alves <palves@redhat.com>
1339 * gdb.trace/mi-trace-frame-collected.exp
1340 (test_trace_frame_collected): On x32, expect two registers.
1342 2016-08-18 Carl Love <cel@us.ibm.com>
1344 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1345 and sync up the test with tests in gas/testsuite/gas/ppc.
1346 * gdb.arch/powerpc-power.exp: Likewise.
1348 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1350 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1351 expected error message.
1353 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1355 * gdb.multi/remove-inferiors.exp: New file.
1356 * gdb.multi/remove-inferiors.c: New file.
1358 2016-08-12 Yao Qi <yao.qi@linaro.org>
1360 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1363 2016-08-10 Pedro Alves <palves@redhat.com>
1366 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1369 2016-08-09 Pedro Alves <palves@redhat.com>
1370 Simon Marchi <simon.marchi@ericsson.com>
1373 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1374 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1376 2016-08-09 Pedro Alves <palves@redhat.com>
1379 * gdb.mi/mi-cmd-error.exp: New file.
1381 2016-08-09 Pedro Alves <palves@redhat.com>
1384 * gdb.base/signals-state-child.c: New file.
1385 * gdb.base/signals-state-child.exp: New file.
1386 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1388 2016-08-09 Pedro Alves <palves@redhat.com>
1390 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1392 2016-08-03 Tom Tromey <tom@tromey.com>
1395 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1397 2016-08-01 Yao Qi <yao.qi@linaro.org>
1399 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1400 variable mode to "multi-process" if $multi_process is 1, otherwise
1401 set it to "single-process".
1403 2016-08-01 Yao Qi <yao.qi@linaro.org>
1405 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1406 * gdb.cp/cpexprs.exp: Likewise.
1407 * gdb.cp/m-static.exp: Likewise.
1409 2016-07-26 Tom Tromey <tom@tromey.com>
1412 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1415 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1417 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1418 selecting assembly source files.
1419 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1420 assembly source files.
1421 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1422 assembly source files.
1423 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1424 selecting assembly source files.
1426 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1428 * gdb.base/new-ui.exp (do_test_invalid_args): New
1431 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1433 * gdb.btrace/reconnect.c: New file.
1434 * gdb.btrace/reconnect.exp: New file.
1436 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1438 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1439 to test_catch_syscall_group.
1440 (test_catch_syscall_group): New.
1442 2016-07-21 Tom Tromey <tom@tromey.com>
1444 * gdb.rust/simple.rs (main): Use empty struct expression.
1445 * gdb.rust/simple.exp: Add tests for empty struct expression.
1447 2016-07-21 Yao Qi <yao.qi@linaro.org>
1449 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1450 if gdb_skip_xml_test is true on some targets.
1452 2016-07-21 Yao Qi <yao.qi@linaro.org>
1454 * gdb.server/solib-list.exp: Unset last_loaded_file.
1456 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1458 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1459 "step into captured_main (args)".
1461 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1463 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1465 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1467 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1469 2016-07-19 Pedro Alves <palves@redhat.com>
1471 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1472 * gdb.opt/inline-bt.exp: Likewise.
1473 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1474 additional_flags=-Winline.
1475 * gdb.opt/inline-locals.exp: Likewise.
1476 * gdb.opt/inline-markers.c (ATTR): Define.
1477 (inlined_fn): Use it.
1479 2016-07-19 Yao Qi <yao.qi@linaro.org>
1481 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1482 (test_with_self): Remove some code. Remove argument executable.
1483 (top-level): Use do_self_tests.
1485 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
1486 Don Breazeal <donb@codesourcery.com>
1488 * gdb.base/maint.exp: Escape paths used in regular expressions.
1489 * gdb.stabs/weird.exp: Likewise.
1491 2016-07-13 Tom Tromey <tom@tromey.com>
1493 PR python/15620, PR python/18620:
1494 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1495 (test_bkpt_events): New procs.
1497 2016-07-13 Tom Tromey <tom@tromey.com>
1500 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1502 (test_watchpoints): Likewise.
1503 (test_bkpt_pending): New proc.
1505 2016-07-13 Tom Tromey <tom@tromey.com>
1508 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1511 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1513 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1514 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1515 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1517 (g): Rename g_end_lbl to g_label.
1518 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1520 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1522 2016-07-12 Tom Tromey <tom@tromey.com>
1525 * gdb.python/py-unwind-maint.exp: Update tests.
1527 2016-07-12 Yao Qi <yao.qi@linaro.org>
1529 * lib/selftest-support.exp (selftest_setup): Match the output
1530 when captured_main is inlined.
1532 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1534 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1536 (print this%a, print this%b, print this): New tests.
1537 * gdb.fortran/derived-types.f90 (this): New object and
1540 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1542 * gdb.ada/arraydim.exp: Remove extra directory level in build
1545 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1547 * lib/ada.exp: Remove extra directory level in build directory.
1548 * gdb.ada/cond_lang.exp: Likewise.
1549 * gdb.ada/exec_changed.exp: Likewise.
1550 * gdb.ada/lang_switch.exp: Likewise.
1552 2016-07-06 Manish Goregaokar <manish@mozilla.com>
1554 * simple.rs: Add test for raw pointer subscripting.
1555 * simple.exp: Add test expectations.
1557 2016-07-05 Yao Qi <yao.qi@linaro.org>
1559 * gdb.mi/mi-reverse.exp: Match =record-started output.
1561 2016-07-01 Pedro Alves <palves@redhat.com>
1563 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1565 (jit_reader_test): Test the jit reader's unwinder.
1566 * gdb.base/jithost.c (jit_function_00_code): New global.
1567 (main): Use memcpy to fill in the mmapped code, instead of poking
1568 bytes manually here.
1569 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1571 (read_debug_info): Save the function's range.
1572 (read_sp): New function.
1573 (unwind_frame): Use it. Also unwind RBP.
1574 (get_frame_id): Use read_sp.
1575 (gdb_init_reader): Use calloc instead of malloc.
1576 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1577 parameter. Use gdb_test_multiple.
1579 2016-07-01 Pedro Alves <palves@redhat.com>
1580 Antoine Tremblay <antoine.tremblay@ericsson.com>
1582 * gdb.threads/process-dies-while-detaching.c: New file.
1583 * gdb.threads/process-dies-while-detaching.exp: New file.
1585 2016-07-01 Pedro Alves <palves@redhat.com>
1587 * gdb.multi/watchpoint-multi-exit.c: New file.
1588 * gdb.multi/watchpoint-multi-exit.exp: New file.
1590 2016-06-30 Pedro Alves <palves@redhat.com>
1592 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1593 unset inferior_spawn_id.
1595 2016-06-30 Pedro Alves <palves@redhat.com>
1597 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1598 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1600 2016-06-29 Yao Qi <yao.qi@linaro.org>
1602 * gdb.base/return.c: Add copyright header.
1604 2016-06-29 Tom Tromey <tom@tromey.com>
1607 * gdb.python/py-framefilter.exp: Add tests for setting priority
1608 and disabling of non-existent frame filter.
1610 2016-06-29 Yao Qi <yao.qi@linaro.org>
1612 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1615 2016-06-28 Yao Qi <yao.qi@linaro.org>
1617 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1618 triplets. Start gdb, execute catch syscall, and continue. Check
1619 gdb's output to determine catch syscall is supported.
1621 2016-06-27 Manish Goregaokar <manish@mozilla.com>
1623 * gdb.rust/simple.rs: Add test for returning unit in a function.
1624 * gdb.rust/simple.exp: Add expectation for functions returning
1627 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1629 * gdb.python/py-breakpoint-create-fail.c,
1630 gdb.python/py-breakpoint-create-fail.exp,
1631 gdb.python/py-breakpoint-create-fail.py: New testcase.
1633 2016-06-25 Manish Goregaokar <manish@mozilla.com>
1636 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
1637 * gdb.rust/simple.exp: Add test expectations for new NonZero
1640 2016-06-24 David Taylor <dtaylor@emc.com>
1642 * gdb.base/offsets.exp: New file.
1643 * gdb.base/offsets.c: New file.
1645 2016-06-23 Tom Tromey <tom@tromey.com>
1648 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1649 before any filters are loaded.
1651 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1653 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1654 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1656 * gdb.fortran/derived-type-function.exp: New file.
1657 * gdb.fortran/derived-type-function.f90: New file.
1660 2016-06-21 Pedro Alves <palves@redhat.com>
1662 * gdb.base/new-ui.exp: New file.
1663 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1664 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1665 (with_spawn_id): New procedure.
1667 2016-06-21 Pedro Alves <palves@redhat.com>
1669 * gdb.mi/mi-exec-run.exp: New file.
1671 2016-06-21 Pedro Alves <palves@redhat.com>
1673 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1674 breakpoint command's output on the main UI.
1675 (test_break): New procedure, factored out from calls in the top
1677 (top level): Use foreach_with_prefix to test MI as main UI and as
1680 2016-06-21 Pedro Alves <palves@redhat.com>
1682 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1683 (test_awatch_creation_and_listing)
1684 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1685 Remove 'type' parameter.
1686 (test_watchpoint_all): New parameter mi_mode. Remove
1688 (top level): Use foreach_with_prefix, and add main/separate UI MI
1691 2016-06-21 Pedro Alves <palves@redhat.com>
1693 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1694 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1695 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1696 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1697 (gdb_main_spawn_id, mi_spawn_id): Declare and
1699 (mi_create_inferior_pty): New procedure,
1700 factored out from default_mi_gdb_start.
1701 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1703 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1704 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1705 Use mi_create_inferior_pty.
1706 (mi_gdb_start): Use eval to pass down args list.
1708 2016-06-21 Pedro Alves <palves@redhat.com>
1710 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1711 * gdb.opt/inline-cmds.exp: Add MI tests.
1713 2016-06-21 Pedro Alves <palves@redhat.com>
1715 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1717 2016-06-21 Pedro Alves <palves@redhat.com>
1719 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1720 (top level): Use it instead of mi_execute_to.
1722 2016-06-21 Pedro Alves <palves@redhat.com>
1724 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1725 (cont_handler_str): New.
1726 (signal_stop_handler): Set stop_handler_str instead of printing to
1728 (continue_handler): Set cont_handler_str instead of printing to
1730 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1731 mi_send_resuming_command. Print stop_handler_str and
1732 cont_handler_str instead of expecting the python events print
1735 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1737 * gdb.base/jit-reader.exp: New file.
1738 * gdb.base/jithost.c: New file.
1739 * gdb.base/jithost.h: New file.
1740 * gdb.base/jitreader.c : New file.
1741 * gdb.base/jit-protocol.h: New file.
1743 2016-06-17 Yao Qi <yao.qi@linaro.org>
1745 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1746 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1747 and detach-on-fork. Adjust tests.
1748 (top level): Invoke break_cond_on_syscall with combinations of
1749 syscall, follow-fork-mode and detach-on-fork.
1751 2016-06-17 Yao Qi <yao.qi@linaro.org>
1753 * gdb.base/step-over-exit.c: New.
1754 * gdb.base/step-over-exit.exp: New.
1756 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1758 * gdb.base/float.exp: Add target check for nds32*-*-*.
1759 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1761 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1763 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1764 for unsupported target features.
1765 * gdb.base/call-rt-st.exp: Likewise.
1766 * gdb.base/call-sc.exp: Likewise.
1767 * gdb.base/call-signal-resume.exp: Likewise.
1768 * gdb.base/call-strs.exp: Likewise.
1769 * gdb.base/callexit.exp: Likewise.
1770 * gdb.base/callfuncs.exp: Likewise.
1771 * gdb.base/nodebug.exp: Likewise.
1772 * gdb.base/printcmds.exp: Likewise.
1773 * gdb.base/ptype.exp: Likewise.
1774 * gdb.base/structs.exp: Likewise.
1775 * gdb.base/unwindonsignal.exp: Likewise.
1776 * gdb.cp/gdb2495.exp: Likewise.
1777 * gdb.cp/templates.exp: Likewise.
1778 * gdb.cp/virtfunc.exp: Likewise.
1779 * gdb.threads/hand-call-in-threads.exp: Likewise.
1780 * gdb.threads/interrupted-hand-call.exp: Likewise.
1781 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1783 2016-06-10 Tom Tromey <tom@tromey.com>
1786 * gdb.rust/expr.exp: Add test for integer constant larger than
1789 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1791 * gdb.fortran/nested-funcs.exp: New.
1792 * gdb.fortran/nested-funcs.f90: New.
1794 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1796 * gdb.base/examine-backward.c: New file.
1797 * gdb.base/examine-backward.exp: New file.
1799 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1801 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1804 2016-06-02 Tom Tromey <tom@tromey.com>
1807 * gdb.python/py-shared.exp: Add solib_name test.
1809 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1811 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1813 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1816 * gdb.dwarf2/implref.exp: Rename to...
1817 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1818 * gdb.dwarf2/implref-array.c: New file.
1819 * gdb.dwarf2/implref-array.exp: Likewise.
1820 * gdb.dwarf2/implref-global.c: Likewise.
1821 * gdb.dwarf2/implref-global.exp: Likewise.
1822 * gdb.dwarf2/implref-struct.c: Likewise.
1823 * gdb.dwarf2/implref-struct.exp: Likewise.
1825 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1827 * gdb.trace/trace-condition.exp: Add 64bit tests.
1829 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1831 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1833 (main): Adapt to 8 to 64 bits types.
1834 * gdb.trace/trace-condition.exp: Add new tests.
1836 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1838 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1840 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1842 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1843 Move condition tests...
1844 * gdb.trace/trace-condition.exp: Here.
1846 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1848 * gdb.trace/trace-condition.exp: Add counter-case tests.
1850 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1853 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1854 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1856 2016-05-27 Pedro Alves <palves@redhat.com>
1858 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1860 (top level): Call it, and bail out of DejaGnu is known to be bad.
1862 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1864 * gdb.base/whatis.c: Extend the test case.
1865 * gdb.base/whatis.exp: Add additional tests.
1867 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1869 * gdb.fortran/type.f90: Add pointer variable.
1870 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1872 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1874 * gdb.fortran/vla-type.exp: Fix testcase name.
1876 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1878 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1880 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1882 * gdb.fortran/type.f90: Add nested structures.
1883 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1884 * gdb.fortran/derived-type.exp: Adapt expected output.
1885 * gdb.fortran/vla-type.exp: Adapt expected output.
1887 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1889 * gdb.fortran/whatis_type.exp: Adapt expected output.
1891 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1893 * gdb.fortran/print_type.exp: Fix expected output.
1894 * gdb.fortran/whatis_type.exp: Fix expected output.
1896 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1898 * gdb.fortran/whatis_type.exp: Use multi_line.
1900 2016-05-24 Tom Tromey <tom@tromey.com>
1903 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1904 use value as an index.
1906 2016-05-23 Tom Tromey <tom@tromey.com>
1909 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1912 2016-05-24 Pedro Alves <palves@redhat.com>
1915 * gdb.threads/clone-attach-detach.c: New file.
1916 * gdb.threads/clone-attach-detach.exp: New file.
1918 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1920 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1922 2016-05-23 Tom Tromey <tom@tromey.com>
1924 PR python/19438, PR python/18393:
1925 * gdb.python/py-progspace.exp: Add "dir" test.
1926 * gdb.python/py-objfile.exp: Add "dir" test.
1928 2016-05-23 Yao Qi <yao.qi@linaro.org>
1930 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1931 * gdb.arch/thumb2-it.exp: Likewise.
1933 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1935 * gdb.mi/mi-threads-interrupt.c: New file.
1936 * gdb.mi/mi-threads-interrupt.exp: New file.
1938 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1941 * gdb.mi/mi-async-run.exp: New file.
1942 * gdb.mi/mi-async-run.c: New file.
1944 2016-05-17 Tom Tromey <tom@tromey.com>
1945 Manish Goregaokar <manishsmail@gmail.com>
1947 * lib/rust-support.exp: New file.
1948 * lib/gdb.exp (skip_rust_tests): New proc.
1949 (build_executable_from_specs): Handle rust.
1950 * lib/future.exp (gdb_find_rustc): New proc.
1951 (gdb_default_target_compile): Handle rust.
1952 * gdb.rust/expr.exp: New file.
1953 * gdb.rust/generics.exp: New file.
1954 * gdb.rust/generics.rs: New file.
1955 * gdb.rust/methods.exp: New file.
1956 * gdb.rust/methods.rs: New file.
1957 * gdb.rust/modules.exp: New file.
1958 * gdb.rust/modules.rs: New file.
1959 * gdb.rust/simple.exp: New file.
1960 * gdb.rust/simple.rs: New file.
1962 2016-05-17 Tom Tromey <tom@tromey.com>
1964 * gdb.base/default.exp (set language): Add rust.
1966 2016-05-17 Tom Tromey <tom@tromey.com>
1968 * gdb.gdb/unittest.exp: New file.
1970 2016-05-16 Yao Qi <yao.qi@linaro.org>
1972 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1973 shell_prompt. Update shell_prompt_re.
1975 2016-05-12 Doug Evans <dje@google.com>
1978 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1979 $options when building executable.
1980 * gdb.dwarf2/fission-loclists-pie.S: New file.
1981 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1983 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1985 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
1986 of [is_remote target],
1988 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1990 * lib/gdb.exp (use_gdb_stub): New procedure.
1992 2016-05-03 Yunlian Jiang <yunlian@google.com>
1993 Doug Evans <dje@google.com>
1996 * gdb.dwarf2/dwp-sepdebug.c: New file.
1997 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1999 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2001 * gdb.base/detach.exp: Remove is_remote check.
2003 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
2005 * gdb.base/annota-input-while-running.exp: Don't check for
2006 [is_remote target]. Enable annotations after running to main.
2007 Remove unused "set test..." line.
2009 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2011 * gdb.trace/trace-enable-disable.exp: New file.
2012 * gdb.trace/trace-enable-disable.c: New file.
2014 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
2016 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
2017 use it in info sharedlibrary test.
2018 * gdb.trace/ftrace-lock.exp: Likewise.
2019 * gdb.trace/ftrace.exp: Likewise.
2020 * gdb.trace/range-stepping.exp: Likewise.
2021 * gdb.trace/trace-break.exp: Likewise.
2022 * gdb.trace/trace-condition.exp: Likewise.
2023 * gdb.trace/trace-mt.exp: Likewise.
2025 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2027 * lib/gdb.exp (gdb_load_shlibs): Rename to...
2028 (gdb_load_shlib): ... this.
2029 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
2031 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2032 * gdb.base/ctxobj.exp: Likewise.
2033 * gdb.base/dprintf-pending.exp: Likewise.
2034 * gdb.base/dso2dso.exp: Likewise.
2035 * gdb.base/fixsection.exp: Likewise.
2036 * gdb.base/gcore-relro.exp: Likewise.
2037 * gdb.base/gdb1555.exp: Likewise.
2038 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2039 * gdb.base/gnu-ifunc.exp: Likewise.
2040 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2041 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2042 * gdb.base/pending.exp: Likewise.
2043 * gdb.base/print-file-var.exp: Likewise.
2044 * gdb.base/print-symbol-loading.exp: Likewise.
2045 * gdb.base/shlib-call.exp: Likewise.
2046 * gdb.base/shreloc.exp: Likewise.
2047 * gdb.base/so-impl-ld.exp: Likewise.
2048 * gdb.base/solib-disc.exp: Likewise.
2049 * gdb.base/solib-nodir.exp: Likewise.
2050 * gdb.base/solib-overlap.exp: Likewise.
2051 * gdb.base/solib-symbol.exp: Likewise.
2052 * gdb.base/solib-weak.exp (do_test): Likewise.
2053 * gdb.base/sym-file.exp: Likewise.
2054 * gdb.base/symtab-search-order.exp: Likewise.
2055 * gdb.base/type-opaque.exp: Likewise.
2056 * gdb.base/unload.exp: Likewise.
2057 * gdb.base/watchpoint-solib.exp: Likewise.
2058 * gdb.compile/compile.exp: Likewise.
2059 * gdb.cp/gdb2384.exp: Likewise.
2060 * gdb.cp/infcall-dlopen.exp: Likewise.
2061 * gdb.cp/re-set-overloaded.exp: Likewise.
2062 * gdb.fortran/library-module.exp: Likewise.
2063 * gdb.opt/solib-intra-step.exp: Likewise.
2064 * gdb.python/py-finish-breakpoint.exp: Likewise.
2065 * gdb.python/py-shared.exp: Likewise.
2066 * gdb.reverse/solib-precsave.exp: Likewise.
2067 * gdb.reverse/solib-reverse.exp: Likewise.
2068 * gdb.server/solib-list.exp: Likewise.
2069 * gdb.threads/dlopen-libpthread.exp: Likewise.
2070 * gdb.threads/tls-shared.exp: Likewise.
2071 * gdb.threads/tls-so_extern.exp: Likewise.
2072 * gdb.trace/change-loc.exp: Likewise.
2073 * gdb.trace/ftrace-lock.exp: Likewise.
2074 * gdb.trace/ftrace.exp: Likewise.
2075 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2076 * gdb.trace/pending.exp: Likewise.
2077 * gdb.trace/range-stepping.exp: Likewise.
2078 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2079 (strace_info_marker): Likewise.
2080 (strace_probe_marker): Likewise.
2081 (strace_trace_on_same_addr): Likewise.
2082 (strace_trace_on_diff_addr): Likewise.
2083 * gdb.trace/trace-break.exp: Likewise.
2084 * gdb.trace/trace-condition.exp: Likewise.
2085 * gdb.trace/trace-mt.exp: Likewise.
2087 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2089 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2090 result of gdb_remote_download.
2091 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2092 * gdb.base/dso2dso.exp: Likewise.
2093 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2094 * gdb.base/print-file-var.exp: Likewise.
2095 * gdb.base/shlib-call.exp: Likewise.
2096 * gdb.base/shreloc.exp: Likewise.
2097 * gdb.base/solib-overlap.exp: Likewise.
2098 * gdb.base/solib-weak.exp (do_test): Likewise.
2099 * gdb.base/unload.exp: Likewise.
2101 2016-04-27 Yao Qi <yao.qi@linaro.org>
2103 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2106 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2108 * vla-type.exp: Print structure from toplevel.
2110 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2112 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2114 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2117 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2119 * gdb.fortran/vla-type.f90: New file.
2120 * gdb.fortran/vla-type.exp: New file.
2122 2016-04-25 Yao Qi <yao.qi@linaro.org>
2124 * gdb.base/branch-to-self.c: New file.
2125 * gdb.base/branch-to-self.exp: New file.
2127 2016-04-22 Yao Qi <yao.qi@linaro.org>
2129 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2132 2016-04-22 Yao Qi <yao.qi@linaro.org>
2134 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2135 * gdb.base/annota3.exp: Likewise.
2137 2016-04-22 Yao Qi <yao.qi@linaro.org>
2139 * gdb.reverse/step-precsave.exp: Do one step and test program
2140 stops in "callee" and do multiple steps until program goes out
2142 * gdb.reverse/step-reverse.exp: Likewise.
2144 2016-04-22 Yao Qi <yao.qi@linaro.org>
2146 * gdb.trace/signal.exp: Also pass if
2147 $tracepoint_hits($i) > $iterations.
2149 2016-04-22 Yao Qi <yao.qi@linaro.org>
2151 * gdb.trace/signal.c: New file.
2152 * gdb.trace/signal.exp: New file.
2154 2016-04-19 Doug Evans <xdje42@gmail.com>
2156 * gdb.base/bad-file.exp: New file.
2158 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2160 * gdb.dwarf2/implref.exp: New file.
2162 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2164 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2165 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2166 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2167 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2168 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2169 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2170 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2171 * lib/fortran.exp (fortran_int4): New procedure.
2172 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2173 (fortran_logical4): Likewise.
2175 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2177 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2179 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2181 * lib/compiler.c: Add Intel specific preprocessor macros.
2182 * lib/compiler.cc: Likewise.
2184 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2186 * gdb.server/connect-with-no-symbol-file.c: New file.
2187 * gdb.server/connect-with-no-symbol-file.exp: New file.
2189 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2191 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2193 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2195 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2196 standard output directory.
2198 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2200 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2202 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2204 * gdb.btrace/instruction_history.c (loop): Add declaration.
2206 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2208 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2210 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2212 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2213 parentheses to print.
2214 (continue_handler): Likewise.
2216 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2218 * gdb.server/solib-list.exp: Remove is_remote check.
2219 Pass shlib= to gdb_compile. Don't link shared library with
2220 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2221 Run binary filename through "readlink -f" on the target.
2223 2016-04-08 Pedro Alves <palves@redhat.com>
2225 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2226 interpreter filename as argument to gdbserver_spawn.
2227 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2228 Return empty if $last_loaded_file does not exist.
2230 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2232 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2233 * gdb.base/jit-main.c: Use exit after usage.
2235 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2237 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2238 GDBHISTSIZE prior to the tests.
2239 * gdb.base/gdbinit-history.exp: Likewise.
2241 2016-04-07 Pedro Alves <palves@redhat.com>
2243 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2244 instead of build_executable. Use gdb_load_shlibs.
2246 2016-04-07 Yao Qi <yao.qi@linaro.org>
2248 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2249 Execute "si" command.
2251 2016-04-07 Yao Qi <yao.qi@linaro.org>
2253 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2254 number instead of the comments on some line.
2256 2016-04-06 Don Breazeal <donb@codesourcery.com>
2258 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2259 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2261 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2263 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2264 standard_output_file. Remove unused binfile variable.
2266 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
2268 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2269 * gdb.python/py-mi-objfile.exp: Match "list main" output
2272 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2274 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2277 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2279 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2281 * gdb.trace/ftrace.exp: Likewise.
2282 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2284 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2285 (gdb_load_shlibs): Copy libraries to test directory when testing
2286 natively. Only set solib-search-path if testing remotely.
2287 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2289 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2291 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2292 gdb_download. Use it even if the target is not remote.
2293 * gdb.base/jit.exp (compile_jit_test): Likewise.
2294 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2295 output directory if the destination board is local, otherwise use
2296 the standard remote_download from DejaGnu.
2297 (gdb_download): Remove.
2298 (gdb_load_shlibs): Use gdb_remote_download instead of
2300 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2301 Use gdb_remote_download instead of gdb_download. Use it even if
2302 the target is not remote.
2303 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2304 instead of gdb_download.
2306 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2308 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2309 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2312 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
2315 * gdb.base/printcmds.exp: Add artificial arrays tests.
2317 2016-03-31 Pedro Alves <palves@redhat.com>
2320 * gdb.base/jit-main.c: Include unistd.h.
2321 (ATTACH): Define to 0 if not already defined.
2322 (wait_for_gdb, mypid): New globals.
2323 (WAIT_FOR_GDB): New macro.
2324 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2325 some breakpoint locations.
2326 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2328 (one_jit_test): Add REATTACH parameter, and handle it. Use
2329 continue_to_test_location.
2330 (top level): Test attach, and adjusts calls to one_jit_test.
2332 2016-03-31 Pedro Alves <palves@redhat.com>
2335 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2336 BINSUFFIX parameter, and handle it.
2337 (top level): Adjust calls compile_jit_test.
2339 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
2342 * gdb.python/py-mi-events-gdb.py: New file.
2343 * gdb.python/py-mi-events.c: New file.
2344 * gdb.python/py-mi-events.exp: New file.
2346 2016-03-30 Yao Qi <yao.qi@linaro.org>
2348 * gdb.reverse/until-precsave.exp: Match function name only.
2349 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2350 Move malloc to a condition block.
2351 * gdb.reverse/until-reverse.exp: Match function name only.
2353 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2355 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2356 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2357 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2358 variable for GPR 0 instead of assuming it is register 0.
2359 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2360 * lib/trace-support.exp: Add s390 registers.
2362 2016-03-29 Yao Qi <yao.qi@linaro.org>
2364 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2366 2016-03-24 Yao Qi <yao.qi@linaro.org>
2368 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2371 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2373 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2374 maintaining separate logic for constructing the output path.
2376 2016-03-16 Don Breazeal <donb@codesourcery.com>
2378 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2379 Retry fork and waitpid on interrupted system call errors.
2380 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2381 Use with_timeout_factor to increase timeout by factor of 10.
2383 2016-03-15 Don Breazeal <donb@codesourcery.com>
2385 * gdb.cp/scope-err.cc: New test program.
2386 * gdb.cp/scope-err.exp: New test script.
2387 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2388 lines and "set breakpoint here" comment.
2389 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2390 Fixed some whitespace and format issues.
2391 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2392 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2394 2016-03-15 Doug Evans <dje@google.com>
2396 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2397 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2398 All callers updated. Add tests for enums, mixed flags register.
2400 2016-03-15 Doug Evans <dje@google.com>
2402 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2403 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2405 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2407 * gdb.base/default.exp: Add $_as_string to the list of expected
2408 convenience functions.
2410 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2412 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2414 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2416 * gdb.python/py-as-string.exp: New file.
2417 * gdb.python/py-as-string.c: New file.
2419 2016-03-09 Pedro Alves <palves@redhat.com>
2421 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2422 signal" -> "Thread NN received signal" output change.
2423 * gdb.threads/ia64-sigill.exp: Likewise.
2424 * gdb.threads/linux-dp.exp: Likewise.
2425 * gdb.threads/manythreads.exp: Likewise.
2426 * gdb.threads/pending-step.exp: Likewise.
2427 * gdb.threads/print-threads.exp: Likewise.
2428 * gdb.threads/sigstep-threads.exp: Likewise.
2429 * gdb.threads/staticthreads.exp: Likewise.
2430 * gdb.threads/tls.exp: Likewise.
2432 2016-03-09 Pedro Alves <palves@redhat.com>
2434 * gdb.base/command-line-input.exp: New file.
2436 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2438 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2439 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2440 * gdb.trace/pending.exp: Accept leading dot before function name.
2441 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2442 * lib/trace-support.exp: Set registers for ppc.
2444 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2446 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2447 use it for disassembly; accept .main in addition to main in backtrace.
2449 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2450 Marcin Kościelnicki <koriakin@0x04.net>
2452 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2453 (gdb_recursion_test_ptr): New global variable.
2454 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2456 (gdb_c_test): Ditto.
2458 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2460 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2463 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2465 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2466 (bar): Add bar_start_lbl label.
2467 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2468 of foo/bar for emitting DWARF and tracing.
2470 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2472 * analyze-racy-logs.py: Set executable bit.
2474 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2476 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2477 (CHECK_TARGET_TMP): Likewise.
2478 (check-single-racy): New rule.
2479 (check-parallel-racy): Likewise.
2480 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2481 (do-check-parallel-racy): New rule.
2482 (check-racy/%.exp): Likewise.
2483 * README (Racy testcases): New section.
2484 * analyze-racy-logs.py: New file.
2486 2016-03-03 Doug Evans <dje@google.com>
2488 * gdb.base/skip.exp: Use with_test_prefix.
2490 2016-03-03 Yao Qi <yao.qi@linaro.org>
2492 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2493 Invoke step_over_syscall "clone" and break_cond_on_syscall
2495 * gdb.base/step-over-clone.c: New file.
2497 2016-03-03 Yao Qi <yao.qi@linaro.org>
2499 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2502 2016-03-03 Yao Qi <yao.qi@linaro.org>
2504 * gdb.base/disp-step-fork.c: Rename to ...
2505 * gdb.base/step-over-fork.c: ... it. New file.
2506 * gdb.base/disp-step-vfork.c: Rename to ...
2507 * gdb.base/step-over-vfork.c: ... it. New file.
2508 * gdb.base/disp-step-syscall.exp: Rename to ...
2509 * gdb.base/step-over-syscall.exp: ... it. New file.
2510 (disp_step_cross_syscall): Rename to ...
2511 (step_over_syscall): ... it.
2513 2016-03-03 Yao Qi <yao.qi@linaro.org>
2515 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2516 If target supports condition evaluation on target, invoke
2517 break_cond_on_syscall for fork and vfork.
2519 2016-03-03 Yao Qi <yao.qi@linaro.org>
2521 * gdb.base/disp-step-syscall.exp: Don't invoke
2522 support_displaced_stepping.
2523 (disp_step_cross_syscall): Test with displaced stepping off and
2526 2016-03-03 Yao Qi <yao.qi@linaro.org>
2528 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2531 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2534 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2536 * gdb.fortran/vla-history.exp: Remove breakpoint.
2538 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2540 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2543 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2545 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2548 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2550 * gdb.mi/vla.f90: Nullify pointer after declaration.
2552 2016-03-01 Pedro Alves <palves@redhat.com>
2554 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2556 2016-03-01 Pedro Alves <palves@redhat.com>
2558 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2559 before anything else.
2560 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2562 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2563 before anything else.
2564 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2566 2016-03-01 Pedro Alves <palves@redhat.com>
2568 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2570 2016-03-01 Yao Qi <yao.qi@linaro.org>
2572 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2573 prepare_for_testing.
2575 2016-03-01 Yao Qi <yao.qi@linaro.org>
2577 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2579 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2581 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2582 manually constructing the output path.
2584 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2586 * gdb.arch/s390-stackless.S: New.
2587 * gdb.arch/s390-stackless.exp: New.
2589 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2591 * gdb.dlang/circular.c: New file.
2592 * gdb.dlang/circular.exp: New file.
2594 2016-02-26 Yao Qi <yao.qi@linaro.org>
2596 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2597 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2598 (testcases): Update.
2600 2016-02-26 Yao Qi <yao.qi@linaro.org>
2602 * gdb.reverse/aarch64.c: Rename to ...
2603 * gdb.reverse/insn-reverse.c: ... it.
2604 * gdb.reverse/aarch64.exp: Rename to ...
2605 * gdb.reverse/insn-reverse.exp: ... it.
2607 2016-02-26 Yao Qi <yao.qi@linaro.org>
2609 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2610 (testcase_ftype): New.
2611 (testcases): New array.
2613 (main): Call each element in testcases.
2614 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2615 (read_testcase): New.
2616 Do the tests in a loop.
2618 2016-02-25 Yao Qi <yao.qi@linaro.org>
2620 * gdb.base/branches.c: Remove.
2622 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2625 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2627 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2629 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2631 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2633 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2634 change x86_64 call_insn to 'callq'.
2636 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2638 * gdb.trace/tfile-avx.c: Move to...
2639 * gdb.trace/tracefile-pseudo-reg.c: Here.
2640 * gdb.trace/tfile-avx.exp: Move to...
2641 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2643 2016-02-24 Gary Benson <gbenson@redhat.com>
2645 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2648 2016-02-23 Doug Evans <dje@google.com>
2650 * gdb.base/skip.c (test_skip): New function.
2651 (end_test_skip_file_and_function): New function.
2652 (test_skip_file_and_function): New function.
2653 * gdb.base/skip1.c (test_skip): New function.
2654 (skip1_test_skip_file_and_function): New function.
2655 * gdb.base/skip.exp: Add tests for new skip options.
2656 * gdb.base/skip-solib.exp: Update expected output.
2657 * gdb.perf/skip-command.cc: New file.
2658 * gdb.perf/skip-command.exp: New file.
2659 * gdb.perf/skip-command.py: New file.
2661 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2663 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2664 info registers pattern.
2666 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2668 * lib/future.exp: Add D support.
2669 (gdb_find_gdc): New proc.
2670 (gdb_default_target_compile): Add D support.
2672 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
2674 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2676 (trace_speed_test): Determine the iteration count for a time
2677 between 15..30 seconds.
2679 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2681 * gdb.arch/i386-mpx-sigsegv.c: New file.
2682 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2683 * gdb.arch/i386-mpx-simple_segv.c: New file.
2684 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2686 2016-02-18 Yao Qi <yao.qi@linaro.org>
2688 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2689 Don't call setup_kfail.
2691 2016-02-18 Yao Qi <yao.qi@linaro.org>
2693 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2694 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2696 2016-02-16 Doug Evans <dje@google.com>
2698 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2699 * gdb.base/skip1.c: Ditto.
2700 * gdb.base/skip.exp: Whitespace cleanup.
2702 2016-02-16 Don Breazeal <donb@codesourcery.com>
2705 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2706 Remove kfail for PR remote/19496.
2708 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2710 * lib/gdb.exp (standard_temp_file): Return a path specific to
2711 the runtest invocation.
2713 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2715 * gdb.trace/save-trace.exp: Change relative path to be in the
2716 standard output directory.
2718 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2720 * gdb.arch/i386-prologue.c: Add missing prototypes.
2722 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2724 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2725 * gdb.arch/i386-prologue.exp: Likewise.
2726 * gdb.arch/i386-size.exp: Likewise.
2728 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2730 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2731 define object file path.
2732 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2734 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2735 standard_output_file to define binfile.
2737 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 Fix compatibility with recent gfortran-5.3.1.
2740 * gdb.fortran/vla-history.exp (print vla1 allocated)
2741 (print vla2 allocated, print $2, print $3): Remove
2742 (print $4): Rename to ...
2743 (print $2): ... here.
2744 (print $9): Rename to ...
2745 (print $5): ... here.
2746 (print $10): Rename to ...
2747 (print $6): ... here.
2748 * gdb.fortran/vla.f90: Add pvla initialization.
2750 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2752 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2754 * gdb.fortran/vla-value-sub.exp: Likewise.
2756 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2758 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2760 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2762 * i386-biarch-core.exp: Define corefile using
2763 standard_output_file.
2765 2016-02-12 Yao Qi <yao.qi@linaro.org>
2767 * gdb.arch/arm-single-step-kernel-helper.c: New.
2768 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2770 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2772 * gdb.btrace/tailcall-only.exp: New.
2773 * gdb.btrace/tailcall-only.c: New.
2774 * gdb.btrace/x86_64-tailcall-only.S: New.
2775 * gdb.btrace/i686-tailcall-only.S: New.
2777 2016-02-11 Pedro Alves <palves@redhat.com>
2779 * README (Parallel testing): Add missing double quotes.
2781 2016-02-11 Pedro Alves <palves@redhat.com>
2783 * README (Parallel testing): New section.
2784 (GDB_PARALLEL): Rewrite.
2785 (FORCE_PARALLEL): Document.
2787 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2789 * gdb.trace/tfile-avx.c: New test.
2790 * gdb.trace/tfile-avx.exp: New test.
2792 2016-02-09 Keith Seitz <keiths@redhat.com>
2794 PR breakpoints/19546
2795 * gdb.base/infcall-exec.c: New file.
2796 * gdb.base/infcall-exec2.c: New file.
2797 * gdb.base/infcall-exec.exp: New file.
2799 2016-02-09 Keith Seitz <keiths@redhat.com>
2801 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2802 (toplevel): Call test_bkpt_address.
2804 2016-02-09 Keith Seitz <keiths@redhat.com>
2807 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2808 (toplevel): Call test_bkpt_address.
2810 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2812 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2814 * configure: Regenerate.
2816 2016-02-09 Pedro Alves <palves@redhat.com>
2818 PR breakpoints/19548
2819 * gdb.base/execl-update-breakpoints.c (some_function): New
2822 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2823 Tighten expected GDB output.
2825 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2827 * Makefile.in (ALL_SUBDIRS): Remove.
2828 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2829 (distclean maintainer-clean realclean): Likewise.
2830 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2831 * configure: Regenerate.
2832 * gdb.ada/Makefile.in: Delete.
2833 * gdb.arch/Makefile.in: Likewise.
2834 * gdb.asm/Makefile.in: Likewise.
2835 * gdb.base/Makefile.in: Likewise.
2836 * gdb.btrace/Makefile.in: Likewise.
2837 * gdb.cell/Makefile.in: Likewise.
2838 * gdb.compile/Makefile.in: Likewise.
2839 * gdb.cp/Makefile.in: Likewise.
2840 * gdb.disasm/Makefile.in: Likewise.
2841 * gdb.dlang/Makefile.in: Likewise.
2842 * gdb.dwarf2/Makefile.in: Likewise.
2843 * gdb.fortran/Makefile.in: Likewise.
2844 * gdb.gdb/Makefile.in: Likewise.
2845 * gdb.go/Makefile.in: Likewise.
2846 * gdb.guile/Makefile.in: Likewise.
2847 * gdb.java/Makefile.in: Likewise.
2848 * gdb.linespec/Makefile.in: Likewise.
2849 * gdb.mi/Makefile.in: Likewise.
2850 * gdb.modula2/Makefile.in: Likewise.
2851 * gdb.multi/Makefile.in: Likewise.
2852 * gdb.objc/Makefile.in: Likewise.
2853 * gdb.opencl/Makefile.in: Likewise.
2854 * gdb.opt/Makefile.in: Likewise.
2855 * gdb.pascal/Makefile.in: Likewise.
2856 * gdb.perf/Makefile.in: Likewise.
2857 * gdb.python/Makefile.in: Likewise.
2858 * gdb.reverse/Makefile.in: Likewise.
2859 * gdb.server/Makefile.in: Likewise.
2860 * gdb.stabs/Makefile.in: Likewise.
2861 * gdb.threads/Makefile.in: Likewise.
2862 * gdb.trace/Makefile.in: Likewise.
2863 * gdb.xml/Makefile.in: Likewise.
2864 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2866 (standard_output_file): Remove check for GDB_PARALLEL, always
2867 return path in outputs/$subdir/$testname.
2869 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2871 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2872 (site.exp): Assign abs_srcdir to tcl's srcdir.
2874 2016-02-04 Yao Qi <yao.qi@linaro.org>
2876 * gdb.base/foll-exec-mode.c: Include limits.h.
2877 (main): Add parameters argc and argv. Get directory from
2879 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2881 * gdb.base/foll-exec.c: Include limits.h.
2882 (main): Add parameters argc and argv.
2883 Get directory from argv[0].
2884 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2885 Adjust tests on the number of lines as source code changed.
2886 * gdb.base/foll-vfork-exit.c: Include limits.h.
2887 (main): Add one line of statement before vfork.
2888 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2889 (main): Add parameters argc and argv. Get directory from
2891 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2892 (setup_gdb): Set tbreak to skip some source lines.
2893 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2894 (main): Add parameters argc and argv. Get directory from
2896 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2898 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2899 (main): Add parameters argc and argv. Get directory from
2901 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2904 2016-02-01 Doug Evans <dje@google.com>
2906 * gdb.base/skip.exp: Clean up multiple references to same test name.
2908 2016-02-01 Pedro Alves <palves@redhat.com>
2911 * gdb.threads/forking-threads-plus-breakpoint.exp
2912 (displaced_stepping_supported): New global.
2913 (probe_displaced_stepping_support): New procedure.
2914 (do_test): Add 'displaced' parameter, and use it.
2915 (top level): Check for displaced stepping support. Add displaced
2916 stepping on/off testing axis.
2918 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2920 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2921 pointer. Don't perform further tests on the unassociated pointer
2922 if the first test fails.
2924 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2926 * gdb.base/max-value-size.c: New file.
2927 * gdb.base/max-value-size.exp: New file.
2928 * gdb.base/huge.exp: Disable max-value-size for this test.
2930 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2932 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2934 2016-01-28 Yao Qi <yao.qi@linaro.org>
2936 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2938 2016-01-25 Pedro Alves <palves@redhat.com>
2941 * gdb.base/fork-running-state.c: New file.
2942 * gdb.base/fork-running-state.exp: New file.
2944 2016-01-25 Pedro Alves <palves@redhat.com>
2947 * gdb.base/catch-fork-kill.c: New file.
2948 * gdb.base/catch-fork-kill.exp: New file.
2950 2016-01-25 Pedro Alves <palves@redhat.com>
2952 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2953 Delete, moved to lib/gdb.exp.
2954 * gdb.threads/forking-threads-plus-breakpoint.exp
2955 (foreach_with_prefix): Likewise.
2956 * gdb.threads/process-dies-while-handling-bp.exp
2957 (foreach_with_prefix): Likewise.
2958 * lib/gdb.exp (foreach_with_prefix): New procedure.
2960 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2962 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2963 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2965 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2967 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2970 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2971 Pedro Alves <palves@redhat.com>
2973 Fix testsuite compatibility with Guile.
2974 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2977 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2979 Fix testsuite compatibility with Guile.
2980 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2981 (thread 1): New test for backtrace through signal handler.
2983 2016-01-22 Yao Qi <yao.qi@linaro.org>
2986 * gdb.base/multi-forks.c: Include
2987 ../lib/unbuffer_output.c
2988 (main): Call gdb_unbuffer_output.
2990 2016-01-21 Doug Evans <dje@google.com>
2992 * lib/ada.exp (gdb_compile_ada): Fix typo.
2994 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2996 * gdb.base/break-fun-addr.exp: New file.
2997 * gdb.base/break-fun-addr1.c: New file.
2998 * gdb.base/break-fun-addr2.c: New file.
3000 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
3002 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
3003 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
3006 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3008 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
3009 when GDB can not set the vector return value. Add more comments
3012 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
3014 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
3017 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3019 * Makefile.in (DO_RUNTEST): Add --status and update usages.
3021 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3023 * Makefile.in (check-single): Pass --status to runtest.
3024 (check/%.exp): Likewise.
3026 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
3028 * Makefile.in (check-parallel): Propagate return code from make
3031 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
3033 * gdb.trace/ftrace.exp: Fix expected message on continue.
3034 * gdb.trace/pending.exp: Fix expected message on continue.
3035 * gdb.trace/trace-break.exp: Fix expected message on continue.
3037 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3039 * lib/gdb.exp (gdb_test): Remove unused global references.
3041 2016-01-18 Pedro Alves <palves@redhat.com>
3043 * gdb.base/async-shell.exp: Adjust expected output.
3044 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3045 * gdb.base/siginfo-thread.exp: Adjust expected output.
3046 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3047 * gdb.java/jnpe.exp: Adjust expected output.
3048 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3049 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3050 * gdb.threads/leader-exit.exp: Adjust expected output.
3051 * gdb.threads/manythreads.exp: Adjust expected output.
3052 * gdb.threads/pthreads.exp: Adjust expected output.
3053 * gdb.threads/schedlock.exp: Adjust expected output.
3054 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3055 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3057 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3059 * gdb.threads/sigthread.exp: Adjust expected output.
3060 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3062 2016-01-18 Yao Qi <yao.qi@linaro.org>
3064 * gdb.guile/scm-section-script.c: Replace @progbits with
3066 * gdb.python/py-section-script.c: Likewise.
3068 2016-01-15 Pedro Alves <palves@redhat.com>
3070 * gdb.multi/tids.exp: Test star wildcard ranges.
3072 2016-01-15 Pedro Alves <palves@redhat.com>
3074 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3075 command from "thread apply" invocation.
3076 (thr_apply_info_thr_invalid): Default the expected output to the
3078 (top level): Add tests that use convenience variables. Add tests
3079 for "thread apply" with a valid TID list, but missing the command.
3081 2016-01-13 Pedro Alves <palves@redhat.com>
3083 * gdb.base/default.exp: Expect $_gthread as well.
3084 * gdb.multi/tids.exp: Test $_gthread.
3085 * gdb.threads/thread-specific.exp: Test $_gthread.
3087 2016-01-13 Pedro Alves <palves@redhat.com>
3089 * gdb.multi/tids.exp: Test "info threads -gid".
3091 2016-01-13 Pedro Alves <palves@redhat.com>
3093 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3095 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3097 2016-01-07 Pedro Alves <palves@redhat.com>
3099 * gdb.base/break.exp: Adjust to output changes.
3100 * gdb.base/hbreak2.exp: Likewise.
3101 * gdb.base/sepdebug.exp: Likewise.
3102 * gdb.base/watch_thread_num.exp: Likewise.
3103 * gdb.linespec/keywords.exp: Likewise.
3104 * gdb.multi/info-threads.exp: Likewise.
3105 * gdb.threads/thread-find.exp: Likewise.
3106 * gdb.multi/tids.c: New file.
3107 * gdb.multi/tids.exp: New file.
3109 2016-01-13 Pedro Alves <palves@redhat.com>
3111 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3113 2016-01-13 Pedro Alves <palves@redhat.com>
3115 * gdb.base/default.exp: Expect $_inferior as well.
3116 * gdb.multi/base.exp: Test $_inferior.
3118 2016-01-13 Pedro Alves <palves@redhat.com>
3120 PR breakpoints/19388
3121 * gdb.base/catch-signal-siginfo-cond.c: New file.
3122 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3124 2016-01-12 Josh Stone <jistone@redhat.com>
3125 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3127 * gdb.base/catch-syscall.c (do_execve): New variable.
3128 (main): Conditionally trigger an execve.
3129 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3130 (test_catch_syscall_execve): New, check entry/return across execve.
3131 (do_syscall_tests): Call test_catch_syscall_execve.
3133 2016-01-12 Pedro Alves <palves@redhat.com>
3135 * gdb.base/random-signal.exp (do_test): New procedure, with body
3136 of testcase moved in.
3138 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3139 Pedro Alves <palves@redhat.com>
3141 * gdb.base/funcargs.exp (finish from indirectly called function):
3142 Reintroduce the case for 'First'.
3144 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3145 Pedro Alves <palves@redhat.com>
3147 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3148 (tcatch_vfork_then_child_follow_exec)
3149 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3152 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3154 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3155 and repeats to unlimited.
3156 * gdb.python/py-value.exp: Likewise.
3157 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3158 and repeats to unlimited.
3160 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3162 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3163 and reordering the functions.
3164 * gdb.multi/hangout.c: Likewise.
3165 * gdb.multi/hello.c: Likewise.
3167 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3169 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3171 (SingleStatisticTestResult.report): Use dict.keys instead of
3174 2016-01-06 Pedro Alves <palves@redhat.com>
3176 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3178 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3180 * gdb.btrace/dlopen.exp: New.
3181 * gdb.btrace/dlopen.c: New.
3182 * gdb.btrace/dlopen-dso.c: New.
3184 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3186 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3187 PATTERN argument is optional.
3189 2015-12-24 Joel Brobecker <brobecker@adacore.com>
3191 * lib/ada.exp (target_compile_ada_from_dir): New function.
3192 (gdb_compile_ada): Reimplement avoiding the use of project files.
3193 * gdb.ada/gnat_ada.gpr: Delete.
3194 * gdb.ada/cond_lang.exp: Adjust test to make path before
3196 * gdb.ada/small_reg_param.exp: Likewise.
3198 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3200 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3202 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3204 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3207 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3209 * gdb.base/break.exp: Remove dead code.
3210 * gdb.base/sepdebug.exp: Likewise.
3212 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3214 * gdb.asm/asm-source.exp: Remove HP-UX references.
3215 * gdb.base/annota1.exp: Likewise.
3216 * gdb.base/annota3.exp: Likewise.
3217 * gdb.base/attach.exp: Likewise.
3218 * gdb.base/bigcore.exp: Likewise.
3219 * gdb.base/break.exp: Likewise.
3220 * gdb.base/call-ar-st.exp: Likewise.
3221 * gdb.base/callfuncs.exp: Likewise.
3222 * gdb.base/catch-fork-static.exp: Likewise.
3223 * gdb.base/display.exp: Likewise.
3224 * gdb.base/foll-exec-mode.exp: Likewise.
3225 * gdb.base/foll-exec.exp: Likewise.
3226 * gdb.base/foll-fork.exp: Likewise.
3227 * gdb.base/foll-vfork.exp: Likewise.
3228 * gdb.base/funcargs.exp: Likewise.
3229 * gdb.base/hbreak2.exp: Likewise.
3230 * gdb.base/inferior-died.exp: Likewise.
3231 * gdb.base/interrupt.exp: Likewise.
3232 * gdb.base/multi-forks.exp: Likewise.
3233 * gdb.base/nodebug.exp: Likewise.
3234 * gdb.base/sepdebug.exp: Likewise.
3235 * gdb.base/solib1.c: Likewise.
3236 * gdb.base/step-test.exp: Likewise.
3237 * gdb.mi/non-stop.c: Likewise.
3238 * gdb.mi/pthreads.c: Likewise.
3239 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3240 * gdb.threads/pthreads.c: Likewise.
3241 * gdb.threads/staticthreads.exp: Likewise.
3242 * lib/future.exp: Likewise.
3243 * lib/gdb.exp: Likewise.
3244 * gdb.base/so-indr-cl.c: Remove.
3245 * gdb.base/so-indr-cl.exp: Likewise.
3246 * gdb.base/solib.c: Likewise.
3247 * gdb.base/solib.exp: Likewise.
3248 * gdb.base/solib2.c: Likewise.
3250 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3252 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3253 * gdb.base/call-ar-st.exp: Likewise.
3254 * gdb.base/callfuncs.exp: Likewise.
3255 * gdb.base/condbreak.exp: Likewise.
3256 * gdb.base/constvars.exp: Likewise.
3257 * gdb.base/hbreak2.exp: Likewise.
3258 * gdb.base/langs.exp: Likewise.
3259 * gdb.base/list.exp: Likewise.
3260 * gdb.base/long_long.exp: Likewise.
3261 * gdb.base/ptype.exp: Likewise.
3262 * gdb.base/scope.exp: Likewise.
3263 * gdb.base/signals.exp: Likewise.
3264 * gdb.base/so-impl-ld.exp: Likewise.
3265 * gdb.base/varargs.exp: Likewise.
3266 * gdb.base/volatile.exp: Likewise.
3267 * gdb.base/whatis.exp: Likewise.
3268 * gdb.cp/cplusfuncs.exp: Likewise.
3269 * gdb.cp/inherit.exp: Likewise.
3270 * gdb.cp/local.exp: Likewise.
3271 * gdb.cp/member-ptr.exp: Likewise.
3272 * gdb.cp/method.exp: Likewise.
3273 * gdb.cp/overload.exp: Likewise.
3274 * gdb.cp/templates.exp: Likewise.
3275 * gdb.stabs/weird.exp: Likewise.
3276 * lib/compiler.c: Likewise.
3277 * lib/compiler.cc: Likewise.
3278 * lib/cp-support.exp: Likewise.
3279 * lib/gdb.exp: Likewise.
3281 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3283 * configure.ac: Remove HP-UX case.
3284 * configure: Regenerate.
3286 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3288 * lib/gdb.exp (gdb_compile): Add function doc.
3290 2015-12-17 Pedro Alves <palves@redhat.com>
3293 * gdb.multi/info-threads.exp: New file.
3295 2015-12-15 Yao Qi <yao.qi@linaro.org>
3297 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3300 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3302 * gdb.base/history-duplicates.exp: Skip if no readline support.
3304 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3306 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3308 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3310 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3312 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3314 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3315 ctrl-C if nointerrupts target property is set.
3316 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3317 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3318 * gdb.base/paginate-bg-execution.exp: Likewise.
3319 * gdb.base/paginate-execution-startup.exp: Likewise.
3320 * gdb.base/random-signal.exp: Likewise.
3321 * gdb.base/range-stepping.exp: Likewise.
3322 * gdb.cp/annota2.exp: Likewise.
3323 * gdb.cp/annota3.exp: Likewise.
3324 * gdb.gdb/selftest.exp: Likewise.
3325 * gdb.threads/continue-pending-status.exp: Likewise.
3326 * gdb.threads/leader-exit.exp: Likewise.
3327 * gdb.threads/manythreads.exp: Likewise.
3328 * gdb.threads/pthreads.exp: Likewise.
3329 * gdb.threads/schedlock.exp: Likewise.
3330 * gdb.threads/sigthread.exp: Likewise.
3332 2015-12-11 Don Breazeal <donb@codesourcery.com>
3334 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3336 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3337 * gdb.base/foll-exec.exp (main): Enable for target remote.
3338 * gdb.base/foll-fork.exp (main): Likewise.
3339 * gdb.base/foll-vfork.exp (main): Likewise.
3340 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3341 (proc continue_to_exit_bp_loc): Use clean_restart.
3342 * gdb.base/pie-execl.exp (main): Disable for target remote.
3343 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3344 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3345 * gdb.threads/execl.exp (main): Likewise.
3346 * gdb.threads/fork-child-threads.exp (main): Likewise.
3347 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3349 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3351 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3352 pid.tid style ptids, instead of just tid.
3353 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3354 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3355 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3356 ptids, instead of just tid.
3358 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3360 * gdb.base/list.exp (test_list_forward): Add end of file error
3362 (test_repeat_list_command): Add end of file error test.
3363 (test_list_backwards): Add beginning of file error test.
3365 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3367 * gdb.base/list.exp (test_list_invalid_args): New function,
3368 defined, and called.
3370 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3372 * gdb.base/list.exp (test_list): Make test names unique.
3374 2015-12-11 Yao Qi <yao.qi@linaro.org>
3376 * gdb.base/coremaker2.c: Remove.
3378 2015-12-10 Pedro Alves <palves@redhat.com>
3380 * gdb.multi/base.exp: Remove stale "spaces" references.
3382 2015-12-10 Pedro Alves <palves@redhat.com>
3384 * gdb.multi/base.exp: Don't use nowarnings.
3385 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3386 * gdb.multi/hangout.c: Include stdio.h.
3387 * gdb.multi/hello.c: Include stdlib.h.
3388 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3389 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3390 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3392 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3394 * gdb.dwarf2/dw2-ranges-base.c: New file.
3395 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3396 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3397 support additional line table, and debug ranges generation.
3398 (Dwarf::ranges): New function, generate .debug_ranges.
3399 (Dwarf::lines): Support generating simple line table programs.
3400 (Dwarf::assemble): Initialise new namespace variables.
3402 2015-12-09 Kevin Buettner <kevinb@redhat.com>
3404 * gdb.base/async.exp (proc test_background): Add case for
3405 asynchronous execution not supported.
3407 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
3409 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3410 format and change test names to make them unique.
3412 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3413 Pedro Alves <pedro@redhat.com>
3416 Add checking of floatformats setup on x86_64 hosts.
3417 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3418 (smallval, bigval): New labels/constants.
3419 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3420 float" after loading bigval and smallval.
3422 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3424 * gdb.ada/fun_overload_menu.exp: New testcase.
3425 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3427 2015-12-04 Josh Stone <jistone@redhat.com>
3429 * gdb.base/catch-fork-static.exp: New.
3431 2015-12-03 Yao Qi <yao.qi@linaro.org>
3433 * gdb.base/sizeof.c: Don't include stdio.h and
3434 ../lib/unbuffer_output.c.
3435 (main): New variable 'size' and 'value'. Remove printf and
3436 gdb_unbuffer_output. Assign return value to size and value.
3437 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3439 (check_sizeof): Check the result by printing variable 'size'.
3440 (check_valueof): Check the result by printing variable 'value'.
3442 2015-12-01 Yao Qi <yao.qi@linaro.org>
3444 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3445 for aarch64*-*-linux* target.
3447 2015-11-30 Pedro Alves <palves@redhat.com>
3449 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3451 2015-11-30 Pedro Alves <palves@redhat.com>
3453 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3454 Handle non-stop mode vCont replies.
3456 2015-11-30 Pedro Alves <palves@redhat.com>
3458 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3459 prepare_for_testing. Start gdb with "set non-stop on" appended to
3460 GDBFLAGS. Lax expected stop output.
3462 2015-11-27 Yao Qi <yao.qi@linaro.org>
3464 * gdb.arch/arm-neon.exp: New.
3465 * gdb.arch/arm-neon.c: New.
3467 2015-11-27 Yao Qi <yao.qi@linaro.org>
3469 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3471 2015-11-27 Yao Qi <yao.qi@linaro.org>
3473 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3474 frames-invalid annotation.
3476 2015-11-27 Yao Qi <yao.qi@linaro.org>
3478 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3480 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3482 * gdb.threads/names.exp: New file.
3483 * gdb.threads/names.c: New file.
3484 * README: Mention gdb,no_thread_names.
3486 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3489 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3492 2015-11-24 Pedro Alves <palves@redhat.com>
3495 * gdb.base/display.exp: Expect displays to be sorted in ascending
3496 order. Use multi_line.
3497 * gdb.base/solib-display.exp: Likewise.
3499 2015-11-24 Pedro Alves <palves@redhat.com>
3502 * gdb.base/display.exp: Expect displays to be sorted in ascending
3503 order. Use multi_line.
3504 * gdb.base/solib-display.exp: Likewise.
3506 2015-11-24 Pedro Alves <palves@redhat.com>
3509 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3510 threads in ascending order.
3511 * gdb.base/foll-fork.exp: Likewise.
3512 * gdb.base/foll-vfork.exp: Likewise.
3513 * gdb.base/multi-forks.exp: Likewise.
3514 * gdb.mi/mi-nonstop.exp: Likewise.
3515 * gdb.mi/mi-nsintrall.exp: Likewise.
3516 * gdb.multi/base.exp: Likewise.
3517 * gdb.multi/multi-arch.exp: Likewise.
3518 * gdb.python/py-inferior.exp: Likewise.
3519 * gdb.threads/break-while-running.exp: Likewise.
3520 * gdb.threads/execl.exp: Likewise.
3521 * gdb.threads/gcore-thread.exp: Likewise.
3522 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3523 * gdb.threads/kill.exp: Likewise.
3524 * gdb.threads/linux-dp.exp: Likewise.
3525 * gdb.threads/multiple-step-overs.exp: Likewise.
3526 * gdb.threads/next-bp-other-thread.exp: Likewise.
3527 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3528 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3529 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3530 * gdb.threads/thread-find.exp: Likewise.
3531 * gdb.threads/tls.exp: Likewise.
3532 * lib/mi-support.exp (mi_reverse_list): Delete.
3533 (mi_check_thread_states): No longer reverse list.
3535 2015-11-24 Pedro Alves <palves@redhat.com>
3537 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3540 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3542 * gdb.trace/actions.c: Include trace-common.h.
3543 (main): Add a location for a fast tracepoint.
3544 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3545 the normal tracepoints.
3546 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3548 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3550 * save-trace.exp: Factor out code to these...
3551 (gdb_save_tracepoints): New.
3552 (gdb_load_tracepoints): New.
3553 (do_save_load_test): New.
3555 2015-11-23 Kevin Buettner <kevinb@redhat.com>
3557 * gdb.base/asmlabel.exp: New test.
3558 * gdb.base/asmlabel.c: New test case.
3560 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3562 * gdb.base/wrong_frame_bt_full-main.c: New file.
3563 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3564 * gdb.base/wrong_frame_bt_full.exp: New file.
3566 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3568 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3570 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3572 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
3573 pstate register when comparing registers values in
3574 sparc64-*-linux-gnu targets to avoid spurious differences.
3576 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3578 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
3580 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3582 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3583 as type argument to gdb_compile.
3584 * gdb.base/nested-subp2.exp: Likewise.
3585 * gdb.base/nested-subp3.exp: Likewise.
3587 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3589 * lib/dwarf.exp (_note): Fix left shift of negative value.
3590 * gdb.trace/trace-condition.exp: Likewise.
3592 2015-11-13 Yao Qi <yao.qi@linaro.org>
3594 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3595 comments about d10v.
3596 (test_scalar_returns): Likewise.
3597 * gdb.base/d10v.ld: Remove.
3598 * gdb.base/overlays.exp: Remove the target triplet checking for
3600 * gdb.base/structs.exp (test_struct_returns): Remove the
3601 comments about d10v.
3602 (test_struct_calls): Likewise.
3604 2015-11-13 Yao Qi <yao.qi@linaro.org>
3606 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3607 * gdb.base/gnu_vector.c: Don't include stdio.h.
3608 (main): Don't print res and call add_some_intvecs.
3610 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3612 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3615 (func4): Use FAST_TRACEPOINT_LABEL.
3616 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3619 (thread_function): Use FAST_TRACEPOINT_LABEL.
3620 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3622 (marker): Use FAST_TRACEPOINT_LABEL.
3623 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3624 (pendfunc1): Remove.
3625 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3626 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3628 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3629 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3632 (marker): Use FAST_TRACEPOINT_LABEL.
3633 * gdb.trace/trace-common.h: New header.
3634 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3637 (marker): Use FAST_TRACEPOINT_LABEL.
3638 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3640 (thread_function): Use FAST_TRACEPOINT_LABEL.
3642 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3644 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3646 * gdb.trace/change-loc.exp: Use global pcreg definition.
3647 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3648 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3650 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3651 * gdb.trace/pending.exp: Likewise.
3652 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3653 * gdb.trace/trace-break.exp: Likewise.
3654 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3656 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3657 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3659 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3661 2015-11-09 Joel Brobecker <brobecker@adacore.com>
3663 * gdb.ada/fin_fun_out: New testcase.
3665 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3667 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3668 value associated with DW_AT_byte_size.
3669 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3670 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3673 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3675 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3676 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3678 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3679 gdb.dwarf2/dw2-canonicalize-type.exp,
3680 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3681 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3682 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3683 provided by gdb_target_symbol_prefix_flags_asm.
3684 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3685 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3686 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3687 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3688 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3689 macros where needed). Use this macro for symbols which require
3690 the prefix provided by SYMBOL_PREFIX.
3692 2015-11-05 Kevin Buettner <kevinb@redhat.com>
3694 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3696 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3697 representing expressions, of more than one list element.
3698 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3699 to prepend linker symbol prefix to f.
3700 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3701 table_1 and table_2.
3702 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3703 Likewise, for f and g.
3704 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3706 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3708 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3709 table_1_ptr and table_2_ptr.
3711 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3712 Joel Brobecker <brobecker@adacore.com>
3714 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3716 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3718 * gdb.reverse/s390-mvcle.c: New test.
3719 * gdb.reverse/s390-mvcle.exp: New file.
3720 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3722 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3724 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3726 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3728 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3730 * gdb.reverse/getresuid-reverse.exp: Likewise.
3731 * gdb.reverse/pipe-reverse.exp: Likewise.
3732 * gdb.reverse/readv-reverse.exp: Likewise.
3733 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3734 * gdb.reverse/time-reverse.exp: Likewise.
3735 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3737 2015-10-30 Yao Qi <yao.qi@linaro.org>
3739 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3740 (empty_cycle): Remove.
3741 (main): Don't call empty_cycle. Don't use watch_count_done.
3742 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3743 empty_cycle. Rewrite the code counting HW watchpoints.
3745 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3747 * gdb.reverse/fstatat-reverse.c: New test.
3748 * gdb.reverse/fstatat-reverse.exp: New file.
3749 * gdb.reverse/getresuid-reverse.c: New test.
3750 * gdb.reverse/getresuid-reverse.exp: New file.
3751 * gdb.reverse/pipe-reverse.c: New test.
3752 * gdb.reverse/pipe-reverse.exp: New file.
3753 * gdb.reverse/readv-reverse.c: New test.
3754 * gdb.reverse/readv-reverse.exp: New file.
3755 * gdb.reverse/recvmsg-reverse.c: New test.
3756 * gdb.reverse/recvmsg-reverse.exp: New file.
3757 * gdb.reverse/time-reverse.c: New test.
3758 * gdb.reverse/time-reverse.exp: New file.
3759 * gdb.reverse/waitpid-reverse.c: New test.
3760 * gdb.reverse/waitpid-reverse.exp: New file.
3762 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3764 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3766 2015-10-26 Doug Evans <dje@google.com>
3769 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3770 * gdb.dwarf2/bad-regnum.c: New file.
3771 * gdb.dwarf2/bad-regnum.exp: New file.
3773 2015-10-26 Doug Evans <dje@google.com>
3776 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3779 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3781 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3782 for a change by "Mention language in compile error message".
3784 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3787 * gdb.python/py-type.c (C::a_method): New.
3788 (C::a_const_method): New.
3789 (C::a_static_method): New.
3791 * gdb.python/py-type.exp (test_fields): Test getting fields
3792 from function and method.
3794 2015-10-21 Keven Boell <keven.boell@intel.com>
3796 * gdb.fortran/vla-alloc-assoc.exp: New file.
3797 * gdb.fortran/vla-datatypes.exp: New file.
3798 * gdb.fortran/vla-datatypes.f90: New file.
3799 * gdb.fortran/vla-history.exp: New file.
3800 * gdb.fortran/vla-ptype-sub.exp: New file.
3801 * gdb.fortran/vla-ptype.exp: New file.
3802 * gdb.fortran/vla-sizeof.exp: New file.
3803 * gdb.fortran/vla-sub.f90: New file.
3804 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3805 * gdb.fortran/vla-value-sub-finish.exp: New file.
3806 * gdb.fortran/vla-value-sub.exp: New file.
3807 * gdb.fortran/vla-value.exp: New file.
3808 * gdb.fortran/vla-ptr-info.exp: New file.
3809 * gdb.mi/mi-vla-fortran.exp: New file.
3810 * gdb.mi/vla.f90: New file.
3812 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3814 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3815 of hardwired timeout value.
3817 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3818 Pedro Alves <palves@redhat.com>
3820 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3821 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3823 2015-10-19 Josh Stone <jistone@redhat.com>
3825 * gdb.base/catch-syscall.c: Include <sched.h>.
3826 (unknown_syscall): New variable.
3827 (main): Trigger a vfork and an unknown syscall.
3828 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3829 (unknown_syscall_number): Likewise.
3830 (check_call_to_syscall): Accept an optional syscall pattern.
3831 (check_return_from_syscall): Likewise.
3832 (check_continue): Likewise.
3833 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3834 (test_catch_syscall_skipping_return): New test toggling off 'catch
3835 syscall' to step over the syscall return, then toggling back on.
3836 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3837 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3838 (do_syscall_tests): Call test_catch_syscall_without_args and
3839 test_catch_syscall_mid_vfork.
3840 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3841 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3843 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
3845 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3846 print g_vE): Add new pass patterns.
3847 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3848 print various symbol names for vptr fields.
3850 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3852 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3855 2015-10-12 Yao Qi <yao.qi@linaro.org>
3857 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3859 2015-10-12 Yao Qi <yao.qi@linaro.org>
3861 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3862 is aarch64*-*-linux*.
3864 2015-10-12 Yao Qi <yao.qi@linaro.org>
3866 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3867 (can_relocate_bcond_true): ... it.
3868 (can_relocate_bcond_false): New function.
3870 (can_relocate_bl): Likewise.
3871 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3874 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3876 * gdb.base/nested-addr.c: New file.
3877 * gdb.base/nested-addr.exp: New testcase.
3879 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3881 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3882 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3883 its output. Ignore the output of "record goto begin" and instead
3884 check that GDB is replaying.
3886 2015-10-09 Pedro Alves <palves@redhat.com>
3888 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3889 (top level): Use it in the run with no args test.
3891 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3893 * gdb.dlang/properties.exp: New file.
3895 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3897 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3898 whether or not address 0x1000 is mapped on the target.
3900 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3902 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3905 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3907 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3908 instruction-history test.
3910 2015-09-28 Doug Evans <dje@google.com>
3912 * gdb.base/gcore.c (array_func): Add reference to static_array.
3914 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3916 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3919 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3921 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3922 short or char as base type.
3924 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3926 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3927 to allow any size enum.
3929 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3931 * gdb.ada/array_ptr_renaming.exp: New testcase.
3932 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3933 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3935 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3937 * gdb.trace/ftrace-lock.c: New file.
3938 * gdb.trace/ftrace-lock.exp: New file.
3940 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3942 * gdb.arch/insn-reloc.c: New file.
3943 * gdb.arch/ftrace-insn-reloc.exp: New file.
3945 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3947 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3949 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3950 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3951 * gdb.trace/range-stepping.c: Likewise.
3952 * gdb.trace/trace-break.c: Likewise.
3953 * gdb.trace/trace-mt.c (thread_function): Likewise.
3954 * gdb.trace/ftrace.c (marker): Likewise.
3955 * gdb.trace/trace-condition.c (marker): Likewise.
3956 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3957 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3960 2015-09-18 Doug Evans <xdje42@gmail.com>
3962 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3963 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3965 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3967 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3970 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3972 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3973 the pending breakpoint. Remove timeout override for "Run till
3974 MI pending breakpoint on pendfunc3 on thread 2" test.
3976 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3978 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3981 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3983 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3984 in breakpoint filename pattern.
3986 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3988 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3990 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3992 * gdb.linespec/explicit.exp: Check for readline support for
3993 tab-completion tests. Fix obvious typo.
3995 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3997 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
4000 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
4002 * gdb.btrace/non-stop.c: New.
4003 * gdb.btrace/non-stop.exp: New.
4005 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
4006 Yao Qi <yao.qi@linaro.org>
4008 * gdb.trace/trace-condition.c: New file.
4009 * gdb.trace/trace-condition.exp: New file.
4011 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
4013 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
4014 for testing bytecode compilation.
4016 2015-09-16 Pedro Alves <palves@redhat.com>
4017 Sandra Loosemore <sandra@codesourcery.com>
4019 * gdb.threads/non-stop-fair-events.c (timeout): New global.
4020 (SECONDS): Redefine.
4021 (main): Call pthread_kill and alarm early.
4022 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
4024 (test): If the target can't hardware step and doesn't support
4025 displaced stepping, increase the timeout.
4027 2015-09-16 Pedro Alves <palves@redhat.com>
4029 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4030 (enable_debug): New procedures.
4031 (test): Use them. Bail out if waiting for threads fails.
4032 (top level): Bail out if a test fails.
4034 2015-09-16 Yao Qi <yao.qi@linaro.org>
4036 * gdb.asm/asm-source.exp: Set asm-arch for
4037 aarch64*-*-* target.
4038 * gdb.asm/aarch64.inc: New file.
4040 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4042 * gdb.ada/array_of_variable_length.exp: New testcase.
4043 * gdb.ada/array_of_variable_length/foo.adb: New file.
4044 * gdb.ada/array_of_variable_length/pck.adb: New file.
4045 * gdb.ada/array_of_variable_length/pck.ads: New file.
4047 2015-09-15 Doug Evans <dje@google.com>
4049 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4050 of function static local variable.
4052 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4054 * gdb.threads/tls-so_extern.exp: New test file.
4055 * gdb.threads/tls-so_extern.c: New test file.
4056 * gdb.threads/tls-so_extern_main.c: New test file.
4058 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4060 * gdb.opt/solib-intra-step-lib.c: New file.
4061 * gdb.opt/solib-intra-step-main.c: New file.
4062 * gdb.opt/solib-intra-step.exp: New file.
4064 2015-09-15 Pedro Alves <palves@redhat.com>
4066 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4067 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4069 2015-09-14 Pedro Alves <palves@redhat.com>
4071 * gdb.base/hook-stop-continue.c: Delete.
4072 * gdb.base/hook-stop-continue.exp: Delete.
4073 * gdb.base/hook-stop-frame.c: Delete.
4074 * gdb.base/hook-stop-frame.exp: Delete.
4075 * gdb.base/hook-stop.c: New file.
4076 * gdb.base/hook-stop.exp: New file.
4078 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4080 * gdb.ada/access_to_packed_array.exp: New testcase.
4081 * gdb.ada/access_to_packed_array/foo.adb: New file.
4082 * gdb.ada/access_to_packed_array/pack.adb: New file.
4083 * gdb.ada/access_to_packed_array/pack.ads: New file.
4085 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4087 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4090 2015-09-11 Don Breazeal <donb@codesourcery.com>
4092 * gdb.base/foll-exec.c: Add copyright header. Fix
4094 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4095 (do_exec_tests): Use clean_restart in place of zap_session,
4096 and for test initialization. Fix formatting issues. Use
4097 fail in place of perror.
4098 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4099 an expect statement to match an expression with output from
4100 the program under debug.
4101 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4102 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4103 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4104 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4105 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4107 2015-09-09 Doug Evans <dje@google.com>
4109 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4111 2015-09-09 Doug Evans <dje@google.com>
4113 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4115 2015-09-09 Doug Evans <dje@google.com>
4117 * gdb.base/savedregs.exp: Fix typo.
4119 2015-09-09 Pedro Alves <palves@redhat.com>
4121 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4123 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4125 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4126 command actually switches threads. Give up on remaining
4127 tests if target fails to stop at breakpoint.
4129 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4131 * gdb.ada/funcall_char.exp: New testcase.
4132 * gdb.ada/funcall_char/foo.adb: New file.
4134 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4136 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4137 expected outputs. Add two testcases for completing ambiguous
4139 * gdb.ada/complete/aux_pck.adb: New file.
4140 * gdb.ada/complete/aux_pck.ads: New file.
4141 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4142 Ambiguous_Func functions.
4143 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4144 * gdb.ada/complete/pck.adb: Likewise.
4146 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4148 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4149 failures to run the test program under GDB.
4151 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4153 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4156 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4158 * gdb.base/run-after-attach.exp: New test file.
4159 * gdb.base/run-after-attach.c: New test file.
4161 2015-08-26 Don Breazeal <donb@codesourcery.com>
4163 * gdb.base/foll-exec-2.c: New test program.
4164 * gdb.base/foll-exec-2.exp: New test.
4166 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4168 * gdb.base/nested-subp1.exp: New file.
4169 * gdb.base/nested-subp1.c: New file.
4170 * gdb.base/nested-subp2.exp: New file.
4171 * gdb.base/nested-subp2.c: New file.
4172 * gdb.base/nested-subp3.exp: New file.
4173 * gdb.base/nested-subp3.c: New file.
4175 2015-08-24 Pedro Alves <palves@redhat.com>
4177 * gdb.server/connect-without-multi-process.c: New file.
4178 * gdb.server/connect-without-multi-process.exp: New file.
4180 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4182 * gdb.opt/inline-markers.c: Make z int.
4184 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4186 * gdb.opt/inline-markers.c: Make z volatile.
4188 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4190 * gdb.opt/inline-bt.c: New volatile global z.
4191 * gdb.opt/inline-cmds.c: Likewise.
4192 * gdb.opt/inline-locals.c: Likewise.
4193 * gdb.opt/inline-markers.c: New extern global z.
4195 (inline_fn): Likewise.
4197 2015-08-24 Pedro Alves <palves@redhat.com>
4199 * config/m32r-stub.exp: Remove file.
4200 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4201 * gdb.base/call-rt-st.exp: Likewise.
4202 * gdb.base/call-strs.exp: Likewise.
4203 * gdb.base/default.exp: Remove references to h8300-*-hms and
4205 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4207 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4209 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4210 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4211 and "return" use KFAIL when GDB can not read/write the vector
4214 2015-08-21 Gary Benson <gbenson@redhat.com>
4216 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4218 2015-08-20 Pedro Alves <palves@redhat.com>
4220 * gdb.server/solib-list.exp: No longer expect an interior stop in
4223 2015-08-20 Pedro Alves <palves@redhat.com>
4225 * gdb.server/connect-stopped-target.c: New file.
4226 * gdb.server/connect-stopped-target.exp: New file.
4228 2015-08-20 Pedro Alves <palves@redhat.com>
4230 * gdb.dwarf2/comp-unit-lang.exp: New file.
4231 * gdb.dwarf2/comp-unit-lang.c: New file.
4233 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4235 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4236 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4238 2015-08-19 Kevin Buettner <kevinb@redhat.com>
4240 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4241 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4243 2015-08-18 Doug Evans <dje@google.com>
4244 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4246 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4247 skip_python_tests. New arg prompt_regexp.
4248 (skip_python_tests): New function.
4249 * lib/mi-support.exp (mi_skip_python_tests): New function.
4250 * gdb.python/py-mi-objfile-gdb.py: New file.
4251 * gdb.python/py-mi-objfile.c: New file.
4252 * gdb.python/py-mi-objfile.exp: New file.
4254 2015-08-17 Keith Seitz <keiths@redhat.com>
4256 * gdb.linespec/explicit.exp: Move strace test from here ...
4257 * gdb.trace/strace.exp: ... to here.
4259 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4261 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4262 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4264 2015-08-14 Doug Evans <xdje42@gmail.com>
4266 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4267 inferior before selecting a new file.
4269 2015-08-14 Doug Evans <xdje42@gmail.com>
4271 * gdb.mi/mi-disassemble.exp: Update.
4272 * gdb.base/disasm-optim.S: New file.
4273 * gdb.base/disasm-optim.c: New file.
4274 * gdb.base/disasm-optim.h: New file.
4275 * gdb.base/disasm-optim.exp: New file.
4277 2015-08-14 Keith Seitz <keiths@redhat.com>
4279 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4282 2015-08-13 Joel Brobecker <brobecker@adacore.com>
4284 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4286 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4288 * gdb.ada/fun_renaming.exp: New testcase.
4289 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4290 * gdb.ada/fun_renaming/pack.adb: New file.
4291 * gdb.ada/fun_renaming/pack.ads: New file.
4293 2015-08-12 Keith Seitz <keiths@redhat.com>
4295 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4296 gdb_get_line_number.
4298 2015-08-12 Joel Brobecker <brobecker@adacore.com>
4300 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4301 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4302 gdb.base/dso2dso.exp: New files.
4304 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4305 Pedro Alves <palves@redhat.com>
4306 Keith Seitz <keiths@redhat.com>
4308 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4311 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4313 * gdb.base/gdbhistsize-history.exp
4314 (test_histsize_history_setting): Use save_vars.
4315 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4317 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4318 * gdb.base/readline.exp: Use save_vars.
4320 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4322 * lib/gdb.exp (save_vars): New proc.
4324 2015-08-11 Keith Seitz <keiths@redhat.com>
4326 * gdb.base/help.exp: Update help_breakpoint_text.
4328 2015-08-11 Keith Seitz <keiths@redhat.com>
4330 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4331 (at toplevel): Call test_explicit_breakpoints.
4332 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4334 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4335 breakpoint conditions, "-cond".
4337 2015-08-11 Keith Seitz <keiths@redhat.com>
4339 * gdb.linespec/3explicit.c: New file.
4340 * gdb.linespec/cpexplicit.cc: New file.
4341 * gdb.linespec/cpexplicit.exp: New file.
4342 * gdb.linespec/explicit.c: New file.
4343 * gdb.linespec/explicit.exp: New file.
4344 * gdb.linespec/explicit2.c: New file.
4345 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4346 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4347 before using in the matching pattern.
4348 Clarify that `prefix' is a regular expression.
4350 2015-08-11 Keith Seitz <keiths@redhat.com>
4352 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4354 Add tests for missing ",FMT" and ",".
4356 2015-08-10 Doug Evans <dje@google.com>
4357 Keith Seitz <keiths@redhat.com>
4360 * gdb.base/completion.exp: Add location completer tests.
4362 2015-08-07 Pedro Alves <palves@redhat.com>
4364 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4366 (top level): Run do_test with and without displaced stepping.
4368 2015-08-07 Pedro Alves <palves@redhat.com>
4370 * gdb.base/valgrind-disp-step.c: New file.
4371 * gdb.base/valgrind-disp-step.exp: New file.
4373 2015-08-07 Pedro Alves <palves@redhat.com>
4375 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4377 (main): Add alarm. Run an infinite loop instead of calling
4379 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4381 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4383 (main): Add alarm. Run an infinite loop instead of calling
4385 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4388 2015-08-07 Pedro Alves <palves@redhat.com>
4390 * gdb.base/checkpoint-ns.exp: New file.
4391 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4394 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4396 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4397 * gdb.btrace/instruction_history.exp: Update.
4398 * gdb.btrace/tsx.exp: New.
4399 * gdb.btrace/tsx.c: New.
4401 2015-08-06 Pedro Alves <palves@redhat.com>
4403 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4405 * gdb.reverse/until-precsave.exp: Bump timeouts.
4407 2015-08-06 Pedro Alves <palves@redhat.com>
4409 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4411 2015-08-06 Pedro Alves <palves@redhat.com>
4414 * gdb.threads/process-dies-while-handling-bp.c: New file.
4415 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4417 2015-08-06 Pedro Alves <palves@redhat.com>
4419 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4420 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4422 2015-08-05 Pedro Alves <palves@redhat.com>
4424 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4425 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4427 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4429 * gdb.base/bp-permanent.exp: Report test as unsupported if
4430 the target cannot stop at the permanent breakpoint.
4432 2015-08-03 Doug Evans <dje@google.com>
4434 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4437 2015-08-03 Doug Evans <dje@google.com>
4439 * Makefile.in (workers/%.worker, build-perf): New rule.
4440 (GDB_PERFTEST_MODE): New variable.
4441 (check-perf): Use it.
4442 (clean): Clean up gdb.perf parallel build subdirs.
4443 * lib/build-piece.exp: New file.
4444 * lib/gdb.exp (make_gdb_parallel_path): New function
4445 (standard_output_file, standard_temp_file): Call it.
4446 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4448 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4450 2015-08-03 Doug Evans <dje@google.com>
4452 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4453 (LOG_FILE_NAME): New global.
4454 (TextReporter.__init__): Initialize self.txt_sum.
4455 (TextReporter.report): Add support for multiple data-points.
4456 Move report to perftest.sum, put raw data in perftest.log.
4457 (TextReporter.start): Open sum and log files.
4458 (TextReporter.end): Close sum and log files.
4459 * gdb.perf/lib/perftest/testresult.py
4460 (SingleStatisticTestResult.record): Handle multiple data-points.
4462 2015-07-31 Pedro Alves <palves@redhat.com>
4464 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4465 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4466 kill_wait_spawned_process instead of explicit "kill -9".
4467 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4468 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4469 kill_wait_spawned_process.
4470 * gdb.base/attach-twice.exp: Likewise.
4471 * gdb.base/attach.exp: Likewise.
4472 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4474 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4475 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4476 kill_wait_spawned_process.
4477 * gdb.base/valgrind-infcall.exp: Likewise.
4478 * gdb.multi/multi-attach.exp: Likewise.
4479 * gdb.python/py-prompt.exp: Likewise.
4480 * gdb.python/py-sync-interp.exp: Likewise.
4481 * gdb.server/ext-attach.exp: Likewise.
4482 * gdb.threads/attach-into-signal.exp (corefunc): Use
4483 spawn_wait_for_attach, spawn_id_get_pid and
4484 kill_wait_spawned_process.
4485 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4486 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4487 spawn_id_get_pid and kill_wait_spawned_process.
4488 * gdb.threads/attach-stopped.exp (corefunc): Use
4489 spawn_wait_for_attach, spawn_id_get_pid and
4490 kill_wait_spawned_process.
4491 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4492 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4493 kill_wait_spawned_process instead of explicit "kill -9".
4494 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4495 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4496 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4497 processes. Don't map cygwin/windows pids here. Now returns a
4500 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4502 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4503 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4506 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4508 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4510 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4513 2014-05-21 Mark Wielaard <mjw@redhat.com>
4515 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4517 2015-07-30 Pedro Alves <palves@redhat.com>
4519 * linux-low.c (handle_extended_wait): Set the child's last
4520 reported status to TARGET_WAITKIND_STOPPED.
4522 2015-07-30 Pedro Alves <palves@redhat.com>
4525 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4526 only shows inferior 1.
4528 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4529 Pedro Alves <palves@redhat.com>
4532 * gdb.threads/fork-plus-threads.c: New file.
4533 * gdb.threads/fork-plus-threads.exp: New file.
4535 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4537 * gdb.base/batch-preserve-term-settings.exp
4538 (test_terminal_settings_preserved_after_cli_exit): Use
4541 2015-07-29 Pedro Alves <palves@redhat.com>
4542 Don Breazeal <donb@codesourcery.com>
4544 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4545 output from both inferior_spawn_id and gdb_spawn_id.
4547 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4549 * gdb.threads/attach-into-signal.exp (corefunc): Use
4550 with_test_prefix on nested loops, uniquefying the test messages.
4552 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4554 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4557 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4559 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4561 (test_terminal_settings_preserved_after_sigterm): New test.
4563 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4565 * gdb.base/batch-preserve-term-settings.exp
4566 (test_terminal_settings_preserved_after_cli_exit): New test.
4568 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4570 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4571 manipulation of saved_gdbflags.
4572 (test_terminal_settings_preserved): Remove global declaration of
4573 the unused variable pagination_prompt. Remove manipulation of
4574 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4577 2015-07-29 Pedro Alves <palves@redhat.com>
4579 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4581 2015-07-29 Pedro Alves <palves@redhat.com>
4583 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4586 2015-07-29 Pedro Alves <palves@redhat.com>
4588 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4589 (main): Call gdb_unbuffer_output.
4590 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4591 (main): Call gdb_unbuffer_output.
4592 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4593 (main): Call gdb_unbuffer_output.
4594 * gdb.base/call-strs.exp: Adjust to step over the
4595 gdb_unbuffer_output call.
4596 * gdb.base/catch-gdb-caused-signals.c: Include
4597 "../lib/unbuffer_output.c".
4598 (main): Call gdb_unbuffer_output.
4599 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4600 (main): Call gdb_unbuffer_output.
4601 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4602 (main): Call gdb_unbuffer_output.
4603 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4604 (main): Call gdb_unbuffer_output.
4605 * gdb.base/shlib-call.exp: Adjust to step over the
4606 gdb_unbuffer_output call.
4607 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4608 (main): Call gdb_unbuffer_output.
4609 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4610 (main): Call gdb_unbuffer_output.
4611 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4612 (main): Rename to ...
4614 (main): Reimplement.
4615 * gdb.base/varargs.exp: Run to test instead of to main.
4616 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4617 (main): Call gdb_unbuffer_output.
4619 2015-07-29 Pedro Alves <palves@redhat.com>
4621 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4622 factore out from mi_continue_dprintf. For call-style dprintfs,
4623 expect dprintf output out of $inferior_spawn_id.
4624 (mi_continue_dprintf): Use mi_expect_dprintf.
4625 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4626 (main): Call gdb_unbuffer_output.
4628 2015-07-29 Pedro Alves <palves@redhat.com>
4630 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4631 (default_mi_gdb_start): Set inferior_spawn_id instead of
4632 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4634 (mi_gdb_test): Always expect inferior output from both
4635 $inferior_spawn_id and $gdb_spawn_id.
4637 2015-07-29 Pedro Alves <palves@redhat.com>
4639 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4640 send_inferior and $inferior_spawn_id.
4642 2015-07-29 Pedro Alves <palves@redhat.com>
4644 * gdb.gdb/complaints.exp (test_initial_complaints)
4645 (test_serial_complaints, test_short_complaints): Use
4647 (test_empty_complaint): Handle $inferior_spawn_id !=
4650 2015-07-29 Pedro Alves <palves@redhat.com>
4652 * gdb.base/varargs.exp: Use gdb_test_stdio.
4654 2015-07-29 Pedro Alves <palves@redhat.com>
4656 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4658 2015-07-29 Pedro Alves <palves@redhat.com>
4660 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4662 2015-07-29 Pedro Alves <palves@redhat.com>
4664 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4665 parameter into two new parameters, "inf_result" and "gdb_result".
4666 Expect inferior output and gdb output from $inferior_spawn_id and
4667 $gdb_spawn_id, respectively. Adjust all callers.
4669 2015-07-29 Pedro Alves <palves@redhat.com>
4671 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4672 of gdb_test_sequence.
4674 2015-07-29 Pedro Alves <palves@redhat.com>
4676 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4677 (saw_spurious_output): Expect inferior output from
4678 $inferior_spawn_id. Use gdb_test_stdio.
4680 2015-07-29 Pedro Alves <palves@redhat.com>
4682 * gdb.base/dprintf.exp: Use standard_testfile. Change
4683 prepare_for_testing call.
4684 (srcfile): Don't set.
4685 (restart): New procedure.
4686 (test_dprintf): New procecure, use to continue over dprintfs.
4687 (test_call, test_agent): New procedures, tests moved here.
4688 Restart gdb and recreate dprintfs. Adjust expected output.
4690 2015-07-29 Pedro Alves <palves@redhat.com>
4692 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4694 2015-07-29 Pedro Alves <palves@redhat.com>
4696 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4698 2015-07-29 Pedro Alves <palves@redhat.com>
4700 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4703 2015-07-29 Pedro Alves <palves@redhat.com>
4705 * lib/gdb.exp (gdb_test_stdio): New procedure.
4707 2015-07-29 Pedro Alves <palves@redhat.com>
4709 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4711 2015-07-29 Pedro Alves <palves@redhat.com>
4713 * gdb.base/call-signal-resume.exp: Remove check for
4714 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4715 * gdb.base/unwindonsignal.exp: Likewise.
4716 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4717 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4719 2015-07-29 Pedro Alves <palves@redhat.com>
4721 * gdb.base/siginfo-addr.c (pass): New function.
4722 (handler): Call it iff si_addr is correct.
4723 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4724 Set a breakpoint at "pass" and continue to it.
4726 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4728 * gdb.python/py-objfile.exp: Make some tests have unique names.
4729 * gdb.python/py-pp-registration.exp: Likewise.
4731 2015-07-28 Pedro Alves <palves@redhat.com>
4733 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4735 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4737 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4739 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4741 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4743 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4745 * gdb.base/gdb-sigterm-2.exp: New test.
4747 2015-07-25 Doug Evans <xdje42@gmail.com>
4750 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4751 (workers/%.worker, build-perf): New rule.
4752 (GDB_PERFTEST_MODE): New variable.
4753 (check-perf): Use it.
4754 (clean): Clean up gdb.perf parallel build subdirs.
4755 * lib/build-piece.exp: New file.
4756 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4757 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4759 (standard_temp_file): Ditto.
4760 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4763 2015-07-24 Doug Evans <dje@google.com>
4765 * gdb.perf/lib/perftest/utils.py: New file.
4766 * gdb.perf/gm-hello.cc: New file.
4767 * gdb.perf/gm-pervasive-typedef.cc: New file.
4768 * gdb.perf/gm-pervasive-typedef.h: New file.
4769 * gdb.perf/gm-std.cc: New file.
4770 * gdb.perf/gm-std.h: New file.
4771 * gdb.perf/gm-use-cerr.cc: New file.
4772 * gdb.perf/gm-utils.h: New file.
4773 * gdb.perf/gmonster-null-lookup.py: New file.
4774 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4775 * gdb.perf/gmonster-print-cerr.py: New file.
4776 * gdb.perf/gmonster-ptype-string.py: New file.
4777 * gdb.perf/gmonster-runto-main.py: New file.
4778 * gdb.perf/gmonster-select-file.py: New file.
4779 * gdb.perf/gmonster1-null-lookup.exp: New file.
4780 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4781 * gdb.perf/gmonster1-print-cerr.exp: New file.
4782 * gdb.perf/gmonster1-ptype-string.exp: New file.
4783 * gdb.perf/gmonster1-runto-main.exp: New file.
4784 * gdb.perf/gmonster1-select-file.exp: New file.
4785 * gdb.perf/gmonster1.cc: New file.
4786 * gdb.perf/gmonster1.exp: New file.
4787 * gdb.perf/gmonster2-null-lookup.exp: New file.
4788 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4789 * gdb.perf/gmonster2-print-cerr.exp: New file.
4790 * gdb.perf/gmonster2-ptype-string.exp: New file.
4791 * gdb.perf/gmonster2-runto-main.exp: New file.
4792 * gdb.perf/gmonster2-select-file.exp: New file.
4793 * gdb.perf/gmonster2.cc: New file.
4794 * gdb.perf/gmonster2.exp: New file.
4796 2015-07-24 Doug Evans <dje@google.com>
4798 * gdb.perf/README: New file.
4799 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4800 * lib/gen-perf-test.exp: New file.
4802 2015-07-24 Doug Evans <dje@google.com>
4804 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4805 (PerfTest::startup): New function.
4806 (PerfTest::run): Return result of calling body.
4807 (PerfTest::assemble): Rewrite.
4808 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4809 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4810 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4811 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4812 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4814 2015-07-24 Doug Evans <dje@google.com>
4816 * lib/gdb.exp (clean_restart): Make executable optional.
4818 2015-07-24 Doug Evans <dje@google.com>
4820 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4821 compiler_info references.
4822 * gdb.cp/temargs.exp: Ditto.
4823 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4824 (get_compiler_info): Early exit if already computed. Set compiler_info
4825 to "unknown" if there was a problem.
4826 (test_compiler_info): Add function comment. Call get_compiler_info.
4828 2015-07-24 Doug Evans <dje@google.com>
4830 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4831 (workers/%.worker, build-perf): New rule.
4832 (GDB_PERFTEST_MODE): New variable.
4833 (check-perf): Use it.
4834 (clean): Clean up gdb.perf parallel build subdirs.
4835 * lib/build-piece.exp: New file.
4836 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4837 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4839 (standard_temp_file): Ditto.
4840 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4843 2015-07-24 Doug Evans <dje@google.com>
4845 * lib/future.exp (gdb_default_target_compile): New option
4847 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4850 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4852 * gdb.base/catch-syscall.exp: Call gdb_exit before
4855 2015-07-24 Pedro Alves <palves@redhat.com>
4857 * gdb.python/py-events.exp: Accept output between the stop event
4859 * gdb.python/py-evsignal.exp: Likewise.
4860 * gdb.python/py-evthreads.exp: Likewise.
4862 2015-07-24 Pedro Alves <palves@redhat.com>
4865 * gdb.threads/non-ldr-exit.c: New file.
4866 * gdb.threads/non-ldr-exit.exp: New file.
4868 2015-07-24 Yao Qi <yao.qi@linaro.org>
4870 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4873 2015-07-24 Yao Qi <yao.qi@linaro.org>
4875 * gdb.server/ext-restart.exp: New file.
4877 2015-07-24 Yao Qi <yao.qi@linaro.org>
4879 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4881 * gdb.server/ext-wrapper.exp: New file.
4883 2015-07-23 Doug Evans <dje@google.com>
4885 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4886 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4888 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4890 * gdb.ada/var_arr_typedef.exp: New testcase.
4891 * gdb.ada/var_arr_typedef/pack.adb: New file.
4892 * gdb.ada/var_arr_typedef/pack.ads: New file.
4893 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4895 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4897 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4899 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4901 * gdb.arch/i386-biarch-core.exp: Replace istarget
4902 by "complete set gnutarget". Remove expectation for the "core-file"
4905 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4907 Revert the previous commit:
4908 Tests for validate symbol file using build-id.
4910 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4912 Tests for validate symbol file using build-id.
4913 * gdb.base/solib-mismatch-lib.c: New file.
4914 * gdb.base/solib-mismatch-libmod.c: New file.
4915 * gdb.base/solib-mismatch.c: New file.
4916 * gdb.base/solib-mismatch.exp: New file.
4918 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4920 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4922 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4923 * gdb.base/siginfo.exp: Likewise.
4924 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4926 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4928 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4930 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4932 * gdb.trace/range-stepping.exp: Check that the target supports
4935 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4937 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4939 2015-07-14 Pedro Alves <palves@redhat.com>
4941 * gdb.base/killed-outside.exp: New file.
4942 * gdb.base/killed-outside.c: New file.
4944 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4946 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4948 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4950 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4952 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4953 infcall tests instead of setting up for KFAIL.
4955 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4957 * gdb.btrace/record_goto-step.exp: New.
4959 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4962 * gdb.compile/compile.c (struct struct_type): Add volatile to
4964 * gdb.compile/compile.exp
4965 (compile code struct_object.selffield = &struct_object): Skip further
4966 struct_object tests if this one xfails.
4968 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4971 * gdb.trace/ax.exp: Add test.
4973 2015-07-07 Yao Qi <yao.qi@linaro.org>
4975 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4976 instead of istarget "aarch64*-*-*".
4977 * gdb.arch/aarch64-fp.exp: Likewise.
4978 * gdb.base/float.exp: Likewise.
4979 * gdb.reverse/aarch64.exp: Likewise.
4980 * lib/gdb.exp (is_aarch64_target): New proc.
4982 2015-07-07 Yao Qi <yao.qi@linaro.org>
4984 * lib/gdb.exp (is_aarch32_target): New proc.
4985 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4986 instead of "istarget "arm*-*-*"".
4987 * gdb.arch/arm-disp-step.exp: Likewise.
4988 * gdb.arch/thumb-bx-pc.exp: Likewise.
4989 * gdb.arch/thumb-prologue.exp: Likewise.
4990 * gdb.arch/thumb-singlestep.exp: Likewise.
4991 * gdb.base/disp-step-syscall.exp: Likewise.
4992 * gdb.base/float.exp: Likewise.
4994 2015-07-07 Yao Qi <yao.qi@linaro.org>
4996 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4997 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4999 2015-07-07 Yao Qi <yao.qi@linaro.org>
5001 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
5002 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
5004 * gdb.multi/multi-arch.exp: Likewise.
5006 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
5008 * gdb.python/py-lazy-string.exp: Add missing parentheses to
5011 2015-07-07 Yao Qi <yao.qi@linaro.org>
5013 * gdb.arch/thumb-singlestep.exp: Do one more single step.
5015 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
5017 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
5018 '[' and ']' characters.
5020 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
5022 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5024 2015-06-29 Pedro Alves <palves@redhat.com>
5027 * gdb.threads/hand-call-new-thread.c: New file.
5028 * gdb.threads/hand-call-new-thread.c: New file.
5030 2015-06-26 Keith Seitz <keiths@redhat.com>
5031 Doug Evans <dje@google.com>
5034 * gdb.cp/var-tag-2.cc: New file.
5035 * gdb.cp/var-tag-3.cc: New file.
5036 * gdb.cp/var-tag-4.cc: New file.
5037 * gdb.cp/var-tag.cc: New file.
5038 * gdb.cp/var-tag.exp: New file.
5040 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5042 * gdb.base/history-duplicates.exp: New test.
5044 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5046 * gdb.base/completion.exp: Test the completion of the "focus"
5049 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5051 * gdb.arch/amd64-prologue-skip.S: New file.
5052 * gdb.arch/amd64-prologue-skip.exp: New file.
5054 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5056 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5057 is_address_zero_readable check.
5059 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5061 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5062 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5064 2015-06-24 Yao Qi <yao.qi@linaro.org>
5066 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5069 2015-06-24 Yao Qi <yao.qi@linaro.org>
5071 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5072 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5073 * gdb.base/siginfo-thread.exp: Likewise.
5075 2015-06-22 Yao Qi <yao.qi@linaro.org>
5077 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5079 2015-06-22 Yao Qi <yao.qi@linaro.org>
5081 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5083 (skip_hw_watchpoint_tests): Likewise.
5085 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5087 * gdb.base/gdbinit-history.exp: Test the interaction between
5088 setting GDBHISTSIZE and setting the history size via .gdbinit.
5090 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5093 * gdb.base/gdbhistsize-history.exp: New test.
5095 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5097 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5099 * gdb.base/readline.exp: Likewise.
5101 2015-06-17 Yao Qi <yao.qi@linaro.org>
5103 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5106 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5108 * gdb.base/gdbinit-history.exp: Add test case to check that
5109 an unlimited history file does not get truncated on exit.
5111 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5113 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5114 (VECTOR): New macro. Use it...
5115 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5116 ...for these typedefs.
5117 (int8, char1, int1, double1): New typedefs.
5118 (struct just_int2, struct two_int2): New structures.
5119 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5120 (add_structvecs, add_singlevecs): New functions.
5121 (main): Call add_some_intvecs twice.
5122 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5123 the compile and exit upon failure. Try compiling for the "native"
5124 architecture. Test inferior function calls with vector arguments
5125 and vector return value handling with "finish" and "return".
5127 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5129 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5130 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5132 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5134 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5136 PR breakpoints/16465
5137 * gdb.mi/mi-dprintf-pending.c: New file.
5138 * gdb.mi/mi-dprintf-pending.exp: New test.
5139 * gdb.mi/mi-dprintf-pendshr.c: New file.
5141 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5142 Mircea Gherzan <mircea.gherzan@intel.com>
5144 * gdb.arch/i386-mpx-map.c: New file.
5145 * gdb.arch/i386-mpx-map.exp: New File.
5147 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5149 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5150 * gdb.arch/i386-mpx.exp: Indentation fixed.
5152 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5154 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5155 function and improved indentation.
5156 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5157 gdb_test_multiple. Added additional tests to skip the test.
5159 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5161 * gdb.arch/i386-avx512.c: Change path in include file.
5162 * gdb.arch/i386-avx512.exp: Change include dir path
5164 * gdb.arch/i386-mpx.c: Change path in include file.
5165 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5168 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5170 * gdb.compile/compile-print.exp (compile print *vararray@3)
5171 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5173 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5175 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5176 (do not keep jit in memory): ... this.
5177 (expect 5): Change it to ...
5178 (expect no 5): ... this.
5180 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5183 * gdb.mi/mi-detach.exp: New file.
5185 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5188 * gdb.arch/amd64-tailcall-self.S: New file.
5189 * gdb.arch/amd64-tailcall-self.c: New file.
5190 * gdb.arch/amd64-tailcall-self.exp: New file.
5192 2015-05-28 Don Breazeal <donb@codesourcery.com>
5194 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5195 tests for remote targets by checking is_target_gdbserver.
5197 2015-05-27 Doug Evans <dje@google.com>
5199 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5200 * gdb.dwarf2/opaque-type-lookup.c: New file.
5201 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5203 2015-05-26 Doug Evans <dje@google.com>
5205 * gdb.cp/iostream.cc: New file.
5206 * gdb.cp/iostream.exp: New file.
5208 2015-05-26 Doug Evans <dje@google.com>
5210 * gdb.dwarf2/dw2-op-call.exp: Update.
5211 * gdb.dwarf2/dw4-sig-types.exp: Update.
5212 * gdb.dwarf2/implptr.exp: Update.
5213 * gdb.mi/mi-cmd-param-changed.exp: Update.
5215 2015-05-26 Doug Evans <dje@google.com>
5217 * gdb.python/py-lazy-string.c: New file.
5218 * gdb.python/py-lazy-string.exp: New file.
5219 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5220 (main): Update. Add estring3.
5221 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5222 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5224 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5225 Yao Qi <yao.qi@linaro.org>
5227 * gdb.reverse/aarch64.c: New.
5228 * gdb.reverse/aarch64.exp: New.
5230 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5232 * lib/gdb.exp (supports_process_record): Return true for
5234 (supports_reverse): Likewise.
5236 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5238 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5239 Use with_test_prefix.
5241 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5243 * gdb.base/completion.exp: Add test for completion of layout
5246 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5248 * lib/gdb.exp (skip_tui_tests): New proc.
5249 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5251 2015-05-19 Pedro Alves <palves@redhat.com>
5253 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5254 Save the whole env array instead of just HOME. Unset HISTSIZE in
5255 the environment while testing. Restore whole environment
5258 2015-05-16 Doug Evans <xdje42@gmail.com>
5260 * gdb.guile/scm-ports.c: New file.
5261 * gdb.guile/scm-ports.exp: Add memory port tests.
5263 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5265 * gdb.compile/compile-print.c: New file.
5266 * gdb.compile/compile-print.exp: New file.
5268 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5270 * gdb.compile/compile-ops.exp: Cast param to void.
5271 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5272 (compile code struct_object.selffield = &struct_object): Add xfail.
5274 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5276 * gdb.ada/arr_enum_with_gap: New testcase.
5278 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5280 * gdb.ada/byte_packed_arr: New testcase.
5282 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5284 * gdb.ada/pckd_neg: New testcase.
5286 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5289 * gdb.base/gdbinit-history.exp: New test.
5290 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5291 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5293 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5295 * gdb.python/py-xmethods.cc: Enhance test case.
5296 * gdb.python/py-xmethods.exp: New tests.
5297 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5299 (B_indexoper): Likewise.
5300 (global_dm_list) : Add new xmethod worker functions.
5302 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5304 * gdb.base/coredump-filter.exp: Correctly unset
5305 "coredump_var_addr" array.
5307 2015-05-08 Pedro Alves <palves@redhat.com>
5309 * gdb.server/non-existing-program.exp: Unset spawn_id.
5311 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5314 * gdb.python/py-xmethods.exp: Add tests.
5316 2015-05-08 Yao Qi <yao.qi@linaro.org>
5319 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5320 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5321 function set_coredump_filter, and remove remote_exec call.
5322 Remove argument ipid. Callers update.
5323 (top level): Don't get inferior's PID.
5325 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5327 * gdb.base/watch_thread_num.exp: Skip test on targets without
5330 2015-05-06 Pedro Alves <palves@redhat.com>
5333 * gdb.server/non-existing-program.exp: New file.
5335 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5337 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5339 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5341 * gdb.ada/out_of_line_in_inlined: New testcase.
5343 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5345 * gdb.ada/var_rec_arr: New testcase.
5347 2015-04-30 Yao Qi <yao.qi@linaro.org>
5349 * gdb.base/break-idempotent.exp: If
5350 skip_hw_watchpoint_multi_tests returns true, skip the tests
5351 on "rwatch" and "awatch".
5353 2015-04-30 Yao Qi <yao.qi@linaro.org>
5355 * gdb.base/relativedebug.exp: Invoke gdb command
5356 "info sharedlibrary", and if libc.so doesn't have debug info,
5359 2015-04-29 Doug Evans <dje@google.com>
5361 * gdb.python/py-xmethods.exp: Add ptype tests.
5362 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5363 get_result_type method.
5365 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5367 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5368 the target does not support hardware watchpoints.
5370 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5372 * gdb.base/break-always.exp: Abort testing if writing to memory
5375 2015-04-28 Doug Evans <dje@google.com>
5377 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5378 * gdb.python/py-pp-registration.exp: ... here. New file.
5379 * gdb.python/py-pp-registration.c: New file.
5380 * gdb.python/py-pp-registration.py: New file.
5382 2015-04-28 Doug Evans <dje@google.com>
5384 * gdb.python/py-bad-printers.c: New file.
5385 * gdb.python/py-bad-printers.py: New file.
5386 * gdb.python/py-bad-printers.exp: New file.
5388 2015-04-28 Sasha Smundak <asmundak@google.com>
5390 * gdb.python/py-type.exp: New test.
5392 2015-04-28 Andy Wingo <wingo@igalia.com>
5394 * gdb.python/py-parameter.exp:
5395 * gdb.guile/scm-parameter.exp: Escape the path that we are
5396 matching against, as it might contain characters that are special
5397 to regular expressions.
5399 2015-04-27 Joel Brobecker <brobecker@adacore.com>
5401 * gdb.ada/rec_comp: New testcase.
5403 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5405 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5408 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5410 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5411 new tests for verilog output.
5413 2015-04-24 Yao Qi <yao.qi@linaro.org>
5415 * boards/remote-gdbserver-on-localhost.exp: New file.
5417 2015-04-23 Pedro Alves <palves@redhat.com>
5419 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5420 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5421 "end of file", remove $inferior_spawn_id from the indirect list.
5423 2015-04-23 Pedro Alves <palves@redhat.com>
5425 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5427 2015-04-23 Pedro Alves <palves@redhat.com>
5429 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5430 on $any_spawn_id instead of only on $gdb_spawn_id.
5432 2015-04-21 Pierre Muller <muller@sourceware.org>
5435 * lib/pascal.exp (gpc_compile): Add new option "class".
5436 (fpc_compile): Likewise.
5437 * gdb.pascal/case-insensitive-symbols.pas: New file.
5438 * gdb.pascal/case-insensitive-symbols.exp: New file.
5440 2015-04-20 Gary Benson <gbenson@redhat.com>
5442 * gdb.base/attach.exp: Fix three extended remote failures.
5444 2015-04-17 Gary Benson <gbenson@redhat.com>
5446 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5447 the main executable over the remote protocol.
5449 2015-04-16 Pedro Alves <palves@redhat.com>
5451 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5452 a new gdbserver if gdbserver_reconnect_p is set.
5454 2015-04-16 Pedro Alves <palves@redhat.com>
5456 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5457 is set, don't exit gdbserver.
5459 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5461 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5462 appropriate .insn, such that an older assembler can be used.
5463 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5464 the z/Architecture instruction set on 31-bit targets as well.
5466 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5468 * gdb.go/handcall.exp: Remove all logic related to the first
5469 breakpoint and rely on go_runto_main instead.
5470 * gdb.go/strings.exp: Likewise.
5471 * gdb.go/unsafe.exp: Likewise.
5472 * gdb.go/hello.exp: Likewise. Also rename the remaining
5473 breakpoint marker to "breakpoint 1".
5474 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5475 * gdb.go/strings.go: Likewise.
5476 * gdb.go/unsafe.go: Likewise.
5477 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5478 "set breakpoint 2 here" and rename the remaining breakpoint marker
5481 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5483 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5484 if itertools.imap is not present.
5485 * gdb.python/py-objfile.exp: Add parentheses.
5486 * gdb.python/py-type.exp: Same.
5487 * gdb.python/py-unwind-maint.py: Same.
5489 2015-04-15 Yao Qi <yao.qi@linaro.org>
5491 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5492 of ":$ptr_size" and set its form explicitly.
5494 2015-04-15 Pedro Alves <palves@redhat.com>
5495 Yao Qi <yao.qi@linaro.org>
5497 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5498 timeout by factor of 4.
5499 (test_regular_watch): Likewise.
5500 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5501 * gdb.reverse/sigall-reverse.exp: Likewise.
5502 * gdb.reverse/until-precsave.exp: Likewise.
5503 * lib/gdb.exp (with_timeout_factor): New proc.
5504 (gdb_expect): Move some code to ...
5505 (get_largest_timeout): ... here. New procedure.
5507 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
5509 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5511 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5513 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5514 to write to the .text section.
5516 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5518 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5519 Handle the case of targets that do not provide PID information.
5521 2015-04-13 Yao Qi <yao.qi@linaro.org>
5523 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5524 and use expect instead of gdb_expect.
5526 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5528 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5529 "coredump_var_addr" to avoid naming conflict with other testcases.
5531 2015-04-10 Pedro Alves <palves@redhat.com>
5533 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5534 gdb_test_sequence and gdb_assert.
5536 2015-04-10 Pedro Alves <palves@redhat.com>
5538 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5539 test messages that don't include the breakpoint address.
5541 2015-04-10 Yao Qi <yao.qi@linaro.org>
5543 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5544 false for some offset and width combinations which aren't
5545 supported by linux kernel.
5547 2015-04-10 Pedro Alves <palves@redhat.com>
5549 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5550 procedure, factored out from ...
5551 (top level): ... here. Add "set displaced-stepping" testing axis.
5552 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5553 parameter "displaced". Use it.
5554 (top level): Use foreach and add "set displaced-stepping" testing
5557 2015-04-10 Pedro Alves <palves@redhat.com>
5559 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5561 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5562 both the address of the instruction that triggers the watchpoint
5563 and the address of the instruction immediately after, and use
5564 those addresses for the test. Fix comment.
5566 2015-04-10 Pedro Alves <palves@redhat.com>
5568 * gdb.base/sigstep.exp (breakpoint_to_handler)
5569 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5570 Test "backtrace" in handler.
5571 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5572 (top level): Add new "displaced" test axis to
5573 breakpoint_to_handler, breakpoint_to_handler_entry and
5574 breakpoint_over_handler.
5576 2015-04-10 Pedro Alves <palves@redhat.com>
5579 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5581 2015-04-10 Yao Qi <yao.qi@linaro.org>
5583 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5584 (test_add_rn_pc): New function.
5585 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5586 (top level): Invoke test_add_rn_pc.
5588 2015-04-10 Pedro Alves <palves@redhat.com>
5591 * gdb.base/step-over-no-symbols.exp: New file.
5593 2015-04-09 Andy Wingo <wingo@igalia.com>
5595 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5596 after the Python tests.
5598 2015-04-08 Keith Seitz <keiths@redhat.com>
5601 * gdb.python/py-completion.exp: New tests for completion.
5602 * gdb.python/py-completion.py (CompleteLimit1): New class.
5603 (CompleteLimit2): Likewise.
5604 (CompleteLimit3): Likewise.
5605 (CompleteLimit4): Likewise.
5606 (CompleteLimit5): Likewise.
5607 (CompleteLimit6): Likewise.
5608 (CompleteLimit7): Likewise.
5610 2015-04-08 Pedro Alves <palves@redhat.com>
5614 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5616 (main): Install it as SIGUSR1 handler.
5617 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5618 parameter. Always use "setup" as prefix. Toggle "set
5619 displaced-stepping" off/on depending on global. Don't switch to
5621 (top level): Add displaced stepping "off/on" test axis. Update
5622 "setup" calls. Wrap each subtest with with_test_prefix. Test
5623 continuing with a queued signal in each thread.
5625 2015-04-08 Pedro Alves <palves@redhat.com>
5627 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5628 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5629 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5630 Return early if running to main fails.
5631 * gdb.trace/while-stepping.exp: Likewise.
5633 2015-04-07 Pedro Alves <palves@redhat.com>
5635 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5636 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5637 interact with inferior program.
5639 2015-04-07 Pedro Alves <palves@redhat.com>
5641 * lib/gdb.exp (inferior_spawn_id): New global.
5642 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5643 spawn id after processing the user code.
5644 (default_gdb_start): Set inferior_spawn_id.
5645 (send_inferior): New procedure.
5646 * lib/gdbserver-support.exp (gdbserver_start): Set
5648 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5650 2015-04-07 Pedro Alves <palves@redhat.com>
5652 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5653 * lib/gdbserver-support.exp (gdbserver_start): Make
5654 $server_spawn_id global.
5655 (gdbserver_start): Don't wait for gdbserver's spawn id with
5657 (close_gdbserver): New procedure.
5658 (gdb_exit): Rename the default version and reimplement.
5660 2015-04-07 Pedro Alves <palves@redhat.com>
5662 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
5663 append the substituted item, not the original item.
5665 2015-04-07 Pedro Alves <palves@redhat.com>
5667 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5670 2015-04-07 Pedro Alves <palves@redhat.com>
5672 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5673 output appearing once only.
5675 2015-04-07 Pedro Alves <palves@redhat.com>
5677 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5678 that doesn't expect anything. Return early if running to main
5681 2015-04-07 Yao Qi <yao.qi@linaro.org>
5683 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5684 (child_function): Call alarm.
5685 (main): Move call to alarm into the loop.
5686 * gdb.threads/non-stop-fair-events.exp: Build program with
5689 2015-04-06 Doug Evans <xdje42@gmail.com>
5691 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5692 Fix dest parameter to board_info.
5693 (fpc_compile): Ditto.
5694 (gdb_compile_pascal): Rename dest arg to destfile.
5696 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5698 * gdb.ada/funcall_ref.exp: New file.
5699 * gdb.ada/funcall_ref/foo.adb: New file.
5701 2015-04-02 Yao Qi <yao.qi@linaro.org>
5703 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5706 2015-04-02 Gary Benson <gbenson@redhat.com>
5708 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5710 2015-04-01 Sasha Smundak <asmundak@google.com>
5712 * gdb.python/py-unwind-maint.c: New file.
5713 * gdb.python/py-unwind-maint.exp: New test.
5714 * gdb.python/py-unwind-maint.py: New file.
5715 * gdb.python/py-unwind.c: New file.
5716 * gdb.python/py-unwind.exp: New test.
5717 * gdb.python/py-unwind.py: New test.
5719 2015-04-01 Pedro Alves <palves@redhat.com>
5721 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5722 to fail instead of non-existent $test.
5724 2015-04-01 Pedro Alves <palves@redhat.com>
5726 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5727 GDBFLAGS if not empty.
5729 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5731 * gdb.ada/complete.exp: Remove "multi_line".
5732 * gdb.ada/info_exc.exp: Remove "multi_line".
5733 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5734 * gdb.ada/ptype_field.exp: Remove "multi_line".
5735 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5736 * gdb.ada/tagged.exp: Remove "multi_line".
5737 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5739 * gdb.btrace/delta.exp: Likewise.
5740 * gdb.btrace/exception.exp: Likewise.
5741 * gdb.btrace/function_call_history.exp: Likewise.
5742 * gdb.btrace/instruction_history.exp: Likewise.
5743 * gdb.btrace/nohist.exp: Likewise.
5744 * gdb.btrace/record_goto.exp: Likewise.
5745 * gdb.btrace/segv.exp: Likewise.
5746 * gdb.btrace/stepi.exp: Likewise.
5747 * gdb.btrace/tailcall.exp: Likewise.
5748 * gdb.btrace/unknown_functions.exp: Likewise.
5749 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5750 * lib/gdb.exp: Add the "multi_line" helper.
5752 2015-04-01 Pedro Alves <palves@redhat.com>
5754 * gdb.threads/tid-reuse.c: New file.
5755 * gdb.threads/tid-reuse.exp: New file.
5757 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5760 * gdb.base/coredump-filter.c: New file.
5761 * gdb.base/coredump-filter.exp: Likewise.
5763 2015-03-27 Petr Machata <pmachata@redhat.com>
5765 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5766 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5767 (Dwarf::assemble): Initialize them.
5768 (Dwarf::lines): New function.
5770 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5772 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5773 SYMBOL_PREFIX for x86_64-*-cygwin.
5775 2015-03-26 Andy Wingo <wingo@igalia.com>
5778 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5779 const_value but not a location.
5780 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5781 location defined in non-main CUs are visible.
5783 2015-03-26 Yao Qi <yao.qi@linaro.org>
5786 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5787 Add a line number entry for the same line.
5788 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5789 Add a line number entry for the same line.
5791 2015-03-26 Yao Qi <yao.qi@linaro.org>
5793 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5795 (func): Likewise. Add .Lfunc_1 label.
5797 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5802 2015-03-26 Yao Qi <yao.qi@linaro.org>
5804 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5805 Call gdb_compile instead to compile each .s files without debug
5808 2015-03-26 Yao Qi <yao.qi@linaro.org>
5810 * gdb.base/savedregs.exp (process_saved_regs): Make
5811 "Saved registers:" optional in the pattern.
5813 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5815 * gdb.btrace/next.exp: Merged into step.exp.
5816 * gdb.btrace/finish.exp: Merged into step.exp.
5817 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5818 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5819 "record goto" and checking the exact replay position.
5820 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5821 check for "Recording format" in "info record" output.
5822 * gdb.btrace/record_goto.exp: Choose test file based on target.
5823 * gdb.btrace/x86-record_goto.S: Renamed into ...
5824 * gdb.btrace/x86_64-record_goto.S: ... this.
5825 * gdb.btrace/i686-record_goto.S: New.
5826 * gdb.btrace/x86-tailcall.S: Renamed into ...
5827 * gdb.btrace/x86_64-tailcall.S: ... this.
5828 * gdb.btrace/i686-tailcall.S: New.
5829 * gdb.btrace/x86-tailcall.c: Renamed into ...
5830 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5831 separate statements. Update test.
5832 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5833 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5834 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5835 * gdb.btrace/tailcall.exp: Choose test file based on target.
5836 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5838 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5840 * gdb.btrace/exception.exp: Increase BTS buffer size.
5842 2015-03-24 Pedro Alves <palves@redhat.com>
5844 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5846 2015-03-24 Pedro Alves <palves@redhat.com>
5848 * gdb.threads/schedlock.exp (test_step): No longer expect that
5849 "set scheduler-locking step" with "next" over a function call runs
5852 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5854 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5856 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5858 PR breakpoints/16466
5859 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5860 * gdb.mi/mi-pending.c (thread_func): New function.
5861 (int main): Add threading support required.
5862 * gdb.mi/mi-pending.exp: Add tests for this issue.
5863 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5864 (pendfunc2): Remove stdio dependency.
5865 * gdb.mi/mi-pendshr2.c: New file.
5867 2015-03-23 Keith Seitz <keiths@redhat.com>
5869 * gdb.linespec/keywords.c: New file.
5870 * gdb.linespec/keywords.exp: New file.
5872 2015-03-23 Keith Seitz <keiths@redhat.com>
5875 * gdb.dwarf2/staticvirtual.exp: New test.
5877 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5879 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5880 * README: Remove HP-UX and gdb.hp.
5882 * configure: Regenerate.
5883 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5884 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5885 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5886 gdb.hp/gdb.defects/Makefile.
5887 * gdb.hp/Makefile.in: File deleted.
5888 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5889 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5890 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5891 * gdb.hp/gdb.aCC/run.c: File deleted.
5892 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5893 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5894 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5895 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5896 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5897 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5898 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5899 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5900 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5901 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5902 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5903 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5904 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5905 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5906 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5907 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5908 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5909 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5910 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5911 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5912 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5913 * gdb.hp/gdb.compat/average.c: File deleted.
5914 * gdb.hp/gdb.compat/sum.c: File deleted.
5915 * gdb.hp/gdb.compat/xdb.c: File deleted.
5916 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5917 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5918 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5919 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5920 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5921 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5922 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5923 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5924 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5925 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5926 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5927 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5928 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5929 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5930 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5931 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5932 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5933 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5934 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5935 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5936 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5937 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5938 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5939 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5940 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5941 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5942 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5943 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5944 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5945 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5946 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5947 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5948 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5949 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5950 * gdb.hp/tools/odump: File deleted.
5952 2015-03-19 Pedro Alves <palves@redhat.com>
5954 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5955 (saw_thread_3): New globals.
5956 (top level): Increment them when an event for the corresponding
5958 (no thread starvation): New test.
5960 2015-03-19 Pedro Alves <palves@redhat.com>
5962 * gdb.threads/continue-pending-status.c: New file.
5963 * gdb.threads/continue-pending-status.exp: New file.
5965 2015-03-18 Pedro Alves <palves@redhat.com>
5967 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5968 Use gdb_is_target_remote instead of is_remote. Use
5969 gdb_test_multiple instead of gdb_expect. Exit early if
5970 gdb_test_multiple hits its internal matches. Tighten stepi tests
5971 expected output. Fail on exit with any signal, instead of just
5974 2015-03-18 Yao Qi <yao.qi@linaro.org>
5977 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5979 * gdb.base/catch-syscall.exp: Don't skip it on
5980 aarch64*-*-linux* target. Remove elements in all_syscalls.
5981 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5983 (setup_all_syscalls): New proc.
5985 2015-03-16 Yao Qi <yao.qi@linaro.org>
5987 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5988 (top level): Skip tests if valid_addr_p returns false for
5991 2015-03-11 Andy Wingo <wingo@igalia.com>
5993 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5995 2015-03-11 Yao Qi <yao.qi@linaro.org>
5997 * gdb.base/catch-syscall.exp: Fix typo in comments.
5999 2015-03-11 Yao Qi <yao.qi@linaro.org>
6001 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
6003 2015-03-09 Pedro Alves <palves@redhat.com>
6005 * dg-extract-results.py: Delete.
6007 2015-03-09 Pedro Alves <palves@redhat.com>
6009 Merge dg-extract-results.sh from GCC upstream (r218843).
6011 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
6012 * dg-extract-results.sh: Use --text with grep to avoid issues with
6013 binary files. Fall back to cat -v, if that doesn't work.
6015 2015-03-05 Pedro Alves <palves@redhat.com>
6017 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
6019 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
6021 * lib/mi-support.exp (mi_expect_interrupt): Accept
6022 alternative event for when in all-stop mode.
6024 2015-03-04 Pedro Alves <palves@redhat.com>
6026 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
6028 2015-03-04 Mark Kettenis <kettenis@gnu.org>
6030 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
6032 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6034 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6035 regexps for GDB's current line display, accept a hex address
6036 preceding the line number.
6038 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6040 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6041 the 'arch1' variable for "s390*-linux*" targets.
6043 2015-03-04 Pedro Alves <palves@redhat.com>
6045 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6046 (main): Pass missing retval argument to pthread_join call.
6048 2015-03-02 Pedro Alves <palves@redhat.com>
6050 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6051 (top level): Call do_test with non-stop as well.
6053 2015-03-02 Pedro Alves <palves@redhat.com>
6055 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6058 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6060 * gdb.arch/s390-vregs.exp: New test.
6061 * gdb.arch/s390-vregs.S: New file.
6063 2015-02-27 Pedro Alves <palves@redhat.com>
6065 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6066 call to catch_command_errors.
6067 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6068 catch_command_errors.
6070 2015-02-27 Pedro Alves <palves@redhat.com>
6072 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6073 "true" for boolean result.
6074 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6077 2015-02-27 Pedro Alves <palves@redhat.com>
6079 * lib/unbuffer_output.c: New file.
6080 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6081 (main): Call gdb_unbuffer_output.
6083 2015-02-27 Yao Qi <yao.qi@linaro.org>
6085 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6088 2015-02-26 Doug Evans <dje@google.com>
6090 * gdb.cp/class2.cc (Dbase, D): New classes.
6091 (main): New local delta.
6092 * gdb.cp/class2.exp: Test printing delta.
6093 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6094 (dynbar): New global.
6095 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6097 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6099 * gdb.compile/compile-ifunc.c: New file.
6100 * gdb.compile/compile-ifunc.exp: New file.
6102 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6104 * gdb.base/structs.exp: Check for correct struct on finish.
6106 2015-02-26 Yao Qi <yao.qi@linaro.org>
6108 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6111 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6113 * gdb.arch/cordic.ko.bz2: New file.
6114 * gdb.arch/cordic.ko.debug.bz2: New file.
6115 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6117 2015-02-25 Yao Qi <yao.qi@linaro.org>
6119 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6120 aarch64*-*-* target.
6122 2015-02-23 Pedro Alves <palves@redhat.com>
6124 * lib/gdb.exp (delete_breakpoints): Rewrite using
6127 2015-02-23 Pedro Alves <palves@redhat.com>
6129 * gdb.base/info-os.c: Include stdlib.h.
6131 2015-02-22 Doug Evans <xdje42@gmail.com>
6134 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6135 is read after symbols have been re-read.
6136 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6137 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6139 2015-02-21 Doug Evans <dje@google.com>
6141 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6143 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6146 * gdb.arch/i386-biarch-core.core.bz2: New file.
6147 * gdb.arch/i386-biarch-core.exp: New file.
6149 2015-02-21 Pedro Alves <palves@redhat.com>
6151 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6154 2015-02-20 Pedro Alves <palves@redhat.com>
6156 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6159 2015-02-20 Pedro Alves <palves@redhat.com>
6161 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6163 2015-02-20 Pedro Alves <palves@redhat.com>
6165 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6166 clean_restart before gdb_target_supports_trace.
6168 2015-02-20 Pedro Alves <palves@redhat.com>
6171 * gdb.threads/clone-thread_db.c: New file.
6172 * gdb.threads/clone-thread_db.exp: New file.
6174 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6176 PR breakpoints/16812
6177 * gdb.base/catch-gdb-caused-signals.c: New file.
6178 * gdb.base/catch-gdb-caused-signals.exp: New file.
6180 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6182 * configure: Regenerated.
6183 * configure.ac: Use GDB_AC_TRANSFORM.
6184 * aclocal.m4: sinclude ../transform.m4.
6186 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6188 * lib/dtrace.exp: New file.
6189 * gdb.base/dtrace-probe.exp: Likewise.
6190 * gdb.base/dtrace-probe.d: Likewise.
6191 * gdb.base/dtrace-probe.c: Likewise.
6192 * lib/pdtrace.in: Likewise.
6193 * configure.ac: Output variables with the transformed names of
6194 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6195 * configure: Regenerated.
6197 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6199 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6200 expected message when trying to access $_probe_* convenience
6201 variables while not on a probe.
6203 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6205 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6207 2015-02-11 Pedro Alves <pedro@codesourcery.com>
6209 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6210 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6212 2015-02-10 Doug Evans <xdje42@gmail.com>
6214 * lib/gdb.exp (gdb_load): Always return a result.
6216 2015-02-10 Pedro Alves <palves@redhat.com>
6218 * gdb.threads/signal-sigtrap.c: New file.
6219 * gdb.threads/signal-sigtrap.exp: New file.
6221 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6223 * gdb.trace/no-attach-trace.c: New file.
6224 * gdb.trace/no-attach-trace.exp: New file.
6226 2015-02-09 Mark Wielaard <mjw@redhat.com>
6228 * gdb.dwarf2/atomic.c: New file.
6229 * gdb.dwarf2/atomic-type.exp: Likewise.
6231 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6233 * gdb.btrace/buffer-size.exp: Update "info record" output.
6234 * gdb.btrace/delta.exp: Update "info record" output.
6235 * gdb.btrace/enable.exp: Update "info record" output.
6236 * gdb.btrace/finish.exp: Update "info record" output.
6237 * gdb.btrace/instruction_history.exp: Update "info record" output.
6238 * gdb.btrace/next.exp: Update "info record" output.
6239 * gdb.btrace/nexti.exp: Update "info record" output.
6240 * gdb.btrace/step.exp: Update "info record" output.
6241 * gdb.btrace/stepi.exp: Update "info record" output.
6242 * gdb.btrace/nohist.exp: Update "info record" output.
6244 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6246 * gdb.btrace/buffer-size: New.
6248 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6250 * gdb.btrace/delta.exp: Update "info record" output.
6251 * gdb.btrace/enable.exp: Update "info record" output.
6252 * gdb.btrace/finish.exp: Update "info record" output.
6253 * gdb.btrace/instruction_history.exp: Update "info record" output.
6254 * gdb.btrace/next.exp: Update "info record" output.
6255 * gdb.btrace/nexti.exp: Update "info record" output.
6256 * gdb.btrace/step.exp: Update "info record" output.
6257 * gdb.btrace/stepi.exp: Update "info record" output.
6258 * gdb.btrace/nohist.exp: Update "info record" output.
6260 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6263 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6265 2015-02-06 Pedro Alves <palves@redhat.com>
6267 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6269 (seconds_left, again): New globals.
6270 (main): Wait seconds_left in a 1-second sleep loop instead of
6271 sleeping 180 seconds. If 'again' is set, reset the seconds
6273 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6274 'again' in the inferior before detaching. Print the seconds left.
6275 (options): New global.
6276 (top level): Build program with -DTIMEOUT=$timeout.
6278 2015-02-06 Pedro Alves <palves@redhat.com>
6280 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6281 determine how many seconds to pass to 'alarm'.
6282 * gdb.base/gdb-sigterm.exp (top level): Build program with
6284 (do_test): Return success/failure indication. Add more verbose
6285 logging. Don't fail if 200 single steps are seen. Instead, fail
6286 when the test times out.
6287 (passes): New global.
6288 (top level): Break the testing loop if testing fails on any
6289 iteration. Use gdb_assert.
6291 2015-02-04 Don Breazeal <donb@codesourcery.com>
6293 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6294 and initialize them.
6295 (ipc_cleanup): New function.
6296 (main): Don't declare shmid, semid, and msqid. Add a call to
6297 atexit so that we call ipc_cleanup on exit.
6299 2015-02-04 Pedro Alves <palves@redhat.com>
6301 * boards/native-extended-gdbserver.exp: Remove any target variant
6302 specifications from the board name before clearing the isremote
6303 flag from board_info.
6305 2015-01-31 Doug Evans <xdje42@gmail.com>
6307 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6309 2015-01-31 Gary Benson <gbenson@redhat.com>
6311 * gdb.base/completion.exp: Disable completion limiting for
6312 existing tests. Add new tests to check completion limiting.
6313 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6315 2015-01-31 Doug Evans <xdje42@gmail.com>
6317 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6319 2015-01-31 Doug Evans <xdje42@gmail.com>
6321 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6322 entries. Duplicate file section script entries.
6323 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6324 inlined entries. Add test for safe-path rejection.
6325 * gdb.python/py-section-script.c: Add duplicate inlined section script
6326 entries. Duplicate file section script entries.
6327 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6328 inlined entries. Add test for safe-path rejection.
6330 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6332 * gdb.ada/disc_arr_bound: New testcase.
6334 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6336 * gdb.ada/mi_var_array: New testcase.
6338 2015-01-27 Doug Evans <dje@google.com>
6340 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6341 Add test for objfile.filename, objfile.username after objfile
6344 2015-01-26 Joel Brobecker <brobecker@adacore.com>
6346 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6347 the second test to print the name attribute of value
6348 returned by the call to gdb.lookup_type, and adjust
6349 the expected output accordingly.
6351 2015-01-25 Mark Wielaard <mjw@redhat.com>
6353 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6354 * gdb.base/disp-step-fork.c: Include unistd.h.
6355 * gdb.base/siginfo-obj.c: Include stdio.h.
6356 * gdb.base/siginfo-thread.c: Likewise.
6357 * gdb.mi/non-stop.c: Include unistd.h.
6358 * gdb.mi/nsthrexec.c: Include stdio.h.
6359 * gdb.mi/pthreads.c: Include unistd.h.
6360 * gdb.modula2/unbounded1.c (main): Declare returns int.
6361 * gdb.reverse/consecutive-reverse.c: Likewise.
6362 * gdb.threads/create-fail.c: Include unistd.h.
6363 * gdb.threads/killed.c: Likewise.
6364 * gdb.threads/linux-dp.c: Likewise.
6365 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6366 * gdb.threads/non-ldr-exc-2.c: Likewise.
6367 * gdb.threads/non-ldr-exc-3.c: Likewise.
6368 * gdb.threads/non-ldr-exc-4.c: Likewise.
6369 * gdb.threads/pthreads.c: Include unistd.h.
6370 (main): Declare returns int.
6371 * gdb.threads/tls-main.c (foo): New declaration.
6372 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6374 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6376 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6377 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6379 2015-01-15 Mark Wielaard <mjw@redhat.com>
6381 * gdb.base/noreturn-return.c: New file.
6382 * gdb.base/noreturn-return.exp: New file.
6383 * gdb.base/noreturn-finish.c: New file.
6384 * gdb.base/noreturn-finish.exp: New file.
6386 2015-01-23 Pedro Alves <palves@redhat.com>
6388 * gdb.threads/continue-pending-after-query.c: New file.
6389 * gdb.threads/continue-pending-after-query.exp: New file.
6391 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6392 Simon Marchi <simon.marchi@ericsson.com>
6394 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6395 * gdb.base/valgrind-db-attach.exp: Same.
6396 * gdb.base/valgrind-infcall.exp: Same.
6397 * lib/mi-support.exp (default_mi_gdb_start): Same.
6398 * lib/prompt.exp (default_prompt_gdb_start): Same.
6399 * lib/gdb.exp (default_gdb_spawn): Same.
6400 (gdb_interact): New.
6403 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6405 * gdb.compile/compile.exp (pointer to jit function): New test.
6407 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
6409 * lib/gdb.exp (supports_process_record): Return true for
6411 (supports_reverse): Likewise.
6413 2015-01-15 Don Breazeal <donb@codesourcery.com>
6415 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6416 instead of checking whether the target board is remote and
6417 use spawn_wait_for_attach instead of exec/sleep.
6418 * gdb.base/attach-twice.exp: Likewise.
6420 2015-01-15 Joel Brobecker <brobecker@adacore.com>
6422 * gdb.ada/var_arr_attrs: New testcase.
6424 2015-01-14 Pedro Alves <palves@redhat.com>
6425 Joel Brobecker <brobecker@adacore.com>
6428 * gdb.base/bp-cmds-execution-x-script.c: New file.
6429 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6430 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6432 2015-01-14 Pedro Alves <palves@redhat.com>
6435 * gdb.base/batch-preserve-term-settings.c: New file.
6436 * gdb.base/batch-preserve-term-settings.exp: New file.
6438 2015-01-13 Doug Evans <dje@google.com>
6440 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6443 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6445 * Makefile.in (clean mostlyclean): Do not delete *.py.
6447 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6449 * gdb.python/py-lookup-type.exp: New file.
6451 2015-01-12 Pedro Alves <palves@redhat.com>
6453 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6454 restore GDBFLAGS before returning.
6456 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6458 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6459 is_amd64_regs_target and is_x86_like_target.
6461 2015-01-11 Doug Evans <xdje42@gmail.com>
6463 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6464 is given without an explicit form.
6465 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6467 * gdb.dwarf/corrupt.exp: Ditto.
6468 * gdb.dwarf2/enum-type.exp: Ditto.
6469 * gdb.trace/entry-values.exp: Ditto.
6470 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6472 2015-01-11 Doug Evans <xdje42@gmail.com>
6475 * gdb.base/maint.exp: Remove references to "maint demangle".
6476 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6477 Add tests for explicitly specifying language to demangle.
6478 * gdb.dlang/demangle.exp: Ditto.
6480 2015-01-09 Pedro Alves <palves@redhat.com>
6482 * gdb.threads/non-stop-fair-events.c: New file.
6483 * gdb.threads/non-stop-fair-events.exp: New file.
6485 2015-01-09 Pedro Alves <palves@redhat.com>
6487 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6488 the global scope. Set a breakpoint after all threads are started
6489 rather than stepping over two source lines. Expect the prompt.
6490 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6493 (main): Use threads_started_barrier to wait for all threads to
6494 start. Main thread no longer calls thread_function. Exit after
6496 (loop): New function.
6497 (thread_function): Wait on threads_started_barrier barrier. Call
6498 'loop' at each iteration.
6499 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6500 threads have started, instead of hardcoding number of "next"
6501 steps. Use an access watchpoint instead of a write watchpoint.
6503 2015-01-09 Pedro Alves <palves@redhat.com>
6505 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6506 (thread_func): Wait on barrier.
6507 (main): Wait for all threads to start before stopping GDB.
6508 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6510 (thread1_func, thread2_func): Wait on barrier.
6511 (main): Wait for all threads to start before stopping GDB.
6512 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6514 (thread1_func, thread2_func): Wait on barrier.
6515 (main): Wait for all threads to start before stopping GDB.
6517 2015-01-09 Pedro Alves <palves@redhat.com>
6519 * gdb.threads/attach-many-short-lived-threads.c: New file.
6520 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6522 2014-01-09 Pedro Alves <palves@redhat.com>
6524 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6525 instead of to thread 2.
6526 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6527 Add barrier around each pthread_create call instead of around all
6529 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6530 Set a break on thread_function and have the child threads hit it
6533 2015-01-09 Pedro Alves <palves@redhat.com>
6535 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6536 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6538 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6539 checking whether the target board is remote.
6540 * gdb.multi/multi-attach.exp: Likewise.
6541 * gdb.python/py-sync-interp.exp: Likewise.
6542 * gdb.server/ext-attach.exp: Likewise.
6543 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6544 tests that need to attach, instead of checking whether the target
6545 board is remote at the top of the file.
6547 2015-01-08 Yao Qi <yao@codesourcery.com>
6549 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6551 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6553 Fix testcase compilation.
6554 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6556 2015-01-06 Joel Brobecker <brobecker@adacore.com>
6558 * gdb.python/py-type.exp: Add a couple test about empty
6559 array creation, and negative-length array creation.
6561 2015-01-02 Doug Evans <xdje42@gmail.com>
6563 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6565 2015-01-02 Doug Evans <dje@google.com>
6567 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6569 2014-12-29 Yao Qi <yao@codesourcery.com>
6571 * gdb.trace/entry-values.exp: Update comments. Rename variable
6572 bar_call_foo to returned_from_foo.
6574 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6577 * gdb.linespec/break-asm-file.c: New file.
6578 * gdb.linespec/break-asm-file.exp: New file.
6579 * gdb.linespec/break-asm-file0.s: New file.
6580 * gdb.linespec/break-asm-file1.s: New file.
6582 2014-12-18 Nigel Stephens <nigel@mips.com>
6583 Maciej W. Rozycki <macro@codesourcery.com>
6585 * gdb.base/float.exp: Handle the new output from "info float" on
6588 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6590 Fix MinGW compilation.
6591 * gdb.compile/compile-ops.exp: Update untested message if
6592 !skip_compile_feature_tests.
6593 * gdb.compile/compile-setjmp.exp: Likewise.
6594 * gdb.compile/compile-tls.exp: Likewise.
6595 * gdb.compile/compile.exp: Likewise.
6596 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6597 supported on this host".
6599 2014-12-16 Doug Evans <xdje42@gmail.com>
6601 * boards/stabs.exp: New file.
6603 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6605 * gdb.base/completion.exp: Adjust to format changes of "maint
6606 print user-registers".
6608 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
6611 * gdb.arch/aarch64-fp.c: New file.
6612 * gdb.arch/aarch64-fp.exp: New file.
6614 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6616 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6617 r210637, r210913, r211666, r215400, r215817).
6619 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6620 * dg-extract-results.py: New file.
6621 * dg-extract-results.sh: Use it if the environment seems
6624 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6626 * dg-extract-results.py (parse_run): Handle warnings that
6627 are printed before a test harness is run.
6629 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6631 * dg-extract-results.py (Named): Remove __cmp__ method.
6632 (output_variation): Use a key to sort variation.harnesses.
6634 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6636 * dg-extract-results.py: For Python 3, force sys.stdout to
6637 handle surrogate escape sequences.
6638 (safe_open): New function.
6639 (output_segment, main): Use it.
6641 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6643 * dg-extract-results.py (Prog.result_re): Include options
6646 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6648 * dg-extract-results.py (output_variation): Always sort if
6651 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6653 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6654 as long as we get pagination notifications.
6656 2014-12-15 Jason Merrill <jason@redhat.com>
6658 * Makefile.in (check-gdb.%): Restore.
6659 * README: Mention it.
6661 2014-12-13 Joel Brobecker <brobecker@adacore.com>
6663 * gdb.ada/str_uninit: New testcase.
6665 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6668 * gdb.base/vla-stub-define.c: New file.
6669 * gdb.base/vla-stub.c: New file.
6670 * gdb.base/vla-stub.exp: New file.
6672 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6673 Jan Kratochvil <jan.kratochvil@redhat.com>
6674 Tom Tromey <tromey@redhat.com>
6676 * configure.ac: Add gdb.compile/.
6677 * configure: Regenerate.
6678 * gdb.compile/Makefile.in: New file.
6679 * gdb.compile/compile-ops.exp: New file.
6680 * gdb.compile/compile-ops.c: New file.
6681 * gdb.compile/compile-tls.c: New file.
6682 * gdb.compile/compile-tls.exp: New file.
6683 * gdb.compile/compile-constvar.S: New file.
6684 * gdb.compile/compile-constvar.c: New file.
6685 * gdb.compile/compile-mod.c: New file.
6686 * gdb.compile/compile-nodebug.c: New file.
6687 * gdb.compile/compile-setjmp-mod.c: New file.
6688 * gdb.compile/compile-setjmp.c: New file.
6689 * gdb.compile/compile-setjmp.exp: New file.
6690 * gdb.compile/compile-shlib.c: New file.
6691 * gdb.compile/compile.c: New file.
6692 * gdb.compile/compile.exp: New file.
6693 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6695 2014-12-12 Tom Tromey <tromey@redhat.com>
6697 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6698 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6700 2014-12-12 Doug Evans <dje@google.com>
6702 * lib/gdb-python.exp (get_python_valueof): New function.
6703 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6705 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6707 * gdb.base/completion.exp: Add test for completion of "info
6710 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6712 * gdb.base/func-ptrs.c: New file.
6713 * gdb.base/func-ptrs.exp: New file.
6715 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6717 PR breakpoints/17012
6718 * gdb.base/dprintf-detach.c: New file.
6719 * gdb.base/dprintf-detach.exp: New file.
6721 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6723 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6724 * lib/gdb.exp (target_is_gdbserver): New procedure.
6726 2014-12-08 Doug Evans <dje@google.com>
6728 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6730 2014-12-05 Yao Qi <yao@codesourcery.com>
6732 * gdb.guile/scm-error.exp: Remove the third argument to
6733 gdb_remote_download.
6734 * gdb.guile/scm-frame-args.exp: Likewise.
6735 * gdb.guile/scm-section-script.exp: Likewise.
6737 2014-12-05 Yao Qi <yao@codesourcery.com>
6739 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6741 2014-12-04 Doug Evans <dje@google.com>
6743 * gdb.python/py-objfile.exp: Add tests for
6744 objfile.add_separate_debug_file.
6746 2014-12-04 Doug Evans <dje@google.com>
6748 * lib/gdb.exp (get_build_id): New function.
6749 (build_id_debug_filename_get): Rewrite to use it.
6750 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6752 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6754 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6755 `method(long)', not just 0x0.
6756 * gdb.cp/nsalias.exp: Align code labels to 4.
6757 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6758 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6759 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6760 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6761 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6762 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6764 2014-12-02 Doug Evans <dje@google.com>
6767 * gdb.cp/anon-ns.cc: Move guts of this file to ...
6768 * gdb.cp/anon-ns2.cc: ... here. New file.
6769 * gdb.cp/anon-ns.exp: Update.
6771 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
6773 * gdb.python/py-events.py (inferior_call_handler): New.
6774 (register_changed_handler, memory_changed_handler): New.
6775 (test_events.invoke): Register new handlers.
6776 * gdb.python/py-events.exp: Add tests for inferior call,
6777 memory_changed and register_changed events.
6779 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6781 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6782 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6783 if the linker doesn't understand this.
6785 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6787 * gdb.python/python.exp: Change expected reply to help().
6789 2014-12-01 Yao Qi <yao@codesourcery.com>
6791 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6792 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6793 * configure: Re-generated.
6795 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6797 * gdb.cp/chained-calls.cc: New file.
6798 * gdb.cp/chained-calls.exp: New file.
6799 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6801 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6803 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6804 * gdb.dwarf2/symtab-producer.exp: Same.
6805 * gdb.gdb/python-interrupts.exp: Same.
6806 * gdb.gdb/python-selftest.exp: Same.
6807 * gdb.python/py-linetable.exp: Same.
6808 * gdb.python/py-type.exp: Same.
6809 * gdb.python/py-value-cc.exp: Same.
6810 * gdb.python/py-value.exp: Same.
6812 2014-11-28 Yao Qi <yao@codesourcery.com>
6814 * gdb.base/break-probes.exp: Match library name prefixed with
6817 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6819 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6820 test expected output. Add parentheses for the call to print.
6821 Remove L suffix from integers.
6823 2014-11-26 Doug Evans <dje@google.com>
6825 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6827 2014-11-22 Yao Qi <yao@codesourcery.com>
6829 * gdb.trace/entry-values.c: Remove asms.
6830 (foo): Add foo_label.
6831 (bar): Add bar_label.
6832 * gdb.trace/entry-values.exp: Remove code computing foo's
6833 length and bar's length.
6834 (Dwarf::assemble): Invoke function_range for bar and use
6835 MACRO_AT_func for foo.
6837 2014-11-22 Yao Qi <yao@codesourcery.com>
6839 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6840 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6841 Use .Lgcc43_procstart instead of gcc43.
6843 2014-11-21 Joel Brobecker <brobecker@adacore.com>
6845 * gdb.ada/n_arr_bound: New testcase.
6847 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6849 PR breakpoints/10737
6850 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6851 test_catch_syscall_multi_arch.
6852 (test_catch_syscall_multi_arch): New function.
6854 2014-11-20 Doug Evans <xdje42@gmail.com>
6856 * gdb.base/maint.exp: Update expected output.
6858 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6860 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6861 4-byte instruction on S390.
6863 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6865 * gdb.ada/arr_arr: New testcase.
6867 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6869 * gdb.ada/pkd_arr_elem: New Testcase.
6871 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6873 * gdb.reverse/break-precsave: Expect completion message for
6875 * gdb.reverse/consecutive-precsave.exp: Likewise.
6876 * gdb.reverse/finish-precsave.exp: Likewise.
6877 * gdb.reverse/i386-precsave.exp: Likewise.
6878 * gdb.reverse/machinestate-precsave.exp: Likewise.
6879 * gdb.reverse/sigall-precsave.exp: Likewise.
6880 * gdb.reverse/solib-precsave.exp: Likewise.
6881 * gdb.reverse/step-precsave.exp: Likewise.
6882 * gdb.reverse/until-precsave.exp: Likewise.
6883 * gdb.reverse/watch-precsave.exp: Likewise.
6885 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6887 * gdb.base/bp-permanent.c: Include unistd.h.
6888 * gdb.python/py-framefilter-mi.c (main): Add return type.
6889 * gdb.python/py-framefilter.c (main): Likewise.
6890 * gdb.trace/actions-changed.c (main): Likewise.
6892 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6894 * gdb.mi/until.c: Add eye-catchers.
6895 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6898 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6900 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6901 function header variants in break1.c.
6902 * gdb.base/ena-dis-br.exp: Likewise.
6903 * gdb.base/hbreak2.exp: Likewise.
6904 * gdb.reverse/until-precsave.exp: Drop references to removed
6905 non-prototype function header variants in ur1.c.
6906 * gdb.reverse/until-reverse.exp: Likewise.
6908 2014-11-17 Petr Machata <pmachata@redhat.com>
6910 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6911 ${_cu_offset_size} bytes abbrev offset.
6913 2014-11-15 Doug Evans <xdje42@gmail.com>
6916 * gdb.base/line-symtabs.exp: New file.
6917 * gdb.base/line-symtabs.c: New file.
6918 * gdb.base/line-symtabs.h: New file.
6920 2014-11-14 Yao Qi <yao@codesourcery.com>
6922 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6923 (func): Add label func_label.
6924 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6925 Replace low_pc and high_pc with MACRO_AT_range.
6926 Replace name, low_pc and high_pc with MACRO_AT_func.
6928 2014-11-14 Yao Qi <yao@codesourcery.com>
6930 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6931 Replace name, low_pc and high_pc with MACRO_AT_func.
6933 2014-11-14 Yao Qi <yao@codesourcery.com>
6935 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6936 produce debug information.
6937 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6939 2014-11-14 Yao Qi <yao@codesourcery.com>
6941 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6942 object and get function length.
6943 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6945 (top-level): Replace gdb_compile and clean_restart with
6946 prepare_for_testing.
6947 * gdb.dwarf2/main.c (main): Add label main_label.
6949 2014-11-14 Yao Qi <yao@codesourcery.com>
6951 * lib/dwarf.exp (function_range): New procedure.
6952 (Dwarf::_handle_macro_at_func): New procedure.
6953 (Dwarf::_handle_macro_at_range): New procedure.
6954 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6956 2014-11-14 Yao Qi <yao@codesourcery.com>
6958 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6959 (_handle_attribute): New procedure.
6961 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6963 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6964 * gdb.base/call-sc.c (zed): Likewise.
6965 * gdb.base/checkpoint.c (main): Likewise.
6966 * gdb.base/dump.c (main): Likewise.
6967 * gdb.base/gcore.c (main): Likewise.
6968 * gdb.base/huge.c (main): Likewise.
6969 * gdb.base/multi-forks.c (main): Likewise.
6970 * gdb.base/pr10179-a.c (main): Likewise.
6971 * gdb.base/savedregs.c (main): Likewise.
6972 * gdb.base/sigaltstack.c (main): Likewise.
6973 * gdb.base/siginfo.c (main): Likewise.
6974 * gdb.base/structs.c (zed): Likewise.
6975 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6976 * gdb.mi/mi-syn-frame.c (main): Likewise.
6977 * gdb.mi/until.c (foo, main): Likewise.
6978 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6979 * gdb.base/solib-weak.c (foo): Declare.
6980 * gdb.base/attach-twice.c: Include stdio.h.
6981 * gdb.base/weaklib1.c: Likewise.
6982 * gdb.base/weaklib2.c: Likewise.
6983 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6984 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6986 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6987 * gdb.mi/mi-exit-code.c: Likewise.
6988 * gdb.base/break-interp-lib.c: Include string.h.
6989 * gdb.base/coremaker.c: Likewise.
6990 * gdb.base/testenv.c: Likewise.
6991 * gdb.python/py-finish-breakpoint.c: Likewise.
6992 * gdb.base/inferior-died.c: Include sys/wait.h.
6993 * gdb.base/fileio.c: Include time.h.
6994 * gdb.base/async-shell.c: Include unistd.h.
6995 * gdb.base/dprintf-non-stop.c: Likewise.
6996 * gdb.base/info-os.c: Likewise.
6997 * gdb.mi/mi-console.c: Likewise.
6998 * gdb.mi/watch-nonstop.c: Likewise.
6999 * gdb.python/py-events.c: Likewise.
7000 * gdb.base/async.c (baz): Move up before its invocation.
7001 * gdb.base/code_elim2.c (my_global_func): Likewise.
7002 * gdb.base/skip-solib-lib.c (multiply): Likewise.
7003 * gdb.base/advance.c (func2): Likewise.
7005 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7007 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
7009 * gdb.base/annota3.c: Likewise.
7010 * gdb.base/async.c: Likewise.
7011 * gdb.base/average.c: Likewise.
7012 * gdb.base/call-ar-st.c: Likewise.
7013 * gdb.base/call-rt-st.c: Likewise.
7014 * gdb.base/call-sc.c: Likewise.
7015 * gdb.base/call-strs.c: Likewise.
7016 * gdb.base/ending-run.c: Likewise.
7017 * gdb.base/execd-prog.c: Likewise.
7018 * gdb.base/exprs.c: Likewise.
7019 * gdb.base/foll-exec.c: Likewise.
7020 * gdb.base/foll-fork.c: Likewise.
7021 * gdb.base/foll-vfork.c: Likewise.
7022 * gdb.base/funcargs.c: Likewise.
7023 * gdb.base/gcore.c: Likewise.
7024 * gdb.base/jump.c: Likewise.
7025 * gdb.base/langs0.c: Likewise.
7026 * gdb.base/langs1.c: Likewise.
7027 * gdb.base/langs2.c: Likewise.
7028 * gdb.base/mips_pro.c: Likewise.
7029 * gdb.base/nodebug.c: Likewise.
7030 * gdb.base/opaque0.c: Likewise.
7031 * gdb.base/opaque1.c: Likewise.
7032 * gdb.base/recurse.c: Likewise.
7033 * gdb.base/run.c: Likewise.
7034 * gdb.base/scope0.c: Likewise.
7035 * gdb.base/scope1.c: Likewise.
7036 * gdb.base/setshow.c: Likewise.
7037 * gdb.base/setvar.c: Likewise.
7038 * gdb.base/shmain.c: Likewise.
7039 * gdb.base/shr1.c: Likewise.
7040 * gdb.base/shr2.c: Likewise.
7041 * gdb.base/sigall.c: Likewise.
7042 * gdb.base/signals.c: Likewise.
7043 * gdb.base/so-indr-cl.c: Likewise.
7044 * gdb.base/solib2.c: Likewise.
7045 * gdb.base/structs.c: Likewise.
7046 * gdb.base/sum.c: Likewise.
7047 * gdb.base/vforked-prog.c: Likewise.
7048 * gdb.base/watchpoint.c: Likewise.
7049 * gdb.reverse/shr2.c: Likewise.
7050 * gdb.reverse/until-reverse.c: Likewise.
7051 * gdb.reverse/ur1.c: Likewise.
7052 * gdb.reverse/watch-reverse.c: Likewise.
7054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7056 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7058 * gdb.base/sepdebug.exp: Drop references to removed code.
7060 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7062 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7063 variant. Preserve original line numbering.
7064 * gdb.base/list1.c: Likewise.
7066 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7068 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7070 * gdb.base/break1.c: Likewise.
7071 * gdb.base/break.exp: Drop references to removed code.
7073 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7075 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7078 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7080 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7082 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7084 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7085 logic into perform_all_tests() and invoke it with and without
7086 function header prototypes.
7087 (do_function_calls): Remove conditional XFAIL for PR 5318.
7088 (rerun_and_prepare): Remove duplicate code.
7089 (perform_all_tests): New. Main logic moved here.
7091 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7093 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7094 code guarded by #ifdef NO_PROTOTYPES.
7095 (t_double_many_args): Likewise.
7096 (DEF_FUNC_MANY_ARGS_1): Likewise.
7097 (DEF_FUNC_VALUES_1): Likewise.
7098 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7099 guarded by #ifdef PROTOTYPES.
7101 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7103 * gdb.mi/mi-console.c: Add eye-catcher.
7104 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7105 instead of literal line number.
7107 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7109 * gdb.base/shr2.c: Add eye-catcher.
7110 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7113 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7115 * gdb.base/jump.c: Add eye-catchers.
7116 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7119 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7121 * gdb.base/execd-prog.c: Add eye-catchers.
7122 * gdb.base/foll-exec.c: Likewise.
7123 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7126 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7128 * gdb.base/ending-run.c: Add eye-catchers.
7129 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7130 literal line numbers.
7132 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7134 * gdb.base/call-rt-st.c: Add eye-catchers.
7135 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7136 literal line numbers.
7138 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7140 * gdb.base/call-ar-st.c: Add eye-catchers.
7141 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7142 literal line numbers.
7144 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7146 * gdb.base/average.c: Add eye-catchers.
7147 * gdb.base/sum.c: Likewise.
7148 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7149 regexps dynamically.
7151 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7153 * gdb.base/solib1.c: Add eye-catchers.
7154 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7155 literal line numbers.
7157 2014-11-12 Pedro Alves <palves@redhat.com>
7159 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7162 2014-11-12 Pedro Alves <palves@redhat.com>
7164 * gdb.arch/i386-bp_permanent.c: New file.
7165 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7166 (srcfile): Set to i386-bp_permanent.c.
7167 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7168 that stepi does not execute the 'leave' instruction, instead of
7169 testing it does execute.
7170 * gdb.base/bp-permanent.c: New file.
7171 * gdb.base/bp-permanent.exp: New file.
7173 2014-11-10 Doug Evans <xdje42@gmail.com>
7176 * gdb.base/symtab-search-order.exp: New file.
7177 * gdb.base/symtab-search-order.c: New file.
7178 * gdb.base/symtab-search-order-1.c: New file.
7179 * gdb.base/symtab-search-order-shlib-1.c: New file.
7181 2014-11-07 Pedro Alves <palves@redhat.com>
7184 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7187 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7190 * gdb.cp/pr17494.cc: New file.
7191 * gdb.cp/pr17494.exp: New file.
7193 2014-11-02 Yao Qi <yao@codesourcery.com>
7195 * gdb.python/python.exp: Get working directory and match the
7196 output of "set extended-prompt \\w " with it.
7198 2014-10-30 Doug Evans <dje@google.com>
7200 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7202 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7205 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
7207 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7208 * gdb.base/realname-expand.exp: Likewise.
7209 * gdb.linespec/macro-relative.exp: Likewise.
7211 2014-10-29 Pedro Alves <palves@redhat.com>
7214 * gdb.threads/schedlock.c (some_function): New function.
7215 (call_function): New global.
7216 (MAYBE_CALL_SOME_FUNCTION): New macro.
7217 (thread_function): Call it.
7218 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7219 and use it instead of a global counter. Adjust all callers.
7220 (get_current_thread): Use "find current thread" for test message
7221 here rather than having all callers pass down the same string.
7222 (goto_loop): New procedure, factored out from ...
7223 (my_continue): ... this.
7224 (step_ten_loops): Change parameter from test message to command to
7226 (list_count): Delete global.
7227 (check_result): New procedure, factored out from duplicate top
7229 (continue tests): Wrap in with_test_prefix.
7230 (test_step): New procedure, factored out from duplicate top level
7232 (top level): Test "step" in combination with all scheduler-locking
7233 modes. Test "next" in combination with all scheduler-locking
7234 modes, and in combination with stepping over a function call or
7236 * gdb.threads/next-bp-other-thread.c: New file.
7237 * gdb.threads/next-bp-other-thread.exp: New file.
7239 2014-10-29 Pedro Alves <palves@redhat.com>
7242 * gdb.python/python.exp: Test a multi-line command that spawns
7244 * gdb.base/multi-line-starts-subshell.exp: New file.
7246 2014-10-29 Yao Qi <yao@codesourcery.com>
7248 * gdb.base/fileio.exp: Make directories on host.
7250 2014-10-29 Yao Qi <yao@codesourcery.com>
7252 * gdb.base/fileio.c (test_write): Close the file.
7254 2014-10-28 Pedro Alves <palves@redhat.com>
7257 * gdb.base/sigstep.c (no_handler): New global.
7258 (main): If 'no_handler is true, set the signal handlers to
7260 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7261 with_sw_watch and no_handler parameters. Handle them.
7262 (top level) <stepping over handler when stopped at a breakpoint
7263 test>: Add a test axis for testing with a software watchpoint, and
7264 another for testing with the signal handler set to SIG_IGN.
7265 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7266 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7268 2014-10-28 Pedro Alves <palves@redhat.com>
7271 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7272 * gdb.base/sigstep.exp (other_handler_location): New global.
7273 (advance): Support stepping into the signal handler, and running
7274 commands while in the handler.
7275 (in_handler_map): New global.
7276 (top level): In the advance test, add combinations for getting
7277 into the handler with stepping commands, and for running commands
7278 in the handler. Add comment descripting the advancei tests.
7280 2014-10-28 Pedro Alves <palves@redhat.com>
7282 * gdb.base/sigstep.exp: Use build_executable instead of
7283 prepare_for_testing.
7284 (top level): Move code that starts GDB, runs to main and creates a
7286 (restart): ... this new procedure.
7287 (top level): Move backtrace from signal handler test to ...
7288 (validate_backtrace): ... this new procedure.
7289 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7290 with_test_prefix. Always restart GDB.
7291 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7292 with_test_prefix. Always restart GDB. No need to delete
7293 breakpoints after the test.
7294 (test_skip_handler): Remove prefix parameter.
7295 (skip_over_handler, breakpoint_to_handler)
7296 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7297 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7298 restart GDB. No need to delete breakpoints after the test.
7299 (top level): Use foreach to call the test procedures with
7302 2014-10-28 Pedro Alves <palves@redhat.com>
7304 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7305 instead of GNATS numbers.
7306 * gdb.base/sigbpt.exp: Likewise.
7307 * gdb.base/siginfo.exp: Likewise.
7308 * gdb.base/sigstep.exp: Likewise.
7310 2014-10-27 Pedro Alves <palves@redhat.com>
7312 * gdb.base/sigstep.c (dummy): New global.
7313 (main): Issue a couple writes to the new global.
7314 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7316 (skip_over_handler): Use test_skip_handler.
7317 (top level): Call skip_over_handler for stepi and nexti too.
7318 (breakpoint_over_handler): Use test_skip_handler.
7319 (top level): Call breakpoint_over_handler for stepi and nexti too.
7321 2014-10-27 Yao Qi <yao@codesourcery.com>
7323 * gdb.trace/tfile.c (adjust_function_address)
7324 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7325 function descriptor.
7327 2014-10-24 Don Breazeal <donb@codesourcery.com>
7329 * gdb.base/foll-fork.exp (test_follow_fork,
7330 catch_fork_child_follow): Check for updated fork messages emitted
7332 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7333 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7334 vfork_and_exec_child_follow_through_step): Check for updated vfork
7335 messages emitted from infrun.c.
7337 2014-10-24 Pedro Alves <palves@redhat.com>
7339 * gdb.base/corefile.exp: Remove references to ultrix.
7340 * gdb.base/interrupt.exp: Likewise.
7341 * gdb.base/whatis.exp: Likewise.
7342 * gdb.gdb/selftest.exp: Likewise.
7343 * gdb.threads/manythreads.exp: Likewise.
7344 * gdb.threads/print-threads.exp: Likewise.
7345 * gdb.threads/pthreads.exp:: Likewise.
7346 * gdb.threads/schedlock.exp: Likewise.
7348 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7350 * gdb.cp/non-trivial-retval.cc: Add a test case.
7351 * gdb.cp/non-trivial-retval.exp: Add a test.
7353 2014-10-20 Yao Qi <yao@codesourcery.com>
7355 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7356 * gdb.python/py-objfile-script-gdb.py: New file.
7357 * gdb.python/py-objfile-script.exp: Update reference to
7358 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7359 of remote_download. Remove the dest file.
7361 2014-10-20 Yao Qi <yao@codesourcery.com>
7363 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7364 * gdb.base/step-line.exp: Likewise.
7365 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7366 * gdb.dwarf2/dw2-basic.exp: Likewise.
7367 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7368 * gdb.dwarf2/dw2-filename.exp: Likewise.
7369 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7370 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7371 * gdb.dwarf2/dw2-producer.exp: Likewise.
7372 * gdb.dwarf2/mac-fileno.exp: Likewise.
7373 * gdb.python/py-frame-args.exp: Likewise.
7374 * gdb.python/py-framefilter.exp: Likewise.
7375 * gdb.python/py-mi.exp: Likewise.
7376 * gdb.python/py-objfile-script.exp: Likewise
7377 * gdb.python/py-pp-integral.exp: Likewise.
7378 * gdb.python/py-pp-re-notag.exp: Likewise.
7379 * gdb.python/py-prettyprint.exp: Likewise.
7380 * gdb.python/py-section-script.exp: Likewise.
7381 * gdb.python/py-typeprint.exp: Likewise.
7382 * gdb.python/py-xmethods.exp: Likewise.
7383 * gdb.stabs/weird.exp: Likewise.
7384 * gdb.xml/tdesc-regs.exp: Likewise.
7386 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7388 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7389 (out_cu): Use addr_len for the size of addresses.
7390 (out_line): Likewise. Size DW_LNE_set_address instruction
7391 according to addr_len.
7392 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7393 (FUNC): Add START_INSNS to definition.
7395 2014-10-18 Yao Qi <yao@codesourcery.com>
7397 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7398 gdb_has_argv0 return true.
7399 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7400 check [target_info exists noargs], check [gdb_has_argv0]
7402 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7403 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7406 2014-10-17 Doug Evans <dje@google.com>
7408 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7410 * gdb.python/py-events.py: Add clear_objfiles event.
7412 2014-10-17 Doug Evans <dje@google.com>
7414 * gdb.python/py-objfile.exp: Test progspace attribute.
7416 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7418 * gdb.guile/scm-breakpoint.exp: Do not assume any
7419 directory separators when matching source file paths.
7420 * gdb.python/py-breakpoint.exp: Likewise.
7421 * gdb.reverse/break-precsave.exp: Likewise.
7422 * gdb.reverse/break-reverse.exp: Likewise.
7423 * gdb.reverse/consecutive-precsave.exp: Likewise.
7424 * gdb.reverse/finish-precsave.exp: Likewise.
7425 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7426 * gdb.reverse/finish-reverse.exp: Likewise.
7427 * gdb.reverse/i386-precsave.exp: Likewise.
7428 * gdb.reverse/i387-env-reverse.exp: Likewise.
7429 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7430 * gdb.reverse/machinestate-precsave.exp: Likewise.
7431 * gdb.reverse/machinestate.exp: Likewise.
7432 * gdb.reverse/sigall-precsave.exp: Likewise.
7433 * gdb.reverse/solib-precsave.exp: Likewise.
7434 * gdb.reverse/step-precsave.exp: Likewise.
7435 * gdb.reverse/until-precsave.exp: Likewise.
7436 * gdb.reverse/watch-precsave.exp: Likewise.
7437 * gdb.reverse/watch-reverse.exp: Likewise.
7439 2014-10-17 Yao Qi <yao@codesourcery.com>
7441 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7442 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7444 2014-10-17 Pedro Alves <palves@redhat.com>
7447 * gdb.base/bg-execution-repeat.c: New file.
7448 * gdb.base/bg-execution-repeat.exp: New file.
7450 2014-10-17 Pedro Alves <palves@redhat.com>
7453 * gdb.base/continue-all-already-running.c: New file.
7454 * gdb.base/continue-all-already-running.exp: New file.
7456 2014-10-17 Pedro Alves <palves@redhat.com>
7459 * gdb.base/annota-input-while-running.c: New file.
7460 * gdb.base/annota-input-while-running.exp: New file.
7462 2014-10-17 Pedro Alves <palves@redhat.com>
7464 * gdb.base/callfuncs.exp: emove references to osf.
7465 * gdb.base/sigall.exp: Likewise.
7466 * gdb.gdb/selftest.exp: Likewise.
7467 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7468 * gdb.mi/non-stop.c: Likewise.
7469 * gdb.mi/pthreads.c: Likewise.
7470 * gdb.reverse/sigall-precsave.exp: Likewise.
7471 * gdb.reverse/sigall-reverse.exp: Likewise.
7472 * gdb.threads/pthreads.c: Likewise.
7473 * gdb.threads/pthreads.exp: Likewise.
7475 2014-10-17 Yao Qi <yao@codesourcery.com>
7477 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7478 check 'target_info exists noargs'.
7479 (test_command_prompt_position): Likewise.
7480 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7482 (progvar_simple_while_test): Likewise.
7483 (progvar_complex_if_while_test): Likewise.
7484 (if_while_breakpoint_command_test): Likewise.
7485 (infrun_breakpoint_command_test): Likewise.
7486 (breakpoint_command_test): Likewise.
7487 (watchpoint_command_test): Likewise.
7488 (bp_deleted_in_command_test): Likewise.
7489 (temporary_breakpoint_commands): Likewise.
7491 2014-10-16 Yao Qi <yao@codesourcery.com>
7493 * gdb.base/remotetimeout.exp: Remove noargs checking.
7495 2014-10-15 Pedro Alves <palves@redhat.com>
7498 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7499 * gdb.base/breakpoint-in-ro-region.exp
7500 (probe_target_hardware_step): New procedure.
7501 (top level): Probe hardware stepping and hardware breakpoint
7502 support. Test stepping through a read-only region, with both
7503 "breakpoint auto-hw" on and off and both "always-inserted" on and
7506 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7508 * gdb.dlang/demangle.exp: Update for demangling changes.
7510 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7512 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7513 * gdb.cp/non-trivial-retval.exp: Add new tests.
7515 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7519 * gdb.cp/non-trivial-retval.cc: New file.
7520 * gdb.cp/non-trivial-retval.exp: New file.
7522 2014-10-15 Yao Qi <yao@codesourcery.com>
7524 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7527 2014-10-15 Yao Qi <yao@codesourcery.com>
7529 * gdb.python/py-symbol.exp: Match file base name if host is
7530 remote, otherwise match file name with dir name.
7531 * gdb.python/py-symtab.exp: Likewise.
7532 * gdb.python/python.exp: Likewise.
7534 2014-10-15 Yao Qi <yao@codesourcery.com>
7536 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7538 * gdb.python/py-symtab.exp: Likewise.
7539 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7542 2014-10-14 Joel Brobecker <brobecker@adacore.com>
7544 * gdb.ada/addr_arith: New testcase.
7546 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7548 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7549 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7550 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7551 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7553 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7555 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7556 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7557 * gdb.arch/stap-eval-lang-ada.exp: New file.
7559 2014-10-14 Yao Qi <yao@codesourcery.com>
7561 * gdb.mi/mi-var-child.c (nothing1): New function.
7562 (nothing2): New function.
7563 (do_children_tests): Set function pointers by nothing1 and
7565 * gdb.mi/mi-var-child.exp: Step over new added statements.
7566 Update test to match the new output.
7567 * gdb.mi/var-cmd.c (nothing1): New function.
7568 (nothing2): New function.
7569 (do_children_tests): Set function pointers by nothing1 and
7571 * gdb.mi/mi-var-display.exp: Update test to match output.
7572 Step to the line specified by $line_dct_nothing.
7573 Increase the number of lines to step.
7575 2014-10-14 Yao Qi <yao@codesourcery.com>
7577 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7579 * gdb.mi/mi2-var-child.exp: Likewise.
7581 2014-10-13 Doug Evans <dje@google.com>
7583 * gdb.python/py-objfile.exp: Change name of file name test.
7585 2014-10-13 Doug Evans <dje@google.com>
7587 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7588 from the start of the CU.
7590 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7591 Yao Qi <yao@codesourcery.com>
7593 Fix "save breakpoints" for "catch" command.
7594 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7595 Remove -nonewline. Match also the added "main" line.
7597 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7599 Fix "save breakpoints" for "disable $bpnum" command.
7600 * gdb.base/save-bp.c (main): Add label.
7601 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7603 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7605 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7607 2014-10-11 Yao Qi <yao@codesourcery.com>
7609 * gdb.server/server-kill.exp: Execute command
7610 "set remote trace-status-packet on" before "tstatus".
7612 2014-10-11 Yao Qi <yao@codesourcery.com>
7614 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7615 (main): Call getppid.
7616 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7617 and continue to it. Read variable "server_pid".
7619 2014-10-11 Yao Qi <yao@codesourcery.com>
7621 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7623 2014-10-11 Yao Qi <yao@codesourcery.com>
7625 * gdb.threads/thread-find.exp: Don't execute command
7627 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7628 * gdb.threads/linux-dp.exp: Don't check the condition
7629 $threads_created equals to zero.
7631 2014-10-10 Pedro Alves <palves@redhat.com>
7633 * gdb.base/bigcore.exp: Remove references to IRIX.
7634 * gdb.base/funcargs.exp: Likewise.
7635 * gdb.base/interrupt.exp: Likewise.
7636 * gdb.base/mips_pro.exp: Likewise.
7637 * gdb.base/nodebug.exp: Likewise.
7638 * gdb.base/setvar.exp: Likewise.
7639 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7641 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7642 Pedro Alves <palves@redhat.com>
7645 * gdb.base/vdso-warning.c: New file.
7646 * gdb.base/vdso-warning.exp: New file.
7648 2014-10-02 Doug Evans <dje@google.com>
7650 * gdb.base/structs.c (main): Don't run forever.
7652 2014-10-02 Pedro Alves <palves@redhat.com>
7654 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7655 (top level) <stop threads 1, stop threads 2>: Use it.
7657 2014-10-02 Pedro Alves <palves@redhat.com>
7659 * gdb.threads/break-while-running.exp (test): Add new
7660 'update_thread_list' argument. Skip "info threads" if false.
7661 (top level): Add new 'update_thread_list' axis.
7663 2014-10-02 Pedro Alves <palves@redhat.com>
7665 PR breakpoints/17431
7666 * gdb.base/execl-update-breakpoints.c: New file.
7667 * gdb.base/execl-update-breakpoints.exp: New file.
7669 2014-10-01 Pedro Alves <palves@redhat.com>
7671 * gdb.base/breakpoint-in-ro-region.c: New file.
7672 * gdb.base/breakpoint-in-ro-region.exp: New file.
7674 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7676 * gdb.mi/mi-exit-code.exp: New file.
7677 * gdb.mi/mi-exit-code.c: New file.
7679 2014-09-30 Yao Qi <yao@codesourcery.com>
7681 * lib/prelink-support.exp (build_executable_own_libs): Error if
7682 the target isn't native.
7684 2014-09-30 Yao Qi <yao@codesourcery.com>
7686 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7689 2014-09-22 Pedro Alves <palves@redhat.com>
7691 * gdb.threads/break-while-running.exp: New file.
7692 * gdb.threads/break-while-running.c: New file.
7694 2014-09-19 Yao Qi <yao@codesourcery.com>
7696 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7697 Invoke test. Restart GDB with --readnow and invoke test again.
7699 2014-09-19 Yao Qi <yao@codesourcery.com>
7701 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7702 proc set_breakpoint_on_gcd_function. Invoke
7703 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7704 invoke set_breakpoint_on_gcd_function again.
7706 2014-09-18 Doug Evans <dje@google.com>
7708 * gdb.dwarf2/symtab-producer.exp: New file.
7710 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7712 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7713 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7714 * gdb.base/global-var-nested-by-dso.c: Likewise.
7715 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7717 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7718 Pedro Alves <palves@redhat.com>
7720 * gdb.base/watch-bitfields.exp: Pass string other than test file
7721 name to prepare_for_testing.
7722 (watch): New procedure.
7723 (expect_watchpoint): Use with_test_prefix.
7724 (top level): Factor out tests to ...
7725 (test_watch_location, test_regular_watch): ... these new
7726 procedures, and use with_test_prefix and gdb_continue_to_end.
7728 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7730 PR breakpoints/12526
7731 * gdb.base/watch-bitfields.exp: New file.
7732 * gdb.base/watch-bitfields.c: New file.
7734 2014-09-16 Pedro Alves <palves@redhat.com>
7736 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7737 software and hardware addresses, not software address against
7740 2014-09-16 Pedro Alves <palves@redhat.com>
7742 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7743 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7745 2014-09-16 Pedro Alves <palves@redhat.com>
7747 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7749 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7750 "*-*-vxworks*" throughout.
7751 * gdb.base/break.exp: Likewise.
7752 * gdb.base/default.exp: Likewise.
7753 * gdb.base/scope.exp: Likewise.
7754 * gdb.base/sepdebug.exp: Likewise.
7755 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7757 * gdb.base/run.c: Likewise.
7758 * gdb.base/sepdebug.c: Likewise.
7759 * gdb.hp/gdb.aCC/run.c: Likewise.
7760 * gdb.reverse/until-reverse.c: Likewise.
7761 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7763 2014-09-16 Yao Qi <yao@codesourcery.com>
7765 * boards/local-remote-host-native.exp: New file.
7767 2014-09-14 Doug Evans <xdje42@gmail.com>
7769 * gdb.threads/queue-signal.c (thread_count): New variable.
7770 (thread_count_mutex, thread_count_condvar): New variables.
7771 (incr_thread_count, wait_all_threads_running): New functions.
7772 (main): Wait for all threads to be in their thread functions.
7774 2014-09-13 Doug Evans <xdje42@gmail.com>
7776 * gdb.threads/queue-signal.c: New file.
7777 * gdb.threads/queue-signal.exp: New file.
7779 2014-09-13 Doug Evans <xdje42@gmail.com>
7781 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7782 be consistent with what default_gdb_init uses.
7783 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7784 the plain text of the prompt. Add some logging printfs.
7785 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7787 2014-09-12 Pedro Alves <palves@redhat.com>
7789 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7790 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7791 * gdb.arch/i386-size-overlap.exp: Likewise.
7792 * gdb.arch/i386-size.exp: Likewise.
7793 * gdb.arch/i386-unwind.exp: Likewise.
7794 * gdb.base/a2-run.exp: Likewise.
7795 * gdb.base/break.exp: Likewise.
7796 * gdb.base/charset.exp: Likewise.
7797 * gdb.base/chng-syms.exp: Likewise.
7798 * gdb.base/commands.exp: Likewise.
7799 * gdb.base/dbx.exp: Likewise.
7800 * gdb.base/find.exp: Likewise.
7801 * gdb.base/funcargs.exp: Likewise.
7802 * gdb.base/jit-simple.exp: Likewise.
7803 * gdb.base/reread.exp: Likewise.
7804 * gdb.base/sepdebug.exp: Likewise.
7805 * gdb.base/step-bt.exp: Likewise.
7806 * gdb.cp/mb-inline.exp: Likewise.
7807 * gdb.cp/mb-templates.exp: Likewise.
7808 * gdb.objc/basicclass.exp: Likewise.
7809 * gdb.threads/killed.exp: Likewise.
7811 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7814 * gdb.arch/powerpc-stackless.S: New file.
7815 * gdb.arch/powerpc-stackless.exp: New file.
7817 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7819 * gdb.base/attach.c: Include unistd.h.
7820 (main): Call alarm. Add label postloop.
7821 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7822 gdb_breakpoint, gdb_continue_to_breakpoint.
7823 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7825 2014-09-11 Pedro Alves <palves@redhat.com>
7828 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7829 * gdb.base/attach.exp (test_command_line_attach_run): New
7831 (top level): Call it.
7833 2014-09-11 Pedro Alves <palves@redhat.com>
7835 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7836 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7837 (do_command_attach_tests): Use spawn_wait_for_attach.
7838 * gdb.base/solib-overlap.exp: Likewise.
7839 * gdb.multi/multi-attach.exp: Likewise.
7840 * gdb.python/py-prompt.exp: Likewise.
7841 * gdb.python/py-sync-interp.exp: Likewise.
7842 * gdb.server/ext-attach.exp: Likewise.
7844 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7846 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7847 command in testcase. Simplify testcase.
7849 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7851 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7853 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7855 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7857 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7859 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7861 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7863 * gdb.dwarf2/dynarr-ptr.c: New file.
7864 * gdb.dwarf2/dynarr-ptr.exp: New file.
7866 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7868 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7869 of 30 rather than hardcoding 120 for a slow test case. Take the
7870 `gdb,timeout' target setting into account for this calculation.
7871 Don't extend the timeout for the test cases that don't need it.
7873 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7875 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7876 a factor of 2 for a slow test case. Take the `gdb,timeout'
7877 target setting into account for this calculation.
7878 * gdb.reverse/until-precsave.exp: Increase the timeout by
7879 a factor of 15 and 3 respectively rather than adding 120
7880 for a pair of slow test cases. Take the `gdb,timeout'
7881 target setting into account for this calculation.
7883 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7885 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7886 timeout, don't pass one down to gdb_expect.
7887 (gdb_expect): Rework timeout selection.
7889 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7891 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7892 exception on timeout.
7893 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7894 (gdbserver_start_extended): Catch any `gdbserver_start' error
7896 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7897 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7898 `gdbserver_gdb_load' error exceptions.
7900 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7902 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7903 120 on waiting for the TCP socket to open.
7905 2014-09-09 Doug Evans <xdje42@gmail.com>
7907 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7908 _caller_matches, _any_caller_is, _any_caller_matches.
7910 2014-09-09 Doug Evans <xdje42@gmail.com>
7912 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7914 2014-09-09 Yao Qi <yao@codesourcery.com>
7916 * gdb.mi/mi-var-display.exp: Set print symbol off.
7918 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7921 * gdb.base/commands.exp: Add tests to verify user-defined
7922 commands with empty bodies.
7923 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7924 python commands in `show user command`.
7925 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7926 scheme commands in `show user command`.
7928 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7931 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7932 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7933 * gdb.python/py-framefilter-invalidarg.exp: New file.
7934 * gdb.python/py-framefilter-invalidarg.py: New file.
7936 2014-09-06 Doug Evans <xdje42@gmail.com>
7939 * gdb.python/py-caller-is.c: New file.
7940 * gdb.python/py-caller-is.exp: New file.
7942 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7945 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7946 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7948 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7951 * gdb.fortran/print-formatted.exp: New file.
7952 * gdb.fortran/print-formatted.f90: Likewise.
7954 2014-09-03 Sasha Smundak <asmundak@google.com>
7956 * gdb.python/py-frame.exp: Test Frame.read_register.
7958 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7961 * gdb.python/py-completion.exp: New file.
7962 * gdb.python/py-completion.py: Likewise.
7964 2014-08-28 Doug Evans <dje@google.com>
7966 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7967 eax,etc. are live with values set by gdb and thus the compiler can't
7969 * gdb.arch/i386-pseudo.c (main): Ditto.
7971 2014-08-27 Doug Evans <dje@google.com>
7973 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7975 2014-08-25 Doug Evans <dje@google.com>
7977 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7980 2014-08-25 Doug Evans <dje@google.com>
7982 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7984 2014-08-24 Yao Qi <yao@codesourcery.com>
7986 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7988 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7990 2014-08-22 Doug Evans <dje@google.com>
7993 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7994 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7995 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7997 2014-08-22 Yao Qi <yao@codesourcery.com>
7999 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
8000 * gdb.python/py-finish-breakpoint2.exp: Likewise.
8001 * gdb.python/python.exp: Likewise. Use .py file on the host
8002 instead of the build.
8004 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8006 * gdb.threads/gcore-stale-thread.c: New file.
8007 * gdb.threads/gcore-stale-thread.exp: New file.
8009 2014-08-21 Pedro Alves <palves@redhat.com>
8011 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
8012 * gdb.base/gcore-relro-pie.exp: Likewise.
8013 * gdb.base/gcore-relro.exp: Likewise.
8014 * gdb.base/gcore.exp: Likewise.
8015 * gdb.base/print-symbol-loading.exp: Likewise.
8016 * gdb.threads/gcore-thread.exp: Likewise.
8017 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
8019 2014-08-20 Pedro Alves <palves@redhat.com>
8020 Jan Kratochvil <jan.kratochvil@redhat.com>
8022 * Makefile.in (EXTRA_RULES, CC): New variables, get from
8024 (EXPECT): Handle READ1 being set.
8025 (all): Depend on EXTRA_RULES.
8026 (check-read1, expect-read1, read1.so, read1): New rules.
8027 * README (Testsuite Parameters): Document the READ1 make variable.
8028 (Race detection): New section.
8029 * configure: Regenerate.
8030 * configure.ac: If build==host==target, and running under a
8031 GNU/glibc system, add read1 to the extra Makefile rules.
8032 (EXTRA_RULES): AC_SUBST it.
8033 * lib/read1.c: New file.
8035 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8037 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8038 the handling of variables declared as a typedef to an array
8039 which a DW_AT_data_location attribute.
8041 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8042 Pedro Alves <palves@redhat.com>
8046 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8049 2014-08-19 Pedro Alves <palves@redhat.com>
8051 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8053 2014-08-19 Yao Qi <yao@codesourcery.com>
8055 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8058 2014-08-18 David Blaikie <dblaikie@gmail.com>
8060 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8062 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8064 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8065 attribute in array range.
8067 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8069 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8071 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8074 * gdb.cp/pr17132.cc: New file.
8075 * gdb.cp/pr17132.exp: New file.
8077 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8079 * gdb.python/py-xmethods.py (A_getarrayind)
8080 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8081 Use 'print' with function call syntax.
8082 (E_method_matcher.match): Fix tab vs space indentation mixup.
8084 2014-08-15 Yao Qi <yao@codesourcery.com>
8086 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8089 2014-08-15 Yao Qi <yao@codesourcery.com>
8091 * gdb.cp/casts.exp: Set print symbol off.
8092 * gdb.cp/class2.exp: Likewise.
8093 * gdb.cp/overload.exp: Likewise.
8094 * gdb.cp/templates.exp: Likewise.
8096 2014-08-11 Doug Evans <dje@google.com>
8098 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8099 (test_load_shlib): Update.
8101 2014-08-09 Yao Qi <yao@codesourcery.com>
8103 * gdb.base/display.exp: Invoke is_address_zero_readable.
8104 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8105 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8106 * gdb.base/hbreak-unmapped.exp: Return if
8107 is_address_zero_readable returns true.
8108 * gdb.base/signest.exp: Likewise.
8109 * gdb.base/signull.exp: Likewise.
8110 * gdb.base/sigbpt.exp: Likewise.
8111 * gdb.guile/scm-disasm.exp: Do the test if
8112 is_address_zero_readable returns false.
8113 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8114 * gdb.python/py-arch.exp: Likewise.
8115 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8116 * lib/gdb.exp (is_address_zero_readable): New proc.
8118 2014-08-09 Yao Qi <yao@codesourcery.com>
8121 * gdb.mi/mi-var-display.exp: Make test messages unique.
8123 2014-08-04 Tom Tromey <tromey@redhat.com>
8125 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8128 2014-08-04 Tom Tromey <tromey@redhat.com>
8130 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8133 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8135 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8136 inner_vla_struct_object_size.
8137 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8140 2014-07-30 Pedro Alves <palves@redhat.com>
8142 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8145 2014-07-29 Yao Qi <yao@codesourcery.com>
8148 * gdb.base/until-nodebug.exp: New.
8150 2014-07-28 Doug Evans <xdje42@gmail.com>
8153 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8154 previously existing parameter, and previously ambiguously spelled
8157 2014-07-28 Will Newton <will.newton@linaro.org>
8159 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8161 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8162 Doug Evans <xdje42@gmail.com>
8165 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8167 2014-07-25 Pedro Alves <palves@redhat.com>
8169 * gdb.threads/signal-command-handle-nopass.c: New file.
8170 * gdb.threads/signal-command-handle-nopass.exp: New file.
8171 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8172 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8173 * gdb.threads/signal-delivered-right-thread.c: New file.
8174 * gdb.threads/signal-delivered-right-thread.exp: New file.
8176 2014-07-25 Pedro Alves <palves@redhat.com>
8178 * gdb.base/double-prompt-target-event-error.exp
8179 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8181 (cancel_pagination_in_target_event): Rework double prompt
8183 * gdb.base/paginate-after-ctrl-c-running.exp
8184 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8186 * gdb.base/paginate-bg-execution.exp
8187 (test_bg_execution_pagination_return)
8188 (test_bg_execution_pagination_cancel): Remove '-notransfer
8190 * gdb.base/paginate-execution-startup.exp
8191 (test_fg_execution_pagination_return)
8192 (test_fg_execution_pagination_cancel): Remove '-notransfer
8194 * gdb.base/paginate-inferior-exit.exp
8195 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8197 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8198 * lib/gdb.exp (pagination_prompt): Run text through
8200 (gdb_test_multiple): Match $pagination_prompt instead of
8202 (string_to_regexp): Move to lib/gdb-utils.exp.
8204 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8206 * gdb.arch/amd64-entry-value-paramref.S: New file.
8207 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8208 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8209 * gdb.arch/amd64-optimout-repeat.S: New file.
8210 * gdb.arch/amd64-optimout-repeat.c: New file.
8211 * gdb.arch/amd64-optimout-repeat.exp: New file.
8213 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8216 * gdb.base/statistics.exp: New file.
8218 2014-07-17 Doug Evans <dje@google.com>
8221 * gdb.base/maint.exp: Update testing of per-command stats.
8223 2014-07-16 Pedro Alves <palves@redhat.com>
8225 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8226 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8227 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8228 (tfile_write_buf): New functions.
8229 (add_memory_block): Rewrite using the above.
8230 (adjust_function_address): New function.
8231 (FUNCTION_ADDRESS): New macro.
8232 (write_basic_trace_file): Remove short_x local, and use
8233 tfile_write_16. Change type of func_addr local to unsigned long
8234 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8235 here. Cast argument of add_memory_block to char pointer.
8236 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8237 (main): Remove parameters.
8238 * gdb.trace/tfile.exp: Remove nowarnings.
8240 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8242 * gdb.base/debug-expr.exp: Test string evaluation with
8243 "debug expression" on.
8245 2014-07-15 Pedro Alves <palves@redhat.com>
8247 * gdb.base/reread.exp: Use clean_restart.
8249 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8251 * gdb.arch/avr-flash-qualifer.c: New.
8252 * gdb.arch/avr-flash-qualifer.exp: New.
8254 2014-07-14 Pedro Alves <palves@redhat.com>
8256 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8257 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8259 2014-07-14 Pedro Alves <palves@redhat.com>
8261 * gdb.base/double-prompt-target-event-error.c: New file.
8262 * gdb.base/double-prompt-target-event-error.exp: New file.
8264 2014-07-14 Pedro Alves <palves@redhat.com>
8267 * gdb.base/paginate-inferior-exit.c: New file.
8268 * gdb.base/paginate-inferior-exit.exp: New file.
8270 2014-07-14 Pedro Alves <palves@redhat.com>
8273 * gdb.base/paginate-bg-execution.c: New file.
8274 * gdb.base/paginate-bg-execution.exp: New file.
8276 2014-07-14 Pedro Alves <palves@redhat.com>
8279 * gdb.base/paginate-execution-startup.c: New file.
8280 * gdb.base/paginate-execution-startup.exp: New file.
8281 * lib/gdb.exp (pagination_prompt): New global.
8282 (default_gdb_spawn): New procedure, factored out from
8284 (default_gdb_start): Adjust to call default_gdb_spawn.
8285 (gdb_spawn): New procedure.
8287 2014-07-14 Pedro Alves <palves@redhat.com>
8289 * lib/gdb.exp (gdb_assert): New procedure.
8290 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8292 2014-07-14 Pedro Alves <palves@redhat.com>
8294 * gdb.base/execution-termios.c: New file.
8295 * gdb.base/execution-termios.exp: New file.
8297 2014-07-14 Tom Tromey <tromey@redhat.com>
8299 * gdb.cp/vla-cxx.cc: New file.
8300 * gdb.cp/vla-cxx.exp: New file.
8302 2014-07-14 Tom Tromey <tromey@redhat.com>
8304 * gdb.reverse/rerun-prec.c: New file.
8305 * gdb.reverse/rerun-prec.exp: New file.
8307 2014-07-12 Maciej W. Rozycki <macro@mips.com>
8308 Maciej W. Rozycki <macro@codesourcery.com>
8310 * lib/gdb-utils.exp: New file.
8311 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8312 inline `gdb_init_command' processing.
8313 (gdb_start_cmd): Likewise.
8314 * lib/mi-support.exp (mi_run_cmd): Likewise.
8315 * README: Document `gdb_init_command' and `gdb_init_commands'.
8317 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8319 Fix false FAIL running under a very long directory name.
8320 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8321 and "set print elements 10000". Twice.
8323 2014-07-11 Yao Qi <yao@codesourcery.com>
8325 * gdb.base/exprs.exp: "set print symbol off".
8327 2014-07-11 Pedro Alves <palves@redhat.com>
8329 * gdb.threads/kill.c: New file.
8330 * gdb.threads/kill.exp: New file.
8332 2014-07-10 Yao Qi <yao@codesourcery.com>
8334 * gdb.trace/tfile.c (write_basic_trace_file)
8335 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8336 address written to trace file.
8338 2014-07-09 Pedro Alves <palves@redhat.com>
8340 * gdb.base/attach-wait-input.exp: New file.
8341 * gdb.base/attach-wait-input.c: New file.
8343 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8345 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8346 setting up test structures.
8347 (main): Call new test function.
8348 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8349 test function, continue into test function and walk test
8352 2014-07-02 Yao Qi <yao@codesourcery.com>
8354 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8355 'bar_start' at the beginning of functions 'foo' and 'bar'
8357 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8358 instead of 'foo' and 'bar'.
8360 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8362 * gdb.btrace/segv.exp: New.
8363 * gdb.btrace/segv.c: New.
8365 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
8367 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8370 2014-06-30 Mark Wielaard <mjw@redhat.com>
8372 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8373 vulture, vilify, villar): New volatile array constants.
8374 (vindictive, vegetation): New const volatile array constants.
8375 * gdb.base/volatile.exp: Test volatile and const volatile array
8378 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8380 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8381 target lacks support for awatch, rwatch, or hbreak.
8383 2014-06-27 Yao Qi <yao@codesourcery.com>
8385 * gdb.multi/dummy-frame-restore.exp: New.
8386 * gdb.multi/dummy-frame-restore.c: New.
8388 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8390 * gdb.btrace/gcore.exp: New.
8392 2014-06-23 Pedro Alves <palves@redhat.com>
8394 * gdb.base/watchpoint-reuse-slot.c: New file.
8395 * gdb.base/watchpoint-reuse-slot.exp: New file.
8397 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8399 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8400 progspace's filename in 'info', 'enable' and 'disable' command
8403 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8405 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8406 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8407 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8409 2014-06-20 Gary Benson <gbenson@redhat.com>
8411 * gdb.arch/i386-avx.exp: Fix include file location.
8412 * gdb.arch/i386-sse.exp: Likewise.
8414 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8416 * gdb.dlang/expression.exp: New file.
8418 2014-06-19 Pedro Alves <palves@redhat.com>
8420 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8422 (top level): ... here. Iterate running tests under different
8423 scheduler-locking settings.
8425 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
8427 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8428 to DW_FORM_addr and use non-zero addresses.
8430 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8433 * gdb.python/py-xmethods.cc: Add global function call counters and
8434 increment them in their respective functions. Remove "cout"
8436 * gdb.python/py-xmethods.exp: Make tests check the global function
8437 call counters instead of depending on inferior IO.
8439 2014-06-18 Don Breazeal <donb@codesourcery.com>
8441 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8443 (explicit_fork_parent_follow): Deleted procedure.
8444 (explicit_fork_child_follow): Deleted procedure.
8445 (test_follow_fork): New procedure.
8446 (do_fork_tests): Replace calls to deleted procedures with
8447 calls to test_follow_fork and reset GDB for subsequent
8450 2014-06-17 Yao Qi <yao@codesourcery.com>
8452 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8455 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
8457 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8458 Initialize ptr and S explicitly.
8459 (skip_type_update_when_not_use_rtti_test): Likewise.
8461 2014-06-16 Keith Seitz <keiths@redhat.com>
8464 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8465 the inferior is started.
8467 2014-06-16 Pedro Alves <palves@redhat.com>
8469 * gdb.base/break-main-file-remove-fail.c: New file.
8470 * gdb.base/break-main-file-remove-fail.exp: New file.
8471 * gdb.base/break-unload-file.exp: Use build_executable instead of
8472 prepare_for_testing.
8473 (test_break): New parameter "initial_load". Handle it.
8474 (top level): Add initial_load cmdline/file axis.
8476 2014-06-12 Tom Tromey <tromey@redhat.com>
8478 * gdb.base/completion.exp: Don't use directory name in test.
8480 2014-06-09 Gary Benson <gbenson@redhat.com>
8482 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8483 separate the always-available ANSI-standard signals from the
8484 signals that require checking.
8486 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8490 2014-06-07 Keith Seitz <keiths@redhat.com>
8494 * gdb.cp/var-tag.cc: New file.
8495 * gdb.cp/var-tag.exp: New file.
8496 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8497 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8498 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8499 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8501 2014-06-06 Doug Evans <xdje42@gmail.com>
8503 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8505 2014-06-06 Pedro Alves <palves@redhat.com>
8507 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8508 in target debug output instead of looking at RSP packets,
8509 disabling the test on any target that uses hardware stepping.
8512 2014-06-06 Pedro Alves <palves@redhat.com>
8514 * gdb.base/break-unload-file.exp: Fix typo.
8516 2014-06-06 Yao Qi <yao@codesourcery.com>
8518 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8519 from "jit_function" to "^jit_function".
8521 2014-06-06 Yao Qi <yao@codesourcery.com>
8523 * gdb.base/async.c (foo): Add one statement.
8524 * gdb.base/async.exp: Get the next instruction address and
8525 match the output of "nexti" by instruction address. Match
8526 the hex address in the output of "finish".
8528 2014-06-06 Gary Benson <gbenson@redhat.com>
8530 * gdb.base/call-signals.c: Remove preprocessor conditionals
8531 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8532 SIGSEGV and SIGTERM.
8533 * gdb.base/sigall.c: Likewise.
8534 * gdb.base/unwindonsignal.c: Likewise.
8535 * gdb.reverse/sigall-reverse.c: Likewise.
8537 2014-06-06 Yao Qi <yao@codesourcery.com>
8539 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8540 readable, skip the test.
8542 2014-06-06 Yao Qi <yao@codesourcery.com>
8544 * gdb.threads/staticthreads.c (thread_function): Move the line
8545 setting breakpoint on forward.
8546 * gdb.threads/staticthreads.exp: Update comments.
8548 2014-06-05 Ludovic Courtès <ludo@gnu.org>
8550 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8551 "history-append! type error".
8553 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8555 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8556 erroneous dprintf expected input.
8558 2014-06-04 Doug Evans <xdje42@gmail.com>
8560 * gdb.guile/scm-generics.exp: Delete.
8562 2014-06-04 Doug Evans <xdje42@gmail.com>
8564 * gdb.guile/scm-breakpoint.exp: Update.
8565 Add tests for breakpoint registration.
8567 2014-06-04 Tom Tromey <tromey@redhat.com>
8569 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8571 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8572 inner_vla_struct, vla_union types. Initialize objects of those
8573 types and compute their sizes.
8575 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8576 Hui Zhu <hui@codesourcery.com>
8578 * gdb.base/fileio.exp: Add test for shell not available as well as
8580 * gdb.base/fileio.c (test_system): Check for shell twice.
8582 2014-06-04 Yao Qi <yao@codesourcery.com>
8584 * gdb.base/auto-connect-native-target.exp: Remove redundant
8585 space from the regexp pattern.
8587 2014-06-04 Yao Qi <yao@codesourcery.com>
8589 * gdb.base/default.exp: Replace "child" with "native" in
8592 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8594 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8595 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8596 * gdb.python/py-xmethods.py: Python script supporting the
8597 new testcase and tests.
8599 2014-06-03 Joel Brobecker <brobecker@adacore.com>
8600 Pedro Alves <palves@redhat.com>
8602 PR breakpoints/17000
8603 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8604 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8606 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8608 * gdb.base/subst.exp: Add tests to verify partial path matching
8611 2014-06-03 Pedro Alves <palves@redhat.com>
8613 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8614 target that doesn't use software single-stepping.
8616 2014-06-03 Pedro Alves <palves@redhat.com>
8618 PR breakpoints/17000
8619 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8620 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8622 2014-06-02 Doug Evans <xdje42@gmail.com>
8624 * gdb.guile/scm-parameter.exp: New file.
8626 2014-06-02 Doug Evans <xdje42@gmail.com>
8628 * gdb.guile/scm-cmd.c: New file.
8629 * gdb.guile/scm-cmd.exp: New file.
8631 2014-06-02 Doug Evans <xdje42@gmail.com>
8633 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8634 pretty-printer lookup.
8635 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8636 (make-pp_s-printer): Call it.
8637 (make-pretty-printer-from-dict): New function.
8638 (lookup-pretty-printer-maker-from-dict): New function.
8639 (*pretty-printer*): Simplify.
8640 (make-objfile-pp_s-printer): New function.
8641 (install-objfile-pretty-printers!): New function.
8642 (make-progspace-pp_s-printer): New function.
8643 (install-progspace-pretty-printers!): New function.
8644 * gdb.guile/scm-progspace.c: New file.
8645 * gdb.guile/scm-progspace.exp: New file.
8647 2014-06-02 Pedro Alves <palves@redhat.com>
8649 * gdb.base/dprintf-bp-same-addr.c: New file.
8650 * gdb.base/dprintf-bp-same-addr.exp: New file.
8652 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8654 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8655 * gdb.arch/powerpc-power.s: Likewise.
8657 2014-06-02 Joel Brobecker <brobecker@adacore.com>
8659 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8661 2014-06-01 Yao Qi <yao@codesourcery.com>
8663 * gdb.base/watchpoint.exp (test_watch_location): Check null
8664 pointer can be dereferenced. If not, do the test, otherwise
8667 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8669 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8671 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8673 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8675 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8676 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8677 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8678 * gdb.arch/amd64-invalid-stack-top.c: New file.
8679 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8681 2014-05-30 Pedro Alves <palves@redhat.com>
8683 PR breakpoints/17000
8684 * gdb.base/sss-bp-on-user-bp.c: New file.
8685 * gdb.base/sss-bp-on-user-bp.exp: New file.
8687 2014-05-30 David Blaikie <dblaikie@gmail.com>
8689 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8690 gnu_inline semantics via attribute.
8691 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8692 source explicitly specifies the required semantics.
8694 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8696 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8698 2014-05-29 Pedro Alves <palves@redhat.com>
8699 Tom Tromey <tromey@redhat.com>
8701 * gdb.base/async-shell.exp: Don't enable target-async.
8702 * gdb.base/async.exp
8703 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8705 (top level): Don't test with "target-async".
8706 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8707 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8708 * gdb.base/inferior-died.exp: Don't enable target-async.
8709 * gdb.base/interrupt-noterm.exp: Likewise.
8710 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8711 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8712 * gdb.mi/mi-nonstop.exp: Likewise.
8713 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8714 * gdb.mi/mi-nsintrall.exp: Likewise.
8715 * gdb.mi/mi-nsmoribund.exp: Likewise.
8716 * gdb.mi/mi-nsthrexec.exp: Likewise.
8717 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8718 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8719 * gdb.python/py-evsignal.exp: Don't enable target-async.
8720 * gdb.python/py-evthreads.exp: Likewise.
8721 * gdb.python/py-prompt.exp: Likewise.
8722 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8723 * gdb.server/solib-list.exp: Don't enable target-async.
8724 * gdb.threads/thread-specific-bp.exp: Likewise.
8725 * lib/mi-support.exp: Adjust to use mi-async.
8727 2014-05-29 Pedro Alves <palves@redhat.com>
8730 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8731 reason, even in sync mode.
8733 2014-05-29 Pedro Alves <palves@redhat.com>
8734 Hui Zhu <hui@codesourcery.com>
8737 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8738 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8739 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8740 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8742 2014-05-28 Joel Brobecker <brobecker@adacore.com>
8744 * config/monitor.exp (gdb_target_monitor): Replace use of
8745 "set remotebaud" by "set serial baud".
8747 2014-05-26 Andy Wingo <wingo@igalia.com>
8749 * gdb.guile/scm-breakpoint.exp:
8750 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8751 properties instead of gdb-object-properties.
8753 2014-05-26 Yao Qi <yao@codesourcery.com>
8755 * gdb.server/no-thread-db.exp: Specify source file name
8756 explicitly when setting a breakpoint.
8758 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8760 * gdb.btrace/vdso.c: New.
8761 * gdb.btrace/vdso.exp: New.
8763 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8765 * gdb.base/gcore.exp (capture_command_output): Move ...
8766 * lib/gdb.exp (capture_command_output): ... here.
8768 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8770 * gdb.btrace/data.exp: Test memory access during btrace replay.
8772 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8774 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8776 2014-05-21 Pedro Alves <palves@redhat.com>
8779 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8780 (top level): Test that output related to execution commands is
8781 sent to the console with CLI commands, but not with MI commands.
8782 Test that breakpoint events are always mirrored to the console.
8783 Also expect the new source line to be output after a "next" in
8784 async mode too. Make it a pass/fail test.
8785 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8787 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8789 2014-05-21 Pedro Alves <palves@redhat.com>
8791 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8792 Use them to test variations of "list" after reaching a breakpoint.
8793 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8794 Test "list" with listsize 10 after reaching a breakpoint.
8795 * gdb.python/python.exp (decode_line current location line
8796 number): Adjust expected line number.
8798 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8800 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8801 behavior for $args, pass it directly to "run".
8803 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8805 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8808 2014-05-21 Pedro Alves <palves@redhat.com>
8810 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8811 auto-connect-native-target off".
8812 * gdb.base/auto-connect-native-target.c: New file.
8813 * gdb.base/auto-connect-native-target.exp: New file.
8815 2014-05-21 Pedro Alves <palves@redhat.com>
8817 * gdb.base/default.exp: Test "target native" instead of "target
8820 2014-05-21 Mark Wielaard <mjw@redhat.com>
8822 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8824 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8826 Fix TLS access for -static -pthread.
8827 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8828 <HAVE_TLS> (thread_function, main): Initialize it.
8829 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8831 <$have_tls != "">: Check TLSVAR.
8833 2014-05-21 Pedro Alves <palves@redhat.com>
8835 * gdb.base/dcache-line-read-error.c: New.
8836 * gdb.base/dcache-line-read-error.exp: New.
8838 2014-05-20 Pedro Alves <palves@redhat.com>
8840 * gdb.base/compare-sections.c: New file.
8841 * gdb.base/compare-sections.exp: New file.
8843 2014-05-20 Pedro Alves <palves@redhat.com>
8845 * gdb.base/break-idempotent.c: New file.
8846 * gdb.base/break-idempotent.exp: New file.
8848 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8850 * gdb.btrace/nohist.exp: New.
8852 2014-05-20 Yao Qi <yao@codesourcery.com>
8854 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8855 gdb.reverse directory and gdb_reverse_timeout exists in board
8857 * README: Document gdb_reverse_timeout.
8859 2014-05-20 Yao Qi <yao@codesourcery.com>
8861 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8862 'test_file_name'. Treat args as a string instead of a list.
8863 (gdb_init): Rename argument 'args' by 'test_file_name'.
8865 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8867 * gdb.arch/powerpc-power.exp: New file.
8868 * gdb.arch/powerpc-power.s: New file.
8870 2014-05-16 Doug Evans <dje@google.com>
8872 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8873 * gdb.base/completion.exp: Check that all expected files exist
8874 before doing file completion.
8876 2014-05-16 Doug Evans <dje@google.com>
8878 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8880 (do_syscall_tests_without_xml): Update.
8882 2014-05-16 Pedro Alves <palves@redhat.com>
8884 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8885 instead of "unknown output after running".
8887 2014-05-16 Yao Qi <yao@codesourcery.com>
8889 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8890 file1.txt from host at the end.
8891 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8893 2014-05-15 Doug Evans <dje@google.com>
8895 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8896 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8897 loading file. Add test for TU lookup.
8899 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8901 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8902 calling "-exec-arguments" or "set args" before running the
8905 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8907 * lib/mi-support.exp (mi_expect_stop): Expect message for
8908 inferiors that exit with non-zero exit code.
8910 2014-05-14 Yao Qi <yao@codesourcery.com>
8912 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8913 match absolute path on remote host.
8914 (test_file_list_exec_source_files): Remove "/" from the
8917 2014-05-14 Yao Qi <yao@codesourcery.com>
8919 * boards/local-remote-host-notty.exp (${board}_file): New
8922 2014-05-07 Kyle McMartin <kyle@redhat.com>
8924 Pushed by Joel Brobecker <brobecker@adacore.com>.
8925 * gdb.arch/aarch64-atomic-inst.c: New file.
8926 * gdb.arch/aarch64-atomic-inst.exp: New file.
8928 2014-05-07 Yao Qi <yao@codesourcery.com>
8930 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8931 in current context" too.
8933 2014-05-05 Keith Seitz <keiths@redhat.com>
8935 * gdb.linespec/ls-dollar.exp: Add test for linespec
8936 file:convenience_variable.
8938 2014-05-05 Yao Qi <yao@codesourcery.com>
8940 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8941 traceframes into tfile and ctf trace files. Read data from
8942 trace file and test collected data.
8943 (gdb_collect_locals_test): Likewise.
8944 (gdb_unavailable_registers_test): Likewise.
8945 (gdb_unavailable_floats): Likewise.
8946 (gdb_collect_globals_test): Likewise.
8947 (top-level): Append "ctf" to trace_file_targets if GDB
8950 2014-05-05 Yao Qi <yao@codesourcery.com>
8952 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8954 (gdb_collect_args_test_1): ... it. New proc.
8955 (gdb_collect_locals_test): Move some code to ...
8956 (gdb_collect_locals_test_1): ... it. New proc.
8957 (gdb_unavailable_registers_test): Move some code to ...
8958 (gdb_unavailable_registers_test_1): ... it. New proc.
8959 (gdb_unavailable_floats): Move some code to ...
8960 (gdb_unavailable_floats_1): ... it. New proc.
8962 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8964 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8965 probes to test for bitness recognition.
8966 * gdb.arch/amd64-stap-optional-prefix.exp
8967 (test_probe_value_without_reg): New procedure.
8968 Add code to test for different kinds of bitness.
8970 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8972 PR breakpoints/16889
8973 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8974 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8976 2014-05-01 Pedro Alves <palves@redhat.com>
8978 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8979 gdb_file_cmd if no file is specified.
8980 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8981 last_loaded_file to set the remote exec-file.
8983 2014-05-01 Pedro Alves <palves@redhat.com>
8985 * boards/local-remote-host.exp: New file.
8987 2014-05-01 Pedro Alves <palves@redhat.com>
8989 * boards/local-remote-host.exp: Rename to ...
8990 * boards/local-remote-host-notty.exp: ... this.
8992 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8994 * gdb.ada/dyn_arrayidx: New testcase.
8996 2014-04-26 Yao Qi <yao@codesourcery.com>
8998 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8999 and compute the length of function main. Save it in
9001 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
9002 (top-level): Use gdb_compile to compile objects into
9003 executable and restart GDB. Remove invocation to
9004 prepare_for_testing.
9006 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
9007 Pedro Alves <palves@redhat.com>
9010 * gdb.multi/multi-attach.c: New file.
9011 * gdb.multi/multi-attach.exp: New file.
9013 2014-04-25 Pedro Alves <palves@redhat.com>
9015 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
9017 (top level): Test that "set remote conditional-breakpoints-packet
9018 off" works as intended.
9019 * gdb.base/dprintf.exp: Test that "set remote
9020 breakpoint-commands-packet off" works as intended.
9021 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
9023 (top level): Call it.
9024 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
9025 remote fast-tracepoints-packet off" works as intended.
9026 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
9027 * lib/gdb.exp (gdb_is_target_remote): ... here.
9029 2014-04-24 David Blaikie <dblaikie@gmail.com>
9031 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
9032 ensure clang would not discard them.
9033 * gdb.base/gdbvars.c: Ditto.
9034 * gdb.base/memattr.c: Ditto.
9035 * gdb.base/whatis.c: Ditto.
9036 * gdb.python/py-prettyprint.c: Ditto.
9037 * gdb.trace/actions.c: Ditto.
9038 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9039 ensure clang would not discard it.
9041 2014-04-24 David Blaikie <dblaikie@gmail.com>
9043 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9044 clang to emit the full definition of type required by the test
9045 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9047 2014-04-24 David Blaikie <dblaikie@gmail.com>
9049 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9050 coax Clang into emitting the definition of the type.
9051 * gdb.cp/pr10728-x.h (y): Ditto.
9052 * gdb.cp/pr10728-y.cc (y): Ditto.
9054 2014-04-24 David Blaikie <dblaikie@gmail.com>
9056 * gdb.base/label.exp: XFAIL label related tests under Clang.
9057 * gdb.cp/cplabel.exp: Ditto.
9058 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9059 under Clang those using labels.
9061 2014-04-25 Yao Qi <yao@codesourcery.com>
9063 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9065 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9066 partial_label and double_label.
9068 2014-04-24 David Blaikie <dblaikie@gmail.com>
9070 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9072 2014-04-24 David Blaikie <dblaikie@gmail.com>
9074 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9075 of the function to work across GCC and Clang.
9076 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9077 pointer types (const void ** const V void **).
9079 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9080 Walfred Tedeschi <walfred.tedeschi@intel.com>
9082 * Makefile.in (EXECUTABLES): Added i386-avx512.
9083 * gdb.arch/i386-avx512.c: New file.
9084 * gdb.arch/i386-avx512.exp: Likewise.
9086 2014-04-23 Keith Seitz <keiths@redhat.com>
9088 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9089 (mi_make_breakpoint_table): New procedure.
9090 (mi_create_breakpoint): Use mi_make_breakpoint
9091 and return the result.
9092 (mi_make_breakpoint): New procedure.
9093 (mi_build_kv_pairs): New procedure.
9095 * gdb.mi/mi-break.exp: Remove unused globals,
9096 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9097 All callers updated.
9098 * gdb.mi/mi-dprintf.exp: Use variable to track command
9100 Update all callers of mi_create_breakpoint and use
9101 mi_make_breakpoint_table.
9102 Remove any unused global variables.
9103 * gdb.mi/mi-nonstop.exp: Likewise.
9104 * gdb.mi/mi-nsintrall.exp: Likewise.
9105 * gdb.mi/mi-nsmoribund.exp: Likewise.
9106 * gdb.mi/mi-nsthrexec.exp: Likewise.
9107 * gdb.mi/mi-reverse.exp: Likewise.
9108 * gdb.mi/mi-simplerun.exp: Likewise.
9109 * gdb.mi/mi-stepn.exp: Likewise.
9110 * gdb.mi/mi-syn-frame.exp: Likewise.
9111 * gdb.mi/mi-until.exp: Likewise.
9112 * gdb.mi/mi-var-cp.exp: Likewise.
9113 * gdb.mi/mi-var-display.exp: Likewise.
9114 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9115 * gdb.mi/mi2-var-child.exp: Likewise.
9116 * gdb.mi/mi-vla-c99.exp: Likewise.
9117 * lib/mi-support.exp: Likewise.
9119 From Ian Lance Taylor <iant@cygnus.com>:
9120 * lib/gdb.exp (parse_args): New procedure.
9122 2014-04-23 Pedro Alves <palves@redhat.com>
9124 * gdb.base/break-unload-file.c: New file.
9125 * gdb.base/break-unload-file.exp: New file.
9126 * gdb.base/sym-file-lib.c (baz): New function.
9127 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9129 (load): Store the segment's mapped size.
9130 (unload): New function.
9131 (unload_shlib): New function.
9132 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9133 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9134 set a breakpoint at baz, and call it.
9135 * gdb.base/sym-file.exp: New tests for stale breakpoint
9138 2014-04-23 Pedro Alves <palves@redhat.com>
9140 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9141 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9142 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9143 * gdb.base/hbreak-unmapped.c: New file.
9144 * gdb.base/hbreak-unmapped.exp: New file.
9145 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9146 * lib/gdb.exp (gdb_is_target_remote): ... here.
9148 2014-04-22 Pedro Alves <palves@redhat.com>
9150 * gdb.base/consecutive-step-over.c: New file.
9151 * gdb.base/consecutive-step-over.exp: New file.
9153 2014-04-22 Pedro Alves <palves@redhat.com>
9155 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9156 instead of send_gdb/gdb_expect.
9158 2014-04-22 Yao Qi <yao@codesourcery.com>
9160 * lib/trace-support.exp (generate_tracefile): New procedure.
9161 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9163 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9164 if generate_tracefile returns 1.
9166 2014-04-18 Tom Tromey <palves@redhat.com>
9167 Pedro alves <tromey@redhat.com>
9170 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9171 with a backtrace limit.
9172 * gdb.python/py-frame-inline.exp: Test running to an inline
9173 function with a backtrace limit, and printing the newest frame.
9174 * gdb.python/py-frame-inline.c (main): Call f.
9176 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9178 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9180 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9182 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9183 Drop prefix from unsupported source file path.
9185 2014-04-17 Yao Qi <yao@codesourcery.com>
9187 * lib/gdb.exp (with_target_charset): New proc.
9188 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9189 with_target_charset.
9190 (test_print_strings): Likewise.
9191 (test_repeat_bytes): Likewise.
9192 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9195 2014-04-16 Keith Seitz <keiths@redhat.com>
9198 * gdb.dwarf2/corrupt.c: New file.
9199 * gdb.dwarf2/corrupt.exp: New file.
9201 2014-04-16 Keith Seitz <keiths@redhat.com>
9204 * gdb.cp/namelessclass.cc: New file.
9205 * gdb.cp/namelessclass.exp: New file.
9206 * gdb.cp/namelessclass.S: New file.
9208 2014-04-16 Doug Evans <dje@google.com>
9210 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9212 (gdbserver_default_get_comm_port): New function.
9213 (gdbserver_start): Check if board file provided
9214 "gdbserver,get_comm_port" and use it if so.
9215 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9216 (gdb,socketport): Set to "stdio".
9217 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9218 (stdio_gdbserver_template): Delete.
9219 (${board}_get_remote_address): Update.
9220 (${board}_build_remote_cmd): Delete.
9221 (${board}_get_comm_port): New function.
9222 (${board}_spawn): Update.
9223 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9225 (${board}_get_remote_address): Update.
9226 (${board}_get_comm_port): New function.
9228 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
9230 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9231 appearing in any order.
9233 2014-04-15 Doug Evans <dje@google.com>
9235 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9236 uninitialized value of "description".
9238 2014-04-15 Keith Seitz <keiths@redhat.com>
9240 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9241 Remove unused globals.
9242 (test_running_the_program): Likewise.
9243 (test_controlled_execution): Likewise.
9244 (test_controlling_breakpoints): Likewise.
9245 (test_program_termination): Likewise.
9247 2014-04-15 Keith Seitz <keiths@redhat.com>
9249 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9251 (test_rbreak_creation_and_listing): Likewise.
9252 (test_ignore_count): Likewise.
9253 (test_error): Likewise.
9255 2014-04-15 Pedro Alves <palves@redhat.com>
9257 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9258 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9260 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9261 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9262 to sym-file-loader.c.
9263 (struct library): Forward declare.
9264 (load_shlib, lookup_function): Change prototypes.
9265 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9266 (translate_offset): Remove declarations.
9267 (get_text_addr): New declaration.
9268 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9269 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9271 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9272 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9273 here from sym-file-loader.h.
9274 (struct library): New structure.
9275 (load_shlib, lookup_function): Change prototypes and adjust to
9276 work with a struct library.
9277 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9278 (translate_offset): Make static.
9279 (get_text_addr): New function.
9280 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9282 2014-04-15 Pedro Alves <palves@redhat.com>
9284 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9286 2014-04-15 Pedro Alves <palves@redhat.com>
9288 * gdb.base/sym-file-loader.c: Include <limits.h>.
9289 (SELF_LINK): New define.
9290 (get_origin): New function.
9291 (load_shlib): Use it.
9292 * gdb.base/sym-file.exp: Don't early return if the target is
9293 remote. Use runto_main, and issue fail is that fails. Use
9295 (shlib_name): Delete.
9296 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9298 2014-04-15 Pedro Alves <palves@redhat.com>
9300 * gdb.base/sym-file.exp: Remove regex characters from test
9301 message. Don't refer to breakpoint numbers in test messages.
9303 2014-04-14 Keith Seitz <keiths@redhat.com>
9306 * gdb.cp/var-tag.cc: New file.
9307 * gdb.cp/var-tag.exp: New file.
9308 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9309 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9310 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9311 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9313 2014-04-14 Tom Tromey <tromey@redhat.com>
9315 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9316 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9318 * gdb.cp/enum-class.exp: New file.
9319 * gdb.cp/enum-class.cc: New file.
9321 2014-04-14 Tom Tromey <tromey@redhat.com>
9323 * gdb.dwarf2/enum-type.exp: New file.
9325 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9327 * gdb.mi/mi-vla-c99.exp: New file.
9328 * gdb.mi/vla.c: New file.
9330 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9332 * gdb.base/vla-datatypes.c: New file.
9333 * gdb.base/vla-datatypes.exp: New file.
9335 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9337 * gdb.base/vla-ptr.c: New file.
9338 * gdb.base/vla-ptr.exp: New file.
9340 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9342 * gdb.dwarf2/count.exp: New file.
9344 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9346 * gdb.base/vla-sideeffect.c: New file.
9347 * gdb.base/vla-sideeffect.exp: New file.
9349 2014-04-14 David Blaikie <dblaikie@gmail.com>
9351 * gdb.mi/non-stop.c: Add return value for non-void function return
9353 * gdb.threads/staticthreads.c: Ditto.
9355 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9356 Doug Evans <xdje42@gmail.com>
9358 * gdb.guile/scm-value.c: Improve test case.
9359 * gdb.guile/scm-value.exp: Add new test.
9361 2014-04-11 David Blaikie <dblaikie@gmail.com>
9363 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9364 override Clang's default.
9366 2014-04-11 Joel Brobecker <brobecker@adacore.com>
9368 Revert the following changes (regressions):
9370 * gdb.base/vla-sideeffect.c: New file.
9371 * gdb.base/vla-sideeffect.exp: New file.
9373 * gdb.dwarf2/count.exp: New file.
9375 * gdb.base/vla-multi.c: New file.
9376 * gdb.base/vla-multi.exp: New file.
9378 * gdb.base/vla-ptr.c: New file.
9379 * gdb.base/vla-ptr.exp: New file.
9381 * gdb.base/vla-datatypes.c: New file.
9382 * gdb.base/vla-datatypes.exp: New file.
9384 * gdb.mi/mi-vla-c99.exp: New file.
9385 * gdb.mi/vla.c: New file.
9387 2014-04-11 Keith Seitz <keiths@redhat.com>
9390 * gdb.cp/cpsizeof.exp: New file.
9391 * gdb.cp/cpsizeof.cc: New file.
9393 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9395 * gdb.mi/mi-vla-c99.exp: New file.
9396 * gdb.mi/vla.c: New file.
9398 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9400 * gdb.base/vla-datatypes.c: New file.
9401 * gdb.base/vla-datatypes.exp: New file.
9403 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9405 * gdb.base/vla-ptr.c: New file.
9406 * gdb.base/vla-ptr.exp: New file.
9408 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9410 * gdb.base/vla-multi.c: New file.
9411 * gdb.base/vla-multi.exp: New file.
9413 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9415 * gdb.dwarf2/count.exp: New file.
9417 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9419 * gdb.base/vla-sideeffect.c: New file.
9420 * gdb.base/vla-sideeffect.exp: New file.
9422 2014-04-11 Yao Qi <yao@codesourcery.com>
9424 * gdb.base/completion.exp: Check file exists before running tests
9427 2014-04-10 Pedro Alves <palves@redhat.com>
9429 * gdb.base/cond-eval-mode.c: New file.
9430 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9431 prepare_for_testing to build the new file. Check result of
9433 (test_break, test_watch): New procedures.
9434 (top level): Use them.
9436 2014-04-08 Pierre Muller <muller@sourceware.org>
9438 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9439 Ctrl-V use for mingw hosts.
9441 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9443 * gdb.python/py-value.c: Improve test case.
9444 * gdb.python/py-value.exp: Add new test.
9446 2014-04-07 David Blaikie <dblaikie@gmail.com>
9448 * lib/compiler.c: Identify the clang compiler.
9449 * lib/compiler.cc: Ditto.
9451 2014-04-03 Yao Qi <yao@codesourcery.com>
9453 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9455 2014-04-01 Anton Blanchard <anton@samba.org>
9457 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9460 2014-04-01 Anton Blanchard <anton@samba.org>
9462 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9463 prepare_for_testing.
9465 2014-04-01 Anton Blanchard <anton@samba.org>
9467 * gdb.arch/ppc64-atomic-inst.c: Remove.
9468 * gdb.arch/ppc64-atomic-inst.S: New file.
9469 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9471 2014-03-31 Doug Evans <dje@google.com>
9473 * gdb.base/print-symbol-loading-lib.c: New file.
9474 * gdb.base/print-symbol-loading-main.c: New file.
9475 * gdb.base/print-symbol-loading.exp: New file.
9477 2014-03-31 Yao Qi <yao@codesourcery.com>
9479 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9481 2014-03-28 Joel Brobecker <brobecker@adacore.com>
9483 * gdb.ada/mi_dyn_arr: New testcase.
9485 2014-03-27 Doug Evans <dje@google.com>
9487 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9489 2014-03-27 Yao Qi <yao@codesourcery.com>
9491 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9492 if target is nios2-*-*.
9494 2014-03-26 Yao Qi <yao@codesourcery.com>
9496 * lib/gdb.exp (readline_is_used): New proc.
9497 * gdb.base/completion.exp: Move tests on command complete up.
9498 Skip the rest of tests if readline is not used.
9499 * gdb.ada/complete.exp: Skp the test if readline is not
9501 * gdb.base/filesym.exp: Likewise.
9502 * gdb.base/macscp.exp: Likewise.
9503 * gdb.base/readline-ask.exp: Likewise.
9504 * gdb.base/readline.exp: Likewise.
9505 * gdb.python/py-cmd.exp: Likewise.
9506 * gdb.trace/tfile.exp: Likewise.
9508 2014-03-26 Yao Qi <yao@codesourcery.com>
9510 * gdb.base/macscp.exp: Fix code format issues.
9512 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9514 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9515 * gdb.asm/powerpc64le.inc: New file.
9517 2014-03-25 Pedro Alves <palves@redhat.com>
9518 Doug Evans <dje@google.com>
9520 * gdb.base/source-execution.c: New file.
9521 * gdb.base/source-execution.exp: New file.
9522 * gdb.base/source-execution.gdb: New file.
9524 2014-03-24 Doug Evans <dje@google.com>
9526 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9529 2014-03-24 Hui Zhu <hui@codesourcery.com>
9530 Pedro Alves <palves@redhat.com>
9532 PR breakpoints/16101
9533 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9534 test pass/fail messages. Detect missing support for dprintf when
9535 breakpoints are actually inserted.
9536 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9537 breakpoints are actually inserted.
9538 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9541 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9543 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9545 2014-03-22 Doug Evans <xdje42@gmail.com>
9547 * gdb.python/python.exp (python not supported): Verify multi-line
9548 python command issues an error.
9549 * gdb.guile/guile.exp (guile not supported): Verify multi-line
9550 guile command issues an error.
9552 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9554 * gdb.threads/thread-specific.exp: Handle the lack of usable
9555 $this_breakpoint and $this_thread.
9557 2014-03-21 Hui Zhu <hui@codesourcery.com>
9559 * gdb.base/attach.exp (do_command_attach_tests): New.
9561 2014-03-20 Tom Tromey <tromey@redhat.com>
9562 Pedro Alves <palves@redhat.com>
9565 * gdb.base/condbreak-call-false.c: New file.
9566 * gdb.base/condbreak-call-false.exp: New file.
9568 2014-03-20 Pedro Alves <palves@redhat.com>
9570 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9572 (block_signals, unblock_signals): Delete.
9573 (child_function_2, main): Remove references to deleted variable
9576 2014-03-20 Pedro Alves <palves@redhat.com>
9578 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9579 Use pthread_kill to signal thread 2.
9580 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9581 Adjust to make the test send itself a signal rather than using the
9582 host's "kill" command.
9584 2014-03-20 Pedro Alves <palves@redhat.com>
9586 * gdb.threads/multiple-step-overs.c: New file.
9587 * gdb.threads/multiple-step-overs.exp: New file.
9588 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9589 Adjust expected infrun debug output.
9591 2014-03-20 Pedro Alves <palves@redhat.com>
9593 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9594 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9596 2014-03-20 Pedro Alves <palves@redhat.com>
9599 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9600 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9601 of gdb_test_multiple.
9602 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9603 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9605 2014-03-20 Pedro Alves <palves@redhat.com>
9607 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9608 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9610 2014-03-19 Pedro Alves <palves@redhat.com>
9612 * gdb.base/async.exp: Remove early return.
9614 2014-03-19 Pedro Alves <palves@redhat.com>
9616 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9618 2014-03-19 Pedro Alves <palves@redhat.com>
9620 * gdb.base/async.exp (test_background): Expect \r\n after
9621 "completed." in the fail pattern.
9623 2014-03-19 Pedro Alves <palves@redhat.com>
9625 * gdb.base/async.exp (test_background): New procedure.
9626 Use it for all background execution command tests.
9628 2014-03-19 Pedro Alves <palves@redhat.com>
9630 * gdb.base/async.exp: Use prepare_for_testing.
9632 2014-03-19 Pedro Alves <palves@redhat.com>
9634 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9637 2014-03-19 Pedro Alves <palves@redhat.com>
9639 * gdb.base/async.c (main): Add "jump here" and "until here" line
9641 * gdb.base/async.exp (jump_here): New global.
9642 (jump& test): Use it.
9643 (until_here): New global.
9644 (until& test): Use it.
9646 2014-03-19 Pedro Alves <palves@redhat.com>
9648 * gdb.base/async.exp: Don't frob gdb_protocol.
9650 2014-03-18 Doug Evans <xdje42@gmail.com>
9652 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9653 Fix spelling of exec-done-display.
9655 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9658 * gdb.base/gdb-sigterm.c: New file.
9659 * gdb.base/gdb-sigterm.exp: New file.
9661 2014-03-18 Pedro Alves <palves@redhat.com>
9664 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9665 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9668 2014-03-17 Joel Brobecker <brobecker@adacore.com>
9670 * gdb.ada/pckd_arr_ren: New testcase.
9672 2014-03-13 Doug Evans <xdje42@gmail.com>
9675 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9676 collect after discarding symbols.
9678 2014-03-13 Ludovic Courtès <ludo@gnu.org>
9679 Doug Evans <xdje42@gmail.com>
9681 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9682 to history survives a gc.
9684 2014-03-13 Pedro Alves <palves@redhat.com>
9686 * gdb.base/default.exp: Don't test "target procfs".
9688 2014-03-13 Pedro Alves <palves@redhat.com>
9690 * gdb.base/default.exp: Update "target child" and "target procfs"
9691 tests to not expect "Unix".
9693 2014-03-12 Tom Tromey <tromey@redhat.com>
9695 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9696 New procs. Add target-async tests.
9697 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9698 Add target-async tests.
9700 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9702 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9703 'func_start' and 'func_end' for the beginning and end of the
9704 function code, respectively.
9705 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9706 'func_end' instead of 'func' and 'main'.
9708 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9710 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9711 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9712 generate the debug info assembler source.
9714 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9716 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9717 * gdb.dwarf2/arr-subrange.exp: Likewise.
9718 * gdb.dwarf2/dwz.exp: Likewise.
9719 * gdb.dwarf2/method-ptr.exp: Likewise.
9720 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9721 * gdb.dwarf2/subrange.exp: Likewise.
9722 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9723 * gdb.dwarf2/implptrpiece.exp: Likewise.
9724 * gdb.dwarf2/nostaticblock.exp: Likewise.
9726 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9728 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9729 directory to absolute path name arguments.
9731 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9733 * gdb.ada/tagged_access: New testcase.
9735 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9737 * gdb.btrace/data.exp: Update expected output.
9739 2014-03-06 Yao Qi <yao@codesourcery.com>
9741 * gdb.trace/pr16508.exp: New file.
9743 2014-03-05 Pedro Alves <palves@redhat.com>
9746 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9748 (top level): Adjust to use it. Add tests that exercise breakpoint
9749 interaction with the code-cache.
9751 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9753 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9754 test for 'history-append!'.
9756 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9758 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9759 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9760 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9761 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9762 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9763 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9765 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9767 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9768 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9769 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9771 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9773 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9775 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9777 * gdb.dwarf2/arr-stride.c: New file.
9778 * gdb.dwarf2/arr-stride.exp: New file.
9780 2014-02-26 Pedro Alves <palves@redhat.com>
9782 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9783 that won't ever trigger. Make sure that GDB reports the correct
9784 breakpoint that caused the stop.
9786 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9789 * gdb.base/auto-load-script: New file.
9790 * gdb.base/auto-load.c: New file.
9791 * gdb.base/auto-load.exp: New file.
9794 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9796 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9798 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9799 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9801 2014-02-24 Doug Evans <dje@google.com>
9803 * lib/gdb.exp (run_on_host): Log error output if program fails.
9805 2014-02-21 Pedro Alves <palves@redhat.com>
9807 * gdb.threads/step-after-sr-lock.c: Rename to ...
9808 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9809 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9810 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9813 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9816 * gdb.arch/amd64-stap-special-operands.exp: New file.
9817 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9818 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9819 * gdb.arch/amd64-stap-triplet.S: Likewise.
9820 * gdb.arch/amd64-stap-triplet.c: Likewise.
9822 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9824 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9825 in .section pseudo-op.
9827 2014-02-20 lin zuojian <manjian2006@gmail.com>
9828 Joel Brobecker <brobecker@adacore.com>
9829 Doug Evans <xdje42@gmail.com>
9832 * gdb.dwarf2/dw2-icycle.S: New file.
9833 * gdb.dwarf2/dw2-icycle.c: New file.
9834 * gdb.dwarf2/dw2-icycle.exp: New file.
9836 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9838 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9839 operations on gdb.Value objects.
9840 * gdb.python/py-value-cc.exp: Add new test to test operations on
9843 2014-02-18 Doug Evans <dje@google.com>
9845 * Makefile.in (TESTS): New variable.
9846 (expanded_tests, expanded_tests_or_none): New variables
9847 (check-single): Pass $(expanded_tests_or_none) to runtest.
9848 (check-parallel): Only run tests in $(TESTS) if non-empty.
9849 (check/no-matching-tests-found): New rule.
9850 * README: Document TESTS makefile variable.
9852 2014-02-18 Doug Evans <dje@google.com>
9854 * Makefile.in (check-parallel): rm -rf outputs temp.
9856 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9858 Fix "ERROR: no fileid for" in the testsuite.
9859 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9861 2014-02-12 Doug Evans <dje@google.com>
9863 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9864 (MISCELLANEOUS): New variable.
9865 (clean): rm -rf $(MISCELLANEOUS).
9866 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9867 dwp live in the same directory as symlinks, with each symlink pointed
9868 to a differently named file in a different directory.
9870 2014-02-11 Doug Evans <dje@google.com>
9872 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9873 of Tcl file commands.
9875 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9877 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9880 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9882 * gdb.ada/tick_length_array_enum_idx: New testcase.
9884 2014-02-10 Doug Evans <xdje42@gmail.com>
9886 * configure.ac (AC_OUTPUT): Add gdb.guile.
9887 * configure: Regenerate.
9888 * lib/gdb-guile.exp: New file.
9889 * lib/gdb.exp (get_target_charset): New function.
9890 * gdb.base/help.exp: Update expected output from "apropos apropos".
9891 * gdb.guile/Makefile.in: New file.
9892 * gdb.guile/guile.exp: New file.
9893 * gdb.guile/scm-arch.c: New file.
9894 * gdb.guile/scm-arch.exp: New file.
9895 * gdb.guile/scm-block.c: New file.
9896 * gdb.guile/scm-block.exp: New file.
9897 * gdb.guile/scm-breakpoint.c: New file.
9898 * gdb.guile/scm-breakpoint.exp: New file.
9899 * gdb.guile/scm-disasm.c: New file.
9900 * gdb.guile/scm-disasm.exp: New file.
9901 * gdb.guile/scm-equal.c: New file.
9902 * gdb.guile/scm-equal.exp: New file.
9903 * gdb.guile/scm-error.exp: New file.
9904 * gdb.guile/scm-error.scm: New file.
9905 * gdb.guile/scm-frame-args.c: New file.
9906 * gdb.guile/scm-frame-args.exp: New file.
9907 * gdb.guile/scm-frame-args.scm: New file.
9908 * gdb.guile/scm-frame-inline.c: New file.
9909 * gdb.guile/scm-frame-inline.exp: New file.
9910 * gdb.guile/scm-frame.c: New file.
9911 * gdb.guile/scm-frame.exp: New file.
9912 * gdb.guile/scm-generics.exp: New file.
9913 * gdb.guile/scm-gsmob.exp: New file.
9914 * gdb.guile/scm-iterator.c: New file.
9915 * gdb.guile/scm-iterator.exp: New file.
9916 * gdb.guile/scm-math.c: New file.
9917 * gdb.guile/scm-math.exp: New file.
9918 * gdb.guile/scm-objfile-script-gdb.in: New file.
9919 * gdb.guile/scm-objfile-script.c: New file.
9920 * gdb.guile/scm-objfile-script.exp: New file.
9921 * gdb.guile/scm-objfile.c: New file.
9922 * gdb.guile/scm-objfile.exp: New file.
9923 * gdb.guile/scm-ports.exp: New file.
9924 * gdb.guile/scm-pretty-print.c: New file.
9925 * gdb.guile/scm-pretty-print.exp: New file.
9926 * gdb.guile/scm-pretty-print.scm: New file.
9927 * gdb.guile/scm-section-script.c: New file.
9928 * gdb.guile/scm-section-script.exp: New file.
9929 * gdb.guile/scm-section-script.scm: New file.
9930 * gdb.guile/scm-symbol.c: New file.
9931 * gdb.guile/scm-symbol.exp: New file.
9932 * gdb.guile/scm-symtab-2.c: New file.
9933 * gdb.guile/scm-symtab.c: New file.
9934 * gdb.guile/scm-symtab.exp: New file.
9935 * gdb.guile/scm-type.c: New file.
9936 * gdb.guile/scm-type.exp: New file.
9937 * gdb.guile/scm-value-cc.cc: New file.
9938 * gdb.guile/scm-value-cc.exp: New file.
9939 * gdb.guile/scm-value.c: New file.
9940 * gdb.guile/scm-value.exp: New file.
9941 * gdb.guile/source2.scm: New file.
9942 * gdb.guile/types-module.cc: New file.
9943 * gdb.guile/types-module.exp: New file.
9945 2014-02-10 Yao Qi <yao@codesourcery.com>
9948 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9949 * configure: Regenerated.
9950 * Makefile.in: New file.
9952 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9954 * gdb.python/py-framefilter.exp: Fix typo.
9956 2014-02-08 Yao Qi <yao@codesourcery.com>
9958 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9959 that no =breakpoint-modified is emitted when breakpoints are
9960 modified through MI commands.
9962 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9963 Pedro Alves <palves@redhat.com>
9965 * gdb.threads/step-after-sr-lock.c: New file.
9966 * gdb.threads/step-after-sr-lock.exp: New file.
9968 2014-02-07 Pedro Alves <palves@redhat.com>
9970 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9972 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9974 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9975 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9977 2014-02-06 Doug Evans <xdje42@gmail.com>
9979 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9982 * gdb.gdb/python-interrupts.exp: New file.
9984 2014-02-05 Yao Qi <yao@codesourcery.com>
9986 * gdb.trace/report.exp (use_collected_data): Test the output
9987 of "info threads" and "info inferiors".
9989 2014-02-05 Yao Qi <yao@codesourcery.com>
9993 2013-05-24 Yao Qi <yao@codesourcery.com>
9995 * gdb.trace/tfile.exp: Test inferior and thread.
9997 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9999 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
10001 * gdb.base/step-bt.c: Call hello via function pointer to make
10002 sure its first instruction is executed on powerpc64le-linux.
10004 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10006 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
10008 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10010 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
10011 of the test patterns for use on little-endian systems.
10013 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10015 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
10016 (decimal_vector): Fix for little-endian.
10018 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10020 * gdb.arch/sparc-sysstep.exp: New file.
10021 * gdb.arch/sparc-sysstep.c: Likewise.
10023 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
10025 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10027 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
10029 2014-01-23 Tom Tromey <tromey@redhat.com>
10031 * gdb.ada/array_char_idx: New testcase.
10033 2014-01-23 Tom Tromey <tromey@redhat.com>
10036 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10037 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10040 2014-01-23 Tom Tromey <tromey@redhat.com>
10043 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10044 string from an inferior frame.
10045 * gdb.python/py-framefilter-mi.exp: Update.
10047 2014-01-22 Doug Evans <dje@google.com>
10049 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10051 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10053 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10055 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10057 * gdb.trace/entry-values.exp: Remove excess space character from
10058 regex patterns. Handle s390 call instruction.
10060 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10062 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10063 define "*_start" label. Make "name" static.
10064 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10065 ${name} by references to ${name}_start.
10067 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10069 * gdb.base/info-macros.exp: Remove "debug" from the compile
10072 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10074 * gdb.dlang/demangle.exp: New file.
10076 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10078 * gdb.dlang/primitive-types.exp: New file.
10080 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10082 * configure.ac: Create gdb.dlang/Makefile.
10083 * configure: Regenerate.
10084 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10085 * gdb.dlang/Makefile.in: New file.
10086 * lib/d-support.exp: New file.
10087 * lib/gdb.exp (skip_d_tests): New proc.
10089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10091 * gdb.btrace/delta.exp: Check reverse stepi.
10092 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10093 * gdb.btrace/finish.exp: New.
10094 * gdb.btrace/next.exp: New.
10095 * gdb.btrace/nexti.exp: New.
10096 * gdb.btrace/record_goto.c: Add comments.
10097 * gdb.btrace/step.exp: New.
10098 * gdb.btrace/stepi.exp: New.
10099 * gdb.btrace/multi-thread-step.c: New.
10100 * gdb.btrace/multi-thread-step.exp: New.
10101 * gdb.btrace/rn-dl-bind.c: New.
10102 * gdb.btrace/rn-dl-bind.exp: New.
10103 * gdb.btrace/data.c: New.
10104 * gdb.btrace/data.exp: New.
10105 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10109 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10110 * gdb.btrace/exception.exp: Update.
10111 * gdb.btrace/instruction_history.exp: Update.
10112 * gdb.btrace/record_goto.exp: Update.
10113 * gdb.btrace/tailcall.exp: Update.
10114 * gdb.btrace/unknown_functions.exp: Update.
10115 * gdb.btrace/delta.exp: New.
10117 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10119 * gdb.btrace/record_goto.exp: Add backtrace test.
10120 * gdb.btrace/tailcall.exp: Add backtrace test.
10122 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10124 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10125 * gdb.btrace/record_goto.c: New.
10126 * gdb.btrace/record_goto.exp: New.
10127 * gdb.btrace/x86-record_goto.S: New.
10129 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10131 * gdb.btrace/function_call_history.exp: Update tests.
10132 * gdb.btrace/instruction_history.exp: Update tests.
10134 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10136 * gdb.btrace/function_call_history.exp: Fix expected field
10137 order for "record function-call-history".
10138 Add new tests for "record function-call-history /c".
10139 * gdb.btrace/exception.cc: New.
10140 * gdb.btrace/exception.exp: New.
10141 * gdb.btrace/tailcall.exp: New.
10142 * gdb.btrace/x86-tailcall.S: New.
10143 * gdb.btrace/x86-tailcall.c: New.
10144 * gdb.btrace/unknown_functions.c: New.
10145 * gdb.btrace/unknown_functions.exp: New.
10146 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10150 * gdb.btrace/instruction_history.exp: Update.
10151 * gdb.btrace/function_call_history.exp: Update.
10153 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10155 * gdb.btrace/function_call_history.exp: Fix expected function
10157 * gdb.btrace/instruction_history.exp: Initialize traced.
10158 Remove traced_functions.
10160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10162 * gdb.btrace/function_call_history.exp: Update
10163 * gdb.btrace/instruction_history.exp: Update.
10165 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10167 * gdb.btrace/enable.exp: Update expected text.
10169 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10171 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10174 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10176 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10178 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10180 * lib/gdb.exp (supports_process_record): Return true for
10181 arm*-linux*. (supports_reverse): Likewise.
10183 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10187 * gdb.python/py-type.c: Enhance test case.
10188 * gdb.python/py-value-cc.cc: Likewise
10189 * gdb.python/py-type.exp: Add new tests.
10190 * gdb.python/py-value-cc.exp: Likewise
10192 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10193 Pedro Alves <palves@redhat.com>
10195 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10196 Make "name" extern.
10197 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10198 references to ${name}_start by references to ${name}.
10200 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10202 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10204 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10206 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10208 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10209 Pedro Alves <palves@redhat.com>
10211 * gdb.mi/mi-info-os.exp: Connect to the target with
10212 mi_gdb_target_load.
10214 2014-01-08 Pedro Alves <palves@redhat.com>
10216 * gdb.threads/reconnect-signal.c: New file.
10217 * gdb.threads/reconnect-signal.exp: New file.
10219 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10221 * gdb.base/source-dir.exp: New file.
10223 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10225 * gdb.ada/mi_interface: New testcase.
10227 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10229 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10230 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10231 gdb.ada/pp-rec-component/pck.ads: New files.
10233 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10235 * gdb.python/py-pp-integral.c: New file.
10236 * gdb.python/py-pp-integral.py: New file.
10237 * gdb.python/py-pp-integral.exp: New file.
10239 For older changes see ChangeLog-1993-2013.
10241 ;; Local Variables:
10242 ;; mode: change-log
10245 ;; version-control: never
10248 Copyright 2014-2016 Free Software Foundation, Inc.
10249 Copying and distribution of this file, with or without modification,
10250 are permitted provided the copyright notice and this notice are preserved.