PR symtab/16264 - support DW_AT_main_subprogram
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2016-12-02 Tom Tromey <tom@tromey.com>
2
3 * gdb.dwarf2/main-subprogram.c: New file.
4 * gdb.dwarf2/main-subprogram.exp: New file.
5
6 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7
8 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10 gdb_test_no_output for a couple of cases.
11 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12
13 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14
15 Fix test names and standardize compilation error messages throughout
16 the following files:
17
18 * gdb.ada/start.exp
19 * gdb.arch/alpha-step.exp
20 * gdb.arch/e500-prologue.exp
21 * gdb.arch/ftrace-insn-reloc.exp
22 * gdb.arch/gdb1291.exp
23 * gdb.arch/gdb1431.exp
24 * gdb.arch/gdb1558.exp
25 * gdb.arch/i386-dr3-watch.exp
26 * gdb.arch/i386-sse-stack-align.exp
27 * gdb.arch/ia64-breakpoint-shadow.exp
28 * gdb.arch/pa-nullify.exp
29 * gdb.arch/powerpc-aix-prologue.exp
30 * gdb.arch/thumb-bx-pc.exp
31 * gdb.base/annota1.exp
32 * gdb.base/annota3.exp
33 * gdb.base/arrayidx.exp
34 * gdb.base/assign.exp
35 * gdb.base/attach.exp
36 * gdb.base/auxv.exp
37 * gdb.base/bang.exp
38 * gdb.base/bfp-test.exp
39 * gdb.base/bigcore.exp
40 * gdb.base/bitfields2.exp
41 * gdb.base/break-fun-addr.exp
42 * gdb.base/break-probes.exp
43 * gdb.base/call-rt-st.exp
44 * gdb.base/callexit.exp
45 * gdb.base/catch-fork-kill.exp
46 * gdb.base/charset.exp
47 * gdb.base/checkpoint.exp
48 * gdb.base/comprdebug.exp
49 * gdb.base/constvars.exp
50 * gdb.base/coredump-filter.exp
51 * gdb.base/cursal.exp
52 * gdb.base/cvexpr.exp
53 * gdb.base/detach.exp
54 * gdb.base/display.exp
55 * gdb.base/dmsym.exp
56 * gdb.base/dprintf-pending.exp
57 * gdb.base/dso2dso.exp
58 * gdb.base/dtrace-probe.exp
59 * gdb.base/dump.exp
60 * gdb.base/enum_cond.exp
61 * gdb.base/exe-lock.exp
62 * gdb.base/exec-invalid-sysroot.exp
63 * gdb.base/execl-update-breakpoints.exp
64 * gdb.base/exprs.exp
65 * gdb.base/fileio.exp
66 * gdb.base/find.exp
67 * gdb.base/finish.exp
68 * gdb.base/fixsection.exp
69 * gdb.base/foll-vfork.exp
70 * gdb.base/frame-args.exp
71 * gdb.base/gcore.exp
72 * gdb.base/gdb1250.exp
73 * gdb.base/global-var-nested-by-dso.exp
74 * gdb.base/gnu-ifunc.exp
75 * gdb.base/hashline1.exp
76 * gdb.base/hashline2.exp
77 * gdb.base/hashline3.exp
78 * gdb.base/hbreak-in-shr-unsupported.exp
79 * gdb.base/huge.exp
80 * gdb.base/infcall-input.exp
81 * gdb.base/info-fun.exp
82 * gdb.base/info-shared.exp
83 * gdb.base/jit-simple.exp
84 * gdb.base/jit-so.exp
85 * gdb.base/jit.exp
86 * gdb.base/jump.exp
87 * gdb.base/label.exp
88 * gdb.base/lineinc.exp
89 * gdb.base/logical.exp
90 * gdb.base/longjmp.exp
91 * gdb.base/macscp.exp
92 * gdb.base/miscexprs.exp
93 * gdb.base/new-ui-echo.exp
94 * gdb.base/new-ui-pending-input.exp
95 * gdb.base/new-ui.exp
96 * gdb.base/nodebug.exp
97 * gdb.base/nofield.exp
98 * gdb.base/offsets.exp
99 * gdb.base/overlays.exp
100 * gdb.base/pending.exp
101 * gdb.base/pointers.exp
102 * gdb.base/pr11022.exp
103 * gdb.base/printcmds.exp
104 * gdb.base/prologue.exp
105 * gdb.base/ptr-typedef.exp
106 * gdb.base/realname-expand.exp
107 * gdb.base/relativedebug.exp
108 * gdb.base/relocate.exp
109 * gdb.base/remote.exp
110 * gdb.base/reread.exp
111 * gdb.base/return2.exp
112 * gdb.base/savedregs.exp
113 * gdb.base/sep.exp
114 * gdb.base/sepdebug.exp
115 * gdb.base/sepsymtab.exp
116 * gdb.base/set-inferior-tty.exp
117 * gdb.base/setshow.exp
118 * gdb.base/shlib-call.exp
119 * gdb.base/sigaltstack.exp
120 * gdb.base/siginfo-addr.exp
121 * gdb.base/signals.exp
122 * gdb.base/signull.exp
123 * gdb.base/sigrepeat.exp
124 * gdb.base/so-impl-ld.exp
125 * gdb.base/solib-display.exp
126 * gdb.base/solib-overlap.exp
127 * gdb.base/solib-search.exp
128 * gdb.base/solib-symbol.exp
129 * gdb.base/structs.exp
130 * gdb.base/structs2.exp
131 * gdb.base/symtab-search-order.exp
132 * gdb.base/twice.exp
133 * gdb.base/unload.exp
134 * gdb.base/varargs.exp
135 * gdb.base/watchpoint-solib.exp
136 * gdb.base/watchpoint.exp
137 * gdb.base/whatis.exp
138 * gdb.base/wrong_frame_bt_full.exp
139 * gdb.btrace/dlopen.exp
140 * gdb.cell/ea-standalone.exp
141 * gdb.cell/ea-test.exp
142 * gdb.cp/dispcxx.exp
143 * gdb.cp/gdb2384.exp
144 * gdb.cp/method2.exp
145 * gdb.cp/nextoverthrow.exp
146 * gdb.cp/pr10728.exp
147 * gdb.disasm/am33.exp
148 * gdb.disasm/h8300s.exp
149 * gdb.disasm/mn10300.exp
150 * gdb.disasm/sh3.exp
151 * gdb.dwarf2/dw2-dir-file-name.exp
152 * gdb.fortran/complex.exp
153 * gdb.fortran/library-module.exp
154 * gdb.guile/scm-pretty-print.exp
155 * gdb.guile/scm-symbol.exp
156 * gdb.guile/scm-type.exp
157 * gdb.guile/scm-value.exp
158 * gdb.linespec/linespec.exp
159 * gdb.mi/gdb701.exp
160 * gdb.mi/gdb792.exp
161 * gdb.mi/mi-breakpoint-changed.exp
162 * gdb.mi/mi-dprintf-pending.exp
163 * gdb.mi/mi-dprintf.exp
164 * gdb.mi/mi-exit-code.exp
165 * gdb.mi/mi-pending.exp
166 * gdb.mi/mi-solib.exp
167 * gdb.mi/new-ui-mi-sync.exp
168 * gdb.mi/pr11022.exp
169 * gdb.mi/user-selected-context-sync.exp
170 * gdb.opt/solib-intra-step.exp
171 * gdb.python/py-events.exp
172 * gdb.python/py-finish-breakpoint.exp
173 * gdb.python/py-mi.exp
174 * gdb.python/py-prettyprint.exp
175 * gdb.python/py-shared.exp
176 * gdb.python/py-symbol.exp
177 * gdb.python/py-template.exp
178 * gdb.python/py-type.exp
179 * gdb.python/py-value.exp
180 * gdb.reverse/solib-precsave.exp
181 * gdb.reverse/solib-reverse.exp
182 * gdb.server/solib-list.exp
183 * gdb.stabs/weird.exp
184 * gdb.threads/reconnect-signal.exp
185 * gdb.threads/stepi-random-signal.exp
186 * gdb.trace/actions.exp
187 * gdb.trace/ax.exp
188 * gdb.trace/backtrace.exp
189 * gdb.trace/change-loc.exp
190 * gdb.trace/deltrace.exp
191 * gdb.trace/ftrace-lock.exp
192 * gdb.trace/ftrace.exp
193 * gdb.trace/infotrace.exp
194 * gdb.trace/mi-tracepoint-changed.exp
195 * gdb.trace/packetlen.exp
196 * gdb.trace/passcount.exp
197 * gdb.trace/pending.exp
198 * gdb.trace/range-stepping.exp
199 * gdb.trace/report.exp
200 * gdb.trace/stap-trace.exp
201 * gdb.trace/tfind.exp
202 * gdb.trace/trace-break.exp
203 * gdb.trace/trace-condition.exp
204 * gdb.trace/trace-enable-disable.exp
205 * gdb.trace/trace-mt.exp
206 * gdb.trace/tracecmd.exp
207 * gdb.trace/tspeed.exp
208 * gdb.trace/tsv.exp
209 * lib/perftest.exp
210
211 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
212
213 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
214 with gdb_test_no_output.
215 Use command as test name.
216
217 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
218
219 Fix test names starting with uppercase throughout the files.
220
221 * gdb.ada/assign_1.exp
222 * gdb.ada/boolean_expr.exp
223 * gdb.base/arrayidx.exp
224 * gdb.base/del.exp
225 * gdb.base/gcore-buffer-overflow.exp
226 * gdb.base/testenv.exp
227 * gdb.compile/compile.exp
228 * gdb.python/py-framefilter-invalidarg.exp
229 * gdb.python/py-framefilter.exp
230
231 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
232
233 Fix test names starting with uppercase throughout the files.
234
235 * gdb.ada/array_return.exp
236 * gdb.ada/expr_delims.exp
237 * gdb.ada/mi_dyn_arr.exp
238 * gdb.ada/mi_interface.exp
239 * gdb.ada/mi_var_array.exp
240 * gdb.ada/watch_arg.exp
241 * gdb.arch/alpha-step.exp
242 * gdb.arch/altivec-regs.exp
243 * gdb.arch/e500-regs.exp
244 * gdb.arch/powerpc-d128-regs.exp
245 * gdb.base/arrayidx.exp
246 * gdb.base/break.exp
247 * gdb.base/checkpoint.exp
248 * gdb.base/debug-expr.exp
249 * gdb.base/dmsym.exp
250 * gdb.base/radix.exp
251 * gdb.base/sepdebug.exp
252 * gdb.base/testenv.exp
253 * gdb.base/watch_thread_num.exp
254 * gdb.base/watchpoint-cond-gone.exp
255 * gdb.cell/break.exp
256 * gdb.cell/ea-cache.exp
257 * gdb.compile/compile.exp
258 * gdb.cp/gdb2495.exp
259 * gdb.gdb/selftest.exp
260 * gdb.gdb/xfullpath.exp
261 * gdb.go/hello.exp
262 * gdb.go/integers.exp
263 * gdb.objc/basicclass.exp
264 * gdb.pascal/hello.exp
265 * gdb.pascal/integers.exp
266 * gdb.python/py-breakpoint.exp
267 * gdb.python/py-cmd.exp
268 * gdb.python/py-linetable.exp
269 * gdb.python/py-xmethods.exp
270 * gdb.python/python.exp
271 * gdb.reverse/consecutive-precsave.exp
272 * gdb.reverse/finish-precsave.exp
273 * gdb.reverse/i386-precsave.exp
274 * gdb.reverse/machinestate-precsave.exp
275 * gdb.reverse/sigall-precsave.exp
276 * gdb.reverse/solib-precsave.exp
277 * gdb.reverse/step-precsave.exp
278 * gdb.reverse/until-precsave.exp
279 * gdb.reverse/watch-precsave.exp
280 * gdb.threads/leader-exit.exp
281 * gdb.threads/pthreads.exp
282 * gdb.threads/wp-replication.exp
283 * gdb.trace/actions.exp
284 * gdb.trace/mi-tsv-changed.exp
285 * gdb.trace/tsv.exp
286
287 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
288
289 Fix test names starting with uppercase throughout the files.
290
291 * gdb.arch/i386-bp_permanent.exp
292 * gdb.arch/i386-gnu-cfi.exp
293 * gdb.base/disasm-end-cu.exp
294 * gdb.base/macscp.exp
295 * gdb.base/pending.exp
296 * gdb.base/watch_thread_num.exp
297 * gdb.cp/exception.exp
298 * gdb.cp/gdb2495.exp
299 * gdb.cp/local.exp
300 * gdb.python/py-evsignal.exp
301 * gdb.python/python.exp
302 * gdb.trace/tracecmd.exp
303
304 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
305
306 Fix test names starting with uppercase throughout the files.
307
308 * gdb.base/charset.exp
309 * gdb.base/eval.exp
310 * gdb.base/multi-forks.exp
311 * gdb.guile/scm-progspace.exp
312 * gdb.opencl/datatypes.exp
313 * gdb.python/py-block.exp
314 * gdb.python/py-function.exp
315 * gdb.python/py-symbol.exp
316 * gdb.python/py-symtab.exp
317 * gdb.python/py-xmethods.exp
318 * gdb.reverse/break-precsave.exp
319 * gdb.reverse/break-reverse.exp
320 * gdb.reverse/consecutive-precsave.exp
321 * gdb.reverse/consecutive-reverse.exp
322 * gdb.reverse/finish-precsave.exp
323 * gdb.reverse/finish-reverse-bkpt.exp
324 * gdb.reverse/finish-reverse.exp
325 * gdb.reverse/fstatat-reverse.exp
326 * gdb.reverse/getresuid-reverse.exp
327 * gdb.reverse/i386-precsave.exp
328 * gdb.reverse/i386-reverse.exp
329 * gdb.reverse/i386-sse-reverse.exp
330 * gdb.reverse/i387-stack-reverse.exp
331 * gdb.reverse/insn-reverse.exp
332 * gdb.reverse/machinestate-precsave.exp
333 * gdb.reverse/machinestate.exp
334 * gdb.reverse/next-reverse-bkpt-over-sr.exp
335 * gdb.reverse/pipe-reverse.exp
336 * gdb.reverse/readv-reverse.exp
337 * gdb.reverse/recvmsg-reverse.exp
338 * gdb.reverse/rerun-prec.exp
339 * gdb.reverse/s390-mvcle.exp
340 * gdb.reverse/sigall-precsave.exp
341 * gdb.reverse/sigall-reverse.exp
342 * gdb.reverse/solib-precsave.exp
343 * gdb.reverse/solib-reverse.exp
344 * gdb.reverse/step-precsave.exp
345 * gdb.reverse/step-reverse.exp
346 * gdb.reverse/time-reverse.exp
347 * gdb.reverse/until-precsave.exp
348 * gdb.reverse/until-reverse.exp
349 * gdb.reverse/waitpid-reverse.exp
350 * gdb.reverse/watch-precsave.exp
351 * gdb.reverse/watch-reverse.exp
352
353 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
354
355 Fix test names starting with uppercase throughout the files.
356
357 * gdb.arch/i386-mpx-simple_segv.exp
358 * gdb.arch/i386-mpx.exp
359 * gdb.arch/i386-permbkpt.exp
360 * gdb.arch/pa-nullify.exp
361 * gdb.arch/powerpc-d128-regs.exp
362 * gdb.arch/vsx-regs.exp
363 * gdb.base/bfp-test.exp
364 * gdb.base/break.exp
365 * gdb.base/breakpoint-shadow.exp
366 * gdb.base/callfuncs.exp
367 * gdb.base/charset.exp
368 * gdb.base/commands.exp
369 * gdb.base/completion.exp
370 * gdb.base/dfp-test.exp
371 * gdb.base/echo.exp
372 * gdb.base/ending-run.exp
373 * gdb.base/eval.exp
374 * gdb.base/expand-psymtabs.exp
375 * gdb.base/float128.exp
376 * gdb.base/floatn.exp
377 * gdb.base/foll-exec-mode.exp
378 * gdb.base/gdb1056.exp
379 * gdb.base/gdb11531.exp
380 * gdb.base/kill-after-signal.exp
381 * gdb.base/multi-forks.exp
382 * gdb.base/overlays.exp
383 * gdb.base/pending.exp
384 * gdb.base/sepdebug.exp
385 * gdb.base/testenv.exp
386 * gdb.base/valgrind-db-attach.exp
387 * gdb.base/watch_thread_num.exp
388 * gdb.base/watchpoint-cond-gone.exp
389 * gdb.base/watchpoint.exp
390 * gdb.base/watchpoints.exp
391 * gdb.cp/arg-reference.exp
392 * gdb.cp/baseenum.exp
393 * gdb.cp/operator.exp
394 * gdb.cp/shadow.exp
395 * gdb.dwarf2/dw2-op-out-param.exp
396 * gdb.dwarf2/dw2-reg-undefined.exp
397 * gdb.go/chan.exp
398 * gdb.go/hello.exp
399 * gdb.go/integers.exp
400 * gdb.go/methods.exp
401 * gdb.go/package.exp
402 * gdb.guile/scm-parameter.exp
403 * gdb.guile/scm-progspace.exp
404 * gdb.guile/scm-value.exp
405 * gdb.mi/mi-pending.exp
406 * gdb.mi/user-selected-context-sync.exp
407 * gdb.multi/multi-attach.exp
408 * gdb.multi/tids.exp
409 * gdb.opt/clobbered-registers-O2.exp
410 * gdb.pascal/floats.exp
411 * gdb.pascal/integers.exp
412 * gdb.python/py-block.exp
413 * gdb.python/py-events.exp
414 * gdb.python/py-parameter.exp
415 * gdb.python/py-symbol.exp
416 * gdb.python/py-symtab.exp
417 * gdb.python/py-type.exp
418 * gdb.python/py-value.exp
419 * gdb.python/py-xmethods.exp
420 * gdb.python/python.exp
421 * gdb.reverse/break-precsave.exp
422 * gdb.reverse/consecutive-precsave.exp
423 * gdb.reverse/finish-precsave.exp
424 * gdb.reverse/i386-precsave.exp
425 * gdb.reverse/machinestate-precsave.exp
426 * gdb.reverse/sigall-precsave.exp
427 * gdb.reverse/solib-precsave.exp
428 * gdb.reverse/step-precsave.exp
429 * gdb.reverse/until-precsave.exp
430 * gdb.reverse/watch-precsave.exp
431 * gdb.server/ext-attach.exp
432 * gdb.server/ext-restart.exp
433 * gdb.server/ext-run.exp
434 * gdb.server/ext-wrapper.exp
435 * gdb.stabs/gdb11479.exp
436 * gdb.stabs/weird.exp
437 * gdb.threads/attach-many-short-lived-threads.exp
438 * gdb.threads/kill.exp
439 * gdb.threads/watchpoint-fork.exp
440
441 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
442
443 Fix test names starting with uppercase throughout all the files below.
444
445 * gdb.ada/array_return.exp
446 * gdb.ada/catch_ex.exp
447 * gdb.ada/info_exc.exp
448 * gdb.ada/mi_catch_ex.exp
449 * gdb.ada/mi_dyn_arr.exp
450 * gdb.ada/mi_ex_cond.exp
451 * gdb.ada/mi_exc_info.exp
452 * gdb.ada/mi_interface.exp
453 * gdb.ada/mi_task_arg.exp
454 * gdb.ada/mi_task_info.exp
455 * gdb.ada/mi_var_array.exp
456 * gdb.arch/alpha-step.exp
457 * gdb.arch/amd64-disp-step.exp
458 * gdb.arch/arm-disp-step.exp
459 * gdb.arch/disp-step-insn-reloc.exp
460 * gdb.arch/e500-prologue.exp
461 * gdb.arch/ftrace-insn-reloc.exp
462 * gdb.arch/gdb1558.exp
463 * gdb.arch/i386-bp_permanent.exp
464 * gdb.arch/i386-disp-step.exp
465 * gdb.arch/i386-float.exp
466 * gdb.arch/i386-gnu-cfi.exp
467 * gdb.arch/ia64-breakpoint-shadow.exp
468 * gdb.arch/mips16-thunks.exp
469 * gdb.arch/pa-nullify.exp
470 * gdb.arch/powerpc-aix-prologue.exp
471 * gdb.arch/powerpc-power.exp
472 * gdb.arch/ppc-dfp.exp
473 * gdb.arch/s390-tdbregs.exp
474 * gdb.arch/spu-info.exp
475 * gdb.arch/spu-ls.exp
476 * gdb.arch/thumb-bx-pc.exp
477 * gdb.base/advance.exp
478 * gdb.base/annota-input-while-running.exp
479 * gdb.base/arrayidx.exp
480 * gdb.base/asmlabel.exp
481 * gdb.base/async.exp
482 * gdb.base/attach-wait-input.exp
483 * gdb.base/auto-connect-native-target.exp
484 * gdb.base/batch-preserve-term-settings.exp
485 * gdb.base/bfp-test.exp
486 * gdb.base/bigcore.exp
487 * gdb.base/bp-permanent.exp
488 * gdb.base/break-always.exp
489 * gdb.base/break-fun-addr.exp
490 * gdb.base/break-idempotent.exp
491 * gdb.base/break-main-file-remove-fail.exp
492 * gdb.base/break-probes.exp
493 * gdb.base/break-unload-file.exp
494 * gdb.base/break.exp
495 * gdb.base/call-ar-st.exp
496 * gdb.base/call-rt-st.exp
497 * gdb.base/call-sc.exp
498 * gdb.base/call-signal-resume.exp
499 * gdb.base/call-strs.exp
500 * gdb.base/callexit.exp
501 * gdb.base/callfuncs.exp
502 * gdb.base/catch-gdb-caused-signals.exp
503 * gdb.base/catch-signal-siginfo-cond.exp
504 * gdb.base/catch-syscall.exp
505 * gdb.base/compare-sections.exp
506 * gdb.base/cond-eval-mode.exp
507 * gdb.base/condbreak-call-false.exp
508 * gdb.base/consecutive-step-over.exp
509 * gdb.base/cursal.exp
510 * gdb.base/disabled-location.exp
511 * gdb.base/disasm-end-cu.exp
512 * gdb.base/display.exp
513 * gdb.base/double-prompt-target-event-error.exp
514 * gdb.base/dprintf-bp-same-addr.exp
515 * gdb.base/dprintf-detach.exp
516 * gdb.base/dprintf-next.exp
517 * gdb.base/dprintf-non-stop.exp
518 * gdb.base/dprintf-pending.exp
519 * gdb.base/dso2dso.exp
520 * gdb.base/ending-run.exp
521 * gdb.base/enum_cond.exp
522 * gdb.base/examine-backward.exp
523 * gdb.base/exe-lock.exp
524 * gdb.base/exec-invalid-sysroot.exp
525 * gdb.base/execl-update-breakpoints.exp
526 * gdb.base/execution-termios.exp
527 * gdb.base/fileio.exp
528 * gdb.base/fixsection.exp
529 * gdb.base/foll-exec-mode.exp
530 * gdb.base/foll-exec.exp
531 * gdb.base/fork-running-state.exp
532 * gdb.base/frame-args.exp
533 * gdb.base/fullpath-expand.exp
534 * gdb.base/func-ptr.exp
535 * gdb.base/gcore-relro-pie.exp
536 * gdb.base/gdb1090.exp
537 * gdb.base/gdb1555.exp
538 * gdb.base/global-var-nested-by-dso.exp
539 * gdb.base/gnu-ifunc.exp
540 * gdb.base/hbreak-in-shr-unsupported.exp
541 * gdb.base/hbreak-unmapped.exp
542 * gdb.base/hook-stop.exp
543 * gdb.base/infcall-input.exp
544 * gdb.base/info-fun.exp
545 * gdb.base/info-shared.exp
546 * gdb.base/interrupt-noterm.exp
547 * gdb.base/jit-so.exp
548 * gdb.base/jit.exp
549 * gdb.base/line-symtabs.exp
550 * gdb.base/list.exp
551 * gdb.base/longjmp.exp
552 * gdb.base/macscp.exp
553 * gdb.base/max-value-size.exp
554 * gdb.base/nodebug.exp
555 * gdb.base/nofield.exp
556 * gdb.base/overlays.exp
557 * gdb.base/paginate-after-ctrl-c-running.exp
558 * gdb.base/paginate-bg-execution.exp
559 * gdb.base/paginate-inferior-exit.exp
560 * gdb.base/pending.exp
561 * gdb.base/pr11022.exp
562 * gdb.base/printcmds.exp
563 * gdb.base/ptr-typedef.exp
564 * gdb.base/ptype.exp
565 * gdb.base/randomize.exp
566 * gdb.base/range-stepping.exp
567 * gdb.base/realname-expand.exp
568 * gdb.base/relativedebug.exp
569 * gdb.base/remote.exp
570 * gdb.base/savedregs.exp
571 * gdb.base/sepdebug.exp
572 * gdb.base/set-noassign.exp
573 * gdb.base/shlib-call.exp
574 * gdb.base/shreloc.exp
575 * gdb.base/sigaltstack.exp
576 * gdb.base/sigbpt.exp
577 * gdb.base/siginfo-addr.exp
578 * gdb.base/siginfo-obj.exp
579 * gdb.base/siginfo-thread.exp
580 * gdb.base/signest.exp
581 * gdb.base/signull.exp
582 * gdb.base/sigrepeat.exp
583 * gdb.base/skip.exp
584 * gdb.base/so-impl-ld.exp
585 * gdb.base/solib-corrupted.exp
586 * gdb.base/solib-disc.exp
587 * gdb.base/solib-display.exp
588 * gdb.base/solib-overlap.exp
589 * gdb.base/solib-search.exp
590 * gdb.base/solib-symbol.exp
591 * gdb.base/source-execution.exp
592 * gdb.base/sss-bp-on-user-bp-2.exp
593 * gdb.base/sss-bp-on-user-bp.exp
594 * gdb.base/stack-checking.exp
595 * gdb.base/stale-infcall.exp
596 * gdb.base/step-break.exp
597 * gdb.base/step-line.exp
598 * gdb.base/step-over-exit.exp
599 * gdb.base/step-test.exp
600 * gdb.base/structs.exp
601 * gdb.base/sym-file.exp
602 * gdb.base/symtab-search-order.exp
603 * gdb.base/term.exp
604 * gdb.base/type-opaque.exp
605 * gdb.base/unload.exp
606 * gdb.base/until-nodebug.exp
607 * gdb.base/until.exp
608 * gdb.base/unwindonsignal.exp
609 * gdb.base/watch-cond.exp
610 * gdb.base/watch-non-mem.exp
611 * gdb.base/watch_thread_num.exp
612 * gdb.base/watchpoint-reuse-slot.exp
613 * gdb.base/watchpoint-solib.exp
614 * gdb.base/watchpoint.exp
615 * gdb.btrace/dlopen.exp
616 * gdb.cell/arch.exp
617 * gdb.cell/break.exp
618 * gdb.cell/bt.exp
619 * gdb.cell/core.exp
620 * gdb.cell/data.exp
621 * gdb.cell/dwarfaddr.exp
622 * gdb.cell/ea-cache.exp
623 * gdb.cell/ea-standalone.exp
624 * gdb.cell/ea-test.exp
625 * gdb.cell/f-regs.exp
626 * gdb.cell/fork.exp
627 * gdb.cell/gcore.exp
628 * gdb.cell/mem-access.exp
629 * gdb.cell/ptype.exp
630 * gdb.cell/registers.exp
631 * gdb.cell/sizeof.exp
632 * gdb.cell/solib-symbol.exp
633 * gdb.cell/solib.exp
634 * gdb.compile/compile-tls.exp
635 * gdb.cp/exception.exp
636 * gdb.cp/gdb2495.exp
637 * gdb.cp/local.exp
638 * gdb.cp/mb-inline.exp
639 * gdb.cp/mb-templates.exp
640 * gdb.cp/pr10687.exp
641 * gdb.cp/pr9167.exp
642 * gdb.cp/scope-err.exp
643 * gdb.cp/templates.exp
644 * gdb.cp/virtfunc.exp
645 * gdb.dwarf2/dw2-dir-file-name.exp
646 * gdb.dwarf2/dw2-single-line-discriminators.exp
647 * gdb.fortran/complex.exp
648 * gdb.fortran/library-module.exp
649 * gdb.guile/guile.exp
650 * gdb.guile/scm-cmd.exp
651 * gdb.guile/scm-frame-inline.exp
652 * gdb.guile/scm-objfile.exp
653 * gdb.guile/scm-pretty-print.exp
654 * gdb.guile/scm-symbol.exp
655 * gdb.guile/scm-type.exp
656 * gdb.guile/scm-value.exp
657 * gdb.linespec/keywords.exp
658 * gdb.linespec/ls-errs.exp
659 * gdb.linespec/macro-relative.exp
660 * gdb.linespec/thread.exp
661 * gdb.mi/mi-breakpoint-changed.exp
662 * gdb.mi/mi-dprintf-pending.exp
663 * gdb.mi/mi-fullname-deleted.exp
664 * gdb.mi/mi-logging.exp
665 * gdb.mi/mi-pending.exp
666 * gdb.mi/mi-solib.exp
667 * gdb.mi/new-ui-mi-sync.exp
668 * gdb.mi/user-selected-context-sync.exp
669 * gdb.multi/dummy-frame-restore.exp
670 * gdb.multi/multi-arch-exec.exp
671 * gdb.multi/remove-inferiors.exp
672 * gdb.multi/watchpoint-multi-exit.exp
673 * gdb.opt/solib-intra-step.exp
674 * gdb.perf/backtrace.exp
675 * gdb.perf/single-step.exp
676 * gdb.perf/skip-command.exp
677 * gdb.perf/skip-prologue.exp
678 * gdb.perf/solib.exp
679 * gdb.python/lib-types.exp
680 * gdb.python/py-as-string.exp
681 * gdb.python/py-bad-printers.exp
682 * gdb.python/py-block.exp
683 * gdb.python/py-breakpoint.exp
684 * gdb.python/py-cmd.exp
685 * gdb.python/py-events.exp
686 * gdb.python/py-evthreads.exp
687 * gdb.python/py-finish-breakpoint.exp
688 * gdb.python/py-finish-breakpoint2.exp
689 * gdb.python/py-frame-inline.exp
690 * gdb.python/py-frame.exp
691 * gdb.python/py-inferior.exp
692 * gdb.python/py-infthread.exp
693 * gdb.python/py-mi.exp
694 * gdb.python/py-objfile.exp
695 * gdb.python/py-pp-maint.exp
696 * gdb.python/py-pp-registration.exp
697 * gdb.python/py-prettyprint.exp
698 * gdb.python/py-recurse-unwind.exp
699 * gdb.python/py-shared.exp
700 * gdb.python/py-symbol.exp
701 * gdb.python/py-symtab.exp
702 * gdb.python/py-template.exp
703 * gdb.python/py-type.exp
704 * gdb.python/py-unwind-maint.exp
705 * gdb.python/py-unwind.exp
706 * gdb.python/py-value.exp
707 * gdb.python/python.exp
708 * gdb.reverse/finish-reverse-bkpt.exp
709 * gdb.reverse/insn-reverse.exp
710 * gdb.reverse/next-reverse-bkpt-over-sr.exp
711 * gdb.reverse/solib-precsave.exp
712 * gdb.reverse/solib-reverse.exp
713 * gdb.stabs/gdb11479.exp
714 * gdb.stabs/weird.exp
715 * gdb.threads/fork-child-threads.exp
716 * gdb.threads/fork-plus-threads.exp
717 * gdb.threads/fork-thread-pending.exp
718 * gdb.threads/forking-threads-plus-breakpoint.exp
719 * gdb.threads/hand-call-in-threads.exp
720 * gdb.threads/interrupted-hand-call.exp
721 * gdb.threads/linux-dp.exp
722 * gdb.threads/local-watch-wrong-thread.exp
723 * gdb.threads/next-while-other-thread-longjmps.exp
724 * gdb.threads/non-ldr-exit.exp
725 * gdb.threads/pending-step.exp
726 * gdb.threads/print-threads.exp
727 * gdb.threads/process-dies-while-detaching.exp
728 * gdb.threads/process-dies-while-handling-bp.exp
729 * gdb.threads/pthreads.exp
730 * gdb.threads/queue-signal.exp
731 * gdb.threads/reconnect-signal.exp
732 * gdb.threads/signal-command-handle-nopass.exp
733 * gdb.threads/signal-command-multiple-signals-pending.exp
734 * gdb.threads/signal-delivered-right-thread.exp
735 * gdb.threads/signal-sigtrap.exp
736 * gdb.threads/sigthread.exp
737 * gdb.threads/staticthreads.exp
738 * gdb.threads/stepi-random-signal.exp
739 * gdb.threads/thread-unwindonsignal.exp
740 * gdb.threads/thread_check.exp
741 * gdb.threads/thread_events.exp
742 * gdb.threads/tid-reuse.exp
743 * gdb.threads/tls-nodebug.exp
744 * gdb.threads/tls-shared.exp
745 * gdb.threads/tls-so_extern.exp
746 * gdb.threads/tls.exp
747 * gdb.threads/wp-replication.exp
748 * gdb.trace/actions-changed.exp
749 * gdb.trace/actions.exp
750 * gdb.trace/backtrace.exp
751 * gdb.trace/change-loc.exp
752 * gdb.trace/collection.exp
753 * gdb.trace/deltrace.exp
754 * gdb.trace/disconnected-tracing.exp
755 * gdb.trace/entry-values.exp
756 * gdb.trace/ftrace-lock.exp
757 * gdb.trace/ftrace.exp
758 * gdb.trace/infotrace.exp
759 * gdb.trace/mi-trace-frame-collected.exp
760 * gdb.trace/mi-trace-unavailable.exp
761 * gdb.trace/mi-traceframe-changed.exp
762 * gdb.trace/mi-tracepoint-changed.exp
763 * gdb.trace/mi-tsv-changed.exp
764 * gdb.trace/no-attach-trace.exp
765 * gdb.trace/packetlen.exp
766 * gdb.trace/passc-dyn.exp
767 * gdb.trace/passcount.exp
768 * gdb.trace/pending.exp
769 * gdb.trace/pr16508.exp
770 * gdb.trace/qtro.exp
771 * gdb.trace/range-stepping.exp
772 * gdb.trace/read-memory.exp
773 * gdb.trace/report.exp
774 * gdb.trace/save-trace.exp
775 * gdb.trace/signal.exp
776 * gdb.trace/stap-trace.exp
777 * gdb.trace/status-stop.exp
778 * gdb.trace/strace.exp
779 * gdb.trace/tfile.exp
780 * gdb.trace/tfind.exp
781 * gdb.trace/trace-break.exp
782 * gdb.trace/trace-condition.exp
783 * gdb.trace/trace-enable-disable.exp
784 * gdb.trace/trace-mt.exp
785 * gdb.trace/tracecmd.exp
786 * gdb.trace/tracefile-pseudo-reg.exp
787 * gdb.trace/tspeed.exp
788 * gdb.trace/tstatus.exp
789 * gdb.trace/tsv.exp
790 * gdb.trace/unavailable.exp
791 * gdb.trace/while-dyn.exp
792 * gdb.trace/while-stepping.exp
793 * lib/gdb-guile.exp
794 * lib/gdb.exp
795 * lib/mi-support.exp
796 * lib/pascal.exp
797 * lib/perftest.exp
798 * lib/prelink-support.exp
799 * lib/selftest-support.exp
800
801 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
802
803 * Makefile.in: Include disable-implicit-rules.mk.
804
805 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
806
807 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
808 non-byte-aligned bit fields.
809
810 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
811
812 PR gdb/12616
813 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
814 respects the DW_AT_data_bit_offset attribute.
815
816 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
817
818 * gdb.base/default.exp: Fix output of "set language".
819
820 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
821
822 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
823 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
824 make.
825 * configure.ac: Remove checks for the make program.
826 * configure: Re-generate.
827
828 2016-11-16 Kevin Buettner <kevinb@redhat.com>
829
830 * gdb.python/py-recurse-unwind.c (main): Add loop.
831 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
832 to read_register() and gdb.parse_and_eval(). Make each code
833 call a separate case that can be individually tested.
834 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
835 proc. Call cont_and_backtrace for each of the code paths that
836 we want to test in the unwinder.
837
838 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
839
840 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
841 the definition of struct S.
842
843 2016-11-11 Catherine Moore <clm@codesourcery.com>
844
845 * gdb.base/dump.exp: Identify verilog format dump tests as such.
846
847 2016-11-09 Pedro Alves <palves@redhat.com>
848
849 * gdb.base/commands.exp (runto_or_return): New procedure.
850 (gdbvar_simple_if_test, gdbvar_simple_while_test)
851 (gdbvar_complex_if_while_test, progvar_simple_if_test)
852 (progvar_simple_while_test, progvar_complex_if_while_test)
853 (if_while_breakpoint_command_test)
854 (infrun_breakpoint_command_test, breakpoint_command_test)
855 (user_defined_command_test, watchpoint_command_test)
856 (test_command_prompt_position, redefine_hook_test)
857 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
858 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
859 multi_line_input and multi_line. Remove gdb_expect and
860 gdb_stop_suppressing_tests uses.
861 * lib/gdb.exp (valnum_re): New global.
862 (multi_line_input): New procedure.
863
864 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
865
866 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
867 Remove.
868 (test_setup): Define with proc_with_prefix.
869 (test_cli_inferior): Likewise.
870 (test_cli_thread): Likewise.
871 (test_cli_frame): Likewise.
872 (test_cli_select_frame): Likewise.
873 (test_cli_up_down): Likewise.
874 (test_mi_thread_select): Likewise.
875 (test_mi_stack_select_frame): Likewise.
876 (test_cli_in_mi_inferior): Likewise.
877 (test_cli_in_mi_thread): Likewise.
878 (test_cli_in_mi_frame): Likewise.
879 (top level): Do not use with_test_prefix_procname.
880
881 2016-11-09 Pedro Alves <palves@redhat.com>
882
883 * gdb.base/commands.exp (gdbvar_simple_if_test)
884 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
885 (progvar_simple_if_test, progvar_simple_while_test)
886 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
887 (infrun_breakpoint_command_test, breakpoint_command_test)
888 (user_defined_command_test, watchpoint_command_test)
889 (test_command_prompt_position, deprecated_command_test)
890 (bp_deleted_in_command, temporary_breakpoint_commands)
891 (stray_arg0_test, source_file_with_indented_comment)
892 (recursive_source_test, if_commands_test)
893 (error_clears_commands_left, redefine_hook_test)
894 (redefine_backtrace_test): Use proc_with_prefix.
895 * lib/gdb.exp (proc_with_prefix): New proc.
896
897 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
898
899 * gdb.base/tui-layout.c: New file.
900 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
901 disassembly window contains very long lines.
902
903 2016-11-08 Tom Tromey <tom@tromey.com>
904
905 * gdb.python/py-value.exp (test_value_creation): Make "long" test
906 depend on Python 2.
907
908 2016-11-08 Tom Tromey <tom@tromey.com>
909
910 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
911 New method.
912
913 2016-10-29 Manish Goregaokar <manish@mozilla.com>
914
915 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
916
917 2016-10-27 Manish Goregaokar <manish@mozilla.com>
918
919 * gdb.rust/simple.rs: Add test for univariant enums without
920 discriminants and for encoded struct-like enums.
921
922 2016-10-28 Pedro Alves <palves@redhat.com>
923
924 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
925 gdb_test_multiple, tighten regexps and match symtabs and line
926 tables incrementally.
927
928 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
929
930 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
931 general.
932
933 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
934
935 * gdb.base/exec-invalid-sysroot.exp: New file.
936
937 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
938
939 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
940
941 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
942
943 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
944
945 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
946
947 * gdb.base/killed-outside.exp: Remove $options from a call to
948 `prepare_for_testing'.
949
950 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
951
952 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
953 Change test message.
954
955 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
956
957 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
958 Update comment.
959
960 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
961
962 * gdb.trace/mi-trace-save.exp: New file.
963
964 2016-10-13 Yao Qi <yao.qi@linaro.org>
965
966 * gdb.base/code_elim.exp (get_var_address): Remove.
967 * gdb.base/relocate.exp: Likewise.
968 * gdb.base/shreloc.exp: Likewise.
969 * lib/gdb.exp (get_var_address): New.
970
971 2016-10-13 Yao Qi <yao.qi@linaro.org>
972
973 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
974 floating point tests if $skip_float_test is false.
975
976 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
977
978 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
979 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
980 argc values.
981 Add 1 to argc so we guarantee distinct initial/modified argc values.
982
983 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
984
985 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
986
987 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
988
989 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
990 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
991 * gdb.arch/vsx-regs.exp: Likewise.
992
993 2016-10-07 Yao Qi <yao.qi@linaro.org>
994
995 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
996
997 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
998
999 * gdb.python/python.exp: Test decode_line("*0").
1000
1001 2016-10-06 Doug Evans <dje@google.com>
1002
1003 * gdb.python/py-value.exp (test_value_creation): Add test for large
1004 unsigned 64-bit value.
1005
1006 2016-10-06 Tom Tromey <tom@tromey.com>
1007
1008 * gdb.compile/compile.exp: Change java tests to rust.
1009 * gdb.base/setshow.exp: Change java tests to rust.
1010 * gdb.base/default.exp: Remove java from language list.
1011 * README (Examples): Update language example.
1012 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1013 test.
1014 * lib/gdb.exp (skip_java_tests): Remove.
1015 * lib/java.exp: Remove.
1016 * gdb.java: Remove.
1017
1018 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1019
1020 * gdb.arch/mips-fcr.exp: New test.
1021 * gdb.arch/mips-fcr.c: Source for the new test.
1022
1023 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1024
1025 * gdb.base/solib-disc.exp: Use `standard_output_file'
1026 throughout.
1027
1028 2016-10-06 Pedro Alves <palves@redhat.com>
1029
1030 * gdb.base/jit-simple-dl.c: New file.
1031 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1032 * gdb.base/jit-simple.c: ... this.
1033 * gdb.base/jit-simple.exp (jit_run): Delete.
1034 (build_jit): New proc.
1035 (jit_test_reread): Recompile either the main program or the shared
1036 library, depending on what is being tested. Skip changing address
1037 if caller wants to. Compare before/after addresses. If testing
1038 standalone, explicitly load the binary. Test "maint info
1039 breakpoints".
1040 (top level): Add "standalone vs shared lib" and "change address"
1041 vs "same address" axes.
1042
1043 2016-10-06 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1046 call.
1047 (jit_run): Delete.
1048 (jit_test_reread): Use with_test_prefix. Reload the main binary
1049 explicitly. Compare the before/after addresses of the JIT
1050 descriptor.
1051
1052 2016-08-15 Doug Evans <dje@google.com>
1053
1054 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1055 for single bitfields is bool.
1056 * gdb.xml/tdesc-regs.exp: Ditto.
1057
1058 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1059
1060 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1061
1062 2016-10-05 Yao Qi <yao.qi@linaro.org>
1063
1064 * lib/gdb.exp (support_complex_tests): Return zero if
1065 gdb_skip_float_test return true.
1066
1067 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1068 Simon Marchi <simon.marchi@ericsson.com>
1069
1070 PR gdb/20487
1071 * gdb.mi/user-selected-context-sync.exp: New file.
1072 * gdb.mi/user-selected-context-sync.c: New file.
1073
1074 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1075 Simon Marchi <simon.marchi@ericsson.com>
1076
1077 PR gdb/20487
1078 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1079 =thread-select-event check.
1080
1081 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1082
1083 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1084 the compulsory L operand changes.
1085 * gdb.arch/powerpc-power.s: Likewise.
1086
1087 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1088
1089 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1090 * gdb.base/jit-attach-pie.c: New file.
1091 * gdb.base/jit-attach-pie.exp: New file.
1092
1093 2016-09-28 Pedro Alves <palves@redhat.com>
1094
1095 * gdb.base/infcall-input.c: New file.
1096 * gdb.base/infcall-input.exp: New file.
1097
1098 2016-09-22 Yao Qi <yao.qi@linaro.org>
1099
1100 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1101 (gdb_exit): Rename it to ...
1102 (gdbserver_gdb_exit): ... Close GDBserver.
1103 (gdb_exit): New proc, call gdbserver_gdb_exit.
1104 (mi_gdb_exit): Likewise.
1105
1106 2016-09-22 Yao Qi <yao.qi@linaro.org>
1107
1108 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1109 path.
1110 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1111 Remove duplication.
1112
1113 2016-09-22 Yao Qi <yao.qi@linaro.org>
1114
1115 * lib/gdbserver-support.exp: Check the existence of
1116 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1117
1118 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1119
1120 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1121
1122 2016-09-21 Tom Tromey <tom@tromey.com>
1123
1124 PR gdb/20604:
1125 * gdb.base/quit.exp: New file.
1126
1127 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1128
1129 * .gitignore: New file.
1130
1131 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1132
1133 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1134 throughout.
1135
1136 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1137
1138 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1139
1140 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1141
1142 * gdb.cp/casts.cc (decltype): Move it ...
1143 (main): ... with its call to ...
1144 * gdb.cp/casts03.cc: ... a new file.
1145 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1146
1147 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1148
1149 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1150
1151 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1152
1153 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1154 and sync up the test with tests in gas/testsuite/gas/ppc.
1155 * gdb.arch/powerpc-power.exp: Likewise.
1156
1157 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1158
1159 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1160
1161 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1162 Jan Kratochvil <jan.kratochvil@redhat.com>
1163
1164 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1165 make m1's definition to be different from m2's. Use 'dummy' as an
1166 argument for probe 'two'.
1167
1168 2016-09-10 Jon Beniston <jon@beniston.com>
1169
1170 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1171 for sim target.
1172
1173 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1174
1175 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1176 variable declaration.
1177 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1178 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1179 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1180 received HWCAP as its argument.
1181
1182 2016-09-06 Pedro Alves <palves@redhat.com>
1183
1184 * gdb.base/new-ui-pending-input.c: New file.
1185 * gdb.base/new-ui-pending-input.exp: New file.
1186 * gdb.exp (clear_gdb_spawn_id): New procedure.
1187 (with_spawn_id): Check whether gdb_spawn_id exists before
1188 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1189 on exit.
1190
1191 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1192
1193 * gdb.base/float128.c: New file.
1194 * gdb.base/float128.exp: Likewise.
1195 * gdb.base/floatn.c: Likewise.
1196 * gdb.base/floatn.exp: Likewise.
1197
1198 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1199
1200 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1201
1202 2016-09-05 Pedro Alves <palves@redhat.com>
1203
1204 PR backtrace/19927
1205 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1206 unwinders are immediately called as side effect of "source" or
1207 "disable unwinder" commands.
1208 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1209
1210 2016-09-02 Yao Qi <yao.qi@linaro.org>
1211
1212 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1213 is true and $type is "float" or "double".
1214
1215 2016-09-02 Yao Qi <yao.qi@linaro.org>
1216
1217 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1218 true.
1219 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1220 * gdb.base/call-rt-st.exp: Likewise.
1221 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1222 return value instead of gdb,skip_float_test.
1223 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1224 (do_function_calls): Use its return value instead of
1225 gdb,skip_float_test.
1226 * gdb.base/finish.exp: Likewise.
1227 * gdb.base/funcargs.exp: Likewise.
1228 * gdb.base/return.exp: Likewise.
1229 * gdb.base/return2.exp: Likewise.
1230 * gdb.base/varargs.exp: Likewise.
1231 * lib/gdb.exp (gdb_skip_float_test): Change it to
1232 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1233
1234 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1235
1236 * gdb.multi/tids.exp: Test "thread apply all".
1237
1238 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1239
1240 * gdb.base/default.exp (tty): Remove.
1241
1242 2016-08-24 Kevin Buettner <kevinb@redhat.com>
1243
1244 * gdb.python/py-recurse-unwind.c: New file.
1245 * gdb.python/py-recurse-unwind.py: New file.
1246 * gdb.python/py-recurse-unwind.exp: New file.
1247
1248 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1249
1250 * gdb.base/set-inferior-tty.exp: New file.
1251 * gdb.base/set-inferior-tty.c: New file.
1252
1253 2016-08-23 Pedro Alves <palves@redhat.com>
1254
1255 PR gdb/20494
1256 * gdb.base/new-ui-echo.c: New file.
1257 * gdb.base/new-ui-echo.exp: New file.
1258
1259 2016-08-23 Yao Qi <yao.qi@linaro.org>
1260
1261 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1262 gdbserver_spawn.
1263 * gdb.server/connect-without-multi-process.exp (do_test):
1264 Likewise.
1265
1266 2016-08-23 Yao Qi <yao.qi@linaro.org>
1267
1268 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1269 standalone_txt. Delete gdb_txt and standalone_txt on host
1270 and target. Spawn the binary on target. Copy files from
1271 target to host.
1272
1273 2016-08-22 Pedro Alves <palves@redhat.com>
1274
1275 PR gdb/20505
1276 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1277 with_test_prefix. Factor out bits to ...
1278 (test_no_vdso): ... this new procedure.
1279
1280 2016-08-19 Carl Love <cel@us.ibm.com>
1281
1282 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1283 maintaining separate logic for constructing the output path.
1284 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1285 * gdb.arch/ppc-dfp.exp: Likewise.
1286 * gdb.arch/ppc-fp.exp: Likewise.
1287 * gdb.arch/vsx-regs.exp: Likewise.
1288 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1289 binprefix for generating the additional binary files.
1290
1291 2016-08-19 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.trace/mi-trace-frame-collected.exp
1294 (test_trace_frame_collected): On x32, expect two registers.
1295
1296 2016-08-18 Carl Love <cel@us.ibm.com>
1297
1298 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1299 and sync up the test with tests in gas/testsuite/gas/ppc.
1300 * gdb.arch/powerpc-power.exp: Likewise.
1301
1302 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1303
1304 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1305 expected error message.
1306
1307 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1308
1309 * gdb.multi/remove-inferiors.exp: New file.
1310 * gdb.multi/remove-inferiors.c: New file.
1311
1312 2016-08-12 Yao Qi <yao.qi@linaro.org>
1313
1314 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1315 argument list.
1316
1317 2016-08-10 Pedro Alves <palves@redhat.com>
1318
1319 PR gdb/19187
1320 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1321 setup_kfails.
1322
1323 2016-08-09 Pedro Alves <palves@redhat.com>
1324 Simon Marchi <simon.marchi@ericsson.com>
1325
1326 PR gdb/20418
1327 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1328 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1329
1330 2016-08-09 Pedro Alves <palves@redhat.com>
1331
1332 PR mi/20431
1333 * gdb.mi/mi-cmd-error.exp: New file.
1334
1335 2016-08-09 Pedro Alves <palves@redhat.com>
1336
1337 PR gdb/18653
1338 * gdb.base/signals-state-child.c: New file.
1339 * gdb.base/signals-state-child.exp: New file.
1340 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1341
1342 2016-08-09 Pedro Alves <palves@redhat.com>
1343
1344 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1345
1346 2016-08-03 Tom Tromey <tom@tromey.com>
1347
1348 PR python/18565:
1349 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1350
1351 2016-08-01 Yao Qi <yao.qi@linaro.org>
1352
1353 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1354 variable mode to "multi-process" if $multi_process is 1, otherwise
1355 set it to "single-process".
1356
1357 2016-08-01 Yao Qi <yao.qi@linaro.org>
1358
1359 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1360 * gdb.cp/cpexprs.exp: Likewise.
1361 * gdb.cp/m-static.exp: Likewise.
1362
1363 2016-07-26 Tom Tromey <tom@tromey.com>
1364
1365 PR python/20190:
1366 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1367 test.
1368
1369 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1370
1371 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1372 selecting assembly source files.
1373 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1374 assembly source files.
1375 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1376 assembly source files.
1377 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1378 selecting assembly source files.
1379
1380 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1381
1382 * gdb.base/new-ui.exp (do_test_invalid_args): New
1383 procedure.
1384
1385 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1386
1387 * gdb.btrace/reconnect.c: New file.
1388 * gdb.btrace/reconnect.exp: New file.
1389
1390 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1391
1392 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1393 to test_catch_syscall_group.
1394 (test_catch_syscall_group): New.
1395
1396 2016-07-21 Tom Tromey <tom@tromey.com>
1397
1398 * gdb.rust/simple.rs (main): Use empty struct expression.
1399 * gdb.rust/simple.exp: Add tests for empty struct expression.
1400
1401 2016-07-21 Yao Qi <yao.qi@linaro.org>
1402
1403 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1404 if gdb_skip_xml_test is true on some targets.
1405
1406 2016-07-21 Yao Qi <yao.qi@linaro.org>
1407
1408 * gdb.server/solib-list.exp: Unset last_loaded_file.
1409
1410 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1411
1412 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1413 "step into captured_main (args)".
1414
1415 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1416
1417 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1418
1419 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1420
1421 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1422
1423 2016-07-19 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1426 * gdb.opt/inline-bt.exp: Likewise.
1427 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1428 additional_flags=-Winline.
1429 * gdb.opt/inline-locals.exp: Likewise.
1430 * gdb.opt/inline-markers.c (ATTR): Define.
1431 (inlined_fn): Use it.
1432
1433 2016-07-19 Yao Qi <yao.qi@linaro.org>
1434
1435 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1436 (test_with_self): Remove some code. Remove argument executable.
1437 (top-level): Use do_self_tests.
1438
1439 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
1440 Don Breazeal <donb@codesourcery.com>
1441
1442 * gdb.base/maint.exp: Escape paths used in regular expressions.
1443 * gdb.stabs/weird.exp: Likewise.
1444
1445 2016-07-13 Tom Tromey <tom@tromey.com>
1446
1447 PR python/15620, PR python/18620:
1448 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1449 (test_bkpt_events): New procs.
1450
1451 2016-07-13 Tom Tromey <tom@tromey.com>
1452
1453 PR python/17698:
1454 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1455 test.
1456 (test_watchpoints): Likewise.
1457 (test_bkpt_pending): New proc.
1458
1459 2016-07-13 Tom Tromey <tom@tromey.com>
1460
1461 PR cli/18053:
1462 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1463 completion test.
1464
1465 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1466
1467 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1468 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1469 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1470 f_label.
1471 (g): Rename g_end_lbl to g_label.
1472 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1473 low_pc and high_pc.
1474 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1475
1476 2016-07-12 Tom Tromey <tom@tromey.com>
1477
1478 PR python/19293:
1479 * gdb.python/py-unwind-maint.exp: Update tests.
1480
1481 2016-07-12 Yao Qi <yao.qi@linaro.org>
1482
1483 * lib/selftest-support.exp (selftest_setup): Match the output
1484 when captured_main is inlined.
1485
1486 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1487
1488 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1489 New variables.
1490 (print this%a, print this%b, print this): New tests.
1491 * gdb.fortran/derived-types.f90 (this): New object and
1492 initialization.
1493
1494 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1495
1496 * gdb.ada/arraydim.exp: Remove extra directory level in build
1497 directory.
1498
1499 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1500
1501 * lib/ada.exp: Remove extra directory level in build directory.
1502 * gdb.ada/cond_lang.exp: Likewise.
1503 * gdb.ada/exec_changed.exp: Likewise.
1504 * gdb.ada/lang_switch.exp: Likewise.
1505
1506 2016-07-06 Manish Goregaokar <manish@mozilla.com>
1507
1508 * simple.rs: Add test for raw pointer subscripting.
1509 * simple.exp: Add test expectations.
1510
1511 2016-07-05 Yao Qi <yao.qi@linaro.org>
1512
1513 * gdb.mi/mi-reverse.exp: Match =record-started output.
1514
1515 2016-07-01 Pedro Alves <palves@redhat.com>
1516
1517 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1518 procedure.
1519 (jit_reader_test): Test the jit reader's unwinder.
1520 * gdb.base/jithost.c (jit_function_00_code): New global.
1521 (main): Use memcpy to fill in the mmapped code, instead of poking
1522 bytes manually here.
1523 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1524 value.
1525 (read_debug_info): Save the function's range.
1526 (read_sp): New function.
1527 (unwind_frame): Use it. Also unwind RBP.
1528 (get_frame_id): Use read_sp.
1529 (gdb_init_reader): Use calloc instead of malloc.
1530 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1531 parameter. Use gdb_test_multiple.
1532
1533 2016-07-01 Pedro Alves <palves@redhat.com>
1534 Antoine Tremblay <antoine.tremblay@ericsson.com>
1535
1536 * gdb.threads/process-dies-while-detaching.c: New file.
1537 * gdb.threads/process-dies-while-detaching.exp: New file.
1538
1539 2016-07-01 Pedro Alves <palves@redhat.com>
1540
1541 * gdb.multi/watchpoint-multi-exit.c: New file.
1542 * gdb.multi/watchpoint-multi-exit.exp: New file.
1543
1544 2016-06-30 Pedro Alves <palves@redhat.com>
1545
1546 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1547 unset inferior_spawn_id.
1548
1549 2016-06-30 Pedro Alves <palves@redhat.com>
1550
1551 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1552 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1553
1554 2016-06-29 Yao Qi <yao.qi@linaro.org>
1555
1556 * gdb.base/return.c: Add copyright header.
1557
1558 2016-06-29 Tom Tromey <tom@tromey.com>
1559
1560 PR python/20129:
1561 * gdb.python/py-framefilter.exp: Add tests for setting priority
1562 and disabling of non-existent frame filter.
1563
1564 2016-06-29 Yao Qi <yao.qi@linaro.org>
1565
1566 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1567 0x0f07ff.
1568
1569 2016-06-28 Yao Qi <yao.qi@linaro.org>
1570
1571 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1572 triplets. Start gdb, execute catch syscall, and continue. Check
1573 gdb's output to determine catch syscall is supported.
1574
1575 2016-06-27 Manish Goregaokar <manish@mozilla.com>
1576
1577 * gdb.rust/simple.rs: Add test for returning unit in a function.
1578 * gdb.rust/simple.exp: Add expectation for functions returning
1579 unit.
1580
1581 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1582
1583 * gdb.python/py-breakpoint-create-fail.c,
1584 gdb.python/py-breakpoint-create-fail.exp,
1585 gdb.python/py-breakpoint-create-fail.py: New testcase.
1586
1587 2016-06-25 Manish Goregaokar <manish@mozilla.com>
1588
1589 PR gdb/20239
1590 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
1591 * gdb.rust/simple.exp: Add test expectations for new NonZero
1592 tests.
1593
1594 2016-06-24 David Taylor <dtaylor@emc.com>
1595
1596 * gdb.base/offsets.exp: New file.
1597 * gdb.base/offsets.c: New file.
1598
1599 2016-06-23 Tom Tromey <tom@tromey.com>
1600
1601 PR gdb/16483:
1602 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1603 before any filters are loaded.
1604
1605 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1606
1607 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1608 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1609 structs.
1610 * gdb.fortran/derived-type-function.exp: New file.
1611 * gdb.fortran/derived-type-function.f90: New file.
1612
1613
1614 2016-06-21 Pedro Alves <palves@redhat.com>
1615
1616 * gdb.base/new-ui.exp: New file.
1617 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1618 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1619 (with_spawn_id): New procedure.
1620
1621 2016-06-21 Pedro Alves <palves@redhat.com>
1622
1623 * gdb.mi/mi-exec-run.exp: New file.
1624
1625 2016-06-21 Pedro Alves <palves@redhat.com>
1626
1627 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1628 breakpoint command's output on the main UI.
1629 (test_break): New procedure, factored out from calls in the top
1630 level.
1631 (top level): Use foreach_with_prefix to test MI as main UI and as
1632 separate UI.
1633
1634 2016-06-21 Pedro Alves <palves@redhat.com>
1635
1636 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1637 (test_awatch_creation_and_listing)
1638 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1639 Remove 'type' parameter.
1640 (test_watchpoint_all): New parameter mi_mode. Remove
1641 with_test_prefix.
1642 (top level): Use foreach_with_prefix, and add main/separate UI MI
1643 testing axis.
1644
1645 2016-06-21 Pedro Alves <palves@redhat.com>
1646
1647 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1648 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1649 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1650 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1651 (gdb_main_spawn_id, mi_spawn_id): Declare and
1652 comment.
1653 (mi_create_inferior_pty): New procedure,
1654 factored out from default_mi_gdb_start.
1655 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1656 procedures.
1657 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1658 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1659 Use mi_create_inferior_pty.
1660 (mi_gdb_start): Use eval to pass down args list.
1661
1662 2016-06-21 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1665 * gdb.opt/inline-cmds.exp: Add MI tests.
1666
1667 2016-06-21 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1670
1671 2016-06-21 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1674 (top level): Use it instead of mi_execute_to.
1675
1676 2016-06-21 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1679 (cont_handler_str): New.
1680 (signal_stop_handler): Set stop_handler_str instead of printing to
1681 stdout.
1682 (continue_handler): Set cont_handler_str instead of printing to
1683 stdout.
1684 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1685 mi_send_resuming_command. Print stop_handler_str and
1686 cont_handler_str instead of expecting the python events print
1687 directly.
1688
1689 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1690
1691 * gdb.base/jit-reader.exp: New file.
1692 * gdb.base/jithost.c: New file.
1693 * gdb.base/jithost.h: New file.
1694 * gdb.base/jitreader.c : New file.
1695 * gdb.base/jit-protocol.h: New file.
1696
1697 2016-06-17 Yao Qi <yao.qi@linaro.org>
1698
1699 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1700 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1701 and detach-on-fork. Adjust tests.
1702 (top level): Invoke break_cond_on_syscall with combinations of
1703 syscall, follow-fork-mode and detach-on-fork.
1704
1705 2016-06-17 Yao Qi <yao.qi@linaro.org>
1706
1707 * gdb.base/step-over-exit.c: New.
1708 * gdb.base/step-over-exit.exp: New.
1709
1710 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1711
1712 * gdb.base/float.exp: Add target check for nds32*-*-*.
1713 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1714
1715 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1716
1717 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1718 for unsupported target features.
1719 * gdb.base/call-rt-st.exp: Likewise.
1720 * gdb.base/call-sc.exp: Likewise.
1721 * gdb.base/call-signal-resume.exp: Likewise.
1722 * gdb.base/call-strs.exp: Likewise.
1723 * gdb.base/callexit.exp: Likewise.
1724 * gdb.base/callfuncs.exp: Likewise.
1725 * gdb.base/nodebug.exp: Likewise.
1726 * gdb.base/printcmds.exp: Likewise.
1727 * gdb.base/ptype.exp: Likewise.
1728 * gdb.base/structs.exp: Likewise.
1729 * gdb.base/unwindonsignal.exp: Likewise.
1730 * gdb.cp/gdb2495.exp: Likewise.
1731 * gdb.cp/templates.exp: Likewise.
1732 * gdb.cp/virtfunc.exp: Likewise.
1733 * gdb.threads/hand-call-in-threads.exp: Likewise.
1734 * gdb.threads/interrupted-hand-call.exp: Likewise.
1735 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1736
1737 2016-06-10 Tom Tromey <tom@tromey.com>
1738
1739 PR rust/20110:
1740 * gdb.rust/expr.exp: Add test for integer constant larger than
1741 i32.
1742
1743 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1744
1745 * gdb.fortran/nested-funcs.exp: New.
1746 * gdb.fortran/nested-funcs.f90: New.
1747
1748 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1749
1750 * gdb.base/examine-backward.c: New file.
1751 * gdb.base/examine-backward.exp: New file.
1752
1753 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1754
1755 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1756 matching.
1757
1758 2016-06-02 Tom Tromey <tom@tromey.com>
1759
1760 PR python/18984:
1761 * gdb.python/py-shared.exp: Add solib_name test.
1762
1763 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1764
1765 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1766
1767 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1768
1769 PR c++/19893
1770 * gdb.dwarf2/implref.exp: Rename to...
1771 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1772 * gdb.dwarf2/implref-array.c: New file.
1773 * gdb.dwarf2/implref-array.exp: Likewise.
1774 * gdb.dwarf2/implref-global.c: Likewise.
1775 * gdb.dwarf2/implref-global.exp: Likewise.
1776 * gdb.dwarf2/implref-struct.c: Likewise.
1777 * gdb.dwarf2/implref-struct.exp: Likewise.
1778
1779 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1780
1781 * gdb.trace/trace-condition.exp: Add 64bit tests.
1782
1783 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1784
1785 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1786 bits types.
1787 (main): Adapt to 8 to 64 bits types.
1788 * gdb.trace/trace-condition.exp: Add new tests.
1789
1790 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1791
1792 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1793
1794 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1795
1796 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1797 Move condition tests...
1798 * gdb.trace/trace-condition.exp: Here.
1799
1800 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1801
1802 * gdb.trace/trace-condition.exp: Add counter-case tests.
1803
1804 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1805
1806 PR c++/15231
1807 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1808 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1809
1810 2016-05-27 Pedro Alves <palves@redhat.com>
1811
1812 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1813 New procedure.
1814 (top level): Call it, and bail out of DejaGnu is known to be bad.
1815
1816 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1817
1818 * gdb.base/whatis.c: Extend the test case.
1819 * gdb.base/whatis.exp: Add additional tests.
1820
1821 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1822
1823 * gdb.fortran/type.f90: Add pointer variable.
1824 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1825
1826 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1827
1828 * gdb.fortran/vla-type.exp: Fix testcase name.
1829
1830 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1831
1832 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1833
1834 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1835
1836 * gdb.fortran/type.f90: Add nested structures.
1837 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1838 * gdb.fortran/derived-type.exp: Adapt expected output.
1839 * gdb.fortran/vla-type.exp: Adapt expected output.
1840
1841 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1842
1843 * gdb.fortran/whatis_type.exp: Adapt expected output.
1844
1845 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1846
1847 * gdb.fortran/print_type.exp: Fix expected output.
1848 * gdb.fortran/whatis_type.exp: Fix expected output.
1849
1850 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1851
1852 * gdb.fortran/whatis_type.exp: Use multi_line.
1853
1854 2016-05-24 Tom Tromey <tom@tromey.com>
1855
1856 PR python/17386:
1857 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1858 use value as an index.
1859
1860 2016-05-23 Tom Tromey <tom@tromey.com>
1861
1862 PR python/17981:
1863 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1864 no-breakpoint case.
1865
1866 2016-05-24 Pedro Alves <palves@redhat.com>
1867
1868 PR gdb/19828
1869 * gdb.threads/clone-attach-detach.c: New file.
1870 * gdb.threads/clone-attach-detach.exp: New file.
1871
1872 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1873
1874 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1875
1876 2016-05-23 Tom Tromey <tom@tromey.com>
1877
1878 PR python/19438, PR python/18393:
1879 * gdb.python/py-progspace.exp: Add "dir" test.
1880 * gdb.python/py-objfile.exp: Add "dir" test.
1881
1882 2016-05-23 Yao Qi <yao.qi@linaro.org>
1883
1884 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1885 * gdb.arch/thumb2-it.exp: Likewise.
1886
1887 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1888
1889 * gdb.mi/mi-threads-interrupt.c: New file.
1890 * gdb.mi/mi-threads-interrupt.exp: New file.
1891
1892 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1893
1894 PR gdb/18077
1895 * gdb.mi/mi-async-run.exp: New file.
1896 * gdb.mi/mi-async-run.c: New file.
1897
1898 2016-05-17 Tom Tromey <tom@tromey.com>
1899 Manish Goregaokar <manishsmail@gmail.com>
1900
1901 * lib/rust-support.exp: New file.
1902 * lib/gdb.exp (skip_rust_tests): New proc.
1903 (build_executable_from_specs): Handle rust.
1904 * lib/future.exp (gdb_find_rustc): New proc.
1905 (gdb_default_target_compile): Handle rust.
1906 * gdb.rust/expr.exp: New file.
1907 * gdb.rust/generics.exp: New file.
1908 * gdb.rust/generics.rs: New file.
1909 * gdb.rust/methods.exp: New file.
1910 * gdb.rust/methods.rs: New file.
1911 * gdb.rust/modules.exp: New file.
1912 * gdb.rust/modules.rs: New file.
1913 * gdb.rust/simple.exp: New file.
1914 * gdb.rust/simple.rs: New file.
1915
1916 2016-05-17 Tom Tromey <tom@tromey.com>
1917
1918 * gdb.base/default.exp (set language): Add rust.
1919
1920 2016-05-17 Tom Tromey <tom@tromey.com>
1921
1922 * gdb.gdb/unittest.exp: New file.
1923
1924 2016-05-16 Yao Qi <yao.qi@linaro.org>
1925
1926 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1927 shell_prompt. Update shell_prompt_re.
1928
1929 2016-05-12 Doug Evans <dje@google.com>
1930
1931 PR symtab/19999
1932 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1933 $options when building executable.
1934 * gdb.dwarf2/fission-loclists-pie.S: New file.
1935 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1936
1937 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1938
1939 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1940 of [is_remote target],
1941
1942 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1943
1944 * lib/gdb.exp (use_gdb_stub): New procedure.
1945
1946 2016-05-03 Yunlian Jiang <yunlian@google.com>
1947 Doug Evans <dje@google.com>
1948
1949 PR symtab/19914
1950 * gdb.dwarf2/dwp-sepdebug.c: New file.
1951 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1952
1953 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1954
1955 * gdb.base/detach.exp: Remove is_remote check.
1956
1957 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1958
1959 * gdb.base/annota-input-while-running.exp: Don't check for
1960 [is_remote target]. Enable annotations after running to main.
1961 Remove unused "set test..." line.
1962
1963 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1964
1965 * gdb.trace/trace-enable-disable.exp: New file.
1966 * gdb.trace/trace-enable-disable.c: New file.
1967
1968 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1969
1970 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1971 use it in info sharedlibrary test.
1972 * gdb.trace/ftrace-lock.exp: Likewise.
1973 * gdb.trace/ftrace.exp: Likewise.
1974 * gdb.trace/range-stepping.exp: Likewise.
1975 * gdb.trace/trace-break.exp: Likewise.
1976 * gdb.trace/trace-condition.exp: Likewise.
1977 * gdb.trace/trace-mt.exp: Likewise.
1978
1979 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1980
1981 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1982 (gdb_load_shlib): ... this.
1983 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1984 gdb_load_shlib.
1985 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1986 * gdb.base/ctxobj.exp: Likewise.
1987 * gdb.base/dprintf-pending.exp: Likewise.
1988 * gdb.base/dso2dso.exp: Likewise.
1989 * gdb.base/fixsection.exp: Likewise.
1990 * gdb.base/gcore-relro.exp: Likewise.
1991 * gdb.base/gdb1555.exp: Likewise.
1992 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1993 * gdb.base/gnu-ifunc.exp: Likewise.
1994 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1995 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1996 * gdb.base/pending.exp: Likewise.
1997 * gdb.base/print-file-var.exp: Likewise.
1998 * gdb.base/print-symbol-loading.exp: Likewise.
1999 * gdb.base/shlib-call.exp: Likewise.
2000 * gdb.base/shreloc.exp: Likewise.
2001 * gdb.base/so-impl-ld.exp: Likewise.
2002 * gdb.base/solib-disc.exp: Likewise.
2003 * gdb.base/solib-nodir.exp: Likewise.
2004 * gdb.base/solib-overlap.exp: Likewise.
2005 * gdb.base/solib-symbol.exp: Likewise.
2006 * gdb.base/solib-weak.exp (do_test): Likewise.
2007 * gdb.base/sym-file.exp: Likewise.
2008 * gdb.base/symtab-search-order.exp: Likewise.
2009 * gdb.base/type-opaque.exp: Likewise.
2010 * gdb.base/unload.exp: Likewise.
2011 * gdb.base/watchpoint-solib.exp: Likewise.
2012 * gdb.compile/compile.exp: Likewise.
2013 * gdb.cp/gdb2384.exp: Likewise.
2014 * gdb.cp/infcall-dlopen.exp: Likewise.
2015 * gdb.cp/re-set-overloaded.exp: Likewise.
2016 * gdb.fortran/library-module.exp: Likewise.
2017 * gdb.opt/solib-intra-step.exp: Likewise.
2018 * gdb.python/py-finish-breakpoint.exp: Likewise.
2019 * gdb.python/py-shared.exp: Likewise.
2020 * gdb.reverse/solib-precsave.exp: Likewise.
2021 * gdb.reverse/solib-reverse.exp: Likewise.
2022 * gdb.server/solib-list.exp: Likewise.
2023 * gdb.threads/dlopen-libpthread.exp: Likewise.
2024 * gdb.threads/tls-shared.exp: Likewise.
2025 * gdb.threads/tls-so_extern.exp: Likewise.
2026 * gdb.trace/change-loc.exp: Likewise.
2027 * gdb.trace/ftrace-lock.exp: Likewise.
2028 * gdb.trace/ftrace.exp: Likewise.
2029 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2030 * gdb.trace/pending.exp: Likewise.
2031 * gdb.trace/range-stepping.exp: Likewise.
2032 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2033 (strace_info_marker): Likewise.
2034 (strace_probe_marker): Likewise.
2035 (strace_trace_on_same_addr): Likewise.
2036 (strace_trace_on_diff_addr): Likewise.
2037 * gdb.trace/trace-break.exp: Likewise.
2038 * gdb.trace/trace-condition.exp: Likewise.
2039 * gdb.trace/trace-mt.exp: Likewise.
2040
2041 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2042
2043 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2044 result of gdb_remote_download.
2045 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2046 * gdb.base/dso2dso.exp: Likewise.
2047 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2048 * gdb.base/print-file-var.exp: Likewise.
2049 * gdb.base/shlib-call.exp: Likewise.
2050 * gdb.base/shreloc.exp: Likewise.
2051 * gdb.base/solib-overlap.exp: Likewise.
2052 * gdb.base/solib-weak.exp (do_test): Likewise.
2053 * gdb.base/unload.exp: Likewise.
2054
2055 2016-04-27 Yao Qi <yao.qi@linaro.org>
2056
2057 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2058 exists.
2059
2060 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2061
2062 * vla-type.exp: Print structure from toplevel.
2063
2064 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2065
2066 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2067 of dynamic types.
2068 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2069 of dynamic types.
2070
2071 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2072
2073 * gdb.fortran/vla-type.f90: New file.
2074 * gdb.fortran/vla-type.exp: New file.
2075
2076 2016-04-25 Yao Qi <yao.qi@linaro.org>
2077
2078 * gdb.base/branch-to-self.c: New file.
2079 * gdb.base/branch-to-self.exp: New file.
2080
2081 2016-04-22 Yao Qi <yao.qi@linaro.org>
2082
2083 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2084 more after $hex.
2085
2086 2016-04-22 Yao Qi <yao.qi@linaro.org>
2087
2088 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2089 * gdb.base/annota3.exp: Likewise.
2090
2091 2016-04-22 Yao Qi <yao.qi@linaro.org>
2092
2093 * gdb.reverse/step-precsave.exp: Do one step and test program
2094 stops in "callee" and do multiple steps until program goes out
2095 of "callee".
2096 * gdb.reverse/step-reverse.exp: Likewise.
2097
2098 2016-04-22 Yao Qi <yao.qi@linaro.org>
2099
2100 * gdb.trace/signal.exp: Also pass if
2101 $tracepoint_hits($i) > $iterations.
2102
2103 2016-04-22 Yao Qi <yao.qi@linaro.org>
2104
2105 * gdb.trace/signal.c: New file.
2106 * gdb.trace/signal.exp: New file.
2107
2108 2016-04-19 Doug Evans <xdje42@gmail.com>
2109
2110 * gdb.base/bad-file.exp: New file.
2111
2112 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2113
2114 * gdb.dwarf2/implref.exp: New file.
2115
2116 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2117
2118 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2119 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2120 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2121 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2122 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2123 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2124 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2125 * lib/fortran.exp (fortran_int4): New procedure.
2126 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2127 (fortran_logical4): Likewise.
2128
2129 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2130
2131 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2132
2133 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2134
2135 * lib/compiler.c: Add Intel specific preprocessor macros.
2136 * lib/compiler.cc: Likewise.
2137
2138 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2139
2140 * gdb.server/connect-with-no-symbol-file.c: New file.
2141 * gdb.server/connect-with-no-symbol-file.exp: New file.
2142
2143 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2144
2145 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2146
2147 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2148
2149 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2150 standard output directory.
2151
2152 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2153
2154 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2155
2156 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2157
2158 * gdb.btrace/instruction_history.c (loop): Add declaration.
2159
2160 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2161
2162 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2163
2164 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2165
2166 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2167 parentheses to print.
2168 (continue_handler): Likewise.
2169
2170 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2171
2172 * gdb.server/solib-list.exp: Remove is_remote check.
2173 Pass shlib= to gdb_compile. Don't link shared library with
2174 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2175 Run binary filename through "readlink -f" on the target.
2176
2177 2016-04-08 Pedro Alves <palves@redhat.com>
2178
2179 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2180 interpreter filename as argument to gdbserver_spawn.
2181 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2182 Return empty if $last_loaded_file does not exist.
2183
2184 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2185
2186 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2187 * gdb.base/jit-main.c: Use exit after usage.
2188
2189 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2190
2191 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2192 GDBHISTSIZE prior to the tests.
2193 * gdb.base/gdbinit-history.exp: Likewise.
2194
2195 2016-04-07 Pedro Alves <palves@redhat.com>
2196
2197 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2198 instead of build_executable. Use gdb_load_shlibs.
2199
2200 2016-04-07 Yao Qi <yao.qi@linaro.org>
2201
2202 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2203 Execute "si" command.
2204
2205 2016-04-07 Yao Qi <yao.qi@linaro.org>
2206
2207 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2208 number instead of the comments on some line.
2209
2210 2016-04-06 Don Breazeal <donb@codesourcery.com>
2211
2212 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2213 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2214
2215 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2216
2217 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2218 standard_output_file. Remove unused binfile variable.
2219
2220 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
2221
2222 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2223 * gdb.python/py-mi-objfile.exp: Match "list main" output
2224 in console format.
2225
2226 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2227
2228 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2229 absolute.
2230
2231 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2232
2233 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2234 absolute.
2235 * gdb.trace/ftrace.exp: Likewise.
2236 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2237 targets as well.
2238 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2239 (gdb_load_shlibs): Copy libraries to test directory when testing
2240 natively. Only set solib-search-path if testing remotely.
2241 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2242
2243 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2244
2245 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2246 gdb_download. Use it even if the target is not remote.
2247 * gdb.base/jit.exp (compile_jit_test): Likewise.
2248 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2249 output directory if the destination board is local, otherwise use
2250 the standard remote_download from DejaGnu.
2251 (gdb_download): Remove.
2252 (gdb_load_shlibs): Use gdb_remote_download instead of
2253 gdb_download.
2254 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2255 Use gdb_remote_download instead of gdb_download. Use it even if
2256 the target is not remote.
2257 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2258 instead of gdb_download.
2259
2260 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2261
2262 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2263 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2264 run.
2265
2266 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
2267
2268 PR gdb/19820
2269 * gdb.base/printcmds.exp: Add artificial arrays tests.
2270
2271 2016-03-31 Pedro Alves <palves@redhat.com>
2272
2273 PR gdb/19858
2274 * gdb.base/jit-main.c: Include unistd.h.
2275 (ATTACH): Define to 0 if not already defined.
2276 (wait_for_gdb, mypid): New globals.
2277 (WAIT_FOR_GDB): New macro.
2278 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2279 some breakpoint locations.
2280 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2281 New procedures.
2282 (one_jit_test): Add REATTACH parameter, and handle it. Use
2283 continue_to_test_location.
2284 (top level): Test attach, and adjusts calls to one_jit_test.
2285
2286 2016-03-31 Pedro Alves <palves@redhat.com>
2287
2288 PR gdb/19858
2289 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2290 BINSUFFIX parameter, and handle it.
2291 (top level): Adjust calls compile_jit_test.
2292
2293 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
2294
2295 PR python/19743
2296 * gdb.python/py-mi-events-gdb.py: New file.
2297 * gdb.python/py-mi-events.c: New file.
2298 * gdb.python/py-mi-events.exp: New file.
2299
2300 2016-03-30 Yao Qi <yao.qi@linaro.org>
2301
2302 * gdb.reverse/until-precsave.exp: Match function name only.
2303 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2304 Move malloc to a condition block.
2305 * gdb.reverse/until-reverse.exp: Match function name only.
2306
2307 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2308
2309 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2310 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2311 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2312 variable for GPR 0 instead of assuming it is register 0.
2313 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2314 * lib/trace-support.exp: Add s390 registers.
2315
2316 2016-03-29 Yao Qi <yao.qi@linaro.org>
2317
2318 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2319
2320 2016-03-24 Yao Qi <yao.qi@linaro.org>
2321
2322 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2323 test message.
2324
2325 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2326
2327 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2328 maintaining separate logic for constructing the output path.
2329
2330 2016-03-16 Don Breazeal <donb@codesourcery.com>
2331
2332 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2333 Retry fork and waitpid on interrupted system call errors.
2334 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2335 Use with_timeout_factor to increase timeout by factor of 10.
2336
2337 2016-03-15 Don Breazeal <donb@codesourcery.com>
2338
2339 * gdb.cp/scope-err.cc: New test program.
2340 * gdb.cp/scope-err.exp: New test script.
2341 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2342 lines and "set breakpoint here" comment.
2343 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2344 Fixed some whitespace and format issues.
2345 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2346 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2347
2348 2016-03-15 Doug Evans <dje@google.com>
2349
2350 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2351 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2352 All callers updated. Add tests for enums, mixed flags register.
2353
2354 2016-03-15 Doug Evans <dje@google.com>
2355
2356 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2357 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2358
2359 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2360
2361 * gdb.base/default.exp: Add $_as_string to the list of expected
2362 convenience functions.
2363
2364 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2365
2366 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2367
2368 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2369
2370 * gdb.python/py-as-string.exp: New file.
2371 * gdb.python/py-as-string.c: New file.
2372
2373 2016-03-09 Pedro Alves <palves@redhat.com>
2374
2375 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2376 signal" -> "Thread NN received signal" output change.
2377 * gdb.threads/ia64-sigill.exp: Likewise.
2378 * gdb.threads/linux-dp.exp: Likewise.
2379 * gdb.threads/manythreads.exp: Likewise.
2380 * gdb.threads/pending-step.exp: Likewise.
2381 * gdb.threads/print-threads.exp: Likewise.
2382 * gdb.threads/sigstep-threads.exp: Likewise.
2383 * gdb.threads/staticthreads.exp: Likewise.
2384 * gdb.threads/tls.exp: Likewise.
2385
2386 2016-03-09 Pedro Alves <palves@redhat.com>
2387
2388 * gdb.base/command-line-input.exp: New file.
2389
2390 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2391
2392 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2393 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2394 * gdb.trace/pending.exp: Accept leading dot before function name.
2395 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2396 * lib/trace-support.exp: Set registers for ppc.
2397
2398 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2399
2400 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2401 use it for disassembly; accept .main in addition to main in backtrace.
2402
2403 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2404 Marcin Kościelnicki <koriakin@0x04.net>
2405
2406 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2407 (gdb_recursion_test_ptr): New global variable.
2408 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2409 gdb_recursion_test.
2410 (gdb_c_test): Ditto.
2411
2412 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2413
2414 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2415 ordering.
2416
2417 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2418
2419 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2420 (bar): Add bar_start_lbl label.
2421 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2422 of foo/bar for emitting DWARF and tracing.
2423
2424 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2425
2426 * analyze-racy-logs.py: Set executable bit.
2427
2428 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2429
2430 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2431 (CHECK_TARGET_TMP): Likewise.
2432 (check-single-racy): New rule.
2433 (check-parallel-racy): Likewise.
2434 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2435 (do-check-parallel-racy): New rule.
2436 (check-racy/%.exp): Likewise.
2437 * README (Racy testcases): New section.
2438 * analyze-racy-logs.py: New file.
2439
2440 2016-03-03 Doug Evans <dje@google.com>
2441
2442 * gdb.base/skip.exp: Use with_test_prefix.
2443
2444 2016-03-03 Yao Qi <yao.qi@linaro.org>
2445
2446 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2447 Invoke step_over_syscall "clone" and break_cond_on_syscall
2448 "clone".
2449 * gdb.base/step-over-clone.c: New file.
2450
2451 2016-03-03 Yao Qi <yao.qi@linaro.org>
2452
2453 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2454 code format.
2455
2456 2016-03-03 Yao Qi <yao.qi@linaro.org>
2457
2458 * gdb.base/disp-step-fork.c: Rename to ...
2459 * gdb.base/step-over-fork.c: ... it. New file.
2460 * gdb.base/disp-step-vfork.c: Rename to ...
2461 * gdb.base/step-over-vfork.c: ... it. New file.
2462 * gdb.base/disp-step-syscall.exp: Rename to ...
2463 * gdb.base/step-over-syscall.exp: ... it. New file.
2464 (disp_step_cross_syscall): Rename to ...
2465 (step_over_syscall): ... it.
2466
2467 2016-03-03 Yao Qi <yao.qi@linaro.org>
2468
2469 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2470 If target supports condition evaluation on target, invoke
2471 break_cond_on_syscall for fork and vfork.
2472
2473 2016-03-03 Yao Qi <yao.qi@linaro.org>
2474
2475 * gdb.base/disp-step-syscall.exp: Don't invoke
2476 support_displaced_stepping.
2477 (disp_step_cross_syscall): Test with displaced stepping off and
2478 on if supported.
2479
2480 2016-03-03 Yao Qi <yao.qi@linaro.org>
2481
2482 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2483 proc.
2484 (setup): New proc.
2485 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2486 and setup.
2487
2488 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2489
2490 * gdb.fortran/vla-history.exp: Remove breakpoint.
2491
2492 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2493
2494 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2495 exceeds timeout.
2496
2497 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2498
2499 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2500 breakpoint.
2501
2502 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2503
2504 * gdb.mi/vla.f90: Nullify pointer after declaration.
2505
2506 2016-03-01 Pedro Alves <palves@redhat.com>
2507
2508 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2509
2510 2016-03-01 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2513 before anything else.
2514 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2515 _GNU_SOURCE here.
2516 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2517 before anything else.
2518 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2519
2520 2016-03-01 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2523
2524 2016-03-01 Yao Qi <yao.qi@linaro.org>
2525
2526 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2527 prepare_for_testing.
2528
2529 2016-03-01 Yao Qi <yao.qi@linaro.org>
2530
2531 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2532
2533 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2534
2535 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2536 manually constructing the output path.
2537
2538 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2539
2540 * gdb.arch/s390-stackless.S: New.
2541 * gdb.arch/s390-stackless.exp: New.
2542
2543 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2544
2545 * gdb.dlang/circular.c: New file.
2546 * gdb.dlang/circular.exp: New file.
2547
2548 2016-02-26 Yao Qi <yao.qi@linaro.org>
2549
2550 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2551 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2552 (testcases): Update.
2553
2554 2016-02-26 Yao Qi <yao.qi@linaro.org>
2555
2556 * gdb.reverse/aarch64.c: Rename to ...
2557 * gdb.reverse/insn-reverse.c: ... it.
2558 * gdb.reverse/aarch64.exp: Rename to ...
2559 * gdb.reverse/insn-reverse.exp: ... it.
2560
2561 2016-02-26 Yao Qi <yao.qi@linaro.org>
2562
2563 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2564 (testcase_ftype): New.
2565 (testcases): New array.
2566 (n_testcases): New.
2567 (main): Call each element in testcases.
2568 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2569 (read_testcase): New.
2570 Do the tests in a loop.
2571
2572 2016-02-25 Yao Qi <yao.qi@linaro.org>
2573
2574 * gdb.base/branches.c: Remove.
2575
2576 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2577
2578 PR gdb/13808
2579 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2580
2581 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2582
2583 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2584
2585 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2586
2587 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2588 change x86_64 call_insn to 'callq'.
2589
2590 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2591
2592 * gdb.trace/tfile-avx.c: Move to...
2593 * gdb.trace/tracefile-pseudo-reg.c: Here.
2594 * gdb.trace/tfile-avx.exp: Move to...
2595 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2596
2597 2016-02-24 Gary Benson <gbenson@redhat.com>
2598
2599 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2600 message on attach.
2601
2602 2016-02-23 Doug Evans <dje@google.com>
2603
2604 * gdb.base/skip.c (test_skip): New function.
2605 (end_test_skip_file_and_function): New function.
2606 (test_skip_file_and_function): New function.
2607 * gdb.base/skip1.c (test_skip): New function.
2608 (skip1_test_skip_file_and_function): New function.
2609 * gdb.base/skip.exp: Add tests for new skip options.
2610 * gdb.base/skip-solib.exp: Update expected output.
2611 * gdb.perf/skip-command.cc: New file.
2612 * gdb.perf/skip-command.exp: New file.
2613 * gdb.perf/skip-command.py: New file.
2614
2615 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2616
2617 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2618 info registers pattern.
2619
2620 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2621
2622 * lib/future.exp: Add D support.
2623 (gdb_find_gdc): New proc.
2624 (gdb_default_target_compile): Add D support.
2625
2626 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
2627
2628 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2629 user+system time.
2630 (trace_speed_test): Determine the iteration count for a time
2631 between 15..30 seconds.
2632
2633 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2634
2635 * gdb.arch/i386-mpx-sigsegv.c: New file.
2636 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2637 * gdb.arch/i386-mpx-simple_segv.c: New file.
2638 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2639
2640 2016-02-18 Yao Qi <yao.qi@linaro.org>
2641
2642 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2643 Don't call setup_kfail.
2644
2645 2016-02-18 Yao Qi <yao.qi@linaro.org>
2646
2647 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2648 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2649
2650 2016-02-16 Doug Evans <dje@google.com>
2651
2652 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2653 * gdb.base/skip1.c: Ditto.
2654 * gdb.base/skip.exp: Whitespace cleanup.
2655
2656 2016-02-16 Don Breazeal <donb@codesourcery.com>
2657
2658 PR remote/19496
2659 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2660 Remove kfail for PR remote/19496.
2661
2662 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2663
2664 * lib/gdb.exp (standard_temp_file): Return a path specific to
2665 the runtest invocation.
2666
2667 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2668
2669 * gdb.trace/save-trace.exp: Change relative path to be in the
2670 standard output directory.
2671
2672 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2673
2674 * gdb.arch/i386-prologue.c: Add missing prototypes.
2675
2676 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2677
2678 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2679 * gdb.arch/i386-prologue.exp: Likewise.
2680 * gdb.arch/i386-size.exp: Likewise.
2681
2682 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2683
2684 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2685 define object file path.
2686 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2687 file path.
2688 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2689 standard_output_file to define binfile.
2690
2691 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2692
2693 Fix compatibility with recent gfortran-5.3.1.
2694 * gdb.fortran/vla-history.exp (print vla1 allocated)
2695 (print vla2 allocated, print $2, print $3): Remove
2696 (print $4): Rename to ...
2697 (print $2): ... here.
2698 (print $9): Rename to ...
2699 (print $5): ... here.
2700 (print $10): Rename to ...
2701 (print $6): ... here.
2702 * gdb.fortran/vla.f90: Add pvla initialization.
2703
2704 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2705
2706 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2707 New test.
2708 * gdb.fortran/vla-value-sub.exp: Likewise.
2709
2710 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2711
2712 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2713
2714 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2715
2716 * i386-biarch-core.exp: Define corefile using
2717 standard_output_file.
2718
2719 2016-02-12 Yao Qi <yao.qi@linaro.org>
2720
2721 * gdb.arch/arm-single-step-kernel-helper.c: New.
2722 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2723
2724 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2725
2726 * gdb.btrace/tailcall-only.exp: New.
2727 * gdb.btrace/tailcall-only.c: New.
2728 * gdb.btrace/x86_64-tailcall-only.S: New.
2729 * gdb.btrace/i686-tailcall-only.S: New.
2730
2731 2016-02-11 Pedro Alves <palves@redhat.com>
2732
2733 * README (Parallel testing): Add missing double quotes.
2734
2735 2016-02-11 Pedro Alves <palves@redhat.com>
2736
2737 * README (Parallel testing): New section.
2738 (GDB_PARALLEL): Rewrite.
2739 (FORCE_PARALLEL): Document.
2740
2741 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2742
2743 * gdb.trace/tfile-avx.c: New test.
2744 * gdb.trace/tfile-avx.exp: New test.
2745
2746 2016-02-09 Keith Seitz <keiths@redhat.com>
2747
2748 PR breakpoints/19546
2749 * gdb.base/infcall-exec.c: New file.
2750 * gdb.base/infcall-exec2.c: New file.
2751 * gdb.base/infcall-exec.exp: New file.
2752
2753 2016-02-09 Keith Seitz <keiths@redhat.com>
2754
2755 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2756 (toplevel): Call test_bkpt_address.
2757
2758 2016-02-09 Keith Seitz <keiths@redhat.com>
2759
2760 PR python/19506
2761 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2762 (toplevel): Call test_bkpt_address.
2763
2764 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2765
2766 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2767 to AC_OUTPUT.
2768 * configure: Regenerate.
2769
2770 2016-02-09 Pedro Alves <palves@redhat.com>
2771
2772 PR breakpoints/19548
2773 * gdb.base/execl-update-breakpoints.c (some_function): New
2774 function.
2775 (main): Call it.
2776 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2777 Tighten expected GDB output.
2778
2779 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2780
2781 * Makefile.in (ALL_SUBDIRS): Remove.
2782 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2783 (distclean maintainer-clean realclean): Likewise.
2784 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2785 * configure: Regenerate.
2786 * gdb.ada/Makefile.in: Delete.
2787 * gdb.arch/Makefile.in: Likewise.
2788 * gdb.asm/Makefile.in: Likewise.
2789 * gdb.base/Makefile.in: Likewise.
2790 * gdb.btrace/Makefile.in: Likewise.
2791 * gdb.cell/Makefile.in: Likewise.
2792 * gdb.compile/Makefile.in: Likewise.
2793 * gdb.cp/Makefile.in: Likewise.
2794 * gdb.disasm/Makefile.in: Likewise.
2795 * gdb.dlang/Makefile.in: Likewise.
2796 * gdb.dwarf2/Makefile.in: Likewise.
2797 * gdb.fortran/Makefile.in: Likewise.
2798 * gdb.gdb/Makefile.in: Likewise.
2799 * gdb.go/Makefile.in: Likewise.
2800 * gdb.guile/Makefile.in: Likewise.
2801 * gdb.java/Makefile.in: Likewise.
2802 * gdb.linespec/Makefile.in: Likewise.
2803 * gdb.mi/Makefile.in: Likewise.
2804 * gdb.modula2/Makefile.in: Likewise.
2805 * gdb.multi/Makefile.in: Likewise.
2806 * gdb.objc/Makefile.in: Likewise.
2807 * gdb.opencl/Makefile.in: Likewise.
2808 * gdb.opt/Makefile.in: Likewise.
2809 * gdb.pascal/Makefile.in: Likewise.
2810 * gdb.perf/Makefile.in: Likewise.
2811 * gdb.python/Makefile.in: Likewise.
2812 * gdb.reverse/Makefile.in: Likewise.
2813 * gdb.server/Makefile.in: Likewise.
2814 * gdb.stabs/Makefile.in: Likewise.
2815 * gdb.threads/Makefile.in: Likewise.
2816 * gdb.trace/Makefile.in: Likewise.
2817 * gdb.xml/Makefile.in: Likewise.
2818 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2819 GDB_PARALLEL.
2820 (standard_output_file): Remove check for GDB_PARALLEL, always
2821 return path in outputs/$subdir/$testname.
2822
2823 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2824
2825 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2826 (site.exp): Assign abs_srcdir to tcl's srcdir.
2827
2828 2016-02-04 Yao Qi <yao.qi@linaro.org>
2829
2830 * gdb.base/foll-exec-mode.c: Include limits.h.
2831 (main): Add parameters argc and argv. Get directory from
2832 argv[0].
2833 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2834 compilation.
2835 * gdb.base/foll-exec.c: Include limits.h.
2836 (main): Add parameters argc and argv.
2837 Get directory from argv[0].
2838 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2839 Adjust tests on the number of lines as source code changed.
2840 * gdb.base/foll-vfork-exit.c: Include limits.h.
2841 (main): Add one line of statement before vfork.
2842 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2843 (main): Add parameters argc and argv. Get directory from
2844 argv[0].
2845 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2846 (setup_gdb): Set tbreak to skip some source lines.
2847 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2848 (main): Add parameters argc and argv. Get directory from
2849 argv[0].
2850 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2851 compilation.
2852 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2853 (main): Add parameters argc and argv. Get directory from
2854 argv[0].
2855 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2856 compilation.
2857
2858 2016-02-01 Doug Evans <dje@google.com>
2859
2860 * gdb.base/skip.exp: Clean up multiple references to same test name.
2861
2862 2016-02-01 Pedro Alves <palves@redhat.com>
2863
2864 PR remote/19496
2865 * gdb.threads/forking-threads-plus-breakpoint.exp
2866 (displaced_stepping_supported): New global.
2867 (probe_displaced_stepping_support): New procedure.
2868 (do_test): Add 'displaced' parameter, and use it.
2869 (top level): Check for displaced stepping support. Add displaced
2870 stepping on/off testing axis.
2871
2872 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2873
2874 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2875 pointer. Don't perform further tests on the unassociated pointer
2876 if the first test fails.
2877
2878 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2879
2880 * gdb.base/max-value-size.c: New file.
2881 * gdb.base/max-value-size.exp: New file.
2882 * gdb.base/huge.exp: Disable max-value-size for this test.
2883
2884 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2885
2886 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2887
2888 2016-01-28 Yao Qi <yao.qi@linaro.org>
2889
2890 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2891
2892 2016-01-25 Pedro Alves <palves@redhat.com>
2893
2894 PR threads/19461
2895 * gdb.base/fork-running-state.c: New file.
2896 * gdb.base/fork-running-state.exp: New file.
2897
2898 2016-01-25 Pedro Alves <palves@redhat.com>
2899
2900 PR gdb/19494
2901 * gdb.base/catch-fork-kill.c: New file.
2902 * gdb.base/catch-fork-kill.exp: New file.
2903
2904 2016-01-25 Pedro Alves <palves@redhat.com>
2905
2906 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2907 Delete, moved to lib/gdb.exp.
2908 * gdb.threads/forking-threads-plus-breakpoint.exp
2909 (foreach_with_prefix): Likewise.
2910 * gdb.threads/process-dies-while-handling-bp.exp
2911 (foreach_with_prefix): Likewise.
2912 * lib/gdb.exp (foreach_with_prefix): New procedure.
2913
2914 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2915
2916 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2917 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2918
2919 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2920
2921 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2922 endian targets.
2923
2924 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2925 Pedro Alves <palves@redhat.com>
2926
2927 Fix testsuite compatibility with Guile.
2928 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2929 number.
2930
2931 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2932
2933 Fix testsuite compatibility with Guile.
2934 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2935 (thread 1): New test for backtrace through signal handler.
2936
2937 2016-01-22 Yao Qi <yao.qi@linaro.org>
2938
2939 PR testsuite/19491
2940 * gdb.base/multi-forks.c: Include
2941 ../lib/unbuffer_output.c
2942 (main): Call gdb_unbuffer_output.
2943
2944 2016-01-21 Doug Evans <dje@google.com>
2945
2946 * lib/ada.exp (gdb_compile_ada): Fix typo.
2947
2948 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2949
2950 * gdb.base/break-fun-addr.exp: New file.
2951 * gdb.base/break-fun-addr1.c: New file.
2952 * gdb.base/break-fun-addr2.c: New file.
2953
2954 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2955
2956 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2957 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2958 enum flag values.
2959
2960 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2961
2962 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2963 when GDB can not set the vector return value. Add more comments
2964 for clarification.
2965
2966 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2967
2968 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2969 command.
2970
2971 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2972
2973 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2974
2975 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2976
2977 * Makefile.in (check-single): Pass --status to runtest.
2978 (check/%.exp): Likewise.
2979
2980 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2981
2982 * Makefile.in (check-parallel): Propagate return code from make
2983 do-check-parallel.
2984
2985 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2986
2987 * gdb.trace/ftrace.exp: Fix expected message on continue.
2988 * gdb.trace/pending.exp: Fix expected message on continue.
2989 * gdb.trace/trace-break.exp: Fix expected message on continue.
2990
2991 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2992
2993 * lib/gdb.exp (gdb_test): Remove unused global references.
2994
2995 2016-01-18 Pedro Alves <palves@redhat.com>
2996
2997 * gdb.base/async-shell.exp: Adjust expected output.
2998 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2999 * gdb.base/siginfo-thread.exp: Adjust expected output.
3000 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3001 * gdb.java/jnpe.exp: Adjust expected output.
3002 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3003 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3004 * gdb.threads/leader-exit.exp: Adjust expected output.
3005 * gdb.threads/manythreads.exp: Adjust expected output.
3006 * gdb.threads/pthreads.exp: Adjust expected output.
3007 * gdb.threads/schedlock.exp: Adjust expected output.
3008 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3009 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3010 expected output.
3011 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3012 output.
3013 * gdb.threads/sigthread.exp: Adjust expected output.
3014 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3015
3016 2016-01-18 Yao Qi <yao.qi@linaro.org>
3017
3018 * gdb.guile/scm-section-script.c: Replace @progbits with
3019 %progbits.
3020 * gdb.python/py-section-script.c: Likewise.
3021
3022 2016-01-15 Pedro Alves <palves@redhat.com>
3023
3024 * gdb.multi/tids.exp: Test star wildcard ranges.
3025
3026 2016-01-15 Pedro Alves <palves@redhat.com>
3027
3028 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3029 command from "thread apply" invocation.
3030 (thr_apply_info_thr_invalid): Default the expected output to the
3031 input tid list.
3032 (top level): Add tests that use convenience variables. Add tests
3033 for "thread apply" with a valid TID list, but missing the command.
3034
3035 2016-01-13 Pedro Alves <palves@redhat.com>
3036
3037 * gdb.base/default.exp: Expect $_gthread as well.
3038 * gdb.multi/tids.exp: Test $_gthread.
3039 * gdb.threads/thread-specific.exp: Test $_gthread.
3040
3041 2016-01-13 Pedro Alves <palves@redhat.com>
3042
3043 * gdb.multi/tids.exp: Test "info threads -gid".
3044
3045 2016-01-13 Pedro Alves <palves@redhat.com>
3046
3047 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3048 Breakpoint.thread.
3049 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3050
3051 2016-01-07 Pedro Alves <palves@redhat.com>
3052
3053 * gdb.base/break.exp: Adjust to output changes.
3054 * gdb.base/hbreak2.exp: Likewise.
3055 * gdb.base/sepdebug.exp: Likewise.
3056 * gdb.base/watch_thread_num.exp: Likewise.
3057 * gdb.linespec/keywords.exp: Likewise.
3058 * gdb.multi/info-threads.exp: Likewise.
3059 * gdb.threads/thread-find.exp: Likewise.
3060 * gdb.multi/tids.c: New file.
3061 * gdb.multi/tids.exp: New file.
3062
3063 2016-01-13 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3066
3067 2016-01-13 Pedro Alves <palves@redhat.com>
3068
3069 * gdb.base/default.exp: Expect $_inferior as well.
3070 * gdb.multi/base.exp: Test $_inferior.
3071
3072 2016-01-13 Pedro Alves <palves@redhat.com>
3073
3074 PR breakpoints/19388
3075 * gdb.base/catch-signal-siginfo-cond.c: New file.
3076 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3077
3078 2016-01-12 Josh Stone <jistone@redhat.com>
3079 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3080
3081 * gdb.base/catch-syscall.c (do_execve): New variable.
3082 (main): Conditionally trigger an execve.
3083 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3084 (test_catch_syscall_execve): New, check entry/return across execve.
3085 (do_syscall_tests): Call test_catch_syscall_execve.
3086
3087 2016-01-12 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.base/random-signal.exp (do_test): New procedure, with body
3090 of testcase moved in.
3091
3092 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3093 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.base/funcargs.exp (finish from indirectly called function):
3096 Reintroduce the case for 'First'.
3097
3098 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3099 Pedro Alves <palves@redhat.com>
3100
3101 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3102 (tcatch_vfork_then_child_follow_exec)
3103 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3104 identification.
3105
3106 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3107
3108 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3109 and repeats to unlimited.
3110 * gdb.python/py-value.exp: Likewise.
3111 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3112 and repeats to unlimited.
3113
3114 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3117 and reordering the functions.
3118 * gdb.multi/hangout.c: Likewise.
3119 * gdb.multi/hello.c: Likewise.
3120
3121 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3122
3123 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3124 absolute.
3125 (SingleStatisticTestResult.report): Use dict.keys instead of
3126 dict.iterkeys.
3127
3128 2016-01-06 Pedro Alves <palves@redhat.com>
3129
3130 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3131
3132 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3133
3134 * gdb.btrace/dlopen.exp: New.
3135 * gdb.btrace/dlopen.c: New.
3136 * gdb.btrace/dlopen-dso.c: New.
3137
3138 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3139
3140 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3141 PATTERN argument is optional.
3142
3143 2015-12-24 Joel Brobecker <brobecker@adacore.com>
3144
3145 * lib/ada.exp (target_compile_ada_from_dir): New function.
3146 (gdb_compile_ada): Reimplement avoiding the use of project files.
3147 * gdb.ada/gnat_ada.gpr: Delete.
3148 * gdb.ada/cond_lang.exp: Adjust test to make path before
3149 filename optional.
3150 * gdb.ada/small_reg_param.exp: Likewise.
3151
3152 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3153
3154 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3155
3156 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3157
3158 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3159 case.
3160
3161 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3162
3163 * gdb.base/break.exp: Remove dead code.
3164 * gdb.base/sepdebug.exp: Likewise.
3165
3166 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3167
3168 * gdb.asm/asm-source.exp: Remove HP-UX references.
3169 * gdb.base/annota1.exp: Likewise.
3170 * gdb.base/annota3.exp: Likewise.
3171 * gdb.base/attach.exp: Likewise.
3172 * gdb.base/bigcore.exp: Likewise.
3173 * gdb.base/break.exp: Likewise.
3174 * gdb.base/call-ar-st.exp: Likewise.
3175 * gdb.base/callfuncs.exp: Likewise.
3176 * gdb.base/catch-fork-static.exp: Likewise.
3177 * gdb.base/display.exp: Likewise.
3178 * gdb.base/foll-exec-mode.exp: Likewise.
3179 * gdb.base/foll-exec.exp: Likewise.
3180 * gdb.base/foll-fork.exp: Likewise.
3181 * gdb.base/foll-vfork.exp: Likewise.
3182 * gdb.base/funcargs.exp: Likewise.
3183 * gdb.base/hbreak2.exp: Likewise.
3184 * gdb.base/inferior-died.exp: Likewise.
3185 * gdb.base/interrupt.exp: Likewise.
3186 * gdb.base/multi-forks.exp: Likewise.
3187 * gdb.base/nodebug.exp: Likewise.
3188 * gdb.base/sepdebug.exp: Likewise.
3189 * gdb.base/solib1.c: Likewise.
3190 * gdb.base/step-test.exp: Likewise.
3191 * gdb.mi/non-stop.c: Likewise.
3192 * gdb.mi/pthreads.c: Likewise.
3193 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3194 * gdb.threads/pthreads.c: Likewise.
3195 * gdb.threads/staticthreads.exp: Likewise.
3196 * lib/future.exp: Likewise.
3197 * lib/gdb.exp: Likewise.
3198 * gdb.base/so-indr-cl.c: Remove.
3199 * gdb.base/so-indr-cl.exp: Likewise.
3200 * gdb.base/solib.c: Likewise.
3201 * gdb.base/solib.exp: Likewise.
3202 * gdb.base/solib2.c: Likewise.
3203
3204 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3205
3206 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3207 * gdb.base/call-ar-st.exp: Likewise.
3208 * gdb.base/callfuncs.exp: Likewise.
3209 * gdb.base/condbreak.exp: Likewise.
3210 * gdb.base/constvars.exp: Likewise.
3211 * gdb.base/hbreak2.exp: Likewise.
3212 * gdb.base/langs.exp: Likewise.
3213 * gdb.base/list.exp: Likewise.
3214 * gdb.base/long_long.exp: Likewise.
3215 * gdb.base/ptype.exp: Likewise.
3216 * gdb.base/scope.exp: Likewise.
3217 * gdb.base/signals.exp: Likewise.
3218 * gdb.base/so-impl-ld.exp: Likewise.
3219 * gdb.base/varargs.exp: Likewise.
3220 * gdb.base/volatile.exp: Likewise.
3221 * gdb.base/whatis.exp: Likewise.
3222 * gdb.cp/cplusfuncs.exp: Likewise.
3223 * gdb.cp/inherit.exp: Likewise.
3224 * gdb.cp/local.exp: Likewise.
3225 * gdb.cp/member-ptr.exp: Likewise.
3226 * gdb.cp/method.exp: Likewise.
3227 * gdb.cp/overload.exp: Likewise.
3228 * gdb.cp/templates.exp: Likewise.
3229 * gdb.stabs/weird.exp: Likewise.
3230 * lib/compiler.c: Likewise.
3231 * lib/compiler.cc: Likewise.
3232 * lib/cp-support.exp: Likewise.
3233 * lib/gdb.exp: Likewise.
3234
3235 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3236
3237 * configure.ac: Remove HP-UX case.
3238 * configure: Regenerate.
3239
3240 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3241
3242 * lib/gdb.exp (gdb_compile): Add function doc.
3243
3244 2015-12-17 Pedro Alves <palves@redhat.com>
3245
3246 PR threads/19354
3247 * gdb.multi/info-threads.exp: New file.
3248
3249 2015-12-15 Yao Qi <yao.qi@linaro.org>
3250
3251 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3252 is aarch64*-*-*.
3253
3254 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3255
3256 * gdb.base/history-duplicates.exp: Skip if no readline support.
3257
3258 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3259
3260 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3261
3262 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3263
3264 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3265
3266 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3267
3268 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3269 ctrl-C if nointerrupts target property is set.
3270 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3271 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3272 * gdb.base/paginate-bg-execution.exp: Likewise.
3273 * gdb.base/paginate-execution-startup.exp: Likewise.
3274 * gdb.base/random-signal.exp: Likewise.
3275 * gdb.base/range-stepping.exp: Likewise.
3276 * gdb.cp/annota2.exp: Likewise.
3277 * gdb.cp/annota3.exp: Likewise.
3278 * gdb.gdb/selftest.exp: Likewise.
3279 * gdb.threads/continue-pending-status.exp: Likewise.
3280 * gdb.threads/leader-exit.exp: Likewise.
3281 * gdb.threads/manythreads.exp: Likewise.
3282 * gdb.threads/pthreads.exp: Likewise.
3283 * gdb.threads/schedlock.exp: Likewise.
3284 * gdb.threads/sigthread.exp: Likewise.
3285
3286 2015-12-11 Don Breazeal <donb@codesourcery.com>
3287
3288 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3289 remote.
3290 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3291 * gdb.base/foll-exec.exp (main): Enable for target remote.
3292 * gdb.base/foll-fork.exp (main): Likewise.
3293 * gdb.base/foll-vfork.exp (main): Likewise.
3294 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3295 (proc continue_to_exit_bp_loc): Use clean_restart.
3296 * gdb.base/pie-execl.exp (main): Disable for target remote.
3297 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3298 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3299 * gdb.threads/execl.exp (main): Likewise.
3300 * gdb.threads/fork-child-threads.exp (main): Likewise.
3301 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3302 remote.
3303 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3304 remote.
3305 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3306 pid.tid style ptids, instead of just tid.
3307 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3308 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3309 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3310 ptids, instead of just tid.
3311
3312 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3313
3314 * gdb.base/list.exp (test_list_forward): Add end of file error
3315 test.
3316 (test_repeat_list_command): Add end of file error test.
3317 (test_list_backwards): Add beginning of file error test.
3318
3319 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3320
3321 * gdb.base/list.exp (test_list_invalid_args): New function,
3322 defined, and called.
3323
3324 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3325
3326 * gdb.base/list.exp (test_list): Make test names unique.
3327
3328 2015-12-11 Yao Qi <yao.qi@linaro.org>
3329
3330 * gdb.base/coremaker2.c: Remove.
3331
3332 2015-12-10 Pedro Alves <palves@redhat.com>
3333
3334 * gdb.multi/base.exp: Remove stale "spaces" references.
3335
3336 2015-12-10 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.multi/base.exp: Don't use nowarnings.
3339 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3340 * gdb.multi/hangout.c: Include stdio.h.
3341 * gdb.multi/hello.c: Include stdlib.h.
3342 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3343 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3344 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3345
3346 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3347
3348 * gdb.dwarf2/dw2-ranges-base.c: New file.
3349 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3350 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3351 support additional line table, and debug ranges generation.
3352 (Dwarf::ranges): New function, generate .debug_ranges.
3353 (Dwarf::lines): Support generating simple line table programs.
3354 (Dwarf::assemble): Initialise new namespace variables.
3355
3356 2015-12-09 Kevin Buettner <kevinb@redhat.com>
3357
3358 * gdb.base/async.exp (proc test_background): Add case for
3359 asynchronous execution not supported.
3360
3361 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
3362
3363 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3364 format and change test names to make them unique.
3365
3366 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3367 Pedro Alves <pedro@redhat.com>
3368
3369 PR gdb/18702
3370 Add checking of floatformats setup on x86_64 hosts.
3371 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3372 (smallval, bigval): New labels/constants.
3373 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3374 float" after loading bigval and smallval.
3375
3376 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3377
3378 * gdb.ada/fun_overload_menu.exp: New testcase.
3379 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3380
3381 2015-12-04 Josh Stone <jistone@redhat.com>
3382
3383 * gdb.base/catch-fork-static.exp: New.
3384
3385 2015-12-03 Yao Qi <yao.qi@linaro.org>
3386
3387 * gdb.base/sizeof.c: Don't include stdio.h and
3388 ../lib/unbuffer_output.c.
3389 (main): New variable 'size' and 'value'. Remove printf and
3390 gdb_unbuffer_output. Assign return value to size and value.
3391 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3392 at the beginning.
3393 (check_sizeof): Check the result by printing variable 'size'.
3394 (check_valueof): Check the result by printing variable 'value'.
3395
3396 2015-12-01 Yao Qi <yao.qi@linaro.org>
3397
3398 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3399 for aarch64*-*-linux* target.
3400
3401 2015-11-30 Pedro Alves <palves@redhat.com>
3402
3403 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3404
3405 2015-11-30 Pedro Alves <palves@redhat.com>
3406
3407 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3408 Handle non-stop mode vCont replies.
3409
3410 2015-11-30 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3413 prepare_for_testing. Start gdb with "set non-stop on" appended to
3414 GDBFLAGS. Lax expected stop output.
3415
3416 2015-11-27 Yao Qi <yao.qi@linaro.org>
3417
3418 * gdb.arch/arm-neon.exp: New.
3419 * gdb.arch/arm-neon.c: New.
3420
3421 2015-11-27 Yao Qi <yao.qi@linaro.org>
3422
3423 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3424
3425 2015-11-27 Yao Qi <yao.qi@linaro.org>
3426
3427 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3428 frames-invalid annotation.
3429
3430 2015-11-27 Yao Qi <yao.qi@linaro.org>
3431
3432 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3433
3434 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3435
3436 * gdb.threads/names.exp: New file.
3437 * gdb.threads/names.c: New file.
3438 * README: Mention gdb,no_thread_names.
3439
3440 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3441
3442 PR 19297
3443 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3444 support" error.
3445
3446 2015-11-24 Pedro Alves <palves@redhat.com>
3447
3448 PR 17539
3449 * gdb.base/display.exp: Expect displays to be sorted in ascending
3450 order. Use multi_line.
3451 * gdb.base/solib-display.exp: Likewise.
3452
3453 2015-11-24 Pedro Alves <palves@redhat.com>
3454
3455 PR 17539
3456 * gdb.base/display.exp: Expect displays to be sorted in ascending
3457 order. Use multi_line.
3458 * gdb.base/solib-display.exp: Likewise.
3459
3460 2015-11-24 Pedro Alves <palves@redhat.com>
3461
3462 PR 17539
3463 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3464 threads in ascending order.
3465 * gdb.base/foll-fork.exp: Likewise.
3466 * gdb.base/foll-vfork.exp: Likewise.
3467 * gdb.base/multi-forks.exp: Likewise.
3468 * gdb.mi/mi-nonstop.exp: Likewise.
3469 * gdb.mi/mi-nsintrall.exp: Likewise.
3470 * gdb.multi/base.exp: Likewise.
3471 * gdb.multi/multi-arch.exp: Likewise.
3472 * gdb.python/py-inferior.exp: Likewise.
3473 * gdb.threads/break-while-running.exp: Likewise.
3474 * gdb.threads/execl.exp: Likewise.
3475 * gdb.threads/gcore-thread.exp: Likewise.
3476 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3477 * gdb.threads/kill.exp: Likewise.
3478 * gdb.threads/linux-dp.exp: Likewise.
3479 * gdb.threads/multiple-step-overs.exp: Likewise.
3480 * gdb.threads/next-bp-other-thread.exp: Likewise.
3481 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3482 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3483 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3484 * gdb.threads/thread-find.exp: Likewise.
3485 * gdb.threads/tls.exp: Likewise.
3486 * lib/mi-support.exp (mi_reverse_list): Delete.
3487 (mi_check_thread_states): No longer reverse list.
3488
3489 2015-11-24 Pedro Alves <palves@redhat.com>
3490
3491 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3492 use lowercase.
3493
3494 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3495
3496 * gdb.trace/actions.c: Include trace-common.h.
3497 (main): Add a location for a fast tracepoint.
3498 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3499 the normal tracepoints.
3500 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3501
3502 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3503
3504 * save-trace.exp: Factor out code to these...
3505 (gdb_save_tracepoints): New.
3506 (gdb_load_tracepoints): New.
3507 (do_save_load_test): New.
3508
3509 2015-11-23 Kevin Buettner <kevinb@redhat.com>
3510
3511 * gdb.base/asmlabel.exp: New test.
3512 * gdb.base/asmlabel.c: New test case.
3513
3514 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3515
3516 * gdb.base/wrong_frame_bt_full-main.c: New file.
3517 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3518 * gdb.base/wrong_frame_bt_full.exp: New file.
3519
3520 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3521
3522 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3523
3524 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3525
3526 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
3527 pstate register when comparing registers values in
3528 sparc64-*-linux-gnu targets to avoid spurious differences.
3529
3530 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3531
3532 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
3533
3534 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3535
3536 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3537 as type argument to gdb_compile.
3538 * gdb.base/nested-subp2.exp: Likewise.
3539 * gdb.base/nested-subp3.exp: Likewise.
3540
3541 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3542
3543 * lib/dwarf.exp (_note): Fix left shift of negative value.
3544 * gdb.trace/trace-condition.exp: Likewise.
3545
3546 2015-11-13 Yao Qi <yao.qi@linaro.org>
3547
3548 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3549 comments about d10v.
3550 (test_scalar_returns): Likewise.
3551 * gdb.base/d10v.ld: Remove.
3552 * gdb.base/overlays.exp: Remove the target triplet checking for
3553 d10v-*-*.
3554 * gdb.base/structs.exp (test_struct_returns): Remove the
3555 comments about d10v.
3556 (test_struct_calls): Likewise.
3557
3558 2015-11-13 Yao Qi <yao.qi@linaro.org>
3559
3560 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3561 * gdb.base/gnu_vector.c: Don't include stdio.h.
3562 (main): Don't print res and call add_some_intvecs.
3563
3564 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3565
3566 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3567 macro.
3568 (func5): Removed.
3569 (func4): Use FAST_TRACEPOINT_LABEL.
3570 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3571 macro.
3572 (func): Removed.
3573 (thread_function): Use FAST_TRACEPOINT_LABEL.
3574 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3575 (func): Remove.
3576 (marker): Use FAST_TRACEPOINT_LABEL.
3577 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3578 (pendfunc1): Remove.
3579 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3580 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3581 (foo): Remove.
3582 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3583 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3584 macro.
3585 (func): Remove.
3586 (marker): Use FAST_TRACEPOINT_LABEL.
3587 * gdb.trace/trace-common.h: New header.
3588 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3589 macro.
3590 (func): Remove.
3591 (marker): Use FAST_TRACEPOINT_LABEL.
3592 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3593 (func): Remove.
3594 (thread_function): Use FAST_TRACEPOINT_LABEL.
3595
3596 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3597
3598 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3599 in front.
3600 * gdb.trace/change-loc.exp: Use global pcreg definition.
3601 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3602 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3603 in front.
3604 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3605 * gdb.trace/pending.exp: Likewise.
3606 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3607 * gdb.trace/trace-break.exp: Likewise.
3608 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3609 in front.
3610 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3611 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3612 in front.
3613 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3614
3615 2015-11-09 Joel Brobecker <brobecker@adacore.com>
3616
3617 * gdb.ada/fin_fun_out: New testcase.
3618
3619 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3620
3621 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3622 value associated with DW_AT_byte_size.
3623 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3624 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3625 DW_AT_upper_bound.
3626
3627 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3628
3629 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3630 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3631 version.
3632 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3633 gdb.dwarf2/dw2-canonicalize-type.exp,
3634 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3635 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3636 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3637 provided by gdb_target_symbol_prefix_flags_asm.
3638 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3639 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3640 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3641 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3642 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3643 macros where needed). Use this macro for symbols which require
3644 the prefix provided by SYMBOL_PREFIX.
3645
3646 2015-11-05 Kevin Buettner <kevinb@redhat.com>
3647
3648 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3649 New procs.
3650 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3651 representing expressions, of more than one list element.
3652 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3653 to prepend linker symbol prefix to f.
3654 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3655 table_1 and table_2.
3656 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3657 Likewise, for f and g.
3658 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3659 for ptr.
3660 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3661 for main.
3662 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3663 table_1_ptr and table_2_ptr.
3664
3665 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3666 Joel Brobecker <brobecker@adacore.com>
3667
3668 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3669
3670 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3671
3672 * gdb.reverse/s390-mvcle.c: New test.
3673 * gdb.reverse/s390-mvcle.exp: New file.
3674 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3675
3676 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3677
3678 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3679
3680 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3681
3682 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3683 reaching marker2.
3684 * gdb.reverse/getresuid-reverse.exp: Likewise.
3685 * gdb.reverse/pipe-reverse.exp: Likewise.
3686 * gdb.reverse/readv-reverse.exp: Likewise.
3687 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3688 * gdb.reverse/time-reverse.exp: Likewise.
3689 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3690
3691 2015-10-30 Yao Qi <yao.qi@linaro.org>
3692
3693 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3694 (empty_cycle): Remove.
3695 (main): Don't call empty_cycle. Don't use watch_count_done.
3696 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3697 empty_cycle. Rewrite the code counting HW watchpoints.
3698
3699 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3700
3701 * gdb.reverse/fstatat-reverse.c: New test.
3702 * gdb.reverse/fstatat-reverse.exp: New file.
3703 * gdb.reverse/getresuid-reverse.c: New test.
3704 * gdb.reverse/getresuid-reverse.exp: New file.
3705 * gdb.reverse/pipe-reverse.c: New test.
3706 * gdb.reverse/pipe-reverse.exp: New file.
3707 * gdb.reverse/readv-reverse.c: New test.
3708 * gdb.reverse/readv-reverse.exp: New file.
3709 * gdb.reverse/recvmsg-reverse.c: New test.
3710 * gdb.reverse/recvmsg-reverse.exp: New file.
3711 * gdb.reverse/time-reverse.c: New test.
3712 * gdb.reverse/time-reverse.exp: New file.
3713 * gdb.reverse/waitpid-reverse.c: New test.
3714 * gdb.reverse/waitpid-reverse.exp: New file.
3715
3716 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3717
3718 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3719
3720 2015-10-26 Doug Evans <dje@google.com>
3721
3722 PR symtab/17391
3723 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3724 * gdb.dwarf2/bad-regnum.c: New file.
3725 * gdb.dwarf2/bad-regnum.exp: New file.
3726
3727 2015-10-26 Doug Evans <dje@google.com>
3728
3729 PR python/18938
3730 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3731 file.
3732
3733 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3734
3735 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3736 for a change by "Mention language in compile error message".
3737
3738 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3739
3740 PR python/18073
3741 * gdb.python/py-type.c (C::a_method): New.
3742 (C::a_const_method): New.
3743 (C::a_static_method): New.
3744 (a_function): New.
3745 * gdb.python/py-type.exp (test_fields): Test getting fields
3746 from function and method.
3747
3748 2015-10-21 Keven Boell <keven.boell@intel.com>
3749
3750 * gdb.fortran/vla-alloc-assoc.exp: New file.
3751 * gdb.fortran/vla-datatypes.exp: New file.
3752 * gdb.fortran/vla-datatypes.f90: New file.
3753 * gdb.fortran/vla-history.exp: New file.
3754 * gdb.fortran/vla-ptype-sub.exp: New file.
3755 * gdb.fortran/vla-ptype.exp: New file.
3756 * gdb.fortran/vla-sizeof.exp: New file.
3757 * gdb.fortran/vla-sub.f90: New file.
3758 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3759 * gdb.fortran/vla-value-sub-finish.exp: New file.
3760 * gdb.fortran/vla-value-sub.exp: New file.
3761 * gdb.fortran/vla-value.exp: New file.
3762 * gdb.fortran/vla-ptr-info.exp: New file.
3763 * gdb.mi/mi-vla-fortran.exp: New file.
3764 * gdb.mi/vla.f90: New file.
3765
3766 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3767
3768 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3769 of hardwired timeout value.
3770
3771 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3772 Pedro Alves <palves@redhat.com>
3773
3774 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3775 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3776
3777 2015-10-19 Josh Stone <jistone@redhat.com>
3778
3779 * gdb.base/catch-syscall.c: Include <sched.h>.
3780 (unknown_syscall): New variable.
3781 (main): Trigger a vfork and an unknown syscall.
3782 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3783 (unknown_syscall_number): Likewise.
3784 (check_call_to_syscall): Accept an optional syscall pattern.
3785 (check_return_from_syscall): Likewise.
3786 (check_continue): Likewise.
3787 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3788 (test_catch_syscall_skipping_return): New test toggling off 'catch
3789 syscall' to step over the syscall return, then toggling back on.
3790 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3791 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3792 (do_syscall_tests): Call test_catch_syscall_without_args and
3793 test_catch_syscall_mid_vfork.
3794 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3795 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3796
3797 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
3798
3799 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3800 print g_vE): Add new pass patterns.
3801 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3802 print various symbol names for vptr fields.
3803
3804 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3805
3806 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3807 results.
3808
3809 2015-10-12 Yao Qi <yao.qi@linaro.org>
3810
3811 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3812
3813 2015-10-12 Yao Qi <yao.qi@linaro.org>
3814
3815 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3816 is aarch64*-*-linux*.
3817
3818 2015-10-12 Yao Qi <yao.qi@linaro.org>
3819
3820 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3821 (can_relocate_bcond_true): ... it.
3822 (can_relocate_bcond_false): New function.
3823 (foo): Likewise.
3824 (can_relocate_bl): Likewise.
3825 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3826 can_relocate_bl.
3827
3828 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3829
3830 * gdb.base/nested-addr.c: New file.
3831 * gdb.base/nested-addr.exp: New testcase.
3832
3833 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3834
3835 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3836 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3837 its output. Ignore the output of "record goto begin" and instead
3838 check that GDB is replaying.
3839
3840 2015-10-09 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3843 (top level): Use it in the run with no args test.
3844
3845 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3846
3847 * gdb.dlang/properties.exp: New file.
3848
3849 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3850
3851 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3852 whether or not address 0x1000 is mapped on the target.
3853
3854 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3855
3856 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3857 build.
3858
3859 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3860
3861 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3862 instruction-history test.
3863
3864 2015-09-28 Doug Evans <dje@google.com>
3865
3866 * gdb.base/gcore.c (array_func): Add reference to static_array.
3867
3868 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3869
3870 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3871 source line.
3872
3873 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3874
3875 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3876 short or char as base type.
3877
3878 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3879
3880 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3881 to allow any size enum.
3882
3883 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3884
3885 * gdb.ada/array_ptr_renaming.exp: New testcase.
3886 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3887 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3888
3889 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3890
3891 * gdb.trace/ftrace-lock.c: New file.
3892 * gdb.trace/ftrace-lock.exp: New file.
3893
3894 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3895
3896 * gdb.arch/insn-reloc.c: New file.
3897 * gdb.arch/ftrace-insn-reloc.exp: New file.
3898
3899 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3900
3901 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3902 instruction.
3903 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3904 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3905 * gdb.trace/range-stepping.c: Likewise.
3906 * gdb.trace/trace-break.c: Likewise.
3907 * gdb.trace/trace-mt.c (thread_function): Likewise.
3908 * gdb.trace/ftrace.c (marker): Likewise.
3909 * gdb.trace/trace-condition.c (marker): Likewise.
3910 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3911 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3912 is_aarch64_target.
3913
3914 2015-09-18 Doug Evans <xdje42@gmail.com>
3915
3916 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3917 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3918
3919 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3920
3921 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3922 the breakpoint.
3923
3924 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3925
3926 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3927 the pending breakpoint. Remove timeout override for "Run till
3928 MI pending breakpoint on pendfunc3 on thread 2" test.
3929
3930 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3931
3932 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3933 filename pattern.
3934
3935 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3936
3937 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3938 in breakpoint filename pattern.
3939
3940 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3941
3942 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3943
3944 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3945
3946 * gdb.linespec/explicit.exp: Check for readline support for
3947 tab-completion tests. Fix obvious typo.
3948
3949 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3950
3951 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3952 and replay.
3953
3954 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3955
3956 * gdb.btrace/non-stop.c: New.
3957 * gdb.btrace/non-stop.exp: New.
3958
3959 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3960 Yao Qi <yao.qi@linaro.org>
3961
3962 * gdb.trace/trace-condition.c: New file.
3963 * gdb.trace/trace-condition.exp: New file.
3964
3965 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3966
3967 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3968 for testing bytecode compilation.
3969
3970 2015-09-16 Pedro Alves <palves@redhat.com>
3971 Sandra Loosemore <sandra@codesourcery.com>
3972
3973 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3974 (SECONDS): Redefine.
3975 (main): Call pthread_kill and alarm early.
3976 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3977 support.
3978 (test): If the target can't hardware step and doesn't support
3979 displaced stepping, increase the timeout.
3980
3981 2015-09-16 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3984 (enable_debug): New procedures.
3985 (test): Use them. Bail out if waiting for threads fails.
3986 (top level): Bail out if a test fails.
3987
3988 2015-09-16 Yao Qi <yao.qi@linaro.org>
3989
3990 * gdb.asm/asm-source.exp: Set asm-arch for
3991 aarch64*-*-* target.
3992 * gdb.asm/aarch64.inc: New file.
3993
3994 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3995
3996 * gdb.ada/array_of_variable_length.exp: New testcase.
3997 * gdb.ada/array_of_variable_length/foo.adb: New file.
3998 * gdb.ada/array_of_variable_length/pck.adb: New file.
3999 * gdb.ada/array_of_variable_length/pck.ads: New file.
4000
4001 2015-09-15 Doug Evans <dje@google.com>
4002
4003 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4004 of function static local variable.
4005
4006 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4007
4008 * gdb.threads/tls-so_extern.exp: New test file.
4009 * gdb.threads/tls-so_extern.c: New test file.
4010 * gdb.threads/tls-so_extern_main.c: New test file.
4011
4012 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4013
4014 * gdb.opt/solib-intra-step-lib.c: New file.
4015 * gdb.opt/solib-intra-step-main.c: New file.
4016 * gdb.opt/solib-intra-step.exp: New file.
4017
4018 2015-09-15 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4021 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4022
4023 2015-09-14 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.base/hook-stop-continue.c: Delete.
4026 * gdb.base/hook-stop-continue.exp: Delete.
4027 * gdb.base/hook-stop-frame.c: Delete.
4028 * gdb.base/hook-stop-frame.exp: Delete.
4029 * gdb.base/hook-stop.c: New file.
4030 * gdb.base/hook-stop.exp: New file.
4031
4032 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4033
4034 * gdb.ada/access_to_packed_array.exp: New testcase.
4035 * gdb.ada/access_to_packed_array/foo.adb: New file.
4036 * gdb.ada/access_to_packed_array/pack.adb: New file.
4037 * gdb.ada/access_to_packed_array/pack.ads: New file.
4038
4039 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4040
4041 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4042 buffer size test.
4043
4044 2015-09-11 Don Breazeal <donb@codesourcery.com>
4045
4046 * gdb.base/foll-exec.c: Add copyright header. Fix
4047 formatting issues.
4048 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4049 (do_exec_tests): Use clean_restart in place of zap_session,
4050 and for test initialization. Fix formatting issues. Use
4051 fail in place of perror.
4052 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4053 an expect statement to match an expression with output from
4054 the program under debug.
4055 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4056 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4057 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4058 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4059 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4060
4061 2015-09-09 Doug Evans <dje@google.com>
4062
4063 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4064
4065 2015-09-09 Doug Evans <dje@google.com>
4066
4067 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4068
4069 2015-09-09 Doug Evans <dje@google.com>
4070
4071 * gdb.base/savedregs.exp: Fix typo.
4072
4073 2015-09-09 Pedro Alves <palves@redhat.com>
4074
4075 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4076
4077 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4078
4079 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4080 command actually switches threads. Give up on remaining
4081 tests if target fails to stop at breakpoint.
4082
4083 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4084
4085 * gdb.ada/funcall_char.exp: New testcase.
4086 * gdb.ada/funcall_char/foo.adb: New file.
4087
4088 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4089
4090 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4091 expected outputs. Add two testcases for completing ambiguous
4092 functions.
4093 * gdb.ada/complete/aux_pck.adb: New file.
4094 * gdb.ada/complete/aux_pck.ads: New file.
4095 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4096 Ambiguous_Func functions.
4097 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4098 * gdb.ada/complete/pck.adb: Likewise.
4099
4100 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4101
4102 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4103 failures to run the test program under GDB.
4104
4105 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4106
4107 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4108 to C.
4109
4110 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4111
4112 * gdb.base/run-after-attach.exp: New test file.
4113 * gdb.base/run-after-attach.c: New test file.
4114
4115 2015-08-26 Don Breazeal <donb@codesourcery.com>
4116
4117 * gdb.base/foll-exec-2.c: New test program.
4118 * gdb.base/foll-exec-2.exp: New test.
4119
4120 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4121
4122 * gdb.base/nested-subp1.exp: New file.
4123 * gdb.base/nested-subp1.c: New file.
4124 * gdb.base/nested-subp2.exp: New file.
4125 * gdb.base/nested-subp2.c: New file.
4126 * gdb.base/nested-subp3.exp: New file.
4127 * gdb.base/nested-subp3.c: New file.
4128
4129 2015-08-24 Pedro Alves <palves@redhat.com>
4130
4131 * gdb.server/connect-without-multi-process.c: New file.
4132 * gdb.server/connect-without-multi-process.exp: New file.
4133
4134 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4135
4136 * gdb.opt/inline-markers.c: Make z int.
4137
4138 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4139
4140 * gdb.opt/inline-markers.c: Make z volatile.
4141
4142 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4143
4144 * gdb.opt/inline-bt.c: New volatile global z.
4145 * gdb.opt/inline-cmds.c: Likewise.
4146 * gdb.opt/inline-locals.c: Likewise.
4147 * gdb.opt/inline-markers.c: New extern global z.
4148 (marker): Use z.
4149 (inline_fn): Likewise.
4150
4151 2015-08-24 Pedro Alves <palves@redhat.com>
4152
4153 * config/m32r-stub.exp: Remove file.
4154 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4155 * gdb.base/call-rt-st.exp: Likewise.
4156 * gdb.base/call-strs.exp: Likewise.
4157 * gdb.base/default.exp: Remove references to h8300-*-hms and
4158 *-*-udi*.
4159 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4160
4161 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4162
4163 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4164 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4165 and "return" use KFAIL when GDB can not read/write the vector
4166 return value.
4167
4168 2015-08-21 Gary Benson <gbenson@redhat.com>
4169
4170 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4171
4172 2015-08-20 Pedro Alves <palves@redhat.com>
4173
4174 * gdb.server/solib-list.exp: No longer expect an interior stop in
4175 non-stop mode.
4176
4177 2015-08-20 Pedro Alves <palves@redhat.com>
4178
4179 * gdb.server/connect-stopped-target.c: New file.
4180 * gdb.server/connect-stopped-target.exp: New file.
4181
4182 2015-08-20 Pedro Alves <palves@redhat.com>
4183
4184 * gdb.dwarf2/comp-unit-lang.exp: New file.
4185 * gdb.dwarf2/comp-unit-lang.c: New file.
4186
4187 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4188
4189 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4190 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4191
4192 2015-08-19 Kevin Buettner <kevinb@redhat.com>
4193
4194 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4195 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4196
4197 2015-08-18 Doug Evans <dje@google.com>
4198 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4199
4200 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4201 skip_python_tests. New arg prompt_regexp.
4202 (skip_python_tests): New function.
4203 * lib/mi-support.exp (mi_skip_python_tests): New function.
4204 * gdb.python/py-mi-objfile-gdb.py: New file.
4205 * gdb.python/py-mi-objfile.c: New file.
4206 * gdb.python/py-mi-objfile.exp: New file.
4207
4208 2015-08-17 Keith Seitz <keiths@redhat.com>
4209
4210 * gdb.linespec/explicit.exp: Move strace test from here ...
4211 * gdb.trace/strace.exp: ... to here.
4212
4213 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4214
4215 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4216 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4217
4218 2015-08-14 Doug Evans <xdje42@gmail.com>
4219
4220 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4221 inferior before selecting a new file.
4222
4223 2015-08-14 Doug Evans <xdje42@gmail.com>
4224
4225 * gdb.mi/mi-disassemble.exp: Update.
4226 * gdb.base/disasm-optim.S: New file.
4227 * gdb.base/disasm-optim.c: New file.
4228 * gdb.base/disasm-optim.h: New file.
4229 * gdb.base/disasm-optim.exp: New file.
4230
4231 2015-08-14 Keith Seitz <keiths@redhat.com>
4232
4233 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4234 "evaluated-by".
4235
4236 2015-08-13 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4239
4240 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4241
4242 * gdb.ada/fun_renaming.exp: New testcase.
4243 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4244 * gdb.ada/fun_renaming/pack.adb: New file.
4245 * gdb.ada/fun_renaming/pack.ads: New file.
4246
4247 2015-08-12 Keith Seitz <keiths@redhat.com>
4248
4249 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4250 gdb_get_line_number.
4251
4252 2015-08-12 Joel Brobecker <brobecker@adacore.com>
4253
4254 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4255 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4256 gdb.base/dso2dso.exp: New files.
4257
4258 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4259 Pedro Alves <palves@redhat.com>
4260 Keith Seitz <keiths@redhat.com>
4261
4262 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4263 GDBFLAGS.
4264
4265 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4266
4267 * gdb.base/gdbhistsize-history.exp
4268 (test_histsize_history_setting): Use save_vars.
4269 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4270 Use save_vars.
4271 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4272 * gdb.base/readline.exp: Use save_vars.
4273
4274 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4275
4276 * lib/gdb.exp (save_vars): New proc.
4277
4278 2015-08-11 Keith Seitz <keiths@redhat.com>
4279
4280 * gdb.base/help.exp: Update help_breakpoint_text.
4281
4282 2015-08-11 Keith Seitz <keiths@redhat.com>
4283
4284 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4285 (at toplevel): Call test_explicit_breakpoints.
4286 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4287 breakpoints.
4288 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4289 breakpoint conditions, "-cond".
4290
4291 2015-08-11 Keith Seitz <keiths@redhat.com>
4292
4293 * gdb.linespec/3explicit.c: New file.
4294 * gdb.linespec/cpexplicit.cc: New file.
4295 * gdb.linespec/cpexplicit.exp: New file.
4296 * gdb.linespec/explicit.c: New file.
4297 * gdb.linespec/explicit.exp: New file.
4298 * gdb.linespec/explicit2.c: New file.
4299 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4300 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4301 before using in the matching pattern.
4302 Clarify that `prefix' is a regular expression.
4303
4304 2015-08-11 Keith Seitz <keiths@redhat.com>
4305
4306 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4307 test.
4308 Add tests for missing ",FMT" and ",".
4309
4310 2015-08-10 Doug Evans <dje@google.com>
4311 Keith Seitz <keiths@redhat.com>
4312
4313 PR gdb/17960
4314 * gdb.base/completion.exp: Add location completer tests.
4315
4316 2015-08-07 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4319 tests here.
4320 (top level): Run do_test with and without displaced stepping.
4321
4322 2015-08-07 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.base/valgrind-disp-step.c: New file.
4325 * gdb.base/valgrind-disp-step.exp: New file.
4326
4327 2015-08-07 Pedro Alves <palves@redhat.com>
4328
4329 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4330 Delete function.
4331 (main): Add alarm. Run an infinite loop instead of calling
4332 wait_threads.
4333 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4334 comment.
4335 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4336 Delete function.
4337 (main): Add alarm. Run an infinite loop instead of calling
4338 wait_threads.
4339 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4340 comment.
4341
4342 2015-08-07 Pedro Alves <palves@redhat.com>
4343
4344 * gdb.base/checkpoint-ns.exp: New file.
4345 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4346 standard_testfile.
4347
4348 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4349
4350 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4351 * gdb.btrace/instruction_history.exp: Update.
4352 * gdb.btrace/tsx.exp: New.
4353 * gdb.btrace/tsx.c: New.
4354
4355 2015-08-06 Pedro Alves <palves@redhat.com>
4356
4357 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4358 increase timeout.
4359 * gdb.reverse/until-precsave.exp: Bump timeouts.
4360
4361 2015-08-06 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4364
4365 2015-08-06 Pedro Alves <palves@redhat.com>
4366
4367 PR gdb/18749
4368 * gdb.threads/process-dies-while-handling-bp.c: New file.
4369 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4370
4371 2015-08-06 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4374 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4375
4376 2015-08-05 Pedro Alves <palves@redhat.com>
4377
4378 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4379 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4380
4381 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4382
4383 * gdb.base/bp-permanent.exp: Report test as unsupported if
4384 the target cannot stop at the permanent breakpoint.
4385
4386 2015-08-03 Doug Evans <dje@google.com>
4387
4388 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4389 10000.
4390
4391 2015-08-03 Doug Evans <dje@google.com>
4392
4393 * Makefile.in (workers/%.worker, build-perf): New rule.
4394 (GDB_PERFTEST_MODE): New variable.
4395 (check-perf): Use it.
4396 (clean): Clean up gdb.perf parallel build subdirs.
4397 * lib/build-piece.exp: New file.
4398 * lib/gdb.exp (make_gdb_parallel_path): New function
4399 (standard_output_file, standard_temp_file): Call it.
4400 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4401 of $GDB_PARALLEL.
4402 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4403
4404 2015-08-03 Doug Evans <dje@google.com>
4405
4406 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4407 (LOG_FILE_NAME): New global.
4408 (TextReporter.__init__): Initialize self.txt_sum.
4409 (TextReporter.report): Add support for multiple data-points.
4410 Move report to perftest.sum, put raw data in perftest.log.
4411 (TextReporter.start): Open sum and log files.
4412 (TextReporter.end): Close sum and log files.
4413 * gdb.perf/lib/perftest/testresult.py
4414 (SingleStatisticTestResult.record): Handle multiple data-points.
4415
4416 2015-07-31 Pedro Alves <palves@redhat.com>
4417
4418 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4419 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4420 kill_wait_spawned_process instead of explicit "kill -9".
4421 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4422 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4423 kill_wait_spawned_process.
4424 * gdb.base/attach-twice.exp: Likewise.
4425 * gdb.base/attach.exp: Likewise.
4426 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4427 gdb_test_multiple.
4428 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4429 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4430 kill_wait_spawned_process.
4431 * gdb.base/valgrind-infcall.exp: Likewise.
4432 * gdb.multi/multi-attach.exp: Likewise.
4433 * gdb.python/py-prompt.exp: Likewise.
4434 * gdb.python/py-sync-interp.exp: Likewise.
4435 * gdb.server/ext-attach.exp: Likewise.
4436 * gdb.threads/attach-into-signal.exp (corefunc): Use
4437 spawn_wait_for_attach, spawn_id_get_pid and
4438 kill_wait_spawned_process.
4439 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4440 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4441 spawn_id_get_pid and kill_wait_spawned_process.
4442 * gdb.threads/attach-stopped.exp (corefunc): Use
4443 spawn_wait_for_attach, spawn_id_get_pid and
4444 kill_wait_spawned_process.
4445 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4446 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4447 kill_wait_spawned_process instead of explicit "kill -9".
4448 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4449 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4450 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4451 processes. Don't map cygwin/windows pids here. Now returns a
4452 spawn id list.
4453
4454 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4455
4456 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4457 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4458 correct patch.
4459
4460 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4461
4462 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4463
4464 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4465
4466 Reapply:
4467 2014-05-21 Mark Wielaard <mjw@redhat.com>
4468
4469 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4470
4471 2015-07-30 Pedro Alves <palves@redhat.com>
4472
4473 * linux-low.c (handle_extended_wait): Set the child's last
4474 reported status to TARGET_WAITKIND_STOPPED.
4475
4476 2015-07-30 Pedro Alves <palves@redhat.com>
4477
4478 PR threads/18600
4479 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4480 only shows inferior 1.
4481
4482 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4483 Pedro Alves <palves@redhat.com>
4484
4485 PR threads/18600
4486 * gdb.threads/fork-plus-threads.c: New file.
4487 * gdb.threads/fork-plus-threads.exp: New file.
4488
4489 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4490
4491 * gdb.base/batch-preserve-term-settings.exp
4492 (test_terminal_settings_preserved_after_cli_exit): Use
4493 send_quit_command.
4494
4495 2015-07-29 Pedro Alves <palves@redhat.com>
4496 Don Breazeal <donb@codesourcery.com>
4497
4498 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4499 output from both inferior_spawn_id and gdb_spawn_id.
4500
4501 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4502
4503 * gdb.threads/attach-into-signal.exp (corefunc): Use
4504 with_test_prefix on nested loops, uniquefying the test messages.
4505
4506 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4507
4508 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4509 commit.
4510
4511 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4512
4513 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4514 New proc.
4515 (test_terminal_settings_preserved_after_sigterm): New test.
4516
4517 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4518
4519 * gdb.base/batch-preserve-term-settings.exp
4520 (test_terminal_settings_preserved_after_cli_exit): New test.
4521
4522 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4523
4524 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4525 manipulation of saved_gdbflags.
4526 (test_terminal_settings_preserved): Remove global declaration of
4527 the unused variable pagination_prompt. Remove manipulation of
4528 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4529 GDBFLAGS.
4530
4531 2015-07-29 Pedro Alves <palves@redhat.com>
4532
4533 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4534
4535 2015-07-29 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4538 at the top.
4539
4540 2015-07-29 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4543 (main): Call gdb_unbuffer_output.
4544 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4545 (main): Call gdb_unbuffer_output.
4546 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4547 (main): Call gdb_unbuffer_output.
4548 * gdb.base/call-strs.exp: Adjust to step over the
4549 gdb_unbuffer_output call.
4550 * gdb.base/catch-gdb-caused-signals.c: Include
4551 "../lib/unbuffer_output.c".
4552 (main): Call gdb_unbuffer_output.
4553 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4554 (main): Call gdb_unbuffer_output.
4555 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4556 (main): Call gdb_unbuffer_output.
4557 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4558 (main): Call gdb_unbuffer_output.
4559 * gdb.base/shlib-call.exp: Adjust to step over the
4560 gdb_unbuffer_output call.
4561 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4562 (main): Call gdb_unbuffer_output.
4563 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4564 (main): Call gdb_unbuffer_output.
4565 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4566 (main): Rename to ...
4567 (test): ... this.
4568 (main): Reimplement.
4569 * gdb.base/varargs.exp: Run to test instead of to main.
4570 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4571 (main): Call gdb_unbuffer_output.
4572
4573 2015-07-29 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4576 factore out from mi_continue_dprintf. For call-style dprintfs,
4577 expect dprintf output out of $inferior_spawn_id.
4578 (mi_continue_dprintf): Use mi_expect_dprintf.
4579 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4580 (main): Call gdb_unbuffer_output.
4581
4582 2015-07-29 Pedro Alves <palves@redhat.com>
4583
4584 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4585 (default_mi_gdb_start): Set inferior_spawn_id instead of
4586 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4587 gdb_spawn_id.
4588 (mi_gdb_test): Always expect inferior output from both
4589 $inferior_spawn_id and $gdb_spawn_id.
4590
4591 2015-07-29 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4594 send_inferior and $inferior_spawn_id.
4595
4596 2015-07-29 Pedro Alves <palves@redhat.com>
4597
4598 * gdb.gdb/complaints.exp (test_initial_complaints)
4599 (test_serial_complaints, test_short_complaints): Use
4600 gdb_test_stdio.
4601 (test_empty_complaint): Handle $inferior_spawn_id !=
4602 $gdb_spawn_id.
4603
4604 2015-07-29 Pedro Alves <palves@redhat.com>
4605
4606 * gdb.base/varargs.exp: Use gdb_test_stdio.
4607
4608 2015-07-29 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4611
4612 2015-07-29 Pedro Alves <palves@redhat.com>
4613
4614 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4615
4616 2015-07-29 Pedro Alves <palves@redhat.com>
4617
4618 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4619 parameter into two new parameters, "inf_result" and "gdb_result".
4620 Expect inferior output and gdb output from $inferior_spawn_id and
4621 $gdb_spawn_id, respectively. Adjust all callers.
4622
4623 2015-07-29 Pedro Alves <palves@redhat.com>
4624
4625 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4626 of gdb_test_sequence.
4627
4628 2015-07-29 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4631 (saw_spurious_output): Expect inferior output from
4632 $inferior_spawn_id. Use gdb_test_stdio.
4633
4634 2015-07-29 Pedro Alves <palves@redhat.com>
4635
4636 * gdb.base/dprintf.exp: Use standard_testfile. Change
4637 prepare_for_testing call.
4638 (srcfile): Don't set.
4639 (restart): New procedure.
4640 (test_dprintf): New procecure, use to continue over dprintfs.
4641 (test_call, test_agent): New procedures, tests moved here.
4642 Restart gdb and recreate dprintfs. Adjust expected output.
4643
4644 2015-07-29 Pedro Alves <palves@redhat.com>
4645
4646 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4647
4648 2015-07-29 Pedro Alves <palves@redhat.com>
4649
4650 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4651
4652 2015-07-29 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4655 gdb_test_stdio.
4656
4657 2015-07-29 Pedro Alves <palves@redhat.com>
4658
4659 * lib/gdb.exp (gdb_test_stdio): New procedure.
4660
4661 2015-07-29 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4664
4665 2015-07-29 Pedro Alves <palves@redhat.com>
4666
4667 * gdb.base/call-signal-resume.exp: Remove check for
4668 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4669 * gdb.base/unwindonsignal.exp: Likewise.
4670 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4671 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4672
4673 2015-07-29 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.base/siginfo-addr.c (pass): New function.
4676 (handler): Call it iff si_addr is correct.
4677 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4678 Set a breakpoint at "pass" and continue to it.
4679
4680 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4681
4682 * gdb.python/py-objfile.exp: Make some tests have unique names.
4683 * gdb.python/py-pp-registration.exp: Likewise.
4684
4685 2015-07-28 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4688
4689 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4690
4691 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4692
4693 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4694
4695 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4696
4697 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4698
4699 * gdb.base/gdb-sigterm-2.exp: New test.
4700
4701 2015-07-25 Doug Evans <xdje42@gmail.com>
4702
4703 Revert:
4704 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4705 (workers/%.worker, build-perf): New rule.
4706 (GDB_PERFTEST_MODE): New variable.
4707 (check-perf): Use it.
4708 (clean): Clean up gdb.perf parallel build subdirs.
4709 * lib/build-piece.exp: New file.
4710 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4711 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4712 name.
4713 (standard_temp_file): Ditto.
4714 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4715 of $GDB_PARALLEL.
4716
4717 2015-07-24 Doug Evans <dje@google.com>
4718
4719 * gdb.perf/lib/perftest/utils.py: New file.
4720 * gdb.perf/gm-hello.cc: New file.
4721 * gdb.perf/gm-pervasive-typedef.cc: New file.
4722 * gdb.perf/gm-pervasive-typedef.h: New file.
4723 * gdb.perf/gm-std.cc: New file.
4724 * gdb.perf/gm-std.h: New file.
4725 * gdb.perf/gm-use-cerr.cc: New file.
4726 * gdb.perf/gm-utils.h: New file.
4727 * gdb.perf/gmonster-null-lookup.py: New file.
4728 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4729 * gdb.perf/gmonster-print-cerr.py: New file.
4730 * gdb.perf/gmonster-ptype-string.py: New file.
4731 * gdb.perf/gmonster-runto-main.py: New file.
4732 * gdb.perf/gmonster-select-file.py: New file.
4733 * gdb.perf/gmonster1-null-lookup.exp: New file.
4734 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4735 * gdb.perf/gmonster1-print-cerr.exp: New file.
4736 * gdb.perf/gmonster1-ptype-string.exp: New file.
4737 * gdb.perf/gmonster1-runto-main.exp: New file.
4738 * gdb.perf/gmonster1-select-file.exp: New file.
4739 * gdb.perf/gmonster1.cc: New file.
4740 * gdb.perf/gmonster1.exp: New file.
4741 * gdb.perf/gmonster2-null-lookup.exp: New file.
4742 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4743 * gdb.perf/gmonster2-print-cerr.exp: New file.
4744 * gdb.perf/gmonster2-ptype-string.exp: New file.
4745 * gdb.perf/gmonster2-runto-main.exp: New file.
4746 * gdb.perf/gmonster2-select-file.exp: New file.
4747 * gdb.perf/gmonster2.cc: New file.
4748 * gdb.perf/gmonster2.exp: New file.
4749
4750 2015-07-24 Doug Evans <dje@google.com>
4751
4752 * gdb.perf/README: New file.
4753 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4754 * lib/gen-perf-test.exp: New file.
4755
4756 2015-07-24 Doug Evans <dje@google.com>
4757
4758 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4759 (PerfTest::startup): New function.
4760 (PerfTest::run): Return result of calling body.
4761 (PerfTest::assemble): Rewrite.
4762 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4763 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4764 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4765 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4766 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4767
4768 2015-07-24 Doug Evans <dje@google.com>
4769
4770 * lib/gdb.exp (clean_restart): Make executable optional.
4771
4772 2015-07-24 Doug Evans <dje@google.com>
4773
4774 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4775 compiler_info references.
4776 * gdb.cp/temargs.exp: Ditto.
4777 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4778 (get_compiler_info): Early exit if already computed. Set compiler_info
4779 to "unknown" if there was a problem.
4780 (test_compiler_info): Add function comment. Call get_compiler_info.
4781
4782 2015-07-24 Doug Evans <dje@google.com>
4783
4784 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4785 (workers/%.worker, build-perf): New rule.
4786 (GDB_PERFTEST_MODE): New variable.
4787 (check-perf): Use it.
4788 (clean): Clean up gdb.perf parallel build subdirs.
4789 * lib/build-piece.exp: New file.
4790 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4791 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4792 name.
4793 (standard_temp_file): Ditto.
4794 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4795 of $GDB_PARALLEL.
4796
4797 2015-07-24 Doug Evans <dje@google.com>
4798
4799 * lib/future.exp (gdb_default_target_compile): New option
4800 "early_flags".
4801 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4802 --as-needed.
4803
4804 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4805
4806 * gdb.base/catch-syscall.exp: Call gdb_exit before
4807 gdb_skip_xml_test.
4808
4809 2015-07-24 Pedro Alves <palves@redhat.com>
4810
4811 * gdb.python/py-events.exp: Accept output between the stop event
4812 and the prompt.
4813 * gdb.python/py-evsignal.exp: Likewise.
4814 * gdb.python/py-evthreads.exp: Likewise.
4815
4816 2015-07-24 Pedro Alves <palves@redhat.com>
4817
4818 PR gdb/18717
4819 * gdb.threads/non-ldr-exit.c: New file.
4820 * gdb.threads/non-ldr-exit.exp: New file.
4821
4822 2015-07-24 Yao Qi <yao.qi@linaro.org>
4823
4824 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4825 restarting process.
4826
4827 2015-07-24 Yao Qi <yao.qi@linaro.org>
4828
4829 * gdb.server/ext-restart.exp: New file.
4830
4831 2015-07-24 Yao Qi <yao.qi@linaro.org>
4832
4833 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4834 argument options.
4835 * gdb.server/ext-wrapper.exp: New file.
4836
4837 2015-07-23 Doug Evans <dje@google.com>
4838
4839 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4840 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4841
4842 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4843
4844 * gdb.ada/var_arr_typedef.exp: New testcase.
4845 * gdb.ada/var_arr_typedef/pack.adb: New file.
4846 * gdb.ada/var_arr_typedef/pack.ads: New file.
4847 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4848
4849 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4850
4851 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4852
4853 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4854
4855 * gdb.arch/i386-biarch-core.exp: Replace istarget
4856 by "complete set gnutarget". Remove expectation for the "core-file"
4857 command.
4858
4859 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4860
4861 Revert the previous commit:
4862 Tests for validate symbol file using build-id.
4863
4864 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4865
4866 Tests for validate symbol file using build-id.
4867 * gdb.base/solib-mismatch-lib.c: New file.
4868 * gdb.base/solib-mismatch-libmod.c: New file.
4869 * gdb.base/solib-mismatch.c: New file.
4870 * gdb.base/solib-mismatch.exp: New file.
4871
4872 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4873
4874 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4875 nios2-*-linux*.
4876 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4877 * gdb.base/siginfo.exp: Likewise.
4878 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4879
4880 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4881
4882 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4883 Move it to ...
4884 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4885 ... here.
4886 * gdb.trace/range-stepping.exp: Check that the target supports
4887 range stepping.
4888
4889 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4892
4893 2015-07-14 Pedro Alves <palves@redhat.com>
4894
4895 * gdb.base/killed-outside.exp: New file.
4896 * gdb.base/killed-outside.c: New file.
4897
4898 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4901 (n at main): New.
4902 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4903
4904 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4905
4906 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4907 infcall tests instead of setting up for KFAIL.
4908
4909 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4910
4911 * gdb.btrace/record_goto-step.exp: New.
4912
4913 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4914
4915 PR compile/18484
4916 * gdb.compile/compile.c (struct struct_type): Add volatile to
4917 selffield's type.
4918 * gdb.compile/compile.exp
4919 (compile code struct_object.selffield = &struct_object): Skip further
4920 struct_object tests if this one xfails.
4921
4922 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4923
4924 PR exp/18617
4925 * gdb.trace/ax.exp: Add test.
4926
4927 2015-07-07 Yao Qi <yao.qi@linaro.org>
4928
4929 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4930 instead of istarget "aarch64*-*-*".
4931 * gdb.arch/aarch64-fp.exp: Likewise.
4932 * gdb.base/float.exp: Likewise.
4933 * gdb.reverse/aarch64.exp: Likewise.
4934 * lib/gdb.exp (is_aarch64_target): New proc.
4935
4936 2015-07-07 Yao Qi <yao.qi@linaro.org>
4937
4938 * lib/gdb.exp (is_aarch32_target): New proc.
4939 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4940 instead of "istarget "arm*-*-*"".
4941 * gdb.arch/arm-disp-step.exp: Likewise.
4942 * gdb.arch/thumb-bx-pc.exp: Likewise.
4943 * gdb.arch/thumb-prologue.exp: Likewise.
4944 * gdb.arch/thumb-singlestep.exp: Likewise.
4945 * gdb.base/disp-step-syscall.exp: Likewise.
4946 * gdb.base/float.exp: Likewise.
4947
4948 2015-07-07 Yao Qi <yao.qi@linaro.org>
4949
4950 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4951 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4952
4953 2015-07-07 Yao Qi <yao.qi@linaro.org>
4954
4955 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4956 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4957 if it exists.
4958 * gdb.multi/multi-arch.exp: Likewise.
4959
4960 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4961
4962 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4963 print.
4964
4965 2015-07-07 Yao Qi <yao.qi@linaro.org>
4966
4967 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4968
4969 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4970
4971 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4972 '[' and ']' characters.
4973
4974 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4975
4976 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4977
4978 2015-06-29 Pedro Alves <palves@redhat.com>
4979
4980 PR threads/18127
4981 * gdb.threads/hand-call-new-thread.c: New file.
4982 * gdb.threads/hand-call-new-thread.c: New file.
4983
4984 2015-06-26 Keith Seitz <keiths@redhat.com>
4985 Doug Evans <dje@google.com>
4986
4987 PR 16253
4988 * gdb.cp/var-tag-2.cc: New file.
4989 * gdb.cp/var-tag-3.cc: New file.
4990 * gdb.cp/var-tag-4.cc: New file.
4991 * gdb.cp/var-tag.cc: New file.
4992 * gdb.cp/var-tag.exp: New file.
4993
4994 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4995
4996 * gdb.base/history-duplicates.exp: New test.
4997
4998 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4999
5000 * gdb.base/completion.exp: Test the completion of the "focus"
5001 command.
5002
5003 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5004
5005 * gdb.arch/amd64-prologue-skip.S: New file.
5006 * gdb.arch/amd64-prologue-skip.exp: New file.
5007
5008 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5009
5010 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5011 is_address_zero_readable check.
5012
5013 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5014
5015 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5016 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5017
5018 2015-06-24 Yao Qi <yao.qi@linaro.org>
5019
5020 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5021 linux targets.
5022
5023 2015-06-24 Yao Qi <yao.qi@linaro.org>
5024
5025 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5026 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5027 * gdb.base/siginfo-thread.exp: Likewise.
5028
5029 2015-06-22 Yao Qi <yao.qi@linaro.org>
5030
5031 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5032
5033 2015-06-22 Yao Qi <yao.qi@linaro.org>
5034
5035 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5036 aarch64*-*-*.
5037 (skip_hw_watchpoint_tests): Likewise.
5038
5039 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5040
5041 * gdb.base/gdbinit-history.exp: Test the interaction between
5042 setting GDBHISTSIZE and setting the history size via .gdbinit.
5043
5044 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5045
5046 PR gdb/16999
5047 * gdb.base/gdbhistsize-history.exp: New test.
5048
5049 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5050
5051 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5052 with GDBHISTSIZE.
5053 * gdb.base/readline.exp: Likewise.
5054
5055 2015-06-17 Yao Qi <yao.qi@linaro.org>
5056
5057 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5058 line.
5059
5060 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5061
5062 * gdb.base/gdbinit-history.exp: Add test case to check that
5063 an unlimited history file does not get truncated on exit.
5064
5065 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5066
5067 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5068 (VECTOR): New macro. Use it...
5069 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5070 ...for these typedefs.
5071 (int8, char1, int1, double1): New typedefs.
5072 (struct just_int2, struct two_int2): New structures.
5073 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5074 (add_structvecs, add_singlevecs): New functions.
5075 (main): Call add_some_intvecs twice.
5076 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5077 the compile and exit upon failure. Try compiling for the "native"
5078 architecture. Test inferior function calls with vector arguments
5079 and vector return value handling with "finish" and "return".
5080
5081 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5082
5083 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5084 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5085 PE file.
5086 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5087
5088 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5089
5090 PR breakpoints/16465
5091 * gdb.mi/mi-dprintf-pending.c: New file.
5092 * gdb.mi/mi-dprintf-pending.exp: New test.
5093 * gdb.mi/mi-dprintf-pendshr.c: New file.
5094
5095 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5096 Mircea Gherzan <mircea.gherzan@intel.com>
5097
5098 * gdb.arch/i386-mpx-map.c: New file.
5099 * gdb.arch/i386-mpx-map.exp: New File.
5100
5101 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5102
5103 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5104 * gdb.arch/i386-mpx.exp: Indentation fixed.
5105
5106 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5107
5108 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5109 function and improved indentation.
5110 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5111 gdb_test_multiple. Added additional tests to skip the test.
5112
5113 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5114
5115 * gdb.arch/i386-avx512.c: Change path in include file.
5116 * gdb.arch/i386-avx512.exp: Change include dir path
5117 compilation flag.
5118 * gdb.arch/i386-mpx.c: Change path in include file.
5119 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5120 flag.
5121
5122 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5123
5124 * gdb.compile/compile-print.exp (compile print *vararray@3)
5125 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5126
5127 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5128
5129 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5130 (do not keep jit in memory): ... this.
5131 (expect 5): Change it to ...
5132 (expect no 5): ... this.
5133
5134 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5135
5136 PR gdb/15564
5137 * gdb.mi/mi-detach.exp: New file.
5138
5139 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 PR symtab/18392
5142 * gdb.arch/amd64-tailcall-self.S: New file.
5143 * gdb.arch/amd64-tailcall-self.c: New file.
5144 * gdb.arch/amd64-tailcall-self.exp: New file.
5145
5146 2015-05-28 Don Breazeal <donb@codesourcery.com>
5147
5148 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5149 tests for remote targets by checking is_target_gdbserver.
5150
5151 2015-05-27 Doug Evans <dje@google.com>
5152
5153 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5154 * gdb.dwarf2/opaque-type-lookup.c: New file.
5155 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5156
5157 2015-05-26 Doug Evans <dje@google.com>
5158
5159 * gdb.cp/iostream.cc: New file.
5160 * gdb.cp/iostream.exp: New file.
5161
5162 2015-05-26 Doug Evans <dje@google.com>
5163
5164 * gdb.dwarf2/dw2-op-call.exp: Update.
5165 * gdb.dwarf2/dw4-sig-types.exp: Update.
5166 * gdb.dwarf2/implptr.exp: Update.
5167 * gdb.mi/mi-cmd-param-changed.exp: Update.
5168
5169 2015-05-26 Doug Evans <dje@google.com>
5170
5171 * gdb.python/py-lazy-string.c: New file.
5172 * gdb.python/py-lazy-string.exp: New file.
5173 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5174 (main): Update. Add estring3.
5175 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5176 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5177
5178 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5179 Yao Qi <yao.qi@linaro.org>
5180
5181 * gdb.reverse/aarch64.c: New.
5182 * gdb.reverse/aarch64.exp: New.
5183
5184 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5185
5186 * lib/gdb.exp (supports_process_record): Return true for
5187 aarch64*-linux*.
5188 (supports_reverse): Likewise.
5189
5190 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5191
5192 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5193 Use with_test_prefix.
5194
5195 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5196
5197 * gdb.base/completion.exp: Add test for completion of layout
5198 names.
5199
5200 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5201
5202 * lib/gdb.exp (skip_tui_tests): New proc.
5203 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5204
5205 2015-05-19 Pedro Alves <palves@redhat.com>
5206
5207 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5208 Save the whole env array instead of just HOME. Unset HISTSIZE in
5209 the environment while testing. Restore whole environment
5210 afterwards.
5211
5212 2015-05-16 Doug Evans <xdje42@gmail.com>
5213
5214 * gdb.guile/scm-ports.c: New file.
5215 * gdb.guile/scm-ports.exp: Add memory port tests.
5216
5217 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5218
5219 * gdb.compile/compile-print.c: New file.
5220 * gdb.compile/compile-print.exp: New file.
5221
5222 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5223
5224 * gdb.compile/compile-ops.exp: Cast param to void.
5225 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5226 (compile code struct_object.selffield = &struct_object): Add xfail.
5227
5228 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5229
5230 * gdb.ada/arr_enum_with_gap: New testcase.
5231
5232 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5233
5234 * gdb.ada/byte_packed_arr: New testcase.
5235
5236 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5237
5238 * gdb.ada/pckd_neg: New testcase.
5239
5240 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5241
5242 PR gdb/17820
5243 * gdb.base/gdbinit-history.exp: New test.
5244 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5245 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5246
5247 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5248
5249 * gdb.python/py-xmethods.cc: Enhance test case.
5250 * gdb.python/py-xmethods.exp: New tests.
5251 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5252 function.
5253 (B_indexoper): Likewise.
5254 (global_dm_list) : Add new xmethod worker functions.
5255
5256 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5257
5258 * gdb.base/coredump-filter.exp: Correctly unset
5259 "coredump_var_addr" array.
5260
5261 2015-05-08 Pedro Alves <palves@redhat.com>
5262
5263 * gdb.server/non-existing-program.exp: Unset spawn_id.
5264
5265 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5266
5267 PR python/18291
5268 * gdb.python/py-xmethods.exp: Add tests.
5269
5270 2015-05-08 Yao Qi <yao.qi@linaro.org>
5271
5272 PR gdb/18208
5273 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5274 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5275 function set_coredump_filter, and remove remote_exec call.
5276 Remove argument ipid. Callers update.
5277 (top level): Don't get inferior's PID.
5278
5279 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5280
5281 * gdb.base/watch_thread_num.exp: Skip test on targets without
5282 access watchpoints.
5283
5284 2015-05-06 Pedro Alves <palves@redhat.com>
5285
5286 PR server/18081
5287 * gdb.server/non-existing-program.exp: New file.
5288
5289 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5290
5291 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5292
5293 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5294
5295 * gdb.ada/out_of_line_in_inlined: New testcase.
5296
5297 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5298
5299 * gdb.ada/var_rec_arr: New testcase.
5300
5301 2015-04-30 Yao Qi <yao.qi@linaro.org>
5302
5303 * gdb.base/break-idempotent.exp: If
5304 skip_hw_watchpoint_multi_tests returns true, skip the tests
5305 on "rwatch" and "awatch".
5306
5307 2015-04-30 Yao Qi <yao.qi@linaro.org>
5308
5309 * gdb.base/relativedebug.exp: Invoke gdb command
5310 "info sharedlibrary", and if libc.so doesn't have debug info,
5311 skip the test.
5312
5313 2015-04-29 Doug Evans <dje@google.com>
5314
5315 * gdb.python/py-xmethods.exp: Add ptype tests.
5316 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5317 get_result_type method.
5318
5319 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5320
5321 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5322 the target does not support hardware watchpoints.
5323
5324 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5325
5326 * gdb.base/break-always.exp: Abort testing if writing to memory
5327 causes an error.
5328
5329 2015-04-28 Doug Evans <dje@google.com>
5330
5331 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5332 * gdb.python/py-pp-registration.exp: ... here. New file.
5333 * gdb.python/py-pp-registration.c: New file.
5334 * gdb.python/py-pp-registration.py: New file.
5335
5336 2015-04-28 Doug Evans <dje@google.com>
5337
5338 * gdb.python/py-bad-printers.c: New file.
5339 * gdb.python/py-bad-printers.py: New file.
5340 * gdb.python/py-bad-printers.exp: New file.
5341
5342 2015-04-28 Sasha Smundak <asmundak@google.com>
5343
5344 * gdb.python/py-type.exp: New test.
5345
5346 2015-04-28 Andy Wingo <wingo@igalia.com>
5347
5348 * gdb.python/py-parameter.exp:
5349 * gdb.guile/scm-parameter.exp: Escape the path that we are
5350 matching against, as it might contain characters that are special
5351 to regular expressions.
5352
5353 2015-04-27 Joel Brobecker <brobecker@adacore.com>
5354
5355 * gdb.ada/rec_comp: New testcase.
5356
5357 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5358
5359 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5360 before using it.
5361
5362 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5363
5364 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5365 new tests for verilog output.
5366
5367 2015-04-24 Yao Qi <yao.qi@linaro.org>
5368
5369 * boards/remote-gdbserver-on-localhost.exp: New file.
5370
5371 2015-04-23 Pedro Alves <palves@redhat.com>
5372
5373 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5374 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5375 "end of file", remove $inferior_spawn_id from the indirect list.
5376
5377 2015-04-23 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5380
5381 2015-04-23 Pedro Alves <palves@redhat.com>
5382
5383 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5384 on $any_spawn_id instead of only on $gdb_spawn_id.
5385
5386 2015-04-21 Pierre Muller <muller@sourceware.org>
5387
5388 PR pascal/17815
5389 * lib/pascal.exp (gpc_compile): Add new option "class".
5390 (fpc_compile): Likewise.
5391 * gdb.pascal/case-insensitive-symbols.pas: New file.
5392 * gdb.pascal/case-insensitive-symbols.exp: New file.
5393
5394 2015-04-20 Gary Benson <gbenson@redhat.com>
5395
5396 * gdb.base/attach.exp: Fix three extended remote failures.
5397
5398 2015-04-17 Gary Benson <gbenson@redhat.com>
5399
5400 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5401 the main executable over the remote protocol.
5402
5403 2015-04-16 Pedro Alves <palves@redhat.com>
5404
5405 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5406 a new gdbserver if gdbserver_reconnect_p is set.
5407
5408 2015-04-16 Pedro Alves <palves@redhat.com>
5409
5410 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5411 is set, don't exit gdbserver.
5412
5413 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5414
5415 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5416 appropriate .insn, such that an older assembler can be used.
5417 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5418 the z/Architecture instruction set on 31-bit targets as well.
5419
5420 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5421
5422 * gdb.go/handcall.exp: Remove all logic related to the first
5423 breakpoint and rely on go_runto_main instead.
5424 * gdb.go/strings.exp: Likewise.
5425 * gdb.go/unsafe.exp: Likewise.
5426 * gdb.go/hello.exp: Likewise. Also rename the remaining
5427 breakpoint marker to "breakpoint 1".
5428 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5429 * gdb.go/strings.go: Likewise.
5430 * gdb.go/unsafe.go: Likewise.
5431 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5432 "set breakpoint 2 here" and rename the remaining breakpoint marker
5433 to "breakpoint 1".
5434
5435 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5436
5437 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5438 if itertools.imap is not present.
5439 * gdb.python/py-objfile.exp: Add parentheses.
5440 * gdb.python/py-type.exp: Same.
5441 * gdb.python/py-unwind-maint.py: Same.
5442
5443 2015-04-15 Yao Qi <yao.qi@linaro.org>
5444
5445 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5446 of ":$ptr_size" and set its form explicitly.
5447
5448 2015-04-15 Pedro Alves <palves@redhat.com>
5449 Yao Qi <yao.qi@linaro.org>
5450
5451 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5452 timeout by factor of 4.
5453 (test_regular_watch): Likewise.
5454 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5455 * gdb.reverse/sigall-reverse.exp: Likewise.
5456 * gdb.reverse/until-precsave.exp: Likewise.
5457 * lib/gdb.exp (with_timeout_factor): New proc.
5458 (gdb_expect): Move some code to ...
5459 (get_largest_timeout): ... here. New procedure.
5460
5461 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
5462
5463 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5464
5465 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5466
5467 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5468 to write to the .text section.
5469
5470 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5471
5472 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5473 Handle the case of targets that do not provide PID information.
5474
5475 2015-04-13 Yao Qi <yao.qi@linaro.org>
5476
5477 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5478 and use expect instead of gdb_expect.
5479
5480 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5481
5482 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5483 "coredump_var_addr" to avoid naming conflict with other testcases.
5484
5485 2015-04-10 Pedro Alves <palves@redhat.com>
5486
5487 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5488 gdb_test_sequence and gdb_assert.
5489
5490 2015-04-10 Pedro Alves <palves@redhat.com>
5491
5492 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5493 test messages that don't include the breakpoint address.
5494
5495 2015-04-10 Yao Qi <yao.qi@linaro.org>
5496
5497 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5498 false for some offset and width combinations which aren't
5499 supported by linux kernel.
5500
5501 2015-04-10 Pedro Alves <palves@redhat.com>
5502
5503 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5504 procedure, factored out from ...
5505 (top level): ... here. Add "set displaced-stepping" testing axis.
5506 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5507 parameter "displaced". Use it.
5508 (top level): Use foreach and add "set displaced-stepping" testing
5509 axis.
5510
5511 2015-04-10 Pedro Alves <palves@redhat.com>
5512
5513 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5514 Remove comment.
5515 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5516 both the address of the instruction that triggers the watchpoint
5517 and the address of the instruction immediately after, and use
5518 those addresses for the test. Fix comment.
5519
5520 2015-04-10 Pedro Alves <palves@redhat.com>
5521
5522 * gdb.base/sigstep.exp (breakpoint_to_handler)
5523 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5524 Test "backtrace" in handler.
5525 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5526 (top level): Add new "displaced" test axis to
5527 breakpoint_to_handler, breakpoint_to_handler_entry and
5528 breakpoint_over_handler.
5529
5530 2015-04-10 Pedro Alves <palves@redhat.com>
5531
5532 PR gdb/18216
5533 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5534
5535 2015-04-10 Yao Qi <yao.qi@linaro.org>
5536
5537 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5538 (test_add_rn_pc): New function.
5539 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5540 (top level): Invoke test_add_rn_pc.
5541
5542 2015-04-10 Pedro Alves <palves@redhat.com>
5543
5544 PR gdb/13858
5545 * gdb.base/step-over-no-symbols.exp: New file.
5546
5547 2015-04-09 Andy Wingo <wingo@igalia.com>
5548
5549 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5550 after the Python tests.
5551
5552 2015-04-08 Keith Seitz <keiths@redhat.com>
5553
5554 PR python/16699
5555 * gdb.python/py-completion.exp: New tests for completion.
5556 * gdb.python/py-completion.py (CompleteLimit1): New class.
5557 (CompleteLimit2): Likewise.
5558 (CompleteLimit3): Likewise.
5559 (CompleteLimit4): Likewise.
5560 (CompleteLimit5): Likewise.
5561 (CompleteLimit6): Likewise.
5562 (CompleteLimit7): Likewise.
5563
5564 2015-04-08 Pedro Alves <palves@redhat.com>
5565
5566 PR gdb/18214
5567 PR gdb/18216
5568 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5569 function.
5570 (main): Install it as SIGUSR1 handler.
5571 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5572 parameter. Always use "setup" as prefix. Toggle "set
5573 displaced-stepping" off/on depending on global. Don't switch to
5574 thread 1 here.
5575 (top level): Add displaced stepping "off/on" test axis. Update
5576 "setup" calls. Wrap each subtest with with_test_prefix. Test
5577 continuing with a queued signal in each thread.
5578
5579 2015-04-08 Pedro Alves <palves@redhat.com>
5580
5581 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5582 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5583 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5584 Return early if running to main fails.
5585 * gdb.trace/while-stepping.exp: Likewise.
5586
5587 2015-04-07 Pedro Alves <palves@redhat.com>
5588
5589 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5590 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5591 interact with inferior program.
5592
5593 2015-04-07 Pedro Alves <palves@redhat.com>
5594
5595 * lib/gdb.exp (inferior_spawn_id): New global.
5596 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5597 spawn id after processing the user code.
5598 (default_gdb_start): Set inferior_spawn_id.
5599 (send_inferior): New procedure.
5600 * lib/gdbserver-support.exp (gdbserver_start): Set
5601 inferior_spawn_id.
5602 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5603
5604 2015-04-07 Pedro Alves <palves@redhat.com>
5605
5606 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5607 * lib/gdbserver-support.exp (gdbserver_start): Make
5608 $server_spawn_id global.
5609 (gdbserver_start): Don't wait for gdbserver's spawn id with
5610 expect_background.
5611 (close_gdbserver): New procedure.
5612 (gdb_exit): Rename the default version and reimplement.
5613
5614 2015-04-07 Pedro Alves <palves@redhat.com>
5615
5616 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
5617 append the substituted item, not the original item.
5618
5619 2015-04-07 Pedro Alves <palves@redhat.com>
5620
5621 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5622 gdb_expect.
5623
5624 2015-04-07 Pedro Alves <palves@redhat.com>
5625
5626 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5627 output appearing once only.
5628
5629 2015-04-07 Pedro Alves <palves@redhat.com>
5630
5631 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5632 that doesn't expect anything. Return early if running to main
5633 fails.
5634
5635 2015-04-07 Yao Qi <yao.qi@linaro.org>
5636
5637 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5638 (child_function): Call alarm.
5639 (main): Move call to alarm into the loop.
5640 * gdb.threads/non-stop-fair-events.exp: Build program with
5641 -DTIMEOUT=$timeout.
5642
5643 2015-04-06 Doug Evans <xdje42@gmail.com>
5644
5645 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5646 Fix dest parameter to board_info.
5647 (fpc_compile): Ditto.
5648 (gdb_compile_pascal): Rename dest arg to destfile.
5649
5650 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5651
5652 * gdb.ada/funcall_ref.exp: New file.
5653 * gdb.ada/funcall_ref/foo.adb: New file.
5654
5655 2015-04-02 Yao Qi <yao.qi@linaro.org>
5656
5657 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5658 is remote.
5659
5660 2015-04-02 Gary Benson <gbenson@redhat.com>
5661
5662 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5663
5664 2015-04-01 Sasha Smundak <asmundak@google.com>
5665
5666 * gdb.python/py-unwind-maint.c: New file.
5667 * gdb.python/py-unwind-maint.exp: New test.
5668 * gdb.python/py-unwind-maint.py: New file.
5669 * gdb.python/py-unwind.c: New file.
5670 * gdb.python/py-unwind.exp: New test.
5671 * gdb.python/py-unwind.py: New test.
5672
5673 2015-04-01 Pedro Alves <palves@redhat.com>
5674
5675 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5676 to fail instead of non-existent $test.
5677
5678 2015-04-01 Pedro Alves <palves@redhat.com>
5679
5680 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5681 GDBFLAGS if not empty.
5682
5683 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5684
5685 * gdb.ada/complete.exp: Remove "multi_line".
5686 * gdb.ada/info_exc.exp: Remove "multi_line".
5687 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5688 * gdb.ada/ptype_field.exp: Remove "multi_line".
5689 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5690 * gdb.ada/tagged.exp: Remove "multi_line".
5691 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5692 [multi_line ...]
5693 * gdb.btrace/delta.exp: Likewise.
5694 * gdb.btrace/exception.exp: Likewise.
5695 * gdb.btrace/function_call_history.exp: Likewise.
5696 * gdb.btrace/instruction_history.exp: Likewise.
5697 * gdb.btrace/nohist.exp: Likewise.
5698 * gdb.btrace/record_goto.exp: Likewise.
5699 * gdb.btrace/segv.exp: Likewise.
5700 * gdb.btrace/stepi.exp: Likewise.
5701 * gdb.btrace/tailcall.exp: Likewise.
5702 * gdb.btrace/unknown_functions.exp: Likewise.
5703 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5704 * lib/gdb.exp: Add the "multi_line" helper.
5705
5706 2015-04-01 Pedro Alves <palves@redhat.com>
5707
5708 * gdb.threads/tid-reuse.c: New file.
5709 * gdb.threads/tid-reuse.exp: New file.
5710
5711 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5712
5713 PR corefiles/16092
5714 * gdb.base/coredump-filter.c: New file.
5715 * gdb.base/coredump-filter.exp: Likewise.
5716
5717 2015-03-27 Petr Machata <pmachata@redhat.com>
5718
5719 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5720 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5721 (Dwarf::assemble): Initialize them.
5722 (Dwarf::lines): New function.
5723
5724 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5725
5726 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5727 SYMBOL_PREFIX for x86_64-*-cygwin.
5728
5729 2015-03-26 Andy Wingo <wingo@igalia.com>
5730
5731 PR symtab/18148
5732 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5733 const_value but not a location.
5734 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5735 location defined in non-main CUs are visible.
5736
5737 2015-03-26 Yao Qi <yao.qi@linaro.org>
5738
5739 PR testsuite/18139
5740 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5741 Add a line number entry for the same line.
5742 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5743 Add a line number entry for the same line.
5744
5745 2015-03-26 Yao Qi <yao.qi@linaro.org>
5746
5747 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5748 .int 0.
5749 (func): Likewise. Add .Lfunc_1 label.
5750 Use .Lfunc_1 label.
5751 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5752 .int 0.
5753 (func): Likewise.
5754 Use .Lfunc_1 label.
5755
5756 2015-03-26 Yao Qi <yao.qi@linaro.org>
5757
5758 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5759 Call gdb_compile instead to compile each .s files without debug
5760 information.
5761
5762 2015-03-26 Yao Qi <yao.qi@linaro.org>
5763
5764 * gdb.base/savedregs.exp (process_saved_regs): Make
5765 "Saved registers:" optional in the pattern.
5766
5767 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5768
5769 * gdb.btrace/next.exp: Merged into step.exp.
5770 * gdb.btrace/finish.exp: Merged into step.exp.
5771 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5772 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5773 "record goto" and checking the exact replay position.
5774 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5775 check for "Recording format" in "info record" output.
5776 * gdb.btrace/record_goto.exp: Choose test file based on target.
5777 * gdb.btrace/x86-record_goto.S: Renamed into ...
5778 * gdb.btrace/x86_64-record_goto.S: ... this.
5779 * gdb.btrace/i686-record_goto.S: New.
5780 * gdb.btrace/x86-tailcall.S: Renamed into ...
5781 * gdb.btrace/x86_64-tailcall.S: ... this.
5782 * gdb.btrace/i686-tailcall.S: New.
5783 * gdb.btrace/x86-tailcall.c: Renamed into ...
5784 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5785 separate statements. Update test.
5786 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5787 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5788 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5789 * gdb.btrace/tailcall.exp: Choose test file based on target.
5790 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5791
5792 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5793
5794 * gdb.btrace/exception.exp: Increase BTS buffer size.
5795
5796 2015-03-24 Pedro Alves <palves@redhat.com>
5797
5798 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5799
5800 2015-03-24 Pedro Alves <palves@redhat.com>
5801
5802 * gdb.threads/schedlock.exp (test_step): No longer expect that
5803 "set scheduler-locking step" with "next" over a function call runs
5804 threads unlocked.
5805
5806 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5807
5808 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5809
5810 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5811
5812 PR breakpoints/16466
5813 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5814 * gdb.mi/mi-pending.c (thread_func): New function.
5815 (int main): Add threading support required.
5816 * gdb.mi/mi-pending.exp: Add tests for this issue.
5817 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5818 (pendfunc2): Remove stdio dependency.
5819 * gdb.mi/mi-pendshr2.c: New file.
5820
5821 2015-03-23 Keith Seitz <keiths@redhat.com>
5822
5823 * gdb.linespec/keywords.c: New file.
5824 * gdb.linespec/keywords.exp: New file.
5825
5826 2015-03-23 Keith Seitz <keiths@redhat.com>
5827
5828 PR gdb/18021
5829 * gdb.dwarf2/staticvirtual.exp: New test.
5830
5831 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5832
5833 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5834 * README: Remove HP-UX and gdb.hp.
5835 (configuration):
5836 * configure: Regenerate.
5837 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5838 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5839 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5840 gdb.hp/gdb.defects/Makefile.
5841 * gdb.hp/Makefile.in: File deleted.
5842 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5843 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5844 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5845 * gdb.hp/gdb.aCC/run.c: File deleted.
5846 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5847 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5848 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5849 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5850 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5851 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5852 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5853 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5854 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5855 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5856 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5857 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5858 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5859 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5860 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5861 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5862 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5863 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5864 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5865 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5866 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5867 * gdb.hp/gdb.compat/average.c: File deleted.
5868 * gdb.hp/gdb.compat/sum.c: File deleted.
5869 * gdb.hp/gdb.compat/xdb.c: File deleted.
5870 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5871 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5872 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5873 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5874 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5875 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5876 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5877 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5878 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5879 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5880 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5881 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5882 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5883 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5884 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5885 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5886 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5887 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5888 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5889 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5890 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5891 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5892 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5893 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5894 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5895 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5896 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5897 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5898 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5899 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5900 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5901 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5902 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5903 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5904 * gdb.hp/tools/odump: File deleted.
5905
5906 2015-03-19 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5909 (saw_thread_3): New globals.
5910 (top level): Increment them when an event for the corresponding
5911 thread is seen.
5912 (no thread starvation): New test.
5913
5914 2015-03-19 Pedro Alves <palves@redhat.com>
5915
5916 * gdb.threads/continue-pending-status.c: New file.
5917 * gdb.threads/continue-pending-status.exp: New file.
5918
5919 2015-03-18 Pedro Alves <palves@redhat.com>
5920
5921 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5922 Use gdb_is_target_remote instead of is_remote. Use
5923 gdb_test_multiple instead of gdb_expect. Exit early if
5924 gdb_test_multiple hits its internal matches. Tighten stepi tests
5925 expected output. Fail on exit with any signal, instead of just
5926 SIGILL.
5927
5928 2015-03-18 Yao Qi <yao.qi@linaro.org>
5929
5930 PR tdep/18107
5931 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5932 variable.
5933 * gdb.base/catch-syscall.exp: Don't skip it on
5934 aarch64*-*-linux* target. Remove elements in all_syscalls.
5935 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5936 target.
5937 (setup_all_syscalls): New proc.
5938
5939 2015-03-16 Yao Qi <yao.qi@linaro.org>
5940
5941 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5942 (top level): Skip tests if valid_addr_p returns false for
5943 $cmd1 or $cmd2.
5944
5945 2015-03-11 Andy Wingo <wingo@igalia.com>
5946
5947 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5948
5949 2015-03-11 Yao Qi <yao.qi@linaro.org>
5950
5951 * gdb.base/catch-syscall.exp: Fix typo in comments.
5952
5953 2015-03-11 Yao Qi <yao.qi@linaro.org>
5954
5955 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5956
5957 2015-03-09 Pedro Alves <palves@redhat.com>
5958
5959 * dg-extract-results.py: Delete.
5960
5961 2015-03-09 Pedro Alves <palves@redhat.com>
5962
5963 Merge dg-extract-results.sh from GCC upstream (r218843).
5964
5965 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5966 * dg-extract-results.sh: Use --text with grep to avoid issues with
5967 binary files. Fall back to cat -v, if that doesn't work.
5968
5969 2015-03-05 Pedro Alves <palves@redhat.com>
5970
5971 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5972
5973 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5974
5975 * lib/mi-support.exp (mi_expect_interrupt): Accept
5976 alternative event for when in all-stop mode.
5977
5978 2015-03-04 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5981
5982 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5983
5984 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5985
5986 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5987
5988 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5989 regexps for GDB's current line display, accept a hex address
5990 preceding the line number.
5991
5992 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5993
5994 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5995 the 'arch1' variable for "s390*-linux*" targets.
5996
5997 2015-03-04 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6000 (main): Pass missing retval argument to pthread_join call.
6001
6002 2015-03-02 Pedro Alves <palves@redhat.com>
6003
6004 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6005 (top level): Call do_test with non-stop as well.
6006
6007 2015-03-02 Pedro Alves <palves@redhat.com>
6008
6009 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6010 -1.
6011
6012 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6013
6014 * gdb.arch/s390-vregs.exp: New test.
6015 * gdb.arch/s390-vregs.S: New file.
6016
6017 2015-02-27 Pedro Alves <palves@redhat.com>
6018
6019 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6020 call to catch_command_errors.
6021 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6022 catch_command_errors.
6023
6024 2015-02-27 Pedro Alves <palves@redhat.com>
6025
6026 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6027 "true" for boolean result.
6028 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6029 prototype of main.
6030
6031 2015-02-27 Pedro Alves <palves@redhat.com>
6032
6033 * lib/unbuffer_output.c: New file.
6034 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6035 (main): Call gdb_unbuffer_output.
6036
6037 2015-02-27 Yao Qi <yao.qi@linaro.org>
6038
6039 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6040 target.
6041
6042 2015-02-26 Doug Evans <dje@google.com>
6043
6044 * gdb.cp/class2.cc (Dbase, D): New classes.
6045 (main): New local delta.
6046 * gdb.cp/class2.exp: Test printing delta.
6047 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6048 (dynbar): New global.
6049 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6050
6051 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6052
6053 * gdb.compile/compile-ifunc.c: New file.
6054 * gdb.compile/compile-ifunc.exp: New file.
6055
6056 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6057
6058 * gdb.base/structs.exp: Check for correct struct on finish.
6059
6060 2015-02-26 Yao Qi <yao.qi@linaro.org>
6061
6062 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6063 is zero.
6064
6065 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6066
6067 * gdb.arch/cordic.ko.bz2: New file.
6068 * gdb.arch/cordic.ko.debug.bz2: New file.
6069 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6070
6071 2015-02-25 Yao Qi <yao.qi@linaro.org>
6072
6073 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6074 aarch64*-*-* target.
6075
6076 2015-02-23 Pedro Alves <palves@redhat.com>
6077
6078 * lib/gdb.exp (delete_breakpoints): Rewrite using
6079 gdb_test_multiple.
6080
6081 2015-02-23 Pedro Alves <palves@redhat.com>
6082
6083 * gdb.base/info-os.c: Include stdlib.h.
6084
6085 2015-02-22 Doug Evans <xdje42@gmail.com>
6086
6087 PR symtab/17855
6088 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6089 is read after symbols have been re-read.
6090 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6091 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6092
6093 2015-02-21 Doug Evans <dje@google.com>
6094
6095 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6096
6097 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6098
6099 PR corefiles/17808
6100 * gdb.arch/i386-biarch-core.core.bz2: New file.
6101 * gdb.arch/i386-biarch-core.exp: New file.
6102
6103 2015-02-21 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6106 runto_main fails.
6107
6108 2015-02-20 Pedro Alves <palves@redhat.com>
6109
6110 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6111 info probes.
6112
6113 2015-02-20 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6116
6117 2015-02-20 Pedro Alves <palves@redhat.com>
6118
6119 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6120 clean_restart before gdb_target_supports_trace.
6121
6122 2015-02-20 Pedro Alves <palves@redhat.com>
6123
6124 PR threads/18006
6125 * gdb.threads/clone-thread_db.c: New file.
6126 * gdb.threads/clone-thread_db.exp: New file.
6127
6128 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6129
6130 PR breakpoints/16812
6131 * gdb.base/catch-gdb-caused-signals.c: New file.
6132 * gdb.base/catch-gdb-caused-signals.exp: New file.
6133
6134 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6135
6136 * configure: Regenerated.
6137 * configure.ac: Use GDB_AC_TRANSFORM.
6138 * aclocal.m4: sinclude ../transform.m4.
6139
6140 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6141
6142 * lib/dtrace.exp: New file.
6143 * gdb.base/dtrace-probe.exp: Likewise.
6144 * gdb.base/dtrace-probe.d: Likewise.
6145 * gdb.base/dtrace-probe.c: Likewise.
6146 * lib/pdtrace.in: Likewise.
6147 * configure.ac: Output variables with the transformed names of
6148 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6149 * configure: Regenerated.
6150
6151 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6152
6153 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6154 expected message when trying to access $_probe_* convenience
6155 variables while not on a probe.
6156
6157 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6158
6159 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6160
6161 2015-02-11 Pedro Alves <pedro@codesourcery.com>
6162
6163 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6164 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6165
6166 2015-02-10 Doug Evans <xdje42@gmail.com>
6167
6168 * lib/gdb.exp (gdb_load): Always return a result.
6169
6170 2015-02-10 Pedro Alves <palves@redhat.com>
6171
6172 * gdb.threads/signal-sigtrap.c: New file.
6173 * gdb.threads/signal-sigtrap.exp: New file.
6174
6175 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6176
6177 * gdb.trace/no-attach-trace.c: New file.
6178 * gdb.trace/no-attach-trace.exp: New file.
6179
6180 2015-02-09 Mark Wielaard <mjw@redhat.com>
6181
6182 * gdb.dwarf2/atomic.c: New file.
6183 * gdb.dwarf2/atomic-type.exp: Likewise.
6184
6185 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6186
6187 * gdb.btrace/buffer-size.exp: Update "info record" output.
6188 * gdb.btrace/delta.exp: Update "info record" output.
6189 * gdb.btrace/enable.exp: Update "info record" output.
6190 * gdb.btrace/finish.exp: Update "info record" output.
6191 * gdb.btrace/instruction_history.exp: Update "info record" output.
6192 * gdb.btrace/next.exp: Update "info record" output.
6193 * gdb.btrace/nexti.exp: Update "info record" output.
6194 * gdb.btrace/step.exp: Update "info record" output.
6195 * gdb.btrace/stepi.exp: Update "info record" output.
6196 * gdb.btrace/nohist.exp: Update "info record" output.
6197
6198 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6199
6200 * gdb.btrace/buffer-size: New.
6201
6202 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6203
6204 * gdb.btrace/delta.exp: Update "info record" output.
6205 * gdb.btrace/enable.exp: Update "info record" output.
6206 * gdb.btrace/finish.exp: Update "info record" output.
6207 * gdb.btrace/instruction_history.exp: Update "info record" output.
6208 * gdb.btrace/next.exp: Update "info record" output.
6209 * gdb.btrace/nexti.exp: Update "info record" output.
6210 * gdb.btrace/step.exp: Update "info record" output.
6211 * gdb.btrace/stepi.exp: Update "info record" output.
6212 * gdb.btrace/nohist.exp: Update "info record" output.
6213
6214 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6215
6216 PR gdb/15678
6217 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6218
6219 2015-02-06 Pedro Alves <palves@redhat.com>
6220
6221 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6222 macro.
6223 (seconds_left, again): New globals.
6224 (main): Wait seconds_left in a 1-second sleep loop instead of
6225 sleeping 180 seconds. If 'again' is set, reset the seconds
6226 counter.
6227 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6228 'again' in the inferior before detaching. Print the seconds left.
6229 (options): New global.
6230 (top level): Build program with -DTIMEOUT=$timeout.
6231
6232 2015-02-06 Pedro Alves <palves@redhat.com>
6233
6234 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6235 determine how many seconds to pass to 'alarm'.
6236 * gdb.base/gdb-sigterm.exp (top level): Build program with
6237 -DTIMEOUT=$timeout.
6238 (do_test): Return success/failure indication. Add more verbose
6239 logging. Don't fail if 200 single steps are seen. Instead, fail
6240 when the test times out.
6241 (passes): New global.
6242 (top level): Break the testing loop if testing fails on any
6243 iteration. Use gdb_assert.
6244
6245 2015-02-04 Don Breazeal <donb@codesourcery.com>
6246
6247 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6248 and initialize them.
6249 (ipc_cleanup): New function.
6250 (main): Don't declare shmid, semid, and msqid. Add a call to
6251 atexit so that we call ipc_cleanup on exit.
6252
6253 2015-02-04 Pedro Alves <palves@redhat.com>
6254
6255 * boards/native-extended-gdbserver.exp: Remove any target variant
6256 specifications from the board name before clearing the isremote
6257 flag from board_info.
6258
6259 2015-01-31 Doug Evans <xdje42@gmail.com>
6260
6261 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6262
6263 2015-01-31 Gary Benson <gbenson@redhat.com>
6264
6265 * gdb.base/completion.exp: Disable completion limiting for
6266 existing tests. Add new tests to check completion limiting.
6267 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6268
6269 2015-01-31 Doug Evans <xdje42@gmail.com>
6270
6271 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6272
6273 2015-01-31 Doug Evans <xdje42@gmail.com>
6274
6275 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6276 entries. Duplicate file section script entries.
6277 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6278 inlined entries. Add test for safe-path rejection.
6279 * gdb.python/py-section-script.c: Add duplicate inlined section script
6280 entries. Duplicate file section script entries.
6281 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6282 inlined entries. Add test for safe-path rejection.
6283
6284 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6285
6286 * gdb.ada/disc_arr_bound: New testcase.
6287
6288 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6289
6290 * gdb.ada/mi_var_array: New testcase.
6291
6292 2015-01-27 Doug Evans <dje@google.com>
6293
6294 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6295 Add test for objfile.filename, objfile.username after objfile
6296 has been unloaded.
6297
6298 2015-01-26 Joel Brobecker <brobecker@adacore.com>
6299
6300 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6301 the second test to print the name attribute of value
6302 returned by the call to gdb.lookup_type, and adjust
6303 the expected output accordingly.
6304
6305 2015-01-25 Mark Wielaard <mjw@redhat.com>
6306
6307 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6308 * gdb.base/disp-step-fork.c: Include unistd.h.
6309 * gdb.base/siginfo-obj.c: Include stdio.h.
6310 * gdb.base/siginfo-thread.c: Likewise.
6311 * gdb.mi/non-stop.c: Include unistd.h.
6312 * gdb.mi/nsthrexec.c: Include stdio.h.
6313 * gdb.mi/pthreads.c: Include unistd.h.
6314 * gdb.modula2/unbounded1.c (main): Declare returns int.
6315 * gdb.reverse/consecutive-reverse.c: Likewise.
6316 * gdb.threads/create-fail.c: Include unistd.h.
6317 * gdb.threads/killed.c: Likewise.
6318 * gdb.threads/linux-dp.c: Likewise.
6319 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6320 * gdb.threads/non-ldr-exc-2.c: Likewise.
6321 * gdb.threads/non-ldr-exc-3.c: Likewise.
6322 * gdb.threads/non-ldr-exc-4.c: Likewise.
6323 * gdb.threads/pthreads.c: Include unistd.h.
6324 (main): Declare returns int.
6325 * gdb.threads/tls-main.c (foo): New declaration.
6326 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6327
6328 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6329
6330 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6331 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6332
6333 2015-01-15 Mark Wielaard <mjw@redhat.com>
6334
6335 * gdb.base/noreturn-return.c: New file.
6336 * gdb.base/noreturn-return.exp: New file.
6337 * gdb.base/noreturn-finish.c: New file.
6338 * gdb.base/noreturn-finish.exp: New file.
6339
6340 2015-01-23 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.threads/continue-pending-after-query.c: New file.
6343 * gdb.threads/continue-pending-after-query.exp: New file.
6344
6345 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6346 Simon Marchi <simon.marchi@ericsson.com>
6347
6348 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6349 * gdb.base/valgrind-db-attach.exp: Same.
6350 * gdb.base/valgrind-infcall.exp: Same.
6351 * lib/mi-support.exp (default_mi_gdb_start): Same.
6352 * lib/prompt.exp (default_prompt_gdb_start): Same.
6353 * lib/gdb.exp (default_gdb_spawn): Same.
6354 (gdb_interact): New.
6355
6356
6357 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6358
6359 * gdb.compile/compile.exp (pointer to jit function): New test.
6360
6361 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
6362
6363 * lib/gdb.exp (supports_process_record): Return true for
6364 powerpc*-*-linux*.
6365 (supports_reverse): Likewise.
6366
6367 2015-01-15 Don Breazeal <donb@codesourcery.com>
6368
6369 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6370 instead of checking whether the target board is remote and
6371 use spawn_wait_for_attach instead of exec/sleep.
6372 * gdb.base/attach-twice.exp: Likewise.
6373
6374 2015-01-15 Joel Brobecker <brobecker@adacore.com>
6375
6376 * gdb.ada/var_arr_attrs: New testcase.
6377
6378 2015-01-14 Pedro Alves <palves@redhat.com>
6379 Joel Brobecker <brobecker@adacore.com>
6380
6381 PR gdb/17525
6382 * gdb.base/bp-cmds-execution-x-script.c: New file.
6383 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6384 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6385
6386 2015-01-14 Pedro Alves <palves@redhat.com>
6387
6388 PR cli/17828
6389 * gdb.base/batch-preserve-term-settings.c: New file.
6390 * gdb.base/batch-preserve-term-settings.exp: New file.
6391
6392 2015-01-13 Doug Evans <dje@google.com>
6393
6394 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6395 binary.
6396
6397 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6398
6399 * Makefile.in (clean mostlyclean): Do not delete *.py.
6400
6401 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6402
6403 * gdb.python/py-lookup-type.exp: New file.
6404
6405 2015-01-12 Pedro Alves <palves@redhat.com>
6406
6407 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6408 restore GDBFLAGS before returning.
6409
6410 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6411
6412 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6413 is_amd64_regs_target and is_x86_like_target.
6414
6415 2015-01-11 Doug Evans <xdje42@gmail.com>
6416
6417 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6418 is given without an explicit form.
6419 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6420 attributes.
6421 * gdb.dwarf/corrupt.exp: Ditto.
6422 * gdb.dwarf2/enum-type.exp: Ditto.
6423 * gdb.trace/entry-values.exp: Ditto.
6424 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6425
6426 2015-01-11 Doug Evans <xdje42@gmail.com>
6427
6428 PR gdb/15830
6429 * gdb.base/maint.exp: Remove references to "maint demangle".
6430 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6431 Add tests for explicitly specifying language to demangle.
6432 * gdb.dlang/demangle.exp: Ditto.
6433
6434 2015-01-09 Pedro Alves <palves@redhat.com>
6435
6436 * gdb.threads/non-stop-fair-events.c: New file.
6437 * gdb.threads/non-stop-fair-events.exp: New file.
6438
6439 2015-01-09 Pedro Alves <palves@redhat.com>
6440
6441 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6442 the global scope. Set a breakpoint after all threads are started
6443 rather than stepping over two source lines. Expect the prompt.
6444 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6445 global.
6446 (NUM): Now 15.
6447 (main): Use threads_started_barrier to wait for all threads to
6448 start. Main thread no longer calls thread_function. Exit after
6449 180 seconds.
6450 (loop): New function.
6451 (thread_function): Wait on threads_started_barrier barrier. Call
6452 'loop' at each iteration.
6453 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6454 threads have started, instead of hardcoding number of "next"
6455 steps. Use an access watchpoint instead of a write watchpoint.
6456
6457 2015-01-09 Pedro Alves <palves@redhat.com>
6458
6459 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6460 (thread_func): Wait on barrier.
6461 (main): Wait for all threads to start before stopping GDB.
6462 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6463 global.
6464 (thread1_func, thread2_func): Wait on barrier.
6465 (main): Wait for all threads to start before stopping GDB.
6466 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6467 New global.
6468 (thread1_func, thread2_func): Wait on barrier.
6469 (main): Wait for all threads to start before stopping GDB.
6470
6471 2015-01-09 Pedro Alves <palves@redhat.com>
6472
6473 * gdb.threads/attach-many-short-lived-threads.c: New file.
6474 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6475
6476 2014-01-09 Pedro Alves <palves@redhat.com>
6477
6478 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6479 instead of to thread 2.
6480 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6481 Add barrier around each pthread_create call instead of around all
6482 calls.
6483 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6484 Set a break on thread_function and have the child threads hit it
6485 one at at a time.
6486
6487 2015-01-09 Pedro Alves <palves@redhat.com>
6488
6489 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6490 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6491 false.
6492 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6493 checking whether the target board is remote.
6494 * gdb.multi/multi-attach.exp: Likewise.
6495 * gdb.python/py-sync-interp.exp: Likewise.
6496 * gdb.server/ext-attach.exp: Likewise.
6497 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6498 tests that need to attach, instead of checking whether the target
6499 board is remote at the top of the file.
6500
6501 2015-01-08 Yao Qi <yao@codesourcery.com>
6502
6503 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6504
6505 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6506
6507 Fix testcase compilation.
6508 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6509
6510 2015-01-06 Joel Brobecker <brobecker@adacore.com>
6511
6512 * gdb.python/py-type.exp: Add a couple test about empty
6513 array creation, and negative-length array creation.
6514
6515 2015-01-02 Doug Evans <xdje42@gmail.com>
6516
6517 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6518
6519 2015-01-02 Doug Evans <dje@google.com>
6520
6521 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6522
6523 2014-12-29 Yao Qi <yao@codesourcery.com>
6524
6525 * gdb.trace/entry-values.exp: Update comments. Rename variable
6526 bar_call_foo to returned_from_foo.
6527
6528 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6529
6530 PR gdb/17394
6531 * gdb.linespec/break-asm-file.c: New file.
6532 * gdb.linespec/break-asm-file.exp: New file.
6533 * gdb.linespec/break-asm-file0.s: New file.
6534 * gdb.linespec/break-asm-file1.s: New file.
6535
6536 2014-12-18 Nigel Stephens <nigel@mips.com>
6537 Maciej W. Rozycki <macro@codesourcery.com>
6538
6539 * gdb.base/float.exp: Handle the new output from "info float" on
6540 MIPS targets.
6541
6542 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6543
6544 Fix MinGW compilation.
6545 * gdb.compile/compile-ops.exp: Update untested message if
6546 !skip_compile_feature_tests.
6547 * gdb.compile/compile-setjmp.exp: Likewise.
6548 * gdb.compile/compile-tls.exp: Likewise.
6549 * gdb.compile/compile.exp: Likewise.
6550 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6551 supported on this host".
6552
6553 2014-12-16 Doug Evans <xdje42@gmail.com>
6554
6555 * boards/stabs.exp: New file.
6556
6557 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6558
6559 * gdb.base/completion.exp: Adjust to format changes of "maint
6560 print user-registers".
6561
6562 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
6563
6564 PR server/17457
6565 * gdb.arch/aarch64-fp.c: New file.
6566 * gdb.arch/aarch64-fp.exp: New file.
6567
6568 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6569
6570 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6571 r210637, r210913, r211666, r215400, r215817).
6572
6573 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6574 * dg-extract-results.py: New file.
6575 * dg-extract-results.sh: Use it if the environment seems
6576 suitable.
6577
6578 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6579
6580 * dg-extract-results.py (parse_run): Handle warnings that
6581 are printed before a test harness is run.
6582
6583 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6584
6585 * dg-extract-results.py (Named): Remove __cmp__ method.
6586 (output_variation): Use a key to sort variation.harnesses.
6587
6588 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6589
6590 * dg-extract-results.py: For Python 3, force sys.stdout to
6591 handle surrogate escape sequences.
6592 (safe_open): New function.
6593 (output_segment, main): Use it.
6594
6595 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6596
6597 * dg-extract-results.py (Prog.result_re): Include options
6598 in test name.
6599
6600 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6601
6602 * dg-extract-results.py (output_variation): Always sort if
6603 do_sum.
6604
6605 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6606
6607 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6608 as long as we get pagination notifications.
6609
6610 2014-12-15 Jason Merrill <jason@redhat.com>
6611
6612 * Makefile.in (check-gdb.%): Restore.
6613 * README: Mention it.
6614
6615 2014-12-13 Joel Brobecker <brobecker@adacore.com>
6616
6617 * gdb.ada/str_uninit: New testcase.
6618
6619 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6620
6621 PR symtab/17642
6622 * gdb.base/vla-stub-define.c: New file.
6623 * gdb.base/vla-stub.c: New file.
6624 * gdb.base/vla-stub.exp: New file.
6625
6626 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6627 Jan Kratochvil <jan.kratochvil@redhat.com>
6628 Tom Tromey <tromey@redhat.com>
6629
6630 * configure.ac: Add gdb.compile/.
6631 * configure: Regenerate.
6632 * gdb.compile/Makefile.in: New file.
6633 * gdb.compile/compile-ops.exp: New file.
6634 * gdb.compile/compile-ops.c: New file.
6635 * gdb.compile/compile-tls.c: New file.
6636 * gdb.compile/compile-tls.exp: New file.
6637 * gdb.compile/compile-constvar.S: New file.
6638 * gdb.compile/compile-constvar.c: New file.
6639 * gdb.compile/compile-mod.c: New file.
6640 * gdb.compile/compile-nodebug.c: New file.
6641 * gdb.compile/compile-setjmp-mod.c: New file.
6642 * gdb.compile/compile-setjmp.c: New file.
6643 * gdb.compile/compile-setjmp.exp: New file.
6644 * gdb.compile/compile-shlib.c: New file.
6645 * gdb.compile/compile.c: New file.
6646 * gdb.compile/compile.exp: New file.
6647 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6648
6649 2014-12-12 Tom Tromey <tromey@redhat.com>
6650
6651 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6652 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6653
6654 2014-12-12 Doug Evans <dje@google.com>
6655
6656 * lib/gdb-python.exp (get_python_valueof): New function.
6657 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6658
6659 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6660
6661 * gdb.base/completion.exp: Add test for completion of "info
6662 registers ".
6663
6664 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6665
6666 * gdb.base/func-ptrs.c: New file.
6667 * gdb.base/func-ptrs.exp: New file.
6668
6669 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6670
6671 PR breakpoints/17012
6672 * gdb.base/dprintf-detach.c: New file.
6673 * gdb.base/dprintf-detach.exp: New file.
6674
6675 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6676
6677 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6678 * lib/gdb.exp (target_is_gdbserver): New procedure.
6679
6680 2014-12-08 Doug Evans <dje@google.com>
6681
6682 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6683
6684 2014-12-05 Yao Qi <yao@codesourcery.com>
6685
6686 * gdb.guile/scm-error.exp: Remove the third argument to
6687 gdb_remote_download.
6688 * gdb.guile/scm-frame-args.exp: Likewise.
6689 * gdb.guile/scm-section-script.exp: Likewise.
6690
6691 2014-12-05 Yao Qi <yao@codesourcery.com>
6692
6693 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6694
6695 2014-12-04 Doug Evans <dje@google.com>
6696
6697 * gdb.python/py-objfile.exp: Add tests for
6698 objfile.add_separate_debug_file.
6699
6700 2014-12-04 Doug Evans <dje@google.com>
6701
6702 * lib/gdb.exp (get_build_id): New function.
6703 (build_id_debug_filename_get): Rewrite to use it.
6704 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6705
6706 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6707
6708 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6709 `method(long)', not just 0x0.
6710 * gdb.cp/nsalias.exp: Align code labels to 4.
6711 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6712 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6713 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6714 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6715 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6716 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6717
6718 2014-12-02 Doug Evans <dje@google.com>
6719
6720 PR symtab/17602
6721 * gdb.cp/anon-ns.cc: Move guts of this file to ...
6722 * gdb.cp/anon-ns2.cc: ... here. New file.
6723 * gdb.cp/anon-ns.exp: Update.
6724
6725 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
6726
6727 * gdb.python/py-events.py (inferior_call_handler): New.
6728 (register_changed_handler, memory_changed_handler): New.
6729 (test_events.invoke): Register new handlers.
6730 * gdb.python/py-events.exp: Add tests for inferior call,
6731 memory_changed and register_changed events.
6732
6733 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6734
6735 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6736 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6737 if the linker doesn't understand this.
6738
6739 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6740
6741 * gdb.python/python.exp: Change expected reply to help().
6742
6743 2014-12-01 Yao Qi <yao@codesourcery.com>
6744
6745 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6746 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6747 * configure: Re-generated.
6748
6749 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6750
6751 * gdb.cp/chained-calls.cc: New file.
6752 * gdb.cp/chained-calls.exp: New file.
6753 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6754
6755 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6756
6757 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6758 * gdb.dwarf2/symtab-producer.exp: Same.
6759 * gdb.gdb/python-interrupts.exp: Same.
6760 * gdb.gdb/python-selftest.exp: Same.
6761 * gdb.python/py-linetable.exp: Same.
6762 * gdb.python/py-type.exp: Same.
6763 * gdb.python/py-value-cc.exp: Same.
6764 * gdb.python/py-value.exp: Same.
6765
6766 2014-11-28 Yao Qi <yao@codesourcery.com>
6767
6768 * gdb.base/break-probes.exp: Match library name prefixed with
6769 sysroot.
6770
6771 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6772
6773 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6774 test expected output. Add parentheses for the call to print.
6775 Remove L suffix from integers.
6776
6777 2014-11-26 Doug Evans <dje@google.com>
6778
6779 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6780
6781 2014-11-22 Yao Qi <yao@codesourcery.com>
6782
6783 * gdb.trace/entry-values.c: Remove asms.
6784 (foo): Add foo_label.
6785 (bar): Add bar_label.
6786 * gdb.trace/entry-values.exp: Remove code computing foo's
6787 length and bar's length.
6788 (Dwarf::assemble): Invoke function_range for bar and use
6789 MACRO_AT_func for foo.
6790
6791 2014-11-22 Yao Qi <yao@codesourcery.com>
6792
6793 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6794 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6795 Use .Lgcc43_procstart instead of gcc43.
6796
6797 2014-11-21 Joel Brobecker <brobecker@adacore.com>
6798
6799 * gdb.ada/n_arr_bound: New testcase.
6800
6801 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6802
6803 PR breakpoints/10737
6804 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6805 test_catch_syscall_multi_arch.
6806 (test_catch_syscall_multi_arch): New function.
6807
6808 2014-11-20 Doug Evans <xdje42@gmail.com>
6809
6810 * gdb.base/maint.exp: Update expected output.
6811
6812 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6813
6814 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6815 4-byte instruction on S390.
6816
6817 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6818
6819 * gdb.ada/arr_arr: New testcase.
6820
6821 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6822
6823 * gdb.ada/pkd_arr_elem: New Testcase.
6824
6825 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6826
6827 * gdb.reverse/break-precsave: Expect completion message for
6828 core file reads.
6829 * gdb.reverse/consecutive-precsave.exp: Likewise.
6830 * gdb.reverse/finish-precsave.exp: Likewise.
6831 * gdb.reverse/i386-precsave.exp: Likewise.
6832 * gdb.reverse/machinestate-precsave.exp: Likewise.
6833 * gdb.reverse/sigall-precsave.exp: Likewise.
6834 * gdb.reverse/solib-precsave.exp: Likewise.
6835 * gdb.reverse/step-precsave.exp: Likewise.
6836 * gdb.reverse/until-precsave.exp: Likewise.
6837 * gdb.reverse/watch-precsave.exp: Likewise.
6838
6839 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6840
6841 * gdb.base/bp-permanent.c: Include unistd.h.
6842 * gdb.python/py-framefilter-mi.c (main): Add return type.
6843 * gdb.python/py-framefilter.c (main): Likewise.
6844 * gdb.trace/actions-changed.c (main): Likewise.
6845
6846 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6847
6848 * gdb.mi/until.c: Add eye-catchers.
6849 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6850 line numbers.
6851
6852 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6853
6854 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6855 function header variants in break1.c.
6856 * gdb.base/ena-dis-br.exp: Likewise.
6857 * gdb.base/hbreak2.exp: Likewise.
6858 * gdb.reverse/until-precsave.exp: Drop references to removed
6859 non-prototype function header variants in ur1.c.
6860 * gdb.reverse/until-reverse.exp: Likewise.
6861
6862 2014-11-17 Petr Machata <pmachata@redhat.com>
6863
6864 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6865 ${_cu_offset_size} bytes abbrev offset.
6866
6867 2014-11-15 Doug Evans <xdje42@gmail.com>
6868
6869 PR symtab/17559
6870 * gdb.base/line-symtabs.exp: New file.
6871 * gdb.base/line-symtabs.c: New file.
6872 * gdb.base/line-symtabs.h: New file.
6873
6874 2014-11-14 Yao Qi <yao@codesourcery.com>
6875
6876 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6877 (func): Add label func_label.
6878 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6879 Replace low_pc and high_pc with MACRO_AT_range.
6880 Replace name, low_pc and high_pc with MACRO_AT_func.
6881
6882 2014-11-14 Yao Qi <yao@codesourcery.com>
6883
6884 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6885 Replace name, low_pc and high_pc with MACRO_AT_func.
6886
6887 2014-11-14 Yao Qi <yao@codesourcery.com>
6888
6889 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6890 produce debug information.
6891 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6892
6893 2014-11-14 Yao Qi <yao@codesourcery.com>
6894
6895 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6896 object and get function length.
6897 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6898 with MACRO_AT_func.
6899 (top-level): Replace gdb_compile and clean_restart with
6900 prepare_for_testing.
6901 * gdb.dwarf2/main.c (main): Add label main_label.
6902
6903 2014-11-14 Yao Qi <yao@codesourcery.com>
6904
6905 * lib/dwarf.exp (function_range): New procedure.
6906 (Dwarf::_handle_macro_at_func): New procedure.
6907 (Dwarf::_handle_macro_at_range): New procedure.
6908 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6909
6910 2014-11-14 Yao Qi <yao@codesourcery.com>
6911
6912 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6913 (_handle_attribute): New procedure.
6914
6915 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6916
6917 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6918 * gdb.base/call-sc.c (zed): Likewise.
6919 * gdb.base/checkpoint.c (main): Likewise.
6920 * gdb.base/dump.c (main): Likewise.
6921 * gdb.base/gcore.c (main): Likewise.
6922 * gdb.base/huge.c (main): Likewise.
6923 * gdb.base/multi-forks.c (main): Likewise.
6924 * gdb.base/pr10179-a.c (main): Likewise.
6925 * gdb.base/savedregs.c (main): Likewise.
6926 * gdb.base/sigaltstack.c (main): Likewise.
6927 * gdb.base/siginfo.c (main): Likewise.
6928 * gdb.base/structs.c (zed): Likewise.
6929 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6930 * gdb.mi/mi-syn-frame.c (main): Likewise.
6931 * gdb.mi/until.c (foo, main): Likewise.
6932 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6933 * gdb.base/solib-weak.c (foo): Declare.
6934 * gdb.base/attach-twice.c: Include stdio.h.
6935 * gdb.base/weaklib1.c: Likewise.
6936 * gdb.base/weaklib2.c: Likewise.
6937 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6938 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6939 unistd.h.
6940 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6941 * gdb.mi/mi-exit-code.c: Likewise.
6942 * gdb.base/break-interp-lib.c: Include string.h.
6943 * gdb.base/coremaker.c: Likewise.
6944 * gdb.base/testenv.c: Likewise.
6945 * gdb.python/py-finish-breakpoint.c: Likewise.
6946 * gdb.base/inferior-died.c: Include sys/wait.h.
6947 * gdb.base/fileio.c: Include time.h.
6948 * gdb.base/async-shell.c: Include unistd.h.
6949 * gdb.base/dprintf-non-stop.c: Likewise.
6950 * gdb.base/info-os.c: Likewise.
6951 * gdb.mi/mi-console.c: Likewise.
6952 * gdb.mi/watch-nonstop.c: Likewise.
6953 * gdb.python/py-events.c: Likewise.
6954 * gdb.base/async.c (baz): Move up before its invocation.
6955 * gdb.base/code_elim2.c (my_global_func): Likewise.
6956 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6957 * gdb.base/advance.c (func2): Likewise.
6958
6959 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6960
6961 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6962 variant.
6963 * gdb.base/annota3.c: Likewise.
6964 * gdb.base/async.c: Likewise.
6965 * gdb.base/average.c: Likewise.
6966 * gdb.base/call-ar-st.c: Likewise.
6967 * gdb.base/call-rt-st.c: Likewise.
6968 * gdb.base/call-sc.c: Likewise.
6969 * gdb.base/call-strs.c: Likewise.
6970 * gdb.base/ending-run.c: Likewise.
6971 * gdb.base/execd-prog.c: Likewise.
6972 * gdb.base/exprs.c: Likewise.
6973 * gdb.base/foll-exec.c: Likewise.
6974 * gdb.base/foll-fork.c: Likewise.
6975 * gdb.base/foll-vfork.c: Likewise.
6976 * gdb.base/funcargs.c: Likewise.
6977 * gdb.base/gcore.c: Likewise.
6978 * gdb.base/jump.c: Likewise.
6979 * gdb.base/langs0.c: Likewise.
6980 * gdb.base/langs1.c: Likewise.
6981 * gdb.base/langs2.c: Likewise.
6982 * gdb.base/mips_pro.c: Likewise.
6983 * gdb.base/nodebug.c: Likewise.
6984 * gdb.base/opaque0.c: Likewise.
6985 * gdb.base/opaque1.c: Likewise.
6986 * gdb.base/recurse.c: Likewise.
6987 * gdb.base/run.c: Likewise.
6988 * gdb.base/scope0.c: Likewise.
6989 * gdb.base/scope1.c: Likewise.
6990 * gdb.base/setshow.c: Likewise.
6991 * gdb.base/setvar.c: Likewise.
6992 * gdb.base/shmain.c: Likewise.
6993 * gdb.base/shr1.c: Likewise.
6994 * gdb.base/shr2.c: Likewise.
6995 * gdb.base/sigall.c: Likewise.
6996 * gdb.base/signals.c: Likewise.
6997 * gdb.base/so-indr-cl.c: Likewise.
6998 * gdb.base/solib2.c: Likewise.
6999 * gdb.base/structs.c: Likewise.
7000 * gdb.base/sum.c: Likewise.
7001 * gdb.base/vforked-prog.c: Likewise.
7002 * gdb.base/watchpoint.c: Likewise.
7003 * gdb.reverse/shr2.c: Likewise.
7004 * gdb.reverse/until-reverse.c: Likewise.
7005 * gdb.reverse/ur1.c: Likewise.
7006 * gdb.reverse/watch-reverse.c: Likewise.
7007
7008 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7009
7010 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7011 variant.
7012 * gdb.base/sepdebug.exp: Drop references to removed code.
7013
7014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7015
7016 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7017 variant. Preserve original line numbering.
7018 * gdb.base/list1.c: Likewise.
7019
7020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7021
7022 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7023 variant.
7024 * gdb.base/break1.c: Likewise.
7025 * gdb.base/break.exp: Drop references to removed code.
7026
7027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7028
7029 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7030 variant.
7031
7032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7033
7034 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7035
7036 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7037
7038 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7039 logic into perform_all_tests() and invoke it with and without
7040 function header prototypes.
7041 (do_function_calls): Remove conditional XFAIL for PR 5318.
7042 (rerun_and_prepare): Remove duplicate code.
7043 (perform_all_tests): New. Main logic moved here.
7044
7045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7046
7047 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7048 code guarded by #ifdef NO_PROTOTYPES.
7049 (t_double_many_args): Likewise.
7050 (DEF_FUNC_MANY_ARGS_1): Likewise.
7051 (DEF_FUNC_VALUES_1): Likewise.
7052 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7053 guarded by #ifdef PROTOTYPES.
7054
7055 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7056
7057 * gdb.mi/mi-console.c: Add eye-catcher.
7058 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7059 instead of literal line number.
7060
7061 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7062
7063 * gdb.base/shr2.c: Add eye-catcher.
7064 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7065 line number.
7066
7067 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7068
7069 * gdb.base/jump.c: Add eye-catchers.
7070 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7071 numbers.
7072
7073 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7074
7075 * gdb.base/execd-prog.c: Add eye-catchers.
7076 * gdb.base/foll-exec.c: Likewise.
7077 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7078 line numbers.
7079
7080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7081
7082 * gdb.base/ending-run.c: Add eye-catchers.
7083 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7084 literal line numbers.
7085
7086 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7087
7088 * gdb.base/call-rt-st.c: Add eye-catchers.
7089 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7090 literal line numbers.
7091
7092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7093
7094 * gdb.base/call-ar-st.c: Add eye-catchers.
7095 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7096 literal line numbers.
7097
7098 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7099
7100 * gdb.base/average.c: Add eye-catchers.
7101 * gdb.base/sum.c: Likewise.
7102 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7103 regexps dynamically.
7104
7105 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7106
7107 * gdb.base/solib1.c: Add eye-catchers.
7108 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7109 literal line numbers.
7110
7111 2014-11-12 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7114 leader has exited.
7115
7116 2014-11-12 Pedro Alves <palves@redhat.com>
7117
7118 * gdb.arch/i386-bp_permanent.c: New file.
7119 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7120 (srcfile): Set to i386-bp_permanent.c.
7121 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7122 that stepi does not execute the 'leave' instruction, instead of
7123 testing it does execute.
7124 * gdb.base/bp-permanent.c: New file.
7125 * gdb.base/bp-permanent.exp: New file.
7126
7127 2014-11-10 Doug Evans <xdje42@gmail.com>
7128
7129 PR symtab/17564
7130 * gdb.base/symtab-search-order.exp: New file.
7131 * gdb.base/symtab-search-order.c: New file.
7132 * gdb.base/symtab-search-order-1.c: New file.
7133 * gdb.base/symtab-search-order-shlib-1.c: New file.
7134
7135 2014-11-07 Pedro Alves <palves@redhat.com>
7136
7137 PR gdb/17511
7138 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7139 i?86-*-linux*.
7140
7141 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7142
7143 PR c++/17494
7144 * gdb.cp/pr17494.cc: New file.
7145 * gdb.cp/pr17494.exp: New file.
7146
7147 2014-11-02 Yao Qi <yao@codesourcery.com>
7148
7149 * gdb.python/python.exp: Get working directory and match the
7150 output of "set extended-prompt \\w " with it.
7151
7152 2014-10-30 Doug Evans <dje@google.com>
7153
7154 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7155 in objfiles.
7156 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7157 in progspaces.
7158
7159 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
7160
7161 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7162 * gdb.base/realname-expand.exp: Likewise.
7163 * gdb.linespec/macro-relative.exp: Likewise.
7164
7165 2014-10-29 Pedro Alves <palves@redhat.com>
7166
7167 PR gdb/17408
7168 * gdb.threads/schedlock.c (some_function): New function.
7169 (call_function): New global.
7170 (MAYBE_CALL_SOME_FUNCTION): New macro.
7171 (thread_function): Call it.
7172 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7173 and use it instead of a global counter. Adjust all callers.
7174 (get_current_thread): Use "find current thread" for test message
7175 here rather than having all callers pass down the same string.
7176 (goto_loop): New procedure, factored out from ...
7177 (my_continue): ... this.
7178 (step_ten_loops): Change parameter from test message to command to
7179 use. Adjust.
7180 (list_count): Delete global.
7181 (check_result): New procedure, factored out from duplicate top
7182 level code.
7183 (continue tests): Wrap in with_test_prefix.
7184 (test_step): New procedure, factored out from duplicate top level
7185 code.
7186 (top level): Test "step" in combination with all scheduler-locking
7187 modes. Test "next" in combination with all scheduler-locking
7188 modes, and in combination with stepping over a function call or
7189 not.
7190 * gdb.threads/next-bp-other-thread.c: New file.
7191 * gdb.threads/next-bp-other-thread.exp: New file.
7192
7193 2014-10-29 Pedro Alves <palves@redhat.com>
7194
7195 PR python/17372
7196 * gdb.python/python.exp: Test a multi-line command that spawns
7197 interactive Python.
7198 * gdb.base/multi-line-starts-subshell.exp: New file.
7199
7200 2014-10-29 Yao Qi <yao@codesourcery.com>
7201
7202 * gdb.base/fileio.exp: Make directories on host.
7203
7204 2014-10-29 Yao Qi <yao@codesourcery.com>
7205
7206 * gdb.base/fileio.c (test_write): Close the file.
7207
7208 2014-10-28 Pedro Alves <palves@redhat.com>
7209
7210 PR gdb/12623
7211 * gdb.base/sigstep.c (no_handler): New global.
7212 (main): If 'no_handler is true, set the signal handlers to
7213 SIG_IGN.
7214 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7215 with_sw_watch and no_handler parameters. Handle them.
7216 (top level) <stepping over handler when stopped at a breakpoint
7217 test>: Add a test axis for testing with a software watchpoint, and
7218 another for testing with the signal handler set to SIG_IGN.
7219 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7220 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7221
7222 2014-10-28 Pedro Alves <palves@redhat.com>
7223
7224 PR gdb/17511
7225 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7226 * gdb.base/sigstep.exp (other_handler_location): New global.
7227 (advance): Support stepping into the signal handler, and running
7228 commands while in the handler.
7229 (in_handler_map): New global.
7230 (top level): In the advance test, add combinations for getting
7231 into the handler with stepping commands, and for running commands
7232 in the handler. Add comment descripting the advancei tests.
7233
7234 2014-10-28 Pedro Alves <palves@redhat.com>
7235
7236 * gdb.base/sigstep.exp: Use build_executable instead of
7237 prepare_for_testing.
7238 (top level): Move code that starts GDB, runs to main and creates a
7239 display to ...
7240 (restart): ... this new procedure.
7241 (top level): Move backtrace from signal handler test to ...
7242 (validate_backtrace): ... this new procedure.
7243 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7244 with_test_prefix. Always restart GDB.
7245 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7246 with_test_prefix. Always restart GDB. No need to delete
7247 breakpoints after the test.
7248 (test_skip_handler): Remove prefix parameter.
7249 (skip_over_handler, breakpoint_to_handler)
7250 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7251 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7252 restart GDB. No need to delete breakpoints after the test.
7253 (top level): Use foreach to call the test procedures with
7254 different commands.
7255
7256 2014-10-28 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7259 instead of GNATS numbers.
7260 * gdb.base/sigbpt.exp: Likewise.
7261 * gdb.base/siginfo.exp: Likewise.
7262 * gdb.base/sigstep.exp: Likewise.
7263
7264 2014-10-27 Pedro Alves <palves@redhat.com>
7265
7266 * gdb.base/sigstep.c (dummy): New global.
7267 (main): Issue a couple writes to the new global.
7268 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7269 procedures.
7270 (skip_over_handler): Use test_skip_handler.
7271 (top level): Call skip_over_handler for stepi and nexti too.
7272 (breakpoint_over_handler): Use test_skip_handler.
7273 (top level): Call breakpoint_over_handler for stepi and nexti too.
7274
7275 2014-10-27 Yao Qi <yao@codesourcery.com>
7276
7277 * gdb.trace/tfile.c (adjust_function_address)
7278 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7279 function descriptor.
7280
7281 2014-10-24 Don Breazeal <donb@codesourcery.com>
7282
7283 * gdb.base/foll-fork.exp (test_follow_fork,
7284 catch_fork_child_follow): Check for updated fork messages emitted
7285 from infrun.c.
7286 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7287 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7288 vfork_and_exec_child_follow_through_step): Check for updated vfork
7289 messages emitted from infrun.c.
7290
7291 2014-10-24 Pedro Alves <palves@redhat.com>
7292
7293 * gdb.base/corefile.exp: Remove references to ultrix.
7294 * gdb.base/interrupt.exp: Likewise.
7295 * gdb.base/whatis.exp: Likewise.
7296 * gdb.gdb/selftest.exp: Likewise.
7297 * gdb.threads/manythreads.exp: Likewise.
7298 * gdb.threads/print-threads.exp: Likewise.
7299 * gdb.threads/pthreads.exp:: Likewise.
7300 * gdb.threads/schedlock.exp: Likewise.
7301
7302 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7303
7304 * gdb.cp/non-trivial-retval.cc: Add a test case.
7305 * gdb.cp/non-trivial-retval.exp: Add a test.
7306
7307 2014-10-20 Yao Qi <yao@codesourcery.com>
7308
7309 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7310 * gdb.python/py-objfile-script-gdb.py: New file.
7311 * gdb.python/py-objfile-script.exp: Update reference to
7312 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7313 of remote_download. Remove the dest file.
7314
7315 2014-10-20 Yao Qi <yao@codesourcery.com>
7316
7317 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7318 * gdb.base/step-line.exp: Likewise.
7319 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7320 * gdb.dwarf2/dw2-basic.exp: Likewise.
7321 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7322 * gdb.dwarf2/dw2-filename.exp: Likewise.
7323 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7324 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7325 * gdb.dwarf2/dw2-producer.exp: Likewise.
7326 * gdb.dwarf2/mac-fileno.exp: Likewise.
7327 * gdb.python/py-frame-args.exp: Likewise.
7328 * gdb.python/py-framefilter.exp: Likewise.
7329 * gdb.python/py-mi.exp: Likewise.
7330 * gdb.python/py-objfile-script.exp: Likewise
7331 * gdb.python/py-pp-integral.exp: Likewise.
7332 * gdb.python/py-pp-re-notag.exp: Likewise.
7333 * gdb.python/py-prettyprint.exp: Likewise.
7334 * gdb.python/py-section-script.exp: Likewise.
7335 * gdb.python/py-typeprint.exp: Likewise.
7336 * gdb.python/py-xmethods.exp: Likewise.
7337 * gdb.stabs/weird.exp: Likewise.
7338 * gdb.xml/tdesc-regs.exp: Likewise.
7339
7340 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7341
7342 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7343 (out_cu): Use addr_len for the size of addresses.
7344 (out_line): Likewise. Size DW_LNE_set_address instruction
7345 according to addr_len.
7346 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7347 (FUNC): Add START_INSNS to definition.
7348
7349 2014-10-18 Yao Qi <yao@codesourcery.com>
7350
7351 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7352 gdb_has_argv0 return true.
7353 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7354 check [target_info exists noargs], check [gdb_has_argv0]
7355 instead.
7356 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7357 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7358 procedures.
7359
7360 2014-10-17 Doug Evans <dje@google.com>
7361
7362 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7363 event.
7364 * gdb.python/py-events.py: Add clear_objfiles event.
7365
7366 2014-10-17 Doug Evans <dje@google.com>
7367
7368 * gdb.python/py-objfile.exp: Test progspace attribute.
7369
7370 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7371
7372 * gdb.guile/scm-breakpoint.exp: Do not assume any
7373 directory separators when matching source file paths.
7374 * gdb.python/py-breakpoint.exp: Likewise.
7375 * gdb.reverse/break-precsave.exp: Likewise.
7376 * gdb.reverse/break-reverse.exp: Likewise.
7377 * gdb.reverse/consecutive-precsave.exp: Likewise.
7378 * gdb.reverse/finish-precsave.exp: Likewise.
7379 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7380 * gdb.reverse/finish-reverse.exp: Likewise.
7381 * gdb.reverse/i386-precsave.exp: Likewise.
7382 * gdb.reverse/i387-env-reverse.exp: Likewise.
7383 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7384 * gdb.reverse/machinestate-precsave.exp: Likewise.
7385 * gdb.reverse/machinestate.exp: Likewise.
7386 * gdb.reverse/sigall-precsave.exp: Likewise.
7387 * gdb.reverse/solib-precsave.exp: Likewise.
7388 * gdb.reverse/step-precsave.exp: Likewise.
7389 * gdb.reverse/until-precsave.exp: Likewise.
7390 * gdb.reverse/watch-precsave.exp: Likewise.
7391 * gdb.reverse/watch-reverse.exp: Likewise.
7392
7393 2014-10-17 Yao Qi <yao@codesourcery.com>
7394
7395 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7396 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7397
7398 2014-10-17 Pedro Alves <palves@redhat.com>
7399
7400 PR gdb/17471
7401 * gdb.base/bg-execution-repeat.c: New file.
7402 * gdb.base/bg-execution-repeat.exp: New file.
7403
7404 2014-10-17 Pedro Alves <palves@redhat.com>
7405
7406 PR gdb/17300
7407 * gdb.base/continue-all-already-running.c: New file.
7408 * gdb.base/continue-all-already-running.exp: New file.
7409
7410 2014-10-17 Pedro Alves <palves@redhat.com>
7411
7412 PR gdb/17472
7413 * gdb.base/annota-input-while-running.c: New file.
7414 * gdb.base/annota-input-while-running.exp: New file.
7415
7416 2014-10-17 Pedro Alves <palves@redhat.com>
7417
7418 * gdb.base/callfuncs.exp: emove references to osf.
7419 * gdb.base/sigall.exp: Likewise.
7420 * gdb.gdb/selftest.exp: Likewise.
7421 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7422 * gdb.mi/non-stop.c: Likewise.
7423 * gdb.mi/pthreads.c: Likewise.
7424 * gdb.reverse/sigall-precsave.exp: Likewise.
7425 * gdb.reverse/sigall-reverse.exp: Likewise.
7426 * gdb.threads/pthreads.c: Likewise.
7427 * gdb.threads/pthreads.exp: Likewise.
7428
7429 2014-10-17 Yao Qi <yao@codesourcery.com>
7430
7431 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7432 check 'target_info exists noargs'.
7433 (test_command_prompt_position): Likewise.
7434 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7435 Remove "set args".
7436 (progvar_simple_while_test): Likewise.
7437 (progvar_complex_if_while_test): Likewise.
7438 (if_while_breakpoint_command_test): Likewise.
7439 (infrun_breakpoint_command_test): Likewise.
7440 (breakpoint_command_test): Likewise.
7441 (watchpoint_command_test): Likewise.
7442 (bp_deleted_in_command_test): Likewise.
7443 (temporary_breakpoint_commands): Likewise.
7444
7445 2014-10-16 Yao Qi <yao@codesourcery.com>
7446
7447 * gdb.base/remotetimeout.exp: Remove noargs checking.
7448
7449 2014-10-15 Pedro Alves <palves@redhat.com>
7450
7451 PR breakpoints/9649
7452 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7453 * gdb.base/breakpoint-in-ro-region.exp
7454 (probe_target_hardware_step): New procedure.
7455 (top level): Probe hardware stepping and hardware breakpoint
7456 support. Test stepping through a read-only region, with both
7457 "breakpoint auto-hw" on and off and both "always-inserted" on and
7458 off.
7459
7460 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7461
7462 * gdb.dlang/demangle.exp: Update for demangling changes.
7463
7464 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7465
7466 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7467 * gdb.cp/non-trivial-retval.exp: Add new tests.
7468
7469 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7470
7471 PR c++/13403
7472 PR c++/15154
7473 * gdb.cp/non-trivial-retval.cc: New file.
7474 * gdb.cp/non-trivial-retval.exp: New file.
7475
7476 2014-10-15 Yao Qi <yao@codesourcery.com>
7477
7478 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7479 remote host.
7480
7481 2014-10-15 Yao Qi <yao@codesourcery.com>
7482
7483 * gdb.python/py-symbol.exp: Match file base name if host is
7484 remote, otherwise match file name with dir name.
7485 * gdb.python/py-symtab.exp: Likewise.
7486 * gdb.python/python.exp: Likewise.
7487
7488 2014-10-15 Yao Qi <yao@codesourcery.com>
7489
7490 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7491 pattern.
7492 * gdb.python/py-symtab.exp: Likewise.
7493 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7494 locationn.
7495
7496 2014-10-14 Joel Brobecker <brobecker@adacore.com>
7497
7498 * gdb.ada/addr_arith: New testcase.
7499
7500 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7501
7502 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7503 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7504 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7505 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7506
7507 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7508
7509 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7510 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7511 * gdb.arch/stap-eval-lang-ada.exp: New file.
7512
7513 2014-10-14 Yao Qi <yao@codesourcery.com>
7514
7515 * gdb.mi/mi-var-child.c (nothing1): New function.
7516 (nothing2): New function.
7517 (do_children_tests): Set function pointers by nothing1 and
7518 nothing2.
7519 * gdb.mi/mi-var-child.exp: Step over new added statements.
7520 Update test to match the new output.
7521 * gdb.mi/var-cmd.c (nothing1): New function.
7522 (nothing2): New function.
7523 (do_children_tests): Set function pointers by nothing1 and
7524 nothing2.
7525 * gdb.mi/mi-var-display.exp: Update test to match output.
7526 Step to the line specified by $line_dct_nothing.
7527 Increase the number of lines to step.
7528
7529 2014-10-14 Yao Qi <yao@codesourcery.com>
7530
7531 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7532 tests.
7533 * gdb.mi/mi2-var-child.exp: Likewise.
7534
7535 2014-10-13 Doug Evans <dje@google.com>
7536
7537 * gdb.python/py-objfile.exp: Change name of file name test.
7538
7539 2014-10-13 Doug Evans <dje@google.com>
7540
7541 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7542 from the start of the CU.
7543
7544 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7545 Yao Qi <yao@codesourcery.com>
7546
7547 Fix "save breakpoints" for "catch" command.
7548 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7549 Remove -nonewline. Match also the added "main" line.
7550
7551 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7552
7553 Fix "save breakpoints" for "disable $bpnum" command.
7554 * gdb.base/save-bp.c (main): Add label.
7555 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7556
7557 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7558
7559 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7560
7561 2014-10-11 Yao Qi <yao@codesourcery.com>
7562
7563 * gdb.server/server-kill.exp: Execute command
7564 "set remote trace-status-packet on" before "tstatus".
7565
7566 2014-10-11 Yao Qi <yao@codesourcery.com>
7567
7568 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7569 (main): Call getppid.
7570 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7571 and continue to it. Read variable "server_pid".
7572
7573 2014-10-11 Yao Qi <yao@codesourcery.com>
7574
7575 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7576
7577 2014-10-11 Yao Qi <yao@codesourcery.com>
7578
7579 * gdb.threads/thread-find.exp: Don't execute command
7580 "info threads".
7581 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7582 * gdb.threads/linux-dp.exp: Don't check the condition
7583 $threads_created equals to zero.
7584
7585 2014-10-10 Pedro Alves <palves@redhat.com>
7586
7587 * gdb.base/bigcore.exp: Remove references to IRIX.
7588 * gdb.base/funcargs.exp: Likewise.
7589 * gdb.base/interrupt.exp: Likewise.
7590 * gdb.base/mips_pro.exp: Likewise.
7591 * gdb.base/nodebug.exp: Likewise.
7592 * gdb.base/setvar.exp: Likewise.
7593 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7594
7595 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7596 Pedro Alves <palves@redhat.com>
7597
7598 PR symtab/14466
7599 * gdb.base/vdso-warning.c: New file.
7600 * gdb.base/vdso-warning.exp: New file.
7601
7602 2014-10-02 Doug Evans <dje@google.com>
7603
7604 * gdb.base/structs.c (main): Don't run forever.
7605
7606 2014-10-02 Pedro Alves <palves@redhat.com>
7607
7608 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7609 (top level) <stop threads 1, stop threads 2>: Use it.
7610
7611 2014-10-02 Pedro Alves <palves@redhat.com>
7612
7613 * gdb.threads/break-while-running.exp (test): Add new
7614 'update_thread_list' argument. Skip "info threads" if false.
7615 (top level): Add new 'update_thread_list' axis.
7616
7617 2014-10-02 Pedro Alves <palves@redhat.com>
7618
7619 PR breakpoints/17431
7620 * gdb.base/execl-update-breakpoints.c: New file.
7621 * gdb.base/execl-update-breakpoints.exp: New file.
7622
7623 2014-10-01 Pedro Alves <palves@redhat.com>
7624
7625 * gdb.base/breakpoint-in-ro-region.c: New file.
7626 * gdb.base/breakpoint-in-ro-region.exp: New file.
7627
7628 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7629
7630 * gdb.mi/mi-exit-code.exp: New file.
7631 * gdb.mi/mi-exit-code.c: New file.
7632
7633 2014-09-30 Yao Qi <yao@codesourcery.com>
7634
7635 * lib/prelink-support.exp (build_executable_own_libs): Error if
7636 the target isn't native.
7637
7638 2014-09-30 Yao Qi <yao@codesourcery.com>
7639
7640 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7641 false.
7642
7643 2014-09-22 Pedro Alves <palves@redhat.com>
7644
7645 * gdb.threads/break-while-running.exp: New file.
7646 * gdb.threads/break-while-running.c: New file.
7647
7648 2014-09-19 Yao Qi <yao@codesourcery.com>
7649
7650 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7651 Invoke test. Restart GDB with --readnow and invoke test again.
7652
7653 2014-09-19 Yao Qi <yao@codesourcery.com>
7654
7655 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7656 proc set_breakpoint_on_gcd_function. Invoke
7657 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7658 invoke set_breakpoint_on_gcd_function again.
7659
7660 2014-09-18 Doug Evans <dje@google.com>
7661
7662 * gdb.dwarf2/symtab-producer.exp: New file.
7663
7664 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7665
7666 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7667 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7668 * gdb.base/global-var-nested-by-dso.c: Likewise.
7669 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7670
7671 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7672 Pedro Alves <palves@redhat.com>
7673
7674 * gdb.base/watch-bitfields.exp: Pass string other than test file
7675 name to prepare_for_testing.
7676 (watch): New procedure.
7677 (expect_watchpoint): Use with_test_prefix.
7678 (top level): Factor out tests to ...
7679 (test_watch_location, test_regular_watch): ... these new
7680 procedures, and use with_test_prefix and gdb_continue_to_end.
7681
7682 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7683
7684 PR breakpoints/12526
7685 * gdb.base/watch-bitfields.exp: New file.
7686 * gdb.base/watch-bitfields.c: New file.
7687
7688 2014-09-16 Pedro Alves <palves@redhat.com>
7689
7690 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7691 software and hardware addresses, not software address against
7692 itself.
7693
7694 2014-09-16 Pedro Alves <palves@redhat.com>
7695
7696 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7697 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7698
7699 2014-09-16 Pedro Alves <palves@redhat.com>
7700
7701 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7702 files.
7703 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7704 "*-*-vxworks*" throughout.
7705 * gdb.base/break.exp: Likewise.
7706 * gdb.base/default.exp: Likewise.
7707 * gdb.base/scope.exp: Likewise.
7708 * gdb.base/sepdebug.exp: Likewise.
7709 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7710 throughout.
7711 * gdb.base/run.c: Likewise.
7712 * gdb.base/sepdebug.c: Likewise.
7713 * gdb.hp/gdb.aCC/run.c: Likewise.
7714 * gdb.reverse/until-reverse.c: Likewise.
7715 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7716
7717 2014-09-16 Yao Qi <yao@codesourcery.com>
7718
7719 * boards/local-remote-host-native.exp: New file.
7720
7721 2014-09-14 Doug Evans <xdje42@gmail.com>
7722
7723 * gdb.threads/queue-signal.c (thread_count): New variable.
7724 (thread_count_mutex, thread_count_condvar): New variables.
7725 (incr_thread_count, wait_all_threads_running): New functions.
7726 (main): Wait for all threads to be in their thread functions.
7727
7728 2014-09-13 Doug Evans <xdje42@gmail.com>
7729
7730 * gdb.threads/queue-signal.c: New file.
7731 * gdb.threads/queue-signal.exp: New file.
7732
7733 2014-09-13 Doug Evans <xdje42@gmail.com>
7734
7735 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7736 be consistent with what default_gdb_init uses.
7737 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7738 the plain text of the prompt. Add some logging printfs.
7739 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7740
7741 2014-09-12 Pedro Alves <palves@redhat.com>
7742
7743 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7744 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7745 * gdb.arch/i386-size-overlap.exp: Likewise.
7746 * gdb.arch/i386-size.exp: Likewise.
7747 * gdb.arch/i386-unwind.exp: Likewise.
7748 * gdb.base/a2-run.exp: Likewise.
7749 * gdb.base/break.exp: Likewise.
7750 * gdb.base/charset.exp: Likewise.
7751 * gdb.base/chng-syms.exp: Likewise.
7752 * gdb.base/commands.exp: Likewise.
7753 * gdb.base/dbx.exp: Likewise.
7754 * gdb.base/find.exp: Likewise.
7755 * gdb.base/funcargs.exp: Likewise.
7756 * gdb.base/jit-simple.exp: Likewise.
7757 * gdb.base/reread.exp: Likewise.
7758 * gdb.base/sepdebug.exp: Likewise.
7759 * gdb.base/step-bt.exp: Likewise.
7760 * gdb.cp/mb-inline.exp: Likewise.
7761 * gdb.cp/mb-templates.exp: Likewise.
7762 * gdb.objc/basicclass.exp: Likewise.
7763 * gdb.threads/killed.exp: Likewise.
7764
7765 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7766
7767 PR tdep/17379
7768 * gdb.arch/powerpc-stackless.S: New file.
7769 * gdb.arch/powerpc-stackless.exp: New file.
7770
7771 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7772
7773 * gdb.base/attach.c: Include unistd.h.
7774 (main): Call alarm. Add label postloop.
7775 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7776 gdb_breakpoint, gdb_continue_to_breakpoint.
7777 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7778
7779 2014-09-11 Pedro Alves <palves@redhat.com>
7780
7781 PR gdb/17347
7782 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7783 * gdb.base/attach.exp (test_command_line_attach_run): New
7784 procedure.
7785 (top level): Call it.
7786
7787 2014-09-11 Pedro Alves <palves@redhat.com>
7788
7789 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7790 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7791 (do_command_attach_tests): Use spawn_wait_for_attach.
7792 * gdb.base/solib-overlap.exp: Likewise.
7793 * gdb.multi/multi-attach.exp: Likewise.
7794 * gdb.python/py-prompt.exp: Likewise.
7795 * gdb.python/py-sync-interp.exp: Likewise.
7796 * gdb.server/ext-attach.exp: Likewise.
7797
7798 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7799
7800 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7801 command in testcase. Simplify testcase.
7802
7803 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7804
7805 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7806
7807 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7808
7809 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7810
7811 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7812
7813 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7814
7815 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7816
7817 * gdb.dwarf2/dynarr-ptr.c: New file.
7818 * gdb.dwarf2/dynarr-ptr.exp: New file.
7819
7820 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7821
7822 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7823 of 30 rather than hardcoding 120 for a slow test case. Take the
7824 `gdb,timeout' target setting into account for this calculation.
7825 Don't extend the timeout for the test cases that don't need it.
7826
7827 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7828
7829 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7830 a factor of 2 for a slow test case. Take the `gdb,timeout'
7831 target setting into account for this calculation.
7832 * gdb.reverse/until-precsave.exp: Increase the timeout by
7833 a factor of 15 and 3 respectively rather than adding 120
7834 for a pair of slow test cases. Take the `gdb,timeout'
7835 target setting into account for this calculation.
7836
7837 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7838
7839 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7840 timeout, don't pass one down to gdb_expect.
7841 (gdb_expect): Rework timeout selection.
7842
7843 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7844
7845 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7846 exception on timeout.
7847 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7848 (gdbserver_start_extended): Catch any `gdbserver_start' error
7849 exceptions.
7850 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7851 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7852 `gdbserver_gdb_load' error exceptions.
7853
7854 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7855
7856 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7857 120 on waiting for the TCP socket to open.
7858
7859 2014-09-09 Doug Evans <xdje42@gmail.com>
7860
7861 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7862 _caller_matches, _any_caller_is, _any_caller_matches.
7863
7864 2014-09-09 Doug Evans <xdje42@gmail.com>
7865
7866 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7867
7868 2014-09-09 Yao Qi <yao@codesourcery.com>
7869
7870 * gdb.mi/mi-var-display.exp: Set print symbol off.
7871
7872 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7873
7874 PR gdb/17035
7875 * gdb.base/commands.exp: Add tests to verify user-defined
7876 commands with empty bodies.
7877 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7878 python commands in `show user command`.
7879 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7880 scheme commands in `show user command`.
7881
7882 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7883
7884 PR python/17355
7885 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7886 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7887 * gdb.python/py-framefilter-invalidarg.exp: New file.
7888 * gdb.python/py-framefilter-invalidarg.py: New file.
7889
7890 2014-09-06 Doug Evans <xdje42@gmail.com>
7891
7892 PR 15276
7893 * gdb.python/py-caller-is.c: New file.
7894 * gdb.python/py-caller-is.exp: New file.
7895
7896 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7897
7898 PR gdb/17235
7899 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7900 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7901
7902 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7903
7904 PR fortran/17237
7905 * gdb.fortran/print-formatted.exp: New file.
7906 * gdb.fortran/print-formatted.f90: Likewise.
7907
7908 2014-09-03 Sasha Smundak <asmundak@google.com>
7909
7910 * gdb.python/py-frame.exp: Test Frame.read_register.
7911
7912 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7913
7914 PR python/16699
7915 * gdb.python/py-completion.exp: New file.
7916 * gdb.python/py-completion.py: Likewise.
7917
7918 2014-08-28 Doug Evans <dje@google.com>
7919
7920 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7921 eax,etc. are live with values set by gdb and thus the compiler can't
7922 use them.
7923 * gdb.arch/i386-pseudo.c (main): Ditto.
7924
7925 2014-08-27 Doug Evans <dje@google.com>
7926
7927 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7928
7929 2014-08-25 Doug Evans <dje@google.com>
7930
7931 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7932 (main): Ditto.
7933
7934 2014-08-25 Doug Evans <dje@google.com>
7935
7936 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7937
7938 2014-08-24 Yao Qi <yao@codesourcery.com>
7939
7940 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7941 symbol off.
7942 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7943
7944 2014-08-22 Doug Evans <dje@google.com>
7945
7946 PR 17276
7947 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7948 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7949 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7950
7951 2014-08-22 Yao Qi <yao@codesourcery.com>
7952
7953 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7954 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7955 * gdb.python/python.exp: Likewise. Use .py file on the host
7956 instead of the build.
7957
7958 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7959
7960 * gdb.threads/gcore-stale-thread.c: New file.
7961 * gdb.threads/gcore-stale-thread.exp: New file.
7962
7963 2014-08-21 Pedro Alves <palves@redhat.com>
7964
7965 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7966 * gdb.base/gcore-relro-pie.exp: Likewise.
7967 * gdb.base/gcore-relro.exp: Likewise.
7968 * gdb.base/gcore.exp: Likewise.
7969 * gdb.base/print-symbol-loading.exp: Likewise.
7970 * gdb.threads/gcore-thread.exp: Likewise.
7971 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7972
7973 2014-08-20 Pedro Alves <palves@redhat.com>
7974 Jan Kratochvil <jan.kratochvil@redhat.com>
7975
7976 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7977 configure.
7978 (EXPECT): Handle READ1 being set.
7979 (all): Depend on EXTRA_RULES.
7980 (check-read1, expect-read1, read1.so, read1): New rules.
7981 * README (Testsuite Parameters): Document the READ1 make variable.
7982 (Race detection): New section.
7983 * configure: Regenerate.
7984 * configure.ac: If build==host==target, and running under a
7985 GNU/glibc system, add read1 to the extra Makefile rules.
7986 (EXTRA_RULES): AC_SUBST it.
7987 * lib/read1.c: New file.
7988
7989 2014-08-20 Joel Brobecker <brobecker@adacore.com>
7990
7991 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7992 the handling of variables declared as a typedef to an array
7993 which a DW_AT_data_location attribute.
7994
7995 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
7996 Pedro Alves <palves@redhat.com>
7997
7998 PR symtab/14604
7999 PR symtab/14605
8000 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8001 gdb_test.
8002
8003 2014-08-19 Pedro Alves <palves@redhat.com>
8004
8005 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8006
8007 2014-08-19 Yao Qi <yao@codesourcery.com>
8008
8009 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8010 right line.
8011
8012 2014-08-18 David Blaikie <dblaikie@gmail.com>
8013
8014 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8015
8016 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8017
8018 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8019 attribute in array range.
8020
8021 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8022
8023 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8024
8025 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8026
8027 PR c++/17132
8028 * gdb.cp/pr17132.cc: New file.
8029 * gdb.cp/pr17132.exp: New file.
8030
8031 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8032
8033 * gdb.python/py-xmethods.py (A_getarrayind)
8034 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8035 Use 'print' with function call syntax.
8036 (E_method_matcher.match): Fix tab vs space indentation mixup.
8037
8038 2014-08-15 Yao Qi <yao@codesourcery.com>
8039
8040 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8041 false.
8042
8043 2014-08-15 Yao Qi <yao@codesourcery.com>
8044
8045 * gdb.cp/casts.exp: Set print symbol off.
8046 * gdb.cp/class2.exp: Likewise.
8047 * gdb.cp/overload.exp: Likewise.
8048 * gdb.cp/templates.exp: Likewise.
8049
8050 2014-08-11 Doug Evans <dje@google.com>
8051
8052 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8053 (test_load_shlib): Update.
8054
8055 2014-08-09 Yao Qi <yao@codesourcery.com>
8056
8057 * gdb.base/display.exp: Invoke is_address_zero_readable.
8058 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8059 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8060 * gdb.base/hbreak-unmapped.exp: Return if
8061 is_address_zero_readable returns true.
8062 * gdb.base/signest.exp: Likewise.
8063 * gdb.base/signull.exp: Likewise.
8064 * gdb.base/sigbpt.exp: Likewise.
8065 * gdb.guile/scm-disasm.exp: Do the test if
8066 is_address_zero_readable returns false.
8067 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8068 * gdb.python/py-arch.exp: Likewise.
8069 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8070 * lib/gdb.exp (is_address_zero_readable): New proc.
8071
8072 2014-08-09 Yao Qi <yao@codesourcery.com>
8073
8074 PR testsuite/13443
8075 * gdb.mi/mi-var-display.exp: Make test messages unique.
8076
8077 2014-08-04 Tom Tromey <tromey@redhat.com>
8078
8079 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8080 target 0".
8081
8082 2014-08-04 Tom Tromey <tromey@redhat.com>
8083
8084 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8085 "target_resume".
8086
8087 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8088
8089 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8090 inner_vla_struct_object_size.
8091 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8092 as xfail.
8093
8094 2014-07-30 Pedro Alves <palves@redhat.com>
8095
8096 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8097 comment.
8098
8099 2014-07-29 Yao Qi <yao@codesourcery.com>
8100
8101 PR gdb/17206
8102 * gdb.base/until-nodebug.exp: New.
8103
8104 2014-07-28 Doug Evans <xdje42@gmail.com>
8105
8106 PR guile/17203
8107 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8108 previously existing parameter, and previously ambiguously spelled
8109 parameter.
8110
8111 2014-07-28 Will Newton <will.newton@linaro.org>
8112
8113 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8114
8115 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8116 Doug Evans <xdje42@gmail.com>
8117
8118 PR guile/17146
8119 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8120
8121 2014-07-25 Pedro Alves <palves@redhat.com>
8122
8123 * gdb.threads/signal-command-handle-nopass.c: New file.
8124 * gdb.threads/signal-command-handle-nopass.exp: New file.
8125 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8126 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8127 * gdb.threads/signal-delivered-right-thread.c: New file.
8128 * gdb.threads/signal-delivered-right-thread.exp: New file.
8129
8130 2014-07-25 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.base/double-prompt-target-event-error.exp
8133 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8134 match.
8135 (cancel_pagination_in_target_event): Rework double prompt
8136 detection.
8137 * gdb.base/paginate-after-ctrl-c-running.exp
8138 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8139 <return>' match.
8140 * gdb.base/paginate-bg-execution.exp
8141 (test_bg_execution_pagination_return)
8142 (test_bg_execution_pagination_cancel): Remove '-notransfer
8143 <return>' matches.
8144 * gdb.base/paginate-execution-startup.exp
8145 (test_fg_execution_pagination_return)
8146 (test_fg_execution_pagination_cancel): Remove '-notransfer
8147 <return>' matches.
8148 * gdb.base/paginate-inferior-exit.exp
8149 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8150 match.
8151 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8152 * lib/gdb.exp (pagination_prompt): Run text through
8153 string_to_regexp.
8154 (gdb_test_multiple): Match $pagination_prompt instead of
8155 "<return>".
8156 (string_to_regexp): Move to lib/gdb-utils.exp.
8157
8158 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8159
8160 * gdb.arch/amd64-entry-value-paramref.S: New file.
8161 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8162 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8163 * gdb.arch/amd64-optimout-repeat.S: New file.
8164 * gdb.arch/amd64-optimout-repeat.c: New file.
8165 * gdb.arch/amd64-optimout-repeat.exp: New file.
8166
8167 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8168
8169 PR gdb/17170
8170 * gdb.base/statistics.exp: New file.
8171
8172 2014-07-17 Doug Evans <dje@google.com>
8173
8174 PR gdb/17170
8175 * gdb.base/maint.exp: Update testing of per-command stats.
8176
8177 2014-07-16 Pedro Alves <palves@redhat.com>
8178
8179 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8180 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8181 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8182 (tfile_write_buf): New functions.
8183 (add_memory_block): Rewrite using the above.
8184 (adjust_function_address): New function.
8185 (FUNCTION_ADDRESS): New macro.
8186 (write_basic_trace_file): Remove short_x local, and use
8187 tfile_write_16. Change type of func_addr local to unsigned long
8188 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8189 here. Cast argument of add_memory_block to char pointer.
8190 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8191 (main): Remove parameters.
8192 * gdb.trace/tfile.exp: Remove nowarnings.
8193
8194 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8195
8196 * gdb.base/debug-expr.exp: Test string evaluation with
8197 "debug expression" on.
8198
8199 2014-07-15 Pedro Alves <palves@redhat.com>
8200
8201 * gdb.base/reread.exp: Use clean_restart.
8202
8203 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8204
8205 * gdb.arch/avr-flash-qualifer.c: New.
8206 * gdb.arch/avr-flash-qualifer.exp: New.
8207
8208 2014-07-14 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8211 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8212
8213 2014-07-14 Pedro Alves <palves@redhat.com>
8214
8215 * gdb.base/double-prompt-target-event-error.c: New file.
8216 * gdb.base/double-prompt-target-event-error.exp: New file.
8217
8218 2014-07-14 Pedro Alves <palves@redhat.com>
8219
8220 PR gdb/17072
8221 * gdb.base/paginate-inferior-exit.c: New file.
8222 * gdb.base/paginate-inferior-exit.exp: New file.
8223
8224 2014-07-14 Pedro Alves <palves@redhat.com>
8225
8226 PR gdb/17072
8227 * gdb.base/paginate-bg-execution.c: New file.
8228 * gdb.base/paginate-bg-execution.exp: New file.
8229
8230 2014-07-14 Pedro Alves <palves@redhat.com>
8231
8232 PR gdb/17072
8233 * gdb.base/paginate-execution-startup.c: New file.
8234 * gdb.base/paginate-execution-startup.exp: New file.
8235 * lib/gdb.exp (pagination_prompt): New global.
8236 (default_gdb_spawn): New procedure, factored out from
8237 default_gdb_spawn.
8238 (default_gdb_start): Adjust to call default_gdb_spawn.
8239 (gdb_spawn): New procedure.
8240
8241 2014-07-14 Pedro Alves <palves@redhat.com>
8242
8243 * lib/gdb.exp (gdb_assert): New procedure.
8244 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8245
8246 2014-07-14 Pedro Alves <palves@redhat.com>
8247
8248 * gdb.base/execution-termios.c: New file.
8249 * gdb.base/execution-termios.exp: New file.
8250
8251 2014-07-14 Tom Tromey <tromey@redhat.com>
8252
8253 * gdb.cp/vla-cxx.cc: New file.
8254 * gdb.cp/vla-cxx.exp: New file.
8255
8256 2014-07-14 Tom Tromey <tromey@redhat.com>
8257
8258 * gdb.reverse/rerun-prec.c: New file.
8259 * gdb.reverse/rerun-prec.exp: New file.
8260
8261 2014-07-12 Maciej W. Rozycki <macro@mips.com>
8262 Maciej W. Rozycki <macro@codesourcery.com>
8263
8264 * lib/gdb-utils.exp: New file.
8265 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8266 inline `gdb_init_command' processing.
8267 (gdb_start_cmd): Likewise.
8268 * lib/mi-support.exp (mi_run_cmd): Likewise.
8269 * README: Document `gdb_init_command' and `gdb_init_commands'.
8270
8271 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8272
8273 Fix false FAIL running under a very long directory name.
8274 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8275 and "set print elements 10000". Twice.
8276
8277 2014-07-11 Yao Qi <yao@codesourcery.com>
8278
8279 * gdb.base/exprs.exp: "set print symbol off".
8280
8281 2014-07-11 Pedro Alves <palves@redhat.com>
8282
8283 * gdb.threads/kill.c: New file.
8284 * gdb.threads/kill.exp: New file.
8285
8286 2014-07-10 Yao Qi <yao@codesourcery.com>
8287
8288 * gdb.trace/tfile.c (write_basic_trace_file)
8289 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8290 address written to trace file.
8291
8292 2014-07-09 Pedro Alves <palves@redhat.com>
8293
8294 * gdb.base/attach-wait-input.exp: New file.
8295 * gdb.base/attach-wait-input.c: New file.
8296
8297 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8298
8299 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8300 setting up test structures.
8301 (main): Call new test function.
8302 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8303 test function, continue into test function and walk test
8304 structures.
8305
8306 2014-07-02 Yao Qi <yao@codesourcery.com>
8307
8308 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8309 'bar_start' at the beginning of functions 'foo' and 'bar'
8310 respectively.
8311 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8312 instead of 'foo' and 'bar'.
8313
8314 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8315
8316 * gdb.btrace/segv.exp: New.
8317 * gdb.btrace/segv.c: New.
8318
8319 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
8320
8321 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8322 instruction.
8323
8324 2014-06-30 Mark Wielaard <mjw@redhat.com>
8325
8326 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8327 vulture, vilify, villar): New volatile array constants.
8328 (vindictive, vegetation): New const volatile array constants.
8329 * gdb.base/volatile.exp: Test volatile and const volatile array
8330 types.
8331
8332 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8333
8334 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8335 target lacks support for awatch, rwatch, or hbreak.
8336
8337 2014-06-27 Yao Qi <yao@codesourcery.com>
8338
8339 * gdb.multi/dummy-frame-restore.exp: New.
8340 * gdb.multi/dummy-frame-restore.c: New.
8341
8342 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8343
8344 * gdb.btrace/gcore.exp: New.
8345
8346 2014-06-23 Pedro Alves <palves@redhat.com>
8347
8348 * gdb.base/watchpoint-reuse-slot.c: New file.
8349 * gdb.base/watchpoint-reuse-slot.exp: New file.
8350
8351 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8352
8353 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8354 progspace's filename in 'info', 'enable' and 'disable' command
8355 tests.
8356
8357 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8358
8359 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8360 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8361 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8362
8363 2014-06-20 Gary Benson <gbenson@redhat.com>
8364
8365 * gdb.arch/i386-avx.exp: Fix include file location.
8366 * gdb.arch/i386-sse.exp: Likewise.
8367
8368 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8369
8370 * gdb.dlang/expression.exp: New file.
8371
8372 2014-06-19 Pedro Alves <palves@redhat.com>
8373
8374 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8375 out from ...
8376 (top level): ... here. Iterate running tests under different
8377 scheduler-locking settings.
8378
8379 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
8380
8381 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8382 to DW_FORM_addr and use non-zero addresses.
8383
8384 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8385
8386 PR gdb/17017
8387 * gdb.python/py-xmethods.cc: Add global function call counters and
8388 increment them in their respective functions. Remove "cout"
8389 statements.
8390 * gdb.python/py-xmethods.exp: Make tests check the global function
8391 call counters instead of depending on inferior IO.
8392
8393 2014-06-18 Don Breazeal <donb@codesourcery.com>
8394
8395 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8396 Deleted procedure.
8397 (explicit_fork_parent_follow): Deleted procedure.
8398 (explicit_fork_child_follow): Deleted procedure.
8399 (test_follow_fork): New procedure.
8400 (do_fork_tests): Replace calls to deleted procedures with
8401 calls to test_follow_fork and reset GDB for subsequent
8402 procedure calls.
8403
8404 2014-06-17 Yao Qi <yao@codesourcery.com>
8405
8406 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8407 CP1252.
8408
8409 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
8410
8411 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8412 Initialize ptr and S explicitly.
8413 (skip_type_update_when_not_use_rtti_test): Likewise.
8414
8415 2014-06-16 Keith Seitz <keiths@redhat.com>
8416
8417 PR mi/15863
8418 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8419 the inferior is started.
8420
8421 2014-06-16 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.base/break-main-file-remove-fail.c: New file.
8424 * gdb.base/break-main-file-remove-fail.exp: New file.
8425 * gdb.base/break-unload-file.exp: Use build_executable instead of
8426 prepare_for_testing.
8427 (test_break): New parameter "initial_load". Handle it.
8428 (top level): Add initial_load cmdline/file axis.
8429
8430 2014-06-12 Tom Tromey <tromey@redhat.com>
8431
8432 * gdb.base/completion.exp: Don't use directory name in test.
8433
8434 2014-06-09 Gary Benson <gbenson@redhat.com>
8435
8436 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8437 separate the always-available ANSI-standard signals from the
8438 signals that require checking.
8439 (main): Likewise.
8440 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8441 Likewise.
8442 (main): Likewise.
8443
8444 2014-06-07 Keith Seitz <keiths@redhat.com>
8445
8446 Revert:
8447 PR c++/16253
8448 * gdb.cp/var-tag.cc: New file.
8449 * gdb.cp/var-tag.exp: New file.
8450 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8451 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8452 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8453 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8454
8455 2014-06-06 Doug Evans <xdje42@gmail.com>
8456
8457 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8458
8459 2014-06-06 Pedro Alves <palves@redhat.com>
8460
8461 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8462 in target debug output instead of looking at RSP packets,
8463 disabling the test on any target that uses hardware stepping.
8464 Update comments.
8465
8466 2014-06-06 Pedro Alves <palves@redhat.com>
8467
8468 * gdb.base/break-unload-file.exp: Fix typo.
8469
8470 2014-06-06 Yao Qi <yao@codesourcery.com>
8471
8472 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8473 from "jit_function" to "^jit_function".
8474
8475 2014-06-06 Yao Qi <yao@codesourcery.com>
8476
8477 * gdb.base/async.c (foo): Add one statement.
8478 * gdb.base/async.exp: Get the next instruction address and
8479 match the output of "nexti" by instruction address. Match
8480 the hex address in the output of "finish".
8481
8482 2014-06-06 Gary Benson <gbenson@redhat.com>
8483
8484 * gdb.base/call-signals.c: Remove preprocessor conditionals
8485 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8486 SIGSEGV and SIGTERM.
8487 * gdb.base/sigall.c: Likewise.
8488 * gdb.base/unwindonsignal.c: Likewise.
8489 * gdb.reverse/sigall-reverse.c: Likewise.
8490
8491 2014-06-06 Yao Qi <yao@codesourcery.com>
8492
8493 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8494 readable, skip the test.
8495
8496 2014-06-06 Yao Qi <yao@codesourcery.com>
8497
8498 * gdb.threads/staticthreads.c (thread_function): Move the line
8499 setting breakpoint on forward.
8500 * gdb.threads/staticthreads.exp: Update comments.
8501
8502 2014-06-05 Ludovic Courtès <ludo@gnu.org>
8503
8504 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8505 "history-append! type error".
8506
8507 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8508
8509 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8510 erroneous dprintf expected input.
8511
8512 2014-06-04 Doug Evans <xdje42@gmail.com>
8513
8514 * gdb.guile/scm-generics.exp: Delete.
8515
8516 2014-06-04 Doug Evans <xdje42@gmail.com>
8517
8518 * gdb.guile/scm-breakpoint.exp: Update.
8519 Add tests for breakpoint registration.
8520
8521 2014-06-04 Tom Tromey <tromey@redhat.com>
8522
8523 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8524 VLA-in-union.
8525 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8526 inner_vla_struct, vla_union types. Initialize objects of those
8527 types and compute their sizes.
8528
8529 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8530 Hui Zhu <hui@codesourcery.com>
8531
8532 * gdb.base/fileio.exp: Add test for shell not available as well as
8533 available.
8534 * gdb.base/fileio.c (test_system): Check for shell twice.
8535
8536 2014-06-04 Yao Qi <yao@codesourcery.com>
8537
8538 * gdb.base/auto-connect-native-target.exp: Remove redundant
8539 space from the regexp pattern.
8540
8541 2014-06-04 Yao Qi <yao@codesourcery.com>
8542
8543 * gdb.base/default.exp: Replace "child" with "native" in
8544 regexp pattern.
8545
8546 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8547
8548 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8549 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8550 * gdb.python/py-xmethods.py: Python script supporting the
8551 new testcase and tests.
8552
8553 2014-06-03 Joel Brobecker <brobecker@adacore.com>
8554 Pedro Alves <palves@redhat.com>
8555
8556 PR breakpoints/17000
8557 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8558 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8559
8560 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8561
8562 * gdb.base/subst.exp: Add tests to verify partial path matching
8563 output.
8564
8565 2014-06-03 Pedro Alves <palves@redhat.com>
8566
8567 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8568 target that doesn't use software single-stepping.
8569
8570 2014-06-03 Pedro Alves <palves@redhat.com>
8571
8572 PR breakpoints/17000
8573 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8574 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8575
8576 2014-06-02 Doug Evans <xdje42@gmail.com>
8577
8578 * gdb.guile/scm-parameter.exp: New file.
8579
8580 2014-06-02 Doug Evans <xdje42@gmail.com>
8581
8582 * gdb.guile/scm-cmd.c: New file.
8583 * gdb.guile/scm-cmd.exp: New file.
8584
8585 2014-06-02 Doug Evans <xdje42@gmail.com>
8586
8587 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8588 pretty-printer lookup.
8589 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8590 (make-pp_s-printer): Call it.
8591 (make-pretty-printer-from-dict): New function.
8592 (lookup-pretty-printer-maker-from-dict): New function.
8593 (*pretty-printer*): Simplify.
8594 (make-objfile-pp_s-printer): New function.
8595 (install-objfile-pretty-printers!): New function.
8596 (make-progspace-pp_s-printer): New function.
8597 (install-progspace-pretty-printers!): New function.
8598 * gdb.guile/scm-progspace.c: New file.
8599 * gdb.guile/scm-progspace.exp: New file.
8600
8601 2014-06-02 Pedro Alves <palves@redhat.com>
8602
8603 * gdb.base/dprintf-bp-same-addr.c: New file.
8604 * gdb.base/dprintf-bp-same-addr.exp: New file.
8605
8606 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8607
8608 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8609 * gdb.arch/powerpc-power.s: Likewise.
8610
8611 2014-06-02 Joel Brobecker <brobecker@adacore.com>
8612
8613 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8614
8615 2014-06-01 Yao Qi <yao@codesourcery.com>
8616
8617 * gdb.base/watchpoint.exp (test_watch_location): Check null
8618 pointer can be dereferenced. If not, do the test, otherwise
8619 skip it.
8620
8621 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8622
8623 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8624 results.
8625 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8626
8627 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8628
8629 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8630 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8631 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8632 * gdb.arch/amd64-invalid-stack-top.c: New file.
8633 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8634
8635 2014-05-30 Pedro Alves <palves@redhat.com>
8636
8637 PR breakpoints/17000
8638 * gdb.base/sss-bp-on-user-bp.c: New file.
8639 * gdb.base/sss-bp-on-user-bp.exp: New file.
8640
8641 2014-05-30 David Blaikie <dblaikie@gmail.com>
8642
8643 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8644 gnu_inline semantics via attribute.
8645 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8646 source explicitly specifies the required semantics.
8647
8648 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8649
8650 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8651
8652 2014-05-29 Pedro Alves <palves@redhat.com>
8653 Tom Tromey <tromey@redhat.com>
8654
8655 * gdb.base/async-shell.exp: Don't enable target-async.
8656 * gdb.base/async.exp
8657 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8658 parameter. Adjust.
8659 (top level): Don't test with "target-async".
8660 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8661 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8662 * gdb.base/inferior-died.exp: Don't enable target-async.
8663 * gdb.base/interrupt-noterm.exp: Likewise.
8664 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8665 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8666 * gdb.mi/mi-nonstop.exp: Likewise.
8667 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8668 * gdb.mi/mi-nsintrall.exp: Likewise.
8669 * gdb.mi/mi-nsmoribund.exp: Likewise.
8670 * gdb.mi/mi-nsthrexec.exp: Likewise.
8671 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8672 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8673 * gdb.python/py-evsignal.exp: Don't enable target-async.
8674 * gdb.python/py-evthreads.exp: Likewise.
8675 * gdb.python/py-prompt.exp: Likewise.
8676 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8677 * gdb.server/solib-list.exp: Don't enable target-async.
8678 * gdb.threads/thread-specific-bp.exp: Likewise.
8679 * lib/mi-support.exp: Adjust to use mi-async.
8680
8681 2014-05-29 Pedro Alves <palves@redhat.com>
8682
8683 PR gdb/13860
8684 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8685 reason, even in sync mode.
8686
8687 2014-05-29 Pedro Alves <palves@redhat.com>
8688 Hui Zhu <hui@codesourcery.com>
8689
8690 PR PR15693
8691 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8692 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8693 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8694 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8695
8696 2014-05-28 Joel Brobecker <brobecker@adacore.com>
8697
8698 * config/monitor.exp (gdb_target_monitor): Replace use of
8699 "set remotebaud" by "set serial baud".
8700
8701 2014-05-26 Andy Wingo <wingo@igalia.com>
8702
8703 * gdb.guile/scm-breakpoint.exp:
8704 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8705 properties instead of gdb-object-properties.
8706
8707 2014-05-26 Yao Qi <yao@codesourcery.com>
8708
8709 * gdb.server/no-thread-db.exp: Specify source file name
8710 explicitly when setting a breakpoint.
8711
8712 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8713
8714 * gdb.btrace/vdso.c: New.
8715 * gdb.btrace/vdso.exp: New.
8716
8717 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8718
8719 * gdb.base/gcore.exp (capture_command_output): Move ...
8720 * lib/gdb.exp (capture_command_output): ... here.
8721
8722 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8723
8724 * gdb.btrace/data.exp: Test memory access during btrace replay.
8725
8726 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8727
8728 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8729
8730 2014-05-21 Pedro Alves <palves@redhat.com>
8731
8732 PR gdb/13860
8733 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8734 (top level): Test that output related to execution commands is
8735 sent to the console with CLI commands, but not with MI commands.
8736 Test that breakpoint events are always mirrored to the console.
8737 Also expect the new source line to be output after a "next" in
8738 async mode too. Make it a pass/fail test.
8739 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8740 output.
8741 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8742
8743 2014-05-21 Pedro Alves <palves@redhat.com>
8744
8745 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8746 Use them to test variations of "list" after reaching a breakpoint.
8747 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8748 Test "list" with listsize 10 after reaching a breakpoint.
8749 * gdb.python/python.exp (decode_line current location line
8750 number): Adjust expected line number.
8751
8752 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8753
8754 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8755 behavior for $args, pass it directly to "run".
8756
8757 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8758
8759 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8760 30000 to 65536.
8761
8762 2014-05-21 Pedro Alves <palves@redhat.com>
8763
8764 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8765 auto-connect-native-target off".
8766 * gdb.base/auto-connect-native-target.c: New file.
8767 * gdb.base/auto-connect-native-target.exp: New file.
8768
8769 2014-05-21 Pedro Alves <palves@redhat.com>
8770
8771 * gdb.base/default.exp: Test "target native" instead of "target
8772 child".
8773
8774 2014-05-21 Mark Wielaard <mjw@redhat.com>
8775
8776 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8777
8778 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8779
8780 Fix TLS access for -static -pthread.
8781 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8782 <HAVE_TLS> (thread_function, main): Initialize it.
8783 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8784 Add clean_restart.
8785 <$have_tls != "">: Check TLSVAR.
8786
8787 2014-05-21 Pedro Alves <palves@redhat.com>
8788
8789 * gdb.base/dcache-line-read-error.c: New.
8790 * gdb.base/dcache-line-read-error.exp: New.
8791
8792 2014-05-20 Pedro Alves <palves@redhat.com>
8793
8794 * gdb.base/compare-sections.c: New file.
8795 * gdb.base/compare-sections.exp: New file.
8796
8797 2014-05-20 Pedro Alves <palves@redhat.com>
8798
8799 * gdb.base/break-idempotent.c: New file.
8800 * gdb.base/break-idempotent.exp: New file.
8801
8802 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8803
8804 * gdb.btrace/nohist.exp: New.
8805
8806 2014-05-20 Yao Qi <yao@codesourcery.com>
8807
8808 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8809 gdb.reverse directory and gdb_reverse_timeout exists in board
8810 setting.
8811 * README: Document gdb_reverse_timeout.
8812
8813 2014-05-20 Yao Qi <yao@codesourcery.com>
8814
8815 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8816 'test_file_name'. Treat args as a string instead of a list.
8817 (gdb_init): Rename argument 'args' by 'test_file_name'.
8818
8819 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8820
8821 * gdb.arch/powerpc-power.exp: New file.
8822 * gdb.arch/powerpc-power.s: New file.
8823
8824 2014-05-16 Doug Evans <dje@google.com>
8825
8826 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8827 * gdb.base/completion.exp: Check that all expected files exist
8828 before doing file completion.
8829
8830 2014-05-16 Doug Evans <dje@google.com>
8831
8832 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8833 Update.
8834 (do_syscall_tests_without_xml): Update.
8835
8836 2014-05-16 Pedro Alves <palves@redhat.com>
8837
8838 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8839 instead of "unknown output after running".
8840
8841 2014-05-16 Yao Qi <yao@codesourcery.com>
8842
8843 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8844 file1.txt from host at the end.
8845 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8846
8847 2014-05-15 Doug Evans <dje@google.com>
8848
8849 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8850 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8851 loading file. Add test for TU lookup.
8852
8853 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8854
8855 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8856 calling "-exec-arguments" or "set args" before running the
8857 inferior.
8858
8859 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8860
8861 * lib/mi-support.exp (mi_expect_stop): Expect message for
8862 inferiors that exit with non-zero exit code.
8863
8864 2014-05-14 Yao Qi <yao@codesourcery.com>
8865
8866 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8867 match absolute path on remote host.
8868 (test_file_list_exec_source_files): Remove "/" from the
8869 pattern.
8870
8871 2014-05-14 Yao Qi <yao@codesourcery.com>
8872
8873 * boards/local-remote-host-notty.exp (${board}_file): New
8874 proc.
8875
8876 2014-05-07 Kyle McMartin <kyle@redhat.com>
8877
8878 Pushed by Joel Brobecker <brobecker@adacore.com>.
8879 * gdb.arch/aarch64-atomic-inst.c: New file.
8880 * gdb.arch/aarch64-atomic-inst.exp: New file.
8881
8882 2014-05-07 Yao Qi <yao@codesourcery.com>
8883
8884 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8885 in current context" too.
8886
8887 2014-05-05 Keith Seitz <keiths@redhat.com>
8888
8889 * gdb.linespec/ls-dollar.exp: Add test for linespec
8890 file:convenience_variable.
8891
8892 2014-05-05 Yao Qi <yao@codesourcery.com>
8893
8894 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8895 traceframes into tfile and ctf trace files. Read data from
8896 trace file and test collected data.
8897 (gdb_collect_locals_test): Likewise.
8898 (gdb_unavailable_registers_test): Likewise.
8899 (gdb_unavailable_floats): Likewise.
8900 (gdb_collect_globals_test): Likewise.
8901 (top-level): Append "ctf" to trace_file_targets if GDB
8902 supports.
8903
8904 2014-05-05 Yao Qi <yao@codesourcery.com>
8905
8906 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8907 code to ...
8908 (gdb_collect_args_test_1): ... it. New proc.
8909 (gdb_collect_locals_test): Move some code to ...
8910 (gdb_collect_locals_test_1): ... it. New proc.
8911 (gdb_unavailable_registers_test): Move some code to ...
8912 (gdb_unavailable_registers_test_1): ... it. New proc.
8913 (gdb_unavailable_floats): Move some code to ...
8914 (gdb_unavailable_floats_1): ... it. New proc.
8915
8916 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8917
8918 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8919 probes to test for bitness recognition.
8920 * gdb.arch/amd64-stap-optional-prefix.exp
8921 (test_probe_value_without_reg): New procedure.
8922 Add code to test for different kinds of bitness.
8923
8924 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8925
8926 PR breakpoints/16889
8927 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8928 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8929
8930 2014-05-01 Pedro Alves <palves@redhat.com>
8931
8932 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8933 gdb_file_cmd if no file is specified.
8934 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8935 last_loaded_file to set the remote exec-file.
8936
8937 2014-05-01 Pedro Alves <palves@redhat.com>
8938
8939 * boards/local-remote-host.exp: New file.
8940
8941 2014-05-01 Pedro Alves <palves@redhat.com>
8942
8943 * boards/local-remote-host.exp: Rename to ...
8944 * boards/local-remote-host-notty.exp: ... this.
8945
8946 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8947
8948 * gdb.ada/dyn_arrayidx: New testcase.
8949
8950 2014-04-26 Yao Qi <yao@codesourcery.com>
8951
8952 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8953 and compute the length of function main. Save it in
8954 $main_length.
8955 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8956 (top-level): Use gdb_compile to compile objects into
8957 executable and restart GDB. Remove invocation to
8958 prepare_for_testing.
8959
8960 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8961 Pedro Alves <palves@redhat.com>
8962
8963 PR server/16255
8964 * gdb.multi/multi-attach.c: New file.
8965 * gdb.multi/multi-attach.exp: New file.
8966
8967 2014-04-25 Pedro Alves <palves@redhat.com>
8968
8969 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8970 user.
8971 (top level): Test that "set remote conditional-breakpoints-packet
8972 off" works as intended.
8973 * gdb.base/dprintf.exp: Test that "set remote
8974 breakpoint-commands-packet off" works as intended.
8975 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8976 New function.
8977 (top level): Call it.
8978 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8979 remote fast-tracepoints-packet off" works as intended.
8980 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8981 * lib/gdb.exp (gdb_is_target_remote): ... here.
8982
8983 2014-04-24 David Blaikie <dblaikie@gmail.com>
8984
8985 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8986 ensure clang would not discard them.
8987 * gdb.base/gdbvars.c: Ditto.
8988 * gdb.base/memattr.c: Ditto.
8989 * gdb.base/whatis.c: Ditto.
8990 * gdb.python/py-prettyprint.c: Ditto.
8991 * gdb.trace/actions.c: Ditto.
8992 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8993 ensure clang would not discard it.
8994
8995 2014-04-24 David Blaikie <dblaikie@gmail.com>
8996
8997 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8998 clang to emit the full definition of type required by the test
8999 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9000
9001 2014-04-24 David Blaikie <dblaikie@gmail.com>
9002
9003 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9004 coax Clang into emitting the definition of the type.
9005 * gdb.cp/pr10728-x.h (y): Ditto.
9006 * gdb.cp/pr10728-y.cc (y): Ditto.
9007
9008 2014-04-24 David Blaikie <dblaikie@gmail.com>
9009
9010 * gdb.base/label.exp: XFAIL label related tests under Clang.
9011 * gdb.cp/cplabel.exp: Ditto.
9012 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9013 under Clang those using labels.
9014
9015 2014-04-25 Yao Qi <yao@codesourcery.com>
9016
9017 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9018 double_label.
9019 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9020 partial_label and double_label.
9021
9022 2014-04-24 David Blaikie <dblaikie@gmail.com>
9023
9024 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9025
9026 2014-04-24 David Blaikie <dblaikie@gmail.com>
9027
9028 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9029 of the function to work across GCC and Clang.
9030 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9031 pointer types (const void ** const V void **).
9032
9033 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9034 Walfred Tedeschi <walfred.tedeschi@intel.com>
9035
9036 * Makefile.in (EXECUTABLES): Added i386-avx512.
9037 * gdb.arch/i386-avx512.c: New file.
9038 * gdb.arch/i386-avx512.exp: Likewise.
9039
9040 2014-04-23 Keith Seitz <keiths@redhat.com>
9041
9042 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9043 (mi_make_breakpoint_table): New procedure.
9044 (mi_create_breakpoint): Use mi_make_breakpoint
9045 and return the result.
9046 (mi_make_breakpoint): New procedure.
9047 (mi_build_kv_pairs): New procedure.
9048
9049 * gdb.mi/mi-break.exp: Remove unused globals,
9050 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9051 All callers updated.
9052 * gdb.mi/mi-dprintf.exp: Use variable to track command
9053 number.
9054 Update all callers of mi_create_breakpoint and use
9055 mi_make_breakpoint_table.
9056 Remove any unused global variables.
9057 * gdb.mi/mi-nonstop.exp: Likewise.
9058 * gdb.mi/mi-nsintrall.exp: Likewise.
9059 * gdb.mi/mi-nsmoribund.exp: Likewise.
9060 * gdb.mi/mi-nsthrexec.exp: Likewise.
9061 * gdb.mi/mi-reverse.exp: Likewise.
9062 * gdb.mi/mi-simplerun.exp: Likewise.
9063 * gdb.mi/mi-stepn.exp: Likewise.
9064 * gdb.mi/mi-syn-frame.exp: Likewise.
9065 * gdb.mi/mi-until.exp: Likewise.
9066 * gdb.mi/mi-var-cp.exp: Likewise.
9067 * gdb.mi/mi-var-display.exp: Likewise.
9068 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9069 * gdb.mi/mi2-var-child.exp: Likewise.
9070 * gdb.mi/mi-vla-c99.exp: Likewise.
9071 * lib/mi-support.exp: Likewise.
9072
9073 From Ian Lance Taylor <iant@cygnus.com>:
9074 * lib/gdb.exp (parse_args): New procedure.
9075
9076 2014-04-23 Pedro Alves <palves@redhat.com>
9077
9078 * gdb.base/break-unload-file.c: New file.
9079 * gdb.base/break-unload-file.exp: New file.
9080 * gdb.base/sym-file-lib.c (baz): New function.
9081 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9082 field.
9083 (load): Store the segment's mapped size.
9084 (unload): New function.
9085 (unload_shlib): New function.
9086 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9087 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9088 set a breakpoint at baz, and call it.
9089 * gdb.base/sym-file.exp: New tests for stale breakpoint
9090 instructions.
9091
9092 2014-04-23 Pedro Alves <palves@redhat.com>
9093
9094 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9095 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9096 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9097 * gdb.base/hbreak-unmapped.c: New file.
9098 * gdb.base/hbreak-unmapped.exp: New file.
9099 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9100 * lib/gdb.exp (gdb_is_target_remote): ... here.
9101
9102 2014-04-22 Pedro Alves <palves@redhat.com>
9103
9104 * gdb.base/consecutive-step-over.c: New file.
9105 * gdb.base/consecutive-step-over.exp: New file.
9106
9107 2014-04-22 Pedro Alves <palves@redhat.com>
9108
9109 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9110 instead of send_gdb/gdb_expect.
9111
9112 2014-04-22 Yao Qi <yao@codesourcery.com>
9113
9114 * lib/trace-support.exp (generate_tracefile): New procedure.
9115 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9116 return 0.
9117 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9118 if generate_tracefile returns 1.
9119
9120 2014-04-18 Tom Tromey <palves@redhat.com>
9121 Pedro alves <tromey@redhat.com>
9122
9123 PR backtrace/15558
9124 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9125 with a backtrace limit.
9126 * gdb.python/py-frame-inline.exp: Test running to an inline
9127 function with a backtrace limit, and printing the newest frame.
9128 * gdb.python/py-frame-inline.c (main): Call f.
9129
9130 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9131
9132 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9133
9134 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9135
9136 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9137 Drop prefix from unsupported source file path.
9138
9139 2014-04-17 Yao Qi <yao@codesourcery.com>
9140
9141 * lib/gdb.exp (with_target_charset): New proc.
9142 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9143 with_target_charset.
9144 (test_print_strings): Likewise.
9145 (test_repeat_bytes): Likewise.
9146 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9147 for some tests.
9148
9149 2014-04-16 Keith Seitz <keiths@redhat.com>
9150
9151 PR gdb/15827
9152 * gdb.dwarf2/corrupt.c: New file.
9153 * gdb.dwarf2/corrupt.exp: New file.
9154
9155 2014-04-16 Keith Seitz <keiths@redhat.com>
9156
9157 PR c++/16597
9158 * gdb.cp/namelessclass.cc: New file.
9159 * gdb.cp/namelessclass.exp: New file.
9160 * gdb.cp/namelessclass.S: New file.
9161
9162 2014-04-16 Doug Evans <dje@google.com>
9163
9164 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9165 Add comment.
9166 (gdbserver_default_get_comm_port): New function.
9167 (gdbserver_start): Check if board file provided
9168 "gdbserver,get_comm_port" and use it if so.
9169 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9170 (gdb,socketport): Set to "stdio".
9171 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9172 (stdio_gdbserver_template): Delete.
9173 (${board}_get_remote_address): Update.
9174 (${board}_build_remote_cmd): Delete.
9175 (${board}_get_comm_port): New function.
9176 (${board}_spawn): Update.
9177 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9178 Delete.
9179 (${board}_get_remote_address): Update.
9180 (${board}_get_comm_port): New function.
9181
9182 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
9183
9184 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9185 appearing in any order.
9186
9187 2014-04-15 Doug Evans <dje@google.com>
9188
9189 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9190 uninitialized value of "description".
9191
9192 2014-04-15 Keith Seitz <keiths@redhat.com>
9193
9194 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9195 Remove unused globals.
9196 (test_running_the_program): Likewise.
9197 (test_controlled_execution): Likewise.
9198 (test_controlling_breakpoints): Likewise.
9199 (test_program_termination): Likewise.
9200
9201 2014-04-15 Keith Seitz <keiths@redhat.com>
9202
9203 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9204 unused globals.
9205 (test_rbreak_creation_and_listing): Likewise.
9206 (test_ignore_count): Likewise.
9207 (test_error): Likewise.
9208
9209 2014-04-15 Pedro Alves <palves@redhat.com>
9210
9211 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9212 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9213 sym-file-loader.c.
9214 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9215 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9216 to sym-file-loader.c.
9217 (struct library): Forward declare.
9218 (load_shlib, lookup_function): Change prototypes.
9219 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9220 (translate_offset): Remove declarations.
9221 (get_text_addr): New declaration.
9222 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9223 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9224 sym-file-loader.h.
9225 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9226 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9227 here from sym-file-loader.h.
9228 (struct library): New structure.
9229 (load_shlib, lookup_function): Change prototypes and adjust to
9230 work with a struct library.
9231 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9232 (translate_offset): Make static.
9233 (get_text_addr): New function.
9234 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9235
9236 2014-04-15 Pedro Alves <palves@redhat.com>
9237
9238 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9239
9240 2014-04-15 Pedro Alves <palves@redhat.com>
9241
9242 * gdb.base/sym-file-loader.c: Include <limits.h>.
9243 (SELF_LINK): New define.
9244 (get_origin): New function.
9245 (load_shlib): Use it.
9246 * gdb.base/sym-file.exp: Don't early return if the target is
9247 remote. Use runto_main, and issue fail is that fails. Use
9248 gdb_load_shlibs.
9249 (shlib_name): Delete.
9250 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9251
9252 2014-04-15 Pedro Alves <palves@redhat.com>
9253
9254 * gdb.base/sym-file.exp: Remove regex characters from test
9255 message. Don't refer to breakpoint numbers in test messages.
9256
9257 2014-04-14 Keith Seitz <keiths@redhat.com>
9258
9259 PR c++/16253
9260 * gdb.cp/var-tag.cc: New file.
9261 * gdb.cp/var-tag.exp: New file.
9262 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9263 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9264 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9265 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9266
9267 2014-04-14 Tom Tromey <tromey@redhat.com>
9268
9269 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9270 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9271 type.
9272 * gdb.cp/enum-class.exp: New file.
9273 * gdb.cp/enum-class.cc: New file.
9274
9275 2014-04-14 Tom Tromey <tromey@redhat.com>
9276
9277 * gdb.dwarf2/enum-type.exp: New file.
9278
9279 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9280
9281 * gdb.mi/mi-vla-c99.exp: New file.
9282 * gdb.mi/vla.c: New file.
9283
9284 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9285
9286 * gdb.base/vla-datatypes.c: New file.
9287 * gdb.base/vla-datatypes.exp: New file.
9288
9289 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9290
9291 * gdb.base/vla-ptr.c: New file.
9292 * gdb.base/vla-ptr.exp: New file.
9293
9294 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9295
9296 * gdb.dwarf2/count.exp: New file.
9297
9298 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9299
9300 * gdb.base/vla-sideeffect.c: New file.
9301 * gdb.base/vla-sideeffect.exp: New file.
9302
9303 2014-04-14 David Blaikie <dblaikie@gmail.com>
9304
9305 * gdb.mi/non-stop.c: Add return value for non-void function return
9306 statement.
9307 * gdb.threads/staticthreads.c: Ditto.
9308
9309 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9310 Doug Evans <xdje42@gmail.com>
9311
9312 * gdb.guile/scm-value.c: Improve test case.
9313 * gdb.guile/scm-value.exp: Add new test.
9314
9315 2014-04-11 David Blaikie <dblaikie@gmail.com>
9316
9317 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9318 override Clang's default.
9319
9320 2014-04-11 Joel Brobecker <brobecker@adacore.com>
9321
9322 Revert the following changes (regressions):
9323
9324 * gdb.base/vla-sideeffect.c: New file.
9325 * gdb.base/vla-sideeffect.exp: New file.
9326
9327 * gdb.dwarf2/count.exp: New file.
9328
9329 * gdb.base/vla-multi.c: New file.
9330 * gdb.base/vla-multi.exp: New file.
9331
9332 * gdb.base/vla-ptr.c: New file.
9333 * gdb.base/vla-ptr.exp: New file.
9334
9335 * gdb.base/vla-datatypes.c: New file.
9336 * gdb.base/vla-datatypes.exp: New file.
9337
9338 * gdb.mi/mi-vla-c99.exp: New file.
9339 * gdb.mi/vla.c: New file.
9340
9341 2014-04-11 Keith Seitz <keiths@redhat.com>
9342
9343 PR c++/16675
9344 * gdb.cp/cpsizeof.exp: New file.
9345 * gdb.cp/cpsizeof.cc: New file.
9346
9347 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9348
9349 * gdb.mi/mi-vla-c99.exp: New file.
9350 * gdb.mi/vla.c: New file.
9351
9352 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9353
9354 * gdb.base/vla-datatypes.c: New file.
9355 * gdb.base/vla-datatypes.exp: New file.
9356
9357 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9358
9359 * gdb.base/vla-ptr.c: New file.
9360 * gdb.base/vla-ptr.exp: New file.
9361
9362 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9363
9364 * gdb.base/vla-multi.c: New file.
9365 * gdb.base/vla-multi.exp: New file.
9366
9367 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9368
9369 * gdb.dwarf2/count.exp: New file.
9370
9371 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9372
9373 * gdb.base/vla-sideeffect.c: New file.
9374 * gdb.base/vla-sideeffect.exp: New file.
9375
9376 2014-04-11 Yao Qi <yao@codesourcery.com>
9377
9378 * gdb.base/completion.exp: Check file exists before running tests
9379 on file completion.
9380
9381 2014-04-10 Pedro Alves <palves@redhat.com>
9382
9383 * gdb.base/cond-eval-mode.c: New file.
9384 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9385 prepare_for_testing to build the new file. Check result of
9386 runto_main.
9387 (test_break, test_watch): New procedures.
9388 (top level): Use them.
9389
9390 2014-04-08 Pierre Muller <muller@sourceware.org>
9391
9392 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9393 Ctrl-V use for mingw hosts.
9394
9395 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9396
9397 * gdb.python/py-value.c: Improve test case.
9398 * gdb.python/py-value.exp: Add new test.
9399
9400 2014-04-07 David Blaikie <dblaikie@gmail.com>
9401
9402 * lib/compiler.c: Identify the clang compiler.
9403 * lib/compiler.cc: Ditto.
9404
9405 2014-04-03 Yao Qi <yao@codesourcery.com>
9406
9407 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9408
9409 2014-04-01 Anton Blanchard <anton@samba.org>
9410
9411 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9412 messages unique.
9413
9414 2014-04-01 Anton Blanchard <anton@samba.org>
9415
9416 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9417 prepare_for_testing.
9418
9419 2014-04-01 Anton Blanchard <anton@samba.org>
9420
9421 * gdb.arch/ppc64-atomic-inst.c: Remove.
9422 * gdb.arch/ppc64-atomic-inst.S: New file.
9423 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9424
9425 2014-03-31 Doug Evans <dje@google.com>
9426
9427 * gdb.base/print-symbol-loading-lib.c: New file.
9428 * gdb.base/print-symbol-loading-main.c: New file.
9429 * gdb.base/print-symbol-loading.exp: New file.
9430
9431 2014-03-31 Yao Qi <yao@codesourcery.com>
9432
9433 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9434
9435 2014-03-28 Joel Brobecker <brobecker@adacore.com>
9436
9437 * gdb.ada/mi_dyn_arr: New testcase.
9438
9439 2014-03-27 Doug Evans <dje@google.com>
9440
9441 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9442
9443 2014-03-27 Yao Qi <yao@codesourcery.com>
9444
9445 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9446 if target is nios2-*-*.
9447
9448 2014-03-26 Yao Qi <yao@codesourcery.com>
9449
9450 * lib/gdb.exp (readline_is_used): New proc.
9451 * gdb.base/completion.exp: Move tests on command complete up.
9452 Skip the rest of tests if readline is not used.
9453 * gdb.ada/complete.exp: Skp the test if readline is not
9454 used.
9455 * gdb.base/filesym.exp: Likewise.
9456 * gdb.base/macscp.exp: Likewise.
9457 * gdb.base/readline-ask.exp: Likewise.
9458 * gdb.base/readline.exp: Likewise.
9459 * gdb.python/py-cmd.exp: Likewise.
9460 * gdb.trace/tfile.exp: Likewise.
9461
9462 2014-03-26 Yao Qi <yao@codesourcery.com>
9463
9464 * gdb.base/macscp.exp: Fix code format issues.
9465
9466 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9467
9468 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9469 * gdb.asm/powerpc64le.inc: New file.
9470
9471 2014-03-25 Pedro Alves <palves@redhat.com>
9472 Doug Evans <dje@google.com>
9473
9474 * gdb.base/source-execution.c: New file.
9475 * gdb.base/source-execution.exp: New file.
9476 * gdb.base/source-execution.gdb: New file.
9477
9478 2014-03-24 Doug Evans <dje@google.com>
9479
9480 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9481 using fission.
9482
9483 2014-03-24 Hui Zhu <hui@codesourcery.com>
9484 Pedro Alves <palves@redhat.com>
9485
9486 PR breakpoints/16101
9487 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9488 test pass/fail messages. Detect missing support for dprintf when
9489 breakpoints are actually inserted.
9490 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9491 breakpoints are actually inserted.
9492 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9493 fails.
9494
9495 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9496
9497 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9498
9499 2014-03-22 Doug Evans <xdje42@gmail.com>
9500
9501 * gdb.python/python.exp (python not supported): Verify multi-line
9502 python command issues an error.
9503 * gdb.guile/guile.exp (guile not supported): Verify multi-line
9504 guile command issues an error.
9505
9506 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9507
9508 * gdb.threads/thread-specific.exp: Handle the lack of usable
9509 $this_breakpoint and $this_thread.
9510
9511 2014-03-21 Hui Zhu <hui@codesourcery.com>
9512
9513 * gdb.base/attach.exp (do_command_attach_tests): New.
9514
9515 2014-03-20 Tom Tromey <tromey@redhat.com>
9516 Pedro Alves <palves@redhat.com>
9517
9518 PR cli/15718
9519 * gdb.base/condbreak-call-false.c: New file.
9520 * gdb.base/condbreak-call-false.exp: New file.
9521
9522 2014-03-20 Pedro Alves <palves@redhat.com>
9523
9524 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9525 Delete.
9526 (block_signals, unblock_signals): Delete.
9527 (child_function_2, main): Remove references to deleted variable
9528 and functions.
9529
9530 2014-03-20 Pedro Alves <palves@redhat.com>
9531
9532 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9533 Use pthread_kill to signal thread 2.
9534 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9535 Adjust to make the test send itself a signal rather than using the
9536 host's "kill" command.
9537
9538 2014-03-20 Pedro Alves <palves@redhat.com>
9539
9540 * gdb.threads/multiple-step-overs.c: New file.
9541 * gdb.threads/multiple-step-overs.exp: New file.
9542 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9543 Adjust expected infrun debug output.
9544
9545 2014-03-20 Pedro Alves <palves@redhat.com>
9546
9547 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9548 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9549
9550 2014-03-20 Pedro Alves <palves@redhat.com>
9551
9552 PR breakpoints/7143
9553 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9554 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9555 of gdb_test_multiple.
9556 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9557 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9558
9559 2014-03-20 Pedro Alves <palves@redhat.com>
9560
9561 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9562 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9563
9564 2014-03-19 Pedro Alves <palves@redhat.com>
9565
9566 * gdb.base/async.exp: Remove early return.
9567
9568 2014-03-19 Pedro Alves <palves@redhat.com>
9569
9570 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9571
9572 2014-03-19 Pedro Alves <palves@redhat.com>
9573
9574 * gdb.base/async.exp (test_background): Expect \r\n after
9575 "completed." in the fail pattern.
9576
9577 2014-03-19 Pedro Alves <palves@redhat.com>
9578
9579 * gdb.base/async.exp (test_background): New procedure.
9580 Use it for all background execution command tests.
9581
9582 2014-03-19 Pedro Alves <palves@redhat.com>
9583
9584 * gdb.base/async.exp: Use prepare_for_testing.
9585
9586 2014-03-19 Pedro Alves <palves@redhat.com>
9587
9588 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9589 the same line.
9590
9591 2014-03-19 Pedro Alves <palves@redhat.com>
9592
9593 * gdb.base/async.c (main): Add "jump here" and "until here" line
9594 marker comments.
9595 * gdb.base/async.exp (jump_here): New global.
9596 (jump& test): Use it.
9597 (until_here): New global.
9598 (until& test): Use it.
9599
9600 2014-03-19 Pedro Alves <palves@redhat.com>
9601
9602 * gdb.base/async.exp: Don't frob gdb_protocol.
9603
9604 2014-03-18 Doug Evans <xdje42@gmail.com>
9605
9606 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9607 Fix spelling of exec-done-display.
9608
9609 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9610
9611 PR gdb/15358
9612 * gdb.base/gdb-sigterm.c: New file.
9613 * gdb.base/gdb-sigterm.exp: New file.
9614
9615 2014-03-18 Pedro Alves <palves@redhat.com>
9616
9617 PR gdb/13860
9618 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9619 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9620 solib-event.
9621
9622 2014-03-17 Joel Brobecker <brobecker@adacore.com>
9623
9624 * gdb.ada/pckd_arr_ren: New testcase.
9625
9626 2014-03-13 Doug Evans <xdje42@gmail.com>
9627
9628 PR guile/16612
9629 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9630 collect after discarding symbols.
9631
9632 2014-03-13 Ludovic Courtès <ludo@gnu.org>
9633 Doug Evans <xdje42@gmail.com>
9634
9635 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9636 to history survives a gc.
9637
9638 2014-03-13 Pedro Alves <palves@redhat.com>
9639
9640 * gdb.base/default.exp: Don't test "target procfs".
9641
9642 2014-03-13 Pedro Alves <palves@redhat.com>
9643
9644 * gdb.base/default.exp: Update "target child" and "target procfs"
9645 tests to not expect "Unix".
9646
9647 2014-03-12 Tom Tromey <tromey@redhat.com>
9648
9649 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9650 New procs. Add target-async tests.
9651 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9652 Add target-async tests.
9653
9654 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9655
9656 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9657 'func_start' and 'func_end' for the beginning and end of the
9658 function code, respectively.
9659 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9660 'func_end' instead of 'func' and 'main'.
9661
9662 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9663
9664 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9665 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9666 generate the debug info assembler source.
9667
9668 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9669
9670 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9671 * gdb.dwarf2/arr-subrange.exp: Likewise.
9672 * gdb.dwarf2/dwz.exp: Likewise.
9673 * gdb.dwarf2/method-ptr.exp: Likewise.
9674 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9675 * gdb.dwarf2/subrange.exp: Likewise.
9676 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9677 * gdb.dwarf2/implptrpiece.exp: Likewise.
9678 * gdb.dwarf2/nostaticblock.exp: Likewise.
9679
9680 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9681
9682 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9683 directory to absolute path name arguments.
9684
9685 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9686
9687 * gdb.ada/tagged_access: New testcase.
9688
9689 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9690
9691 * gdb.btrace/data.exp: Update expected output.
9692
9693 2014-03-06 Yao Qi <yao@codesourcery.com>
9694
9695 * gdb.trace/pr16508.exp: New file.
9696
9697 2014-03-05 Pedro Alves <palves@redhat.com>
9698
9699 PR gdb/16575
9700 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9701 procedure.
9702 (top level): Adjust to use it. Add tests that exercise breakpoint
9703 interaction with the code-cache.
9704
9705 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9706
9707 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9708 test for 'history-append!'.
9709
9710 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9711
9712 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9713 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9714 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9715 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9716 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9717 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9718
9719 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9720
9721 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9722 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9723 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9724
9725 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9726
9727 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9728
9729 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9730
9731 * gdb.dwarf2/arr-stride.c: New file.
9732 * gdb.dwarf2/arr-stride.exp: New file.
9733
9734 2014-02-26 Pedro Alves <palves@redhat.com>
9735
9736 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9737 that won't ever trigger. Make sure that GDB reports the correct
9738 breakpoint that caused the stop.
9739
9740 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9741
9742 PR gdb/16626
9743 * gdb.base/auto-load-script: New file.
9744 * gdb.base/auto-load.c: New file.
9745 * gdb.base/auto-load.exp: New file.
9746
9747 PR gdb/16626
9748 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9749
9750 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9751
9752 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9753 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9754
9755 2014-02-24 Doug Evans <dje@google.com>
9756
9757 * lib/gdb.exp (run_on_host): Log error output if program fails.
9758
9759 2014-02-21 Pedro Alves <palves@redhat.com>
9760
9761 * gdb.threads/step-after-sr-lock.c: Rename to ...
9762 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9763 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9764 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9765 ... this.
9766
9767 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9768
9769 PR tdep/16397
9770 * gdb.arch/amd64-stap-special-operands.exp: New file.
9771 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9772 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9773 * gdb.arch/amd64-stap-triplet.S: Likewise.
9774 * gdb.arch/amd64-stap-triplet.c: Likewise.
9775
9776 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9777
9778 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9779 in .section pseudo-op.
9780
9781 2014-02-20 lin zuojian <manjian2006@gmail.com>
9782 Joel Brobecker <brobecker@adacore.com>
9783 Doug Evans <xdje42@gmail.com>
9784
9785 PR symtab/16581
9786 * gdb.dwarf2/dw2-icycle.S: New file.
9787 * gdb.dwarf2/dw2-icycle.c: New file.
9788 * gdb.dwarf2/dw2-icycle.exp: New file.
9789
9790 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9791
9792 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9793 operations on gdb.Value objects.
9794 * gdb.python/py-value-cc.exp: Add new test to test operations on
9795 gdb.Value objects.
9796
9797 2014-02-18 Doug Evans <dje@google.com>
9798
9799 * Makefile.in (TESTS): New variable.
9800 (expanded_tests, expanded_tests_or_none): New variables
9801 (check-single): Pass $(expanded_tests_or_none) to runtest.
9802 (check-parallel): Only run tests in $(TESTS) if non-empty.
9803 (check/no-matching-tests-found): New rule.
9804 * README: Document TESTS makefile variable.
9805
9806 2014-02-18 Doug Evans <dje@google.com>
9807
9808 * Makefile.in (check-parallel): rm -rf outputs temp.
9809
9810 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9811
9812 Fix "ERROR: no fileid for" in the testsuite.
9813 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9814
9815 2014-02-12 Doug Evans <dje@google.com>
9816
9817 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9818 (MISCELLANEOUS): New variable.
9819 (clean): rm -rf $(MISCELLANEOUS).
9820 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9821 dwp live in the same directory as symlinks, with each symlink pointed
9822 to a differently named file in a different directory.
9823
9824 2014-02-11 Doug Evans <dje@google.com>
9825
9826 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9827 of Tcl file commands.
9828
9829 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9830
9831 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9832 "kill -SIGUSR1 -1".
9833
9834 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9835
9836 * gdb.ada/tick_length_array_enum_idx: New testcase.
9837
9838 2014-02-10 Doug Evans <xdje42@gmail.com>
9839
9840 * configure.ac (AC_OUTPUT): Add gdb.guile.
9841 * configure: Regenerate.
9842 * lib/gdb-guile.exp: New file.
9843 * lib/gdb.exp (get_target_charset): New function.
9844 * gdb.base/help.exp: Update expected output from "apropos apropos".
9845 * gdb.guile/Makefile.in: New file.
9846 * gdb.guile/guile.exp: New file.
9847 * gdb.guile/scm-arch.c: New file.
9848 * gdb.guile/scm-arch.exp: New file.
9849 * gdb.guile/scm-block.c: New file.
9850 * gdb.guile/scm-block.exp: New file.
9851 * gdb.guile/scm-breakpoint.c: New file.
9852 * gdb.guile/scm-breakpoint.exp: New file.
9853 * gdb.guile/scm-disasm.c: New file.
9854 * gdb.guile/scm-disasm.exp: New file.
9855 * gdb.guile/scm-equal.c: New file.
9856 * gdb.guile/scm-equal.exp: New file.
9857 * gdb.guile/scm-error.exp: New file.
9858 * gdb.guile/scm-error.scm: New file.
9859 * gdb.guile/scm-frame-args.c: New file.
9860 * gdb.guile/scm-frame-args.exp: New file.
9861 * gdb.guile/scm-frame-args.scm: New file.
9862 * gdb.guile/scm-frame-inline.c: New file.
9863 * gdb.guile/scm-frame-inline.exp: New file.
9864 * gdb.guile/scm-frame.c: New file.
9865 * gdb.guile/scm-frame.exp: New file.
9866 * gdb.guile/scm-generics.exp: New file.
9867 * gdb.guile/scm-gsmob.exp: New file.
9868 * gdb.guile/scm-iterator.c: New file.
9869 * gdb.guile/scm-iterator.exp: New file.
9870 * gdb.guile/scm-math.c: New file.
9871 * gdb.guile/scm-math.exp: New file.
9872 * gdb.guile/scm-objfile-script-gdb.in: New file.
9873 * gdb.guile/scm-objfile-script.c: New file.
9874 * gdb.guile/scm-objfile-script.exp: New file.
9875 * gdb.guile/scm-objfile.c: New file.
9876 * gdb.guile/scm-objfile.exp: New file.
9877 * gdb.guile/scm-ports.exp: New file.
9878 * gdb.guile/scm-pretty-print.c: New file.
9879 * gdb.guile/scm-pretty-print.exp: New file.
9880 * gdb.guile/scm-pretty-print.scm: New file.
9881 * gdb.guile/scm-section-script.c: New file.
9882 * gdb.guile/scm-section-script.exp: New file.
9883 * gdb.guile/scm-section-script.scm: New file.
9884 * gdb.guile/scm-symbol.c: New file.
9885 * gdb.guile/scm-symbol.exp: New file.
9886 * gdb.guile/scm-symtab-2.c: New file.
9887 * gdb.guile/scm-symtab.c: New file.
9888 * gdb.guile/scm-symtab.exp: New file.
9889 * gdb.guile/scm-type.c: New file.
9890 * gdb.guile/scm-type.exp: New file.
9891 * gdb.guile/scm-value-cc.cc: New file.
9892 * gdb.guile/scm-value-cc.exp: New file.
9893 * gdb.guile/scm-value.c: New file.
9894 * gdb.guile/scm-value.exp: New file.
9895 * gdb.guile/source2.scm: New file.
9896 * gdb.guile/types-module.cc: New file.
9897 * gdb.guile/types-module.exp: New file.
9898
9899 2014-02-10 Yao Qi <yao@codesourcery.com>
9900
9901 PR testsuite/16543
9902 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9903 * configure: Regenerated.
9904 * Makefile.in: New file.
9905
9906 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9907
9908 * gdb.python/py-framefilter.exp: Fix typo.
9909
9910 2014-02-08 Yao Qi <yao@codesourcery.com>
9911
9912 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9913 that no =breakpoint-modified is emitted when breakpoints are
9914 modified through MI commands.
9915
9916 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9917 Pedro Alves <palves@redhat.com>
9918
9919 * gdb.threads/step-after-sr-lock.c: New file.
9920 * gdb.threads/step-after-sr-lock.exp: New file.
9921
9922 2014-02-07 Pedro Alves <palves@redhat.com>
9923
9924 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9925
9926 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9927
9928 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9929 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9930
9931 2014-02-06 Doug Evans <xdje42@gmail.com>
9932
9933 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9934 output.
9935
9936 * gdb.gdb/python-interrupts.exp: New file.
9937
9938 2014-02-05 Yao Qi <yao@codesourcery.com>
9939
9940 * gdb.trace/report.exp (use_collected_data): Test the output
9941 of "info threads" and "info inferiors".
9942
9943 2014-02-05 Yao Qi <yao@codesourcery.com>
9944
9945 Revert this patch:
9946
9947 2013-05-24 Yao Qi <yao@codesourcery.com>
9948
9949 * gdb.trace/tfile.exp: Test inferior and thread.
9950
9951 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9952
9953 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9954 on a function.
9955 * gdb.base/step-bt.c: Call hello via function pointer to make
9956 sure its first instruction is executed on powerpc64le-linux.
9957
9958 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9959
9960 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9961
9962 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9963
9964 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9965 of the test patterns for use on little-endian systems.
9966
9967 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9968
9969 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9970 (decimal_vector): Fix for little-endian.
9971
9972 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9973
9974 * gdb.arch/sparc-sysstep.exp: New file.
9975 * gdb.arch/sparc-sysstep.c: Likewise.
9976
9977 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9978
9979 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9980
9981 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9982
9983 2014-01-23 Tom Tromey <tromey@redhat.com>
9984
9985 * gdb.ada/array_char_idx: New testcase.
9986
9987 2014-01-23 Tom Tromey <tromey@redhat.com>
9988
9989 PR python/16487:
9990 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9991 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9992 classes.
9993
9994 2014-01-23 Tom Tromey <tromey@redhat.com>
9995
9996 PR python/16491:
9997 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9998 string from an inferior frame.
9999 * gdb.python/py-framefilter-mi.exp: Update.
10000
10001 2014-01-22 Doug Evans <dje@google.com>
10002
10003 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10004
10005 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10006
10007 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10008
10009 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10010
10011 * gdb.trace/entry-values.exp: Remove excess space character from
10012 regex patterns. Handle s390 call instruction.
10013
10014 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10015
10016 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10017 define "*_start" label. Make "name" static.
10018 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10019 ${name} by references to ${name}_start.
10020
10021 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10022
10023 * gdb.base/info-macros.exp: Remove "debug" from the compile
10024 options.
10025
10026 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10027
10028 * gdb.dlang/demangle.exp: New file.
10029
10030 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10031
10032 * gdb.dlang/primitive-types.exp: New file.
10033
10034 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10035
10036 * configure.ac: Create gdb.dlang/Makefile.
10037 * configure: Regenerate.
10038 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10039 * gdb.dlang/Makefile.in: New file.
10040 * lib/d-support.exp: New file.
10041 * lib/gdb.exp (skip_d_tests): New proc.
10042
10043 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10044
10045 * gdb.btrace/delta.exp: Check reverse stepi.
10046 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10047 * gdb.btrace/finish.exp: New.
10048 * gdb.btrace/next.exp: New.
10049 * gdb.btrace/nexti.exp: New.
10050 * gdb.btrace/record_goto.c: Add comments.
10051 * gdb.btrace/step.exp: New.
10052 * gdb.btrace/stepi.exp: New.
10053 * gdb.btrace/multi-thread-step.c: New.
10054 * gdb.btrace/multi-thread-step.exp: New.
10055 * gdb.btrace/rn-dl-bind.c: New.
10056 * gdb.btrace/rn-dl-bind.exp: New.
10057 * gdb.btrace/data.c: New.
10058 * gdb.btrace/data.exp: New.
10059 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10060
10061 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10062
10063 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10064 * gdb.btrace/exception.exp: Update.
10065 * gdb.btrace/instruction_history.exp: Update.
10066 * gdb.btrace/record_goto.exp: Update.
10067 * gdb.btrace/tailcall.exp: Update.
10068 * gdb.btrace/unknown_functions.exp: Update.
10069 * gdb.btrace/delta.exp: New.
10070
10071 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10072
10073 * gdb.btrace/record_goto.exp: Add backtrace test.
10074 * gdb.btrace/tailcall.exp: Add backtrace test.
10075
10076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10077
10078 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10079 * gdb.btrace/record_goto.c: New.
10080 * gdb.btrace/record_goto.exp: New.
10081 * gdb.btrace/x86-record_goto.S: New.
10082
10083 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10084
10085 * gdb.btrace/function_call_history.exp: Update tests.
10086 * gdb.btrace/instruction_history.exp: Update tests.
10087
10088 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10089
10090 * gdb.btrace/function_call_history.exp: Fix expected field
10091 order for "record function-call-history".
10092 Add new tests for "record function-call-history /c".
10093 * gdb.btrace/exception.cc: New.
10094 * gdb.btrace/exception.exp: New.
10095 * gdb.btrace/tailcall.exp: New.
10096 * gdb.btrace/x86-tailcall.S: New.
10097 * gdb.btrace/x86-tailcall.c: New.
10098 * gdb.btrace/unknown_functions.c: New.
10099 * gdb.btrace/unknown_functions.exp: New.
10100 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10101
10102 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10103
10104 * gdb.btrace/instruction_history.exp: Update.
10105 * gdb.btrace/function_call_history.exp: Update.
10106
10107 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10108
10109 * gdb.btrace/function_call_history.exp: Fix expected function
10110 trace.
10111 * gdb.btrace/instruction_history.exp: Initialize traced.
10112 Remove traced_functions.
10113
10114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10115
10116 * gdb.btrace/function_call_history.exp: Update
10117 * gdb.btrace/instruction_history.exp: Update.
10118
10119 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10120
10121 * gdb.btrace/enable.exp: Update expected text.
10122
10123 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10124
10125 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10126 bytes.
10127
10128 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10129
10130 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10131
10132 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10133
10134 * lib/gdb.exp (supports_process_record): Return true for
10135 arm*-linux*. (supports_reverse): Likewise.
10136
10137 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10138
10139 PR python/15464
10140 PR python/16113
10141 * gdb.python/py-type.c: Enhance test case.
10142 * gdb.python/py-value-cc.cc: Likewise
10143 * gdb.python/py-type.exp: Add new tests.
10144 * gdb.python/py-value-cc.exp: Likewise
10145
10146 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10147 Pedro Alves <palves@redhat.com>
10148
10149 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10150 Make "name" extern.
10151 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10152 references to ${name}_start by references to ${name}.
10153
10154 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10155
10156 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10157
10158 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10159
10160 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10161
10162 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10163 Pedro Alves <palves@redhat.com>
10164
10165 * gdb.mi/mi-info-os.exp: Connect to the target with
10166 mi_gdb_target_load.
10167
10168 2014-01-08 Pedro Alves <palves@redhat.com>
10169
10170 * gdb.threads/reconnect-signal.c: New file.
10171 * gdb.threads/reconnect-signal.exp: New file.
10172
10173 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10174
10175 * gdb.base/source-dir.exp: New file.
10176
10177 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10178
10179 * gdb.ada/mi_interface: New testcase.
10180
10181 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10182
10183 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10184 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10185 gdb.ada/pp-rec-component/pck.ads: New files.
10186
10187 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10188
10189 * gdb.python/py-pp-integral.c: New file.
10190 * gdb.python/py-pp-integral.py: New file.
10191 * gdb.python/py-pp-integral.exp: New file.
10192
10193 For older changes see ChangeLog-1993-2013.
10194 \f
10195 ;; Local Variables:
10196 ;; mode: change-log
10197 ;; left-margin: 8
10198 ;; fill-column: 74
10199 ;; version-control: never
10200 ;; End:
10201
10202 Copyright 2014-2016 Free Software Foundation, Inc.
10203 Copying and distribution of this file, with or without modification,
10204 are permitted provided the copyright notice and this notice are preserved.
This page took 0.309627 seconds and 5 git commands to generate.