Test user-defined gdb commands and arguments stack
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ec835369
PA
12016-12-02 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4 New procedure.
5 (top level): Call it.
6
01770bbd
PA
72016-12-02 Pedro Alves <palves@redhat.com>
8
9 PR cli/20559
10 * gdb.base/commands.exp (user_defined_command_args_eval): New
11 procedure.
12 (top level): Call it.
13
008459ea
LM
142016-12-02 Luis Machado <lgustavo@codesourcery.com>
15
16 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
17 timeout handling.
18
0c1b455e
TT
192016-12-02 Tom Tromey <tom@tromey.com>
20
21 * gdb.dwarf2/main-subprogram.c: New file.
22 * gdb.dwarf2/main-subprogram.exp: New file.
23
018572b8
LM
242016-12-01 Luis Machado <lgustavo@codesourcery.com>
25
26 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
27 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
28 gdb_test_no_output for a couple of cases.
29 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
30
84c93cd5
LM
312016-12-01 Luis Machado <lgustavo@codesourcery.com>
32
33 Fix test names and standardize compilation error messages throughout
34 the following files:
35
36 * gdb.ada/start.exp
37 * gdb.arch/alpha-step.exp
38 * gdb.arch/e500-prologue.exp
39 * gdb.arch/ftrace-insn-reloc.exp
40 * gdb.arch/gdb1291.exp
41 * gdb.arch/gdb1431.exp
42 * gdb.arch/gdb1558.exp
43 * gdb.arch/i386-dr3-watch.exp
44 * gdb.arch/i386-sse-stack-align.exp
45 * gdb.arch/ia64-breakpoint-shadow.exp
46 * gdb.arch/pa-nullify.exp
47 * gdb.arch/powerpc-aix-prologue.exp
48 * gdb.arch/thumb-bx-pc.exp
49 * gdb.base/annota1.exp
50 * gdb.base/annota3.exp
51 * gdb.base/arrayidx.exp
52 * gdb.base/assign.exp
53 * gdb.base/attach.exp
54 * gdb.base/auxv.exp
55 * gdb.base/bang.exp
56 * gdb.base/bfp-test.exp
57 * gdb.base/bigcore.exp
58 * gdb.base/bitfields2.exp
59 * gdb.base/break-fun-addr.exp
60 * gdb.base/break-probes.exp
61 * gdb.base/call-rt-st.exp
62 * gdb.base/callexit.exp
63 * gdb.base/catch-fork-kill.exp
64 * gdb.base/charset.exp
65 * gdb.base/checkpoint.exp
66 * gdb.base/comprdebug.exp
67 * gdb.base/constvars.exp
68 * gdb.base/coredump-filter.exp
69 * gdb.base/cursal.exp
70 * gdb.base/cvexpr.exp
71 * gdb.base/detach.exp
72 * gdb.base/display.exp
73 * gdb.base/dmsym.exp
74 * gdb.base/dprintf-pending.exp
75 * gdb.base/dso2dso.exp
76 * gdb.base/dtrace-probe.exp
77 * gdb.base/dump.exp
78 * gdb.base/enum_cond.exp
79 * gdb.base/exe-lock.exp
80 * gdb.base/exec-invalid-sysroot.exp
81 * gdb.base/execl-update-breakpoints.exp
82 * gdb.base/exprs.exp
83 * gdb.base/fileio.exp
84 * gdb.base/find.exp
85 * gdb.base/finish.exp
86 * gdb.base/fixsection.exp
87 * gdb.base/foll-vfork.exp
88 * gdb.base/frame-args.exp
89 * gdb.base/gcore.exp
90 * gdb.base/gdb1250.exp
91 * gdb.base/global-var-nested-by-dso.exp
92 * gdb.base/gnu-ifunc.exp
93 * gdb.base/hashline1.exp
94 * gdb.base/hashline2.exp
95 * gdb.base/hashline3.exp
96 * gdb.base/hbreak-in-shr-unsupported.exp
97 * gdb.base/huge.exp
98 * gdb.base/infcall-input.exp
99 * gdb.base/info-fun.exp
100 * gdb.base/info-shared.exp
101 * gdb.base/jit-simple.exp
102 * gdb.base/jit-so.exp
103 * gdb.base/jit.exp
104 * gdb.base/jump.exp
105 * gdb.base/label.exp
106 * gdb.base/lineinc.exp
107 * gdb.base/logical.exp
108 * gdb.base/longjmp.exp
109 * gdb.base/macscp.exp
110 * gdb.base/miscexprs.exp
111 * gdb.base/new-ui-echo.exp
112 * gdb.base/new-ui-pending-input.exp
113 * gdb.base/new-ui.exp
114 * gdb.base/nodebug.exp
115 * gdb.base/nofield.exp
116 * gdb.base/offsets.exp
117 * gdb.base/overlays.exp
118 * gdb.base/pending.exp
119 * gdb.base/pointers.exp
120 * gdb.base/pr11022.exp
121 * gdb.base/printcmds.exp
122 * gdb.base/prologue.exp
123 * gdb.base/ptr-typedef.exp
124 * gdb.base/realname-expand.exp
125 * gdb.base/relativedebug.exp
126 * gdb.base/relocate.exp
127 * gdb.base/remote.exp
128 * gdb.base/reread.exp
129 * gdb.base/return2.exp
130 * gdb.base/savedregs.exp
131 * gdb.base/sep.exp
132 * gdb.base/sepdebug.exp
133 * gdb.base/sepsymtab.exp
134 * gdb.base/set-inferior-tty.exp
135 * gdb.base/setshow.exp
136 * gdb.base/shlib-call.exp
137 * gdb.base/sigaltstack.exp
138 * gdb.base/siginfo-addr.exp
139 * gdb.base/signals.exp
140 * gdb.base/signull.exp
141 * gdb.base/sigrepeat.exp
142 * gdb.base/so-impl-ld.exp
143 * gdb.base/solib-display.exp
144 * gdb.base/solib-overlap.exp
145 * gdb.base/solib-search.exp
146 * gdb.base/solib-symbol.exp
147 * gdb.base/structs.exp
148 * gdb.base/structs2.exp
149 * gdb.base/symtab-search-order.exp
150 * gdb.base/twice.exp
151 * gdb.base/unload.exp
152 * gdb.base/varargs.exp
153 * gdb.base/watchpoint-solib.exp
154 * gdb.base/watchpoint.exp
155 * gdb.base/whatis.exp
156 * gdb.base/wrong_frame_bt_full.exp
157 * gdb.btrace/dlopen.exp
158 * gdb.cell/ea-standalone.exp
159 * gdb.cell/ea-test.exp
160 * gdb.cp/dispcxx.exp
161 * gdb.cp/gdb2384.exp
162 * gdb.cp/method2.exp
163 * gdb.cp/nextoverthrow.exp
164 * gdb.cp/pr10728.exp
165 * gdb.disasm/am33.exp
166 * gdb.disasm/h8300s.exp
167 * gdb.disasm/mn10300.exp
168 * gdb.disasm/sh3.exp
169 * gdb.dwarf2/dw2-dir-file-name.exp
170 * gdb.fortran/complex.exp
171 * gdb.fortran/library-module.exp
172 * gdb.guile/scm-pretty-print.exp
173 * gdb.guile/scm-symbol.exp
174 * gdb.guile/scm-type.exp
175 * gdb.guile/scm-value.exp
176 * gdb.linespec/linespec.exp
177 * gdb.mi/gdb701.exp
178 * gdb.mi/gdb792.exp
179 * gdb.mi/mi-breakpoint-changed.exp
180 * gdb.mi/mi-dprintf-pending.exp
181 * gdb.mi/mi-dprintf.exp
182 * gdb.mi/mi-exit-code.exp
183 * gdb.mi/mi-pending.exp
184 * gdb.mi/mi-solib.exp
185 * gdb.mi/new-ui-mi-sync.exp
186 * gdb.mi/pr11022.exp
187 * gdb.mi/user-selected-context-sync.exp
188 * gdb.opt/solib-intra-step.exp
189 * gdb.python/py-events.exp
190 * gdb.python/py-finish-breakpoint.exp
191 * gdb.python/py-mi.exp
192 * gdb.python/py-prettyprint.exp
193 * gdb.python/py-shared.exp
194 * gdb.python/py-symbol.exp
195 * gdb.python/py-template.exp
196 * gdb.python/py-type.exp
197 * gdb.python/py-value.exp
198 * gdb.reverse/solib-precsave.exp
199 * gdb.reverse/solib-reverse.exp
200 * gdb.server/solib-list.exp
201 * gdb.stabs/weird.exp
202 * gdb.threads/reconnect-signal.exp
203 * gdb.threads/stepi-random-signal.exp
204 * gdb.trace/actions.exp
205 * gdb.trace/ax.exp
206 * gdb.trace/backtrace.exp
207 * gdb.trace/change-loc.exp
208 * gdb.trace/deltrace.exp
209 * gdb.trace/ftrace-lock.exp
210 * gdb.trace/ftrace.exp
211 * gdb.trace/infotrace.exp
212 * gdb.trace/mi-tracepoint-changed.exp
213 * gdb.trace/packetlen.exp
214 * gdb.trace/passcount.exp
215 * gdb.trace/pending.exp
216 * gdb.trace/range-stepping.exp
217 * gdb.trace/report.exp
218 * gdb.trace/stap-trace.exp
219 * gdb.trace/tfind.exp
220 * gdb.trace/trace-break.exp
221 * gdb.trace/trace-condition.exp
222 * gdb.trace/trace-enable-disable.exp
223 * gdb.trace/trace-mt.exp
224 * gdb.trace/tracecmd.exp
225 * gdb.trace/tspeed.exp
226 * gdb.trace/tsv.exp
227 * lib/perftest.exp
228
fb9feb35
LM
2292016-12-01 Luis Machado <lgustavo@codesourcery.com>
230
231 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
232 with gdb_test_no_output.
233 Use command as test name.
234
cd2ddb6c
LM
2352016-12-01 Luis Machado <lgustavo@codesourcery.com>
236
237 Fix test names starting with uppercase throughout the files.
238
239 * gdb.ada/assign_1.exp
240 * gdb.ada/boolean_expr.exp
241 * gdb.base/arrayidx.exp
242 * gdb.base/del.exp
243 * gdb.base/gcore-buffer-overflow.exp
244 * gdb.base/testenv.exp
245 * gdb.compile/compile.exp
246 * gdb.python/py-framefilter-invalidarg.exp
247 * gdb.python/py-framefilter.exp
248
bb95117e
LM
2492016-12-01 Luis Machado <lgustavo@codesourcery.com>
250
251 Fix test names starting with uppercase throughout the files.
252
253 * gdb.ada/array_return.exp
254 * gdb.ada/expr_delims.exp
255 * gdb.ada/mi_dyn_arr.exp
256 * gdb.ada/mi_interface.exp
257 * gdb.ada/mi_var_array.exp
258 * gdb.ada/watch_arg.exp
259 * gdb.arch/alpha-step.exp
260 * gdb.arch/altivec-regs.exp
261 * gdb.arch/e500-regs.exp
262 * gdb.arch/powerpc-d128-regs.exp
263 * gdb.base/arrayidx.exp
264 * gdb.base/break.exp
265 * gdb.base/checkpoint.exp
266 * gdb.base/debug-expr.exp
267 * gdb.base/dmsym.exp
268 * gdb.base/radix.exp
269 * gdb.base/sepdebug.exp
270 * gdb.base/testenv.exp
271 * gdb.base/watch_thread_num.exp
272 * gdb.base/watchpoint-cond-gone.exp
273 * gdb.cell/break.exp
274 * gdb.cell/ea-cache.exp
275 * gdb.compile/compile.exp
276 * gdb.cp/gdb2495.exp
277 * gdb.gdb/selftest.exp
278 * gdb.gdb/xfullpath.exp
279 * gdb.go/hello.exp
280 * gdb.go/integers.exp
281 * gdb.objc/basicclass.exp
282 * gdb.pascal/hello.exp
283 * gdb.pascal/integers.exp
284 * gdb.python/py-breakpoint.exp
285 * gdb.python/py-cmd.exp
286 * gdb.python/py-linetable.exp
287 * gdb.python/py-xmethods.exp
288 * gdb.python/python.exp
289 * gdb.reverse/consecutive-precsave.exp
290 * gdb.reverse/finish-precsave.exp
291 * gdb.reverse/i386-precsave.exp
292 * gdb.reverse/machinestate-precsave.exp
293 * gdb.reverse/sigall-precsave.exp
294 * gdb.reverse/solib-precsave.exp
295 * gdb.reverse/step-precsave.exp
296 * gdb.reverse/until-precsave.exp
297 * gdb.reverse/watch-precsave.exp
298 * gdb.threads/leader-exit.exp
299 * gdb.threads/pthreads.exp
300 * gdb.threads/wp-replication.exp
301 * gdb.trace/actions.exp
302 * gdb.trace/mi-tsv-changed.exp
303 * gdb.trace/tsv.exp
304
de97fdd4
LM
3052016-12-01 Luis Machado <lgustavo@codesourcery.com>
306
307 Fix test names starting with uppercase throughout the files.
308
309 * gdb.arch/i386-bp_permanent.exp
310 * gdb.arch/i386-gnu-cfi.exp
311 * gdb.base/disasm-end-cu.exp
312 * gdb.base/macscp.exp
313 * gdb.base/pending.exp
314 * gdb.base/watch_thread_num.exp
315 * gdb.cp/exception.exp
316 * gdb.cp/gdb2495.exp
317 * gdb.cp/local.exp
318 * gdb.python/py-evsignal.exp
319 * gdb.python/python.exp
320 * gdb.trace/tracecmd.exp
321
9f058c10
LM
3222016-12-01 Luis Machado <lgustavo@codesourcery.com>
323
324 Fix test names starting with uppercase throughout the files.
325
326 * gdb.base/charset.exp
327 * gdb.base/eval.exp
328 * gdb.base/multi-forks.exp
329 * gdb.guile/scm-progspace.exp
330 * gdb.opencl/datatypes.exp
331 * gdb.python/py-block.exp
332 * gdb.python/py-function.exp
333 * gdb.python/py-symbol.exp
334 * gdb.python/py-symtab.exp
335 * gdb.python/py-xmethods.exp
336 * gdb.reverse/break-precsave.exp
337 * gdb.reverse/break-reverse.exp
338 * gdb.reverse/consecutive-precsave.exp
339 * gdb.reverse/consecutive-reverse.exp
340 * gdb.reverse/finish-precsave.exp
341 * gdb.reverse/finish-reverse-bkpt.exp
342 * gdb.reverse/finish-reverse.exp
343 * gdb.reverse/fstatat-reverse.exp
344 * gdb.reverse/getresuid-reverse.exp
345 * gdb.reverse/i386-precsave.exp
346 * gdb.reverse/i386-reverse.exp
347 * gdb.reverse/i386-sse-reverse.exp
348 * gdb.reverse/i387-stack-reverse.exp
349 * gdb.reverse/insn-reverse.exp
350 * gdb.reverse/machinestate-precsave.exp
351 * gdb.reverse/machinestate.exp
352 * gdb.reverse/next-reverse-bkpt-over-sr.exp
353 * gdb.reverse/pipe-reverse.exp
354 * gdb.reverse/readv-reverse.exp
355 * gdb.reverse/recvmsg-reverse.exp
356 * gdb.reverse/rerun-prec.exp
357 * gdb.reverse/s390-mvcle.exp
358 * gdb.reverse/sigall-precsave.exp
359 * gdb.reverse/sigall-reverse.exp
360 * gdb.reverse/solib-precsave.exp
361 * gdb.reverse/solib-reverse.exp
362 * gdb.reverse/step-precsave.exp
363 * gdb.reverse/step-reverse.exp
364 * gdb.reverse/time-reverse.exp
365 * gdb.reverse/until-precsave.exp
366 * gdb.reverse/until-reverse.exp
367 * gdb.reverse/waitpid-reverse.exp
368 * gdb.reverse/watch-precsave.exp
369 * gdb.reverse/watch-reverse.exp
370
cdc7edd7
LM
3712016-12-01 Luis Machado <lgustavo@codesourcery.com>
372
373 Fix test names starting with uppercase throughout the files.
374
375 * gdb.arch/i386-mpx-simple_segv.exp
376 * gdb.arch/i386-mpx.exp
377 * gdb.arch/i386-permbkpt.exp
378 * gdb.arch/pa-nullify.exp
379 * gdb.arch/powerpc-d128-regs.exp
380 * gdb.arch/vsx-regs.exp
381 * gdb.base/bfp-test.exp
382 * gdb.base/break.exp
383 * gdb.base/breakpoint-shadow.exp
384 * gdb.base/callfuncs.exp
385 * gdb.base/charset.exp
386 * gdb.base/commands.exp
387 * gdb.base/completion.exp
388 * gdb.base/dfp-test.exp
389 * gdb.base/echo.exp
390 * gdb.base/ending-run.exp
391 * gdb.base/eval.exp
392 * gdb.base/expand-psymtabs.exp
393 * gdb.base/float128.exp
394 * gdb.base/floatn.exp
395 * gdb.base/foll-exec-mode.exp
396 * gdb.base/gdb1056.exp
397 * gdb.base/gdb11531.exp
398 * gdb.base/kill-after-signal.exp
399 * gdb.base/multi-forks.exp
400 * gdb.base/overlays.exp
401 * gdb.base/pending.exp
402 * gdb.base/sepdebug.exp
403 * gdb.base/testenv.exp
404 * gdb.base/valgrind-db-attach.exp
405 * gdb.base/watch_thread_num.exp
406 * gdb.base/watchpoint-cond-gone.exp
407 * gdb.base/watchpoint.exp
408 * gdb.base/watchpoints.exp
409 * gdb.cp/arg-reference.exp
410 * gdb.cp/baseenum.exp
411 * gdb.cp/operator.exp
412 * gdb.cp/shadow.exp
413 * gdb.dwarf2/dw2-op-out-param.exp
414 * gdb.dwarf2/dw2-reg-undefined.exp
415 * gdb.go/chan.exp
416 * gdb.go/hello.exp
417 * gdb.go/integers.exp
418 * gdb.go/methods.exp
419 * gdb.go/package.exp
420 * gdb.guile/scm-parameter.exp
421 * gdb.guile/scm-progspace.exp
422 * gdb.guile/scm-value.exp
423 * gdb.mi/mi-pending.exp
424 * gdb.mi/user-selected-context-sync.exp
425 * gdb.multi/multi-attach.exp
426 * gdb.multi/tids.exp
427 * gdb.opt/clobbered-registers-O2.exp
428 * gdb.pascal/floats.exp
429 * gdb.pascal/integers.exp
430 * gdb.python/py-block.exp
431 * gdb.python/py-events.exp
432 * gdb.python/py-parameter.exp
433 * gdb.python/py-symbol.exp
434 * gdb.python/py-symtab.exp
435 * gdb.python/py-type.exp
436 * gdb.python/py-value.exp
437 * gdb.python/py-xmethods.exp
438 * gdb.python/python.exp
439 * gdb.reverse/break-precsave.exp
440 * gdb.reverse/consecutive-precsave.exp
441 * gdb.reverse/finish-precsave.exp
442 * gdb.reverse/i386-precsave.exp
443 * gdb.reverse/machinestate-precsave.exp
444 * gdb.reverse/sigall-precsave.exp
445 * gdb.reverse/solib-precsave.exp
446 * gdb.reverse/step-precsave.exp
447 * gdb.reverse/until-precsave.exp
448 * gdb.reverse/watch-precsave.exp
449 * gdb.server/ext-attach.exp
450 * gdb.server/ext-restart.exp
451 * gdb.server/ext-run.exp
452 * gdb.server/ext-wrapper.exp
453 * gdb.stabs/gdb11479.exp
454 * gdb.stabs/weird.exp
455 * gdb.threads/attach-many-short-lived-threads.exp
456 * gdb.threads/kill.exp
457 * gdb.threads/watchpoint-fork.exp
458
bc6c7af4
LM
4592016-12-01 Luis Machado <lgustavo@codesourcery.com>
460
461 Fix test names starting with uppercase throughout all the files below.
462
463 * gdb.ada/array_return.exp
464 * gdb.ada/catch_ex.exp
465 * gdb.ada/info_exc.exp
466 * gdb.ada/mi_catch_ex.exp
467 * gdb.ada/mi_dyn_arr.exp
468 * gdb.ada/mi_ex_cond.exp
469 * gdb.ada/mi_exc_info.exp
470 * gdb.ada/mi_interface.exp
471 * gdb.ada/mi_task_arg.exp
472 * gdb.ada/mi_task_info.exp
473 * gdb.ada/mi_var_array.exp
474 * gdb.arch/alpha-step.exp
475 * gdb.arch/amd64-disp-step.exp
476 * gdb.arch/arm-disp-step.exp
477 * gdb.arch/disp-step-insn-reloc.exp
478 * gdb.arch/e500-prologue.exp
479 * gdb.arch/ftrace-insn-reloc.exp
480 * gdb.arch/gdb1558.exp
481 * gdb.arch/i386-bp_permanent.exp
482 * gdb.arch/i386-disp-step.exp
483 * gdb.arch/i386-float.exp
484 * gdb.arch/i386-gnu-cfi.exp
485 * gdb.arch/ia64-breakpoint-shadow.exp
486 * gdb.arch/mips16-thunks.exp
487 * gdb.arch/pa-nullify.exp
488 * gdb.arch/powerpc-aix-prologue.exp
489 * gdb.arch/powerpc-power.exp
490 * gdb.arch/ppc-dfp.exp
491 * gdb.arch/s390-tdbregs.exp
492 * gdb.arch/spu-info.exp
493 * gdb.arch/spu-ls.exp
494 * gdb.arch/thumb-bx-pc.exp
495 * gdb.base/advance.exp
496 * gdb.base/annota-input-while-running.exp
497 * gdb.base/arrayidx.exp
498 * gdb.base/asmlabel.exp
499 * gdb.base/async.exp
500 * gdb.base/attach-wait-input.exp
501 * gdb.base/auto-connect-native-target.exp
502 * gdb.base/batch-preserve-term-settings.exp
503 * gdb.base/bfp-test.exp
504 * gdb.base/bigcore.exp
505 * gdb.base/bp-permanent.exp
506 * gdb.base/break-always.exp
507 * gdb.base/break-fun-addr.exp
508 * gdb.base/break-idempotent.exp
509 * gdb.base/break-main-file-remove-fail.exp
510 * gdb.base/break-probes.exp
511 * gdb.base/break-unload-file.exp
512 * gdb.base/break.exp
513 * gdb.base/call-ar-st.exp
514 * gdb.base/call-rt-st.exp
515 * gdb.base/call-sc.exp
516 * gdb.base/call-signal-resume.exp
517 * gdb.base/call-strs.exp
518 * gdb.base/callexit.exp
519 * gdb.base/callfuncs.exp
520 * gdb.base/catch-gdb-caused-signals.exp
521 * gdb.base/catch-signal-siginfo-cond.exp
522 * gdb.base/catch-syscall.exp
523 * gdb.base/compare-sections.exp
524 * gdb.base/cond-eval-mode.exp
525 * gdb.base/condbreak-call-false.exp
526 * gdb.base/consecutive-step-over.exp
527 * gdb.base/cursal.exp
528 * gdb.base/disabled-location.exp
529 * gdb.base/disasm-end-cu.exp
530 * gdb.base/display.exp
531 * gdb.base/double-prompt-target-event-error.exp
532 * gdb.base/dprintf-bp-same-addr.exp
533 * gdb.base/dprintf-detach.exp
534 * gdb.base/dprintf-next.exp
535 * gdb.base/dprintf-non-stop.exp
536 * gdb.base/dprintf-pending.exp
537 * gdb.base/dso2dso.exp
538 * gdb.base/ending-run.exp
539 * gdb.base/enum_cond.exp
540 * gdb.base/examine-backward.exp
541 * gdb.base/exe-lock.exp
542 * gdb.base/exec-invalid-sysroot.exp
543 * gdb.base/execl-update-breakpoints.exp
544 * gdb.base/execution-termios.exp
545 * gdb.base/fileio.exp
546 * gdb.base/fixsection.exp
547 * gdb.base/foll-exec-mode.exp
548 * gdb.base/foll-exec.exp
549 * gdb.base/fork-running-state.exp
550 * gdb.base/frame-args.exp
551 * gdb.base/fullpath-expand.exp
552 * gdb.base/func-ptr.exp
553 * gdb.base/gcore-relro-pie.exp
554 * gdb.base/gdb1090.exp
555 * gdb.base/gdb1555.exp
556 * gdb.base/global-var-nested-by-dso.exp
557 * gdb.base/gnu-ifunc.exp
558 * gdb.base/hbreak-in-shr-unsupported.exp
559 * gdb.base/hbreak-unmapped.exp
560 * gdb.base/hook-stop.exp
561 * gdb.base/infcall-input.exp
562 * gdb.base/info-fun.exp
563 * gdb.base/info-shared.exp
564 * gdb.base/interrupt-noterm.exp
565 * gdb.base/jit-so.exp
566 * gdb.base/jit.exp
567 * gdb.base/line-symtabs.exp
568 * gdb.base/list.exp
569 * gdb.base/longjmp.exp
570 * gdb.base/macscp.exp
571 * gdb.base/max-value-size.exp
572 * gdb.base/nodebug.exp
573 * gdb.base/nofield.exp
574 * gdb.base/overlays.exp
575 * gdb.base/paginate-after-ctrl-c-running.exp
576 * gdb.base/paginate-bg-execution.exp
577 * gdb.base/paginate-inferior-exit.exp
578 * gdb.base/pending.exp
579 * gdb.base/pr11022.exp
580 * gdb.base/printcmds.exp
581 * gdb.base/ptr-typedef.exp
582 * gdb.base/ptype.exp
583 * gdb.base/randomize.exp
584 * gdb.base/range-stepping.exp
585 * gdb.base/realname-expand.exp
586 * gdb.base/relativedebug.exp
587 * gdb.base/remote.exp
588 * gdb.base/savedregs.exp
589 * gdb.base/sepdebug.exp
590 * gdb.base/set-noassign.exp
591 * gdb.base/shlib-call.exp
592 * gdb.base/shreloc.exp
593 * gdb.base/sigaltstack.exp
594 * gdb.base/sigbpt.exp
595 * gdb.base/siginfo-addr.exp
596 * gdb.base/siginfo-obj.exp
597 * gdb.base/siginfo-thread.exp
598 * gdb.base/signest.exp
599 * gdb.base/signull.exp
600 * gdb.base/sigrepeat.exp
601 * gdb.base/skip.exp
602 * gdb.base/so-impl-ld.exp
603 * gdb.base/solib-corrupted.exp
604 * gdb.base/solib-disc.exp
605 * gdb.base/solib-display.exp
606 * gdb.base/solib-overlap.exp
607 * gdb.base/solib-search.exp
608 * gdb.base/solib-symbol.exp
609 * gdb.base/source-execution.exp
610 * gdb.base/sss-bp-on-user-bp-2.exp
611 * gdb.base/sss-bp-on-user-bp.exp
612 * gdb.base/stack-checking.exp
613 * gdb.base/stale-infcall.exp
614 * gdb.base/step-break.exp
615 * gdb.base/step-line.exp
616 * gdb.base/step-over-exit.exp
617 * gdb.base/step-test.exp
618 * gdb.base/structs.exp
619 * gdb.base/sym-file.exp
620 * gdb.base/symtab-search-order.exp
621 * gdb.base/term.exp
622 * gdb.base/type-opaque.exp
623 * gdb.base/unload.exp
624 * gdb.base/until-nodebug.exp
625 * gdb.base/until.exp
626 * gdb.base/unwindonsignal.exp
627 * gdb.base/watch-cond.exp
628 * gdb.base/watch-non-mem.exp
629 * gdb.base/watch_thread_num.exp
630 * gdb.base/watchpoint-reuse-slot.exp
631 * gdb.base/watchpoint-solib.exp
632 * gdb.base/watchpoint.exp
633 * gdb.btrace/dlopen.exp
634 * gdb.cell/arch.exp
635 * gdb.cell/break.exp
636 * gdb.cell/bt.exp
637 * gdb.cell/core.exp
638 * gdb.cell/data.exp
639 * gdb.cell/dwarfaddr.exp
640 * gdb.cell/ea-cache.exp
641 * gdb.cell/ea-standalone.exp
642 * gdb.cell/ea-test.exp
643 * gdb.cell/f-regs.exp
644 * gdb.cell/fork.exp
645 * gdb.cell/gcore.exp
646 * gdb.cell/mem-access.exp
647 * gdb.cell/ptype.exp
648 * gdb.cell/registers.exp
649 * gdb.cell/sizeof.exp
650 * gdb.cell/solib-symbol.exp
651 * gdb.cell/solib.exp
652 * gdb.compile/compile-tls.exp
653 * gdb.cp/exception.exp
654 * gdb.cp/gdb2495.exp
655 * gdb.cp/local.exp
656 * gdb.cp/mb-inline.exp
657 * gdb.cp/mb-templates.exp
658 * gdb.cp/pr10687.exp
659 * gdb.cp/pr9167.exp
660 * gdb.cp/scope-err.exp
661 * gdb.cp/templates.exp
662 * gdb.cp/virtfunc.exp
663 * gdb.dwarf2/dw2-dir-file-name.exp
664 * gdb.dwarf2/dw2-single-line-discriminators.exp
665 * gdb.fortran/complex.exp
666 * gdb.fortran/library-module.exp
667 * gdb.guile/guile.exp
668 * gdb.guile/scm-cmd.exp
669 * gdb.guile/scm-frame-inline.exp
670 * gdb.guile/scm-objfile.exp
671 * gdb.guile/scm-pretty-print.exp
672 * gdb.guile/scm-symbol.exp
673 * gdb.guile/scm-type.exp
674 * gdb.guile/scm-value.exp
675 * gdb.linespec/keywords.exp
676 * gdb.linespec/ls-errs.exp
677 * gdb.linespec/macro-relative.exp
678 * gdb.linespec/thread.exp
679 * gdb.mi/mi-breakpoint-changed.exp
680 * gdb.mi/mi-dprintf-pending.exp
681 * gdb.mi/mi-fullname-deleted.exp
682 * gdb.mi/mi-logging.exp
683 * gdb.mi/mi-pending.exp
684 * gdb.mi/mi-solib.exp
685 * gdb.mi/new-ui-mi-sync.exp
686 * gdb.mi/user-selected-context-sync.exp
687 * gdb.multi/dummy-frame-restore.exp
688 * gdb.multi/multi-arch-exec.exp
689 * gdb.multi/remove-inferiors.exp
690 * gdb.multi/watchpoint-multi-exit.exp
691 * gdb.opt/solib-intra-step.exp
692 * gdb.perf/backtrace.exp
693 * gdb.perf/single-step.exp
694 * gdb.perf/skip-command.exp
695 * gdb.perf/skip-prologue.exp
696 * gdb.perf/solib.exp
697 * gdb.python/lib-types.exp
698 * gdb.python/py-as-string.exp
699 * gdb.python/py-bad-printers.exp
700 * gdb.python/py-block.exp
701 * gdb.python/py-breakpoint.exp
702 * gdb.python/py-cmd.exp
703 * gdb.python/py-events.exp
704 * gdb.python/py-evthreads.exp
705 * gdb.python/py-finish-breakpoint.exp
706 * gdb.python/py-finish-breakpoint2.exp
707 * gdb.python/py-frame-inline.exp
708 * gdb.python/py-frame.exp
709 * gdb.python/py-inferior.exp
710 * gdb.python/py-infthread.exp
711 * gdb.python/py-mi.exp
712 * gdb.python/py-objfile.exp
713 * gdb.python/py-pp-maint.exp
714 * gdb.python/py-pp-registration.exp
715 * gdb.python/py-prettyprint.exp
716 * gdb.python/py-recurse-unwind.exp
717 * gdb.python/py-shared.exp
718 * gdb.python/py-symbol.exp
719 * gdb.python/py-symtab.exp
720 * gdb.python/py-template.exp
721 * gdb.python/py-type.exp
722 * gdb.python/py-unwind-maint.exp
723 * gdb.python/py-unwind.exp
724 * gdb.python/py-value.exp
725 * gdb.python/python.exp
726 * gdb.reverse/finish-reverse-bkpt.exp
727 * gdb.reverse/insn-reverse.exp
728 * gdb.reverse/next-reverse-bkpt-over-sr.exp
729 * gdb.reverse/solib-precsave.exp
730 * gdb.reverse/solib-reverse.exp
731 * gdb.stabs/gdb11479.exp
732 * gdb.stabs/weird.exp
733 * gdb.threads/fork-child-threads.exp
734 * gdb.threads/fork-plus-threads.exp
735 * gdb.threads/fork-thread-pending.exp
736 * gdb.threads/forking-threads-plus-breakpoint.exp
737 * gdb.threads/hand-call-in-threads.exp
738 * gdb.threads/interrupted-hand-call.exp
739 * gdb.threads/linux-dp.exp
740 * gdb.threads/local-watch-wrong-thread.exp
741 * gdb.threads/next-while-other-thread-longjmps.exp
742 * gdb.threads/non-ldr-exit.exp
743 * gdb.threads/pending-step.exp
744 * gdb.threads/print-threads.exp
745 * gdb.threads/process-dies-while-detaching.exp
746 * gdb.threads/process-dies-while-handling-bp.exp
747 * gdb.threads/pthreads.exp
748 * gdb.threads/queue-signal.exp
749 * gdb.threads/reconnect-signal.exp
750 * gdb.threads/signal-command-handle-nopass.exp
751 * gdb.threads/signal-command-multiple-signals-pending.exp
752 * gdb.threads/signal-delivered-right-thread.exp
753 * gdb.threads/signal-sigtrap.exp
754 * gdb.threads/sigthread.exp
755 * gdb.threads/staticthreads.exp
756 * gdb.threads/stepi-random-signal.exp
757 * gdb.threads/thread-unwindonsignal.exp
758 * gdb.threads/thread_check.exp
759 * gdb.threads/thread_events.exp
760 * gdb.threads/tid-reuse.exp
761 * gdb.threads/tls-nodebug.exp
762 * gdb.threads/tls-shared.exp
763 * gdb.threads/tls-so_extern.exp
764 * gdb.threads/tls.exp
765 * gdb.threads/wp-replication.exp
766 * gdb.trace/actions-changed.exp
767 * gdb.trace/actions.exp
768 * gdb.trace/backtrace.exp
769 * gdb.trace/change-loc.exp
770 * gdb.trace/collection.exp
771 * gdb.trace/deltrace.exp
772 * gdb.trace/disconnected-tracing.exp
773 * gdb.trace/entry-values.exp
774 * gdb.trace/ftrace-lock.exp
775 * gdb.trace/ftrace.exp
776 * gdb.trace/infotrace.exp
777 * gdb.trace/mi-trace-frame-collected.exp
778 * gdb.trace/mi-trace-unavailable.exp
779 * gdb.trace/mi-traceframe-changed.exp
780 * gdb.trace/mi-tracepoint-changed.exp
781 * gdb.trace/mi-tsv-changed.exp
782 * gdb.trace/no-attach-trace.exp
783 * gdb.trace/packetlen.exp
784 * gdb.trace/passc-dyn.exp
785 * gdb.trace/passcount.exp
786 * gdb.trace/pending.exp
787 * gdb.trace/pr16508.exp
788 * gdb.trace/qtro.exp
789 * gdb.trace/range-stepping.exp
790 * gdb.trace/read-memory.exp
791 * gdb.trace/report.exp
792 * gdb.trace/save-trace.exp
793 * gdb.trace/signal.exp
794 * gdb.trace/stap-trace.exp
795 * gdb.trace/status-stop.exp
796 * gdb.trace/strace.exp
797 * gdb.trace/tfile.exp
798 * gdb.trace/tfind.exp
799 * gdb.trace/trace-break.exp
800 * gdb.trace/trace-condition.exp
801 * gdb.trace/trace-enable-disable.exp
802 * gdb.trace/trace-mt.exp
803 * gdb.trace/tracecmd.exp
804 * gdb.trace/tracefile-pseudo-reg.exp
805 * gdb.trace/tspeed.exp
806 * gdb.trace/tstatus.exp
807 * gdb.trace/tsv.exp
808 * gdb.trace/unavailable.exp
809 * gdb.trace/while-dyn.exp
810 * gdb.trace/while-stepping.exp
811 * lib/gdb-guile.exp
812 * lib/gdb.exp
813 * lib/mi-support.exp
814 * lib/pascal.exp
815 * lib/perftest.exp
816 * lib/prelink-support.exp
817 * lib/selftest-support.exp
818
ad02e4fe
SM
8192016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
820
821 * Makefile.in: Include disable-implicit-rules.mk.
822
22347e55
AA
8232016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
824
825 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
826 non-byte-aligned bit fields.
827
da5b30da
AA
8282016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
829
830 PR gdb/12616
831 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
832 respects the DW_AT_data_bit_offset attribute.
833
b593ecca
SM
8342016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
835
836 * gdb.base/default.exp: Fix output of "set language".
837
3b165252
SM
8382016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
839
840 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
841 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
842 make.
843 * configure.ac: Remove checks for the make program.
844 * configure: Re-generate.
845
1a2f3d7f
KB
8462016-11-16 Kevin Buettner <kevinb@redhat.com>
847
848 * gdb.python/py-recurse-unwind.c (main): Add loop.
849 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
850 to read_register() and gdb.parse_and_eval(). Make each code
851 call a separate case that can be individually tested.
852 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
853 proc. Call cont_and_backtrace for each of the code paths that
854 we want to test in the unwinder.
855
b7f38fda
AA
8562016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
857
858 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
859 the definition of struct S.
860
1f8db343
CM
8612016-11-11 Catherine Moore <clm@codesourcery.com>
862
863 * gdb.base/dump.exp: Identify verilog format dump tests as such.
864
fad0c9fb
PA
8652016-11-09 Pedro Alves <palves@redhat.com>
866
867 * gdb.base/commands.exp (runto_or_return): New procedure.
868 (gdbvar_simple_if_test, gdbvar_simple_while_test)
869 (gdbvar_complex_if_while_test, progvar_simple_if_test)
870 (progvar_simple_while_test, progvar_complex_if_while_test)
871 (if_while_breakpoint_command_test)
872 (infrun_breakpoint_command_test, breakpoint_command_test)
873 (user_defined_command_test, watchpoint_command_test)
874 (test_command_prompt_position, redefine_hook_test)
875 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
876 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
877 multi_line_input and multi_line. Remove gdb_expect and
878 gdb_stop_suppressing_tests uses.
879 * lib/gdb.exp (valnum_re): New global.
880 (multi_line_input): New procedure.
881
8354c62c
SM
8822016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
883
884 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
885 Remove.
886 (test_setup): Define with proc_with_prefix.
887 (test_cli_inferior): Likewise.
888 (test_cli_thread): Likewise.
889 (test_cli_frame): Likewise.
890 (test_cli_select_frame): Likewise.
891 (test_cli_up_down): Likewise.
892 (test_mi_thread_select): Likewise.
893 (test_mi_stack_select_frame): Likewise.
894 (test_cli_in_mi_inferior): Likewise.
895 (test_cli_in_mi_thread): Likewise.
896 (test_cli_in_mi_frame): Likewise.
897 (top level): Do not use with_test_prefix_procname.
898
64f367a2
PA
8992016-11-09 Pedro Alves <palves@redhat.com>
900
901 * gdb.base/commands.exp (gdbvar_simple_if_test)
902 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
903 (progvar_simple_if_test, progvar_simple_while_test)
904 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
905 (infrun_breakpoint_command_test, breakpoint_command_test)
906 (user_defined_command_test, watchpoint_command_test)
907 (test_command_prompt_position, deprecated_command_test)
908 (bp_deleted_in_command, temporary_breakpoint_commands)
909 (stray_arg0_test, source_file_with_indented_comment)
910 (recursive_source_test, if_commands_test)
911 (error_clears_commands_left, redefine_hook_test)
912 (redefine_backtrace_test): Use proc_with_prefix.
913 * lib/gdb.exp (proc_with_prefix): New proc.
914
0bb65f1e
AA
9152016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
916
917 * gdb.base/tui-layout.c: New file.
918 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
919 disassembly window contains very long lines.
920
7353f247
TT
9212016-11-08 Tom Tromey <tom@tromey.com>
922
923 * gdb.python/py-value.exp (test_value_creation): Make "long" test
924 depend on Python 2.
925
30a7bb83
TT
9262016-11-08 Tom Tromey <tom@tromey.com>
927
928 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
929 New method.
930
cdf5a07c
MG
9312016-10-29 Manish Goregaokar <manish@mozilla.com>
932
2806dc7e 933 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 934
51a789c3
MG
9352016-10-27 Manish Goregaokar <manish@mozilla.com>
936
2806dc7e
PA
937 * gdb.rust/simple.rs: Add test for univariant enums without
938 discriminants and for encoded struct-like enums.
51a789c3 939
f610ab6d
PA
9402016-10-28 Pedro Alves <palves@redhat.com>
941
942 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
943 gdb_test_multiple, tighten regexps and match symtabs and line
944 tables incrementally.
945
b129b0ca
LM
9462016-10-28 Luis Machado <lgustavo@codesourcery.com>
947
948 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
949 general.
950
ecf45d2c
SL
9512016-10-25 Luis Machado <lgustavo@codesourcery.com>
952
953 * gdb.base/exec-invalid-sysroot.exp: New file.
954
b8d38ee4
JK
9552016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
956
957 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
958
f90fd8c2
JK
9592016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
960
961 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
962
2d2476aa
MR
9632016-10-19 Maciej W. Rozycki <macro@imgtec.com>
964
2806dc7e
PA
965 * gdb.base/killed-outside.exp: Remove $options from a call to
966 `prepare_for_testing'.
2d2476aa 967
e42b25a0
SM
9682016-10-17 Simon Marchi <simon.marchi@ericsson.com>
969
970 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
971 Change test message.
972
3ccdb432
SM
9732016-10-17 Simon Marchi <simon.marchi@ericsson.com>
974
975 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
976 Update comment.
977
5bad3170
SM
9782016-10-17 Simon Marchi <simon.marchi@ericsson.com>
979
980 * gdb.trace/mi-trace-save.exp: New file.
981
5ad9dba7
YQ
9822016-10-13 Yao Qi <yao.qi@linaro.org>
983
984 * gdb.base/code_elim.exp (get_var_address): Remove.
985 * gdb.base/relocate.exp: Likewise.
986 * gdb.base/shreloc.exp: Likewise.
987 * lib/gdb.exp (get_var_address): New.
988
62df7e21
YQ
9892016-10-13 Yao Qi <yao.qi@linaro.org>
990
991 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
992 floating point tests if $skip_float_test is false.
993
4dac951e
LM
9942016-10-12 Luis Machado <lgustavo@codesourcery.com>
995
996 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
997 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
998 argc values.
999 Add 1 to argc so we guarantee distinct initial/modified argc values.
1000
8f1a8fc4
JK
10012016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1002
1003 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
1004
16c85b5d
JK
10052016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1006
1007 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
1008 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1009 * gdb.arch/vsx-regs.exp: Likewise.
1010
1d0e042a
YQ
10112016-10-07 Yao Qi <yao.qi@linaro.org>
1012
1013 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
1014
68dadef5
MM
10152016-10-07 Markus Metzger <markus.t.metzger@intel.com>
1016
1017 * gdb.python/python.exp: Test decode_line("*0").
1018
33fa2c6e
DE
10192016-10-06 Doug Evans <dje@google.com>
1020
1021 * gdb.python/py-value.exp (test_value_creation): Add test for large
1022 unsigned 64-bit value.
1023
9c37b5ae
TT
10242016-10-06 Tom Tromey <tom@tromey.com>
1025
1026 * gdb.compile/compile.exp: Change java tests to rust.
1027 * gdb.base/setshow.exp: Change java tests to rust.
1028 * gdb.base/default.exp: Remove java from language list.
1029 * README (Examples): Update language example.
1030 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
1031 test.
1032 * lib/gdb.exp (skip_java_tests): Remove.
1033 * lib/java.exp: Remove.
1034 * gdb.java: Remove.
1035
78b86327
MR
10362016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1037
1038 * gdb.arch/mips-fcr.exp: New test.
1039 * gdb.arch/mips-fcr.c: Source for the new test.
1040
7470adbb
MR
10412016-10-06 Maciej W. Rozycki <macro@imgtec.com>
1042
1043 * gdb.base/solib-disc.exp: Use `standard_output_file'
1044 throughout.
1045
4a556533
PA
10462016-10-06 Pedro Alves <palves@redhat.com>
1047
1048 * gdb.base/jit-simple-dl.c: New file.
1049 * gdb.base/jit-simple-jit.c: New file, factored out from ...
1050 * gdb.base/jit-simple.c: ... this.
1051 * gdb.base/jit-simple.exp (jit_run): Delete.
1052 (build_jit): New proc.
1053 (jit_test_reread): Recompile either the main program or the shared
1054 library, depending on what is being tested. Skip changing address
1055 if caller wants to. Compare before/after addresses. If testing
1056 standalone, explicitly load the binary. Test "maint info
1057 breakpoints".
1058 (top level): Add "standalone vs shared lib" and "change address"
1059 vs "same address" axes.
1060
5a122fbc
PA
10612016-10-06 Pedro Alves <palves@redhat.com>
1062
1063 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
1064 call.
1065 (jit_run): Delete.
1066 (jit_test_reread): Use with_test_prefix. Reload the main binary
1067 explicitly. Compare the before/after addresses of the JIT
1068 descriptor.
1069
ee8da4b8
DE
10702016-08-15 Doug Evans <dje@google.com>
1071
1072 * gdb.xml/extra-regs.xml: Update, end field now required, default type
1073 for single bitfields is bool.
1074 * gdb.xml/tdesc-regs.exp: Ditto.
1075
f389f6fe
JK
10762016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1077
1078 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
1079
fdebf1a4
YQ
10802016-10-05 Yao Qi <yao.qi@linaro.org>
1081
1082 * lib/gdb.exp (support_complex_tests): Return zero if
1083 gdb_skip_float_test return true.
1084
9c36d954 10852016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 1086 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
1087
1088 PR gdb/20487
1089 * gdb.mi/user-selected-context-sync.exp: New file.
1090 * gdb.mi/user-selected-context-sync.c: New file.
1091
4034d0ff 10922016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 1093 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
1094
1095 PR gdb/20487
1096 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
1097 =thread-select-event check.
1098
a4297203
PB
10992016-09-29 Peter Bergner <bergner@vnet.ibm.com>
1100
1101 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
1102 the compulsory L operand changes.
1103 * gdb.arch/powerpc-power.s: Likewise.
1104
bb805577
JK
11052016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1106
1107 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
1108 * gdb.base/jit-attach-pie.c: New file.
1109 * gdb.base/jit-attach-pie.exp: New file.
1110
6d61dee5
PA
11112016-09-28 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.base/infcall-input.c: New file.
1114 * gdb.base/infcall-input.exp: New file.
1115
f73842fc
YQ
11162016-09-22 Yao Qi <yao.qi@linaro.org>
1117
1118 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
1119 (gdb_exit): Rename it to ...
1120 (gdbserver_gdb_exit): ... Close GDBserver.
1121 (gdb_exit): New proc, call gdbserver_gdb_exit.
1122 (mi_gdb_exit): Likewise.
1123
90681dab
YQ
11242016-09-22 Yao Qi <yao.qi@linaro.org>
1125
1126 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
1127 path.
1128 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
1129 Remove duplication.
1130
9c211fd8
YQ
11312016-09-22 Yao Qi <yao.qi@linaro.org>
1132
1133 * lib/gdbserver-support.exp: Check the existence of
1134 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
1135
ad0a504f
AK
11362016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
1137
1138 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
1139
36cf1806
TT
11402016-09-21 Tom Tromey <tom@tromey.com>
1141
1142 PR gdb/20604:
1143 * gdb.base/quit.exp: New file.
1144
74172ecf
SM
11452016-09-21 Simon Marchi <simon.marchi@ericsson.com>
1146
1147 * .gitignore: New file.
1148
3d0ec882
MR
11492016-09-21 Maciej W. Rozycki <macro@imgtec.com>
1150
1151 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
1152 throughout.
1153
8193adea
AA
11542016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1155
1156 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
1157
d41a5c09
JK
11582016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1159
1160 * gdb.cp/casts.cc (decltype): Move it ...
1161 (main): ... with its call to ...
1162 * gdb.cp/casts03.cc: ... a new file.
1163 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
1164
d2dfe700
JK
11652016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1166
1167 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
1168
e2a92b16
PB
11692016-09-15 Peter Bergner <bergner@vnet.ibm.com>
1170
1171 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
1172 and sync up the test with tests in gas/testsuite/gas/ppc.
1173 * gdb.arch/powerpc-power.exp: Likewise.
1174
49b4de64
JK
11752016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1176
1177 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1178
2c29df25
SDJ
11792016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
1180 Jan Kratochvil <jan.kratochvil@redhat.com>
1181
1182 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
1183 make m1's definition to be different from m2's. Use 'dummy' as an
1184 argument for probe 'two'.
1185
cc3c2846
JB
11862016-09-10 Jon Beniston <jon@beniston.com>
1187
1188 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
1189 for sim target.
1190
e1b2624a
AA
11912016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1192
1193 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
1194 variable declaration.
1195 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
1196 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
1197 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
1198 received HWCAP as its argument.
1199
4295e285
PA
12002016-09-06 Pedro Alves <palves@redhat.com>
1201
1202 * gdb.base/new-ui-pending-input.c: New file.
1203 * gdb.base/new-ui-pending-input.exp: New file.
1204 * gdb.exp (clear_gdb_spawn_id): New procedure.
1205 (with_spawn_id): Check whether gdb_spawn_id exists before
1206 referencing it. If gdb_spawn_id didn't exist on entry, clear it
1207 on exit.
1208
00d5215e
UW
12092016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1210
1211 * gdb.base/float128.c: New file.
1212 * gdb.base/float128.exp: Likewise.
1213 * gdb.base/floatn.c: Likewise.
1214 * gdb.base/floatn.exp: Likewise.
1215
a9ff5f12
UW
12162016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
1217
1218 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
1219
f245535c
PA
12202016-09-05 Pedro Alves <palves@redhat.com>
1221
1222 PR backtrace/19927
1223 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
1224 unwinders are immediately called as side effect of "source" or
1225 "disable unwinder" commands.
1226 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
1227
ae9cf263
YQ
12282016-09-02 Yao Qi <yao.qi@linaro.org>
1229
1230 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
1231 is true and $type is "float" or "double".
1232
27aba047
YQ
12332016-09-02 Yao Qi <yao.qi@linaro.org>
1234
1235 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
1236 true.
1237 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
1238 * gdb.base/call-rt-st.exp: Likewise.
1239 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
1240 return value instead of gdb,skip_float_test.
1241 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
1242 (do_function_calls): Use its return value instead of
1243 gdb,skip_float_test.
1244 * gdb.base/finish.exp: Likewise.
1245 * gdb.base/funcargs.exp: Likewise.
1246 * gdb.base/return.exp: Likewise.
1247 * gdb.base/return2.exp: Likewise.
1248 * gdb.base/varargs.exp: Likewise.
1249 * lib/gdb.exp (gdb_skip_float_test): Change it to
1250 gdb_caching_proc. Detect the broken ptrace on arm-linux.
1251
5af962df
AA
12522016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1253
1254 * gdb.multi/tids.exp: Test "thread apply all".
1255
7fac6910
JK
12562016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 * gdb.base/default.exp (tty): Remove.
1259
bb1fe4ac
KB
12602016-08-24 Kevin Buettner <kevinb@redhat.com>
1261
2806dc7e
PA
1262 * gdb.python/py-recurse-unwind.c: New file.
1263 * gdb.python/py-recurse-unwind.py: New file.
1264 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 1265
0a1ddfa6
SM
12662016-08-24 Simon Marchi <simon.marchi@ericsson.com>
1267
1268 * gdb.base/set-inferior-tty.exp: New file.
1269 * gdb.base/set-inferior-tty.c: New file.
1270
d9de1fe3
PA
12712016-08-23 Pedro Alves <palves@redhat.com>
1272
1273 PR gdb/20494
1274 * gdb.base/new-ui-echo.c: New file.
1275 * gdb.base/new-ui-echo.exp: New file.
1276
e9d9abd7
YQ
12772016-08-23 Yao Qi <yao.qi@linaro.org>
1278
1279 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
1280 gdbserver_spawn.
1281 * gdb.server/connect-without-multi-process.exp (do_test):
1282 Likewise.
1283
3589529e
YQ
12842016-08-23 Yao Qi <yao.qi@linaro.org>
1285
1286 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
1287 standalone_txt. Delete gdb_txt and standalone_txt on host
1288 and target. Spawn the binary on target. Copy files from
1289 target to host.
1290
6bb90213
PA
12912016-08-22 Pedro Alves <palves@redhat.com>
1292
1293 PR gdb/20505
1294 * gdb.base/vdso-warning.exp: Test core dumps too. Use
1295 with_test_prefix. Factor out bits to ...
1296 (test_no_vdso): ... this new procedure.
1297
20c2c024
CL
12982016-08-19 Carl Love <cel@us.ibm.com>
1299
1300 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
1301 maintaining separate logic for constructing the output path.
1302 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1303 * gdb.arch/ppc-dfp.exp: Likewise.
1304 * gdb.arch/ppc-fp.exp: Likewise.
1305 * gdb.arch/vsx-regs.exp: Likewise.
1306 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
1307 binprefix for generating the additional binary files.
1308
0646e07d
PA
13092016-08-19 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.trace/mi-trace-frame-collected.exp
1312 (test_trace_frame_collected): On x32, expect two registers.
1313
46da9242
CL
13142016-08-18 Carl Love <cel@us.ibm.com>
1315
1316 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
1317 and sync up the test with tests in gas/testsuite/gas/ppc.
1318 * gdb.arch/powerpc-power.exp: Likewise.
1319
eb2332d7
SM
13202016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1321
1322 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
1323 expected error message.
1324
63c61e04
SM
13252016-08-17 Simon Marchi <simon.marchi@ericsson.com>
1326
1327 * gdb.multi/remove-inferiors.exp: New file.
1328 * gdb.multi/remove-inferiors.c: New file.
1329
7b17065f
YQ
13302016-08-12 Yao Qi <yao.qi@linaro.org>
1331
1332 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
1333 argument list.
1334
01d3dedf
PA
13352016-08-10 Pedro Alves <palves@redhat.com>
1336
1337 PR gdb/19187
1338 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
1339 setup_kfails.
1340
3eb7562a
PA
13412016-08-09 Pedro Alves <palves@redhat.com>
1342 Simon Marchi <simon.marchi@ericsson.com>
1343
1344 PR gdb/20418
1345 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
1346 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
1347
80614914
PA
13482016-08-09 Pedro Alves <palves@redhat.com>
1349
1350 PR mi/20431
1351 * gdb.mi/mi-cmd-error.exp: New file.
1352
f348d89a
PA
13532016-08-09 Pedro Alves <palves@redhat.com>
1354
1355 PR gdb/18653
1356 * gdb.base/signals-state-child.c: New file.
1357 * gdb.base/signals-state-child.exp: New file.
1358 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
1359
e5ca03b4
PA
13602016-08-09 Pedro Alves <palves@redhat.com>
1361
1362 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
1363
282a0691
TT
13642016-08-03 Tom Tromey <tom@tromey.com>
1365
1366 PR python/18565:
1367 * gdb.python/py-frame-inline.exp: Add Frame.function test.
1368
41bfcd63
YQ
13692016-08-01 Yao Qi <yao.qi@linaro.org>
1370
1371 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1372 variable mode to "multi-process" if $multi_process is 1, otherwise
1373 set it to "single-process".
1374
e3465b24
YQ
13752016-08-01 Yao Qi <yao.qi@linaro.org>
1376
1377 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1378 * gdb.cp/cpexprs.exp: Likewise.
1379 * gdb.cp/m-static.exp: Likewise.
1380
0b31a4bc
TT
13812016-07-26 Tom Tromey <tom@tromey.com>
1382
1383 PR python/20190:
1384 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1385 test.
1386
e0461dbb
MM
13872016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1388
1389 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1390 selecting assembly source files.
1391 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1392 assembly source files.
1393 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1394 assembly source files.
1395 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1396 selecting assembly source files.
1397
8194e927
SM
13982016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1399
1400 * gdb.base/new-ui.exp (do_test_invalid_args): New
1401 procedure.
1402
c0272db5
TW
14032016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1404
1405 * gdb.btrace/reconnect.c: New file.
1406 * gdb.btrace/reconnect.exp: New file.
1407
e3487908
GKB
14082016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1409
1410 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1411 to test_catch_syscall_group.
1412 (test_catch_syscall_group): New.
1413
12df5c00
TT
14142016-07-21 Tom Tromey <tom@tromey.com>
1415
1416 * gdb.rust/simple.rs (main): Use empty struct expression.
1417 * gdb.rust/simple.exp: Add tests for empty struct expression.
1418
bae62ee2
YQ
14192016-07-21 Yao Qi <yao.qi@linaro.org>
1420
1421 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1422 if gdb_skip_xml_test is true on some targets.
1423
b1b53fb3
YQ
14242016-07-21 Yao Qi <yao.qi@linaro.org>
1425
1426 * gdb.server/solib-list.exp: Unset last_loaded_file.
1427
027d97f8
JK
14282016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1429
1430 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1431 "step into captured_main (args)".
1432
7674d381
JK
14332016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1434
1435 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1436
72b5d099
JK
14372016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1438
1439 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1440
1f960ced
PA
14412016-07-19 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1444 * gdb.opt/inline-bt.exp: Likewise.
1445 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1446 additional_flags=-Winline.
1447 * gdb.opt/inline-locals.exp: Likewise.
1448 * gdb.opt/inline-markers.c (ATTR): Define.
1449 (inlined_fn): Use it.
1450
f25827c1
YQ
14512016-07-19 Yao Qi <yao.qi@linaro.org>
1452
1453 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1454 (test_with_self): Remove some code. Remove argument executable.
1455 (top-level): Use do_self_tests.
1456
37539ebe
DB
14572016-07-15 Zachary Welch <zwelch@codesourcery.com>
1458 Don Breazeal <donb@codesourcery.com>
1459
1460 * gdb.base/maint.exp: Escape paths used in regular expressions.
1461 * gdb.stabs/weird.exp: Likewise.
1462
dac790e1
TT
14632016-07-13 Tom Tromey <tom@tromey.com>
1464
1465 PR python/15620, PR python/18620:
1466 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1467 (test_bkpt_events): New procs.
1468
93daf339
TT
14692016-07-13 Tom Tromey <tom@tromey.com>
1470
1471 PR python/17698:
1472 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1473 test.
1474 (test_watchpoints): Likewise.
1475 (test_bkpt_pending): New proc.
1476
6571a381
TT
14772016-07-13 Tom Tromey <tom@tromey.com>
1478
1479 PR cli/18053:
1480 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1481 completion test.
1482
e8732474
JK
14832016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1484
1485 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1486 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1487 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1488 f_label.
1489 (g): Rename g_end_lbl to g_label.
1490 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1491 low_pc and high_pc.
1492 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1493
e0f3fd7c
TT
14942016-07-12 Tom Tromey <tom@tromey.com>
1495
1496 PR python/19293:
1497 * gdb.python/py-unwind-maint.exp: Update tests.
1498
3cfe46b6
YQ
14992016-07-12 Yao Qi <yao.qi@linaro.org>
1500
1501 * lib/selftest-support.exp (selftest_setup): Match the output
1502 when captured_main is inlined.
1503
4f19a0e6
WT
15042016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1505
1506 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1507 New variables.
1508 (print this%a, print this%b, print this): New tests.
1509 * gdb.fortran/derived-types.f90 (this): New object and
1510 initialization.
1511
986cf455
SM
15122016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1513
1514 * gdb.ada/arraydim.exp: Remove extra directory level in build
1515 directory.
1516
f0464b23
SM
15172016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1518
1519 * lib/ada.exp: Remove extra directory level in build directory.
1520 * gdb.ada/cond_lang.exp: Likewise.
1521 * gdb.ada/exec_changed.exp: Likewise.
1522 * gdb.ada/lang_switch.exp: Likewise.
1523
42d94011
MG
15242016-07-06 Manish Goregaokar <manish@mozilla.com>
1525
2806dc7e
PA
1526 * simple.rs: Add test for raw pointer subscripting.
1527 * simple.exp: Add test expectations.
42d94011 1528
647c264c
YQ
15292016-07-05 Yao Qi <yao.qi@linaro.org>
1530
1531 * gdb.mi/mi-reverse.exp: Match =record-started output.
1532
20aa2c60
PA
15332016-07-01 Pedro Alves <palves@redhat.com>
1534
1535 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1536 procedure.
1537 (jit_reader_test): Test the jit reader's unwinder.
1538 * gdb.base/jithost.c (jit_function_00_code): New global.
1539 (main): Use memcpy to fill in the mmapped code, instead of poking
1540 bytes manually here.
1541 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1542 value.
1543 (read_debug_info): Save the function's range.
1544 (read_sp): New function.
1545 (unwind_frame): Use it. Also unwind RBP.
1546 (get_frame_id): Use read_sp.
1547 (gdb_init_reader): Use calloc instead of malloc.
1548 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1549 parameter. Use gdb_test_multiple.
1550
ced2dffb
PA
15512016-07-01 Pedro Alves <palves@redhat.com>
1552 Antoine Tremblay <antoine.tremblay@ericsson.com>
1553
1554 * gdb.threads/process-dies-while-detaching.c: New file.
1555 * gdb.threads/process-dies-while-detaching.exp: New file.
1556
63000888
PA
15572016-07-01 Pedro Alves <palves@redhat.com>
1558
1559 * gdb.multi/watchpoint-multi-exit.c: New file.
1560 * gdb.multi/watchpoint-multi-exit.exp: New file.
1561
038d4868
PA
15622016-06-30 Pedro Alves <palves@redhat.com>
1563
1564 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1565 unset inferior_spawn_id.
1566
994e9c83
PA
15672016-06-30 Pedro Alves <palves@redhat.com>
1568
1569 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1570 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1571
e5653468
YQ
15722016-06-29 Yao Qi <yao.qi@linaro.org>
1573
1574 * gdb.base/return.c: Add copyright header.
1575
803b47e5
TT
15762016-06-29 Tom Tromey <tom@tromey.com>
1577
1578 PR python/20129:
1579 * gdb.python/py-framefilter.exp: Add tests for setting priority
1580 and disabling of non-existent frame filter.
1581
28244707
YQ
15822016-06-29 Yao Qi <yao.qi@linaro.org>
1583
1584 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1585 0x0f07ff.
1586
a31d2f06
YQ
15872016-06-28 Yao Qi <yao.qi@linaro.org>
1588
1589 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1590 triplets. Start gdb, execute catch syscall, and continue. Check
1591 gdb's output to determine catch syscall is supported.
1592
921d8f54
MG
15932016-06-27 Manish Goregaokar <manish@mozilla.com>
1594
25d49b86
PA
1595 * gdb.rust/simple.rs: Add test for returning unit in a function.
1596 * gdb.rust/simple.exp: Add expectation for functions returning
1597 unit.
921d8f54 1598
f4952523
PMR
15992016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1600
1601 * gdb.python/py-breakpoint-create-fail.c,
1602 gdb.python/py-breakpoint-create-fail.exp,
1603 gdb.python/py-breakpoint-create-fail.py: New testcase.
1604
fccb08f8
MG
16052016-06-25 Manish Goregaokar <manish@mozilla.com>
1606
1607 PR gdb/20239
1608 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
1609 * gdb.rust/simple.exp: Add test expectations for new NonZero
1610 tests.
fccb08f8 1611
6b850546
DT
16122016-06-24 David Taylor <dtaylor@emc.com>
1613
1614 * gdb.base/offsets.exp: New file.
1615 * gdb.base/offsets.c: New file.
1616
17621150
TT
16172016-06-23 Tom Tromey <tom@tromey.com>
1618
1619 PR gdb/16483:
1620 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1621 before any filters are loaded.
1622
04d59df6
WT
16232016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1624
1625 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1626 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1627 structs.
1628 * gdb.fortran/derived-type-function.exp: New file.
1629 * gdb.fortran/derived-type-function.f90: New file.
1630
1631
ac69f786
PA
16322016-06-21 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.base/new-ui.exp: New file.
1635 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1636 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1637 (with_spawn_id): New procedure.
1638
49940788
PA
16392016-06-21 Pedro Alves <palves@redhat.com>
1640
1641 * gdb.mi/mi-exec-run.exp: New file.
1642
ef274d26
PA
16432016-06-21 Pedro Alves <palves@redhat.com>
1644
1645 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1646 breakpoint command's output on the main UI.
1647 (test_break): New procedure, factored out from calls in the top
1648 level.
1649 (top level): Use foreach_with_prefix to test MI as main UI and as
1650 separate UI.
1651
468afe6c
PA
16522016-06-21 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1655 (test_awatch_creation_and_listing)
1656 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1657 Remove 'type' parameter.
1658 (test_watchpoint_all): New parameter mi_mode. Remove
1659 with_test_prefix.
1660 (top level): Use foreach_with_prefix, and add main/separate UI MI
1661 testing axis.
1662
51f77c37
PA
16632016-06-21 Pedro Alves <palves@redhat.com>
1664
1665 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1666 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1667 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1668 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1669 (gdb_main_spawn_id, mi_spawn_id): Declare and
1670 comment.
1671 (mi_create_inferior_pty): New procedure,
1672 factored out from default_mi_gdb_start.
1673 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1674 procedures.
1675 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1676 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1677 Use mi_create_inferior_pty.
1678 (mi_gdb_start): Use eval to pass down args list.
1679
8980e177
PA
16802016-06-21 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1683 * gdb.opt/inline-cmds.exp: Add MI tests.
1684
f38d3ad1
PA
16852016-06-21 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1688
45db7c09
PA
16892016-06-21 Pedro Alves <palves@redhat.com>
1690
1691 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1692 (top level): Use it instead of mi_execute_to.
1693
5a069ab3
PA
16942016-06-21 Pedro Alves <palves@redhat.com>
1695
1696 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1697 (cont_handler_str): New.
1698 (signal_stop_handler): Set stop_handler_str instead of printing to
1699 stdout.
1700 (continue_handler): Set cont_handler_str instead of printing to
1701 stdout.
1702 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1703 mi_send_resuming_command. Print stop_handler_str and
1704 cont_handler_str instead of expecting the python events print
1705 directly.
1706
2838cc1d
SD
17072016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1708
1709 * gdb.base/jit-reader.exp: New file.
1710 * gdb.base/jithost.c: New file.
1711 * gdb.base/jithost.h: New file.
1712 * gdb.base/jitreader.c : New file.
1713 * gdb.base/jit-protocol.h: New file.
1714
21a77091
YQ
17152016-06-17 Yao Qi <yao.qi@linaro.org>
1716
1717 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1718 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1719 and detach-on-fork. Adjust tests.
1720 (top level): Invoke break_cond_on_syscall with combinations of
1721 syscall, follow-fork-mode and detach-on-fork.
1722
f50bf8e5
YQ
17232016-06-17 Yao Qi <yao.qi@linaro.org>
1724
1725 * gdb.base/step-over-exit.c: New.
1726 * gdb.base/step-over-exit.exp: New.
1727
a28d8e50
YTL
17282016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1729
1730 * gdb.base/float.exp: Add target check for nds32*-*-*.
1731 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1732
cad8e26d
AB
17332016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1734
1735 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1736 for unsupported target features.
1737 * gdb.base/call-rt-st.exp: Likewise.
1738 * gdb.base/call-sc.exp: Likewise.
1739 * gdb.base/call-signal-resume.exp: Likewise.
1740 * gdb.base/call-strs.exp: Likewise.
1741 * gdb.base/callexit.exp: Likewise.
1742 * gdb.base/callfuncs.exp: Likewise.
1743 * gdb.base/nodebug.exp: Likewise.
1744 * gdb.base/printcmds.exp: Likewise.
1745 * gdb.base/ptype.exp: Likewise.
1746 * gdb.base/structs.exp: Likewise.
1747 * gdb.base/unwindonsignal.exp: Likewise.
1748 * gdb.cp/gdb2495.exp: Likewise.
1749 * gdb.cp/templates.exp: Likewise.
1750 * gdb.cp/virtfunc.exp: Likewise.
1751 * gdb.threads/hand-call-in-threads.exp: Likewise.
1752 * gdb.threads/interrupted-hand-call.exp: Likewise.
1753 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1754
347dc102
TT
17552016-06-10 Tom Tromey <tom@tromey.com>
1756
1757 PR rust/20110:
1758 * gdb.rust/expr.exp: Add test for integer constant larger than
1759 i32.
1760
5e13cf25
BH
17612016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1762
1763 * gdb.fortran/nested-funcs.exp: New.
1764 * gdb.fortran/nested-funcs.f90: New.
1765
bb556f1f
TK
17662016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1767
1768 * gdb.base/examine-backward.c: New file.
1769 * gdb.base/examine-backward.exp: New file.
1770
38b022b4
SM
17712016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1772
1773 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1774 matching.
1775
1b40ec05
TT
17762016-06-02 Tom Tromey <tom@tromey.com>
1777
1778 PR python/18984:
1779 * gdb.python/py-shared.exp: Add solib_name test.
1780
193bd378
SM
17812016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1782
1783 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1784
3326303b
MG
17852016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1786
1787 PR c++/19893
1788 * gdb.dwarf2/implref.exp: Rename to...
1789 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1790 * gdb.dwarf2/implref-array.c: New file.
1791 * gdb.dwarf2/implref-array.exp: Likewise.
1792 * gdb.dwarf2/implref-global.c: Likewise.
1793 * gdb.dwarf2/implref-global.exp: Likewise.
1794 * gdb.dwarf2/implref-struct.c: Likewise.
1795 * gdb.dwarf2/implref-struct.exp: Likewise.
1796
825c8ef2
AT
17972016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1798
1799 * gdb.trace/trace-condition.exp: Add 64bit tests.
1800
2320162a
AT
18012016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1802
1803 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1804 bits types.
1805 (main): Adapt to 8 to 64 bits types.
1806 * gdb.trace/trace-condition.exp: Add new tests.
1807
a7818233
AT
18082016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1809
1810 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1811
0d336466
AT
18122016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1813
1814 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1815 Move condition tests...
1816 * gdb.trace/trace-condition.exp: Here.
1817
7faeb45a
AT
18182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1819
1820 * gdb.trace/trace-condition.exp: Add counter-case tests.
1821
e385593e
JK
18222016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1823
1824 PR c++/15231
1825 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1826 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1827
744608cc
PA
18282016-05-27 Pedro Alves <palves@redhat.com>
1829
1830 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1831 New procedure.
1832 (top level): Call it, and bail out of DejaGnu is known to be bad.
1833
ac775bf4
AB
18342016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1835
1836 * gdb.base/whatis.c: Extend the test case.
1837 * gdb.base/whatis.exp: Add additional tests.
1838
2bbad2ea
BH
18392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1840
1841* gdb.fortran/type.f90: Add pointer variable.
1842* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1843
8b70175d
BH
18442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1845
1846 * gdb.fortran/vla-type.exp: Fix testcase name.
1847
86d8a848
BH
18482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1849
1850 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1851
e188eb36
BH
18522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1853
1854 * gdb.fortran/type.f90: Add nested structures.
1855 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1856 * gdb.fortran/derived-type.exp: Adapt expected output.
1857 * gdb.fortran/vla-type.exp: Adapt expected output.
1858
9b2db1fd
BH
18592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1860
1861 * gdb.fortran/whatis_type.exp: Adapt expected output.
1862
72b17055
BH
18632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1864
1865 * gdb.fortran/print_type.exp: Fix expected output.
1866 * gdb.fortran/whatis_type.exp: Fix expected output.
1867
3cd81d8d
BH
18682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1869
1870 * gdb.fortran/whatis_type.exp: Use multi_line.
1871
ddae9462
TT
18722016-05-24 Tom Tromey <tom@tromey.com>
1873
1874 PR python/17386:
1875 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1876 use value as an index.
1877
1957f6b8
TT
18782016-05-23 Tom Tromey <tom@tromey.com>
1879
1880 PR python/17981:
1881 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1882 no-breakpoint case.
1883
026a9174
PA
18842016-05-24 Pedro Alves <palves@redhat.com>
1885
1886 PR gdb/19828
1887 * gdb.threads/clone-attach-detach.c: New file.
1888 * gdb.threads/clone-attach-detach.exp: New file.
1889
e70a7231
FR
18902016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1891
1892 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1893
0f6ed0e0
TT
18942016-05-23 Tom Tromey <tom@tromey.com>
1895
1896 PR python/19438, PR python/18393:
1897 * gdb.python/py-progspace.exp: Add "dir" test.
1898 * gdb.python/py-objfile.exp: Add "dir" test.
1899
ffd19d61
YQ
19002016-05-23 Yao Qi <yao.qi@linaro.org>
1901
1902 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1903 * gdb.arch/thumb2-it.exp: Likewise.
1904
9e8f9b05
SM
19052016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1906
1907 * gdb.mi/mi-threads-interrupt.c: New file.
1908 * gdb.mi/mi-threads-interrupt.exp: New file.
1909
61c6156d
SM
19102016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1911
1912 PR gdb/18077
1913 * gdb.mi/mi-async-run.exp: New file.
1914 * gdb.mi/mi-async-run.c: New file.
1915
67218854
TT
19162016-05-17 Tom Tromey <tom@tromey.com>
1917 Manish Goregaokar <manishsmail@gmail.com>
1918
1919 * lib/rust-support.exp: New file.
1920 * lib/gdb.exp (skip_rust_tests): New proc.
1921 (build_executable_from_specs): Handle rust.
1922 * lib/future.exp (gdb_find_rustc): New proc.
1923 (gdb_default_target_compile): Handle rust.
1924 * gdb.rust/expr.exp: New file.
1925 * gdb.rust/generics.exp: New file.
1926 * gdb.rust/generics.rs: New file.
1927 * gdb.rust/methods.exp: New file.
1928 * gdb.rust/methods.rs: New file.
1929 * gdb.rust/modules.exp: New file.
1930 * gdb.rust/modules.rs: New file.
1931 * gdb.rust/simple.exp: New file.
1932 * gdb.rust/simple.rs: New file.
1933
c44af4eb
TT
19342016-05-17 Tom Tromey <tom@tromey.com>
1935
1936 * gdb.base/default.exp (set language): Add rust.
1937
dcd1f979
TT
19382016-05-17 Tom Tromey <tom@tromey.com>
1939
1940 * gdb.gdb/unittest.exp: New file.
1941
155b7f57
YQ
19422016-05-16 Yao Qi <yao.qi@linaro.org>
1943
1944 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1945 shell_prompt. Update shell_prompt_re.
1946
8ddd5a6c
DE
19472016-05-12 Doug Evans <dje@google.com>
1948
1949 PR symtab/19999
1950 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1951 $options when building executable.
1952 * gdb.dwarf2/fission-loclists-pie.S: New file.
1953 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1954
02e370d9
SM
19552016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1956
1957 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1958 of [is_remote target],
1959
8929ad8b
SM
19602016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1961
1962 * lib/gdb.exp (use_gdb_stub): New procedure.
1963
6c447423
DE
19642016-05-03 Yunlian Jiang <yunlian@google.com>
1965 Doug Evans <dje@google.com>
1966
1967 PR symtab/19914
1968 * gdb.dwarf2/dwp-sepdebug.c: New file.
1969 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1970
444e826c
SM
19712016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1972
1973 * gdb.base/detach.exp: Remove is_remote check.
1974
740feeaa
SM
19752016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1976
1977 * gdb.base/annota-input-while-running.exp: Don't check for
1978 [is_remote target]. Enable annotations after running to main.
1979 Remove unused "set test..." line.
1980
9080ac9d
SM
19812016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1982
1983 * gdb.trace/trace-enable-disable.exp: New file.
1984 * gdb.trace/trace-enable-disable.c: New file.
1985
952ebca5
SM
19862016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1987
1988 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1989 use it in info sharedlibrary test.
1990 * gdb.trace/ftrace-lock.exp: Likewise.
1991 * gdb.trace/ftrace.exp: Likewise.
1992 * gdb.trace/range-stepping.exp: Likewise.
1993 * gdb.trace/trace-break.exp: Likewise.
1994 * gdb.trace/trace-condition.exp: Likewise.
1995 * gdb.trace/trace-mt.exp: Likewise.
1996
d9019901
SM
19972016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1998
1999 * lib/gdb.exp (gdb_load_shlibs): Rename to...
2000 (gdb_load_shlib): ... this.
2001 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
2002 gdb_load_shlib.
2003 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2004 * gdb.base/ctxobj.exp: Likewise.
2005 * gdb.base/dprintf-pending.exp: Likewise.
2006 * gdb.base/dso2dso.exp: Likewise.
2007 * gdb.base/fixsection.exp: Likewise.
2008 * gdb.base/gcore-relro.exp: Likewise.
2009 * gdb.base/gdb1555.exp: Likewise.
2010 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2011 * gdb.base/gnu-ifunc.exp: Likewise.
2012 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
2013 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2014 * gdb.base/pending.exp: Likewise.
2015 * gdb.base/print-file-var.exp: Likewise.
2016 * gdb.base/print-symbol-loading.exp: Likewise.
2017 * gdb.base/shlib-call.exp: Likewise.
2018 * gdb.base/shreloc.exp: Likewise.
2019 * gdb.base/so-impl-ld.exp: Likewise.
2020 * gdb.base/solib-disc.exp: Likewise.
2021 * gdb.base/solib-nodir.exp: Likewise.
2022 * gdb.base/solib-overlap.exp: Likewise.
2023 * gdb.base/solib-symbol.exp: Likewise.
2024 * gdb.base/solib-weak.exp (do_test): Likewise.
2025 * gdb.base/sym-file.exp: Likewise.
2026 * gdb.base/symtab-search-order.exp: Likewise.
2027 * gdb.base/type-opaque.exp: Likewise.
2028 * gdb.base/unload.exp: Likewise.
2029 * gdb.base/watchpoint-solib.exp: Likewise.
2030 * gdb.compile/compile.exp: Likewise.
2031 * gdb.cp/gdb2384.exp: Likewise.
2032 * gdb.cp/infcall-dlopen.exp: Likewise.
2033 * gdb.cp/re-set-overloaded.exp: Likewise.
2034 * gdb.fortran/library-module.exp: Likewise.
2035 * gdb.opt/solib-intra-step.exp: Likewise.
2036 * gdb.python/py-finish-breakpoint.exp: Likewise.
2037 * gdb.python/py-shared.exp: Likewise.
2038 * gdb.reverse/solib-precsave.exp: Likewise.
2039 * gdb.reverse/solib-reverse.exp: Likewise.
2040 * gdb.server/solib-list.exp: Likewise.
2041 * gdb.threads/dlopen-libpthread.exp: Likewise.
2042 * gdb.threads/tls-shared.exp: Likewise.
2043 * gdb.threads/tls-so_extern.exp: Likewise.
2044 * gdb.trace/change-loc.exp: Likewise.
2045 * gdb.trace/ftrace-lock.exp: Likewise.
2046 * gdb.trace/ftrace.exp: Likewise.
2047 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
2048 * gdb.trace/pending.exp: Likewise.
2049 * gdb.trace/range-stepping.exp: Likewise.
2050 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
2051 (strace_info_marker): Likewise.
2052 (strace_probe_marker): Likewise.
2053 (strace_trace_on_same_addr): Likewise.
2054 (strace_trace_on_diff_addr): Likewise.
2055 * gdb.trace/trace-break.exp: Likewise.
2056 * gdb.trace/trace-condition.exp: Likewise.
2057 * gdb.trace/trace-mt.exp: Likewise.
2058
fca4cfd9
SM
20592016-04-27 Simon Marchi <simon.marchi@ericsson.com>
2060
2061 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
2062 result of gdb_remote_download.
2063 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
2064 * gdb.base/dso2dso.exp: Likewise.
2065 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2066 * gdb.base/print-file-var.exp: Likewise.
2067 * gdb.base/shlib-call.exp: Likewise.
2068 * gdb.base/shreloc.exp: Likewise.
2069 * gdb.base/solib-overlap.exp: Likewise.
2070 * gdb.base/solib-weak.exp (do_test): Likewise.
2071 * gdb.base/unload.exp: Likewise.
2072
11cf4ffb
YQ
20732016-04-27 Yao Qi <yao.qi@linaro.org>
2074
2075 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
2076 exists.
2077
3e2e34f8
KB
20782016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2079
2080 * vla-type.exp: Print structure from toplevel.
2081
8f07e298
BH
20822016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2083
2084 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
2085 of dynamic types.
2086 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
2087 of dynamic types.
2088
9920b434
BH
20892016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
2090
2091 * gdb.fortran/vla-type.f90: New file.
2092 * gdb.fortran/vla-type.exp: New file.
2093
f3abeff5
YQ
20942016-04-25 Yao Qi <yao.qi@linaro.org>
2095
2096 * gdb.base/branch-to-self.c: New file.
2097 * gdb.base/branch-to-self.exp: New file.
2098
0a5d52f0
YQ
20992016-04-22 Yao Qi <yao.qi@linaro.org>
2100
2101 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
2102 more after $hex.
2103
495346f6
YQ
21042016-04-22 Yao Qi <yao.qi@linaro.org>
2105
2106 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
2107 * gdb.base/annota3.exp: Likewise.
2108
4a7e075c
YQ
21092016-04-22 Yao Qi <yao.qi@linaro.org>
2110
2111 * gdb.reverse/step-precsave.exp: Do one step and test program
2112 stops in "callee" and do multiple steps until program goes out
2113 of "callee".
2114 * gdb.reverse/step-reverse.exp: Likewise.
2115
5b061e98
YQ
21162016-04-22 Yao Qi <yao.qi@linaro.org>
2117
2118 * gdb.trace/signal.exp: Also pass if
2119 $tracepoint_hits($i) > $iterations.
2120
5c5dc57f
YQ
21212016-04-22 Yao Qi <yao.qi@linaro.org>
2122
2123 * gdb.trace/signal.c: New file.
2124 * gdb.trace/signal.exp: New file.
2125
a55411b9
DE
21262016-04-19 Doug Evans <xdje42@gmail.com>
2127
2128 * gdb.base/bad-file.exp: New file.
2129
a22df60a
MG
21302016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
2131
2132 * gdb.dwarf2/implref.exp: New file.
2133
0c13f7e5
BH
21342016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2135
2136 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
2137 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
2138 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
2139 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
2140 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
2141 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
2142 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
2143 * lib/fortran.exp (fortran_int4): New procedure.
2144 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
2145 (fortran_logical4): Likewise.
2146
9b9b09e9
BH
21472016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
2148
2149 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
2150
a14d1f4d
BH
21512016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2152
2153 * lib/compiler.c: Add Intel specific preprocessor macros.
2154 * lib/compiler.cc: Likewise.
25d49b86 2155
7d49b1d0
LM
21562016-04-13 Luis Machado <lgustavo@codesourcery.com>
2157
2158 * gdb.server/connect-with-no-symbol-file.c: New file.
2159 * gdb.server/connect-with-no-symbol-file.exp: New file.
2160
8392fa22
SM
21612016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
2164
8c4c4aeb
SM
21652016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2166
2167 * boards/gdbserver-base.exp (${board}_download): Copy source file to
2168 standard output directory.
2169
45e3745e
AT
21702016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
2171
2172 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
2173
e26b7e41
MM
21742016-04-13 Markus Metzger <markus.t.metzger@intel.com>
2175
2176 * gdb.btrace/instruction_history.c (loop): Add declaration.
2177
8ce09462
AT
21782016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2179
2180 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
2181
2e88a1ea
SM
21822016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
2183
2184 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
2185 parentheses to print.
2186 (continue_handler): Likewise.
2187
f48e22e3
SM
21882016-04-08 Simon Marchi <simon.marchi@ericsson.com>
2189
2190 * gdb.server/solib-list.exp: Remove is_remote check.
2191 Pass shlib= to gdb_compile. Don't link shared library with
2192 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
2193 Run binary filename through "readlink -f" on the target.
2194
096be756
PA
21952016-04-08 Pedro Alves <palves@redhat.com>
2196
2197 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
2198 interpreter filename as argument to gdbserver_spawn.
2199 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2200 Return empty if $last_loaded_file does not exist.
2201
06500533
JK
22022016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2203
2204 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
2205 * gdb.base/jit-main.c: Use exit after usage.
2206
2d35e871
JK
22072016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2208
2209 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
2210 GDBHISTSIZE prior to the tests.
2211 * gdb.base/gdbinit-history.exp: Likewise.
2212
22132016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
2214
2215 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
2216 instead of build_executable. Use gdb_load_shlibs.
2217
c8064e7e
YQ
22182016-04-07 Yao Qi <yao.qi@linaro.org>
2219
2220 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
2221 Execute "si" command.
2222
bde47561
YQ
22232016-04-07 Yao Qi <yao.qi@linaro.org>
2224
2225 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
2226 number instead of the comments on some line.
2227
b16f8a3b
DB
22282016-04-06 Don Breazeal <donb@codesourcery.com>
2229
2230 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
2231 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
2232
c2f901df
SM
22332016-04-06 Simon Marchi <simon.marchi@ericsson.com>
2234
2235 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
2236 standard_output_file. Remove unused binfile variable.
2237
ac17fda0
CU
22382016-04-05 Catalin Udma <catalin.udma@freescale.com>
2239
2240 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
2241 * gdb.python/py-mi-objfile.exp: Match "list main" output
2242 in console format.
2243
03a8c4df
SM
22442016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
2245
2246 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
2247 absolute.
2248
6e774b13
SM
22492016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2250
2251 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
2252 absolute.
2253 * gdb.trace/ftrace.exp: Likewise.
2254 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
2255 targets as well.
2256 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
2257 (gdb_load_shlibs): Copy libraries to test directory when testing
2258 natively. Only set solib-search-path if testing remotely.
2259 * lib/mi-support.exp (mi_load_shlibs): Likewise.
2260
7817ea46
SM
22612016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2262
2263 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
2264 gdb_download. Use it even if the target is not remote.
2265 * gdb.base/jit.exp (compile_jit_test): Likewise.
2266 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
2267 output directory if the destination board is local, otherwise use
2268 the standard remote_download from DejaGnu.
2269 (gdb_download): Remove.
2270 (gdb_load_shlibs): Use gdb_remote_download instead of
2271 gdb_download.
2272 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
2273 Use gdb_remote_download instead of gdb_download. Use it even if
2274 the target is not remote.
2275 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
2276 instead of gdb_download.
2277
7beb7f68
SM
22782016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
2279
2280 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
2281 (test_insert_delete_modify): Call mi_load_shlibs before trying to
2282 run.
2283
cc63428a
AV
22842016-04-01 Artemiy Volkov <artemiyv@acm.org>
2285
2286 PR gdb/19820
2287 * gdb.base/printcmds.exp: Add artificial arrays tests.
2288
64cdf930
PA
22892016-03-31 Pedro Alves <palves@redhat.com>
2290
2291 PR gdb/19858
2292 * gdb.base/jit-main.c: Include unistd.h.
2293 (ATTACH): Define to 0 if not already defined.
2294 (wait_for_gdb, mypid): New globals.
2295 (WAIT_FOR_GDB): New macro.
2296 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
2297 some breakpoint locations.
2298 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
2299 New procedures.
2300 (one_jit_test): Add REATTACH parameter, and handle it. Use
2301 continue_to_test_location.
2302 (top level): Test attach, and adjusts calls to one_jit_test.
2303
40dea8cb
PA
23042016-03-31 Pedro Alves <palves@redhat.com>
2305
2306 PR gdb/19858
2307 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
2308 BINSUFFIX parameter, and handle it.
2309 (top level): Adjust calls compile_jit_test.
2310
e7ea3ec7
CU
23112016-03-31 Catalin Udma <catalin.udma@freescale.com>
2312
2313 PR python/19743
2314 * gdb.python/py-mi-events-gdb.py: New file.
2315 * gdb.python/py-mi-events.c: New file.
2316 * gdb.python/py-mi-events.exp: New file.
2317
e6359af3
YQ
23182016-03-30 Yao Qi <yao.qi@linaro.org>
2319
2320 * gdb.reverse/until-precsave.exp: Match function name only.
2321 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
2322 Move malloc to a condition block.
2323 * gdb.reverse/until-reverse.exp: Match function name only.
2324
a4105d04
MK
23252016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
2326
2327 * gdb.trace/ftrace.exp: Set arg0exp for s390.
2328 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
2329 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
2330 variable for GPR 0 instead of assuming it is register 0.
2331 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
2332 * lib/trace-support.exp: Add s390 registers.
2333
bfa6adb9
YQ
23342016-03-29 Yao Qi <yao.qi@linaro.org>
2335
2336 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
2337
1e6697ea
YQ
23382016-03-24 Yao Qi <yao.qi@linaro.org>
2339
2340 * gdb.reverse/break-reverse.exp: Add quotation mark in the
2341 test message.
2342
64bcd522
AA
23432016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2344
2345 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
2346 maintaining separate logic for constructing the output path.
2347
7868401b
DB
23482016-03-16 Don Breazeal <donb@codesourcery.com>
2349
2350 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2351 Retry fork and waitpid on interrupted system call errors.
2352 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2353 Use with_timeout_factor to increase timeout by factor of 10.
2354
1cafadb4
DB
23552016-03-15 Don Breazeal <donb@codesourcery.com>
2356
2357 * gdb.cp/scope-err.cc: New test program.
2358 * gdb.cp/scope-err.exp: New test script.
2359 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
2360 lines and "set breakpoint here" comment.
2361 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
2362 Fixed some whitespace and format issues.
2363 * gdb.mi/mi-linespec-err-cp.cc: New test program.
2364 * gdb.mi/mi-linespec-err-cp.exp: New test script.
2365
81516450
DE
23662016-03-15 Doug Evans <dje@google.com>
2367
2368 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
2369 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2370 All callers updated. Add tests for enums, mixed flags register.
2371
aa52b601
DE
23722016-03-15 Doug Evans <dje@google.com>
2373
2374 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2375 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2376
fa4ff313
SM
23772016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2378
2379 * gdb.base/default.exp: Add $_as_string to the list of expected
2380 convenience functions.
2381
f2403c39
AB
23822016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2383
2384 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2385
f2f3ccb9
SM
23862016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2387
2388 * gdb.python/py-as-string.exp: New file.
2389 * gdb.python/py-as-string.c: New file.
2390
00dbd492
PA
23912016-03-09 Pedro Alves <palves@redhat.com>
2392
2393 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2394 signal" -> "Thread NN received signal" output change.
2395 * gdb.threads/ia64-sigill.exp: Likewise.
2396 * gdb.threads/linux-dp.exp: Likewise.
2397 * gdb.threads/manythreads.exp: Likewise.
2398 * gdb.threads/pending-step.exp: Likewise.
2399 * gdb.threads/print-threads.exp: Likewise.
2400 * gdb.threads/sigstep-threads.exp: Likewise.
2401 * gdb.threads/staticthreads.exp: Likewise.
2402 * gdb.threads/tls.exp: Likewise.
2403
1e6697ea
YQ
24042016-03-09 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.base/command-line-input.exp: New file.
2407
b04fd3be
MK
24082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2409
2410 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2411 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2412 * gdb.trace/pending.exp: Accept leading dot before function name.
2413 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2414 * lib/trace-support.exp: Set registers for ppc.
2415
98fa59e9
MK
24162016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2417
2418 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2419 use it for disassembly; accept .main in addition to main in backtrace.
2420
f77198c8
MK
24212016-03-09 Wei-cheng Wang <cole945@gmail.com>
2422 Marcin Kościelnicki <koriakin@0x04.net>
2423
2424 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2425 (gdb_recursion_test_ptr): New global variable.
2426 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2427 gdb_recursion_test.
2428 (gdb_c_test): Ditto.
2429
ba84e0da
MK
24302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2431
2432 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2433 ordering.
2434
4366d36e
MK
24352016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2436
2437 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2438 (bar): Add bar_start_lbl label.
2439 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2440 of foo/bar for emitting DWARF and tracing.
2441
5eb264df
SDJ
24422016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2443
2444 * analyze-racy-logs.py: Set executable bit.
2445
fb6a751f
SDJ
24462016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2447
2448 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2449 (CHECK_TARGET_TMP): Likewise.
2450 (check-single-racy): New rule.
2451 (check-parallel-racy): Likewise.
2452 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2453 (do-check-parallel-racy): New rule.
2454 (check-racy/%.exp): Likewise.
2455 * README (Racy testcases): New section.
2456 * analyze-racy-logs.py: New file.
2457
bdf7e230
DE
24582016-03-03 Doug Evans <dje@google.com>
2459
2460 * gdb.base/skip.exp: Use with_test_prefix.
2461
4719d415
YQ
24622016-03-03 Yao Qi <yao.qi@linaro.org>
2463
2464 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2465 Invoke step_over_syscall "clone" and break_cond_on_syscall
2466 "clone".
2467 * gdb.base/step-over-clone.c: New file.
2468
ea507862
YQ
24692016-03-03 Yao Qi <yao.qi@linaro.org>
2470
2471 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2472 code format.
2473
8fc8cbda
YQ
24742016-03-03 Yao Qi <yao.qi@linaro.org>
2475
2476 * gdb.base/disp-step-fork.c: Rename to ...
2477 * gdb.base/step-over-fork.c: ... it. New file.
2478 * gdb.base/disp-step-vfork.c: Rename to ...
2479 * gdb.base/step-over-vfork.c: ... it. New file.
2480 * gdb.base/disp-step-syscall.exp: Rename to ...
2481 * gdb.base/step-over-syscall.exp: ... it. New file.
2482 (disp_step_cross_syscall): Rename to ...
2483 (step_over_syscall): ... it.
2484
92fa70b0
YQ
24852016-03-03 Yao Qi <yao.qi@linaro.org>
2486
2487 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2488 If target supports condition evaluation on target, invoke
2489 break_cond_on_syscall for fork and vfork.
2490
e197ad3c
YQ
24912016-03-03 Yao Qi <yao.qi@linaro.org>
2492
2493 * gdb.base/disp-step-syscall.exp: Don't invoke
2494 support_displaced_stepping.
2495 (disp_step_cross_syscall): Test with displaced stepping off and
2496 on if supported.
2497
0b47da9f
YQ
24982016-03-03 Yao Qi <yao.qi@linaro.org>
2499
2500 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2501 proc.
2502 (setup): New proc.
2503 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2504 and setup.
2505
065ab6dc
BH
25062016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2507
2508 * gdb.fortran/vla-history.exp: Remove breakpoint.
2509
07e448ad 25102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2511
25d49b86
PA
2512 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2513 exceeds timeout.
07e448ad 2514
9ac2d526 25152016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2516
25d49b86
PA
2517 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2518 breakpoint.
9ac2d526 2519
17807369
BH
25202016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2521
2522 * gdb.mi/vla.f90: Nullify pointer after declaration.
2523
86e501af
PA
25242016-03-01 Pedro Alves <palves@redhat.com>
2525
2526 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2527
1e903e32
PA
25282016-03-01 Pedro Alves <palves@redhat.com>
2529
2530 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2531 before anything else.
2532 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2533 _GNU_SOURCE here.
2534 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2535 before anything else.
2536 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2537
6ccb54e2
PA
25382016-03-01 Pedro Alves <palves@redhat.com>
2539
2540 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2541
30ca9da1
YQ
25422016-03-01 Yao Qi <yao.qi@linaro.org>
2543
2544 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2545 prepare_for_testing.
2546
dc856b38
YQ
25472016-03-01 Yao Qi <yao.qi@linaro.org>
2548
2549 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2550
4a932159
AA
25512016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2552
2553 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2554 manually constructing the output path.
2555
f2489477
AA
25562016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2557
2558 * gdb.arch/s390-stackless.S: New.
2559 * gdb.arch/s390-stackless.exp: New.
2560
38899f16
IB
25612016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2562
2563 * gdb.dlang/circular.c: New file.
2564 * gdb.dlang/circular.exp: New file.
2565
9fde51ed
YQ
25662016-02-26 Yao Qi <yao.qi@linaro.org>
2567
2568 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2569 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2570 (testcases): Update.
2571
ce90fefe
YQ
25722016-02-26 Yao Qi <yao.qi@linaro.org>
2573
2574 * gdb.reverse/aarch64.c: Rename to ...
2575 * gdb.reverse/insn-reverse.c: ... it.
2576 * gdb.reverse/aarch64.exp: Rename to ...
2577 * gdb.reverse/insn-reverse.exp: ... it.
2578
3263bceb
YQ
25792016-02-26 Yao Qi <yao.qi@linaro.org>
2580
2581 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2582 (testcase_ftype): New.
2583 (testcases): New array.
2584 (n_testcases): New.
2585 (main): Call each element in testcases.
2586 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2587 (read_testcase): New.
2588 Do the tests in a loop.
2589
6cb59ff1
YQ
25902016-02-25 Yao Qi <yao.qi@linaro.org>
2591
2592 * gdb.base/branches.c: Remove.
2593
ae91f625
MK
25942016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2595
2596 PR gdb/13808
2597 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2598
678b48b7
MK
25992016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2600
2601 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2602
7337a6f2
MK
26032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2604
2605 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2606 change x86_64 call_insn to 'callq'.
2607
861ca91f
AT
26082016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2609
2610 * gdb.trace/tfile-avx.c: Move to...
2611 * gdb.trace/tracefile-pseudo-reg.c: Here.
2612 * gdb.trace/tfile-avx.exp: Move to...
2613 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2614
bf74e428
GB
26152016-02-24 Gary Benson <gbenson@redhat.com>
2616
2617 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2618 message on attach.
2619
cce0e923
DE
26202016-02-23 Doug Evans <dje@google.com>
2621
2622 * gdb.base/skip.c (test_skip): New function.
2623 (end_test_skip_file_and_function): New function.
2624 (test_skip_file_and_function): New function.
2625 * gdb.base/skip1.c (test_skip): New function.
2626 (skip1_test_skip_file_and_function): New function.
2627 * gdb.base/skip.exp: Add tests for new skip options.
2628 * gdb.base/skip-solib.exp: Update expected output.
2629 * gdb.perf/skip-command.cc: New file.
2630 * gdb.perf/skip-command.exp: New file.
2631 * gdb.perf/skip-command.py: New file.
2632
4000e47e
MK
26332016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2634
2635 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2636 info registers pattern.
2637
24f75ead
IB
26382016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2639
2640 * lib/future.exp: Add D support.
2641 (gdb_find_gdc): New proc.
2642 (gdb_default_target_compile): Add D support.
2643
fbb7bcbe
WW
26442016-02-18 Wei-cheng Wang <cole945@gmail.com>
2645
2646 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2647 user+system time.
2648 (trace_speed_test): Determine the iteration count for a time
2649 between 15..30 seconds.
2650
012b3a21
WT
26512016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2652
2653 * gdb.arch/i386-mpx-sigsegv.c: New file.
2654 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2655 * gdb.arch/i386-mpx-simple_segv.c: New file.
2656 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2657
2d5189bd
YQ
26582016-02-18 Yao Qi <yao.qi@linaro.org>
2659
2660 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2661 Don't call setup_kfail.
2662
40fb20d0
YQ
26632016-02-18 Yao Qi <yao.qi@linaro.org>
2664
2665 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2666 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2667
21b1f8d2
DE
26682016-02-16 Doug Evans <dje@google.com>
2669
2670 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2671 * gdb.base/skip1.c: Ditto.
2672 * gdb.base/skip.exp: Whitespace cleanup.
2673
4041ed77
DB
26742016-02-16 Don Breazeal <donb@codesourcery.com>
2675
2676 PR remote/19496
2677 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2678 Remove kfail for PR remote/19496.
2679
c4ef31bf
SM
26802016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2681
2682 * lib/gdb.exp (standard_temp_file): Return a path specific to
2683 the runtest invocation.
2684
266b65b3
SM
26852016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2686
2687 * gdb.trace/save-trace.exp: Change relative path to be in the
2688 standard output directory.
2689
a7a0a6a9
JK
26902016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2691
2692 * gdb.arch/i386-prologue.c: Add missing prototypes.
2693
c99dbb42
JK
26942016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2695
2696 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2697 * gdb.arch/i386-prologue.exp: Likewise.
2698 * gdb.arch/i386-size.exp: Likewise.
2699
aa480355
SM
27002016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2701
2702 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2703 define object file path.
2704 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2705 file path.
2706 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2707 standard_output_file to define binfile.
2708
ba881f50
JK
27092016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2710
2711 Fix compatibility with recent gfortran-5.3.1.
2712 * gdb.fortran/vla-history.exp (print vla1 allocated)
2713 (print vla2 allocated, print $2, print $3): Remove
2714 (print $4): Rename to ...
2715 (print $2): ... here.
2716 (print $9): Rename to ...
2717 (print $5): ... here.
2718 (print $10): Rename to ...
2719 (print $6): ... here.
2720 * gdb.fortran/vla.f90: Add pvla initialization.
2721
e9fb005c
JK
27222016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2723
2724 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2725 New test.
2726 * gdb.fortran/vla-value-sub.exp: Likewise.
2727
e44e00ff
MK
27282016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2729
2730 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2731
97e94151
SM
27322016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2733
2734 * i386-biarch-core.exp: Define corefile using
2735 standard_output_file.
2736
01113bc1
YQ
27372016-02-12 Yao Qi <yao.qi@linaro.org>
2738
2739 * gdb.arch/arm-single-step-kernel-helper.c: New.
2740 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2741
33b4777c
MM
27422016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2743
2744 * gdb.btrace/tailcall-only.exp: New.
2745 * gdb.btrace/tailcall-only.c: New.
2746 * gdb.btrace/x86_64-tailcall-only.S: New.
2747 * gdb.btrace/i686-tailcall-only.S: New.
2748
acc23c11
PA
27492016-02-11 Pedro Alves <palves@redhat.com>
2750
2751 * README (Parallel testing): Add missing double quotes.
2752
e352bf0a
PA
27532016-02-11 Pedro Alves <palves@redhat.com>
2754
2755 * README (Parallel testing): New section.
2756 (GDB_PARALLEL): Rewrite.
2757 (FORCE_PARALLEL): Document.
2758
9f5fed78
MK
27592016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2760
2761 * gdb.trace/tfile-avx.c: New test.
2762 * gdb.trace/tfile-avx.exp: New test.
2763
9ef9e6a6
KS
27642016-02-09 Keith Seitz <keiths@redhat.com>
2765
2766 PR breakpoints/19546
2767 * gdb.base/infcall-exec.c: New file.
2768 * gdb.base/infcall-exec2.c: New file.
2769 * gdb.base/infcall-exec.exp: New file.
2770
a96e36da
KS
27712016-02-09 Keith Seitz <keiths@redhat.com>
2772
2773 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2774 (toplevel): Call test_bkpt_address.
2775
9f61929f
KS
27762016-02-09 Keith Seitz <keiths@redhat.com>
2777
2778 PR python/19506
2779 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2780 (toplevel): Call test_bkpt_address.
2781
1e94266c
SM
27822016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2783
2784 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2785 to AC_OUTPUT.
2786 * configure: Regenerate.
2787
2a7f3dff
PA
27882016-02-09 Pedro Alves <palves@redhat.com>
2789
2790 PR breakpoints/19548
2791 * gdb.base/execl-update-breakpoints.c (some_function): New
2792 function.
2793 (main): Call it.
2794 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2795 Tighten expected GDB output.
2796
2151ccc5
SM
27972016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2798
2799 * Makefile.in (ALL_SUBDIRS): Remove.
2800 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2801 (distclean maintainer-clean realclean): Likewise.
2802 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2803 * configure: Regenerate.
2804 * gdb.ada/Makefile.in: Delete.
2805 * gdb.arch/Makefile.in: Likewise.
2806 * gdb.asm/Makefile.in: Likewise.
2807 * gdb.base/Makefile.in: Likewise.
2808 * gdb.btrace/Makefile.in: Likewise.
2809 * gdb.cell/Makefile.in: Likewise.
2810 * gdb.compile/Makefile.in: Likewise.
2811 * gdb.cp/Makefile.in: Likewise.
2812 * gdb.disasm/Makefile.in: Likewise.
2813 * gdb.dlang/Makefile.in: Likewise.
2814 * gdb.dwarf2/Makefile.in: Likewise.
2815 * gdb.fortran/Makefile.in: Likewise.
2816 * gdb.gdb/Makefile.in: Likewise.
2817 * gdb.go/Makefile.in: Likewise.
2818 * gdb.guile/Makefile.in: Likewise.
2819 * gdb.java/Makefile.in: Likewise.
2820 * gdb.linespec/Makefile.in: Likewise.
2821 * gdb.mi/Makefile.in: Likewise.
2822 * gdb.modula2/Makefile.in: Likewise.
2823 * gdb.multi/Makefile.in: Likewise.
2824 * gdb.objc/Makefile.in: Likewise.
2825 * gdb.opencl/Makefile.in: Likewise.
2826 * gdb.opt/Makefile.in: Likewise.
2827 * gdb.pascal/Makefile.in: Likewise.
2828 * gdb.perf/Makefile.in: Likewise.
2829 * gdb.python/Makefile.in: Likewise.
2830 * gdb.reverse/Makefile.in: Likewise.
2831 * gdb.server/Makefile.in: Likewise.
2832 * gdb.stabs/Makefile.in: Likewise.
2833 * gdb.threads/Makefile.in: Likewise.
2834 * gdb.trace/Makefile.in: Likewise.
2835 * gdb.xml/Makefile.in: Likewise.
2836 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2837 GDB_PARALLEL.
2838 (standard_output_file): Remove check for GDB_PARALLEL, always
2839 return path in outputs/$subdir/$testname.
2840
437277d4
SM
28412016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2842
2843 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2844 (site.exp): Assign abs_srcdir to tcl's srcdir.
2845
31d913c7
YQ
28462016-02-04 Yao Qi <yao.qi@linaro.org>
2847
2848 * gdb.base/foll-exec-mode.c: Include limits.h.
2849 (main): Add parameters argc and argv. Get directory from
2850 argv[0].
2851 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2852 compilation.
2853 * gdb.base/foll-exec.c: Include limits.h.
2854 (main): Add parameters argc and argv.
2855 Get directory from argv[0].
2856 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2857 Adjust tests on the number of lines as source code changed.
2858 * gdb.base/foll-vfork-exit.c: Include limits.h.
2859 (main): Add one line of statement before vfork.
2860 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2861 (main): Add parameters argc and argv. Get directory from
2862 argv[0].
2863 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2864 (setup_gdb): Set tbreak to skip some source lines.
2865 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2866 (main): Add parameters argc and argv. Get directory from
2867 argv[0].
2868 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2869 compilation.
2870 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2871 (main): Add parameters argc and argv. Get directory from
2872 argv[0].
2873 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2874 compilation.
2875
9482b9fb
DE
28762016-02-01 Doug Evans <dje@google.com>
2877
2878 * gdb.base/skip.exp: Clean up multiple references to same test name.
2879
6b2e4f10
PA
28802016-02-01 Pedro Alves <palves@redhat.com>
2881
ccb6afd6 2882 PR remote/19496
6b2e4f10
PA
2883 * gdb.threads/forking-threads-plus-breakpoint.exp
2884 (displaced_stepping_supported): New global.
2885 (probe_displaced_stepping_support): New procedure.
2886 (do_test): Add 'displaced' parameter, and use it.
2887 (top level): Check for displaced stepping support. Add displaced
2888 stepping on/off testing axis.
2889
37a8db1a
AB
28902016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2891
2892 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2893 pointer. Don't perform further tests on the unassociated pointer
2894 if the first test fails.
2895
5fdf6324
AB
28962016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2897
2898 * gdb.base/max-value-size.c: New file.
2899 * gdb.base/max-value-size.exp: New file.
2900 * gdb.base/huge.exp: Disable max-value-size for this test.
2901
935c6144
IB
29022016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2903
2904 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2905
7fe8399d
YQ
29062016-01-28 Yao Qi <yao.qi@linaro.org>
2907
2908 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2909
a2077e25
PA
29102016-01-25 Pedro Alves <palves@redhat.com>
2911
2912 PR threads/19461
2913 * gdb.base/fork-running-state.c: New file.
2914 * gdb.base/fork-running-state.exp: New file.
2915
1d2736d4
PA
29162016-01-25 Pedro Alves <palves@redhat.com>
2917
2918 PR gdb/19494
2919 * gdb.base/catch-fork-kill.c: New file.
2920 * gdb.base/catch-fork-kill.exp: New file.
2921
f1da4b11
PA
29222016-01-25 Pedro Alves <palves@redhat.com>
2923
2924 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2925 Delete, moved to lib/gdb.exp.
2926 * gdb.threads/forking-threads-plus-breakpoint.exp
2927 (foreach_with_prefix): Likewise.
2928 * gdb.threads/process-dies-while-handling-bp.exp
2929 (foreach_with_prefix): Likewise.
2930 * lib/gdb.exp (foreach_with_prefix): New procedure.
2931
45f38546
MK
29322016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2933
2934 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2935 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2936
dc29a1ce
MK
29372016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2938
2939 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2940 endian targets.
2941
092127d7
JK
29422016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2943 Pedro Alves <palves@redhat.com>
2944
2945 Fix testsuite compatibility with Guile.
2946 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2947 number.
2948
31d765d3
JK
29492016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2950
2951 Fix testsuite compatibility with Guile.
2952 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2953 (thread 1): New test for backtrace through signal handler.
2954
1ac78c04
YQ
29552016-01-22 Yao Qi <yao.qi@linaro.org>
2956
2957 PR testsuite/19491
2958 * gdb.base/multi-forks.c: Include
2959 ../lib/unbuffer_output.c
2960 (main): Call gdb_unbuffer_output.
2961
4f5946a8
DE
29622016-01-21 Doug Evans <dje@google.com>
2963
2964 * lib/ada.exp (gdb_compile_ada): Fix typo.
2965
305e13e6
JB
29662016-01-21 Joel Brobecker <brobecker@adacore.com>
2967
2968 * gdb.base/break-fun-addr.exp: New file.
2969 * gdb.base/break-fun-addr1.c: New file.
2970 * gdb.base/break-fun-addr2.c: New file.
2971
5f5dfff6
SM
29722016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2973
2974 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2975 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2976 enum flag values.
2977
fd356fa2
AA
29782016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2979
2980 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2981 when GDB can not set the vector return value. Add more comments
2982 for clarification.
2983
9df22175
AT
29842016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2985
2986 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2987 command.
2988
41d1845e
SM
29892016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2990
2991 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2992
01ac6840
SM
29932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2994
2995 * Makefile.in (check-single): Pass --status to runtest.
2996 (check/%.exp): Likewise.
2997
29982016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2999
3000 * Makefile.in (check-parallel): Propagate return code from make
3001 do-check-parallel.
3002
bd0a71fa
MK
30032016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
3004
3005 * gdb.trace/ftrace.exp: Fix expected message on continue.
3006 * gdb.trace/pending.exp: Fix expected message on continue.
3007 * gdb.trace/trace-break.exp: Fix expected message on continue.
3008
8bcbad33
SM
30092016-01-18 Simon Marchi <simon.marchi@ericsson.com>
3010
3011 * lib/gdb.exp (gdb_test): Remove unused global references.
3012
f303dbd6
PA
30132016-01-18 Pedro Alves <palves@redhat.com>
3014
3015 * gdb.base/async-shell.exp: Adjust expected output.
3016 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
3017 * gdb.base/siginfo-thread.exp: Adjust expected output.
3018 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
3019 * gdb.java/jnpe.exp: Adjust expected output.
3020 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
3021 * gdb.threads/continue-pending-status.exp: Adjust expected output.
3022 * gdb.threads/leader-exit.exp: Adjust expected output.
3023 * gdb.threads/manythreads.exp: Adjust expected output.
3024 * gdb.threads/pthreads.exp: Adjust expected output.
3025 * gdb.threads/schedlock.exp: Adjust expected output.
3026 * gdb.threads/siginfo-threads.exp: Adjust expected output.
3027 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
3028 expected output.
3029 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
3030 output.
3031 * gdb.threads/sigthread.exp: Adjust expected output.
3032 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
3033
b2789696
YQ
30342016-01-18 Yao Qi <yao.qi@linaro.org>
3035
3036 * gdb.guile/scm-section-script.c: Replace @progbits with
3037 %progbits.
3038 * gdb.python/py-section-script.c: Likewise.
3039
71ef29a8
PA
30402016-01-15 Pedro Alves <palves@redhat.com>
3041
3042 * gdb.multi/tids.exp: Test star wildcard ranges.
3043
3f5b7598
PA
30442016-01-15 Pedro Alves <palves@redhat.com>
3045
3046 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
3047 command from "thread apply" invocation.
3048 (thr_apply_info_thr_invalid): Default the expected output to the
3049 input tid list.
3050 (top level): Add tests that use convenience variables. Add tests
3051 for "thread apply" with a valid TID list, but missing the command.
3052
663f6d42
PA
30532016-01-13 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.base/default.exp: Expect $_gthread as well.
3056 * gdb.multi/tids.exp: Test $_gthread.
3057 * gdb.threads/thread-specific.exp: Test $_gthread.
3058
c84f6bbf
PA
30592016-01-13 Pedro Alves <palves@redhat.com>
3060
3061 * gdb.multi/tids.exp: Test "info threads -gid".
3062
22a02324
PA
30632016-01-13 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.multi/tids.exp: Test InferiorThread.global_num and
3066 Breakpoint.thread.
3067 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
3068
5d5658a1
PA
30692016-01-07 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.base/break.exp: Adjust to output changes.
3072 * gdb.base/hbreak2.exp: Likewise.
3073 * gdb.base/sepdebug.exp: Likewise.
3074 * gdb.base/watch_thread_num.exp: Likewise.
3075 * gdb.linespec/keywords.exp: Likewise.
3076 * gdb.multi/info-threads.exp: Likewise.
3077 * gdb.threads/thread-find.exp: Likewise.
3078 * gdb.multi/tids.c: New file.
3079 * gdb.multi/tids.exp: New file.
3080
84654457
PA
30812016-01-13 Pedro Alves <palves@redhat.com>
3082
3083 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
3084
e3940304
PA
30852016-01-13 Pedro Alves <palves@redhat.com>
3086
3087 * gdb.base/default.exp: Expect $_inferior as well.
3088 * gdb.multi/base.exp: Test $_inferior.
3089
a911d87a
PA
30902016-01-13 Pedro Alves <palves@redhat.com>
3091
3092 PR breakpoints/19388
3093 * gdb.base/catch-signal-siginfo-cond.c: New file.
3094 * gdb.base/catch-signal-siginfo-cond.exp: New file.
3095
82075af2
JS
30962016-01-12 Josh Stone <jistone@redhat.com>
3097 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3098
3099 * gdb.base/catch-syscall.c (do_execve): New variable.
3100 (main): Conditionally trigger an execve.
3101 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
3102 (test_catch_syscall_execve): New, check entry/return across execve.
3103 (do_syscall_tests): Call test_catch_syscall_execve.
3104
e46eeedd
PA
31052016-01-12 Pedro Alves <palves@redhat.com>
3106
3107 * gdb.base/random-signal.exp (do_test): New procedure, with body
3108 of testcase moved in.
3109
01d8c27e
JK
31102016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3111 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.base/funcargs.exp (finish from indirectly called function):
3114 Reintroduce the case for 'First'.
3115
9a706302
JK
31162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3117 Pedro Alves <palves@redhat.com>
3118
3119 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3120 (tcatch_vfork_then_child_follow_exec)
3121 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
3122 identification.
3123
c0ecb95f
JK
31242016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3125
3126 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
3127 and repeats to unlimited.
3128 * gdb.python/py-value.exp: Likewise.
3129 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
3130 and repeats to unlimited.
3131
6cfc1fcb
JK
31322016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3133
3134 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
3135 and reordering the functions.
3136 * gdb.multi/hangout.c: Likewise.
3137 * gdb.multi/hello.c: Likewise.
3138
582a1b00
SM
31392016-01-08 Simon Marchi <simon.marchi@ericsson.com>
3140
3141 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
3142 absolute.
3143 (SingleStatisticTestResult.report): Use dict.keys instead of
3144 dict.iterkeys.
3145
79bc59cb
PA
31462016-01-06 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
3149
43368e1d
MM
31502016-01-04 Markus Metzger <markus.t.metzger@intel.com>
3151
3152 * gdb.btrace/dlopen.exp: New.
3153 * gdb.btrace/dlopen.c: New.
3154 * gdb.btrace/dlopen-dso.c: New.
3155
79fad5b8
SL
31562015-12-25 Sandra Loosemore <sandra@codesourcery.com>
3157
3158 * lib/gdb.exp (gdb_test): Update comments to clarify that the
3159 PATTERN argument is optional.
3160
ab8314b3
JB
31612015-12-24 Joel Brobecker <brobecker@adacore.com>
3162
3163 * lib/ada.exp (target_compile_ada_from_dir): New function.
3164 (gdb_compile_ada): Reimplement avoiding the use of project files.
3165 * gdb.ada/gnat_ada.gpr: Delete.
3166 * gdb.ada/cond_lang.exp: Adjust test to make path before
3167 filename optional.
3168 * gdb.ada/small_reg_param.exp: Likewise.
3169
fe33faff
SM
31702015-12-22 Simon Marchi <simon.marchi@ericsson.com>
3171
3172 * gdb.base/foll-vork.exp: Remove HP-UX special case.
3173
6d265cb4
TP
31742015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
3175
3176 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
3177 case.
3178
10125099
SM
31792015-12-21 Simon Marchi <simon.marchi@ericsson.com>
3180
3181 * gdb.base/break.exp: Remove dead code.
3182 * gdb.base/sepdebug.exp: Likewise.
3183
3ca22649
SM
31842015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3185
3186 * gdb.asm/asm-source.exp: Remove HP-UX references.
3187 * gdb.base/annota1.exp: Likewise.
3188 * gdb.base/annota3.exp: Likewise.
3189 * gdb.base/attach.exp: Likewise.
3190 * gdb.base/bigcore.exp: Likewise.
3191 * gdb.base/break.exp: Likewise.
3192 * gdb.base/call-ar-st.exp: Likewise.
3193 * gdb.base/callfuncs.exp: Likewise.
3194 * gdb.base/catch-fork-static.exp: Likewise.
3195 * gdb.base/display.exp: Likewise.
3196 * gdb.base/foll-exec-mode.exp: Likewise.
3197 * gdb.base/foll-exec.exp: Likewise.
3198 * gdb.base/foll-fork.exp: Likewise.
3199 * gdb.base/foll-vfork.exp: Likewise.
3200 * gdb.base/funcargs.exp: Likewise.
3201 * gdb.base/hbreak2.exp: Likewise.
3202 * gdb.base/inferior-died.exp: Likewise.
3203 * gdb.base/interrupt.exp: Likewise.
3204 * gdb.base/multi-forks.exp: Likewise.
3205 * gdb.base/nodebug.exp: Likewise.
3206 * gdb.base/sepdebug.exp: Likewise.
3207 * gdb.base/solib1.c: Likewise.
3208 * gdb.base/step-test.exp: Likewise.
3209 * gdb.mi/non-stop.c: Likewise.
3210 * gdb.mi/pthreads.c: Likewise.
3211 * gdb.multi/bkpt-multi-exec.ex: Likewise.
3212 * gdb.threads/pthreads.c: Likewise.
3213 * gdb.threads/staticthreads.exp: Likewise.
3214 * lib/future.exp: Likewise.
3215 * lib/gdb.exp: Likewise.
3216 * gdb.base/so-indr-cl.c: Remove.
3217 * gdb.base/so-indr-cl.exp: Likewise.
3218 * gdb.base/solib.c: Likewise.
3219 * gdb.base/solib.exp: Likewise.
3220 * gdb.base/solib2.c: Likewise.
3221
b6304613
SM
32222015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
3223
3224 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
3225 * gdb.base/call-ar-st.exp: Likewise.
3226 * gdb.base/callfuncs.exp: Likewise.
3227 * gdb.base/condbreak.exp: Likewise.
3228 * gdb.base/constvars.exp: Likewise.
3229 * gdb.base/hbreak2.exp: Likewise.
3230 * gdb.base/langs.exp: Likewise.
3231 * gdb.base/list.exp: Likewise.
3232 * gdb.base/long_long.exp: Likewise.
3233 * gdb.base/ptype.exp: Likewise.
3234 * gdb.base/scope.exp: Likewise.
3235 * gdb.base/signals.exp: Likewise.
3236 * gdb.base/so-impl-ld.exp: Likewise.
3237 * gdb.base/varargs.exp: Likewise.
3238 * gdb.base/volatile.exp: Likewise.
3239 * gdb.base/whatis.exp: Likewise.
3240 * gdb.cp/cplusfuncs.exp: Likewise.
3241 * gdb.cp/inherit.exp: Likewise.
3242 * gdb.cp/local.exp: Likewise.
3243 * gdb.cp/member-ptr.exp: Likewise.
3244 * gdb.cp/method.exp: Likewise.
3245 * gdb.cp/overload.exp: Likewise.
3246 * gdb.cp/templates.exp: Likewise.
3247 * gdb.stabs/weird.exp: Likewise.
3248 * lib/compiler.c: Likewise.
3249 * lib/compiler.cc: Likewise.
3250 * lib/cp-support.exp: Likewise.
3251 * lib/gdb.exp: Likewise.
3252
bf401b07
SM
32532015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
3254
3255 * configure.ac: Remove HP-UX case.
3256 * configure: Regenerate.
3257
aff9c0f8
SM
32582015-12-18 Simon Marchi <simon.marchi@ericsson.com>
3259
3260 * lib/gdb.exp (gdb_compile): Add function doc.
3261
a6904d5a
PA
32622015-12-17 Pedro Alves <palves@redhat.com>
3263
3264 PR threads/19354
3265 * gdb.multi/info-threads.exp: New file.
3266
a22279dd
YQ
32672015-12-15 Yao Qi <yao.qi@linaro.org>
3268
3269 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
3270 is aarch64*-*-*.
3271
0588c796
SL
32722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3273
3274 * gdb.base/history-duplicates.exp: Skip if no readline support.
3275
5d978e17
SL
32762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3277
3278 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
3279
7e763b86
SL
32802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3281
3282 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
3283
87a3a92c
SL
32842015-12-14 Sandra Loosemore <sandra@codesourcery.com>
3285
3286 * gdb.base/completion.exp: Skip tests that interrupt GDB with
3287 ctrl-C if nointerrupts target property is set.
3288 * gdb.base/double-prompt-target-event-error.exp: Likewise.
3289 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
3290 * gdb.base/paginate-bg-execution.exp: Likewise.
3291 * gdb.base/paginate-execution-startup.exp: Likewise.
3292 * gdb.base/random-signal.exp: Likewise.
3293 * gdb.base/range-stepping.exp: Likewise.
3294 * gdb.cp/annota2.exp: Likewise.
3295 * gdb.cp/annota3.exp: Likewise.
3296 * gdb.gdb/selftest.exp: Likewise.
3297 * gdb.threads/continue-pending-status.exp: Likewise.
3298 * gdb.threads/leader-exit.exp: Likewise.
3299 * gdb.threads/manythreads.exp: Likewise.
3300 * gdb.threads/pthreads.exp: Likewise.
3301 * gdb.threads/schedlock.exp: Likewise.
3302 * gdb.threads/sigthread.exp: Likewise.
3303
a8f077dc
DB
33042015-12-11 Don Breazeal <donb@codesourcery.com>
3305
3306 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
3307 remote.
3308 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
3309 * gdb.base/foll-exec.exp (main): Enable for target remote.
3310 * gdb.base/foll-fork.exp (main): Likewise.
3311 * gdb.base/foll-vfork.exp (main): Likewise.
3312 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
3313 (proc continue_to_exit_bp_loc): Use clean_restart.
3314 * gdb.base/pie-execl.exp (main): Disable for target remote.
3315 * gdb.base/watch-vfork.exp (main): Enable for target remote.
3316 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
3317 * gdb.threads/execl.exp (main): Likewise.
3318 * gdb.threads/fork-child-threads.exp (main): Likewise.
3319 * gdb.threads/fork-plus-threads.exp (main): Disable for target
3320 remote.
3321 * gdb.threads/fork-thread-pending.exp (main): Enable for target
3322 remote.
3323 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
3324 pid.tid style ptids, instead of just tid.
3325 * gdb.threads/thread-execl.exp (main): Enable for target remote.
3326 * gdb.threads/watchpoint-fork.exp (main): Likewise.
3327 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
3328 ptids, instead of just tid.
3329
3b2464a8
AB
33302015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3331
3332 * gdb.base/list.exp (test_list_forward): Add end of file error
3333 test.
3334 (test_repeat_list_command): Add end of file error test.
3335 (test_list_backwards): Add beginning of file error test.
3336
a0def019
AB
33372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3338
3339 * gdb.base/list.exp (test_list_invalid_args): New function,
3340 defined, and called.
3341
5c000dff
AB
33422015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.base/list.exp (test_list): Make test names unique.
3345
f1637ebe
YQ
33462015-12-11 Yao Qi <yao.qi@linaro.org>
3347
3348 * gdb.base/coremaker2.c: Remove.
3349
36d6fc0a
PA
33502015-12-10 Pedro Alves <palves@redhat.com>
3351
3352 * gdb.multi/base.exp: Remove stale "spaces" references.
3353
762f7747
PA
33542015-12-10 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.multi/base.exp: Don't use nowarnings.
3357 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
3358 * gdb.multi/hangout.c: Include stdio.h.
3359 * gdb.multi/hello.c: Include stdlib.h.
3360 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
3361 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
3362 * gdb.multi/multi-arch.exp: Don't use nowarnings.
3363
28d2bfb9
AB
33642015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
3365
3366 * gdb.dwarf2/dw2-ranges-base.c: New file.
3367 * gdb.dwarf2/dw2-ranges-base.exp: New file.
3368 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
3369 support additional line table, and debug ranges generation.
3370 (Dwarf::ranges): New function, generate .debug_ranges.
3371 (Dwarf::lines): Support generating simple line table programs.
3372 (Dwarf::assemble): Initialise new namespace variables.
3373
5fc2beac
KB
33742015-12-09 Kevin Buettner <kevinb@redhat.com>
3375
3376 * gdb.base/async.exp (proc test_background): Add case for
3377 asynchronous execution not supported.
3378
1c35a88f
LM
33792015-12-09 Luis Machado <lgustavo@codesourcery.com>
3380
3381 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3382 format and change test names to make them unique.
3383
b593e3d9
RK
33842015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3385 Pedro Alves <pedro@redhat.com>
3386
3387 PR gdb/18702
3388 Add checking of floatformats setup on x86_64 hosts.
3389 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3390 (smallval, bigval): New labels/constants.
3391 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3392 float" after loading bigval and smallval.
3393
d72413e6
PMR
33942015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3395
3396 * gdb.ada/fun_overload_menu.exp: New testcase.
3397 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3398
ece66d65
JS
33992015-12-04 Josh Stone <jistone@redhat.com>
3400
3401 * gdb.base/catch-fork-static.exp: New.
3402
41d0efca
YQ
34032015-12-03 Yao Qi <yao.qi@linaro.org>
3404
3405 * gdb.base/sizeof.c: Don't include stdio.h and
3406 ../lib/unbuffer_output.c.
3407 (main): New variable 'size' and 'value'. Remove printf and
3408 gdb_unbuffer_output. Assign return value to size and value.
3409 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3410 at the beginning.
3411 (check_sizeof): Check the result by printing variable 'size'.
3412 (check_valueof): Check the result by printing variable 'value'.
3413
99fd02d9
YQ
34142015-12-01 Yao Qi <yao.qi@linaro.org>
3415
3416 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3417 for aarch64*-*-linux* target.
3418
f2faf941
PA
34192015-11-30 Pedro Alves <palves@redhat.com>
3420
3421 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3422
04bf20c5
PA
34232015-11-30 Pedro Alves <palves@redhat.com>
3424
3425 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3426 Handle non-stop mode vCont replies.
3427
09df4675
PA
34282015-11-30 Pedro Alves <palves@redhat.com>
3429
3430 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3431 prepare_for_testing. Start gdb with "set non-stop on" appended to
3432 GDBFLAGS. Lax expected stop output.
3433
58b584af
YQ
34342015-11-27 Yao Qi <yao.qi@linaro.org>
3435
3436 * gdb.arch/arm-neon.exp: New.
3437 * gdb.arch/arm-neon.c: New.
3438
dfcb77a8
YQ
34392015-11-27 Yao Qi <yao.qi@linaro.org>
3440
3441 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3442
88e8ec1b
YQ
34432015-11-27 Yao Qi <yao.qi@linaro.org>
3444
3445 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3446 frames-invalid annotation.
3447
bfde72c2
YQ
34482015-11-27 Yao Qi <yao.qi@linaro.org>
3449
3450 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3451
f6512a69
SM
34522015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3453
3454 * gdb.threads/names.exp: New file.
3455 * gdb.threads/names.c: New file.
3456 * README: Mention gdb,no_thread_names.
3457
46a3515b
MM
34582015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3459
3460 PR 19297
3461 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3462 support" error.
3463
62147a22
PA
34642015-11-24 Pedro Alves <palves@redhat.com>
3465
3466 PR 17539
3467 * gdb.base/display.exp: Expect displays to be sorted in ascending
3468 order. Use multi_line.
3469 * gdb.base/solib-display.exp: Likewise.
3470
2f341b6e
PA
34712015-11-24 Pedro Alves <palves@redhat.com>
3472
3473 PR 17539
25d49b86
PA
3474 * gdb.base/display.exp: Expect displays to be sorted in ascending
3475 order. Use multi_line.
3476 * gdb.base/solib-display.exp: Likewise.
2f341b6e 3477
7e0aa6aa
PA
34782015-11-24 Pedro Alves <palves@redhat.com>
3479
3480 PR 17539
3481 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3482 threads in ascending order.
3483 * gdb.base/foll-fork.exp: Likewise.
3484 * gdb.base/foll-vfork.exp: Likewise.
3485 * gdb.base/multi-forks.exp: Likewise.
3486 * gdb.mi/mi-nonstop.exp: Likewise.
3487 * gdb.mi/mi-nsintrall.exp: Likewise.
3488 * gdb.multi/base.exp: Likewise.
3489 * gdb.multi/multi-arch.exp: Likewise.
3490 * gdb.python/py-inferior.exp: Likewise.
3491 * gdb.threads/break-while-running.exp: Likewise.
3492 * gdb.threads/execl.exp: Likewise.
3493 * gdb.threads/gcore-thread.exp: Likewise.
3494 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3495 * gdb.threads/kill.exp: Likewise.
3496 * gdb.threads/linux-dp.exp: Likewise.
3497 * gdb.threads/multiple-step-overs.exp: Likewise.
3498 * gdb.threads/next-bp-other-thread.exp: Likewise.
3499 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3500 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3501 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3502 * gdb.threads/thread-find.exp: Likewise.
3503 * gdb.threads/tls.exp: Likewise.
3504 * lib/mi-support.exp (mi_reverse_list): Delete.
3505 (mi_check_thread_states): No longer reverse list.
3506
2cc57ad8
PA
35072015-11-24 Pedro Alves <palves@redhat.com>
3508
3509 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3510 use lowercase.
3511
c93e8391
SM
35122015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3513
3514 * gdb.trace/actions.c: Include trace-common.h.
3515 (main): Add a location for a fast tracepoint.
3516 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3517 the normal tracepoints.
3518 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3519
045ccf91
SM
35202015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3521
3522 * save-trace.exp: Factor out code to these...
3523 (gdb_save_tracepoints): New.
3524 (gdb_load_tracepoints): New.
3525 (do_save_load_test): New.
3526
5506f9f6
KB
35272015-11-23 Kevin Buettner <kevinb@redhat.com>
3528
3529 * gdb.base/asmlabel.exp: New test.
3530 * gdb.base/asmlabel.c: New test case.
3531
16c3b12f
JB
35322015-11-23 Joel Brobecker <brobecker@adacore.com>
3533
3534 * gdb.base/wrong_frame_bt_full-main.c: New file.
3535 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3536 * gdb.base/wrong_frame_bt_full.exp: New file.
3537
155bfbd3
JB
35382015-11-23 Joel Brobecker <brobecker@adacore.com>
3539
3540 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3541
bb097445
JM
35422015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3543
206853a0 3544 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
3545 pstate register when comparing registers values in
3546 sparc64-*-linux-gnu targets to avoid spurious differences.
3547
9c88ed8f
JM
35482015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3549
206853a0 3550 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 3551
96161e25
SL
35522015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3553
3554 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3555 as type argument to gdb_compile.
3556 * gdb.base/nested-subp2.exp: Likewise.
3557 * gdb.base/nested-subp3.exp: Likewise.
3558
340c2830
DV
35592015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3560
3561 * lib/dwarf.exp (_note): Fix left shift of negative value.
3562 * gdb.trace/trace-condition.exp: Likewise.
3563
c1862d0f
YQ
35642015-11-13 Yao Qi <yao.qi@linaro.org>
3565
3566 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3567 comments about d10v.
3568 (test_scalar_returns): Likewise.
3569 * gdb.base/d10v.ld: Remove.
3570 * gdb.base/overlays.exp: Remove the target triplet checking for
3571 d10v-*-*.
3572 * gdb.base/structs.exp (test_struct_returns): Remove the
3573 comments about d10v.
3574 (test_struct_calls): Likewise.
3575
77ae9c19
YQ
35762015-11-13 Yao Qi <yao.qi@linaro.org>
3577
3578 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3579 * gdb.base/gnu_vector.c: Don't include stdio.h.
3580 (main): Don't print res and call add_some_intvecs.
3581
430e004e
MK
35822015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3583
3584 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3585 macro.
3586 (func5): Removed.
3587 (func4): Use FAST_TRACEPOINT_LABEL.
3588 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3589 macro.
3590 (func): Removed.
3591 (thread_function): Use FAST_TRACEPOINT_LABEL.
3592 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3593 (func): Remove.
3594 (marker): Use FAST_TRACEPOINT_LABEL.
3595 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3596 (pendfunc1): Remove.
3597 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3598 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3599 (foo): Remove.
3600 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3601 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3602 macro.
3603 (func): Remove.
3604 (marker): Use FAST_TRACEPOINT_LABEL.
3605 * gdb.trace/trace-common.h: New header.
3606 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3607 macro.
3608 (func): Remove.
3609 (marker): Use FAST_TRACEPOINT_LABEL.
3610 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3611 (func): Remove.
3612 (thread_function): Use FAST_TRACEPOINT_LABEL.
3613
6e7675a7
MK
36142015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3615
3616 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3617 in front.
3618 * gdb.trace/change-loc.exp: Use global pcreg definition.
3619 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3620 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3621 in front.
3622 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3623 * gdb.trace/pending.exp: Likewise.
3624 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3625 * gdb.trace/trace-break.exp: Likewise.
3626 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3627 in front.
3628 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3629 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3630 in front.
3631 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3632
dddc0e16
JB
36332015-11-09 Joel Brobecker <brobecker@adacore.com>
3634
3635 * gdb.ada/fin_fun_out: New testcase.
3636
c6f0b406
KB
36372015-11-07 Kevin Buettner <kevinb@redhat.com>
3638
3639 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3640 value associated with DW_AT_byte_size.
3641 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3642 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3643 DW_AT_upper_bound.
3644
f01dcfd9
KB
36452015-11-07 Kevin Buettner <kevinb@redhat.com>
3646
3647 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3648 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3649 version.
3650 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3651 gdb.dwarf2/dw2-canonicalize-type.exp,
3652 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3653 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3654 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3655 provided by gdb_target_symbol_prefix_flags_asm.
3656 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3657 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3658 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3659 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3660 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3661 macros where needed). Use this macro for symbols which require
3662 the prefix provided by SYMBOL_PREFIX.
3663
2223449a
KB
36642015-11-05 Kevin Buettner <kevinb@redhat.com>
3665
3666 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3667 New procs.
3668 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3669 representing expressions, of more than one list element.
3670 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3671 to prepend linker symbol prefix to f.
3672 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3673 table_1 and table_2.
3674 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3675 Likewise, for f and g.
3676 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3677 for ptr.
3678 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3679 for main.
3680 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3681 table_1_ptr and table_2_ptr.
3682
6f2f1a3a
JK
36832015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3684 Joel Brobecker <brobecker@adacore.com>
3685
3686 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3687
566c56c9
MK
36882015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3689
3690 * gdb.reverse/s390-mvcle.c: New test.
3691 * gdb.reverse/s390-mvcle.exp: New file.
3692 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3693
d5f0636b
MK
36942015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3695
3696 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3697
7ad8b86c
MK
36982015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3699
3700 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3701 reaching marker2.
3702 * gdb.reverse/getresuid-reverse.exp: Likewise.
3703 * gdb.reverse/pipe-reverse.exp: Likewise.
3704 * gdb.reverse/readv-reverse.exp: Likewise.
3705 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3706 * gdb.reverse/time-reverse.exp: Likewise.
3707 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3708
4081c0f1
YQ
37092015-10-30 Yao Qi <yao.qi@linaro.org>
3710
3711 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3712 (empty_cycle): Remove.
3713 (main): Don't call empty_cycle. Don't use watch_count_done.
3714 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3715 empty_cycle. Rewrite the code counting HW watchpoints.
3716
452b4ba5
MK
37172015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3718
3719 * gdb.reverse/fstatat-reverse.c: New test.
3720 * gdb.reverse/fstatat-reverse.exp: New file.
3721 * gdb.reverse/getresuid-reverse.c: New test.
3722 * gdb.reverse/getresuid-reverse.exp: New file.
3723 * gdb.reverse/pipe-reverse.c: New test.
3724 * gdb.reverse/pipe-reverse.exp: New file.
3725 * gdb.reverse/readv-reverse.c: New test.
3726 * gdb.reverse/readv-reverse.exp: New file.
3727 * gdb.reverse/recvmsg-reverse.c: New test.
3728 * gdb.reverse/recvmsg-reverse.exp: New file.
3729 * gdb.reverse/time-reverse.c: New test.
3730 * gdb.reverse/time-reverse.exp: New file.
3731 * gdb.reverse/waitpid-reverse.c: New test.
3732 * gdb.reverse/waitpid-reverse.exp: New file.
3733
5e2e7507
JK
37342015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3737
0fde2c53
DE
37382015-10-26 Doug Evans <dje@google.com>
3739
3740 PR symtab/17391
3741 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3742 * gdb.dwarf2/bad-regnum.c: New file.
3743 * gdb.dwarf2/bad-regnum.exp: New file.
3744
1a70ae97
DE
37452015-10-26 Doug Evans <dje@google.com>
3746
3747 PR python/18938
3748 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3749 file.
3750
27dc26ab
JK
37512015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3752
3753 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3754 for a change by "Mention language in compile error message".
3755
bed91f4d
SM
37562015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3757
3758 PR python/18073
3759 * gdb.python/py-type.c (C::a_method): New.
3760 (C::a_const_method): New.
3761 (C::a_static_method): New.
3762 (a_function): New.
3763 * gdb.python/py-type.exp (test_fields): Test getting fields
3764 from function and method.
3765
3f2f83dd
KB
37662015-10-21 Keven Boell <keven.boell@intel.com>
3767
3768 * gdb.fortran/vla-alloc-assoc.exp: New file.
3769 * gdb.fortran/vla-datatypes.exp: New file.
3770 * gdb.fortran/vla-datatypes.f90: New file.
3771 * gdb.fortran/vla-history.exp: New file.
3772 * gdb.fortran/vla-ptype-sub.exp: New file.
3773 * gdb.fortran/vla-ptype.exp: New file.
3774 * gdb.fortran/vla-sizeof.exp: New file.
3775 * gdb.fortran/vla-sub.f90: New file.
3776 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3777 * gdb.fortran/vla-value-sub-finish.exp: New file.
3778 * gdb.fortran/vla-value-sub.exp: New file.
3779 * gdb.fortran/vla-value.exp: New file.
3780 * gdb.fortran/vla-ptr-info.exp: New file.
3781 * gdb.mi/mi-vla-fortran.exp: New file.
3782 * gdb.mi/vla.f90: New file.
3783
27145d50
SL
37842015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3785
3786 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3787 of hardwired timeout value.
3788
5f3ff4f8
JK
37892015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3790 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3793 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3794
bfd09d20
JS
37952015-10-19 Josh Stone <jistone@redhat.com>
3796
3797 * gdb.base/catch-syscall.c: Include <sched.h>.
3798 (unknown_syscall): New variable.
3799 (main): Trigger a vfork and an unknown syscall.
3800 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3801 (unknown_syscall_number): Likewise.
3802 (check_call_to_syscall): Accept an optional syscall pattern.
3803 (check_return_from_syscall): Likewise.
3804 (check_continue): Likewise.
3805 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3806 (test_catch_syscall_skipping_return): New test toggling off 'catch
3807 syscall' to step over the syscall return, then toggling back on.
3808 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3809 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3810 (do_syscall_tests): Call test_catch_syscall_without_args and
3811 test_catch_syscall_mid_vfork.
3812 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3813 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3814
b32b93c6
AS
38152015-10-19 Andrew Stubbs <ams@codesourcery.com>
3816
3817 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3818 print g_vE): Add new pass patterns.
3819 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3820 print various symbol names for vptr fields.
3821
9d622bda
AB
38222015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3823
3824 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3825 results.
3826
0fd8ac1c
YQ
38272015-10-12 Yao Qi <yao.qi@linaro.org>
3828
3829 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3830
34240514
YQ
38312015-10-12 Yao Qi <yao.qi@linaro.org>
3832
3833 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3834 is aarch64*-*-linux*.
3835
8240f442
YQ
38362015-10-12 Yao Qi <yao.qi@linaro.org>
3837
3838 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3839 (can_relocate_bcond_true): ... it.
3840 (can_relocate_bcond_false): New function.
3841 (foo): Likewise.
3842 (can_relocate_bl): Likewise.
3843 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3844 can_relocate_bl.
3845
2520f728
PMR
38462015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3847
3848 * gdb.base/nested-addr.c: New file.
3849 * gdb.base/nested-addr.exp: New testcase.
3850
abcef95a
MM
38512015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3852
3853 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3854 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3855 its output. Ignore the output of "record goto begin" and instead
3856 check that GDB is replaying.
3857
145e3ddb
PA
38582015-10-09 Pedro Alves <palves@redhat.com>
3859
3860 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3861 (top level): Use it in the run with no args test.
3862
d5d8c4e1
IB
38632015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3864
3865 * gdb.dlang/properties.exp: New file.
3866
06e635ef
SL
38672015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3868
3869 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3870 whether or not address 0x1000 is mapped on the target.
3871
e019fd1d
SM
38722015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3873
3874 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3875 build.
3876
77ba2a67
MM
38772015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3878
3879 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3880 instruction-history test.
3881
c60eb31f
DE
38822015-09-28 Doug Evans <dje@google.com>
3883
3884 * gdb.base/gcore.c (array_func): Add reference to static_array.
3885
9a3c8263
SM
38862015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3887
3888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3889 source line.
3890
9720e656
SL
38912015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3892
3893 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3894 short or char as base type.
3895
938d3bf2
SL
38962015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3897
3898 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3899 to allow any size enum.
3900
e6c2c623
PMR
39012015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3902
3903 * gdb.ada/array_ptr_renaming.exp: New testcase.
3904 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3905 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3906
06da0f77
PL
39072015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3908
3909 * gdb.trace/ftrace-lock.c: New file.
3910 * gdb.trace/ftrace-lock.exp: New file.
3911
4f51c22a
PL
39122015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3913
3914 * gdb.arch/insn-reloc.c: New file.
3915 * gdb.arch/ftrace-insn-reloc.exp: New file.
3916
7041adf4
PL
39172015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3918
3919 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3920 instruction.
3921 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3922 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3923 * gdb.trace/range-stepping.c: Likewise.
3924 * gdb.trace/trace-break.c: Likewise.
3925 * gdb.trace/trace-mt.c (thread_function): Likewise.
3926 * gdb.trace/ftrace.c (marker): Likewise.
3927 * gdb.trace/trace-condition.c (marker): Likewise.
3928 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3929 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3930 is_aarch64_target.
3931
015d2e7e
DE
39322015-09-18 Doug Evans <xdje42@gmail.com>
3933
3934 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3935 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3936
26b188a2
SL
39372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3938
3939 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3940 the breakpoint.
3941
79dc332b
SL
39422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3943
3944 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3945 the pending breakpoint. Remove timeout override for "Run till
3946 MI pending breakpoint on pendfunc3 on thread 2" test.
3947
f57929f2
SL
39482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3949
3950 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3951 filename pattern.
3952
3f469b17
SL
39532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3954
3955 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3956 in breakpoint filename pattern.
3957
515b89b3
SL
39582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3959
7800dbe4
SL
3960 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3961
39622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3963
515b89b3
SL
3964 * gdb.linespec/explicit.exp: Check for readline support for
3965 tab-completion tests. Fix obvious typo.
3966
d2939ba2
MM
39672015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3968
3969 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3970 and replay.
3971
cbb55fa7
MM
39722015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3973
3974 * gdb.btrace/non-stop.c: New.
3975 * gdb.btrace/non-stop.exp: New.
3976
43691ca1
PL
39772015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3978 Yao Qi <yao.qi@linaro.org>
3979
3980 * gdb.trace/trace-condition.c: New file.
3981 * gdb.trace/trace-condition.exp: New file.
3982
d78908cf
WW
39832015-09-16 Wei-cheng Wang <cole945@gmail.com>
3984
3985 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3986 for testing bytecode compilation.
3987
1ed415e2
PA
39882015-09-16 Pedro Alves <palves@redhat.com>
3989 Sandra Loosemore <sandra@codesourcery.com>
3990
3991 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3992 (SECONDS): Redefine.
3993 (main): Call pthread_kill and alarm early.
3994 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3995 support.
3996 (test): If the target can't hardware step and doesn't support
3997 displaced stepping, increase the timeout.
3998
d136eff5
PA
39992015-09-16 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
4002 (enable_debug): New procedures.
4003 (test): Use them. Bail out if waiting for threads fails.
4004 (top level): Bail out if a test fails.
4005
991f019c
YQ
40062015-09-16 Yao Qi <yao.qi@linaro.org>
4007
4008 * gdb.asm/asm-source.exp: Set asm-arch for
4009 aarch64*-*-* target.
4010 * gdb.asm/aarch64.inc: New file.
4011
bfca584f
PMR
40122015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
4013
4014 * gdb.ada/array_of_variable_length.exp: New testcase.
4015 * gdb.ada/array_of_variable_length/foo.adb: New file.
4016 * gdb.ada/array_of_variable_length/pck.adb: New file.
4017 * gdb.ada/array_of_variable_length/pck.ads: New file.
4018
b326e587
DE
40192015-09-15 Doug Evans <dje@google.com>
4020
4021 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
4022 of function static local variable.
4023
5382cfab
PW
40242015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4025
4026 * gdb.threads/tls-so_extern.exp: New test file.
4027 * gdb.threads/tls-so_extern.c: New test file.
4028 * gdb.threads/tls-so_extern_main.c: New test file.
4029
141c5cc4
JK
40302015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4031
4032 * gdb.opt/solib-intra-step-lib.c: New file.
4033 * gdb.opt/solib-intra-step-main.c: New file.
4034 * gdb.opt/solib-intra-step.exp: New file.
4035
d15dcecd
PA
40362015-09-15 Pedro Alves <palves@redhat.com>
4037
4038 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
4039 gdb_continue_to_breakpoint instead of gdb_test_multiple.
4040
4c2f2a79
PA
40412015-09-14 Pedro Alves <palves@redhat.com>
4042
4043 * gdb.base/hook-stop-continue.c: Delete.
4044 * gdb.base/hook-stop-continue.exp: Delete.
4045 * gdb.base/hook-stop-frame.c: Delete.
4046 * gdb.base/hook-stop-frame.exp: Delete.
4047 * gdb.base/hook-stop.c: New file.
4048 * gdb.base/hook-stop.exp: New file.
4049
919e6dbe
PMR
40502015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
4051
4052 * gdb.ada/access_to_packed_array.exp: New testcase.
4053 * gdb.ada/access_to_packed_array/foo.adb: New file.
4054 * gdb.ada/access_to_packed_array/pack.adb: New file.
4055 * gdb.ada/access_to_packed_array/pack.ads: New file.
4056
157280a4
MM
40572015-09-14 Markus Metzger <markus.t.metzger@intel.com>
4058
4059 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
4060 buffer size test.
4061
2fd33e94
DB
40622015-09-11 Don Breazeal <donb@codesourcery.com>
4063
4064 * gdb.base/foll-exec.c: Add copyright header. Fix
4065 formatting issues.
4066 * gdb.base/foll-exec.exp (zap_session): Delete proc.
4067 (do_exec_tests): Use clean_restart in place of zap_session,
4068 and for test initialization. Fix formatting issues. Use
4069 fail in place of perror.
4070 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
4071 an expect statement to match an expression with output from
4072 the program under debug.
4073 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
4074 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
4075 * gdb.threads/non-ldr-exc-2.exp: Likewise.
4076 * gdb.threads/non-ldr-exc-3.exp: Likewise.
4077 * gdb.threads/non-ldr-exc-4.exp: Likewise.
4078
e70b6e8e
DE
40792015-09-09 Doug Evans <dje@google.com>
4080
4081 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
4082
7a551a51
DE
40832015-09-09 Doug Evans <dje@google.com>
4084
4085 * gdb.base/pie-execl.exp: Fix result test of build_executable.
4086
4c666f84
DE
40872015-09-09 Doug Evans <dje@google.com>
4088
4089 * gdb.base/savedregs.exp: Fix typo.
4090
243a9253
PA
40912015-09-09 Pedro Alves <palves@redhat.com>
4092
4093 * gdb.mi/mi-cli.exp: Add CLI finish tests.
4094
c0fa8fbd
SL
40952015-09-08 Sandra Loosemore <sandra@codesourcery.com>
4096
4097 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
4098 command actually switches threads. Give up on remaining
4099 tests if target fails to stop at breakpoint.
4100
cd7c1778
PMR
41012015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
4102
4103 * gdb.ada/funcall_char.exp: New testcase.
4104 * gdb.ada/funcall_char/foo.adb: New file.
4105
dc5c8746
PMR
41062015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
4107
4108 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
4109 expected outputs. Add two testcases for completing ambiguous
4110 functions.
4111 * gdb.ada/complete/aux_pck.adb: New file.
4112 * gdb.ada/complete/aux_pck.ads: New file.
4113 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
4114 Ambiguous_Func functions.
4115 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
4116 * gdb.ada/complete/pck.adb: Likewise.
4117
4e83a1e7
UW
41182015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
4119
4120 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
4121 failures to run the test program under GDB.
4122
8ce74153
LM
41232015-08-26 Luis Machado <lgustavo@codesourcery.com>
4124
4125 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
4126 to C.
4127
e9756d52
PP
41282015-08-26 Patrick Palka <patrick@parcs.ath.cx>
4129
4130 * gdb.base/run-after-attach.exp: New test file.
4131 * gdb.base/run-after-attach.c: New test file.
4132
8d37573b
DB
41332015-08-26 Don Breazeal <donb@codesourcery.com>
4134
4135 * gdb.base/foll-exec-2.c: New test program.
4136 * gdb.base/foll-exec-2.exp: New test.
4137
63e43d3a
PMR
41382015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
4139
4140 * gdb.base/nested-subp1.exp: New file.
4141 * gdb.base/nested-subp1.c: New file.
4142 * gdb.base/nested-subp2.exp: New file.
4143 * gdb.base/nested-subp2.c: New file.
4144 * gdb.base/nested-subp3.exp: New file.
4145 * gdb.base/nested-subp3.c: New file.
4146
3d40fbb5
PA
41472015-08-24 Pedro Alves <palves@redhat.com>
4148
4149 * gdb.server/connect-without-multi-process.c: New file.
4150 * gdb.server/connect-without-multi-process.exp: New file.
4151
4422ac93
LM
41522015-08-24 Luis Machado <lgustavo@codesourcery.com>
4153
4154 * gdb.opt/inline-markers.c: Make z int.
4155
91dddb86
LM
41562015-08-24 Luis Machado <lgustavo@codesourcery.com>
4157
4158 * gdb.opt/inline-markers.c: Make z volatile.
4159
a48847ee
LM
41602015-08-24 Luis Machado <lgustavo@codesourcery.com>
4161
4162 * gdb.opt/inline-bt.c: New volatile global z.
4163 * gdb.opt/inline-cmds.c: Likewise.
4164 * gdb.opt/inline-locals.c: Likewise.
4165 * gdb.opt/inline-markers.c: New extern global z.
4166 (marker): Use z.
4167 (inline_fn): Likewise.
4168
0ebbc52b
PA
41692015-08-24 Pedro Alves <palves@redhat.com>
4170
4171 * config/m32r-stub.exp: Remove file.
4172 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
4173 * gdb.base/call-rt-st.exp: Likewise.
4174 * gdb.base/call-strs.exp: Likewise.
4175 * gdb.base/default.exp: Remove references to h8300-*-hms and
4176 *-*-udi*.
4177 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
4178
77c365df
AA
41792015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4180
4181 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
4182 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
4183 and "return" use KFAIL when GDB can not read/write the vector
4184 return value.
4185
4313b8c0
GB
41862015-08-21 Gary Benson <gbenson@redhat.com>
4187
4188 * gdb.trace/pending.exp: Cope with remote transfer warnings.
4189
0e433b32
PA
41902015-08-20 Pedro Alves <palves@redhat.com>
4191
4192 * gdb.server/solib-list.exp: No longer expect an interior stop in
4193 non-stop mode.
4194
221e1a37
PA
41952015-08-20 Pedro Alves <palves@redhat.com>
4196
4197 * gdb.server/connect-stopped-target.c: New file.
4198 * gdb.server/connect-stopped-target.exp: New file.
4199
40e3ad0e
PA
42002015-08-20 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.dwarf2/comp-unit-lang.exp: New file.
4203 * gdb.dwarf2/comp-unit-lang.c: New file.
4204
af39b327
PMR
42052015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
4206
4207 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
4208 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
4209
7d45c7c3 42102015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 4211
7d45c7c3
KB
4212 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
4213 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
4214
4d6cceb4
DE
42152015-08-18 Doug Evans <dje@google.com>
4216 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4217
4218 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
4219 skip_python_tests. New arg prompt_regexp.
4220 (skip_python_tests): New function.
4221 * lib/mi-support.exp (mi_skip_python_tests): New function.
4222 * gdb.python/py-mi-objfile-gdb.py: New file.
4223 * gdb.python/py-mi-objfile.c: New file.
4224 * gdb.python/py-mi-objfile.exp: New file.
4225
ad89c2aa
KS
42262015-08-17 Keith Seitz <keiths@redhat.com>
4227
4228 * gdb.linespec/explicit.exp: Move strace test from here ...
4229 * gdb.trace/strace.exp: ... to here.
4230
e3ae3c43
PP
42312015-08-15 Patrick Palka <patrick@parcs.ath.cx>
4232
4233 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
4234 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
4235
604b2636
DE
42362015-08-14 Doug Evans <xdje42@gmail.com>
4237
4238 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
4239 inferior before selecting a new file.
4240
6ff0ba5f
DE
42412015-08-14 Doug Evans <xdje42@gmail.com>
4242
4243 * gdb.mi/mi-disassemble.exp: Update.
4244 * gdb.base/disasm-optim.S: New file.
4245 * gdb.base/disasm-optim.c: New file.
4246 * gdb.base/disasm-optim.h: New file.
4247 * gdb.base/disasm-optim.exp: New file.
4248
9ca98f92
KS
42492015-08-14 Keith Seitz <keiths@redhat.com>
4250
4251 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
4252 "evaluated-by".
4253
52bbc560
JB
42542015-08-13 Joel Brobecker <brobecker@adacore.com>
4255
4256 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
4257
5d8c3ed3
PMR
42582015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
4259
4260 * gdb.ada/fun_renaming.exp: New testcase.
4261 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
4262 * gdb.ada/fun_renaming/pack.adb: New file.
4263 * gdb.ada/fun_renaming/pack.ads: New file.
4264
ea8812bc
KS
42652015-08-12 Keith Seitz <keiths@redhat.com>
4266
4267 * gdb.base/dso2dso.exp: Pass basename of source file in call to
4268 gdb_get_line_number.
4269
4dafcdeb
JB
42702015-08-12 Joel Brobecker <brobecker@adacore.com>
4271
4272 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
4273 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
4274 gdb.base/dso2dso.exp: New files.
4275
5ba32597
SDJ
42762015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
4277 Pedro Alves <palves@redhat.com>
4278 Keith Seitz <keiths@redhat.com>
4279
4280 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
4281 GDBFLAGS.
4282
b6dafabf
PP
42832015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4284
4285 * gdb.base/gdbhistsize-history.exp
4286 (test_histsize_history_setting): Use save_vars.
4287 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4288 Use save_vars.
4289 (test_no_truncation_of_unlimited_history_file): Use save_vars.
4290 * gdb.base/readline.exp: Use save_vars.
4291
abe8e607
PP
42922015-08-12 Patrick Palka <patrick@parcs.ath.cx>
4293
4294 * lib/gdb.exp (save_vars): New proc.
4295
629500fa
KS
42962015-08-11 Keith Seitz <keiths@redhat.com>
4297
4298 * gdb.base/help.exp: Update help_breakpoint_text.
4299
eb8c4e2e
KS
43002015-08-11 Keith Seitz <keiths@redhat.com>
4301
4302 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4303 (at toplevel): Call test_explicit_breakpoints.
4304 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
4305 breakpoints.
4306 * lib/mi-support.exp (mi_make_breakpoint): Add support for
4307 breakpoint conditions, "-cond".
4308
87f0e720
KS
43092015-08-11 Keith Seitz <keiths@redhat.com>
4310
4311 * gdb.linespec/3explicit.c: New file.
4312 * gdb.linespec/cpexplicit.cc: New file.
4313 * gdb.linespec/cpexplicit.exp: New file.
4314 * gdb.linespec/explicit.c: New file.
4315 * gdb.linespec/explicit.exp: New file.
4316 * gdb.linespec/explicit2.c: New file.
4317 * gdb.linespec/ls-errs.exp: Add explicit location tests.
4318 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
4319 before using in the matching pattern.
4320 Clarify that `prefix' is a regular expression.
4321
f00aae0f
KS
43222015-08-11 Keith Seitz <keiths@redhat.com>
4323
4324 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
4325 test.
4326 Add tests for missing ",FMT" and ",".
4327
e27852be
DE
43282015-08-10 Doug Evans <dje@google.com>
4329 Keith Seitz <keiths@redhat.com>
4330
4331 PR gdb/17960
4332 * gdb.base/completion.exp: Add location completer tests.
4333
7f03bd92
PA
43342015-08-07 Pedro Alves <palves@redhat.com>
4335
4336 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
4337 tests here.
4338 (top level): Run do_test with and without displaced stepping.
4339
3fc8eb30
PA
43402015-08-07 Pedro Alves <palves@redhat.com>
4341
4342 * gdb.base/valgrind-disp-step.c: New file.
4343 * gdb.base/valgrind-disp-step.exp: New file.
4344
d4569d7b
PA
43452015-08-07 Pedro Alves <palves@redhat.com>
4346
4347 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
4348 Delete function.
4349 (main): Add alarm. Run an infinite loop instead of calling
4350 wait_threads.
4351 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
4352 comment.
4353 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
4354 Delete function.
4355 (main): Add alarm. Run an infinite loop instead of calling
4356 wait_threads.
4357 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
4358 comment.
4359
e1316e60
PA
43602015-08-07 Pedro Alves <palves@redhat.com>
4361
4362 * gdb.base/checkpoint-ns.exp: New file.
4363 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
4364 standard_testfile.
4365
da8c46d2
MM
43662015-08-07 Markus Metzger <markus.t.metzger@intel.com>
4367
4368 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
4369 * gdb.btrace/instruction_history.exp: Update.
4370 * gdb.btrace/tsx.exp: New.
4371 * gdb.btrace/tsx.c: New.
4372
de1c2c52
PA
43732015-08-06 Pedro Alves <palves@redhat.com>
4374
4375 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4376 increase timeout.
4377 * gdb.reverse/until-precsave.exp: Bump timeouts.
4378
782e0bf4
PA
43792015-08-06 Pedro Alves <palves@redhat.com>
4380
4381 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4382
83e97ed0
PA
43832015-08-06 Pedro Alves <palves@redhat.com>
4384
4385 PR gdb/18749
4386 * gdb.threads/process-dies-while-handling-bp.c: New file.
4387 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4388
863d01bd
PA
43892015-08-06 Pedro Alves <palves@redhat.com>
4390
4391 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4392 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4393
0a39bb32
PA
43942015-08-05 Pedro Alves <palves@redhat.com>
4395
4396 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4397 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4398
ee2d2b10
SL
43992015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4400
4401 * gdb.base/bp-permanent.exp: Report test as unsupported if
4402 the target cannot stop at the permanent breakpoint.
4403
4e1bdb00
DE
44042015-08-03 Doug Evans <dje@google.com>
4405
4406 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4407 10000.
4408
3d338901
DE
44092015-08-03 Doug Evans <dje@google.com>
4410
4411 * Makefile.in (workers/%.worker, build-perf): New rule.
4412 (GDB_PERFTEST_MODE): New variable.
4413 (check-perf): Use it.
4414 (clean): Clean up gdb.perf parallel build subdirs.
4415 * lib/build-piece.exp: New file.
4416 * lib/gdb.exp (make_gdb_parallel_path): New function
4417 (standard_output_file, standard_temp_file): Call it.
4418 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4419 of $GDB_PARALLEL.
4420 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4421
af061d3e
DE
44222015-08-03 Doug Evans <dje@google.com>
4423
8e1afc81 4424 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
4425 (LOG_FILE_NAME): New global.
4426 (TextReporter.__init__): Initialize self.txt_sum.
4427 (TextReporter.report): Add support for multiple data-points.
4428 Move report to perftest.sum, put raw data in perftest.log.
4429 (TextReporter.start): Open sum and log files.
4430 (TextReporter.end): Close sum and log files.
8e1afc81
DE
4431 * gdb.perf/lib/perftest/testresult.py
4432 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 4433
2c8c5d37
PA
44342015-07-31 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4437 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4438 kill_wait_spawned_process instead of explicit "kill -9".
4439 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4440 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4441 kill_wait_spawned_process.
4442 * gdb.base/attach-twice.exp: Likewise.
4443 * gdb.base/attach.exp: Likewise.
4444 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4445 gdb_test_multiple.
4446 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4447 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4448 kill_wait_spawned_process.
4449 * gdb.base/valgrind-infcall.exp: Likewise.
4450 * gdb.multi/multi-attach.exp: Likewise.
4451 * gdb.python/py-prompt.exp: Likewise.
4452 * gdb.python/py-sync-interp.exp: Likewise.
4453 * gdb.server/ext-attach.exp: Likewise.
4454 * gdb.threads/attach-into-signal.exp (corefunc): Use
4455 spawn_wait_for_attach, spawn_id_get_pid and
4456 kill_wait_spawned_process.
4457 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4458 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4459 spawn_id_get_pid and kill_wait_spawned_process.
4460 * gdb.threads/attach-stopped.exp (corefunc): Use
4461 spawn_wait_for_attach, spawn_id_get_pid and
4462 kill_wait_spawned_process.
4463 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4464 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4465 kill_wait_spawned_process instead of explicit "kill -9".
4466 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4467 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4468 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4469 processes. Don't map cygwin/windows pids here. Now returns a
4470 spawn id list.
4471
032a0fca
SL
44722015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4473
4474 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4475 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4476 correct patch.
4477
61a934ca
SL
44782015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4479
4480 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4481
4bc4d428
SL
44822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4483
4484 Reapply:
4485 2014-05-21 Mark Wielaard <mjw@redhat.com>
4486
4487 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4488
998d452a
PA
44892015-07-30 Pedro Alves <palves@redhat.com>
4490
4491 * linux-low.c (handle_extended_wait): Set the child's last
4492 reported status to TARGET_WAITKIND_STOPPED.
4493
69dde7dc
PA
44942015-07-30 Pedro Alves <palves@redhat.com>
4495
4496 PR threads/18600
4497 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4498 only shows inferior 1.
4499
4dd63d48
PA
45002015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4501 Pedro Alves <palves@redhat.com>
4502
4503 PR threads/18600
4504 * gdb.threads/fork-plus-threads.c: New file.
4505 * gdb.threads/fork-plus-threads.exp: New file.
4506
d618e4c5
PP
45072015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4508
4509 * gdb.base/batch-preserve-term-settings.exp
4510 (test_terminal_settings_preserved_after_cli_exit): Use
4511 send_quit_command.
4512
1eef6428
PA
45132015-07-29 Pedro Alves <palves@redhat.com>
4514 Don Breazeal <donb@codesourcery.com>
4515
4516 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4517 output from both inferior_spawn_id and gdb_spawn_id.
4518
7da5b897
SDJ
45192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4520
4521 * gdb.threads/attach-into-signal.exp (corefunc): Use
4522 with_test_prefix on nested loops, uniquefying the test messages.
4523
dac804df
SDJ
45242015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4525
4526 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4527 commit.
4528
06265e53
PP
45292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4530
4531 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4532 New proc.
4533 (test_terminal_settings_preserved_after_sigterm): New test.
4534
18206ca3
PP
45352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4536
4537 * gdb.base/batch-preserve-term-settings.exp
4538 (test_terminal_settings_preserved_after_cli_exit): New test.
4539
90074d11
PP
45402015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4541
4542 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4543 manipulation of saved_gdbflags.
4544 (test_terminal_settings_preserved): Remove global declaration of
4545 the unused variable pagination_prompt. Remove manipulation of
4546 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4547 GDBFLAGS.
4548
eb1a7902
PA
45492015-07-29 Pedro Alves <palves@redhat.com>
4550
4551 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4552
8b75dd3b
PA
45532015-07-29 Pedro Alves <palves@redhat.com>
4554
4555 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4556 at the top.
4557
dedad4e3
PA
45582015-07-29 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4561 (main): Call gdb_unbuffer_output.
4562 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4563 (main): Call gdb_unbuffer_output.
4564 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4565 (main): Call gdb_unbuffer_output.
4566 * gdb.base/call-strs.exp: Adjust to step over the
4567 gdb_unbuffer_output call.
4568 * gdb.base/catch-gdb-caused-signals.c: Include
4569 "../lib/unbuffer_output.c".
4570 (main): Call gdb_unbuffer_output.
4571 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4572 (main): Call gdb_unbuffer_output.
4573 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4574 (main): Call gdb_unbuffer_output.
4575 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4576 (main): Call gdb_unbuffer_output.
4577 * gdb.base/shlib-call.exp: Adjust to step over the
4578 gdb_unbuffer_output call.
4579 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4580 (main): Call gdb_unbuffer_output.
4581 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4582 (main): Call gdb_unbuffer_output.
4583 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4584 (main): Rename to ...
4585 (test): ... this.
4586 (main): Reimplement.
4587 * gdb.base/varargs.exp: Run to test instead of to main.
4588 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4589 (main): Call gdb_unbuffer_output.
4590
58789a91
PA
45912015-07-29 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4594 factore out from mi_continue_dprintf. For call-style dprintfs,
4595 expect dprintf output out of $inferior_spawn_id.
4596 (mi_continue_dprintf): Use mi_expect_dprintf.
4597 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4598 (main): Call gdb_unbuffer_output.
4599
e8376742
PA
46002015-07-29 Pedro Alves <palves@redhat.com>
4601
4602 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4603 (default_mi_gdb_start): Set inferior_spawn_id instead of
4604 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4605 gdb_spawn_id.
4606 (mi_gdb_test): Always expect inferior output from both
4607 $inferior_spawn_id and $gdb_spawn_id.
4608
08280010
PA
46092015-07-29 Pedro Alves <palves@redhat.com>
4610
4611 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4612 send_inferior and $inferior_spawn_id.
4613
4d30e432
PA
46142015-07-29 Pedro Alves <palves@redhat.com>
4615
4616 * gdb.gdb/complaints.exp (test_initial_complaints)
4617 (test_serial_complaints, test_short_complaints): Use
4618 gdb_test_stdio.
4619 (test_empty_complaint): Handle $inferior_spawn_id !=
4620 $gdb_spawn_id.
4621
0d30a335
PA
46222015-07-29 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.base/varargs.exp: Use gdb_test_stdio.
4625
39413b29
PA
46262015-07-29 Pedro Alves <palves@redhat.com>
4627
4628 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4629
7cb000a9
PA
46302015-07-29 Pedro Alves <palves@redhat.com>
4631
4632 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4633
d7b8ac82
PA
46342015-07-29 Pedro Alves <palves@redhat.com>
4635
4636 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4637 parameter into two new parameters, "inf_result" and "gdb_result".
4638 Expect inferior output and gdb output from $inferior_spawn_id and
4639 $gdb_spawn_id, respectively. Adjust all callers.
4640
789c3a0c
PA
46412015-07-29 Pedro Alves <palves@redhat.com>
4642
4643 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4644 of gdb_test_sequence.
4645
77e760c3
PA
46462015-07-29 Pedro Alves <palves@redhat.com>
4647
4648 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4649 (saw_spurious_output): Expect inferior output from
4650 $inferior_spawn_id. Use gdb_test_stdio.
4651
8396d2cd
PA
46522015-07-29 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.base/dprintf.exp: Use standard_testfile. Change
4655 prepare_for_testing call.
4656 (srcfile): Don't set.
4657 (restart): New procedure.
4658 (test_dprintf): New procecure, use to continue over dprintfs.
4659 (test_call, test_agent): New procedures, tests moved here.
4660 Restart gdb and recreate dprintfs. Adjust expected output.
4661
2051d61f
PA
46622015-07-29 Pedro Alves <palves@redhat.com>
4663
4664 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4665
452397af
PA
46662015-07-29 Pedro Alves <palves@redhat.com>
4667
4668 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4669
8aed9555
PA
46702015-07-29 Pedro Alves <palves@redhat.com>
4671
4672 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4673 gdb_test_stdio.
4674
188a61b4
PA
46752015-07-29 Pedro Alves <palves@redhat.com>
4676
4677 * lib/gdb.exp (gdb_test_stdio): New procedure.
4678
12264a45
PA
46792015-07-29 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4682
23ffc893
PA
46832015-07-29 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.base/call-signal-resume.exp: Remove check for
4686 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4687 * gdb.base/unwindonsignal.exp: Likewise.
4688 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4689 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4690
65566918
PA
46912015-07-29 Pedro Alves <palves@redhat.com>
4692
4693 * gdb.base/siginfo-addr.c (pass): New function.
4694 (handler): Call it iff si_addr is correct.
4695 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4696 Set a breakpoint at "pass" and continue to it.
4697
d60a9221
SDJ
46982015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4699
4700 * gdb.python/py-objfile.exp: Make some tests have unique names.
4701 * gdb.python/py-pp-registration.exp: Likewise.
4702
bde40b8f
PA
47032015-07-28 Pedro Alves <palves@redhat.com>
4704
4705 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4706
13e1dec8
SM
47072015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4708
4709 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4710
da33c9a7
SM
47112015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4712
4713 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4714
077836f7
PP
47152015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4716
4717 * gdb.base/gdb-sigterm-2.exp: New test.
4718
b8cc7b2e
DE
47192015-07-25 Doug Evans <xdje42@gmail.com>
4720
4721 Revert:
4722 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4723 (workers/%.worker, build-perf): New rule.
4724 (GDB_PERFTEST_MODE): New variable.
4725 (check-perf): Use it.
4726 (clean): Clean up gdb.perf parallel build subdirs.
4727 * lib/build-piece.exp: New file.
4728 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4729 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4730 name.
4731 (standard_temp_file): Ditto.
4732 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4733 of $GDB_PARALLEL.
4734
c8bd4544
DE
47352015-07-24 Doug Evans <dje@google.com>
4736
4737 * gdb.perf/lib/perftest/utils.py: New file.
4738 * gdb.perf/gm-hello.cc: New file.
4739 * gdb.perf/gm-pervasive-typedef.cc: New file.
4740 * gdb.perf/gm-pervasive-typedef.h: New file.
4741 * gdb.perf/gm-std.cc: New file.
4742 * gdb.perf/gm-std.h: New file.
4743 * gdb.perf/gm-use-cerr.cc: New file.
4744 * gdb.perf/gm-utils.h: New file.
4745 * gdb.perf/gmonster-null-lookup.py: New file.
4746 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4747 * gdb.perf/gmonster-print-cerr.py: New file.
4748 * gdb.perf/gmonster-ptype-string.py: New file.
4749 * gdb.perf/gmonster-runto-main.py: New file.
4750 * gdb.perf/gmonster-select-file.py: New file.
4751 * gdb.perf/gmonster1-null-lookup.exp: New file.
4752 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4753 * gdb.perf/gmonster1-print-cerr.exp: New file.
4754 * gdb.perf/gmonster1-ptype-string.exp: New file.
4755 * gdb.perf/gmonster1-runto-main.exp: New file.
4756 * gdb.perf/gmonster1-select-file.exp: New file.
4757 * gdb.perf/gmonster1.cc: New file.
4758 * gdb.perf/gmonster1.exp: New file.
4759 * gdb.perf/gmonster2-null-lookup.exp: New file.
4760 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4761 * gdb.perf/gmonster2-print-cerr.exp: New file.
4762 * gdb.perf/gmonster2-ptype-string.exp: New file.
4763 * gdb.perf/gmonster2-runto-main.exp: New file.
4764 * gdb.perf/gmonster2-select-file.exp: New file.
4765 * gdb.perf/gmonster2.cc: New file.
4766 * gdb.perf/gmonster2.exp: New file.
4767
6eab34f3
DE
47682015-07-24 Doug Evans <dje@google.com>
4769
4770 * gdb.perf/README: New file.
4771 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4772 * lib/gen-perf-test.exp: New file.
4773
63738bfd
DE
47742015-07-24 Doug Evans <dje@google.com>
4775
4776 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4777 (PerfTest::startup): New function.
4778 (PerfTest::run): Return result of calling body.
4779 (PerfTest::assemble): Rewrite.
4780 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4781 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4782 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4783 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4784 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4785
7b606f95
DE
47862015-07-24 Doug Evans <dje@google.com>
4787
4788 * lib/gdb.exp (clean_restart): Make executable optional.
4789
a97b16b8
DE
47902015-07-24 Doug Evans <dje@google.com>
4791
4792 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4793 compiler_info references.
4794 * gdb.cp/temargs.exp: Ditto.
4795 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4796 (get_compiler_info): Early exit if already computed. Set compiler_info
4797 to "unknown" if there was a problem.
4798 (test_compiler_info): Add function comment. Call get_compiler_info.
4799
35baa57f
DE
48002015-07-24 Doug Evans <dje@google.com>
4801
4802 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4803 (workers/%.worker, build-perf): New rule.
4804 (GDB_PERFTEST_MODE): New variable.
4805 (check-perf): Use it.
4806 (clean): Clean up gdb.perf parallel build subdirs.
4807 * lib/build-piece.exp: New file.
4808 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4809 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4810 name.
4811 (standard_temp_file): Ditto.
4812 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4813 of $GDB_PARALLEL.
4814
6ebea266
DE
48152015-07-24 Doug Evans <dje@google.com>
4816
4817 * lib/future.exp (gdb_default_target_compile): New option
4818 "early_flags".
4819 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4820 --as-needed.
4821
1e76a7e9
SDJ
48222015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4823
4824 * gdb.base/catch-syscall.exp: Call gdb_exit before
4825 gdb_skip_xml_test.
4826
5068630a
PA
48272015-07-24 Pedro Alves <palves@redhat.com>
4828
4829 * gdb.python/py-events.exp: Accept output between the stop event
4830 and the prompt.
4831 * gdb.python/py-evsignal.exp: Likewise.
4832 * gdb.python/py-evthreads.exp: Likewise.
4833
77598427
PA
48342015-07-24 Pedro Alves <palves@redhat.com>
4835
4836 PR gdb/18717
4837 * gdb.threads/non-ldr-exit.c: New file.
4838 * gdb.threads/non-ldr-exit.exp: New file.
4839
11e6c98f
YQ
48402015-07-24 Yao Qi <yao.qi@linaro.org>
4841
4842 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4843 restarting process.
4844
51aee833
YQ
48452015-07-24 Yao Qi <yao.qi@linaro.org>
4846
4847 * gdb.server/ext-restart.exp: New file.
4848
8cfe207c
YQ
48492015-07-24 Yao Qi <yao.qi@linaro.org>
4850
4851 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4852 argument options.
4853 * gdb.server/ext-wrapper.exp: New file.
4854
cc12ce38
DE
48552015-07-23 Doug Evans <dje@google.com>
4856
4857 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4858 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4859
d0d84780
PMR
48602015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4861
4862 * gdb.ada/var_arr_typedef.exp: New testcase.
4863 * gdb.ada/var_arr_typedef/pack.adb: New file.
4864 * gdb.ada/var_arr_typedef/pack.ads: New file.
4865 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4866
8b558f79
JB
48672015-07-20 Joel Brobecker <brobecker@adacore.com>
4868
4869 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4870
775a3298
JK
48712015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4872
4873 * gdb.arch/i386-biarch-core.exp: Replace istarget
4874 by "complete set gnutarget". Remove expectation for the "core-file"
4875 command.
4876
db1ff28b
JK
48772015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 Revert the previous commit:
4880 Tests for validate symbol file using build-id.
4881
0a94970d
JK
48822015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4883
4884 Tests for validate symbol file using build-id.
4885 * gdb.base/solib-mismatch-lib.c: New file.
4886 * gdb.base/solib-mismatch-libmod.c: New file.
4887 * gdb.base/solib-mismatch.c: New file.
4888 * gdb.base/solib-mismatch.exp: New file.
4889
03346981
SL
48902015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4891
4892 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4893 nios2-*-linux*.
4894 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4895 * gdb.base/siginfo.exp: Likewise.
4896 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4897
42422cc7
PL
48982015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4899
4900 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4901 Move it to ...
4902 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4903 ... here.
4904 * gdb.trace/range-stepping.exp: Check that the target supports
4905 range stepping.
4906
cfa68bae
JK
49072015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4908
4909 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4910
8ffdba26
PA
49112015-07-14 Pedro Alves <palves@redhat.com>
4912
4913 * gdb.base/killed-outside.exp: New file.
4914 * gdb.base/killed-outside.c: New file.
4915
218a5a11
JK
49162015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4917
4918 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4919 (n at main): New.
4920 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4921
e03ed3c6
AA
49222015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4923
4924 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4925 infcall tests instead of setting up for KFAIL.
4926
485668e5
MM
49272015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4928
4929 * gdb.btrace/record_goto-step.exp: New.
4930
08464196
JK
49312015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4932
4933 PR compile/18484
4934 * gdb.compile/compile.c (struct struct_type): Add volatile to
4935 selffield's type.
4936 * gdb.compile/compile.exp
4937 (compile code struct_object.selffield = &struct_object): Skip further
4938 struct_object tests if this one xfails.
4939
bcf5c1d9
RC
49402015-07-08 Robert O'Callahan <robert@ocallahan.org>
4941
4942 PR exp/18617
4943 * gdb.trace/ax.exp: Add test.
4944
4931af25
YQ
49452015-07-07 Yao Qi <yao.qi@linaro.org>
4946
4947 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4948 instead of istarget "aarch64*-*-*".
4949 * gdb.arch/aarch64-fp.exp: Likewise.
4950 * gdb.base/float.exp: Likewise.
4951 * gdb.reverse/aarch64.exp: Likewise.
4952 * lib/gdb.exp (is_aarch64_target): New proc.
4953
9fcf688e
YQ
49542015-07-07 Yao Qi <yao.qi@linaro.org>
4955
4956 * lib/gdb.exp (is_aarch32_target): New proc.
4957 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4958 instead of "istarget "arm*-*-*"".
4959 * gdb.arch/arm-disp-step.exp: Likewise.
4960 * gdb.arch/thumb-bx-pc.exp: Likewise.
4961 * gdb.arch/thumb-prologue.exp: Likewise.
4962 * gdb.arch/thumb-singlestep.exp: Likewise.
4963 * gdb.base/disp-step-syscall.exp: Likewise.
4964 * gdb.base/float.exp: Likewise.
4965
fbd8d50d
YQ
49662015-07-07 Yao Qi <yao.qi@linaro.org>
4967
4968 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4969 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4970
71be1fdc
YQ
49712015-07-07 Yao Qi <yao.qi@linaro.org>
4972
4973 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4974 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4975 if it exists.
4976 * gdb.multi/multi-arch.exp: Likewise.
4977
3e221d36
SM
49782015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4979
4980 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4981 print.
4982
d441430b
YQ
49832015-07-07 Yao Qi <yao.qi@linaro.org>
4984
4985 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4986
06f810bd
MG
49872015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4988
4989 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4990 '[' and ']' characters.
4991
5e61e7c0
IB
49922015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4993
4994 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4995
28bf096c
PA
49962015-06-29 Pedro Alves <palves@redhat.com>
4997
4998 PR threads/18127
4999 * gdb.threads/hand-call-new-thread.c: New file.
5000 * gdb.threads/hand-call-new-thread.c: New file.
5001
ee93cd5e
KS
50022015-06-26 Keith Seitz <keiths@redhat.com>
5003 Doug Evans <dje@google.com>
5004
5005 PR 16253
5006 * gdb.cp/var-tag-2.cc: New file.
5007 * gdb.cp/var-tag-3.cc: New file.
5008 * gdb.cp/var-tag-4.cc: New file.
5009 * gdb.cp/var-tag.cc: New file.
5010 * gdb.cp/var-tag.exp: New file.
5011
fc637f04
PP
50122015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5013
5014 * gdb.base/history-duplicates.exp: New test.
5015
2e52ae68
PP
50162015-06-26 Patrick Palka <patrick@parcs.ath.cx>
5017
5018 * gdb.base/completion.exp: Test the completion of the "focus"
5019 command.
5020
6e22494e
JK
50212015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5022
5023 * gdb.arch/amd64-prologue-skip.S: New file.
5024 * gdb.arch/amd64-prologue-skip.exp: New file.
5025
bf7b9cd9
SM
50262015-06-25 Simon Marchi <simon.marchi@ericsson.com>
5027
5028 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
5029 is_address_zero_readable check.
5030
201e8dfd
PB
50312015-06-24 Peter Bergner <bergner@vnet.ibm.com>
5032
5033 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
5034 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
5035
5cd867b4
YQ
50362015-06-24 Yao Qi <yao.qi@linaro.org>
5037
5038 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
5039 linux targets.
5040
4d7be007
YQ
50412015-06-24 Yao Qi <yao.qi@linaro.org>
5042
5043 * lib/gdb.exp (supports_get_siginfo_type): New proc.
5044 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
5045 * gdb.base/siginfo-thread.exp: Likewise.
5046
07fcd301
YQ
50472015-06-22 Yao Qi <yao.qi@linaro.org>
5048
5049 * boards/remote-gdbserver-on-localhost.exp: Add comments.
5050
52042a00
YQ
50512015-06-22 Yao Qi <yao.qi@linaro.org>
5052
5053 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
5054 aarch64*-*-*.
5055 (skip_hw_watchpoint_tests): Likewise.
5056
74bd41ce
PP
50572015-06-18 Patrick Palka <patrick@parcs.ath.cx>
5058
5059 * gdb.base/gdbinit-history.exp: Test the interaction between
5060 setting GDBHISTSIZE and setting the history size via .gdbinit.
5061
bc460514
PP
50622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5063
5064 PR gdb/16999
5065 * gdb.base/gdbhistsize-history.exp: New test.
5066
b58c513b
PP
50672015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5068
5069 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
5070 with GDBHISTSIZE.
5071 * gdb.base/readline.exp: Likewise.
5072
92046791
YQ
50732015-06-17 Yao Qi <yao.qi@linaro.org>
5074
5075 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
5076 line.
5077
2093d2d3
PP
50782015-06-17 Patrick Palka <patrick@parcs.ath.cx>
5079
5080 * gdb.base/gdbinit-history.exp: Add test case to check that
5081 an unlimited history file does not get truncated on exit.
5082
e6c693af
AA
50832015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5084
5085 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
5086 (VECTOR): New macro. Use it...
5087 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
5088 ...for these typedefs.
5089 (int8, char1, int1, double1): New typedefs.
5090 (struct just_int2, struct two_int2): New structures.
5091 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
5092 (add_structvecs, add_singlevecs): New functions.
5093 (main): Call add_some_intvecs twice.
5094 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
5095 the compile and exit upon failure. Try compiling for the "native"
5096 architecture. Test inferior function calls with vector arguments
5097 and vector return value handling with "finish" and "return".
5098
c74f7d1c
JT
50992015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
5100
5101 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
5102 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
5103 PE file.
5104 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
5105
98aa42ee
AT
51062015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5107
5108 PR breakpoints/16465
5109 * gdb.mi/mi-dprintf-pending.c: New file.
5110 * gdb.mi/mi-dprintf-pending.exp: New test.
5111 * gdb.mi/mi-dprintf-pendshr.c: New file.
5112
7d73c23c 51132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 5114 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
5115
5116 * gdb.arch/i386-mpx-map.c: New file.
5117 * gdb.arch/i386-mpx-map.exp: New File.
5118
51192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5120
5121 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
5122 * gdb.arch/i386-mpx.exp: Indentation fixed.
5123
51242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5125
5126 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
5127 function and improved indentation.
5128 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
5129 gdb_test_multiple. Added additional tests to skip the test.
5130
51312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
5132
5133 * gdb.arch/i386-avx512.c: Change path in include file.
5134 * gdb.arch/i386-avx512.exp: Change include dir path
5135 compilation flag.
5136 * gdb.arch/i386-mpx.c: Change path in include file.
5137 * gdb.arch/i386-mpx.exp: Change include dir path compilation
5138 flag.
5139
d5eba19a
JK
51402015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5141
5142 * gdb.compile/compile-print.exp (compile print *vararray@3)
5143 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
5144
7f361056
JK
51452015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
5148 (do not keep jit in memory): ... this.
5149 (expect 5): Change it to ...
5150 (expect no 5): ... this.
5151
3b462ec2
SM
51522015-06-02 Simon Marchi <simon.marchi@ericsson.com>
5153
5154 PR gdb/15564
5155 * gdb.mi/mi-detach.exp: New file.
5156
e0619de6
JK
51572015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5158
5159 PR symtab/18392
5160 * gdb.arch/amd64-tailcall-self.S: New file.
5161 * gdb.arch/amd64-tailcall-self.c: New file.
5162 * gdb.arch/amd64-tailcall-self.exp: New file.
5163
e970cb34
DB
51642015-05-28 Don Breazeal <donb@codesourcery.com>
5165
5166 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
5167 tests for remote targets by checking is_target_gdbserver.
5168
b2e2f908
DE
51692015-05-27 Doug Evans <dje@google.com>
5170
5171 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
5172 * gdb.dwarf2/opaque-type-lookup.c: New file.
5173 * gdb.dwarf2/opaque-type-lookup.exp: New file.
5174
82c7be31
DE
51752015-05-26 Doug Evans <dje@google.com>
5176
5177 * gdb.cp/iostream.cc: New file.
5178 * gdb.cp/iostream.exp: New file.
5179
b4f54984
DE
51802015-05-26 Doug Evans <dje@google.com>
5181
5182 * gdb.dwarf2/dw2-op-call.exp: Update.
5183 * gdb.dwarf2/dw4-sig-types.exp: Update.
5184 * gdb.dwarf2/implptr.exp: Update.
5185 * gdb.mi/mi-cmd-param-changed.exp: Update.
5186
4ea6efe9
DE
51872015-05-26 Doug Evans <dje@google.com>
5188
5189 * gdb.python/py-lazy-string.c: New file.
5190 * gdb.python/py-lazy-string.exp: New file.
5191 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
5192 (main): Update. Add estring3.
5193 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
5194 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
5195
f6bb7db3
YQ
51962015-05-26 Omair Javaid <omair.javaid@linaro.org>
5197 Yao Qi <yao.qi@linaro.org>
5198
5199 * gdb.reverse/aarch64.c: New.
5200 * gdb.reverse/aarch64.exp: New.
5201
a81bfbd0
OJ
52022015-05-26 Omair Javaid <omair.javaid@linaro.org>
5203
25d49b86
PA
5204 * lib/gdb.exp (supports_process_record): Return true for
5205 aarch64*-linux*.
a81bfbd0
OJ
5206 (supports_reverse): Likewise.
5207
158bf1b4
PP
52082015-05-22 Patrick Palka <patrick@parcs.ath.cx>
5209
5210 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5211 Use with_test_prefix.
5212
a0145030
AB
52132015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
5214
5215 * gdb.base/completion.exp: Add test for completion of layout
5216 names.
5217
ebe3b578
AB
52182015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
5219
5220 * lib/gdb.exp (skip_tui_tests): New proc.
5221 * gdb.base/tui-layout.exp: Check skip_tui_tests.
5222
84204ed7
PA
52232015-05-19 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5226 Save the whole env array instead of just HOME. Unset HISTSIZE in
5227 the environment while testing. Restore whole environment
5228 afterwards.
5229
37442ce1
DE
52302015-05-16 Doug Evans <xdje42@gmail.com>
5231
5232 * gdb.guile/scm-ports.c: New file.
5233 * gdb.guile/scm-ports.exp: Add memory port tests.
5234
36de76f9
JK
52352015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5236
5237 * gdb.compile/compile-print.c: New file.
5238 * gdb.compile/compile-print.exp: New file.
5239
3a9558c4
JK
52402015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5241
5242 * gdb.compile/compile-ops.exp: Cast param to void.
5243 * gdb.compile/compile.exp: Complete type for _gdb_expr.
5244 (compile code struct_object.selffield = &struct_object): Add xfail.
5245
aa715135
JG
52462015-05-15 Joel Brobecker <brobecker@adacore.com>
5247
5248 * gdb.ada/arr_enum_with_gap: New testcase.
5249
931e5bc3
JG
52502015-05-15 Joel Brobecker <brobecker@adacore.com>
5251
5252 * gdb.ada/byte_packed_arr: New testcase.
5253
9cd4d857
JB
52542015-05-15 Joel Brobecker <brobecker@adacore.com>
5255
5256 * gdb.ada/pckd_neg: New testcase.
5257
ebfd00d2
PP
52582015-05-13 Patrick Palka <patrick@parcs.ath.cx>
5259
5260 PR gdb/17820
5261 * gdb.base/gdbinit-history.exp: New test.
5262 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
5263 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
5264
4c082a81
SC
52652015-05-09 Siva Chandra Reddy <sivachandra@google.com>
5266
5267 * gdb.python/py-xmethods.cc: Enhance test case.
5268 * gdb.python/py-xmethods.exp: New tests.
5269 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
5270 function.
5271 (B_indexoper): Likewise.
5272 (global_dm_list) : Add new xmethod worker functions.
5273
f7797074
SDJ
52742015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
5275
5276 * gdb.base/coredump-filter.exp: Correctly unset
5277 "coredump_var_addr" array.
5278
a4674e4e
PA
52792015-05-08 Pedro Alves <palves@redhat.com>
5280
5281 * gdb.server/non-existing-program.exp: Unset spawn_id.
5282
df2eb078
SC
52832015-05-08 Siva Chandra Reddy <sivachandra@google.com>
5284
5285 PR python/18291
5286 * gdb.python/py-xmethods.exp: Add tests.
5287
422349a3
YQ
52882015-05-08 Yao Qi <yao.qi@linaro.org>
5289
5290 PR gdb/18208
5291 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
5292 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
5293 function set_coredump_filter, and remove remote_exec call.
5294 Remove argument ipid. Callers update.
5295 (top level): Don't get inferior's PID.
5296
63fc80ce
AA
52972015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
5298
5299 * gdb.base/watch_thread_num.exp: Skip test on targets without
5300 access watchpoints.
5301
80ad801e
PA
53022015-05-06 Pedro Alves <palves@redhat.com>
5303
5304 PR server/18081
5305 * gdb.server/non-existing-program.exp: New file.
5306
0fa7fe50
JB
53072015-05-05 Joel Brobecker <brobecker@adacore.com>
5308
5309 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
5310
3ea89b92
PMR
53112015-05-05 Joel Brobecker <brobecker@adacore.com>
5312
5313 * gdb.ada/out_of_line_in_inlined: New testcase.
5314
87b8eff0
JB
53152015-05-05 Joel Brobecker <brobecker@adacore.com>
5316
5317 * gdb.ada/var_rec_arr: New testcase.
5318
5fccc635
YQ
53192015-04-30 Yao Qi <yao.qi@linaro.org>
5320
5321 * gdb.base/break-idempotent.exp: If
5322 skip_hw_watchpoint_multi_tests returns true, skip the tests
5323 on "rwatch" and "awatch".
5324
42d38f42
YQ
53252015-04-30 Yao Qi <yao.qi@linaro.org>
5326
5327 * gdb.base/relativedebug.exp: Invoke gdb command
5328 "info sharedlibrary", and if libc.so doesn't have debug info,
5329 skip the test.
5330
2ce1cdbf
DE
53312015-04-29 Doug Evans <dje@google.com>
5332
5333 * gdb.python/py-xmethods.exp: Add ptype tests.
5334 * gdb.python/py-xmethods.py (E_method_char_worker): Add
5335 get_result_type method.
5336
f24a38c5
LM
53372015-04-29 Luis Machado <lgustavo@codesourcery.com>
5338
5339 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
5340 the target does not support hardware watchpoints.
5341
ecbf2b3c
LM
53422015-04-29 Luis Machado <lgustavo@codesourcery.com>
5343
5344 * gdb.base/break-always.exp: Abort testing if writing to memory
5345 causes an error.
5346
34f5f757
DE
53472015-04-28 Doug Evans <dje@google.com>
5348
5349 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
5350 * gdb.python/py-pp-registration.exp: ... here. New file.
5351 * gdb.python/py-pp-registration.c: New file.
5352 * gdb.python/py-pp-registration.py: New file.
5353
69b4374a
DE
53542015-04-28 Doug Evans <dje@google.com>
5355
5356 * gdb.python/py-bad-printers.c: New file.
5357 * gdb.python/py-bad-printers.py: New file.
5358 * gdb.python/py-bad-printers.exp: New file.
5359
59fb7612
SS
53602015-04-28 Sasha Smundak <asmundak@google.com>
5361
5362 * gdb.python/py-type.exp: New test.
5363
2631b16a
AW
53642015-04-28 Andy Wingo <wingo@igalia.com>
5365
5366 * gdb.python/py-parameter.exp:
5367 * gdb.guile/scm-parameter.exp: Escape the path that we are
5368 matching against, as it might contain characters that are special
5369 to regular expressions.
5370
460efde1
JB
53712015-04-27 Joel Brobecker <brobecker@adacore.com>
5372
5373 * gdb.ada/rec_comp: New testcase.
5374
2d369d8e
SDJ
53752015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5376
5377 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5378 before using it.
5379
cf75d6c3
AB
53802015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5381
5382 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5383 new tests for verilog output.
5384
8dbe7ca5
YQ
53852015-04-24 Yao Qi <yao.qi@linaro.org>
5386
5387 * boards/remote-gdbserver-on-localhost.exp: New file.
5388
4ef9fb2f
PA
53892015-04-23 Pedro Alves <palves@redhat.com>
5390
5391 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5392 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5393 "end of file", remove $inferior_spawn_id from the indirect list.
5394
0a803169
PA
53952015-04-23 Pedro Alves <palves@redhat.com>
5396
5397 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5398
749ef8f8
PA
53992015-04-23 Pedro Alves <palves@redhat.com>
5400
5401 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5402 on $any_spawn_id instead of only on $gdb_spawn_id.
5403
8aae4344
PM
54042015-04-21 Pierre Muller <muller@sourceware.org>
5405
5406 PR pascal/17815
5407 * lib/pascal.exp (gpc_compile): Add new option "class".
5408 (fpc_compile): Likewise.
5409 * gdb.pascal/case-insensitive-symbols.pas: New file.
5410 * gdb.pascal/case-insensitive-symbols.exp: New file.
5411
1586c8fb
GB
54122015-04-20 Gary Benson <gbenson@redhat.com>
5413
5414 * gdb.base/attach.exp: Fix three extended remote failures.
5415
1b6e6f5c
GB
54162015-04-17 Gary Benson <gbenson@redhat.com>
5417
5418 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5419 the main executable over the remote protocol.
5420
e797481d
PA
54212015-04-16 Pedro Alves <palves@redhat.com>
5422
5423 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5424 a new gdbserver if gdbserver_reconnect_p is set.
5425
1ca99c42
PA
54262015-04-16 Pedro Alves <palves@redhat.com>
5427
5428 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5429 is set, don't exit gdbserver.
5430
af9fd6f8
AA
54312015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5432
5433 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5434 appropriate .insn, such that an older assembler can be used.
5435 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5436 the z/Architecture instruction set on 31-bit targets as well.
5437
04ff1e61
AA
54382015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5439
5440 * gdb.go/handcall.exp: Remove all logic related to the first
5441 breakpoint and rely on go_runto_main instead.
5442 * gdb.go/strings.exp: Likewise.
5443 * gdb.go/unsafe.exp: Likewise.
5444 * gdb.go/hello.exp: Likewise. Also rename the remaining
5445 breakpoint marker to "breakpoint 1".
5446 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5447 * gdb.go/strings.go: Likewise.
5448 * gdb.go/unsafe.go: Likewise.
5449 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5450 "set breakpoint 2 here" and rename the remaining breakpoint marker
5451 to "breakpoint 1".
5452
40d2f8d6
SM
54532015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5454
5455 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5456 if itertools.imap is not present.
5457 * gdb.python/py-objfile.exp: Add parentheses.
5458 * gdb.python/py-type.exp: Same.
5459 * gdb.python/py-unwind-maint.py: Same.
5460
8cbc97c6
YQ
54612015-04-15 Yao Qi <yao.qi@linaro.org>
5462
5463 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5464 of ":$ptr_size" and set its form explicitly.
5465
45fd756c
YQ
54662015-04-15 Pedro Alves <palves@redhat.com>
5467 Yao Qi <yao.qi@linaro.org>
5468
5469 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5470 timeout by factor of 4.
5471 (test_regular_watch): Likewise.
5472 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5473 * gdb.reverse/sigall-reverse.exp: Likewise.
5474 * gdb.reverse/until-precsave.exp: Likewise.
5475 * lib/gdb.exp (with_timeout_factor): New proc.
5476 (gdb_expect): Move some code to ...
5477 (get_largest_timeout): ... here. New procedure.
5478
9e811bc3
LM
54792015-04-14 Luis Machado <lgustavo@codesourcery.com>
5480
5481 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5482
0ff6fcb2
LM
54832015-04-13 Luis Machado <lgustavo@codesourcery.com>
5484
5485 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5486 to write to the .text section.
5487
7578d5f7
LM
54882015-04-13 Luis Machado <lgustavo@codesourcery.com>
5489
5490 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5491 Handle the case of targets that do not provide PID information.
5492
2efe15c4
YQ
54932015-04-13 Yao Qi <yao.qi@linaro.org>
5494
5495 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5496 and use expect instead of gdb_expect.
5497
8cd8f2f8
SDJ
54982015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5499
5500 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5501 "coredump_var_addr" to avoid naming conflict with other testcases.
5502
9ee41772
PA
55032015-04-10 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5506 gdb_test_sequence and gdb_assert.
5507
07473109
PA
55082015-04-10 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5511 test messages that don't include the breakpoint address.
5512
de3db44c
YQ
55132015-04-10 Yao Qi <yao.qi@linaro.org>
5514
5515 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5516 false for some offset and width combinations which aren't
5517 supported by linux kernel.
5518
c79d856c
PA
55192015-04-10 Pedro Alves <palves@redhat.com>
5520
5521 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5522 procedure, factored out from ...
5523 (top level): ... here. Add "set displaced-stepping" testing axis.
5524 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5525 parameter "displaced". Use it.
5526 (top level): Use foreach and add "set displaced-stepping" testing
5527 axis.
5528
ebc90b50
PA
55292015-04-10 Pedro Alves <palves@redhat.com>
5530
5531 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5532 Remove comment.
5533 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5534 both the address of the instruction that triggers the watchpoint
5535 and the address of the instruction immediately after, and use
5536 those addresses for the test. Fix comment.
5537
8f572e5c
PA
55382015-04-10 Pedro Alves <palves@redhat.com>
5539
5540 * gdb.base/sigstep.exp (breakpoint_to_handler)
5541 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5542 Test "backtrace" in handler.
5543 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5544 (top level): Add new "displaced" test axis to
5545 breakpoint_to_handler, breakpoint_to_handler_entry and
5546 breakpoint_over_handler.
5547
8d707a12
PA
55482015-04-10 Pedro Alves <palves@redhat.com>
5549
5550 PR gdb/18216
5551 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5552
ef713951
YQ
55532015-04-10 Yao Qi <yao.qi@linaro.org>
5554
5555 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5556 (test_add_rn_pc): New function.
5557 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5558 (top level): Invoke test_add_rn_pc.
5559
906d60cf
PA
55602015-04-10 Pedro Alves <palves@redhat.com>
5561
5562 PR gdb/13858
5563 * gdb.base/step-over-no-symbols.exp: New file.
5564
f2983cc3
AW
55652015-04-09 Andy Wingo <wingo@igalia.com>
5566
5567 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5568 after the Python tests.
5569
6d62641c
SDJ
55702015-04-08 Keith Seitz <keiths@redhat.com>
5571
5572 PR python/16699
5573 * gdb.python/py-completion.exp: New tests for completion.
5574 * gdb.python/py-completion.py (CompleteLimit1): New class.
5575 (CompleteLimit2): Likewise.
5576 (CompleteLimit3): Likewise.
5577 (CompleteLimit4): Likewise.
5578 (CompleteLimit5): Likewise.
5579 (CompleteLimit6): Likewise.
5580 (CompleteLimit7): Likewise.
5581
f3770638
PA
55822015-04-08 Pedro Alves <palves@redhat.com>
5583
5584 PR gdb/18214
5585 PR gdb/18216
5586 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5587 function.
5588 (main): Install it as SIGUSR1 handler.
5589 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5590 parameter. Always use "setup" as prefix. Toggle "set
5591 displaced-stepping" off/on depending on global. Don't switch to
5592 thread 1 here.
5593 (top level): Add displaced stepping "off/on" test axis. Update
5594 "setup" calls. Wrap each subtest with with_test_prefix. Test
5595 continuing with a queued signal in each thread.
5596
4496bed7
PA
55972015-04-08 Pedro Alves <palves@redhat.com>
5598
5599 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5600 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5601 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5602 Return early if running to main fails.
5603 * gdb.trace/while-stepping.exp: Likewise.
5604
b97fde92
PA
56052015-04-07 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5608 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5609 interact with inferior program.
5610
f71c18e7
PA
56112015-04-07 Pedro Alves <palves@redhat.com>
5612
5613 * lib/gdb.exp (inferior_spawn_id): New global.
5614 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5615 spawn id after processing the user code.
5616 (default_gdb_start): Set inferior_spawn_id.
5617 (send_inferior): New procedure.
5618 * lib/gdbserver-support.exp (gdbserver_start): Set
5619 inferior_spawn_id.
5620 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5621
6423214f
PA
56222015-04-07 Pedro Alves <palves@redhat.com>
5623
5624 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5625 * lib/gdbserver-support.exp (gdbserver_start): Make
5626 $server_spawn_id global.
5627 (gdbserver_start): Don't wait for gdbserver's spawn id with
5628 expect_background.
5629 (close_gdbserver): New procedure.
5630 (gdb_exit): Rename the default version and reimplement.
5631
71c0ee8c
PA
56322015-04-07 Pedro Alves <palves@redhat.com>
5633
72f4393d 5634 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
5635 append the substituted item, not the original item.
5636
203bc29b
PA
56372015-04-07 Pedro Alves <palves@redhat.com>
5638
5639 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5640 gdb_expect.
5641
508a3ddf
PA
56422015-04-07 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5645 output appearing once only.
5646
9f6dbe2b
PA
56472015-04-07 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5650 that doesn't expect anything. Return early if running to main
5651 fails.
5652
337532fa
YQ
56532015-04-07 Yao Qi <yao.qi@linaro.org>
5654
5655 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5656 (child_function): Call alarm.
5657 (main): Move call to alarm into the loop.
5658 * gdb.threads/non-stop-fair-events.exp: Build program with
5659 -DTIMEOUT=$timeout.
5660
01b622d4
DE
56612015-04-06 Doug Evans <xdje42@gmail.com>
5662
5663 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5664 Fix dest parameter to board_info.
5665 (fpc_compile): Ditto.
5666 (gdb_compile_pascal): Rename dest arg to destfile.
5667
961f4160
PMR
56682015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5669
5670 * gdb.ada/funcall_ref.exp: New file.
5671 * gdb.ada/funcall_ref/foo.adb: New file.
5672
cafda597
YQ
56732015-04-02 Yao Qi <yao.qi@linaro.org>
5674
5675 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5676 is remote.
5677
fed040c6
GB
56782015-04-02 Gary Benson <gbenson@redhat.com>
5679
5680 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5681
d11916aa
SS
56822015-04-01 Sasha Smundak <asmundak@google.com>
5683
5684 * gdb.python/py-unwind-maint.c: New file.
5685 * gdb.python/py-unwind-maint.exp: New test.
5686 * gdb.python/py-unwind-maint.py: New file.
5687 * gdb.python/py-unwind.c: New file.
5688 * gdb.python/py-unwind.exp: New test.
5689 * gdb.python/py-unwind.py: New test.
5690
a1471180
PA
56912015-04-01 Pedro Alves <palves@redhat.com>
5692
5693 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5694 to fail instead of non-existent $test.
5695
0bbeccb1
PA
56962015-04-01 Pedro Alves <palves@redhat.com>
5697
5698 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5699 GDBFLAGS if not empty.
5700
3c724c8c
PMR
57012015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5702
5703 * gdb.ada/complete.exp: Remove "multi_line".
5704 * gdb.ada/info_exc.exp: Remove "multi_line".
5705 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5706 * gdb.ada/ptype_field.exp: Remove "multi_line".
5707 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5708 * gdb.ada/tagged.exp: Remove "multi_line".
5709 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5710 [multi_line ...]
5711 * gdb.btrace/delta.exp: Likewise.
5712 * gdb.btrace/exception.exp: Likewise.
5713 * gdb.btrace/function_call_history.exp: Likewise.
5714 * gdb.btrace/instruction_history.exp: Likewise.
5715 * gdb.btrace/nohist.exp: Likewise.
5716 * gdb.btrace/record_goto.exp: Likewise.
5717 * gdb.btrace/segv.exp: Likewise.
5718 * gdb.btrace/stepi.exp: Likewise.
5719 * gdb.btrace/tailcall.exp: Likewise.
5720 * gdb.btrace/unknown_functions.exp: Likewise.
5721 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5722 * lib/gdb.exp: Add the "multi_line" helper.
5723
4eec2deb
PA
57242015-04-01 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.threads/tid-reuse.c: New file.
5727 * gdb.threads/tid-reuse.exp: New file.
5728
df8411da
SDJ
57292015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5730
5731 PR corefiles/16092
5732 * gdb.base/coredump-filter.c: New file.
5733 * gdb.base/coredump-filter.exp: Likewise.
5734
6ef37366
PM
57352015-03-27 Petr Machata <pmachata@redhat.com>
5736
5737 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5738 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5739 (Dwarf::assemble): Initialize them.
5740 (Dwarf::lines): New function.
5741
7ec911b0
JT
57422015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5743
5744 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5745 SYMBOL_PREFIX for x86_64-*-cygwin.
5746
ff908ebf
AW
57472015-03-26 Andy Wingo <wingo@igalia.com>
5748
5749 PR symtab/18148
5750 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5751 const_value but not a location.
5752 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5753 location defined in non-main CUs are visible.
5754
6d5f0679
YQ
57552015-03-26 Yao Qi <yao.qi@linaro.org>
5756
5757 PR testsuite/18139
5758 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5759 Add a line number entry for the same line.
5760 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5761 Add a line number entry for the same line.
5762
2898689b
YQ
57632015-03-26 Yao Qi <yao.qi@linaro.org>
5764
5765 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5766 .int 0.
5767 (func): Likewise. Add .Lfunc_1 label.
5768 Use .Lfunc_1 label.
5769 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5770 .int 0.
5771 (func): Likewise.
5772 Use .Lfunc_1 label.
5773
85180498
YQ
57742015-03-26 Yao Qi <yao.qi@linaro.org>
5775
5776 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5777 Call gdb_compile instead to compile each .s files without debug
5778 information.
5779
8aa08a8d
YQ
57802015-03-26 Yao Qi <yao.qi@linaro.org>
5781
5782 * gdb.base/savedregs.exp (process_saved_regs): Make
5783 "Saved registers:" optional in the pattern.
5784
66849923
MM
57852015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5786
5787 * gdb.btrace/next.exp: Merged into step.exp.
5788 * gdb.btrace/finish.exp: Merged into step.exp.
5789 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5790 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5791 "record goto" and checking the exact replay position.
5792 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5793 check for "Recording format" in "info record" output.
5794 * gdb.btrace/record_goto.exp: Choose test file based on target.
5795 * gdb.btrace/x86-record_goto.S: Renamed into ...
5796 * gdb.btrace/x86_64-record_goto.S: ... this.
5797 * gdb.btrace/i686-record_goto.S: New.
5798 * gdb.btrace/x86-tailcall.S: Renamed into ...
5799 * gdb.btrace/x86_64-tailcall.S: ... this.
5800 * gdb.btrace/i686-tailcall.S: New.
5801 * gdb.btrace/x86-tailcall.c: Renamed into ...
5802 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5803 separate statements. Update test.
5804 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5805 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5806 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5807 * gdb.btrace/tailcall.exp: Choose test file based on target.
5808 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5809
11cc1b74
MM
58102015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5811
5812 * gdb.btrace/exception.exp: Increase BTS buffer size.
5813
a25d8bf9
PA
58142015-03-24 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5817
856e7dd6
PA
58182015-03-24 Pedro Alves <palves@redhat.com>
5819
5820 * gdb.threads/schedlock.exp (test_step): No longer expect that
5821 "set scheduler-locking step" with "next" over a function call runs
5822 threads unlocked.
5823
ad235a41
AT
58242015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5825
5826 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5827
15630549
AT
58282015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5829
5830 PR breakpoints/16466
5831 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5832 * gdb.mi/mi-pending.c (thread_func): New function.
5833 (int main): Add threading support required.
5834 * gdb.mi/mi-pending.exp: Add tests for this issue.
5835 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5836 (pendfunc2): Remove stdio dependency.
5837 * gdb.mi/mi-pendshr2.c: New file.
5838
693dca06
KS
58392015-03-23 Keith Seitz <keiths@redhat.com>
5840
5841 * gdb.linespec/keywords.c: New file.
5842 * gdb.linespec/keywords.exp: New file.
5843
7e993ebf
KS
58442015-03-23 Keith Seitz <keiths@redhat.com>
5845
5846 PR gdb/18021
5847 * gdb.dwarf2/staticvirtual.exp: New test.
5848
bc23328c
JK
58492015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5850
5851 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5852 * README: Remove HP-UX and gdb.hp.
5853 (configuration):
5854 * configure: Regenerate.
5855 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5856 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5857 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5858 gdb.hp/gdb.defects/Makefile.
5859 * gdb.hp/Makefile.in: File deleted.
5860 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5861 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5862 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5863 * gdb.hp/gdb.aCC/run.c: File deleted.
5864 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5865 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5866 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5867 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5868 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5869 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5870 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5871 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5872 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5873 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5874 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5875 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5876 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5877 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5878 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5879 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5880 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5881 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5882 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5883 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5884 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5885 * gdb.hp/gdb.compat/average.c: File deleted.
5886 * gdb.hp/gdb.compat/sum.c: File deleted.
5887 * gdb.hp/gdb.compat/xdb.c: File deleted.
5888 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5889 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5890 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5891 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5892 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5893 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5894 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5895 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5896 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5897 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5898 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5899 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5900 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5901 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5902 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5903 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5904 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5905 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5906 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5907 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5908 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5909 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5910 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5911 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5912 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5913 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5914 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5915 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5916 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5917 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5918 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5919 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5920 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5921 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5922 * gdb.hp/tools/odump: File deleted.
5923
8bf3b159
PA
59242015-03-19 Pedro Alves <palves@redhat.com>
5925
5926 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5927 (saw_thread_3): New globals.
5928 (top level): Increment them when an event for the corresponding
5929 thread is seen.
5930 (no thread starvation): New test.
5931
eb54c8bf
PA
59322015-03-19 Pedro Alves <palves@redhat.com>
5933
5934 * gdb.threads/continue-pending-status.c: New file.
5935 * gdb.threads/continue-pending-status.exp: New file.
5936
32d2e5d6
PA
59372015-03-18 Pedro Alves <palves@redhat.com>
5938
5939 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5940 Use gdb_is_target_remote instead of is_remote. Use
5941 gdb_test_multiple instead of gdb_expect. Exit early if
5942 gdb_test_multiple hits its internal matches. Tighten stepi tests
5943 expected output. Fail on exit with any signal, instead of just
5944 SIGILL.
5945
f68f11b7
YQ
59462015-03-18 Yao Qi <yao.qi@linaro.org>
5947
5948 PR tdep/18107
5949 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5950 variable.
5951 * gdb.base/catch-syscall.exp: Don't skip it on
5952 aarch64*-*-linux* target. Remove elements in all_syscalls.
5953 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5954 target.
5955 (setup_all_syscalls): New proc.
5956
ca5fd19b
YQ
59572015-03-16 Yao Qi <yao.qi@linaro.org>
5958
5959 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5960 (top level): Skip tests if valid_addr_p returns false for
5961 $cmd1 or $cmd2.
5962
85642ba0
AW
59632015-03-11 Andy Wingo <wingo@igalia.com>
5964
5965 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5966
e03f9645
YQ
59672015-03-11 Yao Qi <yao.qi@linaro.org>
5968
5969 * gdb.base/catch-syscall.exp: Fix typo in comments.
5970
5d0962b2
YQ
59712015-03-11 Yao Qi <yao.qi@linaro.org>
5972
5973 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5974
b2df3cef
PA
59752015-03-09 Pedro Alves <palves@redhat.com>
5976
5977 * dg-extract-results.py: Delete.
5978
ef878e53
PA
59792015-03-09 Pedro Alves <palves@redhat.com>
5980
5981 Merge dg-extract-results.sh from GCC upstream (r218843).
5982
5983 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5984 * dg-extract-results.sh: Use --text with grep to avoid issues with
5985 binary files. Fall back to cat -v, if that doesn't work.
5986
9494d219
PA
59872015-03-05 Pedro Alves <palves@redhat.com>
5988
5989 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5990
a8d9763a
SM
59912015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5992
5993 * lib/mi-support.exp (mi_expect_interrupt): Accept
5994 alternative event for when in all-stop mode.
5995
be9957b8
PA
59962015-03-04 Pedro Alves <palves@redhat.com>
5997
5998 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5999
d57be0f4 60002015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
6001
6002 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
6003
c214c7cf
AA
60042015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6005
6006 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
6007 regexps for GDB's current line display, accept a hex address
6008 preceding the line number.
6009
6d74a497
AA
60102015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
6011
6012 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
6013 the 'arch1' variable for "s390*-linux*" targets.
6014
511aee7c
PA
60152015-03-04 Pedro Alves <palves@redhat.com>
6016
6017 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
6018 (main): Pass missing retval argument to pthread_join call.
6019
95e50b27
PA
60202015-03-02 Pedro Alves <palves@redhat.com>
6021
6022 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
6023 (top level): Call do_test with non-stop as well.
6024
28054d69
PA
60252015-03-02 Pedro Alves <palves@redhat.com>
6026
6027 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
6028 -1.
6029
4fa5d7b4
AA
60302015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6031
6032 * gdb.arch/s390-vregs.exp: New test.
6033 * gdb.arch/s390-vregs.S: New file.
6034
97c18565
PA
60352015-02-27 Pedro Alves <palves@redhat.com>
6036
6037 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
6038 call to catch_command_errors.
6039 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
6040 catch_command_errors.
6041
a37bfa30
PA
60422015-02-27 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
6045 "true" for boolean result.
6046 * gdb.gdb/selftest.exp (test_with_self): Also accept full
6047 prototype of main.
6048
6f98576f
PA
60492015-02-27 Pedro Alves <palves@redhat.com>
6050
6051 * lib/unbuffer_output.c: New file.
6052 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
6053 (main): Call gdb_unbuffer_output.
6054
eba5ab56
YQ
60552015-02-27 Yao Qi <yao.qi@linaro.org>
6056
6057 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
6058 target.
6059
0def5aaa
DE
60602015-02-26 Doug Evans <dje@google.com>
6061
6062 * gdb.cp/class2.cc (Dbase, D): New classes.
6063 (main): New local delta.
6064 * gdb.cp/class2.exp: Test printing delta.
6065 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
6066 (dynbar): New global.
6067 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
6068
081a1c2c
JK
60692015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6070
6071 * gdb.compile/compile-ifunc.c: New file.
6072 * gdb.compile/compile-ifunc.exp: New file.
6073
2f41223f
AT
60742015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
6075
6076 * gdb.base/structs.exp: Check for correct struct on finish.
6077
03eddd80
YQ
60782015-02-26 Yao Qi <yao.qi@linaro.org>
6079
6080 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
6081 is zero.
6082
80c57053
JK
60832015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6084
6085 * gdb.arch/cordic.ko.bz2: New file.
6086 * gdb.arch/cordic.ko.debug.bz2: New file.
6087 * gdb.arch/ppc64-symtab-cordic.exp: New file.
6088
21613c12
YQ
60892015-02-25 Yao Qi <yao.qi@linaro.org>
6090
6091 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
6092 aarch64*-*-* target.
6093
d8b901ed
PA
60942015-02-23 Pedro Alves <palves@redhat.com>
6095
6096 * lib/gdb.exp (delete_breakpoints): Rewrite using
6097 gdb_test_multiple.
6098
e5b85ead
PA
60992015-02-23 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/info-os.c: Include stdlib.h.
6102
85c3a371
DE
61032015-02-22 Doug Evans <xdje42@gmail.com>
6104
6105 PR symtab/17855
6106 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
6107 is read after symbols have been re-read.
6108 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
6109 * gdb.ada/exec_changed/second.adb (Second): Ditto.
6110
96553a0c
DE
61112015-02-21 Doug Evans <dje@google.com>
6112
6113 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
6114
97a0c697
JK
61152015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6116
6117 PR corefiles/17808
6118 * gdb.arch/i386-biarch-core.core.bz2: New file.
6119 * gdb.arch/i386-biarch-core.exp: New file.
6120
a47cd6e9
PA
61212015-02-21 Pedro Alves <palves@redhat.com>
6122
6123 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
6124 runto_main fails.
6125
c5facdc4
PA
61262015-02-20 Pedro Alves <palves@redhat.com>
6127
6128 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
6129 info probes.
6130
2db9a427
PA
61312015-02-20 Pedro Alves <palves@redhat.com>
6132
6133 * gdb.threads/multi-create-ns-info-thr.exp: New file.
6134
60fb7e9e
PA
61352015-02-20 Pedro Alves <palves@redhat.com>
6136
6137 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
6138 clean_restart before gdb_target_supports_trace.
6139
5c5019c2
PA
61402015-02-20 Pedro Alves <palves@redhat.com>
6141
6142 PR threads/18006
6143 * gdb.threads/clone-thread_db.c: New file.
6144 * gdb.threads/clone-thread_db.exp: New file.
6145
c9587f88
AT
61462015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
6147
6148 PR breakpoints/16812
6149 * gdb.base/catch-gdb-caused-signals.c: New file.
6150 * gdb.base/catch-gdb-caused-signals.exp: New file.
6151
f6a88844
JM
61522015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
6153
6154 * configure: Regenerated.
6155 * configure.ac: Use GDB_AC_TRANSFORM.
6156 * aclocal.m4: sinclude ../transform.m4.
6157
497c491b
JM
61582015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6159
6160 * lib/dtrace.exp: New file.
6161 * gdb.base/dtrace-probe.exp: Likewise.
6162 * gdb.base/dtrace-probe.d: Likewise.
6163 * gdb.base/dtrace-probe.c: Likewise.
6164 * lib/pdtrace.in: Likewise.
6165 * configure.ac: Output variables with the transformed names of
6166 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
6167 * configure: Regenerated.
6168
03e98035
JM
61692015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6170
6171 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
6172 expected message when trying to access $_probe_* convenience
6173 variables while not on a probe.
6174
63cc30e9
JK
61752015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6176
6177 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
6178
0703599a
PA
61792015-02-11 Pedro Alves <pedro@codesourcery.com>
6180
6181 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
6182 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
6183
7e60a48e
DE
61842015-02-10 Doug Evans <xdje42@gmail.com>
6185
6186 * lib/gdb.exp (gdb_load): Always return a result.
6187
01b088bc
PA
61882015-02-10 Pedro Alves <palves@redhat.com>
6189
6190 * gdb.threads/signal-sigtrap.c: New file.
6191 * gdb.threads/signal-sigtrap.exp: New file.
6192
b05ec7a5
AT
61932015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
6194
6195 * gdb.trace/no-attach-trace.c: New file.
6196 * gdb.trace/no-attach-trace.exp: New file.
6197
a2c2acaf
MW
61982015-02-09 Mark Wielaard <mjw@redhat.com>
6199
6200 * gdb.dwarf2/atomic.c: New file.
6201 * gdb.dwarf2/atomic-type.exp: Likewise.
6202
31fd9caa
MM
62032015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6204
6205 * gdb.btrace/buffer-size.exp: Update "info record" output.
6206 * gdb.btrace/delta.exp: Update "info record" output.
6207 * gdb.btrace/enable.exp: Update "info record" output.
6208 * gdb.btrace/finish.exp: Update "info record" output.
6209 * gdb.btrace/instruction_history.exp: Update "info record" output.
6210 * gdb.btrace/next.exp: Update "info record" output.
6211 * gdb.btrace/nexti.exp: Update "info record" output.
6212 * gdb.btrace/step.exp: Update "info record" output.
6213 * gdb.btrace/stepi.exp: Update "info record" output.
6214 * gdb.btrace/nohist.exp: Update "info record" output.
6215
d33501a5
MM
62162015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6217
6218 * gdb.btrace/buffer-size: New.
6219
f4abbc16
MM
62202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
6221
6222 * gdb.btrace/delta.exp: Update "info record" output.
6223 * gdb.btrace/enable.exp: Update "info record" output.
6224 * gdb.btrace/finish.exp: Update "info record" output.
6225 * gdb.btrace/instruction_history.exp: Update "info record" output.
6226 * gdb.btrace/next.exp: Update "info record" output.
6227 * gdb.btrace/nexti.exp: Update "info record" output.
6228 * gdb.btrace/step.exp: Update "info record" output.
6229 * gdb.btrace/stepi.exp: Update "info record" output.
6230 * gdb.btrace/nohist.exp: Update "info record" output.
6231
b9d61307
SM
62322015-02-06 Simon Marchi <simon.marchi@ericsson.com>
6233
6234 PR gdb/15678
6235 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
6236
e584fdbc
PA
62372015-02-06 Pedro Alves <palves@redhat.com>
6238
6239 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
6240 macro.
6241 (seconds_left, again): New globals.
6242 (main): Wait seconds_left in a 1-second sleep loop instead of
6243 sleeping 180 seconds. If 'again' is set, reset the seconds
6244 counter.
6245 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
6246 'again' in the inferior before detaching. Print the seconds left.
6247 (options): New global.
6248 (top level): Build program with -DTIMEOUT=$timeout.
6249
77f41761
PA
62502015-02-06 Pedro Alves <palves@redhat.com>
6251
6252 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
6253 determine how many seconds to pass to 'alarm'.
6254 * gdb.base/gdb-sigterm.exp (top level): Build program with
6255 -DTIMEOUT=$timeout.
6256 (do_test): Return success/failure indication. Add more verbose
6257 logging. Don't fail if 200 single steps are seen. Instead, fail
6258 when the test times out.
6259 (passes): New global.
6260 (top level): Break the testing loop if testing fails on any
6261 iteration. Use gdb_assert.
6262
b9394193
DB
62632015-02-04 Don Breazeal <donb@codesourcery.com>
6264
6265 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
6266 and initialize them.
6267 (ipc_cleanup): New function.
6268 (main): Don't declare shmid, semid, and msqid. Add a call to
6269 atexit so that we call ipc_cleanup on exit.
6270
42d9e528
PA
62712015-02-04 Pedro Alves <palves@redhat.com>
6272
6273 * boards/native-extended-gdbserver.exp: Remove any target variant
6274 specifications from the board name before clearing the isremote
6275 flag from board_info.
6276
ae6ae975
DE
62772015-01-31 Doug Evans <xdje42@gmail.com>
6278
6279 * gdb.base/maint.exp <maint print type argc>: Update expected output.
6280
cfb069a8
GB
62812015-01-31 Gary Benson <gbenson@redhat.com>
6282
6283 * gdb.base/completion.exp: Disable completion limiting for
6284 existing tests. Add new tests to check completion limiting.
6285 * gdb.linespec/ls-errs.exp: Disable completion limiting.
6286
5dd31d79
DE
62872015-01-31 Doug Evans <xdje42@gmail.com>
6288
6289 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
6290
9f050062
DE
62912015-01-31 Doug Evans <xdje42@gmail.com>
6292
6293 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
6294 entries. Duplicate file section script entries.
6295 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
6296 inlined entries. Add test for safe-path rejection.
6297 * gdb.python/py-section-script.c: Add duplicate inlined section script
6298 entries. Duplicate file section script entries.
6299 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
6300 inlined entries. Add test for safe-path rejection.
6301
df25ebbd
JB
63022015-01-29 Joel Brobecker <brobecker@adacore.com>
6303
6304 * gdb.ada/disc_arr_bound: New testcase.
6305
4a0ca9ec
JB
63062015-01-29 Joel Brobecker <brobecker@adacore.com>
6307
6308 * gdb.ada/mi_var_array: New testcase.
6309
3a8b707a
DE
63102015-01-27 Doug Evans <dje@google.com>
6311
6312 * gdb.python/py-objfile.exp: Add tests for objfile.username.
6313 Add test for objfile.filename, objfile.username after objfile
6314 has been unloaded.
6315
f8313f6e
JB
63162015-01-26 Joel Brobecker <brobecker@adacore.com>
6317
6318 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
6319 the second test to print the name attribute of value
6320 returned by the call to gdb.lookup_type, and adjust
6321 the expected output accordingly.
6322
37bc665e
MW
63232015-01-25 Mark Wielaard <mjw@redhat.com>
6324
6325 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
6326 * gdb.base/disp-step-fork.c: Include unistd.h.
6327 * gdb.base/siginfo-obj.c: Include stdio.h.
6328 * gdb.base/siginfo-thread.c: Likewise.
6329 * gdb.mi/non-stop.c: Include unistd.h.
6330 * gdb.mi/nsthrexec.c: Include stdio.h.
6331 * gdb.mi/pthreads.c: Include unistd.h.
6332 * gdb.modula2/unbounded1.c (main): Declare returns int.
6333 * gdb.reverse/consecutive-reverse.c: Likewise.
6334 * gdb.threads/create-fail.c: Include unistd.h.
6335 * gdb.threads/killed.c: Likewise.
6336 * gdb.threads/linux-dp.c: Likewise.
6337 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
6338 * gdb.threads/non-ldr-exc-2.c: Likewise.
6339 * gdb.threads/non-ldr-exc-3.c: Likewise.
6340 * gdb.threads/non-ldr-exc-4.c: Likewise.
6341 * gdb.threads/pthreads.c: Include unistd.h.
6342 (main): Declare returns int.
6343 * gdb.threads/tls-main.c (foo): New declaration.
6344 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
6345
f7e5394d
SM
63462015-01-23 Simon Marchi <simon.marchi@ericsson.com>
6347
6348 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
6349 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
6350
743649fd
MW
63512015-01-15 Mark Wielaard <mjw@redhat.com>
6352
6353 * gdb.base/noreturn-return.c: New file.
6354 * gdb.base/noreturn-return.exp: New file.
6355 * gdb.base/noreturn-finish.c: New file.
6356 * gdb.base/noreturn-finish.exp: New file.
6357
198297aa
PA
63582015-01-23 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.threads/continue-pending-after-query.c: New file.
6361 * gdb.threads/continue-pending-after-query.exp: New file.
6362
717cf30c
AG
63632015-01-22 Anders Granlund <anders.granlund@ericsson.com>
6364 Simon Marchi <simon.marchi@ericsson.com>
6365
6366 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
6367 * gdb.base/valgrind-db-attach.exp: Same.
6368 * gdb.base/valgrind-infcall.exp: Same.
6369 * lib/mi-support.exp (default_mi_gdb_start): Same.
6370 * lib/prompt.exp (default_prompt_gdb_start): Same.
6371 * lib/gdb.exp (default_gdb_spawn): Same.
6372 (gdb_interact): New.
6373
6374
4b62a76e
JK
63752015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6376
6377 * gdb.compile/compile.exp (pointer to jit function): New test.
6378
b4cdae6f
WW
63792015-01-17 Wei-cheng Wang <cole945@gmail.com>
6380
6381 * lib/gdb.exp (supports_process_record): Return true for
6382 powerpc*-*-linux*.
6383 (supports_reverse): Likewise.
6384
d221e7ef
DB
63852015-01-15 Don Breazeal <donb@codesourcery.com>
6386
6387 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6388 instead of checking whether the target board is remote and
6389 use spawn_wait_for_attach instead of exec/sleep.
6390 * gdb.base/attach-twice.exp: Likewise.
6391
bafffb51
JB
63922015-01-15 Joel Brobecker <brobecker@adacore.com>
6393
6394 * gdb.ada/var_arr_attrs: New testcase.
6395
5589af0e
PA
63962015-01-14 Pedro Alves <palves@redhat.com>
6397 Joel Brobecker <brobecker@adacore.com>
6398
6399 PR gdb/17525
6400 * gdb.base/bp-cmds-execution-x-script.c: New file.
6401 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6402 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6403
6c400b59
PA
64042015-01-14 Pedro Alves <palves@redhat.com>
6405
6406 PR cli/17828
6407 * gdb.base/batch-preserve-term-settings.c: New file.
6408 * gdb.base/batch-preserve-term-settings.exp: New file.
6409
e02c96a7
DE
64102015-01-13 Doug Evans <dje@google.com>
6411
6412 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6413 binary.
6414
576fd14c
JB
64152015-01-13 Joel Brobecker <brobecker@adacore.com>
6416
6417 * Makefile.in (clean mostlyclean): Do not delete *.py.
6418
04dccad0
JB
64192015-01-13 Joel Brobecker <brobecker@adacore.com>
6420
6421 * gdb.python/py-lookup-type.exp: New file.
6422
3d230f71
PA
64232015-01-12 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6426 restore GDBFLAGS before returning.
6427
7e67715d
JK
64282015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6429
6430 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6431 is_amd64_regs_target and is_x86_like_target.
6432
f2e0d4b4
DE
64332015-01-11 Doug Evans <xdje42@gmail.com>
6434
6435 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6436 is given without an explicit form.
6437 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6438 attributes.
6439 * gdb.dwarf/corrupt.exp: Ditto.
6440 * gdb.dwarf2/enum-type.exp: Ditto.
6441 * gdb.trace/entry-values.exp: Ditto.
6442 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6443
439250fb
DE
64442015-01-11 Doug Evans <xdje42@gmail.com>
6445
6446 PR gdb/15830
6447 * gdb.base/maint.exp: Remove references to "maint demangle".
6448 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6449 Add tests for explicitly specifying language to demangle.
6450 * gdb.dlang/demangle.exp: Ditto.
6451
ede9f622
PA
64522015-01-09 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.threads/non-stop-fair-events.c: New file.
6455 * gdb.threads/non-stop-fair-events.exp: New file.
6456
a7b796db
PA
64572015-01-09 Pedro Alves <palves@redhat.com>
6458
6459 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6460 the global scope. Set a breakpoint after all threads are started
6461 rather than stepping over two source lines. Expect the prompt.
6462 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6463 global.
6464 (NUM): Now 15.
6465 (main): Use threads_started_barrier to wait for all threads to
6466 start. Main thread no longer calls thread_function. Exit after
6467 180 seconds.
6468 (loop): New function.
6469 (thread_function): Wait on threads_started_barrier barrier. Call
6470 'loop' at each iteration.
6471 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6472 threads have started, instead of hardcoding number of "next"
6473 steps. Use an access watchpoint instead of a write watchpoint.
6474
9665ffdd
PA
64752015-01-09 Pedro Alves <palves@redhat.com>
6476
6477 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6478 (thread_func): Wait on barrier.
6479 (main): Wait for all threads to start before stopping GDB.
6480 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6481 global.
6482 (thread1_func, thread2_func): Wait on barrier.
6483 (main): Wait for all threads to start before stopping GDB.
6484 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6485 New global.
6486 (thread1_func, thread2_func): Wait on barrier.
6487 (main): Wait for all threads to start before stopping GDB.
6488
c945a99f
PA
64892015-01-09 Pedro Alves <palves@redhat.com>
6490
6491 * gdb.threads/attach-many-short-lived-threads.c: New file.
6492 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6493
c1a747c1
PA
64942014-01-09 Pedro Alves <palves@redhat.com>
6495
6496 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6497 instead of to thread 2.
6498 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6499 Add barrier around each pthread_create call instead of around all
6500 calls.
6501 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6502 Set a break on thread_function and have the child threads hit it
6503 one at at a time.
6504
60b3033e
PA
65052015-01-09 Pedro Alves <palves@redhat.com>
6506
6507 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6508 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6509 false.
6510 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6511 checking whether the target board is remote.
6512 * gdb.multi/multi-attach.exp: Likewise.
6513 * gdb.python/py-sync-interp.exp: Likewise.
6514 * gdb.server/ext-attach.exp: Likewise.
6515 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6516 tests that need to attach, instead of checking whether the target
6517 board is remote at the top of the file.
6518
acc018ac
YQ
65192015-01-08 Yao Qi <yao@codesourcery.com>
6520
6521 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6522
50a18af8
JK
65232015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6524
6525 Fix testcase compilation.
6526 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6527
8503d6e1
JB
65282015-01-06 Joel Brobecker <brobecker@adacore.com>
6529
6530 * gdb.python/py-type.exp: Add a couple test about empty
6531 array creation, and negative-length array creation.
6532
cc73dbcc
DE
65332015-01-02 Doug Evans <xdje42@gmail.com>
6534
6535 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6536
0300bbc7
DE
65372015-01-02 Doug Evans <dje@google.com>
6538
6539 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6540
9d85a0ec
YQ
65412014-12-29 Yao Qi <yao@codesourcery.com>
6542
6543 * gdb.trace/entry-values.exp: Update comments. Rename variable
6544 bar_call_foo to returned_from_foo.
6545
87186c6a
MMN
65462014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6547
6548 PR gdb/17394
6549 * gdb.linespec/break-asm-file.c: New file.
6550 * gdb.linespec/break-asm-file.exp: New file.
6551 * gdb.linespec/break-asm-file0.s: New file.
6552 * gdb.linespec/break-asm-file1.s: New file.
6553
1bab7383
YQ
65542014-12-18 Nigel Stephens <nigel@mips.com>
6555 Maciej W. Rozycki <macro@codesourcery.com>
6556
6557 * gdb.base/float.exp: Handle the new output from "info float" on
6558 MIPS targets.
6559
1bc1068a
JK
65602014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6561
6562 Fix MinGW compilation.
6563 * gdb.compile/compile-ops.exp: Update untested message if
6564 !skip_compile_feature_tests.
6565 * gdb.compile/compile-setjmp.exp: Likewise.
6566 * gdb.compile/compile-tls.exp: Likewise.
6567 * gdb.compile/compile.exp: Likewise.
6568 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6569 supported on this host".
6570
b6615d10
DE
65712014-12-16 Doug Evans <xdje42@gmail.com>
6572
6573 * boards/stabs.exp: New file.
6574
25dda427
AA
65752014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6576
6577 * gdb.base/completion.exp: Adjust to format changes of "maint
6578 print user-registers".
6579
bf330350
CU
65802014-12-16 Catalin Udma <catalin.udma@freescale.com>
6581
6582 PR server/17457
6583 * gdb.arch/aarch64-fp.c: New file.
6584 * gdb.arch/aarch64-fp.exp: New file.
6585
395cf596
SDJ
65862014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6587
6588 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6589 r210637, r210913, r211666, r215400, r215817).
6590
6591 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6592 * dg-extract-results.py: New file.
6593 * dg-extract-results.sh: Use it if the environment seems
6594 suitable.
6595
6596 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6597
6598 * dg-extract-results.py (parse_run): Handle warnings that
6599 are printed before a test harness is run.
6600
6601 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6602
6603 * dg-extract-results.py (Named): Remove __cmp__ method.
6604 (output_variation): Use a key to sort variation.harnesses.
6605
6606 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6607
6608 * dg-extract-results.py: For Python 3, force sys.stdout to
6609 handle surrogate escape sequences.
6610 (safe_open): New function.
6611 (output_segment, main): Use it.
6612
6613 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6614
6615 * dg-extract-results.py (Prog.result_re): Include options
6616 in test name.
6617
6618 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6619
6620 * dg-extract-results.py (output_variation): Always sort if
6621 do_sum.
6622
e882ef3c
SM
66232014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6624
6625 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6626 as long as we get pagination notifications.
6627
4992aa20
JM
66282014-12-15 Jason Merrill <jason@redhat.com>
6629
6630 * Makefile.in (check-gdb.%): Restore.
6631 * README: Mention it.
6632
c1b5a1a6
JB
66332014-12-13 Joel Brobecker <brobecker@adacore.com>
6634
6635 * gdb.ada/str_uninit: New testcase.
6636
5537b577
JK
66372014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6638
6639 PR symtab/17642
6640 * gdb.base/vla-stub-define.c: New file.
6641 * gdb.base/vla-stub.c: New file.
6642 * gdb.base/vla-stub.exp: New file.
6643
bb2ec1b3
TT
66442014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6645 Jan Kratochvil <jan.kratochvil@redhat.com>
6646 Tom Tromey <tromey@redhat.com>
6647
6648 * configure.ac: Add gdb.compile/.
6649 * configure: Regenerate.
6650 * gdb.compile/Makefile.in: New file.
6651 * gdb.compile/compile-ops.exp: New file.
6652 * gdb.compile/compile-ops.c: New file.
6653 * gdb.compile/compile-tls.c: New file.
6654 * gdb.compile/compile-tls.exp: New file.
6655 * gdb.compile/compile-constvar.S: New file.
6656 * gdb.compile/compile-constvar.c: New file.
6657 * gdb.compile/compile-mod.c: New file.
6658 * gdb.compile/compile-nodebug.c: New file.
6659 * gdb.compile/compile-setjmp-mod.c: New file.
6660 * gdb.compile/compile-setjmp.c: New file.
6661 * gdb.compile/compile-setjmp.exp: New file.
6662 * gdb.compile/compile-shlib.c: New file.
6663 * gdb.compile/compile.c: New file.
6664 * gdb.compile/compile.exp: New file.
6665 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6666
4ff709eb
TT
66672014-12-12 Tom Tromey <tromey@redhat.com>
6668
6669 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6670 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6671
6dddd6a5
DE
66722014-12-12 Doug Evans <dje@google.com>
6673
6674 * lib/gdb-python.exp (get_python_valueof): New function.
6675 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6676
71c24708
AA
66772014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6678
6679 * gdb.base/completion.exp: Add test for completion of "info
6680 registers ".
6681
3e29f34a
MR
66822014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6683
6684 * gdb.base/func-ptrs.c: New file.
6685 * gdb.base/func-ptrs.exp: New file.
6686
fc126975
SM
66872014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6688
6689 PR breakpoints/17012
6690 * gdb.base/dprintf-detach.c: New file.
6691 * gdb.base/dprintf-detach.exp: New file.
6692
0a46d518
SM
66932014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6694
6695 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6696 * lib/gdb.exp (target_is_gdbserver): New procedure.
6697
a0be3e44
DE
66982014-12-08 Doug Evans <dje@google.com>
6699
6700 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6701
df1b803a
YQ
67022014-12-05 Yao Qi <yao@codesourcery.com>
6703
6704 * gdb.guile/scm-error.exp: Remove the third argument to
6705 gdb_remote_download.
6706 * gdb.guile/scm-frame-args.exp: Likewise.
6707 * gdb.guile/scm-section-script.exp: Likewise.
6708
ddb9f679
YQ
67092014-12-05 Yao Qi <yao@codesourcery.com>
6710
6711 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6712
86e4ed39
DE
67132014-12-04 Doug Evans <dje@google.com>
6714
6715 * gdb.python/py-objfile.exp: Add tests for
6716 objfile.add_separate_debug_file.
6717
7c50a931
DE
67182014-12-04 Doug Evans <dje@google.com>
6719
6720 * lib/gdb.exp (get_build_id): New function.
6721 (build_id_debug_filename_get): Rewrite to use it.
6722 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6723
621661e3
MR
67242014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6725
6726 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6727 `method(long)', not just 0x0.
6728 * gdb.cp/nsalias.exp: Align code labels to 4.
6729 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6730 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6731 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6732 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6733 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6734 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6735
29f0c3b7
DE
67362014-12-02 Doug Evans <dje@google.com>
6737
e1e061e7 6738 PR symtab/17602
29f0c3b7 6739 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 6740 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
6741 * gdb.cp/anon-ns.exp: Update.
6742
162078c8
NB
67432014-12-02 Nick Bull <nicholaspbull@gmail.com>
6744
6745 * gdb.python/py-events.py (inferior_call_handler): New.
6746 (register_changed_handler, memory_changed_handler): New.
6747 (test_events.invoke): Register new handlers.
6748 * gdb.python/py-events.exp: Add tests for inferior call,
6749 memory_changed and register_changed events.
6750
fdb09caf
AA
67512014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6752
6753 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6754 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6755 if the linker doesn't understand this.
6756
55cfb2c4
SM
67572014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6758
6759 * gdb.python/python.exp: Change expected reply to help().
6760
9e8cd6df
YQ
67612014-12-01 Yao Qi <yao@codesourcery.com>
6762
6763 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6764 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6765 * configure: Re-generated.
6766
6c659fc2
SC
67672014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6768
6769 * gdb.cp/chained-calls.cc: New file.
6770 * gdb.cp/chained-calls.exp: New file.
6771 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6772
d7fc3181
SM
67732014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6774
6775 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6776 * gdb.dwarf2/symtab-producer.exp: Same.
6777 * gdb.gdb/python-interrupts.exp: Same.
6778 * gdb.gdb/python-selftest.exp: Same.
6779 * gdb.python/py-linetable.exp: Same.
6780 * gdb.python/py-type.exp: Same.
6781 * gdb.python/py-value-cc.exp: Same.
6782 * gdb.python/py-value.exp: Same.
6783
10e79639
YQ
67842014-11-28 Yao Qi <yao@codesourcery.com>
6785
6786 * gdb.base/break-probes.exp: Match library name prefixed with
6787 sysroot.
6788
f28a0564
SM
67892014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6790
6791 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6792 test expected output. Add parentheses for the call to print.
6793 Remove L suffix from integers.
6794
3fe1ce1d
DE
67952014-11-26 Doug Evans <dje@google.com>
6796
6797 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6798
84429e27
YQ
67992014-11-22 Yao Qi <yao@codesourcery.com>
6800
6801 * gdb.trace/entry-values.c: Remove asms.
6802 (foo): Add foo_label.
6803 (bar): Add bar_label.
6804 * gdb.trace/entry-values.exp: Remove code computing foo's
6805 length and bar's length.
6806 (Dwarf::assemble): Invoke function_range for bar and use
6807 MACRO_AT_func for foo.
6808
26741859
YQ
68092014-11-22 Yao Qi <yao@codesourcery.com>
6810
6811 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6812 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6813 Use .Lgcc43_procstart instead of gcc43.
6814
45e44d27
JB
68152014-11-21 Joel Brobecker <brobecker@adacore.com>
6816
6817 * gdb.ada/n_arr_bound: New testcase.
6818
458c8db8
SDJ
68192014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6820
6821 PR breakpoints/10737
6822 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6823 test_catch_syscall_multi_arch.
6824 (test_catch_syscall_multi_arch): New function.
6825
43f3e411
DE
68262014-11-20 Doug Evans <xdje42@gmail.com>
6827
6828 * gdb.base/maint.exp: Update expected output.
6829
0d7b2549
AA
68302014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6831
6832 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6833 4-byte instruction on S390.
6834
8908fca5
JB
68352014-11-19 Joel Brobecker <brobecker@adacore.com>
6836
6837 * gdb.ada/arr_arr: New testcase.
6838
4a46959e
JB
68392014-11-19 Joel Brobecker <brobecker@adacore.com>
6840
6841 * gdb.ada/pkd_arr_elem: New Testcase.
6842
470e2f4e
LM
68432014-11-18 Luis Machado <lgustavo@codesourcery.com>
6844
6845 * gdb.reverse/break-precsave: Expect completion message for
6846 core file reads.
6847 * gdb.reverse/consecutive-precsave.exp: Likewise.
6848 * gdb.reverse/finish-precsave.exp: Likewise.
6849 * gdb.reverse/i386-precsave.exp: Likewise.
6850 * gdb.reverse/machinestate-precsave.exp: Likewise.
6851 * gdb.reverse/sigall-precsave.exp: Likewise.
6852 * gdb.reverse/solib-precsave.exp: Likewise.
6853 * gdb.reverse/step-precsave.exp: Likewise.
6854 * gdb.reverse/until-precsave.exp: Likewise.
6855 * gdb.reverse/watch-precsave.exp: Likewise.
6856
a267f3ad
AA
68572014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6858
6859 * gdb.base/bp-permanent.c: Include unistd.h.
6860 * gdb.python/py-framefilter-mi.c (main): Add return type.
6861 * gdb.python/py-framefilter.c (main): Likewise.
6862 * gdb.trace/actions-changed.c (main): Likewise.
6863
12084a9a
AA
68642014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6865
6866 * gdb.mi/until.c: Add eye-catchers.
6867 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6868 line numbers.
6869
dc7e1a77
AA
68702014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6871
6872 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6873 function header variants in break1.c.
6874 * gdb.base/ena-dis-br.exp: Likewise.
6875 * gdb.base/hbreak2.exp: Likewise.
6876 * gdb.reverse/until-precsave.exp: Drop references to removed
6877 non-prototype function header variants in ur1.c.
6878 * gdb.reverse/until-reverse.exp: Likewise.
6879
41c77605
PM
68802014-11-17 Petr Machata <pmachata@redhat.com>
6881
6882 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6883 ${_cu_offset_size} bytes abbrev offset.
6884
34248c3a
DE
68852014-11-15 Doug Evans <xdje42@gmail.com>
6886
6887 PR symtab/17559
6888 * gdb.base/line-symtabs.exp: New file.
6889 * gdb.base/line-symtabs.c: New file.
6890 * gdb.base/line-symtabs.h: New file.
6891
646da059
YQ
68922014-11-14 Yao Qi <yao@codesourcery.com>
6893
6894 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6895 (func): Add label func_label.
6896 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6897 Replace low_pc and high_pc with MACRO_AT_range.
6898 Replace name, low_pc and high_pc with MACRO_AT_func.
6899
9301ebe6
YQ
69002014-11-14 Yao Qi <yao@codesourcery.com>
6901
6902 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6903 Replace name, low_pc and high_pc with MACRO_AT_func.
6904
f166b542
YQ
69052014-11-14 Yao Qi <yao@codesourcery.com>
6906
6907 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6908 produce debug information.
6909 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6910
0f6e71e3
YQ
69112014-11-14 Yao Qi <yao@codesourcery.com>
6912
6913 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6914 object and get function length.
6915 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6916 with MACRO_AT_func.
6917 (top-level): Replace gdb_compile and clean_restart with
6918 prepare_for_testing.
6919 * gdb.dwarf2/main.c (main): Add label main_label.
6920
876c4df9
YQ
69212014-11-14 Yao Qi <yao@codesourcery.com>
6922
6923 * lib/dwarf.exp (function_range): New procedure.
6924 (Dwarf::_handle_macro_at_func): New procedure.
6925 (Dwarf::_handle_macro_at_range): New procedure.
6926 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6927
02ad9cf1
YQ
69282014-11-14 Yao Qi <yao@codesourcery.com>
6929
6930 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6931 (_handle_attribute): New procedure.
6932
a59add0c
AA
69332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6934
6935 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6936 * gdb.base/call-sc.c (zed): Likewise.
6937 * gdb.base/checkpoint.c (main): Likewise.
6938 * gdb.base/dump.c (main): Likewise.
6939 * gdb.base/gcore.c (main): Likewise.
6940 * gdb.base/huge.c (main): Likewise.
6941 * gdb.base/multi-forks.c (main): Likewise.
6942 * gdb.base/pr10179-a.c (main): Likewise.
6943 * gdb.base/savedregs.c (main): Likewise.
6944 * gdb.base/sigaltstack.c (main): Likewise.
6945 * gdb.base/siginfo.c (main): Likewise.
6946 * gdb.base/structs.c (zed): Likewise.
6947 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6948 * gdb.mi/mi-syn-frame.c (main): Likewise.
6949 * gdb.mi/until.c (foo, main): Likewise.
6950 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6951 * gdb.base/solib-weak.c (foo): Declare.
6952 * gdb.base/attach-twice.c: Include stdio.h.
6953 * gdb.base/weaklib1.c: Likewise.
6954 * gdb.base/weaklib2.c: Likewise.
6955 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6956 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6957 unistd.h.
6958 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6959 * gdb.mi/mi-exit-code.c: Likewise.
6960 * gdb.base/break-interp-lib.c: Include string.h.
6961 * gdb.base/coremaker.c: Likewise.
6962 * gdb.base/testenv.c: Likewise.
6963 * gdb.python/py-finish-breakpoint.c: Likewise.
6964 * gdb.base/inferior-died.c: Include sys/wait.h.
6965 * gdb.base/fileio.c: Include time.h.
6966 * gdb.base/async-shell.c: Include unistd.h.
6967 * gdb.base/dprintf-non-stop.c: Likewise.
6968 * gdb.base/info-os.c: Likewise.
6969 * gdb.mi/mi-console.c: Likewise.
6970 * gdb.mi/watch-nonstop.c: Likewise.
6971 * gdb.python/py-events.c: Likewise.
6972 * gdb.base/async.c (baz): Move up before its invocation.
6973 * gdb.base/code_elim2.c (my_global_func): Likewise.
6974 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6975 * gdb.base/advance.c (func2): Likewise.
6976
3b5d5997
AA
69772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6978
6979 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6980 variant.
6981 * gdb.base/annota3.c: Likewise.
6982 * gdb.base/async.c: Likewise.
6983 * gdb.base/average.c: Likewise.
6984 * gdb.base/call-ar-st.c: Likewise.
6985 * gdb.base/call-rt-st.c: Likewise.
6986 * gdb.base/call-sc.c: Likewise.
6987 * gdb.base/call-strs.c: Likewise.
6988 * gdb.base/ending-run.c: Likewise.
6989 * gdb.base/execd-prog.c: Likewise.
6990 * gdb.base/exprs.c: Likewise.
6991 * gdb.base/foll-exec.c: Likewise.
6992 * gdb.base/foll-fork.c: Likewise.
6993 * gdb.base/foll-vfork.c: Likewise.
6994 * gdb.base/funcargs.c: Likewise.
6995 * gdb.base/gcore.c: Likewise.
6996 * gdb.base/jump.c: Likewise.
6997 * gdb.base/langs0.c: Likewise.
6998 * gdb.base/langs1.c: Likewise.
6999 * gdb.base/langs2.c: Likewise.
7000 * gdb.base/mips_pro.c: Likewise.
7001 * gdb.base/nodebug.c: Likewise.
7002 * gdb.base/opaque0.c: Likewise.
7003 * gdb.base/opaque1.c: Likewise.
7004 * gdb.base/recurse.c: Likewise.
7005 * gdb.base/run.c: Likewise.
7006 * gdb.base/scope0.c: Likewise.
7007 * gdb.base/scope1.c: Likewise.
7008 * gdb.base/setshow.c: Likewise.
7009 * gdb.base/setvar.c: Likewise.
7010 * gdb.base/shmain.c: Likewise.
7011 * gdb.base/shr1.c: Likewise.
7012 * gdb.base/shr2.c: Likewise.
7013 * gdb.base/sigall.c: Likewise.
7014 * gdb.base/signals.c: Likewise.
7015 * gdb.base/so-indr-cl.c: Likewise.
7016 * gdb.base/solib2.c: Likewise.
7017 * gdb.base/structs.c: Likewise.
7018 * gdb.base/sum.c: Likewise.
7019 * gdb.base/vforked-prog.c: Likewise.
7020 * gdb.base/watchpoint.c: Likewise.
7021 * gdb.reverse/shr2.c: Likewise.
7022 * gdb.reverse/until-reverse.c: Likewise.
7023 * gdb.reverse/ur1.c: Likewise.
7024 * gdb.reverse/watch-reverse.c: Likewise.
7025
066a77c5
AA
70262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7027
7028 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
7029 variant.
7030 * gdb.base/sepdebug.exp: Drop references to removed code.
7031
4f204ea5
AA
70322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7033
7034 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
7035 variant. Preserve original line numbering.
7036 * gdb.base/list1.c: Likewise.
7037
3b377a3a
AA
70382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7039
7040 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
7041 variant.
7042 * gdb.base/break1.c: Likewise.
7043 * gdb.base/break.exp: Drop references to removed code.
7044
e444df73
AA
70452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7046
7047 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
7048 variant.
7049
8008f2a7
AA
70502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7051
7052 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
7053
a5a06887
AA
70542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7055
7056 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
7057 logic into perform_all_tests() and invoke it with and without
7058 function header prototypes.
7059 (do_function_calls): Remove conditional XFAIL for PR 5318.
7060 (rerun_and_prepare): Remove duplicate code.
7061 (perform_all_tests): New. Main logic moved here.
7062
44dba9b9
AA
70632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7064
7065 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
7066 code guarded by #ifdef NO_PROTOTYPES.
7067 (t_double_many_args): Likewise.
7068 (DEF_FUNC_MANY_ARGS_1): Likewise.
7069 (DEF_FUNC_VALUES_1): Likewise.
7070 (t_structs_ldc): Renamed from t_structs_fc in conditional code
7071 guarded by #ifdef PROTOTYPES.
7072
d1fbcd56
AA
70732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7074
7075 * gdb.mi/mi-console.c: Add eye-catcher.
7076 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
7077 instead of literal line number.
7078
b0e59b8f
AA
70792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7080
7081 * gdb.base/shr2.c: Add eye-catcher.
7082 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
7083 line number.
7084
78f98cca
AA
70852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7086
7087 * gdb.base/jump.c: Add eye-catchers.
7088 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
7089 numbers.
7090
58fa2af0
AA
70912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7092
7093 * gdb.base/execd-prog.c: Add eye-catchers.
7094 * gdb.base/foll-exec.c: Likewise.
7095 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
7096 line numbers.
7097
04e5059b
AA
70982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7099
7100 * gdb.base/ending-run.c: Add eye-catchers.
7101 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
7102 literal line numbers.
7103
dbfdb174
AA
71042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7105
7106 * gdb.base/call-rt-st.c: Add eye-catchers.
7107 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
7108 literal line numbers.
7109
888a2ade
AA
71102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7111
7112 * gdb.base/call-ar-st.c: Add eye-catchers.
7113 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
7114 literal line numbers.
7115
6acc2dde
AA
71162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7117
7118 * gdb.base/average.c: Add eye-catchers.
7119 * gdb.base/sum.c: Likewise.
7120 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
7121 regexps dynamically.
7122
9ecfcd1d
AA
71232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7124
7125 * gdb.base/solib1.c: Add eye-catchers.
7126 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
7127 literal line numbers.
7128
78708b7c
PA
71292014-11-12 Pedro Alves <palves@redhat.com>
7130
7131 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
7132 leader has exited.
7133
af48d08f
PA
71342014-11-12 Pedro Alves <palves@redhat.com>
7135
7136 * gdb.arch/i386-bp_permanent.c: New file.
7137 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
7138 (srcfile): Set to i386-bp_permanent.c.
7139 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
7140 that stepi does not execute the 'leave' instruction, instead of
7141 testing it does execute.
7142 * gdb.base/bp-permanent.c: New file.
7143 * gdb.base/bp-permanent.exp: New file.
7144
af3768e9
DE
71452014-11-10 Doug Evans <xdje42@gmail.com>
7146
7147 PR symtab/17564
7148 * gdb.base/symtab-search-order.exp: New file.
7149 * gdb.base/symtab-search-order.c: New file.
7150 * gdb.base/symtab-search-order-1.c: New file.
7151 * gdb.base/symtab-search-order-shlib-1.c: New file.
7152
9de00a4a
PA
71532014-11-07 Pedro Alves <palves@redhat.com>
7154
7155 PR gdb/17511
7156 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
7157 i?86-*-linux*.
7158
e0f52461
SC
71592014-11-03 Siva Chandra Reddy <sivachandra@google.com>
7160
7161 PR c++/17494
7162 * gdb.cp/pr17494.cc: New file.
7163 * gdb.cp/pr17494.exp: New file.
7164
6ce8c980
YQ
71652014-11-02 Yao Qi <yao@codesourcery.com>
7166
7167 * gdb.python/python.exp: Get working directory and match the
7168 output of "set extended-prompt \\w " with it.
7169
02be9a71
DE
71702014-10-30 Doug Evans <dje@google.com>
7171
7172 * gdb.python/py-objfile.exp: Add tests for setting random attributes
7173 in objfiles.
7174 * gdb.python/py-progspace.exp: Add tests for setting random attributes
7175 in progspaces.
7176
3bdff46b
LM
71772014-10-30 Janis Johnson <janisjo@codesourcery.com>
7178
7179 * gdb.base/fullpath-expand.exp: Skip for a remote host.
7180 * gdb.base/realname-expand.exp: Likewise.
7181 * gdb.linespec/macro-relative.exp: Likewise.
7182
ab917dfb
PA
71832014-10-29 Pedro Alves <palves@redhat.com>
7184
7185 PR gdb/17408
7186 * gdb.threads/schedlock.c (some_function): New function.
7187 (call_function): New global.
7188 (MAYBE_CALL_SOME_FUNCTION): New macro.
7189 (thread_function): Call it.
7190 * gdb.threads/schedlock.exp (get_args): Add description parameter,
7191 and use it instead of a global counter. Adjust all callers.
7192 (get_current_thread): Use "find current thread" for test message
7193 here rather than having all callers pass down the same string.
7194 (goto_loop): New procedure, factored out from ...
7195 (my_continue): ... this.
7196 (step_ten_loops): Change parameter from test message to command to
7197 use. Adjust.
7198 (list_count): Delete global.
7199 (check_result): New procedure, factored out from duplicate top
7200 level code.
7201 (continue tests): Wrap in with_test_prefix.
7202 (test_step): New procedure, factored out from duplicate top level
7203 code.
7204 (top level): Test "step" in combination with all scheduler-locking
7205 modes. Test "next" in combination with all scheduler-locking
7206 modes, and in combination with stepping over a function call or
7207 not.
7208 * gdb.threads/next-bp-other-thread.c: New file.
7209 * gdb.threads/next-bp-other-thread.exp: New file.
7210
d3d4baed
PA
72112014-10-29 Pedro Alves <palves@redhat.com>
7212
7213 PR python/17372
7214 * gdb.python/python.exp: Test a multi-line command that spawns
7215 interactive Python.
7216 * gdb.base/multi-line-starts-subshell.exp: New file.
7217
563e8d85
YQ
72182014-10-29 Yao Qi <yao@codesourcery.com>
7219
7220 * gdb.base/fileio.exp: Make directories on host.
7221
0ea4d52e
YQ
72222014-10-29 Yao Qi <yao@codesourcery.com>
7223
7224 * gdb.base/fileio.c (test_write): Close the file.
7225
7f5ef605
PA
72262014-10-28 Pedro Alves <palves@redhat.com>
7227
7228 PR gdb/12623
7229 * gdb.base/sigstep.c (no_handler): New global.
7230 (main): If 'no_handler is true, set the signal handlers to
7231 SIG_IGN.
7232 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
7233 with_sw_watch and no_handler parameters. Handle them.
7234 (top level) <stepping over handler when stopped at a breakpoint
7235 test>: Add a test axis for testing with a software watchpoint, and
7236 another for testing with the signal handler set to SIG_IGN.
7237 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
7238 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
7239
abbdbd03
PA
72402014-10-28 Pedro Alves <palves@redhat.com>
7241
7242 PR gdb/17511
7243 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
7244 * gdb.base/sigstep.exp (other_handler_location): New global.
7245 (advance): Support stepping into the signal handler, and running
7246 commands while in the handler.
7247 (in_handler_map): New global.
7248 (top level): In the advance test, add combinations for getting
7249 into the handler with stepping commands, and for running commands
7250 in the handler. Add comment descripting the advancei tests.
7251
1df4399f
PA
72522014-10-28 Pedro Alves <palves@redhat.com>
7253
7254 * gdb.base/sigstep.exp: Use build_executable instead of
7255 prepare_for_testing.
7256 (top level): Move code that starts GDB, runs to main and creates a
7257 display to ...
7258 (restart): ... this new procedure.
7259 (top level): Move backtrace from signal handler test to ...
7260 (validate_backtrace): ... this new procedure.
7261 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
7262 with_test_prefix. Always restart GDB.
7263 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
7264 with_test_prefix. Always restart GDB. No need to delete
7265 breakpoints after the test.
7266 (test_skip_handler): Remove prefix parameter.
7267 (skip_over_handler, breakpoint_to_handler)
7268 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
7269 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
7270 restart GDB. No need to delete breakpoints after the test.
7271 (top level): Use foreach to call the test procedures with
7272 different commands.
7273
a5b6e449
PA
72742014-10-28 Pedro Alves <palves@redhat.com>
7275
7276 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
7277 instead of GNATS numbers.
7278 * gdb.base/sigbpt.exp: Likewise.
7279 * gdb.base/siginfo.exp: Likewise.
7280 * gdb.base/sigstep.exp: Likewise.
7281
e5f8a7cc
PA
72822014-10-27 Pedro Alves <palves@redhat.com>
7283
7284 * gdb.base/sigstep.c (dummy): New global.
7285 (main): Issue a couple writes to the new global.
7286 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
7287 procedures.
7288 (skip_over_handler): Use test_skip_handler.
7289 (top level): Call skip_over_handler for stepi and nexti too.
7290 (breakpoint_over_handler): Use test_skip_handler.
7291 (top level): Call breakpoint_over_handler for stepi and nexti too.
7292
763905a3
YQ
72932014-10-27 Yao Qi <yao@codesourcery.com>
7294
7295 * gdb.trace/tfile.c (adjust_function_address)
7296 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
7297 function descriptor.
7298
6f259a23
DB
72992014-10-24 Don Breazeal <donb@codesourcery.com>
7300
7301 * gdb.base/foll-fork.exp (test_follow_fork,
7302 catch_fork_child_follow): Check for updated fork messages emitted
7303 from infrun.c.
7304 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
7305 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
7306 vfork_and_exec_child_follow_through_step): Check for updated vfork
7307 messages emitted from infrun.c.
7308
09dd9a69
PA
73092014-10-24 Pedro Alves <palves@redhat.com>
7310
7311 * gdb.base/corefile.exp: Remove references to ultrix.
7312 * gdb.base/interrupt.exp: Likewise.
7313 * gdb.base/whatis.exp: Likewise.
7314 * gdb.gdb/selftest.exp: Likewise.
7315 * gdb.threads/manythreads.exp: Likewise.
7316 * gdb.threads/print-threads.exp: Likewise.
7317 * gdb.threads/pthreads.exp:: Likewise.
7318 * gdb.threads/schedlock.exp: Likewise.
7319
3433cfa5
SC
73202014-10-24 Siva Chandra Reddy <sivachandra@google.com>
7321
7322 * gdb.cp/non-trivial-retval.cc: Add a test case.
7323 * gdb.cp/non-trivial-retval.exp: Add a test.
7324
092f880b
YQ
73252014-10-20 Yao Qi <yao@codesourcery.com>
7326
7327 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
7328 * gdb.python/py-objfile-script-gdb.py: New file.
7329 * gdb.python/py-objfile-script.exp: Update reference to
7330 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
7331 of remote_download. Remove the dest file.
7332
acbdb7f3
YQ
73332014-10-20 Yao Qi <yao@codesourcery.com>
7334
7335 * gdb.base/checkpoint.exp: Don't remove file copied on host.
7336 * gdb.base/step-line.exp: Likewise.
7337 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7338 * gdb.dwarf2/dw2-basic.exp: Likewise.
7339 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7340 * gdb.dwarf2/dw2-filename.exp: Likewise.
7341 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7342 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7343 * gdb.dwarf2/dw2-producer.exp: Likewise.
7344 * gdb.dwarf2/mac-fileno.exp: Likewise.
7345 * gdb.python/py-frame-args.exp: Likewise.
7346 * gdb.python/py-framefilter.exp: Likewise.
7347 * gdb.python/py-mi.exp: Likewise.
7348 * gdb.python/py-objfile-script.exp: Likewise
7349 * gdb.python/py-pp-integral.exp: Likewise.
7350 * gdb.python/py-pp-re-notag.exp: Likewise.
7351 * gdb.python/py-prettyprint.exp: Likewise.
7352 * gdb.python/py-section-script.exp: Likewise.
7353 * gdb.python/py-typeprint.exp: Likewise.
7354 * gdb.python/py-xmethods.exp: Likewise.
7355 * gdb.stabs/weird.exp: Likewise.
7356 * gdb.xml/tdesc-regs.exp: Likewise.
7357
bd286a29
KCY
73582014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
7359
7360 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
7361 (out_cu): Use addr_len for the size of addresses.
7362 (out_line): Likewise. Size DW_LNE_set_address instruction
7363 according to addr_len.
7364 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
7365 (FUNC): Add START_INSNS to definition.
7366
673dc4a0
YQ
73672014-10-18 Yao Qi <yao@codesourcery.com>
7368
7369 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7370 gdb_has_argv0 return true.
7371 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7372 check [target_info exists noargs], check [gdb_has_argv0]
7373 instead.
7374 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7375 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7376 procedures.
7377
4ffbba72
DE
73782014-10-17 Doug Evans <dje@google.com>
7379
7380 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7381 event.
7382 * gdb.python/py-events.py: Add clear_objfiles event.
7383
d096d8c1
DE
73842014-10-17 Doug Evans <dje@google.com>
7385
7386 * gdb.python/py-objfile.exp: Test progspace attribute.
7387
a80db015
LM
73882014-10-17 Luis Machado <lgustavo@codesourcery.com>
7389
7390 * gdb.guile/scm-breakpoint.exp: Do not assume any
7391 directory separators when matching source file paths.
7392 * gdb.python/py-breakpoint.exp: Likewise.
7393 * gdb.reverse/break-precsave.exp: Likewise.
7394 * gdb.reverse/break-reverse.exp: Likewise.
7395 * gdb.reverse/consecutive-precsave.exp: Likewise.
7396 * gdb.reverse/finish-precsave.exp: Likewise.
7397 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7398 * gdb.reverse/finish-reverse.exp: Likewise.
7399 * gdb.reverse/i386-precsave.exp: Likewise.
7400 * gdb.reverse/i387-env-reverse.exp: Likewise.
7401 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7402 * gdb.reverse/machinestate-precsave.exp: Likewise.
7403 * gdb.reverse/machinestate.exp: Likewise.
7404 * gdb.reverse/sigall-precsave.exp: Likewise.
7405 * gdb.reverse/solib-precsave.exp: Likewise.
7406 * gdb.reverse/step-precsave.exp: Likewise.
7407 * gdb.reverse/until-precsave.exp: Likewise.
7408 * gdb.reverse/watch-precsave.exp: Likewise.
7409 * gdb.reverse/watch-reverse.exp: Likewise.
7410
b22089ab
YQ
74112014-10-17 Yao Qi <yao@codesourcery.com>
7412
7413 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7414 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7415
6c4486e6
PA
74162014-10-17 Pedro Alves <palves@redhat.com>
7417
7418 PR gdb/17471
7419 * gdb.base/bg-execution-repeat.c: New file.
7420 * gdb.base/bg-execution-repeat.exp: New file.
7421
0ff33695
PA
74222014-10-17 Pedro Alves <palves@redhat.com>
7423
7424 PR gdb/17300
7425 * gdb.base/continue-all-already-running.c: New file.
7426 * gdb.base/continue-all-already-running.exp: New file.
7427
6fdebc3d
PA
74282014-10-17 Pedro Alves <palves@redhat.com>
7429
7430 PR gdb/17472
7431 * gdb.base/annota-input-while-running.c: New file.
7432 * gdb.base/annota-input-while-running.exp: New file.
7433
32a8097b
PA
74342014-10-17 Pedro Alves <palves@redhat.com>
7435
7436 * gdb.base/callfuncs.exp: emove references to osf.
7437 * gdb.base/sigall.exp: Likewise.
7438 * gdb.gdb/selftest.exp: Likewise.
7439 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7440 * gdb.mi/non-stop.c: Likewise.
7441 * gdb.mi/pthreads.c: Likewise.
7442 * gdb.reverse/sigall-precsave.exp: Likewise.
7443 * gdb.reverse/sigall-reverse.exp: Likewise.
7444 * gdb.threads/pthreads.c: Likewise.
7445 * gdb.threads/pthreads.exp: Likewise.
7446
7a3517ff
YQ
74472014-10-17 Yao Qi <yao@codesourcery.com>
7448
7449 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7450 check 'target_info exists noargs'.
7451 (test_command_prompt_position): Likewise.
7452 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7453 Remove "set args".
7454 (progvar_simple_while_test): Likewise.
7455 (progvar_complex_if_while_test): Likewise.
7456 (if_while_breakpoint_command_test): Likewise.
7457 (infrun_breakpoint_command_test): Likewise.
7458 (breakpoint_command_test): Likewise.
7459 (watchpoint_command_test): Likewise.
7460 (bp_deleted_in_command_test): Likewise.
7461 (temporary_breakpoint_commands): Likewise.
7462
bb99c472
YQ
74632014-10-16 Yao Qi <yao@codesourcery.com>
7464
7465 * gdb.base/remotetimeout.exp: Remove noargs checking.
7466
7c16b83e
PA
74672014-10-15 Pedro Alves <palves@redhat.com>
7468
7469 PR breakpoints/9649
7470 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7471 * gdb.base/breakpoint-in-ro-region.exp
7472 (probe_target_hardware_step): New procedure.
7473 (top level): Probe hardware stepping and hardware breakpoint
7474 support. Test stepping through a read-only region, with both
7475 "breakpoint auto-hw" on and off and both "always-inserted" on and
7476 off.
7477
35a49624
IB
74782014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7479
7480 * gdb.dlang/demangle.exp: Update for demangling changes.
7481
2d1c107c
SC
74822014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7483
7484 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7485 * gdb.cp/non-trivial-retval.exp: Add new tests.
7486
778811d5
SC
74872014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7488
7489 PR c++/13403
7490 PR c++/15154
7491 * gdb.cp/non-trivial-retval.cc: New file.
7492 * gdb.cp/non-trivial-retval.exp: New file.
7493
10c5f0a8
YQ
74942014-10-15 Yao Qi <yao@codesourcery.com>
7495
7496 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7497 remote host.
7498
65d7b369
YQ
74992014-10-15 Yao Qi <yao@codesourcery.com>
7500
7501 * gdb.python/py-symbol.exp: Match file base name if host is
7502 remote, otherwise match file name with dir name.
7503 * gdb.python/py-symtab.exp: Likewise.
7504 * gdb.python/python.exp: Likewise.
7505
46dc1394
YQ
75062014-10-15 Yao Qi <yao@codesourcery.com>
7507
7508 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7509 pattern.
7510 * gdb.python/py-symtab.exp: Likewise.
7511 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7512 locationn.
7513
c40cc657
JB
75142014-10-14 Joel Brobecker <brobecker@adacore.com>
7515
7516 * gdb.ada/addr_arith: New testcase.
7517
2abf49e1
MR
75182014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7519
7520 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7521 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7522 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7523 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7524
f7088df3
SDJ
75252014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7526
7527 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7528 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7529 * gdb.arch/stap-eval-lang-ada.exp: New file.
7530
4dc06805
YQ
75312014-10-14 Yao Qi <yao@codesourcery.com>
7532
7533 * gdb.mi/mi-var-child.c (nothing1): New function.
7534 (nothing2): New function.
7535 (do_children_tests): Set function pointers by nothing1 and
7536 nothing2.
7537 * gdb.mi/mi-var-child.exp: Step over new added statements.
7538 Update test to match the new output.
7539 * gdb.mi/var-cmd.c (nothing1): New function.
7540 (nothing2): New function.
7541 (do_children_tests): Set function pointers by nothing1 and
7542 nothing2.
7543 * gdb.mi/mi-var-display.exp: Update test to match output.
7544 Step to the line specified by $line_dct_nothing.
7545 Increase the number of lines to step.
7546
46a93de2
YQ
75472014-10-14 Yao Qi <yao@codesourcery.com>
7548
7549 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7550 tests.
7551 * gdb.mi/mi2-var-child.exp: Likewise.
7552
14ea52ee
DE
75532014-10-13 Doug Evans <dje@google.com>
7554
7555 * gdb.python/py-objfile.exp: Change name of file name test.
7556
e5c6e92b
DE
75572014-10-13 Doug Evans <dje@google.com>
7558
7559 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7560 from the start of the CU.
7561
c780cc2f
JK
75622014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7563 Yao Qi <yao@codesourcery.com>
7564
7565 Fix "save breakpoints" for "catch" command.
7566 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7567 Remove -nonewline. Match also the added "main" line.
7568
99894e11
JK
75692014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7570
7571 Fix "save breakpoints" for "disable $bpnum" command.
7572 * gdb.base/save-bp.c (main): Add label.
7573 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7574
6e1ac5a3
JK
75752014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7576
7577 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7578
754dd2b0
YQ
75792014-10-11 Yao Qi <yao@codesourcery.com>
7580
7581 * gdb.server/server-kill.exp: Execute command
7582 "set remote trace-status-packet on" before "tstatus".
7583
f90183d7
YQ
75842014-10-11 Yao Qi <yao@codesourcery.com>
7585
7586 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7587 (main): Call getppid.
7588 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7589 and continue to it. Read variable "server_pid".
7590
bf40a607
YQ
75912014-10-11 Yao Qi <yao@codesourcery.com>
7592
7593 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7594
052ca370
YQ
75952014-10-11 Yao Qi <yao@codesourcery.com>
7596
7597 * gdb.threads/thread-find.exp: Don't execute command
7598 "info threads".
7599 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7600 * gdb.threads/linux-dp.exp: Don't check the condition
7601 $threads_created equals to zero.
7602
3831839c
PA
76032014-10-10 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.base/bigcore.exp: Remove references to IRIX.
7606 * gdb.base/funcargs.exp: Likewise.
7607 * gdb.base/interrupt.exp: Likewise.
7608 * gdb.base/mips_pro.exp: Likewise.
7609 * gdb.base/nodebug.exp: Likewise.
7610 * gdb.base/setvar.exp: Likewise.
7611 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7612
8b9a549d
PA
76132014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7614 Pedro Alves <palves@redhat.com>
7615
7616 PR symtab/14466
7617 * gdb.base/vdso-warning.c: New file.
7618 * gdb.base/vdso-warning.exp: New file.
7619
d48ba5e8
DE
76202014-10-02 Doug Evans <dje@google.com>
7621
7622 * gdb.base/structs.c (main): Don't run forever.
7623
2278c276
PA
76242014-10-02 Pedro Alves <palves@redhat.com>
7625
7626 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7627 (top level) <stop threads 1, stop threads 2>: Use it.
7628
b57bacec
PA
76292014-10-02 Pedro Alves <palves@redhat.com>
7630
7631 * gdb.threads/break-while-running.exp (test): Add new
7632 'update_thread_list' argument. Skip "info threads" if false.
7633 (top level): Add new 'update_thread_list' axis.
7634
13fd3ff3
PA
76352014-10-02 Pedro Alves <palves@redhat.com>
7636
7637 PR breakpoints/17431
7638 * gdb.base/execl-update-breakpoints.c: New file.
7639 * gdb.base/execl-update-breakpoints.exp: New file.
7640
0fec99e8
PA
76412014-10-01 Pedro Alves <palves@redhat.com>
7642
7643 * gdb.base/breakpoint-in-ro-region.c: New file.
7644 * gdb.base/breakpoint-in-ro-region.exp: New file.
7645
2ddf4301
SM
76462014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7647
7648 * gdb.mi/mi-exit-code.exp: New file.
7649 * gdb.mi/mi-exit-code.c: New file.
7650
6a5f3f43
YQ
76512014-09-30 Yao Qi <yao@codesourcery.com>
7652
7653 * lib/prelink-support.exp (build_executable_own_libs): Error if
7654 the target isn't native.
7655
345bcc73
YQ
76562014-09-30 Yao Qi <yao@codesourcery.com>
7657
7658 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7659 false.
7660
a25a5a45
PA
76612014-09-22 Pedro Alves <palves@redhat.com>
7662
7663 * gdb.threads/break-while-running.exp: New file.
7664 * gdb.threads/break-while-running.c: New file.
7665
00ba3162
YQ
76662014-09-19 Yao Qi <yao@codesourcery.com>
7667
7668 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7669 Invoke test. Restart GDB with --readnow and invoke test again.
7670
c3b7b696
YQ
76712014-09-19 Yao Qi <yao@codesourcery.com>
7672
7673 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7674 proc set_breakpoint_on_gcd_function. Invoke
7675 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7676 invoke set_breakpoint_on_gcd_function again.
7677
2b4fd423
DE
76782014-09-18 Doug Evans <dje@google.com>
7679
7680 * gdb.dwarf2/symtab-producer.exp: New file.
7681
a5947601
SDJ
76822014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7683
7684 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7685 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7686 * gdb.base/global-var-nested-by-dso.c: Likewise.
7687 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7688
91c19059
SDJ
76892014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7690 Pedro Alves <palves@redhat.com>
7691
7692 * gdb.base/watch-bitfields.exp: Pass string other than test file
7693 name to prepare_for_testing.
7694 (watch): New procedure.
7695 (expect_watchpoint): Use with_test_prefix.
7696 (top level): Factor out tests to ...
7697 (test_watch_location, test_regular_watch): ... these new
7698 procedures, and use with_test_prefix and gdb_continue_to_end.
7699
bb9d5f81
PP
77002014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7701
7702 PR breakpoints/12526
7703 * gdb.base/watch-bitfields.exp: New file.
7704 * gdb.base/watch-bitfields.c: New file.
7705
635856f5
PA
77062014-09-16 Pedro Alves <palves@redhat.com>
7707
7708 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7709 software and hardware addresses, not software address against
7710 itself.
7711
7280ceea
PA
77122014-09-16 Pedro Alves <palves@redhat.com>
7713
7714 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7715 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7716
428b16bd
PA
77172014-09-16 Pedro Alves <palves@redhat.com>
7718
7719 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7720 files.
7721 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7722 "*-*-vxworks*" throughout.
7723 * gdb.base/break.exp: Likewise.
7724 * gdb.base/default.exp: Likewise.
7725 * gdb.base/scope.exp: Likewise.
7726 * gdb.base/sepdebug.exp: Likewise.
7727 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7728 throughout.
7729 * gdb.base/run.c: Likewise.
7730 * gdb.base/sepdebug.c: Likewise.
7731 * gdb.hp/gdb.aCC/run.c: Likewise.
7732 * gdb.reverse/until-reverse.c: Likewise.
7733 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7734
666d413c
YQ
77352014-09-16 Yao Qi <yao@codesourcery.com>
7736
7737 * boards/local-remote-host-native.exp: New file.
7738
57cbd724
DE
77392014-09-14 Doug Evans <xdje42@gmail.com>
7740
7741 * gdb.threads/queue-signal.c (thread_count): New variable.
7742 (thread_count_mutex, thread_count_condvar): New variables.
7743 (incr_thread_count, wait_all_threads_running): New functions.
7744 (main): Wait for all threads to be in their thread functions.
7745
81219e53
DE
77462014-09-13 Doug Evans <xdje42@gmail.com>
7747
7748 * gdb.threads/queue-signal.c: New file.
7749 * gdb.threads/queue-signal.exp: New file.
7750
3714cea7
DE
77512014-09-13 Doug Evans <xdje42@gmail.com>
7752
7753 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7754 be consistent with what default_gdb_init uses.
7755 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7756 the plain text of the prompt. Add some logging printfs.
7757 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7758
fa43b1d7
PA
77592014-09-12 Pedro Alves <palves@redhat.com>
7760
7761 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7762 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7763 * gdb.arch/i386-size-overlap.exp: Likewise.
7764 * gdb.arch/i386-size.exp: Likewise.
7765 * gdb.arch/i386-unwind.exp: Likewise.
7766 * gdb.base/a2-run.exp: Likewise.
7767 * gdb.base/break.exp: Likewise.
7768 * gdb.base/charset.exp: Likewise.
7769 * gdb.base/chng-syms.exp: Likewise.
7770 * gdb.base/commands.exp: Likewise.
7771 * gdb.base/dbx.exp: Likewise.
7772 * gdb.base/find.exp: Likewise.
7773 * gdb.base/funcargs.exp: Likewise.
7774 * gdb.base/jit-simple.exp: Likewise.
7775 * gdb.base/reread.exp: Likewise.
7776 * gdb.base/sepdebug.exp: Likewise.
7777 * gdb.base/step-bt.exp: Likewise.
7778 * gdb.cp/mb-inline.exp: Likewise.
7779 * gdb.cp/mb-templates.exp: Likewise.
7780 * gdb.objc/basicclass.exp: Likewise.
7781 * gdb.threads/killed.exp: Likewise.
7782
9d9bf2df
EBM
77832014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7784
7785 PR tdep/17379
7786 * gdb.arch/powerpc-stackless.S: New file.
7787 * gdb.arch/powerpc-stackless.exp: New file.
7788
1cf2f1b0
JK
77892014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7790
7791 * gdb.base/attach.c: Include unistd.h.
7792 (main): Call alarm. Add label postloop.
7793 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7794 gdb_breakpoint, gdb_continue_to_breakpoint.
7795 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7796
98880d46
PA
77972014-09-11 Pedro Alves <palves@redhat.com>
7798
7799 PR gdb/17347
7800 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7801 * gdb.base/attach.exp (test_command_line_attach_run): New
7802 procedure.
7803 (top level): Call it.
7804
4c92ff2c
PA
78052014-09-11 Pedro Alves <palves@redhat.com>
7806
7807 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7808 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7809 (do_command_attach_tests): Use spawn_wait_for_attach.
7810 * gdb.base/solib-overlap.exp: Likewise.
7811 * gdb.multi/multi-attach.exp: Likewise.
7812 * gdb.python/py-prompt.exp: Likewise.
7813 * gdb.python/py-sync-interp.exp: Likewise.
7814 * gdb.server/ext-attach.exp: Likewise.
7815
3adc1a7d
GKB
78162014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7817
7818 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7819 command in testcase. Simplify testcase.
7820
96334934
JB
78212014-09-10 Joel Brobecker <brobecker@adacore.com>
7822
7823 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7824
eb479039
JB
78252014-09-10 Joel Brobecker <brobecker@adacore.com>
7826
7827 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7828
deede10c
JB
78292014-09-10 Joel Brobecker <brobecker@adacore.com>
7830
7831 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7832
7828a5f5
JB
78332014-09-10 Joel Brobecker <brobecker@adacore.com>
7834
7835 * gdb.dwarf2/dynarr-ptr.c: New file.
7836 * gdb.dwarf2/dynarr-ptr.exp: New file.
7837
33aeebcf
MR
78382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7839
7840 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7841 of 30 rather than hardcoding 120 for a slow test case. Take the
7842 `gdb,timeout' target setting into account for this calculation.
7843 Don't extend the timeout for the test cases that don't need it.
7844
7b415901
MR
78452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7846
7847 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7848 a factor of 2 for a slow test case. Take the `gdb,timeout'
7849 target setting into account for this calculation.
7850 * gdb.reverse/until-precsave.exp: Increase the timeout by
7851 a factor of 15 and 3 respectively rather than adding 120
7852 for a pair of slow test cases. Take the `gdb,timeout'
7853 target setting into account for this calculation.
7854
4a40f85a
MR
78552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7856
7857 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7858 timeout, don't pass one down to gdb_expect.
7859 (gdb_expect): Rework timeout selection.
7860
09635af7
MR
78612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7862
7863 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7864 exception on timeout.
7865 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7866 (gdbserver_start_extended): Catch any `gdbserver_start' error
7867 exceptions.
7868 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7869 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7870 `gdbserver_gdb_load' error exceptions.
7871
2bdd10b7
MR
78722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7873
7874 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7875 120 on waiting for the TCP socket to open.
7876
316935f0
DE
78772014-09-09 Doug Evans <xdje42@gmail.com>
7878
7879 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7880 _caller_matches, _any_caller_is, _any_caller_matches.
7881
83740597
DE
78822014-09-09 Doug Evans <xdje42@gmail.com>
7883
7884 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7885
4c122fc3
YQ
78862014-09-09 Yao Qi <yao@codesourcery.com>
7887
7888 * gdb.mi/mi-var-display.exp: Set print symbol off.
7889
a9f116cb
GKB
78902014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7891
7892 PR gdb/17035
7893 * gdb.base/commands.exp: Add tests to verify user-defined
7894 commands with empty bodies.
7895 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7896 python commands in `show user command`.
7897 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7898 scheme commands in `show user command`.
7899
c75bd3a2
JK
79002014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7901
7902 PR python/17355
7903 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7904 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7905 * gdb.python/py-framefilter-invalidarg.exp: New file.
7906 * gdb.python/py-framefilter-invalidarg.py: New file.
7907
faa42425
DE
79082014-09-06 Doug Evans <xdje42@gmail.com>
7909
7910 PR 15276
7911 * gdb.python/py-caller-is.c: New file.
7912 * gdb.python/py-caller-is.exp: New file.
7913
474ca4f6
SDJ
79142014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7915
7916 PR gdb/17235
7917 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7918 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7919
eb0b0463
SDJ
79202014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7921
7922 PR fortran/17237
7923 * gdb.fortran/print-formatted.exp: New file.
7924 * gdb.fortran/print-formatted.f90: Likewise.
7925
5f3b99cf
SS
79262014-09-03 Sasha Smundak <asmundak@google.com>
7927
7928 * gdb.python/py-frame.exp: Test Frame.read_register.
7929
7d793aa9
SDJ
79302014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7931
7932 PR python/16699
7933 * gdb.python/py-completion.exp: New file.
7934 * gdb.python/py-completion.py: Likewise.
7935
fb0576e9
DE
79362014-08-28 Doug Evans <dje@google.com>
7937
7938 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7939 eax,etc. are live with values set by gdb and thus the compiler can't
7940 use them.
7941 * gdb.arch/i386-pseudo.c (main): Ditto.
7942
ee92b0dd
DE
79432014-08-27 Doug Evans <dje@google.com>
7944
7945 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7946
6649db35
DE
79472014-08-25 Doug Evans <dje@google.com>
7948
7949 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7950 (main): Ditto.
7951
564b7600
DE
79522014-08-25 Doug Evans <dje@google.com>
7953
7954 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7955
3881fb67
YQ
79562014-08-24 Yao Qi <yao@codesourcery.com>
7957
7958 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7959 symbol off.
7960 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7961
a05a36a5
DE
79622014-08-22 Doug Evans <dje@google.com>
7963
7964 PR 17276
7965 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7966 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7967 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7968
7c343b48
YQ
79692014-08-22 Yao Qi <yao@codesourcery.com>
7970
7971 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7972 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7973 * gdb.python/python.exp: Likewise. Use .py file on the host
7974 instead of the build.
7975
22fd09ae
JK
79762014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7977
7978 * gdb.threads/gcore-stale-thread.c: New file.
7979 * gdb.threads/gcore-stale-thread.exp: New file.
7980
a8454a7c
PA
79812014-08-21 Pedro Alves <palves@redhat.com>
7982
7983 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7984 * gdb.base/gcore-relro-pie.exp: Likewise.
7985 * gdb.base/gcore-relro.exp: Likewise.
7986 * gdb.base/gcore.exp: Likewise.
7987 * gdb.base/print-symbol-loading.exp: Likewise.
7988 * gdb.threads/gcore-thread.exp: Likewise.
7989 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7990
2a31c623
PA
79912014-08-20 Pedro Alves <palves@redhat.com>
7992 Jan Kratochvil <jan.kratochvil@redhat.com>
7993
7994 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7995 configure.
7996 (EXPECT): Handle READ1 being set.
7997 (all): Depend on EXTRA_RULES.
7998 (check-read1, expect-read1, read1.so, read1): New rules.
7999 * README (Testsuite Parameters): Document the READ1 make variable.
8000 (Race detection): New section.
8001 * configure: Regenerate.
8002 * configure.ac: If build==host==target, and running under a
8003 GNU/glibc system, add read1 to the extra Makefile rules.
8004 (EXTRA_RULES): AC_SUBST it.
8005 * lib/read1.c: New file.
8006
d36430db
JB
80072014-08-20 Joel Brobecker <brobecker@adacore.com>
8008
8009 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
8010 the handling of variables declared as a typedef to an array
8011 which a DW_AT_data_location attribute.
8012
9a0dc9e3
PA
80132014-08-19 Andrew Burgess <aburgess@broadcom.com>
8014 Pedro Alves <palves@redhat.com>
8015
8016 PR symtab/14604
8017 PR symtab/14605
8018 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
8019 gdb_test.
8020
0718a8da
PA
80212014-08-19 Pedro Alves <palves@redhat.com>
8022
8023 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
8024
13b448cd
YQ
80252014-08-19 Yao Qi <yao@codesourcery.com>
8026
8027 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
8028 right line.
8029
1cbf5077
DB
80302014-08-18 David Blaikie <dblaikie@gmail.com>
8031
8032 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
8033
bf0fae19
JB
80342014-08-18 Joel Brobecker <brobecker@adacore.com>
8035
8036 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
8037 attribute in array range.
8038
3c8c5dcc
JB
80392014-08-18 Joel Brobecker <brobecker@adacore.com>
8040
8041 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
8042
e66d4446
SC
80432014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8044
8045 PR c++/17132
8046 * gdb.cp/pr17132.cc: New file.
8047 * gdb.cp/pr17132.exp: New file.
8048
940df408
SC
80492014-08-15 Siva Chandra Reddy <sivachandra@google.com>
8050
8051 * gdb.python/py-xmethods.py (A_getarrayind)
8052 (E_method_char_worker.__call__, E_method_int_worker.__call__):
8053 Use 'print' with function call syntax.
8054 (E_method_matcher.match): Fix tab vs space indentation mixup.
8055
ebcc6c3a
YQ
80562014-08-15 Yao Qi <yao@codesourcery.com>
8057
8058 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
8059 false.
8060
775e0f04
YQ
80612014-08-15 Yao Qi <yao@codesourcery.com>
8062
8063 * gdb.cp/casts.exp: Set print symbol off.
8064 * gdb.cp/class2.exp: Likewise.
8065 * gdb.cp/overload.exp: Likewise.
8066 * gdb.cp/templates.exp: Likewise.
8067
d769e349
DE
80682014-08-11 Doug Evans <dje@google.com>
8069
8070 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8071 (test_load_shlib): Update.
8072
20c6f1e1
YQ
80732014-08-09 Yao Qi <yao@codesourcery.com>
8074
8075 * gdb.base/display.exp: Invoke is_address_zero_readable.
8076 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
8077 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8078 * gdb.base/hbreak-unmapped.exp: Return if
8079 is_address_zero_readable returns true.
8080 * gdb.base/signest.exp: Likewise.
8081 * gdb.base/signull.exp: Likewise.
8082 * gdb.base/sigbpt.exp: Likewise.
8083 * gdb.guile/scm-disasm.exp: Do the test if
8084 is_address_zero_readable returns false.
8085 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
8086 * gdb.python/py-arch.exp: Likewise.
8087 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
8088 * lib/gdb.exp (is_address_zero_readable): New proc.
8089
5792e8e3
YQ
80902014-08-09 Yao Qi <yao@codesourcery.com>
8091
8092 PR testsuite/13443
8093 * gdb.mi/mi-var-display.exp: Make test messages unique.
8094
3cecbbbe
TT
80952014-08-04 Tom Tromey <tromey@redhat.com>
8096
8097 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
8098 target 0".
8099
00b51ff5
TT
81002014-08-04 Tom Tromey <tromey@redhat.com>
8101
8102 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
8103 "target_resume".
8104
6908c509
JB
81052014-08-01 Joel Brobecker <brobecker@adacore.com>
8106
8107 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
8108 inner_vla_struct_object_size.
8109 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
8110 as xfail.
8111
cc6563d2
PA
81122014-07-30 Pedro Alves <palves@redhat.com>
8113
8114 * gdb.threads/signal-command-handle-nopass.exp (test): Add
8115 comment.
8116
7e09a223
YQ
81172014-07-29 Yao Qi <yao@codesourcery.com>
8118
8119 PR gdb/17206
8120 * gdb.base/until-nodebug.exp: New.
8121
7ebdbe92
DE
81222014-07-28 Doug Evans <xdje42@gmail.com>
8123
8124 PR guile/17203
8125 * gdb.guile/scm-parameter.exp: Add tests for trying to create
8126 previously existing parameter, and previously ambiguously spelled
8127 parameter.
8128
fdb1adc6
WN
81292014-07-28 Will Newton <will.newton@linaro.org>
8130
8131 * gdb.base/varargs.exp: Remove KFAILs for ARM.
8132
186fcde0
DE
81332014-07-26 Ludovic Courtès <ludo@gnu.org>
8134 Doug Evans <xdje42@gmail.com>
8135
8136 PR guile/17146
8137 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
8138
70509625
PA
81392014-07-25 Pedro Alves <palves@redhat.com>
8140
8141 * gdb.threads/signal-command-handle-nopass.c: New file.
8142 * gdb.threads/signal-command-handle-nopass.exp: New file.
8143 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
8144 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
8145 * gdb.threads/signal-delivered-right-thread.c: New file.
8146 * gdb.threads/signal-delivered-right-thread.exp: New file.
8147
c3f814a1
PA
81482014-07-25 Pedro Alves <palves@redhat.com>
8149
8150 * gdb.base/double-prompt-target-event-error.exp
8151 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
8152 match.
8153 (cancel_pagination_in_target_event): Rework double prompt
8154 detection.
8155 * gdb.base/paginate-after-ctrl-c-running.exp
8156 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
8157 <return>' match.
8158 * gdb.base/paginate-bg-execution.exp
8159 (test_bg_execution_pagination_return)
8160 (test_bg_execution_pagination_cancel): Remove '-notransfer
8161 <return>' matches.
8162 * gdb.base/paginate-execution-startup.exp
8163 (test_fg_execution_pagination_return)
8164 (test_fg_execution_pagination_cancel): Remove '-notransfer
8165 <return>' matches.
8166 * gdb.base/paginate-inferior-exit.exp
8167 (test_paginate_inferior_exited): Remove '-notransfer <return>'
8168 match.
8169 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
8170 * lib/gdb.exp (pagination_prompt): Run text through
8171 string_to_regexp.
8172 (gdb_test_multiple): Match $pagination_prompt instead of
8173 "<return>".
8174 (string_to_regexp): Move to lib/gdb-utils.exp.
8175
e214cf6c
JK
81762014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8177
8178 * gdb.arch/amd64-entry-value-paramref.S: New file.
8179 * gdb.arch/amd64-entry-value-paramref.cc: New file.
8180 * gdb.arch/amd64-entry-value-paramref.exp: New file.
8181 * gdb.arch/amd64-optimout-repeat.S: New file.
8182 * gdb.arch/amd64-optimout-repeat.c: New file.
8183 * gdb.arch/amd64-optimout-repeat.exp: New file.
8184
17d0c5c8
JK
81852014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8186
8187 PR gdb/17170
8188 * gdb.base/statistics.exp: New file.
8189
b8b8facf
DE
81902014-07-17 Doug Evans <dje@google.com>
8191
74b49205 8192 PR gdb/17170
b8b8facf
DE
8193 * gdb.base/maint.exp: Update testing of per-command stats.
8194
1b5d0ab3
PA
81952014-07-16 Pedro Alves <palves@redhat.com>
8196
8197 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
8198 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
8199 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
8200 (tfile_write_buf): New functions.
8201 (add_memory_block): Rewrite using the above.
8202 (adjust_function_address): New function.
8203 (FUNCTION_ADDRESS): New macro.
8204 (write_basic_trace_file): Remove short_x local, and use
8205 tfile_write_16. Change type of func_addr local to unsigned long
8206 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
8207 here. Cast argument of add_memory_block to char pointer.
8208 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
8209 (main): Remove parameters.
8210 * gdb.trace/tfile.exp: Remove nowarnings.
8211
4d974e88
SM
82122014-07-15 Simon Marchi <simon.marchi@ericsson.com>
8213
8214 * gdb.base/debug-expr.exp: Test string evaluation with
8215 "debug expression" on.
8216
41e99568
PA
82172014-07-15 Pedro Alves <palves@redhat.com>
8218
8219 * gdb.base/reread.exp: Use clean_restart.
8220
487d9753
PL
82212014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
8222
8223 * gdb.arch/avr-flash-qualifer.c: New.
8224 * gdb.arch/avr-flash-qualifer.exp: New.
8225
cc1c52ad
PA
82262014-07-14 Pedro Alves <palves@redhat.com>
8227
8228 * gdb.base/paginate-after-ctrl-c-running.c: New file.
8229 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
8230
1e973570
PA
82312014-07-14 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.base/double-prompt-target-event-error.c: New file.
8234 * gdb.base/double-prompt-target-event-error.exp: New file.
8235
93d6eb10
PA
82362014-07-14 Pedro Alves <palves@redhat.com>
8237
8238 PR gdb/17072
8239 * gdb.base/paginate-inferior-exit.c: New file.
8240 * gdb.base/paginate-inferior-exit.exp: New file.
8241
0017922d
PA
82422014-07-14 Pedro Alves <palves@redhat.com>
8243
8244 PR gdb/17072
8245 * gdb.base/paginate-bg-execution.c: New file.
8246 * gdb.base/paginate-bg-execution.exp: New file.
8247
94696ad3
PA
82482014-07-14 Pedro Alves <palves@redhat.com>
8249
8250 PR gdb/17072
8251 * gdb.base/paginate-execution-startup.c: New file.
8252 * gdb.base/paginate-execution-startup.exp: New file.
8253 * lib/gdb.exp (pagination_prompt): New global.
8254 (default_gdb_spawn): New procedure, factored out from
8255 default_gdb_spawn.
8256 (default_gdb_start): Adjust to call default_gdb_spawn.
8257 (gdb_spawn): New procedure.
8258
bd293940
PA
82592014-07-14 Pedro Alves <palves@redhat.com>
8260
8261 * lib/gdb.exp (gdb_assert): New procedure.
8262 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
8263
c933f875
PA
82642014-07-14 Pedro Alves <palves@redhat.com>
8265
8266 * gdb.base/execution-termios.c: New file.
8267 * gdb.base/execution-termios.exp: New file.
8268
d98b7a16
TT
82692014-07-14 Tom Tromey <tromey@redhat.com>
8270
8271 * gdb.cp/vla-cxx.cc: New file.
8272 * gdb.cp/vla-cxx.exp: New file.
8273
548740d6
TT
82742014-07-14 Tom Tromey <tromey@redhat.com>
8275
8276 * gdb.reverse/rerun-prec.c: New file.
8277 * gdb.reverse/rerun-prec.exp: New file.
8278
a25eb028
MR
82792014-07-12 Maciej W. Rozycki <macro@mips.com>
8280 Maciej W. Rozycki <macro@codesourcery.com>
8281
8282 * lib/gdb-utils.exp: New file.
8283 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
8284 inline `gdb_init_command' processing.
8285 (gdb_start_cmd): Likewise.
8286 * lib/mi-support.exp (mi_run_cmd): Likewise.
8287 * README: Document `gdb_init_command' and `gdb_init_commands'.
8288
218c2655
JK
82892014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8290
8291 Fix false FAIL running under a very long directory name.
8292 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
8293 and "set print elements 10000". Twice.
8294
5401fde3
YQ
82952014-07-11 Yao Qi <yao@codesourcery.com>
8296
8297 * gdb.base/exprs.exp: "set print symbol off".
8298
e76126e8
PA
82992014-07-11 Pedro Alves <palves@redhat.com>
8300
8301 * gdb.threads/kill.c: New file.
8302 * gdb.threads/kill.exp: New file.
8303
2d6f0de6
YQ
83042014-07-10 Yao Qi <yao@codesourcery.com>
8305
8306 * gdb.trace/tfile.c (write_basic_trace_file)
8307 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
8308 address written to trace file.
8309
7180e04a
PA
83102014-07-09 Pedro Alves <palves@redhat.com>
8311
8312 * gdb.base/attach-wait-input.exp: New file.
8313 * gdb.base/attach-wait-input.c: New file.
8314
9a9a7608
AB
83152014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8316
8317 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
8318 setting up test structures.
8319 (main): Call new test function.
8320 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
8321 test function, continue into test function and walk test
8322 structures.
8323
161ac41e
YQ
83242014-07-02 Yao Qi <yao@codesourcery.com>
8325
8326 * gdb.trace/entry-values.c: Define labels 'foo_start' and
8327 'bar_start' at the beginning of functions 'foo' and 'bar'
8328 respectively.
8329 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
8330 instead of 'foo' and 'bar'.
8331
1f267ae3
MM
83322014-07-08 Markus Metzger <markus.t.metzger@intel.com>
8333
8334 * gdb.btrace/segv.exp: New.
8335 * gdb.btrace/segv.c: New.
8336
2b239efb
LM
83372014-07-02 Luis Machado <lgustavo@codesourcery.com>
8338
8339 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
8340 instruction.
8341
cf363f18
MW
83422014-06-30 Mark Wielaard <mjw@redhat.com>
8343
8344 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
8345 vulture, vilify, villar): New volatile array constants.
8346 (vindictive, vegetation): New const volatile array constants.
8347 * gdb.base/volatile.exp: Test volatile and const volatile array
8348 types.
8349
aebf9d24
AA
83502014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8351
8352 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
8353 target lacks support for awatch, rwatch, or hbreak.
8354
b67a2c6f
YQ
83552014-06-27 Yao Qi <yao@codesourcery.com>
8356
8357 * gdb.multi/dummy-frame-restore.exp: New.
8358 * gdb.multi/dummy-frame-restore.c: New.
8359
aef92902
MM
83602014-06-25 Markus Metzger <markus.t.metzger@intel.com>
8361
8362 * gdb.btrace/gcore.exp: New.
8363
8e9db26e
PA
83642014-06-23 Pedro Alves <palves@redhat.com>
8365
8366 * gdb.base/watchpoint-reuse-slot.c: New file.
8367 * gdb.base/watchpoint-reuse-slot.exp: New file.
8368
70afc5b7
SC
83692014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8370
8371 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8372 progspace's filename in 'info', 'enable' and 'disable' command
8373 tests.
8374
b972bd9c
JK
83752014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8376
8377 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8378 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8379 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8380
125f8a3d
GB
83812014-06-20 Gary Benson <gbenson@redhat.com>
8382
8383 * gdb.arch/i386-avx.exp: Fix include file location.
8384 * gdb.arch/i386-sse.exp: Likewise.
8385
3ed9baed
IB
83862014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8387
8388 * gdb.dlang/expression.exp: New file.
8389
034f788c
PA
83902014-06-19 Pedro Alves <palves@redhat.com>
8391
8392 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8393 out from ...
8394 (top level): ... here. Iterate running tests under different
8395 scheduler-locking settings.
8396
45371d0c
LM
83972014-06-18 Luis Machado <lgustavo@codesourcery.com>
8398
8399 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8400 to DW_FORM_addr and use non-zero addresses.
8401
5d376983
SC
84022014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8403
8404 PR gdb/17017
8405 * gdb.python/py-xmethods.cc: Add global function call counters and
8406 increment them in their respective functions. Remove "cout"
8407 statements.
8408 * gdb.python/py-xmethods.exp: Make tests check the global function
8409 call counters instead of depending on inferior IO.
8410
a1aa2221
LM
84112014-06-18 Don Breazeal <donb@codesourcery.com>
8412
8413 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8414 Deleted procedure.
8415 (explicit_fork_parent_follow): Deleted procedure.
8416 (explicit_fork_child_follow): Deleted procedure.
8417 (test_follow_fork): New procedure.
8418 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 8419 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
8420 procedure calls.
8421
0fc05997
YQ
84222014-06-17 Yao Qi <yao@codesourcery.com>
8423
8424 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8425 CP1252.
8426
70795c52
LM
84272014-06-17 Luis Machado <lgustavo@codesourcery.com>
8428
8429 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8430 Initialize ptr and S explicitly.
8431 (skip_type_update_when_not_use_rtti_test): Likewise.
8432
6be47f0c
KS
84332014-06-16 Keith Seitz <keiths@redhat.com>
8434
8435 PR mi/15863
8436 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8437 the inferior is started.
8438
d03de421
PA
84392014-06-16 Pedro Alves <palves@redhat.com>
8440
8441 * gdb.base/break-main-file-remove-fail.c: New file.
8442 * gdb.base/break-main-file-remove-fail.exp: New file.
8443 * gdb.base/break-unload-file.exp: Use build_executable instead of
8444 prepare_for_testing.
8445 (test_break): New parameter "initial_load". Handle it.
8446 (top level): Add initial_load cmdline/file axis.
8447
f9579b99
TT
84482014-06-12 Tom Tromey <tromey@redhat.com>
8449
8450 * gdb.base/completion.exp: Don't use directory name in test.
8451
3657956b
GB
84522014-06-09 Gary Benson <gbenson@redhat.com>
8453
8454 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8455 separate the always-available ANSI-standard signals from the
8456 signals that require checking.
8457 (main): Likewise.
8458 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8459 Likewise.
8460 (main): Likewise.
8461
4186eb54
KS
84622014-06-07 Keith Seitz <keiths@redhat.com>
8463
8464 Revert:
8465 PR c++/16253
8466 * gdb.cp/var-tag.cc: New file.
8467 * gdb.cp/var-tag.exp: New file.
8468 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8469 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8470 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8471 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8472
25326a28 84732014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
8474
8475 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8476
829155c9
PA
84772014-06-06 Pedro Alves <palves@redhat.com>
8478
8479 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8480 in target debug output instead of looking at RSP packets,
8481 disabling the test on any target that uses hardware stepping.
8482 Update comments.
8483
61c8d22e
PA
84842014-06-06 Pedro Alves <palves@redhat.com>
8485
8486 * gdb.base/break-unload-file.exp: Fix typo.
8487
d9a47287
YQ
84882014-06-06 Yao Qi <yao@codesourcery.com>
8489
8490 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8491 from "jit_function" to "^jit_function".
8492
e5e01dbf
YQ
84932014-06-06 Yao Qi <yao@codesourcery.com>
8494
8495 * gdb.base/async.c (foo): Add one statement.
8496 * gdb.base/async.exp: Get the next instruction address and
8497 match the output of "nexti" by instruction address. Match
8498 the hex address in the output of "finish".
8499
73ba372c
GB
85002014-06-06 Gary Benson <gbenson@redhat.com>
8501
8502 * gdb.base/call-signals.c: Remove preprocessor conditionals
8503 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8504 SIGSEGV and SIGTERM.
8505 * gdb.base/sigall.c: Likewise.
8506 * gdb.base/unwindonsignal.c: Likewise.
8507 * gdb.reverse/sigall-reverse.c: Likewise.
8508
831517df
YQ
85092014-06-06 Yao Qi <yao@codesourcery.com>
8510
8511 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8512 readable, skip the test.
8513
b8b91e98
YQ
85142014-06-06 Yao Qi <yao@codesourcery.com>
8515
8516 * gdb.threads/staticthreads.c (thread_function): Move the line
8517 setting breakpoint on forward.
8518 * gdb.threads/staticthreads.exp: Update comments.
8519
fb934770
LC
85202014-06-05 Ludovic Courtès <ludo@gnu.org>
8521
8522 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8523 "history-append! type error".
8524
6ef284bd
SM
85252014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8526
8527 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8528 erroneous dprintf expected input.
8529
a872e241
DE
85302014-06-04 Doug Evans <xdje42@gmail.com>
8531
8532 * gdb.guile/scm-generics.exp: Delete.
8533
16f691fb
DE
85342014-06-04 Doug Evans <xdje42@gmail.com>
8535
8536 * gdb.guile/scm-breakpoint.exp: Update.
8537 Add tests for breakpoint registration.
8538
012370f6
TT
85392014-06-04 Tom Tromey <tromey@redhat.com>
8540
8541 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8542 VLA-in-union.
8543 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8544 inner_vla_struct, vla_union types. Initialize objects of those
8545 types and compute their sizes.
8546
9f5a4cef
HZ
85472014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8548 Hui Zhu <hui@codesourcery.com>
8549
8550 * gdb.base/fileio.exp: Add test for shell not available as well as
8551 available.
8552 * gdb.base/fileio.c (test_system): Check for shell twice.
8553
90a45c4d
YQ
85542014-06-04 Yao Qi <yao@codesourcery.com>
8555
8556 * gdb.base/auto-connect-native-target.exp: Remove redundant
8557 space from the regexp pattern.
8558
70017e41
YQ
85592014-06-04 Yao Qi <yao@codesourcery.com>
8560
8561 * gdb.base/default.exp: Replace "child" with "native" in
8562 regexp pattern.
8563
883964a7
SC
85642014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8565
8566 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8567 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8568 * gdb.python/py-xmethods.py: Python script supporting the
8569 new testcase and tests.
8570
ef370185
JB
85712014-06-03 Joel Brobecker <brobecker@adacore.com>
8572 Pedro Alves <palves@redhat.com>
8573
8574 PR breakpoints/17000
8575 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8576 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8577
1e2ccb61
BM
85782014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8579
8580 * gdb.base/subst.exp: Add tests to verify partial path matching
8581 output.
8582
c6ec5ab2
PA
85832014-06-03 Pedro Alves <palves@redhat.com>
8584
8585 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8586 target that doesn't use software single-stepping.
8587
835c559f
PA
85882014-06-03 Pedro Alves <palves@redhat.com>
8589
8590 PR breakpoints/17000
8591 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8592 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8593
06eb1586
DE
85942014-06-02 Doug Evans <xdje42@gmail.com>
8595
8596 * gdb.guile/scm-parameter.exp: New file.
8597
e698b8c4
DE
85982014-06-02 Doug Evans <xdje42@gmail.com>
8599
8600 * gdb.guile/scm-cmd.c: New file.
8601 * gdb.guile/scm-cmd.exp: New file.
8602
ded03782
DE
86032014-06-02 Doug Evans <xdje42@gmail.com>
8604
8605 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8606 pretty-printer lookup.
8607 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8608 (make-pp_s-printer): Call it.
8609 (make-pretty-printer-from-dict): New function.
8610 (lookup-pretty-printer-maker-from-dict): New function.
8611 (*pretty-printer*): Simplify.
8612 (make-objfile-pp_s-printer): New function.
8613 (install-objfile-pretty-printers!): New function.
8614 (make-progspace-pp_s-printer): New function.
8615 (install-progspace-pretty-printers!): New function.
8616 * gdb.guile/scm-progspace.c: New file.
8617 * gdb.guile/scm-progspace.exp: New file.
8618
41fac0cf
PA
86192014-06-02 Pedro Alves <palves@redhat.com>
8620
8621 * gdb.base/dprintf-bp-same-addr.c: New file.
8622 * gdb.base/dprintf-bp-same-addr.exp: New file.
8623
96ae5695
EBM
86242014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8625
8626 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8627 * gdb.arch/powerpc-power.s: Likewise.
8628
da02b3a8
JB
86292014-06-02 Joel Brobecker <brobecker@adacore.com>
8630
8631 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8632
c72b2e7b
YQ
86332014-06-01 Yao Qi <yao@codesourcery.com>
8634
8635 * gdb.base/watchpoint.exp (test_watch_location): Check null
8636 pointer can be dereferenced. If not, do the test, otherwise
8637 skip it.
8638
53e8a631
AB
86392014-05-30 Andrew Burgess <aburgess@broadcom.com>
8640
8641 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8642 results.
8643 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8644
938f0e2f
AB
86452014-05-30 Andrew Burgess <aburgess@broadcom.com>
8646
8647 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8648 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8649 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8650 * gdb.arch/amd64-invalid-stack-top.c: New file.
8651 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8652
9ba6657a
PA
86532014-05-30 Pedro Alves <palves@redhat.com>
8654
8655 PR breakpoints/17000
8656 * gdb.base/sss-bp-on-user-bp.c: New file.
8657 * gdb.base/sss-bp-on-user-bp.exp: New file.
8658
522c09bf
DB
86592014-05-30 David Blaikie <dblaikie@gmail.com>
8660
8661 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8662 gnu_inline semantics via attribute.
8663 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8664 source explicitly specifies the required semantics.
8665
bf4ef81e
MR
86662014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8667
8668 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8669
329ea579
PA
86702014-05-29 Pedro Alves <palves@redhat.com>
8671 Tom Tromey <tromey@redhat.com>
8672
8673 * gdb.base/async-shell.exp: Don't enable target-async.
8674 * gdb.base/async.exp
8675 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8676 parameter. Adjust.
8677 (top level): Don't test with "target-async".
8678 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8679 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8680 * gdb.base/inferior-died.exp: Don't enable target-async.
8681 * gdb.base/interrupt-noterm.exp: Likewise.
8682 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8683 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8684 * gdb.mi/mi-nonstop.exp: Likewise.
8685 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8686 * gdb.mi/mi-nsintrall.exp: Likewise.
8687 * gdb.mi/mi-nsmoribund.exp: Likewise.
8688 * gdb.mi/mi-nsthrexec.exp: Likewise.
8689 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8690 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8691 * gdb.python/py-evsignal.exp: Don't enable target-async.
8692 * gdb.python/py-evthreads.exp: Likewise.
8693 * gdb.python/py-prompt.exp: Likewise.
8694 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8695 * gdb.server/solib-list.exp: Don't enable target-async.
8696 * gdb.threads/thread-specific-bp.exp: Likewise.
8697 * lib/mi-support.exp: Adjust to use mi-async.
8698
fd664c91
PA
86992014-05-29 Pedro Alves <palves@redhat.com>
8700
8701 PR gdb/13860
8702 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8703 reason, even in sync mode.
8704
251bde03
PA
87052014-05-29 Pedro Alves <palves@redhat.com>
8706 Hui Zhu <hui@codesourcery.com>
8707
8708 PR PR15693
8709 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8710 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8711 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8712 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8713
7f3c0343
JB
87142014-05-28 Joel Brobecker <brobecker@adacore.com>
8715
8716 * config/monitor.exp (gdb_target_monitor): Replace use of
8717 "set remotebaud" by "set serial baud".
8718
b2715b27
AW
87192014-05-26 Andy Wingo <wingo@igalia.com>
8720
8721 * gdb.guile/scm-breakpoint.exp:
8722 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8723 properties instead of gdb-object-properties.
8724
498a4489
YQ
87252014-05-26 Yao Qi <yao@codesourcery.com>
8726
8727 * gdb.server/no-thread-db.exp: Specify source file name
8728 explicitly when setting a breakpoint.
8729
589fdceb
MM
87302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8731
8732 * gdb.btrace/vdso.c: New.
8733 * gdb.btrace/vdso.exp: New.
8734
e9089e05
MM
87352014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8736
8737 * gdb.base/gcore.exp (capture_command_output): Move ...
8738 * lib/gdb.exp (capture_command_output): ... here.
8739
67b5c0c1
MM
87402014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8741
8742 * gdb.btrace/data.exp: Test memory access during btrace replay.
8743
a2199296
SM
87442014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8745
8746 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8747
17b2616c
PA
87482014-05-21 Pedro Alves <palves@redhat.com>
8749
8750 PR gdb/13860
8751 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8752 (top level): Test that output related to execution commands is
8753 sent to the console with CLI commands, but not with MI commands.
8754 Test that breakpoint events are always mirrored to the console.
8755 Also expect the new source line to be output after a "next" in
8756 async mode too. Make it a pass/fail test.
8757 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8758 output.
8759 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8760
5166082f
PA
87612014-05-21 Pedro Alves <palves@redhat.com>
8762
8763 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8764 Use them to test variations of "list" after reaching a breakpoint.
8765 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8766 Test "list" with listsize 10 after reaching a breakpoint.
8767 * gdb.python/python.exp (decode_line current location line
8768 number): Adjust expected line number.
8769
2f25d70f
SM
87702014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8771
8772 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8773 behavior for $args, pass it directly to "run".
8774
ff604a67
MR
87752014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8776
8777 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8778 30000 to 65536.
8779
6a3cb8e8
PA
87802014-05-21 Pedro Alves <palves@redhat.com>
8781
8782 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8783 auto-connect-native-target off".
8784 * gdb.base/auto-connect-native-target.c: New file.
8785 * gdb.base/auto-connect-native-target.exp: New file.
8786
4ebfc96e
PA
87872014-05-21 Pedro Alves <palves@redhat.com>
8788
8789 * gdb.base/default.exp: Test "target native" instead of "target
8790 child".
8791
36d46afb
MW
87922014-05-21 Mark Wielaard <mjw@redhat.com>
8793
8794 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8795
5876f503
JK
87962014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8797
8798 Fix TLS access for -static -pthread.
8799 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8800 <HAVE_TLS> (thread_function, main): Initialize it.
8801 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8802 Add clean_restart.
8803 <$have_tls != "">: Check TLSVAR.
8804
0256a6ac
PA
88052014-05-21 Pedro Alves <palves@redhat.com>
8806
8807 * gdb.base/dcache-line-read-error.c: New.
8808 * gdb.base/dcache-line-read-error.exp: New.
8809
936d2992
PA
88102014-05-20 Pedro Alves <palves@redhat.com>
8811
8812 * gdb.base/compare-sections.c: New file.
8813 * gdb.base/compare-sections.exp: New file.
8814
802e8e6d
PA
88152014-05-20 Pedro Alves <palves@redhat.com>
8816
8817 * gdb.base/break-idempotent.c: New file.
8818 * gdb.base/break-idempotent.exp: New file.
8819
e59fa00f
MM
88202014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8821
8822 * gdb.btrace/nohist.exp: New.
8823
8b696e31
YQ
88242014-05-20 Yao Qi <yao@codesourcery.com>
8825
8826 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8827 gdb.reverse directory and gdb_reverse_timeout exists in board
8828 setting.
8829 * README: Document gdb_reverse_timeout.
8830
73c9764f
YQ
88312014-05-20 Yao Qi <yao@codesourcery.com>
8832
8833 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8834 'test_file_name'. Treat args as a string instead of a list.
8835 (gdb_init): Rename argument 'args' by 'test_file_name'.
8836
f1f4348a
JK
88372014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8838
8839 * gdb.arch/powerpc-power.exp: New file.
8840 * gdb.arch/powerpc-power.s: New file.
8841
0dbe70ce
DE
88422014-05-16 Doug Evans <dje@google.com>
8843
8844 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
8845 * gdb.base/completion.exp: Check that all expected files exist
8846 before doing file completion.
0dbe70ce 8847
8d551b02
DE
88482014-05-16 Doug Evans <dje@google.com>
8849
8850 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8851 Update.
8852 (do_syscall_tests_without_xml): Update.
8853
73eb7709
PA
88542014-05-16 Pedro Alves <palves@redhat.com>
8855
8856 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8857 instead of "unknown output after running".
8858
3fae92fc
YQ
88592014-05-16 Yao Qi <yao@codesourcery.com>
8860
8861 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8862 file1.txt from host at the end.
8863 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8864
c2b2ccc5
DE
88652014-05-15 Doug Evans <dje@google.com>
8866
8867 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8868 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8869 loading file. Add test for TU lookup.
8870
8c217a4b
SM
88712014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8872
8873 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8874 calling "-exec-arguments" or "set args" before running the
8875 inferior.
8876
3deb39c6
SM
88772014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8878
8879 * lib/mi-support.exp (mi_expect_stop): Expect message for
8880 inferiors that exit with non-zero exit code.
8881
71a79f8c
YQ
88822014-05-14 Yao Qi <yao@codesourcery.com>
8883
8884 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8885 match absolute path on remote host.
8886 (test_file_list_exec_source_files): Remove "/" from the
8887 pattern.
8888
f23fcd46
YQ
88892014-05-14 Yao Qi <yao@codesourcery.com>
8890
8891 * boards/local-remote-host-notty.exp (${board}_file): New
8892 proc.
8893
9404b58f
KM
88942014-05-07 Kyle McMartin <kyle@redhat.com>
8895
8896 Pushed by Joel Brobecker <brobecker@adacore.com>.
8897 * gdb.arch/aarch64-atomic-inst.c: New file.
8898 * gdb.arch/aarch64-atomic-inst.exp: New file.
8899
5e45f04c
YQ
89002014-05-07 Yao Qi <yao@codesourcery.com>
8901
8902 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8903 in current context" too.
8904
c888a17d
KS
89052014-05-05 Keith Seitz <keiths@redhat.com>
8906
8907 * gdb.linespec/ls-dollar.exp: Add test for linespec
8908 file:convenience_variable.
8909
290a839c
YQ
89102014-05-05 Yao Qi <yao@codesourcery.com>
8911
8912 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8913 traceframes into tfile and ctf trace files. Read data from
8914 trace file and test collected data.
8915 (gdb_collect_locals_test): Likewise.
8916 (gdb_unavailable_registers_test): Likewise.
8917 (gdb_unavailable_floats): Likewise.
8918 (gdb_collect_globals_test): Likewise.
8919 (top-level): Append "ctf" to trace_file_targets if GDB
8920 supports.
8921
b5262cd0
YQ
89222014-05-05 Yao Qi <yao@codesourcery.com>
8923
8924 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8925 code to ...
8926 (gdb_collect_args_test_1): ... it. New proc.
8927 (gdb_collect_locals_test): Move some code to ...
8928 (gdb_collect_locals_test_1): ... it. New proc.
8929 (gdb_unavailable_registers_test): Move some code to ...
8930 (gdb_unavailable_registers_test_1): ... it. New proc.
8931 (gdb_unavailable_floats): Move some code to ...
8932 (gdb_unavailable_floats_1): ... it. New proc.
8933
30a1e6cc
SDJ
89342014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8935
8936 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8937 probes to test for bitness recognition.
8938 * gdb.arch/amd64-stap-optional-prefix.exp
8939 (test_probe_value_without_reg): New procedure.
8940 Add code to test for different kinds of bitness.
8941
f33da99a
SDJ
89422014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8943
8944 PR breakpoints/16889
8945 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8946 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8947
5b80f00d
PA
89482014-05-01 Pedro Alves <palves@redhat.com>
8949
8950 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8951 gdb_file_cmd if no file is specified.
8952 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8953 last_loaded_file to set the remote exec-file.
8954
f8c2a73c
PA
89552014-05-01 Pedro Alves <palves@redhat.com>
8956
8957 * boards/local-remote-host.exp: New file.
8958
be6e8ac7
PA
89592014-05-01 Pedro Alves <palves@redhat.com>
8960
8961 * boards/local-remote-host.exp: Rename to ...
8962 * boards/local-remote-host-notty.exp: ... this.
8963
cac0dc8f
JB
89642014-04-28 Joel Brobecker <brobecker@adacore.com>
8965
8966 * gdb.ada/dyn_arrayidx: New testcase.
8967
9730e6cc
YQ
89682014-04-26 Yao Qi <yao@codesourcery.com>
8969
8970 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8971 and compute the length of function main. Save it in
8972 $main_length.
8973 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8974 (top-level): Use gdb_compile to compile objects into
8975 executable and restart GDB. Remove invocation to
8976 prepare_for_testing.
8977
7ae1a6a6
PA
89782014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8979 Pedro Alves <palves@redhat.com>
8980
8981 PR server/16255
8982 * gdb.multi/multi-attach.c: New file.
8983 * gdb.multi/multi-attach.exp: New file.
8984
4082afcc
PA
89852014-04-25 Pedro Alves <palves@redhat.com>
8986
8987 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8988 user.
8989 (top level): Test that "set remote conditional-breakpoints-packet
8990 off" works as intended.
8991 * gdb.base/dprintf.exp: Test that "set remote
8992 breakpoint-commands-packet off" works as intended.
8993 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8994 New function.
8995 (top level): Call it.
8996 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8997 remote fast-tracepoints-packet off" works as intended.
8998 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8999 * lib/gdb.exp (gdb_is_target_remote): ... here.
9000
2abc3f8d
DB
90012014-04-24 David Blaikie <dblaikie@gmail.com>
9002
9003 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
9004 ensure clang would not discard them.
9005 * gdb.base/gdbvars.c: Ditto.
9006 * gdb.base/memattr.c: Ditto.
9007 * gdb.base/whatis.c: Ditto.
9008 * gdb.python/py-prettyprint.c: Ditto.
9009 * gdb.trace/actions.c: Ditto.
9010 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
9011 ensure clang would not discard it.
9012
bfd39632
DB
90132014-04-24 David Blaikie <dblaikie@gmail.com>
9014
9015 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
9016 clang to emit the full definition of type required by the test
9017 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
9018
22842ff6
DB
90192014-04-24 David Blaikie <dblaikie@gmail.com>
9020
9021 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
9022 coax Clang into emitting the definition of the type.
9023 * gdb.cp/pr10728-x.h (y): Ditto.
9024 * gdb.cp/pr10728-y.cc (y): Ditto.
9025
c2e827ad
DB
90262014-04-24 David Blaikie <dblaikie@gmail.com>
9027
9028 * gdb.base/label.exp: XFAIL label related tests under Clang.
9029 * gdb.cp/cplabel.exp: Ditto.
9030 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
9031 under Clang those using labels.
9032
4c2d33e7
YQ
90332014-04-25 Yao Qi <yao@codesourcery.com>
9034
9035 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
9036 double_label.
9037 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
9038 partial_label and double_label.
9039
56083b99
DB
90402014-04-24 David Blaikie <dblaikie@gmail.com>
9041
9042 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
9043
25d4e99d
DB
90442014-04-24 David Blaikie <dblaikie@gmail.com>
9045
9046 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
9047 of the function to work across GCC and Clang.
9048 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
9049 pointer types (const void ** const V void **).
9050
01f9f808
MS
90512014-04-24 Michael Sturm <michael.sturm@mintel.com>
9052 Walfred Tedeschi <walfred.tedeschi@intel.com>
9053
9054 * Makefile.in (EXECUTABLES): Added i386-avx512.
9055 * gdb.arch/i386-avx512.c: New file.
9056 * gdb.arch/i386-avx512.exp: Likewise.
9057
4b48d439
KS
90582014-04-23 Keith Seitz <keiths@redhat.com>
9059
9060 * lib/mi-support.exp (mi_list_breakpoints): Delete.
9061 (mi_make_breakpoint_table): New procedure.
9062 (mi_create_breakpoint): Use mi_make_breakpoint
9063 and return the result.
9064 (mi_make_breakpoint): New procedure.
9065 (mi_build_kv_pairs): New procedure.
9066
9067 * gdb.mi/mi-break.exp: Remove unused globals,
9068 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
9069 All callers updated.
9070 * gdb.mi/mi-dprintf.exp: Use variable to track command
9071 number.
9072 Update all callers of mi_create_breakpoint and use
9073 mi_make_breakpoint_table.
9074 Remove any unused global variables.
9075 * gdb.mi/mi-nonstop.exp: Likewise.
9076 * gdb.mi/mi-nsintrall.exp: Likewise.
9077 * gdb.mi/mi-nsmoribund.exp: Likewise.
9078 * gdb.mi/mi-nsthrexec.exp: Likewise.
9079 * gdb.mi/mi-reverse.exp: Likewise.
9080 * gdb.mi/mi-simplerun.exp: Likewise.
9081 * gdb.mi/mi-stepn.exp: Likewise.
9082 * gdb.mi/mi-syn-frame.exp: Likewise.
9083 * gdb.mi/mi-until.exp: Likewise.
9084 * gdb.mi/mi-var-cp.exp: Likewise.
9085 * gdb.mi/mi-var-display.exp: Likewise.
9086 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
9087 * gdb.mi/mi2-var-child.exp: Likewise.
9088 * gdb.mi/mi-vla-c99.exp: Likewise.
9089 * lib/mi-support.exp: Likewise.
9090
9091 From Ian Lance Taylor <iant@cygnus.com>:
9092 * lib/gdb.exp (parse_args): New procedure.
9093
08351840
PA
90942014-04-23 Pedro Alves <palves@redhat.com>
9095
9096 * gdb.base/break-unload-file.c: New file.
9097 * gdb.base/break-unload-file.exp: New file.
9098 * gdb.base/sym-file-lib.c (baz): New function.
9099 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
9100 field.
9101 (load): Store the segment's mapped size.
9102 (unload): New function.
9103 (unload_shlib): New function.
9104 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
9105 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
9106 set a breakpoint at baz, and call it.
9107 * gdb.base/sym-file.exp: New tests for stale breakpoint
9108 instructions.
9109
076855f9
PA
91102014-04-23 Pedro Alves <palves@redhat.com>
9111
9112 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
9113 * gdb.base/hbreak-in-shr-unsupported.c: New file.
9114 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
9115 * gdb.base/hbreak-unmapped.c: New file.
9116 * gdb.base/hbreak-unmapped.exp: New file.
9117 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
9118 * lib/gdb.exp (gdb_is_target_remote): ... here.
9119
483805cf
PA
91202014-04-22 Pedro Alves <palves@redhat.com>
9121
9122 * gdb.base/consecutive-step-over.c: New file.
9123 * gdb.base/consecutive-step-over.exp: New file.
9124
06d97543
PA
91252014-04-22 Pedro Alves <palves@redhat.com>
9126
9127 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
9128 instead of send_gdb/gdb_expect.
9129
b4429ea2
YQ
91302014-04-22 Yao Qi <yao@codesourcery.com>
9131
9132 * lib/trace-support.exp (generate_tracefile): New procedure.
9133 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
9134 return 0.
9135 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
9136 if generate_tracefile returns 1.
9137
51d48146
PA
91382014-04-18 Tom Tromey <palves@redhat.com>
9139 Pedro alves <tromey@redhat.com>
9140
9141 PR backtrace/15558
9142 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
9143 with a backtrace limit.
9144 * gdb.python/py-frame-inline.exp: Test running to an inline
9145 function with a backtrace limit, and printing the newest frame.
9146 * gdb.python/py-frame-inline.c (main): Call f.
9147
bd1dce5f
MS
91482014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9149
9150 * gdb.java/jnpe.exp: Drop srcdir from untested path.
9151
40d1a503
MS
91522014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
9153
9154 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
9155 Drop prefix from unsupported source file path.
9156
389b98f7
YQ
91572014-04-17 Yao Qi <yao@codesourcery.com>
9158
9159 * lib/gdb.exp (with_target_charset): New proc.
9160 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
9161 with_target_charset.
9162 (test_print_strings): Likewise.
9163 (test_repeat_bytes): Likewise.
9164 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
9165 for some tests.
9166
22869d73
KS
91672014-04-16 Keith Seitz <keiths@redhat.com>
9168
9169 PR gdb/15827
9170 * gdb.dwarf2/corrupt.c: New file.
9171 * gdb.dwarf2/corrupt.exp: New file.
9172
c4f87ca6
KS
91732014-04-16 Keith Seitz <keiths@redhat.com>
9174
9175 PR c++/16597
9176 * gdb.cp/namelessclass.cc: New file.
9177 * gdb.cp/namelessclass.exp: New file.
9178 * gdb.cp/namelessclass.S: New file.
9179
ab19de87
DE
91802014-04-16 Doug Evans <dje@google.com>
9181
9182 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
9183 Add comment.
9184 (gdbserver_default_get_comm_port): New function.
9185 (gdbserver_start): Check if board file provided
9186 "gdbserver,get_comm_port" and use it if so.
9187 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9188 (gdb,socketport): Set to "stdio".
9189 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
9190 (stdio_gdbserver_template): Delete.
9191 (${board}_get_remote_address): Update.
9192 (${board}_build_remote_cmd): Delete.
9193 (${board}_get_comm_port): New function.
9194 (${board}_spawn): Update.
9195 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
9196 Delete.
9197 (${board}_get_remote_address): Update.
9198 (${board}_get_comm_port): New function.
9199
fc98a809
AB
92002014-04-16 Andrew Burgess <aburgess@broadcom.com>
9201
9202 * gdb.base/memattr.exp: Improve regexps to handle memory regions
9203 appearing in any order.
9204
87fd9e6e
DE
92052014-04-15 Doug Evans <dje@google.com>
9206
9207 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
9208 uninitialized value of "description".
9209
099fc3ea
KS
92102014-04-15 Keith Seitz <keiths@redhat.com>
9211
9212 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
9213 Remove unused globals.
9214 (test_running_the_program): Likewise.
9215 (test_controlled_execution): Likewise.
9216 (test_controlling_breakpoints): Likewise.
9217 (test_program_termination): Likewise.
9218
5da151d4
KS
92192014-04-15 Keith Seitz <keiths@redhat.com>
9220
9221 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
9222 unused globals.
9223 (test_rbreak_creation_and_listing): Likewise.
9224 (test_ignore_count): Likewise.
9225 (test_error): Likewise.
9226
35e5d2f0
PA
92272014-04-15 Pedro Alves <palves@redhat.com>
9228
9229 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
9230 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
9231 sym-file-loader.c.
9232 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9233 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9234 to sym-file-loader.c.
9235 (struct library): Forward declare.
9236 (load_shlib, lookup_function): Change prototypes.
9237 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9238 (translate_offset): Remove declarations.
9239 (get_text_addr): New declaration.
9240 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
9241 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
9242 sym-file-loader.h.
9243 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
9244 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
9245 here from sym-file-loader.h.
9246 (struct library): New structure.
9247 (load_shlib, lookup_function): Change prototypes and adjust to
9248 work with a struct library.
9249 (find_shstrtab, find_strtab, find_shdr, find_symtab)
9250 (translate_offset): Make static.
9251 (get_text_addr): New function.
9252 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
9253
eb4c1710
PA
92542014-04-15 Pedro Alves <palves@redhat.com>
9255
9256 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
9257
2d1baf52
PA
92582014-04-15 Pedro Alves <palves@redhat.com>
9259
9260 * gdb.base/sym-file-loader.c: Include <limits.h>.
9261 (SELF_LINK): New define.
9262 (get_origin): New function.
9263 (load_shlib): Use it.
9264 * gdb.base/sym-file.exp: Don't early return if the target is
9265 remote. Use runto_main, and issue fail is that fails. Use
9266 gdb_load_shlibs.
9267 (shlib_name): Delete.
9268 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
9269
7dd6df01
PA
92702014-04-15 Pedro Alves <palves@redhat.com>
9271
9272 * gdb.base/sym-file.exp: Remove regex characters from test
9273 message. Don't refer to breakpoint numbers in test messages.
9274
b50c8614
KS
92752014-04-14 Keith Seitz <keiths@redhat.com>
9276
9277 PR c++/16253
9278 * gdb.cp/var-tag.cc: New file.
9279 * gdb.cp/var-tag.exp: New file.
9280 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9281 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9282 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9283 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9284
3d567982
TT
92852014-04-14 Tom Tromey <tromey@redhat.com>
9286
9287 * gdb.cp/classes.exp (test_enums): Handle underlying type.
9288 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
9289 type.
9290 * gdb.cp/enum-class.exp: New file.
9291 * gdb.cp/enum-class.cc: New file.
9292
0626fc76
TT
92932014-04-14 Tom Tromey <tromey@redhat.com>
9294
9295 * gdb.dwarf2/enum-type.exp: New file.
9296
dca325b3
SA
92972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9298
9299 * gdb.mi/mi-vla-c99.exp: New file.
9300 * gdb.mi/vla.c: New file.
9301
5854b38a
SA
93022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9303
9304 * gdb.base/vla-datatypes.c: New file.
9305 * gdb.base/vla-datatypes.exp: New file.
9306
463bb957
SA
93072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9308
9309 * gdb.base/vla-ptr.c: New file.
9310 * gdb.base/vla-ptr.exp: New file.
9311
3dd170be
SA
93122014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9313
9314 * gdb.dwarf2/count.exp: New file.
9315
5ecaaa66
SA
93162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
9317
9318 * gdb.base/vla-sideeffect.c: New file.
9319 * gdb.base/vla-sideeffect.exp: New file.
9320
41f1ada5
DB
93212014-04-14 David Blaikie <dblaikie@gmail.com>
9322
9323 * gdb.mi/non-stop.c: Add return value for non-void function return
9324 statement.
9325 * gdb.threads/staticthreads.c: Ditto.
9326
0be03e84
DE
93272014-04-12 Siva Chandra Reddy <sivachandra@google.com>
9328 Doug Evans <xdje42@gmail.com>
9329
9330 * gdb.guile/scm-value.c: Improve test case.
9331 * gdb.guile/scm-value.exp: Add new test.
9332
f180a1fb
DB
93332014-04-11 David Blaikie <dblaikie@gmail.com>
9334
9335 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
9336 override Clang's default.
9337
6b662e19
JB
93382014-04-11 Joel Brobecker <brobecker@adacore.com>
9339
9340 Revert the following changes (regressions):
9341
9342 * gdb.base/vla-sideeffect.c: New file.
9343 * gdb.base/vla-sideeffect.exp: New file.
9344
9345 * gdb.dwarf2/count.exp: New file.
9346
9347 * gdb.base/vla-multi.c: New file.
9348 * gdb.base/vla-multi.exp: New file.
9349
9350 * gdb.base/vla-ptr.c: New file.
9351 * gdb.base/vla-ptr.exp: New file.
9352
9353 * gdb.base/vla-datatypes.c: New file.
9354 * gdb.base/vla-datatypes.exp: New file.
9355
9356 * gdb.mi/mi-vla-c99.exp: New file.
9357 * gdb.mi/vla.c: New file.
9358
245a5f0b
KS
93592014-04-11 Keith Seitz <keiths@redhat.com>
9360
9361 PR c++/16675
9362 * gdb.cp/cpsizeof.exp: New file.
9363 * gdb.cp/cpsizeof.cc: New file.
9364
58a84dcf
SA
93652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9366
191a8a90
JB
9367 * gdb.mi/mi-vla-c99.exp: New file.
9368 * gdb.mi/vla.c: New file.
58a84dcf 9369
c8655f75
SA
93702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9371
9372 * gdb.base/vla-datatypes.c: New file.
9373 * gdb.base/vla-datatypes.exp: New file.
9374
024e13b4
SA
93752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9376
9377 * gdb.base/vla-ptr.c: New file.
9378 * gdb.base/vla-ptr.exp: New file.
9379
1a237e0e
SA
93802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9381
9382 * gdb.base/vla-multi.c: New file.
9383 * gdb.base/vla-multi.exp: New file.
9384
504f3432
SA
93852014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9386
9387 * gdb.dwarf2/count.exp: New file.
9388
3bce8237
SA
93892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9390
191a8a90
JB
9391 * gdb.base/vla-sideeffect.c: New file.
9392 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 9393
322f9c21
YQ
93942014-04-11 Yao Qi <yao@codesourcery.com>
9395
9396 * gdb.base/completion.exp: Check file exists before running tests
9397 on file completion.
9398
d708bcd1
PA
93992014-04-10 Pedro Alves <palves@redhat.com>
9400
9401 * gdb.base/cond-eval-mode.c: New file.
9402 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9403 prepare_for_testing to build the new file. Check result of
9404 runto_main.
9405 (test_break, test_watch): New procedures.
9406 (top level): Use them.
9407
ae1d2761
PM
94082014-04-08 Pierre Muller <muller@sourceware.org>
9409
9410 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9411 Ctrl-V use for mingw hosts.
9412
7af389b8
SC
94132014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9414
9415 * gdb.python/py-value.c: Improve test case.
9416 * gdb.python/py-value.exp: Add new test.
9417
5e703181
DE
94182014-04-07 David Blaikie <dblaikie@gmail.com>
9419
9420 * lib/compiler.c: Identify the clang compiler.
9421 * lib/compiler.cc: Ditto.
9422
9810b410
YQ
94232014-04-03 Yao Qi <yao@codesourcery.com>
9424
9425 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9426
98d1b8dc
AB
94272014-04-01 Anton Blanchard <anton@samba.org>
9428
9429 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9430 messages unique.
9431
3114cea1
AB
94322014-04-01 Anton Blanchard <anton@samba.org>
9433
9434 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9435 prepare_for_testing.
9436
62f7182c
AB
94372014-04-01 Anton Blanchard <anton@samba.org>
9438
9439 * gdb.arch/ppc64-atomic-inst.c: Remove.
9440 * gdb.arch/ppc64-atomic-inst.S: New file.
9441 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9442
770e7fc7
DE
94432014-03-31 Doug Evans <dje@google.com>
9444
9445 * gdb.base/print-symbol-loading-lib.c: New file.
9446 * gdb.base/print-symbol-loading-main.c: New file.
9447 * gdb.base/print-symbol-loading.exp: New file.
9448
46e2bafa
YQ
94492014-03-31 Yao Qi <yao@codesourcery.com>
9450
9451 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9452
8776cfe9
JB
94532014-03-28 Joel Brobecker <brobecker@adacore.com>
9454
9455 * gdb.ada/mi_dyn_arr: New testcase.
9456
5d1ef361
DE
94572014-03-27 Doug Evans <dje@google.com>
9458
9459 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9460
b5bee914
YQ
94612014-03-27 Yao Qi <yao@codesourcery.com>
9462
9463 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9464 if target is nios2-*-*.
9465
0d4d0e77
YQ
94662014-03-26 Yao Qi <yao@codesourcery.com>
9467
9468 * lib/gdb.exp (readline_is_used): New proc.
9469 * gdb.base/completion.exp: Move tests on command complete up.
9470 Skip the rest of tests if readline is not used.
9471 * gdb.ada/complete.exp: Skp the test if readline is not
9472 used.
9473 * gdb.base/filesym.exp: Likewise.
9474 * gdb.base/macscp.exp: Likewise.
9475 * gdb.base/readline-ask.exp: Likewise.
9476 * gdb.base/readline.exp: Likewise.
9477 * gdb.python/py-cmd.exp: Likewise.
9478 * gdb.trace/tfile.exp: Likewise.
9479
29361eee
YQ
94802014-03-26 Yao Qi <yao@codesourcery.com>
9481
9482 * gdb.base/macscp.exp: Fix code format issues.
9483
bc9a5525
UW
94842014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9485
9486 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9487 * gdb.asm/powerpc64le.inc: New file.
9488
d3839ede
PA
94892014-03-25 Pedro Alves <palves@redhat.com>
9490 Doug Evans <dje@google.com>
9491
9492 * gdb.base/source-execution.c: New file.
9493 * gdb.base/source-execution.exp: New file.
9494 * gdb.base/source-execution.gdb: New file.
9495
01672a57
DE
94962014-03-24 Doug Evans <dje@google.com>
9497
9498 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9499 using fission.
9500
88bbeca9
HZ
95012014-03-24 Hui Zhu <hui@codesourcery.com>
9502 Pedro Alves <palves@redhat.com>
9503
9504 PR breakpoints/16101
9505 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9506 test pass/fail messages. Detect missing support for dprintf when
9507 breakpoints are actually inserted.
9508 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9509 breakpoints are actually inserted.
9510 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9511 fails.
9512
d2348791
JK
95132014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9514
9515 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9516
feef67ab
DE
95172014-03-22 Doug Evans <xdje42@gmail.com>
9518
9519 * gdb.python/python.exp (python not supported): Verify multi-line
9520 python command issues an error.
25d743f9 9521 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 9522 guile command issues an error.
feef67ab 9523
ecebef6a
MR
95242014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9525
9526 * gdb.threads/thread-specific.exp: Handle the lack of usable
9527 $this_breakpoint and $this_thread.
9528
ccdd1909
HZ
95292014-03-21 Hui Zhu <hui@codesourcery.com>
9530
9531 * gdb.base/attach.exp (do_command_attach_tests): New.
9532
beb460e8
PA
95332014-03-20 Tom Tromey <tromey@redhat.com>
9534 Pedro Alves <palves@redhat.com>
9535
9536 PR cli/15718
9537 * gdb.base/condbreak-call-false.c: New file.
9538 * gdb.base/condbreak-call-false.exp: New file.
9539
40acf43a
PA
95402014-03-20 Pedro Alves <palves@redhat.com>
9541
9542 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9543 Delete.
9544 (block_signals, unblock_signals): Delete.
9545 (child_function_2, main): Remove references to deleted variable
9546 and functions.
9547
9f5e1e02
PA
95482014-03-20 Pedro Alves <palves@redhat.com>
9549
9550 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9551 Use pthread_kill to signal thread 2.
9552 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9553 Adjust to make the test send itself a signal rather than using the
9554 host's "kill" command.
9555
99619bea
PA
95562014-03-20 Pedro Alves <palves@redhat.com>
9557
9558 * gdb.threads/multiple-step-overs.c: New file.
9559 * gdb.threads/multiple-step-overs.exp: New file.
9560 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9561 Adjust expected infrun debug output.
9562
2adfaa28
PA
95632014-03-20 Pedro Alves <palves@redhat.com>
9564
9565 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9566 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9567
31e77af2
PA
95682014-03-20 Pedro Alves <palves@redhat.com>
9569
9570 PR breakpoints/7143
9571 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9572 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9573 of gdb_test_multiple.
9574 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9575 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9576
b9f437de
PA
95772014-03-20 Pedro Alves <palves@redhat.com>
9578
9579 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9580 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9581
05adc73e
PA
95822014-03-19 Pedro Alves <palves@redhat.com>
9583
9584 * gdb.base/async.exp: Remove early return.
9585
6048b950
PA
95862014-03-19 Pedro Alves <palves@redhat.com>
9587
9588 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9589
8bcfb00a
PA
95902014-03-19 Pedro Alves <palves@redhat.com>
9591
9592 * gdb.base/async.exp (test_background): Expect \r\n after
9593 "completed." in the fail pattern.
9594
884e37dc
PA
95952014-03-19 Pedro Alves <palves@redhat.com>
9596
9597 * gdb.base/async.exp (test_background): New procedure.
9598 Use it for all background execution command tests.
9599
148e57e2
PA
96002014-03-19 Pedro Alves <palves@redhat.com>
9601
9602 * gdb.base/async.exp: Use prepare_for_testing.
9603
f48088c7
PA
96042014-03-19 Pedro Alves <palves@redhat.com>
9605
9606 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9607 the same line.
9608
e2f6c966
PA
96092014-03-19 Pedro Alves <palves@redhat.com>
9610
9611 * gdb.base/async.c (main): Add "jump here" and "until here" line
9612 marker comments.
9613 * gdb.base/async.exp (jump_here): New global.
9614 (jump& test): Use it.
9615 (until_here): New global.
9616 (until& test): Use it.
9617
c30568d4
PA
96182014-03-19 Pedro Alves <palves@redhat.com>
9619
9620 * gdb.base/async.exp: Don't frob gdb_protocol.
9621
0172b6a7
DE
96222014-03-18 Doug Evans <xdje42@gmail.com>
9623
9624 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9625 Fix spelling of exec-done-display.
9626
06c868a8
JK
96272014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9628
9629 PR gdb/15358
9630 * gdb.base/gdb-sigterm.c: New file.
9631 * gdb.base/gdb-sigterm.exp: New file.
9632
0c7e1a46
PA
96332014-03-18 Pedro Alves <palves@redhat.com>
9634
9635 PR gdb/13860
9636 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9637 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9638 solib-event.
9639
f7c77d93
JB
96402014-03-17 Joel Brobecker <brobecker@adacore.com>
9641
9642 * gdb.ada/pckd_arr_ren: New testcase.
9643
5a1e8c7a
DE
96442014-03-13 Doug Evans <xdje42@gmail.com>
9645
9646 PR guile/16612
9647 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9648 collect after discarding symbols.
9649
350e1a76
DE
96502014-03-13 Ludovic Courtès <ludo@gnu.org>
9651 Doug Evans <xdje42@gmail.com>
9652
9653 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9654 to history survives a gc.
9655
a69900ae
PA
96562014-03-13 Pedro Alves <palves@redhat.com>
9657
9658 * gdb.base/default.exp: Don't test "target procfs".
9659
5db9f0bd
PA
96602014-03-13 Pedro Alves <palves@redhat.com>
9661
9662 * gdb.base/default.exp: Update "target child" and "target procfs"
9663 tests to not expect "Unix".
9664
b3ccfe11
TT
96652014-03-12 Tom Tromey <tromey@redhat.com>
9666
9667 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9668 New procs. Add target-async tests.
9669 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9670 Add target-async tests.
9671
646f4417
AA
96722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9673
9674 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9675 'func_start' and 'func_end' for the beginning and end of the
9676 function code, respectively.
9677 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9678 'func_end' instead of 'func' and 'main'.
9679
288c211f
AA
96802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9681
9682 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9683 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9684 generate the debug info assembler source.
9685
e0c0f156
AA
96862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9687
9688 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9689 * gdb.dwarf2/arr-subrange.exp: Likewise.
9690 * gdb.dwarf2/dwz.exp: Likewise.
9691 * gdb.dwarf2/method-ptr.exp: Likewise.
9692 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9693 * gdb.dwarf2/subrange.exp: Likewise.
9694 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9695 * gdb.dwarf2/implptrpiece.exp: Likewise.
9696 * gdb.dwarf2/nostaticblock.exp: Likewise.
9697
0e5c4555
AA
96982014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9699
9700 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9701 directory to absolute path name arguments.
9702
5ec18f2b
JG
97032014-03-10 Joel Brobecker <brobecker@adacore.com>
9704
9705 * gdb.ada/tagged_access: New testcase.
9706
847fc4f2
MM
97072014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9708
9709 * gdb.btrace/data.exp: Update expected output.
9710
cc3da688
YQ
97112014-03-06 Yao Qi <yao@codesourcery.com>
9712
9713 * gdb.trace/pr16508.exp: New file.
9714
0f26cec1
PA
97152014-03-05 Pedro Alves <palves@redhat.com>
9716
9717 PR gdb/16575
9718 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9719 procedure.
9720 (top level): Adjust to use it. Add tests that exercise breakpoint
9721 interaction with the code-cache.
9722
7a5a839f
LC
97232014-02-26 Ludovic Courtès <ludo@gnu.org>
9724
9725 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9726 test for 'history-append!'.
9727
31aa7e4e
JB
97282014-02-26 Joel Brobecker <brobecker@adacore.com>
9729
9730 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9731 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9732 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9733 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9734 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9735 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9736
1b588015
JB
97372014-02-26 Joel Brobecker <brobecker@adacore.com>
9738
9739 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9740 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9741 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9742
55426c9d
JB
97432014-02-26 Joel Brobecker <brobecker@adacore.com>
9744
9745 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9746
dc53a7ad
JB
97472014-02-26 Joel Brobecker <brobecker@adacore.com>
9748
9749 * gdb.dwarf2/arr-stride.c: New file.
9750 * gdb.dwarf2/arr-stride.exp: New file.
9751
12ab52e9
PA
97522014-02-26 Pedro Alves <palves@redhat.com>
9753
9754 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9755 that won't ever trigger. Make sure that GDB reports the correct
9756 breakpoint that caused the stop.
9757
849c862e
JK
97582014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9759
9760 PR gdb/16626
9761 * gdb.base/auto-load-script: New file.
9762 * gdb.base/auto-load.c: New file.
9763 * gdb.base/auto-load.exp: New file.
9764
71b7d793
JK
9765 PR gdb/16626
9766 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9767
e2f0d509
JK
97682014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9769
9770 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9771 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9772
50cc37c8
DE
97732014-02-24 Doug Evans <dje@google.com>
9774
9775 * lib/gdb.exp (run_on_host): Log error output if program fails.
9776
ea4758f2
PA
97772014-02-21 Pedro Alves <palves@redhat.com>
9778
9779 * gdb.threads/step-after-sr-lock.c: Rename to ...
9780 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9781 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9782 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9783 ... this.
9784
d7b30f67
SDJ
97852014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9786
9787 PR tdep/16397
9788 * gdb.arch/amd64-stap-special-operands.exp: New file.
9789 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9790 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9791 * gdb.arch/amd64-stap-triplet.S: Likewise.
9792 * gdb.arch/amd64-stap-triplet.c: Likewise.
9793
83deb43f
JB
97942014-02-20 Joel Brobecker <brobecker@adacore.com>
9795
9796 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9797 in .section pseudo-op.
9798
adde2bff
DE
97992014-02-20 lin zuojian <manjian2006@gmail.com>
9800 Joel Brobecker <brobecker@adacore.com>
9801 Doug Evans <xdje42@gmail.com>
9802
9803 PR symtab/16581
9804 * gdb.dwarf2/dw2-icycle.S: New file.
9805 * gdb.dwarf2/dw2-icycle.c: New file.
9806 * gdb.dwarf2/dw2-icycle.exp: New file.
9807
f7bd0f78
SC
98082014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9809
9810 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9811 operations on gdb.Value objects.
9812 * gdb.python/py-value-cc.exp: Add new test to test operations on
9813 gdb.Value objects.
9814
c17ef0d5
DE
98152014-02-18 Doug Evans <dje@google.com>
9816
9817 * Makefile.in (TESTS): New variable.
9818 (expanded_tests, expanded_tests_or_none): New variables
9819 (check-single): Pass $(expanded_tests_or_none) to runtest.
9820 (check-parallel): Only run tests in $(TESTS) if non-empty.
9821 (check/no-matching-tests-found): New rule.
9822 * README: Document TESTS makefile variable.
9823
5dd3176f
DE
98242014-02-18 Doug Evans <dje@google.com>
9825
9826 * Makefile.in (check-parallel): rm -rf outputs temp.
9827
0b10be4f
JK
98282014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9829
9830 Fix "ERROR: no fileid for" in the testsuite.
9831 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9832
85f224e7
DE
98332014-02-12 Doug Evans <dje@google.com>
9834
9835 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9836 (MISCELLANEOUS): New variable.
9837 (clean): rm -rf $(MISCELLANEOUS).
9838 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9839 dwp live in the same directory as symlinks, with each symlink pointed
9840 to a differently named file in a different directory.
9841
149b30ff
DE
98422014-02-11 Doug Evans <dje@google.com>
9843
9844 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9845 of Tcl file commands.
9846
1dfdac32
MK
98472014-02-10 Mark Kettenis <kettenis@gnu.org>
9848
9849 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9850 "kill -SIGUSR1 -1".
9851
aa4fb036
JB
98522014-02-10 Joel Brobecker <brobecker@adacore.com>
9853
9854 * gdb.ada/tick_length_array_enum_idx: New testcase.
9855
ed3ef339
DE
98562014-02-10 Doug Evans <xdje42@gmail.com>
9857
9858 * configure.ac (AC_OUTPUT): Add gdb.guile.
9859 * configure: Regenerate.
9860 * lib/gdb-guile.exp: New file.
9861 * lib/gdb.exp (get_target_charset): New function.
9862 * gdb.base/help.exp: Update expected output from "apropos apropos".
9863 * gdb.guile/Makefile.in: New file.
9864 * gdb.guile/guile.exp: New file.
9865 * gdb.guile/scm-arch.c: New file.
9866 * gdb.guile/scm-arch.exp: New file.
9867 * gdb.guile/scm-block.c: New file.
9868 * gdb.guile/scm-block.exp: New file.
9869 * gdb.guile/scm-breakpoint.c: New file.
9870 * gdb.guile/scm-breakpoint.exp: New file.
9871 * gdb.guile/scm-disasm.c: New file.
9872 * gdb.guile/scm-disasm.exp: New file.
9873 * gdb.guile/scm-equal.c: New file.
9874 * gdb.guile/scm-equal.exp: New file.
9875 * gdb.guile/scm-error.exp: New file.
9876 * gdb.guile/scm-error.scm: New file.
9877 * gdb.guile/scm-frame-args.c: New file.
9878 * gdb.guile/scm-frame-args.exp: New file.
9879 * gdb.guile/scm-frame-args.scm: New file.
9880 * gdb.guile/scm-frame-inline.c: New file.
9881 * gdb.guile/scm-frame-inline.exp: New file.
9882 * gdb.guile/scm-frame.c: New file.
9883 * gdb.guile/scm-frame.exp: New file.
9884 * gdb.guile/scm-generics.exp: New file.
9885 * gdb.guile/scm-gsmob.exp: New file.
9886 * gdb.guile/scm-iterator.c: New file.
9887 * gdb.guile/scm-iterator.exp: New file.
9888 * gdb.guile/scm-math.c: New file.
9889 * gdb.guile/scm-math.exp: New file.
9890 * gdb.guile/scm-objfile-script-gdb.in: New file.
9891 * gdb.guile/scm-objfile-script.c: New file.
9892 * gdb.guile/scm-objfile-script.exp: New file.
9893 * gdb.guile/scm-objfile.c: New file.
9894 * gdb.guile/scm-objfile.exp: New file.
9895 * gdb.guile/scm-ports.exp: New file.
9896 * gdb.guile/scm-pretty-print.c: New file.
9897 * gdb.guile/scm-pretty-print.exp: New file.
9898 * gdb.guile/scm-pretty-print.scm: New file.
9899 * gdb.guile/scm-section-script.c: New file.
9900 * gdb.guile/scm-section-script.exp: New file.
9901 * gdb.guile/scm-section-script.scm: New file.
9902 * gdb.guile/scm-symbol.c: New file.
9903 * gdb.guile/scm-symbol.exp: New file.
9904 * gdb.guile/scm-symtab-2.c: New file.
9905 * gdb.guile/scm-symtab.c: New file.
9906 * gdb.guile/scm-symtab.exp: New file.
9907 * gdb.guile/scm-type.c: New file.
9908 * gdb.guile/scm-type.exp: New file.
9909 * gdb.guile/scm-value-cc.cc: New file.
9910 * gdb.guile/scm-value-cc.exp: New file.
9911 * gdb.guile/scm-value.c: New file.
9912 * gdb.guile/scm-value.exp: New file.
9913 * gdb.guile/source2.scm: New file.
9914 * gdb.guile/types-module.cc: New file.
9915 * gdb.guile/types-module.exp: New file.
9916
7026a7c1
YQ
99172014-02-10 Yao Qi <yao@codesourcery.com>
9918
9919 PR testsuite/16543
9920 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9921 * configure: Regenerated.
9922 * Makefile.in: New file.
9923
6c466447
AS
99242014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9925
9926 * gdb.python/py-framefilter.exp: Fix typo.
9927
6e854735
YQ
99282014-02-08 Yao Qi <yao@codesourcery.com>
9929
9930 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9931 that no =breakpoint-modified is emitted when breakpoints are
9932 modified through MI commands.
9933
d137e6dc
PA
99342014-02-07 Pedro Alves <pedro@codesourcery.com>
9935 Pedro Alves <palves@redhat.com>
9936
9937 * gdb.threads/step-after-sr-lock.c: New file.
9938 * gdb.threads/step-after-sr-lock.exp: New file.
9939
b5ee5a50
PA
99402014-02-07 Pedro Alves <palves@redhat.com>
9941
9942 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9943
3c77faf3
JK
99442014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9945
9946 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9947 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9948
6dddc817
DE
99492014-02-06 Doug Evans <xdje42@gmail.com>
9950
9951 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9952 output.
9953
9954 * gdb.gdb/python-interrupts.exp: New file.
9955
de7b2893
YQ
99562014-02-05 Yao Qi <yao@codesourcery.com>
9957
9958 * gdb.trace/report.exp (use_collected_data): Test the output
9959 of "info threads" and "info inferiors".
9960
66d032ac
YQ
99612014-02-05 Yao Qi <yao@codesourcery.com>
9962
9963 Revert this patch:
9964
9965 2013-05-24 Yao Qi <yao@codesourcery.com>
9966
9967 * gdb.trace/tfile.exp: Test inferior and thread.
9968
591a12a1
UW
99692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9970
9971 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9972 on a function.
9973 * gdb.base/step-bt.c: Call hello via function pointer to make
9974 sure its first instruction is executed on powerpc64le-linux.
9975
0ff3e01f
UW
99762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9977
9978 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9979
084ee545
UW
99802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9981
9982 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9983 of the test patterns for use on little-endian systems.
9984
6ed14ff3
UW
99852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9986
9987 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9988 (decimal_vector): Fix for little-endian.
9989
401e27fd
JM
99902014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9991
9992 * gdb.arch/sparc-sysstep.exp: New file.
9993 * gdb.arch/sparc-sysstep.c: Likewise.
9994
9995 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9996
8b924729
EBM
99972014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9998
9999 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
10000
fb151210
JB
100012014-01-23 Tom Tromey <tromey@redhat.com>
10002
10003 * gdb.ada/array_char_idx: New testcase.
10004
0740f8d8
TT
100052014-01-23 Tom Tromey <tromey@redhat.com>
10006
10007 PR python/16487:
10008 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
10009 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
10010 classes.
10011
21909fa1
TT
100122014-01-23 Tom Tromey <tromey@redhat.com>
10013
10014 PR python/16491:
10015 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
10016 string from an inferior frame.
10017 * gdb.python/py-framefilter-mi.exp: Update.
10018
87ce2a04
DE
100192014-01-22 Doug Evans <dje@google.com>
10020
10021 * gdb.server/server-mon.exp: Add tests for "set debug-format".
10022
237b092b
AA
100232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10024
10025 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
10026
d674a709
AA
100272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10028
10029 * gdb.trace/entry-values.exp: Remove excess space character from
10030 regex patterns. Handle s390 call instruction.
10031
20fa3390
AA
100322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10033
10034 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
10035 define "*_start" label. Make "name" static.
10036 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
10037 ${name} by references to ${name}_start.
10038
78466714
AA
100392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10040
10041 * gdb.base/info-macros.exp: Remove "debug" from the compile
10042 options.
10043
ec9f644a
IB
100442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10045
10046 * gdb.dlang/demangle.exp: New file.
10047
94b1b47e
IB
100482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10049
10050 * gdb.dlang/primitive-types.exp: New file.
10051
7f420862
IB
100522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10053
10054 * configure.ac: Create gdb.dlang/Makefile.
10055 * configure: Regenerate.
10056 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
10057 * gdb.dlang/Makefile.in: New file.
10058 * lib/d-support.exp: New file.
10059 * lib/gdb.exp (skip_d_tests): New proc.
10060
52834460
MM
100612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10062
10063 * gdb.btrace/delta.exp: Check reverse stepi.
10064 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
10065 * gdb.btrace/finish.exp: New.
10066 * gdb.btrace/next.exp: New.
10067 * gdb.btrace/nexti.exp: New.
10068 * gdb.btrace/record_goto.c: Add comments.
10069 * gdb.btrace/step.exp: New.
10070 * gdb.btrace/stepi.exp: New.
10071 * gdb.btrace/multi-thread-step.c: New.
10072 * gdb.btrace/multi-thread-step.exp: New.
10073 * gdb.btrace/rn-dl-bind.c: New.
10074 * gdb.btrace/rn-dl-bind.exp: New.
10075 * gdb.btrace/data.c: New.
10076 * gdb.btrace/data.exp: New.
10077 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10078
6e07b1d2
MM
100792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10080
10081 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
10082 * gdb.btrace/exception.exp: Update.
10083 * gdb.btrace/instruction_history.exp: Update.
10084 * gdb.btrace/record_goto.exp: Update.
10085 * gdb.btrace/tailcall.exp: Update.
10086 * gdb.btrace/unknown_functions.exp: Update.
10087 * gdb.btrace/delta.exp: New.
10088
0b722aec
MM
100892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10090
10091 * gdb.btrace/record_goto.exp: Add backtrace test.
10092 * gdb.btrace/tailcall.exp: Add backtrace test.
10093
066ce621
MM
100942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10095
10096 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
10097 * gdb.btrace/record_goto.c: New.
10098 * gdb.btrace/record_goto.exp: New.
10099 * gdb.btrace/x86-record_goto.S: New.
10100
0688d04e
MM
101012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10102
10103 * gdb.btrace/function_call_history.exp: Update tests.
10104 * gdb.btrace/instruction_history.exp: Update tests.
10105
8710b709
MM
101062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10107
10108 * gdb.btrace/function_call_history.exp: Fix expected field
10109 order for "record function-call-history".
10110 Add new tests for "record function-call-history /c".
10111 * gdb.btrace/exception.cc: New.
10112 * gdb.btrace/exception.exp: New.
10113 * gdb.btrace/tailcall.exp: New.
10114 * gdb.btrace/x86-tailcall.S: New.
10115 * gdb.btrace/x86-tailcall.c: New.
10116 * gdb.btrace/unknown_functions.c: New.
10117 * gdb.btrace/unknown_functions.exp: New.
10118 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
10119
5de9129b
MM
101202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10121
10122 * gdb.btrace/instruction_history.exp: Update.
10123 * gdb.btrace/function_call_history.exp: Update.
10124
23a7fe75
MM
101252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10126
10127 * gdb.btrace/function_call_history.exp: Fix expected function
10128 trace.
10129 * gdb.btrace/instruction_history.exp: Initialize traced.
10130 Remove traced_functions.
10131
724c7dd8
MM
101322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10133
10134 * gdb.btrace/function_call_history.exp: Update
10135 * gdb.btrace/instruction_history.exp: Update.
10136
6d78d93b
MM
101372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10138
10139 * gdb.btrace/enable.exp: Update expected text.
10140
93a360cc
OJ
101412014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
10142
10143 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
10144 bytes.
10145
3772b53f
MR
101462014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
10147
10148 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
10149
596662fa
OJ
101502014-01-15 Omair Javaid <omair.javaid@linaro.org>
10151
10152 * lib/gdb.exp (supports_process_record): Return true for
10153 arm*-linux*. (supports_reverse): Likewise.
10154
b5b08fb4
SC
101552014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10156
10157 PR python/15464
10158 PR python/16113
10159 * gdb.python/py-type.c: Enhance test case.
10160 * gdb.python/py-value-cc.cc: Likewise
10161 * gdb.python/py-type.exp: Add new tests.
10162 * gdb.python/py-value-cc.exp: Likewise
10163
52d7fb13
AA
101642014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10165 Pedro Alves <palves@redhat.com>
10166
10167 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
10168 Make "name" extern.
10169 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
10170 references to ${name}_start by references to ${name}.
10171
a2cd8cfe
JB
101722014-01-10 Joel Brobecker <brobecker@adacore.com>
10173
10174 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
10175
4e23fced
JB
101762014-01-10 Joel Brobecker <brobecker@adacore.com>
10177
10178 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
10179
c6a9e42c
PA
101802014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
10181 Pedro Alves <palves@redhat.com>
10182
10183 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 10184 mi_gdb_target_load.
c6a9e42c 10185
b7ea362b
PA
101862014-01-08 Pedro Alves <palves@redhat.com>
10187
10188 * gdb.threads/reconnect-signal.c: New file.
10189 * gdb.threads/reconnect-signal.exp: New file.
10190
5e3f4fab
EBM
101912014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10192
10193 * gdb.base/source-dir.exp: New file.
10194
79301218
JB
101952014-01-07 Joel Brobecker <brobecker@adacore.com>
10196
10197 * gdb.ada/mi_interface: New testcase.
10198
8e355c5d
JB
101992014-01-07 Joel Brobecker <brobecker@adacore.com>
10200
10201 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
10202 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
10203 gdb.ada/pp-rec-component/pck.ads: New files.
10204
c0d48811
JB
102052014-01-07 Joel Brobecker <brobecker@adacore.com>
10206
10207 * gdb.python/py-pp-integral.c: New file.
10208 * gdb.python/py-pp-integral.py: New file.
10209 * gdb.python/py-pp-integral.exp: New file.
10210
17b609c3 10211For older changes see ChangeLog-1993-2013.
c906108c 10212\f
8d8cb839
EZ
10213;; Local Variables:
10214;; mode: change-log
10215;; left-margin: 8
10216;; fill-column: 74
10217;; version-control: never
10218;; End:
902f2ccb 10219
618f726f 10220 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
10221 Copying and distribution of this file, with or without modification,
10222 are permitted provided the copyright notice and this notice are preserved.
This page took 2.632095 seconds and 4 git commands to generate.