Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2016-12-02 Pedro Alves <palves@redhat.com>
2
3 PR cli/20559
4 * gdb.base/commands.exp (user_defined_command_args_eval): New
5 procedure.
6 (top level): Call it.
7
8 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
9
10 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11 timeout handling.
12
13 2016-12-02 Tom Tromey <tom@tromey.com>
14
15 * gdb.dwarf2/main-subprogram.c: New file.
16 * gdb.dwarf2/main-subprogram.exp: New file.
17
18 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
19
20 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
21 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
22 gdb_test_no_output for a couple of cases.
23 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
24
25 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
26
27 Fix test names and standardize compilation error messages throughout
28 the following files:
29
30 * gdb.ada/start.exp
31 * gdb.arch/alpha-step.exp
32 * gdb.arch/e500-prologue.exp
33 * gdb.arch/ftrace-insn-reloc.exp
34 * gdb.arch/gdb1291.exp
35 * gdb.arch/gdb1431.exp
36 * gdb.arch/gdb1558.exp
37 * gdb.arch/i386-dr3-watch.exp
38 * gdb.arch/i386-sse-stack-align.exp
39 * gdb.arch/ia64-breakpoint-shadow.exp
40 * gdb.arch/pa-nullify.exp
41 * gdb.arch/powerpc-aix-prologue.exp
42 * gdb.arch/thumb-bx-pc.exp
43 * gdb.base/annota1.exp
44 * gdb.base/annota3.exp
45 * gdb.base/arrayidx.exp
46 * gdb.base/assign.exp
47 * gdb.base/attach.exp
48 * gdb.base/auxv.exp
49 * gdb.base/bang.exp
50 * gdb.base/bfp-test.exp
51 * gdb.base/bigcore.exp
52 * gdb.base/bitfields2.exp
53 * gdb.base/break-fun-addr.exp
54 * gdb.base/break-probes.exp
55 * gdb.base/call-rt-st.exp
56 * gdb.base/callexit.exp
57 * gdb.base/catch-fork-kill.exp
58 * gdb.base/charset.exp
59 * gdb.base/checkpoint.exp
60 * gdb.base/comprdebug.exp
61 * gdb.base/constvars.exp
62 * gdb.base/coredump-filter.exp
63 * gdb.base/cursal.exp
64 * gdb.base/cvexpr.exp
65 * gdb.base/detach.exp
66 * gdb.base/display.exp
67 * gdb.base/dmsym.exp
68 * gdb.base/dprintf-pending.exp
69 * gdb.base/dso2dso.exp
70 * gdb.base/dtrace-probe.exp
71 * gdb.base/dump.exp
72 * gdb.base/enum_cond.exp
73 * gdb.base/exe-lock.exp
74 * gdb.base/exec-invalid-sysroot.exp
75 * gdb.base/execl-update-breakpoints.exp
76 * gdb.base/exprs.exp
77 * gdb.base/fileio.exp
78 * gdb.base/find.exp
79 * gdb.base/finish.exp
80 * gdb.base/fixsection.exp
81 * gdb.base/foll-vfork.exp
82 * gdb.base/frame-args.exp
83 * gdb.base/gcore.exp
84 * gdb.base/gdb1250.exp
85 * gdb.base/global-var-nested-by-dso.exp
86 * gdb.base/gnu-ifunc.exp
87 * gdb.base/hashline1.exp
88 * gdb.base/hashline2.exp
89 * gdb.base/hashline3.exp
90 * gdb.base/hbreak-in-shr-unsupported.exp
91 * gdb.base/huge.exp
92 * gdb.base/infcall-input.exp
93 * gdb.base/info-fun.exp
94 * gdb.base/info-shared.exp
95 * gdb.base/jit-simple.exp
96 * gdb.base/jit-so.exp
97 * gdb.base/jit.exp
98 * gdb.base/jump.exp
99 * gdb.base/label.exp
100 * gdb.base/lineinc.exp
101 * gdb.base/logical.exp
102 * gdb.base/longjmp.exp
103 * gdb.base/macscp.exp
104 * gdb.base/miscexprs.exp
105 * gdb.base/new-ui-echo.exp
106 * gdb.base/new-ui-pending-input.exp
107 * gdb.base/new-ui.exp
108 * gdb.base/nodebug.exp
109 * gdb.base/nofield.exp
110 * gdb.base/offsets.exp
111 * gdb.base/overlays.exp
112 * gdb.base/pending.exp
113 * gdb.base/pointers.exp
114 * gdb.base/pr11022.exp
115 * gdb.base/printcmds.exp
116 * gdb.base/prologue.exp
117 * gdb.base/ptr-typedef.exp
118 * gdb.base/realname-expand.exp
119 * gdb.base/relativedebug.exp
120 * gdb.base/relocate.exp
121 * gdb.base/remote.exp
122 * gdb.base/reread.exp
123 * gdb.base/return2.exp
124 * gdb.base/savedregs.exp
125 * gdb.base/sep.exp
126 * gdb.base/sepdebug.exp
127 * gdb.base/sepsymtab.exp
128 * gdb.base/set-inferior-tty.exp
129 * gdb.base/setshow.exp
130 * gdb.base/shlib-call.exp
131 * gdb.base/sigaltstack.exp
132 * gdb.base/siginfo-addr.exp
133 * gdb.base/signals.exp
134 * gdb.base/signull.exp
135 * gdb.base/sigrepeat.exp
136 * gdb.base/so-impl-ld.exp
137 * gdb.base/solib-display.exp
138 * gdb.base/solib-overlap.exp
139 * gdb.base/solib-search.exp
140 * gdb.base/solib-symbol.exp
141 * gdb.base/structs.exp
142 * gdb.base/structs2.exp
143 * gdb.base/symtab-search-order.exp
144 * gdb.base/twice.exp
145 * gdb.base/unload.exp
146 * gdb.base/varargs.exp
147 * gdb.base/watchpoint-solib.exp
148 * gdb.base/watchpoint.exp
149 * gdb.base/whatis.exp
150 * gdb.base/wrong_frame_bt_full.exp
151 * gdb.btrace/dlopen.exp
152 * gdb.cell/ea-standalone.exp
153 * gdb.cell/ea-test.exp
154 * gdb.cp/dispcxx.exp
155 * gdb.cp/gdb2384.exp
156 * gdb.cp/method2.exp
157 * gdb.cp/nextoverthrow.exp
158 * gdb.cp/pr10728.exp
159 * gdb.disasm/am33.exp
160 * gdb.disasm/h8300s.exp
161 * gdb.disasm/mn10300.exp
162 * gdb.disasm/sh3.exp
163 * gdb.dwarf2/dw2-dir-file-name.exp
164 * gdb.fortran/complex.exp
165 * gdb.fortran/library-module.exp
166 * gdb.guile/scm-pretty-print.exp
167 * gdb.guile/scm-symbol.exp
168 * gdb.guile/scm-type.exp
169 * gdb.guile/scm-value.exp
170 * gdb.linespec/linespec.exp
171 * gdb.mi/gdb701.exp
172 * gdb.mi/gdb792.exp
173 * gdb.mi/mi-breakpoint-changed.exp
174 * gdb.mi/mi-dprintf-pending.exp
175 * gdb.mi/mi-dprintf.exp
176 * gdb.mi/mi-exit-code.exp
177 * gdb.mi/mi-pending.exp
178 * gdb.mi/mi-solib.exp
179 * gdb.mi/new-ui-mi-sync.exp
180 * gdb.mi/pr11022.exp
181 * gdb.mi/user-selected-context-sync.exp
182 * gdb.opt/solib-intra-step.exp
183 * gdb.python/py-events.exp
184 * gdb.python/py-finish-breakpoint.exp
185 * gdb.python/py-mi.exp
186 * gdb.python/py-prettyprint.exp
187 * gdb.python/py-shared.exp
188 * gdb.python/py-symbol.exp
189 * gdb.python/py-template.exp
190 * gdb.python/py-type.exp
191 * gdb.python/py-value.exp
192 * gdb.reverse/solib-precsave.exp
193 * gdb.reverse/solib-reverse.exp
194 * gdb.server/solib-list.exp
195 * gdb.stabs/weird.exp
196 * gdb.threads/reconnect-signal.exp
197 * gdb.threads/stepi-random-signal.exp
198 * gdb.trace/actions.exp
199 * gdb.trace/ax.exp
200 * gdb.trace/backtrace.exp
201 * gdb.trace/change-loc.exp
202 * gdb.trace/deltrace.exp
203 * gdb.trace/ftrace-lock.exp
204 * gdb.trace/ftrace.exp
205 * gdb.trace/infotrace.exp
206 * gdb.trace/mi-tracepoint-changed.exp
207 * gdb.trace/packetlen.exp
208 * gdb.trace/passcount.exp
209 * gdb.trace/pending.exp
210 * gdb.trace/range-stepping.exp
211 * gdb.trace/report.exp
212 * gdb.trace/stap-trace.exp
213 * gdb.trace/tfind.exp
214 * gdb.trace/trace-break.exp
215 * gdb.trace/trace-condition.exp
216 * gdb.trace/trace-enable-disable.exp
217 * gdb.trace/trace-mt.exp
218 * gdb.trace/tracecmd.exp
219 * gdb.trace/tspeed.exp
220 * gdb.trace/tsv.exp
221 * lib/perftest.exp
222
223 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
224
225 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
226 with gdb_test_no_output.
227 Use command as test name.
228
229 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
230
231 Fix test names starting with uppercase throughout the files.
232
233 * gdb.ada/assign_1.exp
234 * gdb.ada/boolean_expr.exp
235 * gdb.base/arrayidx.exp
236 * gdb.base/del.exp
237 * gdb.base/gcore-buffer-overflow.exp
238 * gdb.base/testenv.exp
239 * gdb.compile/compile.exp
240 * gdb.python/py-framefilter-invalidarg.exp
241 * gdb.python/py-framefilter.exp
242
243 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
244
245 Fix test names starting with uppercase throughout the files.
246
247 * gdb.ada/array_return.exp
248 * gdb.ada/expr_delims.exp
249 * gdb.ada/mi_dyn_arr.exp
250 * gdb.ada/mi_interface.exp
251 * gdb.ada/mi_var_array.exp
252 * gdb.ada/watch_arg.exp
253 * gdb.arch/alpha-step.exp
254 * gdb.arch/altivec-regs.exp
255 * gdb.arch/e500-regs.exp
256 * gdb.arch/powerpc-d128-regs.exp
257 * gdb.base/arrayidx.exp
258 * gdb.base/break.exp
259 * gdb.base/checkpoint.exp
260 * gdb.base/debug-expr.exp
261 * gdb.base/dmsym.exp
262 * gdb.base/radix.exp
263 * gdb.base/sepdebug.exp
264 * gdb.base/testenv.exp
265 * gdb.base/watch_thread_num.exp
266 * gdb.base/watchpoint-cond-gone.exp
267 * gdb.cell/break.exp
268 * gdb.cell/ea-cache.exp
269 * gdb.compile/compile.exp
270 * gdb.cp/gdb2495.exp
271 * gdb.gdb/selftest.exp
272 * gdb.gdb/xfullpath.exp
273 * gdb.go/hello.exp
274 * gdb.go/integers.exp
275 * gdb.objc/basicclass.exp
276 * gdb.pascal/hello.exp
277 * gdb.pascal/integers.exp
278 * gdb.python/py-breakpoint.exp
279 * gdb.python/py-cmd.exp
280 * gdb.python/py-linetable.exp
281 * gdb.python/py-xmethods.exp
282 * gdb.python/python.exp
283 * gdb.reverse/consecutive-precsave.exp
284 * gdb.reverse/finish-precsave.exp
285 * gdb.reverse/i386-precsave.exp
286 * gdb.reverse/machinestate-precsave.exp
287 * gdb.reverse/sigall-precsave.exp
288 * gdb.reverse/solib-precsave.exp
289 * gdb.reverse/step-precsave.exp
290 * gdb.reverse/until-precsave.exp
291 * gdb.reverse/watch-precsave.exp
292 * gdb.threads/leader-exit.exp
293 * gdb.threads/pthreads.exp
294 * gdb.threads/wp-replication.exp
295 * gdb.trace/actions.exp
296 * gdb.trace/mi-tsv-changed.exp
297 * gdb.trace/tsv.exp
298
299 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
300
301 Fix test names starting with uppercase throughout the files.
302
303 * gdb.arch/i386-bp_permanent.exp
304 * gdb.arch/i386-gnu-cfi.exp
305 * gdb.base/disasm-end-cu.exp
306 * gdb.base/macscp.exp
307 * gdb.base/pending.exp
308 * gdb.base/watch_thread_num.exp
309 * gdb.cp/exception.exp
310 * gdb.cp/gdb2495.exp
311 * gdb.cp/local.exp
312 * gdb.python/py-evsignal.exp
313 * gdb.python/python.exp
314 * gdb.trace/tracecmd.exp
315
316 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
317
318 Fix test names starting with uppercase throughout the files.
319
320 * gdb.base/charset.exp
321 * gdb.base/eval.exp
322 * gdb.base/multi-forks.exp
323 * gdb.guile/scm-progspace.exp
324 * gdb.opencl/datatypes.exp
325 * gdb.python/py-block.exp
326 * gdb.python/py-function.exp
327 * gdb.python/py-symbol.exp
328 * gdb.python/py-symtab.exp
329 * gdb.python/py-xmethods.exp
330 * gdb.reverse/break-precsave.exp
331 * gdb.reverse/break-reverse.exp
332 * gdb.reverse/consecutive-precsave.exp
333 * gdb.reverse/consecutive-reverse.exp
334 * gdb.reverse/finish-precsave.exp
335 * gdb.reverse/finish-reverse-bkpt.exp
336 * gdb.reverse/finish-reverse.exp
337 * gdb.reverse/fstatat-reverse.exp
338 * gdb.reverse/getresuid-reverse.exp
339 * gdb.reverse/i386-precsave.exp
340 * gdb.reverse/i386-reverse.exp
341 * gdb.reverse/i386-sse-reverse.exp
342 * gdb.reverse/i387-stack-reverse.exp
343 * gdb.reverse/insn-reverse.exp
344 * gdb.reverse/machinestate-precsave.exp
345 * gdb.reverse/machinestate.exp
346 * gdb.reverse/next-reverse-bkpt-over-sr.exp
347 * gdb.reverse/pipe-reverse.exp
348 * gdb.reverse/readv-reverse.exp
349 * gdb.reverse/recvmsg-reverse.exp
350 * gdb.reverse/rerun-prec.exp
351 * gdb.reverse/s390-mvcle.exp
352 * gdb.reverse/sigall-precsave.exp
353 * gdb.reverse/sigall-reverse.exp
354 * gdb.reverse/solib-precsave.exp
355 * gdb.reverse/solib-reverse.exp
356 * gdb.reverse/step-precsave.exp
357 * gdb.reverse/step-reverse.exp
358 * gdb.reverse/time-reverse.exp
359 * gdb.reverse/until-precsave.exp
360 * gdb.reverse/until-reverse.exp
361 * gdb.reverse/waitpid-reverse.exp
362 * gdb.reverse/watch-precsave.exp
363 * gdb.reverse/watch-reverse.exp
364
365 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
366
367 Fix test names starting with uppercase throughout the files.
368
369 * gdb.arch/i386-mpx-simple_segv.exp
370 * gdb.arch/i386-mpx.exp
371 * gdb.arch/i386-permbkpt.exp
372 * gdb.arch/pa-nullify.exp
373 * gdb.arch/powerpc-d128-regs.exp
374 * gdb.arch/vsx-regs.exp
375 * gdb.base/bfp-test.exp
376 * gdb.base/break.exp
377 * gdb.base/breakpoint-shadow.exp
378 * gdb.base/callfuncs.exp
379 * gdb.base/charset.exp
380 * gdb.base/commands.exp
381 * gdb.base/completion.exp
382 * gdb.base/dfp-test.exp
383 * gdb.base/echo.exp
384 * gdb.base/ending-run.exp
385 * gdb.base/eval.exp
386 * gdb.base/expand-psymtabs.exp
387 * gdb.base/float128.exp
388 * gdb.base/floatn.exp
389 * gdb.base/foll-exec-mode.exp
390 * gdb.base/gdb1056.exp
391 * gdb.base/gdb11531.exp
392 * gdb.base/kill-after-signal.exp
393 * gdb.base/multi-forks.exp
394 * gdb.base/overlays.exp
395 * gdb.base/pending.exp
396 * gdb.base/sepdebug.exp
397 * gdb.base/testenv.exp
398 * gdb.base/valgrind-db-attach.exp
399 * gdb.base/watch_thread_num.exp
400 * gdb.base/watchpoint-cond-gone.exp
401 * gdb.base/watchpoint.exp
402 * gdb.base/watchpoints.exp
403 * gdb.cp/arg-reference.exp
404 * gdb.cp/baseenum.exp
405 * gdb.cp/operator.exp
406 * gdb.cp/shadow.exp
407 * gdb.dwarf2/dw2-op-out-param.exp
408 * gdb.dwarf2/dw2-reg-undefined.exp
409 * gdb.go/chan.exp
410 * gdb.go/hello.exp
411 * gdb.go/integers.exp
412 * gdb.go/methods.exp
413 * gdb.go/package.exp
414 * gdb.guile/scm-parameter.exp
415 * gdb.guile/scm-progspace.exp
416 * gdb.guile/scm-value.exp
417 * gdb.mi/mi-pending.exp
418 * gdb.mi/user-selected-context-sync.exp
419 * gdb.multi/multi-attach.exp
420 * gdb.multi/tids.exp
421 * gdb.opt/clobbered-registers-O2.exp
422 * gdb.pascal/floats.exp
423 * gdb.pascal/integers.exp
424 * gdb.python/py-block.exp
425 * gdb.python/py-events.exp
426 * gdb.python/py-parameter.exp
427 * gdb.python/py-symbol.exp
428 * gdb.python/py-symtab.exp
429 * gdb.python/py-type.exp
430 * gdb.python/py-value.exp
431 * gdb.python/py-xmethods.exp
432 * gdb.python/python.exp
433 * gdb.reverse/break-precsave.exp
434 * gdb.reverse/consecutive-precsave.exp
435 * gdb.reverse/finish-precsave.exp
436 * gdb.reverse/i386-precsave.exp
437 * gdb.reverse/machinestate-precsave.exp
438 * gdb.reverse/sigall-precsave.exp
439 * gdb.reverse/solib-precsave.exp
440 * gdb.reverse/step-precsave.exp
441 * gdb.reverse/until-precsave.exp
442 * gdb.reverse/watch-precsave.exp
443 * gdb.server/ext-attach.exp
444 * gdb.server/ext-restart.exp
445 * gdb.server/ext-run.exp
446 * gdb.server/ext-wrapper.exp
447 * gdb.stabs/gdb11479.exp
448 * gdb.stabs/weird.exp
449 * gdb.threads/attach-many-short-lived-threads.exp
450 * gdb.threads/kill.exp
451 * gdb.threads/watchpoint-fork.exp
452
453 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
454
455 Fix test names starting with uppercase throughout all the files below.
456
457 * gdb.ada/array_return.exp
458 * gdb.ada/catch_ex.exp
459 * gdb.ada/info_exc.exp
460 * gdb.ada/mi_catch_ex.exp
461 * gdb.ada/mi_dyn_arr.exp
462 * gdb.ada/mi_ex_cond.exp
463 * gdb.ada/mi_exc_info.exp
464 * gdb.ada/mi_interface.exp
465 * gdb.ada/mi_task_arg.exp
466 * gdb.ada/mi_task_info.exp
467 * gdb.ada/mi_var_array.exp
468 * gdb.arch/alpha-step.exp
469 * gdb.arch/amd64-disp-step.exp
470 * gdb.arch/arm-disp-step.exp
471 * gdb.arch/disp-step-insn-reloc.exp
472 * gdb.arch/e500-prologue.exp
473 * gdb.arch/ftrace-insn-reloc.exp
474 * gdb.arch/gdb1558.exp
475 * gdb.arch/i386-bp_permanent.exp
476 * gdb.arch/i386-disp-step.exp
477 * gdb.arch/i386-float.exp
478 * gdb.arch/i386-gnu-cfi.exp
479 * gdb.arch/ia64-breakpoint-shadow.exp
480 * gdb.arch/mips16-thunks.exp
481 * gdb.arch/pa-nullify.exp
482 * gdb.arch/powerpc-aix-prologue.exp
483 * gdb.arch/powerpc-power.exp
484 * gdb.arch/ppc-dfp.exp
485 * gdb.arch/s390-tdbregs.exp
486 * gdb.arch/spu-info.exp
487 * gdb.arch/spu-ls.exp
488 * gdb.arch/thumb-bx-pc.exp
489 * gdb.base/advance.exp
490 * gdb.base/annota-input-while-running.exp
491 * gdb.base/arrayidx.exp
492 * gdb.base/asmlabel.exp
493 * gdb.base/async.exp
494 * gdb.base/attach-wait-input.exp
495 * gdb.base/auto-connect-native-target.exp
496 * gdb.base/batch-preserve-term-settings.exp
497 * gdb.base/bfp-test.exp
498 * gdb.base/bigcore.exp
499 * gdb.base/bp-permanent.exp
500 * gdb.base/break-always.exp
501 * gdb.base/break-fun-addr.exp
502 * gdb.base/break-idempotent.exp
503 * gdb.base/break-main-file-remove-fail.exp
504 * gdb.base/break-probes.exp
505 * gdb.base/break-unload-file.exp
506 * gdb.base/break.exp
507 * gdb.base/call-ar-st.exp
508 * gdb.base/call-rt-st.exp
509 * gdb.base/call-sc.exp
510 * gdb.base/call-signal-resume.exp
511 * gdb.base/call-strs.exp
512 * gdb.base/callexit.exp
513 * gdb.base/callfuncs.exp
514 * gdb.base/catch-gdb-caused-signals.exp
515 * gdb.base/catch-signal-siginfo-cond.exp
516 * gdb.base/catch-syscall.exp
517 * gdb.base/compare-sections.exp
518 * gdb.base/cond-eval-mode.exp
519 * gdb.base/condbreak-call-false.exp
520 * gdb.base/consecutive-step-over.exp
521 * gdb.base/cursal.exp
522 * gdb.base/disabled-location.exp
523 * gdb.base/disasm-end-cu.exp
524 * gdb.base/display.exp
525 * gdb.base/double-prompt-target-event-error.exp
526 * gdb.base/dprintf-bp-same-addr.exp
527 * gdb.base/dprintf-detach.exp
528 * gdb.base/dprintf-next.exp
529 * gdb.base/dprintf-non-stop.exp
530 * gdb.base/dprintf-pending.exp
531 * gdb.base/dso2dso.exp
532 * gdb.base/ending-run.exp
533 * gdb.base/enum_cond.exp
534 * gdb.base/examine-backward.exp
535 * gdb.base/exe-lock.exp
536 * gdb.base/exec-invalid-sysroot.exp
537 * gdb.base/execl-update-breakpoints.exp
538 * gdb.base/execution-termios.exp
539 * gdb.base/fileio.exp
540 * gdb.base/fixsection.exp
541 * gdb.base/foll-exec-mode.exp
542 * gdb.base/foll-exec.exp
543 * gdb.base/fork-running-state.exp
544 * gdb.base/frame-args.exp
545 * gdb.base/fullpath-expand.exp
546 * gdb.base/func-ptr.exp
547 * gdb.base/gcore-relro-pie.exp
548 * gdb.base/gdb1090.exp
549 * gdb.base/gdb1555.exp
550 * gdb.base/global-var-nested-by-dso.exp
551 * gdb.base/gnu-ifunc.exp
552 * gdb.base/hbreak-in-shr-unsupported.exp
553 * gdb.base/hbreak-unmapped.exp
554 * gdb.base/hook-stop.exp
555 * gdb.base/infcall-input.exp
556 * gdb.base/info-fun.exp
557 * gdb.base/info-shared.exp
558 * gdb.base/interrupt-noterm.exp
559 * gdb.base/jit-so.exp
560 * gdb.base/jit.exp
561 * gdb.base/line-symtabs.exp
562 * gdb.base/list.exp
563 * gdb.base/longjmp.exp
564 * gdb.base/macscp.exp
565 * gdb.base/max-value-size.exp
566 * gdb.base/nodebug.exp
567 * gdb.base/nofield.exp
568 * gdb.base/overlays.exp
569 * gdb.base/paginate-after-ctrl-c-running.exp
570 * gdb.base/paginate-bg-execution.exp
571 * gdb.base/paginate-inferior-exit.exp
572 * gdb.base/pending.exp
573 * gdb.base/pr11022.exp
574 * gdb.base/printcmds.exp
575 * gdb.base/ptr-typedef.exp
576 * gdb.base/ptype.exp
577 * gdb.base/randomize.exp
578 * gdb.base/range-stepping.exp
579 * gdb.base/realname-expand.exp
580 * gdb.base/relativedebug.exp
581 * gdb.base/remote.exp
582 * gdb.base/savedregs.exp
583 * gdb.base/sepdebug.exp
584 * gdb.base/set-noassign.exp
585 * gdb.base/shlib-call.exp
586 * gdb.base/shreloc.exp
587 * gdb.base/sigaltstack.exp
588 * gdb.base/sigbpt.exp
589 * gdb.base/siginfo-addr.exp
590 * gdb.base/siginfo-obj.exp
591 * gdb.base/siginfo-thread.exp
592 * gdb.base/signest.exp
593 * gdb.base/signull.exp
594 * gdb.base/sigrepeat.exp
595 * gdb.base/skip.exp
596 * gdb.base/so-impl-ld.exp
597 * gdb.base/solib-corrupted.exp
598 * gdb.base/solib-disc.exp
599 * gdb.base/solib-display.exp
600 * gdb.base/solib-overlap.exp
601 * gdb.base/solib-search.exp
602 * gdb.base/solib-symbol.exp
603 * gdb.base/source-execution.exp
604 * gdb.base/sss-bp-on-user-bp-2.exp
605 * gdb.base/sss-bp-on-user-bp.exp
606 * gdb.base/stack-checking.exp
607 * gdb.base/stale-infcall.exp
608 * gdb.base/step-break.exp
609 * gdb.base/step-line.exp
610 * gdb.base/step-over-exit.exp
611 * gdb.base/step-test.exp
612 * gdb.base/structs.exp
613 * gdb.base/sym-file.exp
614 * gdb.base/symtab-search-order.exp
615 * gdb.base/term.exp
616 * gdb.base/type-opaque.exp
617 * gdb.base/unload.exp
618 * gdb.base/until-nodebug.exp
619 * gdb.base/until.exp
620 * gdb.base/unwindonsignal.exp
621 * gdb.base/watch-cond.exp
622 * gdb.base/watch-non-mem.exp
623 * gdb.base/watch_thread_num.exp
624 * gdb.base/watchpoint-reuse-slot.exp
625 * gdb.base/watchpoint-solib.exp
626 * gdb.base/watchpoint.exp
627 * gdb.btrace/dlopen.exp
628 * gdb.cell/arch.exp
629 * gdb.cell/break.exp
630 * gdb.cell/bt.exp
631 * gdb.cell/core.exp
632 * gdb.cell/data.exp
633 * gdb.cell/dwarfaddr.exp
634 * gdb.cell/ea-cache.exp
635 * gdb.cell/ea-standalone.exp
636 * gdb.cell/ea-test.exp
637 * gdb.cell/f-regs.exp
638 * gdb.cell/fork.exp
639 * gdb.cell/gcore.exp
640 * gdb.cell/mem-access.exp
641 * gdb.cell/ptype.exp
642 * gdb.cell/registers.exp
643 * gdb.cell/sizeof.exp
644 * gdb.cell/solib-symbol.exp
645 * gdb.cell/solib.exp
646 * gdb.compile/compile-tls.exp
647 * gdb.cp/exception.exp
648 * gdb.cp/gdb2495.exp
649 * gdb.cp/local.exp
650 * gdb.cp/mb-inline.exp
651 * gdb.cp/mb-templates.exp
652 * gdb.cp/pr10687.exp
653 * gdb.cp/pr9167.exp
654 * gdb.cp/scope-err.exp
655 * gdb.cp/templates.exp
656 * gdb.cp/virtfunc.exp
657 * gdb.dwarf2/dw2-dir-file-name.exp
658 * gdb.dwarf2/dw2-single-line-discriminators.exp
659 * gdb.fortran/complex.exp
660 * gdb.fortran/library-module.exp
661 * gdb.guile/guile.exp
662 * gdb.guile/scm-cmd.exp
663 * gdb.guile/scm-frame-inline.exp
664 * gdb.guile/scm-objfile.exp
665 * gdb.guile/scm-pretty-print.exp
666 * gdb.guile/scm-symbol.exp
667 * gdb.guile/scm-type.exp
668 * gdb.guile/scm-value.exp
669 * gdb.linespec/keywords.exp
670 * gdb.linespec/ls-errs.exp
671 * gdb.linespec/macro-relative.exp
672 * gdb.linespec/thread.exp
673 * gdb.mi/mi-breakpoint-changed.exp
674 * gdb.mi/mi-dprintf-pending.exp
675 * gdb.mi/mi-fullname-deleted.exp
676 * gdb.mi/mi-logging.exp
677 * gdb.mi/mi-pending.exp
678 * gdb.mi/mi-solib.exp
679 * gdb.mi/new-ui-mi-sync.exp
680 * gdb.mi/user-selected-context-sync.exp
681 * gdb.multi/dummy-frame-restore.exp
682 * gdb.multi/multi-arch-exec.exp
683 * gdb.multi/remove-inferiors.exp
684 * gdb.multi/watchpoint-multi-exit.exp
685 * gdb.opt/solib-intra-step.exp
686 * gdb.perf/backtrace.exp
687 * gdb.perf/single-step.exp
688 * gdb.perf/skip-command.exp
689 * gdb.perf/skip-prologue.exp
690 * gdb.perf/solib.exp
691 * gdb.python/lib-types.exp
692 * gdb.python/py-as-string.exp
693 * gdb.python/py-bad-printers.exp
694 * gdb.python/py-block.exp
695 * gdb.python/py-breakpoint.exp
696 * gdb.python/py-cmd.exp
697 * gdb.python/py-events.exp
698 * gdb.python/py-evthreads.exp
699 * gdb.python/py-finish-breakpoint.exp
700 * gdb.python/py-finish-breakpoint2.exp
701 * gdb.python/py-frame-inline.exp
702 * gdb.python/py-frame.exp
703 * gdb.python/py-inferior.exp
704 * gdb.python/py-infthread.exp
705 * gdb.python/py-mi.exp
706 * gdb.python/py-objfile.exp
707 * gdb.python/py-pp-maint.exp
708 * gdb.python/py-pp-registration.exp
709 * gdb.python/py-prettyprint.exp
710 * gdb.python/py-recurse-unwind.exp
711 * gdb.python/py-shared.exp
712 * gdb.python/py-symbol.exp
713 * gdb.python/py-symtab.exp
714 * gdb.python/py-template.exp
715 * gdb.python/py-type.exp
716 * gdb.python/py-unwind-maint.exp
717 * gdb.python/py-unwind.exp
718 * gdb.python/py-value.exp
719 * gdb.python/python.exp
720 * gdb.reverse/finish-reverse-bkpt.exp
721 * gdb.reverse/insn-reverse.exp
722 * gdb.reverse/next-reverse-bkpt-over-sr.exp
723 * gdb.reverse/solib-precsave.exp
724 * gdb.reverse/solib-reverse.exp
725 * gdb.stabs/gdb11479.exp
726 * gdb.stabs/weird.exp
727 * gdb.threads/fork-child-threads.exp
728 * gdb.threads/fork-plus-threads.exp
729 * gdb.threads/fork-thread-pending.exp
730 * gdb.threads/forking-threads-plus-breakpoint.exp
731 * gdb.threads/hand-call-in-threads.exp
732 * gdb.threads/interrupted-hand-call.exp
733 * gdb.threads/linux-dp.exp
734 * gdb.threads/local-watch-wrong-thread.exp
735 * gdb.threads/next-while-other-thread-longjmps.exp
736 * gdb.threads/non-ldr-exit.exp
737 * gdb.threads/pending-step.exp
738 * gdb.threads/print-threads.exp
739 * gdb.threads/process-dies-while-detaching.exp
740 * gdb.threads/process-dies-while-handling-bp.exp
741 * gdb.threads/pthreads.exp
742 * gdb.threads/queue-signal.exp
743 * gdb.threads/reconnect-signal.exp
744 * gdb.threads/signal-command-handle-nopass.exp
745 * gdb.threads/signal-command-multiple-signals-pending.exp
746 * gdb.threads/signal-delivered-right-thread.exp
747 * gdb.threads/signal-sigtrap.exp
748 * gdb.threads/sigthread.exp
749 * gdb.threads/staticthreads.exp
750 * gdb.threads/stepi-random-signal.exp
751 * gdb.threads/thread-unwindonsignal.exp
752 * gdb.threads/thread_check.exp
753 * gdb.threads/thread_events.exp
754 * gdb.threads/tid-reuse.exp
755 * gdb.threads/tls-nodebug.exp
756 * gdb.threads/tls-shared.exp
757 * gdb.threads/tls-so_extern.exp
758 * gdb.threads/tls.exp
759 * gdb.threads/wp-replication.exp
760 * gdb.trace/actions-changed.exp
761 * gdb.trace/actions.exp
762 * gdb.trace/backtrace.exp
763 * gdb.trace/change-loc.exp
764 * gdb.trace/collection.exp
765 * gdb.trace/deltrace.exp
766 * gdb.trace/disconnected-tracing.exp
767 * gdb.trace/entry-values.exp
768 * gdb.trace/ftrace-lock.exp
769 * gdb.trace/ftrace.exp
770 * gdb.trace/infotrace.exp
771 * gdb.trace/mi-trace-frame-collected.exp
772 * gdb.trace/mi-trace-unavailable.exp
773 * gdb.trace/mi-traceframe-changed.exp
774 * gdb.trace/mi-tracepoint-changed.exp
775 * gdb.trace/mi-tsv-changed.exp
776 * gdb.trace/no-attach-trace.exp
777 * gdb.trace/packetlen.exp
778 * gdb.trace/passc-dyn.exp
779 * gdb.trace/passcount.exp
780 * gdb.trace/pending.exp
781 * gdb.trace/pr16508.exp
782 * gdb.trace/qtro.exp
783 * gdb.trace/range-stepping.exp
784 * gdb.trace/read-memory.exp
785 * gdb.trace/report.exp
786 * gdb.trace/save-trace.exp
787 * gdb.trace/signal.exp
788 * gdb.trace/stap-trace.exp
789 * gdb.trace/status-stop.exp
790 * gdb.trace/strace.exp
791 * gdb.trace/tfile.exp
792 * gdb.trace/tfind.exp
793 * gdb.trace/trace-break.exp
794 * gdb.trace/trace-condition.exp
795 * gdb.trace/trace-enable-disable.exp
796 * gdb.trace/trace-mt.exp
797 * gdb.trace/tracecmd.exp
798 * gdb.trace/tracefile-pseudo-reg.exp
799 * gdb.trace/tspeed.exp
800 * gdb.trace/tstatus.exp
801 * gdb.trace/tsv.exp
802 * gdb.trace/unavailable.exp
803 * gdb.trace/while-dyn.exp
804 * gdb.trace/while-stepping.exp
805 * lib/gdb-guile.exp
806 * lib/gdb.exp
807 * lib/mi-support.exp
808 * lib/pascal.exp
809 * lib/perftest.exp
810 * lib/prelink-support.exp
811 * lib/selftest-support.exp
812
813 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
814
815 * Makefile.in: Include disable-implicit-rules.mk.
816
817 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
818
819 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
820 non-byte-aligned bit fields.
821
822 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
823
824 PR gdb/12616
825 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
826 respects the DW_AT_data_bit_offset attribute.
827
828 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
829
830 * gdb.base/default.exp: Fix output of "set language".
831
832 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
833
834 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
835 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
836 make.
837 * configure.ac: Remove checks for the make program.
838 * configure: Re-generate.
839
840 2016-11-16 Kevin Buettner <kevinb@redhat.com>
841
842 * gdb.python/py-recurse-unwind.c (main): Add loop.
843 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
844 to read_register() and gdb.parse_and_eval(). Make each code
845 call a separate case that can be individually tested.
846 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
847 proc. Call cont_and_backtrace for each of the code paths that
848 we want to test in the unwinder.
849
850 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
851
852 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
853 the definition of struct S.
854
855 2016-11-11 Catherine Moore <clm@codesourcery.com>
856
857 * gdb.base/dump.exp: Identify verilog format dump tests as such.
858
859 2016-11-09 Pedro Alves <palves@redhat.com>
860
861 * gdb.base/commands.exp (runto_or_return): New procedure.
862 (gdbvar_simple_if_test, gdbvar_simple_while_test)
863 (gdbvar_complex_if_while_test, progvar_simple_if_test)
864 (progvar_simple_while_test, progvar_complex_if_while_test)
865 (if_while_breakpoint_command_test)
866 (infrun_breakpoint_command_test, breakpoint_command_test)
867 (user_defined_command_test, watchpoint_command_test)
868 (test_command_prompt_position, redefine_hook_test)
869 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
870 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
871 multi_line_input and multi_line. Remove gdb_expect and
872 gdb_stop_suppressing_tests uses.
873 * lib/gdb.exp (valnum_re): New global.
874 (multi_line_input): New procedure.
875
876 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
877
878 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
879 Remove.
880 (test_setup): Define with proc_with_prefix.
881 (test_cli_inferior): Likewise.
882 (test_cli_thread): Likewise.
883 (test_cli_frame): Likewise.
884 (test_cli_select_frame): Likewise.
885 (test_cli_up_down): Likewise.
886 (test_mi_thread_select): Likewise.
887 (test_mi_stack_select_frame): Likewise.
888 (test_cli_in_mi_inferior): Likewise.
889 (test_cli_in_mi_thread): Likewise.
890 (test_cli_in_mi_frame): Likewise.
891 (top level): Do not use with_test_prefix_procname.
892
893 2016-11-09 Pedro Alves <palves@redhat.com>
894
895 * gdb.base/commands.exp (gdbvar_simple_if_test)
896 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
897 (progvar_simple_if_test, progvar_simple_while_test)
898 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
899 (infrun_breakpoint_command_test, breakpoint_command_test)
900 (user_defined_command_test, watchpoint_command_test)
901 (test_command_prompt_position, deprecated_command_test)
902 (bp_deleted_in_command, temporary_breakpoint_commands)
903 (stray_arg0_test, source_file_with_indented_comment)
904 (recursive_source_test, if_commands_test)
905 (error_clears_commands_left, redefine_hook_test)
906 (redefine_backtrace_test): Use proc_with_prefix.
907 * lib/gdb.exp (proc_with_prefix): New proc.
908
909 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
910
911 * gdb.base/tui-layout.c: New file.
912 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
913 disassembly window contains very long lines.
914
915 2016-11-08 Tom Tromey <tom@tromey.com>
916
917 * gdb.python/py-value.exp (test_value_creation): Make "long" test
918 depend on Python 2.
919
920 2016-11-08 Tom Tromey <tom@tromey.com>
921
922 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
923 New method.
924
925 2016-10-29 Manish Goregaokar <manish@mozilla.com>
926
927 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
928
929 2016-10-27 Manish Goregaokar <manish@mozilla.com>
930
931 * gdb.rust/simple.rs: Add test for univariant enums without
932 discriminants and for encoded struct-like enums.
933
934 2016-10-28 Pedro Alves <palves@redhat.com>
935
936 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
937 gdb_test_multiple, tighten regexps and match symtabs and line
938 tables incrementally.
939
940 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
941
942 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
943 general.
944
945 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
946
947 * gdb.base/exec-invalid-sysroot.exp: New file.
948
949 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
950
951 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
952
953 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
954
955 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
956
957 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
958
959 * gdb.base/killed-outside.exp: Remove $options from a call to
960 `prepare_for_testing'.
961
962 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
963
964 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
965 Change test message.
966
967 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
968
969 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
970 Update comment.
971
972 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
973
974 * gdb.trace/mi-trace-save.exp: New file.
975
976 2016-10-13 Yao Qi <yao.qi@linaro.org>
977
978 * gdb.base/code_elim.exp (get_var_address): Remove.
979 * gdb.base/relocate.exp: Likewise.
980 * gdb.base/shreloc.exp: Likewise.
981 * lib/gdb.exp (get_var_address): New.
982
983 2016-10-13 Yao Qi <yao.qi@linaro.org>
984
985 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
986 floating point tests if $skip_float_test is false.
987
988 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
989
990 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
991 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
992 argc values.
993 Add 1 to argc so we guarantee distinct initial/modified argc values.
994
995 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
996
997 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
998
999 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1000
1001 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1002 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1003 * gdb.arch/vsx-regs.exp: Likewise.
1004
1005 2016-10-07 Yao Qi <yao.qi@linaro.org>
1006
1007 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1008
1009 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1010
1011 * gdb.python/python.exp: Test decode_line("*0").
1012
1013 2016-10-06 Doug Evans <dje@google.com>
1014
1015 * gdb.python/py-value.exp (test_value_creation): Add test for large
1016 unsigned 64-bit value.
1017
1018 2016-10-06 Tom Tromey <tom@tromey.com>
1019
1020 * gdb.compile/compile.exp: Change java tests to rust.
1021 * gdb.base/setshow.exp: Change java tests to rust.
1022 * gdb.base/default.exp: Remove java from language list.
1023 * README (Examples): Update language example.
1024 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1025 test.
1026 * lib/gdb.exp (skip_java_tests): Remove.
1027 * lib/java.exp: Remove.
1028 * gdb.java: Remove.
1029
1030 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1031
1032 * gdb.arch/mips-fcr.exp: New test.
1033 * gdb.arch/mips-fcr.c: Source for the new test.
1034
1035 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1036
1037 * gdb.base/solib-disc.exp: Use `standard_output_file'
1038 throughout.
1039
1040 2016-10-06 Pedro Alves <palves@redhat.com>
1041
1042 * gdb.base/jit-simple-dl.c: New file.
1043 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1044 * gdb.base/jit-simple.c: ... this.
1045 * gdb.base/jit-simple.exp (jit_run): Delete.
1046 (build_jit): New proc.
1047 (jit_test_reread): Recompile either the main program or the shared
1048 library, depending on what is being tested. Skip changing address
1049 if caller wants to. Compare before/after addresses. If testing
1050 standalone, explicitly load the binary. Test "maint info
1051 breakpoints".
1052 (top level): Add "standalone vs shared lib" and "change address"
1053 vs "same address" axes.
1054
1055 2016-10-06 Pedro Alves <palves@redhat.com>
1056
1057 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1058 call.
1059 (jit_run): Delete.
1060 (jit_test_reread): Use with_test_prefix. Reload the main binary
1061 explicitly. Compare the before/after addresses of the JIT
1062 descriptor.
1063
1064 2016-08-15 Doug Evans <dje@google.com>
1065
1066 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1067 for single bitfields is bool.
1068 * gdb.xml/tdesc-regs.exp: Ditto.
1069
1070 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1071
1072 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1073
1074 2016-10-05 Yao Qi <yao.qi@linaro.org>
1075
1076 * lib/gdb.exp (support_complex_tests): Return zero if
1077 gdb_skip_float_test return true.
1078
1079 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1080 Simon Marchi <simon.marchi@ericsson.com>
1081
1082 PR gdb/20487
1083 * gdb.mi/user-selected-context-sync.exp: New file.
1084 * gdb.mi/user-selected-context-sync.c: New file.
1085
1086 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
1087 Simon Marchi <simon.marchi@ericsson.com>
1088
1089 PR gdb/20487
1090 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1091 =thread-select-event check.
1092
1093 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1094
1095 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1096 the compulsory L operand changes.
1097 * gdb.arch/powerpc-power.s: Likewise.
1098
1099 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1100
1101 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1102 * gdb.base/jit-attach-pie.c: New file.
1103 * gdb.base/jit-attach-pie.exp: New file.
1104
1105 2016-09-28 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.base/infcall-input.c: New file.
1108 * gdb.base/infcall-input.exp: New file.
1109
1110 2016-09-22 Yao Qi <yao.qi@linaro.org>
1111
1112 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1113 (gdb_exit): Rename it to ...
1114 (gdbserver_gdb_exit): ... Close GDBserver.
1115 (gdb_exit): New proc, call gdbserver_gdb_exit.
1116 (mi_gdb_exit): Likewise.
1117
1118 2016-09-22 Yao Qi <yao.qi@linaro.org>
1119
1120 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1121 path.
1122 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1123 Remove duplication.
1124
1125 2016-09-22 Yao Qi <yao.qi@linaro.org>
1126
1127 * lib/gdbserver-support.exp: Check the existence of
1128 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1129
1130 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1131
1132 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1133
1134 2016-09-21 Tom Tromey <tom@tromey.com>
1135
1136 PR gdb/20604:
1137 * gdb.base/quit.exp: New file.
1138
1139 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1140
1141 * .gitignore: New file.
1142
1143 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1144
1145 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1146 throughout.
1147
1148 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1149
1150 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1151
1152 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1153
1154 * gdb.cp/casts.cc (decltype): Move it ...
1155 (main): ... with its call to ...
1156 * gdb.cp/casts03.cc: ... a new file.
1157 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1158
1159 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1160
1161 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1162
1163 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1164
1165 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1166 and sync up the test with tests in gas/testsuite/gas/ppc.
1167 * gdb.arch/powerpc-power.exp: Likewise.
1168
1169 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1170
1171 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1172
1173 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1174 Jan Kratochvil <jan.kratochvil@redhat.com>
1175
1176 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1177 make m1's definition to be different from m2's. Use 'dummy' as an
1178 argument for probe 'two'.
1179
1180 2016-09-10 Jon Beniston <jon@beniston.com>
1181
1182 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1183 for sim target.
1184
1185 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1186
1187 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1188 variable declaration.
1189 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1190 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1191 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1192 received HWCAP as its argument.
1193
1194 2016-09-06 Pedro Alves <palves@redhat.com>
1195
1196 * gdb.base/new-ui-pending-input.c: New file.
1197 * gdb.base/new-ui-pending-input.exp: New file.
1198 * gdb.exp (clear_gdb_spawn_id): New procedure.
1199 (with_spawn_id): Check whether gdb_spawn_id exists before
1200 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1201 on exit.
1202
1203 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1204
1205 * gdb.base/float128.c: New file.
1206 * gdb.base/float128.exp: Likewise.
1207 * gdb.base/floatn.c: Likewise.
1208 * gdb.base/floatn.exp: Likewise.
1209
1210 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1211
1212 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1213
1214 2016-09-05 Pedro Alves <palves@redhat.com>
1215
1216 PR backtrace/19927
1217 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1218 unwinders are immediately called as side effect of "source" or
1219 "disable unwinder" commands.
1220 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1221
1222 2016-09-02 Yao Qi <yao.qi@linaro.org>
1223
1224 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1225 is true and $type is "float" or "double".
1226
1227 2016-09-02 Yao Qi <yao.qi@linaro.org>
1228
1229 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1230 true.
1231 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1232 * gdb.base/call-rt-st.exp: Likewise.
1233 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1234 return value instead of gdb,skip_float_test.
1235 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1236 (do_function_calls): Use its return value instead of
1237 gdb,skip_float_test.
1238 * gdb.base/finish.exp: Likewise.
1239 * gdb.base/funcargs.exp: Likewise.
1240 * gdb.base/return.exp: Likewise.
1241 * gdb.base/return2.exp: Likewise.
1242 * gdb.base/varargs.exp: Likewise.
1243 * lib/gdb.exp (gdb_skip_float_test): Change it to
1244 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1245
1246 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1247
1248 * gdb.multi/tids.exp: Test "thread apply all".
1249
1250 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1251
1252 * gdb.base/default.exp (tty): Remove.
1253
1254 2016-08-24 Kevin Buettner <kevinb@redhat.com>
1255
1256 * gdb.python/py-recurse-unwind.c: New file.
1257 * gdb.python/py-recurse-unwind.py: New file.
1258 * gdb.python/py-recurse-unwind.exp: New file.
1259
1260 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1261
1262 * gdb.base/set-inferior-tty.exp: New file.
1263 * gdb.base/set-inferior-tty.c: New file.
1264
1265 2016-08-23 Pedro Alves <palves@redhat.com>
1266
1267 PR gdb/20494
1268 * gdb.base/new-ui-echo.c: New file.
1269 * gdb.base/new-ui-echo.exp: New file.
1270
1271 2016-08-23 Yao Qi <yao.qi@linaro.org>
1272
1273 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1274 gdbserver_spawn.
1275 * gdb.server/connect-without-multi-process.exp (do_test):
1276 Likewise.
1277
1278 2016-08-23 Yao Qi <yao.qi@linaro.org>
1279
1280 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1281 standalone_txt. Delete gdb_txt and standalone_txt on host
1282 and target. Spawn the binary on target. Copy files from
1283 target to host.
1284
1285 2016-08-22 Pedro Alves <palves@redhat.com>
1286
1287 PR gdb/20505
1288 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1289 with_test_prefix. Factor out bits to ...
1290 (test_no_vdso): ... this new procedure.
1291
1292 2016-08-19 Carl Love <cel@us.ibm.com>
1293
1294 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1295 maintaining separate logic for constructing the output path.
1296 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1297 * gdb.arch/ppc-dfp.exp: Likewise.
1298 * gdb.arch/ppc-fp.exp: Likewise.
1299 * gdb.arch/vsx-regs.exp: Likewise.
1300 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1301 binprefix for generating the additional binary files.
1302
1303 2016-08-19 Pedro Alves <palves@redhat.com>
1304
1305 * gdb.trace/mi-trace-frame-collected.exp
1306 (test_trace_frame_collected): On x32, expect two registers.
1307
1308 2016-08-18 Carl Love <cel@us.ibm.com>
1309
1310 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1311 and sync up the test with tests in gas/testsuite/gas/ppc.
1312 * gdb.arch/powerpc-power.exp: Likewise.
1313
1314 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1315
1316 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1317 expected error message.
1318
1319 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1320
1321 * gdb.multi/remove-inferiors.exp: New file.
1322 * gdb.multi/remove-inferiors.c: New file.
1323
1324 2016-08-12 Yao Qi <yao.qi@linaro.org>
1325
1326 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1327 argument list.
1328
1329 2016-08-10 Pedro Alves <palves@redhat.com>
1330
1331 PR gdb/19187
1332 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1333 setup_kfails.
1334
1335 2016-08-09 Pedro Alves <palves@redhat.com>
1336 Simon Marchi <simon.marchi@ericsson.com>
1337
1338 PR gdb/20418
1339 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1340 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1341
1342 2016-08-09 Pedro Alves <palves@redhat.com>
1343
1344 PR mi/20431
1345 * gdb.mi/mi-cmd-error.exp: New file.
1346
1347 2016-08-09 Pedro Alves <palves@redhat.com>
1348
1349 PR gdb/18653
1350 * gdb.base/signals-state-child.c: New file.
1351 * gdb.base/signals-state-child.exp: New file.
1352 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1353
1354 2016-08-09 Pedro Alves <palves@redhat.com>
1355
1356 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1357
1358 2016-08-03 Tom Tromey <tom@tromey.com>
1359
1360 PR python/18565:
1361 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1362
1363 2016-08-01 Yao Qi <yao.qi@linaro.org>
1364
1365 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1366 variable mode to "multi-process" if $multi_process is 1, otherwise
1367 set it to "single-process".
1368
1369 2016-08-01 Yao Qi <yao.qi@linaro.org>
1370
1371 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1372 * gdb.cp/cpexprs.exp: Likewise.
1373 * gdb.cp/m-static.exp: Likewise.
1374
1375 2016-07-26 Tom Tromey <tom@tromey.com>
1376
1377 PR python/20190:
1378 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1379 test.
1380
1381 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1382
1383 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1384 selecting assembly source files.
1385 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1386 assembly source files.
1387 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1388 assembly source files.
1389 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1390 selecting assembly source files.
1391
1392 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1393
1394 * gdb.base/new-ui.exp (do_test_invalid_args): New
1395 procedure.
1396
1397 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1398
1399 * gdb.btrace/reconnect.c: New file.
1400 * gdb.btrace/reconnect.exp: New file.
1401
1402 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1403
1404 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1405 to test_catch_syscall_group.
1406 (test_catch_syscall_group): New.
1407
1408 2016-07-21 Tom Tromey <tom@tromey.com>
1409
1410 * gdb.rust/simple.rs (main): Use empty struct expression.
1411 * gdb.rust/simple.exp: Add tests for empty struct expression.
1412
1413 2016-07-21 Yao Qi <yao.qi@linaro.org>
1414
1415 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1416 if gdb_skip_xml_test is true on some targets.
1417
1418 2016-07-21 Yao Qi <yao.qi@linaro.org>
1419
1420 * gdb.server/solib-list.exp: Unset last_loaded_file.
1421
1422 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1423
1424 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1425 "step into captured_main (args)".
1426
1427 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1428
1429 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1430
1431 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1432
1433 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1434
1435 2016-07-19 Pedro Alves <palves@redhat.com>
1436
1437 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1438 * gdb.opt/inline-bt.exp: Likewise.
1439 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1440 additional_flags=-Winline.
1441 * gdb.opt/inline-locals.exp: Likewise.
1442 * gdb.opt/inline-markers.c (ATTR): Define.
1443 (inlined_fn): Use it.
1444
1445 2016-07-19 Yao Qi <yao.qi@linaro.org>
1446
1447 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1448 (test_with_self): Remove some code. Remove argument executable.
1449 (top-level): Use do_self_tests.
1450
1451 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
1452 Don Breazeal <donb@codesourcery.com>
1453
1454 * gdb.base/maint.exp: Escape paths used in regular expressions.
1455 * gdb.stabs/weird.exp: Likewise.
1456
1457 2016-07-13 Tom Tromey <tom@tromey.com>
1458
1459 PR python/15620, PR python/18620:
1460 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1461 (test_bkpt_events): New procs.
1462
1463 2016-07-13 Tom Tromey <tom@tromey.com>
1464
1465 PR python/17698:
1466 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1467 test.
1468 (test_watchpoints): Likewise.
1469 (test_bkpt_pending): New proc.
1470
1471 2016-07-13 Tom Tromey <tom@tromey.com>
1472
1473 PR cli/18053:
1474 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1475 completion test.
1476
1477 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1480 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1481 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1482 f_label.
1483 (g): Rename g_end_lbl to g_label.
1484 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1485 low_pc and high_pc.
1486 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1487
1488 2016-07-12 Tom Tromey <tom@tromey.com>
1489
1490 PR python/19293:
1491 * gdb.python/py-unwind-maint.exp: Update tests.
1492
1493 2016-07-12 Yao Qi <yao.qi@linaro.org>
1494
1495 * lib/selftest-support.exp (selftest_setup): Match the output
1496 when captured_main is inlined.
1497
1498 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1499
1500 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1501 New variables.
1502 (print this%a, print this%b, print this): New tests.
1503 * gdb.fortran/derived-types.f90 (this): New object and
1504 initialization.
1505
1506 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1507
1508 * gdb.ada/arraydim.exp: Remove extra directory level in build
1509 directory.
1510
1511 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1512
1513 * lib/ada.exp: Remove extra directory level in build directory.
1514 * gdb.ada/cond_lang.exp: Likewise.
1515 * gdb.ada/exec_changed.exp: Likewise.
1516 * gdb.ada/lang_switch.exp: Likewise.
1517
1518 2016-07-06 Manish Goregaokar <manish@mozilla.com>
1519
1520 * simple.rs: Add test for raw pointer subscripting.
1521 * simple.exp: Add test expectations.
1522
1523 2016-07-05 Yao Qi <yao.qi@linaro.org>
1524
1525 * gdb.mi/mi-reverse.exp: Match =record-started output.
1526
1527 2016-07-01 Pedro Alves <palves@redhat.com>
1528
1529 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1530 procedure.
1531 (jit_reader_test): Test the jit reader's unwinder.
1532 * gdb.base/jithost.c (jit_function_00_code): New global.
1533 (main): Use memcpy to fill in the mmapped code, instead of poking
1534 bytes manually here.
1535 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1536 value.
1537 (read_debug_info): Save the function's range.
1538 (read_sp): New function.
1539 (unwind_frame): Use it. Also unwind RBP.
1540 (get_frame_id): Use read_sp.
1541 (gdb_init_reader): Use calloc instead of malloc.
1542 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1543 parameter. Use gdb_test_multiple.
1544
1545 2016-07-01 Pedro Alves <palves@redhat.com>
1546 Antoine Tremblay <antoine.tremblay@ericsson.com>
1547
1548 * gdb.threads/process-dies-while-detaching.c: New file.
1549 * gdb.threads/process-dies-while-detaching.exp: New file.
1550
1551 2016-07-01 Pedro Alves <palves@redhat.com>
1552
1553 * gdb.multi/watchpoint-multi-exit.c: New file.
1554 * gdb.multi/watchpoint-multi-exit.exp: New file.
1555
1556 2016-06-30 Pedro Alves <palves@redhat.com>
1557
1558 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1559 unset inferior_spawn_id.
1560
1561 2016-06-30 Pedro Alves <palves@redhat.com>
1562
1563 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1564 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1565
1566 2016-06-29 Yao Qi <yao.qi@linaro.org>
1567
1568 * gdb.base/return.c: Add copyright header.
1569
1570 2016-06-29 Tom Tromey <tom@tromey.com>
1571
1572 PR python/20129:
1573 * gdb.python/py-framefilter.exp: Add tests for setting priority
1574 and disabling of non-existent frame filter.
1575
1576 2016-06-29 Yao Qi <yao.qi@linaro.org>
1577
1578 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1579 0x0f07ff.
1580
1581 2016-06-28 Yao Qi <yao.qi@linaro.org>
1582
1583 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1584 triplets. Start gdb, execute catch syscall, and continue. Check
1585 gdb's output to determine catch syscall is supported.
1586
1587 2016-06-27 Manish Goregaokar <manish@mozilla.com>
1588
1589 * gdb.rust/simple.rs: Add test for returning unit in a function.
1590 * gdb.rust/simple.exp: Add expectation for functions returning
1591 unit.
1592
1593 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1594
1595 * gdb.python/py-breakpoint-create-fail.c,
1596 gdb.python/py-breakpoint-create-fail.exp,
1597 gdb.python/py-breakpoint-create-fail.py: New testcase.
1598
1599 2016-06-25 Manish Goregaokar <manish@mozilla.com>
1600
1601 PR gdb/20239
1602 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
1603 * gdb.rust/simple.exp: Add test expectations for new NonZero
1604 tests.
1605
1606 2016-06-24 David Taylor <dtaylor@emc.com>
1607
1608 * gdb.base/offsets.exp: New file.
1609 * gdb.base/offsets.c: New file.
1610
1611 2016-06-23 Tom Tromey <tom@tromey.com>
1612
1613 PR gdb/16483:
1614 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1615 before any filters are loaded.
1616
1617 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1618
1619 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1620 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1621 structs.
1622 * gdb.fortran/derived-type-function.exp: New file.
1623 * gdb.fortran/derived-type-function.f90: New file.
1624
1625
1626 2016-06-21 Pedro Alves <palves@redhat.com>
1627
1628 * gdb.base/new-ui.exp: New file.
1629 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1630 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1631 (with_spawn_id): New procedure.
1632
1633 2016-06-21 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.mi/mi-exec-run.exp: New file.
1636
1637 2016-06-21 Pedro Alves <palves@redhat.com>
1638
1639 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1640 breakpoint command's output on the main UI.
1641 (test_break): New procedure, factored out from calls in the top
1642 level.
1643 (top level): Use foreach_with_prefix to test MI as main UI and as
1644 separate UI.
1645
1646 2016-06-21 Pedro Alves <palves@redhat.com>
1647
1648 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1649 (test_awatch_creation_and_listing)
1650 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1651 Remove 'type' parameter.
1652 (test_watchpoint_all): New parameter mi_mode. Remove
1653 with_test_prefix.
1654 (top level): Use foreach_with_prefix, and add main/separate UI MI
1655 testing axis.
1656
1657 2016-06-21 Pedro Alves <palves@redhat.com>
1658
1659 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1660 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1661 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1662 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1663 (gdb_main_spawn_id, mi_spawn_id): Declare and
1664 comment.
1665 (mi_create_inferior_pty): New procedure,
1666 factored out from default_mi_gdb_start.
1667 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1668 procedures.
1669 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1670 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1671 Use mi_create_inferior_pty.
1672 (mi_gdb_start): Use eval to pass down args list.
1673
1674 2016-06-21 Pedro Alves <palves@redhat.com>
1675
1676 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1677 * gdb.opt/inline-cmds.exp: Add MI tests.
1678
1679 2016-06-21 Pedro Alves <palves@redhat.com>
1680
1681 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1682
1683 2016-06-21 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1686 (top level): Use it instead of mi_execute_to.
1687
1688 2016-06-21 Pedro Alves <palves@redhat.com>
1689
1690 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1691 (cont_handler_str): New.
1692 (signal_stop_handler): Set stop_handler_str instead of printing to
1693 stdout.
1694 (continue_handler): Set cont_handler_str instead of printing to
1695 stdout.
1696 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1697 mi_send_resuming_command. Print stop_handler_str and
1698 cont_handler_str instead of expecting the python events print
1699 directly.
1700
1701 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1702
1703 * gdb.base/jit-reader.exp: New file.
1704 * gdb.base/jithost.c: New file.
1705 * gdb.base/jithost.h: New file.
1706 * gdb.base/jitreader.c : New file.
1707 * gdb.base/jit-protocol.h: New file.
1708
1709 2016-06-17 Yao Qi <yao.qi@linaro.org>
1710
1711 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1712 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1713 and detach-on-fork. Adjust tests.
1714 (top level): Invoke break_cond_on_syscall with combinations of
1715 syscall, follow-fork-mode and detach-on-fork.
1716
1717 2016-06-17 Yao Qi <yao.qi@linaro.org>
1718
1719 * gdb.base/step-over-exit.c: New.
1720 * gdb.base/step-over-exit.exp: New.
1721
1722 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1723
1724 * gdb.base/float.exp: Add target check for nds32*-*-*.
1725 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1726
1727 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1728
1729 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1730 for unsupported target features.
1731 * gdb.base/call-rt-st.exp: Likewise.
1732 * gdb.base/call-sc.exp: Likewise.
1733 * gdb.base/call-signal-resume.exp: Likewise.
1734 * gdb.base/call-strs.exp: Likewise.
1735 * gdb.base/callexit.exp: Likewise.
1736 * gdb.base/callfuncs.exp: Likewise.
1737 * gdb.base/nodebug.exp: Likewise.
1738 * gdb.base/printcmds.exp: Likewise.
1739 * gdb.base/ptype.exp: Likewise.
1740 * gdb.base/structs.exp: Likewise.
1741 * gdb.base/unwindonsignal.exp: Likewise.
1742 * gdb.cp/gdb2495.exp: Likewise.
1743 * gdb.cp/templates.exp: Likewise.
1744 * gdb.cp/virtfunc.exp: Likewise.
1745 * gdb.threads/hand-call-in-threads.exp: Likewise.
1746 * gdb.threads/interrupted-hand-call.exp: Likewise.
1747 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1748
1749 2016-06-10 Tom Tromey <tom@tromey.com>
1750
1751 PR rust/20110:
1752 * gdb.rust/expr.exp: Add test for integer constant larger than
1753 i32.
1754
1755 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1756
1757 * gdb.fortran/nested-funcs.exp: New.
1758 * gdb.fortran/nested-funcs.f90: New.
1759
1760 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1761
1762 * gdb.base/examine-backward.c: New file.
1763 * gdb.base/examine-backward.exp: New file.
1764
1765 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1766
1767 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1768 matching.
1769
1770 2016-06-02 Tom Tromey <tom@tromey.com>
1771
1772 PR python/18984:
1773 * gdb.python/py-shared.exp: Add solib_name test.
1774
1775 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1776
1777 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1778
1779 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1780
1781 PR c++/19893
1782 * gdb.dwarf2/implref.exp: Rename to...
1783 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1784 * gdb.dwarf2/implref-array.c: New file.
1785 * gdb.dwarf2/implref-array.exp: Likewise.
1786 * gdb.dwarf2/implref-global.c: Likewise.
1787 * gdb.dwarf2/implref-global.exp: Likewise.
1788 * gdb.dwarf2/implref-struct.c: Likewise.
1789 * gdb.dwarf2/implref-struct.exp: Likewise.
1790
1791 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1792
1793 * gdb.trace/trace-condition.exp: Add 64bit tests.
1794
1795 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1796
1797 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1798 bits types.
1799 (main): Adapt to 8 to 64 bits types.
1800 * gdb.trace/trace-condition.exp: Add new tests.
1801
1802 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1803
1804 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1805
1806 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1807
1808 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1809 Move condition tests...
1810 * gdb.trace/trace-condition.exp: Here.
1811
1812 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1813
1814 * gdb.trace/trace-condition.exp: Add counter-case tests.
1815
1816 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1817
1818 PR c++/15231
1819 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1820 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1821
1822 2016-05-27 Pedro Alves <palves@redhat.com>
1823
1824 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1825 New procedure.
1826 (top level): Call it, and bail out of DejaGnu is known to be bad.
1827
1828 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1829
1830 * gdb.base/whatis.c: Extend the test case.
1831 * gdb.base/whatis.exp: Add additional tests.
1832
1833 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1834
1835 * gdb.fortran/type.f90: Add pointer variable.
1836 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1837
1838 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1839
1840 * gdb.fortran/vla-type.exp: Fix testcase name.
1841
1842 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1843
1844 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1845
1846 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1847
1848 * gdb.fortran/type.f90: Add nested structures.
1849 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1850 * gdb.fortran/derived-type.exp: Adapt expected output.
1851 * gdb.fortran/vla-type.exp: Adapt expected output.
1852
1853 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1854
1855 * gdb.fortran/whatis_type.exp: Adapt expected output.
1856
1857 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1858
1859 * gdb.fortran/print_type.exp: Fix expected output.
1860 * gdb.fortran/whatis_type.exp: Fix expected output.
1861
1862 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1863
1864 * gdb.fortran/whatis_type.exp: Use multi_line.
1865
1866 2016-05-24 Tom Tromey <tom@tromey.com>
1867
1868 PR python/17386:
1869 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1870 use value as an index.
1871
1872 2016-05-23 Tom Tromey <tom@tromey.com>
1873
1874 PR python/17981:
1875 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1876 no-breakpoint case.
1877
1878 2016-05-24 Pedro Alves <palves@redhat.com>
1879
1880 PR gdb/19828
1881 * gdb.threads/clone-attach-detach.c: New file.
1882 * gdb.threads/clone-attach-detach.exp: New file.
1883
1884 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1885
1886 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1887
1888 2016-05-23 Tom Tromey <tom@tromey.com>
1889
1890 PR python/19438, PR python/18393:
1891 * gdb.python/py-progspace.exp: Add "dir" test.
1892 * gdb.python/py-objfile.exp: Add "dir" test.
1893
1894 2016-05-23 Yao Qi <yao.qi@linaro.org>
1895
1896 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1897 * gdb.arch/thumb2-it.exp: Likewise.
1898
1899 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1900
1901 * gdb.mi/mi-threads-interrupt.c: New file.
1902 * gdb.mi/mi-threads-interrupt.exp: New file.
1903
1904 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1905
1906 PR gdb/18077
1907 * gdb.mi/mi-async-run.exp: New file.
1908 * gdb.mi/mi-async-run.c: New file.
1909
1910 2016-05-17 Tom Tromey <tom@tromey.com>
1911 Manish Goregaokar <manishsmail@gmail.com>
1912
1913 * lib/rust-support.exp: New file.
1914 * lib/gdb.exp (skip_rust_tests): New proc.
1915 (build_executable_from_specs): Handle rust.
1916 * lib/future.exp (gdb_find_rustc): New proc.
1917 (gdb_default_target_compile): Handle rust.
1918 * gdb.rust/expr.exp: New file.
1919 * gdb.rust/generics.exp: New file.
1920 * gdb.rust/generics.rs: New file.
1921 * gdb.rust/methods.exp: New file.
1922 * gdb.rust/methods.rs: New file.
1923 * gdb.rust/modules.exp: New file.
1924 * gdb.rust/modules.rs: New file.
1925 * gdb.rust/simple.exp: New file.
1926 * gdb.rust/simple.rs: New file.
1927
1928 2016-05-17 Tom Tromey <tom@tromey.com>
1929
1930 * gdb.base/default.exp (set language): Add rust.
1931
1932 2016-05-17 Tom Tromey <tom@tromey.com>
1933
1934 * gdb.gdb/unittest.exp: New file.
1935
1936 2016-05-16 Yao Qi <yao.qi@linaro.org>
1937
1938 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1939 shell_prompt. Update shell_prompt_re.
1940
1941 2016-05-12 Doug Evans <dje@google.com>
1942
1943 PR symtab/19999
1944 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1945 $options when building executable.
1946 * gdb.dwarf2/fission-loclists-pie.S: New file.
1947 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1948
1949 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1950
1951 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1952 of [is_remote target],
1953
1954 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1955
1956 * lib/gdb.exp (use_gdb_stub): New procedure.
1957
1958 2016-05-03 Yunlian Jiang <yunlian@google.com>
1959 Doug Evans <dje@google.com>
1960
1961 PR symtab/19914
1962 * gdb.dwarf2/dwp-sepdebug.c: New file.
1963 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1964
1965 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1966
1967 * gdb.base/detach.exp: Remove is_remote check.
1968
1969 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1970
1971 * gdb.base/annota-input-while-running.exp: Don't check for
1972 [is_remote target]. Enable annotations after running to main.
1973 Remove unused "set test..." line.
1974
1975 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1976
1977 * gdb.trace/trace-enable-disable.exp: New file.
1978 * gdb.trace/trace-enable-disable.c: New file.
1979
1980 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1981
1982 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1983 use it in info sharedlibrary test.
1984 * gdb.trace/ftrace-lock.exp: Likewise.
1985 * gdb.trace/ftrace.exp: Likewise.
1986 * gdb.trace/range-stepping.exp: Likewise.
1987 * gdb.trace/trace-break.exp: Likewise.
1988 * gdb.trace/trace-condition.exp: Likewise.
1989 * gdb.trace/trace-mt.exp: Likewise.
1990
1991 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1992
1993 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1994 (gdb_load_shlib): ... this.
1995 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1996 gdb_load_shlib.
1997 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1998 * gdb.base/ctxobj.exp: Likewise.
1999 * gdb.base/dprintf-pending.exp: Likewise.
2000 * gdb.base/dso2dso.exp: Likewise.
2001 * gdb.base/fixsection.exp: Likewise.
2002 * gdb.base/gcore-relro.exp: Likewise.
2003 * gdb.base/gdb1555.exp: Likewise.
2004 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2005 * gdb.base/gnu-ifunc.exp: Likewise.
2006 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2007 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2008 * gdb.base/pending.exp: Likewise.
2009 * gdb.base/print-file-var.exp: Likewise.
2010 * gdb.base/print-symbol-loading.exp: Likewise.
2011 * gdb.base/shlib-call.exp: Likewise.
2012 * gdb.base/shreloc.exp: Likewise.
2013 * gdb.base/so-impl-ld.exp: Likewise.
2014 * gdb.base/solib-disc.exp: Likewise.
2015 * gdb.base/solib-nodir.exp: Likewise.
2016 * gdb.base/solib-overlap.exp: Likewise.
2017 * gdb.base/solib-symbol.exp: Likewise.
2018 * gdb.base/solib-weak.exp (do_test): Likewise.
2019 * gdb.base/sym-file.exp: Likewise.
2020 * gdb.base/symtab-search-order.exp: Likewise.
2021 * gdb.base/type-opaque.exp: Likewise.
2022 * gdb.base/unload.exp: Likewise.
2023 * gdb.base/watchpoint-solib.exp: Likewise.
2024 * gdb.compile/compile.exp: Likewise.
2025 * gdb.cp/gdb2384.exp: Likewise.
2026 * gdb.cp/infcall-dlopen.exp: Likewise.
2027 * gdb.cp/re-set-overloaded.exp: Likewise.
2028 * gdb.fortran/library-module.exp: Likewise.
2029 * gdb.opt/solib-intra-step.exp: Likewise.
2030 * gdb.python/py-finish-breakpoint.exp: Likewise.
2031 * gdb.python/py-shared.exp: Likewise.
2032 * gdb.reverse/solib-precsave.exp: Likewise.
2033 * gdb.reverse/solib-reverse.exp: Likewise.
2034 * gdb.server/solib-list.exp: Likewise.
2035 * gdb.threads/dlopen-libpthread.exp: Likewise.
2036 * gdb.threads/tls-shared.exp: Likewise.
2037 * gdb.threads/tls-so_extern.exp: Likewise.
2038 * gdb.trace/change-loc.exp: Likewise.
2039 * gdb.trace/ftrace-lock.exp: Likewise.
2040 * gdb.trace/ftrace.exp: Likewise.
2041 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2042 * gdb.trace/pending.exp: Likewise.
2043 * gdb.trace/range-stepping.exp: Likewise.
2044 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2045 (strace_info_marker): Likewise.
2046 (strace_probe_marker): Likewise.
2047 (strace_trace_on_same_addr): Likewise.
2048 (strace_trace_on_diff_addr): Likewise.
2049 * gdb.trace/trace-break.exp: Likewise.
2050 * gdb.trace/trace-condition.exp: Likewise.
2051 * gdb.trace/trace-mt.exp: Likewise.
2052
2053 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2054
2055 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2056 result of gdb_remote_download.
2057 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2058 * gdb.base/dso2dso.exp: Likewise.
2059 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2060 * gdb.base/print-file-var.exp: Likewise.
2061 * gdb.base/shlib-call.exp: Likewise.
2062 * gdb.base/shreloc.exp: Likewise.
2063 * gdb.base/solib-overlap.exp: Likewise.
2064 * gdb.base/solib-weak.exp (do_test): Likewise.
2065 * gdb.base/unload.exp: Likewise.
2066
2067 2016-04-27 Yao Qi <yao.qi@linaro.org>
2068
2069 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2070 exists.
2071
2072 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2073
2074 * vla-type.exp: Print structure from toplevel.
2075
2076 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2077
2078 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2079 of dynamic types.
2080 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2081 of dynamic types.
2082
2083 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2084
2085 * gdb.fortran/vla-type.f90: New file.
2086 * gdb.fortran/vla-type.exp: New file.
2087
2088 2016-04-25 Yao Qi <yao.qi@linaro.org>
2089
2090 * gdb.base/branch-to-self.c: New file.
2091 * gdb.base/branch-to-self.exp: New file.
2092
2093 2016-04-22 Yao Qi <yao.qi@linaro.org>
2094
2095 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2096 more after $hex.
2097
2098 2016-04-22 Yao Qi <yao.qi@linaro.org>
2099
2100 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2101 * gdb.base/annota3.exp: Likewise.
2102
2103 2016-04-22 Yao Qi <yao.qi@linaro.org>
2104
2105 * gdb.reverse/step-precsave.exp: Do one step and test program
2106 stops in "callee" and do multiple steps until program goes out
2107 of "callee".
2108 * gdb.reverse/step-reverse.exp: Likewise.
2109
2110 2016-04-22 Yao Qi <yao.qi@linaro.org>
2111
2112 * gdb.trace/signal.exp: Also pass if
2113 $tracepoint_hits($i) > $iterations.
2114
2115 2016-04-22 Yao Qi <yao.qi@linaro.org>
2116
2117 * gdb.trace/signal.c: New file.
2118 * gdb.trace/signal.exp: New file.
2119
2120 2016-04-19 Doug Evans <xdje42@gmail.com>
2121
2122 * gdb.base/bad-file.exp: New file.
2123
2124 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2125
2126 * gdb.dwarf2/implref.exp: New file.
2127
2128 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2129
2130 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2131 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2132 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2133 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2134 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2135 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2136 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2137 * lib/fortran.exp (fortran_int4): New procedure.
2138 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2139 (fortran_logical4): Likewise.
2140
2141 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2142
2143 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2144
2145 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2146
2147 * lib/compiler.c: Add Intel specific preprocessor macros.
2148 * lib/compiler.cc: Likewise.
2149
2150 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
2151
2152 * gdb.server/connect-with-no-symbol-file.c: New file.
2153 * gdb.server/connect-with-no-symbol-file.exp: New file.
2154
2155 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2156
2157 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2158
2159 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2160
2161 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2162 standard output directory.
2163
2164 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2165
2166 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2167
2168 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2169
2170 * gdb.btrace/instruction_history.c (loop): Add declaration.
2171
2172 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2173
2174 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2175
2176 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2177
2178 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2179 parentheses to print.
2180 (continue_handler): Likewise.
2181
2182 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2183
2184 * gdb.server/solib-list.exp: Remove is_remote check.
2185 Pass shlib= to gdb_compile. Don't link shared library with
2186 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2187 Run binary filename through "readlink -f" on the target.
2188
2189 2016-04-08 Pedro Alves <palves@redhat.com>
2190
2191 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2192 interpreter filename as argument to gdbserver_spawn.
2193 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2194 Return empty if $last_loaded_file does not exist.
2195
2196 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2199 * gdb.base/jit-main.c: Use exit after usage.
2200
2201 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2202
2203 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2204 GDBHISTSIZE prior to the tests.
2205 * gdb.base/gdbinit-history.exp: Likewise.
2206
2207 2016-04-07 Pedro Alves <palves@redhat.com>
2208
2209 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2210 instead of build_executable. Use gdb_load_shlibs.
2211
2212 2016-04-07 Yao Qi <yao.qi@linaro.org>
2213
2214 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2215 Execute "si" command.
2216
2217 2016-04-07 Yao Qi <yao.qi@linaro.org>
2218
2219 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2220 number instead of the comments on some line.
2221
2222 2016-04-06 Don Breazeal <donb@codesourcery.com>
2223
2224 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2225 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2226
2227 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2228
2229 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2230 standard_output_file. Remove unused binfile variable.
2231
2232 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
2233
2234 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2235 * gdb.python/py-mi-objfile.exp: Match "list main" output
2236 in console format.
2237
2238 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2239
2240 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2241 absolute.
2242
2243 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2244
2245 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2246 absolute.
2247 * gdb.trace/ftrace.exp: Likewise.
2248 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2249 targets as well.
2250 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2251 (gdb_load_shlibs): Copy libraries to test directory when testing
2252 natively. Only set solib-search-path if testing remotely.
2253 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2254
2255 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2256
2257 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2258 gdb_download. Use it even if the target is not remote.
2259 * gdb.base/jit.exp (compile_jit_test): Likewise.
2260 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2261 output directory if the destination board is local, otherwise use
2262 the standard remote_download from DejaGnu.
2263 (gdb_download): Remove.
2264 (gdb_load_shlibs): Use gdb_remote_download instead of
2265 gdb_download.
2266 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2267 Use gdb_remote_download instead of gdb_download. Use it even if
2268 the target is not remote.
2269 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2270 instead of gdb_download.
2271
2272 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2273
2274 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2275 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2276 run.
2277
2278 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
2279
2280 PR gdb/19820
2281 * gdb.base/printcmds.exp: Add artificial arrays tests.
2282
2283 2016-03-31 Pedro Alves <palves@redhat.com>
2284
2285 PR gdb/19858
2286 * gdb.base/jit-main.c: Include unistd.h.
2287 (ATTACH): Define to 0 if not already defined.
2288 (wait_for_gdb, mypid): New globals.
2289 (WAIT_FOR_GDB): New macro.
2290 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2291 some breakpoint locations.
2292 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2293 New procedures.
2294 (one_jit_test): Add REATTACH parameter, and handle it. Use
2295 continue_to_test_location.
2296 (top level): Test attach, and adjusts calls to one_jit_test.
2297
2298 2016-03-31 Pedro Alves <palves@redhat.com>
2299
2300 PR gdb/19858
2301 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2302 BINSUFFIX parameter, and handle it.
2303 (top level): Adjust calls compile_jit_test.
2304
2305 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
2306
2307 PR python/19743
2308 * gdb.python/py-mi-events-gdb.py: New file.
2309 * gdb.python/py-mi-events.c: New file.
2310 * gdb.python/py-mi-events.exp: New file.
2311
2312 2016-03-30 Yao Qi <yao.qi@linaro.org>
2313
2314 * gdb.reverse/until-precsave.exp: Match function name only.
2315 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2316 Move malloc to a condition block.
2317 * gdb.reverse/until-reverse.exp: Match function name only.
2318
2319 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2320
2321 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2322 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2323 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2324 variable for GPR 0 instead of assuming it is register 0.
2325 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2326 * lib/trace-support.exp: Add s390 registers.
2327
2328 2016-03-29 Yao Qi <yao.qi@linaro.org>
2329
2330 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2331
2332 2016-03-24 Yao Qi <yao.qi@linaro.org>
2333
2334 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2335 test message.
2336
2337 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2338
2339 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2340 maintaining separate logic for constructing the output path.
2341
2342 2016-03-16 Don Breazeal <donb@codesourcery.com>
2343
2344 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2345 Retry fork and waitpid on interrupted system call errors.
2346 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2347 Use with_timeout_factor to increase timeout by factor of 10.
2348
2349 2016-03-15 Don Breazeal <donb@codesourcery.com>
2350
2351 * gdb.cp/scope-err.cc: New test program.
2352 * gdb.cp/scope-err.exp: New test script.
2353 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2354 lines and "set breakpoint here" comment.
2355 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2356 Fixed some whitespace and format issues.
2357 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2358 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2359
2360 2016-03-15 Doug Evans <dje@google.com>
2361
2362 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2363 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2364 All callers updated. Add tests for enums, mixed flags register.
2365
2366 2016-03-15 Doug Evans <dje@google.com>
2367
2368 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2369 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2370
2371 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2372
2373 * gdb.base/default.exp: Add $_as_string to the list of expected
2374 convenience functions.
2375
2376 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2377
2378 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2379
2380 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2381
2382 * gdb.python/py-as-string.exp: New file.
2383 * gdb.python/py-as-string.c: New file.
2384
2385 2016-03-09 Pedro Alves <palves@redhat.com>
2386
2387 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2388 signal" -> "Thread NN received signal" output change.
2389 * gdb.threads/ia64-sigill.exp: Likewise.
2390 * gdb.threads/linux-dp.exp: Likewise.
2391 * gdb.threads/manythreads.exp: Likewise.
2392 * gdb.threads/pending-step.exp: Likewise.
2393 * gdb.threads/print-threads.exp: Likewise.
2394 * gdb.threads/sigstep-threads.exp: Likewise.
2395 * gdb.threads/staticthreads.exp: Likewise.
2396 * gdb.threads/tls.exp: Likewise.
2397
2398 2016-03-09 Pedro Alves <palves@redhat.com>
2399
2400 * gdb.base/command-line-input.exp: New file.
2401
2402 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2403
2404 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2405 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2406 * gdb.trace/pending.exp: Accept leading dot before function name.
2407 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2408 * lib/trace-support.exp: Set registers for ppc.
2409
2410 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2411
2412 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2413 use it for disassembly; accept .main in addition to main in backtrace.
2414
2415 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
2416 Marcin Kościelnicki <koriakin@0x04.net>
2417
2418 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2419 (gdb_recursion_test_ptr): New global variable.
2420 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2421 gdb_recursion_test.
2422 (gdb_c_test): Ditto.
2423
2424 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2425
2426 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2427 ordering.
2428
2429 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2430
2431 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2432 (bar): Add bar_start_lbl label.
2433 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2434 of foo/bar for emitting DWARF and tracing.
2435
2436 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2437
2438 * analyze-racy-logs.py: Set executable bit.
2439
2440 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2441
2442 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2443 (CHECK_TARGET_TMP): Likewise.
2444 (check-single-racy): New rule.
2445 (check-parallel-racy): Likewise.
2446 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2447 (do-check-parallel-racy): New rule.
2448 (check-racy/%.exp): Likewise.
2449 * README (Racy testcases): New section.
2450 * analyze-racy-logs.py: New file.
2451
2452 2016-03-03 Doug Evans <dje@google.com>
2453
2454 * gdb.base/skip.exp: Use with_test_prefix.
2455
2456 2016-03-03 Yao Qi <yao.qi@linaro.org>
2457
2458 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2459 Invoke step_over_syscall "clone" and break_cond_on_syscall
2460 "clone".
2461 * gdb.base/step-over-clone.c: New file.
2462
2463 2016-03-03 Yao Qi <yao.qi@linaro.org>
2464
2465 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2466 code format.
2467
2468 2016-03-03 Yao Qi <yao.qi@linaro.org>
2469
2470 * gdb.base/disp-step-fork.c: Rename to ...
2471 * gdb.base/step-over-fork.c: ... it. New file.
2472 * gdb.base/disp-step-vfork.c: Rename to ...
2473 * gdb.base/step-over-vfork.c: ... it. New file.
2474 * gdb.base/disp-step-syscall.exp: Rename to ...
2475 * gdb.base/step-over-syscall.exp: ... it. New file.
2476 (disp_step_cross_syscall): Rename to ...
2477 (step_over_syscall): ... it.
2478
2479 2016-03-03 Yao Qi <yao.qi@linaro.org>
2480
2481 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2482 If target supports condition evaluation on target, invoke
2483 break_cond_on_syscall for fork and vfork.
2484
2485 2016-03-03 Yao Qi <yao.qi@linaro.org>
2486
2487 * gdb.base/disp-step-syscall.exp: Don't invoke
2488 support_displaced_stepping.
2489 (disp_step_cross_syscall): Test with displaced stepping off and
2490 on if supported.
2491
2492 2016-03-03 Yao Qi <yao.qi@linaro.org>
2493
2494 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2495 proc.
2496 (setup): New proc.
2497 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2498 and setup.
2499
2500 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2501
2502 * gdb.fortran/vla-history.exp: Remove breakpoint.
2503
2504 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2505
2506 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2507 exceeds timeout.
2508
2509 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2510
2511 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2512 breakpoint.
2513
2514 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2515
2516 * gdb.mi/vla.f90: Nullify pointer after declaration.
2517
2518 2016-03-01 Pedro Alves <palves@redhat.com>
2519
2520 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2521
2522 2016-03-01 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2525 before anything else.
2526 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2527 _GNU_SOURCE here.
2528 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2529 before anything else.
2530 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2531
2532 2016-03-01 Pedro Alves <palves@redhat.com>
2533
2534 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2535
2536 2016-03-01 Yao Qi <yao.qi@linaro.org>
2537
2538 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2539 prepare_for_testing.
2540
2541 2016-03-01 Yao Qi <yao.qi@linaro.org>
2542
2543 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2544
2545 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2546
2547 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2548 manually constructing the output path.
2549
2550 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2551
2552 * gdb.arch/s390-stackless.S: New.
2553 * gdb.arch/s390-stackless.exp: New.
2554
2555 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2556
2557 * gdb.dlang/circular.c: New file.
2558 * gdb.dlang/circular.exp: New file.
2559
2560 2016-02-26 Yao Qi <yao.qi@linaro.org>
2561
2562 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2563 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2564 (testcases): Update.
2565
2566 2016-02-26 Yao Qi <yao.qi@linaro.org>
2567
2568 * gdb.reverse/aarch64.c: Rename to ...
2569 * gdb.reverse/insn-reverse.c: ... it.
2570 * gdb.reverse/aarch64.exp: Rename to ...
2571 * gdb.reverse/insn-reverse.exp: ... it.
2572
2573 2016-02-26 Yao Qi <yao.qi@linaro.org>
2574
2575 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2576 (testcase_ftype): New.
2577 (testcases): New array.
2578 (n_testcases): New.
2579 (main): Call each element in testcases.
2580 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2581 (read_testcase): New.
2582 Do the tests in a loop.
2583
2584 2016-02-25 Yao Qi <yao.qi@linaro.org>
2585
2586 * gdb.base/branches.c: Remove.
2587
2588 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2589
2590 PR gdb/13808
2591 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2592
2593 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2594
2595 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2596
2597 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2598
2599 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2600 change x86_64 call_insn to 'callq'.
2601
2602 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2603
2604 * gdb.trace/tfile-avx.c: Move to...
2605 * gdb.trace/tracefile-pseudo-reg.c: Here.
2606 * gdb.trace/tfile-avx.exp: Move to...
2607 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2608
2609 2016-02-24 Gary Benson <gbenson@redhat.com>
2610
2611 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2612 message on attach.
2613
2614 2016-02-23 Doug Evans <dje@google.com>
2615
2616 * gdb.base/skip.c (test_skip): New function.
2617 (end_test_skip_file_and_function): New function.
2618 (test_skip_file_and_function): New function.
2619 * gdb.base/skip1.c (test_skip): New function.
2620 (skip1_test_skip_file_and_function): New function.
2621 * gdb.base/skip.exp: Add tests for new skip options.
2622 * gdb.base/skip-solib.exp: Update expected output.
2623 * gdb.perf/skip-command.cc: New file.
2624 * gdb.perf/skip-command.exp: New file.
2625 * gdb.perf/skip-command.py: New file.
2626
2627 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2628
2629 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2630 info registers pattern.
2631
2632 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2633
2634 * lib/future.exp: Add D support.
2635 (gdb_find_gdc): New proc.
2636 (gdb_default_target_compile): Add D support.
2637
2638 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
2639
2640 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2641 user+system time.
2642 (trace_speed_test): Determine the iteration count for a time
2643 between 15..30 seconds.
2644
2645 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2646
2647 * gdb.arch/i386-mpx-sigsegv.c: New file.
2648 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2649 * gdb.arch/i386-mpx-simple_segv.c: New file.
2650 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2651
2652 2016-02-18 Yao Qi <yao.qi@linaro.org>
2653
2654 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2655 Don't call setup_kfail.
2656
2657 2016-02-18 Yao Qi <yao.qi@linaro.org>
2658
2659 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2660 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2661
2662 2016-02-16 Doug Evans <dje@google.com>
2663
2664 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2665 * gdb.base/skip1.c: Ditto.
2666 * gdb.base/skip.exp: Whitespace cleanup.
2667
2668 2016-02-16 Don Breazeal <donb@codesourcery.com>
2669
2670 PR remote/19496
2671 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2672 Remove kfail for PR remote/19496.
2673
2674 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2675
2676 * lib/gdb.exp (standard_temp_file): Return a path specific to
2677 the runtest invocation.
2678
2679 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2680
2681 * gdb.trace/save-trace.exp: Change relative path to be in the
2682 standard output directory.
2683
2684 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2685
2686 * gdb.arch/i386-prologue.c: Add missing prototypes.
2687
2688 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2689
2690 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2691 * gdb.arch/i386-prologue.exp: Likewise.
2692 * gdb.arch/i386-size.exp: Likewise.
2693
2694 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2695
2696 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2697 define object file path.
2698 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2699 file path.
2700 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2701 standard_output_file to define binfile.
2702
2703 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2704
2705 Fix compatibility with recent gfortran-5.3.1.
2706 * gdb.fortran/vla-history.exp (print vla1 allocated)
2707 (print vla2 allocated, print $2, print $3): Remove
2708 (print $4): Rename to ...
2709 (print $2): ... here.
2710 (print $9): Rename to ...
2711 (print $5): ... here.
2712 (print $10): Rename to ...
2713 (print $6): ... here.
2714 * gdb.fortran/vla.f90: Add pvla initialization.
2715
2716 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2717
2718 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2719 New test.
2720 * gdb.fortran/vla-value-sub.exp: Likewise.
2721
2722 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2723
2724 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2725
2726 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2727
2728 * i386-biarch-core.exp: Define corefile using
2729 standard_output_file.
2730
2731 2016-02-12 Yao Qi <yao.qi@linaro.org>
2732
2733 * gdb.arch/arm-single-step-kernel-helper.c: New.
2734 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2735
2736 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2737
2738 * gdb.btrace/tailcall-only.exp: New.
2739 * gdb.btrace/tailcall-only.c: New.
2740 * gdb.btrace/x86_64-tailcall-only.S: New.
2741 * gdb.btrace/i686-tailcall-only.S: New.
2742
2743 2016-02-11 Pedro Alves <palves@redhat.com>
2744
2745 * README (Parallel testing): Add missing double quotes.
2746
2747 2016-02-11 Pedro Alves <palves@redhat.com>
2748
2749 * README (Parallel testing): New section.
2750 (GDB_PARALLEL): Rewrite.
2751 (FORCE_PARALLEL): Document.
2752
2753 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2754
2755 * gdb.trace/tfile-avx.c: New test.
2756 * gdb.trace/tfile-avx.exp: New test.
2757
2758 2016-02-09 Keith Seitz <keiths@redhat.com>
2759
2760 PR breakpoints/19546
2761 * gdb.base/infcall-exec.c: New file.
2762 * gdb.base/infcall-exec2.c: New file.
2763 * gdb.base/infcall-exec.exp: New file.
2764
2765 2016-02-09 Keith Seitz <keiths@redhat.com>
2766
2767 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2768 (toplevel): Call test_bkpt_address.
2769
2770 2016-02-09 Keith Seitz <keiths@redhat.com>
2771
2772 PR python/19506
2773 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2774 (toplevel): Call test_bkpt_address.
2775
2776 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2777
2778 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2779 to AC_OUTPUT.
2780 * configure: Regenerate.
2781
2782 2016-02-09 Pedro Alves <palves@redhat.com>
2783
2784 PR breakpoints/19548
2785 * gdb.base/execl-update-breakpoints.c (some_function): New
2786 function.
2787 (main): Call it.
2788 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2789 Tighten expected GDB output.
2790
2791 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2792
2793 * Makefile.in (ALL_SUBDIRS): Remove.
2794 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2795 (distclean maintainer-clean realclean): Likewise.
2796 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2797 * configure: Regenerate.
2798 * gdb.ada/Makefile.in: Delete.
2799 * gdb.arch/Makefile.in: Likewise.
2800 * gdb.asm/Makefile.in: Likewise.
2801 * gdb.base/Makefile.in: Likewise.
2802 * gdb.btrace/Makefile.in: Likewise.
2803 * gdb.cell/Makefile.in: Likewise.
2804 * gdb.compile/Makefile.in: Likewise.
2805 * gdb.cp/Makefile.in: Likewise.
2806 * gdb.disasm/Makefile.in: Likewise.
2807 * gdb.dlang/Makefile.in: Likewise.
2808 * gdb.dwarf2/Makefile.in: Likewise.
2809 * gdb.fortran/Makefile.in: Likewise.
2810 * gdb.gdb/Makefile.in: Likewise.
2811 * gdb.go/Makefile.in: Likewise.
2812 * gdb.guile/Makefile.in: Likewise.
2813 * gdb.java/Makefile.in: Likewise.
2814 * gdb.linespec/Makefile.in: Likewise.
2815 * gdb.mi/Makefile.in: Likewise.
2816 * gdb.modula2/Makefile.in: Likewise.
2817 * gdb.multi/Makefile.in: Likewise.
2818 * gdb.objc/Makefile.in: Likewise.
2819 * gdb.opencl/Makefile.in: Likewise.
2820 * gdb.opt/Makefile.in: Likewise.
2821 * gdb.pascal/Makefile.in: Likewise.
2822 * gdb.perf/Makefile.in: Likewise.
2823 * gdb.python/Makefile.in: Likewise.
2824 * gdb.reverse/Makefile.in: Likewise.
2825 * gdb.server/Makefile.in: Likewise.
2826 * gdb.stabs/Makefile.in: Likewise.
2827 * gdb.threads/Makefile.in: Likewise.
2828 * gdb.trace/Makefile.in: Likewise.
2829 * gdb.xml/Makefile.in: Likewise.
2830 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2831 GDB_PARALLEL.
2832 (standard_output_file): Remove check for GDB_PARALLEL, always
2833 return path in outputs/$subdir/$testname.
2834
2835 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2836
2837 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2838 (site.exp): Assign abs_srcdir to tcl's srcdir.
2839
2840 2016-02-04 Yao Qi <yao.qi@linaro.org>
2841
2842 * gdb.base/foll-exec-mode.c: Include limits.h.
2843 (main): Add parameters argc and argv. Get directory from
2844 argv[0].
2845 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2846 compilation.
2847 * gdb.base/foll-exec.c: Include limits.h.
2848 (main): Add parameters argc and argv.
2849 Get directory from argv[0].
2850 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2851 Adjust tests on the number of lines as source code changed.
2852 * gdb.base/foll-vfork-exit.c: Include limits.h.
2853 (main): Add one line of statement before vfork.
2854 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2855 (main): Add parameters argc and argv. Get directory from
2856 argv[0].
2857 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2858 (setup_gdb): Set tbreak to skip some source lines.
2859 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2860 (main): Add parameters argc and argv. Get directory from
2861 argv[0].
2862 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2863 compilation.
2864 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2865 (main): Add parameters argc and argv. Get directory from
2866 argv[0].
2867 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2868 compilation.
2869
2870 2016-02-01 Doug Evans <dje@google.com>
2871
2872 * gdb.base/skip.exp: Clean up multiple references to same test name.
2873
2874 2016-02-01 Pedro Alves <palves@redhat.com>
2875
2876 PR remote/19496
2877 * gdb.threads/forking-threads-plus-breakpoint.exp
2878 (displaced_stepping_supported): New global.
2879 (probe_displaced_stepping_support): New procedure.
2880 (do_test): Add 'displaced' parameter, and use it.
2881 (top level): Check for displaced stepping support. Add displaced
2882 stepping on/off testing axis.
2883
2884 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2885
2886 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2887 pointer. Don't perform further tests on the unassociated pointer
2888 if the first test fails.
2889
2890 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2891
2892 * gdb.base/max-value-size.c: New file.
2893 * gdb.base/max-value-size.exp: New file.
2894 * gdb.base/huge.exp: Disable max-value-size for this test.
2895
2896 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2897
2898 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2899
2900 2016-01-28 Yao Qi <yao.qi@linaro.org>
2901
2902 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2903
2904 2016-01-25 Pedro Alves <palves@redhat.com>
2905
2906 PR threads/19461
2907 * gdb.base/fork-running-state.c: New file.
2908 * gdb.base/fork-running-state.exp: New file.
2909
2910 2016-01-25 Pedro Alves <palves@redhat.com>
2911
2912 PR gdb/19494
2913 * gdb.base/catch-fork-kill.c: New file.
2914 * gdb.base/catch-fork-kill.exp: New file.
2915
2916 2016-01-25 Pedro Alves <palves@redhat.com>
2917
2918 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2919 Delete, moved to lib/gdb.exp.
2920 * gdb.threads/forking-threads-plus-breakpoint.exp
2921 (foreach_with_prefix): Likewise.
2922 * gdb.threads/process-dies-while-handling-bp.exp
2923 (foreach_with_prefix): Likewise.
2924 * lib/gdb.exp (foreach_with_prefix): New procedure.
2925
2926 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2927
2928 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2929 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2930
2931 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2932
2933 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2934 endian targets.
2935
2936 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2937 Pedro Alves <palves@redhat.com>
2938
2939 Fix testsuite compatibility with Guile.
2940 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2941 number.
2942
2943 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2944
2945 Fix testsuite compatibility with Guile.
2946 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2947 (thread 1): New test for backtrace through signal handler.
2948
2949 2016-01-22 Yao Qi <yao.qi@linaro.org>
2950
2951 PR testsuite/19491
2952 * gdb.base/multi-forks.c: Include
2953 ../lib/unbuffer_output.c
2954 (main): Call gdb_unbuffer_output.
2955
2956 2016-01-21 Doug Evans <dje@google.com>
2957
2958 * lib/ada.exp (gdb_compile_ada): Fix typo.
2959
2960 2016-01-21 Joel Brobecker <brobecker@adacore.com>
2961
2962 * gdb.base/break-fun-addr.exp: New file.
2963 * gdb.base/break-fun-addr1.c: New file.
2964 * gdb.base/break-fun-addr2.c: New file.
2965
2966 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2967
2968 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2969 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2970 enum flag values.
2971
2972 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2973
2974 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2975 when GDB can not set the vector return value. Add more comments
2976 for clarification.
2977
2978 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2979
2980 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2981 command.
2982
2983 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2984
2985 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2986
2987 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2988
2989 * Makefile.in (check-single): Pass --status to runtest.
2990 (check/%.exp): Likewise.
2991
2992 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2993
2994 * Makefile.in (check-parallel): Propagate return code from make
2995 do-check-parallel.
2996
2997 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2998
2999 * gdb.trace/ftrace.exp: Fix expected message on continue.
3000 * gdb.trace/pending.exp: Fix expected message on continue.
3001 * gdb.trace/trace-break.exp: Fix expected message on continue.
3002
3003 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3004
3005 * lib/gdb.exp (gdb_test): Remove unused global references.
3006
3007 2016-01-18 Pedro Alves <palves@redhat.com>
3008
3009 * gdb.base/async-shell.exp: Adjust expected output.
3010 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3011 * gdb.base/siginfo-thread.exp: Adjust expected output.
3012 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3013 * gdb.java/jnpe.exp: Adjust expected output.
3014 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3015 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3016 * gdb.threads/leader-exit.exp: Adjust expected output.
3017 * gdb.threads/manythreads.exp: Adjust expected output.
3018 * gdb.threads/pthreads.exp: Adjust expected output.
3019 * gdb.threads/schedlock.exp: Adjust expected output.
3020 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3021 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3022 expected output.
3023 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3024 output.
3025 * gdb.threads/sigthread.exp: Adjust expected output.
3026 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3027
3028 2016-01-18 Yao Qi <yao.qi@linaro.org>
3029
3030 * gdb.guile/scm-section-script.c: Replace @progbits with
3031 %progbits.
3032 * gdb.python/py-section-script.c: Likewise.
3033
3034 2016-01-15 Pedro Alves <palves@redhat.com>
3035
3036 * gdb.multi/tids.exp: Test star wildcard ranges.
3037
3038 2016-01-15 Pedro Alves <palves@redhat.com>
3039
3040 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3041 command from "thread apply" invocation.
3042 (thr_apply_info_thr_invalid): Default the expected output to the
3043 input tid list.
3044 (top level): Add tests that use convenience variables. Add tests
3045 for "thread apply" with a valid TID list, but missing the command.
3046
3047 2016-01-13 Pedro Alves <palves@redhat.com>
3048
3049 * gdb.base/default.exp: Expect $_gthread as well.
3050 * gdb.multi/tids.exp: Test $_gthread.
3051 * gdb.threads/thread-specific.exp: Test $_gthread.
3052
3053 2016-01-13 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.multi/tids.exp: Test "info threads -gid".
3056
3057 2016-01-13 Pedro Alves <palves@redhat.com>
3058
3059 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3060 Breakpoint.thread.
3061 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3062
3063 2016-01-07 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.base/break.exp: Adjust to output changes.
3066 * gdb.base/hbreak2.exp: Likewise.
3067 * gdb.base/sepdebug.exp: Likewise.
3068 * gdb.base/watch_thread_num.exp: Likewise.
3069 * gdb.linespec/keywords.exp: Likewise.
3070 * gdb.multi/info-threads.exp: Likewise.
3071 * gdb.threads/thread-find.exp: Likewise.
3072 * gdb.multi/tids.c: New file.
3073 * gdb.multi/tids.exp: New file.
3074
3075 2016-01-13 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3078
3079 2016-01-13 Pedro Alves <palves@redhat.com>
3080
3081 * gdb.base/default.exp: Expect $_inferior as well.
3082 * gdb.multi/base.exp: Test $_inferior.
3083
3084 2016-01-13 Pedro Alves <palves@redhat.com>
3085
3086 PR breakpoints/19388
3087 * gdb.base/catch-signal-siginfo-cond.c: New file.
3088 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3089
3090 2016-01-12 Josh Stone <jistone@redhat.com>
3091 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3092
3093 * gdb.base/catch-syscall.c (do_execve): New variable.
3094 (main): Conditionally trigger an execve.
3095 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3096 (test_catch_syscall_execve): New, check entry/return across execve.
3097 (do_syscall_tests): Call test_catch_syscall_execve.
3098
3099 2016-01-12 Pedro Alves <palves@redhat.com>
3100
3101 * gdb.base/random-signal.exp (do_test): New procedure, with body
3102 of testcase moved in.
3103
3104 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3105 Pedro Alves <palves@redhat.com>
3106
3107 * gdb.base/funcargs.exp (finish from indirectly called function):
3108 Reintroduce the case for 'First'.
3109
3110 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3111 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3114 (tcatch_vfork_then_child_follow_exec)
3115 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3116 identification.
3117
3118 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3119
3120 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3121 and repeats to unlimited.
3122 * gdb.python/py-value.exp: Likewise.
3123 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3124 and repeats to unlimited.
3125
3126 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3127
3128 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3129 and reordering the functions.
3130 * gdb.multi/hangout.c: Likewise.
3131 * gdb.multi/hello.c: Likewise.
3132
3133 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3134
3135 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3136 absolute.
3137 (SingleStatisticTestResult.report): Use dict.keys instead of
3138 dict.iterkeys.
3139
3140 2016-01-06 Pedro Alves <palves@redhat.com>
3141
3142 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3143
3144 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3145
3146 * gdb.btrace/dlopen.exp: New.
3147 * gdb.btrace/dlopen.c: New.
3148 * gdb.btrace/dlopen-dso.c: New.
3149
3150 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3151
3152 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3153 PATTERN argument is optional.
3154
3155 2015-12-24 Joel Brobecker <brobecker@adacore.com>
3156
3157 * lib/ada.exp (target_compile_ada_from_dir): New function.
3158 (gdb_compile_ada): Reimplement avoiding the use of project files.
3159 * gdb.ada/gnat_ada.gpr: Delete.
3160 * gdb.ada/cond_lang.exp: Adjust test to make path before
3161 filename optional.
3162 * gdb.ada/small_reg_param.exp: Likewise.
3163
3164 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3165
3166 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3167
3168 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3169
3170 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3171 case.
3172
3173 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3174
3175 * gdb.base/break.exp: Remove dead code.
3176 * gdb.base/sepdebug.exp: Likewise.
3177
3178 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3179
3180 * gdb.asm/asm-source.exp: Remove HP-UX references.
3181 * gdb.base/annota1.exp: Likewise.
3182 * gdb.base/annota3.exp: Likewise.
3183 * gdb.base/attach.exp: Likewise.
3184 * gdb.base/bigcore.exp: Likewise.
3185 * gdb.base/break.exp: Likewise.
3186 * gdb.base/call-ar-st.exp: Likewise.
3187 * gdb.base/callfuncs.exp: Likewise.
3188 * gdb.base/catch-fork-static.exp: Likewise.
3189 * gdb.base/display.exp: Likewise.
3190 * gdb.base/foll-exec-mode.exp: Likewise.
3191 * gdb.base/foll-exec.exp: Likewise.
3192 * gdb.base/foll-fork.exp: Likewise.
3193 * gdb.base/foll-vfork.exp: Likewise.
3194 * gdb.base/funcargs.exp: Likewise.
3195 * gdb.base/hbreak2.exp: Likewise.
3196 * gdb.base/inferior-died.exp: Likewise.
3197 * gdb.base/interrupt.exp: Likewise.
3198 * gdb.base/multi-forks.exp: Likewise.
3199 * gdb.base/nodebug.exp: Likewise.
3200 * gdb.base/sepdebug.exp: Likewise.
3201 * gdb.base/solib1.c: Likewise.
3202 * gdb.base/step-test.exp: Likewise.
3203 * gdb.mi/non-stop.c: Likewise.
3204 * gdb.mi/pthreads.c: Likewise.
3205 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3206 * gdb.threads/pthreads.c: Likewise.
3207 * gdb.threads/staticthreads.exp: Likewise.
3208 * lib/future.exp: Likewise.
3209 * lib/gdb.exp: Likewise.
3210 * gdb.base/so-indr-cl.c: Remove.
3211 * gdb.base/so-indr-cl.exp: Likewise.
3212 * gdb.base/solib.c: Likewise.
3213 * gdb.base/solib.exp: Likewise.
3214 * gdb.base/solib2.c: Likewise.
3215
3216 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3217
3218 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3219 * gdb.base/call-ar-st.exp: Likewise.
3220 * gdb.base/callfuncs.exp: Likewise.
3221 * gdb.base/condbreak.exp: Likewise.
3222 * gdb.base/constvars.exp: Likewise.
3223 * gdb.base/hbreak2.exp: Likewise.
3224 * gdb.base/langs.exp: Likewise.
3225 * gdb.base/list.exp: Likewise.
3226 * gdb.base/long_long.exp: Likewise.
3227 * gdb.base/ptype.exp: Likewise.
3228 * gdb.base/scope.exp: Likewise.
3229 * gdb.base/signals.exp: Likewise.
3230 * gdb.base/so-impl-ld.exp: Likewise.
3231 * gdb.base/varargs.exp: Likewise.
3232 * gdb.base/volatile.exp: Likewise.
3233 * gdb.base/whatis.exp: Likewise.
3234 * gdb.cp/cplusfuncs.exp: Likewise.
3235 * gdb.cp/inherit.exp: Likewise.
3236 * gdb.cp/local.exp: Likewise.
3237 * gdb.cp/member-ptr.exp: Likewise.
3238 * gdb.cp/method.exp: Likewise.
3239 * gdb.cp/overload.exp: Likewise.
3240 * gdb.cp/templates.exp: Likewise.
3241 * gdb.stabs/weird.exp: Likewise.
3242 * lib/compiler.c: Likewise.
3243 * lib/compiler.cc: Likewise.
3244 * lib/cp-support.exp: Likewise.
3245 * lib/gdb.exp: Likewise.
3246
3247 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3248
3249 * configure.ac: Remove HP-UX case.
3250 * configure: Regenerate.
3251
3252 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3253
3254 * lib/gdb.exp (gdb_compile): Add function doc.
3255
3256 2015-12-17 Pedro Alves <palves@redhat.com>
3257
3258 PR threads/19354
3259 * gdb.multi/info-threads.exp: New file.
3260
3261 2015-12-15 Yao Qi <yao.qi@linaro.org>
3262
3263 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3264 is aarch64*-*-*.
3265
3266 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3267
3268 * gdb.base/history-duplicates.exp: Skip if no readline support.
3269
3270 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3271
3272 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3273
3274 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3275
3276 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3277
3278 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3279
3280 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3281 ctrl-C if nointerrupts target property is set.
3282 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3283 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3284 * gdb.base/paginate-bg-execution.exp: Likewise.
3285 * gdb.base/paginate-execution-startup.exp: Likewise.
3286 * gdb.base/random-signal.exp: Likewise.
3287 * gdb.base/range-stepping.exp: Likewise.
3288 * gdb.cp/annota2.exp: Likewise.
3289 * gdb.cp/annota3.exp: Likewise.
3290 * gdb.gdb/selftest.exp: Likewise.
3291 * gdb.threads/continue-pending-status.exp: Likewise.
3292 * gdb.threads/leader-exit.exp: Likewise.
3293 * gdb.threads/manythreads.exp: Likewise.
3294 * gdb.threads/pthreads.exp: Likewise.
3295 * gdb.threads/schedlock.exp: Likewise.
3296 * gdb.threads/sigthread.exp: Likewise.
3297
3298 2015-12-11 Don Breazeal <donb@codesourcery.com>
3299
3300 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3301 remote.
3302 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3303 * gdb.base/foll-exec.exp (main): Enable for target remote.
3304 * gdb.base/foll-fork.exp (main): Likewise.
3305 * gdb.base/foll-vfork.exp (main): Likewise.
3306 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3307 (proc continue_to_exit_bp_loc): Use clean_restart.
3308 * gdb.base/pie-execl.exp (main): Disable for target remote.
3309 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3310 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3311 * gdb.threads/execl.exp (main): Likewise.
3312 * gdb.threads/fork-child-threads.exp (main): Likewise.
3313 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3314 remote.
3315 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3316 remote.
3317 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3318 pid.tid style ptids, instead of just tid.
3319 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3320 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3321 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3322 ptids, instead of just tid.
3323
3324 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3325
3326 * gdb.base/list.exp (test_list_forward): Add end of file error
3327 test.
3328 (test_repeat_list_command): Add end of file error test.
3329 (test_list_backwards): Add beginning of file error test.
3330
3331 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3332
3333 * gdb.base/list.exp (test_list_invalid_args): New function,
3334 defined, and called.
3335
3336 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3337
3338 * gdb.base/list.exp (test_list): Make test names unique.
3339
3340 2015-12-11 Yao Qi <yao.qi@linaro.org>
3341
3342 * gdb.base/coremaker2.c: Remove.
3343
3344 2015-12-10 Pedro Alves <palves@redhat.com>
3345
3346 * gdb.multi/base.exp: Remove stale "spaces" references.
3347
3348 2015-12-10 Pedro Alves <palves@redhat.com>
3349
3350 * gdb.multi/base.exp: Don't use nowarnings.
3351 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3352 * gdb.multi/hangout.c: Include stdio.h.
3353 * gdb.multi/hello.c: Include stdlib.h.
3354 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3355 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3356 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3357
3358 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3359
3360 * gdb.dwarf2/dw2-ranges-base.c: New file.
3361 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3362 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3363 support additional line table, and debug ranges generation.
3364 (Dwarf::ranges): New function, generate .debug_ranges.
3365 (Dwarf::lines): Support generating simple line table programs.
3366 (Dwarf::assemble): Initialise new namespace variables.
3367
3368 2015-12-09 Kevin Buettner <kevinb@redhat.com>
3369
3370 * gdb.base/async.exp (proc test_background): Add case for
3371 asynchronous execution not supported.
3372
3373 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
3374
3375 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3376 format and change test names to make them unique.
3377
3378 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3379 Pedro Alves <pedro@redhat.com>
3380
3381 PR gdb/18702
3382 Add checking of floatformats setup on x86_64 hosts.
3383 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3384 (smallval, bigval): New labels/constants.
3385 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3386 float" after loading bigval and smallval.
3387
3388 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3389
3390 * gdb.ada/fun_overload_menu.exp: New testcase.
3391 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3392
3393 2015-12-04 Josh Stone <jistone@redhat.com>
3394
3395 * gdb.base/catch-fork-static.exp: New.
3396
3397 2015-12-03 Yao Qi <yao.qi@linaro.org>
3398
3399 * gdb.base/sizeof.c: Don't include stdio.h and
3400 ../lib/unbuffer_output.c.
3401 (main): New variable 'size' and 'value'. Remove printf and
3402 gdb_unbuffer_output. Assign return value to size and value.
3403 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3404 at the beginning.
3405 (check_sizeof): Check the result by printing variable 'size'.
3406 (check_valueof): Check the result by printing variable 'value'.
3407
3408 2015-12-01 Yao Qi <yao.qi@linaro.org>
3409
3410 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3411 for aarch64*-*-linux* target.
3412
3413 2015-11-30 Pedro Alves <palves@redhat.com>
3414
3415 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3416
3417 2015-11-30 Pedro Alves <palves@redhat.com>
3418
3419 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3420 Handle non-stop mode vCont replies.
3421
3422 2015-11-30 Pedro Alves <palves@redhat.com>
3423
3424 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3425 prepare_for_testing. Start gdb with "set non-stop on" appended to
3426 GDBFLAGS. Lax expected stop output.
3427
3428 2015-11-27 Yao Qi <yao.qi@linaro.org>
3429
3430 * gdb.arch/arm-neon.exp: New.
3431 * gdb.arch/arm-neon.c: New.
3432
3433 2015-11-27 Yao Qi <yao.qi@linaro.org>
3434
3435 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3436
3437 2015-11-27 Yao Qi <yao.qi@linaro.org>
3438
3439 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3440 frames-invalid annotation.
3441
3442 2015-11-27 Yao Qi <yao.qi@linaro.org>
3443
3444 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3445
3446 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3447
3448 * gdb.threads/names.exp: New file.
3449 * gdb.threads/names.c: New file.
3450 * README: Mention gdb,no_thread_names.
3451
3452 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3453
3454 PR 19297
3455 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3456 support" error.
3457
3458 2015-11-24 Pedro Alves <palves@redhat.com>
3459
3460 PR 17539
3461 * gdb.base/display.exp: Expect displays to be sorted in ascending
3462 order. Use multi_line.
3463 * gdb.base/solib-display.exp: Likewise.
3464
3465 2015-11-24 Pedro Alves <palves@redhat.com>
3466
3467 PR 17539
3468 * gdb.base/display.exp: Expect displays to be sorted in ascending
3469 order. Use multi_line.
3470 * gdb.base/solib-display.exp: Likewise.
3471
3472 2015-11-24 Pedro Alves <palves@redhat.com>
3473
3474 PR 17539
3475 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3476 threads in ascending order.
3477 * gdb.base/foll-fork.exp: Likewise.
3478 * gdb.base/foll-vfork.exp: Likewise.
3479 * gdb.base/multi-forks.exp: Likewise.
3480 * gdb.mi/mi-nonstop.exp: Likewise.
3481 * gdb.mi/mi-nsintrall.exp: Likewise.
3482 * gdb.multi/base.exp: Likewise.
3483 * gdb.multi/multi-arch.exp: Likewise.
3484 * gdb.python/py-inferior.exp: Likewise.
3485 * gdb.threads/break-while-running.exp: Likewise.
3486 * gdb.threads/execl.exp: Likewise.
3487 * gdb.threads/gcore-thread.exp: Likewise.
3488 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3489 * gdb.threads/kill.exp: Likewise.
3490 * gdb.threads/linux-dp.exp: Likewise.
3491 * gdb.threads/multiple-step-overs.exp: Likewise.
3492 * gdb.threads/next-bp-other-thread.exp: Likewise.
3493 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3494 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3495 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3496 * gdb.threads/thread-find.exp: Likewise.
3497 * gdb.threads/tls.exp: Likewise.
3498 * lib/mi-support.exp (mi_reverse_list): Delete.
3499 (mi_check_thread_states): No longer reverse list.
3500
3501 2015-11-24 Pedro Alves <palves@redhat.com>
3502
3503 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3504 use lowercase.
3505
3506 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3507
3508 * gdb.trace/actions.c: Include trace-common.h.
3509 (main): Add a location for a fast tracepoint.
3510 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3511 the normal tracepoints.
3512 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3513
3514 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3515
3516 * save-trace.exp: Factor out code to these...
3517 (gdb_save_tracepoints): New.
3518 (gdb_load_tracepoints): New.
3519 (do_save_load_test): New.
3520
3521 2015-11-23 Kevin Buettner <kevinb@redhat.com>
3522
3523 * gdb.base/asmlabel.exp: New test.
3524 * gdb.base/asmlabel.c: New test case.
3525
3526 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3527
3528 * gdb.base/wrong_frame_bt_full-main.c: New file.
3529 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3530 * gdb.base/wrong_frame_bt_full.exp: New file.
3531
3532 2015-11-23 Joel Brobecker <brobecker@adacore.com>
3533
3534 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3535
3536 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3537
3538 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
3539 pstate register when comparing registers values in
3540 sparc64-*-linux-gnu targets to avoid spurious differences.
3541
3542 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3543
3544 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
3545
3546 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3547
3548 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3549 as type argument to gdb_compile.
3550 * gdb.base/nested-subp2.exp: Likewise.
3551 * gdb.base/nested-subp3.exp: Likewise.
3552
3553 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3554
3555 * lib/dwarf.exp (_note): Fix left shift of negative value.
3556 * gdb.trace/trace-condition.exp: Likewise.
3557
3558 2015-11-13 Yao Qi <yao.qi@linaro.org>
3559
3560 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3561 comments about d10v.
3562 (test_scalar_returns): Likewise.
3563 * gdb.base/d10v.ld: Remove.
3564 * gdb.base/overlays.exp: Remove the target triplet checking for
3565 d10v-*-*.
3566 * gdb.base/structs.exp (test_struct_returns): Remove the
3567 comments about d10v.
3568 (test_struct_calls): Likewise.
3569
3570 2015-11-13 Yao Qi <yao.qi@linaro.org>
3571
3572 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3573 * gdb.base/gnu_vector.c: Don't include stdio.h.
3574 (main): Don't print res and call add_some_intvecs.
3575
3576 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3577
3578 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3579 macro.
3580 (func5): Removed.
3581 (func4): Use FAST_TRACEPOINT_LABEL.
3582 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3583 macro.
3584 (func): Removed.
3585 (thread_function): Use FAST_TRACEPOINT_LABEL.
3586 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3587 (func): Remove.
3588 (marker): Use FAST_TRACEPOINT_LABEL.
3589 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3590 (pendfunc1): Remove.
3591 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3592 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3593 (foo): Remove.
3594 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3595 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3596 macro.
3597 (func): Remove.
3598 (marker): Use FAST_TRACEPOINT_LABEL.
3599 * gdb.trace/trace-common.h: New header.
3600 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3601 macro.
3602 (func): Remove.
3603 (marker): Use FAST_TRACEPOINT_LABEL.
3604 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3605 (func): Remove.
3606 (thread_function): Use FAST_TRACEPOINT_LABEL.
3607
3608 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3609
3610 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3611 in front.
3612 * gdb.trace/change-loc.exp: Use global pcreg definition.
3613 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3614 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3615 in front.
3616 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3617 * gdb.trace/pending.exp: Likewise.
3618 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3619 * gdb.trace/trace-break.exp: Likewise.
3620 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3621 in front.
3622 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3623 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3624 in front.
3625 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3626
3627 2015-11-09 Joel Brobecker <brobecker@adacore.com>
3628
3629 * gdb.ada/fin_fun_out: New testcase.
3630
3631 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3632
3633 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3634 value associated with DW_AT_byte_size.
3635 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3636 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3637 DW_AT_upper_bound.
3638
3639 2015-11-07 Kevin Buettner <kevinb@redhat.com>
3640
3641 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3642 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3643 version.
3644 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3645 gdb.dwarf2/dw2-canonicalize-type.exp,
3646 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3647 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3648 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3649 provided by gdb_target_symbol_prefix_flags_asm.
3650 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3651 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3652 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3653 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3654 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3655 macros where needed). Use this macro for symbols which require
3656 the prefix provided by SYMBOL_PREFIX.
3657
3658 2015-11-05 Kevin Buettner <kevinb@redhat.com>
3659
3660 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3661 New procs.
3662 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3663 representing expressions, of more than one list element.
3664 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3665 to prepend linker symbol prefix to f.
3666 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3667 table_1 and table_2.
3668 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3669 Likewise, for f and g.
3670 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3671 for ptr.
3672 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3673 for main.
3674 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3675 table_1_ptr and table_2_ptr.
3676
3677 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3678 Joel Brobecker <brobecker@adacore.com>
3679
3680 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3681
3682 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3683
3684 * gdb.reverse/s390-mvcle.c: New test.
3685 * gdb.reverse/s390-mvcle.exp: New file.
3686 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3687
3688 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3689
3690 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3691
3692 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3693
3694 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3695 reaching marker2.
3696 * gdb.reverse/getresuid-reverse.exp: Likewise.
3697 * gdb.reverse/pipe-reverse.exp: Likewise.
3698 * gdb.reverse/readv-reverse.exp: Likewise.
3699 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3700 * gdb.reverse/time-reverse.exp: Likewise.
3701 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3702
3703 2015-10-30 Yao Qi <yao.qi@linaro.org>
3704
3705 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3706 (empty_cycle): Remove.
3707 (main): Don't call empty_cycle. Don't use watch_count_done.
3708 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3709 empty_cycle. Rewrite the code counting HW watchpoints.
3710
3711 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3712
3713 * gdb.reverse/fstatat-reverse.c: New test.
3714 * gdb.reverse/fstatat-reverse.exp: New file.
3715 * gdb.reverse/getresuid-reverse.c: New test.
3716 * gdb.reverse/getresuid-reverse.exp: New file.
3717 * gdb.reverse/pipe-reverse.c: New test.
3718 * gdb.reverse/pipe-reverse.exp: New file.
3719 * gdb.reverse/readv-reverse.c: New test.
3720 * gdb.reverse/readv-reverse.exp: New file.
3721 * gdb.reverse/recvmsg-reverse.c: New test.
3722 * gdb.reverse/recvmsg-reverse.exp: New file.
3723 * gdb.reverse/time-reverse.c: New test.
3724 * gdb.reverse/time-reverse.exp: New file.
3725 * gdb.reverse/waitpid-reverse.c: New test.
3726 * gdb.reverse/waitpid-reverse.exp: New file.
3727
3728 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3729
3730 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3731
3732 2015-10-26 Doug Evans <dje@google.com>
3733
3734 PR symtab/17391
3735 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3736 * gdb.dwarf2/bad-regnum.c: New file.
3737 * gdb.dwarf2/bad-regnum.exp: New file.
3738
3739 2015-10-26 Doug Evans <dje@google.com>
3740
3741 PR python/18938
3742 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3743 file.
3744
3745 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3746
3747 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3748 for a change by "Mention language in compile error message".
3749
3750 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3751
3752 PR python/18073
3753 * gdb.python/py-type.c (C::a_method): New.
3754 (C::a_const_method): New.
3755 (C::a_static_method): New.
3756 (a_function): New.
3757 * gdb.python/py-type.exp (test_fields): Test getting fields
3758 from function and method.
3759
3760 2015-10-21 Keven Boell <keven.boell@intel.com>
3761
3762 * gdb.fortran/vla-alloc-assoc.exp: New file.
3763 * gdb.fortran/vla-datatypes.exp: New file.
3764 * gdb.fortran/vla-datatypes.f90: New file.
3765 * gdb.fortran/vla-history.exp: New file.
3766 * gdb.fortran/vla-ptype-sub.exp: New file.
3767 * gdb.fortran/vla-ptype.exp: New file.
3768 * gdb.fortran/vla-sizeof.exp: New file.
3769 * gdb.fortran/vla-sub.f90: New file.
3770 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3771 * gdb.fortran/vla-value-sub-finish.exp: New file.
3772 * gdb.fortran/vla-value-sub.exp: New file.
3773 * gdb.fortran/vla-value.exp: New file.
3774 * gdb.fortran/vla-ptr-info.exp: New file.
3775 * gdb.mi/mi-vla-fortran.exp: New file.
3776 * gdb.mi/vla.f90: New file.
3777
3778 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3779
3780 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3781 of hardwired timeout value.
3782
3783 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3784 Pedro Alves <palves@redhat.com>
3785
3786 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3787 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3788
3789 2015-10-19 Josh Stone <jistone@redhat.com>
3790
3791 * gdb.base/catch-syscall.c: Include <sched.h>.
3792 (unknown_syscall): New variable.
3793 (main): Trigger a vfork and an unknown syscall.
3794 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3795 (unknown_syscall_number): Likewise.
3796 (check_call_to_syscall): Accept an optional syscall pattern.
3797 (check_return_from_syscall): Likewise.
3798 (check_continue): Likewise.
3799 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3800 (test_catch_syscall_skipping_return): New test toggling off 'catch
3801 syscall' to step over the syscall return, then toggling back on.
3802 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3803 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3804 (do_syscall_tests): Call test_catch_syscall_without_args and
3805 test_catch_syscall_mid_vfork.
3806 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3807 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3808
3809 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
3810
3811 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3812 print g_vE): Add new pass patterns.
3813 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3814 print various symbol names for vptr fields.
3815
3816 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3817
3818 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3819 results.
3820
3821 2015-10-12 Yao Qi <yao.qi@linaro.org>
3822
3823 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3824
3825 2015-10-12 Yao Qi <yao.qi@linaro.org>
3826
3827 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3828 is aarch64*-*-linux*.
3829
3830 2015-10-12 Yao Qi <yao.qi@linaro.org>
3831
3832 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3833 (can_relocate_bcond_true): ... it.
3834 (can_relocate_bcond_false): New function.
3835 (foo): Likewise.
3836 (can_relocate_bl): Likewise.
3837 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3838 can_relocate_bl.
3839
3840 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3841
3842 * gdb.base/nested-addr.c: New file.
3843 * gdb.base/nested-addr.exp: New testcase.
3844
3845 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3846
3847 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3848 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3849 its output. Ignore the output of "record goto begin" and instead
3850 check that GDB is replaying.
3851
3852 2015-10-09 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3855 (top level): Use it in the run with no args test.
3856
3857 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3858
3859 * gdb.dlang/properties.exp: New file.
3860
3861 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3862
3863 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3864 whether or not address 0x1000 is mapped on the target.
3865
3866 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3867
3868 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3869 build.
3870
3871 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3872
3873 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3874 instruction-history test.
3875
3876 2015-09-28 Doug Evans <dje@google.com>
3877
3878 * gdb.base/gcore.c (array_func): Add reference to static_array.
3879
3880 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3881
3882 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3883 source line.
3884
3885 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3886
3887 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3888 short or char as base type.
3889
3890 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3891
3892 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3893 to allow any size enum.
3894
3895 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3896
3897 * gdb.ada/array_ptr_renaming.exp: New testcase.
3898 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3899 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3900
3901 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3902
3903 * gdb.trace/ftrace-lock.c: New file.
3904 * gdb.trace/ftrace-lock.exp: New file.
3905
3906 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3907
3908 * gdb.arch/insn-reloc.c: New file.
3909 * gdb.arch/ftrace-insn-reloc.exp: New file.
3910
3911 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3912
3913 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3914 instruction.
3915 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3916 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3917 * gdb.trace/range-stepping.c: Likewise.
3918 * gdb.trace/trace-break.c: Likewise.
3919 * gdb.trace/trace-mt.c (thread_function): Likewise.
3920 * gdb.trace/ftrace.c (marker): Likewise.
3921 * gdb.trace/trace-condition.c (marker): Likewise.
3922 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3923 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3924 is_aarch64_target.
3925
3926 2015-09-18 Doug Evans <xdje42@gmail.com>
3927
3928 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3929 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3930
3931 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3932
3933 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3934 the breakpoint.
3935
3936 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3937
3938 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3939 the pending breakpoint. Remove timeout override for "Run till
3940 MI pending breakpoint on pendfunc3 on thread 2" test.
3941
3942 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3943
3944 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3945 filename pattern.
3946
3947 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3948
3949 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3950 in breakpoint filename pattern.
3951
3952 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3953
3954 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3955
3956 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3957
3958 * gdb.linespec/explicit.exp: Check for readline support for
3959 tab-completion tests. Fix obvious typo.
3960
3961 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3962
3963 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3964 and replay.
3965
3966 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3967
3968 * gdb.btrace/non-stop.c: New.
3969 * gdb.btrace/non-stop.exp: New.
3970
3971 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3972 Yao Qi <yao.qi@linaro.org>
3973
3974 * gdb.trace/trace-condition.c: New file.
3975 * gdb.trace/trace-condition.exp: New file.
3976
3977 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
3978
3979 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3980 for testing bytecode compilation.
3981
3982 2015-09-16 Pedro Alves <palves@redhat.com>
3983 Sandra Loosemore <sandra@codesourcery.com>
3984
3985 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3986 (SECONDS): Redefine.
3987 (main): Call pthread_kill and alarm early.
3988 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3989 support.
3990 (test): If the target can't hardware step and doesn't support
3991 displaced stepping, increase the timeout.
3992
3993 2015-09-16 Pedro Alves <palves@redhat.com>
3994
3995 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3996 (enable_debug): New procedures.
3997 (test): Use them. Bail out if waiting for threads fails.
3998 (top level): Bail out if a test fails.
3999
4000 2015-09-16 Yao Qi <yao.qi@linaro.org>
4001
4002 * gdb.asm/asm-source.exp: Set asm-arch for
4003 aarch64*-*-* target.
4004 * gdb.asm/aarch64.inc: New file.
4005
4006 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4007
4008 * gdb.ada/array_of_variable_length.exp: New testcase.
4009 * gdb.ada/array_of_variable_length/foo.adb: New file.
4010 * gdb.ada/array_of_variable_length/pck.adb: New file.
4011 * gdb.ada/array_of_variable_length/pck.ads: New file.
4012
4013 2015-09-15 Doug Evans <dje@google.com>
4014
4015 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4016 of function static local variable.
4017
4018 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4019
4020 * gdb.threads/tls-so_extern.exp: New test file.
4021 * gdb.threads/tls-so_extern.c: New test file.
4022 * gdb.threads/tls-so_extern_main.c: New test file.
4023
4024 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4025
4026 * gdb.opt/solib-intra-step-lib.c: New file.
4027 * gdb.opt/solib-intra-step-main.c: New file.
4028 * gdb.opt/solib-intra-step.exp: New file.
4029
4030 2015-09-15 Pedro Alves <palves@redhat.com>
4031
4032 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4033 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4034
4035 2015-09-14 Pedro Alves <palves@redhat.com>
4036
4037 * gdb.base/hook-stop-continue.c: Delete.
4038 * gdb.base/hook-stop-continue.exp: Delete.
4039 * gdb.base/hook-stop-frame.c: Delete.
4040 * gdb.base/hook-stop-frame.exp: Delete.
4041 * gdb.base/hook-stop.c: New file.
4042 * gdb.base/hook-stop.exp: New file.
4043
4044 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4045
4046 * gdb.ada/access_to_packed_array.exp: New testcase.
4047 * gdb.ada/access_to_packed_array/foo.adb: New file.
4048 * gdb.ada/access_to_packed_array/pack.adb: New file.
4049 * gdb.ada/access_to_packed_array/pack.ads: New file.
4050
4051 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4052
4053 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4054 buffer size test.
4055
4056 2015-09-11 Don Breazeal <donb@codesourcery.com>
4057
4058 * gdb.base/foll-exec.c: Add copyright header. Fix
4059 formatting issues.
4060 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4061 (do_exec_tests): Use clean_restart in place of zap_session,
4062 and for test initialization. Fix formatting issues. Use
4063 fail in place of perror.
4064 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4065 an expect statement to match an expression with output from
4066 the program under debug.
4067 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4068 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4069 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4070 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4071 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4072
4073 2015-09-09 Doug Evans <dje@google.com>
4074
4075 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4076
4077 2015-09-09 Doug Evans <dje@google.com>
4078
4079 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4080
4081 2015-09-09 Doug Evans <dje@google.com>
4082
4083 * gdb.base/savedregs.exp: Fix typo.
4084
4085 2015-09-09 Pedro Alves <palves@redhat.com>
4086
4087 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4088
4089 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4090
4091 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4092 command actually switches threads. Give up on remaining
4093 tests if target fails to stop at breakpoint.
4094
4095 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4096
4097 * gdb.ada/funcall_char.exp: New testcase.
4098 * gdb.ada/funcall_char/foo.adb: New file.
4099
4100 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4101
4102 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4103 expected outputs. Add two testcases for completing ambiguous
4104 functions.
4105 * gdb.ada/complete/aux_pck.adb: New file.
4106 * gdb.ada/complete/aux_pck.ads: New file.
4107 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4108 Ambiguous_Func functions.
4109 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4110 * gdb.ada/complete/pck.adb: Likewise.
4111
4112 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4113
4114 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4115 failures to run the test program under GDB.
4116
4117 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
4118
4119 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4120 to C.
4121
4122 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4123
4124 * gdb.base/run-after-attach.exp: New test file.
4125 * gdb.base/run-after-attach.c: New test file.
4126
4127 2015-08-26 Don Breazeal <donb@codesourcery.com>
4128
4129 * gdb.base/foll-exec-2.c: New test program.
4130 * gdb.base/foll-exec-2.exp: New test.
4131
4132 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4133
4134 * gdb.base/nested-subp1.exp: New file.
4135 * gdb.base/nested-subp1.c: New file.
4136 * gdb.base/nested-subp2.exp: New file.
4137 * gdb.base/nested-subp2.c: New file.
4138 * gdb.base/nested-subp3.exp: New file.
4139 * gdb.base/nested-subp3.c: New file.
4140
4141 2015-08-24 Pedro Alves <palves@redhat.com>
4142
4143 * gdb.server/connect-without-multi-process.c: New file.
4144 * gdb.server/connect-without-multi-process.exp: New file.
4145
4146 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4147
4148 * gdb.opt/inline-markers.c: Make z int.
4149
4150 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4151
4152 * gdb.opt/inline-markers.c: Make z volatile.
4153
4154 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
4155
4156 * gdb.opt/inline-bt.c: New volatile global z.
4157 * gdb.opt/inline-cmds.c: Likewise.
4158 * gdb.opt/inline-locals.c: Likewise.
4159 * gdb.opt/inline-markers.c: New extern global z.
4160 (marker): Use z.
4161 (inline_fn): Likewise.
4162
4163 2015-08-24 Pedro Alves <palves@redhat.com>
4164
4165 * config/m32r-stub.exp: Remove file.
4166 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4167 * gdb.base/call-rt-st.exp: Likewise.
4168 * gdb.base/call-strs.exp: Likewise.
4169 * gdb.base/default.exp: Remove references to h8300-*-hms and
4170 *-*-udi*.
4171 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4172
4173 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4174
4175 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4176 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4177 and "return" use KFAIL when GDB can not read/write the vector
4178 return value.
4179
4180 2015-08-21 Gary Benson <gbenson@redhat.com>
4181
4182 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4183
4184 2015-08-20 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.server/solib-list.exp: No longer expect an interior stop in
4187 non-stop mode.
4188
4189 2015-08-20 Pedro Alves <palves@redhat.com>
4190
4191 * gdb.server/connect-stopped-target.c: New file.
4192 * gdb.server/connect-stopped-target.exp: New file.
4193
4194 2015-08-20 Pedro Alves <palves@redhat.com>
4195
4196 * gdb.dwarf2/comp-unit-lang.exp: New file.
4197 * gdb.dwarf2/comp-unit-lang.c: New file.
4198
4199 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4200
4201 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4202 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4203
4204 2015-08-19 Kevin Buettner <kevinb@redhat.com>
4205
4206 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4207 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4208
4209 2015-08-18 Doug Evans <dje@google.com>
4210 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4211
4212 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4213 skip_python_tests. New arg prompt_regexp.
4214 (skip_python_tests): New function.
4215 * lib/mi-support.exp (mi_skip_python_tests): New function.
4216 * gdb.python/py-mi-objfile-gdb.py: New file.
4217 * gdb.python/py-mi-objfile.c: New file.
4218 * gdb.python/py-mi-objfile.exp: New file.
4219
4220 2015-08-17 Keith Seitz <keiths@redhat.com>
4221
4222 * gdb.linespec/explicit.exp: Move strace test from here ...
4223 * gdb.trace/strace.exp: ... to here.
4224
4225 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4226
4227 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4228 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4229
4230 2015-08-14 Doug Evans <xdje42@gmail.com>
4231
4232 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4233 inferior before selecting a new file.
4234
4235 2015-08-14 Doug Evans <xdje42@gmail.com>
4236
4237 * gdb.mi/mi-disassemble.exp: Update.
4238 * gdb.base/disasm-optim.S: New file.
4239 * gdb.base/disasm-optim.c: New file.
4240 * gdb.base/disasm-optim.h: New file.
4241 * gdb.base/disasm-optim.exp: New file.
4242
4243 2015-08-14 Keith Seitz <keiths@redhat.com>
4244
4245 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4246 "evaluated-by".
4247
4248 2015-08-13 Joel Brobecker <brobecker@adacore.com>
4249
4250 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4251
4252 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4253
4254 * gdb.ada/fun_renaming.exp: New testcase.
4255 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4256 * gdb.ada/fun_renaming/pack.adb: New file.
4257 * gdb.ada/fun_renaming/pack.ads: New file.
4258
4259 2015-08-12 Keith Seitz <keiths@redhat.com>
4260
4261 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4262 gdb_get_line_number.
4263
4264 2015-08-12 Joel Brobecker <brobecker@adacore.com>
4265
4266 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4267 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4268 gdb.base/dso2dso.exp: New files.
4269
4270 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4271 Pedro Alves <palves@redhat.com>
4272 Keith Seitz <keiths@redhat.com>
4273
4274 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4275 GDBFLAGS.
4276
4277 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4278
4279 * gdb.base/gdbhistsize-history.exp
4280 (test_histsize_history_setting): Use save_vars.
4281 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4282 Use save_vars.
4283 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4284 * gdb.base/readline.exp: Use save_vars.
4285
4286 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4287
4288 * lib/gdb.exp (save_vars): New proc.
4289
4290 2015-08-11 Keith Seitz <keiths@redhat.com>
4291
4292 * gdb.base/help.exp: Update help_breakpoint_text.
4293
4294 2015-08-11 Keith Seitz <keiths@redhat.com>
4295
4296 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4297 (at toplevel): Call test_explicit_breakpoints.
4298 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4299 breakpoints.
4300 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4301 breakpoint conditions, "-cond".
4302
4303 2015-08-11 Keith Seitz <keiths@redhat.com>
4304
4305 * gdb.linespec/3explicit.c: New file.
4306 * gdb.linespec/cpexplicit.cc: New file.
4307 * gdb.linespec/cpexplicit.exp: New file.
4308 * gdb.linespec/explicit.c: New file.
4309 * gdb.linespec/explicit.exp: New file.
4310 * gdb.linespec/explicit2.c: New file.
4311 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4312 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4313 before using in the matching pattern.
4314 Clarify that `prefix' is a regular expression.
4315
4316 2015-08-11 Keith Seitz <keiths@redhat.com>
4317
4318 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4319 test.
4320 Add tests for missing ",FMT" and ",".
4321
4322 2015-08-10 Doug Evans <dje@google.com>
4323 Keith Seitz <keiths@redhat.com>
4324
4325 PR gdb/17960
4326 * gdb.base/completion.exp: Add location completer tests.
4327
4328 2015-08-07 Pedro Alves <palves@redhat.com>
4329
4330 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4331 tests here.
4332 (top level): Run do_test with and without displaced stepping.
4333
4334 2015-08-07 Pedro Alves <palves@redhat.com>
4335
4336 * gdb.base/valgrind-disp-step.c: New file.
4337 * gdb.base/valgrind-disp-step.exp: New file.
4338
4339 2015-08-07 Pedro Alves <palves@redhat.com>
4340
4341 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4342 Delete function.
4343 (main): Add alarm. Run an infinite loop instead of calling
4344 wait_threads.
4345 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4346 comment.
4347 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4348 Delete function.
4349 (main): Add alarm. Run an infinite loop instead of calling
4350 wait_threads.
4351 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4352 comment.
4353
4354 2015-08-07 Pedro Alves <palves@redhat.com>
4355
4356 * gdb.base/checkpoint-ns.exp: New file.
4357 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4358 standard_testfile.
4359
4360 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4361
4362 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4363 * gdb.btrace/instruction_history.exp: Update.
4364 * gdb.btrace/tsx.exp: New.
4365 * gdb.btrace/tsx.c: New.
4366
4367 2015-08-06 Pedro Alves <palves@redhat.com>
4368
4369 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4370 increase timeout.
4371 * gdb.reverse/until-precsave.exp: Bump timeouts.
4372
4373 2015-08-06 Pedro Alves <palves@redhat.com>
4374
4375 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4376
4377 2015-08-06 Pedro Alves <palves@redhat.com>
4378
4379 PR gdb/18749
4380 * gdb.threads/process-dies-while-handling-bp.c: New file.
4381 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4382
4383 2015-08-06 Pedro Alves <palves@redhat.com>
4384
4385 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4386 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4387
4388 2015-08-05 Pedro Alves <palves@redhat.com>
4389
4390 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4391 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4392
4393 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4394
4395 * gdb.base/bp-permanent.exp: Report test as unsupported if
4396 the target cannot stop at the permanent breakpoint.
4397
4398 2015-08-03 Doug Evans <dje@google.com>
4399
4400 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4401 10000.
4402
4403 2015-08-03 Doug Evans <dje@google.com>
4404
4405 * Makefile.in (workers/%.worker, build-perf): New rule.
4406 (GDB_PERFTEST_MODE): New variable.
4407 (check-perf): Use it.
4408 (clean): Clean up gdb.perf parallel build subdirs.
4409 * lib/build-piece.exp: New file.
4410 * lib/gdb.exp (make_gdb_parallel_path): New function
4411 (standard_output_file, standard_temp_file): Call it.
4412 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4413 of $GDB_PARALLEL.
4414 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4415
4416 2015-08-03 Doug Evans <dje@google.com>
4417
4418 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
4419 (LOG_FILE_NAME): New global.
4420 (TextReporter.__init__): Initialize self.txt_sum.
4421 (TextReporter.report): Add support for multiple data-points.
4422 Move report to perftest.sum, put raw data in perftest.log.
4423 (TextReporter.start): Open sum and log files.
4424 (TextReporter.end): Close sum and log files.
4425 * gdb.perf/lib/perftest/testresult.py
4426 (SingleStatisticTestResult.record): Handle multiple data-points.
4427
4428 2015-07-31 Pedro Alves <palves@redhat.com>
4429
4430 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4431 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4432 kill_wait_spawned_process instead of explicit "kill -9".
4433 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4434 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4435 kill_wait_spawned_process.
4436 * gdb.base/attach-twice.exp: Likewise.
4437 * gdb.base/attach.exp: Likewise.
4438 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4439 gdb_test_multiple.
4440 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4441 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4442 kill_wait_spawned_process.
4443 * gdb.base/valgrind-infcall.exp: Likewise.
4444 * gdb.multi/multi-attach.exp: Likewise.
4445 * gdb.python/py-prompt.exp: Likewise.
4446 * gdb.python/py-sync-interp.exp: Likewise.
4447 * gdb.server/ext-attach.exp: Likewise.
4448 * gdb.threads/attach-into-signal.exp (corefunc): Use
4449 spawn_wait_for_attach, spawn_id_get_pid and
4450 kill_wait_spawned_process.
4451 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4452 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4453 spawn_id_get_pid and kill_wait_spawned_process.
4454 * gdb.threads/attach-stopped.exp (corefunc): Use
4455 spawn_wait_for_attach, spawn_id_get_pid and
4456 kill_wait_spawned_process.
4457 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4458 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4459 kill_wait_spawned_process instead of explicit "kill -9".
4460 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4461 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4462 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4463 processes. Don't map cygwin/windows pids here. Now returns a
4464 spawn id list.
4465
4466 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4467
4468 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4469 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4470 correct patch.
4471
4472 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4473
4474 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4475
4476 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4477
4478 Reapply:
4479 2014-05-21 Mark Wielaard <mjw@redhat.com>
4480
4481 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4482
4483 2015-07-30 Pedro Alves <palves@redhat.com>
4484
4485 * linux-low.c (handle_extended_wait): Set the child's last
4486 reported status to TARGET_WAITKIND_STOPPED.
4487
4488 2015-07-30 Pedro Alves <palves@redhat.com>
4489
4490 PR threads/18600
4491 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4492 only shows inferior 1.
4493
4494 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4495 Pedro Alves <palves@redhat.com>
4496
4497 PR threads/18600
4498 * gdb.threads/fork-plus-threads.c: New file.
4499 * gdb.threads/fork-plus-threads.exp: New file.
4500
4501 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4502
4503 * gdb.base/batch-preserve-term-settings.exp
4504 (test_terminal_settings_preserved_after_cli_exit): Use
4505 send_quit_command.
4506
4507 2015-07-29 Pedro Alves <palves@redhat.com>
4508 Don Breazeal <donb@codesourcery.com>
4509
4510 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4511 output from both inferior_spawn_id and gdb_spawn_id.
4512
4513 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4514
4515 * gdb.threads/attach-into-signal.exp (corefunc): Use
4516 with_test_prefix on nested loops, uniquefying the test messages.
4517
4518 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4519
4520 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4521 commit.
4522
4523 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4524
4525 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4526 New proc.
4527 (test_terminal_settings_preserved_after_sigterm): New test.
4528
4529 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4530
4531 * gdb.base/batch-preserve-term-settings.exp
4532 (test_terminal_settings_preserved_after_cli_exit): New test.
4533
4534 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4535
4536 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4537 manipulation of saved_gdbflags.
4538 (test_terminal_settings_preserved): Remove global declaration of
4539 the unused variable pagination_prompt. Remove manipulation of
4540 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4541 GDBFLAGS.
4542
4543 2015-07-29 Pedro Alves <palves@redhat.com>
4544
4545 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4546
4547 2015-07-29 Pedro Alves <palves@redhat.com>
4548
4549 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4550 at the top.
4551
4552 2015-07-29 Pedro Alves <palves@redhat.com>
4553
4554 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4555 (main): Call gdb_unbuffer_output.
4556 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4557 (main): Call gdb_unbuffer_output.
4558 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4559 (main): Call gdb_unbuffer_output.
4560 * gdb.base/call-strs.exp: Adjust to step over the
4561 gdb_unbuffer_output call.
4562 * gdb.base/catch-gdb-caused-signals.c: Include
4563 "../lib/unbuffer_output.c".
4564 (main): Call gdb_unbuffer_output.
4565 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4566 (main): Call gdb_unbuffer_output.
4567 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4568 (main): Call gdb_unbuffer_output.
4569 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4570 (main): Call gdb_unbuffer_output.
4571 * gdb.base/shlib-call.exp: Adjust to step over the
4572 gdb_unbuffer_output call.
4573 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4574 (main): Call gdb_unbuffer_output.
4575 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4576 (main): Call gdb_unbuffer_output.
4577 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4578 (main): Rename to ...
4579 (test): ... this.
4580 (main): Reimplement.
4581 * gdb.base/varargs.exp: Run to test instead of to main.
4582 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4583 (main): Call gdb_unbuffer_output.
4584
4585 2015-07-29 Pedro Alves <palves@redhat.com>
4586
4587 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4588 factore out from mi_continue_dprintf. For call-style dprintfs,
4589 expect dprintf output out of $inferior_spawn_id.
4590 (mi_continue_dprintf): Use mi_expect_dprintf.
4591 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4592 (main): Call gdb_unbuffer_output.
4593
4594 2015-07-29 Pedro Alves <palves@redhat.com>
4595
4596 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4597 (default_mi_gdb_start): Set inferior_spawn_id instead of
4598 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4599 gdb_spawn_id.
4600 (mi_gdb_test): Always expect inferior output from both
4601 $inferior_spawn_id and $gdb_spawn_id.
4602
4603 2015-07-29 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4606 send_inferior and $inferior_spawn_id.
4607
4608 2015-07-29 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.gdb/complaints.exp (test_initial_complaints)
4611 (test_serial_complaints, test_short_complaints): Use
4612 gdb_test_stdio.
4613 (test_empty_complaint): Handle $inferior_spawn_id !=
4614 $gdb_spawn_id.
4615
4616 2015-07-29 Pedro Alves <palves@redhat.com>
4617
4618 * gdb.base/varargs.exp: Use gdb_test_stdio.
4619
4620 2015-07-29 Pedro Alves <palves@redhat.com>
4621
4622 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4623
4624 2015-07-29 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4627
4628 2015-07-29 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4631 parameter into two new parameters, "inf_result" and "gdb_result".
4632 Expect inferior output and gdb output from $inferior_spawn_id and
4633 $gdb_spawn_id, respectively. Adjust all callers.
4634
4635 2015-07-29 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4638 of gdb_test_sequence.
4639
4640 2015-07-29 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4643 (saw_spurious_output): Expect inferior output from
4644 $inferior_spawn_id. Use gdb_test_stdio.
4645
4646 2015-07-29 Pedro Alves <palves@redhat.com>
4647
4648 * gdb.base/dprintf.exp: Use standard_testfile. Change
4649 prepare_for_testing call.
4650 (srcfile): Don't set.
4651 (restart): New procedure.
4652 (test_dprintf): New procecure, use to continue over dprintfs.
4653 (test_call, test_agent): New procedures, tests moved here.
4654 Restart gdb and recreate dprintfs. Adjust expected output.
4655
4656 2015-07-29 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4659
4660 2015-07-29 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4663
4664 2015-07-29 Pedro Alves <palves@redhat.com>
4665
4666 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4667 gdb_test_stdio.
4668
4669 2015-07-29 Pedro Alves <palves@redhat.com>
4670
4671 * lib/gdb.exp (gdb_test_stdio): New procedure.
4672
4673 2015-07-29 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4676
4677 2015-07-29 Pedro Alves <palves@redhat.com>
4678
4679 * gdb.base/call-signal-resume.exp: Remove check for
4680 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4681 * gdb.base/unwindonsignal.exp: Likewise.
4682 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4683 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4684
4685 2015-07-29 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.base/siginfo-addr.c (pass): New function.
4688 (handler): Call it iff si_addr is correct.
4689 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4690 Set a breakpoint at "pass" and continue to it.
4691
4692 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4693
4694 * gdb.python/py-objfile.exp: Make some tests have unique names.
4695 * gdb.python/py-pp-registration.exp: Likewise.
4696
4697 2015-07-28 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4700
4701 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4702
4703 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4704
4705 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4706
4707 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4708
4709 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4710
4711 * gdb.base/gdb-sigterm-2.exp: New test.
4712
4713 2015-07-25 Doug Evans <xdje42@gmail.com>
4714
4715 Revert:
4716 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4717 (workers/%.worker, build-perf): New rule.
4718 (GDB_PERFTEST_MODE): New variable.
4719 (check-perf): Use it.
4720 (clean): Clean up gdb.perf parallel build subdirs.
4721 * lib/build-piece.exp: New file.
4722 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4723 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4724 name.
4725 (standard_temp_file): Ditto.
4726 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4727 of $GDB_PARALLEL.
4728
4729 2015-07-24 Doug Evans <dje@google.com>
4730
4731 * gdb.perf/lib/perftest/utils.py: New file.
4732 * gdb.perf/gm-hello.cc: New file.
4733 * gdb.perf/gm-pervasive-typedef.cc: New file.
4734 * gdb.perf/gm-pervasive-typedef.h: New file.
4735 * gdb.perf/gm-std.cc: New file.
4736 * gdb.perf/gm-std.h: New file.
4737 * gdb.perf/gm-use-cerr.cc: New file.
4738 * gdb.perf/gm-utils.h: New file.
4739 * gdb.perf/gmonster-null-lookup.py: New file.
4740 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4741 * gdb.perf/gmonster-print-cerr.py: New file.
4742 * gdb.perf/gmonster-ptype-string.py: New file.
4743 * gdb.perf/gmonster-runto-main.py: New file.
4744 * gdb.perf/gmonster-select-file.py: New file.
4745 * gdb.perf/gmonster1-null-lookup.exp: New file.
4746 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4747 * gdb.perf/gmonster1-print-cerr.exp: New file.
4748 * gdb.perf/gmonster1-ptype-string.exp: New file.
4749 * gdb.perf/gmonster1-runto-main.exp: New file.
4750 * gdb.perf/gmonster1-select-file.exp: New file.
4751 * gdb.perf/gmonster1.cc: New file.
4752 * gdb.perf/gmonster1.exp: New file.
4753 * gdb.perf/gmonster2-null-lookup.exp: New file.
4754 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4755 * gdb.perf/gmonster2-print-cerr.exp: New file.
4756 * gdb.perf/gmonster2-ptype-string.exp: New file.
4757 * gdb.perf/gmonster2-runto-main.exp: New file.
4758 * gdb.perf/gmonster2-select-file.exp: New file.
4759 * gdb.perf/gmonster2.cc: New file.
4760 * gdb.perf/gmonster2.exp: New file.
4761
4762 2015-07-24 Doug Evans <dje@google.com>
4763
4764 * gdb.perf/README: New file.
4765 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4766 * lib/gen-perf-test.exp: New file.
4767
4768 2015-07-24 Doug Evans <dje@google.com>
4769
4770 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4771 (PerfTest::startup): New function.
4772 (PerfTest::run): Return result of calling body.
4773 (PerfTest::assemble): Rewrite.
4774 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4775 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4776 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4777 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4778 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4779
4780 2015-07-24 Doug Evans <dje@google.com>
4781
4782 * lib/gdb.exp (clean_restart): Make executable optional.
4783
4784 2015-07-24 Doug Evans <dje@google.com>
4785
4786 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4787 compiler_info references.
4788 * gdb.cp/temargs.exp: Ditto.
4789 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4790 (get_compiler_info): Early exit if already computed. Set compiler_info
4791 to "unknown" if there was a problem.
4792 (test_compiler_info): Add function comment. Call get_compiler_info.
4793
4794 2015-07-24 Doug Evans <dje@google.com>
4795
4796 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4797 (workers/%.worker, build-perf): New rule.
4798 (GDB_PERFTEST_MODE): New variable.
4799 (check-perf): Use it.
4800 (clean): Clean up gdb.perf parallel build subdirs.
4801 * lib/build-piece.exp: New file.
4802 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4803 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4804 name.
4805 (standard_temp_file): Ditto.
4806 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4807 of $GDB_PARALLEL.
4808
4809 2015-07-24 Doug Evans <dje@google.com>
4810
4811 * lib/future.exp (gdb_default_target_compile): New option
4812 "early_flags".
4813 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4814 --as-needed.
4815
4816 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4817
4818 * gdb.base/catch-syscall.exp: Call gdb_exit before
4819 gdb_skip_xml_test.
4820
4821 2015-07-24 Pedro Alves <palves@redhat.com>
4822
4823 * gdb.python/py-events.exp: Accept output between the stop event
4824 and the prompt.
4825 * gdb.python/py-evsignal.exp: Likewise.
4826 * gdb.python/py-evthreads.exp: Likewise.
4827
4828 2015-07-24 Pedro Alves <palves@redhat.com>
4829
4830 PR gdb/18717
4831 * gdb.threads/non-ldr-exit.c: New file.
4832 * gdb.threads/non-ldr-exit.exp: New file.
4833
4834 2015-07-24 Yao Qi <yao.qi@linaro.org>
4835
4836 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4837 restarting process.
4838
4839 2015-07-24 Yao Qi <yao.qi@linaro.org>
4840
4841 * gdb.server/ext-restart.exp: New file.
4842
4843 2015-07-24 Yao Qi <yao.qi@linaro.org>
4844
4845 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4846 argument options.
4847 * gdb.server/ext-wrapper.exp: New file.
4848
4849 2015-07-23 Doug Evans <dje@google.com>
4850
4851 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4852 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4853
4854 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4855
4856 * gdb.ada/var_arr_typedef.exp: New testcase.
4857 * gdb.ada/var_arr_typedef/pack.adb: New file.
4858 * gdb.ada/var_arr_typedef/pack.ads: New file.
4859 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4860
4861 2015-07-20 Joel Brobecker <brobecker@adacore.com>
4862
4863 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4864
4865 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4866
4867 * gdb.arch/i386-biarch-core.exp: Replace istarget
4868 by "complete set gnutarget". Remove expectation for the "core-file"
4869 command.
4870
4871 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4872
4873 Revert the previous commit:
4874 Tests for validate symbol file using build-id.
4875
4876 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4877
4878 Tests for validate symbol file using build-id.
4879 * gdb.base/solib-mismatch-lib.c: New file.
4880 * gdb.base/solib-mismatch-libmod.c: New file.
4881 * gdb.base/solib-mismatch.c: New file.
4882 * gdb.base/solib-mismatch.exp: New file.
4883
4884 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4885
4886 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4887 nios2-*-linux*.
4888 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4889 * gdb.base/siginfo.exp: Likewise.
4890 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4891
4892 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4893
4894 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4895 Move it to ...
4896 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4897 ... here.
4898 * gdb.trace/range-stepping.exp: Check that the target supports
4899 range stepping.
4900
4901 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4902
4903 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4904
4905 2015-07-14 Pedro Alves <palves@redhat.com>
4906
4907 * gdb.base/killed-outside.exp: New file.
4908 * gdb.base/killed-outside.c: New file.
4909
4910 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4911
4912 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4913 (n at main): New.
4914 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4915
4916 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4917
4918 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4919 infcall tests instead of setting up for KFAIL.
4920
4921 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4922
4923 * gdb.btrace/record_goto-step.exp: New.
4924
4925 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4926
4927 PR compile/18484
4928 * gdb.compile/compile.c (struct struct_type): Add volatile to
4929 selffield's type.
4930 * gdb.compile/compile.exp
4931 (compile code struct_object.selffield = &struct_object): Skip further
4932 struct_object tests if this one xfails.
4933
4934 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
4935
4936 PR exp/18617
4937 * gdb.trace/ax.exp: Add test.
4938
4939 2015-07-07 Yao Qi <yao.qi@linaro.org>
4940
4941 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4942 instead of istarget "aarch64*-*-*".
4943 * gdb.arch/aarch64-fp.exp: Likewise.
4944 * gdb.base/float.exp: Likewise.
4945 * gdb.reverse/aarch64.exp: Likewise.
4946 * lib/gdb.exp (is_aarch64_target): New proc.
4947
4948 2015-07-07 Yao Qi <yao.qi@linaro.org>
4949
4950 * lib/gdb.exp (is_aarch32_target): New proc.
4951 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4952 instead of "istarget "arm*-*-*"".
4953 * gdb.arch/arm-disp-step.exp: Likewise.
4954 * gdb.arch/thumb-bx-pc.exp: Likewise.
4955 * gdb.arch/thumb-prologue.exp: Likewise.
4956 * gdb.arch/thumb-singlestep.exp: Likewise.
4957 * gdb.base/disp-step-syscall.exp: Likewise.
4958 * gdb.base/float.exp: Likewise.
4959
4960 2015-07-07 Yao Qi <yao.qi@linaro.org>
4961
4962 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4963 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4964
4965 2015-07-07 Yao Qi <yao.qi@linaro.org>
4966
4967 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4968 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4969 if it exists.
4970 * gdb.multi/multi-arch.exp: Likewise.
4971
4972 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4973
4974 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4975 print.
4976
4977 2015-07-07 Yao Qi <yao.qi@linaro.org>
4978
4979 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4980
4981 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4982
4983 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4984 '[' and ']' characters.
4985
4986 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4987
4988 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4989
4990 2015-06-29 Pedro Alves <palves@redhat.com>
4991
4992 PR threads/18127
4993 * gdb.threads/hand-call-new-thread.c: New file.
4994 * gdb.threads/hand-call-new-thread.c: New file.
4995
4996 2015-06-26 Keith Seitz <keiths@redhat.com>
4997 Doug Evans <dje@google.com>
4998
4999 PR 16253
5000 * gdb.cp/var-tag-2.cc: New file.
5001 * gdb.cp/var-tag-3.cc: New file.
5002 * gdb.cp/var-tag-4.cc: New file.
5003 * gdb.cp/var-tag.cc: New file.
5004 * gdb.cp/var-tag.exp: New file.
5005
5006 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5007
5008 * gdb.base/history-duplicates.exp: New test.
5009
5010 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5011
5012 * gdb.base/completion.exp: Test the completion of the "focus"
5013 command.
5014
5015 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5016
5017 * gdb.arch/amd64-prologue-skip.S: New file.
5018 * gdb.arch/amd64-prologue-skip.exp: New file.
5019
5020 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5021
5022 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5023 is_address_zero_readable check.
5024
5025 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5026
5027 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5028 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5029
5030 2015-06-24 Yao Qi <yao.qi@linaro.org>
5031
5032 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5033 linux targets.
5034
5035 2015-06-24 Yao Qi <yao.qi@linaro.org>
5036
5037 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5038 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5039 * gdb.base/siginfo-thread.exp: Likewise.
5040
5041 2015-06-22 Yao Qi <yao.qi@linaro.org>
5042
5043 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5044
5045 2015-06-22 Yao Qi <yao.qi@linaro.org>
5046
5047 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5048 aarch64*-*-*.
5049 (skip_hw_watchpoint_tests): Likewise.
5050
5051 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5052
5053 * gdb.base/gdbinit-history.exp: Test the interaction between
5054 setting GDBHISTSIZE and setting the history size via .gdbinit.
5055
5056 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5057
5058 PR gdb/16999
5059 * gdb.base/gdbhistsize-history.exp: New test.
5060
5061 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5062
5063 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5064 with GDBHISTSIZE.
5065 * gdb.base/readline.exp: Likewise.
5066
5067 2015-06-17 Yao Qi <yao.qi@linaro.org>
5068
5069 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5070 line.
5071
5072 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5073
5074 * gdb.base/gdbinit-history.exp: Add test case to check that
5075 an unlimited history file does not get truncated on exit.
5076
5077 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5078
5079 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5080 (VECTOR): New macro. Use it...
5081 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5082 ...for these typedefs.
5083 (int8, char1, int1, double1): New typedefs.
5084 (struct just_int2, struct two_int2): New structures.
5085 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5086 (add_structvecs, add_singlevecs): New functions.
5087 (main): Call add_some_intvecs twice.
5088 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5089 the compile and exit upon failure. Try compiling for the "native"
5090 architecture. Test inferior function calls with vector arguments
5091 and vector return value handling with "finish" and "return".
5092
5093 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5094
5095 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5096 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5097 PE file.
5098 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5099
5100 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5101
5102 PR breakpoints/16465
5103 * gdb.mi/mi-dprintf-pending.c: New file.
5104 * gdb.mi/mi-dprintf-pending.exp: New test.
5105 * gdb.mi/mi-dprintf-pendshr.c: New file.
5106
5107 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5108 Mircea Gherzan <mircea.gherzan@intel.com>
5109
5110 * gdb.arch/i386-mpx-map.c: New file.
5111 * gdb.arch/i386-mpx-map.exp: New File.
5112
5113 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5114
5115 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5116 * gdb.arch/i386-mpx.exp: Indentation fixed.
5117
5118 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5119
5120 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5121 function and improved indentation.
5122 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5123 gdb_test_multiple. Added additional tests to skip the test.
5124
5125 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5126
5127 * gdb.arch/i386-avx512.c: Change path in include file.
5128 * gdb.arch/i386-avx512.exp: Change include dir path
5129 compilation flag.
5130 * gdb.arch/i386-mpx.c: Change path in include file.
5131 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5132 flag.
5133
5134 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5135
5136 * gdb.compile/compile-print.exp (compile print *vararray@3)
5137 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5138
5139 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5142 (do not keep jit in memory): ... this.
5143 (expect 5): Change it to ...
5144 (expect no 5): ... this.
5145
5146 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5147
5148 PR gdb/15564
5149 * gdb.mi/mi-detach.exp: New file.
5150
5151 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 PR symtab/18392
5154 * gdb.arch/amd64-tailcall-self.S: New file.
5155 * gdb.arch/amd64-tailcall-self.c: New file.
5156 * gdb.arch/amd64-tailcall-self.exp: New file.
5157
5158 2015-05-28 Don Breazeal <donb@codesourcery.com>
5159
5160 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5161 tests for remote targets by checking is_target_gdbserver.
5162
5163 2015-05-27 Doug Evans <dje@google.com>
5164
5165 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5166 * gdb.dwarf2/opaque-type-lookup.c: New file.
5167 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5168
5169 2015-05-26 Doug Evans <dje@google.com>
5170
5171 * gdb.cp/iostream.cc: New file.
5172 * gdb.cp/iostream.exp: New file.
5173
5174 2015-05-26 Doug Evans <dje@google.com>
5175
5176 * gdb.dwarf2/dw2-op-call.exp: Update.
5177 * gdb.dwarf2/dw4-sig-types.exp: Update.
5178 * gdb.dwarf2/implptr.exp: Update.
5179 * gdb.mi/mi-cmd-param-changed.exp: Update.
5180
5181 2015-05-26 Doug Evans <dje@google.com>
5182
5183 * gdb.python/py-lazy-string.c: New file.
5184 * gdb.python/py-lazy-string.exp: New file.
5185 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5186 (main): Update. Add estring3.
5187 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5188 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5189
5190 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5191 Yao Qi <yao.qi@linaro.org>
5192
5193 * gdb.reverse/aarch64.c: New.
5194 * gdb.reverse/aarch64.exp: New.
5195
5196 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
5197
5198 * lib/gdb.exp (supports_process_record): Return true for
5199 aarch64*-linux*.
5200 (supports_reverse): Likewise.
5201
5202 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5203
5204 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5205 Use with_test_prefix.
5206
5207 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5208
5209 * gdb.base/completion.exp: Add test for completion of layout
5210 names.
5211
5212 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5213
5214 * lib/gdb.exp (skip_tui_tests): New proc.
5215 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5216
5217 2015-05-19 Pedro Alves <palves@redhat.com>
5218
5219 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5220 Save the whole env array instead of just HOME. Unset HISTSIZE in
5221 the environment while testing. Restore whole environment
5222 afterwards.
5223
5224 2015-05-16 Doug Evans <xdje42@gmail.com>
5225
5226 * gdb.guile/scm-ports.c: New file.
5227 * gdb.guile/scm-ports.exp: Add memory port tests.
5228
5229 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5230
5231 * gdb.compile/compile-print.c: New file.
5232 * gdb.compile/compile-print.exp: New file.
5233
5234 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5235
5236 * gdb.compile/compile-ops.exp: Cast param to void.
5237 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5238 (compile code struct_object.selffield = &struct_object): Add xfail.
5239
5240 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5241
5242 * gdb.ada/arr_enum_with_gap: New testcase.
5243
5244 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5245
5246 * gdb.ada/byte_packed_arr: New testcase.
5247
5248 2015-05-15 Joel Brobecker <brobecker@adacore.com>
5249
5250 * gdb.ada/pckd_neg: New testcase.
5251
5252 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5253
5254 PR gdb/17820
5255 * gdb.base/gdbinit-history.exp: New test.
5256 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5257 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5258
5259 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5260
5261 * gdb.python/py-xmethods.cc: Enhance test case.
5262 * gdb.python/py-xmethods.exp: New tests.
5263 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5264 function.
5265 (B_indexoper): Likewise.
5266 (global_dm_list) : Add new xmethod worker functions.
5267
5268 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5269
5270 * gdb.base/coredump-filter.exp: Correctly unset
5271 "coredump_var_addr" array.
5272
5273 2015-05-08 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.server/non-existing-program.exp: Unset spawn_id.
5276
5277 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5278
5279 PR python/18291
5280 * gdb.python/py-xmethods.exp: Add tests.
5281
5282 2015-05-08 Yao Qi <yao.qi@linaro.org>
5283
5284 PR gdb/18208
5285 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5286 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5287 function set_coredump_filter, and remove remote_exec call.
5288 Remove argument ipid. Callers update.
5289 (top level): Don't get inferior's PID.
5290
5291 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5292
5293 * gdb.base/watch_thread_num.exp: Skip test on targets without
5294 access watchpoints.
5295
5296 2015-05-06 Pedro Alves <palves@redhat.com>
5297
5298 PR server/18081
5299 * gdb.server/non-existing-program.exp: New file.
5300
5301 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5302
5303 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5304
5305 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5306
5307 * gdb.ada/out_of_line_in_inlined: New testcase.
5308
5309 2015-05-05 Joel Brobecker <brobecker@adacore.com>
5310
5311 * gdb.ada/var_rec_arr: New testcase.
5312
5313 2015-04-30 Yao Qi <yao.qi@linaro.org>
5314
5315 * gdb.base/break-idempotent.exp: If
5316 skip_hw_watchpoint_multi_tests returns true, skip the tests
5317 on "rwatch" and "awatch".
5318
5319 2015-04-30 Yao Qi <yao.qi@linaro.org>
5320
5321 * gdb.base/relativedebug.exp: Invoke gdb command
5322 "info sharedlibrary", and if libc.so doesn't have debug info,
5323 skip the test.
5324
5325 2015-04-29 Doug Evans <dje@google.com>
5326
5327 * gdb.python/py-xmethods.exp: Add ptype tests.
5328 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5329 get_result_type method.
5330
5331 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5332
5333 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5334 the target does not support hardware watchpoints.
5335
5336 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
5337
5338 * gdb.base/break-always.exp: Abort testing if writing to memory
5339 causes an error.
5340
5341 2015-04-28 Doug Evans <dje@google.com>
5342
5343 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5344 * gdb.python/py-pp-registration.exp: ... here. New file.
5345 * gdb.python/py-pp-registration.c: New file.
5346 * gdb.python/py-pp-registration.py: New file.
5347
5348 2015-04-28 Doug Evans <dje@google.com>
5349
5350 * gdb.python/py-bad-printers.c: New file.
5351 * gdb.python/py-bad-printers.py: New file.
5352 * gdb.python/py-bad-printers.exp: New file.
5353
5354 2015-04-28 Sasha Smundak <asmundak@google.com>
5355
5356 * gdb.python/py-type.exp: New test.
5357
5358 2015-04-28 Andy Wingo <wingo@igalia.com>
5359
5360 * gdb.python/py-parameter.exp:
5361 * gdb.guile/scm-parameter.exp: Escape the path that we are
5362 matching against, as it might contain characters that are special
5363 to regular expressions.
5364
5365 2015-04-27 Joel Brobecker <brobecker@adacore.com>
5366
5367 * gdb.ada/rec_comp: New testcase.
5368
5369 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5370
5371 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5372 before using it.
5373
5374 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5375
5376 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5377 new tests for verilog output.
5378
5379 2015-04-24 Yao Qi <yao.qi@linaro.org>
5380
5381 * boards/remote-gdbserver-on-localhost.exp: New file.
5382
5383 2015-04-23 Pedro Alves <palves@redhat.com>
5384
5385 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5386 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5387 "end of file", remove $inferior_spawn_id from the indirect list.
5388
5389 2015-04-23 Pedro Alves <palves@redhat.com>
5390
5391 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5392
5393 2015-04-23 Pedro Alves <palves@redhat.com>
5394
5395 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5396 on $any_spawn_id instead of only on $gdb_spawn_id.
5397
5398 2015-04-21 Pierre Muller <muller@sourceware.org>
5399
5400 PR pascal/17815
5401 * lib/pascal.exp (gpc_compile): Add new option "class".
5402 (fpc_compile): Likewise.
5403 * gdb.pascal/case-insensitive-symbols.pas: New file.
5404 * gdb.pascal/case-insensitive-symbols.exp: New file.
5405
5406 2015-04-20 Gary Benson <gbenson@redhat.com>
5407
5408 * gdb.base/attach.exp: Fix three extended remote failures.
5409
5410 2015-04-17 Gary Benson <gbenson@redhat.com>
5411
5412 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5413 the main executable over the remote protocol.
5414
5415 2015-04-16 Pedro Alves <palves@redhat.com>
5416
5417 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5418 a new gdbserver if gdbserver_reconnect_p is set.
5419
5420 2015-04-16 Pedro Alves <palves@redhat.com>
5421
5422 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5423 is set, don't exit gdbserver.
5424
5425 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5426
5427 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5428 appropriate .insn, such that an older assembler can be used.
5429 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5430 the z/Architecture instruction set on 31-bit targets as well.
5431
5432 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5433
5434 * gdb.go/handcall.exp: Remove all logic related to the first
5435 breakpoint and rely on go_runto_main instead.
5436 * gdb.go/strings.exp: Likewise.
5437 * gdb.go/unsafe.exp: Likewise.
5438 * gdb.go/hello.exp: Likewise. Also rename the remaining
5439 breakpoint marker to "breakpoint 1".
5440 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5441 * gdb.go/strings.go: Likewise.
5442 * gdb.go/unsafe.go: Likewise.
5443 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5444 "set breakpoint 2 here" and rename the remaining breakpoint marker
5445 to "breakpoint 1".
5446
5447 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5448
5449 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5450 if itertools.imap is not present.
5451 * gdb.python/py-objfile.exp: Add parentheses.
5452 * gdb.python/py-type.exp: Same.
5453 * gdb.python/py-unwind-maint.py: Same.
5454
5455 2015-04-15 Yao Qi <yao.qi@linaro.org>
5456
5457 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5458 of ":$ptr_size" and set its form explicitly.
5459
5460 2015-04-15 Pedro Alves <palves@redhat.com>
5461 Yao Qi <yao.qi@linaro.org>
5462
5463 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5464 timeout by factor of 4.
5465 (test_regular_watch): Likewise.
5466 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5467 * gdb.reverse/sigall-reverse.exp: Likewise.
5468 * gdb.reverse/until-precsave.exp: Likewise.
5469 * lib/gdb.exp (with_timeout_factor): New proc.
5470 (gdb_expect): Move some code to ...
5471 (get_largest_timeout): ... here. New procedure.
5472
5473 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
5474
5475 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5476
5477 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5478
5479 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5480 to write to the .text section.
5481
5482 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
5483
5484 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5485 Handle the case of targets that do not provide PID information.
5486
5487 2015-04-13 Yao Qi <yao.qi@linaro.org>
5488
5489 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5490 and use expect instead of gdb_expect.
5491
5492 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5493
5494 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5495 "coredump_var_addr" to avoid naming conflict with other testcases.
5496
5497 2015-04-10 Pedro Alves <palves@redhat.com>
5498
5499 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5500 gdb_test_sequence and gdb_assert.
5501
5502 2015-04-10 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5505 test messages that don't include the breakpoint address.
5506
5507 2015-04-10 Yao Qi <yao.qi@linaro.org>
5508
5509 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5510 false for some offset and width combinations which aren't
5511 supported by linux kernel.
5512
5513 2015-04-10 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5516 procedure, factored out from ...
5517 (top level): ... here. Add "set displaced-stepping" testing axis.
5518 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5519 parameter "displaced". Use it.
5520 (top level): Use foreach and add "set displaced-stepping" testing
5521 axis.
5522
5523 2015-04-10 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5526 Remove comment.
5527 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5528 both the address of the instruction that triggers the watchpoint
5529 and the address of the instruction immediately after, and use
5530 those addresses for the test. Fix comment.
5531
5532 2015-04-10 Pedro Alves <palves@redhat.com>
5533
5534 * gdb.base/sigstep.exp (breakpoint_to_handler)
5535 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5536 Test "backtrace" in handler.
5537 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5538 (top level): Add new "displaced" test axis to
5539 breakpoint_to_handler, breakpoint_to_handler_entry and
5540 breakpoint_over_handler.
5541
5542 2015-04-10 Pedro Alves <palves@redhat.com>
5543
5544 PR gdb/18216
5545 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5546
5547 2015-04-10 Yao Qi <yao.qi@linaro.org>
5548
5549 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5550 (test_add_rn_pc): New function.
5551 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5552 (top level): Invoke test_add_rn_pc.
5553
5554 2015-04-10 Pedro Alves <palves@redhat.com>
5555
5556 PR gdb/13858
5557 * gdb.base/step-over-no-symbols.exp: New file.
5558
5559 2015-04-09 Andy Wingo <wingo@igalia.com>
5560
5561 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5562 after the Python tests.
5563
5564 2015-04-08 Keith Seitz <keiths@redhat.com>
5565
5566 PR python/16699
5567 * gdb.python/py-completion.exp: New tests for completion.
5568 * gdb.python/py-completion.py (CompleteLimit1): New class.
5569 (CompleteLimit2): Likewise.
5570 (CompleteLimit3): Likewise.
5571 (CompleteLimit4): Likewise.
5572 (CompleteLimit5): Likewise.
5573 (CompleteLimit6): Likewise.
5574 (CompleteLimit7): Likewise.
5575
5576 2015-04-08 Pedro Alves <palves@redhat.com>
5577
5578 PR gdb/18214
5579 PR gdb/18216
5580 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5581 function.
5582 (main): Install it as SIGUSR1 handler.
5583 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5584 parameter. Always use "setup" as prefix. Toggle "set
5585 displaced-stepping" off/on depending on global. Don't switch to
5586 thread 1 here.
5587 (top level): Add displaced stepping "off/on" test axis. Update
5588 "setup" calls. Wrap each subtest with with_test_prefix. Test
5589 continuing with a queued signal in each thread.
5590
5591 2015-04-08 Pedro Alves <palves@redhat.com>
5592
5593 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5594 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5595 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5596 Return early if running to main fails.
5597 * gdb.trace/while-stepping.exp: Likewise.
5598
5599 2015-04-07 Pedro Alves <palves@redhat.com>
5600
5601 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5602 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5603 interact with inferior program.
5604
5605 2015-04-07 Pedro Alves <palves@redhat.com>
5606
5607 * lib/gdb.exp (inferior_spawn_id): New global.
5608 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5609 spawn id after processing the user code.
5610 (default_gdb_start): Set inferior_spawn_id.
5611 (send_inferior): New procedure.
5612 * lib/gdbserver-support.exp (gdbserver_start): Set
5613 inferior_spawn_id.
5614 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5615
5616 2015-04-07 Pedro Alves <palves@redhat.com>
5617
5618 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5619 * lib/gdbserver-support.exp (gdbserver_start): Make
5620 $server_spawn_id global.
5621 (gdbserver_start): Don't wait for gdbserver's spawn id with
5622 expect_background.
5623 (close_gdbserver): New procedure.
5624 (gdb_exit): Rename the default version and reimplement.
5625
5626 2015-04-07 Pedro Alves <palves@redhat.com>
5627
5628 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
5629 append the substituted item, not the original item.
5630
5631 2015-04-07 Pedro Alves <palves@redhat.com>
5632
5633 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5634 gdb_expect.
5635
5636 2015-04-07 Pedro Alves <palves@redhat.com>
5637
5638 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5639 output appearing once only.
5640
5641 2015-04-07 Pedro Alves <palves@redhat.com>
5642
5643 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5644 that doesn't expect anything. Return early if running to main
5645 fails.
5646
5647 2015-04-07 Yao Qi <yao.qi@linaro.org>
5648
5649 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5650 (child_function): Call alarm.
5651 (main): Move call to alarm into the loop.
5652 * gdb.threads/non-stop-fair-events.exp: Build program with
5653 -DTIMEOUT=$timeout.
5654
5655 2015-04-06 Doug Evans <xdje42@gmail.com>
5656
5657 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5658 Fix dest parameter to board_info.
5659 (fpc_compile): Ditto.
5660 (gdb_compile_pascal): Rename dest arg to destfile.
5661
5662 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5663
5664 * gdb.ada/funcall_ref.exp: New file.
5665 * gdb.ada/funcall_ref/foo.adb: New file.
5666
5667 2015-04-02 Yao Qi <yao.qi@linaro.org>
5668
5669 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5670 is remote.
5671
5672 2015-04-02 Gary Benson <gbenson@redhat.com>
5673
5674 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5675
5676 2015-04-01 Sasha Smundak <asmundak@google.com>
5677
5678 * gdb.python/py-unwind-maint.c: New file.
5679 * gdb.python/py-unwind-maint.exp: New test.
5680 * gdb.python/py-unwind-maint.py: New file.
5681 * gdb.python/py-unwind.c: New file.
5682 * gdb.python/py-unwind.exp: New test.
5683 * gdb.python/py-unwind.py: New test.
5684
5685 2015-04-01 Pedro Alves <palves@redhat.com>
5686
5687 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5688 to fail instead of non-existent $test.
5689
5690 2015-04-01 Pedro Alves <palves@redhat.com>
5691
5692 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5693 GDBFLAGS if not empty.
5694
5695 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5696
5697 * gdb.ada/complete.exp: Remove "multi_line".
5698 * gdb.ada/info_exc.exp: Remove "multi_line".
5699 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5700 * gdb.ada/ptype_field.exp: Remove "multi_line".
5701 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5702 * gdb.ada/tagged.exp: Remove "multi_line".
5703 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5704 [multi_line ...]
5705 * gdb.btrace/delta.exp: Likewise.
5706 * gdb.btrace/exception.exp: Likewise.
5707 * gdb.btrace/function_call_history.exp: Likewise.
5708 * gdb.btrace/instruction_history.exp: Likewise.
5709 * gdb.btrace/nohist.exp: Likewise.
5710 * gdb.btrace/record_goto.exp: Likewise.
5711 * gdb.btrace/segv.exp: Likewise.
5712 * gdb.btrace/stepi.exp: Likewise.
5713 * gdb.btrace/tailcall.exp: Likewise.
5714 * gdb.btrace/unknown_functions.exp: Likewise.
5715 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5716 * lib/gdb.exp: Add the "multi_line" helper.
5717
5718 2015-04-01 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.threads/tid-reuse.c: New file.
5721 * gdb.threads/tid-reuse.exp: New file.
5722
5723 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5724
5725 PR corefiles/16092
5726 * gdb.base/coredump-filter.c: New file.
5727 * gdb.base/coredump-filter.exp: Likewise.
5728
5729 2015-03-27 Petr Machata <pmachata@redhat.com>
5730
5731 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5732 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5733 (Dwarf::assemble): Initialize them.
5734 (Dwarf::lines): New function.
5735
5736 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5737
5738 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5739 SYMBOL_PREFIX for x86_64-*-cygwin.
5740
5741 2015-03-26 Andy Wingo <wingo@igalia.com>
5742
5743 PR symtab/18148
5744 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5745 const_value but not a location.
5746 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5747 location defined in non-main CUs are visible.
5748
5749 2015-03-26 Yao Qi <yao.qi@linaro.org>
5750
5751 PR testsuite/18139
5752 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5753 Add a line number entry for the same line.
5754 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5755 Add a line number entry for the same line.
5756
5757 2015-03-26 Yao Qi <yao.qi@linaro.org>
5758
5759 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5760 .int 0.
5761 (func): Likewise. Add .Lfunc_1 label.
5762 Use .Lfunc_1 label.
5763 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5764 .int 0.
5765 (func): Likewise.
5766 Use .Lfunc_1 label.
5767
5768 2015-03-26 Yao Qi <yao.qi@linaro.org>
5769
5770 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5771 Call gdb_compile instead to compile each .s files without debug
5772 information.
5773
5774 2015-03-26 Yao Qi <yao.qi@linaro.org>
5775
5776 * gdb.base/savedregs.exp (process_saved_regs): Make
5777 "Saved registers:" optional in the pattern.
5778
5779 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5780
5781 * gdb.btrace/next.exp: Merged into step.exp.
5782 * gdb.btrace/finish.exp: Merged into step.exp.
5783 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5784 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5785 "record goto" and checking the exact replay position.
5786 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5787 check for "Recording format" in "info record" output.
5788 * gdb.btrace/record_goto.exp: Choose test file based on target.
5789 * gdb.btrace/x86-record_goto.S: Renamed into ...
5790 * gdb.btrace/x86_64-record_goto.S: ... this.
5791 * gdb.btrace/i686-record_goto.S: New.
5792 * gdb.btrace/x86-tailcall.S: Renamed into ...
5793 * gdb.btrace/x86_64-tailcall.S: ... this.
5794 * gdb.btrace/i686-tailcall.S: New.
5795 * gdb.btrace/x86-tailcall.c: Renamed into ...
5796 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5797 separate statements. Update test.
5798 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5799 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5800 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5801 * gdb.btrace/tailcall.exp: Choose test file based on target.
5802 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5803
5804 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5805
5806 * gdb.btrace/exception.exp: Increase BTS buffer size.
5807
5808 2015-03-24 Pedro Alves <palves@redhat.com>
5809
5810 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5811
5812 2015-03-24 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.threads/schedlock.exp (test_step): No longer expect that
5815 "set scheduler-locking step" with "next" over a function call runs
5816 threads unlocked.
5817
5818 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5819
5820 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5821
5822 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5823
5824 PR breakpoints/16466
5825 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5826 * gdb.mi/mi-pending.c (thread_func): New function.
5827 (int main): Add threading support required.
5828 * gdb.mi/mi-pending.exp: Add tests for this issue.
5829 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5830 (pendfunc2): Remove stdio dependency.
5831 * gdb.mi/mi-pendshr2.c: New file.
5832
5833 2015-03-23 Keith Seitz <keiths@redhat.com>
5834
5835 * gdb.linespec/keywords.c: New file.
5836 * gdb.linespec/keywords.exp: New file.
5837
5838 2015-03-23 Keith Seitz <keiths@redhat.com>
5839
5840 PR gdb/18021
5841 * gdb.dwarf2/staticvirtual.exp: New test.
5842
5843 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5844
5845 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5846 * README: Remove HP-UX and gdb.hp.
5847 (configuration):
5848 * configure: Regenerate.
5849 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5850 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5851 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5852 gdb.hp/gdb.defects/Makefile.
5853 * gdb.hp/Makefile.in: File deleted.
5854 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5855 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5856 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5857 * gdb.hp/gdb.aCC/run.c: File deleted.
5858 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5859 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5860 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5861 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5862 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5863 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5864 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5865 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5866 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5867 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5868 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5869 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5870 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5871 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5872 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5873 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5874 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5875 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5876 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5877 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5878 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5879 * gdb.hp/gdb.compat/average.c: File deleted.
5880 * gdb.hp/gdb.compat/sum.c: File deleted.
5881 * gdb.hp/gdb.compat/xdb.c: File deleted.
5882 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5883 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5884 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5885 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5886 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5887 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5888 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5889 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5890 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5891 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5892 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5893 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5894 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5895 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5896 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5897 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5898 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5899 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5900 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5901 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5902 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5903 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5904 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5905 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5906 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5907 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5908 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5909 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5910 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5911 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5912 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5913 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5914 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5915 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5916 * gdb.hp/tools/odump: File deleted.
5917
5918 2015-03-19 Pedro Alves <palves@redhat.com>
5919
5920 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5921 (saw_thread_3): New globals.
5922 (top level): Increment them when an event for the corresponding
5923 thread is seen.
5924 (no thread starvation): New test.
5925
5926 2015-03-19 Pedro Alves <palves@redhat.com>
5927
5928 * gdb.threads/continue-pending-status.c: New file.
5929 * gdb.threads/continue-pending-status.exp: New file.
5930
5931 2015-03-18 Pedro Alves <palves@redhat.com>
5932
5933 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5934 Use gdb_is_target_remote instead of is_remote. Use
5935 gdb_test_multiple instead of gdb_expect. Exit early if
5936 gdb_test_multiple hits its internal matches. Tighten stepi tests
5937 expected output. Fail on exit with any signal, instead of just
5938 SIGILL.
5939
5940 2015-03-18 Yao Qi <yao.qi@linaro.org>
5941
5942 PR tdep/18107
5943 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5944 variable.
5945 * gdb.base/catch-syscall.exp: Don't skip it on
5946 aarch64*-*-linux* target. Remove elements in all_syscalls.
5947 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5948 target.
5949 (setup_all_syscalls): New proc.
5950
5951 2015-03-16 Yao Qi <yao.qi@linaro.org>
5952
5953 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5954 (top level): Skip tests if valid_addr_p returns false for
5955 $cmd1 or $cmd2.
5956
5957 2015-03-11 Andy Wingo <wingo@igalia.com>
5958
5959 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5960
5961 2015-03-11 Yao Qi <yao.qi@linaro.org>
5962
5963 * gdb.base/catch-syscall.exp: Fix typo in comments.
5964
5965 2015-03-11 Yao Qi <yao.qi@linaro.org>
5966
5967 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5968
5969 2015-03-09 Pedro Alves <palves@redhat.com>
5970
5971 * dg-extract-results.py: Delete.
5972
5973 2015-03-09 Pedro Alves <palves@redhat.com>
5974
5975 Merge dg-extract-results.sh from GCC upstream (r218843).
5976
5977 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5978 * dg-extract-results.sh: Use --text with grep to avoid issues with
5979 binary files. Fall back to cat -v, if that doesn't work.
5980
5981 2015-03-05 Pedro Alves <palves@redhat.com>
5982
5983 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5984
5985 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5986
5987 * lib/mi-support.exp (mi_expect_interrupt): Accept
5988 alternative event for when in all-stop mode.
5989
5990 2015-03-04 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5993
5994 2015-03-04 Mark Kettenis <kettenis@gnu.org>
5995
5996 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5997
5998 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5999
6000 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6001 regexps for GDB's current line display, accept a hex address
6002 preceding the line number.
6003
6004 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6005
6006 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6007 the 'arch1' variable for "s390*-linux*" targets.
6008
6009 2015-03-04 Pedro Alves <palves@redhat.com>
6010
6011 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6012 (main): Pass missing retval argument to pthread_join call.
6013
6014 2015-03-02 Pedro Alves <palves@redhat.com>
6015
6016 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6017 (top level): Call do_test with non-stop as well.
6018
6019 2015-03-02 Pedro Alves <palves@redhat.com>
6020
6021 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6022 -1.
6023
6024 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6025
6026 * gdb.arch/s390-vregs.exp: New test.
6027 * gdb.arch/s390-vregs.S: New file.
6028
6029 2015-02-27 Pedro Alves <palves@redhat.com>
6030
6031 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6032 call to catch_command_errors.
6033 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6034 catch_command_errors.
6035
6036 2015-02-27 Pedro Alves <palves@redhat.com>
6037
6038 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6039 "true" for boolean result.
6040 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6041 prototype of main.
6042
6043 2015-02-27 Pedro Alves <palves@redhat.com>
6044
6045 * lib/unbuffer_output.c: New file.
6046 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6047 (main): Call gdb_unbuffer_output.
6048
6049 2015-02-27 Yao Qi <yao.qi@linaro.org>
6050
6051 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6052 target.
6053
6054 2015-02-26 Doug Evans <dje@google.com>
6055
6056 * gdb.cp/class2.cc (Dbase, D): New classes.
6057 (main): New local delta.
6058 * gdb.cp/class2.exp: Test printing delta.
6059 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6060 (dynbar): New global.
6061 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6062
6063 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6064
6065 * gdb.compile/compile-ifunc.c: New file.
6066 * gdb.compile/compile-ifunc.exp: New file.
6067
6068 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6069
6070 * gdb.base/structs.exp: Check for correct struct on finish.
6071
6072 2015-02-26 Yao Qi <yao.qi@linaro.org>
6073
6074 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6075 is zero.
6076
6077 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6078
6079 * gdb.arch/cordic.ko.bz2: New file.
6080 * gdb.arch/cordic.ko.debug.bz2: New file.
6081 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6082
6083 2015-02-25 Yao Qi <yao.qi@linaro.org>
6084
6085 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6086 aarch64*-*-* target.
6087
6088 2015-02-23 Pedro Alves <palves@redhat.com>
6089
6090 * lib/gdb.exp (delete_breakpoints): Rewrite using
6091 gdb_test_multiple.
6092
6093 2015-02-23 Pedro Alves <palves@redhat.com>
6094
6095 * gdb.base/info-os.c: Include stdlib.h.
6096
6097 2015-02-22 Doug Evans <xdje42@gmail.com>
6098
6099 PR symtab/17855
6100 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6101 is read after symbols have been re-read.
6102 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6103 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6104
6105 2015-02-21 Doug Evans <dje@google.com>
6106
6107 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6108
6109 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6110
6111 PR corefiles/17808
6112 * gdb.arch/i386-biarch-core.core.bz2: New file.
6113 * gdb.arch/i386-biarch-core.exp: New file.
6114
6115 2015-02-21 Pedro Alves <palves@redhat.com>
6116
6117 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6118 runto_main fails.
6119
6120 2015-02-20 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6123 info probes.
6124
6125 2015-02-20 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6128
6129 2015-02-20 Pedro Alves <palves@redhat.com>
6130
6131 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6132 clean_restart before gdb_target_supports_trace.
6133
6134 2015-02-20 Pedro Alves <palves@redhat.com>
6135
6136 PR threads/18006
6137 * gdb.threads/clone-thread_db.c: New file.
6138 * gdb.threads/clone-thread_db.exp: New file.
6139
6140 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6141
6142 PR breakpoints/16812
6143 * gdb.base/catch-gdb-caused-signals.c: New file.
6144 * gdb.base/catch-gdb-caused-signals.exp: New file.
6145
6146 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6147
6148 * configure: Regenerated.
6149 * configure.ac: Use GDB_AC_TRANSFORM.
6150 * aclocal.m4: sinclude ../transform.m4.
6151
6152 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6153
6154 * lib/dtrace.exp: New file.
6155 * gdb.base/dtrace-probe.exp: Likewise.
6156 * gdb.base/dtrace-probe.d: Likewise.
6157 * gdb.base/dtrace-probe.c: Likewise.
6158 * lib/pdtrace.in: Likewise.
6159 * configure.ac: Output variables with the transformed names of
6160 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6161 * configure: Regenerated.
6162
6163 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6164
6165 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6166 expected message when trying to access $_probe_* convenience
6167 variables while not on a probe.
6168
6169 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6170
6171 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6172
6173 2015-02-11 Pedro Alves <pedro@codesourcery.com>
6174
6175 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6176 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6177
6178 2015-02-10 Doug Evans <xdje42@gmail.com>
6179
6180 * lib/gdb.exp (gdb_load): Always return a result.
6181
6182 2015-02-10 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.threads/signal-sigtrap.c: New file.
6185 * gdb.threads/signal-sigtrap.exp: New file.
6186
6187 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6188
6189 * gdb.trace/no-attach-trace.c: New file.
6190 * gdb.trace/no-attach-trace.exp: New file.
6191
6192 2015-02-09 Mark Wielaard <mjw@redhat.com>
6193
6194 * gdb.dwarf2/atomic.c: New file.
6195 * gdb.dwarf2/atomic-type.exp: Likewise.
6196
6197 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6198
6199 * gdb.btrace/buffer-size.exp: Update "info record" output.
6200 * gdb.btrace/delta.exp: Update "info record" output.
6201 * gdb.btrace/enable.exp: Update "info record" output.
6202 * gdb.btrace/finish.exp: Update "info record" output.
6203 * gdb.btrace/instruction_history.exp: Update "info record" output.
6204 * gdb.btrace/next.exp: Update "info record" output.
6205 * gdb.btrace/nexti.exp: Update "info record" output.
6206 * gdb.btrace/step.exp: Update "info record" output.
6207 * gdb.btrace/stepi.exp: Update "info record" output.
6208 * gdb.btrace/nohist.exp: Update "info record" output.
6209
6210 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6211
6212 * gdb.btrace/buffer-size: New.
6213
6214 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6215
6216 * gdb.btrace/delta.exp: Update "info record" output.
6217 * gdb.btrace/enable.exp: Update "info record" output.
6218 * gdb.btrace/finish.exp: Update "info record" output.
6219 * gdb.btrace/instruction_history.exp: Update "info record" output.
6220 * gdb.btrace/next.exp: Update "info record" output.
6221 * gdb.btrace/nexti.exp: Update "info record" output.
6222 * gdb.btrace/step.exp: Update "info record" output.
6223 * gdb.btrace/stepi.exp: Update "info record" output.
6224 * gdb.btrace/nohist.exp: Update "info record" output.
6225
6226 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6227
6228 PR gdb/15678
6229 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6230
6231 2015-02-06 Pedro Alves <palves@redhat.com>
6232
6233 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6234 macro.
6235 (seconds_left, again): New globals.
6236 (main): Wait seconds_left in a 1-second sleep loop instead of
6237 sleeping 180 seconds. If 'again' is set, reset the seconds
6238 counter.
6239 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6240 'again' in the inferior before detaching. Print the seconds left.
6241 (options): New global.
6242 (top level): Build program with -DTIMEOUT=$timeout.
6243
6244 2015-02-06 Pedro Alves <palves@redhat.com>
6245
6246 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6247 determine how many seconds to pass to 'alarm'.
6248 * gdb.base/gdb-sigterm.exp (top level): Build program with
6249 -DTIMEOUT=$timeout.
6250 (do_test): Return success/failure indication. Add more verbose
6251 logging. Don't fail if 200 single steps are seen. Instead, fail
6252 when the test times out.
6253 (passes): New global.
6254 (top level): Break the testing loop if testing fails on any
6255 iteration. Use gdb_assert.
6256
6257 2015-02-04 Don Breazeal <donb@codesourcery.com>
6258
6259 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6260 and initialize them.
6261 (ipc_cleanup): New function.
6262 (main): Don't declare shmid, semid, and msqid. Add a call to
6263 atexit so that we call ipc_cleanup on exit.
6264
6265 2015-02-04 Pedro Alves <palves@redhat.com>
6266
6267 * boards/native-extended-gdbserver.exp: Remove any target variant
6268 specifications from the board name before clearing the isremote
6269 flag from board_info.
6270
6271 2015-01-31 Doug Evans <xdje42@gmail.com>
6272
6273 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6274
6275 2015-01-31 Gary Benson <gbenson@redhat.com>
6276
6277 * gdb.base/completion.exp: Disable completion limiting for
6278 existing tests. Add new tests to check completion limiting.
6279 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6280
6281 2015-01-31 Doug Evans <xdje42@gmail.com>
6282
6283 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6284
6285 2015-01-31 Doug Evans <xdje42@gmail.com>
6286
6287 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6288 entries. Duplicate file section script entries.
6289 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6290 inlined entries. Add test for safe-path rejection.
6291 * gdb.python/py-section-script.c: Add duplicate inlined section script
6292 entries. Duplicate file section script entries.
6293 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6294 inlined entries. Add test for safe-path rejection.
6295
6296 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6297
6298 * gdb.ada/disc_arr_bound: New testcase.
6299
6300 2015-01-29 Joel Brobecker <brobecker@adacore.com>
6301
6302 * gdb.ada/mi_var_array: New testcase.
6303
6304 2015-01-27 Doug Evans <dje@google.com>
6305
6306 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6307 Add test for objfile.filename, objfile.username after objfile
6308 has been unloaded.
6309
6310 2015-01-26 Joel Brobecker <brobecker@adacore.com>
6311
6312 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6313 the second test to print the name attribute of value
6314 returned by the call to gdb.lookup_type, and adjust
6315 the expected output accordingly.
6316
6317 2015-01-25 Mark Wielaard <mjw@redhat.com>
6318
6319 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6320 * gdb.base/disp-step-fork.c: Include unistd.h.
6321 * gdb.base/siginfo-obj.c: Include stdio.h.
6322 * gdb.base/siginfo-thread.c: Likewise.
6323 * gdb.mi/non-stop.c: Include unistd.h.
6324 * gdb.mi/nsthrexec.c: Include stdio.h.
6325 * gdb.mi/pthreads.c: Include unistd.h.
6326 * gdb.modula2/unbounded1.c (main): Declare returns int.
6327 * gdb.reverse/consecutive-reverse.c: Likewise.
6328 * gdb.threads/create-fail.c: Include unistd.h.
6329 * gdb.threads/killed.c: Likewise.
6330 * gdb.threads/linux-dp.c: Likewise.
6331 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6332 * gdb.threads/non-ldr-exc-2.c: Likewise.
6333 * gdb.threads/non-ldr-exc-3.c: Likewise.
6334 * gdb.threads/non-ldr-exc-4.c: Likewise.
6335 * gdb.threads/pthreads.c: Include unistd.h.
6336 (main): Declare returns int.
6337 * gdb.threads/tls-main.c (foo): New declaration.
6338 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6339
6340 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6341
6342 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6343 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6344
6345 2015-01-15 Mark Wielaard <mjw@redhat.com>
6346
6347 * gdb.base/noreturn-return.c: New file.
6348 * gdb.base/noreturn-return.exp: New file.
6349 * gdb.base/noreturn-finish.c: New file.
6350 * gdb.base/noreturn-finish.exp: New file.
6351
6352 2015-01-23 Pedro Alves <palves@redhat.com>
6353
6354 * gdb.threads/continue-pending-after-query.c: New file.
6355 * gdb.threads/continue-pending-after-query.exp: New file.
6356
6357 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6358 Simon Marchi <simon.marchi@ericsson.com>
6359
6360 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6361 * gdb.base/valgrind-db-attach.exp: Same.
6362 * gdb.base/valgrind-infcall.exp: Same.
6363 * lib/mi-support.exp (default_mi_gdb_start): Same.
6364 * lib/prompt.exp (default_prompt_gdb_start): Same.
6365 * lib/gdb.exp (default_gdb_spawn): Same.
6366 (gdb_interact): New.
6367
6368
6369 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6370
6371 * gdb.compile/compile.exp (pointer to jit function): New test.
6372
6373 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
6374
6375 * lib/gdb.exp (supports_process_record): Return true for
6376 powerpc*-*-linux*.
6377 (supports_reverse): Likewise.
6378
6379 2015-01-15 Don Breazeal <donb@codesourcery.com>
6380
6381 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6382 instead of checking whether the target board is remote and
6383 use spawn_wait_for_attach instead of exec/sleep.
6384 * gdb.base/attach-twice.exp: Likewise.
6385
6386 2015-01-15 Joel Brobecker <brobecker@adacore.com>
6387
6388 * gdb.ada/var_arr_attrs: New testcase.
6389
6390 2015-01-14 Pedro Alves <palves@redhat.com>
6391 Joel Brobecker <brobecker@adacore.com>
6392
6393 PR gdb/17525
6394 * gdb.base/bp-cmds-execution-x-script.c: New file.
6395 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6396 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6397
6398 2015-01-14 Pedro Alves <palves@redhat.com>
6399
6400 PR cli/17828
6401 * gdb.base/batch-preserve-term-settings.c: New file.
6402 * gdb.base/batch-preserve-term-settings.exp: New file.
6403
6404 2015-01-13 Doug Evans <dje@google.com>
6405
6406 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6407 binary.
6408
6409 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6410
6411 * Makefile.in (clean mostlyclean): Do not delete *.py.
6412
6413 2015-01-13 Joel Brobecker <brobecker@adacore.com>
6414
6415 * gdb.python/py-lookup-type.exp: New file.
6416
6417 2015-01-12 Pedro Alves <palves@redhat.com>
6418
6419 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6420 restore GDBFLAGS before returning.
6421
6422 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6423
6424 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6425 is_amd64_regs_target and is_x86_like_target.
6426
6427 2015-01-11 Doug Evans <xdje42@gmail.com>
6428
6429 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6430 is given without an explicit form.
6431 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6432 attributes.
6433 * gdb.dwarf/corrupt.exp: Ditto.
6434 * gdb.dwarf2/enum-type.exp: Ditto.
6435 * gdb.trace/entry-values.exp: Ditto.
6436 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6437
6438 2015-01-11 Doug Evans <xdje42@gmail.com>
6439
6440 PR gdb/15830
6441 * gdb.base/maint.exp: Remove references to "maint demangle".
6442 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6443 Add tests for explicitly specifying language to demangle.
6444 * gdb.dlang/demangle.exp: Ditto.
6445
6446 2015-01-09 Pedro Alves <palves@redhat.com>
6447
6448 * gdb.threads/non-stop-fair-events.c: New file.
6449 * gdb.threads/non-stop-fair-events.exp: New file.
6450
6451 2015-01-09 Pedro Alves <palves@redhat.com>
6452
6453 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6454 the global scope. Set a breakpoint after all threads are started
6455 rather than stepping over two source lines. Expect the prompt.
6456 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6457 global.
6458 (NUM): Now 15.
6459 (main): Use threads_started_barrier to wait for all threads to
6460 start. Main thread no longer calls thread_function. Exit after
6461 180 seconds.
6462 (loop): New function.
6463 (thread_function): Wait on threads_started_barrier barrier. Call
6464 'loop' at each iteration.
6465 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6466 threads have started, instead of hardcoding number of "next"
6467 steps. Use an access watchpoint instead of a write watchpoint.
6468
6469 2015-01-09 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6472 (thread_func): Wait on barrier.
6473 (main): Wait for all threads to start before stopping GDB.
6474 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6475 global.
6476 (thread1_func, thread2_func): Wait on barrier.
6477 (main): Wait for all threads to start before stopping GDB.
6478 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6479 New global.
6480 (thread1_func, thread2_func): Wait on barrier.
6481 (main): Wait for all threads to start before stopping GDB.
6482
6483 2015-01-09 Pedro Alves <palves@redhat.com>
6484
6485 * gdb.threads/attach-many-short-lived-threads.c: New file.
6486 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6487
6488 2014-01-09 Pedro Alves <palves@redhat.com>
6489
6490 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6491 instead of to thread 2.
6492 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6493 Add barrier around each pthread_create call instead of around all
6494 calls.
6495 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6496 Set a break on thread_function and have the child threads hit it
6497 one at at a time.
6498
6499 2015-01-09 Pedro Alves <palves@redhat.com>
6500
6501 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6502 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6503 false.
6504 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6505 checking whether the target board is remote.
6506 * gdb.multi/multi-attach.exp: Likewise.
6507 * gdb.python/py-sync-interp.exp: Likewise.
6508 * gdb.server/ext-attach.exp: Likewise.
6509 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6510 tests that need to attach, instead of checking whether the target
6511 board is remote at the top of the file.
6512
6513 2015-01-08 Yao Qi <yao@codesourcery.com>
6514
6515 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6516
6517 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6518
6519 Fix testcase compilation.
6520 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6521
6522 2015-01-06 Joel Brobecker <brobecker@adacore.com>
6523
6524 * gdb.python/py-type.exp: Add a couple test about empty
6525 array creation, and negative-length array creation.
6526
6527 2015-01-02 Doug Evans <xdje42@gmail.com>
6528
6529 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6530
6531 2015-01-02 Doug Evans <dje@google.com>
6532
6533 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6534
6535 2014-12-29 Yao Qi <yao@codesourcery.com>
6536
6537 * gdb.trace/entry-values.exp: Update comments. Rename variable
6538 bar_call_foo to returned_from_foo.
6539
6540 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6541
6542 PR gdb/17394
6543 * gdb.linespec/break-asm-file.c: New file.
6544 * gdb.linespec/break-asm-file.exp: New file.
6545 * gdb.linespec/break-asm-file0.s: New file.
6546 * gdb.linespec/break-asm-file1.s: New file.
6547
6548 2014-12-18 Nigel Stephens <nigel@mips.com>
6549 Maciej W. Rozycki <macro@codesourcery.com>
6550
6551 * gdb.base/float.exp: Handle the new output from "info float" on
6552 MIPS targets.
6553
6554 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6555
6556 Fix MinGW compilation.
6557 * gdb.compile/compile-ops.exp: Update untested message if
6558 !skip_compile_feature_tests.
6559 * gdb.compile/compile-setjmp.exp: Likewise.
6560 * gdb.compile/compile-tls.exp: Likewise.
6561 * gdb.compile/compile.exp: Likewise.
6562 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6563 supported on this host".
6564
6565 2014-12-16 Doug Evans <xdje42@gmail.com>
6566
6567 * boards/stabs.exp: New file.
6568
6569 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6570
6571 * gdb.base/completion.exp: Adjust to format changes of "maint
6572 print user-registers".
6573
6574 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
6575
6576 PR server/17457
6577 * gdb.arch/aarch64-fp.c: New file.
6578 * gdb.arch/aarch64-fp.exp: New file.
6579
6580 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6581
6582 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6583 r210637, r210913, r211666, r215400, r215817).
6584
6585 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6586 * dg-extract-results.py: New file.
6587 * dg-extract-results.sh: Use it if the environment seems
6588 suitable.
6589
6590 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6591
6592 * dg-extract-results.py (parse_run): Handle warnings that
6593 are printed before a test harness is run.
6594
6595 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6596
6597 * dg-extract-results.py (Named): Remove __cmp__ method.
6598 (output_variation): Use a key to sort variation.harnesses.
6599
6600 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6601
6602 * dg-extract-results.py: For Python 3, force sys.stdout to
6603 handle surrogate escape sequences.
6604 (safe_open): New function.
6605 (output_segment, main): Use it.
6606
6607 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6608
6609 * dg-extract-results.py (Prog.result_re): Include options
6610 in test name.
6611
6612 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6613
6614 * dg-extract-results.py (output_variation): Always sort if
6615 do_sum.
6616
6617 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6618
6619 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6620 as long as we get pagination notifications.
6621
6622 2014-12-15 Jason Merrill <jason@redhat.com>
6623
6624 * Makefile.in (check-gdb.%): Restore.
6625 * README: Mention it.
6626
6627 2014-12-13 Joel Brobecker <brobecker@adacore.com>
6628
6629 * gdb.ada/str_uninit: New testcase.
6630
6631 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6632
6633 PR symtab/17642
6634 * gdb.base/vla-stub-define.c: New file.
6635 * gdb.base/vla-stub.c: New file.
6636 * gdb.base/vla-stub.exp: New file.
6637
6638 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6639 Jan Kratochvil <jan.kratochvil@redhat.com>
6640 Tom Tromey <tromey@redhat.com>
6641
6642 * configure.ac: Add gdb.compile/.
6643 * configure: Regenerate.
6644 * gdb.compile/Makefile.in: New file.
6645 * gdb.compile/compile-ops.exp: New file.
6646 * gdb.compile/compile-ops.c: New file.
6647 * gdb.compile/compile-tls.c: New file.
6648 * gdb.compile/compile-tls.exp: New file.
6649 * gdb.compile/compile-constvar.S: New file.
6650 * gdb.compile/compile-constvar.c: New file.
6651 * gdb.compile/compile-mod.c: New file.
6652 * gdb.compile/compile-nodebug.c: New file.
6653 * gdb.compile/compile-setjmp-mod.c: New file.
6654 * gdb.compile/compile-setjmp.c: New file.
6655 * gdb.compile/compile-setjmp.exp: New file.
6656 * gdb.compile/compile-shlib.c: New file.
6657 * gdb.compile/compile.c: New file.
6658 * gdb.compile/compile.exp: New file.
6659 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6660
6661 2014-12-12 Tom Tromey <tromey@redhat.com>
6662
6663 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6664 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6665
6666 2014-12-12 Doug Evans <dje@google.com>
6667
6668 * lib/gdb-python.exp (get_python_valueof): New function.
6669 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6670
6671 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6672
6673 * gdb.base/completion.exp: Add test for completion of "info
6674 registers ".
6675
6676 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6677
6678 * gdb.base/func-ptrs.c: New file.
6679 * gdb.base/func-ptrs.exp: New file.
6680
6681 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6682
6683 PR breakpoints/17012
6684 * gdb.base/dprintf-detach.c: New file.
6685 * gdb.base/dprintf-detach.exp: New file.
6686
6687 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6688
6689 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6690 * lib/gdb.exp (target_is_gdbserver): New procedure.
6691
6692 2014-12-08 Doug Evans <dje@google.com>
6693
6694 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6695
6696 2014-12-05 Yao Qi <yao@codesourcery.com>
6697
6698 * gdb.guile/scm-error.exp: Remove the third argument to
6699 gdb_remote_download.
6700 * gdb.guile/scm-frame-args.exp: Likewise.
6701 * gdb.guile/scm-section-script.exp: Likewise.
6702
6703 2014-12-05 Yao Qi <yao@codesourcery.com>
6704
6705 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6706
6707 2014-12-04 Doug Evans <dje@google.com>
6708
6709 * gdb.python/py-objfile.exp: Add tests for
6710 objfile.add_separate_debug_file.
6711
6712 2014-12-04 Doug Evans <dje@google.com>
6713
6714 * lib/gdb.exp (get_build_id): New function.
6715 (build_id_debug_filename_get): Rewrite to use it.
6716 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6717
6718 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6719
6720 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6721 `method(long)', not just 0x0.
6722 * gdb.cp/nsalias.exp: Align code labels to 4.
6723 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6724 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6725 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6726 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6727 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6728 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6729
6730 2014-12-02 Doug Evans <dje@google.com>
6731
6732 PR symtab/17602
6733 * gdb.cp/anon-ns.cc: Move guts of this file to ...
6734 * gdb.cp/anon-ns2.cc: ... here. New file.
6735 * gdb.cp/anon-ns.exp: Update.
6736
6737 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
6738
6739 * gdb.python/py-events.py (inferior_call_handler): New.
6740 (register_changed_handler, memory_changed_handler): New.
6741 (test_events.invoke): Register new handlers.
6742 * gdb.python/py-events.exp: Add tests for inferior call,
6743 memory_changed and register_changed events.
6744
6745 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6746
6747 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6748 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6749 if the linker doesn't understand this.
6750
6751 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6752
6753 * gdb.python/python.exp: Change expected reply to help().
6754
6755 2014-12-01 Yao Qi <yao@codesourcery.com>
6756
6757 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6758 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6759 * configure: Re-generated.
6760
6761 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6762
6763 * gdb.cp/chained-calls.cc: New file.
6764 * gdb.cp/chained-calls.exp: New file.
6765 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6766
6767 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6768
6769 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6770 * gdb.dwarf2/symtab-producer.exp: Same.
6771 * gdb.gdb/python-interrupts.exp: Same.
6772 * gdb.gdb/python-selftest.exp: Same.
6773 * gdb.python/py-linetable.exp: Same.
6774 * gdb.python/py-type.exp: Same.
6775 * gdb.python/py-value-cc.exp: Same.
6776 * gdb.python/py-value.exp: Same.
6777
6778 2014-11-28 Yao Qi <yao@codesourcery.com>
6779
6780 * gdb.base/break-probes.exp: Match library name prefixed with
6781 sysroot.
6782
6783 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6784
6785 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6786 test expected output. Add parentheses for the call to print.
6787 Remove L suffix from integers.
6788
6789 2014-11-26 Doug Evans <dje@google.com>
6790
6791 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6792
6793 2014-11-22 Yao Qi <yao@codesourcery.com>
6794
6795 * gdb.trace/entry-values.c: Remove asms.
6796 (foo): Add foo_label.
6797 (bar): Add bar_label.
6798 * gdb.trace/entry-values.exp: Remove code computing foo's
6799 length and bar's length.
6800 (Dwarf::assemble): Invoke function_range for bar and use
6801 MACRO_AT_func for foo.
6802
6803 2014-11-22 Yao Qi <yao@codesourcery.com>
6804
6805 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6806 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6807 Use .Lgcc43_procstart instead of gcc43.
6808
6809 2014-11-21 Joel Brobecker <brobecker@adacore.com>
6810
6811 * gdb.ada/n_arr_bound: New testcase.
6812
6813 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6814
6815 PR breakpoints/10737
6816 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6817 test_catch_syscall_multi_arch.
6818 (test_catch_syscall_multi_arch): New function.
6819
6820 2014-11-20 Doug Evans <xdje42@gmail.com>
6821
6822 * gdb.base/maint.exp: Update expected output.
6823
6824 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6825
6826 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6827 4-byte instruction on S390.
6828
6829 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6830
6831 * gdb.ada/arr_arr: New testcase.
6832
6833 2014-11-19 Joel Brobecker <brobecker@adacore.com>
6834
6835 * gdb.ada/pkd_arr_elem: New Testcase.
6836
6837 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
6838
6839 * gdb.reverse/break-precsave: Expect completion message for
6840 core file reads.
6841 * gdb.reverse/consecutive-precsave.exp: Likewise.
6842 * gdb.reverse/finish-precsave.exp: Likewise.
6843 * gdb.reverse/i386-precsave.exp: Likewise.
6844 * gdb.reverse/machinestate-precsave.exp: Likewise.
6845 * gdb.reverse/sigall-precsave.exp: Likewise.
6846 * gdb.reverse/solib-precsave.exp: Likewise.
6847 * gdb.reverse/step-precsave.exp: Likewise.
6848 * gdb.reverse/until-precsave.exp: Likewise.
6849 * gdb.reverse/watch-precsave.exp: Likewise.
6850
6851 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6852
6853 * gdb.base/bp-permanent.c: Include unistd.h.
6854 * gdb.python/py-framefilter-mi.c (main): Add return type.
6855 * gdb.python/py-framefilter.c (main): Likewise.
6856 * gdb.trace/actions-changed.c (main): Likewise.
6857
6858 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6859
6860 * gdb.mi/until.c: Add eye-catchers.
6861 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6862 line numbers.
6863
6864 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6865
6866 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6867 function header variants in break1.c.
6868 * gdb.base/ena-dis-br.exp: Likewise.
6869 * gdb.base/hbreak2.exp: Likewise.
6870 * gdb.reverse/until-precsave.exp: Drop references to removed
6871 non-prototype function header variants in ur1.c.
6872 * gdb.reverse/until-reverse.exp: Likewise.
6873
6874 2014-11-17 Petr Machata <pmachata@redhat.com>
6875
6876 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6877 ${_cu_offset_size} bytes abbrev offset.
6878
6879 2014-11-15 Doug Evans <xdje42@gmail.com>
6880
6881 PR symtab/17559
6882 * gdb.base/line-symtabs.exp: New file.
6883 * gdb.base/line-symtabs.c: New file.
6884 * gdb.base/line-symtabs.h: New file.
6885
6886 2014-11-14 Yao Qi <yao@codesourcery.com>
6887
6888 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6889 (func): Add label func_label.
6890 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6891 Replace low_pc and high_pc with MACRO_AT_range.
6892 Replace name, low_pc and high_pc with MACRO_AT_func.
6893
6894 2014-11-14 Yao Qi <yao@codesourcery.com>
6895
6896 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6897 Replace name, low_pc and high_pc with MACRO_AT_func.
6898
6899 2014-11-14 Yao Qi <yao@codesourcery.com>
6900
6901 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6902 produce debug information.
6903 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6904
6905 2014-11-14 Yao Qi <yao@codesourcery.com>
6906
6907 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6908 object and get function length.
6909 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6910 with MACRO_AT_func.
6911 (top-level): Replace gdb_compile and clean_restart with
6912 prepare_for_testing.
6913 * gdb.dwarf2/main.c (main): Add label main_label.
6914
6915 2014-11-14 Yao Qi <yao@codesourcery.com>
6916
6917 * lib/dwarf.exp (function_range): New procedure.
6918 (Dwarf::_handle_macro_at_func): New procedure.
6919 (Dwarf::_handle_macro_at_range): New procedure.
6920 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6921
6922 2014-11-14 Yao Qi <yao@codesourcery.com>
6923
6924 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6925 (_handle_attribute): New procedure.
6926
6927 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6928
6929 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6930 * gdb.base/call-sc.c (zed): Likewise.
6931 * gdb.base/checkpoint.c (main): Likewise.
6932 * gdb.base/dump.c (main): Likewise.
6933 * gdb.base/gcore.c (main): Likewise.
6934 * gdb.base/huge.c (main): Likewise.
6935 * gdb.base/multi-forks.c (main): Likewise.
6936 * gdb.base/pr10179-a.c (main): Likewise.
6937 * gdb.base/savedregs.c (main): Likewise.
6938 * gdb.base/sigaltstack.c (main): Likewise.
6939 * gdb.base/siginfo.c (main): Likewise.
6940 * gdb.base/structs.c (zed): Likewise.
6941 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6942 * gdb.mi/mi-syn-frame.c (main): Likewise.
6943 * gdb.mi/until.c (foo, main): Likewise.
6944 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6945 * gdb.base/solib-weak.c (foo): Declare.
6946 * gdb.base/attach-twice.c: Include stdio.h.
6947 * gdb.base/weaklib1.c: Likewise.
6948 * gdb.base/weaklib2.c: Likewise.
6949 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6950 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6951 unistd.h.
6952 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6953 * gdb.mi/mi-exit-code.c: Likewise.
6954 * gdb.base/break-interp-lib.c: Include string.h.
6955 * gdb.base/coremaker.c: Likewise.
6956 * gdb.base/testenv.c: Likewise.
6957 * gdb.python/py-finish-breakpoint.c: Likewise.
6958 * gdb.base/inferior-died.c: Include sys/wait.h.
6959 * gdb.base/fileio.c: Include time.h.
6960 * gdb.base/async-shell.c: Include unistd.h.
6961 * gdb.base/dprintf-non-stop.c: Likewise.
6962 * gdb.base/info-os.c: Likewise.
6963 * gdb.mi/mi-console.c: Likewise.
6964 * gdb.mi/watch-nonstop.c: Likewise.
6965 * gdb.python/py-events.c: Likewise.
6966 * gdb.base/async.c (baz): Move up before its invocation.
6967 * gdb.base/code_elim2.c (my_global_func): Likewise.
6968 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6969 * gdb.base/advance.c (func2): Likewise.
6970
6971 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6972
6973 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6974 variant.
6975 * gdb.base/annota3.c: Likewise.
6976 * gdb.base/async.c: Likewise.
6977 * gdb.base/average.c: Likewise.
6978 * gdb.base/call-ar-st.c: Likewise.
6979 * gdb.base/call-rt-st.c: Likewise.
6980 * gdb.base/call-sc.c: Likewise.
6981 * gdb.base/call-strs.c: Likewise.
6982 * gdb.base/ending-run.c: Likewise.
6983 * gdb.base/execd-prog.c: Likewise.
6984 * gdb.base/exprs.c: Likewise.
6985 * gdb.base/foll-exec.c: Likewise.
6986 * gdb.base/foll-fork.c: Likewise.
6987 * gdb.base/foll-vfork.c: Likewise.
6988 * gdb.base/funcargs.c: Likewise.
6989 * gdb.base/gcore.c: Likewise.
6990 * gdb.base/jump.c: Likewise.
6991 * gdb.base/langs0.c: Likewise.
6992 * gdb.base/langs1.c: Likewise.
6993 * gdb.base/langs2.c: Likewise.
6994 * gdb.base/mips_pro.c: Likewise.
6995 * gdb.base/nodebug.c: Likewise.
6996 * gdb.base/opaque0.c: Likewise.
6997 * gdb.base/opaque1.c: Likewise.
6998 * gdb.base/recurse.c: Likewise.
6999 * gdb.base/run.c: Likewise.
7000 * gdb.base/scope0.c: Likewise.
7001 * gdb.base/scope1.c: Likewise.
7002 * gdb.base/setshow.c: Likewise.
7003 * gdb.base/setvar.c: Likewise.
7004 * gdb.base/shmain.c: Likewise.
7005 * gdb.base/shr1.c: Likewise.
7006 * gdb.base/shr2.c: Likewise.
7007 * gdb.base/sigall.c: Likewise.
7008 * gdb.base/signals.c: Likewise.
7009 * gdb.base/so-indr-cl.c: Likewise.
7010 * gdb.base/solib2.c: Likewise.
7011 * gdb.base/structs.c: Likewise.
7012 * gdb.base/sum.c: Likewise.
7013 * gdb.base/vforked-prog.c: Likewise.
7014 * gdb.base/watchpoint.c: Likewise.
7015 * gdb.reverse/shr2.c: Likewise.
7016 * gdb.reverse/until-reverse.c: Likewise.
7017 * gdb.reverse/ur1.c: Likewise.
7018 * gdb.reverse/watch-reverse.c: Likewise.
7019
7020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7021
7022 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7023 variant.
7024 * gdb.base/sepdebug.exp: Drop references to removed code.
7025
7026 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7027
7028 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7029 variant. Preserve original line numbering.
7030 * gdb.base/list1.c: Likewise.
7031
7032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7033
7034 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7035 variant.
7036 * gdb.base/break1.c: Likewise.
7037 * gdb.base/break.exp: Drop references to removed code.
7038
7039 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7040
7041 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7042 variant.
7043
7044 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7045
7046 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7047
7048 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7049
7050 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7051 logic into perform_all_tests() and invoke it with and without
7052 function header prototypes.
7053 (do_function_calls): Remove conditional XFAIL for PR 5318.
7054 (rerun_and_prepare): Remove duplicate code.
7055 (perform_all_tests): New. Main logic moved here.
7056
7057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7058
7059 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7060 code guarded by #ifdef NO_PROTOTYPES.
7061 (t_double_many_args): Likewise.
7062 (DEF_FUNC_MANY_ARGS_1): Likewise.
7063 (DEF_FUNC_VALUES_1): Likewise.
7064 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7065 guarded by #ifdef PROTOTYPES.
7066
7067 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7068
7069 * gdb.mi/mi-console.c: Add eye-catcher.
7070 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7071 instead of literal line number.
7072
7073 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7074
7075 * gdb.base/shr2.c: Add eye-catcher.
7076 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7077 line number.
7078
7079 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7080
7081 * gdb.base/jump.c: Add eye-catchers.
7082 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7083 numbers.
7084
7085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7086
7087 * gdb.base/execd-prog.c: Add eye-catchers.
7088 * gdb.base/foll-exec.c: Likewise.
7089 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7090 line numbers.
7091
7092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7093
7094 * gdb.base/ending-run.c: Add eye-catchers.
7095 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7096 literal line numbers.
7097
7098 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7099
7100 * gdb.base/call-rt-st.c: Add eye-catchers.
7101 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7102 literal line numbers.
7103
7104 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7105
7106 * gdb.base/call-ar-st.c: Add eye-catchers.
7107 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7108 literal line numbers.
7109
7110 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7111
7112 * gdb.base/average.c: Add eye-catchers.
7113 * gdb.base/sum.c: Likewise.
7114 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7115 regexps dynamically.
7116
7117 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7118
7119 * gdb.base/solib1.c: Add eye-catchers.
7120 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7121 literal line numbers.
7122
7123 2014-11-12 Pedro Alves <palves@redhat.com>
7124
7125 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7126 leader has exited.
7127
7128 2014-11-12 Pedro Alves <palves@redhat.com>
7129
7130 * gdb.arch/i386-bp_permanent.c: New file.
7131 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7132 (srcfile): Set to i386-bp_permanent.c.
7133 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7134 that stepi does not execute the 'leave' instruction, instead of
7135 testing it does execute.
7136 * gdb.base/bp-permanent.c: New file.
7137 * gdb.base/bp-permanent.exp: New file.
7138
7139 2014-11-10 Doug Evans <xdje42@gmail.com>
7140
7141 PR symtab/17564
7142 * gdb.base/symtab-search-order.exp: New file.
7143 * gdb.base/symtab-search-order.c: New file.
7144 * gdb.base/symtab-search-order-1.c: New file.
7145 * gdb.base/symtab-search-order-shlib-1.c: New file.
7146
7147 2014-11-07 Pedro Alves <palves@redhat.com>
7148
7149 PR gdb/17511
7150 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7151 i?86-*-linux*.
7152
7153 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7154
7155 PR c++/17494
7156 * gdb.cp/pr17494.cc: New file.
7157 * gdb.cp/pr17494.exp: New file.
7158
7159 2014-11-02 Yao Qi <yao@codesourcery.com>
7160
7161 * gdb.python/python.exp: Get working directory and match the
7162 output of "set extended-prompt \\w " with it.
7163
7164 2014-10-30 Doug Evans <dje@google.com>
7165
7166 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7167 in objfiles.
7168 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7169 in progspaces.
7170
7171 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
7172
7173 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7174 * gdb.base/realname-expand.exp: Likewise.
7175 * gdb.linespec/macro-relative.exp: Likewise.
7176
7177 2014-10-29 Pedro Alves <palves@redhat.com>
7178
7179 PR gdb/17408
7180 * gdb.threads/schedlock.c (some_function): New function.
7181 (call_function): New global.
7182 (MAYBE_CALL_SOME_FUNCTION): New macro.
7183 (thread_function): Call it.
7184 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7185 and use it instead of a global counter. Adjust all callers.
7186 (get_current_thread): Use "find current thread" for test message
7187 here rather than having all callers pass down the same string.
7188 (goto_loop): New procedure, factored out from ...
7189 (my_continue): ... this.
7190 (step_ten_loops): Change parameter from test message to command to
7191 use. Adjust.
7192 (list_count): Delete global.
7193 (check_result): New procedure, factored out from duplicate top
7194 level code.
7195 (continue tests): Wrap in with_test_prefix.
7196 (test_step): New procedure, factored out from duplicate top level
7197 code.
7198 (top level): Test "step" in combination with all scheduler-locking
7199 modes. Test "next" in combination with all scheduler-locking
7200 modes, and in combination with stepping over a function call or
7201 not.
7202 * gdb.threads/next-bp-other-thread.c: New file.
7203 * gdb.threads/next-bp-other-thread.exp: New file.
7204
7205 2014-10-29 Pedro Alves <palves@redhat.com>
7206
7207 PR python/17372
7208 * gdb.python/python.exp: Test a multi-line command that spawns
7209 interactive Python.
7210 * gdb.base/multi-line-starts-subshell.exp: New file.
7211
7212 2014-10-29 Yao Qi <yao@codesourcery.com>
7213
7214 * gdb.base/fileio.exp: Make directories on host.
7215
7216 2014-10-29 Yao Qi <yao@codesourcery.com>
7217
7218 * gdb.base/fileio.c (test_write): Close the file.
7219
7220 2014-10-28 Pedro Alves <palves@redhat.com>
7221
7222 PR gdb/12623
7223 * gdb.base/sigstep.c (no_handler): New global.
7224 (main): If 'no_handler is true, set the signal handlers to
7225 SIG_IGN.
7226 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7227 with_sw_watch and no_handler parameters. Handle them.
7228 (top level) <stepping over handler when stopped at a breakpoint
7229 test>: Add a test axis for testing with a software watchpoint, and
7230 another for testing with the signal handler set to SIG_IGN.
7231 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7232 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7233
7234 2014-10-28 Pedro Alves <palves@redhat.com>
7235
7236 PR gdb/17511
7237 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7238 * gdb.base/sigstep.exp (other_handler_location): New global.
7239 (advance): Support stepping into the signal handler, and running
7240 commands while in the handler.
7241 (in_handler_map): New global.
7242 (top level): In the advance test, add combinations for getting
7243 into the handler with stepping commands, and for running commands
7244 in the handler. Add comment descripting the advancei tests.
7245
7246 2014-10-28 Pedro Alves <palves@redhat.com>
7247
7248 * gdb.base/sigstep.exp: Use build_executable instead of
7249 prepare_for_testing.
7250 (top level): Move code that starts GDB, runs to main and creates a
7251 display to ...
7252 (restart): ... this new procedure.
7253 (top level): Move backtrace from signal handler test to ...
7254 (validate_backtrace): ... this new procedure.
7255 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7256 with_test_prefix. Always restart GDB.
7257 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7258 with_test_prefix. Always restart GDB. No need to delete
7259 breakpoints after the test.
7260 (test_skip_handler): Remove prefix parameter.
7261 (skip_over_handler, breakpoint_to_handler)
7262 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7263 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7264 restart GDB. No need to delete breakpoints after the test.
7265 (top level): Use foreach to call the test procedures with
7266 different commands.
7267
7268 2014-10-28 Pedro Alves <palves@redhat.com>
7269
7270 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7271 instead of GNATS numbers.
7272 * gdb.base/sigbpt.exp: Likewise.
7273 * gdb.base/siginfo.exp: Likewise.
7274 * gdb.base/sigstep.exp: Likewise.
7275
7276 2014-10-27 Pedro Alves <palves@redhat.com>
7277
7278 * gdb.base/sigstep.c (dummy): New global.
7279 (main): Issue a couple writes to the new global.
7280 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7281 procedures.
7282 (skip_over_handler): Use test_skip_handler.
7283 (top level): Call skip_over_handler for stepi and nexti too.
7284 (breakpoint_over_handler): Use test_skip_handler.
7285 (top level): Call breakpoint_over_handler for stepi and nexti too.
7286
7287 2014-10-27 Yao Qi <yao@codesourcery.com>
7288
7289 * gdb.trace/tfile.c (adjust_function_address)
7290 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7291 function descriptor.
7292
7293 2014-10-24 Don Breazeal <donb@codesourcery.com>
7294
7295 * gdb.base/foll-fork.exp (test_follow_fork,
7296 catch_fork_child_follow): Check for updated fork messages emitted
7297 from infrun.c.
7298 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7299 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7300 vfork_and_exec_child_follow_through_step): Check for updated vfork
7301 messages emitted from infrun.c.
7302
7303 2014-10-24 Pedro Alves <palves@redhat.com>
7304
7305 * gdb.base/corefile.exp: Remove references to ultrix.
7306 * gdb.base/interrupt.exp: Likewise.
7307 * gdb.base/whatis.exp: Likewise.
7308 * gdb.gdb/selftest.exp: Likewise.
7309 * gdb.threads/manythreads.exp: Likewise.
7310 * gdb.threads/print-threads.exp: Likewise.
7311 * gdb.threads/pthreads.exp:: Likewise.
7312 * gdb.threads/schedlock.exp: Likewise.
7313
7314 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7315
7316 * gdb.cp/non-trivial-retval.cc: Add a test case.
7317 * gdb.cp/non-trivial-retval.exp: Add a test.
7318
7319 2014-10-20 Yao Qi <yao@codesourcery.com>
7320
7321 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7322 * gdb.python/py-objfile-script-gdb.py: New file.
7323 * gdb.python/py-objfile-script.exp: Update reference to
7324 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7325 of remote_download. Remove the dest file.
7326
7327 2014-10-20 Yao Qi <yao@codesourcery.com>
7328
7329 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7330 * gdb.base/step-line.exp: Likewise.
7331 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7332 * gdb.dwarf2/dw2-basic.exp: Likewise.
7333 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7334 * gdb.dwarf2/dw2-filename.exp: Likewise.
7335 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7336 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7337 * gdb.dwarf2/dw2-producer.exp: Likewise.
7338 * gdb.dwarf2/mac-fileno.exp: Likewise.
7339 * gdb.python/py-frame-args.exp: Likewise.
7340 * gdb.python/py-framefilter.exp: Likewise.
7341 * gdb.python/py-mi.exp: Likewise.
7342 * gdb.python/py-objfile-script.exp: Likewise
7343 * gdb.python/py-pp-integral.exp: Likewise.
7344 * gdb.python/py-pp-re-notag.exp: Likewise.
7345 * gdb.python/py-prettyprint.exp: Likewise.
7346 * gdb.python/py-section-script.exp: Likewise.
7347 * gdb.python/py-typeprint.exp: Likewise.
7348 * gdb.python/py-xmethods.exp: Likewise.
7349 * gdb.stabs/weird.exp: Likewise.
7350 * gdb.xml/tdesc-regs.exp: Likewise.
7351
7352 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7353
7354 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7355 (out_cu): Use addr_len for the size of addresses.
7356 (out_line): Likewise. Size DW_LNE_set_address instruction
7357 according to addr_len.
7358 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7359 (FUNC): Add START_INSNS to definition.
7360
7361 2014-10-18 Yao Qi <yao@codesourcery.com>
7362
7363 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7364 gdb_has_argv0 return true.
7365 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7366 check [target_info exists noargs], check [gdb_has_argv0]
7367 instead.
7368 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7369 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7370 procedures.
7371
7372 2014-10-17 Doug Evans <dje@google.com>
7373
7374 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7375 event.
7376 * gdb.python/py-events.py: Add clear_objfiles event.
7377
7378 2014-10-17 Doug Evans <dje@google.com>
7379
7380 * gdb.python/py-objfile.exp: Test progspace attribute.
7381
7382 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
7383
7384 * gdb.guile/scm-breakpoint.exp: Do not assume any
7385 directory separators when matching source file paths.
7386 * gdb.python/py-breakpoint.exp: Likewise.
7387 * gdb.reverse/break-precsave.exp: Likewise.
7388 * gdb.reverse/break-reverse.exp: Likewise.
7389 * gdb.reverse/consecutive-precsave.exp: Likewise.
7390 * gdb.reverse/finish-precsave.exp: Likewise.
7391 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7392 * gdb.reverse/finish-reverse.exp: Likewise.
7393 * gdb.reverse/i386-precsave.exp: Likewise.
7394 * gdb.reverse/i387-env-reverse.exp: Likewise.
7395 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7396 * gdb.reverse/machinestate-precsave.exp: Likewise.
7397 * gdb.reverse/machinestate.exp: Likewise.
7398 * gdb.reverse/sigall-precsave.exp: Likewise.
7399 * gdb.reverse/solib-precsave.exp: Likewise.
7400 * gdb.reverse/step-precsave.exp: Likewise.
7401 * gdb.reverse/until-precsave.exp: Likewise.
7402 * gdb.reverse/watch-precsave.exp: Likewise.
7403 * gdb.reverse/watch-reverse.exp: Likewise.
7404
7405 2014-10-17 Yao Qi <yao@codesourcery.com>
7406
7407 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7408 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7409
7410 2014-10-17 Pedro Alves <palves@redhat.com>
7411
7412 PR gdb/17471
7413 * gdb.base/bg-execution-repeat.c: New file.
7414 * gdb.base/bg-execution-repeat.exp: New file.
7415
7416 2014-10-17 Pedro Alves <palves@redhat.com>
7417
7418 PR gdb/17300
7419 * gdb.base/continue-all-already-running.c: New file.
7420 * gdb.base/continue-all-already-running.exp: New file.
7421
7422 2014-10-17 Pedro Alves <palves@redhat.com>
7423
7424 PR gdb/17472
7425 * gdb.base/annota-input-while-running.c: New file.
7426 * gdb.base/annota-input-while-running.exp: New file.
7427
7428 2014-10-17 Pedro Alves <palves@redhat.com>
7429
7430 * gdb.base/callfuncs.exp: emove references to osf.
7431 * gdb.base/sigall.exp: Likewise.
7432 * gdb.gdb/selftest.exp: Likewise.
7433 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7434 * gdb.mi/non-stop.c: Likewise.
7435 * gdb.mi/pthreads.c: Likewise.
7436 * gdb.reverse/sigall-precsave.exp: Likewise.
7437 * gdb.reverse/sigall-reverse.exp: Likewise.
7438 * gdb.threads/pthreads.c: Likewise.
7439 * gdb.threads/pthreads.exp: Likewise.
7440
7441 2014-10-17 Yao Qi <yao@codesourcery.com>
7442
7443 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7444 check 'target_info exists noargs'.
7445 (test_command_prompt_position): Likewise.
7446 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7447 Remove "set args".
7448 (progvar_simple_while_test): Likewise.
7449 (progvar_complex_if_while_test): Likewise.
7450 (if_while_breakpoint_command_test): Likewise.
7451 (infrun_breakpoint_command_test): Likewise.
7452 (breakpoint_command_test): Likewise.
7453 (watchpoint_command_test): Likewise.
7454 (bp_deleted_in_command_test): Likewise.
7455 (temporary_breakpoint_commands): Likewise.
7456
7457 2014-10-16 Yao Qi <yao@codesourcery.com>
7458
7459 * gdb.base/remotetimeout.exp: Remove noargs checking.
7460
7461 2014-10-15 Pedro Alves <palves@redhat.com>
7462
7463 PR breakpoints/9649
7464 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7465 * gdb.base/breakpoint-in-ro-region.exp
7466 (probe_target_hardware_step): New procedure.
7467 (top level): Probe hardware stepping and hardware breakpoint
7468 support. Test stepping through a read-only region, with both
7469 "breakpoint auto-hw" on and off and both "always-inserted" on and
7470 off.
7471
7472 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7473
7474 * gdb.dlang/demangle.exp: Update for demangling changes.
7475
7476 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7477
7478 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7479 * gdb.cp/non-trivial-retval.exp: Add new tests.
7480
7481 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7482
7483 PR c++/13403
7484 PR c++/15154
7485 * gdb.cp/non-trivial-retval.cc: New file.
7486 * gdb.cp/non-trivial-retval.exp: New file.
7487
7488 2014-10-15 Yao Qi <yao@codesourcery.com>
7489
7490 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7491 remote host.
7492
7493 2014-10-15 Yao Qi <yao@codesourcery.com>
7494
7495 * gdb.python/py-symbol.exp: Match file base name if host is
7496 remote, otherwise match file name with dir name.
7497 * gdb.python/py-symtab.exp: Likewise.
7498 * gdb.python/python.exp: Likewise.
7499
7500 2014-10-15 Yao Qi <yao@codesourcery.com>
7501
7502 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7503 pattern.
7504 * gdb.python/py-symtab.exp: Likewise.
7505 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7506 locationn.
7507
7508 2014-10-14 Joel Brobecker <brobecker@adacore.com>
7509
7510 * gdb.ada/addr_arith: New testcase.
7511
7512 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7513
7514 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7515 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7516 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7517 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7518
7519 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7520
7521 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7522 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7523 * gdb.arch/stap-eval-lang-ada.exp: New file.
7524
7525 2014-10-14 Yao Qi <yao@codesourcery.com>
7526
7527 * gdb.mi/mi-var-child.c (nothing1): New function.
7528 (nothing2): New function.
7529 (do_children_tests): Set function pointers by nothing1 and
7530 nothing2.
7531 * gdb.mi/mi-var-child.exp: Step over new added statements.
7532 Update test to match the new output.
7533 * gdb.mi/var-cmd.c (nothing1): New function.
7534 (nothing2): New function.
7535 (do_children_tests): Set function pointers by nothing1 and
7536 nothing2.
7537 * gdb.mi/mi-var-display.exp: Update test to match output.
7538 Step to the line specified by $line_dct_nothing.
7539 Increase the number of lines to step.
7540
7541 2014-10-14 Yao Qi <yao@codesourcery.com>
7542
7543 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7544 tests.
7545 * gdb.mi/mi2-var-child.exp: Likewise.
7546
7547 2014-10-13 Doug Evans <dje@google.com>
7548
7549 * gdb.python/py-objfile.exp: Change name of file name test.
7550
7551 2014-10-13 Doug Evans <dje@google.com>
7552
7553 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7554 from the start of the CU.
7555
7556 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7557 Yao Qi <yao@codesourcery.com>
7558
7559 Fix "save breakpoints" for "catch" command.
7560 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7561 Remove -nonewline. Match also the added "main" line.
7562
7563 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7564
7565 Fix "save breakpoints" for "disable $bpnum" command.
7566 * gdb.base/save-bp.c (main): Add label.
7567 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7568
7569 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7570
7571 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7572
7573 2014-10-11 Yao Qi <yao@codesourcery.com>
7574
7575 * gdb.server/server-kill.exp: Execute command
7576 "set remote trace-status-packet on" before "tstatus".
7577
7578 2014-10-11 Yao Qi <yao@codesourcery.com>
7579
7580 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7581 (main): Call getppid.
7582 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7583 and continue to it. Read variable "server_pid".
7584
7585 2014-10-11 Yao Qi <yao@codesourcery.com>
7586
7587 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7588
7589 2014-10-11 Yao Qi <yao@codesourcery.com>
7590
7591 * gdb.threads/thread-find.exp: Don't execute command
7592 "info threads".
7593 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7594 * gdb.threads/linux-dp.exp: Don't check the condition
7595 $threads_created equals to zero.
7596
7597 2014-10-10 Pedro Alves <palves@redhat.com>
7598
7599 * gdb.base/bigcore.exp: Remove references to IRIX.
7600 * gdb.base/funcargs.exp: Likewise.
7601 * gdb.base/interrupt.exp: Likewise.
7602 * gdb.base/mips_pro.exp: Likewise.
7603 * gdb.base/nodebug.exp: Likewise.
7604 * gdb.base/setvar.exp: Likewise.
7605 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7606
7607 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7608 Pedro Alves <palves@redhat.com>
7609
7610 PR symtab/14466
7611 * gdb.base/vdso-warning.c: New file.
7612 * gdb.base/vdso-warning.exp: New file.
7613
7614 2014-10-02 Doug Evans <dje@google.com>
7615
7616 * gdb.base/structs.c (main): Don't run forever.
7617
7618 2014-10-02 Pedro Alves <palves@redhat.com>
7619
7620 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7621 (top level) <stop threads 1, stop threads 2>: Use it.
7622
7623 2014-10-02 Pedro Alves <palves@redhat.com>
7624
7625 * gdb.threads/break-while-running.exp (test): Add new
7626 'update_thread_list' argument. Skip "info threads" if false.
7627 (top level): Add new 'update_thread_list' axis.
7628
7629 2014-10-02 Pedro Alves <palves@redhat.com>
7630
7631 PR breakpoints/17431
7632 * gdb.base/execl-update-breakpoints.c: New file.
7633 * gdb.base/execl-update-breakpoints.exp: New file.
7634
7635 2014-10-01 Pedro Alves <palves@redhat.com>
7636
7637 * gdb.base/breakpoint-in-ro-region.c: New file.
7638 * gdb.base/breakpoint-in-ro-region.exp: New file.
7639
7640 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7641
7642 * gdb.mi/mi-exit-code.exp: New file.
7643 * gdb.mi/mi-exit-code.c: New file.
7644
7645 2014-09-30 Yao Qi <yao@codesourcery.com>
7646
7647 * lib/prelink-support.exp (build_executable_own_libs): Error if
7648 the target isn't native.
7649
7650 2014-09-30 Yao Qi <yao@codesourcery.com>
7651
7652 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7653 false.
7654
7655 2014-09-22 Pedro Alves <palves@redhat.com>
7656
7657 * gdb.threads/break-while-running.exp: New file.
7658 * gdb.threads/break-while-running.c: New file.
7659
7660 2014-09-19 Yao Qi <yao@codesourcery.com>
7661
7662 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7663 Invoke test. Restart GDB with --readnow and invoke test again.
7664
7665 2014-09-19 Yao Qi <yao@codesourcery.com>
7666
7667 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7668 proc set_breakpoint_on_gcd_function. Invoke
7669 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7670 invoke set_breakpoint_on_gcd_function again.
7671
7672 2014-09-18 Doug Evans <dje@google.com>
7673
7674 * gdb.dwarf2/symtab-producer.exp: New file.
7675
7676 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7677
7678 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7679 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7680 * gdb.base/global-var-nested-by-dso.c: Likewise.
7681 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7682
7683 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7684 Pedro Alves <palves@redhat.com>
7685
7686 * gdb.base/watch-bitfields.exp: Pass string other than test file
7687 name to prepare_for_testing.
7688 (watch): New procedure.
7689 (expect_watchpoint): Use with_test_prefix.
7690 (top level): Factor out tests to ...
7691 (test_watch_location, test_regular_watch): ... these new
7692 procedures, and use with_test_prefix and gdb_continue_to_end.
7693
7694 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7695
7696 PR breakpoints/12526
7697 * gdb.base/watch-bitfields.exp: New file.
7698 * gdb.base/watch-bitfields.c: New file.
7699
7700 2014-09-16 Pedro Alves <palves@redhat.com>
7701
7702 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7703 software and hardware addresses, not software address against
7704 itself.
7705
7706 2014-09-16 Pedro Alves <palves@redhat.com>
7707
7708 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7709 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7710
7711 2014-09-16 Pedro Alves <palves@redhat.com>
7712
7713 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7714 files.
7715 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7716 "*-*-vxworks*" throughout.
7717 * gdb.base/break.exp: Likewise.
7718 * gdb.base/default.exp: Likewise.
7719 * gdb.base/scope.exp: Likewise.
7720 * gdb.base/sepdebug.exp: Likewise.
7721 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7722 throughout.
7723 * gdb.base/run.c: Likewise.
7724 * gdb.base/sepdebug.c: Likewise.
7725 * gdb.hp/gdb.aCC/run.c: Likewise.
7726 * gdb.reverse/until-reverse.c: Likewise.
7727 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7728
7729 2014-09-16 Yao Qi <yao@codesourcery.com>
7730
7731 * boards/local-remote-host-native.exp: New file.
7732
7733 2014-09-14 Doug Evans <xdje42@gmail.com>
7734
7735 * gdb.threads/queue-signal.c (thread_count): New variable.
7736 (thread_count_mutex, thread_count_condvar): New variables.
7737 (incr_thread_count, wait_all_threads_running): New functions.
7738 (main): Wait for all threads to be in their thread functions.
7739
7740 2014-09-13 Doug Evans <xdje42@gmail.com>
7741
7742 * gdb.threads/queue-signal.c: New file.
7743 * gdb.threads/queue-signal.exp: New file.
7744
7745 2014-09-13 Doug Evans <xdje42@gmail.com>
7746
7747 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7748 be consistent with what default_gdb_init uses.
7749 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7750 the plain text of the prompt. Add some logging printfs.
7751 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7752
7753 2014-09-12 Pedro Alves <palves@redhat.com>
7754
7755 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7756 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7757 * gdb.arch/i386-size-overlap.exp: Likewise.
7758 * gdb.arch/i386-size.exp: Likewise.
7759 * gdb.arch/i386-unwind.exp: Likewise.
7760 * gdb.base/a2-run.exp: Likewise.
7761 * gdb.base/break.exp: Likewise.
7762 * gdb.base/charset.exp: Likewise.
7763 * gdb.base/chng-syms.exp: Likewise.
7764 * gdb.base/commands.exp: Likewise.
7765 * gdb.base/dbx.exp: Likewise.
7766 * gdb.base/find.exp: Likewise.
7767 * gdb.base/funcargs.exp: Likewise.
7768 * gdb.base/jit-simple.exp: Likewise.
7769 * gdb.base/reread.exp: Likewise.
7770 * gdb.base/sepdebug.exp: Likewise.
7771 * gdb.base/step-bt.exp: Likewise.
7772 * gdb.cp/mb-inline.exp: Likewise.
7773 * gdb.cp/mb-templates.exp: Likewise.
7774 * gdb.objc/basicclass.exp: Likewise.
7775 * gdb.threads/killed.exp: Likewise.
7776
7777 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7778
7779 PR tdep/17379
7780 * gdb.arch/powerpc-stackless.S: New file.
7781 * gdb.arch/powerpc-stackless.exp: New file.
7782
7783 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7784
7785 * gdb.base/attach.c: Include unistd.h.
7786 (main): Call alarm. Add label postloop.
7787 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7788 gdb_breakpoint, gdb_continue_to_breakpoint.
7789 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7790
7791 2014-09-11 Pedro Alves <palves@redhat.com>
7792
7793 PR gdb/17347
7794 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7795 * gdb.base/attach.exp (test_command_line_attach_run): New
7796 procedure.
7797 (top level): Call it.
7798
7799 2014-09-11 Pedro Alves <palves@redhat.com>
7800
7801 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7802 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7803 (do_command_attach_tests): Use spawn_wait_for_attach.
7804 * gdb.base/solib-overlap.exp: Likewise.
7805 * gdb.multi/multi-attach.exp: Likewise.
7806 * gdb.python/py-prompt.exp: Likewise.
7807 * gdb.python/py-sync-interp.exp: Likewise.
7808 * gdb.server/ext-attach.exp: Likewise.
7809
7810 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7811
7812 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7813 command in testcase. Simplify testcase.
7814
7815 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7816
7817 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7818
7819 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7820
7821 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7822
7823 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7824
7825 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7826
7827 2014-09-10 Joel Brobecker <brobecker@adacore.com>
7828
7829 * gdb.dwarf2/dynarr-ptr.c: New file.
7830 * gdb.dwarf2/dynarr-ptr.exp: New file.
7831
7832 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7833
7834 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7835 of 30 rather than hardcoding 120 for a slow test case. Take the
7836 `gdb,timeout' target setting into account for this calculation.
7837 Don't extend the timeout for the test cases that don't need it.
7838
7839 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7840
7841 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7842 a factor of 2 for a slow test case. Take the `gdb,timeout'
7843 target setting into account for this calculation.
7844 * gdb.reverse/until-precsave.exp: Increase the timeout by
7845 a factor of 15 and 3 respectively rather than adding 120
7846 for a pair of slow test cases. Take the `gdb,timeout'
7847 target setting into account for this calculation.
7848
7849 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7850
7851 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7852 timeout, don't pass one down to gdb_expect.
7853 (gdb_expect): Rework timeout selection.
7854
7855 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7856
7857 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7858 exception on timeout.
7859 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7860 (gdbserver_start_extended): Catch any `gdbserver_start' error
7861 exceptions.
7862 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7863 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7864 `gdbserver_gdb_load' error exceptions.
7865
7866 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7867
7868 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7869 120 on waiting for the TCP socket to open.
7870
7871 2014-09-09 Doug Evans <xdje42@gmail.com>
7872
7873 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7874 _caller_matches, _any_caller_is, _any_caller_matches.
7875
7876 2014-09-09 Doug Evans <xdje42@gmail.com>
7877
7878 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7879
7880 2014-09-09 Yao Qi <yao@codesourcery.com>
7881
7882 * gdb.mi/mi-var-display.exp: Set print symbol off.
7883
7884 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7885
7886 PR gdb/17035
7887 * gdb.base/commands.exp: Add tests to verify user-defined
7888 commands with empty bodies.
7889 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7890 python commands in `show user command`.
7891 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7892 scheme commands in `show user command`.
7893
7894 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7895
7896 PR python/17355
7897 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7898 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7899 * gdb.python/py-framefilter-invalidarg.exp: New file.
7900 * gdb.python/py-framefilter-invalidarg.py: New file.
7901
7902 2014-09-06 Doug Evans <xdje42@gmail.com>
7903
7904 PR 15276
7905 * gdb.python/py-caller-is.c: New file.
7906 * gdb.python/py-caller-is.exp: New file.
7907
7908 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7909
7910 PR gdb/17235
7911 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7912 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7913
7914 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7915
7916 PR fortran/17237
7917 * gdb.fortran/print-formatted.exp: New file.
7918 * gdb.fortran/print-formatted.f90: Likewise.
7919
7920 2014-09-03 Sasha Smundak <asmundak@google.com>
7921
7922 * gdb.python/py-frame.exp: Test Frame.read_register.
7923
7924 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7925
7926 PR python/16699
7927 * gdb.python/py-completion.exp: New file.
7928 * gdb.python/py-completion.py: Likewise.
7929
7930 2014-08-28 Doug Evans <dje@google.com>
7931
7932 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7933 eax,etc. are live with values set by gdb and thus the compiler can't
7934 use them.
7935 * gdb.arch/i386-pseudo.c (main): Ditto.
7936
7937 2014-08-27 Doug Evans <dje@google.com>
7938
7939 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7940
7941 2014-08-25 Doug Evans <dje@google.com>
7942
7943 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7944 (main): Ditto.
7945
7946 2014-08-25 Doug Evans <dje@google.com>
7947
7948 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7949
7950 2014-08-24 Yao Qi <yao@codesourcery.com>
7951
7952 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7953 symbol off.
7954 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7955
7956 2014-08-22 Doug Evans <dje@google.com>
7957
7958 PR 17276
7959 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7960 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7961 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7962
7963 2014-08-22 Yao Qi <yao@codesourcery.com>
7964
7965 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7966 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7967 * gdb.python/python.exp: Likewise. Use .py file on the host
7968 instead of the build.
7969
7970 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7971
7972 * gdb.threads/gcore-stale-thread.c: New file.
7973 * gdb.threads/gcore-stale-thread.exp: New file.
7974
7975 2014-08-21 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7978 * gdb.base/gcore-relro-pie.exp: Likewise.
7979 * gdb.base/gcore-relro.exp: Likewise.
7980 * gdb.base/gcore.exp: Likewise.
7981 * gdb.base/print-symbol-loading.exp: Likewise.
7982 * gdb.threads/gcore-thread.exp: Likewise.
7983 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7984
7985 2014-08-20 Pedro Alves <palves@redhat.com>
7986 Jan Kratochvil <jan.kratochvil@redhat.com>
7987
7988 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7989 configure.
7990 (EXPECT): Handle READ1 being set.
7991 (all): Depend on EXTRA_RULES.
7992 (check-read1, expect-read1, read1.so, read1): New rules.
7993 * README (Testsuite Parameters): Document the READ1 make variable.
7994 (Race detection): New section.
7995 * configure: Regenerate.
7996 * configure.ac: If build==host==target, and running under a
7997 GNU/glibc system, add read1 to the extra Makefile rules.
7998 (EXTRA_RULES): AC_SUBST it.
7999 * lib/read1.c: New file.
8000
8001 2014-08-20 Joel Brobecker <brobecker@adacore.com>
8002
8003 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8004 the handling of variables declared as a typedef to an array
8005 which a DW_AT_data_location attribute.
8006
8007 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
8008 Pedro Alves <palves@redhat.com>
8009
8010 PR symtab/14604
8011 PR symtab/14605
8012 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8013 gdb_test.
8014
8015 2014-08-19 Pedro Alves <palves@redhat.com>
8016
8017 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8018
8019 2014-08-19 Yao Qi <yao@codesourcery.com>
8020
8021 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8022 right line.
8023
8024 2014-08-18 David Blaikie <dblaikie@gmail.com>
8025
8026 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8027
8028 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8029
8030 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8031 attribute in array range.
8032
8033 2014-08-18 Joel Brobecker <brobecker@adacore.com>
8034
8035 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8036
8037 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8038
8039 PR c++/17132
8040 * gdb.cp/pr17132.cc: New file.
8041 * gdb.cp/pr17132.exp: New file.
8042
8043 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8044
8045 * gdb.python/py-xmethods.py (A_getarrayind)
8046 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8047 Use 'print' with function call syntax.
8048 (E_method_matcher.match): Fix tab vs space indentation mixup.
8049
8050 2014-08-15 Yao Qi <yao@codesourcery.com>
8051
8052 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8053 false.
8054
8055 2014-08-15 Yao Qi <yao@codesourcery.com>
8056
8057 * gdb.cp/casts.exp: Set print symbol off.
8058 * gdb.cp/class2.exp: Likewise.
8059 * gdb.cp/overload.exp: Likewise.
8060 * gdb.cp/templates.exp: Likewise.
8061
8062 2014-08-11 Doug Evans <dje@google.com>
8063
8064 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8065 (test_load_shlib): Update.
8066
8067 2014-08-09 Yao Qi <yao@codesourcery.com>
8068
8069 * gdb.base/display.exp: Invoke is_address_zero_readable.
8070 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8071 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8072 * gdb.base/hbreak-unmapped.exp: Return if
8073 is_address_zero_readable returns true.
8074 * gdb.base/signest.exp: Likewise.
8075 * gdb.base/signull.exp: Likewise.
8076 * gdb.base/sigbpt.exp: Likewise.
8077 * gdb.guile/scm-disasm.exp: Do the test if
8078 is_address_zero_readable returns false.
8079 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8080 * gdb.python/py-arch.exp: Likewise.
8081 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8082 * lib/gdb.exp (is_address_zero_readable): New proc.
8083
8084 2014-08-09 Yao Qi <yao@codesourcery.com>
8085
8086 PR testsuite/13443
8087 * gdb.mi/mi-var-display.exp: Make test messages unique.
8088
8089 2014-08-04 Tom Tromey <tromey@redhat.com>
8090
8091 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8092 target 0".
8093
8094 2014-08-04 Tom Tromey <tromey@redhat.com>
8095
8096 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8097 "target_resume".
8098
8099 2014-08-01 Joel Brobecker <brobecker@adacore.com>
8100
8101 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8102 inner_vla_struct_object_size.
8103 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8104 as xfail.
8105
8106 2014-07-30 Pedro Alves <palves@redhat.com>
8107
8108 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8109 comment.
8110
8111 2014-07-29 Yao Qi <yao@codesourcery.com>
8112
8113 PR gdb/17206
8114 * gdb.base/until-nodebug.exp: New.
8115
8116 2014-07-28 Doug Evans <xdje42@gmail.com>
8117
8118 PR guile/17203
8119 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8120 previously existing parameter, and previously ambiguously spelled
8121 parameter.
8122
8123 2014-07-28 Will Newton <will.newton@linaro.org>
8124
8125 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8126
8127 2014-07-26 Ludovic Courtès <ludo@gnu.org>
8128 Doug Evans <xdje42@gmail.com>
8129
8130 PR guile/17146
8131 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8132
8133 2014-07-25 Pedro Alves <palves@redhat.com>
8134
8135 * gdb.threads/signal-command-handle-nopass.c: New file.
8136 * gdb.threads/signal-command-handle-nopass.exp: New file.
8137 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8138 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8139 * gdb.threads/signal-delivered-right-thread.c: New file.
8140 * gdb.threads/signal-delivered-right-thread.exp: New file.
8141
8142 2014-07-25 Pedro Alves <palves@redhat.com>
8143
8144 * gdb.base/double-prompt-target-event-error.exp
8145 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8146 match.
8147 (cancel_pagination_in_target_event): Rework double prompt
8148 detection.
8149 * gdb.base/paginate-after-ctrl-c-running.exp
8150 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8151 <return>' match.
8152 * gdb.base/paginate-bg-execution.exp
8153 (test_bg_execution_pagination_return)
8154 (test_bg_execution_pagination_cancel): Remove '-notransfer
8155 <return>' matches.
8156 * gdb.base/paginate-execution-startup.exp
8157 (test_fg_execution_pagination_return)
8158 (test_fg_execution_pagination_cancel): Remove '-notransfer
8159 <return>' matches.
8160 * gdb.base/paginate-inferior-exit.exp
8161 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8162 match.
8163 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8164 * lib/gdb.exp (pagination_prompt): Run text through
8165 string_to_regexp.
8166 (gdb_test_multiple): Match $pagination_prompt instead of
8167 "<return>".
8168 (string_to_regexp): Move to lib/gdb-utils.exp.
8169
8170 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8171
8172 * gdb.arch/amd64-entry-value-paramref.S: New file.
8173 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8174 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8175 * gdb.arch/amd64-optimout-repeat.S: New file.
8176 * gdb.arch/amd64-optimout-repeat.c: New file.
8177 * gdb.arch/amd64-optimout-repeat.exp: New file.
8178
8179 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8180
8181 PR gdb/17170
8182 * gdb.base/statistics.exp: New file.
8183
8184 2014-07-17 Doug Evans <dje@google.com>
8185
8186 PR gdb/17170
8187 * gdb.base/maint.exp: Update testing of per-command stats.
8188
8189 2014-07-16 Pedro Alves <palves@redhat.com>
8190
8191 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8192 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8193 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8194 (tfile_write_buf): New functions.
8195 (add_memory_block): Rewrite using the above.
8196 (adjust_function_address): New function.
8197 (FUNCTION_ADDRESS): New macro.
8198 (write_basic_trace_file): Remove short_x local, and use
8199 tfile_write_16. Change type of func_addr local to unsigned long
8200 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8201 here. Cast argument of add_memory_block to char pointer.
8202 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8203 (main): Remove parameters.
8204 * gdb.trace/tfile.exp: Remove nowarnings.
8205
8206 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8207
8208 * gdb.base/debug-expr.exp: Test string evaluation with
8209 "debug expression" on.
8210
8211 2014-07-15 Pedro Alves <palves@redhat.com>
8212
8213 * gdb.base/reread.exp: Use clean_restart.
8214
8215 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8216
8217 * gdb.arch/avr-flash-qualifer.c: New.
8218 * gdb.arch/avr-flash-qualifer.exp: New.
8219
8220 2014-07-14 Pedro Alves <palves@redhat.com>
8221
8222 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8223 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8224
8225 2014-07-14 Pedro Alves <palves@redhat.com>
8226
8227 * gdb.base/double-prompt-target-event-error.c: New file.
8228 * gdb.base/double-prompt-target-event-error.exp: New file.
8229
8230 2014-07-14 Pedro Alves <palves@redhat.com>
8231
8232 PR gdb/17072
8233 * gdb.base/paginate-inferior-exit.c: New file.
8234 * gdb.base/paginate-inferior-exit.exp: New file.
8235
8236 2014-07-14 Pedro Alves <palves@redhat.com>
8237
8238 PR gdb/17072
8239 * gdb.base/paginate-bg-execution.c: New file.
8240 * gdb.base/paginate-bg-execution.exp: New file.
8241
8242 2014-07-14 Pedro Alves <palves@redhat.com>
8243
8244 PR gdb/17072
8245 * gdb.base/paginate-execution-startup.c: New file.
8246 * gdb.base/paginate-execution-startup.exp: New file.
8247 * lib/gdb.exp (pagination_prompt): New global.
8248 (default_gdb_spawn): New procedure, factored out from
8249 default_gdb_spawn.
8250 (default_gdb_start): Adjust to call default_gdb_spawn.
8251 (gdb_spawn): New procedure.
8252
8253 2014-07-14 Pedro Alves <palves@redhat.com>
8254
8255 * lib/gdb.exp (gdb_assert): New procedure.
8256 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8257
8258 2014-07-14 Pedro Alves <palves@redhat.com>
8259
8260 * gdb.base/execution-termios.c: New file.
8261 * gdb.base/execution-termios.exp: New file.
8262
8263 2014-07-14 Tom Tromey <tromey@redhat.com>
8264
8265 * gdb.cp/vla-cxx.cc: New file.
8266 * gdb.cp/vla-cxx.exp: New file.
8267
8268 2014-07-14 Tom Tromey <tromey@redhat.com>
8269
8270 * gdb.reverse/rerun-prec.c: New file.
8271 * gdb.reverse/rerun-prec.exp: New file.
8272
8273 2014-07-12 Maciej W. Rozycki <macro@mips.com>
8274 Maciej W. Rozycki <macro@codesourcery.com>
8275
8276 * lib/gdb-utils.exp: New file.
8277 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8278 inline `gdb_init_command' processing.
8279 (gdb_start_cmd): Likewise.
8280 * lib/mi-support.exp (mi_run_cmd): Likewise.
8281 * README: Document `gdb_init_command' and `gdb_init_commands'.
8282
8283 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8284
8285 Fix false FAIL running under a very long directory name.
8286 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8287 and "set print elements 10000". Twice.
8288
8289 2014-07-11 Yao Qi <yao@codesourcery.com>
8290
8291 * gdb.base/exprs.exp: "set print symbol off".
8292
8293 2014-07-11 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.threads/kill.c: New file.
8296 * gdb.threads/kill.exp: New file.
8297
8298 2014-07-10 Yao Qi <yao@codesourcery.com>
8299
8300 * gdb.trace/tfile.c (write_basic_trace_file)
8301 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8302 address written to trace file.
8303
8304 2014-07-09 Pedro Alves <palves@redhat.com>
8305
8306 * gdb.base/attach-wait-input.exp: New file.
8307 * gdb.base/attach-wait-input.c: New file.
8308
8309 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8310
8311 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8312 setting up test structures.
8313 (main): Call new test function.
8314 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8315 test function, continue into test function and walk test
8316 structures.
8317
8318 2014-07-02 Yao Qi <yao@codesourcery.com>
8319
8320 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8321 'bar_start' at the beginning of functions 'foo' and 'bar'
8322 respectively.
8323 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8324 instead of 'foo' and 'bar'.
8325
8326 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8327
8328 * gdb.btrace/segv.exp: New.
8329 * gdb.btrace/segv.c: New.
8330
8331 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
8332
8333 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8334 instruction.
8335
8336 2014-06-30 Mark Wielaard <mjw@redhat.com>
8337
8338 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8339 vulture, vilify, villar): New volatile array constants.
8340 (vindictive, vegetation): New const volatile array constants.
8341 * gdb.base/volatile.exp: Test volatile and const volatile array
8342 types.
8343
8344 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8345
8346 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8347 target lacks support for awatch, rwatch, or hbreak.
8348
8349 2014-06-27 Yao Qi <yao@codesourcery.com>
8350
8351 * gdb.multi/dummy-frame-restore.exp: New.
8352 * gdb.multi/dummy-frame-restore.c: New.
8353
8354 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8355
8356 * gdb.btrace/gcore.exp: New.
8357
8358 2014-06-23 Pedro Alves <palves@redhat.com>
8359
8360 * gdb.base/watchpoint-reuse-slot.c: New file.
8361 * gdb.base/watchpoint-reuse-slot.exp: New file.
8362
8363 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8364
8365 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8366 progspace's filename in 'info', 'enable' and 'disable' command
8367 tests.
8368
8369 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8370
8371 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8372 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8373 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8374
8375 2014-06-20 Gary Benson <gbenson@redhat.com>
8376
8377 * gdb.arch/i386-avx.exp: Fix include file location.
8378 * gdb.arch/i386-sse.exp: Likewise.
8379
8380 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8381
8382 * gdb.dlang/expression.exp: New file.
8383
8384 2014-06-19 Pedro Alves <palves@redhat.com>
8385
8386 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8387 out from ...
8388 (top level): ... here. Iterate running tests under different
8389 scheduler-locking settings.
8390
8391 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
8392
8393 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8394 to DW_FORM_addr and use non-zero addresses.
8395
8396 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8397
8398 PR gdb/17017
8399 * gdb.python/py-xmethods.cc: Add global function call counters and
8400 increment them in their respective functions. Remove "cout"
8401 statements.
8402 * gdb.python/py-xmethods.exp: Make tests check the global function
8403 call counters instead of depending on inferior IO.
8404
8405 2014-06-18 Don Breazeal <donb@codesourcery.com>
8406
8407 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8408 Deleted procedure.
8409 (explicit_fork_parent_follow): Deleted procedure.
8410 (explicit_fork_child_follow): Deleted procedure.
8411 (test_follow_fork): New procedure.
8412 (do_fork_tests): Replace calls to deleted procedures with
8413 calls to test_follow_fork and reset GDB for subsequent
8414 procedure calls.
8415
8416 2014-06-17 Yao Qi <yao@codesourcery.com>
8417
8418 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8419 CP1252.
8420
8421 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
8422
8423 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8424 Initialize ptr and S explicitly.
8425 (skip_type_update_when_not_use_rtti_test): Likewise.
8426
8427 2014-06-16 Keith Seitz <keiths@redhat.com>
8428
8429 PR mi/15863
8430 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8431 the inferior is started.
8432
8433 2014-06-16 Pedro Alves <palves@redhat.com>
8434
8435 * gdb.base/break-main-file-remove-fail.c: New file.
8436 * gdb.base/break-main-file-remove-fail.exp: New file.
8437 * gdb.base/break-unload-file.exp: Use build_executable instead of
8438 prepare_for_testing.
8439 (test_break): New parameter "initial_load". Handle it.
8440 (top level): Add initial_load cmdline/file axis.
8441
8442 2014-06-12 Tom Tromey <tromey@redhat.com>
8443
8444 * gdb.base/completion.exp: Don't use directory name in test.
8445
8446 2014-06-09 Gary Benson <gbenson@redhat.com>
8447
8448 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8449 separate the always-available ANSI-standard signals from the
8450 signals that require checking.
8451 (main): Likewise.
8452 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8453 Likewise.
8454 (main): Likewise.
8455
8456 2014-06-07 Keith Seitz <keiths@redhat.com>
8457
8458 Revert:
8459 PR c++/16253
8460 * gdb.cp/var-tag.cc: New file.
8461 * gdb.cp/var-tag.exp: New file.
8462 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8463 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8464 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8465 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8466
8467 2014-06-06 Doug Evans <xdje42@gmail.com>
8468
8469 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8470
8471 2014-06-06 Pedro Alves <palves@redhat.com>
8472
8473 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8474 in target debug output instead of looking at RSP packets,
8475 disabling the test on any target that uses hardware stepping.
8476 Update comments.
8477
8478 2014-06-06 Pedro Alves <palves@redhat.com>
8479
8480 * gdb.base/break-unload-file.exp: Fix typo.
8481
8482 2014-06-06 Yao Qi <yao@codesourcery.com>
8483
8484 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8485 from "jit_function" to "^jit_function".
8486
8487 2014-06-06 Yao Qi <yao@codesourcery.com>
8488
8489 * gdb.base/async.c (foo): Add one statement.
8490 * gdb.base/async.exp: Get the next instruction address and
8491 match the output of "nexti" by instruction address. Match
8492 the hex address in the output of "finish".
8493
8494 2014-06-06 Gary Benson <gbenson@redhat.com>
8495
8496 * gdb.base/call-signals.c: Remove preprocessor conditionals
8497 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8498 SIGSEGV and SIGTERM.
8499 * gdb.base/sigall.c: Likewise.
8500 * gdb.base/unwindonsignal.c: Likewise.
8501 * gdb.reverse/sigall-reverse.c: Likewise.
8502
8503 2014-06-06 Yao Qi <yao@codesourcery.com>
8504
8505 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8506 readable, skip the test.
8507
8508 2014-06-06 Yao Qi <yao@codesourcery.com>
8509
8510 * gdb.threads/staticthreads.c (thread_function): Move the line
8511 setting breakpoint on forward.
8512 * gdb.threads/staticthreads.exp: Update comments.
8513
8514 2014-06-05 Ludovic Courtès <ludo@gnu.org>
8515
8516 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8517 "history-append! type error".
8518
8519 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8520
8521 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8522 erroneous dprintf expected input.
8523
8524 2014-06-04 Doug Evans <xdje42@gmail.com>
8525
8526 * gdb.guile/scm-generics.exp: Delete.
8527
8528 2014-06-04 Doug Evans <xdje42@gmail.com>
8529
8530 * gdb.guile/scm-breakpoint.exp: Update.
8531 Add tests for breakpoint registration.
8532
8533 2014-06-04 Tom Tromey <tromey@redhat.com>
8534
8535 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8536 VLA-in-union.
8537 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8538 inner_vla_struct, vla_union types. Initialize objects of those
8539 types and compute their sizes.
8540
8541 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8542 Hui Zhu <hui@codesourcery.com>
8543
8544 * gdb.base/fileio.exp: Add test for shell not available as well as
8545 available.
8546 * gdb.base/fileio.c (test_system): Check for shell twice.
8547
8548 2014-06-04 Yao Qi <yao@codesourcery.com>
8549
8550 * gdb.base/auto-connect-native-target.exp: Remove redundant
8551 space from the regexp pattern.
8552
8553 2014-06-04 Yao Qi <yao@codesourcery.com>
8554
8555 * gdb.base/default.exp: Replace "child" with "native" in
8556 regexp pattern.
8557
8558 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8559
8560 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8561 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8562 * gdb.python/py-xmethods.py: Python script supporting the
8563 new testcase and tests.
8564
8565 2014-06-03 Joel Brobecker <brobecker@adacore.com>
8566 Pedro Alves <palves@redhat.com>
8567
8568 PR breakpoints/17000
8569 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8570 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8571
8572 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8573
8574 * gdb.base/subst.exp: Add tests to verify partial path matching
8575 output.
8576
8577 2014-06-03 Pedro Alves <palves@redhat.com>
8578
8579 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8580 target that doesn't use software single-stepping.
8581
8582 2014-06-03 Pedro Alves <palves@redhat.com>
8583
8584 PR breakpoints/17000
8585 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8586 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8587
8588 2014-06-02 Doug Evans <xdje42@gmail.com>
8589
8590 * gdb.guile/scm-parameter.exp: New file.
8591
8592 2014-06-02 Doug Evans <xdje42@gmail.com>
8593
8594 * gdb.guile/scm-cmd.c: New file.
8595 * gdb.guile/scm-cmd.exp: New file.
8596
8597 2014-06-02 Doug Evans <xdje42@gmail.com>
8598
8599 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8600 pretty-printer lookup.
8601 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8602 (make-pp_s-printer): Call it.
8603 (make-pretty-printer-from-dict): New function.
8604 (lookup-pretty-printer-maker-from-dict): New function.
8605 (*pretty-printer*): Simplify.
8606 (make-objfile-pp_s-printer): New function.
8607 (install-objfile-pretty-printers!): New function.
8608 (make-progspace-pp_s-printer): New function.
8609 (install-progspace-pretty-printers!): New function.
8610 * gdb.guile/scm-progspace.c: New file.
8611 * gdb.guile/scm-progspace.exp: New file.
8612
8613 2014-06-02 Pedro Alves <palves@redhat.com>
8614
8615 * gdb.base/dprintf-bp-same-addr.c: New file.
8616 * gdb.base/dprintf-bp-same-addr.exp: New file.
8617
8618 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8619
8620 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8621 * gdb.arch/powerpc-power.s: Likewise.
8622
8623 2014-06-02 Joel Brobecker <brobecker@adacore.com>
8624
8625 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8626
8627 2014-06-01 Yao Qi <yao@codesourcery.com>
8628
8629 * gdb.base/watchpoint.exp (test_watch_location): Check null
8630 pointer can be dereferenced. If not, do the test, otherwise
8631 skip it.
8632
8633 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8634
8635 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8636 results.
8637 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8638
8639 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8640
8641 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8642 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8643 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8644 * gdb.arch/amd64-invalid-stack-top.c: New file.
8645 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8646
8647 2014-05-30 Pedro Alves <palves@redhat.com>
8648
8649 PR breakpoints/17000
8650 * gdb.base/sss-bp-on-user-bp.c: New file.
8651 * gdb.base/sss-bp-on-user-bp.exp: New file.
8652
8653 2014-05-30 David Blaikie <dblaikie@gmail.com>
8654
8655 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8656 gnu_inline semantics via attribute.
8657 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8658 source explicitly specifies the required semantics.
8659
8660 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8661
8662 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8663
8664 2014-05-29 Pedro Alves <palves@redhat.com>
8665 Tom Tromey <tromey@redhat.com>
8666
8667 * gdb.base/async-shell.exp: Don't enable target-async.
8668 * gdb.base/async.exp
8669 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8670 parameter. Adjust.
8671 (top level): Don't test with "target-async".
8672 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8673 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8674 * gdb.base/inferior-died.exp: Don't enable target-async.
8675 * gdb.base/interrupt-noterm.exp: Likewise.
8676 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8677 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8678 * gdb.mi/mi-nonstop.exp: Likewise.
8679 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8680 * gdb.mi/mi-nsintrall.exp: Likewise.
8681 * gdb.mi/mi-nsmoribund.exp: Likewise.
8682 * gdb.mi/mi-nsthrexec.exp: Likewise.
8683 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8684 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8685 * gdb.python/py-evsignal.exp: Don't enable target-async.
8686 * gdb.python/py-evthreads.exp: Likewise.
8687 * gdb.python/py-prompt.exp: Likewise.
8688 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8689 * gdb.server/solib-list.exp: Don't enable target-async.
8690 * gdb.threads/thread-specific-bp.exp: Likewise.
8691 * lib/mi-support.exp: Adjust to use mi-async.
8692
8693 2014-05-29 Pedro Alves <palves@redhat.com>
8694
8695 PR gdb/13860
8696 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8697 reason, even in sync mode.
8698
8699 2014-05-29 Pedro Alves <palves@redhat.com>
8700 Hui Zhu <hui@codesourcery.com>
8701
8702 PR PR15693
8703 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8704 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8705 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8706 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8707
8708 2014-05-28 Joel Brobecker <brobecker@adacore.com>
8709
8710 * config/monitor.exp (gdb_target_monitor): Replace use of
8711 "set remotebaud" by "set serial baud".
8712
8713 2014-05-26 Andy Wingo <wingo@igalia.com>
8714
8715 * gdb.guile/scm-breakpoint.exp:
8716 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8717 properties instead of gdb-object-properties.
8718
8719 2014-05-26 Yao Qi <yao@codesourcery.com>
8720
8721 * gdb.server/no-thread-db.exp: Specify source file name
8722 explicitly when setting a breakpoint.
8723
8724 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8725
8726 * gdb.btrace/vdso.c: New.
8727 * gdb.btrace/vdso.exp: New.
8728
8729 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8730
8731 * gdb.base/gcore.exp (capture_command_output): Move ...
8732 * lib/gdb.exp (capture_command_output): ... here.
8733
8734 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8735
8736 * gdb.btrace/data.exp: Test memory access during btrace replay.
8737
8738 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8739
8740 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8741
8742 2014-05-21 Pedro Alves <palves@redhat.com>
8743
8744 PR gdb/13860
8745 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8746 (top level): Test that output related to execution commands is
8747 sent to the console with CLI commands, but not with MI commands.
8748 Test that breakpoint events are always mirrored to the console.
8749 Also expect the new source line to be output after a "next" in
8750 async mode too. Make it a pass/fail test.
8751 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8752 output.
8753 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8754
8755 2014-05-21 Pedro Alves <palves@redhat.com>
8756
8757 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8758 Use them to test variations of "list" after reaching a breakpoint.
8759 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8760 Test "list" with listsize 10 after reaching a breakpoint.
8761 * gdb.python/python.exp (decode_line current location line
8762 number): Adjust expected line number.
8763
8764 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8765
8766 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8767 behavior for $args, pass it directly to "run".
8768
8769 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8770
8771 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8772 30000 to 65536.
8773
8774 2014-05-21 Pedro Alves <palves@redhat.com>
8775
8776 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8777 auto-connect-native-target off".
8778 * gdb.base/auto-connect-native-target.c: New file.
8779 * gdb.base/auto-connect-native-target.exp: New file.
8780
8781 2014-05-21 Pedro Alves <palves@redhat.com>
8782
8783 * gdb.base/default.exp: Test "target native" instead of "target
8784 child".
8785
8786 2014-05-21 Mark Wielaard <mjw@redhat.com>
8787
8788 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8789
8790 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8791
8792 Fix TLS access for -static -pthread.
8793 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8794 <HAVE_TLS> (thread_function, main): Initialize it.
8795 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8796 Add clean_restart.
8797 <$have_tls != "">: Check TLSVAR.
8798
8799 2014-05-21 Pedro Alves <palves@redhat.com>
8800
8801 * gdb.base/dcache-line-read-error.c: New.
8802 * gdb.base/dcache-line-read-error.exp: New.
8803
8804 2014-05-20 Pedro Alves <palves@redhat.com>
8805
8806 * gdb.base/compare-sections.c: New file.
8807 * gdb.base/compare-sections.exp: New file.
8808
8809 2014-05-20 Pedro Alves <palves@redhat.com>
8810
8811 * gdb.base/break-idempotent.c: New file.
8812 * gdb.base/break-idempotent.exp: New file.
8813
8814 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8815
8816 * gdb.btrace/nohist.exp: New.
8817
8818 2014-05-20 Yao Qi <yao@codesourcery.com>
8819
8820 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8821 gdb.reverse directory and gdb_reverse_timeout exists in board
8822 setting.
8823 * README: Document gdb_reverse_timeout.
8824
8825 2014-05-20 Yao Qi <yao@codesourcery.com>
8826
8827 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8828 'test_file_name'. Treat args as a string instead of a list.
8829 (gdb_init): Rename argument 'args' by 'test_file_name'.
8830
8831 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8832
8833 * gdb.arch/powerpc-power.exp: New file.
8834 * gdb.arch/powerpc-power.s: New file.
8835
8836 2014-05-16 Doug Evans <dje@google.com>
8837
8838 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
8839 * gdb.base/completion.exp: Check that all expected files exist
8840 before doing file completion.
8841
8842 2014-05-16 Doug Evans <dje@google.com>
8843
8844 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8845 Update.
8846 (do_syscall_tests_without_xml): Update.
8847
8848 2014-05-16 Pedro Alves <palves@redhat.com>
8849
8850 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8851 instead of "unknown output after running".
8852
8853 2014-05-16 Yao Qi <yao@codesourcery.com>
8854
8855 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8856 file1.txt from host at the end.
8857 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8858
8859 2014-05-15 Doug Evans <dje@google.com>
8860
8861 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8862 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8863 loading file. Add test for TU lookup.
8864
8865 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8866
8867 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8868 calling "-exec-arguments" or "set args" before running the
8869 inferior.
8870
8871 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8872
8873 * lib/mi-support.exp (mi_expect_stop): Expect message for
8874 inferiors that exit with non-zero exit code.
8875
8876 2014-05-14 Yao Qi <yao@codesourcery.com>
8877
8878 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8879 match absolute path on remote host.
8880 (test_file_list_exec_source_files): Remove "/" from the
8881 pattern.
8882
8883 2014-05-14 Yao Qi <yao@codesourcery.com>
8884
8885 * boards/local-remote-host-notty.exp (${board}_file): New
8886 proc.
8887
8888 2014-05-07 Kyle McMartin <kyle@redhat.com>
8889
8890 Pushed by Joel Brobecker <brobecker@adacore.com>.
8891 * gdb.arch/aarch64-atomic-inst.c: New file.
8892 * gdb.arch/aarch64-atomic-inst.exp: New file.
8893
8894 2014-05-07 Yao Qi <yao@codesourcery.com>
8895
8896 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8897 in current context" too.
8898
8899 2014-05-05 Keith Seitz <keiths@redhat.com>
8900
8901 * gdb.linespec/ls-dollar.exp: Add test for linespec
8902 file:convenience_variable.
8903
8904 2014-05-05 Yao Qi <yao@codesourcery.com>
8905
8906 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8907 traceframes into tfile and ctf trace files. Read data from
8908 trace file and test collected data.
8909 (gdb_collect_locals_test): Likewise.
8910 (gdb_unavailable_registers_test): Likewise.
8911 (gdb_unavailable_floats): Likewise.
8912 (gdb_collect_globals_test): Likewise.
8913 (top-level): Append "ctf" to trace_file_targets if GDB
8914 supports.
8915
8916 2014-05-05 Yao Qi <yao@codesourcery.com>
8917
8918 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8919 code to ...
8920 (gdb_collect_args_test_1): ... it. New proc.
8921 (gdb_collect_locals_test): Move some code to ...
8922 (gdb_collect_locals_test_1): ... it. New proc.
8923 (gdb_unavailable_registers_test): Move some code to ...
8924 (gdb_unavailable_registers_test_1): ... it. New proc.
8925 (gdb_unavailable_floats): Move some code to ...
8926 (gdb_unavailable_floats_1): ... it. New proc.
8927
8928 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8929
8930 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8931 probes to test for bitness recognition.
8932 * gdb.arch/amd64-stap-optional-prefix.exp
8933 (test_probe_value_without_reg): New procedure.
8934 Add code to test for different kinds of bitness.
8935
8936 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8937
8938 PR breakpoints/16889
8939 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8940 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8941
8942 2014-05-01 Pedro Alves <palves@redhat.com>
8943
8944 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8945 gdb_file_cmd if no file is specified.
8946 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8947 last_loaded_file to set the remote exec-file.
8948
8949 2014-05-01 Pedro Alves <palves@redhat.com>
8950
8951 * boards/local-remote-host.exp: New file.
8952
8953 2014-05-01 Pedro Alves <palves@redhat.com>
8954
8955 * boards/local-remote-host.exp: Rename to ...
8956 * boards/local-remote-host-notty.exp: ... this.
8957
8958 2014-04-28 Joel Brobecker <brobecker@adacore.com>
8959
8960 * gdb.ada/dyn_arrayidx: New testcase.
8961
8962 2014-04-26 Yao Qi <yao@codesourcery.com>
8963
8964 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8965 and compute the length of function main. Save it in
8966 $main_length.
8967 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8968 (top-level): Use gdb_compile to compile objects into
8969 executable and restart GDB. Remove invocation to
8970 prepare_for_testing.
8971
8972 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8973 Pedro Alves <palves@redhat.com>
8974
8975 PR server/16255
8976 * gdb.multi/multi-attach.c: New file.
8977 * gdb.multi/multi-attach.exp: New file.
8978
8979 2014-04-25 Pedro Alves <palves@redhat.com>
8980
8981 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8982 user.
8983 (top level): Test that "set remote conditional-breakpoints-packet
8984 off" works as intended.
8985 * gdb.base/dprintf.exp: Test that "set remote
8986 breakpoint-commands-packet off" works as intended.
8987 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8988 New function.
8989 (top level): Call it.
8990 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8991 remote fast-tracepoints-packet off" works as intended.
8992 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8993 * lib/gdb.exp (gdb_is_target_remote): ... here.
8994
8995 2014-04-24 David Blaikie <dblaikie@gmail.com>
8996
8997 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8998 ensure clang would not discard them.
8999 * gdb.base/gdbvars.c: Ditto.
9000 * gdb.base/memattr.c: Ditto.
9001 * gdb.base/whatis.c: Ditto.
9002 * gdb.python/py-prettyprint.c: Ditto.
9003 * gdb.trace/actions.c: Ditto.
9004 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9005 ensure clang would not discard it.
9006
9007 2014-04-24 David Blaikie <dblaikie@gmail.com>
9008
9009 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9010 clang to emit the full definition of type required by the test
9011 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9012
9013 2014-04-24 David Blaikie <dblaikie@gmail.com>
9014
9015 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9016 coax Clang into emitting the definition of the type.
9017 * gdb.cp/pr10728-x.h (y): Ditto.
9018 * gdb.cp/pr10728-y.cc (y): Ditto.
9019
9020 2014-04-24 David Blaikie <dblaikie@gmail.com>
9021
9022 * gdb.base/label.exp: XFAIL label related tests under Clang.
9023 * gdb.cp/cplabel.exp: Ditto.
9024 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9025 under Clang those using labels.
9026
9027 2014-04-25 Yao Qi <yao@codesourcery.com>
9028
9029 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9030 double_label.
9031 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9032 partial_label and double_label.
9033
9034 2014-04-24 David Blaikie <dblaikie@gmail.com>
9035
9036 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9037
9038 2014-04-24 David Blaikie <dblaikie@gmail.com>
9039
9040 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9041 of the function to work across GCC and Clang.
9042 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9043 pointer types (const void ** const V void **).
9044
9045 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
9046 Walfred Tedeschi <walfred.tedeschi@intel.com>
9047
9048 * Makefile.in (EXECUTABLES): Added i386-avx512.
9049 * gdb.arch/i386-avx512.c: New file.
9050 * gdb.arch/i386-avx512.exp: Likewise.
9051
9052 2014-04-23 Keith Seitz <keiths@redhat.com>
9053
9054 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9055 (mi_make_breakpoint_table): New procedure.
9056 (mi_create_breakpoint): Use mi_make_breakpoint
9057 and return the result.
9058 (mi_make_breakpoint): New procedure.
9059 (mi_build_kv_pairs): New procedure.
9060
9061 * gdb.mi/mi-break.exp: Remove unused globals,
9062 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9063 All callers updated.
9064 * gdb.mi/mi-dprintf.exp: Use variable to track command
9065 number.
9066 Update all callers of mi_create_breakpoint and use
9067 mi_make_breakpoint_table.
9068 Remove any unused global variables.
9069 * gdb.mi/mi-nonstop.exp: Likewise.
9070 * gdb.mi/mi-nsintrall.exp: Likewise.
9071 * gdb.mi/mi-nsmoribund.exp: Likewise.
9072 * gdb.mi/mi-nsthrexec.exp: Likewise.
9073 * gdb.mi/mi-reverse.exp: Likewise.
9074 * gdb.mi/mi-simplerun.exp: Likewise.
9075 * gdb.mi/mi-stepn.exp: Likewise.
9076 * gdb.mi/mi-syn-frame.exp: Likewise.
9077 * gdb.mi/mi-until.exp: Likewise.
9078 * gdb.mi/mi-var-cp.exp: Likewise.
9079 * gdb.mi/mi-var-display.exp: Likewise.
9080 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9081 * gdb.mi/mi2-var-child.exp: Likewise.
9082 * gdb.mi/mi-vla-c99.exp: Likewise.
9083 * lib/mi-support.exp: Likewise.
9084
9085 From Ian Lance Taylor <iant@cygnus.com>:
9086 * lib/gdb.exp (parse_args): New procedure.
9087
9088 2014-04-23 Pedro Alves <palves@redhat.com>
9089
9090 * gdb.base/break-unload-file.c: New file.
9091 * gdb.base/break-unload-file.exp: New file.
9092 * gdb.base/sym-file-lib.c (baz): New function.
9093 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9094 field.
9095 (load): Store the segment's mapped size.
9096 (unload): New function.
9097 (unload_shlib): New function.
9098 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9099 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9100 set a breakpoint at baz, and call it.
9101 * gdb.base/sym-file.exp: New tests for stale breakpoint
9102 instructions.
9103
9104 2014-04-23 Pedro Alves <palves@redhat.com>
9105
9106 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9107 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9108 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9109 * gdb.base/hbreak-unmapped.c: New file.
9110 * gdb.base/hbreak-unmapped.exp: New file.
9111 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9112 * lib/gdb.exp (gdb_is_target_remote): ... here.
9113
9114 2014-04-22 Pedro Alves <palves@redhat.com>
9115
9116 * gdb.base/consecutive-step-over.c: New file.
9117 * gdb.base/consecutive-step-over.exp: New file.
9118
9119 2014-04-22 Pedro Alves <palves@redhat.com>
9120
9121 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9122 instead of send_gdb/gdb_expect.
9123
9124 2014-04-22 Yao Qi <yao@codesourcery.com>
9125
9126 * lib/trace-support.exp (generate_tracefile): New procedure.
9127 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9128 return 0.
9129 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9130 if generate_tracefile returns 1.
9131
9132 2014-04-18 Tom Tromey <palves@redhat.com>
9133 Pedro alves <tromey@redhat.com>
9134
9135 PR backtrace/15558
9136 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9137 with a backtrace limit.
9138 * gdb.python/py-frame-inline.exp: Test running to an inline
9139 function with a backtrace limit, and printing the newest frame.
9140 * gdb.python/py-frame-inline.c (main): Call f.
9141
9142 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9143
9144 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9145
9146 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9147
9148 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9149 Drop prefix from unsupported source file path.
9150
9151 2014-04-17 Yao Qi <yao@codesourcery.com>
9152
9153 * lib/gdb.exp (with_target_charset): New proc.
9154 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9155 with_target_charset.
9156 (test_print_strings): Likewise.
9157 (test_repeat_bytes): Likewise.
9158 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9159 for some tests.
9160
9161 2014-04-16 Keith Seitz <keiths@redhat.com>
9162
9163 PR gdb/15827
9164 * gdb.dwarf2/corrupt.c: New file.
9165 * gdb.dwarf2/corrupt.exp: New file.
9166
9167 2014-04-16 Keith Seitz <keiths@redhat.com>
9168
9169 PR c++/16597
9170 * gdb.cp/namelessclass.cc: New file.
9171 * gdb.cp/namelessclass.exp: New file.
9172 * gdb.cp/namelessclass.S: New file.
9173
9174 2014-04-16 Doug Evans <dje@google.com>
9175
9176 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9177 Add comment.
9178 (gdbserver_default_get_comm_port): New function.
9179 (gdbserver_start): Check if board file provided
9180 "gdbserver,get_comm_port" and use it if so.
9181 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9182 (gdb,socketport): Set to "stdio".
9183 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9184 (stdio_gdbserver_template): Delete.
9185 (${board}_get_remote_address): Update.
9186 (${board}_build_remote_cmd): Delete.
9187 (${board}_get_comm_port): New function.
9188 (${board}_spawn): Update.
9189 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9190 Delete.
9191 (${board}_get_remote_address): Update.
9192 (${board}_get_comm_port): New function.
9193
9194 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
9195
9196 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9197 appearing in any order.
9198
9199 2014-04-15 Doug Evans <dje@google.com>
9200
9201 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9202 uninitialized value of "description".
9203
9204 2014-04-15 Keith Seitz <keiths@redhat.com>
9205
9206 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9207 Remove unused globals.
9208 (test_running_the_program): Likewise.
9209 (test_controlled_execution): Likewise.
9210 (test_controlling_breakpoints): Likewise.
9211 (test_program_termination): Likewise.
9212
9213 2014-04-15 Keith Seitz <keiths@redhat.com>
9214
9215 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9216 unused globals.
9217 (test_rbreak_creation_and_listing): Likewise.
9218 (test_ignore_count): Likewise.
9219 (test_error): Likewise.
9220
9221 2014-04-15 Pedro Alves <palves@redhat.com>
9222
9223 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9224 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9225 sym-file-loader.c.
9226 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9227 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9228 to sym-file-loader.c.
9229 (struct library): Forward declare.
9230 (load_shlib, lookup_function): Change prototypes.
9231 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9232 (translate_offset): Remove declarations.
9233 (get_text_addr): New declaration.
9234 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9235 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9236 sym-file-loader.h.
9237 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9238 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9239 here from sym-file-loader.h.
9240 (struct library): New structure.
9241 (load_shlib, lookup_function): Change prototypes and adjust to
9242 work with a struct library.
9243 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9244 (translate_offset): Make static.
9245 (get_text_addr): New function.
9246 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9247
9248 2014-04-15 Pedro Alves <palves@redhat.com>
9249
9250 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9251
9252 2014-04-15 Pedro Alves <palves@redhat.com>
9253
9254 * gdb.base/sym-file-loader.c: Include <limits.h>.
9255 (SELF_LINK): New define.
9256 (get_origin): New function.
9257 (load_shlib): Use it.
9258 * gdb.base/sym-file.exp: Don't early return if the target is
9259 remote. Use runto_main, and issue fail is that fails. Use
9260 gdb_load_shlibs.
9261 (shlib_name): Delete.
9262 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9263
9264 2014-04-15 Pedro Alves <palves@redhat.com>
9265
9266 * gdb.base/sym-file.exp: Remove regex characters from test
9267 message. Don't refer to breakpoint numbers in test messages.
9268
9269 2014-04-14 Keith Seitz <keiths@redhat.com>
9270
9271 PR c++/16253
9272 * gdb.cp/var-tag.cc: New file.
9273 * gdb.cp/var-tag.exp: New file.
9274 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9275 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9276 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9277 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9278
9279 2014-04-14 Tom Tromey <tromey@redhat.com>
9280
9281 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9282 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9283 type.
9284 * gdb.cp/enum-class.exp: New file.
9285 * gdb.cp/enum-class.cc: New file.
9286
9287 2014-04-14 Tom Tromey <tromey@redhat.com>
9288
9289 * gdb.dwarf2/enum-type.exp: New file.
9290
9291 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9292
9293 * gdb.mi/mi-vla-c99.exp: New file.
9294 * gdb.mi/vla.c: New file.
9295
9296 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9297
9298 * gdb.base/vla-datatypes.c: New file.
9299 * gdb.base/vla-datatypes.exp: New file.
9300
9301 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9302
9303 * gdb.base/vla-ptr.c: New file.
9304 * gdb.base/vla-ptr.exp: New file.
9305
9306 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9307
9308 * gdb.dwarf2/count.exp: New file.
9309
9310 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9311
9312 * gdb.base/vla-sideeffect.c: New file.
9313 * gdb.base/vla-sideeffect.exp: New file.
9314
9315 2014-04-14 David Blaikie <dblaikie@gmail.com>
9316
9317 * gdb.mi/non-stop.c: Add return value for non-void function return
9318 statement.
9319 * gdb.threads/staticthreads.c: Ditto.
9320
9321 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9322 Doug Evans <xdje42@gmail.com>
9323
9324 * gdb.guile/scm-value.c: Improve test case.
9325 * gdb.guile/scm-value.exp: Add new test.
9326
9327 2014-04-11 David Blaikie <dblaikie@gmail.com>
9328
9329 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9330 override Clang's default.
9331
9332 2014-04-11 Joel Brobecker <brobecker@adacore.com>
9333
9334 Revert the following changes (regressions):
9335
9336 * gdb.base/vla-sideeffect.c: New file.
9337 * gdb.base/vla-sideeffect.exp: New file.
9338
9339 * gdb.dwarf2/count.exp: New file.
9340
9341 * gdb.base/vla-multi.c: New file.
9342 * gdb.base/vla-multi.exp: New file.
9343
9344 * gdb.base/vla-ptr.c: New file.
9345 * gdb.base/vla-ptr.exp: New file.
9346
9347 * gdb.base/vla-datatypes.c: New file.
9348 * gdb.base/vla-datatypes.exp: New file.
9349
9350 * gdb.mi/mi-vla-c99.exp: New file.
9351 * gdb.mi/vla.c: New file.
9352
9353 2014-04-11 Keith Seitz <keiths@redhat.com>
9354
9355 PR c++/16675
9356 * gdb.cp/cpsizeof.exp: New file.
9357 * gdb.cp/cpsizeof.cc: New file.
9358
9359 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9360
9361 * gdb.mi/mi-vla-c99.exp: New file.
9362 * gdb.mi/vla.c: New file.
9363
9364 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9365
9366 * gdb.base/vla-datatypes.c: New file.
9367 * gdb.base/vla-datatypes.exp: New file.
9368
9369 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9370
9371 * gdb.base/vla-ptr.c: New file.
9372 * gdb.base/vla-ptr.exp: New file.
9373
9374 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9375
9376 * gdb.base/vla-multi.c: New file.
9377 * gdb.base/vla-multi.exp: New file.
9378
9379 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9380
9381 * gdb.dwarf2/count.exp: New file.
9382
9383 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9384
9385 * gdb.base/vla-sideeffect.c: New file.
9386 * gdb.base/vla-sideeffect.exp: New file.
9387
9388 2014-04-11 Yao Qi <yao@codesourcery.com>
9389
9390 * gdb.base/completion.exp: Check file exists before running tests
9391 on file completion.
9392
9393 2014-04-10 Pedro Alves <palves@redhat.com>
9394
9395 * gdb.base/cond-eval-mode.c: New file.
9396 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9397 prepare_for_testing to build the new file. Check result of
9398 runto_main.
9399 (test_break, test_watch): New procedures.
9400 (top level): Use them.
9401
9402 2014-04-08 Pierre Muller <muller@sourceware.org>
9403
9404 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9405 Ctrl-V use for mingw hosts.
9406
9407 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9408
9409 * gdb.python/py-value.c: Improve test case.
9410 * gdb.python/py-value.exp: Add new test.
9411
9412 2014-04-07 David Blaikie <dblaikie@gmail.com>
9413
9414 * lib/compiler.c: Identify the clang compiler.
9415 * lib/compiler.cc: Ditto.
9416
9417 2014-04-03 Yao Qi <yao@codesourcery.com>
9418
9419 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9420
9421 2014-04-01 Anton Blanchard <anton@samba.org>
9422
9423 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9424 messages unique.
9425
9426 2014-04-01 Anton Blanchard <anton@samba.org>
9427
9428 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9429 prepare_for_testing.
9430
9431 2014-04-01 Anton Blanchard <anton@samba.org>
9432
9433 * gdb.arch/ppc64-atomic-inst.c: Remove.
9434 * gdb.arch/ppc64-atomic-inst.S: New file.
9435 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9436
9437 2014-03-31 Doug Evans <dje@google.com>
9438
9439 * gdb.base/print-symbol-loading-lib.c: New file.
9440 * gdb.base/print-symbol-loading-main.c: New file.
9441 * gdb.base/print-symbol-loading.exp: New file.
9442
9443 2014-03-31 Yao Qi <yao@codesourcery.com>
9444
9445 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9446
9447 2014-03-28 Joel Brobecker <brobecker@adacore.com>
9448
9449 * gdb.ada/mi_dyn_arr: New testcase.
9450
9451 2014-03-27 Doug Evans <dje@google.com>
9452
9453 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9454
9455 2014-03-27 Yao Qi <yao@codesourcery.com>
9456
9457 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9458 if target is nios2-*-*.
9459
9460 2014-03-26 Yao Qi <yao@codesourcery.com>
9461
9462 * lib/gdb.exp (readline_is_used): New proc.
9463 * gdb.base/completion.exp: Move tests on command complete up.
9464 Skip the rest of tests if readline is not used.
9465 * gdb.ada/complete.exp: Skp the test if readline is not
9466 used.
9467 * gdb.base/filesym.exp: Likewise.
9468 * gdb.base/macscp.exp: Likewise.
9469 * gdb.base/readline-ask.exp: Likewise.
9470 * gdb.base/readline.exp: Likewise.
9471 * gdb.python/py-cmd.exp: Likewise.
9472 * gdb.trace/tfile.exp: Likewise.
9473
9474 2014-03-26 Yao Qi <yao@codesourcery.com>
9475
9476 * gdb.base/macscp.exp: Fix code format issues.
9477
9478 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9479
9480 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9481 * gdb.asm/powerpc64le.inc: New file.
9482
9483 2014-03-25 Pedro Alves <palves@redhat.com>
9484 Doug Evans <dje@google.com>
9485
9486 * gdb.base/source-execution.c: New file.
9487 * gdb.base/source-execution.exp: New file.
9488 * gdb.base/source-execution.gdb: New file.
9489
9490 2014-03-24 Doug Evans <dje@google.com>
9491
9492 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9493 using fission.
9494
9495 2014-03-24 Hui Zhu <hui@codesourcery.com>
9496 Pedro Alves <palves@redhat.com>
9497
9498 PR breakpoints/16101
9499 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9500 test pass/fail messages. Detect missing support for dprintf when
9501 breakpoints are actually inserted.
9502 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9503 breakpoints are actually inserted.
9504 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9505 fails.
9506
9507 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9508
9509 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9510
9511 2014-03-22 Doug Evans <xdje42@gmail.com>
9512
9513 * gdb.python/python.exp (python not supported): Verify multi-line
9514 python command issues an error.
9515 * gdb.guile/guile.exp (guile not supported): Verify multi-line
9516 guile command issues an error.
9517
9518 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9519
9520 * gdb.threads/thread-specific.exp: Handle the lack of usable
9521 $this_breakpoint and $this_thread.
9522
9523 2014-03-21 Hui Zhu <hui@codesourcery.com>
9524
9525 * gdb.base/attach.exp (do_command_attach_tests): New.
9526
9527 2014-03-20 Tom Tromey <tromey@redhat.com>
9528 Pedro Alves <palves@redhat.com>
9529
9530 PR cli/15718
9531 * gdb.base/condbreak-call-false.c: New file.
9532 * gdb.base/condbreak-call-false.exp: New file.
9533
9534 2014-03-20 Pedro Alves <palves@redhat.com>
9535
9536 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9537 Delete.
9538 (block_signals, unblock_signals): Delete.
9539 (child_function_2, main): Remove references to deleted variable
9540 and functions.
9541
9542 2014-03-20 Pedro Alves <palves@redhat.com>
9543
9544 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9545 Use pthread_kill to signal thread 2.
9546 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9547 Adjust to make the test send itself a signal rather than using the
9548 host's "kill" command.
9549
9550 2014-03-20 Pedro Alves <palves@redhat.com>
9551
9552 * gdb.threads/multiple-step-overs.c: New file.
9553 * gdb.threads/multiple-step-overs.exp: New file.
9554 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9555 Adjust expected infrun debug output.
9556
9557 2014-03-20 Pedro Alves <palves@redhat.com>
9558
9559 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9560 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9561
9562 2014-03-20 Pedro Alves <palves@redhat.com>
9563
9564 PR breakpoints/7143
9565 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9566 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9567 of gdb_test_multiple.
9568 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9569 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9570
9571 2014-03-20 Pedro Alves <palves@redhat.com>
9572
9573 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9574 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9575
9576 2014-03-19 Pedro Alves <palves@redhat.com>
9577
9578 * gdb.base/async.exp: Remove early return.
9579
9580 2014-03-19 Pedro Alves <palves@redhat.com>
9581
9582 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9583
9584 2014-03-19 Pedro Alves <palves@redhat.com>
9585
9586 * gdb.base/async.exp (test_background): Expect \r\n after
9587 "completed." in the fail pattern.
9588
9589 2014-03-19 Pedro Alves <palves@redhat.com>
9590
9591 * gdb.base/async.exp (test_background): New procedure.
9592 Use it for all background execution command tests.
9593
9594 2014-03-19 Pedro Alves <palves@redhat.com>
9595
9596 * gdb.base/async.exp: Use prepare_for_testing.
9597
9598 2014-03-19 Pedro Alves <palves@redhat.com>
9599
9600 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9601 the same line.
9602
9603 2014-03-19 Pedro Alves <palves@redhat.com>
9604
9605 * gdb.base/async.c (main): Add "jump here" and "until here" line
9606 marker comments.
9607 * gdb.base/async.exp (jump_here): New global.
9608 (jump& test): Use it.
9609 (until_here): New global.
9610 (until& test): Use it.
9611
9612 2014-03-19 Pedro Alves <palves@redhat.com>
9613
9614 * gdb.base/async.exp: Don't frob gdb_protocol.
9615
9616 2014-03-18 Doug Evans <xdje42@gmail.com>
9617
9618 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9619 Fix spelling of exec-done-display.
9620
9621 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9622
9623 PR gdb/15358
9624 * gdb.base/gdb-sigterm.c: New file.
9625 * gdb.base/gdb-sigterm.exp: New file.
9626
9627 2014-03-18 Pedro Alves <palves@redhat.com>
9628
9629 PR gdb/13860
9630 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9631 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9632 solib-event.
9633
9634 2014-03-17 Joel Brobecker <brobecker@adacore.com>
9635
9636 * gdb.ada/pckd_arr_ren: New testcase.
9637
9638 2014-03-13 Doug Evans <xdje42@gmail.com>
9639
9640 PR guile/16612
9641 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9642 collect after discarding symbols.
9643
9644 2014-03-13 Ludovic Courtès <ludo@gnu.org>
9645 Doug Evans <xdje42@gmail.com>
9646
9647 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9648 to history survives a gc.
9649
9650 2014-03-13 Pedro Alves <palves@redhat.com>
9651
9652 * gdb.base/default.exp: Don't test "target procfs".
9653
9654 2014-03-13 Pedro Alves <palves@redhat.com>
9655
9656 * gdb.base/default.exp: Update "target child" and "target procfs"
9657 tests to not expect "Unix".
9658
9659 2014-03-12 Tom Tromey <tromey@redhat.com>
9660
9661 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9662 New procs. Add target-async tests.
9663 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9664 Add target-async tests.
9665
9666 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9667
9668 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9669 'func_start' and 'func_end' for the beginning and end of the
9670 function code, respectively.
9671 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9672 'func_end' instead of 'func' and 'main'.
9673
9674 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9675
9676 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9677 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9678 generate the debug info assembler source.
9679
9680 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9681
9682 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9683 * gdb.dwarf2/arr-subrange.exp: Likewise.
9684 * gdb.dwarf2/dwz.exp: Likewise.
9685 * gdb.dwarf2/method-ptr.exp: Likewise.
9686 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9687 * gdb.dwarf2/subrange.exp: Likewise.
9688 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9689 * gdb.dwarf2/implptrpiece.exp: Likewise.
9690 * gdb.dwarf2/nostaticblock.exp: Likewise.
9691
9692 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9693
9694 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9695 directory to absolute path name arguments.
9696
9697 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9698
9699 * gdb.ada/tagged_access: New testcase.
9700
9701 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9702
9703 * gdb.btrace/data.exp: Update expected output.
9704
9705 2014-03-06 Yao Qi <yao@codesourcery.com>
9706
9707 * gdb.trace/pr16508.exp: New file.
9708
9709 2014-03-05 Pedro Alves <palves@redhat.com>
9710
9711 PR gdb/16575
9712 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9713 procedure.
9714 (top level): Adjust to use it. Add tests that exercise breakpoint
9715 interaction with the code-cache.
9716
9717 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9718
9719 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9720 test for 'history-append!'.
9721
9722 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9723
9724 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9725 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9726 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9727 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9728 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9729 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9730
9731 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9732
9733 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9734 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9735 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9736
9737 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9738
9739 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9740
9741 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9742
9743 * gdb.dwarf2/arr-stride.c: New file.
9744 * gdb.dwarf2/arr-stride.exp: New file.
9745
9746 2014-02-26 Pedro Alves <palves@redhat.com>
9747
9748 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9749 that won't ever trigger. Make sure that GDB reports the correct
9750 breakpoint that caused the stop.
9751
9752 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9753
9754 PR gdb/16626
9755 * gdb.base/auto-load-script: New file.
9756 * gdb.base/auto-load.c: New file.
9757 * gdb.base/auto-load.exp: New file.
9758
9759 PR gdb/16626
9760 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9761
9762 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9763
9764 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9765 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9766
9767 2014-02-24 Doug Evans <dje@google.com>
9768
9769 * lib/gdb.exp (run_on_host): Log error output if program fails.
9770
9771 2014-02-21 Pedro Alves <palves@redhat.com>
9772
9773 * gdb.threads/step-after-sr-lock.c: Rename to ...
9774 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9775 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9776 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9777 ... this.
9778
9779 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9780
9781 PR tdep/16397
9782 * gdb.arch/amd64-stap-special-operands.exp: New file.
9783 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9784 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9785 * gdb.arch/amd64-stap-triplet.S: Likewise.
9786 * gdb.arch/amd64-stap-triplet.c: Likewise.
9787
9788 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9789
9790 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9791 in .section pseudo-op.
9792
9793 2014-02-20 lin zuojian <manjian2006@gmail.com>
9794 Joel Brobecker <brobecker@adacore.com>
9795 Doug Evans <xdje42@gmail.com>
9796
9797 PR symtab/16581
9798 * gdb.dwarf2/dw2-icycle.S: New file.
9799 * gdb.dwarf2/dw2-icycle.c: New file.
9800 * gdb.dwarf2/dw2-icycle.exp: New file.
9801
9802 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9803
9804 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9805 operations on gdb.Value objects.
9806 * gdb.python/py-value-cc.exp: Add new test to test operations on
9807 gdb.Value objects.
9808
9809 2014-02-18 Doug Evans <dje@google.com>
9810
9811 * Makefile.in (TESTS): New variable.
9812 (expanded_tests, expanded_tests_or_none): New variables
9813 (check-single): Pass $(expanded_tests_or_none) to runtest.
9814 (check-parallel): Only run tests in $(TESTS) if non-empty.
9815 (check/no-matching-tests-found): New rule.
9816 * README: Document TESTS makefile variable.
9817
9818 2014-02-18 Doug Evans <dje@google.com>
9819
9820 * Makefile.in (check-parallel): rm -rf outputs temp.
9821
9822 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9823
9824 Fix "ERROR: no fileid for" in the testsuite.
9825 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9826
9827 2014-02-12 Doug Evans <dje@google.com>
9828
9829 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9830 (MISCELLANEOUS): New variable.
9831 (clean): rm -rf $(MISCELLANEOUS).
9832 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9833 dwp live in the same directory as symlinks, with each symlink pointed
9834 to a differently named file in a different directory.
9835
9836 2014-02-11 Doug Evans <dje@google.com>
9837
9838 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9839 of Tcl file commands.
9840
9841 2014-02-10 Mark Kettenis <kettenis@gnu.org>
9842
9843 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9844 "kill -SIGUSR1 -1".
9845
9846 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9847
9848 * gdb.ada/tick_length_array_enum_idx: New testcase.
9849
9850 2014-02-10 Doug Evans <xdje42@gmail.com>
9851
9852 * configure.ac (AC_OUTPUT): Add gdb.guile.
9853 * configure: Regenerate.
9854 * lib/gdb-guile.exp: New file.
9855 * lib/gdb.exp (get_target_charset): New function.
9856 * gdb.base/help.exp: Update expected output from "apropos apropos".
9857 * gdb.guile/Makefile.in: New file.
9858 * gdb.guile/guile.exp: New file.
9859 * gdb.guile/scm-arch.c: New file.
9860 * gdb.guile/scm-arch.exp: New file.
9861 * gdb.guile/scm-block.c: New file.
9862 * gdb.guile/scm-block.exp: New file.
9863 * gdb.guile/scm-breakpoint.c: New file.
9864 * gdb.guile/scm-breakpoint.exp: New file.
9865 * gdb.guile/scm-disasm.c: New file.
9866 * gdb.guile/scm-disasm.exp: New file.
9867 * gdb.guile/scm-equal.c: New file.
9868 * gdb.guile/scm-equal.exp: New file.
9869 * gdb.guile/scm-error.exp: New file.
9870 * gdb.guile/scm-error.scm: New file.
9871 * gdb.guile/scm-frame-args.c: New file.
9872 * gdb.guile/scm-frame-args.exp: New file.
9873 * gdb.guile/scm-frame-args.scm: New file.
9874 * gdb.guile/scm-frame-inline.c: New file.
9875 * gdb.guile/scm-frame-inline.exp: New file.
9876 * gdb.guile/scm-frame.c: New file.
9877 * gdb.guile/scm-frame.exp: New file.
9878 * gdb.guile/scm-generics.exp: New file.
9879 * gdb.guile/scm-gsmob.exp: New file.
9880 * gdb.guile/scm-iterator.c: New file.
9881 * gdb.guile/scm-iterator.exp: New file.
9882 * gdb.guile/scm-math.c: New file.
9883 * gdb.guile/scm-math.exp: New file.
9884 * gdb.guile/scm-objfile-script-gdb.in: New file.
9885 * gdb.guile/scm-objfile-script.c: New file.
9886 * gdb.guile/scm-objfile-script.exp: New file.
9887 * gdb.guile/scm-objfile.c: New file.
9888 * gdb.guile/scm-objfile.exp: New file.
9889 * gdb.guile/scm-ports.exp: New file.
9890 * gdb.guile/scm-pretty-print.c: New file.
9891 * gdb.guile/scm-pretty-print.exp: New file.
9892 * gdb.guile/scm-pretty-print.scm: New file.
9893 * gdb.guile/scm-section-script.c: New file.
9894 * gdb.guile/scm-section-script.exp: New file.
9895 * gdb.guile/scm-section-script.scm: New file.
9896 * gdb.guile/scm-symbol.c: New file.
9897 * gdb.guile/scm-symbol.exp: New file.
9898 * gdb.guile/scm-symtab-2.c: New file.
9899 * gdb.guile/scm-symtab.c: New file.
9900 * gdb.guile/scm-symtab.exp: New file.
9901 * gdb.guile/scm-type.c: New file.
9902 * gdb.guile/scm-type.exp: New file.
9903 * gdb.guile/scm-value-cc.cc: New file.
9904 * gdb.guile/scm-value-cc.exp: New file.
9905 * gdb.guile/scm-value.c: New file.
9906 * gdb.guile/scm-value.exp: New file.
9907 * gdb.guile/source2.scm: New file.
9908 * gdb.guile/types-module.cc: New file.
9909 * gdb.guile/types-module.exp: New file.
9910
9911 2014-02-10 Yao Qi <yao@codesourcery.com>
9912
9913 PR testsuite/16543
9914 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9915 * configure: Regenerated.
9916 * Makefile.in: New file.
9917
9918 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9919
9920 * gdb.python/py-framefilter.exp: Fix typo.
9921
9922 2014-02-08 Yao Qi <yao@codesourcery.com>
9923
9924 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9925 that no =breakpoint-modified is emitted when breakpoints are
9926 modified through MI commands.
9927
9928 2014-02-07 Pedro Alves <pedro@codesourcery.com>
9929 Pedro Alves <palves@redhat.com>
9930
9931 * gdb.threads/step-after-sr-lock.c: New file.
9932 * gdb.threads/step-after-sr-lock.exp: New file.
9933
9934 2014-02-07 Pedro Alves <palves@redhat.com>
9935
9936 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9937
9938 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9939
9940 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9941 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9942
9943 2014-02-06 Doug Evans <xdje42@gmail.com>
9944
9945 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9946 output.
9947
9948 * gdb.gdb/python-interrupts.exp: New file.
9949
9950 2014-02-05 Yao Qi <yao@codesourcery.com>
9951
9952 * gdb.trace/report.exp (use_collected_data): Test the output
9953 of "info threads" and "info inferiors".
9954
9955 2014-02-05 Yao Qi <yao@codesourcery.com>
9956
9957 Revert this patch:
9958
9959 2013-05-24 Yao Qi <yao@codesourcery.com>
9960
9961 * gdb.trace/tfile.exp: Test inferior and thread.
9962
9963 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9964
9965 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9966 on a function.
9967 * gdb.base/step-bt.c: Call hello via function pointer to make
9968 sure its first instruction is executed on powerpc64le-linux.
9969
9970 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9971
9972 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9973
9974 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9975
9976 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9977 of the test patterns for use on little-endian systems.
9978
9979 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9980
9981 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9982 (decimal_vector): Fix for little-endian.
9983
9984 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9985
9986 * gdb.arch/sparc-sysstep.exp: New file.
9987 * gdb.arch/sparc-sysstep.c: Likewise.
9988
9989 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9990
9991 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9992
9993 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9994
9995 2014-01-23 Tom Tromey <tromey@redhat.com>
9996
9997 * gdb.ada/array_char_idx: New testcase.
9998
9999 2014-01-23 Tom Tromey <tromey@redhat.com>
10000
10001 PR python/16487:
10002 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10003 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10004 classes.
10005
10006 2014-01-23 Tom Tromey <tromey@redhat.com>
10007
10008 PR python/16491:
10009 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10010 string from an inferior frame.
10011 * gdb.python/py-framefilter-mi.exp: Update.
10012
10013 2014-01-22 Doug Evans <dje@google.com>
10014
10015 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10016
10017 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10018
10019 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10020
10021 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10022
10023 * gdb.trace/entry-values.exp: Remove excess space character from
10024 regex patterns. Handle s390 call instruction.
10025
10026 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10027
10028 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10029 define "*_start" label. Make "name" static.
10030 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10031 ${name} by references to ${name}_start.
10032
10033 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10034
10035 * gdb.base/info-macros.exp: Remove "debug" from the compile
10036 options.
10037
10038 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10039
10040 * gdb.dlang/demangle.exp: New file.
10041
10042 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10043
10044 * gdb.dlang/primitive-types.exp: New file.
10045
10046 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10047
10048 * configure.ac: Create gdb.dlang/Makefile.
10049 * configure: Regenerate.
10050 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10051 * gdb.dlang/Makefile.in: New file.
10052 * lib/d-support.exp: New file.
10053 * lib/gdb.exp (skip_d_tests): New proc.
10054
10055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10056
10057 * gdb.btrace/delta.exp: Check reverse stepi.
10058 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10059 * gdb.btrace/finish.exp: New.
10060 * gdb.btrace/next.exp: New.
10061 * gdb.btrace/nexti.exp: New.
10062 * gdb.btrace/record_goto.c: Add comments.
10063 * gdb.btrace/step.exp: New.
10064 * gdb.btrace/stepi.exp: New.
10065 * gdb.btrace/multi-thread-step.c: New.
10066 * gdb.btrace/multi-thread-step.exp: New.
10067 * gdb.btrace/rn-dl-bind.c: New.
10068 * gdb.btrace/rn-dl-bind.exp: New.
10069 * gdb.btrace/data.c: New.
10070 * gdb.btrace/data.exp: New.
10071 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10072
10073 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10074
10075 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10076 * gdb.btrace/exception.exp: Update.
10077 * gdb.btrace/instruction_history.exp: Update.
10078 * gdb.btrace/record_goto.exp: Update.
10079 * gdb.btrace/tailcall.exp: Update.
10080 * gdb.btrace/unknown_functions.exp: Update.
10081 * gdb.btrace/delta.exp: New.
10082
10083 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10084
10085 * gdb.btrace/record_goto.exp: Add backtrace test.
10086 * gdb.btrace/tailcall.exp: Add backtrace test.
10087
10088 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10089
10090 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10091 * gdb.btrace/record_goto.c: New.
10092 * gdb.btrace/record_goto.exp: New.
10093 * gdb.btrace/x86-record_goto.S: New.
10094
10095 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10096
10097 * gdb.btrace/function_call_history.exp: Update tests.
10098 * gdb.btrace/instruction_history.exp: Update tests.
10099
10100 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10101
10102 * gdb.btrace/function_call_history.exp: Fix expected field
10103 order for "record function-call-history".
10104 Add new tests for "record function-call-history /c".
10105 * gdb.btrace/exception.cc: New.
10106 * gdb.btrace/exception.exp: New.
10107 * gdb.btrace/tailcall.exp: New.
10108 * gdb.btrace/x86-tailcall.S: New.
10109 * gdb.btrace/x86-tailcall.c: New.
10110 * gdb.btrace/unknown_functions.c: New.
10111 * gdb.btrace/unknown_functions.exp: New.
10112 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10113
10114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10115
10116 * gdb.btrace/instruction_history.exp: Update.
10117 * gdb.btrace/function_call_history.exp: Update.
10118
10119 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10120
10121 * gdb.btrace/function_call_history.exp: Fix expected function
10122 trace.
10123 * gdb.btrace/instruction_history.exp: Initialize traced.
10124 Remove traced_functions.
10125
10126 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10127
10128 * gdb.btrace/function_call_history.exp: Update
10129 * gdb.btrace/instruction_history.exp: Update.
10130
10131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10132
10133 * gdb.btrace/enable.exp: Update expected text.
10134
10135 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10136
10137 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10138 bytes.
10139
10140 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10141
10142 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10143
10144 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
10145
10146 * lib/gdb.exp (supports_process_record): Return true for
10147 arm*-linux*. (supports_reverse): Likewise.
10148
10149 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10150
10151 PR python/15464
10152 PR python/16113
10153 * gdb.python/py-type.c: Enhance test case.
10154 * gdb.python/py-value-cc.cc: Likewise
10155 * gdb.python/py-type.exp: Add new tests.
10156 * gdb.python/py-value-cc.exp: Likewise
10157
10158 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10159 Pedro Alves <palves@redhat.com>
10160
10161 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10162 Make "name" extern.
10163 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10164 references to ${name}_start by references to ${name}.
10165
10166 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10167
10168 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10169
10170 2014-01-10 Joel Brobecker <brobecker@adacore.com>
10171
10172 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10173
10174 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10175 Pedro Alves <palves@redhat.com>
10176
10177 * gdb.mi/mi-info-os.exp: Connect to the target with
10178 mi_gdb_target_load.
10179
10180 2014-01-08 Pedro Alves <palves@redhat.com>
10181
10182 * gdb.threads/reconnect-signal.c: New file.
10183 * gdb.threads/reconnect-signal.exp: New file.
10184
10185 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10186
10187 * gdb.base/source-dir.exp: New file.
10188
10189 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10190
10191 * gdb.ada/mi_interface: New testcase.
10192
10193 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10194
10195 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10196 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10197 gdb.ada/pp-rec-component/pck.ads: New files.
10198
10199 2014-01-07 Joel Brobecker <brobecker@adacore.com>
10200
10201 * gdb.python/py-pp-integral.c: New file.
10202 * gdb.python/py-pp-integral.py: New file.
10203 * gdb.python/py-pp-integral.exp: New file.
10204
10205 For older changes see ChangeLog-1993-2013.
10206 \f
10207 ;; Local Variables:
10208 ;; mode: change-log
10209 ;; left-margin: 8
10210 ;; fill-column: 74
10211 ;; version-control: never
10212 ;; End:
10213
10214 Copyright 2014-2016 Free Software Foundation, Inc.
10215 Copying and distribution of this file, with or without modification,
10216 are permitted provided the copyright notice and this notice are preserved.
This page took 0.287854 seconds and 4 git commands to generate.