Fix seg-fault in the linker when attempting to print out a malicious linker script.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
018572b8
LM
12016-12-01 Luis Machado <lgustavo@codesourcery.com>
2
3 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5 gdb_test_no_output for a couple of cases.
6 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7
84c93cd5
LM
82016-12-01 Luis Machado <lgustavo@codesourcery.com>
9
10 Fix test names and standardize compilation error messages throughout
11 the following files:
12
13 * gdb.ada/start.exp
14 * gdb.arch/alpha-step.exp
15 * gdb.arch/e500-prologue.exp
16 * gdb.arch/ftrace-insn-reloc.exp
17 * gdb.arch/gdb1291.exp
18 * gdb.arch/gdb1431.exp
19 * gdb.arch/gdb1558.exp
20 * gdb.arch/i386-dr3-watch.exp
21 * gdb.arch/i386-sse-stack-align.exp
22 * gdb.arch/ia64-breakpoint-shadow.exp
23 * gdb.arch/pa-nullify.exp
24 * gdb.arch/powerpc-aix-prologue.exp
25 * gdb.arch/thumb-bx-pc.exp
26 * gdb.base/annota1.exp
27 * gdb.base/annota3.exp
28 * gdb.base/arrayidx.exp
29 * gdb.base/assign.exp
30 * gdb.base/attach.exp
31 * gdb.base/auxv.exp
32 * gdb.base/bang.exp
33 * gdb.base/bfp-test.exp
34 * gdb.base/bigcore.exp
35 * gdb.base/bitfields2.exp
36 * gdb.base/break-fun-addr.exp
37 * gdb.base/break-probes.exp
38 * gdb.base/call-rt-st.exp
39 * gdb.base/callexit.exp
40 * gdb.base/catch-fork-kill.exp
41 * gdb.base/charset.exp
42 * gdb.base/checkpoint.exp
43 * gdb.base/comprdebug.exp
44 * gdb.base/constvars.exp
45 * gdb.base/coredump-filter.exp
46 * gdb.base/cursal.exp
47 * gdb.base/cvexpr.exp
48 * gdb.base/detach.exp
49 * gdb.base/display.exp
50 * gdb.base/dmsym.exp
51 * gdb.base/dprintf-pending.exp
52 * gdb.base/dso2dso.exp
53 * gdb.base/dtrace-probe.exp
54 * gdb.base/dump.exp
55 * gdb.base/enum_cond.exp
56 * gdb.base/exe-lock.exp
57 * gdb.base/exec-invalid-sysroot.exp
58 * gdb.base/execl-update-breakpoints.exp
59 * gdb.base/exprs.exp
60 * gdb.base/fileio.exp
61 * gdb.base/find.exp
62 * gdb.base/finish.exp
63 * gdb.base/fixsection.exp
64 * gdb.base/foll-vfork.exp
65 * gdb.base/frame-args.exp
66 * gdb.base/gcore.exp
67 * gdb.base/gdb1250.exp
68 * gdb.base/global-var-nested-by-dso.exp
69 * gdb.base/gnu-ifunc.exp
70 * gdb.base/hashline1.exp
71 * gdb.base/hashline2.exp
72 * gdb.base/hashline3.exp
73 * gdb.base/hbreak-in-shr-unsupported.exp
74 * gdb.base/huge.exp
75 * gdb.base/infcall-input.exp
76 * gdb.base/info-fun.exp
77 * gdb.base/info-shared.exp
78 * gdb.base/jit-simple.exp
79 * gdb.base/jit-so.exp
80 * gdb.base/jit.exp
81 * gdb.base/jump.exp
82 * gdb.base/label.exp
83 * gdb.base/lineinc.exp
84 * gdb.base/logical.exp
85 * gdb.base/longjmp.exp
86 * gdb.base/macscp.exp
87 * gdb.base/miscexprs.exp
88 * gdb.base/new-ui-echo.exp
89 * gdb.base/new-ui-pending-input.exp
90 * gdb.base/new-ui.exp
91 * gdb.base/nodebug.exp
92 * gdb.base/nofield.exp
93 * gdb.base/offsets.exp
94 * gdb.base/overlays.exp
95 * gdb.base/pending.exp
96 * gdb.base/pointers.exp
97 * gdb.base/pr11022.exp
98 * gdb.base/printcmds.exp
99 * gdb.base/prologue.exp
100 * gdb.base/ptr-typedef.exp
101 * gdb.base/realname-expand.exp
102 * gdb.base/relativedebug.exp
103 * gdb.base/relocate.exp
104 * gdb.base/remote.exp
105 * gdb.base/reread.exp
106 * gdb.base/return2.exp
107 * gdb.base/savedregs.exp
108 * gdb.base/sep.exp
109 * gdb.base/sepdebug.exp
110 * gdb.base/sepsymtab.exp
111 * gdb.base/set-inferior-tty.exp
112 * gdb.base/setshow.exp
113 * gdb.base/shlib-call.exp
114 * gdb.base/sigaltstack.exp
115 * gdb.base/siginfo-addr.exp
116 * gdb.base/signals.exp
117 * gdb.base/signull.exp
118 * gdb.base/sigrepeat.exp
119 * gdb.base/so-impl-ld.exp
120 * gdb.base/solib-display.exp
121 * gdb.base/solib-overlap.exp
122 * gdb.base/solib-search.exp
123 * gdb.base/solib-symbol.exp
124 * gdb.base/structs.exp
125 * gdb.base/structs2.exp
126 * gdb.base/symtab-search-order.exp
127 * gdb.base/twice.exp
128 * gdb.base/unload.exp
129 * gdb.base/varargs.exp
130 * gdb.base/watchpoint-solib.exp
131 * gdb.base/watchpoint.exp
132 * gdb.base/whatis.exp
133 * gdb.base/wrong_frame_bt_full.exp
134 * gdb.btrace/dlopen.exp
135 * gdb.cell/ea-standalone.exp
136 * gdb.cell/ea-test.exp
137 * gdb.cp/dispcxx.exp
138 * gdb.cp/gdb2384.exp
139 * gdb.cp/method2.exp
140 * gdb.cp/nextoverthrow.exp
141 * gdb.cp/pr10728.exp
142 * gdb.disasm/am33.exp
143 * gdb.disasm/h8300s.exp
144 * gdb.disasm/mn10300.exp
145 * gdb.disasm/sh3.exp
146 * gdb.dwarf2/dw2-dir-file-name.exp
147 * gdb.fortran/complex.exp
148 * gdb.fortran/library-module.exp
149 * gdb.guile/scm-pretty-print.exp
150 * gdb.guile/scm-symbol.exp
151 * gdb.guile/scm-type.exp
152 * gdb.guile/scm-value.exp
153 * gdb.linespec/linespec.exp
154 * gdb.mi/gdb701.exp
155 * gdb.mi/gdb792.exp
156 * gdb.mi/mi-breakpoint-changed.exp
157 * gdb.mi/mi-dprintf-pending.exp
158 * gdb.mi/mi-dprintf.exp
159 * gdb.mi/mi-exit-code.exp
160 * gdb.mi/mi-pending.exp
161 * gdb.mi/mi-solib.exp
162 * gdb.mi/new-ui-mi-sync.exp
163 * gdb.mi/pr11022.exp
164 * gdb.mi/user-selected-context-sync.exp
165 * gdb.opt/solib-intra-step.exp
166 * gdb.python/py-events.exp
167 * gdb.python/py-finish-breakpoint.exp
168 * gdb.python/py-mi.exp
169 * gdb.python/py-prettyprint.exp
170 * gdb.python/py-shared.exp
171 * gdb.python/py-symbol.exp
172 * gdb.python/py-template.exp
173 * gdb.python/py-type.exp
174 * gdb.python/py-value.exp
175 * gdb.reverse/solib-precsave.exp
176 * gdb.reverse/solib-reverse.exp
177 * gdb.server/solib-list.exp
178 * gdb.stabs/weird.exp
179 * gdb.threads/reconnect-signal.exp
180 * gdb.threads/stepi-random-signal.exp
181 * gdb.trace/actions.exp
182 * gdb.trace/ax.exp
183 * gdb.trace/backtrace.exp
184 * gdb.trace/change-loc.exp
185 * gdb.trace/deltrace.exp
186 * gdb.trace/ftrace-lock.exp
187 * gdb.trace/ftrace.exp
188 * gdb.trace/infotrace.exp
189 * gdb.trace/mi-tracepoint-changed.exp
190 * gdb.trace/packetlen.exp
191 * gdb.trace/passcount.exp
192 * gdb.trace/pending.exp
193 * gdb.trace/range-stepping.exp
194 * gdb.trace/report.exp
195 * gdb.trace/stap-trace.exp
196 * gdb.trace/tfind.exp
197 * gdb.trace/trace-break.exp
198 * gdb.trace/trace-condition.exp
199 * gdb.trace/trace-enable-disable.exp
200 * gdb.trace/trace-mt.exp
201 * gdb.trace/tracecmd.exp
202 * gdb.trace/tspeed.exp
203 * gdb.trace/tsv.exp
204 * lib/perftest.exp
205
fb9feb35
LM
2062016-12-01 Luis Machado <lgustavo@codesourcery.com>
207
208 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
209 with gdb_test_no_output.
210 Use command as test name.
211
cd2ddb6c
LM
2122016-12-01 Luis Machado <lgustavo@codesourcery.com>
213
214 Fix test names starting with uppercase throughout the files.
215
216 * gdb.ada/assign_1.exp
217 * gdb.ada/boolean_expr.exp
218 * gdb.base/arrayidx.exp
219 * gdb.base/del.exp
220 * gdb.base/gcore-buffer-overflow.exp
221 * gdb.base/testenv.exp
222 * gdb.compile/compile.exp
223 * gdb.python/py-framefilter-invalidarg.exp
224 * gdb.python/py-framefilter.exp
225
bb95117e
LM
2262016-12-01 Luis Machado <lgustavo@codesourcery.com>
227
228 Fix test names starting with uppercase throughout the files.
229
230 * gdb.ada/array_return.exp
231 * gdb.ada/expr_delims.exp
232 * gdb.ada/mi_dyn_arr.exp
233 * gdb.ada/mi_interface.exp
234 * gdb.ada/mi_var_array.exp
235 * gdb.ada/watch_arg.exp
236 * gdb.arch/alpha-step.exp
237 * gdb.arch/altivec-regs.exp
238 * gdb.arch/e500-regs.exp
239 * gdb.arch/powerpc-d128-regs.exp
240 * gdb.base/arrayidx.exp
241 * gdb.base/break.exp
242 * gdb.base/checkpoint.exp
243 * gdb.base/debug-expr.exp
244 * gdb.base/dmsym.exp
245 * gdb.base/radix.exp
246 * gdb.base/sepdebug.exp
247 * gdb.base/testenv.exp
248 * gdb.base/watch_thread_num.exp
249 * gdb.base/watchpoint-cond-gone.exp
250 * gdb.cell/break.exp
251 * gdb.cell/ea-cache.exp
252 * gdb.compile/compile.exp
253 * gdb.cp/gdb2495.exp
254 * gdb.gdb/selftest.exp
255 * gdb.gdb/xfullpath.exp
256 * gdb.go/hello.exp
257 * gdb.go/integers.exp
258 * gdb.objc/basicclass.exp
259 * gdb.pascal/hello.exp
260 * gdb.pascal/integers.exp
261 * gdb.python/py-breakpoint.exp
262 * gdb.python/py-cmd.exp
263 * gdb.python/py-linetable.exp
264 * gdb.python/py-xmethods.exp
265 * gdb.python/python.exp
266 * gdb.reverse/consecutive-precsave.exp
267 * gdb.reverse/finish-precsave.exp
268 * gdb.reverse/i386-precsave.exp
269 * gdb.reverse/machinestate-precsave.exp
270 * gdb.reverse/sigall-precsave.exp
271 * gdb.reverse/solib-precsave.exp
272 * gdb.reverse/step-precsave.exp
273 * gdb.reverse/until-precsave.exp
274 * gdb.reverse/watch-precsave.exp
275 * gdb.threads/leader-exit.exp
276 * gdb.threads/pthreads.exp
277 * gdb.threads/wp-replication.exp
278 * gdb.trace/actions.exp
279 * gdb.trace/mi-tsv-changed.exp
280 * gdb.trace/tsv.exp
281
de97fdd4
LM
2822016-12-01 Luis Machado <lgustavo@codesourcery.com>
283
284 Fix test names starting with uppercase throughout the files.
285
286 * gdb.arch/i386-bp_permanent.exp
287 * gdb.arch/i386-gnu-cfi.exp
288 * gdb.base/disasm-end-cu.exp
289 * gdb.base/macscp.exp
290 * gdb.base/pending.exp
291 * gdb.base/watch_thread_num.exp
292 * gdb.cp/exception.exp
293 * gdb.cp/gdb2495.exp
294 * gdb.cp/local.exp
295 * gdb.python/py-evsignal.exp
296 * gdb.python/python.exp
297 * gdb.trace/tracecmd.exp
298
9f058c10
LM
2992016-12-01 Luis Machado <lgustavo@codesourcery.com>
300
301 Fix test names starting with uppercase throughout the files.
302
303 * gdb.base/charset.exp
304 * gdb.base/eval.exp
305 * gdb.base/multi-forks.exp
306 * gdb.guile/scm-progspace.exp
307 * gdb.opencl/datatypes.exp
308 * gdb.python/py-block.exp
309 * gdb.python/py-function.exp
310 * gdb.python/py-symbol.exp
311 * gdb.python/py-symtab.exp
312 * gdb.python/py-xmethods.exp
313 * gdb.reverse/break-precsave.exp
314 * gdb.reverse/break-reverse.exp
315 * gdb.reverse/consecutive-precsave.exp
316 * gdb.reverse/consecutive-reverse.exp
317 * gdb.reverse/finish-precsave.exp
318 * gdb.reverse/finish-reverse-bkpt.exp
319 * gdb.reverse/finish-reverse.exp
320 * gdb.reverse/fstatat-reverse.exp
321 * gdb.reverse/getresuid-reverse.exp
322 * gdb.reverse/i386-precsave.exp
323 * gdb.reverse/i386-reverse.exp
324 * gdb.reverse/i386-sse-reverse.exp
325 * gdb.reverse/i387-stack-reverse.exp
326 * gdb.reverse/insn-reverse.exp
327 * gdb.reverse/machinestate-precsave.exp
328 * gdb.reverse/machinestate.exp
329 * gdb.reverse/next-reverse-bkpt-over-sr.exp
330 * gdb.reverse/pipe-reverse.exp
331 * gdb.reverse/readv-reverse.exp
332 * gdb.reverse/recvmsg-reverse.exp
333 * gdb.reverse/rerun-prec.exp
334 * gdb.reverse/s390-mvcle.exp
335 * gdb.reverse/sigall-precsave.exp
336 * gdb.reverse/sigall-reverse.exp
337 * gdb.reverse/solib-precsave.exp
338 * gdb.reverse/solib-reverse.exp
339 * gdb.reverse/step-precsave.exp
340 * gdb.reverse/step-reverse.exp
341 * gdb.reverse/time-reverse.exp
342 * gdb.reverse/until-precsave.exp
343 * gdb.reverse/until-reverse.exp
344 * gdb.reverse/waitpid-reverse.exp
345 * gdb.reverse/watch-precsave.exp
346 * gdb.reverse/watch-reverse.exp
347
cdc7edd7
LM
3482016-12-01 Luis Machado <lgustavo@codesourcery.com>
349
350 Fix test names starting with uppercase throughout the files.
351
352 * gdb.arch/i386-mpx-simple_segv.exp
353 * gdb.arch/i386-mpx.exp
354 * gdb.arch/i386-permbkpt.exp
355 * gdb.arch/pa-nullify.exp
356 * gdb.arch/powerpc-d128-regs.exp
357 * gdb.arch/vsx-regs.exp
358 * gdb.base/bfp-test.exp
359 * gdb.base/break.exp
360 * gdb.base/breakpoint-shadow.exp
361 * gdb.base/callfuncs.exp
362 * gdb.base/charset.exp
363 * gdb.base/commands.exp
364 * gdb.base/completion.exp
365 * gdb.base/dfp-test.exp
366 * gdb.base/echo.exp
367 * gdb.base/ending-run.exp
368 * gdb.base/eval.exp
369 * gdb.base/expand-psymtabs.exp
370 * gdb.base/float128.exp
371 * gdb.base/floatn.exp
372 * gdb.base/foll-exec-mode.exp
373 * gdb.base/gdb1056.exp
374 * gdb.base/gdb11531.exp
375 * gdb.base/kill-after-signal.exp
376 * gdb.base/multi-forks.exp
377 * gdb.base/overlays.exp
378 * gdb.base/pending.exp
379 * gdb.base/sepdebug.exp
380 * gdb.base/testenv.exp
381 * gdb.base/valgrind-db-attach.exp
382 * gdb.base/watch_thread_num.exp
383 * gdb.base/watchpoint-cond-gone.exp
384 * gdb.base/watchpoint.exp
385 * gdb.base/watchpoints.exp
386 * gdb.cp/arg-reference.exp
387 * gdb.cp/baseenum.exp
388 * gdb.cp/operator.exp
389 * gdb.cp/shadow.exp
390 * gdb.dwarf2/dw2-op-out-param.exp
391 * gdb.dwarf2/dw2-reg-undefined.exp
392 * gdb.go/chan.exp
393 * gdb.go/hello.exp
394 * gdb.go/integers.exp
395 * gdb.go/methods.exp
396 * gdb.go/package.exp
397 * gdb.guile/scm-parameter.exp
398 * gdb.guile/scm-progspace.exp
399 * gdb.guile/scm-value.exp
400 * gdb.mi/mi-pending.exp
401 * gdb.mi/user-selected-context-sync.exp
402 * gdb.multi/multi-attach.exp
403 * gdb.multi/tids.exp
404 * gdb.opt/clobbered-registers-O2.exp
405 * gdb.pascal/floats.exp
406 * gdb.pascal/integers.exp
407 * gdb.python/py-block.exp
408 * gdb.python/py-events.exp
409 * gdb.python/py-parameter.exp
410 * gdb.python/py-symbol.exp
411 * gdb.python/py-symtab.exp
412 * gdb.python/py-type.exp
413 * gdb.python/py-value.exp
414 * gdb.python/py-xmethods.exp
415 * gdb.python/python.exp
416 * gdb.reverse/break-precsave.exp
417 * gdb.reverse/consecutive-precsave.exp
418 * gdb.reverse/finish-precsave.exp
419 * gdb.reverse/i386-precsave.exp
420 * gdb.reverse/machinestate-precsave.exp
421 * gdb.reverse/sigall-precsave.exp
422 * gdb.reverse/solib-precsave.exp
423 * gdb.reverse/step-precsave.exp
424 * gdb.reverse/until-precsave.exp
425 * gdb.reverse/watch-precsave.exp
426 * gdb.server/ext-attach.exp
427 * gdb.server/ext-restart.exp
428 * gdb.server/ext-run.exp
429 * gdb.server/ext-wrapper.exp
430 * gdb.stabs/gdb11479.exp
431 * gdb.stabs/weird.exp
432 * gdb.threads/attach-many-short-lived-threads.exp
433 * gdb.threads/kill.exp
434 * gdb.threads/watchpoint-fork.exp
435
bc6c7af4
LM
4362016-12-01 Luis Machado <lgustavo@codesourcery.com>
437
438 Fix test names starting with uppercase throughout all the files below.
439
440 * gdb.ada/array_return.exp
441 * gdb.ada/catch_ex.exp
442 * gdb.ada/info_exc.exp
443 * gdb.ada/mi_catch_ex.exp
444 * gdb.ada/mi_dyn_arr.exp
445 * gdb.ada/mi_ex_cond.exp
446 * gdb.ada/mi_exc_info.exp
447 * gdb.ada/mi_interface.exp
448 * gdb.ada/mi_task_arg.exp
449 * gdb.ada/mi_task_info.exp
450 * gdb.ada/mi_var_array.exp
451 * gdb.arch/alpha-step.exp
452 * gdb.arch/amd64-disp-step.exp
453 * gdb.arch/arm-disp-step.exp
454 * gdb.arch/disp-step-insn-reloc.exp
455 * gdb.arch/e500-prologue.exp
456 * gdb.arch/ftrace-insn-reloc.exp
457 * gdb.arch/gdb1558.exp
458 * gdb.arch/i386-bp_permanent.exp
459 * gdb.arch/i386-disp-step.exp
460 * gdb.arch/i386-float.exp
461 * gdb.arch/i386-gnu-cfi.exp
462 * gdb.arch/ia64-breakpoint-shadow.exp
463 * gdb.arch/mips16-thunks.exp
464 * gdb.arch/pa-nullify.exp
465 * gdb.arch/powerpc-aix-prologue.exp
466 * gdb.arch/powerpc-power.exp
467 * gdb.arch/ppc-dfp.exp
468 * gdb.arch/s390-tdbregs.exp
469 * gdb.arch/spu-info.exp
470 * gdb.arch/spu-ls.exp
471 * gdb.arch/thumb-bx-pc.exp
472 * gdb.base/advance.exp
473 * gdb.base/annota-input-while-running.exp
474 * gdb.base/arrayidx.exp
475 * gdb.base/asmlabel.exp
476 * gdb.base/async.exp
477 * gdb.base/attach-wait-input.exp
478 * gdb.base/auto-connect-native-target.exp
479 * gdb.base/batch-preserve-term-settings.exp
480 * gdb.base/bfp-test.exp
481 * gdb.base/bigcore.exp
482 * gdb.base/bp-permanent.exp
483 * gdb.base/break-always.exp
484 * gdb.base/break-fun-addr.exp
485 * gdb.base/break-idempotent.exp
486 * gdb.base/break-main-file-remove-fail.exp
487 * gdb.base/break-probes.exp
488 * gdb.base/break-unload-file.exp
489 * gdb.base/break.exp
490 * gdb.base/call-ar-st.exp
491 * gdb.base/call-rt-st.exp
492 * gdb.base/call-sc.exp
493 * gdb.base/call-signal-resume.exp
494 * gdb.base/call-strs.exp
495 * gdb.base/callexit.exp
496 * gdb.base/callfuncs.exp
497 * gdb.base/catch-gdb-caused-signals.exp
498 * gdb.base/catch-signal-siginfo-cond.exp
499 * gdb.base/catch-syscall.exp
500 * gdb.base/compare-sections.exp
501 * gdb.base/cond-eval-mode.exp
502 * gdb.base/condbreak-call-false.exp
503 * gdb.base/consecutive-step-over.exp
504 * gdb.base/cursal.exp
505 * gdb.base/disabled-location.exp
506 * gdb.base/disasm-end-cu.exp
507 * gdb.base/display.exp
508 * gdb.base/double-prompt-target-event-error.exp
509 * gdb.base/dprintf-bp-same-addr.exp
510 * gdb.base/dprintf-detach.exp
511 * gdb.base/dprintf-next.exp
512 * gdb.base/dprintf-non-stop.exp
513 * gdb.base/dprintf-pending.exp
514 * gdb.base/dso2dso.exp
515 * gdb.base/ending-run.exp
516 * gdb.base/enum_cond.exp
517 * gdb.base/examine-backward.exp
518 * gdb.base/exe-lock.exp
519 * gdb.base/exec-invalid-sysroot.exp
520 * gdb.base/execl-update-breakpoints.exp
521 * gdb.base/execution-termios.exp
522 * gdb.base/fileio.exp
523 * gdb.base/fixsection.exp
524 * gdb.base/foll-exec-mode.exp
525 * gdb.base/foll-exec.exp
526 * gdb.base/fork-running-state.exp
527 * gdb.base/frame-args.exp
528 * gdb.base/fullpath-expand.exp
529 * gdb.base/func-ptr.exp
530 * gdb.base/gcore-relro-pie.exp
531 * gdb.base/gdb1090.exp
532 * gdb.base/gdb1555.exp
533 * gdb.base/global-var-nested-by-dso.exp
534 * gdb.base/gnu-ifunc.exp
535 * gdb.base/hbreak-in-shr-unsupported.exp
536 * gdb.base/hbreak-unmapped.exp
537 * gdb.base/hook-stop.exp
538 * gdb.base/infcall-input.exp
539 * gdb.base/info-fun.exp
540 * gdb.base/info-shared.exp
541 * gdb.base/interrupt-noterm.exp
542 * gdb.base/jit-so.exp
543 * gdb.base/jit.exp
544 * gdb.base/line-symtabs.exp
545 * gdb.base/list.exp
546 * gdb.base/longjmp.exp
547 * gdb.base/macscp.exp
548 * gdb.base/max-value-size.exp
549 * gdb.base/nodebug.exp
550 * gdb.base/nofield.exp
551 * gdb.base/overlays.exp
552 * gdb.base/paginate-after-ctrl-c-running.exp
553 * gdb.base/paginate-bg-execution.exp
554 * gdb.base/paginate-inferior-exit.exp
555 * gdb.base/pending.exp
556 * gdb.base/pr11022.exp
557 * gdb.base/printcmds.exp
558 * gdb.base/ptr-typedef.exp
559 * gdb.base/ptype.exp
560 * gdb.base/randomize.exp
561 * gdb.base/range-stepping.exp
562 * gdb.base/realname-expand.exp
563 * gdb.base/relativedebug.exp
564 * gdb.base/remote.exp
565 * gdb.base/savedregs.exp
566 * gdb.base/sepdebug.exp
567 * gdb.base/set-noassign.exp
568 * gdb.base/shlib-call.exp
569 * gdb.base/shreloc.exp
570 * gdb.base/sigaltstack.exp
571 * gdb.base/sigbpt.exp
572 * gdb.base/siginfo-addr.exp
573 * gdb.base/siginfo-obj.exp
574 * gdb.base/siginfo-thread.exp
575 * gdb.base/signest.exp
576 * gdb.base/signull.exp
577 * gdb.base/sigrepeat.exp
578 * gdb.base/skip.exp
579 * gdb.base/so-impl-ld.exp
580 * gdb.base/solib-corrupted.exp
581 * gdb.base/solib-disc.exp
582 * gdb.base/solib-display.exp
583 * gdb.base/solib-overlap.exp
584 * gdb.base/solib-search.exp
585 * gdb.base/solib-symbol.exp
586 * gdb.base/source-execution.exp
587 * gdb.base/sss-bp-on-user-bp-2.exp
588 * gdb.base/sss-bp-on-user-bp.exp
589 * gdb.base/stack-checking.exp
590 * gdb.base/stale-infcall.exp
591 * gdb.base/step-break.exp
592 * gdb.base/step-line.exp
593 * gdb.base/step-over-exit.exp
594 * gdb.base/step-test.exp
595 * gdb.base/structs.exp
596 * gdb.base/sym-file.exp
597 * gdb.base/symtab-search-order.exp
598 * gdb.base/term.exp
599 * gdb.base/type-opaque.exp
600 * gdb.base/unload.exp
601 * gdb.base/until-nodebug.exp
602 * gdb.base/until.exp
603 * gdb.base/unwindonsignal.exp
604 * gdb.base/watch-cond.exp
605 * gdb.base/watch-non-mem.exp
606 * gdb.base/watch_thread_num.exp
607 * gdb.base/watchpoint-reuse-slot.exp
608 * gdb.base/watchpoint-solib.exp
609 * gdb.base/watchpoint.exp
610 * gdb.btrace/dlopen.exp
611 * gdb.cell/arch.exp
612 * gdb.cell/break.exp
613 * gdb.cell/bt.exp
614 * gdb.cell/core.exp
615 * gdb.cell/data.exp
616 * gdb.cell/dwarfaddr.exp
617 * gdb.cell/ea-cache.exp
618 * gdb.cell/ea-standalone.exp
619 * gdb.cell/ea-test.exp
620 * gdb.cell/f-regs.exp
621 * gdb.cell/fork.exp
622 * gdb.cell/gcore.exp
623 * gdb.cell/mem-access.exp
624 * gdb.cell/ptype.exp
625 * gdb.cell/registers.exp
626 * gdb.cell/sizeof.exp
627 * gdb.cell/solib-symbol.exp
628 * gdb.cell/solib.exp
629 * gdb.compile/compile-tls.exp
630 * gdb.cp/exception.exp
631 * gdb.cp/gdb2495.exp
632 * gdb.cp/local.exp
633 * gdb.cp/mb-inline.exp
634 * gdb.cp/mb-templates.exp
635 * gdb.cp/pr10687.exp
636 * gdb.cp/pr9167.exp
637 * gdb.cp/scope-err.exp
638 * gdb.cp/templates.exp
639 * gdb.cp/virtfunc.exp
640 * gdb.dwarf2/dw2-dir-file-name.exp
641 * gdb.dwarf2/dw2-single-line-discriminators.exp
642 * gdb.fortran/complex.exp
643 * gdb.fortran/library-module.exp
644 * gdb.guile/guile.exp
645 * gdb.guile/scm-cmd.exp
646 * gdb.guile/scm-frame-inline.exp
647 * gdb.guile/scm-objfile.exp
648 * gdb.guile/scm-pretty-print.exp
649 * gdb.guile/scm-symbol.exp
650 * gdb.guile/scm-type.exp
651 * gdb.guile/scm-value.exp
652 * gdb.linespec/keywords.exp
653 * gdb.linespec/ls-errs.exp
654 * gdb.linespec/macro-relative.exp
655 * gdb.linespec/thread.exp
656 * gdb.mi/mi-breakpoint-changed.exp
657 * gdb.mi/mi-dprintf-pending.exp
658 * gdb.mi/mi-fullname-deleted.exp
659 * gdb.mi/mi-logging.exp
660 * gdb.mi/mi-pending.exp
661 * gdb.mi/mi-solib.exp
662 * gdb.mi/new-ui-mi-sync.exp
663 * gdb.mi/user-selected-context-sync.exp
664 * gdb.multi/dummy-frame-restore.exp
665 * gdb.multi/multi-arch-exec.exp
666 * gdb.multi/remove-inferiors.exp
667 * gdb.multi/watchpoint-multi-exit.exp
668 * gdb.opt/solib-intra-step.exp
669 * gdb.perf/backtrace.exp
670 * gdb.perf/single-step.exp
671 * gdb.perf/skip-command.exp
672 * gdb.perf/skip-prologue.exp
673 * gdb.perf/solib.exp
674 * gdb.python/lib-types.exp
675 * gdb.python/py-as-string.exp
676 * gdb.python/py-bad-printers.exp
677 * gdb.python/py-block.exp
678 * gdb.python/py-breakpoint.exp
679 * gdb.python/py-cmd.exp
680 * gdb.python/py-events.exp
681 * gdb.python/py-evthreads.exp
682 * gdb.python/py-finish-breakpoint.exp
683 * gdb.python/py-finish-breakpoint2.exp
684 * gdb.python/py-frame-inline.exp
685 * gdb.python/py-frame.exp
686 * gdb.python/py-inferior.exp
687 * gdb.python/py-infthread.exp
688 * gdb.python/py-mi.exp
689 * gdb.python/py-objfile.exp
690 * gdb.python/py-pp-maint.exp
691 * gdb.python/py-pp-registration.exp
692 * gdb.python/py-prettyprint.exp
693 * gdb.python/py-recurse-unwind.exp
694 * gdb.python/py-shared.exp
695 * gdb.python/py-symbol.exp
696 * gdb.python/py-symtab.exp
697 * gdb.python/py-template.exp
698 * gdb.python/py-type.exp
699 * gdb.python/py-unwind-maint.exp
700 * gdb.python/py-unwind.exp
701 * gdb.python/py-value.exp
702 * gdb.python/python.exp
703 * gdb.reverse/finish-reverse-bkpt.exp
704 * gdb.reverse/insn-reverse.exp
705 * gdb.reverse/next-reverse-bkpt-over-sr.exp
706 * gdb.reverse/solib-precsave.exp
707 * gdb.reverse/solib-reverse.exp
708 * gdb.stabs/gdb11479.exp
709 * gdb.stabs/weird.exp
710 * gdb.threads/fork-child-threads.exp
711 * gdb.threads/fork-plus-threads.exp
712 * gdb.threads/fork-thread-pending.exp
713 * gdb.threads/forking-threads-plus-breakpoint.exp
714 * gdb.threads/hand-call-in-threads.exp
715 * gdb.threads/interrupted-hand-call.exp
716 * gdb.threads/linux-dp.exp
717 * gdb.threads/local-watch-wrong-thread.exp
718 * gdb.threads/next-while-other-thread-longjmps.exp
719 * gdb.threads/non-ldr-exit.exp
720 * gdb.threads/pending-step.exp
721 * gdb.threads/print-threads.exp
722 * gdb.threads/process-dies-while-detaching.exp
723 * gdb.threads/process-dies-while-handling-bp.exp
724 * gdb.threads/pthreads.exp
725 * gdb.threads/queue-signal.exp
726 * gdb.threads/reconnect-signal.exp
727 * gdb.threads/signal-command-handle-nopass.exp
728 * gdb.threads/signal-command-multiple-signals-pending.exp
729 * gdb.threads/signal-delivered-right-thread.exp
730 * gdb.threads/signal-sigtrap.exp
731 * gdb.threads/sigthread.exp
732 * gdb.threads/staticthreads.exp
733 * gdb.threads/stepi-random-signal.exp
734 * gdb.threads/thread-unwindonsignal.exp
735 * gdb.threads/thread_check.exp
736 * gdb.threads/thread_events.exp
737 * gdb.threads/tid-reuse.exp
738 * gdb.threads/tls-nodebug.exp
739 * gdb.threads/tls-shared.exp
740 * gdb.threads/tls-so_extern.exp
741 * gdb.threads/tls.exp
742 * gdb.threads/wp-replication.exp
743 * gdb.trace/actions-changed.exp
744 * gdb.trace/actions.exp
745 * gdb.trace/backtrace.exp
746 * gdb.trace/change-loc.exp
747 * gdb.trace/collection.exp
748 * gdb.trace/deltrace.exp
749 * gdb.trace/disconnected-tracing.exp
750 * gdb.trace/entry-values.exp
751 * gdb.trace/ftrace-lock.exp
752 * gdb.trace/ftrace.exp
753 * gdb.trace/infotrace.exp
754 * gdb.trace/mi-trace-frame-collected.exp
755 * gdb.trace/mi-trace-unavailable.exp
756 * gdb.trace/mi-traceframe-changed.exp
757 * gdb.trace/mi-tracepoint-changed.exp
758 * gdb.trace/mi-tsv-changed.exp
759 * gdb.trace/no-attach-trace.exp
760 * gdb.trace/packetlen.exp
761 * gdb.trace/passc-dyn.exp
762 * gdb.trace/passcount.exp
763 * gdb.trace/pending.exp
764 * gdb.trace/pr16508.exp
765 * gdb.trace/qtro.exp
766 * gdb.trace/range-stepping.exp
767 * gdb.trace/read-memory.exp
768 * gdb.trace/report.exp
769 * gdb.trace/save-trace.exp
770 * gdb.trace/signal.exp
771 * gdb.trace/stap-trace.exp
772 * gdb.trace/status-stop.exp
773 * gdb.trace/strace.exp
774 * gdb.trace/tfile.exp
775 * gdb.trace/tfind.exp
776 * gdb.trace/trace-break.exp
777 * gdb.trace/trace-condition.exp
778 * gdb.trace/trace-enable-disable.exp
779 * gdb.trace/trace-mt.exp
780 * gdb.trace/tracecmd.exp
781 * gdb.trace/tracefile-pseudo-reg.exp
782 * gdb.trace/tspeed.exp
783 * gdb.trace/tstatus.exp
784 * gdb.trace/tsv.exp
785 * gdb.trace/unavailable.exp
786 * gdb.trace/while-dyn.exp
787 * gdb.trace/while-stepping.exp
788 * lib/gdb-guile.exp
789 * lib/gdb.exp
790 * lib/mi-support.exp
791 * lib/pascal.exp
792 * lib/perftest.exp
793 * lib/prelink-support.exp
794 * lib/selftest-support.exp
795
ad02e4fe
SM
7962016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
797
798 * Makefile.in: Include disable-implicit-rules.mk.
799
22347e55
AA
8002016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
801
802 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
803 non-byte-aligned bit fields.
804
da5b30da
AA
8052016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
806
807 PR gdb/12616
808 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
809 respects the DW_AT_data_bit_offset attribute.
810
b593ecca
SM
8112016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
812
813 * gdb.base/default.exp: Fix output of "set language".
814
3b165252
SM
8152016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
816
817 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
818 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
819 make.
820 * configure.ac: Remove checks for the make program.
821 * configure: Re-generate.
822
1a2f3d7f
KB
8232016-11-16 Kevin Buettner <kevinb@redhat.com>
824
825 * gdb.python/py-recurse-unwind.c (main): Add loop.
826 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
827 to read_register() and gdb.parse_and_eval(). Make each code
828 call a separate case that can be individually tested.
829 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
830 proc. Call cont_and_backtrace for each of the code paths that
831 we want to test in the unwinder.
832
b7f38fda
AA
8332016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
834
835 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
836 the definition of struct S.
837
1f8db343
CM
8382016-11-11 Catherine Moore <clm@codesourcery.com>
839
840 * gdb.base/dump.exp: Identify verilog format dump tests as such.
841
fad0c9fb
PA
8422016-11-09 Pedro Alves <palves@redhat.com>
843
844 * gdb.base/commands.exp (runto_or_return): New procedure.
845 (gdbvar_simple_if_test, gdbvar_simple_while_test)
846 (gdbvar_complex_if_while_test, progvar_simple_if_test)
847 (progvar_simple_while_test, progvar_complex_if_while_test)
848 (if_while_breakpoint_command_test)
849 (infrun_breakpoint_command_test, breakpoint_command_test)
850 (user_defined_command_test, watchpoint_command_test)
851 (test_command_prompt_position, redefine_hook_test)
852 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
853 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
854 multi_line_input and multi_line. Remove gdb_expect and
855 gdb_stop_suppressing_tests uses.
856 * lib/gdb.exp (valnum_re): New global.
857 (multi_line_input): New procedure.
858
8354c62c
SM
8592016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
860
861 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
862 Remove.
863 (test_setup): Define with proc_with_prefix.
864 (test_cli_inferior): Likewise.
865 (test_cli_thread): Likewise.
866 (test_cli_frame): Likewise.
867 (test_cli_select_frame): Likewise.
868 (test_cli_up_down): Likewise.
869 (test_mi_thread_select): Likewise.
870 (test_mi_stack_select_frame): Likewise.
871 (test_cli_in_mi_inferior): Likewise.
872 (test_cli_in_mi_thread): Likewise.
873 (test_cli_in_mi_frame): Likewise.
874 (top level): Do not use with_test_prefix_procname.
875
64f367a2
PA
8762016-11-09 Pedro Alves <palves@redhat.com>
877
878 * gdb.base/commands.exp (gdbvar_simple_if_test)
879 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
880 (progvar_simple_if_test, progvar_simple_while_test)
881 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
882 (infrun_breakpoint_command_test, breakpoint_command_test)
883 (user_defined_command_test, watchpoint_command_test)
884 (test_command_prompt_position, deprecated_command_test)
885 (bp_deleted_in_command, temporary_breakpoint_commands)
886 (stray_arg0_test, source_file_with_indented_comment)
887 (recursive_source_test, if_commands_test)
888 (error_clears_commands_left, redefine_hook_test)
889 (redefine_backtrace_test): Use proc_with_prefix.
890 * lib/gdb.exp (proc_with_prefix): New proc.
891
0bb65f1e
AA
8922016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
893
894 * gdb.base/tui-layout.c: New file.
895 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
896 disassembly window contains very long lines.
897
7353f247
TT
8982016-11-08 Tom Tromey <tom@tromey.com>
899
900 * gdb.python/py-value.exp (test_value_creation): Make "long" test
901 depend on Python 2.
902
30a7bb83
TT
9032016-11-08 Tom Tromey <tom@tromey.com>
904
905 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
906 New method.
907
cdf5a07c
MG
9082016-10-29 Manish Goregaokar <manish@mozilla.com>
909
2806dc7e 910 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 911
51a789c3
MG
9122016-10-27 Manish Goregaokar <manish@mozilla.com>
913
2806dc7e
PA
914 * gdb.rust/simple.rs: Add test for univariant enums without
915 discriminants and for encoded struct-like enums.
51a789c3 916
f610ab6d
PA
9172016-10-28 Pedro Alves <palves@redhat.com>
918
919 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
920 gdb_test_multiple, tighten regexps and match symtabs and line
921 tables incrementally.
922
b129b0ca
LM
9232016-10-28 Luis Machado <lgustavo@codesourcery.com>
924
925 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
926 general.
927
ecf45d2c
SL
9282016-10-25 Luis Machado <lgustavo@codesourcery.com>
929
930 * gdb.base/exec-invalid-sysroot.exp: New file.
931
b8d38ee4
JK
9322016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
933
934 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
935
f90fd8c2
JK
9362016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
937
938 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
939
2d2476aa
MR
9402016-10-19 Maciej W. Rozycki <macro@imgtec.com>
941
2806dc7e
PA
942 * gdb.base/killed-outside.exp: Remove $options from a call to
943 `prepare_for_testing'.
2d2476aa 944
e42b25a0
SM
9452016-10-17 Simon Marchi <simon.marchi@ericsson.com>
946
947 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
948 Change test message.
949
3ccdb432
SM
9502016-10-17 Simon Marchi <simon.marchi@ericsson.com>
951
952 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
953 Update comment.
954
5bad3170
SM
9552016-10-17 Simon Marchi <simon.marchi@ericsson.com>
956
957 * gdb.trace/mi-trace-save.exp: New file.
958
5ad9dba7
YQ
9592016-10-13 Yao Qi <yao.qi@linaro.org>
960
961 * gdb.base/code_elim.exp (get_var_address): Remove.
962 * gdb.base/relocate.exp: Likewise.
963 * gdb.base/shreloc.exp: Likewise.
964 * lib/gdb.exp (get_var_address): New.
965
62df7e21
YQ
9662016-10-13 Yao Qi <yao.qi@linaro.org>
967
968 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
969 floating point tests if $skip_float_test is false.
970
4dac951e
LM
9712016-10-12 Luis Machado <lgustavo@codesourcery.com>
972
973 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
974 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
975 argc values.
976 Add 1 to argc so we guarantee distinct initial/modified argc values.
977
8f1a8fc4
JK
9782016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
979
980 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
981
16c85b5d
JK
9822016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
983
984 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
985 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
986 * gdb.arch/vsx-regs.exp: Likewise.
987
1d0e042a
YQ
9882016-10-07 Yao Qi <yao.qi@linaro.org>
989
990 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
991
68dadef5
MM
9922016-10-07 Markus Metzger <markus.t.metzger@intel.com>
993
994 * gdb.python/python.exp: Test decode_line("*0").
995
33fa2c6e
DE
9962016-10-06 Doug Evans <dje@google.com>
997
998 * gdb.python/py-value.exp (test_value_creation): Add test for large
999 unsigned 64-bit value.
1000
9c37b5ae
TT
10012016-10-06 Tom Tromey <tom@tromey.com>
1002
1003 * gdb.compile/compile.exp: Change java tests to rust.
1004 * gdb.base/setshow.exp: Change java tests to rust.
1005 * gdb.base/default.exp: Remove java from language list.
1006 * README (Examples): Update language example.
1007 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1008 test.
1009 * lib/gdb.exp (skip_java_tests): Remove.
1010 * lib/java.exp: Remove.
1011 * gdb.java: Remove.
1012
78b86327
MR
10132016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1014
1015 * gdb.arch/mips-fcr.exp: New test.
1016 * gdb.arch/mips-fcr.c: Source for the new test.
1017
7470adbb
MR
10182016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1019
1020 * gdb.base/solib-disc.exp: Use `standard_output_file'
1021 throughout.
1022
4a556533
PA
10232016-10-06 Pedro Alves <palves@redhat.com>
1024
1025 * gdb.base/jit-simple-dl.c: New file.
1026 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1027 * gdb.base/jit-simple.c: ... this.
1028 * gdb.base/jit-simple.exp (jit_run): Delete.
1029 (build_jit): New proc.
1030 (jit_test_reread): Recompile either the main program or the shared
1031 library, depending on what is being tested. Skip changing address
1032 if caller wants to. Compare before/after addresses. If testing
1033 standalone, explicitly load the binary. Test "maint info
1034 breakpoints".
1035 (top level): Add "standalone vs shared lib" and "change address"
1036 vs "same address" axes.
1037
5a122fbc
PA
10382016-10-06 Pedro Alves <palves@redhat.com>
1039
1040 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1041 call.
1042 (jit_run): Delete.
1043 (jit_test_reread): Use with_test_prefix. Reload the main binary
1044 explicitly. Compare the before/after addresses of the JIT
1045 descriptor.
1046
ee8da4b8
DE
10472016-08-15 Doug Evans <dje@google.com>
1048
1049 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1050 for single bitfields is bool.
1051 * gdb.xml/tdesc-regs.exp: Ditto.
1052
f389f6fe
JK
10532016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1054
1055 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1056
fdebf1a4
YQ
10572016-10-05 Yao Qi <yao.qi@linaro.org>
1058
1059 * lib/gdb.exp (support_complex_tests): Return zero if
1060 gdb_skip_float_test return true.
1061
9c36d954 10622016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 1063 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
1064
1065 PR gdb/20487
1066 * gdb.mi/user-selected-context-sync.exp: New file.
1067 * gdb.mi/user-selected-context-sync.c: New file.
1068
4034d0ff 10692016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 1070 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
1071
1072 PR gdb/20487
1073 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1074 =thread-select-event check.
1075
a4297203
PB
10762016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1077
1078 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1079 the compulsory L operand changes.
1080 * gdb.arch/powerpc-power.s: Likewise.
1081
bb805577
JK
10822016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1083
1084 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1085 * gdb.base/jit-attach-pie.c: New file.
1086 * gdb.base/jit-attach-pie.exp: New file.
1087
6d61dee5
PA
10882016-09-28 Pedro Alves <palves@redhat.com>
1089
1090 * gdb.base/infcall-input.c: New file.
1091 * gdb.base/infcall-input.exp: New file.
1092
f73842fc
YQ
10932016-09-22 Yao Qi <yao.qi@linaro.org>
1094
1095 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1096 (gdb_exit): Rename it to ...
1097 (gdbserver_gdb_exit): ... Close GDBserver.
1098 (gdb_exit): New proc, call gdbserver_gdb_exit.
1099 (mi_gdb_exit): Likewise.
1100
90681dab
YQ
11012016-09-22 Yao Qi <yao.qi@linaro.org>
1102
1103 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1104 path.
1105 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1106 Remove duplication.
1107
9c211fd8
YQ
11082016-09-22 Yao Qi <yao.qi@linaro.org>
1109
1110 * lib/gdbserver-support.exp: Check the existence of
1111 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1112
ad0a504f
AK
11132016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1114
1115 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1116
36cf1806
TT
11172016-09-21 Tom Tromey <tom@tromey.com>
1118
1119 PR gdb/20604:
1120 * gdb.base/quit.exp: New file.
1121
74172ecf
SM
11222016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1123
1124 * .gitignore: New file.
1125
3d0ec882
MR
11262016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1127
1128 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1129 throughout.
1130
8193adea
AA
11312016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1132
1133 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1134
d41a5c09
JK
11352016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1136
1137 * gdb.cp/casts.cc (decltype): Move it ...
1138 (main): ... with its call to ...
1139 * gdb.cp/casts03.cc: ... a new file.
1140 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1141
d2dfe700
JK
11422016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1143
1144 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1145
e2a92b16
PB
11462016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1147
1148 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1149 and sync up the test with tests in gas/testsuite/gas/ppc.
1150 * gdb.arch/powerpc-power.exp: Likewise.
1151
49b4de64
JK
11522016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1153
1154 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1155
2c29df25
SDJ
11562016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1157 Jan Kratochvil <jan.kratochvil@redhat.com>
1158
1159 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1160 make m1's definition to be different from m2's. Use 'dummy' as an
1161 argument for probe 'two'.
1162
cc3c2846
JB
11632016-09-10 Jon Beniston <jon@beniston.com>
1164
1165 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1166 for sim target.
1167
e1b2624a
AA
11682016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1169
1170 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1171 variable declaration.
1172 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1173 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1174 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1175 received HWCAP as its argument.
1176
4295e285
PA
11772016-09-06 Pedro Alves <palves@redhat.com>
1178
1179 * gdb.base/new-ui-pending-input.c: New file.
1180 * gdb.base/new-ui-pending-input.exp: New file.
1181 * gdb.exp (clear_gdb_spawn_id): New procedure.
1182 (with_spawn_id): Check whether gdb_spawn_id exists before
1183 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1184 on exit.
1185
00d5215e
UW
11862016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1187
1188 * gdb.base/float128.c: New file.
1189 * gdb.base/float128.exp: Likewise.
1190 * gdb.base/floatn.c: Likewise.
1191 * gdb.base/floatn.exp: Likewise.
1192
a9ff5f12
UW
11932016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1194
1195 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1196
f245535c
PA
11972016-09-05 Pedro Alves <palves@redhat.com>
1198
1199 PR backtrace/19927
1200 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1201 unwinders are immediately called as side effect of "source" or
1202 "disable unwinder" commands.
1203 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1204
ae9cf263
YQ
12052016-09-02 Yao Qi <yao.qi@linaro.org>
1206
1207 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1208 is true and $type is "float" or "double".
1209
27aba047
YQ
12102016-09-02 Yao Qi <yao.qi@linaro.org>
1211
1212 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1213 true.
1214 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1215 * gdb.base/call-rt-st.exp: Likewise.
1216 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1217 return value instead of gdb,skip_float_test.
1218 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1219 (do_function_calls): Use its return value instead of
1220 gdb,skip_float_test.
1221 * gdb.base/finish.exp: Likewise.
1222 * gdb.base/funcargs.exp: Likewise.
1223 * gdb.base/return.exp: Likewise.
1224 * gdb.base/return2.exp: Likewise.
1225 * gdb.base/varargs.exp: Likewise.
1226 * lib/gdb.exp (gdb_skip_float_test): Change it to
1227 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1228
5af962df
AA
12292016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1230
1231 * gdb.multi/tids.exp: Test "thread apply all".
1232
7fac6910
JK
12332016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1234
1235 * gdb.base/default.exp (tty): Remove.
1236
bb1fe4ac
KB
12372016-08-24 Kevin Buettner <kevinb@redhat.com>
1238
2806dc7e
PA
1239 * gdb.python/py-recurse-unwind.c: New file.
1240 * gdb.python/py-recurse-unwind.py: New file.
1241 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 1242
0a1ddfa6
SM
12432016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1244
1245 * gdb.base/set-inferior-tty.exp: New file.
1246 * gdb.base/set-inferior-tty.c: New file.
1247
d9de1fe3
PA
12482016-08-23 Pedro Alves <palves@redhat.com>
1249
1250 PR gdb/20494
1251 * gdb.base/new-ui-echo.c: New file.
1252 * gdb.base/new-ui-echo.exp: New file.
1253
e9d9abd7
YQ
12542016-08-23 Yao Qi <yao.qi@linaro.org>
1255
1256 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1257 gdbserver_spawn.
1258 * gdb.server/connect-without-multi-process.exp (do_test):
1259 Likewise.
1260
3589529e
YQ
12612016-08-23 Yao Qi <yao.qi@linaro.org>
1262
1263 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1264 standalone_txt. Delete gdb_txt and standalone_txt on host
1265 and target. Spawn the binary on target. Copy files from
1266 target to host.
1267
6bb90213
PA
12682016-08-22 Pedro Alves <palves@redhat.com>
1269
1270 PR gdb/20505
1271 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1272 with_test_prefix. Factor out bits to ...
1273 (test_no_vdso): ... this new procedure.
1274
20c2c024
CL
12752016-08-19 Carl Love <cel@us.ibm.com>
1276
1277 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1278 maintaining separate logic for constructing the output path.
1279 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1280 * gdb.arch/ppc-dfp.exp: Likewise.
1281 * gdb.arch/ppc-fp.exp: Likewise.
1282 * gdb.arch/vsx-regs.exp: Likewise.
1283 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1284 binprefix for generating the additional binary files.
1285
0646e07d
PA
12862016-08-19 Pedro Alves <palves@redhat.com>
1287
1288 * gdb.trace/mi-trace-frame-collected.exp
1289 (test_trace_frame_collected): On x32, expect two registers.
1290
46da9242
CL
12912016-08-18 Carl Love <cel@us.ibm.com>
1292
1293 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1294 and sync up the test with tests in gas/testsuite/gas/ppc.
1295 * gdb.arch/powerpc-power.exp: Likewise.
1296
eb2332d7
SM
12972016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1298
1299 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1300 expected error message.
1301
63c61e04
SM
13022016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1303
1304 * gdb.multi/remove-inferiors.exp: New file.
1305 * gdb.multi/remove-inferiors.c: New file.
1306
7b17065f
YQ
13072016-08-12 Yao Qi <yao.qi@linaro.org>
1308
1309 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1310 argument list.
1311
01d3dedf
PA
13122016-08-10 Pedro Alves <palves@redhat.com>
1313
1314 PR gdb/19187
1315 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1316 setup_kfails.
1317
3eb7562a
PA
13182016-08-09 Pedro Alves <palves@redhat.com>
1319 Simon Marchi <simon.marchi@ericsson.com>
1320
1321 PR gdb/20418
1322 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1323 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1324
80614914
PA
13252016-08-09 Pedro Alves <palves@redhat.com>
1326
1327 PR mi/20431
1328 * gdb.mi/mi-cmd-error.exp: New file.
1329
f348d89a
PA
13302016-08-09 Pedro Alves <palves@redhat.com>
1331
1332 PR gdb/18653
1333 * gdb.base/signals-state-child.c: New file.
1334 * gdb.base/signals-state-child.exp: New file.
1335 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1336
e5ca03b4
PA
13372016-08-09 Pedro Alves <palves@redhat.com>
1338
1339 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1340
282a0691
TT
13412016-08-03 Tom Tromey <tom@tromey.com>
1342
1343 PR python/18565:
1344 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1345
41bfcd63
YQ
13462016-08-01 Yao Qi <yao.qi@linaro.org>
1347
1348 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1349 variable mode to "multi-process" if $multi_process is 1, otherwise
1350 set it to "single-process".
1351
e3465b24
YQ
13522016-08-01 Yao Qi <yao.qi@linaro.org>
1353
1354 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1355 * gdb.cp/cpexprs.exp: Likewise.
1356 * gdb.cp/m-static.exp: Likewise.
1357
0b31a4bc
TT
13582016-07-26 Tom Tromey <tom@tromey.com>
1359
1360 PR python/20190:
1361 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1362 test.
1363
e0461dbb
MM
13642016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1365
1366 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1367 selecting assembly source files.
1368 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1369 assembly source files.
1370 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1371 assembly source files.
1372 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1373 selecting assembly source files.
1374
8194e927
SM
13752016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1376
1377 * gdb.base/new-ui.exp (do_test_invalid_args): New
1378 procedure.
1379
c0272db5
TW
13802016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1381
1382 * gdb.btrace/reconnect.c: New file.
1383 * gdb.btrace/reconnect.exp: New file.
1384
e3487908
GKB
13852016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1386
1387 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1388 to test_catch_syscall_group.
1389 (test_catch_syscall_group): New.
1390
12df5c00
TT
13912016-07-21 Tom Tromey <tom@tromey.com>
1392
1393 * gdb.rust/simple.rs (main): Use empty struct expression.
1394 * gdb.rust/simple.exp: Add tests for empty struct expression.
1395
bae62ee2
YQ
13962016-07-21 Yao Qi <yao.qi@linaro.org>
1397
1398 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1399 if gdb_skip_xml_test is true on some targets.
1400
b1b53fb3
YQ
14012016-07-21 Yao Qi <yao.qi@linaro.org>
1402
1403 * gdb.server/solib-list.exp: Unset last_loaded_file.
1404
027d97f8
JK
14052016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1406
1407 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1408 "step into captured_main (args)".
1409
7674d381
JK
14102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1411
1412 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1413
72b5d099
JK
14142016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1415
1416 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1417
1f960ced
PA
14182016-07-19 Pedro Alves <palves@redhat.com>
1419
1420 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1421 * gdb.opt/inline-bt.exp: Likewise.
1422 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1423 additional_flags=-Winline.
1424 * gdb.opt/inline-locals.exp: Likewise.
1425 * gdb.opt/inline-markers.c (ATTR): Define.
1426 (inlined_fn): Use it.
1427
f25827c1
YQ
14282016-07-19 Yao Qi <yao.qi@linaro.org>
1429
1430 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1431 (test_with_self): Remove some code. Remove argument executable.
1432 (top-level): Use do_self_tests.
1433
37539ebe
DB
14342016-07-15 Zachary Welch <zwelch@codesourcery.com>
1435 Don Breazeal <donb@codesourcery.com>
1436
1437 * gdb.base/maint.exp: Escape paths used in regular expressions.
1438 * gdb.stabs/weird.exp: Likewise.
1439
dac790e1
TT
14402016-07-13 Tom Tromey <tom@tromey.com>
1441
1442 PR python/15620, PR python/18620:
1443 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1444 (test_bkpt_events): New procs.
1445
93daf339
TT
14462016-07-13 Tom Tromey <tom@tromey.com>
1447
1448 PR python/17698:
1449 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1450 test.
1451 (test_watchpoints): Likewise.
1452 (test_bkpt_pending): New proc.
1453
6571a381
TT
14542016-07-13 Tom Tromey <tom@tromey.com>
1455
1456 PR cli/18053:
1457 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1458 completion test.
1459
e8732474
JK
14602016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1461
1462 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1463 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1464 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1465 f_label.
1466 (g): Rename g_end_lbl to g_label.
1467 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1468 low_pc and high_pc.
1469 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1470
e0f3fd7c
TT
14712016-07-12 Tom Tromey <tom@tromey.com>
1472
1473 PR python/19293:
1474 * gdb.python/py-unwind-maint.exp: Update tests.
1475
3cfe46b6
YQ
14762016-07-12 Yao Qi <yao.qi@linaro.org>
1477
1478 * lib/selftest-support.exp (selftest_setup): Match the output
1479 when captured_main is inlined.
1480
4f19a0e6
WT
14812016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1482
1483 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1484 New variables.
1485 (print this%a, print this%b, print this): New tests.
1486 * gdb.fortran/derived-types.f90 (this): New object and
1487 initialization.
1488
986cf455
SM
14892016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1490
1491 * gdb.ada/arraydim.exp: Remove extra directory level in build
1492 directory.
1493
f0464b23
SM
14942016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1495
1496 * lib/ada.exp: Remove extra directory level in build directory.
1497 * gdb.ada/cond_lang.exp: Likewise.
1498 * gdb.ada/exec_changed.exp: Likewise.
1499 * gdb.ada/lang_switch.exp: Likewise.
1500
42d94011
MG
15012016-07-06 Manish Goregaokar <manish@mozilla.com>
1502
2806dc7e
PA
1503 * simple.rs: Add test for raw pointer subscripting.
1504 * simple.exp: Add test expectations.
42d94011 1505
647c264c
YQ
15062016-07-05 Yao Qi <yao.qi@linaro.org>
1507
1508 * gdb.mi/mi-reverse.exp: Match =record-started output.
1509
20aa2c60
PA
15102016-07-01 Pedro Alves <palves@redhat.com>
1511
1512 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1513 procedure.
1514 (jit_reader_test): Test the jit reader's unwinder.
1515 * gdb.base/jithost.c (jit_function_00_code): New global.
1516 (main): Use memcpy to fill in the mmapped code, instead of poking
1517 bytes manually here.
1518 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1519 value.
1520 (read_debug_info): Save the function's range.
1521 (read_sp): New function.
1522 (unwind_frame): Use it. Also unwind RBP.
1523 (get_frame_id): Use read_sp.
1524 (gdb_init_reader): Use calloc instead of malloc.
1525 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1526 parameter. Use gdb_test_multiple.
1527
ced2dffb
PA
15282016-07-01 Pedro Alves <palves@redhat.com>
1529 Antoine Tremblay <antoine.tremblay@ericsson.com>
1530
1531 * gdb.threads/process-dies-while-detaching.c: New file.
1532 * gdb.threads/process-dies-while-detaching.exp: New file.
1533
63000888
PA
15342016-07-01 Pedro Alves <palves@redhat.com>
1535
1536 * gdb.multi/watchpoint-multi-exit.c: New file.
1537 * gdb.multi/watchpoint-multi-exit.exp: New file.
1538
038d4868
PA
15392016-06-30 Pedro Alves <palves@redhat.com>
1540
1541 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1542 unset inferior_spawn_id.
1543
994e9c83
PA
15442016-06-30 Pedro Alves <palves@redhat.com>
1545
1546 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1547 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1548
e5653468
YQ
15492016-06-29 Yao Qi <yao.qi@linaro.org>
1550
1551 * gdb.base/return.c: Add copyright header.
1552
803b47e5
TT
15532016-06-29 Tom Tromey <tom@tromey.com>
1554
1555 PR python/20129:
1556 * gdb.python/py-framefilter.exp: Add tests for setting priority
1557 and disabling of non-existent frame filter.
1558
28244707
YQ
15592016-06-29 Yao Qi <yao.qi@linaro.org>
1560
1561 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1562 0x0f07ff.
1563
a31d2f06
YQ
15642016-06-28 Yao Qi <yao.qi@linaro.org>
1565
1566 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1567 triplets. Start gdb, execute catch syscall, and continue. Check
1568 gdb's output to determine catch syscall is supported.
1569
921d8f54
MG
15702016-06-27 Manish Goregaokar <manish@mozilla.com>
1571
25d49b86
PA
1572 * gdb.rust/simple.rs: Add test for returning unit in a function.
1573 * gdb.rust/simple.exp: Add expectation for functions returning
1574 unit.
921d8f54 1575
f4952523
PMR
15762016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1577
1578 * gdb.python/py-breakpoint-create-fail.c,
1579 gdb.python/py-breakpoint-create-fail.exp,
1580 gdb.python/py-breakpoint-create-fail.py: New testcase.
1581
fccb08f8
MG
15822016-06-25 Manish Goregaokar <manish@mozilla.com>
1583
1584 PR gdb/20239
1585 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
1586 * gdb.rust/simple.exp: Add test expectations for new NonZero
1587 tests.
fccb08f8 1588
6b850546
DT
15892016-06-24 David Taylor <dtaylor@emc.com>
1590
1591 * gdb.base/offsets.exp: New file.
1592 * gdb.base/offsets.c: New file.
1593
17621150
TT
15942016-06-23 Tom Tromey <tom@tromey.com>
1595
1596 PR gdb/16483:
1597 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1598 before any filters are loaded.
1599
04d59df6
WT
16002016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1601
1602 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1603 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1604 structs.
1605 * gdb.fortran/derived-type-function.exp: New file.
1606 * gdb.fortran/derived-type-function.f90: New file.
1607
1608
ac69f786
PA
16092016-06-21 Pedro Alves <palves@redhat.com>
1610
1611 * gdb.base/new-ui.exp: New file.
1612 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1613 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1614 (with_spawn_id): New procedure.
1615
49940788
PA
16162016-06-21 Pedro Alves <palves@redhat.com>
1617
1618 * gdb.mi/mi-exec-run.exp: New file.
1619
ef274d26
PA
16202016-06-21 Pedro Alves <palves@redhat.com>
1621
1622 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1623 breakpoint command's output on the main UI.
1624 (test_break): New procedure, factored out from calls in the top
1625 level.
1626 (top level): Use foreach_with_prefix to test MI as main UI and as
1627 separate UI.
1628
468afe6c
PA
16292016-06-21 Pedro Alves <palves@redhat.com>
1630
1631 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1632 (test_awatch_creation_and_listing)
1633 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1634 Remove 'type' parameter.
1635 (test_watchpoint_all): New parameter mi_mode. Remove
1636 with_test_prefix.
1637 (top level): Use foreach_with_prefix, and add main/separate UI MI
1638 testing axis.
1639
51f77c37
PA
16402016-06-21 Pedro Alves <palves@redhat.com>
1641
1642 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1643 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1644 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1645 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1646 (gdb_main_spawn_id, mi_spawn_id): Declare and
1647 comment.
1648 (mi_create_inferior_pty): New procedure,
1649 factored out from default_mi_gdb_start.
1650 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1651 procedures.
1652 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1653 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1654 Use mi_create_inferior_pty.
1655 (mi_gdb_start): Use eval to pass down args list.
1656
8980e177
PA
16572016-06-21 Pedro Alves <palves@redhat.com>
1658
1659 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1660 * gdb.opt/inline-cmds.exp: Add MI tests.
1661
f38d3ad1
PA
16622016-06-21 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1665
45db7c09
PA
16662016-06-21 Pedro Alves <palves@redhat.com>
1667
1668 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1669 (top level): Use it instead of mi_execute_to.
1670
5a069ab3
PA
16712016-06-21 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1674 (cont_handler_str): New.
1675 (signal_stop_handler): Set stop_handler_str instead of printing to
1676 stdout.
1677 (continue_handler): Set cont_handler_str instead of printing to
1678 stdout.
1679 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1680 mi_send_resuming_command. Print stop_handler_str and
1681 cont_handler_str instead of expecting the python events print
1682 directly.
1683
2838cc1d
SD
16842016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1685
1686 * gdb.base/jit-reader.exp: New file.
1687 * gdb.base/jithost.c: New file.
1688 * gdb.base/jithost.h: New file.
1689 * gdb.base/jitreader.c : New file.
1690 * gdb.base/jit-protocol.h: New file.
1691
21a77091
YQ
16922016-06-17 Yao Qi <yao.qi@linaro.org>
1693
1694 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1695 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1696 and detach-on-fork. Adjust tests.
1697 (top level): Invoke break_cond_on_syscall with combinations of
1698 syscall, follow-fork-mode and detach-on-fork.
1699
f50bf8e5
YQ
17002016-06-17 Yao Qi <yao.qi@linaro.org>
1701
1702 * gdb.base/step-over-exit.c: New.
1703 * gdb.base/step-over-exit.exp: New.
1704
a28d8e50
YTL
17052016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1706
1707 * gdb.base/float.exp: Add target check for nds32*-*-*.
1708 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1709
cad8e26d
AB
17102016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1711
1712 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1713 for unsupported target features.
1714 * gdb.base/call-rt-st.exp: Likewise.
1715 * gdb.base/call-sc.exp: Likewise.
1716 * gdb.base/call-signal-resume.exp: Likewise.
1717 * gdb.base/call-strs.exp: Likewise.
1718 * gdb.base/callexit.exp: Likewise.
1719 * gdb.base/callfuncs.exp: Likewise.
1720 * gdb.base/nodebug.exp: Likewise.
1721 * gdb.base/printcmds.exp: Likewise.
1722 * gdb.base/ptype.exp: Likewise.
1723 * gdb.base/structs.exp: Likewise.
1724 * gdb.base/unwindonsignal.exp: Likewise.
1725 * gdb.cp/gdb2495.exp: Likewise.
1726 * gdb.cp/templates.exp: Likewise.
1727 * gdb.cp/virtfunc.exp: Likewise.
1728 * gdb.threads/hand-call-in-threads.exp: Likewise.
1729 * gdb.threads/interrupted-hand-call.exp: Likewise.
1730 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1731
347dc102
TT
17322016-06-10 Tom Tromey <tom@tromey.com>
1733
1734 PR rust/20110:
1735 * gdb.rust/expr.exp: Add test for integer constant larger than
1736 i32.
1737
5e13cf25
BH
17382016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1739
1740 * gdb.fortran/nested-funcs.exp: New.
1741 * gdb.fortran/nested-funcs.f90: New.
1742
bb556f1f
TK
17432016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1744
1745 * gdb.base/examine-backward.c: New file.
1746 * gdb.base/examine-backward.exp: New file.
1747
38b022b4
SM
17482016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1749
1750 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1751 matching.
1752
1b40ec05
TT
17532016-06-02 Tom Tromey <tom@tromey.com>
1754
1755 PR python/18984:
1756 * gdb.python/py-shared.exp: Add solib_name test.
1757
193bd378
SM
17582016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1759
1760 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1761
3326303b
MG
17622016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1763
1764 PR c++/19893
1765 * gdb.dwarf2/implref.exp: Rename to...
1766 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1767 * gdb.dwarf2/implref-array.c: New file.
1768 * gdb.dwarf2/implref-array.exp: Likewise.
1769 * gdb.dwarf2/implref-global.c: Likewise.
1770 * gdb.dwarf2/implref-global.exp: Likewise.
1771 * gdb.dwarf2/implref-struct.c: Likewise.
1772 * gdb.dwarf2/implref-struct.exp: Likewise.
1773
825c8ef2
AT
17742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1775
1776 * gdb.trace/trace-condition.exp: Add 64bit tests.
1777
2320162a
AT
17782016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1779
1780 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1781 bits types.
1782 (main): Adapt to 8 to 64 bits types.
1783 * gdb.trace/trace-condition.exp: Add new tests.
1784
a7818233
AT
17852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1786
1787 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1788
0d336466
AT
17892016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1790
1791 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1792 Move condition tests...
1793 * gdb.trace/trace-condition.exp: Here.
1794
7faeb45a
AT
17952016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1796
1797 * gdb.trace/trace-condition.exp: Add counter-case tests.
1798
e385593e
JK
17992016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1800
1801 PR c++/15231
1802 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1803 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1804
744608cc
PA
18052016-05-27 Pedro Alves <palves@redhat.com>
1806
1807 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1808 New procedure.
1809 (top level): Call it, and bail out of DejaGnu is known to be bad.
1810
ac775bf4
AB
18112016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1812
1813 * gdb.base/whatis.c: Extend the test case.
1814 * gdb.base/whatis.exp: Add additional tests.
1815
2bbad2ea
BH
18162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1817
1818* gdb.fortran/type.f90: Add pointer variable.
1819* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1820
8b70175d
BH
18212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1822
1823 * gdb.fortran/vla-type.exp: Fix testcase name.
1824
86d8a848
BH
18252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1826
1827 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1828
e188eb36
BH
18292016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1830
1831 * gdb.fortran/type.f90: Add nested structures.
1832 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1833 * gdb.fortran/derived-type.exp: Adapt expected output.
1834 * gdb.fortran/vla-type.exp: Adapt expected output.
1835
9b2db1fd
BH
18362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1837
1838 * gdb.fortran/whatis_type.exp: Adapt expected output.
1839
72b17055
BH
18402016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1841
1842 * gdb.fortran/print_type.exp: Fix expected output.
1843 * gdb.fortran/whatis_type.exp: Fix expected output.
1844
3cd81d8d
BH
18452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1846
1847 * gdb.fortran/whatis_type.exp: Use multi_line.
1848
ddae9462
TT
18492016-05-24 Tom Tromey <tom@tromey.com>
1850
1851 PR python/17386:
1852 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1853 use value as an index.
1854
1957f6b8
TT
18552016-05-23 Tom Tromey <tom@tromey.com>
1856
1857 PR python/17981:
1858 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1859 no-breakpoint case.
1860
026a9174
PA
18612016-05-24 Pedro Alves <palves@redhat.com>
1862
1863 PR gdb/19828
1864 * gdb.threads/clone-attach-detach.c: New file.
1865 * gdb.threads/clone-attach-detach.exp: New file.
1866
e70a7231
FR
18672016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1868
1869 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1870
0f6ed0e0
TT
18712016-05-23 Tom Tromey <tom@tromey.com>
1872
1873 PR python/19438, PR python/18393:
1874 * gdb.python/py-progspace.exp: Add "dir" test.
1875 * gdb.python/py-objfile.exp: Add "dir" test.
1876
ffd19d61
YQ
18772016-05-23 Yao Qi <yao.qi@linaro.org>
1878
1879 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1880 * gdb.arch/thumb2-it.exp: Likewise.
1881
9e8f9b05
SM
18822016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1883
1884 * gdb.mi/mi-threads-interrupt.c: New file.
1885 * gdb.mi/mi-threads-interrupt.exp: New file.
1886
61c6156d
SM
18872016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1888
1889 PR gdb/18077
1890 * gdb.mi/mi-async-run.exp: New file.
1891 * gdb.mi/mi-async-run.c: New file.
1892
67218854
TT
18932016-05-17 Tom Tromey <tom@tromey.com>
1894 Manish Goregaokar <manishsmail@gmail.com>
1895
1896 * lib/rust-support.exp: New file.
1897 * lib/gdb.exp (skip_rust_tests): New proc.
1898 (build_executable_from_specs): Handle rust.
1899 * lib/future.exp (gdb_find_rustc): New proc.
1900 (gdb_default_target_compile): Handle rust.
1901 * gdb.rust/expr.exp: New file.
1902 * gdb.rust/generics.exp: New file.
1903 * gdb.rust/generics.rs: New file.
1904 * gdb.rust/methods.exp: New file.
1905 * gdb.rust/methods.rs: New file.
1906 * gdb.rust/modules.exp: New file.
1907 * gdb.rust/modules.rs: New file.
1908 * gdb.rust/simple.exp: New file.
1909 * gdb.rust/simple.rs: New file.
1910
c44af4eb
TT
19112016-05-17 Tom Tromey <tom@tromey.com>
1912
1913 * gdb.base/default.exp (set language): Add rust.
1914
dcd1f979
TT
19152016-05-17 Tom Tromey <tom@tromey.com>
1916
1917 * gdb.gdb/unittest.exp: New file.
1918
155b7f57
YQ
19192016-05-16 Yao Qi <yao.qi@linaro.org>
1920
1921 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1922 shell_prompt. Update shell_prompt_re.
1923
8ddd5a6c
DE
19242016-05-12 Doug Evans <dje@google.com>
1925
1926 PR symtab/19999
1927 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1928 $options when building executable.
1929 * gdb.dwarf2/fission-loclists-pie.S: New file.
1930 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1931
02e370d9
SM
19322016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1933
1934 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1935 of [is_remote target],
1936
8929ad8b
SM
19372016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1938
1939 * lib/gdb.exp (use_gdb_stub): New procedure.
1940
6c447423
DE
19412016-05-03 Yunlian Jiang <yunlian@google.com>
1942 Doug Evans <dje@google.com>
1943
1944 PR symtab/19914
1945 * gdb.dwarf2/dwp-sepdebug.c: New file.
1946 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1947
444e826c
SM
19482016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1949
1950 * gdb.base/detach.exp: Remove is_remote check.
1951
740feeaa
SM
19522016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1953
1954 * gdb.base/annota-input-while-running.exp: Don't check for
1955 [is_remote target]. Enable annotations after running to main.
1956 Remove unused "set test..." line.
1957
9080ac9d
SM
19582016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1959
1960 * gdb.trace/trace-enable-disable.exp: New file.
1961 * gdb.trace/trace-enable-disable.c: New file.
1962
952ebca5
SM
19632016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1964
1965 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1966 use it in info sharedlibrary test.
1967 * gdb.trace/ftrace-lock.exp: Likewise.
1968 * gdb.trace/ftrace.exp: Likewise.
1969 * gdb.trace/range-stepping.exp: Likewise.
1970 * gdb.trace/trace-break.exp: Likewise.
1971 * gdb.trace/trace-condition.exp: Likewise.
1972 * gdb.trace/trace-mt.exp: Likewise.
1973
d9019901
SM
19742016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1975
1976 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1977 (gdb_load_shlib): ... this.
1978 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1979 gdb_load_shlib.
1980 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1981 * gdb.base/ctxobj.exp: Likewise.
1982 * gdb.base/dprintf-pending.exp: Likewise.
1983 * gdb.base/dso2dso.exp: Likewise.
1984 * gdb.base/fixsection.exp: Likewise.
1985 * gdb.base/gcore-relro.exp: Likewise.
1986 * gdb.base/gdb1555.exp: Likewise.
1987 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1988 * gdb.base/gnu-ifunc.exp: Likewise.
1989 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1990 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1991 * gdb.base/pending.exp: Likewise.
1992 * gdb.base/print-file-var.exp: Likewise.
1993 * gdb.base/print-symbol-loading.exp: Likewise.
1994 * gdb.base/shlib-call.exp: Likewise.
1995 * gdb.base/shreloc.exp: Likewise.
1996 * gdb.base/so-impl-ld.exp: Likewise.
1997 * gdb.base/solib-disc.exp: Likewise.
1998 * gdb.base/solib-nodir.exp: Likewise.
1999 * gdb.base/solib-overlap.exp: Likewise.
2000 * gdb.base/solib-symbol.exp: Likewise.
2001 * gdb.base/solib-weak.exp (do_test): Likewise.
2002 * gdb.base/sym-file.exp: Likewise.
2003 * gdb.base/symtab-search-order.exp: Likewise.
2004 * gdb.base/type-opaque.exp: Likewise.
2005 * gdb.base/unload.exp: Likewise.
2006 * gdb.base/watchpoint-solib.exp: Likewise.
2007 * gdb.compile/compile.exp: Likewise.
2008 * gdb.cp/gdb2384.exp: Likewise.
2009 * gdb.cp/infcall-dlopen.exp: Likewise.
2010 * gdb.cp/re-set-overloaded.exp: Likewise.
2011 * gdb.fortran/library-module.exp: Likewise.
2012 * gdb.opt/solib-intra-step.exp: Likewise.
2013 * gdb.python/py-finish-breakpoint.exp: Likewise.
2014 * gdb.python/py-shared.exp: Likewise.
2015 * gdb.reverse/solib-precsave.exp: Likewise.
2016 * gdb.reverse/solib-reverse.exp: Likewise.
2017 * gdb.server/solib-list.exp: Likewise.
2018 * gdb.threads/dlopen-libpthread.exp: Likewise.
2019 * gdb.threads/tls-shared.exp: Likewise.
2020 * gdb.threads/tls-so_extern.exp: Likewise.
2021 * gdb.trace/change-loc.exp: Likewise.
2022 * gdb.trace/ftrace-lock.exp: Likewise.
2023 * gdb.trace/ftrace.exp: Likewise.
2024 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2025 * gdb.trace/pending.exp: Likewise.
2026 * gdb.trace/range-stepping.exp: Likewise.
2027 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2028 (strace_info_marker): Likewise.
2029 (strace_probe_marker): Likewise.
2030 (strace_trace_on_same_addr): Likewise.
2031 (strace_trace_on_diff_addr): Likewise.
2032 * gdb.trace/trace-break.exp: Likewise.
2033 * gdb.trace/trace-condition.exp: Likewise.
2034 * gdb.trace/trace-mt.exp: Likewise.
2035
fca4cfd9
SM
20362016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2037
2038 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2039 result of gdb_remote_download.
2040 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2041 * gdb.base/dso2dso.exp: Likewise.
2042 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2043 * gdb.base/print-file-var.exp: Likewise.
2044 * gdb.base/shlib-call.exp: Likewise.
2045 * gdb.base/shreloc.exp: Likewise.
2046 * gdb.base/solib-overlap.exp: Likewise.
2047 * gdb.base/solib-weak.exp (do_test): Likewise.
2048 * gdb.base/unload.exp: Likewise.
2049
11cf4ffb
YQ
20502016-04-27 Yao Qi <yao.qi@linaro.org>
2051
2052 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2053 exists.
2054
3e2e34f8
KB
20552016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2056
2057 * vla-type.exp: Print structure from toplevel.
2058
8f07e298
BH
20592016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2060
2061 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2062 of dynamic types.
2063 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2064 of dynamic types.
2065
9920b434
BH
20662016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2067
2068 * gdb.fortran/vla-type.f90: New file.
2069 * gdb.fortran/vla-type.exp: New file.
2070
f3abeff5
YQ
20712016-04-25 Yao Qi <yao.qi@linaro.org>
2072
2073 * gdb.base/branch-to-self.c: New file.
2074 * gdb.base/branch-to-self.exp: New file.
2075
0a5d52f0
YQ
20762016-04-22 Yao Qi <yao.qi@linaro.org>
2077
2078 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2079 more after $hex.
2080
495346f6
YQ
20812016-04-22 Yao Qi <yao.qi@linaro.org>
2082
2083 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2084 * gdb.base/annota3.exp: Likewise.
2085
4a7e075c
YQ
20862016-04-22 Yao Qi <yao.qi@linaro.org>
2087
2088 * gdb.reverse/step-precsave.exp: Do one step and test program
2089 stops in "callee" and do multiple steps until program goes out
2090 of "callee".
2091 * gdb.reverse/step-reverse.exp: Likewise.
2092
5b061e98
YQ
20932016-04-22 Yao Qi <yao.qi@linaro.org>
2094
2095 * gdb.trace/signal.exp: Also pass if
2096 $tracepoint_hits($i) > $iterations.
2097
5c5dc57f
YQ
20982016-04-22 Yao Qi <yao.qi@linaro.org>
2099
2100 * gdb.trace/signal.c: New file.
2101 * gdb.trace/signal.exp: New file.
2102
a55411b9
DE
21032016-04-19 Doug Evans <xdje42@gmail.com>
2104
2105 * gdb.base/bad-file.exp: New file.
2106
a22df60a
MG
21072016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2108
2109 * gdb.dwarf2/implref.exp: New file.
2110
0c13f7e5
BH
21112016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2112
2113 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2114 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2115 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2116 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2117 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2118 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2119 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2120 * lib/fortran.exp (fortran_int4): New procedure.
2121 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2122 (fortran_logical4): Likewise.
2123
9b9b09e9
BH
21242016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2125
2126 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2127
a14d1f4d
BH
21282016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2129
2130 * lib/compiler.c: Add Intel specific preprocessor macros.
2131 * lib/compiler.cc: Likewise.
25d49b86 2132
7d49b1d0
LM
21332016-04-13 Luis Machado <lgustavo@codesourcery.com>
2134
2135 * gdb.server/connect-with-no-symbol-file.c: New file.
2136 * gdb.server/connect-with-no-symbol-file.exp: New file.
2137
8392fa22
SM
21382016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2139
2140 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2141
8c4c4aeb
SM
21422016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2143
2144 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2145 standard output directory.
2146
45e3745e
AT
21472016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2148
2149 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2150
e26b7e41
MM
21512016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2152
2153 * gdb.btrace/instruction_history.c (loop): Add declaration.
2154
8ce09462
AT
21552016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2156
2157 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2158
2e88a1ea
SM
21592016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2160
2161 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2162 parentheses to print.
2163 (continue_handler): Likewise.
2164
f48e22e3
SM
21652016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2166
2167 * gdb.server/solib-list.exp: Remove is_remote check.
2168 Pass shlib= to gdb_compile. Don't link shared library with
2169 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2170 Run binary filename through "readlink -f" on the target.
2171
096be756
PA
21722016-04-08 Pedro Alves <palves@redhat.com>
2173
2174 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2175 interpreter filename as argument to gdbserver_spawn.
2176 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2177 Return empty if $last_loaded_file does not exist.
2178
06500533
JK
21792016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2180
2181 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2182 * gdb.base/jit-main.c: Use exit after usage.
2183
2d35e871
JK
21842016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2185
2186 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2187 GDBHISTSIZE prior to the tests.
2188 * gdb.base/gdbinit-history.exp: Likewise.
2189
21902016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
2191
2192 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2193 instead of build_executable. Use gdb_load_shlibs.
2194
c8064e7e
YQ
21952016-04-07 Yao Qi <yao.qi@linaro.org>
2196
2197 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2198 Execute "si" command.
2199
bde47561
YQ
22002016-04-07 Yao Qi <yao.qi@linaro.org>
2201
2202 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2203 number instead of the comments on some line.
2204
b16f8a3b
DB
22052016-04-06 Don Breazeal <donb@codesourcery.com>
2206
2207 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2208 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2209
c2f901df
SM
22102016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2211
2212 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2213 standard_output_file. Remove unused binfile variable.
2214
ac17fda0
CU
22152016-04-05 Catalin Udma <catalin.udma@freescale.com>
2216
2217 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2218 * gdb.python/py-mi-objfile.exp: Match "list main" output
2219 in console format.
2220
03a8c4df
SM
22212016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2222
2223 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2224 absolute.
2225
6e774b13
SM
22262016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2227
2228 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2229 absolute.
2230 * gdb.trace/ftrace.exp: Likewise.
2231 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2232 targets as well.
2233 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2234 (gdb_load_shlibs): Copy libraries to test directory when testing
2235 natively. Only set solib-search-path if testing remotely.
2236 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2237
7817ea46
SM
22382016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2239
2240 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2241 gdb_download. Use it even if the target is not remote.
2242 * gdb.base/jit.exp (compile_jit_test): Likewise.
2243 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2244 output directory if the destination board is local, otherwise use
2245 the standard remote_download from DejaGnu.
2246 (gdb_download): Remove.
2247 (gdb_load_shlibs): Use gdb_remote_download instead of
2248 gdb_download.
2249 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2250 Use gdb_remote_download instead of gdb_download. Use it even if
2251 the target is not remote.
2252 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2253 instead of gdb_download.
2254
7beb7f68
SM
22552016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2256
2257 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2258 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2259 run.
2260
cc63428a
AV
22612016-04-01 Artemiy Volkov <artemiyv@acm.org>
2262
2263 PR gdb/19820
2264 * gdb.base/printcmds.exp: Add artificial arrays tests.
2265
64cdf930
PA
22662016-03-31 Pedro Alves <palves@redhat.com>
2267
2268 PR gdb/19858
2269 * gdb.base/jit-main.c: Include unistd.h.
2270 (ATTACH): Define to 0 if not already defined.
2271 (wait_for_gdb, mypid): New globals.
2272 (WAIT_FOR_GDB): New macro.
2273 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2274 some breakpoint locations.
2275 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2276 New procedures.
2277 (one_jit_test): Add REATTACH parameter, and handle it. Use
2278 continue_to_test_location.
2279 (top level): Test attach, and adjusts calls to one_jit_test.
2280
40dea8cb
PA
22812016-03-31 Pedro Alves <palves@redhat.com>
2282
2283 PR gdb/19858
2284 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2285 BINSUFFIX parameter, and handle it.
2286 (top level): Adjust calls compile_jit_test.
2287
e7ea3ec7
CU
22882016-03-31 Catalin Udma <catalin.udma@freescale.com>
2289
2290 PR python/19743
2291 * gdb.python/py-mi-events-gdb.py: New file.
2292 * gdb.python/py-mi-events.c: New file.
2293 * gdb.python/py-mi-events.exp: New file.
2294
e6359af3
YQ
22952016-03-30 Yao Qi <yao.qi@linaro.org>
2296
2297 * gdb.reverse/until-precsave.exp: Match function name only.
2298 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2299 Move malloc to a condition block.
2300 * gdb.reverse/until-reverse.exp: Match function name only.
2301
a4105d04
MK
23022016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2303
2304 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2305 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2306 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2307 variable for GPR 0 instead of assuming it is register 0.
2308 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2309 * lib/trace-support.exp: Add s390 registers.
2310
bfa6adb9
YQ
23112016-03-29 Yao Qi <yao.qi@linaro.org>
2312
2313 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2314
1e6697ea
YQ
23152016-03-24 Yao Qi <yao.qi@linaro.org>
2316
2317 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2318 test message.
2319
64bcd522
AA
23202016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2321
2322 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2323 maintaining separate logic for constructing the output path.
2324
7868401b
DB
23252016-03-16 Don Breazeal <donb@codesourcery.com>
2326
2327 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2328 Retry fork and waitpid on interrupted system call errors.
2329 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2330 Use with_timeout_factor to increase timeout by factor of 10.
2331
1cafadb4
DB
23322016-03-15 Don Breazeal <donb@codesourcery.com>
2333
2334 * gdb.cp/scope-err.cc: New test program.
2335 * gdb.cp/scope-err.exp: New test script.
2336 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2337 lines and "set breakpoint here" comment.
2338 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2339 Fixed some whitespace and format issues.
2340 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2341 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2342
81516450
DE
23432016-03-15 Doug Evans <dje@google.com>
2344
2345 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2346 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2347 All callers updated. Add tests for enums, mixed flags register.
2348
aa52b601
DE
23492016-03-15 Doug Evans <dje@google.com>
2350
2351 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2352 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2353
fa4ff313
SM
23542016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2355
2356 * gdb.base/default.exp: Add $_as_string to the list of expected
2357 convenience functions.
2358
f2403c39
AB
23592016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2360
2361 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2362
f2f3ccb9
SM
23632016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2364
2365 * gdb.python/py-as-string.exp: New file.
2366 * gdb.python/py-as-string.c: New file.
2367
00dbd492
PA
23682016-03-09 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2371 signal" -> "Thread NN received signal" output change.
2372 * gdb.threads/ia64-sigill.exp: Likewise.
2373 * gdb.threads/linux-dp.exp: Likewise.
2374 * gdb.threads/manythreads.exp: Likewise.
2375 * gdb.threads/pending-step.exp: Likewise.
2376 * gdb.threads/print-threads.exp: Likewise.
2377 * gdb.threads/sigstep-threads.exp: Likewise.
2378 * gdb.threads/staticthreads.exp: Likewise.
2379 * gdb.threads/tls.exp: Likewise.
2380
1e6697ea
YQ
23812016-03-09 Pedro Alves <palves@redhat.com>
2382
2383 * gdb.base/command-line-input.exp: New file.
2384
b04fd3be
MK
23852016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2386
2387 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2388 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2389 * gdb.trace/pending.exp: Accept leading dot before function name.
2390 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2391 * lib/trace-support.exp: Set registers for ppc.
2392
98fa59e9
MK
23932016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2394
2395 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2396 use it for disassembly; accept .main in addition to main in backtrace.
2397
f77198c8
MK
23982016-03-09 Wei-cheng Wang <cole945@gmail.com>
2399 Marcin Kościelnicki <koriakin@0x04.net>
2400
2401 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2402 (gdb_recursion_test_ptr): New global variable.
2403 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2404 gdb_recursion_test.
2405 (gdb_c_test): Ditto.
2406
ba84e0da
MK
24072016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2408
2409 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2410 ordering.
2411
4366d36e
MK
24122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2413
2414 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2415 (bar): Add bar_start_lbl label.
2416 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2417 of foo/bar for emitting DWARF and tracing.
2418
5eb264df
SDJ
24192016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2420
2421 * analyze-racy-logs.py: Set executable bit.
2422
fb6a751f
SDJ
24232016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2424
2425 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2426 (CHECK_TARGET_TMP): Likewise.
2427 (check-single-racy): New rule.
2428 (check-parallel-racy): Likewise.
2429 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2430 (do-check-parallel-racy): New rule.
2431 (check-racy/%.exp): Likewise.
2432 * README (Racy testcases): New section.
2433 * analyze-racy-logs.py: New file.
2434
bdf7e230
DE
24352016-03-03 Doug Evans <dje@google.com>
2436
2437 * gdb.base/skip.exp: Use with_test_prefix.
2438
4719d415
YQ
24392016-03-03 Yao Qi <yao.qi@linaro.org>
2440
2441 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2442 Invoke step_over_syscall "clone" and break_cond_on_syscall
2443 "clone".
2444 * gdb.base/step-over-clone.c: New file.
2445
ea507862
YQ
24462016-03-03 Yao Qi <yao.qi@linaro.org>
2447
2448 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2449 code format.
2450
8fc8cbda
YQ
24512016-03-03 Yao Qi <yao.qi@linaro.org>
2452
2453 * gdb.base/disp-step-fork.c: Rename to ...
2454 * gdb.base/step-over-fork.c: ... it. New file.
2455 * gdb.base/disp-step-vfork.c: Rename to ...
2456 * gdb.base/step-over-vfork.c: ... it. New file.
2457 * gdb.base/disp-step-syscall.exp: Rename to ...
2458 * gdb.base/step-over-syscall.exp: ... it. New file.
2459 (disp_step_cross_syscall): Rename to ...
2460 (step_over_syscall): ... it.
2461
92fa70b0
YQ
24622016-03-03 Yao Qi <yao.qi@linaro.org>
2463
2464 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2465 If target supports condition evaluation on target, invoke
2466 break_cond_on_syscall for fork and vfork.
2467
e197ad3c
YQ
24682016-03-03 Yao Qi <yao.qi@linaro.org>
2469
2470 * gdb.base/disp-step-syscall.exp: Don't invoke
2471 support_displaced_stepping.
2472 (disp_step_cross_syscall): Test with displaced stepping off and
2473 on if supported.
2474
0b47da9f
YQ
24752016-03-03 Yao Qi <yao.qi@linaro.org>
2476
2477 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2478 proc.
2479 (setup): New proc.
2480 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2481 and setup.
2482
065ab6dc
BH
24832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2484
2485 * gdb.fortran/vla-history.exp: Remove breakpoint.
2486
07e448ad 24872016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2488
25d49b86
PA
2489 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2490 exceeds timeout.
07e448ad 2491
9ac2d526 24922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2493
25d49b86
PA
2494 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2495 breakpoint.
9ac2d526 2496
17807369
BH
24972016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2498
2499 * gdb.mi/vla.f90: Nullify pointer after declaration.
2500
86e501af
PA
25012016-03-01 Pedro Alves <palves@redhat.com>
2502
2503 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2504
1e903e32
PA
25052016-03-01 Pedro Alves <palves@redhat.com>
2506
2507 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2508 before anything else.
2509 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2510 _GNU_SOURCE here.
2511 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2512 before anything else.
2513 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2514
6ccb54e2
PA
25152016-03-01 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2518
30ca9da1
YQ
25192016-03-01 Yao Qi <yao.qi@linaro.org>
2520
2521 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2522 prepare_for_testing.
2523
dc856b38
YQ
25242016-03-01 Yao Qi <yao.qi@linaro.org>
2525
2526 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2527
4a932159
AA
25282016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2529
2530 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2531 manually constructing the output path.
2532
f2489477
AA
25332016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2534
2535 * gdb.arch/s390-stackless.S: New.
2536 * gdb.arch/s390-stackless.exp: New.
2537
38899f16
IB
25382016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2539
2540 * gdb.dlang/circular.c: New file.
2541 * gdb.dlang/circular.exp: New file.
2542
9fde51ed
YQ
25432016-02-26 Yao Qi <yao.qi@linaro.org>
2544
2545 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2546 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2547 (testcases): Update.
2548
ce90fefe
YQ
25492016-02-26 Yao Qi <yao.qi@linaro.org>
2550
2551 * gdb.reverse/aarch64.c: Rename to ...
2552 * gdb.reverse/insn-reverse.c: ... it.
2553 * gdb.reverse/aarch64.exp: Rename to ...
2554 * gdb.reverse/insn-reverse.exp: ... it.
2555
3263bceb
YQ
25562016-02-26 Yao Qi <yao.qi@linaro.org>
2557
2558 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2559 (testcase_ftype): New.
2560 (testcases): New array.
2561 (n_testcases): New.
2562 (main): Call each element in testcases.
2563 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2564 (read_testcase): New.
2565 Do the tests in a loop.
2566
6cb59ff1
YQ
25672016-02-25 Yao Qi <yao.qi@linaro.org>
2568
2569 * gdb.base/branches.c: Remove.
2570
ae91f625
MK
25712016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2572
2573 PR gdb/13808
2574 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2575
678b48b7
MK
25762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2577
2578 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2579
7337a6f2
MK
25802016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2581
2582 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2583 change x86_64 call_insn to 'callq'.
2584
861ca91f
AT
25852016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2586
2587 * gdb.trace/tfile-avx.c: Move to...
2588 * gdb.trace/tracefile-pseudo-reg.c: Here.
2589 * gdb.trace/tfile-avx.exp: Move to...
2590 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2591
bf74e428
GB
25922016-02-24 Gary Benson <gbenson@redhat.com>
2593
2594 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2595 message on attach.
2596
cce0e923
DE
25972016-02-23 Doug Evans <dje@google.com>
2598
2599 * gdb.base/skip.c (test_skip): New function.
2600 (end_test_skip_file_and_function): New function.
2601 (test_skip_file_and_function): New function.
2602 * gdb.base/skip1.c (test_skip): New function.
2603 (skip1_test_skip_file_and_function): New function.
2604 * gdb.base/skip.exp: Add tests for new skip options.
2605 * gdb.base/skip-solib.exp: Update expected output.
2606 * gdb.perf/skip-command.cc: New file.
2607 * gdb.perf/skip-command.exp: New file.
2608 * gdb.perf/skip-command.py: New file.
2609
4000e47e
MK
26102016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2611
2612 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2613 info registers pattern.
2614
24f75ead
IB
26152016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2616
2617 * lib/future.exp: Add D support.
2618 (gdb_find_gdc): New proc.
2619 (gdb_default_target_compile): Add D support.
2620
fbb7bcbe
WW
26212016-02-18 Wei-cheng Wang <cole945@gmail.com>
2622
2623 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2624 user+system time.
2625 (trace_speed_test): Determine the iteration count for a time
2626 between 15..30 seconds.
2627
012b3a21
WT
26282016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2629
2630 * gdb.arch/i386-mpx-sigsegv.c: New file.
2631 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2632 * gdb.arch/i386-mpx-simple_segv.c: New file.
2633 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2634
2d5189bd
YQ
26352016-02-18 Yao Qi <yao.qi@linaro.org>
2636
2637 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2638 Don't call setup_kfail.
2639
40fb20d0
YQ
26402016-02-18 Yao Qi <yao.qi@linaro.org>
2641
2642 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2643 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2644
21b1f8d2
DE
26452016-02-16 Doug Evans <dje@google.com>
2646
2647 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2648 * gdb.base/skip1.c: Ditto.
2649 * gdb.base/skip.exp: Whitespace cleanup.
2650
4041ed77
DB
26512016-02-16 Don Breazeal <donb@codesourcery.com>
2652
2653 PR remote/19496
2654 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2655 Remove kfail for PR remote/19496.
2656
c4ef31bf
SM
26572016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2658
2659 * lib/gdb.exp (standard_temp_file): Return a path specific to
2660 the runtest invocation.
2661
266b65b3
SM
26622016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2663
2664 * gdb.trace/save-trace.exp: Change relative path to be in the
2665 standard output directory.
2666
a7a0a6a9
JK
26672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2668
2669 * gdb.arch/i386-prologue.c: Add missing prototypes.
2670
c99dbb42
JK
26712016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2672
2673 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2674 * gdb.arch/i386-prologue.exp: Likewise.
2675 * gdb.arch/i386-size.exp: Likewise.
2676
aa480355
SM
26772016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2678
2679 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2680 define object file path.
2681 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2682 file path.
2683 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2684 standard_output_file to define binfile.
2685
ba881f50
JK
26862016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2687
2688 Fix compatibility with recent gfortran-5.3.1.
2689 * gdb.fortran/vla-history.exp (print vla1 allocated)
2690 (print vla2 allocated, print $2, print $3): Remove
2691 (print $4): Rename to ...
2692 (print $2): ... here.
2693 (print $9): Rename to ...
2694 (print $5): ... here.
2695 (print $10): Rename to ...
2696 (print $6): ... here.
2697 * gdb.fortran/vla.f90: Add pvla initialization.
2698
e9fb005c
JK
26992016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2700
2701 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2702 New test.
2703 * gdb.fortran/vla-value-sub.exp: Likewise.
2704
e44e00ff
MK
27052016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2706
2707 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2708
97e94151
SM
27092016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2710
2711 * i386-biarch-core.exp: Define corefile using
2712 standard_output_file.
2713
01113bc1
YQ
27142016-02-12 Yao Qi <yao.qi@linaro.org>
2715
2716 * gdb.arch/arm-single-step-kernel-helper.c: New.
2717 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2718
33b4777c
MM
27192016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2720
2721 * gdb.btrace/tailcall-only.exp: New.
2722 * gdb.btrace/tailcall-only.c: New.
2723 * gdb.btrace/x86_64-tailcall-only.S: New.
2724 * gdb.btrace/i686-tailcall-only.S: New.
2725
acc23c11
PA
27262016-02-11 Pedro Alves <palves@redhat.com>
2727
2728 * README (Parallel testing): Add missing double quotes.
2729
e352bf0a
PA
27302016-02-11 Pedro Alves <palves@redhat.com>
2731
2732 * README (Parallel testing): New section.
2733 (GDB_PARALLEL): Rewrite.
2734 (FORCE_PARALLEL): Document.
2735
9f5fed78
MK
27362016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2737
2738 * gdb.trace/tfile-avx.c: New test.
2739 * gdb.trace/tfile-avx.exp: New test.
2740
9ef9e6a6
KS
27412016-02-09 Keith Seitz <keiths@redhat.com>
2742
2743 PR breakpoints/19546
2744 * gdb.base/infcall-exec.c: New file.
2745 * gdb.base/infcall-exec2.c: New file.
2746 * gdb.base/infcall-exec.exp: New file.
2747
a96e36da
KS
27482016-02-09 Keith Seitz <keiths@redhat.com>
2749
2750 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2751 (toplevel): Call test_bkpt_address.
2752
9f61929f
KS
27532016-02-09 Keith Seitz <keiths@redhat.com>
2754
2755 PR python/19506
2756 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2757 (toplevel): Call test_bkpt_address.
2758
1e94266c
SM
27592016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2760
2761 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2762 to AC_OUTPUT.
2763 * configure: Regenerate.
2764
2a7f3dff
PA
27652016-02-09 Pedro Alves <palves@redhat.com>
2766
2767 PR breakpoints/19548
2768 * gdb.base/execl-update-breakpoints.c (some_function): New
2769 function.
2770 (main): Call it.
2771 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2772 Tighten expected GDB output.
2773
2151ccc5
SM
27742016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2775
2776 * Makefile.in (ALL_SUBDIRS): Remove.
2777 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2778 (distclean maintainer-clean realclean): Likewise.
2779 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2780 * configure: Regenerate.
2781 * gdb.ada/Makefile.in: Delete.
2782 * gdb.arch/Makefile.in: Likewise.
2783 * gdb.asm/Makefile.in: Likewise.
2784 * gdb.base/Makefile.in: Likewise.
2785 * gdb.btrace/Makefile.in: Likewise.
2786 * gdb.cell/Makefile.in: Likewise.
2787 * gdb.compile/Makefile.in: Likewise.
2788 * gdb.cp/Makefile.in: Likewise.
2789 * gdb.disasm/Makefile.in: Likewise.
2790 * gdb.dlang/Makefile.in: Likewise.
2791 * gdb.dwarf2/Makefile.in: Likewise.
2792 * gdb.fortran/Makefile.in: Likewise.
2793 * gdb.gdb/Makefile.in: Likewise.
2794 * gdb.go/Makefile.in: Likewise.
2795 * gdb.guile/Makefile.in: Likewise.
2796 * gdb.java/Makefile.in: Likewise.
2797 * gdb.linespec/Makefile.in: Likewise.
2798 * gdb.mi/Makefile.in: Likewise.
2799 * gdb.modula2/Makefile.in: Likewise.
2800 * gdb.multi/Makefile.in: Likewise.
2801 * gdb.objc/Makefile.in: Likewise.
2802 * gdb.opencl/Makefile.in: Likewise.
2803 * gdb.opt/Makefile.in: Likewise.
2804 * gdb.pascal/Makefile.in: Likewise.
2805 * gdb.perf/Makefile.in: Likewise.
2806 * gdb.python/Makefile.in: Likewise.
2807 * gdb.reverse/Makefile.in: Likewise.
2808 * gdb.server/Makefile.in: Likewise.
2809 * gdb.stabs/Makefile.in: Likewise.
2810 * gdb.threads/Makefile.in: Likewise.
2811 * gdb.trace/Makefile.in: Likewise.
2812 * gdb.xml/Makefile.in: Likewise.
2813 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2814 GDB_PARALLEL.
2815 (standard_output_file): Remove check for GDB_PARALLEL, always
2816 return path in outputs/$subdir/$testname.
2817
437277d4
SM
28182016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2819
2820 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2821 (site.exp): Assign abs_srcdir to tcl's srcdir.
2822
31d913c7
YQ
28232016-02-04 Yao Qi <yao.qi@linaro.org>
2824
2825 * gdb.base/foll-exec-mode.c: Include limits.h.
2826 (main): Add parameters argc and argv. Get directory from
2827 argv[0].
2828 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2829 compilation.
2830 * gdb.base/foll-exec.c: Include limits.h.
2831 (main): Add parameters argc and argv.
2832 Get directory from argv[0].
2833 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2834 Adjust tests on the number of lines as source code changed.
2835 * gdb.base/foll-vfork-exit.c: Include limits.h.
2836 (main): Add one line of statement before vfork.
2837 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2838 (main): Add parameters argc and argv. Get directory from
2839 argv[0].
2840 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2841 (setup_gdb): Set tbreak to skip some source lines.
2842 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2843 (main): Add parameters argc and argv. Get directory from
2844 argv[0].
2845 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2846 compilation.
2847 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2848 (main): Add parameters argc and argv. Get directory from
2849 argv[0].
2850 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2851 compilation.
2852
9482b9fb
DE
28532016-02-01 Doug Evans <dje@google.com>
2854
2855 * gdb.base/skip.exp: Clean up multiple references to same test name.
2856
6b2e4f10
PA
28572016-02-01 Pedro Alves <palves@redhat.com>
2858
ccb6afd6 2859 PR remote/19496
6b2e4f10
PA
2860 * gdb.threads/forking-threads-plus-breakpoint.exp
2861 (displaced_stepping_supported): New global.
2862 (probe_displaced_stepping_support): New procedure.
2863 (do_test): Add 'displaced' parameter, and use it.
2864 (top level): Check for displaced stepping support. Add displaced
2865 stepping on/off testing axis.
2866
37a8db1a
AB
28672016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2868
2869 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2870 pointer. Don't perform further tests on the unassociated pointer
2871 if the first test fails.
2872
5fdf6324
AB
28732016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2874
2875 * gdb.base/max-value-size.c: New file.
2876 * gdb.base/max-value-size.exp: New file.
2877 * gdb.base/huge.exp: Disable max-value-size for this test.
2878
935c6144
IB
28792016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2880
2881 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2882
7fe8399d
YQ
28832016-01-28 Yao Qi <yao.qi@linaro.org>
2884
2885 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2886
a2077e25
PA
28872016-01-25 Pedro Alves <palves@redhat.com>
2888
2889 PR threads/19461
2890 * gdb.base/fork-running-state.c: New file.
2891 * gdb.base/fork-running-state.exp: New file.
2892
1d2736d4
PA
28932016-01-25 Pedro Alves <palves@redhat.com>
2894
2895 PR gdb/19494
2896 * gdb.base/catch-fork-kill.c: New file.
2897 * gdb.base/catch-fork-kill.exp: New file.
2898
f1da4b11
PA
28992016-01-25 Pedro Alves <palves@redhat.com>
2900
2901 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2902 Delete, moved to lib/gdb.exp.
2903 * gdb.threads/forking-threads-plus-breakpoint.exp
2904 (foreach_with_prefix): Likewise.
2905 * gdb.threads/process-dies-while-handling-bp.exp
2906 (foreach_with_prefix): Likewise.
2907 * lib/gdb.exp (foreach_with_prefix): New procedure.
2908
45f38546
MK
29092016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2910
2911 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2912 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2913
dc29a1ce
MK
29142016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2915
2916 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2917 endian targets.
2918
092127d7
JK
29192016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2920 Pedro Alves <palves@redhat.com>
2921
2922 Fix testsuite compatibility with Guile.
2923 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2924 number.
2925
31d765d3
JK
29262016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2927
2928 Fix testsuite compatibility with Guile.
2929 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2930 (thread 1): New test for backtrace through signal handler.
2931
1ac78c04
YQ
29322016-01-22 Yao Qi <yao.qi@linaro.org>
2933
2934 PR testsuite/19491
2935 * gdb.base/multi-forks.c: Include
2936 ../lib/unbuffer_output.c
2937 (main): Call gdb_unbuffer_output.
2938
4f5946a8
DE
29392016-01-21 Doug Evans <dje@google.com>
2940
2941 * lib/ada.exp (gdb_compile_ada): Fix typo.
2942
305e13e6
JB
29432016-01-21 Joel Brobecker <brobecker@adacore.com>
2944
2945 * gdb.base/break-fun-addr.exp: New file.
2946 * gdb.base/break-fun-addr1.c: New file.
2947 * gdb.base/break-fun-addr2.c: New file.
2948
5f5dfff6
SM
29492016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2950
2951 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2952 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2953 enum flag values.
2954
fd356fa2
AA
29552016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2956
2957 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2958 when GDB can not set the vector return value. Add more comments
2959 for clarification.
2960
9df22175
AT
29612016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2962
2963 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2964 command.
2965
41d1845e
SM
29662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2967
2968 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2969
01ac6840
SM
29702016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2971
2972 * Makefile.in (check-single): Pass --status to runtest.
2973 (check/%.exp): Likewise.
2974
29752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2976
2977 * Makefile.in (check-parallel): Propagate return code from make
2978 do-check-parallel.
2979
bd0a71fa
MK
29802016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2981
2982 * gdb.trace/ftrace.exp: Fix expected message on continue.
2983 * gdb.trace/pending.exp: Fix expected message on continue.
2984 * gdb.trace/trace-break.exp: Fix expected message on continue.
2985
8bcbad33
SM
29862016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2987
2988 * lib/gdb.exp (gdb_test): Remove unused global references.
2989
f303dbd6
PA
29902016-01-18 Pedro Alves <palves@redhat.com>
2991
2992 * gdb.base/async-shell.exp: Adjust expected output.
2993 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2994 * gdb.base/siginfo-thread.exp: Adjust expected output.
2995 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2996 * gdb.java/jnpe.exp: Adjust expected output.
2997 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2998 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2999 * gdb.threads/leader-exit.exp: Adjust expected output.
3000 * gdb.threads/manythreads.exp: Adjust expected output.
3001 * gdb.threads/pthreads.exp: Adjust expected output.
3002 * gdb.threads/schedlock.exp: Adjust expected output.
3003 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3004 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3005 expected output.
3006 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3007 output.
3008 * gdb.threads/sigthread.exp: Adjust expected output.
3009 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3010
b2789696
YQ
30112016-01-18 Yao Qi <yao.qi@linaro.org>
3012
3013 * gdb.guile/scm-section-script.c: Replace @progbits with
3014 %progbits.
3015 * gdb.python/py-section-script.c: Likewise.
3016
71ef29a8
PA
30172016-01-15 Pedro Alves <palves@redhat.com>
3018
3019 * gdb.multi/tids.exp: Test star wildcard ranges.
3020
3f5b7598
PA
30212016-01-15 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3024 command from "thread apply" invocation.
3025 (thr_apply_info_thr_invalid): Default the expected output to the
3026 input tid list.
3027 (top level): Add tests that use convenience variables. Add tests
3028 for "thread apply" with a valid TID list, but missing the command.
3029
663f6d42
PA
30302016-01-13 Pedro Alves <palves@redhat.com>
3031
3032 * gdb.base/default.exp: Expect $_gthread as well.
3033 * gdb.multi/tids.exp: Test $_gthread.
3034 * gdb.threads/thread-specific.exp: Test $_gthread.
3035
c84f6bbf
PA
30362016-01-13 Pedro Alves <palves@redhat.com>
3037
3038 * gdb.multi/tids.exp: Test "info threads -gid".
3039
22a02324
PA
30402016-01-13 Pedro Alves <palves@redhat.com>
3041
3042 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3043 Breakpoint.thread.
3044 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3045
5d5658a1
PA
30462016-01-07 Pedro Alves <palves@redhat.com>
3047
3048 * gdb.base/break.exp: Adjust to output changes.
3049 * gdb.base/hbreak2.exp: Likewise.
3050 * gdb.base/sepdebug.exp: Likewise.
3051 * gdb.base/watch_thread_num.exp: Likewise.
3052 * gdb.linespec/keywords.exp: Likewise.
3053 * gdb.multi/info-threads.exp: Likewise.
3054 * gdb.threads/thread-find.exp: Likewise.
3055 * gdb.multi/tids.c: New file.
3056 * gdb.multi/tids.exp: New file.
3057
84654457
PA
30582016-01-13 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3061
e3940304
PA
30622016-01-13 Pedro Alves <palves@redhat.com>
3063
3064 * gdb.base/default.exp: Expect $_inferior as well.
3065 * gdb.multi/base.exp: Test $_inferior.
3066
a911d87a
PA
30672016-01-13 Pedro Alves <palves@redhat.com>
3068
3069 PR breakpoints/19388
3070 * gdb.base/catch-signal-siginfo-cond.c: New file.
3071 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3072
82075af2
JS
30732016-01-12 Josh Stone <jistone@redhat.com>
3074 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3075
3076 * gdb.base/catch-syscall.c (do_execve): New variable.
3077 (main): Conditionally trigger an execve.
3078 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3079 (test_catch_syscall_execve): New, check entry/return across execve.
3080 (do_syscall_tests): Call test_catch_syscall_execve.
3081
e46eeedd
PA
30822016-01-12 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.base/random-signal.exp (do_test): New procedure, with body
3085 of testcase moved in.
3086
01d8c27e
JK
30872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3088 Pedro Alves <palves@redhat.com>
3089
3090 * gdb.base/funcargs.exp (finish from indirectly called function):
3091 Reintroduce the case for 'First'.
3092
9a706302
JK
30932016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3094 Pedro Alves <palves@redhat.com>
3095
3096 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3097 (tcatch_vfork_then_child_follow_exec)
3098 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3099 identification.
3100
c0ecb95f
JK
31012016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3102
3103 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3104 and repeats to unlimited.
3105 * gdb.python/py-value.exp: Likewise.
3106 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3107 and repeats to unlimited.
3108
6cfc1fcb
JK
31092016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3110
3111 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3112 and reordering the functions.
3113 * gdb.multi/hangout.c: Likewise.
3114 * gdb.multi/hello.c: Likewise.
3115
582a1b00
SM
31162016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3117
3118 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3119 absolute.
3120 (SingleStatisticTestResult.report): Use dict.keys instead of
3121 dict.iterkeys.
3122
79bc59cb
PA
31232016-01-06 Pedro Alves <palves@redhat.com>
3124
3125 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3126
43368e1d
MM
31272016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3128
3129 * gdb.btrace/dlopen.exp: New.
3130 * gdb.btrace/dlopen.c: New.
3131 * gdb.btrace/dlopen-dso.c: New.
3132
79fad5b8
SL
31332015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3134
3135 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3136 PATTERN argument is optional.
3137
ab8314b3
JB
31382015-12-24 Joel Brobecker <brobecker@adacore.com>
3139
3140 * lib/ada.exp (target_compile_ada_from_dir): New function.
3141 (gdb_compile_ada): Reimplement avoiding the use of project files.
3142 * gdb.ada/gnat_ada.gpr: Delete.
3143 * gdb.ada/cond_lang.exp: Adjust test to make path before
3144 filename optional.
3145 * gdb.ada/small_reg_param.exp: Likewise.
3146
fe33faff
SM
31472015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3148
3149 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3150
6d265cb4
TP
31512015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3152
3153 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3154 case.
3155
10125099
SM
31562015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3157
3158 * gdb.base/break.exp: Remove dead code.
3159 * gdb.base/sepdebug.exp: Likewise.
3160
3ca22649
SM
31612015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3162
3163 * gdb.asm/asm-source.exp: Remove HP-UX references.
3164 * gdb.base/annota1.exp: Likewise.
3165 * gdb.base/annota3.exp: Likewise.
3166 * gdb.base/attach.exp: Likewise.
3167 * gdb.base/bigcore.exp: Likewise.
3168 * gdb.base/break.exp: Likewise.
3169 * gdb.base/call-ar-st.exp: Likewise.
3170 * gdb.base/callfuncs.exp: Likewise.
3171 * gdb.base/catch-fork-static.exp: Likewise.
3172 * gdb.base/display.exp: Likewise.
3173 * gdb.base/foll-exec-mode.exp: Likewise.
3174 * gdb.base/foll-exec.exp: Likewise.
3175 * gdb.base/foll-fork.exp: Likewise.
3176 * gdb.base/foll-vfork.exp: Likewise.
3177 * gdb.base/funcargs.exp: Likewise.
3178 * gdb.base/hbreak2.exp: Likewise.
3179 * gdb.base/inferior-died.exp: Likewise.
3180 * gdb.base/interrupt.exp: Likewise.
3181 * gdb.base/multi-forks.exp: Likewise.
3182 * gdb.base/nodebug.exp: Likewise.
3183 * gdb.base/sepdebug.exp: Likewise.
3184 * gdb.base/solib1.c: Likewise.
3185 * gdb.base/step-test.exp: Likewise.
3186 * gdb.mi/non-stop.c: Likewise.
3187 * gdb.mi/pthreads.c: Likewise.
3188 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3189 * gdb.threads/pthreads.c: Likewise.
3190 * gdb.threads/staticthreads.exp: Likewise.
3191 * lib/future.exp: Likewise.
3192 * lib/gdb.exp: Likewise.
3193 * gdb.base/so-indr-cl.c: Remove.
3194 * gdb.base/so-indr-cl.exp: Likewise.
3195 * gdb.base/solib.c: Likewise.
3196 * gdb.base/solib.exp: Likewise.
3197 * gdb.base/solib2.c: Likewise.
3198
b6304613
SM
31992015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3200
3201 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3202 * gdb.base/call-ar-st.exp: Likewise.
3203 * gdb.base/callfuncs.exp: Likewise.
3204 * gdb.base/condbreak.exp: Likewise.
3205 * gdb.base/constvars.exp: Likewise.
3206 * gdb.base/hbreak2.exp: Likewise.
3207 * gdb.base/langs.exp: Likewise.
3208 * gdb.base/list.exp: Likewise.
3209 * gdb.base/long_long.exp: Likewise.
3210 * gdb.base/ptype.exp: Likewise.
3211 * gdb.base/scope.exp: Likewise.
3212 * gdb.base/signals.exp: Likewise.
3213 * gdb.base/so-impl-ld.exp: Likewise.
3214 * gdb.base/varargs.exp: Likewise.
3215 * gdb.base/volatile.exp: Likewise.
3216 * gdb.base/whatis.exp: Likewise.
3217 * gdb.cp/cplusfuncs.exp: Likewise.
3218 * gdb.cp/inherit.exp: Likewise.
3219 * gdb.cp/local.exp: Likewise.
3220 * gdb.cp/member-ptr.exp: Likewise.
3221 * gdb.cp/method.exp: Likewise.
3222 * gdb.cp/overload.exp: Likewise.
3223 * gdb.cp/templates.exp: Likewise.
3224 * gdb.stabs/weird.exp: Likewise.
3225 * lib/compiler.c: Likewise.
3226 * lib/compiler.cc: Likewise.
3227 * lib/cp-support.exp: Likewise.
3228 * lib/gdb.exp: Likewise.
3229
bf401b07
SM
32302015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3231
3232 * configure.ac: Remove HP-UX case.
3233 * configure: Regenerate.
3234
aff9c0f8
SM
32352015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3236
3237 * lib/gdb.exp (gdb_compile): Add function doc.
3238
a6904d5a
PA
32392015-12-17 Pedro Alves <palves@redhat.com>
3240
3241 PR threads/19354
3242 * gdb.multi/info-threads.exp: New file.
3243
a22279dd
YQ
32442015-12-15 Yao Qi <yao.qi@linaro.org>
3245
3246 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3247 is aarch64*-*-*.
3248
0588c796
SL
32492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3250
3251 * gdb.base/history-duplicates.exp: Skip if no readline support.
3252
5d978e17
SL
32532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3254
3255 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3256
7e763b86
SL
32572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3258
3259 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3260
87a3a92c
SL
32612015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3262
3263 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3264 ctrl-C if nointerrupts target property is set.
3265 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3266 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3267 * gdb.base/paginate-bg-execution.exp: Likewise.
3268 * gdb.base/paginate-execution-startup.exp: Likewise.
3269 * gdb.base/random-signal.exp: Likewise.
3270 * gdb.base/range-stepping.exp: Likewise.
3271 * gdb.cp/annota2.exp: Likewise.
3272 * gdb.cp/annota3.exp: Likewise.
3273 * gdb.gdb/selftest.exp: Likewise.
3274 * gdb.threads/continue-pending-status.exp: Likewise.
3275 * gdb.threads/leader-exit.exp: Likewise.
3276 * gdb.threads/manythreads.exp: Likewise.
3277 * gdb.threads/pthreads.exp: Likewise.
3278 * gdb.threads/schedlock.exp: Likewise.
3279 * gdb.threads/sigthread.exp: Likewise.
3280
a8f077dc
DB
32812015-12-11 Don Breazeal <donb@codesourcery.com>
3282
3283 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3284 remote.
3285 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3286 * gdb.base/foll-exec.exp (main): Enable for target remote.
3287 * gdb.base/foll-fork.exp (main): Likewise.
3288 * gdb.base/foll-vfork.exp (main): Likewise.
3289 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3290 (proc continue_to_exit_bp_loc): Use clean_restart.
3291 * gdb.base/pie-execl.exp (main): Disable for target remote.
3292 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3293 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3294 * gdb.threads/execl.exp (main): Likewise.
3295 * gdb.threads/fork-child-threads.exp (main): Likewise.
3296 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3297 remote.
3298 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3299 remote.
3300 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3301 pid.tid style ptids, instead of just tid.
3302 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3303 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3304 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3305 ptids, instead of just tid.
3306
3b2464a8
AB
33072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3308
3309 * gdb.base/list.exp (test_list_forward): Add end of file error
3310 test.
3311 (test_repeat_list_command): Add end of file error test.
3312 (test_list_backwards): Add beginning of file error test.
3313
a0def019
AB
33142015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3315
3316 * gdb.base/list.exp (test_list_invalid_args): New function,
3317 defined, and called.
3318
5c000dff
AB
33192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3320
3321 * gdb.base/list.exp (test_list): Make test names unique.
3322
f1637ebe
YQ
33232015-12-11 Yao Qi <yao.qi@linaro.org>
3324
3325 * gdb.base/coremaker2.c: Remove.
3326
36d6fc0a
PA
33272015-12-10 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.multi/base.exp: Remove stale "spaces" references.
3330
762f7747
PA
33312015-12-10 Pedro Alves <palves@redhat.com>
3332
3333 * gdb.multi/base.exp: Don't use nowarnings.
3334 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3335 * gdb.multi/hangout.c: Include stdio.h.
3336 * gdb.multi/hello.c: Include stdlib.h.
3337 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3338 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3339 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3340
28d2bfb9
AB
33412015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3342
3343 * gdb.dwarf2/dw2-ranges-base.c: New file.
3344 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3345 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3346 support additional line table, and debug ranges generation.
3347 (Dwarf::ranges): New function, generate .debug_ranges.
3348 (Dwarf::lines): Support generating simple line table programs.
3349 (Dwarf::assemble): Initialise new namespace variables.
3350
5fc2beac
KB
33512015-12-09 Kevin Buettner <kevinb@redhat.com>
3352
3353 * gdb.base/async.exp (proc test_background): Add case for
3354 asynchronous execution not supported.
3355
1c35a88f
LM
33562015-12-09 Luis Machado <lgustavo@codesourcery.com>
3357
3358 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3359 format and change test names to make them unique.
3360
b593e3d9
RK
33612015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3362 Pedro Alves <pedro@redhat.com>
3363
3364 PR gdb/18702
3365 Add checking of floatformats setup on x86_64 hosts.
3366 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3367 (smallval, bigval): New labels/constants.
3368 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3369 float" after loading bigval and smallval.
3370
d72413e6
PMR
33712015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3372
3373 * gdb.ada/fun_overload_menu.exp: New testcase.
3374 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3375
ece66d65
JS
33762015-12-04 Josh Stone <jistone@redhat.com>
3377
3378 * gdb.base/catch-fork-static.exp: New.
3379
41d0efca
YQ
33802015-12-03 Yao Qi <yao.qi@linaro.org>
3381
3382 * gdb.base/sizeof.c: Don't include stdio.h and
3383 ../lib/unbuffer_output.c.
3384 (main): New variable 'size' and 'value'. Remove printf and
3385 gdb_unbuffer_output. Assign return value to size and value.
3386 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3387 at the beginning.
3388 (check_sizeof): Check the result by printing variable 'size'.
3389 (check_valueof): Check the result by printing variable 'value'.
3390
99fd02d9
YQ
33912015-12-01 Yao Qi <yao.qi@linaro.org>
3392
3393 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3394 for aarch64*-*-linux* target.
3395
f2faf941
PA
33962015-11-30 Pedro Alves <palves@redhat.com>
3397
3398 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3399
04bf20c5
PA
34002015-11-30 Pedro Alves <palves@redhat.com>
3401
3402 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3403 Handle non-stop mode vCont replies.
3404
09df4675
PA
34052015-11-30 Pedro Alves <palves@redhat.com>
3406
3407 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3408 prepare_for_testing. Start gdb with "set non-stop on" appended to
3409 GDBFLAGS. Lax expected stop output.
3410
58b584af
YQ
34112015-11-27 Yao Qi <yao.qi@linaro.org>
3412
3413 * gdb.arch/arm-neon.exp: New.
3414 * gdb.arch/arm-neon.c: New.
3415
dfcb77a8
YQ
34162015-11-27 Yao Qi <yao.qi@linaro.org>
3417
3418 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3419
88e8ec1b
YQ
34202015-11-27 Yao Qi <yao.qi@linaro.org>
3421
3422 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3423 frames-invalid annotation.
3424
bfde72c2
YQ
34252015-11-27 Yao Qi <yao.qi@linaro.org>
3426
3427 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3428
f6512a69
SM
34292015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3430
3431 * gdb.threads/names.exp: New file.
3432 * gdb.threads/names.c: New file.
3433 * README: Mention gdb,no_thread_names.
3434
46a3515b
MM
34352015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3436
3437 PR 19297
3438 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3439 support" error.
3440
62147a22
PA
34412015-11-24 Pedro Alves <palves@redhat.com>
3442
3443 PR 17539
3444 * gdb.base/display.exp: Expect displays to be sorted in ascending
3445 order. Use multi_line.
3446 * gdb.base/solib-display.exp: Likewise.
3447
2f341b6e
PA
34482015-11-24 Pedro Alves <palves@redhat.com>
3449
3450 PR 17539
25d49b86
PA
3451 * gdb.base/display.exp: Expect displays to be sorted in ascending
3452 order. Use multi_line.
3453 * gdb.base/solib-display.exp: Likewise.
2f341b6e 3454
7e0aa6aa
PA
34552015-11-24 Pedro Alves <palves@redhat.com>
3456
3457 PR 17539
3458 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3459 threads in ascending order.
3460 * gdb.base/foll-fork.exp: Likewise.
3461 * gdb.base/foll-vfork.exp: Likewise.
3462 * gdb.base/multi-forks.exp: Likewise.
3463 * gdb.mi/mi-nonstop.exp: Likewise.
3464 * gdb.mi/mi-nsintrall.exp: Likewise.
3465 * gdb.multi/base.exp: Likewise.
3466 * gdb.multi/multi-arch.exp: Likewise.
3467 * gdb.python/py-inferior.exp: Likewise.
3468 * gdb.threads/break-while-running.exp: Likewise.
3469 * gdb.threads/execl.exp: Likewise.
3470 * gdb.threads/gcore-thread.exp: Likewise.
3471 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3472 * gdb.threads/kill.exp: Likewise.
3473 * gdb.threads/linux-dp.exp: Likewise.
3474 * gdb.threads/multiple-step-overs.exp: Likewise.
3475 * gdb.threads/next-bp-other-thread.exp: Likewise.
3476 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3477 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3478 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3479 * gdb.threads/thread-find.exp: Likewise.
3480 * gdb.threads/tls.exp: Likewise.
3481 * lib/mi-support.exp (mi_reverse_list): Delete.
3482 (mi_check_thread_states): No longer reverse list.
3483
2cc57ad8
PA
34842015-11-24 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3487 use lowercase.
3488
c93e8391
SM
34892015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3490
3491 * gdb.trace/actions.c: Include trace-common.h.
3492 (main): Add a location for a fast tracepoint.
3493 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3494 the normal tracepoints.
3495 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3496
045ccf91
SM
34972015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3498
3499 * save-trace.exp: Factor out code to these...
3500 (gdb_save_tracepoints): New.
3501 (gdb_load_tracepoints): New.
3502 (do_save_load_test): New.
3503
5506f9f6
KB
35042015-11-23 Kevin Buettner <kevinb@redhat.com>
3505
3506 * gdb.base/asmlabel.exp: New test.
3507 * gdb.base/asmlabel.c: New test case.
3508
16c3b12f
JB
35092015-11-23 Joel Brobecker <brobecker@adacore.com>
3510
3511 * gdb.base/wrong_frame_bt_full-main.c: New file.
3512 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3513 * gdb.base/wrong_frame_bt_full.exp: New file.
3514
155bfbd3
JB
35152015-11-23 Joel Brobecker <brobecker@adacore.com>
3516
3517 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3518
bb097445
JM
35192015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3520
206853a0 3521 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
3522 pstate register when comparing registers values in
3523 sparc64-*-linux-gnu targets to avoid spurious differences.
3524
9c88ed8f
JM
35252015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3526
206853a0 3527 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 3528
96161e25
SL
35292015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3530
3531 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3532 as type argument to gdb_compile.
3533 * gdb.base/nested-subp2.exp: Likewise.
3534 * gdb.base/nested-subp3.exp: Likewise.
3535
340c2830
DV
35362015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3537
3538 * lib/dwarf.exp (_note): Fix left shift of negative value.
3539 * gdb.trace/trace-condition.exp: Likewise.
3540
c1862d0f
YQ
35412015-11-13 Yao Qi <yao.qi@linaro.org>
3542
3543 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3544 comments about d10v.
3545 (test_scalar_returns): Likewise.
3546 * gdb.base/d10v.ld: Remove.
3547 * gdb.base/overlays.exp: Remove the target triplet checking for
3548 d10v-*-*.
3549 * gdb.base/structs.exp (test_struct_returns): Remove the
3550 comments about d10v.
3551 (test_struct_calls): Likewise.
3552
77ae9c19
YQ
35532015-11-13 Yao Qi <yao.qi@linaro.org>
3554
3555 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3556 * gdb.base/gnu_vector.c: Don't include stdio.h.
3557 (main): Don't print res and call add_some_intvecs.
3558
430e004e
MK
35592015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3560
3561 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3562 macro.
3563 (func5): Removed.
3564 (func4): Use FAST_TRACEPOINT_LABEL.
3565 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3566 macro.
3567 (func): Removed.
3568 (thread_function): Use FAST_TRACEPOINT_LABEL.
3569 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3570 (func): Remove.
3571 (marker): Use FAST_TRACEPOINT_LABEL.
3572 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3573 (pendfunc1): Remove.
3574 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3575 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3576 (foo): Remove.
3577 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3578 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3579 macro.
3580 (func): Remove.
3581 (marker): Use FAST_TRACEPOINT_LABEL.
3582 * gdb.trace/trace-common.h: New header.
3583 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3584 macro.
3585 (func): Remove.
3586 (marker): Use FAST_TRACEPOINT_LABEL.
3587 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3588 (func): Remove.
3589 (thread_function): Use FAST_TRACEPOINT_LABEL.
3590
6e7675a7
MK
35912015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3592
3593 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3594 in front.
3595 * gdb.trace/change-loc.exp: Use global pcreg definition.
3596 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3597 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3598 in front.
3599 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3600 * gdb.trace/pending.exp: Likewise.
3601 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3602 * gdb.trace/trace-break.exp: Likewise.
3603 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3604 in front.
3605 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3606 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3607 in front.
3608 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3609
dddc0e16
JB
36102015-11-09 Joel Brobecker <brobecker@adacore.com>
3611
3612 * gdb.ada/fin_fun_out: New testcase.
3613
c6f0b406
KB
36142015-11-07 Kevin Buettner <kevinb@redhat.com>
3615
3616 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3617 value associated with DW_AT_byte_size.
3618 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3619 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3620 DW_AT_upper_bound.
3621
f01dcfd9
KB
36222015-11-07 Kevin Buettner <kevinb@redhat.com>
3623
3624 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3625 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3626 version.
3627 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3628 gdb.dwarf2/dw2-canonicalize-type.exp,
3629 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3630 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3631 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3632 provided by gdb_target_symbol_prefix_flags_asm.
3633 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3634 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3635 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3636 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3637 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3638 macros where needed). Use this macro for symbols which require
3639 the prefix provided by SYMBOL_PREFIX.
3640
2223449a
KB
36412015-11-05 Kevin Buettner <kevinb@redhat.com>
3642
3643 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3644 New procs.
3645 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3646 representing expressions, of more than one list element.
3647 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3648 to prepend linker symbol prefix to f.
3649 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3650 table_1 and table_2.
3651 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3652 Likewise, for f and g.
3653 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3654 for ptr.
3655 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3656 for main.
3657 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3658 table_1_ptr and table_2_ptr.
3659
6f2f1a3a
JK
36602015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3661 Joel Brobecker <brobecker@adacore.com>
3662
3663 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3664
566c56c9
MK
36652015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3666
3667 * gdb.reverse/s390-mvcle.c: New test.
3668 * gdb.reverse/s390-mvcle.exp: New file.
3669 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3670
d5f0636b
MK
36712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3672
3673 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3674
7ad8b86c
MK
36752015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3676
3677 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3678 reaching marker2.
3679 * gdb.reverse/getresuid-reverse.exp: Likewise.
3680 * gdb.reverse/pipe-reverse.exp: Likewise.
3681 * gdb.reverse/readv-reverse.exp: Likewise.
3682 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3683 * gdb.reverse/time-reverse.exp: Likewise.
3684 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3685
4081c0f1
YQ
36862015-10-30 Yao Qi <yao.qi@linaro.org>
3687
3688 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3689 (empty_cycle): Remove.
3690 (main): Don't call empty_cycle. Don't use watch_count_done.
3691 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3692 empty_cycle. Rewrite the code counting HW watchpoints.
3693
452b4ba5
MK
36942015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3695
3696 * gdb.reverse/fstatat-reverse.c: New test.
3697 * gdb.reverse/fstatat-reverse.exp: New file.
3698 * gdb.reverse/getresuid-reverse.c: New test.
3699 * gdb.reverse/getresuid-reverse.exp: New file.
3700 * gdb.reverse/pipe-reverse.c: New test.
3701 * gdb.reverse/pipe-reverse.exp: New file.
3702 * gdb.reverse/readv-reverse.c: New test.
3703 * gdb.reverse/readv-reverse.exp: New file.
3704 * gdb.reverse/recvmsg-reverse.c: New test.
3705 * gdb.reverse/recvmsg-reverse.exp: New file.
3706 * gdb.reverse/time-reverse.c: New test.
3707 * gdb.reverse/time-reverse.exp: New file.
3708 * gdb.reverse/waitpid-reverse.c: New test.
3709 * gdb.reverse/waitpid-reverse.exp: New file.
3710
5e2e7507
JK
37112015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3712
3713 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3714
0fde2c53
DE
37152015-10-26 Doug Evans <dje@google.com>
3716
3717 PR symtab/17391
3718 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3719 * gdb.dwarf2/bad-regnum.c: New file.
3720 * gdb.dwarf2/bad-regnum.exp: New file.
3721
1a70ae97
DE
37222015-10-26 Doug Evans <dje@google.com>
3723
3724 PR python/18938
3725 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3726 file.
3727
27dc26ab
JK
37282015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3729
3730 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3731 for a change by "Mention language in compile error message".
3732
bed91f4d
SM
37332015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3734
3735 PR python/18073
3736 * gdb.python/py-type.c (C::a_method): New.
3737 (C::a_const_method): New.
3738 (C::a_static_method): New.
3739 (a_function): New.
3740 * gdb.python/py-type.exp (test_fields): Test getting fields
3741 from function and method.
3742
3f2f83dd
KB
37432015-10-21 Keven Boell <keven.boell@intel.com>
3744
3745 * gdb.fortran/vla-alloc-assoc.exp: New file.
3746 * gdb.fortran/vla-datatypes.exp: New file.
3747 * gdb.fortran/vla-datatypes.f90: New file.
3748 * gdb.fortran/vla-history.exp: New file.
3749 * gdb.fortran/vla-ptype-sub.exp: New file.
3750 * gdb.fortran/vla-ptype.exp: New file.
3751 * gdb.fortran/vla-sizeof.exp: New file.
3752 * gdb.fortran/vla-sub.f90: New file.
3753 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3754 * gdb.fortran/vla-value-sub-finish.exp: New file.
3755 * gdb.fortran/vla-value-sub.exp: New file.
3756 * gdb.fortran/vla-value.exp: New file.
3757 * gdb.fortran/vla-ptr-info.exp: New file.
3758 * gdb.mi/mi-vla-fortran.exp: New file.
3759 * gdb.mi/vla.f90: New file.
3760
27145d50
SL
37612015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3762
3763 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3764 of hardwired timeout value.
3765
5f3ff4f8
JK
37662015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3767 Pedro Alves <palves@redhat.com>
3768
3769 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3770 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3771
bfd09d20
JS
37722015-10-19 Josh Stone <jistone@redhat.com>
3773
3774 * gdb.base/catch-syscall.c: Include <sched.h>.
3775 (unknown_syscall): New variable.
3776 (main): Trigger a vfork and an unknown syscall.
3777 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3778 (unknown_syscall_number): Likewise.
3779 (check_call_to_syscall): Accept an optional syscall pattern.
3780 (check_return_from_syscall): Likewise.
3781 (check_continue): Likewise.
3782 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3783 (test_catch_syscall_skipping_return): New test toggling off 'catch
3784 syscall' to step over the syscall return, then toggling back on.
3785 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3786 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3787 (do_syscall_tests): Call test_catch_syscall_without_args and
3788 test_catch_syscall_mid_vfork.
3789 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3790 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3791
b32b93c6
AS
37922015-10-19 Andrew Stubbs <ams@codesourcery.com>
3793
3794 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3795 print g_vE): Add new pass patterns.
3796 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3797 print various symbol names for vptr fields.
3798
9d622bda
AB
37992015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3800
3801 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3802 results.
3803
0fd8ac1c
YQ
38042015-10-12 Yao Qi <yao.qi@linaro.org>
3805
3806 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3807
34240514
YQ
38082015-10-12 Yao Qi <yao.qi@linaro.org>
3809
3810 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3811 is aarch64*-*-linux*.
3812
8240f442
YQ
38132015-10-12 Yao Qi <yao.qi@linaro.org>
3814
3815 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3816 (can_relocate_bcond_true): ... it.
3817 (can_relocate_bcond_false): New function.
3818 (foo): Likewise.
3819 (can_relocate_bl): Likewise.
3820 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3821 can_relocate_bl.
3822
2520f728
PMR
38232015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3824
3825 * gdb.base/nested-addr.c: New file.
3826 * gdb.base/nested-addr.exp: New testcase.
3827
abcef95a
MM
38282015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3829
3830 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3831 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3832 its output. Ignore the output of "record goto begin" and instead
3833 check that GDB is replaying.
3834
145e3ddb
PA
38352015-10-09 Pedro Alves <palves@redhat.com>
3836
3837 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3838 (top level): Use it in the run with no args test.
3839
d5d8c4e1
IB
38402015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3841
3842 * gdb.dlang/properties.exp: New file.
3843
06e635ef
SL
38442015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3845
3846 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3847 whether or not address 0x1000 is mapped on the target.
3848
e019fd1d
SM
38492015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3850
3851 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3852 build.
3853
77ba2a67
MM
38542015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3855
3856 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3857 instruction-history test.
3858
c60eb31f
DE
38592015-09-28 Doug Evans <dje@google.com>
3860
3861 * gdb.base/gcore.c (array_func): Add reference to static_array.
3862
9a3c8263
SM
38632015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3864
3865 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3866 source line.
3867
9720e656
SL
38682015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3869
3870 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3871 short or char as base type.
3872
938d3bf2
SL
38732015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3874
3875 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3876 to allow any size enum.
3877
e6c2c623
PMR
38782015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3879
3880 * gdb.ada/array_ptr_renaming.exp: New testcase.
3881 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3882 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3883
06da0f77
PL
38842015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3885
3886 * gdb.trace/ftrace-lock.c: New file.
3887 * gdb.trace/ftrace-lock.exp: New file.
3888
4f51c22a
PL
38892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3890
3891 * gdb.arch/insn-reloc.c: New file.
3892 * gdb.arch/ftrace-insn-reloc.exp: New file.
3893
7041adf4
PL
38942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3895
3896 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3897 instruction.
3898 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3899 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3900 * gdb.trace/range-stepping.c: Likewise.
3901 * gdb.trace/trace-break.c: Likewise.
3902 * gdb.trace/trace-mt.c (thread_function): Likewise.
3903 * gdb.trace/ftrace.c (marker): Likewise.
3904 * gdb.trace/trace-condition.c (marker): Likewise.
3905 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3906 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3907 is_aarch64_target.
3908
015d2e7e
DE
39092015-09-18 Doug Evans <xdje42@gmail.com>
3910
3911 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3912 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3913
26b188a2
SL
39142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3915
3916 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3917 the breakpoint.
3918
79dc332b
SL
39192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3920
3921 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3922 the pending breakpoint. Remove timeout override for "Run till
3923 MI pending breakpoint on pendfunc3 on thread 2" test.
3924
f57929f2
SL
39252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3926
3927 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3928 filename pattern.
3929
3f469b17
SL
39302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3931
3932 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3933 in breakpoint filename pattern.
3934
515b89b3
SL
39352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3936
7800dbe4
SL
3937 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3938
39392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3940
515b89b3
SL
3941 * gdb.linespec/explicit.exp: Check for readline support for
3942 tab-completion tests. Fix obvious typo.
3943
d2939ba2
MM
39442015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3945
3946 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3947 and replay.
3948
cbb55fa7
MM
39492015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3950
3951 * gdb.btrace/non-stop.c: New.
3952 * gdb.btrace/non-stop.exp: New.
3953
43691ca1
PL
39542015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3955 Yao Qi <yao.qi@linaro.org>
3956
3957 * gdb.trace/trace-condition.c: New file.
3958 * gdb.trace/trace-condition.exp: New file.
3959
d78908cf
WW
39602015-09-16 Wei-cheng Wang <cole945@gmail.com>
3961
3962 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3963 for testing bytecode compilation.
3964
1ed415e2
PA
39652015-09-16 Pedro Alves <palves@redhat.com>
3966 Sandra Loosemore <sandra@codesourcery.com>
3967
3968 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3969 (SECONDS): Redefine.
3970 (main): Call pthread_kill and alarm early.
3971 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3972 support.
3973 (test): If the target can't hardware step and doesn't support
3974 displaced stepping, increase the timeout.
3975
d136eff5
PA
39762015-09-16 Pedro Alves <palves@redhat.com>
3977
3978 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3979 (enable_debug): New procedures.
3980 (test): Use them. Bail out if waiting for threads fails.
3981 (top level): Bail out if a test fails.
3982
991f019c
YQ
39832015-09-16 Yao Qi <yao.qi@linaro.org>
3984
3985 * gdb.asm/asm-source.exp: Set asm-arch for
3986 aarch64*-*-* target.
3987 * gdb.asm/aarch64.inc: New file.
3988
bfca584f
PMR
39892015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3990
3991 * gdb.ada/array_of_variable_length.exp: New testcase.
3992 * gdb.ada/array_of_variable_length/foo.adb: New file.
3993 * gdb.ada/array_of_variable_length/pck.adb: New file.
3994 * gdb.ada/array_of_variable_length/pck.ads: New file.
3995
b326e587
DE
39962015-09-15 Doug Evans <dje@google.com>
3997
3998 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3999 of function static local variable.
4000
5382cfab
PW
40012015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4002
4003 * gdb.threads/tls-so_extern.exp: New test file.
4004 * gdb.threads/tls-so_extern.c: New test file.
4005 * gdb.threads/tls-so_extern_main.c: New test file.
4006
141c5cc4
JK
40072015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4008
4009 * gdb.opt/solib-intra-step-lib.c: New file.
4010 * gdb.opt/solib-intra-step-main.c: New file.
4011 * gdb.opt/solib-intra-step.exp: New file.
4012
d15dcecd
PA
40132015-09-15 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4016 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4017
4c2f2a79
PA
40182015-09-14 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.base/hook-stop-continue.c: Delete.
4021 * gdb.base/hook-stop-continue.exp: Delete.
4022 * gdb.base/hook-stop-frame.c: Delete.
4023 * gdb.base/hook-stop-frame.exp: Delete.
4024 * gdb.base/hook-stop.c: New file.
4025 * gdb.base/hook-stop.exp: New file.
4026
919e6dbe
PMR
40272015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4028
4029 * gdb.ada/access_to_packed_array.exp: New testcase.
4030 * gdb.ada/access_to_packed_array/foo.adb: New file.
4031 * gdb.ada/access_to_packed_array/pack.adb: New file.
4032 * gdb.ada/access_to_packed_array/pack.ads: New file.
4033
157280a4
MM
40342015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4035
4036 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4037 buffer size test.
4038
2fd33e94
DB
40392015-09-11 Don Breazeal <donb@codesourcery.com>
4040
4041 * gdb.base/foll-exec.c: Add copyright header. Fix
4042 formatting issues.
4043 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4044 (do_exec_tests): Use clean_restart in place of zap_session,
4045 and for test initialization. Fix formatting issues. Use
4046 fail in place of perror.
4047 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4048 an expect statement to match an expression with output from
4049 the program under debug.
4050 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4051 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4052 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4053 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4054 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4055
e70b6e8e
DE
40562015-09-09 Doug Evans <dje@google.com>
4057
4058 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4059
7a551a51
DE
40602015-09-09 Doug Evans <dje@google.com>
4061
4062 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4063
4c666f84
DE
40642015-09-09 Doug Evans <dje@google.com>
4065
4066 * gdb.base/savedregs.exp: Fix typo.
4067
243a9253
PA
40682015-09-09 Pedro Alves <palves@redhat.com>
4069
4070 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4071
c0fa8fbd
SL
40722015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4073
4074 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4075 command actually switches threads. Give up on remaining
4076 tests if target fails to stop at breakpoint.
4077
cd7c1778
PMR
40782015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4079
4080 * gdb.ada/funcall_char.exp: New testcase.
4081 * gdb.ada/funcall_char/foo.adb: New file.
4082
dc5c8746
PMR
40832015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4084
4085 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4086 expected outputs. Add two testcases for completing ambiguous
4087 functions.
4088 * gdb.ada/complete/aux_pck.adb: New file.
4089 * gdb.ada/complete/aux_pck.ads: New file.
4090 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4091 Ambiguous_Func functions.
4092 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4093 * gdb.ada/complete/pck.adb: Likewise.
4094
4e83a1e7
UW
40952015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4096
4097 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4098 failures to run the test program under GDB.
4099
8ce74153
LM
41002015-08-26 Luis Machado <lgustavo@codesourcery.com>
4101
4102 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4103 to C.
4104
e9756d52
PP
41052015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4106
4107 * gdb.base/run-after-attach.exp: New test file.
4108 * gdb.base/run-after-attach.c: New test file.
4109
8d37573b
DB
41102015-08-26 Don Breazeal <donb@codesourcery.com>
4111
4112 * gdb.base/foll-exec-2.c: New test program.
4113 * gdb.base/foll-exec-2.exp: New test.
4114
63e43d3a
PMR
41152015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4116
4117 * gdb.base/nested-subp1.exp: New file.
4118 * gdb.base/nested-subp1.c: New file.
4119 * gdb.base/nested-subp2.exp: New file.
4120 * gdb.base/nested-subp2.c: New file.
4121 * gdb.base/nested-subp3.exp: New file.
4122 * gdb.base/nested-subp3.c: New file.
4123
3d40fbb5
PA
41242015-08-24 Pedro Alves <palves@redhat.com>
4125
4126 * gdb.server/connect-without-multi-process.c: New file.
4127 * gdb.server/connect-without-multi-process.exp: New file.
4128
4422ac93
LM
41292015-08-24 Luis Machado <lgustavo@codesourcery.com>
4130
4131 * gdb.opt/inline-markers.c: Make z int.
4132
91dddb86
LM
41332015-08-24 Luis Machado <lgustavo@codesourcery.com>
4134
4135 * gdb.opt/inline-markers.c: Make z volatile.
4136
a48847ee
LM
41372015-08-24 Luis Machado <lgustavo@codesourcery.com>
4138
4139 * gdb.opt/inline-bt.c: New volatile global z.
4140 * gdb.opt/inline-cmds.c: Likewise.
4141 * gdb.opt/inline-locals.c: Likewise.
4142 * gdb.opt/inline-markers.c: New extern global z.
4143 (marker): Use z.
4144 (inline_fn): Likewise.
4145
0ebbc52b
PA
41462015-08-24 Pedro Alves <palves@redhat.com>
4147
4148 * config/m32r-stub.exp: Remove file.
4149 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4150 * gdb.base/call-rt-st.exp: Likewise.
4151 * gdb.base/call-strs.exp: Likewise.
4152 * gdb.base/default.exp: Remove references to h8300-*-hms and
4153 *-*-udi*.
4154 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4155
77c365df
AA
41562015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4157
4158 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4159 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4160 and "return" use KFAIL when GDB can not read/write the vector
4161 return value.
4162
4313b8c0
GB
41632015-08-21 Gary Benson <gbenson@redhat.com>
4164
4165 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4166
0e433b32
PA
41672015-08-20 Pedro Alves <palves@redhat.com>
4168
4169 * gdb.server/solib-list.exp: No longer expect an interior stop in
4170 non-stop mode.
4171
221e1a37
PA
41722015-08-20 Pedro Alves <palves@redhat.com>
4173
4174 * gdb.server/connect-stopped-target.c: New file.
4175 * gdb.server/connect-stopped-target.exp: New file.
4176
40e3ad0e
PA
41772015-08-20 Pedro Alves <palves@redhat.com>
4178
4179 * gdb.dwarf2/comp-unit-lang.exp: New file.
4180 * gdb.dwarf2/comp-unit-lang.c: New file.
4181
af39b327
PMR
41822015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4183
4184 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4185 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4186
7d45c7c3 41872015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 4188
7d45c7c3
KB
4189 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4190 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4191
4d6cceb4
DE
41922015-08-18 Doug Evans <dje@google.com>
4193 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4194
4195 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4196 skip_python_tests. New arg prompt_regexp.
4197 (skip_python_tests): New function.
4198 * lib/mi-support.exp (mi_skip_python_tests): New function.
4199 * gdb.python/py-mi-objfile-gdb.py: New file.
4200 * gdb.python/py-mi-objfile.c: New file.
4201 * gdb.python/py-mi-objfile.exp: New file.
4202
ad89c2aa
KS
42032015-08-17 Keith Seitz <keiths@redhat.com>
4204
4205 * gdb.linespec/explicit.exp: Move strace test from here ...
4206 * gdb.trace/strace.exp: ... to here.
4207
e3ae3c43
PP
42082015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4209
4210 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4211 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4212
604b2636
DE
42132015-08-14 Doug Evans <xdje42@gmail.com>
4214
4215 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4216 inferior before selecting a new file.
4217
6ff0ba5f
DE
42182015-08-14 Doug Evans <xdje42@gmail.com>
4219
4220 * gdb.mi/mi-disassemble.exp: Update.
4221 * gdb.base/disasm-optim.S: New file.
4222 * gdb.base/disasm-optim.c: New file.
4223 * gdb.base/disasm-optim.h: New file.
4224 * gdb.base/disasm-optim.exp: New file.
4225
9ca98f92
KS
42262015-08-14 Keith Seitz <keiths@redhat.com>
4227
4228 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4229 "evaluated-by".
4230
52bbc560
JB
42312015-08-13 Joel Brobecker <brobecker@adacore.com>
4232
4233 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4234
5d8c3ed3
PMR
42352015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4236
4237 * gdb.ada/fun_renaming.exp: New testcase.
4238 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4239 * gdb.ada/fun_renaming/pack.adb: New file.
4240 * gdb.ada/fun_renaming/pack.ads: New file.
4241
ea8812bc
KS
42422015-08-12 Keith Seitz <keiths@redhat.com>
4243
4244 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4245 gdb_get_line_number.
4246
4dafcdeb
JB
42472015-08-12 Joel Brobecker <brobecker@adacore.com>
4248
4249 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4250 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4251 gdb.base/dso2dso.exp: New files.
4252
5ba32597
SDJ
42532015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4254 Pedro Alves <palves@redhat.com>
4255 Keith Seitz <keiths@redhat.com>
4256
4257 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4258 GDBFLAGS.
4259
b6dafabf
PP
42602015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4261
4262 * gdb.base/gdbhistsize-history.exp
4263 (test_histsize_history_setting): Use save_vars.
4264 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4265 Use save_vars.
4266 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4267 * gdb.base/readline.exp: Use save_vars.
4268
abe8e607
PP
42692015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4270
4271 * lib/gdb.exp (save_vars): New proc.
4272
629500fa
KS
42732015-08-11 Keith Seitz <keiths@redhat.com>
4274
4275 * gdb.base/help.exp: Update help_breakpoint_text.
4276
eb8c4e2e
KS
42772015-08-11 Keith Seitz <keiths@redhat.com>
4278
4279 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4280 (at toplevel): Call test_explicit_breakpoints.
4281 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4282 breakpoints.
4283 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4284 breakpoint conditions, "-cond".
4285
87f0e720
KS
42862015-08-11 Keith Seitz <keiths@redhat.com>
4287
4288 * gdb.linespec/3explicit.c: New file.
4289 * gdb.linespec/cpexplicit.cc: New file.
4290 * gdb.linespec/cpexplicit.exp: New file.
4291 * gdb.linespec/explicit.c: New file.
4292 * gdb.linespec/explicit.exp: New file.
4293 * gdb.linespec/explicit2.c: New file.
4294 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4295 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4296 before using in the matching pattern.
4297 Clarify that `prefix' is a regular expression.
4298
f00aae0f
KS
42992015-08-11 Keith Seitz <keiths@redhat.com>
4300
4301 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4302 test.
4303 Add tests for missing ",FMT" and ",".
4304
e27852be
DE
43052015-08-10 Doug Evans <dje@google.com>
4306 Keith Seitz <keiths@redhat.com>
4307
4308 PR gdb/17960
4309 * gdb.base/completion.exp: Add location completer tests.
4310
7f03bd92
PA
43112015-08-07 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4314 tests here.
4315 (top level): Run do_test with and without displaced stepping.
4316
3fc8eb30
PA
43172015-08-07 Pedro Alves <palves@redhat.com>
4318
4319 * gdb.base/valgrind-disp-step.c: New file.
4320 * gdb.base/valgrind-disp-step.exp: New file.
4321
d4569d7b
PA
43222015-08-07 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4325 Delete function.
4326 (main): Add alarm. Run an infinite loop instead of calling
4327 wait_threads.
4328 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4329 comment.
4330 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4331 Delete function.
4332 (main): Add alarm. Run an infinite loop instead of calling
4333 wait_threads.
4334 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4335 comment.
4336
e1316e60
PA
43372015-08-07 Pedro Alves <palves@redhat.com>
4338
4339 * gdb.base/checkpoint-ns.exp: New file.
4340 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4341 standard_testfile.
4342
da8c46d2
MM
43432015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4344
4345 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4346 * gdb.btrace/instruction_history.exp: Update.
4347 * gdb.btrace/tsx.exp: New.
4348 * gdb.btrace/tsx.c: New.
4349
de1c2c52
PA
43502015-08-06 Pedro Alves <palves@redhat.com>
4351
4352 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4353 increase timeout.
4354 * gdb.reverse/until-precsave.exp: Bump timeouts.
4355
782e0bf4
PA
43562015-08-06 Pedro Alves <palves@redhat.com>
4357
4358 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4359
83e97ed0
PA
43602015-08-06 Pedro Alves <palves@redhat.com>
4361
4362 PR gdb/18749
4363 * gdb.threads/process-dies-while-handling-bp.c: New file.
4364 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4365
863d01bd
PA
43662015-08-06 Pedro Alves <palves@redhat.com>
4367
4368 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4369 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4370
0a39bb32
PA
43712015-08-05 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4374 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4375
ee2d2b10
SL
43762015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4377
4378 * gdb.base/bp-permanent.exp: Report test as unsupported if
4379 the target cannot stop at the permanent breakpoint.
4380
4e1bdb00
DE
43812015-08-03 Doug Evans <dje@google.com>
4382
4383 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4384 10000.
4385
3d338901
DE
43862015-08-03 Doug Evans <dje@google.com>
4387
4388 * Makefile.in (workers/%.worker, build-perf): New rule.
4389 (GDB_PERFTEST_MODE): New variable.
4390 (check-perf): Use it.
4391 (clean): Clean up gdb.perf parallel build subdirs.
4392 * lib/build-piece.exp: New file.
4393 * lib/gdb.exp (make_gdb_parallel_path): New function
4394 (standard_output_file, standard_temp_file): Call it.
4395 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4396 of $GDB_PARALLEL.
4397 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4398
af061d3e
DE
43992015-08-03 Doug Evans <dje@google.com>
4400
8e1afc81 4401 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
4402 (LOG_FILE_NAME): New global.
4403 (TextReporter.__init__): Initialize self.txt_sum.
4404 (TextReporter.report): Add support for multiple data-points.
4405 Move report to perftest.sum, put raw data in perftest.log.
4406 (TextReporter.start): Open sum and log files.
4407 (TextReporter.end): Close sum and log files.
8e1afc81
DE
4408 * gdb.perf/lib/perftest/testresult.py
4409 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 4410
2c8c5d37
PA
44112015-07-31 Pedro Alves <palves@redhat.com>
4412
4413 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4414 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4415 kill_wait_spawned_process instead of explicit "kill -9".
4416 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4417 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4418 kill_wait_spawned_process.
4419 * gdb.base/attach-twice.exp: Likewise.
4420 * gdb.base/attach.exp: Likewise.
4421 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4422 gdb_test_multiple.
4423 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4424 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4425 kill_wait_spawned_process.
4426 * gdb.base/valgrind-infcall.exp: Likewise.
4427 * gdb.multi/multi-attach.exp: Likewise.
4428 * gdb.python/py-prompt.exp: Likewise.
4429 * gdb.python/py-sync-interp.exp: Likewise.
4430 * gdb.server/ext-attach.exp: Likewise.
4431 * gdb.threads/attach-into-signal.exp (corefunc): Use
4432 spawn_wait_for_attach, spawn_id_get_pid and
4433 kill_wait_spawned_process.
4434 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4435 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4436 spawn_id_get_pid and kill_wait_spawned_process.
4437 * gdb.threads/attach-stopped.exp (corefunc): Use
4438 spawn_wait_for_attach, spawn_id_get_pid and
4439 kill_wait_spawned_process.
4440 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4441 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4442 kill_wait_spawned_process instead of explicit "kill -9".
4443 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4444 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4445 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4446 processes. Don't map cygwin/windows pids here. Now returns a
4447 spawn id list.
4448
032a0fca
SL
44492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4450
4451 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4452 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4453 correct patch.
4454
61a934ca
SL
44552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4456
4457 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4458
4bc4d428
SL
44592015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4460
4461 Reapply:
4462 2014-05-21 Mark Wielaard <mjw@redhat.com>
4463
4464 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4465
998d452a
PA
44662015-07-30 Pedro Alves <palves@redhat.com>
4467
4468 * linux-low.c (handle_extended_wait): Set the child's last
4469 reported status to TARGET_WAITKIND_STOPPED.
4470
69dde7dc
PA
44712015-07-30 Pedro Alves <palves@redhat.com>
4472
4473 PR threads/18600
4474 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4475 only shows inferior 1.
4476
4dd63d48
PA
44772015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4478 Pedro Alves <palves@redhat.com>
4479
4480 PR threads/18600
4481 * gdb.threads/fork-plus-threads.c: New file.
4482 * gdb.threads/fork-plus-threads.exp: New file.
4483
d618e4c5
PP
44842015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4485
4486 * gdb.base/batch-preserve-term-settings.exp
4487 (test_terminal_settings_preserved_after_cli_exit): Use
4488 send_quit_command.
4489
1eef6428
PA
44902015-07-29 Pedro Alves <palves@redhat.com>
4491 Don Breazeal <donb@codesourcery.com>
4492
4493 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4494 output from both inferior_spawn_id and gdb_spawn_id.
4495
7da5b897
SDJ
44962015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4497
4498 * gdb.threads/attach-into-signal.exp (corefunc): Use
4499 with_test_prefix on nested loops, uniquefying the test messages.
4500
dac804df
SDJ
45012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4502
4503 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4504 commit.
4505
06265e53
PP
45062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4507
4508 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4509 New proc.
4510 (test_terminal_settings_preserved_after_sigterm): New test.
4511
18206ca3
PP
45122015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4513
4514 * gdb.base/batch-preserve-term-settings.exp
4515 (test_terminal_settings_preserved_after_cli_exit): New test.
4516
90074d11
PP
45172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4518
4519 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4520 manipulation of saved_gdbflags.
4521 (test_terminal_settings_preserved): Remove global declaration of
4522 the unused variable pagination_prompt. Remove manipulation of
4523 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4524 GDBFLAGS.
4525
eb1a7902
PA
45262015-07-29 Pedro Alves <palves@redhat.com>
4527
4528 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4529
8b75dd3b
PA
45302015-07-29 Pedro Alves <palves@redhat.com>
4531
4532 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4533 at the top.
4534
dedad4e3
PA
45352015-07-29 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4538 (main): Call gdb_unbuffer_output.
4539 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4540 (main): Call gdb_unbuffer_output.
4541 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4542 (main): Call gdb_unbuffer_output.
4543 * gdb.base/call-strs.exp: Adjust to step over the
4544 gdb_unbuffer_output call.
4545 * gdb.base/catch-gdb-caused-signals.c: Include
4546 "../lib/unbuffer_output.c".
4547 (main): Call gdb_unbuffer_output.
4548 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4549 (main): Call gdb_unbuffer_output.
4550 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4551 (main): Call gdb_unbuffer_output.
4552 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4553 (main): Call gdb_unbuffer_output.
4554 * gdb.base/shlib-call.exp: Adjust to step over the
4555 gdb_unbuffer_output call.
4556 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4557 (main): Call gdb_unbuffer_output.
4558 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4559 (main): Call gdb_unbuffer_output.
4560 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4561 (main): Rename to ...
4562 (test): ... this.
4563 (main): Reimplement.
4564 * gdb.base/varargs.exp: Run to test instead of to main.
4565 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4566 (main): Call gdb_unbuffer_output.
4567
58789a91
PA
45682015-07-29 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4571 factore out from mi_continue_dprintf. For call-style dprintfs,
4572 expect dprintf output out of $inferior_spawn_id.
4573 (mi_continue_dprintf): Use mi_expect_dprintf.
4574 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4575 (main): Call gdb_unbuffer_output.
4576
e8376742
PA
45772015-07-29 Pedro Alves <palves@redhat.com>
4578
4579 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4580 (default_mi_gdb_start): Set inferior_spawn_id instead of
4581 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4582 gdb_spawn_id.
4583 (mi_gdb_test): Always expect inferior output from both
4584 $inferior_spawn_id and $gdb_spawn_id.
4585
08280010
PA
45862015-07-29 Pedro Alves <palves@redhat.com>
4587
4588 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4589 send_inferior and $inferior_spawn_id.
4590
4d30e432
PA
45912015-07-29 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.gdb/complaints.exp (test_initial_complaints)
4594 (test_serial_complaints, test_short_complaints): Use
4595 gdb_test_stdio.
4596 (test_empty_complaint): Handle $inferior_spawn_id !=
4597 $gdb_spawn_id.
4598
0d30a335
PA
45992015-07-29 Pedro Alves <palves@redhat.com>
4600
4601 * gdb.base/varargs.exp: Use gdb_test_stdio.
4602
39413b29
PA
46032015-07-29 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4606
7cb000a9
PA
46072015-07-29 Pedro Alves <palves@redhat.com>
4608
4609 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4610
d7b8ac82
PA
46112015-07-29 Pedro Alves <palves@redhat.com>
4612
4613 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4614 parameter into two new parameters, "inf_result" and "gdb_result".
4615 Expect inferior output and gdb output from $inferior_spawn_id and
4616 $gdb_spawn_id, respectively. Adjust all callers.
4617
789c3a0c
PA
46182015-07-29 Pedro Alves <palves@redhat.com>
4619
4620 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4621 of gdb_test_sequence.
4622
77e760c3
PA
46232015-07-29 Pedro Alves <palves@redhat.com>
4624
4625 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4626 (saw_spurious_output): Expect inferior output from
4627 $inferior_spawn_id. Use gdb_test_stdio.
4628
8396d2cd
PA
46292015-07-29 Pedro Alves <palves@redhat.com>
4630
4631 * gdb.base/dprintf.exp: Use standard_testfile. Change
4632 prepare_for_testing call.
4633 (srcfile): Don't set.
4634 (restart): New procedure.
4635 (test_dprintf): New procecure, use to continue over dprintfs.
4636 (test_call, test_agent): New procedures, tests moved here.
4637 Restart gdb and recreate dprintfs. Adjust expected output.
4638
2051d61f
PA
46392015-07-29 Pedro Alves <palves@redhat.com>
4640
4641 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4642
452397af
PA
46432015-07-29 Pedro Alves <palves@redhat.com>
4644
4645 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4646
8aed9555
PA
46472015-07-29 Pedro Alves <palves@redhat.com>
4648
4649 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4650 gdb_test_stdio.
4651
188a61b4
PA
46522015-07-29 Pedro Alves <palves@redhat.com>
4653
4654 * lib/gdb.exp (gdb_test_stdio): New procedure.
4655
12264a45
PA
46562015-07-29 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4659
23ffc893
PA
46602015-07-29 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.base/call-signal-resume.exp: Remove check for
4663 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4664 * gdb.base/unwindonsignal.exp: Likewise.
4665 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4666 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4667
65566918
PA
46682015-07-29 Pedro Alves <palves@redhat.com>
4669
4670 * gdb.base/siginfo-addr.c (pass): New function.
4671 (handler): Call it iff si_addr is correct.
4672 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4673 Set a breakpoint at "pass" and continue to it.
4674
d60a9221
SDJ
46752015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4676
4677 * gdb.python/py-objfile.exp: Make some tests have unique names.
4678 * gdb.python/py-pp-registration.exp: Likewise.
4679
bde40b8f
PA
46802015-07-28 Pedro Alves <palves@redhat.com>
4681
4682 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4683
13e1dec8
SM
46842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4685
4686 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4687
da33c9a7
SM
46882015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4689
4690 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4691
077836f7
PP
46922015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4693
4694 * gdb.base/gdb-sigterm-2.exp: New test.
4695
b8cc7b2e
DE
46962015-07-25 Doug Evans <xdje42@gmail.com>
4697
4698 Revert:
4699 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4700 (workers/%.worker, build-perf): New rule.
4701 (GDB_PERFTEST_MODE): New variable.
4702 (check-perf): Use it.
4703 (clean): Clean up gdb.perf parallel build subdirs.
4704 * lib/build-piece.exp: New file.
4705 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4706 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4707 name.
4708 (standard_temp_file): Ditto.
4709 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4710 of $GDB_PARALLEL.
4711
c8bd4544
DE
47122015-07-24 Doug Evans <dje@google.com>
4713
4714 * gdb.perf/lib/perftest/utils.py: New file.
4715 * gdb.perf/gm-hello.cc: New file.
4716 * gdb.perf/gm-pervasive-typedef.cc: New file.
4717 * gdb.perf/gm-pervasive-typedef.h: New file.
4718 * gdb.perf/gm-std.cc: New file.
4719 * gdb.perf/gm-std.h: New file.
4720 * gdb.perf/gm-use-cerr.cc: New file.
4721 * gdb.perf/gm-utils.h: New file.
4722 * gdb.perf/gmonster-null-lookup.py: New file.
4723 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4724 * gdb.perf/gmonster-print-cerr.py: New file.
4725 * gdb.perf/gmonster-ptype-string.py: New file.
4726 * gdb.perf/gmonster-runto-main.py: New file.
4727 * gdb.perf/gmonster-select-file.py: New file.
4728 * gdb.perf/gmonster1-null-lookup.exp: New file.
4729 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4730 * gdb.perf/gmonster1-print-cerr.exp: New file.
4731 * gdb.perf/gmonster1-ptype-string.exp: New file.
4732 * gdb.perf/gmonster1-runto-main.exp: New file.
4733 * gdb.perf/gmonster1-select-file.exp: New file.
4734 * gdb.perf/gmonster1.cc: New file.
4735 * gdb.perf/gmonster1.exp: New file.
4736 * gdb.perf/gmonster2-null-lookup.exp: New file.
4737 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4738 * gdb.perf/gmonster2-print-cerr.exp: New file.
4739 * gdb.perf/gmonster2-ptype-string.exp: New file.
4740 * gdb.perf/gmonster2-runto-main.exp: New file.
4741 * gdb.perf/gmonster2-select-file.exp: New file.
4742 * gdb.perf/gmonster2.cc: New file.
4743 * gdb.perf/gmonster2.exp: New file.
4744
6eab34f3
DE
47452015-07-24 Doug Evans <dje@google.com>
4746
4747 * gdb.perf/README: New file.
4748 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4749 * lib/gen-perf-test.exp: New file.
4750
63738bfd
DE
47512015-07-24 Doug Evans <dje@google.com>
4752
4753 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4754 (PerfTest::startup): New function.
4755 (PerfTest::run): Return result of calling body.
4756 (PerfTest::assemble): Rewrite.
4757 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4758 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4759 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4760 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4761 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4762
7b606f95
DE
47632015-07-24 Doug Evans <dje@google.com>
4764
4765 * lib/gdb.exp (clean_restart): Make executable optional.
4766
a97b16b8
DE
47672015-07-24 Doug Evans <dje@google.com>
4768
4769 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4770 compiler_info references.
4771 * gdb.cp/temargs.exp: Ditto.
4772 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4773 (get_compiler_info): Early exit if already computed. Set compiler_info
4774 to "unknown" if there was a problem.
4775 (test_compiler_info): Add function comment. Call get_compiler_info.
4776
35baa57f
DE
47772015-07-24 Doug Evans <dje@google.com>
4778
4779 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4780 (workers/%.worker, build-perf): New rule.
4781 (GDB_PERFTEST_MODE): New variable.
4782 (check-perf): Use it.
4783 (clean): Clean up gdb.perf parallel build subdirs.
4784 * lib/build-piece.exp: New file.
4785 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4786 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4787 name.
4788 (standard_temp_file): Ditto.
4789 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4790 of $GDB_PARALLEL.
4791
6ebea266
DE
47922015-07-24 Doug Evans <dje@google.com>
4793
4794 * lib/future.exp (gdb_default_target_compile): New option
4795 "early_flags".
4796 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4797 --as-needed.
4798
1e76a7e9
SDJ
47992015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4800
4801 * gdb.base/catch-syscall.exp: Call gdb_exit before
4802 gdb_skip_xml_test.
4803
5068630a
PA
48042015-07-24 Pedro Alves <palves@redhat.com>
4805
4806 * gdb.python/py-events.exp: Accept output between the stop event
4807 and the prompt.
4808 * gdb.python/py-evsignal.exp: Likewise.
4809 * gdb.python/py-evthreads.exp: Likewise.
4810
77598427
PA
48112015-07-24 Pedro Alves <palves@redhat.com>
4812
4813 PR gdb/18717
4814 * gdb.threads/non-ldr-exit.c: New file.
4815 * gdb.threads/non-ldr-exit.exp: New file.
4816
11e6c98f
YQ
48172015-07-24 Yao Qi <yao.qi@linaro.org>
4818
4819 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4820 restarting process.
4821
51aee833
YQ
48222015-07-24 Yao Qi <yao.qi@linaro.org>
4823
4824 * gdb.server/ext-restart.exp: New file.
4825
8cfe207c
YQ
48262015-07-24 Yao Qi <yao.qi@linaro.org>
4827
4828 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4829 argument options.
4830 * gdb.server/ext-wrapper.exp: New file.
4831
cc12ce38
DE
48322015-07-23 Doug Evans <dje@google.com>
4833
4834 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4835 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4836
d0d84780
PMR
48372015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4838
4839 * gdb.ada/var_arr_typedef.exp: New testcase.
4840 * gdb.ada/var_arr_typedef/pack.adb: New file.
4841 * gdb.ada/var_arr_typedef/pack.ads: New file.
4842 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4843
8b558f79
JB
48442015-07-20 Joel Brobecker <brobecker@adacore.com>
4845
4846 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4847
775a3298
JK
48482015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4849
4850 * gdb.arch/i386-biarch-core.exp: Replace istarget
4851 by "complete set gnutarget". Remove expectation for the "core-file"
4852 command.
4853
db1ff28b
JK
48542015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4855
4856 Revert the previous commit:
4857 Tests for validate symbol file using build-id.
4858
0a94970d
JK
48592015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4860
4861 Tests for validate symbol file using build-id.
4862 * gdb.base/solib-mismatch-lib.c: New file.
4863 * gdb.base/solib-mismatch-libmod.c: New file.
4864 * gdb.base/solib-mismatch.c: New file.
4865 * gdb.base/solib-mismatch.exp: New file.
4866
03346981
SL
48672015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4868
4869 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4870 nios2-*-linux*.
4871 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4872 * gdb.base/siginfo.exp: Likewise.
4873 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4874
42422cc7
PL
48752015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4876
4877 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4878 Move it to ...
4879 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4880 ... here.
4881 * gdb.trace/range-stepping.exp: Check that the target supports
4882 range stepping.
4883
cfa68bae
JK
48842015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4885
4886 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4887
8ffdba26
PA
48882015-07-14 Pedro Alves <palves@redhat.com>
4889
4890 * gdb.base/killed-outside.exp: New file.
4891 * gdb.base/killed-outside.c: New file.
4892
218a5a11
JK
48932015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4894
4895 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4896 (n at main): New.
4897 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4898
e03ed3c6
AA
48992015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4900
4901 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4902 infcall tests instead of setting up for KFAIL.
4903
485668e5
MM
49042015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4905
4906 * gdb.btrace/record_goto-step.exp: New.
4907
08464196
JK
49082015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4909
4910 PR compile/18484
4911 * gdb.compile/compile.c (struct struct_type): Add volatile to
4912 selffield's type.
4913 * gdb.compile/compile.exp
4914 (compile code struct_object.selffield = &struct_object): Skip further
4915 struct_object tests if this one xfails.
4916
bcf5c1d9
RC
49172015-07-08 Robert O'Callahan <robert@ocallahan.org>
4918
4919 PR exp/18617
4920 * gdb.trace/ax.exp: Add test.
4921
4931af25
YQ
49222015-07-07 Yao Qi <yao.qi@linaro.org>
4923
4924 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4925 instead of istarget "aarch64*-*-*".
4926 * gdb.arch/aarch64-fp.exp: Likewise.
4927 * gdb.base/float.exp: Likewise.
4928 * gdb.reverse/aarch64.exp: Likewise.
4929 * lib/gdb.exp (is_aarch64_target): New proc.
4930
9fcf688e
YQ
49312015-07-07 Yao Qi <yao.qi@linaro.org>
4932
4933 * lib/gdb.exp (is_aarch32_target): New proc.
4934 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4935 instead of "istarget "arm*-*-*"".
4936 * gdb.arch/arm-disp-step.exp: Likewise.
4937 * gdb.arch/thumb-bx-pc.exp: Likewise.
4938 * gdb.arch/thumb-prologue.exp: Likewise.
4939 * gdb.arch/thumb-singlestep.exp: Likewise.
4940 * gdb.base/disp-step-syscall.exp: Likewise.
4941 * gdb.base/float.exp: Likewise.
4942
fbd8d50d
YQ
49432015-07-07 Yao Qi <yao.qi@linaro.org>
4944
4945 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4946 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4947
71be1fdc
YQ
49482015-07-07 Yao Qi <yao.qi@linaro.org>
4949
4950 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4951 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4952 if it exists.
4953 * gdb.multi/multi-arch.exp: Likewise.
4954
3e221d36
SM
49552015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4956
4957 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4958 print.
4959
d441430b
YQ
49602015-07-07 Yao Qi <yao.qi@linaro.org>
4961
4962 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4963
06f810bd
MG
49642015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4965
4966 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4967 '[' and ']' characters.
4968
5e61e7c0
IB
49692015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4970
4971 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4972
28bf096c
PA
49732015-06-29 Pedro Alves <palves@redhat.com>
4974
4975 PR threads/18127
4976 * gdb.threads/hand-call-new-thread.c: New file.
4977 * gdb.threads/hand-call-new-thread.c: New file.
4978
ee93cd5e
KS
49792015-06-26 Keith Seitz <keiths@redhat.com>
4980 Doug Evans <dje@google.com>
4981
4982 PR 16253
4983 * gdb.cp/var-tag-2.cc: New file.
4984 * gdb.cp/var-tag-3.cc: New file.
4985 * gdb.cp/var-tag-4.cc: New file.
4986 * gdb.cp/var-tag.cc: New file.
4987 * gdb.cp/var-tag.exp: New file.
4988
fc637f04
PP
49892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4990
4991 * gdb.base/history-duplicates.exp: New test.
4992
2e52ae68
PP
49932015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4994
4995 * gdb.base/completion.exp: Test the completion of the "focus"
4996 command.
4997
6e22494e
JK
49982015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4999
5000 * gdb.arch/amd64-prologue-skip.S: New file.
5001 * gdb.arch/amd64-prologue-skip.exp: New file.
5002
bf7b9cd9
SM
50032015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5004
5005 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5006 is_address_zero_readable check.
5007
201e8dfd
PB
50082015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5009
5010 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5011 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5012
5cd867b4
YQ
50132015-06-24 Yao Qi <yao.qi@linaro.org>
5014
5015 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5016 linux targets.
5017
4d7be007
YQ
50182015-06-24 Yao Qi <yao.qi@linaro.org>
5019
5020 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5021 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5022 * gdb.base/siginfo-thread.exp: Likewise.
5023
07fcd301
YQ
50242015-06-22 Yao Qi <yao.qi@linaro.org>
5025
5026 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5027
52042a00
YQ
50282015-06-22 Yao Qi <yao.qi@linaro.org>
5029
5030 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5031 aarch64*-*-*.
5032 (skip_hw_watchpoint_tests): Likewise.
5033
74bd41ce
PP
50342015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5035
5036 * gdb.base/gdbinit-history.exp: Test the interaction between
5037 setting GDBHISTSIZE and setting the history size via .gdbinit.
5038
bc460514
PP
50392015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5040
5041 PR gdb/16999
5042 * gdb.base/gdbhistsize-history.exp: New test.
5043
b58c513b
PP
50442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5045
5046 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5047 with GDBHISTSIZE.
5048 * gdb.base/readline.exp: Likewise.
5049
92046791
YQ
50502015-06-17 Yao Qi <yao.qi@linaro.org>
5051
5052 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5053 line.
5054
2093d2d3
PP
50552015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5056
5057 * gdb.base/gdbinit-history.exp: Add test case to check that
5058 an unlimited history file does not get truncated on exit.
5059
e6c693af
AA
50602015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5061
5062 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5063 (VECTOR): New macro. Use it...
5064 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5065 ...for these typedefs.
5066 (int8, char1, int1, double1): New typedefs.
5067 (struct just_int2, struct two_int2): New structures.
5068 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5069 (add_structvecs, add_singlevecs): New functions.
5070 (main): Call add_some_intvecs twice.
5071 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5072 the compile and exit upon failure. Try compiling for the "native"
5073 architecture. Test inferior function calls with vector arguments
5074 and vector return value handling with "finish" and "return".
5075
c74f7d1c
JT
50762015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5077
5078 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5079 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5080 PE file.
5081 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5082
98aa42ee
AT
50832015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5084
5085 PR breakpoints/16465
5086 * gdb.mi/mi-dprintf-pending.c: New file.
5087 * gdb.mi/mi-dprintf-pending.exp: New test.
5088 * gdb.mi/mi-dprintf-pendshr.c: New file.
5089
7d73c23c 50902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 5091 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
5092
5093 * gdb.arch/i386-mpx-map.c: New file.
5094 * gdb.arch/i386-mpx-map.exp: New File.
5095
50962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5097
5098 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5099 * gdb.arch/i386-mpx.exp: Indentation fixed.
5100
51012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5102
5103 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5104 function and improved indentation.
5105 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5106 gdb_test_multiple. Added additional tests to skip the test.
5107
51082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5109
5110 * gdb.arch/i386-avx512.c: Change path in include file.
5111 * gdb.arch/i386-avx512.exp: Change include dir path
5112 compilation flag.
5113 * gdb.arch/i386-mpx.c: Change path in include file.
5114 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5115 flag.
5116
d5eba19a
JK
51172015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5118
5119 * gdb.compile/compile-print.exp (compile print *vararray@3)
5120 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5121
7f361056
JK
51222015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5123
5124 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5125 (do not keep jit in memory): ... this.
5126 (expect 5): Change it to ...
5127 (expect no 5): ... this.
5128
3b462ec2
SM
51292015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5130
5131 PR gdb/15564
5132 * gdb.mi/mi-detach.exp: New file.
5133
e0619de6
JK
51342015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5135
5136 PR symtab/18392
5137 * gdb.arch/amd64-tailcall-self.S: New file.
5138 * gdb.arch/amd64-tailcall-self.c: New file.
5139 * gdb.arch/amd64-tailcall-self.exp: New file.
5140
e970cb34
DB
51412015-05-28 Don Breazeal <donb@codesourcery.com>
5142
5143 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5144 tests for remote targets by checking is_target_gdbserver.
5145
b2e2f908
DE
51462015-05-27 Doug Evans <dje@google.com>
5147
5148 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5149 * gdb.dwarf2/opaque-type-lookup.c: New file.
5150 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5151
82c7be31
DE
51522015-05-26 Doug Evans <dje@google.com>
5153
5154 * gdb.cp/iostream.cc: New file.
5155 * gdb.cp/iostream.exp: New file.
5156
b4f54984
DE
51572015-05-26 Doug Evans <dje@google.com>
5158
5159 * gdb.dwarf2/dw2-op-call.exp: Update.
5160 * gdb.dwarf2/dw4-sig-types.exp: Update.
5161 * gdb.dwarf2/implptr.exp: Update.
5162 * gdb.mi/mi-cmd-param-changed.exp: Update.
5163
4ea6efe9
DE
51642015-05-26 Doug Evans <dje@google.com>
5165
5166 * gdb.python/py-lazy-string.c: New file.
5167 * gdb.python/py-lazy-string.exp: New file.
5168 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5169 (main): Update. Add estring3.
5170 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5171 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5172
f6bb7db3
YQ
51732015-05-26 Omair Javaid <omair.javaid@linaro.org>
5174 Yao Qi <yao.qi@linaro.org>
5175
5176 * gdb.reverse/aarch64.c: New.
5177 * gdb.reverse/aarch64.exp: New.
5178
a81bfbd0
OJ
51792015-05-26 Omair Javaid <omair.javaid@linaro.org>
5180
25d49b86
PA
5181 * lib/gdb.exp (supports_process_record): Return true for
5182 aarch64*-linux*.
a81bfbd0
OJ
5183 (supports_reverse): Likewise.
5184
158bf1b4
PP
51852015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5186
5187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5188 Use with_test_prefix.
5189
a0145030
AB
51902015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5191
5192 * gdb.base/completion.exp: Add test for completion of layout
5193 names.
5194
ebe3b578
AB
51952015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5196
5197 * lib/gdb.exp (skip_tui_tests): New proc.
5198 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5199
84204ed7
PA
52002015-05-19 Pedro Alves <palves@redhat.com>
5201
5202 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5203 Save the whole env array instead of just HOME. Unset HISTSIZE in
5204 the environment while testing. Restore whole environment
5205 afterwards.
5206
37442ce1
DE
52072015-05-16 Doug Evans <xdje42@gmail.com>
5208
5209 * gdb.guile/scm-ports.c: New file.
5210 * gdb.guile/scm-ports.exp: Add memory port tests.
5211
36de76f9
JK
52122015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5213
5214 * gdb.compile/compile-print.c: New file.
5215 * gdb.compile/compile-print.exp: New file.
5216
3a9558c4
JK
52172015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5218
5219 * gdb.compile/compile-ops.exp: Cast param to void.
5220 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5221 (compile code struct_object.selffield = &struct_object): Add xfail.
5222
aa715135
JG
52232015-05-15 Joel Brobecker <brobecker@adacore.com>
5224
5225 * gdb.ada/arr_enum_with_gap: New testcase.
5226
931e5bc3
JG
52272015-05-15 Joel Brobecker <brobecker@adacore.com>
5228
5229 * gdb.ada/byte_packed_arr: New testcase.
5230
9cd4d857
JB
52312015-05-15 Joel Brobecker <brobecker@adacore.com>
5232
5233 * gdb.ada/pckd_neg: New testcase.
5234
ebfd00d2
PP
52352015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5236
5237 PR gdb/17820
5238 * gdb.base/gdbinit-history.exp: New test.
5239 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5240 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5241
4c082a81
SC
52422015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5243
5244 * gdb.python/py-xmethods.cc: Enhance test case.
5245 * gdb.python/py-xmethods.exp: New tests.
5246 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5247 function.
5248 (B_indexoper): Likewise.
5249 (global_dm_list) : Add new xmethod worker functions.
5250
f7797074
SDJ
52512015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5252
5253 * gdb.base/coredump-filter.exp: Correctly unset
5254 "coredump_var_addr" array.
5255
a4674e4e
PA
52562015-05-08 Pedro Alves <palves@redhat.com>
5257
5258 * gdb.server/non-existing-program.exp: Unset spawn_id.
5259
df2eb078
SC
52602015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5261
5262 PR python/18291
5263 * gdb.python/py-xmethods.exp: Add tests.
5264
422349a3
YQ
52652015-05-08 Yao Qi <yao.qi@linaro.org>
5266
5267 PR gdb/18208
5268 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5269 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5270 function set_coredump_filter, and remove remote_exec call.
5271 Remove argument ipid. Callers update.
5272 (top level): Don't get inferior's PID.
5273
63fc80ce
AA
52742015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5275
5276 * gdb.base/watch_thread_num.exp: Skip test on targets without
5277 access watchpoints.
5278
80ad801e
PA
52792015-05-06 Pedro Alves <palves@redhat.com>
5280
5281 PR server/18081
5282 * gdb.server/non-existing-program.exp: New file.
5283
0fa7fe50
JB
52842015-05-05 Joel Brobecker <brobecker@adacore.com>
5285
5286 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5287
3ea89b92
PMR
52882015-05-05 Joel Brobecker <brobecker@adacore.com>
5289
5290 * gdb.ada/out_of_line_in_inlined: New testcase.
5291
87b8eff0
JB
52922015-05-05 Joel Brobecker <brobecker@adacore.com>
5293
5294 * gdb.ada/var_rec_arr: New testcase.
5295
5fccc635
YQ
52962015-04-30 Yao Qi <yao.qi@linaro.org>
5297
5298 * gdb.base/break-idempotent.exp: If
5299 skip_hw_watchpoint_multi_tests returns true, skip the tests
5300 on "rwatch" and "awatch".
5301
42d38f42
YQ
53022015-04-30 Yao Qi <yao.qi@linaro.org>
5303
5304 * gdb.base/relativedebug.exp: Invoke gdb command
5305 "info sharedlibrary", and if libc.so doesn't have debug info,
5306 skip the test.
5307
2ce1cdbf
DE
53082015-04-29 Doug Evans <dje@google.com>
5309
5310 * gdb.python/py-xmethods.exp: Add ptype tests.
5311 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5312 get_result_type method.
5313
f24a38c5
LM
53142015-04-29 Luis Machado <lgustavo@codesourcery.com>
5315
5316 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5317 the target does not support hardware watchpoints.
5318
ecbf2b3c
LM
53192015-04-29 Luis Machado <lgustavo@codesourcery.com>
5320
5321 * gdb.base/break-always.exp: Abort testing if writing to memory
5322 causes an error.
5323
34f5f757
DE
53242015-04-28 Doug Evans <dje@google.com>
5325
5326 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5327 * gdb.python/py-pp-registration.exp: ... here. New file.
5328 * gdb.python/py-pp-registration.c: New file.
5329 * gdb.python/py-pp-registration.py: New file.
5330
69b4374a
DE
53312015-04-28 Doug Evans <dje@google.com>
5332
5333 * gdb.python/py-bad-printers.c: New file.
5334 * gdb.python/py-bad-printers.py: New file.
5335 * gdb.python/py-bad-printers.exp: New file.
5336
59fb7612
SS
53372015-04-28 Sasha Smundak <asmundak@google.com>
5338
5339 * gdb.python/py-type.exp: New test.
5340
2631b16a
AW
53412015-04-28 Andy Wingo <wingo@igalia.com>
5342
5343 * gdb.python/py-parameter.exp:
5344 * gdb.guile/scm-parameter.exp: Escape the path that we are
5345 matching against, as it might contain characters that are special
5346 to regular expressions.
5347
460efde1
JB
53482015-04-27 Joel Brobecker <brobecker@adacore.com>
5349
5350 * gdb.ada/rec_comp: New testcase.
5351
2d369d8e
SDJ
53522015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5353
5354 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5355 before using it.
5356
cf75d6c3
AB
53572015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5358
5359 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5360 new tests for verilog output.
5361
8dbe7ca5
YQ
53622015-04-24 Yao Qi <yao.qi@linaro.org>
5363
5364 * boards/remote-gdbserver-on-localhost.exp: New file.
5365
4ef9fb2f
PA
53662015-04-23 Pedro Alves <palves@redhat.com>
5367
5368 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5369 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5370 "end of file", remove $inferior_spawn_id from the indirect list.
5371
0a803169
PA
53722015-04-23 Pedro Alves <palves@redhat.com>
5373
5374 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5375
749ef8f8
PA
53762015-04-23 Pedro Alves <palves@redhat.com>
5377
5378 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5379 on $any_spawn_id instead of only on $gdb_spawn_id.
5380
8aae4344
PM
53812015-04-21 Pierre Muller <muller@sourceware.org>
5382
5383 PR pascal/17815
5384 * lib/pascal.exp (gpc_compile): Add new option "class".
5385 (fpc_compile): Likewise.
5386 * gdb.pascal/case-insensitive-symbols.pas: New file.
5387 * gdb.pascal/case-insensitive-symbols.exp: New file.
5388
1586c8fb
GB
53892015-04-20 Gary Benson <gbenson@redhat.com>
5390
5391 * gdb.base/attach.exp: Fix three extended remote failures.
5392
1b6e6f5c
GB
53932015-04-17 Gary Benson <gbenson@redhat.com>
5394
5395 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5396 the main executable over the remote protocol.
5397
e797481d
PA
53982015-04-16 Pedro Alves <palves@redhat.com>
5399
5400 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5401 a new gdbserver if gdbserver_reconnect_p is set.
5402
1ca99c42
PA
54032015-04-16 Pedro Alves <palves@redhat.com>
5404
5405 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5406 is set, don't exit gdbserver.
5407
af9fd6f8
AA
54082015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5409
5410 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5411 appropriate .insn, such that an older assembler can be used.
5412 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5413 the z/Architecture instruction set on 31-bit targets as well.
5414
04ff1e61
AA
54152015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5416
5417 * gdb.go/handcall.exp: Remove all logic related to the first
5418 breakpoint and rely on go_runto_main instead.
5419 * gdb.go/strings.exp: Likewise.
5420 * gdb.go/unsafe.exp: Likewise.
5421 * gdb.go/hello.exp: Likewise. Also rename the remaining
5422 breakpoint marker to "breakpoint 1".
5423 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5424 * gdb.go/strings.go: Likewise.
5425 * gdb.go/unsafe.go: Likewise.
5426 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5427 "set breakpoint 2 here" and rename the remaining breakpoint marker
5428 to "breakpoint 1".
5429
40d2f8d6
SM
54302015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5431
5432 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5433 if itertools.imap is not present.
5434 * gdb.python/py-objfile.exp: Add parentheses.
5435 * gdb.python/py-type.exp: Same.
5436 * gdb.python/py-unwind-maint.py: Same.
5437
8cbc97c6
YQ
54382015-04-15 Yao Qi <yao.qi@linaro.org>
5439
5440 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5441 of ":$ptr_size" and set its form explicitly.
5442
45fd756c
YQ
54432015-04-15 Pedro Alves <palves@redhat.com>
5444 Yao Qi <yao.qi@linaro.org>
5445
5446 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5447 timeout by factor of 4.
5448 (test_regular_watch): Likewise.
5449 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5450 * gdb.reverse/sigall-reverse.exp: Likewise.
5451 * gdb.reverse/until-precsave.exp: Likewise.
5452 * lib/gdb.exp (with_timeout_factor): New proc.
5453 (gdb_expect): Move some code to ...
5454 (get_largest_timeout): ... here. New procedure.
5455
9e811bc3
LM
54562015-04-14 Luis Machado <lgustavo@codesourcery.com>
5457
5458 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5459
0ff6fcb2
LM
54602015-04-13 Luis Machado <lgustavo@codesourcery.com>
5461
5462 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5463 to write to the .text section.
5464
7578d5f7
LM
54652015-04-13 Luis Machado <lgustavo@codesourcery.com>
5466
5467 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5468 Handle the case of targets that do not provide PID information.
5469
2efe15c4
YQ
54702015-04-13 Yao Qi <yao.qi@linaro.org>
5471
5472 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5473 and use expect instead of gdb_expect.
5474
8cd8f2f8
SDJ
54752015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5476
5477 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5478 "coredump_var_addr" to avoid naming conflict with other testcases.
5479
9ee41772
PA
54802015-04-10 Pedro Alves <palves@redhat.com>
5481
5482 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5483 gdb_test_sequence and gdb_assert.
5484
07473109
PA
54852015-04-10 Pedro Alves <palves@redhat.com>
5486
5487 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5488 test messages that don't include the breakpoint address.
5489
de3db44c
YQ
54902015-04-10 Yao Qi <yao.qi@linaro.org>
5491
5492 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5493 false for some offset and width combinations which aren't
5494 supported by linux kernel.
5495
c79d856c
PA
54962015-04-10 Pedro Alves <palves@redhat.com>
5497
5498 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5499 procedure, factored out from ...
5500 (top level): ... here. Add "set displaced-stepping" testing axis.
5501 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5502 parameter "displaced". Use it.
5503 (top level): Use foreach and add "set displaced-stepping" testing
5504 axis.
5505
ebc90b50
PA
55062015-04-10 Pedro Alves <palves@redhat.com>
5507
5508 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5509 Remove comment.
5510 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5511 both the address of the instruction that triggers the watchpoint
5512 and the address of the instruction immediately after, and use
5513 those addresses for the test. Fix comment.
5514
8f572e5c
PA
55152015-04-10 Pedro Alves <palves@redhat.com>
5516
5517 * gdb.base/sigstep.exp (breakpoint_to_handler)
5518 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5519 Test "backtrace" in handler.
5520 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5521 (top level): Add new "displaced" test axis to
5522 breakpoint_to_handler, breakpoint_to_handler_entry and
5523 breakpoint_over_handler.
5524
8d707a12
PA
55252015-04-10 Pedro Alves <palves@redhat.com>
5526
5527 PR gdb/18216
5528 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5529
ef713951
YQ
55302015-04-10 Yao Qi <yao.qi@linaro.org>
5531
5532 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5533 (test_add_rn_pc): New function.
5534 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5535 (top level): Invoke test_add_rn_pc.
5536
906d60cf
PA
55372015-04-10 Pedro Alves <palves@redhat.com>
5538
5539 PR gdb/13858
5540 * gdb.base/step-over-no-symbols.exp: New file.
5541
f2983cc3
AW
55422015-04-09 Andy Wingo <wingo@igalia.com>
5543
5544 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5545 after the Python tests.
5546
6d62641c
SDJ
55472015-04-08 Keith Seitz <keiths@redhat.com>
5548
5549 PR python/16699
5550 * gdb.python/py-completion.exp: New tests for completion.
5551 * gdb.python/py-completion.py (CompleteLimit1): New class.
5552 (CompleteLimit2): Likewise.
5553 (CompleteLimit3): Likewise.
5554 (CompleteLimit4): Likewise.
5555 (CompleteLimit5): Likewise.
5556 (CompleteLimit6): Likewise.
5557 (CompleteLimit7): Likewise.
5558
f3770638
PA
55592015-04-08 Pedro Alves <palves@redhat.com>
5560
5561 PR gdb/18214
5562 PR gdb/18216
5563 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5564 function.
5565 (main): Install it as SIGUSR1 handler.
5566 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5567 parameter. Always use "setup" as prefix. Toggle "set
5568 displaced-stepping" off/on depending on global. Don't switch to
5569 thread 1 here.
5570 (top level): Add displaced stepping "off/on" test axis. Update
5571 "setup" calls. Wrap each subtest with with_test_prefix. Test
5572 continuing with a queued signal in each thread.
5573
4496bed7
PA
55742015-04-08 Pedro Alves <palves@redhat.com>
5575
5576 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5577 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5578 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5579 Return early if running to main fails.
5580 * gdb.trace/while-stepping.exp: Likewise.
5581
b97fde92
PA
55822015-04-07 Pedro Alves <palves@redhat.com>
5583
5584 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5585 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5586 interact with inferior program.
5587
f71c18e7
PA
55882015-04-07 Pedro Alves <palves@redhat.com>
5589
5590 * lib/gdb.exp (inferior_spawn_id): New global.
5591 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5592 spawn id after processing the user code.
5593 (default_gdb_start): Set inferior_spawn_id.
5594 (send_inferior): New procedure.
5595 * lib/gdbserver-support.exp (gdbserver_start): Set
5596 inferior_spawn_id.
5597 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5598
6423214f
PA
55992015-04-07 Pedro Alves <palves@redhat.com>
5600
5601 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5602 * lib/gdbserver-support.exp (gdbserver_start): Make
5603 $server_spawn_id global.
5604 (gdbserver_start): Don't wait for gdbserver's spawn id with
5605 expect_background.
5606 (close_gdbserver): New procedure.
5607 (gdb_exit): Rename the default version and reimplement.
5608
71c0ee8c
PA
56092015-04-07 Pedro Alves <palves@redhat.com>
5610
72f4393d 5611 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
5612 append the substituted item, not the original item.
5613
203bc29b
PA
56142015-04-07 Pedro Alves <palves@redhat.com>
5615
5616 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5617 gdb_expect.
5618
508a3ddf
PA
56192015-04-07 Pedro Alves <palves@redhat.com>
5620
5621 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5622 output appearing once only.
5623
9f6dbe2b
PA
56242015-04-07 Pedro Alves <palves@redhat.com>
5625
5626 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5627 that doesn't expect anything. Return early if running to main
5628 fails.
5629
337532fa
YQ
56302015-04-07 Yao Qi <yao.qi@linaro.org>
5631
5632 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5633 (child_function): Call alarm.
5634 (main): Move call to alarm into the loop.
5635 * gdb.threads/non-stop-fair-events.exp: Build program with
5636 -DTIMEOUT=$timeout.
5637
01b622d4
DE
56382015-04-06 Doug Evans <xdje42@gmail.com>
5639
5640 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5641 Fix dest parameter to board_info.
5642 (fpc_compile): Ditto.
5643 (gdb_compile_pascal): Rename dest arg to destfile.
5644
961f4160
PMR
56452015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5646
5647 * gdb.ada/funcall_ref.exp: New file.
5648 * gdb.ada/funcall_ref/foo.adb: New file.
5649
cafda597
YQ
56502015-04-02 Yao Qi <yao.qi@linaro.org>
5651
5652 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5653 is remote.
5654
fed040c6
GB
56552015-04-02 Gary Benson <gbenson@redhat.com>
5656
5657 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5658
d11916aa
SS
56592015-04-01 Sasha Smundak <asmundak@google.com>
5660
5661 * gdb.python/py-unwind-maint.c: New file.
5662 * gdb.python/py-unwind-maint.exp: New test.
5663 * gdb.python/py-unwind-maint.py: New file.
5664 * gdb.python/py-unwind.c: New file.
5665 * gdb.python/py-unwind.exp: New test.
5666 * gdb.python/py-unwind.py: New test.
5667
a1471180
PA
56682015-04-01 Pedro Alves <palves@redhat.com>
5669
5670 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5671 to fail instead of non-existent $test.
5672
0bbeccb1
PA
56732015-04-01 Pedro Alves <palves@redhat.com>
5674
5675 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5676 GDBFLAGS if not empty.
5677
3c724c8c
PMR
56782015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5679
5680 * gdb.ada/complete.exp: Remove "multi_line".
5681 * gdb.ada/info_exc.exp: Remove "multi_line".
5682 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5683 * gdb.ada/ptype_field.exp: Remove "multi_line".
5684 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5685 * gdb.ada/tagged.exp: Remove "multi_line".
5686 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5687 [multi_line ...]
5688 * gdb.btrace/delta.exp: Likewise.
5689 * gdb.btrace/exception.exp: Likewise.
5690 * gdb.btrace/function_call_history.exp: Likewise.
5691 * gdb.btrace/instruction_history.exp: Likewise.
5692 * gdb.btrace/nohist.exp: Likewise.
5693 * gdb.btrace/record_goto.exp: Likewise.
5694 * gdb.btrace/segv.exp: Likewise.
5695 * gdb.btrace/stepi.exp: Likewise.
5696 * gdb.btrace/tailcall.exp: Likewise.
5697 * gdb.btrace/unknown_functions.exp: Likewise.
5698 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5699 * lib/gdb.exp: Add the "multi_line" helper.
5700
4eec2deb
PA
57012015-04-01 Pedro Alves <palves@redhat.com>
5702
5703 * gdb.threads/tid-reuse.c: New file.
5704 * gdb.threads/tid-reuse.exp: New file.
5705
df8411da
SDJ
57062015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5707
5708 PR corefiles/16092
5709 * gdb.base/coredump-filter.c: New file.
5710 * gdb.base/coredump-filter.exp: Likewise.
5711
6ef37366
PM
57122015-03-27 Petr Machata <pmachata@redhat.com>
5713
5714 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5715 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5716 (Dwarf::assemble): Initialize them.
5717 (Dwarf::lines): New function.
5718
7ec911b0
JT
57192015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5720
5721 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5722 SYMBOL_PREFIX for x86_64-*-cygwin.
5723
ff908ebf
AW
57242015-03-26 Andy Wingo <wingo@igalia.com>
5725
5726 PR symtab/18148
5727 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5728 const_value but not a location.
5729 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5730 location defined in non-main CUs are visible.
5731
6d5f0679
YQ
57322015-03-26 Yao Qi <yao.qi@linaro.org>
5733
5734 PR testsuite/18139
5735 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5736 Add a line number entry for the same line.
5737 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5738 Add a line number entry for the same line.
5739
2898689b
YQ
57402015-03-26 Yao Qi <yao.qi@linaro.org>
5741
5742 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5743 .int 0.
5744 (func): Likewise. Add .Lfunc_1 label.
5745 Use .Lfunc_1 label.
5746 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5747 .int 0.
5748 (func): Likewise.
5749 Use .Lfunc_1 label.
5750
85180498
YQ
57512015-03-26 Yao Qi <yao.qi@linaro.org>
5752
5753 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5754 Call gdb_compile instead to compile each .s files without debug
5755 information.
5756
8aa08a8d
YQ
57572015-03-26 Yao Qi <yao.qi@linaro.org>
5758
5759 * gdb.base/savedregs.exp (process_saved_regs): Make
5760 "Saved registers:" optional in the pattern.
5761
66849923
MM
57622015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5763
5764 * gdb.btrace/next.exp: Merged into step.exp.
5765 * gdb.btrace/finish.exp: Merged into step.exp.
5766 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5767 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5768 "record goto" and checking the exact replay position.
5769 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5770 check for "Recording format" in "info record" output.
5771 * gdb.btrace/record_goto.exp: Choose test file based on target.
5772 * gdb.btrace/x86-record_goto.S: Renamed into ...
5773 * gdb.btrace/x86_64-record_goto.S: ... this.
5774 * gdb.btrace/i686-record_goto.S: New.
5775 * gdb.btrace/x86-tailcall.S: Renamed into ...
5776 * gdb.btrace/x86_64-tailcall.S: ... this.
5777 * gdb.btrace/i686-tailcall.S: New.
5778 * gdb.btrace/x86-tailcall.c: Renamed into ...
5779 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5780 separate statements. Update test.
5781 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5782 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5783 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5784 * gdb.btrace/tailcall.exp: Choose test file based on target.
5785 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5786
11cc1b74
MM
57872015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5788
5789 * gdb.btrace/exception.exp: Increase BTS buffer size.
5790
a25d8bf9
PA
57912015-03-24 Pedro Alves <palves@redhat.com>
5792
5793 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5794
856e7dd6
PA
57952015-03-24 Pedro Alves <palves@redhat.com>
5796
5797 * gdb.threads/schedlock.exp (test_step): No longer expect that
5798 "set scheduler-locking step" with "next" over a function call runs
5799 threads unlocked.
5800
ad235a41
AT
58012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5802
5803 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5804
15630549
AT
58052015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5806
5807 PR breakpoints/16466
5808 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5809 * gdb.mi/mi-pending.c (thread_func): New function.
5810 (int main): Add threading support required.
5811 * gdb.mi/mi-pending.exp: Add tests for this issue.
5812 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5813 (pendfunc2): Remove stdio dependency.
5814 * gdb.mi/mi-pendshr2.c: New file.
5815
693dca06
KS
58162015-03-23 Keith Seitz <keiths@redhat.com>
5817
5818 * gdb.linespec/keywords.c: New file.
5819 * gdb.linespec/keywords.exp: New file.
5820
7e993ebf
KS
58212015-03-23 Keith Seitz <keiths@redhat.com>
5822
5823 PR gdb/18021
5824 * gdb.dwarf2/staticvirtual.exp: New test.
5825
bc23328c
JK
58262015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5827
5828 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5829 * README: Remove HP-UX and gdb.hp.
5830 (configuration):
5831 * configure: Regenerate.
5832 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5833 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5834 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5835 gdb.hp/gdb.defects/Makefile.
5836 * gdb.hp/Makefile.in: File deleted.
5837 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5838 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5839 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5840 * gdb.hp/gdb.aCC/run.c: File deleted.
5841 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5842 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5843 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5844 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5845 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5846 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5847 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5848 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5849 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5850 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5851 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5852 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5853 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5854 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5855 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5856 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5857 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5858 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5859 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5860 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5861 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5862 * gdb.hp/gdb.compat/average.c: File deleted.
5863 * gdb.hp/gdb.compat/sum.c: File deleted.
5864 * gdb.hp/gdb.compat/xdb.c: File deleted.
5865 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5866 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5867 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5868 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5869 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5870 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5871 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5872 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5873 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5874 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5875 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5876 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5877 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5878 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5879 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5880 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5881 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5882 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5883 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5884 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5885 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5886 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5887 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5888 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5889 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5890 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5891 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5892 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5893 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5894 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5895 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5896 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5897 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5898 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5899 * gdb.hp/tools/odump: File deleted.
5900
8bf3b159
PA
59012015-03-19 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5904 (saw_thread_3): New globals.
5905 (top level): Increment them when an event for the corresponding
5906 thread is seen.
5907 (no thread starvation): New test.
5908
eb54c8bf
PA
59092015-03-19 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.threads/continue-pending-status.c: New file.
5912 * gdb.threads/continue-pending-status.exp: New file.
5913
32d2e5d6
PA
59142015-03-18 Pedro Alves <palves@redhat.com>
5915
5916 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5917 Use gdb_is_target_remote instead of is_remote. Use
5918 gdb_test_multiple instead of gdb_expect. Exit early if
5919 gdb_test_multiple hits its internal matches. Tighten stepi tests
5920 expected output. Fail on exit with any signal, instead of just
5921 SIGILL.
5922
f68f11b7
YQ
59232015-03-18 Yao Qi <yao.qi@linaro.org>
5924
5925 PR tdep/18107
5926 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5927 variable.
5928 * gdb.base/catch-syscall.exp: Don't skip it on
5929 aarch64*-*-linux* target. Remove elements in all_syscalls.
5930 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5931 target.
5932 (setup_all_syscalls): New proc.
5933
ca5fd19b
YQ
59342015-03-16 Yao Qi <yao.qi@linaro.org>
5935
5936 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5937 (top level): Skip tests if valid_addr_p returns false for
5938 $cmd1 or $cmd2.
5939
85642ba0
AW
59402015-03-11 Andy Wingo <wingo@igalia.com>
5941
5942 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5943
e03f9645
YQ
59442015-03-11 Yao Qi <yao.qi@linaro.org>
5945
5946 * gdb.base/catch-syscall.exp: Fix typo in comments.
5947
5d0962b2
YQ
59482015-03-11 Yao Qi <yao.qi@linaro.org>
5949
5950 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5951
b2df3cef
PA
59522015-03-09 Pedro Alves <palves@redhat.com>
5953
5954 * dg-extract-results.py: Delete.
5955
ef878e53
PA
59562015-03-09 Pedro Alves <palves@redhat.com>
5957
5958 Merge dg-extract-results.sh from GCC upstream (r218843).
5959
5960 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5961 * dg-extract-results.sh: Use --text with grep to avoid issues with
5962 binary files. Fall back to cat -v, if that doesn't work.
5963
9494d219
PA
59642015-03-05 Pedro Alves <palves@redhat.com>
5965
5966 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5967
a8d9763a
SM
59682015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5969
5970 * lib/mi-support.exp (mi_expect_interrupt): Accept
5971 alternative event for when in all-stop mode.
5972
be9957b8
PA
59732015-03-04 Pedro Alves <palves@redhat.com>
5974
5975 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5976
d57be0f4 59772015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5978
5979 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5980
c214c7cf
AA
59812015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5982
5983 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5984 regexps for GDB's current line display, accept a hex address
5985 preceding the line number.
5986
6d74a497
AA
59872015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5988
5989 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5990 the 'arch1' variable for "s390*-linux*" targets.
5991
511aee7c
PA
59922015-03-04 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5995 (main): Pass missing retval argument to pthread_join call.
5996
95e50b27
PA
59972015-03-02 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6000 (top level): Call do_test with non-stop as well.
6001
28054d69
PA
60022015-03-02 Pedro Alves <palves@redhat.com>
6003
6004 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6005 -1.
6006
4fa5d7b4
AA
60072015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6008
6009 * gdb.arch/s390-vregs.exp: New test.
6010 * gdb.arch/s390-vregs.S: New file.
6011
97c18565
PA
60122015-02-27 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6015 call to catch_command_errors.
6016 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6017 catch_command_errors.
6018
a37bfa30
PA
60192015-02-27 Pedro Alves <palves@redhat.com>
6020
6021 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6022 "true" for boolean result.
6023 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6024 prototype of main.
6025
6f98576f
PA
60262015-02-27 Pedro Alves <palves@redhat.com>
6027
6028 * lib/unbuffer_output.c: New file.
6029 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6030 (main): Call gdb_unbuffer_output.
6031
eba5ab56
YQ
60322015-02-27 Yao Qi <yao.qi@linaro.org>
6033
6034 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6035 target.
6036
0def5aaa
DE
60372015-02-26 Doug Evans <dje@google.com>
6038
6039 * gdb.cp/class2.cc (Dbase, D): New classes.
6040 (main): New local delta.
6041 * gdb.cp/class2.exp: Test printing delta.
6042 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6043 (dynbar): New global.
6044 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6045
081a1c2c
JK
60462015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6047
6048 * gdb.compile/compile-ifunc.c: New file.
6049 * gdb.compile/compile-ifunc.exp: New file.
6050
2f41223f
AT
60512015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6052
6053 * gdb.base/structs.exp: Check for correct struct on finish.
6054
03eddd80
YQ
60552015-02-26 Yao Qi <yao.qi@linaro.org>
6056
6057 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6058 is zero.
6059
80c57053
JK
60602015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6061
6062 * gdb.arch/cordic.ko.bz2: New file.
6063 * gdb.arch/cordic.ko.debug.bz2: New file.
6064 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6065
21613c12
YQ
60662015-02-25 Yao Qi <yao.qi@linaro.org>
6067
6068 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6069 aarch64*-*-* target.
6070
d8b901ed
PA
60712015-02-23 Pedro Alves <palves@redhat.com>
6072
6073 * lib/gdb.exp (delete_breakpoints): Rewrite using
6074 gdb_test_multiple.
6075
e5b85ead
PA
60762015-02-23 Pedro Alves <palves@redhat.com>
6077
6078 * gdb.base/info-os.c: Include stdlib.h.
6079
85c3a371
DE
60802015-02-22 Doug Evans <xdje42@gmail.com>
6081
6082 PR symtab/17855
6083 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6084 is read after symbols have been re-read.
6085 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6086 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6087
96553a0c
DE
60882015-02-21 Doug Evans <dje@google.com>
6089
6090 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6091
97a0c697
JK
60922015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6093
6094 PR corefiles/17808
6095 * gdb.arch/i386-biarch-core.core.bz2: New file.
6096 * gdb.arch/i386-biarch-core.exp: New file.
6097
a47cd6e9
PA
60982015-02-21 Pedro Alves <palves@redhat.com>
6099
6100 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6101 runto_main fails.
6102
c5facdc4
PA
61032015-02-20 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6106 info probes.
6107
2db9a427
PA
61082015-02-20 Pedro Alves <palves@redhat.com>
6109
6110 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6111
60fb7e9e
PA
61122015-02-20 Pedro Alves <palves@redhat.com>
6113
6114 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6115 clean_restart before gdb_target_supports_trace.
6116
5c5019c2
PA
61172015-02-20 Pedro Alves <palves@redhat.com>
6118
6119 PR threads/18006
6120 * gdb.threads/clone-thread_db.c: New file.
6121 * gdb.threads/clone-thread_db.exp: New file.
6122
c9587f88
AT
61232015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6124
6125 PR breakpoints/16812
6126 * gdb.base/catch-gdb-caused-signals.c: New file.
6127 * gdb.base/catch-gdb-caused-signals.exp: New file.
6128
f6a88844
JM
61292015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6130
6131 * configure: Regenerated.
6132 * configure.ac: Use GDB_AC_TRANSFORM.
6133 * aclocal.m4: sinclude ../transform.m4.
6134
497c491b
JM
61352015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6136
6137 * lib/dtrace.exp: New file.
6138 * gdb.base/dtrace-probe.exp: Likewise.
6139 * gdb.base/dtrace-probe.d: Likewise.
6140 * gdb.base/dtrace-probe.c: Likewise.
6141 * lib/pdtrace.in: Likewise.
6142 * configure.ac: Output variables with the transformed names of
6143 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6144 * configure: Regenerated.
6145
03e98035
JM
61462015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6147
6148 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6149 expected message when trying to access $_probe_* convenience
6150 variables while not on a probe.
6151
63cc30e9
JK
61522015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6153
6154 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6155
0703599a
PA
61562015-02-11 Pedro Alves <pedro@codesourcery.com>
6157
6158 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6159 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6160
7e60a48e
DE
61612015-02-10 Doug Evans <xdje42@gmail.com>
6162
6163 * lib/gdb.exp (gdb_load): Always return a result.
6164
01b088bc
PA
61652015-02-10 Pedro Alves <palves@redhat.com>
6166
6167 * gdb.threads/signal-sigtrap.c: New file.
6168 * gdb.threads/signal-sigtrap.exp: New file.
6169
b05ec7a5
AT
61702015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6171
6172 * gdb.trace/no-attach-trace.c: New file.
6173 * gdb.trace/no-attach-trace.exp: New file.
6174
a2c2acaf
MW
61752015-02-09 Mark Wielaard <mjw@redhat.com>
6176
6177 * gdb.dwarf2/atomic.c: New file.
6178 * gdb.dwarf2/atomic-type.exp: Likewise.
6179
31fd9caa
MM
61802015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6181
6182 * gdb.btrace/buffer-size.exp: Update "info record" output.
6183 * gdb.btrace/delta.exp: Update "info record" output.
6184 * gdb.btrace/enable.exp: Update "info record" output.
6185 * gdb.btrace/finish.exp: Update "info record" output.
6186 * gdb.btrace/instruction_history.exp: Update "info record" output.
6187 * gdb.btrace/next.exp: Update "info record" output.
6188 * gdb.btrace/nexti.exp: Update "info record" output.
6189 * gdb.btrace/step.exp: Update "info record" output.
6190 * gdb.btrace/stepi.exp: Update "info record" output.
6191 * gdb.btrace/nohist.exp: Update "info record" output.
6192
d33501a5
MM
61932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6194
6195 * gdb.btrace/buffer-size: New.
6196
f4abbc16
MM
61972015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6198
6199 * gdb.btrace/delta.exp: Update "info record" output.
6200 * gdb.btrace/enable.exp: Update "info record" output.
6201 * gdb.btrace/finish.exp: Update "info record" output.
6202 * gdb.btrace/instruction_history.exp: Update "info record" output.
6203 * gdb.btrace/next.exp: Update "info record" output.
6204 * gdb.btrace/nexti.exp: Update "info record" output.
6205 * gdb.btrace/step.exp: Update "info record" output.
6206 * gdb.btrace/stepi.exp: Update "info record" output.
6207 * gdb.btrace/nohist.exp: Update "info record" output.
6208
b9d61307
SM
62092015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6210
6211 PR gdb/15678
6212 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6213
e584fdbc
PA
62142015-02-06 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6217 macro.
6218 (seconds_left, again): New globals.
6219 (main): Wait seconds_left in a 1-second sleep loop instead of
6220 sleeping 180 seconds. If 'again' is set, reset the seconds
6221 counter.
6222 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6223 'again' in the inferior before detaching. Print the seconds left.
6224 (options): New global.
6225 (top level): Build program with -DTIMEOUT=$timeout.
6226
77f41761
PA
62272015-02-06 Pedro Alves <palves@redhat.com>
6228
6229 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6230 determine how many seconds to pass to 'alarm'.
6231 * gdb.base/gdb-sigterm.exp (top level): Build program with
6232 -DTIMEOUT=$timeout.
6233 (do_test): Return success/failure indication. Add more verbose
6234 logging. Don't fail if 200 single steps are seen. Instead, fail
6235 when the test times out.
6236 (passes): New global.
6237 (top level): Break the testing loop if testing fails on any
6238 iteration. Use gdb_assert.
6239
b9394193
DB
62402015-02-04 Don Breazeal <donb@codesourcery.com>
6241
6242 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6243 and initialize them.
6244 (ipc_cleanup): New function.
6245 (main): Don't declare shmid, semid, and msqid. Add a call to
6246 atexit so that we call ipc_cleanup on exit.
6247
42d9e528
PA
62482015-02-04 Pedro Alves <palves@redhat.com>
6249
6250 * boards/native-extended-gdbserver.exp: Remove any target variant
6251 specifications from the board name before clearing the isremote
6252 flag from board_info.
6253
ae6ae975
DE
62542015-01-31 Doug Evans <xdje42@gmail.com>
6255
6256 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6257
cfb069a8
GB
62582015-01-31 Gary Benson <gbenson@redhat.com>
6259
6260 * gdb.base/completion.exp: Disable completion limiting for
6261 existing tests. Add new tests to check completion limiting.
6262 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6263
5dd31d79
DE
62642015-01-31 Doug Evans <xdje42@gmail.com>
6265
6266 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6267
9f050062
DE
62682015-01-31 Doug Evans <xdje42@gmail.com>
6269
6270 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6271 entries. Duplicate file section script entries.
6272 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6273 inlined entries. Add test for safe-path rejection.
6274 * gdb.python/py-section-script.c: Add duplicate inlined section script
6275 entries. Duplicate file section script entries.
6276 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6277 inlined entries. Add test for safe-path rejection.
6278
df25ebbd
JB
62792015-01-29 Joel Brobecker <brobecker@adacore.com>
6280
6281 * gdb.ada/disc_arr_bound: New testcase.
6282
4a0ca9ec
JB
62832015-01-29 Joel Brobecker <brobecker@adacore.com>
6284
6285 * gdb.ada/mi_var_array: New testcase.
6286
3a8b707a
DE
62872015-01-27 Doug Evans <dje@google.com>
6288
6289 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6290 Add test for objfile.filename, objfile.username after objfile
6291 has been unloaded.
6292
f8313f6e
JB
62932015-01-26 Joel Brobecker <brobecker@adacore.com>
6294
6295 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6296 the second test to print the name attribute of value
6297 returned by the call to gdb.lookup_type, and adjust
6298 the expected output accordingly.
6299
37bc665e
MW
63002015-01-25 Mark Wielaard <mjw@redhat.com>
6301
6302 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6303 * gdb.base/disp-step-fork.c: Include unistd.h.
6304 * gdb.base/siginfo-obj.c: Include stdio.h.
6305 * gdb.base/siginfo-thread.c: Likewise.
6306 * gdb.mi/non-stop.c: Include unistd.h.
6307 * gdb.mi/nsthrexec.c: Include stdio.h.
6308 * gdb.mi/pthreads.c: Include unistd.h.
6309 * gdb.modula2/unbounded1.c (main): Declare returns int.
6310 * gdb.reverse/consecutive-reverse.c: Likewise.
6311 * gdb.threads/create-fail.c: Include unistd.h.
6312 * gdb.threads/killed.c: Likewise.
6313 * gdb.threads/linux-dp.c: Likewise.
6314 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6315 * gdb.threads/non-ldr-exc-2.c: Likewise.
6316 * gdb.threads/non-ldr-exc-3.c: Likewise.
6317 * gdb.threads/non-ldr-exc-4.c: Likewise.
6318 * gdb.threads/pthreads.c: Include unistd.h.
6319 (main): Declare returns int.
6320 * gdb.threads/tls-main.c (foo): New declaration.
6321 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6322
f7e5394d
SM
63232015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6324
6325 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6326 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6327
743649fd
MW
63282015-01-15 Mark Wielaard <mjw@redhat.com>
6329
6330 * gdb.base/noreturn-return.c: New file.
6331 * gdb.base/noreturn-return.exp: New file.
6332 * gdb.base/noreturn-finish.c: New file.
6333 * gdb.base/noreturn-finish.exp: New file.
6334
198297aa
PA
63352015-01-23 Pedro Alves <palves@redhat.com>
6336
6337 * gdb.threads/continue-pending-after-query.c: New file.
6338 * gdb.threads/continue-pending-after-query.exp: New file.
6339
717cf30c
AG
63402015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6341 Simon Marchi <simon.marchi@ericsson.com>
6342
6343 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6344 * gdb.base/valgrind-db-attach.exp: Same.
6345 * gdb.base/valgrind-infcall.exp: Same.
6346 * lib/mi-support.exp (default_mi_gdb_start): Same.
6347 * lib/prompt.exp (default_prompt_gdb_start): Same.
6348 * lib/gdb.exp (default_gdb_spawn): Same.
6349 (gdb_interact): New.
6350
6351
4b62a76e
JK
63522015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6353
6354 * gdb.compile/compile.exp (pointer to jit function): New test.
6355
b4cdae6f
WW
63562015-01-17 Wei-cheng Wang <cole945@gmail.com>
6357
6358 * lib/gdb.exp (supports_process_record): Return true for
6359 powerpc*-*-linux*.
6360 (supports_reverse): Likewise.
6361
d221e7ef
DB
63622015-01-15 Don Breazeal <donb@codesourcery.com>
6363
6364 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6365 instead of checking whether the target board is remote and
6366 use spawn_wait_for_attach instead of exec/sleep.
6367 * gdb.base/attach-twice.exp: Likewise.
6368
bafffb51
JB
63692015-01-15 Joel Brobecker <brobecker@adacore.com>
6370
6371 * gdb.ada/var_arr_attrs: New testcase.
6372
5589af0e
PA
63732015-01-14 Pedro Alves <palves@redhat.com>
6374 Joel Brobecker <brobecker@adacore.com>
6375
6376 PR gdb/17525
6377 * gdb.base/bp-cmds-execution-x-script.c: New file.
6378 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6379 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6380
6c400b59
PA
63812015-01-14 Pedro Alves <palves@redhat.com>
6382
6383 PR cli/17828
6384 * gdb.base/batch-preserve-term-settings.c: New file.
6385 * gdb.base/batch-preserve-term-settings.exp: New file.
6386
e02c96a7
DE
63872015-01-13 Doug Evans <dje@google.com>
6388
6389 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6390 binary.
6391
576fd14c
JB
63922015-01-13 Joel Brobecker <brobecker@adacore.com>
6393
6394 * Makefile.in (clean mostlyclean): Do not delete *.py.
6395
04dccad0
JB
63962015-01-13 Joel Brobecker <brobecker@adacore.com>
6397
6398 * gdb.python/py-lookup-type.exp: New file.
6399
3d230f71
PA
64002015-01-12 Pedro Alves <palves@redhat.com>
6401
6402 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6403 restore GDBFLAGS before returning.
6404
7e67715d
JK
64052015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6406
6407 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6408 is_amd64_regs_target and is_x86_like_target.
6409
f2e0d4b4
DE
64102015-01-11 Doug Evans <xdje42@gmail.com>
6411
6412 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6413 is given without an explicit form.
6414 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6415 attributes.
6416 * gdb.dwarf/corrupt.exp: Ditto.
6417 * gdb.dwarf2/enum-type.exp: Ditto.
6418 * gdb.trace/entry-values.exp: Ditto.
6419 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6420
439250fb
DE
64212015-01-11 Doug Evans <xdje42@gmail.com>
6422
6423 PR gdb/15830
6424 * gdb.base/maint.exp: Remove references to "maint demangle".
6425 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6426 Add tests for explicitly specifying language to demangle.
6427 * gdb.dlang/demangle.exp: Ditto.
6428
ede9f622
PA
64292015-01-09 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.threads/non-stop-fair-events.c: New file.
6432 * gdb.threads/non-stop-fair-events.exp: New file.
6433
a7b796db
PA
64342015-01-09 Pedro Alves <palves@redhat.com>
6435
6436 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6437 the global scope. Set a breakpoint after all threads are started
6438 rather than stepping over two source lines. Expect the prompt.
6439 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6440 global.
6441 (NUM): Now 15.
6442 (main): Use threads_started_barrier to wait for all threads to
6443 start. Main thread no longer calls thread_function. Exit after
6444 180 seconds.
6445 (loop): New function.
6446 (thread_function): Wait on threads_started_barrier barrier. Call
6447 'loop' at each iteration.
6448 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6449 threads have started, instead of hardcoding number of "next"
6450 steps. Use an access watchpoint instead of a write watchpoint.
6451
9665ffdd
PA
64522015-01-09 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6455 (thread_func): Wait on barrier.
6456 (main): Wait for all threads to start before stopping GDB.
6457 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6458 global.
6459 (thread1_func, thread2_func): Wait on barrier.
6460 (main): Wait for all threads to start before stopping GDB.
6461 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6462 New global.
6463 (thread1_func, thread2_func): Wait on barrier.
6464 (main): Wait for all threads to start before stopping GDB.
6465
c945a99f
PA
64662015-01-09 Pedro Alves <palves@redhat.com>
6467
6468 * gdb.threads/attach-many-short-lived-threads.c: New file.
6469 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6470
c1a747c1
PA
64712014-01-09 Pedro Alves <palves@redhat.com>
6472
6473 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6474 instead of to thread 2.
6475 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6476 Add barrier around each pthread_create call instead of around all
6477 calls.
6478 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6479 Set a break on thread_function and have the child threads hit it
6480 one at at a time.
6481
60b3033e
PA
64822015-01-09 Pedro Alves <palves@redhat.com>
6483
6484 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6485 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6486 false.
6487 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6488 checking whether the target board is remote.
6489 * gdb.multi/multi-attach.exp: Likewise.
6490 * gdb.python/py-sync-interp.exp: Likewise.
6491 * gdb.server/ext-attach.exp: Likewise.
6492 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6493 tests that need to attach, instead of checking whether the target
6494 board is remote at the top of the file.
6495
acc018ac
YQ
64962015-01-08 Yao Qi <yao@codesourcery.com>
6497
6498 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6499
50a18af8
JK
65002015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6501
6502 Fix testcase compilation.
6503 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6504
8503d6e1
JB
65052015-01-06 Joel Brobecker <brobecker@adacore.com>
6506
6507 * gdb.python/py-type.exp: Add a couple test about empty
6508 array creation, and negative-length array creation.
6509
cc73dbcc
DE
65102015-01-02 Doug Evans <xdje42@gmail.com>
6511
6512 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6513
0300bbc7
DE
65142015-01-02 Doug Evans <dje@google.com>
6515
6516 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6517
9d85a0ec
YQ
65182014-12-29 Yao Qi <yao@codesourcery.com>
6519
6520 * gdb.trace/entry-values.exp: Update comments. Rename variable
6521 bar_call_foo to returned_from_foo.
6522
87186c6a
MMN
65232014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6524
6525 PR gdb/17394
6526 * gdb.linespec/break-asm-file.c: New file.
6527 * gdb.linespec/break-asm-file.exp: New file.
6528 * gdb.linespec/break-asm-file0.s: New file.
6529 * gdb.linespec/break-asm-file1.s: New file.
6530
1bab7383
YQ
65312014-12-18 Nigel Stephens <nigel@mips.com>
6532 Maciej W. Rozycki <macro@codesourcery.com>
6533
6534 * gdb.base/float.exp: Handle the new output from "info float" on
6535 MIPS targets.
6536
1bc1068a
JK
65372014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6538
6539 Fix MinGW compilation.
6540 * gdb.compile/compile-ops.exp: Update untested message if
6541 !skip_compile_feature_tests.
6542 * gdb.compile/compile-setjmp.exp: Likewise.
6543 * gdb.compile/compile-tls.exp: Likewise.
6544 * gdb.compile/compile.exp: Likewise.
6545 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6546 supported on this host".
6547
b6615d10
DE
65482014-12-16 Doug Evans <xdje42@gmail.com>
6549
6550 * boards/stabs.exp: New file.
6551
25dda427
AA
65522014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6553
6554 * gdb.base/completion.exp: Adjust to format changes of "maint
6555 print user-registers".
6556
bf330350
CU
65572014-12-16 Catalin Udma <catalin.udma@freescale.com>
6558
6559 PR server/17457
6560 * gdb.arch/aarch64-fp.c: New file.
6561 * gdb.arch/aarch64-fp.exp: New file.
6562
395cf596
SDJ
65632014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6564
6565 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6566 r210637, r210913, r211666, r215400, r215817).
6567
6568 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6569 * dg-extract-results.py: New file.
6570 * dg-extract-results.sh: Use it if the environment seems
6571 suitable.
6572
6573 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6574
6575 * dg-extract-results.py (parse_run): Handle warnings that
6576 are printed before a test harness is run.
6577
6578 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6579
6580 * dg-extract-results.py (Named): Remove __cmp__ method.
6581 (output_variation): Use a key to sort variation.harnesses.
6582
6583 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6584
6585 * dg-extract-results.py: For Python 3, force sys.stdout to
6586 handle surrogate escape sequences.
6587 (safe_open): New function.
6588 (output_segment, main): Use it.
6589
6590 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6591
6592 * dg-extract-results.py (Prog.result_re): Include options
6593 in test name.
6594
6595 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6596
6597 * dg-extract-results.py (output_variation): Always sort if
6598 do_sum.
6599
e882ef3c
SM
66002014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6601
6602 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6603 as long as we get pagination notifications.
6604
4992aa20
JM
66052014-12-15 Jason Merrill <jason@redhat.com>
6606
6607 * Makefile.in (check-gdb.%): Restore.
6608 * README: Mention it.
6609
c1b5a1a6
JB
66102014-12-13 Joel Brobecker <brobecker@adacore.com>
6611
6612 * gdb.ada/str_uninit: New testcase.
6613
5537b577
JK
66142014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6615
6616 PR symtab/17642
6617 * gdb.base/vla-stub-define.c: New file.
6618 * gdb.base/vla-stub.c: New file.
6619 * gdb.base/vla-stub.exp: New file.
6620
bb2ec1b3
TT
66212014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6622 Jan Kratochvil <jan.kratochvil@redhat.com>
6623 Tom Tromey <tromey@redhat.com>
6624
6625 * configure.ac: Add gdb.compile/.
6626 * configure: Regenerate.
6627 * gdb.compile/Makefile.in: New file.
6628 * gdb.compile/compile-ops.exp: New file.
6629 * gdb.compile/compile-ops.c: New file.
6630 * gdb.compile/compile-tls.c: New file.
6631 * gdb.compile/compile-tls.exp: New file.
6632 * gdb.compile/compile-constvar.S: New file.
6633 * gdb.compile/compile-constvar.c: New file.
6634 * gdb.compile/compile-mod.c: New file.
6635 * gdb.compile/compile-nodebug.c: New file.
6636 * gdb.compile/compile-setjmp-mod.c: New file.
6637 * gdb.compile/compile-setjmp.c: New file.
6638 * gdb.compile/compile-setjmp.exp: New file.
6639 * gdb.compile/compile-shlib.c: New file.
6640 * gdb.compile/compile.c: New file.
6641 * gdb.compile/compile.exp: New file.
6642 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6643
4ff709eb
TT
66442014-12-12 Tom Tromey <tromey@redhat.com>
6645
6646 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6647 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6648
6dddd6a5
DE
66492014-12-12 Doug Evans <dje@google.com>
6650
6651 * lib/gdb-python.exp (get_python_valueof): New function.
6652 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6653
71c24708
AA
66542014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6655
6656 * gdb.base/completion.exp: Add test for completion of "info
6657 registers ".
6658
3e29f34a
MR
66592014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6660
6661 * gdb.base/func-ptrs.c: New file.
6662 * gdb.base/func-ptrs.exp: New file.
6663
fc126975
SM
66642014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6665
6666 PR breakpoints/17012
6667 * gdb.base/dprintf-detach.c: New file.
6668 * gdb.base/dprintf-detach.exp: New file.
6669
0a46d518
SM
66702014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6671
6672 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6673 * lib/gdb.exp (target_is_gdbserver): New procedure.
6674
a0be3e44
DE
66752014-12-08 Doug Evans <dje@google.com>
6676
6677 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6678
df1b803a
YQ
66792014-12-05 Yao Qi <yao@codesourcery.com>
6680
6681 * gdb.guile/scm-error.exp: Remove the third argument to
6682 gdb_remote_download.
6683 * gdb.guile/scm-frame-args.exp: Likewise.
6684 * gdb.guile/scm-section-script.exp: Likewise.
6685
ddb9f679
YQ
66862014-12-05 Yao Qi <yao@codesourcery.com>
6687
6688 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6689
86e4ed39
DE
66902014-12-04 Doug Evans <dje@google.com>
6691
6692 * gdb.python/py-objfile.exp: Add tests for
6693 objfile.add_separate_debug_file.
6694
7c50a931
DE
66952014-12-04 Doug Evans <dje@google.com>
6696
6697 * lib/gdb.exp (get_build_id): New function.
6698 (build_id_debug_filename_get): Rewrite to use it.
6699 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6700
621661e3
MR
67012014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6702
6703 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6704 `method(long)', not just 0x0.
6705 * gdb.cp/nsalias.exp: Align code labels to 4.
6706 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6707 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6708 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6709 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6710 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6711 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6712
29f0c3b7
DE
67132014-12-02 Doug Evans <dje@google.com>
6714
e1e061e7 6715 PR symtab/17602
29f0c3b7 6716 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 6717 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
6718 * gdb.cp/anon-ns.exp: Update.
6719
162078c8
NB
67202014-12-02 Nick Bull <nicholaspbull@gmail.com>
6721
6722 * gdb.python/py-events.py (inferior_call_handler): New.
6723 (register_changed_handler, memory_changed_handler): New.
6724 (test_events.invoke): Register new handlers.
6725 * gdb.python/py-events.exp: Add tests for inferior call,
6726 memory_changed and register_changed events.
6727
fdb09caf
AA
67282014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6729
6730 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6731 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6732 if the linker doesn't understand this.
6733
55cfb2c4
SM
67342014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6735
6736 * gdb.python/python.exp: Change expected reply to help().
6737
9e8cd6df
YQ
67382014-12-01 Yao Qi <yao@codesourcery.com>
6739
6740 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6741 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6742 * configure: Re-generated.
6743
6c659fc2
SC
67442014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6745
6746 * gdb.cp/chained-calls.cc: New file.
6747 * gdb.cp/chained-calls.exp: New file.
6748 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6749
d7fc3181
SM
67502014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6751
6752 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6753 * gdb.dwarf2/symtab-producer.exp: Same.
6754 * gdb.gdb/python-interrupts.exp: Same.
6755 * gdb.gdb/python-selftest.exp: Same.
6756 * gdb.python/py-linetable.exp: Same.
6757 * gdb.python/py-type.exp: Same.
6758 * gdb.python/py-value-cc.exp: Same.
6759 * gdb.python/py-value.exp: Same.
6760
10e79639
YQ
67612014-11-28 Yao Qi <yao@codesourcery.com>
6762
6763 * gdb.base/break-probes.exp: Match library name prefixed with
6764 sysroot.
6765
f28a0564
SM
67662014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6767
6768 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6769 test expected output. Add parentheses for the call to print.
6770 Remove L suffix from integers.
6771
3fe1ce1d
DE
67722014-11-26 Doug Evans <dje@google.com>
6773
6774 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6775
84429e27
YQ
67762014-11-22 Yao Qi <yao@codesourcery.com>
6777
6778 * gdb.trace/entry-values.c: Remove asms.
6779 (foo): Add foo_label.
6780 (bar): Add bar_label.
6781 * gdb.trace/entry-values.exp: Remove code computing foo's
6782 length and bar's length.
6783 (Dwarf::assemble): Invoke function_range for bar and use
6784 MACRO_AT_func for foo.
6785
26741859
YQ
67862014-11-22 Yao Qi <yao@codesourcery.com>
6787
6788 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6789 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6790 Use .Lgcc43_procstart instead of gcc43.
6791
45e44d27
JB
67922014-11-21 Joel Brobecker <brobecker@adacore.com>
6793
6794 * gdb.ada/n_arr_bound: New testcase.
6795
458c8db8
SDJ
67962014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6797
6798 PR breakpoints/10737
6799 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6800 test_catch_syscall_multi_arch.
6801 (test_catch_syscall_multi_arch): New function.
6802
43f3e411
DE
68032014-11-20 Doug Evans <xdje42@gmail.com>
6804
6805 * gdb.base/maint.exp: Update expected output.
6806
0d7b2549
AA
68072014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6808
6809 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6810 4-byte instruction on S390.
6811
8908fca5
JB
68122014-11-19 Joel Brobecker <brobecker@adacore.com>
6813
6814 * gdb.ada/arr_arr: New testcase.
6815
4a46959e
JB
68162014-11-19 Joel Brobecker <brobecker@adacore.com>
6817
6818 * gdb.ada/pkd_arr_elem: New Testcase.
6819
470e2f4e
LM
68202014-11-18 Luis Machado <lgustavo@codesourcery.com>
6821
6822 * gdb.reverse/break-precsave: Expect completion message for
6823 core file reads.
6824 * gdb.reverse/consecutive-precsave.exp: Likewise.
6825 * gdb.reverse/finish-precsave.exp: Likewise.
6826 * gdb.reverse/i386-precsave.exp: Likewise.
6827 * gdb.reverse/machinestate-precsave.exp: Likewise.
6828 * gdb.reverse/sigall-precsave.exp: Likewise.
6829 * gdb.reverse/solib-precsave.exp: Likewise.
6830 * gdb.reverse/step-precsave.exp: Likewise.
6831 * gdb.reverse/until-precsave.exp: Likewise.
6832 * gdb.reverse/watch-precsave.exp: Likewise.
6833
a267f3ad
AA
68342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6835
6836 * gdb.base/bp-permanent.c: Include unistd.h.
6837 * gdb.python/py-framefilter-mi.c (main): Add return type.
6838 * gdb.python/py-framefilter.c (main): Likewise.
6839 * gdb.trace/actions-changed.c (main): Likewise.
6840
12084a9a
AA
68412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6842
6843 * gdb.mi/until.c: Add eye-catchers.
6844 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6845 line numbers.
6846
dc7e1a77
AA
68472014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6848
6849 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6850 function header variants in break1.c.
6851 * gdb.base/ena-dis-br.exp: Likewise.
6852 * gdb.base/hbreak2.exp: Likewise.
6853 * gdb.reverse/until-precsave.exp: Drop references to removed
6854 non-prototype function header variants in ur1.c.
6855 * gdb.reverse/until-reverse.exp: Likewise.
6856
41c77605
PM
68572014-11-17 Petr Machata <pmachata@redhat.com>
6858
6859 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6860 ${_cu_offset_size} bytes abbrev offset.
6861
34248c3a
DE
68622014-11-15 Doug Evans <xdje42@gmail.com>
6863
6864 PR symtab/17559
6865 * gdb.base/line-symtabs.exp: New file.
6866 * gdb.base/line-symtabs.c: New file.
6867 * gdb.base/line-symtabs.h: New file.
6868
646da059
YQ
68692014-11-14 Yao Qi <yao@codesourcery.com>
6870
6871 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6872 (func): Add label func_label.
6873 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6874 Replace low_pc and high_pc with MACRO_AT_range.
6875 Replace name, low_pc and high_pc with MACRO_AT_func.
6876
9301ebe6
YQ
68772014-11-14 Yao Qi <yao@codesourcery.com>
6878
6879 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6880 Replace name, low_pc and high_pc with MACRO_AT_func.
6881
f166b542
YQ
68822014-11-14 Yao Qi <yao@codesourcery.com>
6883
6884 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6885 produce debug information.
6886 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6887
0f6e71e3
YQ
68882014-11-14 Yao Qi <yao@codesourcery.com>
6889
6890 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6891 object and get function length.
6892 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6893 with MACRO_AT_func.
6894 (top-level): Replace gdb_compile and clean_restart with
6895 prepare_for_testing.
6896 * gdb.dwarf2/main.c (main): Add label main_label.
6897
876c4df9
YQ
68982014-11-14 Yao Qi <yao@codesourcery.com>
6899
6900 * lib/dwarf.exp (function_range): New procedure.
6901 (Dwarf::_handle_macro_at_func): New procedure.
6902 (Dwarf::_handle_macro_at_range): New procedure.
6903 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6904
02ad9cf1
YQ
69052014-11-14 Yao Qi <yao@codesourcery.com>
6906
6907 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6908 (_handle_attribute): New procedure.
6909
a59add0c
AA
69102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6911
6912 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6913 * gdb.base/call-sc.c (zed): Likewise.
6914 * gdb.base/checkpoint.c (main): Likewise.
6915 * gdb.base/dump.c (main): Likewise.
6916 * gdb.base/gcore.c (main): Likewise.
6917 * gdb.base/huge.c (main): Likewise.
6918 * gdb.base/multi-forks.c (main): Likewise.
6919 * gdb.base/pr10179-a.c (main): Likewise.
6920 * gdb.base/savedregs.c (main): Likewise.
6921 * gdb.base/sigaltstack.c (main): Likewise.
6922 * gdb.base/siginfo.c (main): Likewise.
6923 * gdb.base/structs.c (zed): Likewise.
6924 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6925 * gdb.mi/mi-syn-frame.c (main): Likewise.
6926 * gdb.mi/until.c (foo, main): Likewise.
6927 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6928 * gdb.base/solib-weak.c (foo): Declare.
6929 * gdb.base/attach-twice.c: Include stdio.h.
6930 * gdb.base/weaklib1.c: Likewise.
6931 * gdb.base/weaklib2.c: Likewise.
6932 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6933 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6934 unistd.h.
6935 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6936 * gdb.mi/mi-exit-code.c: Likewise.
6937 * gdb.base/break-interp-lib.c: Include string.h.
6938 * gdb.base/coremaker.c: Likewise.
6939 * gdb.base/testenv.c: Likewise.
6940 * gdb.python/py-finish-breakpoint.c: Likewise.
6941 * gdb.base/inferior-died.c: Include sys/wait.h.
6942 * gdb.base/fileio.c: Include time.h.
6943 * gdb.base/async-shell.c: Include unistd.h.
6944 * gdb.base/dprintf-non-stop.c: Likewise.
6945 * gdb.base/info-os.c: Likewise.
6946 * gdb.mi/mi-console.c: Likewise.
6947 * gdb.mi/watch-nonstop.c: Likewise.
6948 * gdb.python/py-events.c: Likewise.
6949 * gdb.base/async.c (baz): Move up before its invocation.
6950 * gdb.base/code_elim2.c (my_global_func): Likewise.
6951 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6952 * gdb.base/advance.c (func2): Likewise.
6953
3b5d5997
AA
69542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6955
6956 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6957 variant.
6958 * gdb.base/annota3.c: Likewise.
6959 * gdb.base/async.c: Likewise.
6960 * gdb.base/average.c: Likewise.
6961 * gdb.base/call-ar-st.c: Likewise.
6962 * gdb.base/call-rt-st.c: Likewise.
6963 * gdb.base/call-sc.c: Likewise.
6964 * gdb.base/call-strs.c: Likewise.
6965 * gdb.base/ending-run.c: Likewise.
6966 * gdb.base/execd-prog.c: Likewise.
6967 * gdb.base/exprs.c: Likewise.
6968 * gdb.base/foll-exec.c: Likewise.
6969 * gdb.base/foll-fork.c: Likewise.
6970 * gdb.base/foll-vfork.c: Likewise.
6971 * gdb.base/funcargs.c: Likewise.
6972 * gdb.base/gcore.c: Likewise.
6973 * gdb.base/jump.c: Likewise.
6974 * gdb.base/langs0.c: Likewise.
6975 * gdb.base/langs1.c: Likewise.
6976 * gdb.base/langs2.c: Likewise.
6977 * gdb.base/mips_pro.c: Likewise.
6978 * gdb.base/nodebug.c: Likewise.
6979 * gdb.base/opaque0.c: Likewise.
6980 * gdb.base/opaque1.c: Likewise.
6981 * gdb.base/recurse.c: Likewise.
6982 * gdb.base/run.c: Likewise.
6983 * gdb.base/scope0.c: Likewise.
6984 * gdb.base/scope1.c: Likewise.
6985 * gdb.base/setshow.c: Likewise.
6986 * gdb.base/setvar.c: Likewise.
6987 * gdb.base/shmain.c: Likewise.
6988 * gdb.base/shr1.c: Likewise.
6989 * gdb.base/shr2.c: Likewise.
6990 * gdb.base/sigall.c: Likewise.
6991 * gdb.base/signals.c: Likewise.
6992 * gdb.base/so-indr-cl.c: Likewise.
6993 * gdb.base/solib2.c: Likewise.
6994 * gdb.base/structs.c: Likewise.
6995 * gdb.base/sum.c: Likewise.
6996 * gdb.base/vforked-prog.c: Likewise.
6997 * gdb.base/watchpoint.c: Likewise.
6998 * gdb.reverse/shr2.c: Likewise.
6999 * gdb.reverse/until-reverse.c: Likewise.
7000 * gdb.reverse/ur1.c: Likewise.
7001 * gdb.reverse/watch-reverse.c: Likewise.
7002
066a77c5
AA
70032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7004
7005 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7006 variant.
7007 * gdb.base/sepdebug.exp: Drop references to removed code.
7008
4f204ea5
AA
70092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7010
7011 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7012 variant. Preserve original line numbering.
7013 * gdb.base/list1.c: Likewise.
7014
3b377a3a
AA
70152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7016
7017 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7018 variant.
7019 * gdb.base/break1.c: Likewise.
7020 * gdb.base/break.exp: Drop references to removed code.
7021
e444df73
AA
70222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7023
7024 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7025 variant.
7026
8008f2a7
AA
70272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7028
7029 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7030
a5a06887
AA
70312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7032
7033 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7034 logic into perform_all_tests() and invoke it with and without
7035 function header prototypes.
7036 (do_function_calls): Remove conditional XFAIL for PR 5318.
7037 (rerun_and_prepare): Remove duplicate code.
7038 (perform_all_tests): New. Main logic moved here.
7039
44dba9b9
AA
70402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7041
7042 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7043 code guarded by #ifdef NO_PROTOTYPES.
7044 (t_double_many_args): Likewise.
7045 (DEF_FUNC_MANY_ARGS_1): Likewise.
7046 (DEF_FUNC_VALUES_1): Likewise.
7047 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7048 guarded by #ifdef PROTOTYPES.
7049
d1fbcd56
AA
70502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7051
7052 * gdb.mi/mi-console.c: Add eye-catcher.
7053 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7054 instead of literal line number.
7055
b0e59b8f
AA
70562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7057
7058 * gdb.base/shr2.c: Add eye-catcher.
7059 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7060 line number.
7061
78f98cca
AA
70622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7063
7064 * gdb.base/jump.c: Add eye-catchers.
7065 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7066 numbers.
7067
58fa2af0
AA
70682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7069
7070 * gdb.base/execd-prog.c: Add eye-catchers.
7071 * gdb.base/foll-exec.c: Likewise.
7072 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7073 line numbers.
7074
04e5059b
AA
70752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7076
7077 * gdb.base/ending-run.c: Add eye-catchers.
7078 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7079 literal line numbers.
7080
dbfdb174
AA
70812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7082
7083 * gdb.base/call-rt-st.c: Add eye-catchers.
7084 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7085 literal line numbers.
7086
888a2ade
AA
70872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7088
7089 * gdb.base/call-ar-st.c: Add eye-catchers.
7090 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7091 literal line numbers.
7092
6acc2dde
AA
70932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7094
7095 * gdb.base/average.c: Add eye-catchers.
7096 * gdb.base/sum.c: Likewise.
7097 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7098 regexps dynamically.
7099
9ecfcd1d
AA
71002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7101
7102 * gdb.base/solib1.c: Add eye-catchers.
7103 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7104 literal line numbers.
7105
78708b7c
PA
71062014-11-12 Pedro Alves <palves@redhat.com>
7107
7108 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7109 leader has exited.
7110
af48d08f
PA
71112014-11-12 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.arch/i386-bp_permanent.c: New file.
7114 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7115 (srcfile): Set to i386-bp_permanent.c.
7116 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7117 that stepi does not execute the 'leave' instruction, instead of
7118 testing it does execute.
7119 * gdb.base/bp-permanent.c: New file.
7120 * gdb.base/bp-permanent.exp: New file.
7121
af3768e9
DE
71222014-11-10 Doug Evans <xdje42@gmail.com>
7123
7124 PR symtab/17564
7125 * gdb.base/symtab-search-order.exp: New file.
7126 * gdb.base/symtab-search-order.c: New file.
7127 * gdb.base/symtab-search-order-1.c: New file.
7128 * gdb.base/symtab-search-order-shlib-1.c: New file.
7129
9de00a4a
PA
71302014-11-07 Pedro Alves <palves@redhat.com>
7131
7132 PR gdb/17511
7133 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7134 i?86-*-linux*.
7135
e0f52461
SC
71362014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7137
7138 PR c++/17494
7139 * gdb.cp/pr17494.cc: New file.
7140 * gdb.cp/pr17494.exp: New file.
7141
6ce8c980
YQ
71422014-11-02 Yao Qi <yao@codesourcery.com>
7143
7144 * gdb.python/python.exp: Get working directory and match the
7145 output of "set extended-prompt \\w " with it.
7146
02be9a71
DE
71472014-10-30 Doug Evans <dje@google.com>
7148
7149 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7150 in objfiles.
7151 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7152 in progspaces.
7153
3bdff46b
LM
71542014-10-30 Janis Johnson <janisjo@codesourcery.com>
7155
7156 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7157 * gdb.base/realname-expand.exp: Likewise.
7158 * gdb.linespec/macro-relative.exp: Likewise.
7159
ab917dfb
PA
71602014-10-29 Pedro Alves <palves@redhat.com>
7161
7162 PR gdb/17408
7163 * gdb.threads/schedlock.c (some_function): New function.
7164 (call_function): New global.
7165 (MAYBE_CALL_SOME_FUNCTION): New macro.
7166 (thread_function): Call it.
7167 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7168 and use it instead of a global counter. Adjust all callers.
7169 (get_current_thread): Use "find current thread" for test message
7170 here rather than having all callers pass down the same string.
7171 (goto_loop): New procedure, factored out from ...
7172 (my_continue): ... this.
7173 (step_ten_loops): Change parameter from test message to command to
7174 use. Adjust.
7175 (list_count): Delete global.
7176 (check_result): New procedure, factored out from duplicate top
7177 level code.
7178 (continue tests): Wrap in with_test_prefix.
7179 (test_step): New procedure, factored out from duplicate top level
7180 code.
7181 (top level): Test "step" in combination with all scheduler-locking
7182 modes. Test "next" in combination with all scheduler-locking
7183 modes, and in combination with stepping over a function call or
7184 not.
7185 * gdb.threads/next-bp-other-thread.c: New file.
7186 * gdb.threads/next-bp-other-thread.exp: New file.
7187
d3d4baed
PA
71882014-10-29 Pedro Alves <palves@redhat.com>
7189
7190 PR python/17372
7191 * gdb.python/python.exp: Test a multi-line command that spawns
7192 interactive Python.
7193 * gdb.base/multi-line-starts-subshell.exp: New file.
7194
563e8d85
YQ
71952014-10-29 Yao Qi <yao@codesourcery.com>
7196
7197 * gdb.base/fileio.exp: Make directories on host.
7198
0ea4d52e
YQ
71992014-10-29 Yao Qi <yao@codesourcery.com>
7200
7201 * gdb.base/fileio.c (test_write): Close the file.
7202
7f5ef605
PA
72032014-10-28 Pedro Alves <palves@redhat.com>
7204
7205 PR gdb/12623
7206 * gdb.base/sigstep.c (no_handler): New global.
7207 (main): If 'no_handler is true, set the signal handlers to
7208 SIG_IGN.
7209 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7210 with_sw_watch and no_handler parameters. Handle them.
7211 (top level) <stepping over handler when stopped at a breakpoint
7212 test>: Add a test axis for testing with a software watchpoint, and
7213 another for testing with the signal handler set to SIG_IGN.
7214 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7215 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7216
abbdbd03
PA
72172014-10-28 Pedro Alves <palves@redhat.com>
7218
7219 PR gdb/17511
7220 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7221 * gdb.base/sigstep.exp (other_handler_location): New global.
7222 (advance): Support stepping into the signal handler, and running
7223 commands while in the handler.
7224 (in_handler_map): New global.
7225 (top level): In the advance test, add combinations for getting
7226 into the handler with stepping commands, and for running commands
7227 in the handler. Add comment descripting the advancei tests.
7228
1df4399f
PA
72292014-10-28 Pedro Alves <palves@redhat.com>
7230
7231 * gdb.base/sigstep.exp: Use build_executable instead of
7232 prepare_for_testing.
7233 (top level): Move code that starts GDB, runs to main and creates a
7234 display to ...
7235 (restart): ... this new procedure.
7236 (top level): Move backtrace from signal handler test to ...
7237 (validate_backtrace): ... this new procedure.
7238 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7239 with_test_prefix. Always restart GDB.
7240 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7241 with_test_prefix. Always restart GDB. No need to delete
7242 breakpoints after the test.
7243 (test_skip_handler): Remove prefix parameter.
7244 (skip_over_handler, breakpoint_to_handler)
7245 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7246 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7247 restart GDB. No need to delete breakpoints after the test.
7248 (top level): Use foreach to call the test procedures with
7249 different commands.
7250
a5b6e449
PA
72512014-10-28 Pedro Alves <palves@redhat.com>
7252
7253 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7254 instead of GNATS numbers.
7255 * gdb.base/sigbpt.exp: Likewise.
7256 * gdb.base/siginfo.exp: Likewise.
7257 * gdb.base/sigstep.exp: Likewise.
7258
e5f8a7cc
PA
72592014-10-27 Pedro Alves <palves@redhat.com>
7260
7261 * gdb.base/sigstep.c (dummy): New global.
7262 (main): Issue a couple writes to the new global.
7263 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7264 procedures.
7265 (skip_over_handler): Use test_skip_handler.
7266 (top level): Call skip_over_handler for stepi and nexti too.
7267 (breakpoint_over_handler): Use test_skip_handler.
7268 (top level): Call breakpoint_over_handler for stepi and nexti too.
7269
763905a3
YQ
72702014-10-27 Yao Qi <yao@codesourcery.com>
7271
7272 * gdb.trace/tfile.c (adjust_function_address)
7273 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7274 function descriptor.
7275
6f259a23
DB
72762014-10-24 Don Breazeal <donb@codesourcery.com>
7277
7278 * gdb.base/foll-fork.exp (test_follow_fork,
7279 catch_fork_child_follow): Check for updated fork messages emitted
7280 from infrun.c.
7281 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7282 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7283 vfork_and_exec_child_follow_through_step): Check for updated vfork
7284 messages emitted from infrun.c.
7285
09dd9a69
PA
72862014-10-24 Pedro Alves <palves@redhat.com>
7287
7288 * gdb.base/corefile.exp: Remove references to ultrix.
7289 * gdb.base/interrupt.exp: Likewise.
7290 * gdb.base/whatis.exp: Likewise.
7291 * gdb.gdb/selftest.exp: Likewise.
7292 * gdb.threads/manythreads.exp: Likewise.
7293 * gdb.threads/print-threads.exp: Likewise.
7294 * gdb.threads/pthreads.exp:: Likewise.
7295 * gdb.threads/schedlock.exp: Likewise.
7296
3433cfa5
SC
72972014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7298
7299 * gdb.cp/non-trivial-retval.cc: Add a test case.
7300 * gdb.cp/non-trivial-retval.exp: Add a test.
7301
092f880b
YQ
73022014-10-20 Yao Qi <yao@codesourcery.com>
7303
7304 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7305 * gdb.python/py-objfile-script-gdb.py: New file.
7306 * gdb.python/py-objfile-script.exp: Update reference to
7307 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7308 of remote_download. Remove the dest file.
7309
acbdb7f3
YQ
73102014-10-20 Yao Qi <yao@codesourcery.com>
7311
7312 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7313 * gdb.base/step-line.exp: Likewise.
7314 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7315 * gdb.dwarf2/dw2-basic.exp: Likewise.
7316 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7317 * gdb.dwarf2/dw2-filename.exp: Likewise.
7318 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7319 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7320 * gdb.dwarf2/dw2-producer.exp: Likewise.
7321 * gdb.dwarf2/mac-fileno.exp: Likewise.
7322 * gdb.python/py-frame-args.exp: Likewise.
7323 * gdb.python/py-framefilter.exp: Likewise.
7324 * gdb.python/py-mi.exp: Likewise.
7325 * gdb.python/py-objfile-script.exp: Likewise
7326 * gdb.python/py-pp-integral.exp: Likewise.
7327 * gdb.python/py-pp-re-notag.exp: Likewise.
7328 * gdb.python/py-prettyprint.exp: Likewise.
7329 * gdb.python/py-section-script.exp: Likewise.
7330 * gdb.python/py-typeprint.exp: Likewise.
7331 * gdb.python/py-xmethods.exp: Likewise.
7332 * gdb.stabs/weird.exp: Likewise.
7333 * gdb.xml/tdesc-regs.exp: Likewise.
7334
bd286a29
KCY
73352014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7336
7337 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7338 (out_cu): Use addr_len for the size of addresses.
7339 (out_line): Likewise. Size DW_LNE_set_address instruction
7340 according to addr_len.
7341 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7342 (FUNC): Add START_INSNS to definition.
7343
673dc4a0
YQ
73442014-10-18 Yao Qi <yao@codesourcery.com>
7345
7346 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7347 gdb_has_argv0 return true.
7348 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7349 check [target_info exists noargs], check [gdb_has_argv0]
7350 instead.
7351 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7352 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7353 procedures.
7354
4ffbba72
DE
73552014-10-17 Doug Evans <dje@google.com>
7356
7357 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7358 event.
7359 * gdb.python/py-events.py: Add clear_objfiles event.
7360
d096d8c1
DE
73612014-10-17 Doug Evans <dje@google.com>
7362
7363 * gdb.python/py-objfile.exp: Test progspace attribute.
7364
a80db015
LM
73652014-10-17 Luis Machado <lgustavo@codesourcery.com>
7366
7367 * gdb.guile/scm-breakpoint.exp: Do not assume any
7368 directory separators when matching source file paths.
7369 * gdb.python/py-breakpoint.exp: Likewise.
7370 * gdb.reverse/break-precsave.exp: Likewise.
7371 * gdb.reverse/break-reverse.exp: Likewise.
7372 * gdb.reverse/consecutive-precsave.exp: Likewise.
7373 * gdb.reverse/finish-precsave.exp: Likewise.
7374 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7375 * gdb.reverse/finish-reverse.exp: Likewise.
7376 * gdb.reverse/i386-precsave.exp: Likewise.
7377 * gdb.reverse/i387-env-reverse.exp: Likewise.
7378 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7379 * gdb.reverse/machinestate-precsave.exp: Likewise.
7380 * gdb.reverse/machinestate.exp: Likewise.
7381 * gdb.reverse/sigall-precsave.exp: Likewise.
7382 * gdb.reverse/solib-precsave.exp: Likewise.
7383 * gdb.reverse/step-precsave.exp: Likewise.
7384 * gdb.reverse/until-precsave.exp: Likewise.
7385 * gdb.reverse/watch-precsave.exp: Likewise.
7386 * gdb.reverse/watch-reverse.exp: Likewise.
7387
b22089ab
YQ
73882014-10-17 Yao Qi <yao@codesourcery.com>
7389
7390 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7391 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7392
6c4486e6
PA
73932014-10-17 Pedro Alves <palves@redhat.com>
7394
7395 PR gdb/17471
7396 * gdb.base/bg-execution-repeat.c: New file.
7397 * gdb.base/bg-execution-repeat.exp: New file.
7398
0ff33695
PA
73992014-10-17 Pedro Alves <palves@redhat.com>
7400
7401 PR gdb/17300
7402 * gdb.base/continue-all-already-running.c: New file.
7403 * gdb.base/continue-all-already-running.exp: New file.
7404
6fdebc3d
PA
74052014-10-17 Pedro Alves <palves@redhat.com>
7406
7407 PR gdb/17472
7408 * gdb.base/annota-input-while-running.c: New file.
7409 * gdb.base/annota-input-while-running.exp: New file.
7410
32a8097b
PA
74112014-10-17 Pedro Alves <palves@redhat.com>
7412
7413 * gdb.base/callfuncs.exp: emove references to osf.
7414 * gdb.base/sigall.exp: Likewise.
7415 * gdb.gdb/selftest.exp: Likewise.
7416 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7417 * gdb.mi/non-stop.c: Likewise.
7418 * gdb.mi/pthreads.c: Likewise.
7419 * gdb.reverse/sigall-precsave.exp: Likewise.
7420 * gdb.reverse/sigall-reverse.exp: Likewise.
7421 * gdb.threads/pthreads.c: Likewise.
7422 * gdb.threads/pthreads.exp: Likewise.
7423
7a3517ff
YQ
74242014-10-17 Yao Qi <yao@codesourcery.com>
7425
7426 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7427 check 'target_info exists noargs'.
7428 (test_command_prompt_position): Likewise.
7429 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7430 Remove "set args".
7431 (progvar_simple_while_test): Likewise.
7432 (progvar_complex_if_while_test): Likewise.
7433 (if_while_breakpoint_command_test): Likewise.
7434 (infrun_breakpoint_command_test): Likewise.
7435 (breakpoint_command_test): Likewise.
7436 (watchpoint_command_test): Likewise.
7437 (bp_deleted_in_command_test): Likewise.
7438 (temporary_breakpoint_commands): Likewise.
7439
bb99c472
YQ
74402014-10-16 Yao Qi <yao@codesourcery.com>
7441
7442 * gdb.base/remotetimeout.exp: Remove noargs checking.
7443
7c16b83e
PA
74442014-10-15 Pedro Alves <palves@redhat.com>
7445
7446 PR breakpoints/9649
7447 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7448 * gdb.base/breakpoint-in-ro-region.exp
7449 (probe_target_hardware_step): New procedure.
7450 (top level): Probe hardware stepping and hardware breakpoint
7451 support. Test stepping through a read-only region, with both
7452 "breakpoint auto-hw" on and off and both "always-inserted" on and
7453 off.
7454
35a49624
IB
74552014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7456
7457 * gdb.dlang/demangle.exp: Update for demangling changes.
7458
2d1c107c
SC
74592014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7460
7461 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7462 * gdb.cp/non-trivial-retval.exp: Add new tests.
7463
778811d5
SC
74642014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7465
7466 PR c++/13403
7467 PR c++/15154
7468 * gdb.cp/non-trivial-retval.cc: New file.
7469 * gdb.cp/non-trivial-retval.exp: New file.
7470
10c5f0a8
YQ
74712014-10-15 Yao Qi <yao@codesourcery.com>
7472
7473 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7474 remote host.
7475
65d7b369
YQ
74762014-10-15 Yao Qi <yao@codesourcery.com>
7477
7478 * gdb.python/py-symbol.exp: Match file base name if host is
7479 remote, otherwise match file name with dir name.
7480 * gdb.python/py-symtab.exp: Likewise.
7481 * gdb.python/python.exp: Likewise.
7482
46dc1394
YQ
74832014-10-15 Yao Qi <yao@codesourcery.com>
7484
7485 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7486 pattern.
7487 * gdb.python/py-symtab.exp: Likewise.
7488 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7489 locationn.
7490
c40cc657
JB
74912014-10-14 Joel Brobecker <brobecker@adacore.com>
7492
7493 * gdb.ada/addr_arith: New testcase.
7494
2abf49e1
MR
74952014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7496
7497 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7498 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7499 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7500 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7501
f7088df3
SDJ
75022014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7503
7504 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7505 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7506 * gdb.arch/stap-eval-lang-ada.exp: New file.
7507
4dc06805
YQ
75082014-10-14 Yao Qi <yao@codesourcery.com>
7509
7510 * gdb.mi/mi-var-child.c (nothing1): New function.
7511 (nothing2): New function.
7512 (do_children_tests): Set function pointers by nothing1 and
7513 nothing2.
7514 * gdb.mi/mi-var-child.exp: Step over new added statements.
7515 Update test to match the new output.
7516 * gdb.mi/var-cmd.c (nothing1): New function.
7517 (nothing2): New function.
7518 (do_children_tests): Set function pointers by nothing1 and
7519 nothing2.
7520 * gdb.mi/mi-var-display.exp: Update test to match output.
7521 Step to the line specified by $line_dct_nothing.
7522 Increase the number of lines to step.
7523
46a93de2
YQ
75242014-10-14 Yao Qi <yao@codesourcery.com>
7525
7526 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7527 tests.
7528 * gdb.mi/mi2-var-child.exp: Likewise.
7529
14ea52ee
DE
75302014-10-13 Doug Evans <dje@google.com>
7531
7532 * gdb.python/py-objfile.exp: Change name of file name test.
7533
e5c6e92b
DE
75342014-10-13 Doug Evans <dje@google.com>
7535
7536 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7537 from the start of the CU.
7538
c780cc2f
JK
75392014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7540 Yao Qi <yao@codesourcery.com>
7541
7542 Fix "save breakpoints" for "catch" command.
7543 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7544 Remove -nonewline. Match also the added "main" line.
7545
99894e11
JK
75462014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7547
7548 Fix "save breakpoints" for "disable $bpnum" command.
7549 * gdb.base/save-bp.c (main): Add label.
7550 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7551
6e1ac5a3
JK
75522014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7553
7554 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7555
754dd2b0
YQ
75562014-10-11 Yao Qi <yao@codesourcery.com>
7557
7558 * gdb.server/server-kill.exp: Execute command
7559 "set remote trace-status-packet on" before "tstatus".
7560
f90183d7
YQ
75612014-10-11 Yao Qi <yao@codesourcery.com>
7562
7563 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7564 (main): Call getppid.
7565 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7566 and continue to it. Read variable "server_pid".
7567
bf40a607
YQ
75682014-10-11 Yao Qi <yao@codesourcery.com>
7569
7570 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7571
052ca370
YQ
75722014-10-11 Yao Qi <yao@codesourcery.com>
7573
7574 * gdb.threads/thread-find.exp: Don't execute command
7575 "info threads".
7576 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7577 * gdb.threads/linux-dp.exp: Don't check the condition
7578 $threads_created equals to zero.
7579
3831839c
PA
75802014-10-10 Pedro Alves <palves@redhat.com>
7581
7582 * gdb.base/bigcore.exp: Remove references to IRIX.
7583 * gdb.base/funcargs.exp: Likewise.
7584 * gdb.base/interrupt.exp: Likewise.
7585 * gdb.base/mips_pro.exp: Likewise.
7586 * gdb.base/nodebug.exp: Likewise.
7587 * gdb.base/setvar.exp: Likewise.
7588 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7589
8b9a549d
PA
75902014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7591 Pedro Alves <palves@redhat.com>
7592
7593 PR symtab/14466
7594 * gdb.base/vdso-warning.c: New file.
7595 * gdb.base/vdso-warning.exp: New file.
7596
d48ba5e8
DE
75972014-10-02 Doug Evans <dje@google.com>
7598
7599 * gdb.base/structs.c (main): Don't run forever.
7600
2278c276
PA
76012014-10-02 Pedro Alves <palves@redhat.com>
7602
7603 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7604 (top level) <stop threads 1, stop threads 2>: Use it.
7605
b57bacec
PA
76062014-10-02 Pedro Alves <palves@redhat.com>
7607
7608 * gdb.threads/break-while-running.exp (test): Add new
7609 'update_thread_list' argument. Skip "info threads" if false.
7610 (top level): Add new 'update_thread_list' axis.
7611
13fd3ff3
PA
76122014-10-02 Pedro Alves <palves@redhat.com>
7613
7614 PR breakpoints/17431
7615 * gdb.base/execl-update-breakpoints.c: New file.
7616 * gdb.base/execl-update-breakpoints.exp: New file.
7617
0fec99e8
PA
76182014-10-01 Pedro Alves <palves@redhat.com>
7619
7620 * gdb.base/breakpoint-in-ro-region.c: New file.
7621 * gdb.base/breakpoint-in-ro-region.exp: New file.
7622
2ddf4301
SM
76232014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7624
7625 * gdb.mi/mi-exit-code.exp: New file.
7626 * gdb.mi/mi-exit-code.c: New file.
7627
6a5f3f43
YQ
76282014-09-30 Yao Qi <yao@codesourcery.com>
7629
7630 * lib/prelink-support.exp (build_executable_own_libs): Error if
7631 the target isn't native.
7632
345bcc73
YQ
76332014-09-30 Yao Qi <yao@codesourcery.com>
7634
7635 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7636 false.
7637
a25a5a45
PA
76382014-09-22 Pedro Alves <palves@redhat.com>
7639
7640 * gdb.threads/break-while-running.exp: New file.
7641 * gdb.threads/break-while-running.c: New file.
7642
00ba3162
YQ
76432014-09-19 Yao Qi <yao@codesourcery.com>
7644
7645 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7646 Invoke test. Restart GDB with --readnow and invoke test again.
7647
c3b7b696
YQ
76482014-09-19 Yao Qi <yao@codesourcery.com>
7649
7650 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7651 proc set_breakpoint_on_gcd_function. Invoke
7652 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7653 invoke set_breakpoint_on_gcd_function again.
7654
2b4fd423
DE
76552014-09-18 Doug Evans <dje@google.com>
7656
7657 * gdb.dwarf2/symtab-producer.exp: New file.
7658
a5947601
SDJ
76592014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7660
7661 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7662 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7663 * gdb.base/global-var-nested-by-dso.c: Likewise.
7664 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7665
91c19059
SDJ
76662014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7667 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.base/watch-bitfields.exp: Pass string other than test file
7670 name to prepare_for_testing.
7671 (watch): New procedure.
7672 (expect_watchpoint): Use with_test_prefix.
7673 (top level): Factor out tests to ...
7674 (test_watch_location, test_regular_watch): ... these new
7675 procedures, and use with_test_prefix and gdb_continue_to_end.
7676
bb9d5f81
PP
76772014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7678
7679 PR breakpoints/12526
7680 * gdb.base/watch-bitfields.exp: New file.
7681 * gdb.base/watch-bitfields.c: New file.
7682
635856f5
PA
76832014-09-16 Pedro Alves <palves@redhat.com>
7684
7685 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7686 software and hardware addresses, not software address against
7687 itself.
7688
7280ceea
PA
76892014-09-16 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7692 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7693
428b16bd
PA
76942014-09-16 Pedro Alves <palves@redhat.com>
7695
7696 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7697 files.
7698 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7699 "*-*-vxworks*" throughout.
7700 * gdb.base/break.exp: Likewise.
7701 * gdb.base/default.exp: Likewise.
7702 * gdb.base/scope.exp: Likewise.
7703 * gdb.base/sepdebug.exp: Likewise.
7704 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7705 throughout.
7706 * gdb.base/run.c: Likewise.
7707 * gdb.base/sepdebug.c: Likewise.
7708 * gdb.hp/gdb.aCC/run.c: Likewise.
7709 * gdb.reverse/until-reverse.c: Likewise.
7710 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7711
666d413c
YQ
77122014-09-16 Yao Qi <yao@codesourcery.com>
7713
7714 * boards/local-remote-host-native.exp: New file.
7715
57cbd724
DE
77162014-09-14 Doug Evans <xdje42@gmail.com>
7717
7718 * gdb.threads/queue-signal.c (thread_count): New variable.
7719 (thread_count_mutex, thread_count_condvar): New variables.
7720 (incr_thread_count, wait_all_threads_running): New functions.
7721 (main): Wait for all threads to be in their thread functions.
7722
81219e53
DE
77232014-09-13 Doug Evans <xdje42@gmail.com>
7724
7725 * gdb.threads/queue-signal.c: New file.
7726 * gdb.threads/queue-signal.exp: New file.
7727
3714cea7
DE
77282014-09-13 Doug Evans <xdje42@gmail.com>
7729
7730 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7731 be consistent with what default_gdb_init uses.
7732 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7733 the plain text of the prompt. Add some logging printfs.
7734 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7735
fa43b1d7
PA
77362014-09-12 Pedro Alves <palves@redhat.com>
7737
7738 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7739 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7740 * gdb.arch/i386-size-overlap.exp: Likewise.
7741 * gdb.arch/i386-size.exp: Likewise.
7742 * gdb.arch/i386-unwind.exp: Likewise.
7743 * gdb.base/a2-run.exp: Likewise.
7744 * gdb.base/break.exp: Likewise.
7745 * gdb.base/charset.exp: Likewise.
7746 * gdb.base/chng-syms.exp: Likewise.
7747 * gdb.base/commands.exp: Likewise.
7748 * gdb.base/dbx.exp: Likewise.
7749 * gdb.base/find.exp: Likewise.
7750 * gdb.base/funcargs.exp: Likewise.
7751 * gdb.base/jit-simple.exp: Likewise.
7752 * gdb.base/reread.exp: Likewise.
7753 * gdb.base/sepdebug.exp: Likewise.
7754 * gdb.base/step-bt.exp: Likewise.
7755 * gdb.cp/mb-inline.exp: Likewise.
7756 * gdb.cp/mb-templates.exp: Likewise.
7757 * gdb.objc/basicclass.exp: Likewise.
7758 * gdb.threads/killed.exp: Likewise.
7759
9d9bf2df
EBM
77602014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7761
7762 PR tdep/17379
7763 * gdb.arch/powerpc-stackless.S: New file.
7764 * gdb.arch/powerpc-stackless.exp: New file.
7765
1cf2f1b0
JK
77662014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * gdb.base/attach.c: Include unistd.h.
7769 (main): Call alarm. Add label postloop.
7770 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7771 gdb_breakpoint, gdb_continue_to_breakpoint.
7772 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7773
98880d46
PA
77742014-09-11 Pedro Alves <palves@redhat.com>
7775
7776 PR gdb/17347
7777 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7778 * gdb.base/attach.exp (test_command_line_attach_run): New
7779 procedure.
7780 (top level): Call it.
7781
4c92ff2c
PA
77822014-09-11 Pedro Alves <palves@redhat.com>
7783
7784 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7785 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7786 (do_command_attach_tests): Use spawn_wait_for_attach.
7787 * gdb.base/solib-overlap.exp: Likewise.
7788 * gdb.multi/multi-attach.exp: Likewise.
7789 * gdb.python/py-prompt.exp: Likewise.
7790 * gdb.python/py-sync-interp.exp: Likewise.
7791 * gdb.server/ext-attach.exp: Likewise.
7792
3adc1a7d
GKB
77932014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7794
7795 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7796 command in testcase. Simplify testcase.
7797
96334934
JB
77982014-09-10 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7801
eb479039
JB
78022014-09-10 Joel Brobecker <brobecker@adacore.com>
7803
7804 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7805
deede10c
JB
78062014-09-10 Joel Brobecker <brobecker@adacore.com>
7807
7808 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7809
7828a5f5
JB
78102014-09-10 Joel Brobecker <brobecker@adacore.com>
7811
7812 * gdb.dwarf2/dynarr-ptr.c: New file.
7813 * gdb.dwarf2/dynarr-ptr.exp: New file.
7814
33aeebcf
MR
78152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7816
7817 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7818 of 30 rather than hardcoding 120 for a slow test case. Take the
7819 `gdb,timeout' target setting into account for this calculation.
7820 Don't extend the timeout for the test cases that don't need it.
7821
7b415901
MR
78222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7823
7824 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7825 a factor of 2 for a slow test case. Take the `gdb,timeout'
7826 target setting into account for this calculation.
7827 * gdb.reverse/until-precsave.exp: Increase the timeout by
7828 a factor of 15 and 3 respectively rather than adding 120
7829 for a pair of slow test cases. Take the `gdb,timeout'
7830 target setting into account for this calculation.
7831
4a40f85a
MR
78322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7833
7834 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7835 timeout, don't pass one down to gdb_expect.
7836 (gdb_expect): Rework timeout selection.
7837
09635af7
MR
78382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7839
7840 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7841 exception on timeout.
7842 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7843 (gdbserver_start_extended): Catch any `gdbserver_start' error
7844 exceptions.
7845 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7846 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7847 `gdbserver_gdb_load' error exceptions.
7848
2bdd10b7
MR
78492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7850
7851 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7852 120 on waiting for the TCP socket to open.
7853
316935f0
DE
78542014-09-09 Doug Evans <xdje42@gmail.com>
7855
7856 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7857 _caller_matches, _any_caller_is, _any_caller_matches.
7858
83740597
DE
78592014-09-09 Doug Evans <xdje42@gmail.com>
7860
7861 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7862
4c122fc3
YQ
78632014-09-09 Yao Qi <yao@codesourcery.com>
7864
7865 * gdb.mi/mi-var-display.exp: Set print symbol off.
7866
a9f116cb
GKB
78672014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7868
7869 PR gdb/17035
7870 * gdb.base/commands.exp: Add tests to verify user-defined
7871 commands with empty bodies.
7872 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7873 python commands in `show user command`.
7874 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7875 scheme commands in `show user command`.
7876
c75bd3a2
JK
78772014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7878
7879 PR python/17355
7880 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7881 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7882 * gdb.python/py-framefilter-invalidarg.exp: New file.
7883 * gdb.python/py-framefilter-invalidarg.py: New file.
7884
faa42425
DE
78852014-09-06 Doug Evans <xdje42@gmail.com>
7886
7887 PR 15276
7888 * gdb.python/py-caller-is.c: New file.
7889 * gdb.python/py-caller-is.exp: New file.
7890
474ca4f6
SDJ
78912014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7892
7893 PR gdb/17235
7894 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7895 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7896
eb0b0463
SDJ
78972014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7898
7899 PR fortran/17237
7900 * gdb.fortran/print-formatted.exp: New file.
7901 * gdb.fortran/print-formatted.f90: Likewise.
7902
5f3b99cf
SS
79032014-09-03 Sasha Smundak <asmundak@google.com>
7904
7905 * gdb.python/py-frame.exp: Test Frame.read_register.
7906
7d793aa9
SDJ
79072014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7908
7909 PR python/16699
7910 * gdb.python/py-completion.exp: New file.
7911 * gdb.python/py-completion.py: Likewise.
7912
fb0576e9
DE
79132014-08-28 Doug Evans <dje@google.com>
7914
7915 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7916 eax,etc. are live with values set by gdb and thus the compiler can't
7917 use them.
7918 * gdb.arch/i386-pseudo.c (main): Ditto.
7919
ee92b0dd
DE
79202014-08-27 Doug Evans <dje@google.com>
7921
7922 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7923
6649db35
DE
79242014-08-25 Doug Evans <dje@google.com>
7925
7926 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7927 (main): Ditto.
7928
564b7600
DE
79292014-08-25 Doug Evans <dje@google.com>
7930
7931 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7932
3881fb67
YQ
79332014-08-24 Yao Qi <yao@codesourcery.com>
7934
7935 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7936 symbol off.
7937 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7938
a05a36a5
DE
79392014-08-22 Doug Evans <dje@google.com>
7940
7941 PR 17276
7942 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7943 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7944 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7945
7c343b48
YQ
79462014-08-22 Yao Qi <yao@codesourcery.com>
7947
7948 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7949 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7950 * gdb.python/python.exp: Likewise. Use .py file on the host
7951 instead of the build.
7952
22fd09ae
JK
79532014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7954
7955 * gdb.threads/gcore-stale-thread.c: New file.
7956 * gdb.threads/gcore-stale-thread.exp: New file.
7957
a8454a7c
PA
79582014-08-21 Pedro Alves <palves@redhat.com>
7959
7960 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7961 * gdb.base/gcore-relro-pie.exp: Likewise.
7962 * gdb.base/gcore-relro.exp: Likewise.
7963 * gdb.base/gcore.exp: Likewise.
7964 * gdb.base/print-symbol-loading.exp: Likewise.
7965 * gdb.threads/gcore-thread.exp: Likewise.
7966 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7967
2a31c623
PA
79682014-08-20 Pedro Alves <palves@redhat.com>
7969 Jan Kratochvil <jan.kratochvil@redhat.com>
7970
7971 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7972 configure.
7973 (EXPECT): Handle READ1 being set.
7974 (all): Depend on EXTRA_RULES.
7975 (check-read1, expect-read1, read1.so, read1): New rules.
7976 * README (Testsuite Parameters): Document the READ1 make variable.
7977 (Race detection): New section.
7978 * configure: Regenerate.
7979 * configure.ac: If build==host==target, and running under a
7980 GNU/glibc system, add read1 to the extra Makefile rules.
7981 (EXTRA_RULES): AC_SUBST it.
7982 * lib/read1.c: New file.
7983
d36430db
JB
79842014-08-20 Joel Brobecker <brobecker@adacore.com>
7985
7986 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7987 the handling of variables declared as a typedef to an array
7988 which a DW_AT_data_location attribute.
7989
9a0dc9e3
PA
79902014-08-19 Andrew Burgess <aburgess@broadcom.com>
7991 Pedro Alves <palves@redhat.com>
7992
7993 PR symtab/14604
7994 PR symtab/14605
7995 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7996 gdb_test.
7997
0718a8da
PA
79982014-08-19 Pedro Alves <palves@redhat.com>
7999
8000 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8001
13b448cd
YQ
80022014-08-19 Yao Qi <yao@codesourcery.com>
8003
8004 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8005 right line.
8006
1cbf5077
DB
80072014-08-18 David Blaikie <dblaikie@gmail.com>
8008
8009 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8010
bf0fae19
JB
80112014-08-18 Joel Brobecker <brobecker@adacore.com>
8012
8013 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8014 attribute in array range.
8015
3c8c5dcc
JB
80162014-08-18 Joel Brobecker <brobecker@adacore.com>
8017
8018 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8019
e66d4446
SC
80202014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8021
8022 PR c++/17132
8023 * gdb.cp/pr17132.cc: New file.
8024 * gdb.cp/pr17132.exp: New file.
8025
940df408
SC
80262014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8027
8028 * gdb.python/py-xmethods.py (A_getarrayind)
8029 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8030 Use 'print' with function call syntax.
8031 (E_method_matcher.match): Fix tab vs space indentation mixup.
8032
ebcc6c3a
YQ
80332014-08-15 Yao Qi <yao@codesourcery.com>
8034
8035 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8036 false.
8037
775e0f04
YQ
80382014-08-15 Yao Qi <yao@codesourcery.com>
8039
8040 * gdb.cp/casts.exp: Set print symbol off.
8041 * gdb.cp/class2.exp: Likewise.
8042 * gdb.cp/overload.exp: Likewise.
8043 * gdb.cp/templates.exp: Likewise.
8044
d769e349
DE
80452014-08-11 Doug Evans <dje@google.com>
8046
8047 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8048 (test_load_shlib): Update.
8049
20c6f1e1
YQ
80502014-08-09 Yao Qi <yao@codesourcery.com>
8051
8052 * gdb.base/display.exp: Invoke is_address_zero_readable.
8053 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8054 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8055 * gdb.base/hbreak-unmapped.exp: Return if
8056 is_address_zero_readable returns true.
8057 * gdb.base/signest.exp: Likewise.
8058 * gdb.base/signull.exp: Likewise.
8059 * gdb.base/sigbpt.exp: Likewise.
8060 * gdb.guile/scm-disasm.exp: Do the test if
8061 is_address_zero_readable returns false.
8062 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8063 * gdb.python/py-arch.exp: Likewise.
8064 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8065 * lib/gdb.exp (is_address_zero_readable): New proc.
8066
5792e8e3
YQ
80672014-08-09 Yao Qi <yao@codesourcery.com>
8068
8069 PR testsuite/13443
8070 * gdb.mi/mi-var-display.exp: Make test messages unique.
8071
3cecbbbe
TT
80722014-08-04 Tom Tromey <tromey@redhat.com>
8073
8074 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8075 target 0".
8076
00b51ff5
TT
80772014-08-04 Tom Tromey <tromey@redhat.com>
8078
8079 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8080 "target_resume".
8081
6908c509
JB
80822014-08-01 Joel Brobecker <brobecker@adacore.com>
8083
8084 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8085 inner_vla_struct_object_size.
8086 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8087 as xfail.
8088
cc6563d2
PA
80892014-07-30 Pedro Alves <palves@redhat.com>
8090
8091 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8092 comment.
8093
7e09a223
YQ
80942014-07-29 Yao Qi <yao@codesourcery.com>
8095
8096 PR gdb/17206
8097 * gdb.base/until-nodebug.exp: New.
8098
7ebdbe92
DE
80992014-07-28 Doug Evans <xdje42@gmail.com>
8100
8101 PR guile/17203
8102 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8103 previously existing parameter, and previously ambiguously spelled
8104 parameter.
8105
fdb1adc6
WN
81062014-07-28 Will Newton <will.newton@linaro.org>
8107
8108 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8109
186fcde0
DE
81102014-07-26 Ludovic Courtès <ludo@gnu.org>
8111 Doug Evans <xdje42@gmail.com>
8112
8113 PR guile/17146
8114 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8115
70509625
PA
81162014-07-25 Pedro Alves <palves@redhat.com>
8117
8118 * gdb.threads/signal-command-handle-nopass.c: New file.
8119 * gdb.threads/signal-command-handle-nopass.exp: New file.
8120 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8121 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8122 * gdb.threads/signal-delivered-right-thread.c: New file.
8123 * gdb.threads/signal-delivered-right-thread.exp: New file.
8124
c3f814a1
PA
81252014-07-25 Pedro Alves <palves@redhat.com>
8126
8127 * gdb.base/double-prompt-target-event-error.exp
8128 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8129 match.
8130 (cancel_pagination_in_target_event): Rework double prompt
8131 detection.
8132 * gdb.base/paginate-after-ctrl-c-running.exp
8133 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8134 <return>' match.
8135 * gdb.base/paginate-bg-execution.exp
8136 (test_bg_execution_pagination_return)
8137 (test_bg_execution_pagination_cancel): Remove '-notransfer
8138 <return>' matches.
8139 * gdb.base/paginate-execution-startup.exp
8140 (test_fg_execution_pagination_return)
8141 (test_fg_execution_pagination_cancel): Remove '-notransfer
8142 <return>' matches.
8143 * gdb.base/paginate-inferior-exit.exp
8144 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8145 match.
8146 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8147 * lib/gdb.exp (pagination_prompt): Run text through
8148 string_to_regexp.
8149 (gdb_test_multiple): Match $pagination_prompt instead of
8150 "<return>".
8151 (string_to_regexp): Move to lib/gdb-utils.exp.
8152
e214cf6c
JK
81532014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8154
8155 * gdb.arch/amd64-entry-value-paramref.S: New file.
8156 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8157 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8158 * gdb.arch/amd64-optimout-repeat.S: New file.
8159 * gdb.arch/amd64-optimout-repeat.c: New file.
8160 * gdb.arch/amd64-optimout-repeat.exp: New file.
8161
17d0c5c8
JK
81622014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8163
8164 PR gdb/17170
8165 * gdb.base/statistics.exp: New file.
8166
b8b8facf
DE
81672014-07-17 Doug Evans <dje@google.com>
8168
74b49205 8169 PR gdb/17170
b8b8facf
DE
8170 * gdb.base/maint.exp: Update testing of per-command stats.
8171
1b5d0ab3
PA
81722014-07-16 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8175 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8176 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8177 (tfile_write_buf): New functions.
8178 (add_memory_block): Rewrite using the above.
8179 (adjust_function_address): New function.
8180 (FUNCTION_ADDRESS): New macro.
8181 (write_basic_trace_file): Remove short_x local, and use
8182 tfile_write_16. Change type of func_addr local to unsigned long
8183 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8184 here. Cast argument of add_memory_block to char pointer.
8185 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8186 (main): Remove parameters.
8187 * gdb.trace/tfile.exp: Remove nowarnings.
8188
4d974e88
SM
81892014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8190
8191 * gdb.base/debug-expr.exp: Test string evaluation with
8192 "debug expression" on.
8193
41e99568
PA
81942014-07-15 Pedro Alves <palves@redhat.com>
8195
8196 * gdb.base/reread.exp: Use clean_restart.
8197
487d9753
PL
81982014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8199
8200 * gdb.arch/avr-flash-qualifer.c: New.
8201 * gdb.arch/avr-flash-qualifer.exp: New.
8202
cc1c52ad
PA
82032014-07-14 Pedro Alves <palves@redhat.com>
8204
8205 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8206 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8207
1e973570
PA
82082014-07-14 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.base/double-prompt-target-event-error.c: New file.
8211 * gdb.base/double-prompt-target-event-error.exp: New file.
8212
93d6eb10
PA
82132014-07-14 Pedro Alves <palves@redhat.com>
8214
8215 PR gdb/17072
8216 * gdb.base/paginate-inferior-exit.c: New file.
8217 * gdb.base/paginate-inferior-exit.exp: New file.
8218
0017922d
PA
82192014-07-14 Pedro Alves <palves@redhat.com>
8220
8221 PR gdb/17072
8222 * gdb.base/paginate-bg-execution.c: New file.
8223 * gdb.base/paginate-bg-execution.exp: New file.
8224
94696ad3
PA
82252014-07-14 Pedro Alves <palves@redhat.com>
8226
8227 PR gdb/17072
8228 * gdb.base/paginate-execution-startup.c: New file.
8229 * gdb.base/paginate-execution-startup.exp: New file.
8230 * lib/gdb.exp (pagination_prompt): New global.
8231 (default_gdb_spawn): New procedure, factored out from
8232 default_gdb_spawn.
8233 (default_gdb_start): Adjust to call default_gdb_spawn.
8234 (gdb_spawn): New procedure.
8235
bd293940
PA
82362014-07-14 Pedro Alves <palves@redhat.com>
8237
8238 * lib/gdb.exp (gdb_assert): New procedure.
8239 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8240
c933f875
PA
82412014-07-14 Pedro Alves <palves@redhat.com>
8242
8243 * gdb.base/execution-termios.c: New file.
8244 * gdb.base/execution-termios.exp: New file.
8245
d98b7a16
TT
82462014-07-14 Tom Tromey <tromey@redhat.com>
8247
8248 * gdb.cp/vla-cxx.cc: New file.
8249 * gdb.cp/vla-cxx.exp: New file.
8250
548740d6
TT
82512014-07-14 Tom Tromey <tromey@redhat.com>
8252
8253 * gdb.reverse/rerun-prec.c: New file.
8254 * gdb.reverse/rerun-prec.exp: New file.
8255
a25eb028
MR
82562014-07-12 Maciej W. Rozycki <macro@mips.com>
8257 Maciej W. Rozycki <macro@codesourcery.com>
8258
8259 * lib/gdb-utils.exp: New file.
8260 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8261 inline `gdb_init_command' processing.
8262 (gdb_start_cmd): Likewise.
8263 * lib/mi-support.exp (mi_run_cmd): Likewise.
8264 * README: Document `gdb_init_command' and `gdb_init_commands'.
8265
218c2655
JK
82662014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8267
8268 Fix false FAIL running under a very long directory name.
8269 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8270 and "set print elements 10000". Twice.
8271
5401fde3
YQ
82722014-07-11 Yao Qi <yao@codesourcery.com>
8273
8274 * gdb.base/exprs.exp: "set print symbol off".
8275
e76126e8
PA
82762014-07-11 Pedro Alves <palves@redhat.com>
8277
8278 * gdb.threads/kill.c: New file.
8279 * gdb.threads/kill.exp: New file.
8280
2d6f0de6
YQ
82812014-07-10 Yao Qi <yao@codesourcery.com>
8282
8283 * gdb.trace/tfile.c (write_basic_trace_file)
8284 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8285 address written to trace file.
8286
7180e04a
PA
82872014-07-09 Pedro Alves <palves@redhat.com>
8288
8289 * gdb.base/attach-wait-input.exp: New file.
8290 * gdb.base/attach-wait-input.c: New file.
8291
9a9a7608
AB
82922014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8293
8294 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8295 setting up test structures.
8296 (main): Call new test function.
8297 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8298 test function, continue into test function and walk test
8299 structures.
8300
161ac41e
YQ
83012014-07-02 Yao Qi <yao@codesourcery.com>
8302
8303 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8304 'bar_start' at the beginning of functions 'foo' and 'bar'
8305 respectively.
8306 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8307 instead of 'foo' and 'bar'.
8308
1f267ae3
MM
83092014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8310
8311 * gdb.btrace/segv.exp: New.
8312 * gdb.btrace/segv.c: New.
8313
2b239efb
LM
83142014-07-02 Luis Machado <lgustavo@codesourcery.com>
8315
8316 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8317 instruction.
8318
cf363f18
MW
83192014-06-30 Mark Wielaard <mjw@redhat.com>
8320
8321 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8322 vulture, vilify, villar): New volatile array constants.
8323 (vindictive, vegetation): New const volatile array constants.
8324 * gdb.base/volatile.exp: Test volatile and const volatile array
8325 types.
8326
aebf9d24
AA
83272014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8328
8329 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8330 target lacks support for awatch, rwatch, or hbreak.
8331
b67a2c6f
YQ
83322014-06-27 Yao Qi <yao@codesourcery.com>
8333
8334 * gdb.multi/dummy-frame-restore.exp: New.
8335 * gdb.multi/dummy-frame-restore.c: New.
8336
aef92902
MM
83372014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8338
8339 * gdb.btrace/gcore.exp: New.
8340
8e9db26e
PA
83412014-06-23 Pedro Alves <palves@redhat.com>
8342
8343 * gdb.base/watchpoint-reuse-slot.c: New file.
8344 * gdb.base/watchpoint-reuse-slot.exp: New file.
8345
70afc5b7
SC
83462014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8347
8348 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8349 progspace's filename in 'info', 'enable' and 'disable' command
8350 tests.
8351
b972bd9c
JK
83522014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8353
8354 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8355 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8356 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8357
125f8a3d
GB
83582014-06-20 Gary Benson <gbenson@redhat.com>
8359
8360 * gdb.arch/i386-avx.exp: Fix include file location.
8361 * gdb.arch/i386-sse.exp: Likewise.
8362
3ed9baed
IB
83632014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8364
8365 * gdb.dlang/expression.exp: New file.
8366
034f788c
PA
83672014-06-19 Pedro Alves <palves@redhat.com>
8368
8369 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8370 out from ...
8371 (top level): ... here. Iterate running tests under different
8372 scheduler-locking settings.
8373
45371d0c
LM
83742014-06-18 Luis Machado <lgustavo@codesourcery.com>
8375
8376 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8377 to DW_FORM_addr and use non-zero addresses.
8378
5d376983
SC
83792014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8380
8381 PR gdb/17017
8382 * gdb.python/py-xmethods.cc: Add global function call counters and
8383 increment them in their respective functions. Remove "cout"
8384 statements.
8385 * gdb.python/py-xmethods.exp: Make tests check the global function
8386 call counters instead of depending on inferior IO.
8387
a1aa2221
LM
83882014-06-18 Don Breazeal <donb@codesourcery.com>
8389
8390 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8391 Deleted procedure.
8392 (explicit_fork_parent_follow): Deleted procedure.
8393 (explicit_fork_child_follow): Deleted procedure.
8394 (test_follow_fork): New procedure.
8395 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 8396 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
8397 procedure calls.
8398
0fc05997
YQ
83992014-06-17 Yao Qi <yao@codesourcery.com>
8400
8401 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8402 CP1252.
8403
70795c52
LM
84042014-06-17 Luis Machado <lgustavo@codesourcery.com>
8405
8406 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8407 Initialize ptr and S explicitly.
8408 (skip_type_update_when_not_use_rtti_test): Likewise.
8409
6be47f0c
KS
84102014-06-16 Keith Seitz <keiths@redhat.com>
8411
8412 PR mi/15863
8413 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8414 the inferior is started.
8415
d03de421
PA
84162014-06-16 Pedro Alves <palves@redhat.com>
8417
8418 * gdb.base/break-main-file-remove-fail.c: New file.
8419 * gdb.base/break-main-file-remove-fail.exp: New file.
8420 * gdb.base/break-unload-file.exp: Use build_executable instead of
8421 prepare_for_testing.
8422 (test_break): New parameter "initial_load". Handle it.
8423 (top level): Add initial_load cmdline/file axis.
8424
f9579b99
TT
84252014-06-12 Tom Tromey <tromey@redhat.com>
8426
8427 * gdb.base/completion.exp: Don't use directory name in test.
8428
3657956b
GB
84292014-06-09 Gary Benson <gbenson@redhat.com>
8430
8431 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8432 separate the always-available ANSI-standard signals from the
8433 signals that require checking.
8434 (main): Likewise.
8435 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8436 Likewise.
8437 (main): Likewise.
8438
4186eb54
KS
84392014-06-07 Keith Seitz <keiths@redhat.com>
8440
8441 Revert:
8442 PR c++/16253
8443 * gdb.cp/var-tag.cc: New file.
8444 * gdb.cp/var-tag.exp: New file.
8445 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8446 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8447 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8448 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8449
25326a28 84502014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
8451
8452 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8453
829155c9
PA
84542014-06-06 Pedro Alves <palves@redhat.com>
8455
8456 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8457 in target debug output instead of looking at RSP packets,
8458 disabling the test on any target that uses hardware stepping.
8459 Update comments.
8460
61c8d22e
PA
84612014-06-06 Pedro Alves <palves@redhat.com>
8462
8463 * gdb.base/break-unload-file.exp: Fix typo.
8464
d9a47287
YQ
84652014-06-06 Yao Qi <yao@codesourcery.com>
8466
8467 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8468 from "jit_function" to "^jit_function".
8469
e5e01dbf
YQ
84702014-06-06 Yao Qi <yao@codesourcery.com>
8471
8472 * gdb.base/async.c (foo): Add one statement.
8473 * gdb.base/async.exp: Get the next instruction address and
8474 match the output of "nexti" by instruction address. Match
8475 the hex address in the output of "finish".
8476
73ba372c
GB
84772014-06-06 Gary Benson <gbenson@redhat.com>
8478
8479 * gdb.base/call-signals.c: Remove preprocessor conditionals
8480 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8481 SIGSEGV and SIGTERM.
8482 * gdb.base/sigall.c: Likewise.
8483 * gdb.base/unwindonsignal.c: Likewise.
8484 * gdb.reverse/sigall-reverse.c: Likewise.
8485
831517df
YQ
84862014-06-06 Yao Qi <yao@codesourcery.com>
8487
8488 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8489 readable, skip the test.
8490
b8b91e98
YQ
84912014-06-06 Yao Qi <yao@codesourcery.com>
8492
8493 * gdb.threads/staticthreads.c (thread_function): Move the line
8494 setting breakpoint on forward.
8495 * gdb.threads/staticthreads.exp: Update comments.
8496
fb934770
LC
84972014-06-05 Ludovic Courtès <ludo@gnu.org>
8498
8499 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8500 "history-append! type error".
8501
6ef284bd
SM
85022014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8503
8504 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8505 erroneous dprintf expected input.
8506
a872e241
DE
85072014-06-04 Doug Evans <xdje42@gmail.com>
8508
8509 * gdb.guile/scm-generics.exp: Delete.
8510
16f691fb
DE
85112014-06-04 Doug Evans <xdje42@gmail.com>
8512
8513 * gdb.guile/scm-breakpoint.exp: Update.
8514 Add tests for breakpoint registration.
8515
012370f6
TT
85162014-06-04 Tom Tromey <tromey@redhat.com>
8517
8518 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8519 VLA-in-union.
8520 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8521 inner_vla_struct, vla_union types. Initialize objects of those
8522 types and compute their sizes.
8523
9f5a4cef
HZ
85242014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8525 Hui Zhu <hui@codesourcery.com>
8526
8527 * gdb.base/fileio.exp: Add test for shell not available as well as
8528 available.
8529 * gdb.base/fileio.c (test_system): Check for shell twice.
8530
90a45c4d
YQ
85312014-06-04 Yao Qi <yao@codesourcery.com>
8532
8533 * gdb.base/auto-connect-native-target.exp: Remove redundant
8534 space from the regexp pattern.
8535
70017e41
YQ
85362014-06-04 Yao Qi <yao@codesourcery.com>
8537
8538 * gdb.base/default.exp: Replace "child" with "native" in
8539 regexp pattern.
8540
883964a7
SC
85412014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8542
8543 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8544 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8545 * gdb.python/py-xmethods.py: Python script supporting the
8546 new testcase and tests.
8547
ef370185
JB
85482014-06-03 Joel Brobecker <brobecker@adacore.com>
8549 Pedro Alves <palves@redhat.com>
8550
8551 PR breakpoints/17000
8552 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8553 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8554
1e2ccb61
BM
85552014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8556
8557 * gdb.base/subst.exp: Add tests to verify partial path matching
8558 output.
8559
c6ec5ab2
PA
85602014-06-03 Pedro Alves <palves@redhat.com>
8561
8562 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8563 target that doesn't use software single-stepping.
8564
835c559f
PA
85652014-06-03 Pedro Alves <palves@redhat.com>
8566
8567 PR breakpoints/17000
8568 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8569 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8570
06eb1586
DE
85712014-06-02 Doug Evans <xdje42@gmail.com>
8572
8573 * gdb.guile/scm-parameter.exp: New file.
8574
e698b8c4
DE
85752014-06-02 Doug Evans <xdje42@gmail.com>
8576
8577 * gdb.guile/scm-cmd.c: New file.
8578 * gdb.guile/scm-cmd.exp: New file.
8579
ded03782
DE
85802014-06-02 Doug Evans <xdje42@gmail.com>
8581
8582 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8583 pretty-printer lookup.
8584 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8585 (make-pp_s-printer): Call it.
8586 (make-pretty-printer-from-dict): New function.
8587 (lookup-pretty-printer-maker-from-dict): New function.
8588 (*pretty-printer*): Simplify.
8589 (make-objfile-pp_s-printer): New function.
8590 (install-objfile-pretty-printers!): New function.
8591 (make-progspace-pp_s-printer): New function.
8592 (install-progspace-pretty-printers!): New function.
8593 * gdb.guile/scm-progspace.c: New file.
8594 * gdb.guile/scm-progspace.exp: New file.
8595
41fac0cf
PA
85962014-06-02 Pedro Alves <palves@redhat.com>
8597
8598 * gdb.base/dprintf-bp-same-addr.c: New file.
8599 * gdb.base/dprintf-bp-same-addr.exp: New file.
8600
96ae5695
EBM
86012014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8602
8603 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8604 * gdb.arch/powerpc-power.s: Likewise.
8605
da02b3a8
JB
86062014-06-02 Joel Brobecker <brobecker@adacore.com>
8607
8608 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8609
c72b2e7b
YQ
86102014-06-01 Yao Qi <yao@codesourcery.com>
8611
8612 * gdb.base/watchpoint.exp (test_watch_location): Check null
8613 pointer can be dereferenced. If not, do the test, otherwise
8614 skip it.
8615
53e8a631
AB
86162014-05-30 Andrew Burgess <aburgess@broadcom.com>
8617
8618 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8619 results.
8620 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8621
938f0e2f
AB
86222014-05-30 Andrew Burgess <aburgess@broadcom.com>
8623
8624 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8625 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8626 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8627 * gdb.arch/amd64-invalid-stack-top.c: New file.
8628 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8629
9ba6657a
PA
86302014-05-30 Pedro Alves <palves@redhat.com>
8631
8632 PR breakpoints/17000
8633 * gdb.base/sss-bp-on-user-bp.c: New file.
8634 * gdb.base/sss-bp-on-user-bp.exp: New file.
8635
522c09bf
DB
86362014-05-30 David Blaikie <dblaikie@gmail.com>
8637
8638 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8639 gnu_inline semantics via attribute.
8640 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8641 source explicitly specifies the required semantics.
8642
bf4ef81e
MR
86432014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8644
8645 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8646
329ea579
PA
86472014-05-29 Pedro Alves <palves@redhat.com>
8648 Tom Tromey <tromey@redhat.com>
8649
8650 * gdb.base/async-shell.exp: Don't enable target-async.
8651 * gdb.base/async.exp
8652 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8653 parameter. Adjust.
8654 (top level): Don't test with "target-async".
8655 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8656 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8657 * gdb.base/inferior-died.exp: Don't enable target-async.
8658 * gdb.base/interrupt-noterm.exp: Likewise.
8659 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8660 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8661 * gdb.mi/mi-nonstop.exp: Likewise.
8662 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8663 * gdb.mi/mi-nsintrall.exp: Likewise.
8664 * gdb.mi/mi-nsmoribund.exp: Likewise.
8665 * gdb.mi/mi-nsthrexec.exp: Likewise.
8666 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8667 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8668 * gdb.python/py-evsignal.exp: Don't enable target-async.
8669 * gdb.python/py-evthreads.exp: Likewise.
8670 * gdb.python/py-prompt.exp: Likewise.
8671 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8672 * gdb.server/solib-list.exp: Don't enable target-async.
8673 * gdb.threads/thread-specific-bp.exp: Likewise.
8674 * lib/mi-support.exp: Adjust to use mi-async.
8675
fd664c91
PA
86762014-05-29 Pedro Alves <palves@redhat.com>
8677
8678 PR gdb/13860
8679 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8680 reason, even in sync mode.
8681
251bde03
PA
86822014-05-29 Pedro Alves <palves@redhat.com>
8683 Hui Zhu <hui@codesourcery.com>
8684
8685 PR PR15693
8686 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8687 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8688 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8689 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8690
7f3c0343
JB
86912014-05-28 Joel Brobecker <brobecker@adacore.com>
8692
8693 * config/monitor.exp (gdb_target_monitor): Replace use of
8694 "set remotebaud" by "set serial baud".
8695
b2715b27
AW
86962014-05-26 Andy Wingo <wingo@igalia.com>
8697
8698 * gdb.guile/scm-breakpoint.exp:
8699 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8700 properties instead of gdb-object-properties.
8701
498a4489
YQ
87022014-05-26 Yao Qi <yao@codesourcery.com>
8703
8704 * gdb.server/no-thread-db.exp: Specify source file name
8705 explicitly when setting a breakpoint.
8706
589fdceb
MM
87072014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8708
8709 * gdb.btrace/vdso.c: New.
8710 * gdb.btrace/vdso.exp: New.
8711
e9089e05
MM
87122014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8713
8714 * gdb.base/gcore.exp (capture_command_output): Move ...
8715 * lib/gdb.exp (capture_command_output): ... here.
8716
67b5c0c1
MM
87172014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8718
8719 * gdb.btrace/data.exp: Test memory access during btrace replay.
8720
a2199296
SM
87212014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8722
8723 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8724
17b2616c
PA
87252014-05-21 Pedro Alves <palves@redhat.com>
8726
8727 PR gdb/13860
8728 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8729 (top level): Test that output related to execution commands is
8730 sent to the console with CLI commands, but not with MI commands.
8731 Test that breakpoint events are always mirrored to the console.
8732 Also expect the new source line to be output after a "next" in
8733 async mode too. Make it a pass/fail test.
8734 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8735 output.
8736 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8737
5166082f
PA
87382014-05-21 Pedro Alves <palves@redhat.com>
8739
8740 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8741 Use them to test variations of "list" after reaching a breakpoint.
8742 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8743 Test "list" with listsize 10 after reaching a breakpoint.
8744 * gdb.python/python.exp (decode_line current location line
8745 number): Adjust expected line number.
8746
2f25d70f
SM
87472014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8748
8749 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8750 behavior for $args, pass it directly to "run".
8751
ff604a67
MR
87522014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8753
8754 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8755 30000 to 65536.
8756
6a3cb8e8
PA
87572014-05-21 Pedro Alves <palves@redhat.com>
8758
8759 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8760 auto-connect-native-target off".
8761 * gdb.base/auto-connect-native-target.c: New file.
8762 * gdb.base/auto-connect-native-target.exp: New file.
8763
4ebfc96e
PA
87642014-05-21 Pedro Alves <palves@redhat.com>
8765
8766 * gdb.base/default.exp: Test "target native" instead of "target
8767 child".
8768
36d46afb
MW
87692014-05-21 Mark Wielaard <mjw@redhat.com>
8770
8771 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8772
5876f503
JK
87732014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8774
8775 Fix TLS access for -static -pthread.
8776 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8777 <HAVE_TLS> (thread_function, main): Initialize it.
8778 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8779 Add clean_restart.
8780 <$have_tls != "">: Check TLSVAR.
8781
0256a6ac
PA
87822014-05-21 Pedro Alves <palves@redhat.com>
8783
8784 * gdb.base/dcache-line-read-error.c: New.
8785 * gdb.base/dcache-line-read-error.exp: New.
8786
936d2992
PA
87872014-05-20 Pedro Alves <palves@redhat.com>
8788
8789 * gdb.base/compare-sections.c: New file.
8790 * gdb.base/compare-sections.exp: New file.
8791
802e8e6d
PA
87922014-05-20 Pedro Alves <palves@redhat.com>
8793
8794 * gdb.base/break-idempotent.c: New file.
8795 * gdb.base/break-idempotent.exp: New file.
8796
e59fa00f
MM
87972014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8798
8799 * gdb.btrace/nohist.exp: New.
8800
8b696e31
YQ
88012014-05-20 Yao Qi <yao@codesourcery.com>
8802
8803 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8804 gdb.reverse directory and gdb_reverse_timeout exists in board
8805 setting.
8806 * README: Document gdb_reverse_timeout.
8807
73c9764f
YQ
88082014-05-20 Yao Qi <yao@codesourcery.com>
8809
8810 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8811 'test_file_name'. Treat args as a string instead of a list.
8812 (gdb_init): Rename argument 'args' by 'test_file_name'.
8813
f1f4348a
JK
88142014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8815
8816 * gdb.arch/powerpc-power.exp: New file.
8817 * gdb.arch/powerpc-power.s: New file.
8818
0dbe70ce
DE
88192014-05-16 Doug Evans <dje@google.com>
8820
8821 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
8822 * gdb.base/completion.exp: Check that all expected files exist
8823 before doing file completion.
0dbe70ce 8824
8d551b02
DE
88252014-05-16 Doug Evans <dje@google.com>
8826
8827 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8828 Update.
8829 (do_syscall_tests_without_xml): Update.
8830
73eb7709
PA
88312014-05-16 Pedro Alves <palves@redhat.com>
8832
8833 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8834 instead of "unknown output after running".
8835
3fae92fc
YQ
88362014-05-16 Yao Qi <yao@codesourcery.com>
8837
8838 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8839 file1.txt from host at the end.
8840 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8841
c2b2ccc5
DE
88422014-05-15 Doug Evans <dje@google.com>
8843
8844 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8845 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8846 loading file. Add test for TU lookup.
8847
8c217a4b
SM
88482014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8849
8850 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8851 calling "-exec-arguments" or "set args" before running the
8852 inferior.
8853
3deb39c6
SM
88542014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8855
8856 * lib/mi-support.exp (mi_expect_stop): Expect message for
8857 inferiors that exit with non-zero exit code.
8858
71a79f8c
YQ
88592014-05-14 Yao Qi <yao@codesourcery.com>
8860
8861 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8862 match absolute path on remote host.
8863 (test_file_list_exec_source_files): Remove "/" from the
8864 pattern.
8865
f23fcd46
YQ
88662014-05-14 Yao Qi <yao@codesourcery.com>
8867
8868 * boards/local-remote-host-notty.exp (${board}_file): New
8869 proc.
8870
9404b58f
KM
88712014-05-07 Kyle McMartin <kyle@redhat.com>
8872
8873 Pushed by Joel Brobecker <brobecker@adacore.com>.
8874 * gdb.arch/aarch64-atomic-inst.c: New file.
8875 * gdb.arch/aarch64-atomic-inst.exp: New file.
8876
5e45f04c
YQ
88772014-05-07 Yao Qi <yao@codesourcery.com>
8878
8879 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8880 in current context" too.
8881
c888a17d
KS
88822014-05-05 Keith Seitz <keiths@redhat.com>
8883
8884 * gdb.linespec/ls-dollar.exp: Add test for linespec
8885 file:convenience_variable.
8886
290a839c
YQ
88872014-05-05 Yao Qi <yao@codesourcery.com>
8888
8889 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8890 traceframes into tfile and ctf trace files. Read data from
8891 trace file and test collected data.
8892 (gdb_collect_locals_test): Likewise.
8893 (gdb_unavailable_registers_test): Likewise.
8894 (gdb_unavailable_floats): Likewise.
8895 (gdb_collect_globals_test): Likewise.
8896 (top-level): Append "ctf" to trace_file_targets if GDB
8897 supports.
8898
b5262cd0
YQ
88992014-05-05 Yao Qi <yao@codesourcery.com>
8900
8901 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8902 code to ...
8903 (gdb_collect_args_test_1): ... it. New proc.
8904 (gdb_collect_locals_test): Move some code to ...
8905 (gdb_collect_locals_test_1): ... it. New proc.
8906 (gdb_unavailable_registers_test): Move some code to ...
8907 (gdb_unavailable_registers_test_1): ... it. New proc.
8908 (gdb_unavailable_floats): Move some code to ...
8909 (gdb_unavailable_floats_1): ... it. New proc.
8910
30a1e6cc
SDJ
89112014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8912
8913 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8914 probes to test for bitness recognition.
8915 * gdb.arch/amd64-stap-optional-prefix.exp
8916 (test_probe_value_without_reg): New procedure.
8917 Add code to test for different kinds of bitness.
8918
f33da99a
SDJ
89192014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8920
8921 PR breakpoints/16889
8922 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8923 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8924
5b80f00d
PA
89252014-05-01 Pedro Alves <palves@redhat.com>
8926
8927 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8928 gdb_file_cmd if no file is specified.
8929 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8930 last_loaded_file to set the remote exec-file.
8931
f8c2a73c
PA
89322014-05-01 Pedro Alves <palves@redhat.com>
8933
8934 * boards/local-remote-host.exp: New file.
8935
be6e8ac7
PA
89362014-05-01 Pedro Alves <palves@redhat.com>
8937
8938 * boards/local-remote-host.exp: Rename to ...
8939 * boards/local-remote-host-notty.exp: ... this.
8940
cac0dc8f
JB
89412014-04-28 Joel Brobecker <brobecker@adacore.com>
8942
8943 * gdb.ada/dyn_arrayidx: New testcase.
8944
9730e6cc
YQ
89452014-04-26 Yao Qi <yao@codesourcery.com>
8946
8947 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8948 and compute the length of function main. Save it in
8949 $main_length.
8950 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8951 (top-level): Use gdb_compile to compile objects into
8952 executable and restart GDB. Remove invocation to
8953 prepare_for_testing.
8954
7ae1a6a6
PA
89552014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8956 Pedro Alves <palves@redhat.com>
8957
8958 PR server/16255
8959 * gdb.multi/multi-attach.c: New file.
8960 * gdb.multi/multi-attach.exp: New file.
8961
4082afcc
PA
89622014-04-25 Pedro Alves <palves@redhat.com>
8963
8964 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8965 user.
8966 (top level): Test that "set remote conditional-breakpoints-packet
8967 off" works as intended.
8968 * gdb.base/dprintf.exp: Test that "set remote
8969 breakpoint-commands-packet off" works as intended.
8970 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8971 New function.
8972 (top level): Call it.
8973 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8974 remote fast-tracepoints-packet off" works as intended.
8975 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8976 * lib/gdb.exp (gdb_is_target_remote): ... here.
8977
2abc3f8d
DB
89782014-04-24 David Blaikie <dblaikie@gmail.com>
8979
8980 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8981 ensure clang would not discard them.
8982 * gdb.base/gdbvars.c: Ditto.
8983 * gdb.base/memattr.c: Ditto.
8984 * gdb.base/whatis.c: Ditto.
8985 * gdb.python/py-prettyprint.c: Ditto.
8986 * gdb.trace/actions.c: Ditto.
8987 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8988 ensure clang would not discard it.
8989
bfd39632
DB
89902014-04-24 David Blaikie <dblaikie@gmail.com>
8991
8992 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8993 clang to emit the full definition of type required by the test
8994 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8995
22842ff6
DB
89962014-04-24 David Blaikie <dblaikie@gmail.com>
8997
8998 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8999 coax Clang into emitting the definition of the type.
9000 * gdb.cp/pr10728-x.h (y): Ditto.
9001 * gdb.cp/pr10728-y.cc (y): Ditto.
9002
c2e827ad
DB
90032014-04-24 David Blaikie <dblaikie@gmail.com>
9004
9005 * gdb.base/label.exp: XFAIL label related tests under Clang.
9006 * gdb.cp/cplabel.exp: Ditto.
9007 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9008 under Clang those using labels.
9009
4c2d33e7
YQ
90102014-04-25 Yao Qi <yao@codesourcery.com>
9011
9012 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9013 double_label.
9014 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9015 partial_label and double_label.
9016
56083b99
DB
90172014-04-24 David Blaikie <dblaikie@gmail.com>
9018
9019 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9020
25d4e99d
DB
90212014-04-24 David Blaikie <dblaikie@gmail.com>
9022
9023 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9024 of the function to work across GCC and Clang.
9025 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9026 pointer types (const void ** const V void **).
9027
01f9f808
MS
90282014-04-24 Michael Sturm <michael.sturm@mintel.com>
9029 Walfred Tedeschi <walfred.tedeschi@intel.com>
9030
9031 * Makefile.in (EXECUTABLES): Added i386-avx512.
9032 * gdb.arch/i386-avx512.c: New file.
9033 * gdb.arch/i386-avx512.exp: Likewise.
9034
4b48d439
KS
90352014-04-23 Keith Seitz <keiths@redhat.com>
9036
9037 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9038 (mi_make_breakpoint_table): New procedure.
9039 (mi_create_breakpoint): Use mi_make_breakpoint
9040 and return the result.
9041 (mi_make_breakpoint): New procedure.
9042 (mi_build_kv_pairs): New procedure.
9043
9044 * gdb.mi/mi-break.exp: Remove unused globals,
9045 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9046 All callers updated.
9047 * gdb.mi/mi-dprintf.exp: Use variable to track command
9048 number.
9049 Update all callers of mi_create_breakpoint and use
9050 mi_make_breakpoint_table.
9051 Remove any unused global variables.
9052 * gdb.mi/mi-nonstop.exp: Likewise.
9053 * gdb.mi/mi-nsintrall.exp: Likewise.
9054 * gdb.mi/mi-nsmoribund.exp: Likewise.
9055 * gdb.mi/mi-nsthrexec.exp: Likewise.
9056 * gdb.mi/mi-reverse.exp: Likewise.
9057 * gdb.mi/mi-simplerun.exp: Likewise.
9058 * gdb.mi/mi-stepn.exp: Likewise.
9059 * gdb.mi/mi-syn-frame.exp: Likewise.
9060 * gdb.mi/mi-until.exp: Likewise.
9061 * gdb.mi/mi-var-cp.exp: Likewise.
9062 * gdb.mi/mi-var-display.exp: Likewise.
9063 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9064 * gdb.mi/mi2-var-child.exp: Likewise.
9065 * gdb.mi/mi-vla-c99.exp: Likewise.
9066 * lib/mi-support.exp: Likewise.
9067
9068 From Ian Lance Taylor <iant@cygnus.com>:
9069 * lib/gdb.exp (parse_args): New procedure.
9070
08351840
PA
90712014-04-23 Pedro Alves <palves@redhat.com>
9072
9073 * gdb.base/break-unload-file.c: New file.
9074 * gdb.base/break-unload-file.exp: New file.
9075 * gdb.base/sym-file-lib.c (baz): New function.
9076 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9077 field.
9078 (load): Store the segment's mapped size.
9079 (unload): New function.
9080 (unload_shlib): New function.
9081 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9082 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9083 set a breakpoint at baz, and call it.
9084 * gdb.base/sym-file.exp: New tests for stale breakpoint
9085 instructions.
9086
076855f9
PA
90872014-04-23 Pedro Alves <palves@redhat.com>
9088
9089 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9090 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9091 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9092 * gdb.base/hbreak-unmapped.c: New file.
9093 * gdb.base/hbreak-unmapped.exp: New file.
9094 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9095 * lib/gdb.exp (gdb_is_target_remote): ... here.
9096
483805cf
PA
90972014-04-22 Pedro Alves <palves@redhat.com>
9098
9099 * gdb.base/consecutive-step-over.c: New file.
9100 * gdb.base/consecutive-step-over.exp: New file.
9101
06d97543
PA
91022014-04-22 Pedro Alves <palves@redhat.com>
9103
9104 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9105 instead of send_gdb/gdb_expect.
9106
b4429ea2
YQ
91072014-04-22 Yao Qi <yao@codesourcery.com>
9108
9109 * lib/trace-support.exp (generate_tracefile): New procedure.
9110 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9111 return 0.
9112 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9113 if generate_tracefile returns 1.
9114
51d48146
PA
91152014-04-18 Tom Tromey <palves@redhat.com>
9116 Pedro alves <tromey@redhat.com>
9117
9118 PR backtrace/15558
9119 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9120 with a backtrace limit.
9121 * gdb.python/py-frame-inline.exp: Test running to an inline
9122 function with a backtrace limit, and printing the newest frame.
9123 * gdb.python/py-frame-inline.c (main): Call f.
9124
bd1dce5f
MS
91252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9126
9127 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9128
40d1a503
MS
91292014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9130
9131 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9132 Drop prefix from unsupported source file path.
9133
389b98f7
YQ
91342014-04-17 Yao Qi <yao@codesourcery.com>
9135
9136 * lib/gdb.exp (with_target_charset): New proc.
9137 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9138 with_target_charset.
9139 (test_print_strings): Likewise.
9140 (test_repeat_bytes): Likewise.
9141 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9142 for some tests.
9143
22869d73
KS
91442014-04-16 Keith Seitz <keiths@redhat.com>
9145
9146 PR gdb/15827
9147 * gdb.dwarf2/corrupt.c: New file.
9148 * gdb.dwarf2/corrupt.exp: New file.
9149
c4f87ca6
KS
91502014-04-16 Keith Seitz <keiths@redhat.com>
9151
9152 PR c++/16597
9153 * gdb.cp/namelessclass.cc: New file.
9154 * gdb.cp/namelessclass.exp: New file.
9155 * gdb.cp/namelessclass.S: New file.
9156
ab19de87
DE
91572014-04-16 Doug Evans <dje@google.com>
9158
9159 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9160 Add comment.
9161 (gdbserver_default_get_comm_port): New function.
9162 (gdbserver_start): Check if board file provided
9163 "gdbserver,get_comm_port" and use it if so.
9164 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9165 (gdb,socketport): Set to "stdio".
9166 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9167 (stdio_gdbserver_template): Delete.
9168 (${board}_get_remote_address): Update.
9169 (${board}_build_remote_cmd): Delete.
9170 (${board}_get_comm_port): New function.
9171 (${board}_spawn): Update.
9172 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9173 Delete.
9174 (${board}_get_remote_address): Update.
9175 (${board}_get_comm_port): New function.
9176
fc98a809
AB
91772014-04-16 Andrew Burgess <aburgess@broadcom.com>
9178
9179 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9180 appearing in any order.
9181
87fd9e6e
DE
91822014-04-15 Doug Evans <dje@google.com>
9183
9184 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9185 uninitialized value of "description".
9186
099fc3ea
KS
91872014-04-15 Keith Seitz <keiths@redhat.com>
9188
9189 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9190 Remove unused globals.
9191 (test_running_the_program): Likewise.
9192 (test_controlled_execution): Likewise.
9193 (test_controlling_breakpoints): Likewise.
9194 (test_program_termination): Likewise.
9195
5da151d4
KS
91962014-04-15 Keith Seitz <keiths@redhat.com>
9197
9198 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9199 unused globals.
9200 (test_rbreak_creation_and_listing): Likewise.
9201 (test_ignore_count): Likewise.
9202 (test_error): Likewise.
9203
35e5d2f0
PA
92042014-04-15 Pedro Alves <palves@redhat.com>
9205
9206 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9207 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9208 sym-file-loader.c.
9209 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9210 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9211 to sym-file-loader.c.
9212 (struct library): Forward declare.
9213 (load_shlib, lookup_function): Change prototypes.
9214 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9215 (translate_offset): Remove declarations.
9216 (get_text_addr): New declaration.
9217 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9218 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9219 sym-file-loader.h.
9220 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9221 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9222 here from sym-file-loader.h.
9223 (struct library): New structure.
9224 (load_shlib, lookup_function): Change prototypes and adjust to
9225 work with a struct library.
9226 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9227 (translate_offset): Make static.
9228 (get_text_addr): New function.
9229 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9230
eb4c1710
PA
92312014-04-15 Pedro Alves <palves@redhat.com>
9232
9233 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9234
2d1baf52
PA
92352014-04-15 Pedro Alves <palves@redhat.com>
9236
9237 * gdb.base/sym-file-loader.c: Include <limits.h>.
9238 (SELF_LINK): New define.
9239 (get_origin): New function.
9240 (load_shlib): Use it.
9241 * gdb.base/sym-file.exp: Don't early return if the target is
9242 remote. Use runto_main, and issue fail is that fails. Use
9243 gdb_load_shlibs.
9244 (shlib_name): Delete.
9245 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9246
7dd6df01
PA
92472014-04-15 Pedro Alves <palves@redhat.com>
9248
9249 * gdb.base/sym-file.exp: Remove regex characters from test
9250 message. Don't refer to breakpoint numbers in test messages.
9251
b50c8614
KS
92522014-04-14 Keith Seitz <keiths@redhat.com>
9253
9254 PR c++/16253
9255 * gdb.cp/var-tag.cc: New file.
9256 * gdb.cp/var-tag.exp: New file.
9257 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9258 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9259 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9260 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9261
3d567982
TT
92622014-04-14 Tom Tromey <tromey@redhat.com>
9263
9264 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9265 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9266 type.
9267 * gdb.cp/enum-class.exp: New file.
9268 * gdb.cp/enum-class.cc: New file.
9269
0626fc76
TT
92702014-04-14 Tom Tromey <tromey@redhat.com>
9271
9272 * gdb.dwarf2/enum-type.exp: New file.
9273
dca325b3
SA
92742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9275
9276 * gdb.mi/mi-vla-c99.exp: New file.
9277 * gdb.mi/vla.c: New file.
9278
5854b38a
SA
92792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9280
9281 * gdb.base/vla-datatypes.c: New file.
9282 * gdb.base/vla-datatypes.exp: New file.
9283
463bb957
SA
92842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9285
9286 * gdb.base/vla-ptr.c: New file.
9287 * gdb.base/vla-ptr.exp: New file.
9288
3dd170be
SA
92892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9290
9291 * gdb.dwarf2/count.exp: New file.
9292
5ecaaa66
SA
92932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9294
9295 * gdb.base/vla-sideeffect.c: New file.
9296 * gdb.base/vla-sideeffect.exp: New file.
9297
41f1ada5
DB
92982014-04-14 David Blaikie <dblaikie@gmail.com>
9299
9300 * gdb.mi/non-stop.c: Add return value for non-void function return
9301 statement.
9302 * gdb.threads/staticthreads.c: Ditto.
9303
0be03e84
DE
93042014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9305 Doug Evans <xdje42@gmail.com>
9306
9307 * gdb.guile/scm-value.c: Improve test case.
9308 * gdb.guile/scm-value.exp: Add new test.
9309
f180a1fb
DB
93102014-04-11 David Blaikie <dblaikie@gmail.com>
9311
9312 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9313 override Clang's default.
9314
6b662e19
JB
93152014-04-11 Joel Brobecker <brobecker@adacore.com>
9316
9317 Revert the following changes (regressions):
9318
9319 * gdb.base/vla-sideeffect.c: New file.
9320 * gdb.base/vla-sideeffect.exp: New file.
9321
9322 * gdb.dwarf2/count.exp: New file.
9323
9324 * gdb.base/vla-multi.c: New file.
9325 * gdb.base/vla-multi.exp: New file.
9326
9327 * gdb.base/vla-ptr.c: New file.
9328 * gdb.base/vla-ptr.exp: New file.
9329
9330 * gdb.base/vla-datatypes.c: New file.
9331 * gdb.base/vla-datatypes.exp: New file.
9332
9333 * gdb.mi/mi-vla-c99.exp: New file.
9334 * gdb.mi/vla.c: New file.
9335
245a5f0b
KS
93362014-04-11 Keith Seitz <keiths@redhat.com>
9337
9338 PR c++/16675
9339 * gdb.cp/cpsizeof.exp: New file.
9340 * gdb.cp/cpsizeof.cc: New file.
9341
58a84dcf
SA
93422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9343
191a8a90
JB
9344 * gdb.mi/mi-vla-c99.exp: New file.
9345 * gdb.mi/vla.c: New file.
58a84dcf 9346
c8655f75
SA
93472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9348
9349 * gdb.base/vla-datatypes.c: New file.
9350 * gdb.base/vla-datatypes.exp: New file.
9351
024e13b4
SA
93522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9353
9354 * gdb.base/vla-ptr.c: New file.
9355 * gdb.base/vla-ptr.exp: New file.
9356
1a237e0e
SA
93572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9358
9359 * gdb.base/vla-multi.c: New file.
9360 * gdb.base/vla-multi.exp: New file.
9361
504f3432
SA
93622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9363
9364 * gdb.dwarf2/count.exp: New file.
9365
3bce8237
SA
93662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9367
191a8a90
JB
9368 * gdb.base/vla-sideeffect.c: New file.
9369 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 9370
322f9c21
YQ
93712014-04-11 Yao Qi <yao@codesourcery.com>
9372
9373 * gdb.base/completion.exp: Check file exists before running tests
9374 on file completion.
9375
d708bcd1
PA
93762014-04-10 Pedro Alves <palves@redhat.com>
9377
9378 * gdb.base/cond-eval-mode.c: New file.
9379 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9380 prepare_for_testing to build the new file. Check result of
9381 runto_main.
9382 (test_break, test_watch): New procedures.
9383 (top level): Use them.
9384
ae1d2761
PM
93852014-04-08 Pierre Muller <muller@sourceware.org>
9386
9387 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9388 Ctrl-V use for mingw hosts.
9389
7af389b8
SC
93902014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9391
9392 * gdb.python/py-value.c: Improve test case.
9393 * gdb.python/py-value.exp: Add new test.
9394
5e703181
DE
93952014-04-07 David Blaikie <dblaikie@gmail.com>
9396
9397 * lib/compiler.c: Identify the clang compiler.
9398 * lib/compiler.cc: Ditto.
9399
9810b410
YQ
94002014-04-03 Yao Qi <yao@codesourcery.com>
9401
9402 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9403
98d1b8dc
AB
94042014-04-01 Anton Blanchard <anton@samba.org>
9405
9406 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9407 messages unique.
9408
3114cea1
AB
94092014-04-01 Anton Blanchard <anton@samba.org>
9410
9411 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9412 prepare_for_testing.
9413
62f7182c
AB
94142014-04-01 Anton Blanchard <anton@samba.org>
9415
9416 * gdb.arch/ppc64-atomic-inst.c: Remove.
9417 * gdb.arch/ppc64-atomic-inst.S: New file.
9418 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9419
770e7fc7
DE
94202014-03-31 Doug Evans <dje@google.com>
9421
9422 * gdb.base/print-symbol-loading-lib.c: New file.
9423 * gdb.base/print-symbol-loading-main.c: New file.
9424 * gdb.base/print-symbol-loading.exp: New file.
9425
46e2bafa
YQ
94262014-03-31 Yao Qi <yao@codesourcery.com>
9427
9428 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9429
8776cfe9
JB
94302014-03-28 Joel Brobecker <brobecker@adacore.com>
9431
9432 * gdb.ada/mi_dyn_arr: New testcase.
9433
5d1ef361
DE
94342014-03-27 Doug Evans <dje@google.com>
9435
9436 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9437
b5bee914
YQ
94382014-03-27 Yao Qi <yao@codesourcery.com>
9439
9440 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9441 if target is nios2-*-*.
9442
0d4d0e77
YQ
94432014-03-26 Yao Qi <yao@codesourcery.com>
9444
9445 * lib/gdb.exp (readline_is_used): New proc.
9446 * gdb.base/completion.exp: Move tests on command complete up.
9447 Skip the rest of tests if readline is not used.
9448 * gdb.ada/complete.exp: Skp the test if readline is not
9449 used.
9450 * gdb.base/filesym.exp: Likewise.
9451 * gdb.base/macscp.exp: Likewise.
9452 * gdb.base/readline-ask.exp: Likewise.
9453 * gdb.base/readline.exp: Likewise.
9454 * gdb.python/py-cmd.exp: Likewise.
9455 * gdb.trace/tfile.exp: Likewise.
9456
29361eee
YQ
94572014-03-26 Yao Qi <yao@codesourcery.com>
9458
9459 * gdb.base/macscp.exp: Fix code format issues.
9460
bc9a5525
UW
94612014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9462
9463 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9464 * gdb.asm/powerpc64le.inc: New file.
9465
d3839ede
PA
94662014-03-25 Pedro Alves <palves@redhat.com>
9467 Doug Evans <dje@google.com>
9468
9469 * gdb.base/source-execution.c: New file.
9470 * gdb.base/source-execution.exp: New file.
9471 * gdb.base/source-execution.gdb: New file.
9472
01672a57
DE
94732014-03-24 Doug Evans <dje@google.com>
9474
9475 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9476 using fission.
9477
88bbeca9
HZ
94782014-03-24 Hui Zhu <hui@codesourcery.com>
9479 Pedro Alves <palves@redhat.com>
9480
9481 PR breakpoints/16101
9482 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9483 test pass/fail messages. Detect missing support for dprintf when
9484 breakpoints are actually inserted.
9485 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9486 breakpoints are actually inserted.
9487 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9488 fails.
9489
d2348791
JK
94902014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9491
9492 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9493
feef67ab
DE
94942014-03-22 Doug Evans <xdje42@gmail.com>
9495
9496 * gdb.python/python.exp (python not supported): Verify multi-line
9497 python command issues an error.
25d743f9 9498 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 9499 guile command issues an error.
feef67ab 9500
ecebef6a
MR
95012014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9502
9503 * gdb.threads/thread-specific.exp: Handle the lack of usable
9504 $this_breakpoint and $this_thread.
9505
ccdd1909
HZ
95062014-03-21 Hui Zhu <hui@codesourcery.com>
9507
9508 * gdb.base/attach.exp (do_command_attach_tests): New.
9509
beb460e8
PA
95102014-03-20 Tom Tromey <tromey@redhat.com>
9511 Pedro Alves <palves@redhat.com>
9512
9513 PR cli/15718
9514 * gdb.base/condbreak-call-false.c: New file.
9515 * gdb.base/condbreak-call-false.exp: New file.
9516
40acf43a
PA
95172014-03-20 Pedro Alves <palves@redhat.com>
9518
9519 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9520 Delete.
9521 (block_signals, unblock_signals): Delete.
9522 (child_function_2, main): Remove references to deleted variable
9523 and functions.
9524
9f5e1e02
PA
95252014-03-20 Pedro Alves <palves@redhat.com>
9526
9527 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9528 Use pthread_kill to signal thread 2.
9529 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9530 Adjust to make the test send itself a signal rather than using the
9531 host's "kill" command.
9532
99619bea
PA
95332014-03-20 Pedro Alves <palves@redhat.com>
9534
9535 * gdb.threads/multiple-step-overs.c: New file.
9536 * gdb.threads/multiple-step-overs.exp: New file.
9537 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9538 Adjust expected infrun debug output.
9539
2adfaa28
PA
95402014-03-20 Pedro Alves <palves@redhat.com>
9541
9542 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9543 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9544
31e77af2
PA
95452014-03-20 Pedro Alves <palves@redhat.com>
9546
9547 PR breakpoints/7143
9548 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9549 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9550 of gdb_test_multiple.
9551 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9552 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9553
b9f437de
PA
95542014-03-20 Pedro Alves <palves@redhat.com>
9555
9556 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9557 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9558
05adc73e
PA
95592014-03-19 Pedro Alves <palves@redhat.com>
9560
9561 * gdb.base/async.exp: Remove early return.
9562
6048b950
PA
95632014-03-19 Pedro Alves <palves@redhat.com>
9564
9565 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9566
8bcfb00a
PA
95672014-03-19 Pedro Alves <palves@redhat.com>
9568
9569 * gdb.base/async.exp (test_background): Expect \r\n after
9570 "completed." in the fail pattern.
9571
884e37dc
PA
95722014-03-19 Pedro Alves <palves@redhat.com>
9573
9574 * gdb.base/async.exp (test_background): New procedure.
9575 Use it for all background execution command tests.
9576
148e57e2
PA
95772014-03-19 Pedro Alves <palves@redhat.com>
9578
9579 * gdb.base/async.exp: Use prepare_for_testing.
9580
f48088c7
PA
95812014-03-19 Pedro Alves <palves@redhat.com>
9582
9583 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9584 the same line.
9585
e2f6c966
PA
95862014-03-19 Pedro Alves <palves@redhat.com>
9587
9588 * gdb.base/async.c (main): Add "jump here" and "until here" line
9589 marker comments.
9590 * gdb.base/async.exp (jump_here): New global.
9591 (jump& test): Use it.
9592 (until_here): New global.
9593 (until& test): Use it.
9594
c30568d4
PA
95952014-03-19 Pedro Alves <palves@redhat.com>
9596
9597 * gdb.base/async.exp: Don't frob gdb_protocol.
9598
0172b6a7
DE
95992014-03-18 Doug Evans <xdje42@gmail.com>
9600
9601 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9602 Fix spelling of exec-done-display.
9603
06c868a8
JK
96042014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9605
9606 PR gdb/15358
9607 * gdb.base/gdb-sigterm.c: New file.
9608 * gdb.base/gdb-sigterm.exp: New file.
9609
0c7e1a46
PA
96102014-03-18 Pedro Alves <palves@redhat.com>
9611
9612 PR gdb/13860
9613 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9614 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9615 solib-event.
9616
f7c77d93
JB
96172014-03-17 Joel Brobecker <brobecker@adacore.com>
9618
9619 * gdb.ada/pckd_arr_ren: New testcase.
9620
5a1e8c7a
DE
96212014-03-13 Doug Evans <xdje42@gmail.com>
9622
9623 PR guile/16612
9624 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9625 collect after discarding symbols.
9626
350e1a76
DE
96272014-03-13 Ludovic Courtès <ludo@gnu.org>
9628 Doug Evans <xdje42@gmail.com>
9629
9630 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9631 to history survives a gc.
9632
a69900ae
PA
96332014-03-13 Pedro Alves <palves@redhat.com>
9634
9635 * gdb.base/default.exp: Don't test "target procfs".
9636
5db9f0bd
PA
96372014-03-13 Pedro Alves <palves@redhat.com>
9638
9639 * gdb.base/default.exp: Update "target child" and "target procfs"
9640 tests to not expect "Unix".
9641
b3ccfe11
TT
96422014-03-12 Tom Tromey <tromey@redhat.com>
9643
9644 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9645 New procs. Add target-async tests.
9646 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9647 Add target-async tests.
9648
646f4417
AA
96492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9650
9651 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9652 'func_start' and 'func_end' for the beginning and end of the
9653 function code, respectively.
9654 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9655 'func_end' instead of 'func' and 'main'.
9656
288c211f
AA
96572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9658
9659 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9660 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9661 generate the debug info assembler source.
9662
e0c0f156
AA
96632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9664
9665 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9666 * gdb.dwarf2/arr-subrange.exp: Likewise.
9667 * gdb.dwarf2/dwz.exp: Likewise.
9668 * gdb.dwarf2/method-ptr.exp: Likewise.
9669 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9670 * gdb.dwarf2/subrange.exp: Likewise.
9671 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9672 * gdb.dwarf2/implptrpiece.exp: Likewise.
9673 * gdb.dwarf2/nostaticblock.exp: Likewise.
9674
0e5c4555
AA
96752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9676
9677 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9678 directory to absolute path name arguments.
9679
5ec18f2b
JG
96802014-03-10 Joel Brobecker <brobecker@adacore.com>
9681
9682 * gdb.ada/tagged_access: New testcase.
9683
847fc4f2
MM
96842014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9685
9686 * gdb.btrace/data.exp: Update expected output.
9687
cc3da688
YQ
96882014-03-06 Yao Qi <yao@codesourcery.com>
9689
9690 * gdb.trace/pr16508.exp: New file.
9691
0f26cec1
PA
96922014-03-05 Pedro Alves <palves@redhat.com>
9693
9694 PR gdb/16575
9695 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9696 procedure.
9697 (top level): Adjust to use it. Add tests that exercise breakpoint
9698 interaction with the code-cache.
9699
7a5a839f
LC
97002014-02-26 Ludovic Courtès <ludo@gnu.org>
9701
9702 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9703 test for 'history-append!'.
9704
31aa7e4e
JB
97052014-02-26 Joel Brobecker <brobecker@adacore.com>
9706
9707 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9708 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9709 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9710 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9711 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9712 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9713
1b588015
JB
97142014-02-26 Joel Brobecker <brobecker@adacore.com>
9715
9716 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9717 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9718 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9719
55426c9d
JB
97202014-02-26 Joel Brobecker <brobecker@adacore.com>
9721
9722 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9723
dc53a7ad
JB
97242014-02-26 Joel Brobecker <brobecker@adacore.com>
9725
9726 * gdb.dwarf2/arr-stride.c: New file.
9727 * gdb.dwarf2/arr-stride.exp: New file.
9728
12ab52e9
PA
97292014-02-26 Pedro Alves <palves@redhat.com>
9730
9731 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9732 that won't ever trigger. Make sure that GDB reports the correct
9733 breakpoint that caused the stop.
9734
849c862e
JK
97352014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9736
9737 PR gdb/16626
9738 * gdb.base/auto-load-script: New file.
9739 * gdb.base/auto-load.c: New file.
9740 * gdb.base/auto-load.exp: New file.
9741
71b7d793
JK
9742 PR gdb/16626
9743 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9744
e2f0d509
JK
97452014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9746
9747 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9748 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9749
50cc37c8
DE
97502014-02-24 Doug Evans <dje@google.com>
9751
9752 * lib/gdb.exp (run_on_host): Log error output if program fails.
9753
ea4758f2
PA
97542014-02-21 Pedro Alves <palves@redhat.com>
9755
9756 * gdb.threads/step-after-sr-lock.c: Rename to ...
9757 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9758 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9759 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9760 ... this.
9761
d7b30f67
SDJ
97622014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9763
9764 PR tdep/16397
9765 * gdb.arch/amd64-stap-special-operands.exp: New file.
9766 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9767 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9768 * gdb.arch/amd64-stap-triplet.S: Likewise.
9769 * gdb.arch/amd64-stap-triplet.c: Likewise.
9770
83deb43f
JB
97712014-02-20 Joel Brobecker <brobecker@adacore.com>
9772
9773 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9774 in .section pseudo-op.
9775
adde2bff
DE
97762014-02-20 lin zuojian <manjian2006@gmail.com>
9777 Joel Brobecker <brobecker@adacore.com>
9778 Doug Evans <xdje42@gmail.com>
9779
9780 PR symtab/16581
9781 * gdb.dwarf2/dw2-icycle.S: New file.
9782 * gdb.dwarf2/dw2-icycle.c: New file.
9783 * gdb.dwarf2/dw2-icycle.exp: New file.
9784
f7bd0f78
SC
97852014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9786
9787 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9788 operations on gdb.Value objects.
9789 * gdb.python/py-value-cc.exp: Add new test to test operations on
9790 gdb.Value objects.
9791
c17ef0d5
DE
97922014-02-18 Doug Evans <dje@google.com>
9793
9794 * Makefile.in (TESTS): New variable.
9795 (expanded_tests, expanded_tests_or_none): New variables
9796 (check-single): Pass $(expanded_tests_or_none) to runtest.
9797 (check-parallel): Only run tests in $(TESTS) if non-empty.
9798 (check/no-matching-tests-found): New rule.
9799 * README: Document TESTS makefile variable.
9800
5dd3176f
DE
98012014-02-18 Doug Evans <dje@google.com>
9802
9803 * Makefile.in (check-parallel): rm -rf outputs temp.
9804
0b10be4f
JK
98052014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9806
9807 Fix "ERROR: no fileid for" in the testsuite.
9808 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9809
85f224e7
DE
98102014-02-12 Doug Evans <dje@google.com>
9811
9812 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9813 (MISCELLANEOUS): New variable.
9814 (clean): rm -rf $(MISCELLANEOUS).
9815 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9816 dwp live in the same directory as symlinks, with each symlink pointed
9817 to a differently named file in a different directory.
9818
149b30ff
DE
98192014-02-11 Doug Evans <dje@google.com>
9820
9821 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9822 of Tcl file commands.
9823
1dfdac32
MK
98242014-02-10 Mark Kettenis <kettenis@gnu.org>
9825
9826 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9827 "kill -SIGUSR1 -1".
9828
aa4fb036
JB
98292014-02-10 Joel Brobecker <brobecker@adacore.com>
9830
9831 * gdb.ada/tick_length_array_enum_idx: New testcase.
9832
ed3ef339
DE
98332014-02-10 Doug Evans <xdje42@gmail.com>
9834
9835 * configure.ac (AC_OUTPUT): Add gdb.guile.
9836 * configure: Regenerate.
9837 * lib/gdb-guile.exp: New file.
9838 * lib/gdb.exp (get_target_charset): New function.
9839 * gdb.base/help.exp: Update expected output from "apropos apropos".
9840 * gdb.guile/Makefile.in: New file.
9841 * gdb.guile/guile.exp: New file.
9842 * gdb.guile/scm-arch.c: New file.
9843 * gdb.guile/scm-arch.exp: New file.
9844 * gdb.guile/scm-block.c: New file.
9845 * gdb.guile/scm-block.exp: New file.
9846 * gdb.guile/scm-breakpoint.c: New file.
9847 * gdb.guile/scm-breakpoint.exp: New file.
9848 * gdb.guile/scm-disasm.c: New file.
9849 * gdb.guile/scm-disasm.exp: New file.
9850 * gdb.guile/scm-equal.c: New file.
9851 * gdb.guile/scm-equal.exp: New file.
9852 * gdb.guile/scm-error.exp: New file.
9853 * gdb.guile/scm-error.scm: New file.
9854 * gdb.guile/scm-frame-args.c: New file.
9855 * gdb.guile/scm-frame-args.exp: New file.
9856 * gdb.guile/scm-frame-args.scm: New file.
9857 * gdb.guile/scm-frame-inline.c: New file.
9858 * gdb.guile/scm-frame-inline.exp: New file.
9859 * gdb.guile/scm-frame.c: New file.
9860 * gdb.guile/scm-frame.exp: New file.
9861 * gdb.guile/scm-generics.exp: New file.
9862 * gdb.guile/scm-gsmob.exp: New file.
9863 * gdb.guile/scm-iterator.c: New file.
9864 * gdb.guile/scm-iterator.exp: New file.
9865 * gdb.guile/scm-math.c: New file.
9866 * gdb.guile/scm-math.exp: New file.
9867 * gdb.guile/scm-objfile-script-gdb.in: New file.
9868 * gdb.guile/scm-objfile-script.c: New file.
9869 * gdb.guile/scm-objfile-script.exp: New file.
9870 * gdb.guile/scm-objfile.c: New file.
9871 * gdb.guile/scm-objfile.exp: New file.
9872 * gdb.guile/scm-ports.exp: New file.
9873 * gdb.guile/scm-pretty-print.c: New file.
9874 * gdb.guile/scm-pretty-print.exp: New file.
9875 * gdb.guile/scm-pretty-print.scm: New file.
9876 * gdb.guile/scm-section-script.c: New file.
9877 * gdb.guile/scm-section-script.exp: New file.
9878 * gdb.guile/scm-section-script.scm: New file.
9879 * gdb.guile/scm-symbol.c: New file.
9880 * gdb.guile/scm-symbol.exp: New file.
9881 * gdb.guile/scm-symtab-2.c: New file.
9882 * gdb.guile/scm-symtab.c: New file.
9883 * gdb.guile/scm-symtab.exp: New file.
9884 * gdb.guile/scm-type.c: New file.
9885 * gdb.guile/scm-type.exp: New file.
9886 * gdb.guile/scm-value-cc.cc: New file.
9887 * gdb.guile/scm-value-cc.exp: New file.
9888 * gdb.guile/scm-value.c: New file.
9889 * gdb.guile/scm-value.exp: New file.
9890 * gdb.guile/source2.scm: New file.
9891 * gdb.guile/types-module.cc: New file.
9892 * gdb.guile/types-module.exp: New file.
9893
7026a7c1
YQ
98942014-02-10 Yao Qi <yao@codesourcery.com>
9895
9896 PR testsuite/16543
9897 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9898 * configure: Regenerated.
9899 * Makefile.in: New file.
9900
6c466447
AS
99012014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9902
9903 * gdb.python/py-framefilter.exp: Fix typo.
9904
6e854735
YQ
99052014-02-08 Yao Qi <yao@codesourcery.com>
9906
9907 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9908 that no =breakpoint-modified is emitted when breakpoints are
9909 modified through MI commands.
9910
d137e6dc
PA
99112014-02-07 Pedro Alves <pedro@codesourcery.com>
9912 Pedro Alves <palves@redhat.com>
9913
9914 * gdb.threads/step-after-sr-lock.c: New file.
9915 * gdb.threads/step-after-sr-lock.exp: New file.
9916
b5ee5a50
PA
99172014-02-07 Pedro Alves <palves@redhat.com>
9918
9919 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9920
3c77faf3
JK
99212014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9922
9923 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9924 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9925
6dddc817
DE
99262014-02-06 Doug Evans <xdje42@gmail.com>
9927
9928 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9929 output.
9930
9931 * gdb.gdb/python-interrupts.exp: New file.
9932
de7b2893
YQ
99332014-02-05 Yao Qi <yao@codesourcery.com>
9934
9935 * gdb.trace/report.exp (use_collected_data): Test the output
9936 of "info threads" and "info inferiors".
9937
66d032ac
YQ
99382014-02-05 Yao Qi <yao@codesourcery.com>
9939
9940 Revert this patch:
9941
9942 2013-05-24 Yao Qi <yao@codesourcery.com>
9943
9944 * gdb.trace/tfile.exp: Test inferior and thread.
9945
591a12a1
UW
99462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9947
9948 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9949 on a function.
9950 * gdb.base/step-bt.c: Call hello via function pointer to make
9951 sure its first instruction is executed on powerpc64le-linux.
9952
0ff3e01f
UW
99532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9954
9955 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9956
084ee545
UW
99572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9958
9959 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9960 of the test patterns for use on little-endian systems.
9961
6ed14ff3
UW
99622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9963
9964 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9965 (decimal_vector): Fix for little-endian.
9966
401e27fd
JM
99672014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9968
9969 * gdb.arch/sparc-sysstep.exp: New file.
9970 * gdb.arch/sparc-sysstep.c: Likewise.
9971
9972 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9973
8b924729
EBM
99742014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9975
9976 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9977
fb151210
JB
99782014-01-23 Tom Tromey <tromey@redhat.com>
9979
9980 * gdb.ada/array_char_idx: New testcase.
9981
0740f8d8
TT
99822014-01-23 Tom Tromey <tromey@redhat.com>
9983
9984 PR python/16487:
9985 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9986 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9987 classes.
9988
21909fa1
TT
99892014-01-23 Tom Tromey <tromey@redhat.com>
9990
9991 PR python/16491:
9992 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9993 string from an inferior frame.
9994 * gdb.python/py-framefilter-mi.exp: Update.
9995
87ce2a04
DE
99962014-01-22 Doug Evans <dje@google.com>
9997
9998 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9999
237b092b
AA
100002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10001
10002 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10003
d674a709
AA
100042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10005
10006 * gdb.trace/entry-values.exp: Remove excess space character from
10007 regex patterns. Handle s390 call instruction.
10008
20fa3390
AA
100092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10010
10011 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10012 define "*_start" label. Make "name" static.
10013 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10014 ${name} by references to ${name}_start.
10015
78466714
AA
100162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10017
10018 * gdb.base/info-macros.exp: Remove "debug" from the compile
10019 options.
10020
ec9f644a
IB
100212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10022
10023 * gdb.dlang/demangle.exp: New file.
10024
94b1b47e
IB
100252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10026
10027 * gdb.dlang/primitive-types.exp: New file.
10028
7f420862
IB
100292014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10030
10031 * configure.ac: Create gdb.dlang/Makefile.
10032 * configure: Regenerate.
10033 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10034 * gdb.dlang/Makefile.in: New file.
10035 * lib/d-support.exp: New file.
10036 * lib/gdb.exp (skip_d_tests): New proc.
10037
52834460
MM
100382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10039
10040 * gdb.btrace/delta.exp: Check reverse stepi.
10041 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10042 * gdb.btrace/finish.exp: New.
10043 * gdb.btrace/next.exp: New.
10044 * gdb.btrace/nexti.exp: New.
10045 * gdb.btrace/record_goto.c: Add comments.
10046 * gdb.btrace/step.exp: New.
10047 * gdb.btrace/stepi.exp: New.
10048 * gdb.btrace/multi-thread-step.c: New.
10049 * gdb.btrace/multi-thread-step.exp: New.
10050 * gdb.btrace/rn-dl-bind.c: New.
10051 * gdb.btrace/rn-dl-bind.exp: New.
10052 * gdb.btrace/data.c: New.
10053 * gdb.btrace/data.exp: New.
10054 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10055
6e07b1d2
MM
100562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10057
10058 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10059 * gdb.btrace/exception.exp: Update.
10060 * gdb.btrace/instruction_history.exp: Update.
10061 * gdb.btrace/record_goto.exp: Update.
10062 * gdb.btrace/tailcall.exp: Update.
10063 * gdb.btrace/unknown_functions.exp: Update.
10064 * gdb.btrace/delta.exp: New.
10065
0b722aec
MM
100662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10067
10068 * gdb.btrace/record_goto.exp: Add backtrace test.
10069 * gdb.btrace/tailcall.exp: Add backtrace test.
10070
066ce621
MM
100712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10072
10073 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10074 * gdb.btrace/record_goto.c: New.
10075 * gdb.btrace/record_goto.exp: New.
10076 * gdb.btrace/x86-record_goto.S: New.
10077
0688d04e
MM
100782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10079
10080 * gdb.btrace/function_call_history.exp: Update tests.
10081 * gdb.btrace/instruction_history.exp: Update tests.
10082
8710b709
MM
100832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10084
10085 * gdb.btrace/function_call_history.exp: Fix expected field
10086 order for "record function-call-history".
10087 Add new tests for "record function-call-history /c".
10088 * gdb.btrace/exception.cc: New.
10089 * gdb.btrace/exception.exp: New.
10090 * gdb.btrace/tailcall.exp: New.
10091 * gdb.btrace/x86-tailcall.S: New.
10092 * gdb.btrace/x86-tailcall.c: New.
10093 * gdb.btrace/unknown_functions.c: New.
10094 * gdb.btrace/unknown_functions.exp: New.
10095 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10096
5de9129b
MM
100972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10098
10099 * gdb.btrace/instruction_history.exp: Update.
10100 * gdb.btrace/function_call_history.exp: Update.
10101
23a7fe75
MM
101022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10103
10104 * gdb.btrace/function_call_history.exp: Fix expected function
10105 trace.
10106 * gdb.btrace/instruction_history.exp: Initialize traced.
10107 Remove traced_functions.
10108
724c7dd8
MM
101092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10110
10111 * gdb.btrace/function_call_history.exp: Update
10112 * gdb.btrace/instruction_history.exp: Update.
10113
6d78d93b
MM
101142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10115
10116 * gdb.btrace/enable.exp: Update expected text.
10117
93a360cc
OJ
101182014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10119
10120 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10121 bytes.
10122
3772b53f
MR
101232014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10124
10125 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10126
596662fa
OJ
101272014-01-15 Omair Javaid <omair.javaid@linaro.org>
10128
10129 * lib/gdb.exp (supports_process_record): Return true for
10130 arm*-linux*. (supports_reverse): Likewise.
10131
b5b08fb4
SC
101322014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10133
10134 PR python/15464
10135 PR python/16113
10136 * gdb.python/py-type.c: Enhance test case.
10137 * gdb.python/py-value-cc.cc: Likewise
10138 * gdb.python/py-type.exp: Add new tests.
10139 * gdb.python/py-value-cc.exp: Likewise
10140
52d7fb13
AA
101412014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10142 Pedro Alves <palves@redhat.com>
10143
10144 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10145 Make "name" extern.
10146 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10147 references to ${name}_start by references to ${name}.
10148
a2cd8cfe
JB
101492014-01-10 Joel Brobecker <brobecker@adacore.com>
10150
10151 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10152
4e23fced
JB
101532014-01-10 Joel Brobecker <brobecker@adacore.com>
10154
10155 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10156
c6a9e42c
PA
101572014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10158 Pedro Alves <palves@redhat.com>
10159
10160 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 10161 mi_gdb_target_load.
c6a9e42c 10162
b7ea362b
PA
101632014-01-08 Pedro Alves <palves@redhat.com>
10164
10165 * gdb.threads/reconnect-signal.c: New file.
10166 * gdb.threads/reconnect-signal.exp: New file.
10167
5e3f4fab
EBM
101682014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10169
10170 * gdb.base/source-dir.exp: New file.
10171
79301218
JB
101722014-01-07 Joel Brobecker <brobecker@adacore.com>
10173
10174 * gdb.ada/mi_interface: New testcase.
10175
8e355c5d
JB
101762014-01-07 Joel Brobecker <brobecker@adacore.com>
10177
10178 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10179 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10180 gdb.ada/pp-rec-component/pck.ads: New files.
10181
c0d48811
JB
101822014-01-07 Joel Brobecker <brobecker@adacore.com>
10183
10184 * gdb.python/py-pp-integral.c: New file.
10185 * gdb.python/py-pp-integral.py: New file.
10186 * gdb.python/py-pp-integral.exp: New file.
10187
17b609c3 10188For older changes see ChangeLog-1993-2013.
c906108c 10189\f
8d8cb839
EZ
10190;; Local Variables:
10191;; mode: change-log
10192;; left-margin: 8
10193;; fill-column: 74
10194;; version-control: never
10195;; End:
902f2ccb 10196
618f726f 10197 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
10198 Copying and distribution of this file, with or without modification,
10199 are permitted provided the copyright notice and this notice are preserved.
This page took 4.282453 seconds and 4 git commands to generate.