]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix test names starting with uppercase using gdb_test on a single line.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
cdc7edd7
LM
12016-12-01 Luis Machado <lgustavo@codesourcery.com>
2
3 Fix test names starting with uppercase throughout the files.
4
5 * gdb.arch/i386-mpx-simple_segv.exp
6 * gdb.arch/i386-mpx.exp
7 * gdb.arch/i386-permbkpt.exp
8 * gdb.arch/pa-nullify.exp
9 * gdb.arch/powerpc-d128-regs.exp
10 * gdb.arch/vsx-regs.exp
11 * gdb.base/bfp-test.exp
12 * gdb.base/break.exp
13 * gdb.base/breakpoint-shadow.exp
14 * gdb.base/callfuncs.exp
15 * gdb.base/charset.exp
16 * gdb.base/commands.exp
17 * gdb.base/completion.exp
18 * gdb.base/dfp-test.exp
19 * gdb.base/echo.exp
20 * gdb.base/ending-run.exp
21 * gdb.base/eval.exp
22 * gdb.base/expand-psymtabs.exp
23 * gdb.base/float128.exp
24 * gdb.base/floatn.exp
25 * gdb.base/foll-exec-mode.exp
26 * gdb.base/gdb1056.exp
27 * gdb.base/gdb11531.exp
28 * gdb.base/kill-after-signal.exp
29 * gdb.base/multi-forks.exp
30 * gdb.base/overlays.exp
31 * gdb.base/pending.exp
32 * gdb.base/sepdebug.exp
33 * gdb.base/testenv.exp
34 * gdb.base/valgrind-db-attach.exp
35 * gdb.base/watch_thread_num.exp
36 * gdb.base/watchpoint-cond-gone.exp
37 * gdb.base/watchpoint.exp
38 * gdb.base/watchpoints.exp
39 * gdb.cp/arg-reference.exp
40 * gdb.cp/baseenum.exp
41 * gdb.cp/operator.exp
42 * gdb.cp/shadow.exp
43 * gdb.dwarf2/dw2-op-out-param.exp
44 * gdb.dwarf2/dw2-reg-undefined.exp
45 * gdb.go/chan.exp
46 * gdb.go/hello.exp
47 * gdb.go/integers.exp
48 * gdb.go/methods.exp
49 * gdb.go/package.exp
50 * gdb.guile/scm-parameter.exp
51 * gdb.guile/scm-progspace.exp
52 * gdb.guile/scm-value.exp
53 * gdb.mi/mi-pending.exp
54 * gdb.mi/user-selected-context-sync.exp
55 * gdb.multi/multi-attach.exp
56 * gdb.multi/tids.exp
57 * gdb.opt/clobbered-registers-O2.exp
58 * gdb.pascal/floats.exp
59 * gdb.pascal/integers.exp
60 * gdb.python/py-block.exp
61 * gdb.python/py-events.exp
62 * gdb.python/py-parameter.exp
63 * gdb.python/py-symbol.exp
64 * gdb.python/py-symtab.exp
65 * gdb.python/py-type.exp
66 * gdb.python/py-value.exp
67 * gdb.python/py-xmethods.exp
68 * gdb.python/python.exp
69 * gdb.reverse/break-precsave.exp
70 * gdb.reverse/consecutive-precsave.exp
71 * gdb.reverse/finish-precsave.exp
72 * gdb.reverse/i386-precsave.exp
73 * gdb.reverse/machinestate-precsave.exp
74 * gdb.reverse/sigall-precsave.exp
75 * gdb.reverse/solib-precsave.exp
76 * gdb.reverse/step-precsave.exp
77 * gdb.reverse/until-precsave.exp
78 * gdb.reverse/watch-precsave.exp
79 * gdb.server/ext-attach.exp
80 * gdb.server/ext-restart.exp
81 * gdb.server/ext-run.exp
82 * gdb.server/ext-wrapper.exp
83 * gdb.stabs/gdb11479.exp
84 * gdb.stabs/weird.exp
85 * gdb.threads/attach-many-short-lived-threads.exp
86 * gdb.threads/kill.exp
87 * gdb.threads/watchpoint-fork.exp
88
bc6c7af4
LM
892016-12-01 Luis Machado <lgustavo@codesourcery.com>
90
91 Fix test names starting with uppercase throughout all the files below.
92
93 * gdb.ada/array_return.exp
94 * gdb.ada/catch_ex.exp
95 * gdb.ada/info_exc.exp
96 * gdb.ada/mi_catch_ex.exp
97 * gdb.ada/mi_dyn_arr.exp
98 * gdb.ada/mi_ex_cond.exp
99 * gdb.ada/mi_exc_info.exp
100 * gdb.ada/mi_interface.exp
101 * gdb.ada/mi_task_arg.exp
102 * gdb.ada/mi_task_info.exp
103 * gdb.ada/mi_var_array.exp
104 * gdb.arch/alpha-step.exp
105 * gdb.arch/amd64-disp-step.exp
106 * gdb.arch/arm-disp-step.exp
107 * gdb.arch/disp-step-insn-reloc.exp
108 * gdb.arch/e500-prologue.exp
109 * gdb.arch/ftrace-insn-reloc.exp
110 * gdb.arch/gdb1558.exp
111 * gdb.arch/i386-bp_permanent.exp
112 * gdb.arch/i386-disp-step.exp
113 * gdb.arch/i386-float.exp
114 * gdb.arch/i386-gnu-cfi.exp
115 * gdb.arch/ia64-breakpoint-shadow.exp
116 * gdb.arch/mips16-thunks.exp
117 * gdb.arch/pa-nullify.exp
118 * gdb.arch/powerpc-aix-prologue.exp
119 * gdb.arch/powerpc-power.exp
120 * gdb.arch/ppc-dfp.exp
121 * gdb.arch/s390-tdbregs.exp
122 * gdb.arch/spu-info.exp
123 * gdb.arch/spu-ls.exp
124 * gdb.arch/thumb-bx-pc.exp
125 * gdb.base/advance.exp
126 * gdb.base/annota-input-while-running.exp
127 * gdb.base/arrayidx.exp
128 * gdb.base/asmlabel.exp
129 * gdb.base/async.exp
130 * gdb.base/attach-wait-input.exp
131 * gdb.base/auto-connect-native-target.exp
132 * gdb.base/batch-preserve-term-settings.exp
133 * gdb.base/bfp-test.exp
134 * gdb.base/bigcore.exp
135 * gdb.base/bp-permanent.exp
136 * gdb.base/break-always.exp
137 * gdb.base/break-fun-addr.exp
138 * gdb.base/break-idempotent.exp
139 * gdb.base/break-main-file-remove-fail.exp
140 * gdb.base/break-probes.exp
141 * gdb.base/break-unload-file.exp
142 * gdb.base/break.exp
143 * gdb.base/call-ar-st.exp
144 * gdb.base/call-rt-st.exp
145 * gdb.base/call-sc.exp
146 * gdb.base/call-signal-resume.exp
147 * gdb.base/call-strs.exp
148 * gdb.base/callexit.exp
149 * gdb.base/callfuncs.exp
150 * gdb.base/catch-gdb-caused-signals.exp
151 * gdb.base/catch-signal-siginfo-cond.exp
152 * gdb.base/catch-syscall.exp
153 * gdb.base/compare-sections.exp
154 * gdb.base/cond-eval-mode.exp
155 * gdb.base/condbreak-call-false.exp
156 * gdb.base/consecutive-step-over.exp
157 * gdb.base/cursal.exp
158 * gdb.base/disabled-location.exp
159 * gdb.base/disasm-end-cu.exp
160 * gdb.base/display.exp
161 * gdb.base/double-prompt-target-event-error.exp
162 * gdb.base/dprintf-bp-same-addr.exp
163 * gdb.base/dprintf-detach.exp
164 * gdb.base/dprintf-next.exp
165 * gdb.base/dprintf-non-stop.exp
166 * gdb.base/dprintf-pending.exp
167 * gdb.base/dso2dso.exp
168 * gdb.base/ending-run.exp
169 * gdb.base/enum_cond.exp
170 * gdb.base/examine-backward.exp
171 * gdb.base/exe-lock.exp
172 * gdb.base/exec-invalid-sysroot.exp
173 * gdb.base/execl-update-breakpoints.exp
174 * gdb.base/execution-termios.exp
175 * gdb.base/fileio.exp
176 * gdb.base/fixsection.exp
177 * gdb.base/foll-exec-mode.exp
178 * gdb.base/foll-exec.exp
179 * gdb.base/fork-running-state.exp
180 * gdb.base/frame-args.exp
181 * gdb.base/fullpath-expand.exp
182 * gdb.base/func-ptr.exp
183 * gdb.base/gcore-relro-pie.exp
184 * gdb.base/gdb1090.exp
185 * gdb.base/gdb1555.exp
186 * gdb.base/global-var-nested-by-dso.exp
187 * gdb.base/gnu-ifunc.exp
188 * gdb.base/hbreak-in-shr-unsupported.exp
189 * gdb.base/hbreak-unmapped.exp
190 * gdb.base/hook-stop.exp
191 * gdb.base/infcall-input.exp
192 * gdb.base/info-fun.exp
193 * gdb.base/info-shared.exp
194 * gdb.base/interrupt-noterm.exp
195 * gdb.base/jit-so.exp
196 * gdb.base/jit.exp
197 * gdb.base/line-symtabs.exp
198 * gdb.base/list.exp
199 * gdb.base/longjmp.exp
200 * gdb.base/macscp.exp
201 * gdb.base/max-value-size.exp
202 * gdb.base/nodebug.exp
203 * gdb.base/nofield.exp
204 * gdb.base/overlays.exp
205 * gdb.base/paginate-after-ctrl-c-running.exp
206 * gdb.base/paginate-bg-execution.exp
207 * gdb.base/paginate-inferior-exit.exp
208 * gdb.base/pending.exp
209 * gdb.base/pr11022.exp
210 * gdb.base/printcmds.exp
211 * gdb.base/ptr-typedef.exp
212 * gdb.base/ptype.exp
213 * gdb.base/randomize.exp
214 * gdb.base/range-stepping.exp
215 * gdb.base/realname-expand.exp
216 * gdb.base/relativedebug.exp
217 * gdb.base/remote.exp
218 * gdb.base/savedregs.exp
219 * gdb.base/sepdebug.exp
220 * gdb.base/set-noassign.exp
221 * gdb.base/shlib-call.exp
222 * gdb.base/shreloc.exp
223 * gdb.base/sigaltstack.exp
224 * gdb.base/sigbpt.exp
225 * gdb.base/siginfo-addr.exp
226 * gdb.base/siginfo-obj.exp
227 * gdb.base/siginfo-thread.exp
228 * gdb.base/signest.exp
229 * gdb.base/signull.exp
230 * gdb.base/sigrepeat.exp
231 * gdb.base/skip.exp
232 * gdb.base/so-impl-ld.exp
233 * gdb.base/solib-corrupted.exp
234 * gdb.base/solib-disc.exp
235 * gdb.base/solib-display.exp
236 * gdb.base/solib-overlap.exp
237 * gdb.base/solib-search.exp
238 * gdb.base/solib-symbol.exp
239 * gdb.base/source-execution.exp
240 * gdb.base/sss-bp-on-user-bp-2.exp
241 * gdb.base/sss-bp-on-user-bp.exp
242 * gdb.base/stack-checking.exp
243 * gdb.base/stale-infcall.exp
244 * gdb.base/step-break.exp
245 * gdb.base/step-line.exp
246 * gdb.base/step-over-exit.exp
247 * gdb.base/step-test.exp
248 * gdb.base/structs.exp
249 * gdb.base/sym-file.exp
250 * gdb.base/symtab-search-order.exp
251 * gdb.base/term.exp
252 * gdb.base/type-opaque.exp
253 * gdb.base/unload.exp
254 * gdb.base/until-nodebug.exp
255 * gdb.base/until.exp
256 * gdb.base/unwindonsignal.exp
257 * gdb.base/watch-cond.exp
258 * gdb.base/watch-non-mem.exp
259 * gdb.base/watch_thread_num.exp
260 * gdb.base/watchpoint-reuse-slot.exp
261 * gdb.base/watchpoint-solib.exp
262 * gdb.base/watchpoint.exp
263 * gdb.btrace/dlopen.exp
264 * gdb.cell/arch.exp
265 * gdb.cell/break.exp
266 * gdb.cell/bt.exp
267 * gdb.cell/core.exp
268 * gdb.cell/data.exp
269 * gdb.cell/dwarfaddr.exp
270 * gdb.cell/ea-cache.exp
271 * gdb.cell/ea-standalone.exp
272 * gdb.cell/ea-test.exp
273 * gdb.cell/f-regs.exp
274 * gdb.cell/fork.exp
275 * gdb.cell/gcore.exp
276 * gdb.cell/mem-access.exp
277 * gdb.cell/ptype.exp
278 * gdb.cell/registers.exp
279 * gdb.cell/sizeof.exp
280 * gdb.cell/solib-symbol.exp
281 * gdb.cell/solib.exp
282 * gdb.compile/compile-tls.exp
283 * gdb.cp/exception.exp
284 * gdb.cp/gdb2495.exp
285 * gdb.cp/local.exp
286 * gdb.cp/mb-inline.exp
287 * gdb.cp/mb-templates.exp
288 * gdb.cp/pr10687.exp
289 * gdb.cp/pr9167.exp
290 * gdb.cp/scope-err.exp
291 * gdb.cp/templates.exp
292 * gdb.cp/virtfunc.exp
293 * gdb.dwarf2/dw2-dir-file-name.exp
294 * gdb.dwarf2/dw2-single-line-discriminators.exp
295 * gdb.fortran/complex.exp
296 * gdb.fortran/library-module.exp
297 * gdb.guile/guile.exp
298 * gdb.guile/scm-cmd.exp
299 * gdb.guile/scm-frame-inline.exp
300 * gdb.guile/scm-objfile.exp
301 * gdb.guile/scm-pretty-print.exp
302 * gdb.guile/scm-symbol.exp
303 * gdb.guile/scm-type.exp
304 * gdb.guile/scm-value.exp
305 * gdb.linespec/keywords.exp
306 * gdb.linespec/ls-errs.exp
307 * gdb.linespec/macro-relative.exp
308 * gdb.linespec/thread.exp
309 * gdb.mi/mi-breakpoint-changed.exp
310 * gdb.mi/mi-dprintf-pending.exp
311 * gdb.mi/mi-fullname-deleted.exp
312 * gdb.mi/mi-logging.exp
313 * gdb.mi/mi-pending.exp
314 * gdb.mi/mi-solib.exp
315 * gdb.mi/new-ui-mi-sync.exp
316 * gdb.mi/user-selected-context-sync.exp
317 * gdb.multi/dummy-frame-restore.exp
318 * gdb.multi/multi-arch-exec.exp
319 * gdb.multi/remove-inferiors.exp
320 * gdb.multi/watchpoint-multi-exit.exp
321 * gdb.opt/solib-intra-step.exp
322 * gdb.perf/backtrace.exp
323 * gdb.perf/single-step.exp
324 * gdb.perf/skip-command.exp
325 * gdb.perf/skip-prologue.exp
326 * gdb.perf/solib.exp
327 * gdb.python/lib-types.exp
328 * gdb.python/py-as-string.exp
329 * gdb.python/py-bad-printers.exp
330 * gdb.python/py-block.exp
331 * gdb.python/py-breakpoint.exp
332 * gdb.python/py-cmd.exp
333 * gdb.python/py-events.exp
334 * gdb.python/py-evthreads.exp
335 * gdb.python/py-finish-breakpoint.exp
336 * gdb.python/py-finish-breakpoint2.exp
337 * gdb.python/py-frame-inline.exp
338 * gdb.python/py-frame.exp
339 * gdb.python/py-inferior.exp
340 * gdb.python/py-infthread.exp
341 * gdb.python/py-mi.exp
342 * gdb.python/py-objfile.exp
343 * gdb.python/py-pp-maint.exp
344 * gdb.python/py-pp-registration.exp
345 * gdb.python/py-prettyprint.exp
346 * gdb.python/py-recurse-unwind.exp
347 * gdb.python/py-shared.exp
348 * gdb.python/py-symbol.exp
349 * gdb.python/py-symtab.exp
350 * gdb.python/py-template.exp
351 * gdb.python/py-type.exp
352 * gdb.python/py-unwind-maint.exp
353 * gdb.python/py-unwind.exp
354 * gdb.python/py-value.exp
355 * gdb.python/python.exp
356 * gdb.reverse/finish-reverse-bkpt.exp
357 * gdb.reverse/insn-reverse.exp
358 * gdb.reverse/next-reverse-bkpt-over-sr.exp
359 * gdb.reverse/solib-precsave.exp
360 * gdb.reverse/solib-reverse.exp
361 * gdb.stabs/gdb11479.exp
362 * gdb.stabs/weird.exp
363 * gdb.threads/fork-child-threads.exp
364 * gdb.threads/fork-plus-threads.exp
365 * gdb.threads/fork-thread-pending.exp
366 * gdb.threads/forking-threads-plus-breakpoint.exp
367 * gdb.threads/hand-call-in-threads.exp
368 * gdb.threads/interrupted-hand-call.exp
369 * gdb.threads/linux-dp.exp
370 * gdb.threads/local-watch-wrong-thread.exp
371 * gdb.threads/next-while-other-thread-longjmps.exp
372 * gdb.threads/non-ldr-exit.exp
373 * gdb.threads/pending-step.exp
374 * gdb.threads/print-threads.exp
375 * gdb.threads/process-dies-while-detaching.exp
376 * gdb.threads/process-dies-while-handling-bp.exp
377 * gdb.threads/pthreads.exp
378 * gdb.threads/queue-signal.exp
379 * gdb.threads/reconnect-signal.exp
380 * gdb.threads/signal-command-handle-nopass.exp
381 * gdb.threads/signal-command-multiple-signals-pending.exp
382 * gdb.threads/signal-delivered-right-thread.exp
383 * gdb.threads/signal-sigtrap.exp
384 * gdb.threads/sigthread.exp
385 * gdb.threads/staticthreads.exp
386 * gdb.threads/stepi-random-signal.exp
387 * gdb.threads/thread-unwindonsignal.exp
388 * gdb.threads/thread_check.exp
389 * gdb.threads/thread_events.exp
390 * gdb.threads/tid-reuse.exp
391 * gdb.threads/tls-nodebug.exp
392 * gdb.threads/tls-shared.exp
393 * gdb.threads/tls-so_extern.exp
394 * gdb.threads/tls.exp
395 * gdb.threads/wp-replication.exp
396 * gdb.trace/actions-changed.exp
397 * gdb.trace/actions.exp
398 * gdb.trace/backtrace.exp
399 * gdb.trace/change-loc.exp
400 * gdb.trace/collection.exp
401 * gdb.trace/deltrace.exp
402 * gdb.trace/disconnected-tracing.exp
403 * gdb.trace/entry-values.exp
404 * gdb.trace/ftrace-lock.exp
405 * gdb.trace/ftrace.exp
406 * gdb.trace/infotrace.exp
407 * gdb.trace/mi-trace-frame-collected.exp
408 * gdb.trace/mi-trace-unavailable.exp
409 * gdb.trace/mi-traceframe-changed.exp
410 * gdb.trace/mi-tracepoint-changed.exp
411 * gdb.trace/mi-tsv-changed.exp
412 * gdb.trace/no-attach-trace.exp
413 * gdb.trace/packetlen.exp
414 * gdb.trace/passc-dyn.exp
415 * gdb.trace/passcount.exp
416 * gdb.trace/pending.exp
417 * gdb.trace/pr16508.exp
418 * gdb.trace/qtro.exp
419 * gdb.trace/range-stepping.exp
420 * gdb.trace/read-memory.exp
421 * gdb.trace/report.exp
422 * gdb.trace/save-trace.exp
423 * gdb.trace/signal.exp
424 * gdb.trace/stap-trace.exp
425 * gdb.trace/status-stop.exp
426 * gdb.trace/strace.exp
427 * gdb.trace/tfile.exp
428 * gdb.trace/tfind.exp
429 * gdb.trace/trace-break.exp
430 * gdb.trace/trace-condition.exp
431 * gdb.trace/trace-enable-disable.exp
432 * gdb.trace/trace-mt.exp
433 * gdb.trace/tracecmd.exp
434 * gdb.trace/tracefile-pseudo-reg.exp
435 * gdb.trace/tspeed.exp
436 * gdb.trace/tstatus.exp
437 * gdb.trace/tsv.exp
438 * gdb.trace/unavailable.exp
439 * gdb.trace/while-dyn.exp
440 * gdb.trace/while-stepping.exp
441 * lib/gdb-guile.exp
442 * lib/gdb.exp
443 * lib/mi-support.exp
444 * lib/pascal.exp
445 * lib/perftest.exp
446 * lib/prelink-support.exp
447 * lib/selftest-support.exp
448
ad02e4fe
SM
4492016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
450
451 * Makefile.in: Include disable-implicit-rules.mk.
452
22347e55
AA
4532016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
454
455 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
456 non-byte-aligned bit fields.
457
da5b30da
AA
4582016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
459
460 PR gdb/12616
461 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
462 respects the DW_AT_data_bit_offset attribute.
463
b593ecca
SM
4642016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
465
466 * gdb.base/default.exp: Fix output of "set language".
467
3b165252
SM
4682016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
469
470 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
471 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
472 make.
473 * configure.ac: Remove checks for the make program.
474 * configure: Re-generate.
475
1a2f3d7f
KB
4762016-11-16 Kevin Buettner <kevinb@redhat.com>
477
478 * gdb.python/py-recurse-unwind.c (main): Add loop.
479 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
480 to read_register() and gdb.parse_and_eval(). Make each code
481 call a separate case that can be individually tested.
482 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
483 proc. Call cont_and_backtrace for each of the code paths that
484 we want to test in the unwinder.
485
b7f38fda
AA
4862016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
487
488 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
489 the definition of struct S.
490
1f8db343
CM
4912016-11-11 Catherine Moore <clm@codesourcery.com>
492
493 * gdb.base/dump.exp: Identify verilog format dump tests as such.
494
fad0c9fb
PA
4952016-11-09 Pedro Alves <palves@redhat.com>
496
497 * gdb.base/commands.exp (runto_or_return): New procedure.
498 (gdbvar_simple_if_test, gdbvar_simple_while_test)
499 (gdbvar_complex_if_while_test, progvar_simple_if_test)
500 (progvar_simple_while_test, progvar_complex_if_while_test)
501 (if_while_breakpoint_command_test)
502 (infrun_breakpoint_command_test, breakpoint_command_test)
503 (user_defined_command_test, watchpoint_command_test)
504 (test_command_prompt_position, redefine_hook_test)
505 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
506 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
507 multi_line_input and multi_line. Remove gdb_expect and
508 gdb_stop_suppressing_tests uses.
509 * lib/gdb.exp (valnum_re): New global.
510 (multi_line_input): New procedure.
511
8354c62c
SM
5122016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
513
514 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
515 Remove.
516 (test_setup): Define with proc_with_prefix.
517 (test_cli_inferior): Likewise.
518 (test_cli_thread): Likewise.
519 (test_cli_frame): Likewise.
520 (test_cli_select_frame): Likewise.
521 (test_cli_up_down): Likewise.
522 (test_mi_thread_select): Likewise.
523 (test_mi_stack_select_frame): Likewise.
524 (test_cli_in_mi_inferior): Likewise.
525 (test_cli_in_mi_thread): Likewise.
526 (test_cli_in_mi_frame): Likewise.
527 (top level): Do not use with_test_prefix_procname.
528
64f367a2
PA
5292016-11-09 Pedro Alves <palves@redhat.com>
530
531 * gdb.base/commands.exp (gdbvar_simple_if_test)
532 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
533 (progvar_simple_if_test, progvar_simple_while_test)
534 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
535 (infrun_breakpoint_command_test, breakpoint_command_test)
536 (user_defined_command_test, watchpoint_command_test)
537 (test_command_prompt_position, deprecated_command_test)
538 (bp_deleted_in_command, temporary_breakpoint_commands)
539 (stray_arg0_test, source_file_with_indented_comment)
540 (recursive_source_test, if_commands_test)
541 (error_clears_commands_left, redefine_hook_test)
542 (redefine_backtrace_test): Use proc_with_prefix.
543 * lib/gdb.exp (proc_with_prefix): New proc.
544
0bb65f1e
AA
5452016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
546
547 * gdb.base/tui-layout.c: New file.
548 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
549 disassembly window contains very long lines.
550
7353f247
TT
5512016-11-08 Tom Tromey <tom@tromey.com>
552
553 * gdb.python/py-value.exp (test_value_creation): Make "long" test
554 depend on Python 2.
555
30a7bb83
TT
5562016-11-08 Tom Tromey <tom@tromey.com>
557
558 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
559 New method.
560
cdf5a07c
MG
5612016-10-29 Manish Goregaokar <manish@mozilla.com>
562
2806dc7e 563 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 564
51a789c3
MG
5652016-10-27 Manish Goregaokar <manish@mozilla.com>
566
2806dc7e
PA
567 * gdb.rust/simple.rs: Add test for univariant enums without
568 discriminants and for encoded struct-like enums.
51a789c3 569
f610ab6d
PA
5702016-10-28 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
573 gdb_test_multiple, tighten regexps and match symtabs and line
574 tables incrementally.
575
b129b0ca
LM
5762016-10-28 Luis Machado <lgustavo@codesourcery.com>
577
578 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
579 general.
580
ecf45d2c
SL
5812016-10-25 Luis Machado <lgustavo@codesourcery.com>
582
583 * gdb.base/exec-invalid-sysroot.exp: New file.
584
b8d38ee4
JK
5852016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
586
587 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
588
f90fd8c2
JK
5892016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
590
591 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
592
2d2476aa
MR
5932016-10-19 Maciej W. Rozycki <macro@imgtec.com>
594
2806dc7e
PA
595 * gdb.base/killed-outside.exp: Remove $options from a call to
596 `prepare_for_testing'.
2d2476aa 597
e42b25a0
SM
5982016-10-17 Simon Marchi <simon.marchi@ericsson.com>
599
600 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
601 Change test message.
602
3ccdb432
SM
6032016-10-17 Simon Marchi <simon.marchi@ericsson.com>
604
605 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
606 Update comment.
607
5bad3170
SM
6082016-10-17 Simon Marchi <simon.marchi@ericsson.com>
609
610 * gdb.trace/mi-trace-save.exp: New file.
611
5ad9dba7
YQ
6122016-10-13 Yao Qi <yao.qi@linaro.org>
613
614 * gdb.base/code_elim.exp (get_var_address): Remove.
615 * gdb.base/relocate.exp: Likewise.
616 * gdb.base/shreloc.exp: Likewise.
617 * lib/gdb.exp (get_var_address): New.
618
62df7e21
YQ
6192016-10-13 Yao Qi <yao.qi@linaro.org>
620
621 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
622 floating point tests if $skip_float_test is false.
623
4dac951e
LM
6242016-10-12 Luis Machado <lgustavo@codesourcery.com>
625
626 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
627 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
628 argc values.
629 Add 1 to argc so we guarantee distinct initial/modified argc values.
630
8f1a8fc4
JK
6312016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
632
633 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
634
16c85b5d
JK
6352016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
636
637 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
638 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
639 * gdb.arch/vsx-regs.exp: Likewise.
640
1d0e042a
YQ
6412016-10-07 Yao Qi <yao.qi@linaro.org>
642
643 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
644
68dadef5
MM
6452016-10-07 Markus Metzger <markus.t.metzger@intel.com>
646
647 * gdb.python/python.exp: Test decode_line("*0").
648
33fa2c6e
DE
6492016-10-06 Doug Evans <dje@google.com>
650
651 * gdb.python/py-value.exp (test_value_creation): Add test for large
652 unsigned 64-bit value.
653
9c37b5ae
TT
6542016-10-06 Tom Tromey <tom@tromey.com>
655
656 * gdb.compile/compile.exp: Change java tests to rust.
657 * gdb.base/setshow.exp: Change java tests to rust.
658 * gdb.base/default.exp: Remove java from language list.
659 * README (Examples): Update language example.
660 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
661 test.
662 * lib/gdb.exp (skip_java_tests): Remove.
663 * lib/java.exp: Remove.
664 * gdb.java: Remove.
665
78b86327
MR
6662016-10-06 Maciej W. Rozycki <macro@imgtec.com>
667
668 * gdb.arch/mips-fcr.exp: New test.
669 * gdb.arch/mips-fcr.c: Source for the new test.
670
7470adbb
MR
6712016-10-06 Maciej W. Rozycki <macro@imgtec.com>
672
673 * gdb.base/solib-disc.exp: Use `standard_output_file'
674 throughout.
675
4a556533
PA
6762016-10-06 Pedro Alves <palves@redhat.com>
677
678 * gdb.base/jit-simple-dl.c: New file.
679 * gdb.base/jit-simple-jit.c: New file, factored out from ...
680 * gdb.base/jit-simple.c: ... this.
681 * gdb.base/jit-simple.exp (jit_run): Delete.
682 (build_jit): New proc.
683 (jit_test_reread): Recompile either the main program or the shared
684 library, depending on what is being tested. Skip changing address
685 if caller wants to. Compare before/after addresses. If testing
686 standalone, explicitly load the binary. Test "maint info
687 breakpoints".
688 (top level): Add "standalone vs shared lib" and "change address"
689 vs "same address" axes.
690
5a122fbc
PA
6912016-10-06 Pedro Alves <palves@redhat.com>
692
693 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
694 call.
695 (jit_run): Delete.
696 (jit_test_reread): Use with_test_prefix. Reload the main binary
697 explicitly. Compare the before/after addresses of the JIT
698 descriptor.
699
ee8da4b8
DE
7002016-08-15 Doug Evans <dje@google.com>
701
702 * gdb.xml/extra-regs.xml: Update, end field now required, default type
703 for single bitfields is bool.
704 * gdb.xml/tdesc-regs.exp: Ditto.
705
f389f6fe
JK
7062016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
707
708 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
709
fdebf1a4
YQ
7102016-10-05 Yao Qi <yao.qi@linaro.org>
711
712 * lib/gdb.exp (support_complex_tests): Return zero if
713 gdb_skip_float_test return true.
714
9c36d954 7152016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 716 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
717
718 PR gdb/20487
719 * gdb.mi/user-selected-context-sync.exp: New file.
720 * gdb.mi/user-selected-context-sync.c: New file.
721
4034d0ff 7222016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 723 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
724
725 PR gdb/20487
726 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
727 =thread-select-event check.
728
a4297203
PB
7292016-09-29 Peter Bergner <bergner@vnet.ibm.com>
730
731 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
732 the compulsory L operand changes.
733 * gdb.arch/powerpc-power.s: Likewise.
734
bb805577
JK
7352016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
736
737 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
738 * gdb.base/jit-attach-pie.c: New file.
739 * gdb.base/jit-attach-pie.exp: New file.
740
6d61dee5
PA
7412016-09-28 Pedro Alves <palves@redhat.com>
742
743 * gdb.base/infcall-input.c: New file.
744 * gdb.base/infcall-input.exp: New file.
745
f73842fc
YQ
7462016-09-22 Yao Qi <yao.qi@linaro.org>
747
748 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
749 (gdb_exit): Rename it to ...
750 (gdbserver_gdb_exit): ... Close GDBserver.
751 (gdb_exit): New proc, call gdbserver_gdb_exit.
752 (mi_gdb_exit): Likewise.
753
90681dab
YQ
7542016-09-22 Yao Qi <yao.qi@linaro.org>
755
756 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
757 path.
758 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
759 Remove duplication.
760
9c211fd8
YQ
7612016-09-22 Yao Qi <yao.qi@linaro.org>
762
763 * lib/gdbserver-support.exp: Check the existence of
764 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
765
ad0a504f
AK
7662016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
767
768 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
769
36cf1806
TT
7702016-09-21 Tom Tromey <tom@tromey.com>
771
772 PR gdb/20604:
773 * gdb.base/quit.exp: New file.
774
74172ecf
SM
7752016-09-21 Simon Marchi <simon.marchi@ericsson.com>
776
777 * .gitignore: New file.
778
3d0ec882
MR
7792016-09-21 Maciej W. Rozycki <macro@imgtec.com>
780
781 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
782 throughout.
783
8193adea
AA
7842016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
785
786 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
787
d41a5c09
JK
7882016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
789
790 * gdb.cp/casts.cc (decltype): Move it ...
791 (main): ... with its call to ...
792 * gdb.cp/casts03.cc: ... a new file.
793 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
794
d2dfe700
JK
7952016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
796
797 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
798
e2a92b16
PB
7992016-09-15 Peter Bergner <bergner@vnet.ibm.com>
800
801 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
802 and sync up the test with tests in gas/testsuite/gas/ppc.
803 * gdb.arch/powerpc-power.exp: Likewise.
804
49b4de64
JK
8052016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
806
807 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
808
2c29df25
SDJ
8092016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
810 Jan Kratochvil <jan.kratochvil@redhat.com>
811
812 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
813 make m1's definition to be different from m2's. Use 'dummy' as an
814 argument for probe 'two'.
815
cc3c2846
JB
8162016-09-10 Jon Beniston <jon@beniston.com>
817
818 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
819 for sim target.
820
e1b2624a
AA
8212016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
822
823 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
824 variable declaration.
825 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
826 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
827 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
828 received HWCAP as its argument.
829
4295e285
PA
8302016-09-06 Pedro Alves <palves@redhat.com>
831
832 * gdb.base/new-ui-pending-input.c: New file.
833 * gdb.base/new-ui-pending-input.exp: New file.
834 * gdb.exp (clear_gdb_spawn_id): New procedure.
835 (with_spawn_id): Check whether gdb_spawn_id exists before
836 referencing it. If gdb_spawn_id didn't exist on entry, clear it
837 on exit.
838
00d5215e
UW
8392016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
840
841 * gdb.base/float128.c: New file.
842 * gdb.base/float128.exp: Likewise.
843 * gdb.base/floatn.c: Likewise.
844 * gdb.base/floatn.exp: Likewise.
845
a9ff5f12
UW
8462016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
847
848 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
849
f245535c
PA
8502016-09-05 Pedro Alves <palves@redhat.com>
851
852 PR backtrace/19927
853 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
854 unwinders are immediately called as side effect of "source" or
855 "disable unwinder" commands.
856 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
857
ae9cf263
YQ
8582016-09-02 Yao Qi <yao.qi@linaro.org>
859
860 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
861 is true and $type is "float" or "double".
862
27aba047
YQ
8632016-09-02 Yao Qi <yao.qi@linaro.org>
864
865 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
866 true.
867 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
868 * gdb.base/call-rt-st.exp: Likewise.
869 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
870 return value instead of gdb,skip_float_test.
871 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
872 (do_function_calls): Use its return value instead of
873 gdb,skip_float_test.
874 * gdb.base/finish.exp: Likewise.
875 * gdb.base/funcargs.exp: Likewise.
876 * gdb.base/return.exp: Likewise.
877 * gdb.base/return2.exp: Likewise.
878 * gdb.base/varargs.exp: Likewise.
879 * lib/gdb.exp (gdb_skip_float_test): Change it to
880 gdb_caching_proc. Detect the broken ptrace on arm-linux.
881
5af962df
AA
8822016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
883
884 * gdb.multi/tids.exp: Test "thread apply all".
885
7fac6910
JK
8862016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
887
888 * gdb.base/default.exp (tty): Remove.
889
bb1fe4ac
KB
8902016-08-24 Kevin Buettner <kevinb@redhat.com>
891
2806dc7e
PA
892 * gdb.python/py-recurse-unwind.c: New file.
893 * gdb.python/py-recurse-unwind.py: New file.
894 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 895
0a1ddfa6
SM
8962016-08-24 Simon Marchi <simon.marchi@ericsson.com>
897
898 * gdb.base/set-inferior-tty.exp: New file.
899 * gdb.base/set-inferior-tty.c: New file.
900
d9de1fe3
PA
9012016-08-23 Pedro Alves <palves@redhat.com>
902
903 PR gdb/20494
904 * gdb.base/new-ui-echo.c: New file.
905 * gdb.base/new-ui-echo.exp: New file.
906
e9d9abd7
YQ
9072016-08-23 Yao Qi <yao.qi@linaro.org>
908
909 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
910 gdbserver_spawn.
911 * gdb.server/connect-without-multi-process.exp (do_test):
912 Likewise.
913
3589529e
YQ
9142016-08-23 Yao Qi <yao.qi@linaro.org>
915
916 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
917 standalone_txt. Delete gdb_txt and standalone_txt on host
918 and target. Spawn the binary on target. Copy files from
919 target to host.
920
6bb90213
PA
9212016-08-22 Pedro Alves <palves@redhat.com>
922
923 PR gdb/20505
924 * gdb.base/vdso-warning.exp: Test core dumps too. Use
925 with_test_prefix. Factor out bits to ...
926 (test_no_vdso): ... this new procedure.
927
20c2c024
CL
9282016-08-19 Carl Love <cel@us.ibm.com>
929
930 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
931 maintaining separate logic for constructing the output path.
932 * gdb.arch/powerpc-d128-regs.exp: Likewise.
933 * gdb.arch/ppc-dfp.exp: Likewise.
934 * gdb.arch/ppc-fp.exp: Likewise.
935 * gdb.arch/vsx-regs.exp: Likewise.
936 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
937 binprefix for generating the additional binary files.
938
0646e07d
PA
9392016-08-19 Pedro Alves <palves@redhat.com>
940
941 * gdb.trace/mi-trace-frame-collected.exp
942 (test_trace_frame_collected): On x32, expect two registers.
943
46da9242
CL
9442016-08-18 Carl Love <cel@us.ibm.com>
945
946 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
947 and sync up the test with tests in gas/testsuite/gas/ppc.
948 * gdb.arch/powerpc-power.exp: Likewise.
949
eb2332d7
SM
9502016-08-17 Simon Marchi <simon.marchi@ericsson.com>
951
952 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
953 expected error message.
954
63c61e04
SM
9552016-08-17 Simon Marchi <simon.marchi@ericsson.com>
956
957 * gdb.multi/remove-inferiors.exp: New file.
958 * gdb.multi/remove-inferiors.c: New file.
959
7b17065f
YQ
9602016-08-12 Yao Qi <yao.qi@linaro.org>
961
962 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
963 argument list.
964
01d3dedf
PA
9652016-08-10 Pedro Alves <palves@redhat.com>
966
967 PR gdb/19187
968 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
969 setup_kfails.
970
3eb7562a
PA
9712016-08-09 Pedro Alves <palves@redhat.com>
972 Simon Marchi <simon.marchi@ericsson.com>
973
974 PR gdb/20418
975 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
976 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
977
80614914
PA
9782016-08-09 Pedro Alves <palves@redhat.com>
979
980 PR mi/20431
981 * gdb.mi/mi-cmd-error.exp: New file.
982
f348d89a
PA
9832016-08-09 Pedro Alves <palves@redhat.com>
984
985 PR gdb/18653
986 * gdb.base/signals-state-child.c: New file.
987 * gdb.base/signals-state-child.exp: New file.
988 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
989
e5ca03b4
PA
9902016-08-09 Pedro Alves <palves@redhat.com>
991
992 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
993
282a0691
TT
9942016-08-03 Tom Tromey <tom@tromey.com>
995
996 PR python/18565:
997 * gdb.python/py-frame-inline.exp: Add Frame.function test.
998
41bfcd63
YQ
9992016-08-01 Yao Qi <yao.qi@linaro.org>
1000
1001 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
1002 variable mode to "multi-process" if $multi_process is 1, otherwise
1003 set it to "single-process".
1004
e3465b24
YQ
10052016-08-01 Yao Qi <yao.qi@linaro.org>
1006
1007 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
1008 * gdb.cp/cpexprs.exp: Likewise.
1009 * gdb.cp/m-static.exp: Likewise.
1010
0b31a4bc
TT
10112016-07-26 Tom Tromey <tom@tromey.com>
1012
1013 PR python/20190:
1014 * gdb.threads/tls.exp (check_thread_local): Add python symbol
1015 test.
1016
e0461dbb
MM
10172016-07-26 Markus Metzger <markus.t.metzger@intel.com>
1018
1019 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
1020 selecting assembly source files.
1021 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
1022 assembly source files.
1023 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
1024 assembly source files.
1025 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
1026 selecting assembly source files.
1027
8194e927
SM
10282016-07-25 Simon Marchi <simon.marchi@ericsson.com>
1029
1030 * gdb.base/new-ui.exp (do_test_invalid_args): New
1031 procedure.
1032
c0272db5
TW
10332016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
1034
1035 * gdb.btrace/reconnect.c: New file.
1036 * gdb.btrace/reconnect.exp: New file.
1037
e3487908
GKB
10382016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
1039
1040 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
1041 to test_catch_syscall_group.
1042 (test_catch_syscall_group): New.
1043
12df5c00
TT
10442016-07-21 Tom Tromey <tom@tromey.com>
1045
1046 * gdb.rust/simple.rs (main): Use empty struct expression.
1047 * gdb.rust/simple.exp: Add tests for empty struct expression.
1048
bae62ee2
YQ
10492016-07-21 Yao Qi <yao.qi@linaro.org>
1050
1051 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
1052 if gdb_skip_xml_test is true on some targets.
1053
b1b53fb3
YQ
10542016-07-21 Yao Qi <yao.qi@linaro.org>
1055
1056 * gdb.server/solib-list.exp: Unset last_loaded_file.
1057
027d97f8
JK
10582016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1059
1060 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
1061 "step into captured_main (args)".
1062
7674d381
JK
10632016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1064
1065 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
1066
72b5d099
JK
10672016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1068
1069 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
1070
1f960ced
PA
10712016-07-19 Pedro Alves <palves@redhat.com>
1072
1073 * gdb.opt/inline-break.exp: Remove optimize=-O2.
1074 * gdb.opt/inline-bt.exp: Likewise.
1075 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
1076 additional_flags=-Winline.
1077 * gdb.opt/inline-locals.exp: Likewise.
1078 * gdb.opt/inline-markers.c (ATTR): Define.
1079 (inlined_fn): Use it.
1080
f25827c1
YQ
10812016-07-19 Yao Qi <yao.qi@linaro.org>
1082
1083 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
1084 (test_with_self): Remove some code. Remove argument executable.
1085 (top-level): Use do_self_tests.
1086
37539ebe
DB
10872016-07-15 Zachary Welch <zwelch@codesourcery.com>
1088 Don Breazeal <donb@codesourcery.com>
1089
1090 * gdb.base/maint.exp: Escape paths used in regular expressions.
1091 * gdb.stabs/weird.exp: Likewise.
1092
dac790e1
TT
10932016-07-13 Tom Tromey <tom@tromey.com>
1094
1095 PR python/15620, PR python/18620:
1096 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
1097 (test_bkpt_events): New procs.
1098
93daf339
TT
10992016-07-13 Tom Tromey <tom@tromey.com>
1100
1101 PR python/17698:
1102 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
1103 test.
1104 (test_watchpoints): Likewise.
1105 (test_bkpt_pending): New proc.
1106
6571a381
TT
11072016-07-13 Tom Tromey <tom@tromey.com>
1108
1109 PR cli/18053:
1110 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
1111 completion test.
1112
e8732474
JK
11132016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1114
1115 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
1116 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
1117 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
1118 f_label.
1119 (g): Rename g_end_lbl to g_label.
1120 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
1121 low_pc and high_pc.
1122 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
1123
e0f3fd7c
TT
11242016-07-12 Tom Tromey <tom@tromey.com>
1125
1126 PR python/19293:
1127 * gdb.python/py-unwind-maint.exp: Update tests.
1128
3cfe46b6
YQ
11292016-07-12 Yao Qi <yao.qi@linaro.org>
1130
1131 * lib/selftest-support.exp (selftest_setup): Match the output
1132 when captured_main is inlined.
1133
4f19a0e6
WT
11342016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1135
1136 * gdb.fortran/derived-types.exp (result_line, result_line_2):
1137 New variables.
1138 (print this%a, print this%b, print this): New tests.
1139 * gdb.fortran/derived-types.f90 (this): New object and
1140 initialization.
1141
986cf455
SM
11422016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1143
1144 * gdb.ada/arraydim.exp: Remove extra directory level in build
1145 directory.
1146
f0464b23
SM
11472016-07-06 Simon Marchi <simon.marchi@ericsson.com>
1148
1149 * lib/ada.exp: Remove extra directory level in build directory.
1150 * gdb.ada/cond_lang.exp: Likewise.
1151 * gdb.ada/exec_changed.exp: Likewise.
1152 * gdb.ada/lang_switch.exp: Likewise.
1153
42d94011
MG
11542016-07-06 Manish Goregaokar <manish@mozilla.com>
1155
2806dc7e
PA
1156 * simple.rs: Add test for raw pointer subscripting.
1157 * simple.exp: Add test expectations.
42d94011 1158
647c264c
YQ
11592016-07-05 Yao Qi <yao.qi@linaro.org>
1160
1161 * gdb.mi/mi-reverse.exp: Match =record-started output.
1162
20aa2c60
PA
11632016-07-01 Pedro Alves <palves@redhat.com>
1164
1165 * gdb.base/jit-reader.exp (info_registers_current_frame): New
1166 procedure.
1167 (jit_reader_test): Test the jit reader's unwinder.
1168 * gdb.base/jithost.c (jit_function_00_code): New global.
1169 (main): Use memcpy to fill in the mmapped code, instead of poking
1170 bytes manually here.
1171 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
1172 value.
1173 (read_debug_info): Save the function's range.
1174 (read_sp): New function.
1175 (unwind_frame): Use it. Also unwind RBP.
1176 (get_frame_id): Use read_sp.
1177 (gdb_init_reader): Use calloc instead of malloc.
1178 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
1179 parameter. Use gdb_test_multiple.
1180
ced2dffb
PA
11812016-07-01 Pedro Alves <palves@redhat.com>
1182 Antoine Tremblay <antoine.tremblay@ericsson.com>
1183
1184 * gdb.threads/process-dies-while-detaching.c: New file.
1185 * gdb.threads/process-dies-while-detaching.exp: New file.
1186
63000888
PA
11872016-07-01 Pedro Alves <palves@redhat.com>
1188
1189 * gdb.multi/watchpoint-multi-exit.c: New file.
1190 * gdb.multi/watchpoint-multi-exit.exp: New file.
1191
038d4868
PA
11922016-06-30 Pedro Alves <palves@redhat.com>
1193
1194 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
1195 unset inferior_spawn_id.
1196
994e9c83
PA
11972016-06-30 Pedro Alves <palves@redhat.com>
1198
1199 * lib/mi-support.exp (default_mi_gdb_start): Declare global
1200 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
1201
e5653468
YQ
12022016-06-29 Yao Qi <yao.qi@linaro.org>
1203
1204 * gdb.base/return.c: Add copyright header.
1205
803b47e5
TT
12062016-06-29 Tom Tromey <tom@tromey.com>
1207
1208 PR python/20129:
1209 * gdb.python/py-framefilter.exp: Add tests for setting priority
1210 and disabling of non-existent frame filter.
1211
28244707
YQ
12122016-06-29 Yao Qi <yao.qi@linaro.org>
1213
1214 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
1215 0x0f07ff.
1216
a31d2f06
YQ
12172016-06-28 Yao Qi <yao.qi@linaro.org>
1218
1219 * gdb.base/catch-syscall.exp: Remove check on isnative and target
1220 triplets. Start gdb, execute catch syscall, and continue. Check
1221 gdb's output to determine catch syscall is supported.
1222
921d8f54
MG
12232016-06-27 Manish Goregaokar <manish@mozilla.com>
1224
25d49b86
PA
1225 * gdb.rust/simple.rs: Add test for returning unit in a function.
1226 * gdb.rust/simple.exp: Add expectation for functions returning
1227 unit.
921d8f54 1228
f4952523
PMR
12292016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
1230
1231 * gdb.python/py-breakpoint-create-fail.c,
1232 gdb.python/py-breakpoint-create-fail.exp,
1233 gdb.python/py-breakpoint-create-fail.py: New testcase.
1234
fccb08f8
MG
12352016-06-25 Manish Goregaokar <manish@mozilla.com>
1236
1237 PR gdb/20239
1238 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
1239 * gdb.rust/simple.exp: Add test expectations for new NonZero
1240 tests.
fccb08f8 1241
6b850546
DT
12422016-06-24 David Taylor <dtaylor@emc.com>
1243
1244 * gdb.base/offsets.exp: New file.
1245 * gdb.base/offsets.c: New file.
1246
17621150
TT
12472016-06-23 Tom Tromey <tom@tromey.com>
1248
1249 PR gdb/16483:
1250 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
1251 before any filters are loaded.
1252
04d59df6
WT
12532016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
1254
1255 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
1256 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
1257 structs.
1258 * gdb.fortran/derived-type-function.exp: New file.
1259 * gdb.fortran/derived-type-function.f90: New file.
1260
1261
ac69f786
PA
12622016-06-21 Pedro Alves <palves@redhat.com>
1263
1264 * gdb.base/new-ui.exp: New file.
1265 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
1266 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
1267 (with_spawn_id): New procedure.
1268
49940788
PA
12692016-06-21 Pedro Alves <palves@redhat.com>
1270
1271 * gdb.mi/mi-exec-run.exp: New file.
1272
ef274d26
PA
12732016-06-21 Pedro Alves <palves@redhat.com>
1274
1275 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
1276 breakpoint command's output on the main UI.
1277 (test_break): New procedure, factored out from calls in the top
1278 level.
1279 (top level): Use foreach_with_prefix to test MI as main UI and as
1280 separate UI.
1281
468afe6c
PA
12822016-06-21 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
1285 (test_awatch_creation_and_listing)
1286 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
1287 Remove 'type' parameter.
1288 (test_watchpoint_all): New parameter mi_mode. Remove
1289 with_test_prefix.
1290 (top level): Use foreach_with_prefix, and add main/separate UI MI
1291 testing axis.
1292
51f77c37
PA
12932016-06-21 Pedro Alves <palves@redhat.com>
1294
1295 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
1296 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
1297 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
1298 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
1299 (gdb_main_spawn_id, mi_spawn_id): Declare and
1300 comment.
1301 (mi_create_inferior_pty): New procedure,
1302 factored out from default_mi_gdb_start.
1303 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
1304 procedures.
1305 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
1306 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
1307 Use mi_create_inferior_pty.
1308 (mi_gdb_start): Use eval to pass down args list.
1309
8980e177
PA
13102016-06-21 Pedro Alves <palves@redhat.com>
1311
1312 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
1313 * gdb.opt/inline-cmds.exp: Add MI tests.
1314
f38d3ad1
PA
13152016-06-21 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
1318
45db7c09
PA
13192016-06-21 Pedro Alves <palves@redhat.com>
1320
1321 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
1322 (top level): Use it instead of mi_execute_to.
1323
5a069ab3
PA
13242016-06-21 Pedro Alves <palves@redhat.com>
1325
1326 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
1327 (cont_handler_str): New.
1328 (signal_stop_handler): Set stop_handler_str instead of printing to
1329 stdout.
1330 (continue_handler): Set cont_handler_str instead of printing to
1331 stdout.
1332 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
1333 mi_send_resuming_command. Print stop_handler_str and
1334 cont_handler_str instead of expecting the python events print
1335 directly.
1336
2838cc1d
SD
13372016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1338
1339 * gdb.base/jit-reader.exp: New file.
1340 * gdb.base/jithost.c: New file.
1341 * gdb.base/jithost.h: New file.
1342 * gdb.base/jitreader.c : New file.
1343 * gdb.base/jit-protocol.h: New file.
1344
21a77091
YQ
13452016-06-17 Yao Qi <yao.qi@linaro.org>
1346
1347 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
1348 parameters follow_fork and detach_on_fork. Set follow-fork-mode
1349 and detach-on-fork. Adjust tests.
1350 (top level): Invoke break_cond_on_syscall with combinations of
1351 syscall, follow-fork-mode and detach-on-fork.
1352
f50bf8e5
YQ
13532016-06-17 Yao Qi <yao.qi@linaro.org>
1354
1355 * gdb.base/step-over-exit.c: New.
1356 * gdb.base/step-over-exit.exp: New.
1357
a28d8e50
YTL
13582016-06-17 Yan-Ting Lin <currygt52@gmail.com>
1359
1360 * gdb.base/float.exp: Add target check for nds32*-*-*.
1361 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
1362
cad8e26d
AB
13632016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
1366 for unsupported target features.
1367 * gdb.base/call-rt-st.exp: Likewise.
1368 * gdb.base/call-sc.exp: Likewise.
1369 * gdb.base/call-signal-resume.exp: Likewise.
1370 * gdb.base/call-strs.exp: Likewise.
1371 * gdb.base/callexit.exp: Likewise.
1372 * gdb.base/callfuncs.exp: Likewise.
1373 * gdb.base/nodebug.exp: Likewise.
1374 * gdb.base/printcmds.exp: Likewise.
1375 * gdb.base/ptype.exp: Likewise.
1376 * gdb.base/structs.exp: Likewise.
1377 * gdb.base/unwindonsignal.exp: Likewise.
1378 * gdb.cp/gdb2495.exp: Likewise.
1379 * gdb.cp/templates.exp: Likewise.
1380 * gdb.cp/virtfunc.exp: Likewise.
1381 * gdb.threads/hand-call-in-threads.exp: Likewise.
1382 * gdb.threads/interrupted-hand-call.exp: Likewise.
1383 * gdb.threads/thread-unwindonsignal.exp: Likewise.
1384
347dc102
TT
13852016-06-10 Tom Tromey <tom@tromey.com>
1386
1387 PR rust/20110:
1388 * gdb.rust/expr.exp: Add test for integer constant larger than
1389 i32.
1390
5e13cf25
BH
13912016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
1392
1393 * gdb.fortran/nested-funcs.exp: New.
1394 * gdb.fortran/nested-funcs.f90: New.
1395
bb556f1f
TK
13962016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
1397
1398 * gdb.base/examine-backward.c: New file.
1399 * gdb.base/examine-backward.exp: New file.
1400
38b022b4
SM
14012016-06-06 Simon Marchi <simon.marchi@ericsson.com>
1402
1403 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
1404 matching.
1405
1b40ec05
TT
14062016-06-02 Tom Tromey <tom@tromey.com>
1407
1408 PR python/18984:
1409 * gdb.python/py-shared.exp: Add solib_name test.
1410
193bd378
SM
14112016-06-02 Simon Marchi <simon.marchi@ericsson.com>
1412
1413 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
1414
3326303b
MG
14152016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
1416
1417 PR c++/19893
1418 * gdb.dwarf2/implref.exp: Rename to...
1419 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
1420 * gdb.dwarf2/implref-array.c: New file.
1421 * gdb.dwarf2/implref-array.exp: Likewise.
1422 * gdb.dwarf2/implref-global.c: Likewise.
1423 * gdb.dwarf2/implref-global.exp: Likewise.
1424 * gdb.dwarf2/implref-struct.c: Likewise.
1425 * gdb.dwarf2/implref-struct.exp: Likewise.
1426
825c8ef2
AT
14272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1428
1429 * gdb.trace/trace-condition.exp: Add 64bit tests.
1430
2320162a
AT
14312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1432
1433 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
1434 bits types.
1435 (main): Adapt to 8 to 64 bits types.
1436 * gdb.trace/trace-condition.exp: Add new tests.
1437
a7818233
AT
14382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1439
1440 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
1441
0d336466
AT
14422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1443
1444 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
1445 Move condition tests...
1446 * gdb.trace/trace-condition.exp: Here.
1447
7faeb45a
AT
14482016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
1449
1450 * gdb.trace/trace-condition.exp: Add counter-case tests.
1451
e385593e
JK
14522016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1453
1454 PR c++/15231
1455 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
1456 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
1457
744608cc
PA
14582016-05-27 Pedro Alves <palves@redhat.com>
1459
1460 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1461 New procedure.
1462 (top level): Call it, and bail out of DejaGnu is known to be bad.
1463
ac775bf4
AB
14642016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
1465
1466 * gdb.base/whatis.c: Extend the test case.
1467 * gdb.base/whatis.exp: Add additional tests.
1468
2bbad2ea
BH
14692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1470
1471* gdb.fortran/type.f90: Add pointer variable.
1472* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
1473
8b70175d
BH
14742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1475
1476 * gdb.fortran/vla-type.exp: Fix testcase name.
1477
86d8a848
BH
14782016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1479
1480 * gdb.fortran/vla-type.exp: Access elements in nested structs.
1481
e188eb36
BH
14822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1483
1484 * gdb.fortran/type.f90: Add nested structures.
1485 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
1486 * gdb.fortran/derived-type.exp: Adapt expected output.
1487 * gdb.fortran/vla-type.exp: Adapt expected output.
1488
9b2db1fd
BH
14892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1490
1491 * gdb.fortran/whatis_type.exp: Adapt expected output.
1492
72b17055
BH
14932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1494
1495 * gdb.fortran/print_type.exp: Fix expected output.
1496 * gdb.fortran/whatis_type.exp: Fix expected output.
1497
3cd81d8d
BH
14982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
1499
1500 * gdb.fortran/whatis_type.exp: Use multi_line.
1501
ddae9462
TT
15022016-05-24 Tom Tromey <tom@tromey.com>
1503
1504 PR python/17386:
1505 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
1506 use value as an index.
1507
1957f6b8
TT
15082016-05-23 Tom Tromey <tom@tromey.com>
1509
1510 PR python/17981:
1511 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
1512 no-breakpoint case.
1513
026a9174
PA
15142016-05-24 Pedro Alves <palves@redhat.com>
1515
1516 PR gdb/19828
1517 * gdb.threads/clone-attach-detach.c: New file.
1518 * gdb.threads/clone-attach-detach.exp: New file.
1519
e70a7231
FR
15202016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
1521
1522 * gdb.base/annota-input-while-running.exp: Fix syntax error.
1523
0f6ed0e0
TT
15242016-05-23 Tom Tromey <tom@tromey.com>
1525
1526 PR python/19438, PR python/18393:
1527 * gdb.python/py-progspace.exp: Add "dir" test.
1528 * gdb.python/py-objfile.exp: Add "dir" test.
1529
ffd19d61
YQ
15302016-05-23 Yao Qi <yao.qi@linaro.org>
1531
1532 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
1533 * gdb.arch/thumb2-it.exp: Likewise.
1534
9e8f9b05
SM
15352016-05-18 Simon Marchi <simon.marchi@ericsson.com>
1536
1537 * gdb.mi/mi-threads-interrupt.c: New file.
1538 * gdb.mi/mi-threads-interrupt.exp: New file.
1539
61c6156d
SM
15402016-05-17 Simon Marchi <simon.marchi@ericsson.com>
1541
1542 PR gdb/18077
1543 * gdb.mi/mi-async-run.exp: New file.
1544 * gdb.mi/mi-async-run.c: New file.
1545
67218854
TT
15462016-05-17 Tom Tromey <tom@tromey.com>
1547 Manish Goregaokar <manishsmail@gmail.com>
1548
1549 * lib/rust-support.exp: New file.
1550 * lib/gdb.exp (skip_rust_tests): New proc.
1551 (build_executable_from_specs): Handle rust.
1552 * lib/future.exp (gdb_find_rustc): New proc.
1553 (gdb_default_target_compile): Handle rust.
1554 * gdb.rust/expr.exp: New file.
1555 * gdb.rust/generics.exp: New file.
1556 * gdb.rust/generics.rs: New file.
1557 * gdb.rust/methods.exp: New file.
1558 * gdb.rust/methods.rs: New file.
1559 * gdb.rust/modules.exp: New file.
1560 * gdb.rust/modules.rs: New file.
1561 * gdb.rust/simple.exp: New file.
1562 * gdb.rust/simple.rs: New file.
1563
c44af4eb
TT
15642016-05-17 Tom Tromey <tom@tromey.com>
1565
1566 * gdb.base/default.exp (set language): Add rust.
1567
dcd1f979
TT
15682016-05-17 Tom Tromey <tom@tromey.com>
1569
1570 * gdb.gdb/unittest.exp: New file.
1571
155b7f57
YQ
15722016-05-16 Yao Qi <yao.qi@linaro.org>
1573
1574 * gdb.base/batch-preserve-term-settings.exp: Remove variable
1575 shell_prompt. Update shell_prompt_re.
1576
8ddd5a6c
DE
15772016-05-12 Doug Evans <dje@google.com>
1578
1579 PR symtab/19999
1580 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
1581 $options when building executable.
1582 * gdb.dwarf2/fission-loclists-pie.S: New file.
1583 * gdb.dwarf2/fission-loclists-pie.exp: New file.
1584
02e370d9
SM
15852016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1586
1587 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
1588 of [is_remote target],
1589
8929ad8b
SM
15902016-05-04 Simon Marchi <simon.marchi@ericsson.com>
1591
1592 * lib/gdb.exp (use_gdb_stub): New procedure.
1593
6c447423
DE
15942016-05-03 Yunlian Jiang <yunlian@google.com>
1595 Doug Evans <dje@google.com>
1596
1597 PR symtab/19914
1598 * gdb.dwarf2/dwp-sepdebug.c: New file.
1599 * gdb.dwarf2/dwp-sepdebug.exp: New file.
1600
444e826c
SM
16012016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1602
1603 * gdb.base/detach.exp: Remove is_remote check.
1604
740feeaa
SM
16052016-05-02 Simon Marchi <simon.marchi@ericsson.com>
1606
1607 * gdb.base/annota-input-while-running.exp: Don't check for
1608 [is_remote target]. Enable annotations after running to main.
1609 Remove unused "set test..." line.
1610
9080ac9d
SM
16112016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1612
1613 * gdb.trace/trace-enable-disable.exp: New file.
1614 * gdb.trace/trace-enable-disable.c: New file.
1615
952ebca5
SM
16162016-04-28 Simon Marchi <simon.marchi@ericsson.com>
1617
1618 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
1619 use it in info sharedlibrary test.
1620 * gdb.trace/ftrace-lock.exp: Likewise.
1621 * gdb.trace/ftrace.exp: Likewise.
1622 * gdb.trace/range-stepping.exp: Likewise.
1623 * gdb.trace/trace-break.exp: Likewise.
1624 * gdb.trace/trace-condition.exp: Likewise.
1625 * gdb.trace/trace-mt.exp: Likewise.
1626
d9019901
SM
16272016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1628
1629 * lib/gdb.exp (gdb_load_shlibs): Rename to...
1630 (gdb_load_shlib): ... this.
1631 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
1632 gdb_load_shlib.
1633 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1634 * gdb.base/ctxobj.exp: Likewise.
1635 * gdb.base/dprintf-pending.exp: Likewise.
1636 * gdb.base/dso2dso.exp: Likewise.
1637 * gdb.base/fixsection.exp: Likewise.
1638 * gdb.base/gcore-relro.exp: Likewise.
1639 * gdb.base/gdb1555.exp: Likewise.
1640 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1641 * gdb.base/gnu-ifunc.exp: Likewise.
1642 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
1643 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1644 * gdb.base/pending.exp: Likewise.
1645 * gdb.base/print-file-var.exp: Likewise.
1646 * gdb.base/print-symbol-loading.exp: Likewise.
1647 * gdb.base/shlib-call.exp: Likewise.
1648 * gdb.base/shreloc.exp: Likewise.
1649 * gdb.base/so-impl-ld.exp: Likewise.
1650 * gdb.base/solib-disc.exp: Likewise.
1651 * gdb.base/solib-nodir.exp: Likewise.
1652 * gdb.base/solib-overlap.exp: Likewise.
1653 * gdb.base/solib-symbol.exp: Likewise.
1654 * gdb.base/solib-weak.exp (do_test): Likewise.
1655 * gdb.base/sym-file.exp: Likewise.
1656 * gdb.base/symtab-search-order.exp: Likewise.
1657 * gdb.base/type-opaque.exp: Likewise.
1658 * gdb.base/unload.exp: Likewise.
1659 * gdb.base/watchpoint-solib.exp: Likewise.
1660 * gdb.compile/compile.exp: Likewise.
1661 * gdb.cp/gdb2384.exp: Likewise.
1662 * gdb.cp/infcall-dlopen.exp: Likewise.
1663 * gdb.cp/re-set-overloaded.exp: Likewise.
1664 * gdb.fortran/library-module.exp: Likewise.
1665 * gdb.opt/solib-intra-step.exp: Likewise.
1666 * gdb.python/py-finish-breakpoint.exp: Likewise.
1667 * gdb.python/py-shared.exp: Likewise.
1668 * gdb.reverse/solib-precsave.exp: Likewise.
1669 * gdb.reverse/solib-reverse.exp: Likewise.
1670 * gdb.server/solib-list.exp: Likewise.
1671 * gdb.threads/dlopen-libpthread.exp: Likewise.
1672 * gdb.threads/tls-shared.exp: Likewise.
1673 * gdb.threads/tls-so_extern.exp: Likewise.
1674 * gdb.trace/change-loc.exp: Likewise.
1675 * gdb.trace/ftrace-lock.exp: Likewise.
1676 * gdb.trace/ftrace.exp: Likewise.
1677 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
1678 * gdb.trace/pending.exp: Likewise.
1679 * gdb.trace/range-stepping.exp: Likewise.
1680 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
1681 (strace_info_marker): Likewise.
1682 (strace_probe_marker): Likewise.
1683 (strace_trace_on_same_addr): Likewise.
1684 (strace_trace_on_diff_addr): Likewise.
1685 * gdb.trace/trace-break.exp: Likewise.
1686 * gdb.trace/trace-condition.exp: Likewise.
1687 * gdb.trace/trace-mt.exp: Likewise.
1688
fca4cfd9
SM
16892016-04-27 Simon Marchi <simon.marchi@ericsson.com>
1690
1691 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
1692 result of gdb_remote_download.
1693 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
1694 * gdb.base/dso2dso.exp: Likewise.
1695 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1696 * gdb.base/print-file-var.exp: Likewise.
1697 * gdb.base/shlib-call.exp: Likewise.
1698 * gdb.base/shreloc.exp: Likewise.
1699 * gdb.base/solib-overlap.exp: Likewise.
1700 * gdb.base/solib-weak.exp (do_test): Likewise.
1701 * gdb.base/unload.exp: Likewise.
1702
11cf4ffb
YQ
17032016-04-27 Yao Qi <yao.qi@linaro.org>
1704
1705 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
1706 exists.
1707
3e2e34f8
KB
17082016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1709
1710 * vla-type.exp: Print structure from toplevel.
1711
8f07e298
BH
17122016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1713
1714 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
1715 of dynamic types.
1716 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
1717 of dynamic types.
1718
9920b434
BH
17192016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
1720
1721 * gdb.fortran/vla-type.f90: New file.
1722 * gdb.fortran/vla-type.exp: New file.
1723
f3abeff5
YQ
17242016-04-25 Yao Qi <yao.qi@linaro.org>
1725
1726 * gdb.base/branch-to-self.c: New file.
1727 * gdb.base/branch-to-self.exp: New file.
1728
0a5d52f0
YQ
17292016-04-22 Yao Qi <yao.qi@linaro.org>
1730
1731 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
1732 more after $hex.
1733
495346f6
YQ
17342016-04-22 Yao Qi <yao.qi@linaro.org>
1735
1736 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
1737 * gdb.base/annota3.exp: Likewise.
1738
4a7e075c
YQ
17392016-04-22 Yao Qi <yao.qi@linaro.org>
1740
1741 * gdb.reverse/step-precsave.exp: Do one step and test program
1742 stops in "callee" and do multiple steps until program goes out
1743 of "callee".
1744 * gdb.reverse/step-reverse.exp: Likewise.
1745
5b061e98
YQ
17462016-04-22 Yao Qi <yao.qi@linaro.org>
1747
1748 * gdb.trace/signal.exp: Also pass if
1749 $tracepoint_hits($i) > $iterations.
1750
5c5dc57f
YQ
17512016-04-22 Yao Qi <yao.qi@linaro.org>
1752
1753 * gdb.trace/signal.c: New file.
1754 * gdb.trace/signal.exp: New file.
1755
a55411b9
DE
17562016-04-19 Doug Evans <xdje42@gmail.com>
1757
1758 * gdb.base/bad-file.exp: New file.
1759
a22df60a
MG
17602016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
1761
1762 * gdb.dwarf2/implref.exp: New file.
1763
0c13f7e5
BH
17642016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1765
1766 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
1767 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
1768 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
1769 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
1770 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
1771 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
1772 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
1773 * lib/fortran.exp (fortran_int4): New procedure.
1774 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
1775 (fortran_logical4): Likewise.
1776
9b9b09e9
BH
17772016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
1778
1779 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
1780
a14d1f4d
BH
17812016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
1782
1783 * lib/compiler.c: Add Intel specific preprocessor macros.
1784 * lib/compiler.cc: Likewise.
25d49b86 1785
7d49b1d0
LM
17862016-04-13 Luis Machado <lgustavo@codesourcery.com>
1787
1788 * gdb.server/connect-with-no-symbol-file.c: New file.
1789 * gdb.server/connect-with-no-symbol-file.exp: New file.
1790
8392fa22
SM
17912016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1792
1793 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
1794
8c4c4aeb
SM
17952016-04-13 Simon Marchi <simon.marchi@ericsson.com>
1796
1797 * boards/gdbserver-base.exp (${board}_download): Copy source file to
1798 standard output directory.
1799
45e3745e
AT
18002016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
1801
1802 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
1803
e26b7e41
MM
18042016-04-13 Markus Metzger <markus.t.metzger@intel.com>
1805
1806 * gdb.btrace/instruction_history.c (loop): Add declaration.
1807
8ce09462
AT
18082016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1809
1810 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1811
2e88a1ea
SM
18122016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1813
1814 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1815 parentheses to print.
1816 (continue_handler): Likewise.
1817
f48e22e3
SM
18182016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1819
1820 * gdb.server/solib-list.exp: Remove is_remote check.
1821 Pass shlib= to gdb_compile. Don't link shared library with
1822 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1823 Run binary filename through "readlink -f" on the target.
1824
096be756
PA
18252016-04-08 Pedro Alves <palves@redhat.com>
1826
1827 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1828 interpreter filename as argument to gdbserver_spawn.
1829 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1830 Return empty if $last_loaded_file does not exist.
1831
06500533
JK
18322016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1833
1834 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1835 * gdb.base/jit-main.c: Use exit after usage.
1836
2d35e871
JK
18372016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1838
1839 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1840 GDBHISTSIZE prior to the tests.
1841 * gdb.base/gdbinit-history.exp: Likewise.
1842
18432016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
1844
1845 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1846 instead of build_executable. Use gdb_load_shlibs.
1847
c8064e7e
YQ
18482016-04-07 Yao Qi <yao.qi@linaro.org>
1849
1850 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1851 Execute "si" command.
1852
bde47561
YQ
18532016-04-07 Yao Qi <yao.qi@linaro.org>
1854
1855 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1856 number instead of the comments on some line.
1857
b16f8a3b
DB
18582016-04-06 Don Breazeal <donb@codesourcery.com>
1859
1860 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1861 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1862
c2f901df
SM
18632016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1864
1865 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1866 standard_output_file. Remove unused binfile variable.
1867
ac17fda0
CU
18682016-04-05 Catalin Udma <catalin.udma@freescale.com>
1869
1870 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1871 * gdb.python/py-mi-objfile.exp: Match "list main" output
1872 in console format.
1873
03a8c4df
SM
18742016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1875
1876 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1877 absolute.
1878
6e774b13
SM
18792016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1880
1881 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1882 absolute.
1883 * gdb.trace/ftrace.exp: Likewise.
1884 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1885 targets as well.
1886 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1887 (gdb_load_shlibs): Copy libraries to test directory when testing
1888 natively. Only set solib-search-path if testing remotely.
1889 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1890
7817ea46
SM
18912016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1892
1893 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1894 gdb_download. Use it even if the target is not remote.
1895 * gdb.base/jit.exp (compile_jit_test): Likewise.
1896 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1897 output directory if the destination board is local, otherwise use
1898 the standard remote_download from DejaGnu.
1899 (gdb_download): Remove.
1900 (gdb_load_shlibs): Use gdb_remote_download instead of
1901 gdb_download.
1902 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1903 Use gdb_remote_download instead of gdb_download. Use it even if
1904 the target is not remote.
1905 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1906 instead of gdb_download.
1907
7beb7f68
SM
19082016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1909
1910 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1911 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1912 run.
1913
cc63428a
AV
19142016-04-01 Artemiy Volkov <artemiyv@acm.org>
1915
1916 PR gdb/19820
1917 * gdb.base/printcmds.exp: Add artificial arrays tests.
1918
64cdf930
PA
19192016-03-31 Pedro Alves <palves@redhat.com>
1920
1921 PR gdb/19858
1922 * gdb.base/jit-main.c: Include unistd.h.
1923 (ATTACH): Define to 0 if not already defined.
1924 (wait_for_gdb, mypid): New globals.
1925 (WAIT_FOR_GDB): New macro.
1926 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1927 some breakpoint locations.
1928 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1929 New procedures.
1930 (one_jit_test): Add REATTACH parameter, and handle it. Use
1931 continue_to_test_location.
1932 (top level): Test attach, and adjusts calls to one_jit_test.
1933
40dea8cb
PA
19342016-03-31 Pedro Alves <palves@redhat.com>
1935
1936 PR gdb/19858
1937 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1938 BINSUFFIX parameter, and handle it.
1939 (top level): Adjust calls compile_jit_test.
1940
e7ea3ec7
CU
19412016-03-31 Catalin Udma <catalin.udma@freescale.com>
1942
1943 PR python/19743
1944 * gdb.python/py-mi-events-gdb.py: New file.
1945 * gdb.python/py-mi-events.c: New file.
1946 * gdb.python/py-mi-events.exp: New file.
1947
e6359af3
YQ
19482016-03-30 Yao Qi <yao.qi@linaro.org>
1949
1950 * gdb.reverse/until-precsave.exp: Match function name only.
1951 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1952 Move malloc to a condition block.
1953 * gdb.reverse/until-reverse.exp: Match function name only.
1954
a4105d04
MK
19552016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1956
1957 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1958 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1959 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1960 variable for GPR 0 instead of assuming it is register 0.
1961 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1962 * lib/trace-support.exp: Add s390 registers.
1963
bfa6adb9
YQ
19642016-03-29 Yao Qi <yao.qi@linaro.org>
1965
1966 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1967
1e6697ea
YQ
19682016-03-24 Yao Qi <yao.qi@linaro.org>
1969
1970 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1971 test message.
1972
64bcd522
AA
19732016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1974
1975 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1976 maintaining separate logic for constructing the output path.
1977
7868401b
DB
19782016-03-16 Don Breazeal <donb@codesourcery.com>
1979
1980 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1981 Retry fork and waitpid on interrupted system call errors.
1982 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1983 Use with_timeout_factor to increase timeout by factor of 10.
1984
1cafadb4
DB
19852016-03-15 Don Breazeal <donb@codesourcery.com>
1986
1987 * gdb.cp/scope-err.cc: New test program.
1988 * gdb.cp/scope-err.exp: New test script.
1989 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1990 lines and "set breakpoint here" comment.
1991 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1992 Fixed some whitespace and format issues.
1993 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1994 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1995
81516450
DE
19962016-03-15 Doug Evans <dje@google.com>
1997
1998 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1999 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
2000 All callers updated. Add tests for enums, mixed flags register.
2001
aa52b601
DE
20022016-03-15 Doug Evans <dje@google.com>
2003
2004 * gdb.base/skip.c (main): Call test_skip_file_and_function.
2005 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
2006
fa4ff313
SM
20072016-03-14 Simon Marchi <simon.marchi@ericsson.com>
2008
2009 * gdb.base/default.exp: Add $_as_string to the list of expected
2010 convenience functions.
2011
f2403c39
AB
20122016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
2013
2014 * gdb.base/maint.exp: New tests for 'maint info line-table'.
2015
f2f3ccb9
SM
20162016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
2017
2018 * gdb.python/py-as-string.exp: New file.
2019 * gdb.python/py-as-string.c: New file.
2020
00dbd492
PA
20212016-03-09 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
2024 signal" -> "Thread NN received signal" output change.
2025 * gdb.threads/ia64-sigill.exp: Likewise.
2026 * gdb.threads/linux-dp.exp: Likewise.
2027 * gdb.threads/manythreads.exp: Likewise.
2028 * gdb.threads/pending-step.exp: Likewise.
2029 * gdb.threads/print-threads.exp: Likewise.
2030 * gdb.threads/sigstep-threads.exp: Likewise.
2031 * gdb.threads/staticthreads.exp: Likewise.
2032 * gdb.threads/tls.exp: Likewise.
2033
1e6697ea
YQ
20342016-03-09 Pedro Alves <palves@redhat.com>
2035
2036 * gdb.base/command-line-input.exp: New file.
2037
b04fd3be
MK
20382016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2039
2040 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
2041 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
2042 * gdb.trace/pending.exp: Accept leading dot before function name.
2043 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
2044 * lib/trace-support.exp: Set registers for ppc.
2045
98fa59e9
MK
20462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2047
2048 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
2049 use it for disassembly; accept .main in addition to main in backtrace.
2050
f77198c8
MK
20512016-03-09 Wei-cheng Wang <cole945@gmail.com>
2052 Marcin Kościelnicki <koriakin@0x04.net>
2053
2054 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
2055 (gdb_recursion_test_ptr): New global variable.
2056 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
2057 gdb_recursion_test.
2058 (gdb_c_test): Ditto.
2059
ba84e0da
MK
20602016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2061
2062 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
2063 ordering.
2064
4366d36e
MK
20652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2066
2067 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
2068 (bar): Add bar_start_lbl label.
2069 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
2070 of foo/bar for emitting DWARF and tracing.
2071
5eb264df
SDJ
20722016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
2073
2074 * analyze-racy-logs.py: Set executable bit.
2075
fb6a751f
SDJ
20762016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
2077
2078 * Makefile.in (DEFAULT_RACY_ITER): New variable.
2079 (CHECK_TARGET_TMP): Likewise.
2080 (check-single-racy): New rule.
2081 (check-parallel-racy): Likewise.
2082 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
2083 (do-check-parallel-racy): New rule.
2084 (check-racy/%.exp): Likewise.
2085 * README (Racy testcases): New section.
2086 * analyze-racy-logs.py: New file.
2087
bdf7e230
DE
20882016-03-03 Doug Evans <dje@google.com>
2089
2090 * gdb.base/skip.exp: Use with_test_prefix.
2091
4719d415
YQ
20922016-03-03 Yao Qi <yao.qi@linaro.org>
2093
2094 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
2095 Invoke step_over_syscall "clone" and break_cond_on_syscall
2096 "clone".
2097 * gdb.base/step-over-clone.c: New file.
2098
ea507862
YQ
20992016-03-03 Yao Qi <yao.qi@linaro.org>
2100
2101 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
2102 code format.
2103
8fc8cbda
YQ
21042016-03-03 Yao Qi <yao.qi@linaro.org>
2105
2106 * gdb.base/disp-step-fork.c: Rename to ...
2107 * gdb.base/step-over-fork.c: ... it. New file.
2108 * gdb.base/disp-step-vfork.c: Rename to ...
2109 * gdb.base/step-over-vfork.c: ... it. New file.
2110 * gdb.base/disp-step-syscall.exp: Rename to ...
2111 * gdb.base/step-over-syscall.exp: ... it. New file.
2112 (disp_step_cross_syscall): Rename to ...
2113 (step_over_syscall): ... it.
2114
92fa70b0
YQ
21152016-03-03 Yao Qi <yao.qi@linaro.org>
2116
2117 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
2118 If target supports condition evaluation on target, invoke
2119 break_cond_on_syscall for fork and vfork.
2120
e197ad3c
YQ
21212016-03-03 Yao Qi <yao.qi@linaro.org>
2122
2123 * gdb.base/disp-step-syscall.exp: Don't invoke
2124 support_displaced_stepping.
2125 (disp_step_cross_syscall): Test with displaced stepping off and
2126 on if supported.
2127
0b47da9f
YQ
21282016-03-03 Yao Qi <yao.qi@linaro.org>
2129
2130 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
2131 proc.
2132 (setup): New proc.
2133 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
2134 and setup.
2135
065ab6dc
BH
21362016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2137
2138 * gdb.fortran/vla-history.exp: Remove breakpoint.
2139
07e448ad 21402016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2141
25d49b86
PA
2142 * gdb.fortran/vla-history.exp: Lookup array elements and printing
2143 exceeds timeout.
07e448ad 2144
9ac2d526 21452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2146
25d49b86
PA
2147 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
2148 breakpoint.
9ac2d526 2149
17807369
BH
21502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2151
2152 * gdb.mi/vla.f90: Nullify pointer after declaration.
2153
86e501af
PA
21542016-03-01 Pedro Alves <palves@redhat.com>
2155
2156 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
2157
1e903e32
PA
21582016-03-01 Pedro Alves <palves@redhat.com>
2159
2160 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
2161 before anything else.
2162 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
2163 _GNU_SOURCE here.
2164 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
2165 before anything else.
2166 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
2167
6ccb54e2
PA
21682016-03-01 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
2171
30ca9da1
YQ
21722016-03-01 Yao Qi <yao.qi@linaro.org>
2173
2174 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
2175 prepare_for_testing.
2176
dc856b38
YQ
21772016-03-01 Yao Qi <yao.qi@linaro.org>
2178
2179 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
2180
4a932159
AA
21812016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2182
2183 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
2184 manually constructing the output path.
2185
f2489477
AA
21862016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2187
2188 * gdb.arch/s390-stackless.S: New.
2189 * gdb.arch/s390-stackless.exp: New.
2190
38899f16
IB
21912016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
2192
2193 * gdb.dlang/circular.c: New file.
2194 * gdb.dlang/circular.exp: New file.
2195
9fde51ed
YQ
21962016-02-26 Yao Qi <yao.qi@linaro.org>
2197
2198 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
2199 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
2200 (testcases): Update.
2201
ce90fefe
YQ
22022016-02-26 Yao Qi <yao.qi@linaro.org>
2203
2204 * gdb.reverse/aarch64.c: Rename to ...
2205 * gdb.reverse/insn-reverse.c: ... it.
2206 * gdb.reverse/aarch64.exp: Rename to ...
2207 * gdb.reverse/insn-reverse.exp: ... it.
2208
3263bceb
YQ
22092016-02-26 Yao Qi <yao.qi@linaro.org>
2210
2211 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
2212 (testcase_ftype): New.
2213 (testcases): New array.
2214 (n_testcases): New.
2215 (main): Call each element in testcases.
2216 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
2217 (read_testcase): New.
2218 Do the tests in a loop.
2219
6cb59ff1
YQ
22202016-02-25 Yao Qi <yao.qi@linaro.org>
2221
2222 * gdb.base/branches.c: Remove.
2223
ae91f625
MK
22242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2225
2226 PR gdb/13808
2227 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
2228
678b48b7
MK
22292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2230
2231 * gdb.trace/ftrace.exp: Remove unnecessary target check.
2232
7337a6f2
MK
22332016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2234
2235 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
2236 change x86_64 call_insn to 'callq'.
2237
861ca91f
AT
22382016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2239
2240 * gdb.trace/tfile-avx.c: Move to...
2241 * gdb.trace/tracefile-pseudo-reg.c: Here.
2242 * gdb.trace/tfile-avx.exp: Move to...
2243 * gdb.trace/tracefile-pseudo-reg.exp: Here.
2244
bf74e428
GB
22452016-02-24 Gary Benson <gbenson@redhat.com>
2246
2247 * gdb.base/attach-pie-noexec.exp: Do not expect an error
2248 message on attach.
2249
cce0e923
DE
22502016-02-23 Doug Evans <dje@google.com>
2251
2252 * gdb.base/skip.c (test_skip): New function.
2253 (end_test_skip_file_and_function): New function.
2254 (test_skip_file_and_function): New function.
2255 * gdb.base/skip1.c (test_skip): New function.
2256 (skip1_test_skip_file_and_function): New function.
2257 * gdb.base/skip.exp: Add tests for new skip options.
2258 * gdb.base/skip-solib.exp: Update expected output.
2259 * gdb.perf/skip-command.cc: New file.
2260 * gdb.perf/skip-command.exp: New file.
2261 * gdb.perf/skip-command.py: New file.
2262
4000e47e
MK
22632016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
2264
2265 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
2266 info registers pattern.
2267
24f75ead
IB
22682016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2269
2270 * lib/future.exp: Add D support.
2271 (gdb_find_gdc): New proc.
2272 (gdb_default_target_compile): Add D support.
2273
fbb7bcbe
WW
22742016-02-18 Wei-cheng Wang <cole945@gmail.com>
2275
2276 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
2277 user+system time.
2278 (trace_speed_test): Determine the iteration count for a time
2279 between 15..30 seconds.
2280
012b3a21
WT
22812016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
2282
2283 * gdb.arch/i386-mpx-sigsegv.c: New file.
2284 * gdb.arch/i386-mpx-sigsegv.exp: New file.
2285 * gdb.arch/i386-mpx-simple_segv.c: New file.
2286 * gdb.arch/i386-mpx-simple_segv.exp: New file.
2287
2d5189bd
YQ
22882016-02-18 Yao Qi <yao.qi@linaro.org>
2289
2290 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2291 Don't call setup_kfail.
2292
40fb20d0
YQ
22932016-02-18 Yao Qi <yao.qi@linaro.org>
2294
2295 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2296 Set "set breakpoint condition-evaluation" per $cond_bp_target.
2297
21b1f8d2
DE
22982016-02-16 Doug Evans <dje@google.com>
2299
2300 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
2301 * gdb.base/skip1.c: Ditto.
2302 * gdb.base/skip.exp: Whitespace cleanup.
2303
4041ed77
DB
23042016-02-16 Don Breazeal <donb@codesourcery.com>
2305
2306 PR remote/19496
2307 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
2308 Remove kfail for PR remote/19496.
2309
c4ef31bf
SM
23102016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2311
2312 * lib/gdb.exp (standard_temp_file): Return a path specific to
2313 the runtest invocation.
2314
266b65b3
SM
23152016-02-16 Simon Marchi <simon.marchi@ericsson.com>
2316
2317 * gdb.trace/save-trace.exp: Change relative path to be in the
2318 standard output directory.
2319
a7a0a6a9
JK
23202016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2321
2322 * gdb.arch/i386-prologue.c: Add missing prototypes.
2323
c99dbb42
JK
23242016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2325
2326 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
2327 * gdb.arch/i386-prologue.exp: Likewise.
2328 * gdb.arch/i386-size.exp: Likewise.
2329
aa480355
SM
23302016-02-15 Simon Marchi <simon.marchi@ericsson.com>
2331
2332 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
2333 define object file path.
2334 * gdb.btrace/gcore.exp: Use standard_output_file to define core
2335 file path.
2336 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
2337 standard_output_file to define binfile.
2338
ba881f50
JK
23392016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2340
2341 Fix compatibility with recent gfortran-5.3.1.
2342 * gdb.fortran/vla-history.exp (print vla1 allocated)
2343 (print vla2 allocated, print $2, print $3): Remove
2344 (print $4): Rename to ...
2345 (print $2): ... here.
2346 (print $9): Rename to ...
2347 (print $5): ... here.
2348 (print $10): Rename to ...
2349 (print $6): ... here.
2350 * gdb.fortran/vla.f90: Add pvla initialization.
2351
e9fb005c
JK
23522016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2353
2354 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
2355 New test.
2356 * gdb.fortran/vla-value-sub.exp: Likewise.
2357
e44e00ff
MK
23582016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
2359
2360 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
2361
97e94151
SM
23622016-02-12 Simon Marchi <simon.marchi@ericsson.com>
2363
2364 * i386-biarch-core.exp: Define corefile using
2365 standard_output_file.
2366
01113bc1
YQ
23672016-02-12 Yao Qi <yao.qi@linaro.org>
2368
2369 * gdb.arch/arm-single-step-kernel-helper.c: New.
2370 * gdb.arch/arm-single-step-kernel-helper.exp: New.
2371
33b4777c
MM
23722016-02-12 Markus Metzger <markus.t.metzger@intel.com>
2373
2374 * gdb.btrace/tailcall-only.exp: New.
2375 * gdb.btrace/tailcall-only.c: New.
2376 * gdb.btrace/x86_64-tailcall-only.S: New.
2377 * gdb.btrace/i686-tailcall-only.S: New.
2378
acc23c11
PA
23792016-02-11 Pedro Alves <palves@redhat.com>
2380
2381 * README (Parallel testing): Add missing double quotes.
2382
e352bf0a
PA
23832016-02-11 Pedro Alves <palves@redhat.com>
2384
2385 * README (Parallel testing): New section.
2386 (GDB_PARALLEL): Rewrite.
2387 (FORCE_PARALLEL): Document.
2388
9f5fed78
MK
23892016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
2390
2391 * gdb.trace/tfile-avx.c: New test.
2392 * gdb.trace/tfile-avx.exp: New test.
2393
9ef9e6a6
KS
23942016-02-09 Keith Seitz <keiths@redhat.com>
2395
2396 PR breakpoints/19546
2397 * gdb.base/infcall-exec.c: New file.
2398 * gdb.base/infcall-exec2.c: New file.
2399 * gdb.base/infcall-exec.exp: New file.
2400
a96e36da
KS
24012016-02-09 Keith Seitz <keiths@redhat.com>
2402
2403 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
2404 (toplevel): Call test_bkpt_address.
2405
9f61929f
KS
24062016-02-09 Keith Seitz <keiths@redhat.com>
2407
2408 PR python/19506
2409 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
2410 (toplevel): Call test_bkpt_address.
2411
1e94266c
SM
24122016-02-09 Simon Marchi <simon.marchi@ericsson.com>
2413
2414 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
2415 to AC_OUTPUT.
2416 * configure: Regenerate.
2417
2a7f3dff
PA
24182016-02-09 Pedro Alves <palves@redhat.com>
2419
2420 PR breakpoints/19548
2421 * gdb.base/execl-update-breakpoints.c (some_function): New
2422 function.
2423 (main): Call it.
2424 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
2425 Tighten expected GDB output.
2426
2151ccc5
SM
24272016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2428
2429 * Makefile.in (ALL_SUBDIRS): Remove.
2430 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
2431 (distclean maintainer-clean realclean): Likewise.
2432 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
2433 * configure: Regenerate.
2434 * gdb.ada/Makefile.in: Delete.
2435 * gdb.arch/Makefile.in: Likewise.
2436 * gdb.asm/Makefile.in: Likewise.
2437 * gdb.base/Makefile.in: Likewise.
2438 * gdb.btrace/Makefile.in: Likewise.
2439 * gdb.cell/Makefile.in: Likewise.
2440 * gdb.compile/Makefile.in: Likewise.
2441 * gdb.cp/Makefile.in: Likewise.
2442 * gdb.disasm/Makefile.in: Likewise.
2443 * gdb.dlang/Makefile.in: Likewise.
2444 * gdb.dwarf2/Makefile.in: Likewise.
2445 * gdb.fortran/Makefile.in: Likewise.
2446 * gdb.gdb/Makefile.in: Likewise.
2447 * gdb.go/Makefile.in: Likewise.
2448 * gdb.guile/Makefile.in: Likewise.
2449 * gdb.java/Makefile.in: Likewise.
2450 * gdb.linespec/Makefile.in: Likewise.
2451 * gdb.mi/Makefile.in: Likewise.
2452 * gdb.modula2/Makefile.in: Likewise.
2453 * gdb.multi/Makefile.in: Likewise.
2454 * gdb.objc/Makefile.in: Likewise.
2455 * gdb.opencl/Makefile.in: Likewise.
2456 * gdb.opt/Makefile.in: Likewise.
2457 * gdb.pascal/Makefile.in: Likewise.
2458 * gdb.perf/Makefile.in: Likewise.
2459 * gdb.python/Makefile.in: Likewise.
2460 * gdb.reverse/Makefile.in: Likewise.
2461 * gdb.server/Makefile.in: Likewise.
2462 * gdb.stabs/Makefile.in: Likewise.
2463 * gdb.threads/Makefile.in: Likewise.
2464 * gdb.trace/Makefile.in: Likewise.
2465 * gdb.xml/Makefile.in: Likewise.
2466 * lib/gdb.exp (make_gdb_parallel_path): Add check for
2467 GDB_PARALLEL.
2468 (standard_output_file): Remove check for GDB_PARALLEL, always
2469 return path in outputs/$subdir/$testname.
2470
437277d4
SM
24712016-02-08 Simon Marchi <simon.marchi@ericsson.com>
2472
2473 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
2474 (site.exp): Assign abs_srcdir to tcl's srcdir.
2475
31d913c7
YQ
24762016-02-04 Yao Qi <yao.qi@linaro.org>
2477
2478 * gdb.base/foll-exec-mode.c: Include limits.h.
2479 (main): Add parameters argc and argv. Get directory from
2480 argv[0].
2481 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
2482 compilation.
2483 * gdb.base/foll-exec.c: Include limits.h.
2484 (main): Add parameters argc and argv.
2485 Get directory from argv[0].
2486 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
2487 Adjust tests on the number of lines as source code changed.
2488 * gdb.base/foll-vfork-exit.c: Include limits.h.
2489 (main): Add one line of statement before vfork.
2490 * gdb.base/foll-vfork.c: Include limits.h and string.h.
2491 (main): Add parameters argc and argv. Get directory from
2492 argv[0].
2493 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
2494 (setup_gdb): Set tbreak to skip some source lines.
2495 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
2496 (main): Add parameters argc and argv. Get directory from
2497 argv[0].
2498 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
2499 compilation.
2500 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
2501 (main): Add parameters argc and argv. Get directory from
2502 argv[0].
2503 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
2504 compilation.
2505
9482b9fb
DE
25062016-02-01 Doug Evans <dje@google.com>
2507
2508 * gdb.base/skip.exp: Clean up multiple references to same test name.
2509
6b2e4f10
PA
25102016-02-01 Pedro Alves <palves@redhat.com>
2511
ccb6afd6 2512 PR remote/19496
6b2e4f10
PA
2513 * gdb.threads/forking-threads-plus-breakpoint.exp
2514 (displaced_stepping_supported): New global.
2515 (probe_displaced_stepping_support): New procedure.
2516 (do_test): Add 'displaced' parameter, and use it.
2517 (top level): Check for displaced stepping support. Add displaced
2518 stepping on/off testing axis.
2519
37a8db1a
AB
25202016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2521
2522 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
2523 pointer. Don't perform further tests on the unassociated pointer
2524 if the first test fails.
2525
5fdf6324
AB
25262016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
2527
2528 * gdb.base/max-value-size.c: New file.
2529 * gdb.base/max-value-size.exp: New file.
2530 * gdb.base/huge.exp: Disable max-value-size for this test.
2531
935c6144
IB
25322016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
2533
2534 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2535
7fe8399d
YQ
25362016-01-28 Yao Qi <yao.qi@linaro.org>
2537
2538 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
2539
a2077e25
PA
25402016-01-25 Pedro Alves <palves@redhat.com>
2541
2542 PR threads/19461
2543 * gdb.base/fork-running-state.c: New file.
2544 * gdb.base/fork-running-state.exp: New file.
2545
1d2736d4
PA
25462016-01-25 Pedro Alves <palves@redhat.com>
2547
2548 PR gdb/19494
2549 * gdb.base/catch-fork-kill.c: New file.
2550 * gdb.base/catch-fork-kill.exp: New file.
2551
f1da4b11
PA
25522016-01-25 Pedro Alves <palves@redhat.com>
2553
2554 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
2555 Delete, moved to lib/gdb.exp.
2556 * gdb.threads/forking-threads-plus-breakpoint.exp
2557 (foreach_with_prefix): Likewise.
2558 * gdb.threads/process-dies-while-handling-bp.exp
2559 (foreach_with_prefix): Likewise.
2560 * lib/gdb.exp (foreach_with_prefix): New procedure.
2561
45f38546
MK
25622016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
2563
2564 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
2565 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
2566
dc29a1ce
MK
25672016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
2568
2569 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
2570 endian targets.
2571
092127d7
JK
25722016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2573 Pedro Alves <palves@redhat.com>
2574
2575 Fix testsuite compatibility with Guile.
2576 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
2577 number.
2578
31d765d3
JK
25792016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2580
2581 Fix testsuite compatibility with Guile.
2582 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
2583 (thread 1): New test for backtrace through signal handler.
2584
1ac78c04
YQ
25852016-01-22 Yao Qi <yao.qi@linaro.org>
2586
2587 PR testsuite/19491
2588 * gdb.base/multi-forks.c: Include
2589 ../lib/unbuffer_output.c
2590 (main): Call gdb_unbuffer_output.
2591
4f5946a8
DE
25922016-01-21 Doug Evans <dje@google.com>
2593
2594 * lib/ada.exp (gdb_compile_ada): Fix typo.
2595
305e13e6
JB
25962016-01-21 Joel Brobecker <brobecker@adacore.com>
2597
2598 * gdb.base/break-fun-addr.exp: New file.
2599 * gdb.base/break-fun-addr1.c: New file.
2600 * gdb.base/break-fun-addr2.c: New file.
2601
5f5dfff6
SM
26022016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2603
2604 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
2605 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
2606 enum flag values.
2607
fd356fa2
AA
26082016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2609
2610 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
2611 when GDB can not set the vector return value. Add more comments
2612 for clarification.
2613
9df22175
AT
26142016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
2615
2616 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
2617 command.
2618
41d1845e
SM
26192016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2620
2621 * Makefile.in (DO_RUNTEST): Add --status and update usages.
2622
01ac6840
SM
26232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2624
2625 * Makefile.in (check-single): Pass --status to runtest.
2626 (check/%.exp): Likewise.
2627
26282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
2629
2630 * Makefile.in (check-parallel): Propagate return code from make
2631 do-check-parallel.
2632
bd0a71fa
MK
26332016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
2634
2635 * gdb.trace/ftrace.exp: Fix expected message on continue.
2636 * gdb.trace/pending.exp: Fix expected message on continue.
2637 * gdb.trace/trace-break.exp: Fix expected message on continue.
2638
8bcbad33
SM
26392016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2640
2641 * lib/gdb.exp (gdb_test): Remove unused global references.
2642
f303dbd6
PA
26432016-01-18 Pedro Alves <palves@redhat.com>
2644
2645 * gdb.base/async-shell.exp: Adjust expected output.
2646 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
2647 * gdb.base/siginfo-thread.exp: Adjust expected output.
2648 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
2649 * gdb.java/jnpe.exp: Adjust expected output.
2650 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
2651 * gdb.threads/continue-pending-status.exp: Adjust expected output.
2652 * gdb.threads/leader-exit.exp: Adjust expected output.
2653 * gdb.threads/manythreads.exp: Adjust expected output.
2654 * gdb.threads/pthreads.exp: Adjust expected output.
2655 * gdb.threads/schedlock.exp: Adjust expected output.
2656 * gdb.threads/siginfo-threads.exp: Adjust expected output.
2657 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
2658 expected output.
2659 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
2660 output.
2661 * gdb.threads/sigthread.exp: Adjust expected output.
2662 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
2663
b2789696
YQ
26642016-01-18 Yao Qi <yao.qi@linaro.org>
2665
2666 * gdb.guile/scm-section-script.c: Replace @progbits with
2667 %progbits.
2668 * gdb.python/py-section-script.c: Likewise.
2669
71ef29a8
PA
26702016-01-15 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.multi/tids.exp: Test star wildcard ranges.
2673
3f5b7598
PA
26742016-01-15 Pedro Alves <palves@redhat.com>
2675
2676 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
2677 command from "thread apply" invocation.
2678 (thr_apply_info_thr_invalid): Default the expected output to the
2679 input tid list.
2680 (top level): Add tests that use convenience variables. Add tests
2681 for "thread apply" with a valid TID list, but missing the command.
2682
663f6d42
PA
26832016-01-13 Pedro Alves <palves@redhat.com>
2684
2685 * gdb.base/default.exp: Expect $_gthread as well.
2686 * gdb.multi/tids.exp: Test $_gthread.
2687 * gdb.threads/thread-specific.exp: Test $_gthread.
2688
c84f6bbf
PA
26892016-01-13 Pedro Alves <palves@redhat.com>
2690
2691 * gdb.multi/tids.exp: Test "info threads -gid".
2692
22a02324
PA
26932016-01-13 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.multi/tids.exp: Test InferiorThread.global_num and
2696 Breakpoint.thread.
2697 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
2698
5d5658a1
PA
26992016-01-07 Pedro Alves <palves@redhat.com>
2700
2701 * gdb.base/break.exp: Adjust to output changes.
2702 * gdb.base/hbreak2.exp: Likewise.
2703 * gdb.base/sepdebug.exp: Likewise.
2704 * gdb.base/watch_thread_num.exp: Likewise.
2705 * gdb.linespec/keywords.exp: Likewise.
2706 * gdb.multi/info-threads.exp: Likewise.
2707 * gdb.threads/thread-find.exp: Likewise.
2708 * gdb.multi/tids.c: New file.
2709 * gdb.multi/tids.exp: New file.
2710
84654457
PA
27112016-01-13 Pedro Alves <palves@redhat.com>
2712
2713 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
2714
e3940304
PA
27152016-01-13 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.base/default.exp: Expect $_inferior as well.
2718 * gdb.multi/base.exp: Test $_inferior.
2719
a911d87a
PA
27202016-01-13 Pedro Alves <palves@redhat.com>
2721
2722 PR breakpoints/19388
2723 * gdb.base/catch-signal-siginfo-cond.c: New file.
2724 * gdb.base/catch-signal-siginfo-cond.exp: New file.
2725
82075af2
JS
27262016-01-12 Josh Stone <jistone@redhat.com>
2727 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2728
2729 * gdb.base/catch-syscall.c (do_execve): New variable.
2730 (main): Conditionally trigger an execve.
2731 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
2732 (test_catch_syscall_execve): New, check entry/return across execve.
2733 (do_syscall_tests): Call test_catch_syscall_execve.
2734
e46eeedd
PA
27352016-01-12 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/random-signal.exp (do_test): New procedure, with body
2738 of testcase moved in.
2739
01d8c27e
JK
27402016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2741 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.base/funcargs.exp (finish from indirectly called function):
2744 Reintroduce the case for 'First'.
2745
9a706302
JK
27462016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2747 Pedro Alves <palves@redhat.com>
2748
2749 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2750 (tcatch_vfork_then_child_follow_exec)
2751 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
2752 identification.
2753
c0ecb95f
JK
27542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2755
2756 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
2757 and repeats to unlimited.
2758 * gdb.python/py-value.exp: Likewise.
2759 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
2760 and repeats to unlimited.
2761
6cfc1fcb
JK
27622016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2763
2764 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
2765 and reordering the functions.
2766 * gdb.multi/hangout.c: Likewise.
2767 * gdb.multi/hello.c: Likewise.
2768
582a1b00
SM
27692016-01-08 Simon Marchi <simon.marchi@ericsson.com>
2770
2771 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
2772 absolute.
2773 (SingleStatisticTestResult.report): Use dict.keys instead of
2774 dict.iterkeys.
2775
79bc59cb
PA
27762016-01-06 Pedro Alves <palves@redhat.com>
2777
2778 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
2779
43368e1d
MM
27802016-01-04 Markus Metzger <markus.t.metzger@intel.com>
2781
2782 * gdb.btrace/dlopen.exp: New.
2783 * gdb.btrace/dlopen.c: New.
2784 * gdb.btrace/dlopen-dso.c: New.
2785
79fad5b8
SL
27862015-12-25 Sandra Loosemore <sandra@codesourcery.com>
2787
2788 * lib/gdb.exp (gdb_test): Update comments to clarify that the
2789 PATTERN argument is optional.
2790
ab8314b3
JB
27912015-12-24 Joel Brobecker <brobecker@adacore.com>
2792
2793 * lib/ada.exp (target_compile_ada_from_dir): New function.
2794 (gdb_compile_ada): Reimplement avoiding the use of project files.
2795 * gdb.ada/gnat_ada.gpr: Delete.
2796 * gdb.ada/cond_lang.exp: Adjust test to make path before
2797 filename optional.
2798 * gdb.ada/small_reg_param.exp: Likewise.
2799
fe33faff
SM
28002015-12-22 Simon Marchi <simon.marchi@ericsson.com>
2801
2802 * gdb.base/foll-vork.exp: Remove HP-UX special case.
2803
6d265cb4
TP
28042015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
2805
2806 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2807 case.
2808
10125099
SM
28092015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2810
2811 * gdb.base/break.exp: Remove dead code.
2812 * gdb.base/sepdebug.exp: Likewise.
2813
3ca22649
SM
28142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2815
2816 * gdb.asm/asm-source.exp: Remove HP-UX references.
2817 * gdb.base/annota1.exp: Likewise.
2818 * gdb.base/annota3.exp: Likewise.
2819 * gdb.base/attach.exp: Likewise.
2820 * gdb.base/bigcore.exp: Likewise.
2821 * gdb.base/break.exp: Likewise.
2822 * gdb.base/call-ar-st.exp: Likewise.
2823 * gdb.base/callfuncs.exp: Likewise.
2824 * gdb.base/catch-fork-static.exp: Likewise.
2825 * gdb.base/display.exp: Likewise.
2826 * gdb.base/foll-exec-mode.exp: Likewise.
2827 * gdb.base/foll-exec.exp: Likewise.
2828 * gdb.base/foll-fork.exp: Likewise.
2829 * gdb.base/foll-vfork.exp: Likewise.
2830 * gdb.base/funcargs.exp: Likewise.
2831 * gdb.base/hbreak2.exp: Likewise.
2832 * gdb.base/inferior-died.exp: Likewise.
2833 * gdb.base/interrupt.exp: Likewise.
2834 * gdb.base/multi-forks.exp: Likewise.
2835 * gdb.base/nodebug.exp: Likewise.
2836 * gdb.base/sepdebug.exp: Likewise.
2837 * gdb.base/solib1.c: Likewise.
2838 * gdb.base/step-test.exp: Likewise.
2839 * gdb.mi/non-stop.c: Likewise.
2840 * gdb.mi/pthreads.c: Likewise.
2841 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2842 * gdb.threads/pthreads.c: Likewise.
2843 * gdb.threads/staticthreads.exp: Likewise.
2844 * lib/future.exp: Likewise.
2845 * lib/gdb.exp: Likewise.
2846 * gdb.base/so-indr-cl.c: Remove.
2847 * gdb.base/so-indr-cl.exp: Likewise.
2848 * gdb.base/solib.c: Likewise.
2849 * gdb.base/solib.exp: Likewise.
2850 * gdb.base/solib2.c: Likewise.
2851
b6304613
SM
28522015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2853
2854 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2855 * gdb.base/call-ar-st.exp: Likewise.
2856 * gdb.base/callfuncs.exp: Likewise.
2857 * gdb.base/condbreak.exp: Likewise.
2858 * gdb.base/constvars.exp: Likewise.
2859 * gdb.base/hbreak2.exp: Likewise.
2860 * gdb.base/langs.exp: Likewise.
2861 * gdb.base/list.exp: Likewise.
2862 * gdb.base/long_long.exp: Likewise.
2863 * gdb.base/ptype.exp: Likewise.
2864 * gdb.base/scope.exp: Likewise.
2865 * gdb.base/signals.exp: Likewise.
2866 * gdb.base/so-impl-ld.exp: Likewise.
2867 * gdb.base/varargs.exp: Likewise.
2868 * gdb.base/volatile.exp: Likewise.
2869 * gdb.base/whatis.exp: Likewise.
2870 * gdb.cp/cplusfuncs.exp: Likewise.
2871 * gdb.cp/inherit.exp: Likewise.
2872 * gdb.cp/local.exp: Likewise.
2873 * gdb.cp/member-ptr.exp: Likewise.
2874 * gdb.cp/method.exp: Likewise.
2875 * gdb.cp/overload.exp: Likewise.
2876 * gdb.cp/templates.exp: Likewise.
2877 * gdb.stabs/weird.exp: Likewise.
2878 * lib/compiler.c: Likewise.
2879 * lib/compiler.cc: Likewise.
2880 * lib/cp-support.exp: Likewise.
2881 * lib/gdb.exp: Likewise.
2882
bf401b07
SM
28832015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2884
2885 * configure.ac: Remove HP-UX case.
2886 * configure: Regenerate.
2887
aff9c0f8
SM
28882015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2889
2890 * lib/gdb.exp (gdb_compile): Add function doc.
2891
a6904d5a
PA
28922015-12-17 Pedro Alves <palves@redhat.com>
2893
2894 PR threads/19354
2895 * gdb.multi/info-threads.exp: New file.
2896
a22279dd
YQ
28972015-12-15 Yao Qi <yao.qi@linaro.org>
2898
2899 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2900 is aarch64*-*-*.
2901
0588c796
SL
29022015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2903
2904 * gdb.base/history-duplicates.exp: Skip if no readline support.
2905
5d978e17
SL
29062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2907
2908 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2909
7e763b86
SL
29102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2911
2912 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2913
87a3a92c
SL
29142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2915
2916 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2917 ctrl-C if nointerrupts target property is set.
2918 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2919 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2920 * gdb.base/paginate-bg-execution.exp: Likewise.
2921 * gdb.base/paginate-execution-startup.exp: Likewise.
2922 * gdb.base/random-signal.exp: Likewise.
2923 * gdb.base/range-stepping.exp: Likewise.
2924 * gdb.cp/annota2.exp: Likewise.
2925 * gdb.cp/annota3.exp: Likewise.
2926 * gdb.gdb/selftest.exp: Likewise.
2927 * gdb.threads/continue-pending-status.exp: Likewise.
2928 * gdb.threads/leader-exit.exp: Likewise.
2929 * gdb.threads/manythreads.exp: Likewise.
2930 * gdb.threads/pthreads.exp: Likewise.
2931 * gdb.threads/schedlock.exp: Likewise.
2932 * gdb.threads/sigthread.exp: Likewise.
2933
a8f077dc
DB
29342015-12-11 Don Breazeal <donb@codesourcery.com>
2935
2936 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2937 remote.
2938 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2939 * gdb.base/foll-exec.exp (main): Enable for target remote.
2940 * gdb.base/foll-fork.exp (main): Likewise.
2941 * gdb.base/foll-vfork.exp (main): Likewise.
2942 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2943 (proc continue_to_exit_bp_loc): Use clean_restart.
2944 * gdb.base/pie-execl.exp (main): Disable for target remote.
2945 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2946 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2947 * gdb.threads/execl.exp (main): Likewise.
2948 * gdb.threads/fork-child-threads.exp (main): Likewise.
2949 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2950 remote.
2951 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2952 remote.
2953 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2954 pid.tid style ptids, instead of just tid.
2955 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2956 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2957 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2958 ptids, instead of just tid.
2959
3b2464a8
AB
29602015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2961
2962 * gdb.base/list.exp (test_list_forward): Add end of file error
2963 test.
2964 (test_repeat_list_command): Add end of file error test.
2965 (test_list_backwards): Add beginning of file error test.
2966
a0def019
AB
29672015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2968
2969 * gdb.base/list.exp (test_list_invalid_args): New function,
2970 defined, and called.
2971
5c000dff
AB
29722015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2973
2974 * gdb.base/list.exp (test_list): Make test names unique.
2975
f1637ebe
YQ
29762015-12-11 Yao Qi <yao.qi@linaro.org>
2977
2978 * gdb.base/coremaker2.c: Remove.
2979
36d6fc0a
PA
29802015-12-10 Pedro Alves <palves@redhat.com>
2981
2982 * gdb.multi/base.exp: Remove stale "spaces" references.
2983
762f7747
PA
29842015-12-10 Pedro Alves <palves@redhat.com>
2985
2986 * gdb.multi/base.exp: Don't use nowarnings.
2987 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2988 * gdb.multi/hangout.c: Include stdio.h.
2989 * gdb.multi/hello.c: Include stdlib.h.
2990 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2991 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2992 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2993
28d2bfb9
AB
29942015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2995
2996 * gdb.dwarf2/dw2-ranges-base.c: New file.
2997 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2998 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2999 support additional line table, and debug ranges generation.
3000 (Dwarf::ranges): New function, generate .debug_ranges.
3001 (Dwarf::lines): Support generating simple line table programs.
3002 (Dwarf::assemble): Initialise new namespace variables.
3003
5fc2beac
KB
30042015-12-09 Kevin Buettner <kevinb@redhat.com>
3005
3006 * gdb.base/async.exp (proc test_background): Add case for
3007 asynchronous execution not supported.
3008
1c35a88f
LM
30092015-12-09 Luis Machado <lgustavo@codesourcery.com>
3010
3011 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
3012 format and change test names to make them unique.
3013
b593e3d9
RK
30142015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
3015 Pedro Alves <pedro@redhat.com>
3016
3017 PR gdb/18702
3018 Add checking of floatformats setup on x86_64 hosts.
3019 * gdb.arch/i386-float.S (main): Load bigval and smallval.
3020 (smallval, bigval): New labels/constants.
3021 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
3022 float" after loading bigval and smallval.
3023
d72413e6
PMR
30242015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
3025
3026 * gdb.ada/fun_overload_menu.exp: New testcase.
3027 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
3028
ece66d65
JS
30292015-12-04 Josh Stone <jistone@redhat.com>
3030
3031 * gdb.base/catch-fork-static.exp: New.
3032
41d0efca
YQ
30332015-12-03 Yao Qi <yao.qi@linaro.org>
3034
3035 * gdb.base/sizeof.c: Don't include stdio.h and
3036 ../lib/unbuffer_output.c.
3037 (main): New variable 'size' and 'value'. Remove printf and
3038 gdb_unbuffer_output. Assign return value to size and value.
3039 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
3040 at the beginning.
3041 (check_sizeof): Check the result by printing variable 'size'.
3042 (check_valueof): Check the result by printing variable 'value'.
3043
99fd02d9
YQ
30442015-12-01 Yao Qi <yao.qi@linaro.org>
3045
3046 * gdb.base/disp-step-syscall.exp: Define syscall instruction
3047 for aarch64*-*-linux* target.
3048
f2faf941
PA
30492015-11-30 Pedro Alves <palves@redhat.com>
3050
3051 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
3052
04bf20c5
PA
30532015-11-30 Pedro Alves <palves@redhat.com>
3054
3055 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3056 Handle non-stop mode vCont replies.
3057
09df4675
PA
30582015-11-30 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
3061 prepare_for_testing. Start gdb with "set non-stop on" appended to
3062 GDBFLAGS. Lax expected stop output.
3063
58b584af
YQ
30642015-11-27 Yao Qi <yao.qi@linaro.org>
3065
3066 * gdb.arch/arm-neon.exp: New.
3067 * gdb.arch/arm-neon.c: New.
3068
dfcb77a8
YQ
30692015-11-27 Yao Qi <yao.qi@linaro.org>
3070
3071 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
3072
88e8ec1b
YQ
30732015-11-27 Yao Qi <yao.qi@linaro.org>
3074
3075 * gdb.cp/annota2.exp: Allow multiple occurrences of the
3076 frames-invalid annotation.
3077
bfde72c2
YQ
30782015-11-27 Yao Qi <yao.qi@linaro.org>
3079
3080 * gdb.cp/annota2.exp: Use ${frames_invalid}.
3081
f6512a69
SM
30822015-11-26 Simon Marchi <simon.marchi@ericsson.com>
3083
3084 * gdb.threads/names.exp: New file.
3085 * gdb.threads/names.c: New file.
3086 * README: Mention gdb,no_thread_names.
3087
46a3515b
MM
30882015-11-26 Markus Metzger <markus.t.metzger@intel.com>
3089
3090 PR 19297
3091 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
3092 support" error.
3093
62147a22
PA
30942015-11-24 Pedro Alves <palves@redhat.com>
3095
3096 PR 17539
3097 * gdb.base/display.exp: Expect displays to be sorted in ascending
3098 order. Use multi_line.
3099 * gdb.base/solib-display.exp: Likewise.
3100
2f341b6e
PA
31012015-11-24 Pedro Alves <palves@redhat.com>
3102
3103 PR 17539
25d49b86
PA
3104 * gdb.base/display.exp: Expect displays to be sorted in ascending
3105 order. Use multi_line.
3106 * gdb.base/solib-display.exp: Likewise.
2f341b6e 3107
7e0aa6aa
PA
31082015-11-24 Pedro Alves <palves@redhat.com>
3109
3110 PR 17539
3111 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
3112 threads in ascending order.
3113 * gdb.base/foll-fork.exp: Likewise.
3114 * gdb.base/foll-vfork.exp: Likewise.
3115 * gdb.base/multi-forks.exp: Likewise.
3116 * gdb.mi/mi-nonstop.exp: Likewise.
3117 * gdb.mi/mi-nsintrall.exp: Likewise.
3118 * gdb.multi/base.exp: Likewise.
3119 * gdb.multi/multi-arch.exp: Likewise.
3120 * gdb.python/py-inferior.exp: Likewise.
3121 * gdb.threads/break-while-running.exp: Likewise.
3122 * gdb.threads/execl.exp: Likewise.
3123 * gdb.threads/gcore-thread.exp: Likewise.
3124 * gdb.threads/info-threads-cur-sal.exp: Likewise.
3125 * gdb.threads/kill.exp: Likewise.
3126 * gdb.threads/linux-dp.exp: Likewise.
3127 * gdb.threads/multiple-step-overs.exp: Likewise.
3128 * gdb.threads/next-bp-other-thread.exp: Likewise.
3129 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
3130 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
3131 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
3132 * gdb.threads/thread-find.exp: Likewise.
3133 * gdb.threads/tls.exp: Likewise.
3134 * lib/mi-support.exp (mi_reverse_list): Delete.
3135 (mi_check_thread_states): No longer reverse list.
3136
2cc57ad8
PA
31372015-11-24 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
3140 use lowercase.
3141
c93e8391
SM
31422015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3143
3144 * gdb.trace/actions.c: Include trace-common.h.
3145 (main): Add a location for a fast tracepoint.
3146 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
3147 the normal tracepoints.
3148 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
3149
045ccf91
SM
31502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
3151
3152 * save-trace.exp: Factor out code to these...
3153 (gdb_save_tracepoints): New.
3154 (gdb_load_tracepoints): New.
3155 (do_save_load_test): New.
3156
5506f9f6
KB
31572015-11-23 Kevin Buettner <kevinb@redhat.com>
3158
3159 * gdb.base/asmlabel.exp: New test.
3160 * gdb.base/asmlabel.c: New test case.
3161
16c3b12f
JB
31622015-11-23 Joel Brobecker <brobecker@adacore.com>
3163
3164 * gdb.base/wrong_frame_bt_full-main.c: New file.
3165 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
3166 * gdb.base/wrong_frame_bt_full.exp: New file.
3167
155bfbd3
JB
31682015-11-23 Joel Brobecker <brobecker@adacore.com>
3169
3170 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
3171
bb097445
JM
31722015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3173
206853a0 3174 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
3175 pstate register when comparing registers values in
3176 sparc64-*-linux-gnu targets to avoid spurious differences.
3177
9c88ed8f
JM
31782015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
3179
206853a0 3180 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 3181
96161e25
SL
31822015-11-19 Sandra Loosemore <sandra@codesourcery.com>
3183
3184 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
3185 as type argument to gdb_compile.
3186 * gdb.base/nested-subp2.exp: Likewise.
3187 * gdb.base/nested-subp3.exp: Likewise.
3188
340c2830
DV
31892015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
3190
3191 * lib/dwarf.exp (_note): Fix left shift of negative value.
3192 * gdb.trace/trace-condition.exp: Likewise.
3193
c1862d0f
YQ
31942015-11-13 Yao Qi <yao.qi@linaro.org>
3195
3196 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
3197 comments about d10v.
3198 (test_scalar_returns): Likewise.
3199 * gdb.base/d10v.ld: Remove.
3200 * gdb.base/overlays.exp: Remove the target triplet checking for
3201 d10v-*-*.
3202 * gdb.base/structs.exp (test_struct_returns): Remove the
3203 comments about d10v.
3204 (test_struct_calls): Likewise.
3205
77ae9c19
YQ
32062015-11-13 Yao Qi <yao.qi@linaro.org>
3207
3208 * gdb.base/gnu_vector.exp: Check the return value by "p res".
3209 * gdb.base/gnu_vector.c: Don't include stdio.h.
3210 (main): Don't print res and call add_some_intvecs.
3211
430e004e
MK
32122015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
3213
3214 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
3215 macro.
3216 (func5): Removed.
3217 (func4): Use FAST_TRACEPOINT_LABEL.
3218 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
3219 macro.
3220 (func): Removed.
3221 (thread_function): Use FAST_TRACEPOINT_LABEL.
3222 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
3223 (func): Remove.
3224 (marker): Use FAST_TRACEPOINT_LABEL.
3225 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
3226 (pendfunc1): Remove.
3227 (pendfunc): Use FAST_TRACEPOINT_LABEL.
3228 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
3229 (foo): Remove.
3230 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
3231 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
3232 macro.
3233 (func): Remove.
3234 (marker): Use FAST_TRACEPOINT_LABEL.
3235 * gdb.trace/trace-common.h: New header.
3236 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
3237 macro.
3238 (func): Remove.
3239 (marker): Use FAST_TRACEPOINT_LABEL.
3240 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
3241 (func): Remove.
3242 (thread_function): Use FAST_TRACEPOINT_LABEL.
3243
6e7675a7
MK
32442015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
3245
3246 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
3247 in front.
3248 * gdb.trace/change-loc.exp: Use global pcreg definition.
3249 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
3250 * gdb.trace/entry-values.exp: Use global spreg definition, add $
3251 in front.
3252 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
3253 * gdb.trace/pending.exp: Likewise.
3254 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
3255 * gdb.trace/trace-break.exp: Likewise.
3256 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
3257 in front.
3258 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
3259 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
3260 in front.
3261 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
3262
dddc0e16
JB
32632015-11-09 Joel Brobecker <brobecker@adacore.com>
3264
3265 * gdb.ada/fin_fun_out: New testcase.
3266
c6f0b406
KB
32672015-11-07 Kevin Buettner <kevinb@redhat.com>
3268
3269 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
3270 value associated with DW_AT_byte_size.
3271 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
3272 constants for DW_AT_byte_size, DW_AT_lower_bound, and
3273 DW_AT_upper_bound.
3274
f01dcfd9
KB
32752015-11-07 Kevin Buettner <kevinb@redhat.com>
3276
3277 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
3278 (gdb_target_symbol_prefix_flags): Define in terms of _asm
3279 version.
3280 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
3281 gdb.dwarf2/dw2-canonicalize-type.exp,
3282 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
3283 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
3284 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
3285 provided by gdb_target_symbol_prefix_flags_asm.
3286 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
3287 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
3288 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
3289 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
3290 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
3291 macros where needed). Use this macro for symbols which require
3292 the prefix provided by SYMBOL_PREFIX.
3293
2223449a
KB
32942015-11-05 Kevin Buettner <kevinb@redhat.com>
3295
3296 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
3297 New procs.
3298 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
3299 representing expressions, of more than one list element.
3300 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
3301 to prepend linker symbol prefix to f.
3302 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
3303 table_1 and table_2.
3304 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
3305 Likewise, for f and g.
3306 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
3307 for ptr.
3308 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
3309 for main.
3310 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
3311 table_1_ptr and table_2_ptr.
3312
6f2f1a3a
JK
33132015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3314 Joel Brobecker <brobecker@adacore.com>
3315
3316 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
3317
566c56c9
MK
33182015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
3319
3320 * gdb.reverse/s390-mvcle.c: New test.
3321 * gdb.reverse/s390-mvcle.exp: New file.
3322 * lib/gdb.exp: Enable reverse tests on s390*-linux.
3323
d5f0636b
MK
33242015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3325
3326 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
3327
7ad8b86c
MK
33282015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
3329
3330 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
3331 reaching marker2.
3332 * gdb.reverse/getresuid-reverse.exp: Likewise.
3333 * gdb.reverse/pipe-reverse.exp: Likewise.
3334 * gdb.reverse/readv-reverse.exp: Likewise.
3335 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3336 * gdb.reverse/time-reverse.exp: Likewise.
3337 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
3338
4081c0f1
YQ
33392015-10-30 Yao Qi <yao.qi@linaro.org>
3340
3341 * gdb.threads/wp-replication.c (watch_count_done): Remove.
3342 (empty_cycle): Remove.
3343 (main): Don't call empty_cycle. Don't use watch_count_done.
3344 * gdb.threads/wp-replication.exp: Don't set breakpoint on
3345 empty_cycle. Rewrite the code counting HW watchpoints.
3346
452b4ba5
MK
33472015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
3348
3349 * gdb.reverse/fstatat-reverse.c: New test.
3350 * gdb.reverse/fstatat-reverse.exp: New file.
3351 * gdb.reverse/getresuid-reverse.c: New test.
3352 * gdb.reverse/getresuid-reverse.exp: New file.
3353 * gdb.reverse/pipe-reverse.c: New test.
3354 * gdb.reverse/pipe-reverse.exp: New file.
3355 * gdb.reverse/readv-reverse.c: New test.
3356 * gdb.reverse/readv-reverse.exp: New file.
3357 * gdb.reverse/recvmsg-reverse.c: New test.
3358 * gdb.reverse/recvmsg-reverse.exp: New file.
3359 * gdb.reverse/time-reverse.c: New test.
3360 * gdb.reverse/time-reverse.exp: New file.
3361 * gdb.reverse/waitpid-reverse.c: New test.
3362 * gdb.reverse/waitpid-reverse.exp: New file.
3363
5e2e7507
JK
33642015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3365
3366 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
3367
0fde2c53
DE
33682015-10-26 Doug Evans <dje@google.com>
3369
3370 PR symtab/17391
3371 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
3372 * gdb.dwarf2/bad-regnum.c: New file.
3373 * gdb.dwarf2/bad-regnum.exp: New file.
3374
1a70ae97
DE
33752015-10-26 Doug Evans <dje@google.com>
3376
3377 PR python/18938
3378 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
3379 file.
3380
27dc26ab
JK
33812015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3382
3383 * gdb.compile/compile.exp (compile code globalvar): Update expectation
3384 for a change by "Mention language in compile error message".
3385
bed91f4d
SM
33862015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
3387
3388 PR python/18073
3389 * gdb.python/py-type.c (C::a_method): New.
3390 (C::a_const_method): New.
3391 (C::a_static_method): New.
3392 (a_function): New.
3393 * gdb.python/py-type.exp (test_fields): Test getting fields
3394 from function and method.
3395
3f2f83dd
KB
33962015-10-21 Keven Boell <keven.boell@intel.com>
3397
3398 * gdb.fortran/vla-alloc-assoc.exp: New file.
3399 * gdb.fortran/vla-datatypes.exp: New file.
3400 * gdb.fortran/vla-datatypes.f90: New file.
3401 * gdb.fortran/vla-history.exp: New file.
3402 * gdb.fortran/vla-ptype-sub.exp: New file.
3403 * gdb.fortran/vla-ptype.exp: New file.
3404 * gdb.fortran/vla-sizeof.exp: New file.
3405 * gdb.fortran/vla-sub.f90: New file.
3406 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
3407 * gdb.fortran/vla-value-sub-finish.exp: New file.
3408 * gdb.fortran/vla-value-sub.exp: New file.
3409 * gdb.fortran/vla-value.exp: New file.
3410 * gdb.fortran/vla-ptr-info.exp: New file.
3411 * gdb.mi/mi-vla-fortran.exp: New file.
3412 * gdb.mi/vla.f90: New file.
3413
27145d50
SL
34142015-10-21 Sandra Loosemore <sandra@codesourcery.com>
3415
3416 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
3417 of hardwired timeout value.
3418
5f3ff4f8
JK
34192015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3420 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
3423 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
3424
bfd09d20
JS
34252015-10-19 Josh Stone <jistone@redhat.com>
3426
3427 * gdb.base/catch-syscall.c: Include <sched.h>.
3428 (unknown_syscall): New variable.
3429 (main): Trigger a vfork and an unknown syscall.
3430 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
3431 (unknown_syscall_number): Likewise.
3432 (check_call_to_syscall): Accept an optional syscall pattern.
3433 (check_return_from_syscall): Likewise.
3434 (check_continue): Likewise.
3435 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
3436 (test_catch_syscall_skipping_return): New test toggling off 'catch
3437 syscall' to step over the syscall return, then toggling back on.
3438 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
3439 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
3440 (do_syscall_tests): Call test_catch_syscall_without_args and
3441 test_catch_syscall_mid_vfork.
3442 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
3443 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
3444
b32b93c6
AS
34452015-10-19 Andrew Stubbs <ams@codesourcery.com>
3446
3447 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
3448 print g_vE): Add new pass patterns.
3449 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
3450 print various symbol names for vptr fields.
3451
9d622bda
AB
34522015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
3453
3454 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
3455 results.
3456
0fd8ac1c
YQ
34572015-10-12 Yao Qi <yao.qi@linaro.org>
3458
3459 * gdb.arch/disp-step-insn-reloc.exp: New test case.
3460
34240514
YQ
34612015-10-12 Yao Qi <yao.qi@linaro.org>
3462
3463 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
3464 is aarch64*-*-linux*.
3465
8240f442
YQ
34662015-10-12 Yao Qi <yao.qi@linaro.org>
3467
3468 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
3469 (can_relocate_bcond_true): ... it.
3470 (can_relocate_bcond_false): New function.
3471 (foo): Likewise.
3472 (can_relocate_bl): Likewise.
3473 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
3474 can_relocate_bl.
3475
2520f728
PMR
34762015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
3477
3478 * gdb.base/nested-addr.c: New file.
3479 * gdb.base/nested-addr.exp: New testcase.
3480
abcef95a
MM
34812015-10-09 Markus Metzger <markus.t.metzger@intel.com>
3482
3483 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
3484 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
3485 its output. Ignore the output of "record goto begin" and instead
3486 check that GDB is replaying.
3487
145e3ddb
PA
34882015-10-09 Pedro Alves <palves@redhat.com>
3489
3490 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
3491 (top level): Use it in the run with no args test.
3492
d5d8c4e1
IB
34932015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
3494
3495 * gdb.dlang/properties.exp: New file.
3496
06e635ef
SL
34972015-10-02 Sandra Loosemore <sandra@codesourcery.com>
3498
3499 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
3500 whether or not address 0x1000 is mapped on the target.
3501
e019fd1d
SM
35022015-09-30 Simon Marchi <simon.marchi@ericsson.com>
3503
3504 * gdb.python/py-type.exp: Do not run tests if binaries fail to
3505 build.
3506
77ba2a67
MM
35072015-09-30 Markus Metzger <markus.t.metzger@intel.com>
3508
3509 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
3510 instruction-history test.
3511
c60eb31f
DE
35122015-09-28 Doug Evans <dje@google.com>
3513
3514 * gdb.base/gcore.c (array_func): Add reference to static_array.
3515
9a3c8263
SM
35162015-09-25 Simon Marchi <simon.marchi@ericsson.com>
3517
3518 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
3519 source line.
3520
9720e656
SL
35212015-09-24 Sandra Loosemore <sandra@codesourcery.com>
3522
3523 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
3524 short or char as base type.
3525
938d3bf2
SL
35262015-09-23 Sandra Loosemore <sandra@codesourcery.com>
3527
3528 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
3529 to allow any size enum.
3530
e6c2c623
PMR
35312015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
3532
3533 * gdb.ada/array_ptr_renaming.exp: New testcase.
3534 * gdb.ada/array_ptr_renaming/foo.adb: New file.
3535 * gdb.ada/array_ptr_renaming/pack.ads: New file.
3536
06da0f77
PL
35372015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3538
3539 * gdb.trace/ftrace-lock.c: New file.
3540 * gdb.trace/ftrace-lock.exp: New file.
3541
4f51c22a
PL
35422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3543
3544 * gdb.arch/insn-reloc.c: New file.
3545 * gdb.arch/ftrace-insn-reloc.exp: New file.
3546
7041adf4
PL
35472015-09-21 Pierre Langlois <pierre.langlois@arm.com>
3548
3549 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
3550 instruction.
3551 * gdb.trace/pendshr1.c (pendfunc): Likewise.
3552 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
3553 * gdb.trace/range-stepping.c: Likewise.
3554 * gdb.trace/trace-break.c: Likewise.
3555 * gdb.trace/trace-mt.c (thread_function): Likewise.
3556 * gdb.trace/ftrace.c (marker): Likewise.
3557 * gdb.trace/trace-condition.c (marker): Likewise.
3558 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
3559 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
3560 is_aarch64_target.
3561
015d2e7e
DE
35622015-09-18 Doug Evans <xdje42@gmail.com>
3563
3564 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
3565 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
3566
26b188a2
SL
35672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3568
3569 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
3570 the breakpoint.
3571
79dc332b
SL
35722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3573
3574 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
3575 the pending breakpoint. Remove timeout override for "Run till
3576 MI pending breakpoint on pendfunc3 on thread 2" test.
3577
f57929f2
SL
35782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3579
3580 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
3581 filename pattern.
3582
3f469b17
SL
35832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3584
3585 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
3586 in breakpoint filename pattern.
3587
515b89b3
SL
35882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3589
7800dbe4
SL
3590 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
3591
35922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
3593
515b89b3
SL
3594 * gdb.linespec/explicit.exp: Check for readline support for
3595 tab-completion tests. Fix obvious typo.
3596
d2939ba2
MM
35972015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3598
3599 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
3600 and replay.
3601
cbb55fa7
MM
36022015-09-18 Markus Metzger <markus.t.metzger@intel.com>
3603
3604 * gdb.btrace/non-stop.c: New.
3605 * gdb.btrace/non-stop.exp: New.
3606
43691ca1
PL
36072015-09-17 Pierre Langlois <pierre.langlois@arm.com>
3608 Yao Qi <yao.qi@linaro.org>
3609
3610 * gdb.trace/trace-condition.c: New file.
3611 * gdb.trace/trace-condition.exp: New file.
3612
d78908cf
WW
36132015-09-16 Wei-cheng Wang <cole945@gmail.com>
3614
3615 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
3616 for testing bytecode compilation.
3617
1ed415e2
PA
36182015-09-16 Pedro Alves <palves@redhat.com>
3619 Sandra Loosemore <sandra@codesourcery.com>
3620
3621 * gdb.threads/non-stop-fair-events.c (timeout): New global.
3622 (SECONDS): Redefine.
3623 (main): Call pthread_kill and alarm early.
3624 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
3625 support.
3626 (test): If the target can't hardware step and doesn't support
3627 displaced stepping, increase the timeout.
3628
d136eff5
PA
36292015-09-16 Pedro Alves <palves@redhat.com>
3630
3631 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
3632 (enable_debug): New procedures.
3633 (test): Use them. Bail out if waiting for threads fails.
3634 (top level): Bail out if a test fails.
3635
991f019c
YQ
36362015-09-16 Yao Qi <yao.qi@linaro.org>
3637
3638 * gdb.asm/asm-source.exp: Set asm-arch for
3639 aarch64*-*-* target.
3640 * gdb.asm/aarch64.inc: New file.
3641
bfca584f
PMR
36422015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
3643
3644 * gdb.ada/array_of_variable_length.exp: New testcase.
3645 * gdb.ada/array_of_variable_length/foo.adb: New file.
3646 * gdb.ada/array_of_variable_length/pck.adb: New file.
3647 * gdb.ada/array_of_variable_length/pck.ads: New file.
3648
b326e587
DE
36492015-09-15 Doug Evans <dje@google.com>
3650
3651 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
3652 of function static local variable.
3653
5382cfab
PW
36542015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3655
3656 * gdb.threads/tls-so_extern.exp: New test file.
3657 * gdb.threads/tls-so_extern.c: New test file.
3658 * gdb.threads/tls-so_extern_main.c: New test file.
3659
141c5cc4
JK
36602015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3661
3662 * gdb.opt/solib-intra-step-lib.c: New file.
3663 * gdb.opt/solib-intra-step-main.c: New file.
3664 * gdb.opt/solib-intra-step.exp: New file.
3665
d15dcecd
PA
36662015-09-15 Pedro Alves <palves@redhat.com>
3667
3668 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
3669 gdb_continue_to_breakpoint instead of gdb_test_multiple.
3670
4c2f2a79
PA
36712015-09-14 Pedro Alves <palves@redhat.com>
3672
3673 * gdb.base/hook-stop-continue.c: Delete.
3674 * gdb.base/hook-stop-continue.exp: Delete.
3675 * gdb.base/hook-stop-frame.c: Delete.
3676 * gdb.base/hook-stop-frame.exp: Delete.
3677 * gdb.base/hook-stop.c: New file.
3678 * gdb.base/hook-stop.exp: New file.
3679
919e6dbe
PMR
36802015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
3681
3682 * gdb.ada/access_to_packed_array.exp: New testcase.
3683 * gdb.ada/access_to_packed_array/foo.adb: New file.
3684 * gdb.ada/access_to_packed_array/pack.adb: New file.
3685 * gdb.ada/access_to_packed_array/pack.ads: New file.
3686
157280a4
MM
36872015-09-14 Markus Metzger <markus.t.metzger@intel.com>
3688
3689 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
3690 buffer size test.
3691
2fd33e94
DB
36922015-09-11 Don Breazeal <donb@codesourcery.com>
3693
3694 * gdb.base/foll-exec.c: Add copyright header. Fix
3695 formatting issues.
3696 * gdb.base/foll-exec.exp (zap_session): Delete proc.
3697 (do_exec_tests): Use clean_restart in place of zap_session,
3698 and for test initialization. Fix formatting issues. Use
3699 fail in place of perror.
3700 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
3701 an expect statement to match an expression with output from
3702 the program under debug.
3703 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
3704 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
3705 * gdb.threads/non-ldr-exc-2.exp: Likewise.
3706 * gdb.threads/non-ldr-exc-3.exp: Likewise.
3707 * gdb.threads/non-ldr-exc-4.exp: Likewise.
3708
e70b6e8e
DE
37092015-09-09 Doug Evans <dje@google.com>
3710
3711 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
3712
7a551a51
DE
37132015-09-09 Doug Evans <dje@google.com>
3714
3715 * gdb.base/pie-execl.exp: Fix result test of build_executable.
3716
4c666f84
DE
37172015-09-09 Doug Evans <dje@google.com>
3718
3719 * gdb.base/savedregs.exp: Fix typo.
3720
243a9253
PA
37212015-09-09 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.mi/mi-cli.exp: Add CLI finish tests.
3724
c0fa8fbd
SL
37252015-09-08 Sandra Loosemore <sandra@codesourcery.com>
3726
3727 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
3728 command actually switches threads. Give up on remaining
3729 tests if target fails to stop at breakpoint.
3730
cd7c1778
PMR
37312015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
3732
3733 * gdb.ada/funcall_char.exp: New testcase.
3734 * gdb.ada/funcall_char/foo.adb: New file.
3735
dc5c8746
PMR
37362015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
3737
3738 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
3739 expected outputs. Add two testcases for completing ambiguous
3740 functions.
3741 * gdb.ada/complete/aux_pck.adb: New file.
3742 * gdb.ada/complete/aux_pck.ads: New file.
3743 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
3744 Ambiguous_Func functions.
3745 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
3746 * gdb.ada/complete/pck.adb: Likewise.
3747
4e83a1e7
UW
37482015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
3749
3750 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
3751 failures to run the test program under GDB.
3752
8ce74153
LM
37532015-08-26 Luis Machado <lgustavo@codesourcery.com>
3754
3755 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
3756 to C.
3757
e9756d52
PP
37582015-08-26 Patrick Palka <patrick@parcs.ath.cx>
3759
3760 * gdb.base/run-after-attach.exp: New test file.
3761 * gdb.base/run-after-attach.c: New test file.
3762
8d37573b
DB
37632015-08-26 Don Breazeal <donb@codesourcery.com>
3764
3765 * gdb.base/foll-exec-2.c: New test program.
3766 * gdb.base/foll-exec-2.exp: New test.
3767
63e43d3a
PMR
37682015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
3769
3770 * gdb.base/nested-subp1.exp: New file.
3771 * gdb.base/nested-subp1.c: New file.
3772 * gdb.base/nested-subp2.exp: New file.
3773 * gdb.base/nested-subp2.c: New file.
3774 * gdb.base/nested-subp3.exp: New file.
3775 * gdb.base/nested-subp3.c: New file.
3776
3d40fbb5
PA
37772015-08-24 Pedro Alves <palves@redhat.com>
3778
3779 * gdb.server/connect-without-multi-process.c: New file.
3780 * gdb.server/connect-without-multi-process.exp: New file.
3781
4422ac93
LM
37822015-08-24 Luis Machado <lgustavo@codesourcery.com>
3783
3784 * gdb.opt/inline-markers.c: Make z int.
3785
91dddb86
LM
37862015-08-24 Luis Machado <lgustavo@codesourcery.com>
3787
3788 * gdb.opt/inline-markers.c: Make z volatile.
3789
a48847ee
LM
37902015-08-24 Luis Machado <lgustavo@codesourcery.com>
3791
3792 * gdb.opt/inline-bt.c: New volatile global z.
3793 * gdb.opt/inline-cmds.c: Likewise.
3794 * gdb.opt/inline-locals.c: Likewise.
3795 * gdb.opt/inline-markers.c: New extern global z.
3796 (marker): Use z.
3797 (inline_fn): Likewise.
3798
0ebbc52b
PA
37992015-08-24 Pedro Alves <palves@redhat.com>
3800
3801 * config/m32r-stub.exp: Remove file.
3802 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
3803 * gdb.base/call-rt-st.exp: Likewise.
3804 * gdb.base/call-strs.exp: Likewise.
3805 * gdb.base/default.exp: Remove references to h8300-*-hms and
3806 *-*-udi*.
3807 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3808
77c365df
AA
38092015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3810
3811 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3812 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3813 and "return" use KFAIL when GDB can not read/write the vector
3814 return value.
3815
4313b8c0
GB
38162015-08-21 Gary Benson <gbenson@redhat.com>
3817
3818 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3819
0e433b32
PA
38202015-08-20 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.server/solib-list.exp: No longer expect an interior stop in
3823 non-stop mode.
3824
221e1a37
PA
38252015-08-20 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.server/connect-stopped-target.c: New file.
3828 * gdb.server/connect-stopped-target.exp: New file.
3829
40e3ad0e
PA
38302015-08-20 Pedro Alves <palves@redhat.com>
3831
3832 * gdb.dwarf2/comp-unit-lang.exp: New file.
3833 * gdb.dwarf2/comp-unit-lang.c: New file.
3834
af39b327
PMR
38352015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3836
3837 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3838 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3839
7d45c7c3 38402015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 3841
7d45c7c3
KB
3842 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3843 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3844
4d6cceb4
DE
38452015-08-18 Doug Evans <dje@google.com>
3846 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3847
3848 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3849 skip_python_tests. New arg prompt_regexp.
3850 (skip_python_tests): New function.
3851 * lib/mi-support.exp (mi_skip_python_tests): New function.
3852 * gdb.python/py-mi-objfile-gdb.py: New file.
3853 * gdb.python/py-mi-objfile.c: New file.
3854 * gdb.python/py-mi-objfile.exp: New file.
3855
ad89c2aa
KS
38562015-08-17 Keith Seitz <keiths@redhat.com>
3857
3858 * gdb.linespec/explicit.exp: Move strace test from here ...
3859 * gdb.trace/strace.exp: ... to here.
3860
e3ae3c43
PP
38612015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3862
3863 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3864 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3865
604b2636
DE
38662015-08-14 Doug Evans <xdje42@gmail.com>
3867
3868 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3869 inferior before selecting a new file.
3870
6ff0ba5f
DE
38712015-08-14 Doug Evans <xdje42@gmail.com>
3872
3873 * gdb.mi/mi-disassemble.exp: Update.
3874 * gdb.base/disasm-optim.S: New file.
3875 * gdb.base/disasm-optim.c: New file.
3876 * gdb.base/disasm-optim.h: New file.
3877 * gdb.base/disasm-optim.exp: New file.
3878
9ca98f92
KS
38792015-08-14 Keith Seitz <keiths@redhat.com>
3880
3881 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3882 "evaluated-by".
3883
52bbc560
JB
38842015-08-13 Joel Brobecker <brobecker@adacore.com>
3885
3886 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3887
5d8c3ed3
PMR
38882015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3889
3890 * gdb.ada/fun_renaming.exp: New testcase.
3891 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3892 * gdb.ada/fun_renaming/pack.adb: New file.
3893 * gdb.ada/fun_renaming/pack.ads: New file.
3894
ea8812bc
KS
38952015-08-12 Keith Seitz <keiths@redhat.com>
3896
3897 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3898 gdb_get_line_number.
3899
4dafcdeb
JB
39002015-08-12 Joel Brobecker <brobecker@adacore.com>
3901
3902 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3903 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3904 gdb.base/dso2dso.exp: New files.
3905
5ba32597
SDJ
39062015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3907 Pedro Alves <palves@redhat.com>
3908 Keith Seitz <keiths@redhat.com>
3909
3910 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3911 GDBFLAGS.
3912
b6dafabf
PP
39132015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3914
3915 * gdb.base/gdbhistsize-history.exp
3916 (test_histsize_history_setting): Use save_vars.
3917 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3918 Use save_vars.
3919 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3920 * gdb.base/readline.exp: Use save_vars.
3921
abe8e607
PP
39222015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3923
3924 * lib/gdb.exp (save_vars): New proc.
3925
629500fa
KS
39262015-08-11 Keith Seitz <keiths@redhat.com>
3927
3928 * gdb.base/help.exp: Update help_breakpoint_text.
3929
eb8c4e2e
KS
39302015-08-11 Keith Seitz <keiths@redhat.com>
3931
3932 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3933 (at toplevel): Call test_explicit_breakpoints.
3934 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3935 breakpoints.
3936 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3937 breakpoint conditions, "-cond".
3938
87f0e720
KS
39392015-08-11 Keith Seitz <keiths@redhat.com>
3940
3941 * gdb.linespec/3explicit.c: New file.
3942 * gdb.linespec/cpexplicit.cc: New file.
3943 * gdb.linespec/cpexplicit.exp: New file.
3944 * gdb.linespec/explicit.c: New file.
3945 * gdb.linespec/explicit.exp: New file.
3946 * gdb.linespec/explicit2.c: New file.
3947 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3948 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3949 before using in the matching pattern.
3950 Clarify that `prefix' is a regular expression.
3951
f00aae0f
KS
39522015-08-11 Keith Seitz <keiths@redhat.com>
3953
3954 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3955 test.
3956 Add tests for missing ",FMT" and ",".
3957
e27852be
DE
39582015-08-10 Doug Evans <dje@google.com>
3959 Keith Seitz <keiths@redhat.com>
3960
3961 PR gdb/17960
3962 * gdb.base/completion.exp: Add location completer tests.
3963
7f03bd92
PA
39642015-08-07 Pedro Alves <palves@redhat.com>
3965
3966 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3967 tests here.
3968 (top level): Run do_test with and without displaced stepping.
3969
3fc8eb30
PA
39702015-08-07 Pedro Alves <palves@redhat.com>
3971
3972 * gdb.base/valgrind-disp-step.c: New file.
3973 * gdb.base/valgrind-disp-step.exp: New file.
3974
d4569d7b
PA
39752015-08-07 Pedro Alves <palves@redhat.com>
3976
3977 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3978 Delete function.
3979 (main): Add alarm. Run an infinite loop instead of calling
3980 wait_threads.
3981 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3982 comment.
3983 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3984 Delete function.
3985 (main): Add alarm. Run an infinite loop instead of calling
3986 wait_threads.
3987 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3988 comment.
3989
e1316e60
PA
39902015-08-07 Pedro Alves <palves@redhat.com>
3991
3992 * gdb.base/checkpoint-ns.exp: New file.
3993 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3994 standard_testfile.
3995
da8c46d2
MM
39962015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3997
3998 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3999 * gdb.btrace/instruction_history.exp: Update.
4000 * gdb.btrace/tsx.exp: New.
4001 * gdb.btrace/tsx.c: New.
4002
de1c2c52
PA
40032015-08-06 Pedro Alves <palves@redhat.com>
4004
4005 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
4006 increase timeout.
4007 * gdb.reverse/until-precsave.exp: Bump timeouts.
4008
782e0bf4
PA
40092015-08-06 Pedro Alves <palves@redhat.com>
4010
4011 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
4012
83e97ed0
PA
40132015-08-06 Pedro Alves <palves@redhat.com>
4014
4015 PR gdb/18749
4016 * gdb.threads/process-dies-while-handling-bp.c: New file.
4017 * gdb.threads/process-dies-while-handling-bp.exp: New file.
4018
863d01bd
PA
40192015-08-06 Pedro Alves <palves@redhat.com>
4020
4021 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
4022 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
4023
0a39bb32
PA
40242015-08-05 Pedro Alves <palves@redhat.com>
4025
4026 * gdb.threads/next-while-other-thread-longjmps.c: New file.
4027 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
4028
ee2d2b10
SL
40292015-08-03 Sandra Loosemore <sandra@codesourcery.com>
4030
4031 * gdb.base/bp-permanent.exp: Report test as unsupported if
4032 the target cannot stop at the permanent breakpoint.
4033
4e1bdb00
DE
40342015-08-03 Doug Evans <dje@google.com>
4035
4036 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
4037 10000.
4038
3d338901
DE
40392015-08-03 Doug Evans <dje@google.com>
4040
4041 * Makefile.in (workers/%.worker, build-perf): New rule.
4042 (GDB_PERFTEST_MODE): New variable.
4043 (check-perf): Use it.
4044 (clean): Clean up gdb.perf parallel build subdirs.
4045 * lib/build-piece.exp: New file.
4046 * lib/gdb.exp (make_gdb_parallel_path): New function
4047 (standard_output_file, standard_temp_file): Call it.
4048 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4049 of $GDB_PARALLEL.
4050 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
4051
af061d3e
DE
40522015-08-03 Doug Evans <dje@google.com>
4053
8e1afc81 4054 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
4055 (LOG_FILE_NAME): New global.
4056 (TextReporter.__init__): Initialize self.txt_sum.
4057 (TextReporter.report): Add support for multiple data-points.
4058 Move report to perftest.sum, put raw data in perftest.log.
4059 (TextReporter.start): Open sum and log files.
4060 (TextReporter.end): Close sum and log files.
8e1afc81
DE
4061 * gdb.perf/lib/perftest/testresult.py
4062 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 4063
2c8c5d37
PA
40642015-07-31 Pedro Alves <palves@redhat.com>
4065
4066 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
4067 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4068 kill_wait_spawned_process instead of explicit "kill -9".
4069 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
4070 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4071 kill_wait_spawned_process.
4072 * gdb.base/attach-twice.exp: Likewise.
4073 * gdb.base/attach.exp: Likewise.
4074 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
4075 gdb_test_multiple.
4076 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
4077 returning a spawn id instead of a pid. Use spawn_id_get_pid and
4078 kill_wait_spawned_process.
4079 * gdb.base/valgrind-infcall.exp: Likewise.
4080 * gdb.multi/multi-attach.exp: Likewise.
4081 * gdb.python/py-prompt.exp: Likewise.
4082 * gdb.python/py-sync-interp.exp: Likewise.
4083 * gdb.server/ext-attach.exp: Likewise.
4084 * gdb.threads/attach-into-signal.exp (corefunc): Use
4085 spawn_wait_for_attach, spawn_id_get_pid and
4086 kill_wait_spawned_process.
4087 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
4088 spawn_wait_for_attach returning a spawn id instead of a pid. Use
4089 spawn_id_get_pid and kill_wait_spawned_process.
4090 * gdb.threads/attach-stopped.exp (corefunc): Use
4091 spawn_wait_for_attach, spawn_id_get_pid and
4092 kill_wait_spawned_process.
4093 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
4094 Use spawn_id_get_pid. Wait for spawn id after eof. Use
4095 kill_wait_spawned_process instead of explicit "kill -9".
4096 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
4097 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
4098 (spawn_wait_for_attach): Use spawn instead of exec to spawn
4099 processes. Don't map cygwin/windows pids here. Now returns a
4100 spawn id list.
4101
032a0fca
SL
41022015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4103
4104 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
4105 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
4106 correct patch.
4107
61a934ca
SL
41082015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4109
4110 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
4111
4bc4d428
SL
41122015-07-30 Sandra Loosemore <sandra@codesourcery.com>
4113
4114 Reapply:
4115 2014-05-21 Mark Wielaard <mjw@redhat.com>
4116
4117 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4118
998d452a
PA
41192015-07-30 Pedro Alves <palves@redhat.com>
4120
4121 * linux-low.c (handle_extended_wait): Set the child's last
4122 reported status to TARGET_WAITKIND_STOPPED.
4123
69dde7dc
PA
41242015-07-30 Pedro Alves <palves@redhat.com>
4125
4126 PR threads/18600
4127 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
4128 only shows inferior 1.
4129
4dd63d48
PA
41302015-07-30 Simon Marchi <simon.marchi@ericsson.com>
4131 Pedro Alves <palves@redhat.com>
4132
4133 PR threads/18600
4134 * gdb.threads/fork-plus-threads.c: New file.
4135 * gdb.threads/fork-plus-threads.exp: New file.
4136
d618e4c5
PP
41372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4138
4139 * gdb.base/batch-preserve-term-settings.exp
4140 (test_terminal_settings_preserved_after_cli_exit): Use
4141 send_quit_command.
4142
1eef6428
PA
41432015-07-29 Pedro Alves <palves@redhat.com>
4144 Don Breazeal <donb@codesourcery.com>
4145
4146 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
4147 output from both inferior_spawn_id and gdb_spawn_id.
4148
7da5b897
SDJ
41492015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4150
4151 * gdb.threads/attach-into-signal.exp (corefunc): Use
4152 with_test_prefix on nested loops, uniquefying the test messages.
4153
dac804df
SDJ
41542015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
4155
4156 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
4157 commit.
4158
06265e53
PP
41592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4160
4161 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
4162 New proc.
4163 (test_terminal_settings_preserved_after_sigterm): New test.
4164
18206ca3
PP
41652015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4166
4167 * gdb.base/batch-preserve-term-settings.exp
4168 (test_terminal_settings_preserved_after_cli_exit): New test.
4169
90074d11
PP
41702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
4171
4172 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
4173 manipulation of saved_gdbflags.
4174 (test_terminal_settings_preserved): Remove global declaration of
4175 the unused variable pagination_prompt. Remove manipulation of
4176 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
4177 GDBFLAGS.
4178
eb1a7902
PA
41792015-07-29 Pedro Alves <palves@redhat.com>
4180
4181 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
4182
8b75dd3b
PA
41832015-07-29 Pedro Alves <palves@redhat.com>
4184
4185 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
4186 at the top.
4187
dedad4e3
PA
41882015-07-29 Pedro Alves <palves@redhat.com>
4189
4190 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
4191 (main): Call gdb_unbuffer_output.
4192 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
4193 (main): Call gdb_unbuffer_output.
4194 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
4195 (main): Call gdb_unbuffer_output.
4196 * gdb.base/call-strs.exp: Adjust to step over the
4197 gdb_unbuffer_output call.
4198 * gdb.base/catch-gdb-caused-signals.c: Include
4199 "../lib/unbuffer_output.c".
4200 (main): Call gdb_unbuffer_output.
4201 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
4202 (main): Call gdb_unbuffer_output.
4203 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
4204 (main): Call gdb_unbuffer_output.
4205 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
4206 (main): Call gdb_unbuffer_output.
4207 * gdb.base/shlib-call.exp: Adjust to step over the
4208 gdb_unbuffer_output call.
4209 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
4210 (main): Call gdb_unbuffer_output.
4211 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
4212 (main): Call gdb_unbuffer_output.
4213 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
4214 (main): Rename to ...
4215 (test): ... this.
4216 (main): Reimplement.
4217 * gdb.base/varargs.exp: Run to test instead of to main.
4218 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4219 (main): Call gdb_unbuffer_output.
4220
58789a91
PA
42212015-07-29 Pedro Alves <palves@redhat.com>
4222
4223 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
4224 factore out from mi_continue_dprintf. For call-style dprintfs,
4225 expect dprintf output out of $inferior_spawn_id.
4226 (mi_continue_dprintf): Use mi_expect_dprintf.
4227 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
4228 (main): Call gdb_unbuffer_output.
4229
e8376742
PA
42302015-07-29 Pedro Alves <palves@redhat.com>
4231
4232 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
4233 (default_mi_gdb_start): Set inferior_spawn_id instead of
4234 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
4235 gdb_spawn_id.
4236 (mi_gdb_test): Always expect inferior output from both
4237 $inferior_spawn_id and $gdb_spawn_id.
4238
08280010
PA
42392015-07-29 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
4242 send_inferior and $inferior_spawn_id.
4243
4d30e432
PA
42442015-07-29 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.gdb/complaints.exp (test_initial_complaints)
4247 (test_serial_complaints, test_short_complaints): Use
4248 gdb_test_stdio.
4249 (test_empty_complaint): Handle $inferior_spawn_id !=
4250 $gdb_spawn_id.
4251
0d30a335
PA
42522015-07-29 Pedro Alves <palves@redhat.com>
4253
4254 * gdb.base/varargs.exp: Use gdb_test_stdio.
4255
39413b29
PA
42562015-07-29 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
4259
7cb000a9
PA
42602015-07-29 Pedro Alves <palves@redhat.com>
4261
4262 * gdb.base/ending-run.exp: Use gdb_test_stdio.
4263
d7b8ac82
PA
42642015-07-29 Pedro Alves <palves@redhat.com>
4265
4266 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
4267 parameter into two new parameters, "inf_result" and "gdb_result".
4268 Expect inferior output and gdb output from $inferior_spawn_id and
4269 $gdb_spawn_id, respectively. Adjust all callers.
4270
789c3a0c
PA
42712015-07-29 Pedro Alves <palves@redhat.com>
4272
4273 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
4274 of gdb_test_sequence.
4275
77e760c3
PA
42762015-07-29 Pedro Alves <palves@redhat.com>
4277
4278 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
4279 (saw_spurious_output): Expect inferior output from
4280 $inferior_spawn_id. Use gdb_test_stdio.
4281
8396d2cd
PA
42822015-07-29 Pedro Alves <palves@redhat.com>
4283
4284 * gdb.base/dprintf.exp: Use standard_testfile. Change
4285 prepare_for_testing call.
4286 (srcfile): Don't set.
4287 (restart): New procedure.
4288 (test_dprintf): New procecure, use to continue over dprintfs.
4289 (test_call, test_agent): New procedures, tests moved here.
4290 Restart gdb and recreate dprintfs. Adjust expected output.
4291
2051d61f
PA
42922015-07-29 Pedro Alves <palves@redhat.com>
4293
4294 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
4295
452397af
PA
42962015-07-29 Pedro Alves <palves@redhat.com>
4297
4298 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
4299
8aed9555
PA
43002015-07-29 Pedro Alves <palves@redhat.com>
4301
4302 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
4303 gdb_test_stdio.
4304
188a61b4
PA
43052015-07-29 Pedro Alves <palves@redhat.com>
4306
4307 * lib/gdb.exp (gdb_test_stdio): New procedure.
4308
12264a45
PA
43092015-07-29 Pedro Alves <palves@redhat.com>
4310
4311 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
4312
23ffc893
PA
43132015-07-29 Pedro Alves <palves@redhat.com>
4314
4315 * gdb.base/call-signal-resume.exp: Remove check for
4316 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
4317 * gdb.base/unwindonsignal.exp: Likewise.
4318 * gdb.base/call-signals.c (gen_signal): Remove printf call.
4319 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
4320
65566918
PA
43212015-07-29 Pedro Alves <palves@redhat.com>
4322
4323 * gdb.base/siginfo-addr.c (pass): New function.
4324 (handler): Call it iff si_addr is correct.
4325 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
4326 Set a breakpoint at "pass" and continue to it.
4327
d60a9221
SDJ
43282015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
4329
4330 * gdb.python/py-objfile.exp: Make some tests have unique names.
4331 * gdb.python/py-pp-registration.exp: Likewise.
4332
bde40b8f
PA
43332015-07-28 Pedro Alves <palves@redhat.com>
4334
4335 * gdb.server/server-exec-info.exp: Issue a "disconnect".
4336
13e1dec8
SM
43372015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4338
4339 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
4340
da33c9a7
SM
43412015-07-27 Simon Marchi <simon.marchi@ericsson.com>
4342
4343 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
4344
077836f7
PP
43452015-07-27 Patrick Palka <patrick@parcs.ath.cx>
4346
4347 * gdb.base/gdb-sigterm-2.exp: New test.
4348
b8cc7b2e
DE
43492015-07-25 Doug Evans <xdje42@gmail.com>
4350
4351 Revert:
4352 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4353 (workers/%.worker, build-perf): New rule.
4354 (GDB_PERFTEST_MODE): New variable.
4355 (check-perf): Use it.
4356 (clean): Clean up gdb.perf parallel build subdirs.
4357 * lib/build-piece.exp: New file.
4358 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4359 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4360 name.
4361 (standard_temp_file): Ditto.
4362 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4363 of $GDB_PARALLEL.
4364
c8bd4544
DE
43652015-07-24 Doug Evans <dje@google.com>
4366
4367 * gdb.perf/lib/perftest/utils.py: New file.
4368 * gdb.perf/gm-hello.cc: New file.
4369 * gdb.perf/gm-pervasive-typedef.cc: New file.
4370 * gdb.perf/gm-pervasive-typedef.h: New file.
4371 * gdb.perf/gm-std.cc: New file.
4372 * gdb.perf/gm-std.h: New file.
4373 * gdb.perf/gm-use-cerr.cc: New file.
4374 * gdb.perf/gm-utils.h: New file.
4375 * gdb.perf/gmonster-null-lookup.py: New file.
4376 * gdb.perf/gmonster-pervasive-typedef.py: New file.
4377 * gdb.perf/gmonster-print-cerr.py: New file.
4378 * gdb.perf/gmonster-ptype-string.py: New file.
4379 * gdb.perf/gmonster-runto-main.py: New file.
4380 * gdb.perf/gmonster-select-file.py: New file.
4381 * gdb.perf/gmonster1-null-lookup.exp: New file.
4382 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
4383 * gdb.perf/gmonster1-print-cerr.exp: New file.
4384 * gdb.perf/gmonster1-ptype-string.exp: New file.
4385 * gdb.perf/gmonster1-runto-main.exp: New file.
4386 * gdb.perf/gmonster1-select-file.exp: New file.
4387 * gdb.perf/gmonster1.cc: New file.
4388 * gdb.perf/gmonster1.exp: New file.
4389 * gdb.perf/gmonster2-null-lookup.exp: New file.
4390 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
4391 * gdb.perf/gmonster2-print-cerr.exp: New file.
4392 * gdb.perf/gmonster2-ptype-string.exp: New file.
4393 * gdb.perf/gmonster2-runto-main.exp: New file.
4394 * gdb.perf/gmonster2-select-file.exp: New file.
4395 * gdb.perf/gmonster2.cc: New file.
4396 * gdb.perf/gmonster2.exp: New file.
4397
6eab34f3
DE
43982015-07-24 Doug Evans <dje@google.com>
4399
4400 * gdb.perf/README: New file.
4401 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
4402 * lib/gen-perf-test.exp: New file.
4403
63738bfd
DE
44042015-07-24 Doug Evans <dje@google.com>
4405
4406 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
4407 (PerfTest::startup): New function.
4408 (PerfTest::run): Return result of calling body.
4409 (PerfTest::assemble): Rewrite.
4410 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
4411 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
4412 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
4413 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
4414 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
4415
7b606f95
DE
44162015-07-24 Doug Evans <dje@google.com>
4417
4418 * lib/gdb.exp (clean_restart): Make executable optional.
4419
a97b16b8
DE
44202015-07-24 Doug Evans <dje@google.com>
4421
4422 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
4423 compiler_info references.
4424 * gdb.cp/temargs.exp: Ditto.
4425 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
4426 (get_compiler_info): Early exit if already computed. Set compiler_info
4427 to "unknown" if there was a problem.
4428 (test_compiler_info): Add function comment. Call get_compiler_info.
4429
35baa57f
DE
44302015-07-24 Doug Evans <dje@google.com>
4431
4432 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
4433 (workers/%.worker, build-perf): New rule.
4434 (GDB_PERFTEST_MODE): New variable.
4435 (check-perf): Use it.
4436 (clean): Clean up gdb.perf parallel build subdirs.
4437 * lib/build-piece.exp: New file.
4438 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
4439 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
4440 name.
4441 (standard_temp_file): Ditto.
4442 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
4443 of $GDB_PARALLEL.
4444
6ebea266
DE
44452015-07-24 Doug Evans <dje@google.com>
4446
4447 * lib/future.exp (gdb_default_target_compile): New option
4448 "early_flags".
4449 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
4450 --as-needed.
4451
1e76a7e9
SDJ
44522015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
4453
4454 * gdb.base/catch-syscall.exp: Call gdb_exit before
4455 gdb_skip_xml_test.
4456
5068630a
PA
44572015-07-24 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.python/py-events.exp: Accept output between the stop event
4460 and the prompt.
4461 * gdb.python/py-evsignal.exp: Likewise.
4462 * gdb.python/py-evthreads.exp: Likewise.
4463
77598427
PA
44642015-07-24 Pedro Alves <palves@redhat.com>
4465
4466 PR gdb/18717
4467 * gdb.threads/non-ldr-exit.c: New file.
4468 * gdb.threads/non-ldr-exit.exp: New file.
4469
11e6c98f
YQ
44702015-07-24 Yao Qi <yao.qi@linaro.org>
4471
4472 * gdb.server/ext-wrapper.exp: Test --wrapper option when
4473 restarting process.
4474
51aee833
YQ
44752015-07-24 Yao Qi <yao.qi@linaro.org>
4476
4477 * gdb.server/ext-restart.exp: New file.
4478
8cfe207c
YQ
44792015-07-24 Yao Qi <yao.qi@linaro.org>
4480
4481 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
4482 argument options.
4483 * gdb.server/ext-wrapper.exp: New file.
4484
cc12ce38
DE
44852015-07-23 Doug Evans <dje@google.com>
4486
4487 * gdb.dwarf2/dw2-dummy-cu.S: New file.
4488 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
4489
d0d84780
PMR
44902015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
4491
4492 * gdb.ada/var_arr_typedef.exp: New testcase.
4493 * gdb.ada/var_arr_typedef/pack.adb: New file.
4494 * gdb.ada/var_arr_typedef/pack.ads: New file.
4495 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
4496
8b558f79
JB
44972015-07-20 Joel Brobecker <brobecker@adacore.com>
4498
4499 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
4500
775a3298
JK
45012015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4502
4503 * gdb.arch/i386-biarch-core.exp: Replace istarget
4504 by "complete set gnutarget". Remove expectation for the "core-file"
4505 command.
4506
db1ff28b
JK
45072015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4508
4509 Revert the previous commit:
4510 Tests for validate symbol file using build-id.
4511
0a94970d
JK
45122015-07-15 Aleksandar Ristovski <aristovski@qnx.com
4513
4514 Tests for validate symbol file using build-id.
4515 * gdb.base/solib-mismatch-lib.c: New file.
4516 * gdb.base/solib-mismatch-libmod.c: New file.
4517 * gdb.base/solib-mismatch.c: New file.
4518 * gdb.base/solib-mismatch.exp: New file.
4519
03346981
SL
45202015-07-15 Sandra Loosemore <sandra@codesourcery.com>
4521
4522 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
4523 nios2-*-linux*.
4524 * gdb.base/sigbpt.exp (stepi_out): Likewise.
4525 * gdb.base/siginfo.exp: Likewise.
4526 * gdb.base/sigstep.exp (advance, advancei): Likewise.
4527
42422cc7
PL
45282015-07-15 Pierre Langlois <pierre.langlois@arm.com>
4529
4530 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
4531 Move it to ...
4532 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
4533 ... here.
4534 * gdb.trace/range-stepping.exp: Check that the target supports
4535 range stepping.
4536
cfa68bae
JK
45372015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4538
4539 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
4540
8ffdba26
PA
45412015-07-14 Pedro Alves <palves@redhat.com>
4542
4543 * gdb.base/killed-outside.exp: New file.
4544 * gdb.base/killed-outside.c: New file.
4545
218a5a11
JK
45462015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
4549 (n at main): New.
4550 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
4551
e03ed3c6
AA
45522015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4553
4554 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
4555 infcall tests instead of setting up for KFAIL.
4556
485668e5
MM
45572015-07-10 Markus Metzger <markus.t.metzger@intel.com>
4558
4559 * gdb.btrace/record_goto-step.exp: New.
4560
08464196
JK
45612015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4562
4563 PR compile/18484
4564 * gdb.compile/compile.c (struct struct_type): Add volatile to
4565 selffield's type.
4566 * gdb.compile/compile.exp
4567 (compile code struct_object.selffield = &struct_object): Skip further
4568 struct_object tests if this one xfails.
4569
bcf5c1d9
RC
45702015-07-08 Robert O'Callahan <robert@ocallahan.org>
4571
4572 PR exp/18617
4573 * gdb.trace/ax.exp: Add test.
4574
4931af25
YQ
45752015-07-07 Yao Qi <yao.qi@linaro.org>
4576
4577 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
4578 instead of istarget "aarch64*-*-*".
4579 * gdb.arch/aarch64-fp.exp: Likewise.
4580 * gdb.base/float.exp: Likewise.
4581 * gdb.reverse/aarch64.exp: Likewise.
4582 * lib/gdb.exp (is_aarch64_target): New proc.
4583
9fcf688e
YQ
45842015-07-07 Yao Qi <yao.qi@linaro.org>
4585
4586 * lib/gdb.exp (is_aarch32_target): New proc.
4587 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
4588 instead of "istarget "arm*-*-*"".
4589 * gdb.arch/arm-disp-step.exp: Likewise.
4590 * gdb.arch/thumb-bx-pc.exp: Likewise.
4591 * gdb.arch/thumb-prologue.exp: Likewise.
4592 * gdb.arch/thumb-singlestep.exp: Likewise.
4593 * gdb.base/disp-step-syscall.exp: Likewise.
4594 * gdb.base/float.exp: Likewise.
4595
fbd8d50d
YQ
45962015-07-07 Yao Qi <yao.qi@linaro.org>
4597
4598 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
4599 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
4600
71be1fdc
YQ
46012015-07-07 Yao Qi <yao.qi@linaro.org>
4602
4603 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
4604 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
4605 if it exists.
4606 * gdb.multi/multi-arch.exp: Likewise.
4607
3e221d36
SM
46082015-07-07 Simon Marchi <simon.marchi@ericsson.com>
4609
4610 * gdb.python/py-lazy-string.exp: Add missing parentheses to
4611 print.
4612
d441430b
YQ
46132015-07-07 Yao Qi <yao.qi@linaro.org>
4614
4615 * gdb.arch/thumb-singlestep.exp: Do one more single step.
4616
06f810bd
MG
46172015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
4618
4619 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
4620 '[' and ']' characters.
4621
5e61e7c0
IB
46222015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
4623
4624 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4625
28bf096c
PA
46262015-06-29 Pedro Alves <palves@redhat.com>
4627
4628 PR threads/18127
4629 * gdb.threads/hand-call-new-thread.c: New file.
4630 * gdb.threads/hand-call-new-thread.c: New file.
4631
ee93cd5e
KS
46322015-06-26 Keith Seitz <keiths@redhat.com>
4633 Doug Evans <dje@google.com>
4634
4635 PR 16253
4636 * gdb.cp/var-tag-2.cc: New file.
4637 * gdb.cp/var-tag-3.cc: New file.
4638 * gdb.cp/var-tag-4.cc: New file.
4639 * gdb.cp/var-tag.cc: New file.
4640 * gdb.cp/var-tag.exp: New file.
4641
fc637f04
PP
46422015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4643
4644 * gdb.base/history-duplicates.exp: New test.
4645
2e52ae68
PP
46462015-06-26 Patrick Palka <patrick@parcs.ath.cx>
4647
4648 * gdb.base/completion.exp: Test the completion of the "focus"
4649 command.
4650
6e22494e
JK
46512015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4652
4653 * gdb.arch/amd64-prologue-skip.S: New file.
4654 * gdb.arch/amd64-prologue-skip.exp: New file.
4655
bf7b9cd9
SM
46562015-06-25 Simon Marchi <simon.marchi@ericsson.com>
4657
4658 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
4659 is_address_zero_readable check.
4660
201e8dfd
PB
46612015-06-24 Peter Bergner <bergner@vnet.ibm.com>
4662
4663 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
4664 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
4665
5cd867b4
YQ
46662015-06-24 Yao Qi <yao.qi@linaro.org>
4667
4668 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
4669 linux targets.
4670
4d7be007
YQ
46712015-06-24 Yao Qi <yao.qi@linaro.org>
4672
4673 * lib/gdb.exp (supports_get_siginfo_type): New proc.
4674 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
4675 * gdb.base/siginfo-thread.exp: Likewise.
4676
07fcd301
YQ
46772015-06-22 Yao Qi <yao.qi@linaro.org>
4678
4679 * boards/remote-gdbserver-on-localhost.exp: Add comments.
4680
52042a00
YQ
46812015-06-22 Yao Qi <yao.qi@linaro.org>
4682
4683 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
4684 aarch64*-*-*.
4685 (skip_hw_watchpoint_tests): Likewise.
4686
74bd41ce
PP
46872015-06-18 Patrick Palka <patrick@parcs.ath.cx>
4688
4689 * gdb.base/gdbinit-history.exp: Test the interaction between
4690 setting GDBHISTSIZE and setting the history size via .gdbinit.
4691
bc460514
PP
46922015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4693
4694 PR gdb/16999
4695 * gdb.base/gdbhistsize-history.exp: New test.
4696
b58c513b
PP
46972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4698
4699 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
4700 with GDBHISTSIZE.
4701 * gdb.base/readline.exp: Likewise.
4702
92046791
YQ
47032015-06-17 Yao Qi <yao.qi@linaro.org>
4704
4705 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
4706 line.
4707
2093d2d3
PP
47082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
4709
4710 * gdb.base/gdbinit-history.exp: Add test case to check that
4711 an unlimited history file does not get truncated on exit.
4712
e6c693af
AA
47132015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4714
4715 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
4716 (VECTOR): New macro. Use it...
4717 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
4718 ...for these typedefs.
4719 (int8, char1, int1, double1): New typedefs.
4720 (struct just_int2, struct two_int2): New structures.
4721 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
4722 (add_structvecs, add_singlevecs): New functions.
4723 (main): Call add_some_intvecs twice.
4724 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
4725 the compile and exit upon failure. Try compiling for the "native"
4726 architecture. Test inferior function calls with vector arguments
4727 and vector return value handling with "finish" and "return".
4728
c74f7d1c
JT
47292015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
4730
4731 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
4732 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
4733 PE file.
4734 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
4735
98aa42ee
AT
47362015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4737
4738 PR breakpoints/16465
4739 * gdb.mi/mi-dprintf-pending.c: New file.
4740 * gdb.mi/mi-dprintf-pending.exp: New test.
4741 * gdb.mi/mi-dprintf-pendshr.c: New file.
4742
7d73c23c 47432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 4744 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
4745
4746 * gdb.arch/i386-mpx-map.c: New file.
4747 * gdb.arch/i386-mpx-map.exp: New File.
4748
47492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4750
4751 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
4752 * gdb.arch/i386-mpx.exp: Indentation fixed.
4753
47542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4755
4756 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
4757 function and improved indentation.
4758 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
4759 gdb_test_multiple. Added additional tests to skip the test.
4760
47612015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
4762
4763 * gdb.arch/i386-avx512.c: Change path in include file.
4764 * gdb.arch/i386-avx512.exp: Change include dir path
4765 compilation flag.
4766 * gdb.arch/i386-mpx.c: Change path in include file.
4767 * gdb.arch/i386-mpx.exp: Change include dir path compilation
4768 flag.
4769
d5eba19a
JK
47702015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4771
4772 * gdb.compile/compile-print.exp (compile print *vararray@3)
4773 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
4774
7f361056
JK
47752015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4776
4777 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
4778 (do not keep jit in memory): ... this.
4779 (expect 5): Change it to ...
4780 (expect no 5): ... this.
4781
3b462ec2
SM
47822015-06-02 Simon Marchi <simon.marchi@ericsson.com>
4783
4784 PR gdb/15564
4785 * gdb.mi/mi-detach.exp: New file.
4786
e0619de6
JK
47872015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4788
4789 PR symtab/18392
4790 * gdb.arch/amd64-tailcall-self.S: New file.
4791 * gdb.arch/amd64-tailcall-self.c: New file.
4792 * gdb.arch/amd64-tailcall-self.exp: New file.
4793
e970cb34
DB
47942015-05-28 Don Breazeal <donb@codesourcery.com>
4795
4796 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
4797 tests for remote targets by checking is_target_gdbserver.
4798
b2e2f908
DE
47992015-05-27 Doug Evans <dje@google.com>
4800
4801 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
4802 * gdb.dwarf2/opaque-type-lookup.c: New file.
4803 * gdb.dwarf2/opaque-type-lookup.exp: New file.
4804
82c7be31
DE
48052015-05-26 Doug Evans <dje@google.com>
4806
4807 * gdb.cp/iostream.cc: New file.
4808 * gdb.cp/iostream.exp: New file.
4809
b4f54984
DE
48102015-05-26 Doug Evans <dje@google.com>
4811
4812 * gdb.dwarf2/dw2-op-call.exp: Update.
4813 * gdb.dwarf2/dw4-sig-types.exp: Update.
4814 * gdb.dwarf2/implptr.exp: Update.
4815 * gdb.mi/mi-cmd-param-changed.exp: Update.
4816
4ea6efe9
DE
48172015-05-26 Doug Evans <dje@google.com>
4818
4819 * gdb.python/py-lazy-string.c: New file.
4820 * gdb.python/py-lazy-string.exp: New file.
4821 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4822 (main): Update. Add estring3.
4823 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4824 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4825
f6bb7db3
YQ
48262015-05-26 Omair Javaid <omair.javaid@linaro.org>
4827 Yao Qi <yao.qi@linaro.org>
4828
4829 * gdb.reverse/aarch64.c: New.
4830 * gdb.reverse/aarch64.exp: New.
4831
a81bfbd0
OJ
48322015-05-26 Omair Javaid <omair.javaid@linaro.org>
4833
25d49b86
PA
4834 * lib/gdb.exp (supports_process_record): Return true for
4835 aarch64*-linux*.
a81bfbd0
OJ
4836 (supports_reverse): Likewise.
4837
158bf1b4
PP
48382015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4839
4840 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4841 Use with_test_prefix.
4842
a0145030
AB
48432015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4844
4845 * gdb.base/completion.exp: Add test for completion of layout
4846 names.
4847
ebe3b578
AB
48482015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4849
4850 * lib/gdb.exp (skip_tui_tests): New proc.
4851 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4852
84204ed7
PA
48532015-05-19 Pedro Alves <palves@redhat.com>
4854
4855 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4856 Save the whole env array instead of just HOME. Unset HISTSIZE in
4857 the environment while testing. Restore whole environment
4858 afterwards.
4859
37442ce1
DE
48602015-05-16 Doug Evans <xdje42@gmail.com>
4861
4862 * gdb.guile/scm-ports.c: New file.
4863 * gdb.guile/scm-ports.exp: Add memory port tests.
4864
36de76f9
JK
48652015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4866
4867 * gdb.compile/compile-print.c: New file.
4868 * gdb.compile/compile-print.exp: New file.
4869
3a9558c4
JK
48702015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 * gdb.compile/compile-ops.exp: Cast param to void.
4873 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4874 (compile code struct_object.selffield = &struct_object): Add xfail.
4875
aa715135
JG
48762015-05-15 Joel Brobecker <brobecker@adacore.com>
4877
4878 * gdb.ada/arr_enum_with_gap: New testcase.
4879
931e5bc3
JG
48802015-05-15 Joel Brobecker <brobecker@adacore.com>
4881
4882 * gdb.ada/byte_packed_arr: New testcase.
4883
9cd4d857
JB
48842015-05-15 Joel Brobecker <brobecker@adacore.com>
4885
4886 * gdb.ada/pckd_neg: New testcase.
4887
ebfd00d2
PP
48882015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4889
4890 PR gdb/17820
4891 * gdb.base/gdbinit-history.exp: New test.
4892 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4893 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4894
4c082a81
SC
48952015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4896
4897 * gdb.python/py-xmethods.cc: Enhance test case.
4898 * gdb.python/py-xmethods.exp: New tests.
4899 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4900 function.
4901 (B_indexoper): Likewise.
4902 (global_dm_list) : Add new xmethod worker functions.
4903
f7797074
SDJ
49042015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4905
4906 * gdb.base/coredump-filter.exp: Correctly unset
4907 "coredump_var_addr" array.
4908
a4674e4e
PA
49092015-05-08 Pedro Alves <palves@redhat.com>
4910
4911 * gdb.server/non-existing-program.exp: Unset spawn_id.
4912
df2eb078
SC
49132015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4914
4915 PR python/18291
4916 * gdb.python/py-xmethods.exp: Add tests.
4917
422349a3
YQ
49182015-05-08 Yao Qi <yao.qi@linaro.org>
4919
4920 PR gdb/18208
4921 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4922 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4923 function set_coredump_filter, and remove remote_exec call.
4924 Remove argument ipid. Callers update.
4925 (top level): Don't get inferior's PID.
4926
63fc80ce
AA
49272015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4928
4929 * gdb.base/watch_thread_num.exp: Skip test on targets without
4930 access watchpoints.
4931
80ad801e
PA
49322015-05-06 Pedro Alves <palves@redhat.com>
4933
4934 PR server/18081
4935 * gdb.server/non-existing-program.exp: New file.
4936
0fa7fe50
JB
49372015-05-05 Joel Brobecker <brobecker@adacore.com>
4938
4939 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4940
3ea89b92
PMR
49412015-05-05 Joel Brobecker <brobecker@adacore.com>
4942
4943 * gdb.ada/out_of_line_in_inlined: New testcase.
4944
87b8eff0
JB
49452015-05-05 Joel Brobecker <brobecker@adacore.com>
4946
4947 * gdb.ada/var_rec_arr: New testcase.
4948
5fccc635
YQ
49492015-04-30 Yao Qi <yao.qi@linaro.org>
4950
4951 * gdb.base/break-idempotent.exp: If
4952 skip_hw_watchpoint_multi_tests returns true, skip the tests
4953 on "rwatch" and "awatch".
4954
42d38f42
YQ
49552015-04-30 Yao Qi <yao.qi@linaro.org>
4956
4957 * gdb.base/relativedebug.exp: Invoke gdb command
4958 "info sharedlibrary", and if libc.so doesn't have debug info,
4959 skip the test.
4960
2ce1cdbf
DE
49612015-04-29 Doug Evans <dje@google.com>
4962
4963 * gdb.python/py-xmethods.exp: Add ptype tests.
4964 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4965 get_result_type method.
4966
f24a38c5
LM
49672015-04-29 Luis Machado <lgustavo@codesourcery.com>
4968
4969 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4970 the target does not support hardware watchpoints.
4971
ecbf2b3c
LM
49722015-04-29 Luis Machado <lgustavo@codesourcery.com>
4973
4974 * gdb.base/break-always.exp: Abort testing if writing to memory
4975 causes an error.
4976
34f5f757
DE
49772015-04-28 Doug Evans <dje@google.com>
4978
4979 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4980 * gdb.python/py-pp-registration.exp: ... here. New file.
4981 * gdb.python/py-pp-registration.c: New file.
4982 * gdb.python/py-pp-registration.py: New file.
4983
69b4374a
DE
49842015-04-28 Doug Evans <dje@google.com>
4985
4986 * gdb.python/py-bad-printers.c: New file.
4987 * gdb.python/py-bad-printers.py: New file.
4988 * gdb.python/py-bad-printers.exp: New file.
4989
59fb7612
SS
49902015-04-28 Sasha Smundak <asmundak@google.com>
4991
4992 * gdb.python/py-type.exp: New test.
4993
2631b16a
AW
49942015-04-28 Andy Wingo <wingo@igalia.com>
4995
4996 * gdb.python/py-parameter.exp:
4997 * gdb.guile/scm-parameter.exp: Escape the path that we are
4998 matching against, as it might contain characters that are special
4999 to regular expressions.
5000
460efde1
JB
50012015-04-27 Joel Brobecker <brobecker@adacore.com>
5002
5003 * gdb.ada/rec_comp: New testcase.
5004
2d369d8e
SDJ
50052015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
5006
5007 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
5008 before using it.
5009
cf75d6c3
AB
50102015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
5011
5012 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
5013 new tests for verilog output.
5014
8dbe7ca5
YQ
50152015-04-24 Yao Qi <yao.qi@linaro.org>
5016
5017 * boards/remote-gdbserver-on-localhost.exp: New file.
5018
4ef9fb2f
PA
50192015-04-23 Pedro Alves <palves@redhat.com>
5020
5021 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
5022 $inferior_spawn_id instead of $inferior_spawn_id directly. On
5023 "end of file", remove $inferior_spawn_id from the indirect list.
5024
0a803169
PA
50252015-04-23 Pedro Alves <palves@redhat.com>
5026
5027 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
5028
749ef8f8
PA
50292015-04-23 Pedro Alves <palves@redhat.com>
5030
5031 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
5032 on $any_spawn_id instead of only on $gdb_spawn_id.
5033
8aae4344
PM
50342015-04-21 Pierre Muller <muller@sourceware.org>
5035
5036 PR pascal/17815
5037 * lib/pascal.exp (gpc_compile): Add new option "class".
5038 (fpc_compile): Likewise.
5039 * gdb.pascal/case-insensitive-symbols.pas: New file.
5040 * gdb.pascal/case-insensitive-symbols.exp: New file.
5041
1586c8fb
GB
50422015-04-20 Gary Benson <gbenson@redhat.com>
5043
5044 * gdb.base/attach.exp: Fix three extended remote failures.
5045
1b6e6f5c
GB
50462015-04-17 Gary Benson <gbenson@redhat.com>
5047
5048 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
5049 the main executable over the remote protocol.
5050
e797481d
PA
50512015-04-16 Pedro Alves <palves@redhat.com>
5052
5053 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
5054 a new gdbserver if gdbserver_reconnect_p is set.
5055
1ca99c42
PA
50562015-04-16 Pedro Alves <palves@redhat.com>
5057
5058 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
5059 is set, don't exit gdbserver.
5060
af9fd6f8
AA
50612015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5062
5063 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
5064 appropriate .insn, such that an older assembler can be used.
5065 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
5066 the z/Architecture instruction set on 31-bit targets as well.
5067
04ff1e61
AA
50682015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5069
5070 * gdb.go/handcall.exp: Remove all logic related to the first
5071 breakpoint and rely on go_runto_main instead.
5072 * gdb.go/strings.exp: Likewise.
5073 * gdb.go/unsafe.exp: Likewise.
5074 * gdb.go/hello.exp: Likewise. Also rename the remaining
5075 breakpoint marker to "breakpoint 1".
5076 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
5077 * gdb.go/strings.go: Likewise.
5078 * gdb.go/unsafe.go: Likewise.
5079 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
5080 "set breakpoint 2 here" and rename the remaining breakpoint marker
5081 to "breakpoint 1".
5082
40d2f8d6
SM
50832015-04-15 Simon Marchi <simon.marchi@ericsson.com>
5084
5085 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
5086 if itertools.imap is not present.
5087 * gdb.python/py-objfile.exp: Add parentheses.
5088 * gdb.python/py-type.exp: Same.
5089 * gdb.python/py-unwind-maint.py: Same.
5090
8cbc97c6
YQ
50912015-04-15 Yao Qi <yao.qi@linaro.org>
5092
5093 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
5094 of ":$ptr_size" and set its form explicitly.
5095
45fd756c
YQ
50962015-04-15 Pedro Alves <palves@redhat.com>
5097 Yao Qi <yao.qi@linaro.org>
5098
5099 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
5100 timeout by factor of 4.
5101 (test_regular_watch): Likewise.
5102 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
5103 * gdb.reverse/sigall-reverse.exp: Likewise.
5104 * gdb.reverse/until-precsave.exp: Likewise.
5105 * lib/gdb.exp (with_timeout_factor): New proc.
5106 (gdb_expect): Move some code to ...
5107 (get_largest_timeout): ... here. New procedure.
5108
9e811bc3
LM
51092015-04-14 Luis Machado <lgustavo@codesourcery.com>
5110
5111 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
5112
0ff6fcb2
LM
51132015-04-13 Luis Machado <lgustavo@codesourcery.com>
5114
5115 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
5116 to write to the .text section.
5117
7578d5f7
LM
51182015-04-13 Luis Machado <lgustavo@codesourcery.com>
5119
5120 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
5121 Handle the case of targets that do not provide PID information.
5122
2efe15c4
YQ
51232015-04-13 Yao Qi <yao.qi@linaro.org>
5124
5125 * lib/gdbserver-support.exp (gdb_exit): Catch exception
5126 and use expect instead of gdb_expect.
5127
8cd8f2f8
SDJ
51282015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
5129
5130 * gdb.base/coredump-filter.exp: Rename variable "addr" to
5131 "coredump_var_addr" to avoid naming conflict with other testcases.
5132
9ee41772
PA
51332015-04-10 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
5136 gdb_test_sequence and gdb_assert.
5137
07473109
PA
51382015-04-10 Pedro Alves <palves@redhat.com>
5139
5140 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
5141 test messages that don't include the breakpoint address.
5142
de3db44c
YQ
51432015-04-10 Yao Qi <yao.qi@linaro.org>
5144
5145 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
5146 false for some offset and width combinations which aren't
5147 supported by linux kernel.
5148
c79d856c
PA
51492015-04-10 Pedro Alves <palves@redhat.com>
5150
5151 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
5152 procedure, factored out from ...
5153 (top level): ... here. Add "set displaced-stepping" testing axis.
5154 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
5155 parameter "displaced". Use it.
5156 (top level): Use foreach and add "set displaced-stepping" testing
5157 axis.
5158
ebc90b50
PA
51592015-04-10 Pedro Alves <palves@redhat.com>
5160
5161 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
5162 Remove comment.
5163 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
5164 both the address of the instruction that triggers the watchpoint
5165 and the address of the instruction immediately after, and use
5166 those addresses for the test. Fix comment.
5167
8f572e5c
PA
51682015-04-10 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.base/sigstep.exp (breakpoint_to_handler)
5171 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
5172 Test "backtrace" in handler.
5173 (breakpoint_over_handler): New parameter 'displaced'. Use it.
5174 (top level): Add new "displaced" test axis to
5175 breakpoint_to_handler, breakpoint_to_handler_entry and
5176 breakpoint_over_handler.
5177
8d707a12
PA
51782015-04-10 Pedro Alves <palves@redhat.com>
5179
5180 PR gdb/18216
5181 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
5182
ef713951
YQ
51832015-04-10 Yao Qi <yao.qi@linaro.org>
5184
5185 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
5186 (test_add_rn_pc): New function.
5187 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
5188 (top level): Invoke test_add_rn_pc.
5189
906d60cf
PA
51902015-04-10 Pedro Alves <palves@redhat.com>
5191
5192 PR gdb/13858
5193 * gdb.base/step-over-no-symbols.exp: New file.
5194
f2983cc3
AW
51952015-04-09 Andy Wingo <wingo@igalia.com>
5196
5197 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
5198 after the Python tests.
5199
6d62641c
SDJ
52002015-04-08 Keith Seitz <keiths@redhat.com>
5201
5202 PR python/16699
5203 * gdb.python/py-completion.exp: New tests for completion.
5204 * gdb.python/py-completion.py (CompleteLimit1): New class.
5205 (CompleteLimit2): Likewise.
5206 (CompleteLimit3): Likewise.
5207 (CompleteLimit4): Likewise.
5208 (CompleteLimit5): Likewise.
5209 (CompleteLimit6): Likewise.
5210 (CompleteLimit7): Likewise.
5211
f3770638
PA
52122015-04-08 Pedro Alves <palves@redhat.com>
5213
5214 PR gdb/18214
5215 PR gdb/18216
5216 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
5217 function.
5218 (main): Install it as SIGUSR1 handler.
5219 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
5220 parameter. Always use "setup" as prefix. Toggle "set
5221 displaced-stepping" off/on depending on global. Don't switch to
5222 thread 1 here.
5223 (top level): Add displaced stepping "off/on" test axis. Update
5224 "setup" calls. Wrap each subtest with with_test_prefix. Test
5225 continuing with a queued signal in each thread.
5226
4496bed7
PA
52272015-04-08 Pedro Alves <palves@redhat.com>
5228
5229 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
5230 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
5231 gdb_breakpoint instead of gdb_test that doesn't expect anything.
5232 Return early if running to main fails.
5233 * gdb.trace/while-stepping.exp: Likewise.
5234
b97fde92
PA
52352015-04-07 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
5238 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
5239 interact with inferior program.
5240
f71c18e7
PA
52412015-04-07 Pedro Alves <palves@redhat.com>
5242
5243 * lib/gdb.exp (inferior_spawn_id): New global.
5244 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
5245 spawn id after processing the user code.
5246 (default_gdb_start): Set inferior_spawn_id.
5247 (send_inferior): New procedure.
5248 * lib/gdbserver-support.exp (gdbserver_start): Set
5249 inferior_spawn_id.
5250 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
5251
6423214f
PA
52522015-04-07 Pedro Alves <palves@redhat.com>
5253
5254 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
5255 * lib/gdbserver-support.exp (gdbserver_start): Make
5256 $server_spawn_id global.
5257 (gdbserver_start): Don't wait for gdbserver's spawn id with
5258 expect_background.
5259 (close_gdbserver): New procedure.
5260 (gdb_exit): Rename the default version and reimplement.
5261
71c0ee8c
PA
52622015-04-07 Pedro Alves <palves@redhat.com>
5263
72f4393d 5264 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
5265 append the substituted item, not the original item.
5266
203bc29b
PA
52672015-04-07 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
5270 gdb_expect.
5271
508a3ddf
PA
52722015-04-07 Pedro Alves <palves@redhat.com>
5273
5274 * gdb.base/interrupt.exp: Don't handle the case of the inferior
5275 output appearing once only.
5276
9f6dbe2b
PA
52772015-04-07 Pedro Alves <palves@redhat.com>
5278
5279 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
5280 that doesn't expect anything. Return early if running to main
5281 fails.
5282
337532fa
YQ
52832015-04-07 Yao Qi <yao.qi@linaro.org>
5284
5285 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
5286 (child_function): Call alarm.
5287 (main): Move call to alarm into the loop.
5288 * gdb.threads/non-stop-fair-events.exp: Build program with
5289 -DTIMEOUT=$timeout.
5290
01b622d4
DE
52912015-04-06 Doug Evans <xdje42@gmail.com>
5292
5293 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
5294 Fix dest parameter to board_info.
5295 (fpc_compile): Ditto.
5296 (gdb_compile_pascal): Rename dest arg to destfile.
5297
961f4160
PMR
52982015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
5299
5300 * gdb.ada/funcall_ref.exp: New file.
5301 * gdb.ada/funcall_ref/foo.adb: New file.
5302
cafda597
YQ
53032015-04-02 Yao Qi <yao.qi@linaro.org>
5304
5305 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
5306 is remote.
5307
fed040c6
GB
53082015-04-02 Gary Benson <gbenson@redhat.com>
5309
5310 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
5311
d11916aa
SS
53122015-04-01 Sasha Smundak <asmundak@google.com>
5313
5314 * gdb.python/py-unwind-maint.c: New file.
5315 * gdb.python/py-unwind-maint.exp: New test.
5316 * gdb.python/py-unwind-maint.py: New file.
5317 * gdb.python/py-unwind.c: New file.
5318 * gdb.python/py-unwind.exp: New test.
5319 * gdb.python/py-unwind.py: New test.
5320
a1471180
PA
53212015-04-01 Pedro Alves <palves@redhat.com>
5322
5323 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
5324 to fail instead of non-existent $test.
5325
0bbeccb1
PA
53262015-04-01 Pedro Alves <palves@redhat.com>
5327
5328 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
5329 GDBFLAGS if not empty.
5330
3c724c8c
PMR
53312015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
5332
5333 * gdb.ada/complete.exp: Remove "multi_line".
5334 * gdb.ada/info_exc.exp: Remove "multi_line".
5335 * gdb.ada/packed_tagged.exp: Remove "multi_line".
5336 * gdb.ada/ptype_field.exp: Remove "multi_line".
5337 * gdb.ada/sym_print_name.exp: Remove "multi_line".
5338 * gdb.ada/tagged.exp: Remove "multi_line".
5339 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
5340 [multi_line ...]
5341 * gdb.btrace/delta.exp: Likewise.
5342 * gdb.btrace/exception.exp: Likewise.
5343 * gdb.btrace/function_call_history.exp: Likewise.
5344 * gdb.btrace/instruction_history.exp: Likewise.
5345 * gdb.btrace/nohist.exp: Likewise.
5346 * gdb.btrace/record_goto.exp: Likewise.
5347 * gdb.btrace/segv.exp: Likewise.
5348 * gdb.btrace/stepi.exp: Likewise.
5349 * gdb.btrace/tailcall.exp: Likewise.
5350 * gdb.btrace/unknown_functions.exp: Likewise.
5351 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
5352 * lib/gdb.exp: Add the "multi_line" helper.
5353
4eec2deb
PA
53542015-04-01 Pedro Alves <palves@redhat.com>
5355
5356 * gdb.threads/tid-reuse.c: New file.
5357 * gdb.threads/tid-reuse.exp: New file.
5358
df8411da
SDJ
53592015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
5360
5361 PR corefiles/16092
5362 * gdb.base/coredump-filter.c: New file.
5363 * gdb.base/coredump-filter.exp: Likewise.
5364
6ef37366
PM
53652015-03-27 Petr Machata <pmachata@redhat.com>
5366
5367 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
5368 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
5369 (Dwarf::assemble): Initialize them.
5370 (Dwarf::lines): New function.
5371
7ec911b0
JT
53722015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
5373
5374 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
5375 SYMBOL_PREFIX for x86_64-*-cygwin.
5376
ff908ebf
AW
53772015-03-26 Andy Wingo <wingo@igalia.com>
5378
5379 PR symtab/18148
5380 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
5381 const_value but not a location.
5382 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
5383 location defined in non-main CUs are visible.
5384
6d5f0679
YQ
53852015-03-26 Yao Qi <yao.qi@linaro.org>
5386
5387 PR testsuite/18139
5388 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
5389 Add a line number entry for the same line.
5390 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
5391 Add a line number entry for the same line.
5392
2898689b
YQ
53932015-03-26 Yao Qi <yao.qi@linaro.org>
5394
5395 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
5396 .int 0.
5397 (func): Likewise. Add .Lfunc_1 label.
5398 Use .Lfunc_1 label.
5399 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
5400 .int 0.
5401 (func): Likewise.
5402 Use .Lfunc_1 label.
5403
85180498
YQ
54042015-03-26 Yao Qi <yao.qi@linaro.org>
5405
5406 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
5407 Call gdb_compile instead to compile each .s files without debug
5408 information.
5409
8aa08a8d
YQ
54102015-03-26 Yao Qi <yao.qi@linaro.org>
5411
5412 * gdb.base/savedregs.exp (process_saved_regs): Make
5413 "Saved registers:" optional in the pattern.
5414
66849923
MM
54152015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5416
5417 * gdb.btrace/next.exp: Merged into step.exp.
5418 * gdb.btrace/finish.exp: Merged into step.exp.
5419 * gdb.btrace/nexti.exp: Merged into stepi.exp.
5420 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
5421 "record goto" and checking the exact replay position.
5422 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
5423 check for "Recording format" in "info record" output.
5424 * gdb.btrace/record_goto.exp: Choose test file based on target.
5425 * gdb.btrace/x86-record_goto.S: Renamed into ...
5426 * gdb.btrace/x86_64-record_goto.S: ... this.
5427 * gdb.btrace/i686-record_goto.S: New.
5428 * gdb.btrace/x86-tailcall.S: Renamed into ...
5429 * gdb.btrace/x86_64-tailcall.S: ... this.
5430 * gdb.btrace/i686-tailcall.S: New.
5431 * gdb.btrace/x86-tailcall.c: Renamed into ...
5432 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
5433 separate statements. Update test.
5434 * gdb.btrace/delta.exp: Use record_goto.c as test file.
5435 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
5436 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
5437 * gdb.btrace/tailcall.exp: Choose test file based on target.
5438 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
5439
11cc1b74
MM
54402015-03-25 Markus Metzger <markus.t.metzger@intel.com>
5441
5442 * gdb.btrace/exception.exp: Increase BTS buffer size.
5443
a25d8bf9
PA
54442015-03-24 Pedro Alves <palves@redhat.com>
5445
5446 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
5447
856e7dd6
PA
54482015-03-24 Pedro Alves <palves@redhat.com>
5449
5450 * gdb.threads/schedlock.exp (test_step): No longer expect that
5451 "set scheduler-locking step" with "next" over a function call runs
5452 threads unlocked.
5453
ad235a41
AT
54542015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5455
5456 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
5457
15630549
AT
54582015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5459
5460 PR breakpoints/16466
5461 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
5462 * gdb.mi/mi-pending.c (thread_func): New function.
5463 (int main): Add threading support required.
5464 * gdb.mi/mi-pending.exp: Add tests for this issue.
5465 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
5466 (pendfunc2): Remove stdio dependency.
5467 * gdb.mi/mi-pendshr2.c: New file.
5468
693dca06
KS
54692015-03-23 Keith Seitz <keiths@redhat.com>
5470
5471 * gdb.linespec/keywords.c: New file.
5472 * gdb.linespec/keywords.exp: New file.
5473
7e993ebf
KS
54742015-03-23 Keith Seitz <keiths@redhat.com>
5475
5476 PR gdb/18021
5477 * gdb.dwarf2/staticvirtual.exp: New test.
5478
bc23328c
JK
54792015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5480
5481 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
5482 * README: Remove HP-UX and gdb.hp.
5483 (configuration):
5484 * configure: Regenerate.
5485 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
5486 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
5487 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
5488 gdb.hp/gdb.defects/Makefile.
5489 * gdb.hp/Makefile.in: File deleted.
5490 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
5491 * gdb.hp/gdb.aCC/optimize.c: File deleted.
5492 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
5493 * gdb.hp/gdb.aCC/run.c: File deleted.
5494 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
5495 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
5496 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
5497 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
5498 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
5499 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
5500 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
5501 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
5502 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
5503 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
5504 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
5505 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
5506 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
5507 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
5508 * gdb.hp/gdb.base-hp/reg.s: File deleted.
5509 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
5510 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
5511 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
5512 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
5513 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
5514 * gdb.hp/gdb.compat/Makefile.in: File deleted.
5515 * gdb.hp/gdb.compat/average.c: File deleted.
5516 * gdb.hp/gdb.compat/sum.c: File deleted.
5517 * gdb.hp/gdb.compat/xdb.c: File deleted.
5518 * gdb.hp/gdb.compat/xdb0.c: File deleted.
5519 * gdb.hp/gdb.compat/xdb0.h: File deleted.
5520 * gdb.hp/gdb.compat/xdb1.c: File deleted.
5521 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
5522 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
5523 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
5524 * gdb.hp/gdb.defects/Makefile.in: File deleted.
5525 * gdb.hp/gdb.defects/bs14602.c: File deleted.
5526 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
5527 * gdb.hp/gdb.defects/solib-d.c: File deleted.
5528 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
5529 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
5530 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
5531 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
5532 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
5533 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
5534 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
5535 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
5536 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
5537 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
5538 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
5539 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
5540 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
5541 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
5542 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
5543 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
5544 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
5545 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
5546 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
5547 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
5548 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
5549 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
5550 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
5551 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
5552 * gdb.hp/tools/odump: File deleted.
5553
8bf3b159
PA
55542015-03-19 Pedro Alves <palves@redhat.com>
5555
5556 * gdb.threads/continue-pending-status.exp (saw_thread_2)
5557 (saw_thread_3): New globals.
5558 (top level): Increment them when an event for the corresponding
5559 thread is seen.
5560 (no thread starvation): New test.
5561
eb54c8bf
PA
55622015-03-19 Pedro Alves <palves@redhat.com>
5563
5564 * gdb.threads/continue-pending-status.c: New file.
5565 * gdb.threads/continue-pending-status.exp: New file.
5566
32d2e5d6
PA
55672015-03-18 Pedro Alves <palves@redhat.com>
5568
5569 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5570 Use gdb_is_target_remote instead of is_remote. Use
5571 gdb_test_multiple instead of gdb_expect. Exit early if
5572 gdb_test_multiple hits its internal matches. Tighten stepi tests
5573 expected output. Fail on exit with any signal, instead of just
5574 SIGILL.
5575
f68f11b7
YQ
55762015-03-18 Yao Qi <yao.qi@linaro.org>
5577
5578 PR tdep/18107
5579 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
5580 variable.
5581 * gdb.base/catch-syscall.exp: Don't skip it on
5582 aarch64*-*-linux* target. Remove elements in all_syscalls.
5583 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
5584 target.
5585 (setup_all_syscalls): New proc.
5586
ca5fd19b
YQ
55872015-03-16 Yao Qi <yao.qi@linaro.org>
5588
5589 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
5590 (top level): Skip tests if valid_addr_p returns false for
5591 $cmd1 or $cmd2.
5592
85642ba0
AW
55932015-03-11 Andy Wingo <wingo@igalia.com>
5594
5595 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
5596
e03f9645
YQ
55972015-03-11 Yao Qi <yao.qi@linaro.org>
5598
5599 * gdb.base/catch-syscall.exp: Fix typo in comments.
5600
5d0962b2
YQ
56012015-03-11 Yao Qi <yao.qi@linaro.org>
5602
5603 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
5604
b2df3cef
PA
56052015-03-09 Pedro Alves <palves@redhat.com>
5606
5607 * dg-extract-results.py: Delete.
5608
ef878e53
PA
56092015-03-09 Pedro Alves <palves@redhat.com>
5610
5611 Merge dg-extract-results.sh from GCC upstream (r218843).
5612
5613 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
5614 * dg-extract-results.sh: Use --text with grep to avoid issues with
5615 binary files. Fall back to cat -v, if that doesn't work.
5616
9494d219
PA
56172015-03-05 Pedro Alves <palves@redhat.com>
5618
5619 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
5620
a8d9763a
SM
56212015-03-04 Simon Marchi <simon.marchi@ericsson.com>
5622
5623 * lib/mi-support.exp (mi_expect_interrupt): Accept
5624 alternative event for when in all-stop mode.
5625
be9957b8
PA
56262015-03-04 Pedro Alves <palves@redhat.com>
5627
5628 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
5629
d57be0f4 56302015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
5631
5632 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
5633
c214c7cf
AA
56342015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5635
5636 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
5637 regexps for GDB's current line display, accept a hex address
5638 preceding the line number.
5639
6d74a497
AA
56402015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
5641
5642 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
5643 the 'arch1' variable for "s390*-linux*" targets.
5644
511aee7c
PA
56452015-03-04 Pedro Alves <palves@redhat.com>
5646
5647 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
5648 (main): Pass missing retval argument to pthread_join call.
5649
95e50b27
PA
56502015-03-02 Pedro Alves <palves@redhat.com>
5651
5652 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
5653 (top level): Call do_test with non-stop as well.
5654
28054d69
PA
56552015-03-02 Pedro Alves <palves@redhat.com>
5656
5657 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
5658 -1.
5659
4fa5d7b4
AA
56602015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5661
5662 * gdb.arch/s390-vregs.exp: New test.
5663 * gdb.arch/s390-vregs.S: New file.
5664
97c18565
PA
56652015-02-27 Pedro Alves <palves@redhat.com>
5666
5667 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
5668 call to catch_command_errors.
5669 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
5670 catch_command_errors.
5671
a37bfa30
PA
56722015-02-27 Pedro Alves <palves@redhat.com>
5673
5674 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
5675 "true" for boolean result.
5676 * gdb.gdb/selftest.exp (test_with_self): Also accept full
5677 prototype of main.
5678
6f98576f
PA
56792015-02-27 Pedro Alves <palves@redhat.com>
5680
5681 * lib/unbuffer_output.c: New file.
5682 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
5683 (main): Call gdb_unbuffer_output.
5684
eba5ab56
YQ
56852015-02-27 Yao Qi <yao.qi@linaro.org>
5686
5687 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
5688 target.
5689
0def5aaa
DE
56902015-02-26 Doug Evans <dje@google.com>
5691
5692 * gdb.cp/class2.cc (Dbase, D): New classes.
5693 (main): New local delta.
5694 * gdb.cp/class2.exp: Test printing delta.
5695 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
5696 (dynbar): New global.
5697 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
5698
081a1c2c
JK
56992015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5700
5701 * gdb.compile/compile-ifunc.c: New file.
5702 * gdb.compile/compile-ifunc.exp: New file.
5703
2f41223f
AT
57042015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
5705
5706 * gdb.base/structs.exp: Check for correct struct on finish.
5707
03eddd80
YQ
57082015-02-26 Yao Qi <yao.qi@linaro.org>
5709
5710 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
5711 is zero.
5712
80c57053
JK
57132015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5714
5715 * gdb.arch/cordic.ko.bz2: New file.
5716 * gdb.arch/cordic.ko.debug.bz2: New file.
5717 * gdb.arch/ppc64-symtab-cordic.exp: New file.
5718
21613c12
YQ
57192015-02-25 Yao Qi <yao.qi@linaro.org>
5720
5721 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
5722 aarch64*-*-* target.
5723
d8b901ed
PA
57242015-02-23 Pedro Alves <palves@redhat.com>
5725
5726 * lib/gdb.exp (delete_breakpoints): Rewrite using
5727 gdb_test_multiple.
5728
e5b85ead
PA
57292015-02-23 Pedro Alves <palves@redhat.com>
5730
5731 * gdb.base/info-os.c: Include stdlib.h.
5732
85c3a371
DE
57332015-02-22 Doug Evans <xdje42@gmail.com>
5734
5735 PR symtab/17855
5736 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
5737 is read after symbols have been re-read.
5738 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
5739 * gdb.ada/exec_changed/second.adb (Second): Ditto.
5740
96553a0c
DE
57412015-02-21 Doug Evans <dje@google.com>
5742
5743 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
5744
97a0c697
JK
57452015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5746
5747 PR corefiles/17808
5748 * gdb.arch/i386-biarch-core.core.bz2: New file.
5749 * gdb.arch/i386-biarch-core.exp: New file.
5750
a47cd6e9
PA
57512015-02-21 Pedro Alves <palves@redhat.com>
5752
5753 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
5754 runto_main fails.
5755
c5facdc4
PA
57562015-02-20 Pedro Alves <palves@redhat.com>
5757
5758 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
5759 info probes.
5760
2db9a427
PA
57612015-02-20 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.threads/multi-create-ns-info-thr.exp: New file.
5764
60fb7e9e
PA
57652015-02-20 Pedro Alves <palves@redhat.com>
5766
5767 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
5768 clean_restart before gdb_target_supports_trace.
5769
5c5019c2
PA
57702015-02-20 Pedro Alves <palves@redhat.com>
5771
5772 PR threads/18006
5773 * gdb.threads/clone-thread_db.c: New file.
5774 * gdb.threads/clone-thread_db.exp: New file.
5775
c9587f88
AT
57762015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
5777
5778 PR breakpoints/16812
5779 * gdb.base/catch-gdb-caused-signals.c: New file.
5780 * gdb.base/catch-gdb-caused-signals.exp: New file.
5781
f6a88844
JM
57822015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
5783
5784 * configure: Regenerated.
5785 * configure.ac: Use GDB_AC_TRANSFORM.
5786 * aclocal.m4: sinclude ../transform.m4.
5787
497c491b
JM
57882015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5789
5790 * lib/dtrace.exp: New file.
5791 * gdb.base/dtrace-probe.exp: Likewise.
5792 * gdb.base/dtrace-probe.d: Likewise.
5793 * gdb.base/dtrace-probe.c: Likewise.
5794 * lib/pdtrace.in: Likewise.
5795 * configure.ac: Output variables with the transformed names of
5796 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
5797 * configure: Regenerated.
5798
03e98035
JM
57992015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5800
5801 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
5802 expected message when trying to access $_probe_* convenience
5803 variables while not on a probe.
5804
63cc30e9
JK
58052015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5806
5807 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5808
0703599a
PA
58092015-02-11 Pedro Alves <pedro@codesourcery.com>
5810
5811 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5812 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5813
7e60a48e
DE
58142015-02-10 Doug Evans <xdje42@gmail.com>
5815
5816 * lib/gdb.exp (gdb_load): Always return a result.
5817
01b088bc
PA
58182015-02-10 Pedro Alves <palves@redhat.com>
5819
5820 * gdb.threads/signal-sigtrap.c: New file.
5821 * gdb.threads/signal-sigtrap.exp: New file.
5822
b05ec7a5
AT
58232015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5824
5825 * gdb.trace/no-attach-trace.c: New file.
5826 * gdb.trace/no-attach-trace.exp: New file.
5827
a2c2acaf
MW
58282015-02-09 Mark Wielaard <mjw@redhat.com>
5829
5830 * gdb.dwarf2/atomic.c: New file.
5831 * gdb.dwarf2/atomic-type.exp: Likewise.
5832
31fd9caa
MM
58332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5834
5835 * gdb.btrace/buffer-size.exp: Update "info record" output.
5836 * gdb.btrace/delta.exp: Update "info record" output.
5837 * gdb.btrace/enable.exp: Update "info record" output.
5838 * gdb.btrace/finish.exp: Update "info record" output.
5839 * gdb.btrace/instruction_history.exp: Update "info record" output.
5840 * gdb.btrace/next.exp: Update "info record" output.
5841 * gdb.btrace/nexti.exp: Update "info record" output.
5842 * gdb.btrace/step.exp: Update "info record" output.
5843 * gdb.btrace/stepi.exp: Update "info record" output.
5844 * gdb.btrace/nohist.exp: Update "info record" output.
5845
d33501a5
MM
58462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5847
5848 * gdb.btrace/buffer-size: New.
5849
f4abbc16
MM
58502015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5851
5852 * gdb.btrace/delta.exp: Update "info record" output.
5853 * gdb.btrace/enable.exp: Update "info record" output.
5854 * gdb.btrace/finish.exp: Update "info record" output.
5855 * gdb.btrace/instruction_history.exp: Update "info record" output.
5856 * gdb.btrace/next.exp: Update "info record" output.
5857 * gdb.btrace/nexti.exp: Update "info record" output.
5858 * gdb.btrace/step.exp: Update "info record" output.
5859 * gdb.btrace/stepi.exp: Update "info record" output.
5860 * gdb.btrace/nohist.exp: Update "info record" output.
5861
b9d61307
SM
58622015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5863
5864 PR gdb/15678
5865 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5866
e584fdbc
PA
58672015-02-06 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5870 macro.
5871 (seconds_left, again): New globals.
5872 (main): Wait seconds_left in a 1-second sleep loop instead of
5873 sleeping 180 seconds. If 'again' is set, reset the seconds
5874 counter.
5875 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5876 'again' in the inferior before detaching. Print the seconds left.
5877 (options): New global.
5878 (top level): Build program with -DTIMEOUT=$timeout.
5879
77f41761
PA
58802015-02-06 Pedro Alves <palves@redhat.com>
5881
5882 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5883 determine how many seconds to pass to 'alarm'.
5884 * gdb.base/gdb-sigterm.exp (top level): Build program with
5885 -DTIMEOUT=$timeout.
5886 (do_test): Return success/failure indication. Add more verbose
5887 logging. Don't fail if 200 single steps are seen. Instead, fail
5888 when the test times out.
5889 (passes): New global.
5890 (top level): Break the testing loop if testing fails on any
5891 iteration. Use gdb_assert.
5892
b9394193
DB
58932015-02-04 Don Breazeal <donb@codesourcery.com>
5894
5895 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5896 and initialize them.
5897 (ipc_cleanup): New function.
5898 (main): Don't declare shmid, semid, and msqid. Add a call to
5899 atexit so that we call ipc_cleanup on exit.
5900
42d9e528
PA
59012015-02-04 Pedro Alves <palves@redhat.com>
5902
5903 * boards/native-extended-gdbserver.exp: Remove any target variant
5904 specifications from the board name before clearing the isremote
5905 flag from board_info.
5906
ae6ae975
DE
59072015-01-31 Doug Evans <xdje42@gmail.com>
5908
5909 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5910
cfb069a8
GB
59112015-01-31 Gary Benson <gbenson@redhat.com>
5912
5913 * gdb.base/completion.exp: Disable completion limiting for
5914 existing tests. Add new tests to check completion limiting.
5915 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5916
5dd31d79
DE
59172015-01-31 Doug Evans <xdje42@gmail.com>
5918
5919 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5920
9f050062
DE
59212015-01-31 Doug Evans <xdje42@gmail.com>
5922
5923 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5924 entries. Duplicate file section script entries.
5925 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5926 inlined entries. Add test for safe-path rejection.
5927 * gdb.python/py-section-script.c: Add duplicate inlined section script
5928 entries. Duplicate file section script entries.
5929 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5930 inlined entries. Add test for safe-path rejection.
5931
df25ebbd
JB
59322015-01-29 Joel Brobecker <brobecker@adacore.com>
5933
5934 * gdb.ada/disc_arr_bound: New testcase.
5935
4a0ca9ec
JB
59362015-01-29 Joel Brobecker <brobecker@adacore.com>
5937
5938 * gdb.ada/mi_var_array: New testcase.
5939
3a8b707a
DE
59402015-01-27 Doug Evans <dje@google.com>
5941
5942 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5943 Add test for objfile.filename, objfile.username after objfile
5944 has been unloaded.
5945
f8313f6e
JB
59462015-01-26 Joel Brobecker <brobecker@adacore.com>
5947
5948 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5949 the second test to print the name attribute of value
5950 returned by the call to gdb.lookup_type, and adjust
5951 the expected output accordingly.
5952
37bc665e
MW
59532015-01-25 Mark Wielaard <mjw@redhat.com>
5954
5955 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5956 * gdb.base/disp-step-fork.c: Include unistd.h.
5957 * gdb.base/siginfo-obj.c: Include stdio.h.
5958 * gdb.base/siginfo-thread.c: Likewise.
5959 * gdb.mi/non-stop.c: Include unistd.h.
5960 * gdb.mi/nsthrexec.c: Include stdio.h.
5961 * gdb.mi/pthreads.c: Include unistd.h.
5962 * gdb.modula2/unbounded1.c (main): Declare returns int.
5963 * gdb.reverse/consecutive-reverse.c: Likewise.
5964 * gdb.threads/create-fail.c: Include unistd.h.
5965 * gdb.threads/killed.c: Likewise.
5966 * gdb.threads/linux-dp.c: Likewise.
5967 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5968 * gdb.threads/non-ldr-exc-2.c: Likewise.
5969 * gdb.threads/non-ldr-exc-3.c: Likewise.
5970 * gdb.threads/non-ldr-exc-4.c: Likewise.
5971 * gdb.threads/pthreads.c: Include unistd.h.
5972 (main): Declare returns int.
5973 * gdb.threads/tls-main.c (foo): New declaration.
5974 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5975
f7e5394d
SM
59762015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5977
5978 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5979 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5980
743649fd
MW
59812015-01-15 Mark Wielaard <mjw@redhat.com>
5982
5983 * gdb.base/noreturn-return.c: New file.
5984 * gdb.base/noreturn-return.exp: New file.
5985 * gdb.base/noreturn-finish.c: New file.
5986 * gdb.base/noreturn-finish.exp: New file.
5987
198297aa
PA
59882015-01-23 Pedro Alves <palves@redhat.com>
5989
5990 * gdb.threads/continue-pending-after-query.c: New file.
5991 * gdb.threads/continue-pending-after-query.exp: New file.
5992
717cf30c
AG
59932015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5994 Simon Marchi <simon.marchi@ericsson.com>
5995
5996 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5997 * gdb.base/valgrind-db-attach.exp: Same.
5998 * gdb.base/valgrind-infcall.exp: Same.
5999 * lib/mi-support.exp (default_mi_gdb_start): Same.
6000 * lib/prompt.exp (default_prompt_gdb_start): Same.
6001 * lib/gdb.exp (default_gdb_spawn): Same.
6002 (gdb_interact): New.
6003
6004
4b62a76e
JK
60052015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6006
6007 * gdb.compile/compile.exp (pointer to jit function): New test.
6008
b4cdae6f
WW
60092015-01-17 Wei-cheng Wang <cole945@gmail.com>
6010
6011 * lib/gdb.exp (supports_process_record): Return true for
6012 powerpc*-*-linux*.
6013 (supports_reverse): Likewise.
6014
d221e7ef
DB
60152015-01-15 Don Breazeal <donb@codesourcery.com>
6016
6017 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
6018 instead of checking whether the target board is remote and
6019 use spawn_wait_for_attach instead of exec/sleep.
6020 * gdb.base/attach-twice.exp: Likewise.
6021
bafffb51
JB
60222015-01-15 Joel Brobecker <brobecker@adacore.com>
6023
6024 * gdb.ada/var_arr_attrs: New testcase.
6025
5589af0e
PA
60262015-01-14 Pedro Alves <palves@redhat.com>
6027 Joel Brobecker <brobecker@adacore.com>
6028
6029 PR gdb/17525
6030 * gdb.base/bp-cmds-execution-x-script.c: New file.
6031 * gdb.base/bp-cmds-execution-x-script.exp: New file.
6032 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
6033
6c400b59
PA
60342015-01-14 Pedro Alves <palves@redhat.com>
6035
6036 PR cli/17828
6037 * gdb.base/batch-preserve-term-settings.c: New file.
6038 * gdb.base/batch-preserve-term-settings.exp: New file.
6039
e02c96a7
DE
60402015-01-13 Doug Evans <dje@google.com>
6041
6042 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
6043 binary.
6044
576fd14c
JB
60452015-01-13 Joel Brobecker <brobecker@adacore.com>
6046
6047 * Makefile.in (clean mostlyclean): Do not delete *.py.
6048
04dccad0
JB
60492015-01-13 Joel Brobecker <brobecker@adacore.com>
6050
6051 * gdb.python/py-lookup-type.exp: New file.
6052
3d230f71
PA
60532015-01-12 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
6056 restore GDBFLAGS before returning.
6057
7e67715d
JK
60582015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6059
6060 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
6061 is_amd64_regs_target and is_x86_like_target.
6062
f2e0d4b4
DE
60632015-01-11 Doug Evans <xdje42@gmail.com>
6064
6065 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
6066 is given without an explicit form.
6067 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6068 attributes.
6069 * gdb.dwarf/corrupt.exp: Ditto.
6070 * gdb.dwarf2/enum-type.exp: Ditto.
6071 * gdb.trace/entry-values.exp: Ditto.
6072 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
6073
439250fb
DE
60742015-01-11 Doug Evans <xdje42@gmail.com>
6075
6076 PR gdb/15830
6077 * gdb.base/maint.exp: Remove references to "maint demangle".
6078 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
6079 Add tests for explicitly specifying language to demangle.
6080 * gdb.dlang/demangle.exp: Ditto.
6081
ede9f622
PA
60822015-01-09 Pedro Alves <palves@redhat.com>
6083
6084 * gdb.threads/non-stop-fair-events.c: New file.
6085 * gdb.threads/non-stop-fair-events.exp: New file.
6086
a7b796db
PA
60872015-01-09 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
6090 the global scope. Set a breakpoint after all threads are started
6091 rather than stepping over two source lines. Expect the prompt.
6092 * gdb.base/watch_thread_num.c (threads_started_barrier): New
6093 global.
6094 (NUM): Now 15.
6095 (main): Use threads_started_barrier to wait for all threads to
6096 start. Main thread no longer calls thread_function. Exit after
6097 180 seconds.
6098 (loop): New function.
6099 (thread_function): Wait on threads_started_barrier barrier. Call
6100 'loop' at each iteration.
6101 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
6102 threads have started, instead of hardcoding number of "next"
6103 steps. Use an access watchpoint instead of a write watchpoint.
6104
9665ffdd
PA
61052015-01-09 Pedro Alves <palves@redhat.com>
6106
6107 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
6108 (thread_func): Wait on barrier.
6109 (main): Wait for all threads to start before stopping GDB.
6110 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
6111 global.
6112 (thread1_func, thread2_func): Wait on barrier.
6113 (main): Wait for all threads to start before stopping GDB.
6114 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
6115 New global.
6116 (thread1_func, thread2_func): Wait on barrier.
6117 (main): Wait for all threads to start before stopping GDB.
6118
c945a99f
PA
61192015-01-09 Pedro Alves <palves@redhat.com>
6120
6121 * gdb.threads/attach-many-short-lived-threads.c: New file.
6122 * gdb.threads/attach-many-short-lived-threads.exp: New file.
6123
c1a747c1
PA
61242014-01-09 Pedro Alves <palves@redhat.com>
6125
6126 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
6127 instead of to thread 2.
6128 * gdb.threads/signal-command-multiple-signals-pending.c (main):
6129 Add barrier around each pthread_create call instead of around all
6130 calls.
6131 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
6132 Set a break on thread_function and have the child threads hit it
6133 one at at a time.
6134
60b3033e
PA
61352015-01-09 Pedro Alves <palves@redhat.com>
6136
6137 * lib/gdb.exp (can_spawn_for_attach): New procedure.
6138 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
6139 false.
6140 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
6141 checking whether the target board is remote.
6142 * gdb.multi/multi-attach.exp: Likewise.
6143 * gdb.python/py-sync-interp.exp: Likewise.
6144 * gdb.server/ext-attach.exp: Likewise.
6145 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
6146 tests that need to attach, instead of checking whether the target
6147 board is remote at the top of the file.
6148
acc018ac
YQ
61492015-01-08 Yao Qi <yao@codesourcery.com>
6150
6151 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
6152
50a18af8
JK
61532015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6154
6155 Fix testcase compilation.
6156 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
6157
8503d6e1
JB
61582015-01-06 Joel Brobecker <brobecker@adacore.com>
6159
6160 * gdb.python/py-type.exp: Add a couple test about empty
6161 array creation, and negative-length array creation.
6162
cc73dbcc
DE
61632015-01-02 Doug Evans <xdje42@gmail.com>
6164
6165 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
6166
0300bbc7
DE
61672015-01-02 Doug Evans <dje@google.com>
6168
6169 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
6170
9d85a0ec
YQ
61712014-12-29 Yao Qi <yao@codesourcery.com>
6172
6173 * gdb.trace/entry-values.exp: Update comments. Rename variable
6174 bar_call_foo to returned_from_foo.
6175
87186c6a
MMN
61762014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
6177
6178 PR gdb/17394
6179 * gdb.linespec/break-asm-file.c: New file.
6180 * gdb.linespec/break-asm-file.exp: New file.
6181 * gdb.linespec/break-asm-file0.s: New file.
6182 * gdb.linespec/break-asm-file1.s: New file.
6183
1bab7383
YQ
61842014-12-18 Nigel Stephens <nigel@mips.com>
6185 Maciej W. Rozycki <macro@codesourcery.com>
6186
6187 * gdb.base/float.exp: Handle the new output from "info float" on
6188 MIPS targets.
6189
1bc1068a
JK
61902014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6191
6192 Fix MinGW compilation.
6193 * gdb.compile/compile-ops.exp: Update untested message if
6194 !skip_compile_feature_tests.
6195 * gdb.compile/compile-setjmp.exp: Likewise.
6196 * gdb.compile/compile-tls.exp: Likewise.
6197 * gdb.compile/compile.exp: Likewise.
6198 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
6199 supported on this host".
6200
b6615d10
DE
62012014-12-16 Doug Evans <xdje42@gmail.com>
6202
6203 * boards/stabs.exp: New file.
6204
25dda427
AA
62052014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
6206
6207 * gdb.base/completion.exp: Adjust to format changes of "maint
6208 print user-registers".
6209
bf330350
CU
62102014-12-16 Catalin Udma <catalin.udma@freescale.com>
6211
6212 PR server/17457
6213 * gdb.arch/aarch64-fp.c: New file.
6214 * gdb.arch/aarch64-fp.exp: New file.
6215
395cf596
SDJ
62162014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6217
6218 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
6219 r210637, r210913, r211666, r215400, r215817).
6220
6221 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
6222 * dg-extract-results.py: New file.
6223 * dg-extract-results.sh: Use it if the environment seems
6224 suitable.
6225
6226 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
6227
6228 * dg-extract-results.py (parse_run): Handle warnings that
6229 are printed before a test harness is run.
6230
6231 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
6232
6233 * dg-extract-results.py (Named): Remove __cmp__ method.
6234 (output_variation): Use a key to sort variation.harnesses.
6235
6236 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
6237
6238 * dg-extract-results.py: For Python 3, force sys.stdout to
6239 handle surrogate escape sequences.
6240 (safe_open): New function.
6241 (output_segment, main): Use it.
6242
6243 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
6244
6245 * dg-extract-results.py (Prog.result_re): Include options
6246 in test name.
6247
6248 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
6249
6250 * dg-extract-results.py (output_variation): Always sort if
6251 do_sum.
6252
e882ef3c
SM
62532014-12-15 Simon Marchi <simon.marchi@ericsson.com>
6254
6255 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
6256 as long as we get pagination notifications.
6257
4992aa20
JM
62582014-12-15 Jason Merrill <jason@redhat.com>
6259
6260 * Makefile.in (check-gdb.%): Restore.
6261 * README: Mention it.
6262
c1b5a1a6
JB
62632014-12-13 Joel Brobecker <brobecker@adacore.com>
6264
6265 * gdb.ada/str_uninit: New testcase.
6266
5537b577
JK
62672014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6268
6269 PR symtab/17642
6270 * gdb.base/vla-stub-define.c: New file.
6271 * gdb.base/vla-stub.c: New file.
6272 * gdb.base/vla-stub.exp: New file.
6273
bb2ec1b3
TT
62742014-12-12 Phil Muldoon <pmuldoon@redhat.com>
6275 Jan Kratochvil <jan.kratochvil@redhat.com>
6276 Tom Tromey <tromey@redhat.com>
6277
6278 * configure.ac: Add gdb.compile/.
6279 * configure: Regenerate.
6280 * gdb.compile/Makefile.in: New file.
6281 * gdb.compile/compile-ops.exp: New file.
6282 * gdb.compile/compile-ops.c: New file.
6283 * gdb.compile/compile-tls.c: New file.
6284 * gdb.compile/compile-tls.exp: New file.
6285 * gdb.compile/compile-constvar.S: New file.
6286 * gdb.compile/compile-constvar.c: New file.
6287 * gdb.compile/compile-mod.c: New file.
6288 * gdb.compile/compile-nodebug.c: New file.
6289 * gdb.compile/compile-setjmp-mod.c: New file.
6290 * gdb.compile/compile-setjmp.c: New file.
6291 * gdb.compile/compile-setjmp.exp: New file.
6292 * gdb.compile/compile-shlib.c: New file.
6293 * gdb.compile/compile.c: New file.
6294 * gdb.compile/compile.exp: New file.
6295 * lib/gdb.exp (skip_compile_feature_tests): New proc.
6296
4ff709eb
TT
62972014-12-12 Tom Tromey <tromey@redhat.com>
6298
6299 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
6300 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
6301
6dddd6a5
DE
63022014-12-12 Doug Evans <dje@google.com>
6303
6304 * lib/gdb-python.exp (get_python_valueof): New function.
6305 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
6306
71c24708
AA
63072014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6308
6309 * gdb.base/completion.exp: Add test for completion of "info
6310 registers ".
6311
3e29f34a
MR
63122014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
6313
6314 * gdb.base/func-ptrs.c: New file.
6315 * gdb.base/func-ptrs.exp: New file.
6316
fc126975
SM
63172014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6318
6319 PR breakpoints/17012
6320 * gdb.base/dprintf-detach.c: New file.
6321 * gdb.base/dprintf-detach.exp: New file.
6322
0a46d518
SM
63232014-12-10 Simon Marchi <simon.marchi@ericsson.com>
6324
6325 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
6326 * lib/gdb.exp (target_is_gdbserver): New procedure.
6327
a0be3e44
DE
63282014-12-08 Doug Evans <dje@google.com>
6329
6330 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
6331
df1b803a
YQ
63322014-12-05 Yao Qi <yao@codesourcery.com>
6333
6334 * gdb.guile/scm-error.exp: Remove the third argument to
6335 gdb_remote_download.
6336 * gdb.guile/scm-frame-args.exp: Likewise.
6337 * gdb.guile/scm-section-script.exp: Likewise.
6338
ddb9f679
YQ
63392014-12-05 Yao Qi <yao@codesourcery.com>
6340
6341 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
6342
86e4ed39
DE
63432014-12-04 Doug Evans <dje@google.com>
6344
6345 * gdb.python/py-objfile.exp: Add tests for
6346 objfile.add_separate_debug_file.
6347
7c50a931
DE
63482014-12-04 Doug Evans <dje@google.com>
6349
6350 * lib/gdb.exp (get_build_id): New function.
6351 (build_id_debug_filename_get): Rewrite to use it.
6352 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
6353
621661e3
MR
63542014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
6355
6356 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
6357 `method(long)', not just 0x0.
6358 * gdb.cp/nsalias.exp: Align code labels to 4.
6359 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
6360 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
6361 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
6362 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
6363 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
6364 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
6365
29f0c3b7
DE
63662014-12-02 Doug Evans <dje@google.com>
6367
e1e061e7 6368 PR symtab/17602
29f0c3b7 6369 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 6370 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
6371 * gdb.cp/anon-ns.exp: Update.
6372
162078c8
NB
63732014-12-02 Nick Bull <nicholaspbull@gmail.com>
6374
6375 * gdb.python/py-events.py (inferior_call_handler): New.
6376 (register_changed_handler, memory_changed_handler): New.
6377 (test_events.invoke): Register new handlers.
6378 * gdb.python/py-events.exp: Add tests for inferior call,
6379 memory_changed and register_changed events.
6380
fdb09caf
AA
63812014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
6382
6383 * gdb.base/execl-update-breakpoints.exp: Specify the link address
6384 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
6385 if the linker doesn't understand this.
6386
55cfb2c4
SM
63872014-12-01 Simon Marchi <simon.marchi@ericsson.com>
6388
6389 * gdb.python/python.exp: Change expected reply to help().
6390
9e8cd6df
YQ
63912014-12-01 Yao Qi <yao@codesourcery.com>
6392
6393 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
6394 AC_CONFIG_SUBDIRS(gdb.gdbtk).
6395 * configure: Re-generated.
6396
6c659fc2
SC
63972014-11-28 Siva Chandra Reddy <sivachandra@google.com>
6398
6399 * gdb.cp/chained-calls.cc: New file.
6400 * gdb.cp/chained-calls.exp: New file.
6401 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
6402
d7fc3181
SM
64032014-11-28 Simon Marchi <simon.marchi@ericsson.com>
6404
6405 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
6406 * gdb.dwarf2/symtab-producer.exp: Same.
6407 * gdb.gdb/python-interrupts.exp: Same.
6408 * gdb.gdb/python-selftest.exp: Same.
6409 * gdb.python/py-linetable.exp: Same.
6410 * gdb.python/py-type.exp: Same.
6411 * gdb.python/py-value-cc.exp: Same.
6412 * gdb.python/py-value.exp: Same.
6413
10e79639
YQ
64142014-11-28 Yao Qi <yao@codesourcery.com>
6415
6416 * gdb.base/break-probes.exp: Match library name prefixed with
6417 sysroot.
6418
f28a0564
SM
64192014-11-27 Simon Marchi <simon.marchi@ericsson.com>
6420
6421 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
6422 test expected output. Add parentheses for the call to print.
6423 Remove L suffix from integers.
6424
3fe1ce1d
DE
64252014-11-26 Doug Evans <dje@google.com>
6426
6427 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
6428
84429e27
YQ
64292014-11-22 Yao Qi <yao@codesourcery.com>
6430
6431 * gdb.trace/entry-values.c: Remove asms.
6432 (foo): Add foo_label.
6433 (bar): Add bar_label.
6434 * gdb.trace/entry-values.exp: Remove code computing foo's
6435 length and bar's length.
6436 (Dwarf::assemble): Invoke function_range for bar and use
6437 MACRO_AT_func for foo.
6438
26741859
YQ
64392014-11-22 Yao Qi <yao@codesourcery.com>
6440
6441 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
6442 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
6443 Use .Lgcc43_procstart instead of gcc43.
6444
45e44d27
JB
64452014-11-21 Joel Brobecker <brobecker@adacore.com>
6446
6447 * gdb.ada/n_arr_bound: New testcase.
6448
458c8db8
SDJ
64492014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6450
6451 PR breakpoints/10737
6452 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
6453 test_catch_syscall_multi_arch.
6454 (test_catch_syscall_multi_arch): New function.
6455
43f3e411
DE
64562014-11-20 Doug Evans <xdje42@gmail.com>
6457
6458 * gdb.base/maint.exp: Update expected output.
6459
0d7b2549
AA
64602014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6461
6462 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
6463 4-byte instruction on S390.
6464
8908fca5
JB
64652014-11-19 Joel Brobecker <brobecker@adacore.com>
6466
6467 * gdb.ada/arr_arr: New testcase.
6468
4a46959e
JB
64692014-11-19 Joel Brobecker <brobecker@adacore.com>
6470
6471 * gdb.ada/pkd_arr_elem: New Testcase.
6472
470e2f4e
LM
64732014-11-18 Luis Machado <lgustavo@codesourcery.com>
6474
6475 * gdb.reverse/break-precsave: Expect completion message for
6476 core file reads.
6477 * gdb.reverse/consecutive-precsave.exp: Likewise.
6478 * gdb.reverse/finish-precsave.exp: Likewise.
6479 * gdb.reverse/i386-precsave.exp: Likewise.
6480 * gdb.reverse/machinestate-precsave.exp: Likewise.
6481 * gdb.reverse/sigall-precsave.exp: Likewise.
6482 * gdb.reverse/solib-precsave.exp: Likewise.
6483 * gdb.reverse/step-precsave.exp: Likewise.
6484 * gdb.reverse/until-precsave.exp: Likewise.
6485 * gdb.reverse/watch-precsave.exp: Likewise.
6486
a267f3ad
AA
64872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6488
6489 * gdb.base/bp-permanent.c: Include unistd.h.
6490 * gdb.python/py-framefilter-mi.c (main): Add return type.
6491 * gdb.python/py-framefilter.c (main): Likewise.
6492 * gdb.trace/actions-changed.c (main): Likewise.
6493
12084a9a
AA
64942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6495
6496 * gdb.mi/until.c: Add eye-catchers.
6497 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
6498 line numbers.
6499
dc7e1a77
AA
65002014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6501
6502 * gdb.base/condbreak.exp: Drop references to removed non-prototype
6503 function header variants in break1.c.
6504 * gdb.base/ena-dis-br.exp: Likewise.
6505 * gdb.base/hbreak2.exp: Likewise.
6506 * gdb.reverse/until-precsave.exp: Drop references to removed
6507 non-prototype function header variants in ur1.c.
6508 * gdb.reverse/until-reverse.exp: Likewise.
6509
41c77605
PM
65102014-11-17 Petr Machata <pmachata@redhat.com>
6511
6512 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
6513 ${_cu_offset_size} bytes abbrev offset.
6514
34248c3a
DE
65152014-11-15 Doug Evans <xdje42@gmail.com>
6516
6517 PR symtab/17559
6518 * gdb.base/line-symtabs.exp: New file.
6519 * gdb.base/line-symtabs.c: New file.
6520 * gdb.base/line-symtabs.h: New file.
6521
646da059
YQ
65222014-11-14 Yao Qi <yao@codesourcery.com>
6523
6524 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
6525 (func): Add label func_label.
6526 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
6527 Replace low_pc and high_pc with MACRO_AT_range.
6528 Replace name, low_pc and high_pc with MACRO_AT_func.
6529
9301ebe6
YQ
65302014-11-14 Yao Qi <yao@codesourcery.com>
6531
6532 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
6533 Replace name, low_pc and high_pc with MACRO_AT_func.
6534
f166b542
YQ
65352014-11-14 Yao Qi <yao@codesourcery.com>
6536
6537 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
6538 produce debug information.
6539 * gdb.dwarf2/implptr-optimized-out.S: Removed.
6540
0f6e71e3
YQ
65412014-11-14 Yao Qi <yao@codesourcery.com>
6542
6543 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
6544 object and get function length.
6545 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
6546 with MACRO_AT_func.
6547 (top-level): Replace gdb_compile and clean_restart with
6548 prepare_for_testing.
6549 * gdb.dwarf2/main.c (main): Add label main_label.
6550
876c4df9
YQ
65512014-11-14 Yao Qi <yao@codesourcery.com>
6552
6553 * lib/dwarf.exp (function_range): New procedure.
6554 (Dwarf::_handle_macro_at_func): New procedure.
6555 (Dwarf::_handle_macro_at_range): New procedure.
6556 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
6557
02ad9cf1
YQ
65582014-11-14 Yao Qi <yao@codesourcery.com>
6559
6560 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
6561 (_handle_attribute): New procedure.
6562
a59add0c
AA
65632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6564
6565 * gdb.ada/cond_lang/foo.c (callme): Add return type.
6566 * gdb.base/call-sc.c (zed): Likewise.
6567 * gdb.base/checkpoint.c (main): Likewise.
6568 * gdb.base/dump.c (main): Likewise.
6569 * gdb.base/gcore.c (main): Likewise.
6570 * gdb.base/huge.c (main): Likewise.
6571 * gdb.base/multi-forks.c (main): Likewise.
6572 * gdb.base/pr10179-a.c (main): Likewise.
6573 * gdb.base/savedregs.c (main): Likewise.
6574 * gdb.base/sigaltstack.c (main): Likewise.
6575 * gdb.base/siginfo.c (main): Likewise.
6576 * gdb.base/structs.c (zed): Likewise.
6577 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
6578 * gdb.mi/mi-syn-frame.c (main): Likewise.
6579 * gdb.mi/until.c (foo, main): Likewise.
6580 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
6581 * gdb.base/solib-weak.c (foo): Declare.
6582 * gdb.base/attach-twice.c: Include stdio.h.
6583 * gdb.base/weaklib1.c: Likewise.
6584 * gdb.base/weaklib2.c: Likewise.
6585 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
6586 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
6587 unistd.h.
6588 * gdb.base/attach-pie-misread.c: Include stdlib.h.
6589 * gdb.mi/mi-exit-code.c: Likewise.
6590 * gdb.base/break-interp-lib.c: Include string.h.
6591 * gdb.base/coremaker.c: Likewise.
6592 * gdb.base/testenv.c: Likewise.
6593 * gdb.python/py-finish-breakpoint.c: Likewise.
6594 * gdb.base/inferior-died.c: Include sys/wait.h.
6595 * gdb.base/fileio.c: Include time.h.
6596 * gdb.base/async-shell.c: Include unistd.h.
6597 * gdb.base/dprintf-non-stop.c: Likewise.
6598 * gdb.base/info-os.c: Likewise.
6599 * gdb.mi/mi-console.c: Likewise.
6600 * gdb.mi/watch-nonstop.c: Likewise.
6601 * gdb.python/py-events.c: Likewise.
6602 * gdb.base/async.c (baz): Move up before its invocation.
6603 * gdb.base/code_elim2.c (my_global_func): Likewise.
6604 * gdb.base/skip-solib-lib.c (multiply): Likewise.
6605 * gdb.base/advance.c (func2): Likewise.
6606
3b5d5997
AA
66072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6608
6609 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
6610 variant.
6611 * gdb.base/annota3.c: Likewise.
6612 * gdb.base/async.c: Likewise.
6613 * gdb.base/average.c: Likewise.
6614 * gdb.base/call-ar-st.c: Likewise.
6615 * gdb.base/call-rt-st.c: Likewise.
6616 * gdb.base/call-sc.c: Likewise.
6617 * gdb.base/call-strs.c: Likewise.
6618 * gdb.base/ending-run.c: Likewise.
6619 * gdb.base/execd-prog.c: Likewise.
6620 * gdb.base/exprs.c: Likewise.
6621 * gdb.base/foll-exec.c: Likewise.
6622 * gdb.base/foll-fork.c: Likewise.
6623 * gdb.base/foll-vfork.c: Likewise.
6624 * gdb.base/funcargs.c: Likewise.
6625 * gdb.base/gcore.c: Likewise.
6626 * gdb.base/jump.c: Likewise.
6627 * gdb.base/langs0.c: Likewise.
6628 * gdb.base/langs1.c: Likewise.
6629 * gdb.base/langs2.c: Likewise.
6630 * gdb.base/mips_pro.c: Likewise.
6631 * gdb.base/nodebug.c: Likewise.
6632 * gdb.base/opaque0.c: Likewise.
6633 * gdb.base/opaque1.c: Likewise.
6634 * gdb.base/recurse.c: Likewise.
6635 * gdb.base/run.c: Likewise.
6636 * gdb.base/scope0.c: Likewise.
6637 * gdb.base/scope1.c: Likewise.
6638 * gdb.base/setshow.c: Likewise.
6639 * gdb.base/setvar.c: Likewise.
6640 * gdb.base/shmain.c: Likewise.
6641 * gdb.base/shr1.c: Likewise.
6642 * gdb.base/shr2.c: Likewise.
6643 * gdb.base/sigall.c: Likewise.
6644 * gdb.base/signals.c: Likewise.
6645 * gdb.base/so-indr-cl.c: Likewise.
6646 * gdb.base/solib2.c: Likewise.
6647 * gdb.base/structs.c: Likewise.
6648 * gdb.base/sum.c: Likewise.
6649 * gdb.base/vforked-prog.c: Likewise.
6650 * gdb.base/watchpoint.c: Likewise.
6651 * gdb.reverse/shr2.c: Likewise.
6652 * gdb.reverse/until-reverse.c: Likewise.
6653 * gdb.reverse/ur1.c: Likewise.
6654 * gdb.reverse/watch-reverse.c: Likewise.
6655
066a77c5
AA
66562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6657
6658 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
6659 variant.
6660 * gdb.base/sepdebug.exp: Drop references to removed code.
6661
4f204ea5
AA
66622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6663
6664 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
6665 variant. Preserve original line numbering.
6666 * gdb.base/list1.c: Likewise.
6667
3b377a3a
AA
66682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6669
6670 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
6671 variant.
6672 * gdb.base/break1.c: Likewise.
6673 * gdb.base/break.exp: Drop references to removed code.
6674
e444df73
AA
66752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6676
6677 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
6678 variant.
6679
8008f2a7
AA
66802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6681
6682 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
6683
a5a06887
AA
66842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6685
6686 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
6687 logic into perform_all_tests() and invoke it with and without
6688 function header prototypes.
6689 (do_function_calls): Remove conditional XFAIL for PR 5318.
6690 (rerun_and_prepare): Remove duplicate code.
6691 (perform_all_tests): New. Main logic moved here.
6692
44dba9b9
AA
66932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6694
6695 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
6696 code guarded by #ifdef NO_PROTOTYPES.
6697 (t_double_many_args): Likewise.
6698 (DEF_FUNC_MANY_ARGS_1): Likewise.
6699 (DEF_FUNC_VALUES_1): Likewise.
6700 (t_structs_ldc): Renamed from t_structs_fc in conditional code
6701 guarded by #ifdef PROTOTYPES.
6702
d1fbcd56
AA
67032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6704
6705 * gdb.mi/mi-console.c: Add eye-catcher.
6706 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
6707 instead of literal line number.
6708
b0e59b8f
AA
67092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6710
6711 * gdb.base/shr2.c: Add eye-catcher.
6712 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
6713 line number.
6714
78f98cca
AA
67152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6716
6717 * gdb.base/jump.c: Add eye-catchers.
6718 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
6719 numbers.
6720
58fa2af0
AA
67212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6722
6723 * gdb.base/execd-prog.c: Add eye-catchers.
6724 * gdb.base/foll-exec.c: Likewise.
6725 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
6726 line numbers.
6727
04e5059b
AA
67282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6729
6730 * gdb.base/ending-run.c: Add eye-catchers.
6731 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
6732 literal line numbers.
6733
dbfdb174
AA
67342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6735
6736 * gdb.base/call-rt-st.c: Add eye-catchers.
6737 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
6738 literal line numbers.
6739
888a2ade
AA
67402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6741
6742 * gdb.base/call-ar-st.c: Add eye-catchers.
6743 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
6744 literal line numbers.
6745
6acc2dde
AA
67462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6747
6748 * gdb.base/average.c: Add eye-catchers.
6749 * gdb.base/sum.c: Likewise.
6750 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
6751 regexps dynamically.
6752
9ecfcd1d
AA
67532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6754
6755 * gdb.base/solib1.c: Add eye-catchers.
6756 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
6757 literal line numbers.
6758
78708b7c
PA
67592014-11-12 Pedro Alves <palves@redhat.com>
6760
6761 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
6762 leader has exited.
6763
af48d08f
PA
67642014-11-12 Pedro Alves <palves@redhat.com>
6765
6766 * gdb.arch/i386-bp_permanent.c: New file.
6767 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
6768 (srcfile): Set to i386-bp_permanent.c.
6769 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
6770 that stepi does not execute the 'leave' instruction, instead of
6771 testing it does execute.
6772 * gdb.base/bp-permanent.c: New file.
6773 * gdb.base/bp-permanent.exp: New file.
6774
af3768e9
DE
67752014-11-10 Doug Evans <xdje42@gmail.com>
6776
6777 PR symtab/17564
6778 * gdb.base/symtab-search-order.exp: New file.
6779 * gdb.base/symtab-search-order.c: New file.
6780 * gdb.base/symtab-search-order-1.c: New file.
6781 * gdb.base/symtab-search-order-shlib-1.c: New file.
6782
9de00a4a
PA
67832014-11-07 Pedro Alves <palves@redhat.com>
6784
6785 PR gdb/17511
6786 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
6787 i?86-*-linux*.
6788
e0f52461
SC
67892014-11-03 Siva Chandra Reddy <sivachandra@google.com>
6790
6791 PR c++/17494
6792 * gdb.cp/pr17494.cc: New file.
6793 * gdb.cp/pr17494.exp: New file.
6794
6ce8c980
YQ
67952014-11-02 Yao Qi <yao@codesourcery.com>
6796
6797 * gdb.python/python.exp: Get working directory and match the
6798 output of "set extended-prompt \\w " with it.
6799
02be9a71
DE
68002014-10-30 Doug Evans <dje@google.com>
6801
6802 * gdb.python/py-objfile.exp: Add tests for setting random attributes
6803 in objfiles.
6804 * gdb.python/py-progspace.exp: Add tests for setting random attributes
6805 in progspaces.
6806
3bdff46b
LM
68072014-10-30 Janis Johnson <janisjo@codesourcery.com>
6808
6809 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6810 * gdb.base/realname-expand.exp: Likewise.
6811 * gdb.linespec/macro-relative.exp: Likewise.
6812
ab917dfb
PA
68132014-10-29 Pedro Alves <palves@redhat.com>
6814
6815 PR gdb/17408
6816 * gdb.threads/schedlock.c (some_function): New function.
6817 (call_function): New global.
6818 (MAYBE_CALL_SOME_FUNCTION): New macro.
6819 (thread_function): Call it.
6820 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6821 and use it instead of a global counter. Adjust all callers.
6822 (get_current_thread): Use "find current thread" for test message
6823 here rather than having all callers pass down the same string.
6824 (goto_loop): New procedure, factored out from ...
6825 (my_continue): ... this.
6826 (step_ten_loops): Change parameter from test message to command to
6827 use. Adjust.
6828 (list_count): Delete global.
6829 (check_result): New procedure, factored out from duplicate top
6830 level code.
6831 (continue tests): Wrap in with_test_prefix.
6832 (test_step): New procedure, factored out from duplicate top level
6833 code.
6834 (top level): Test "step" in combination with all scheduler-locking
6835 modes. Test "next" in combination with all scheduler-locking
6836 modes, and in combination with stepping over a function call or
6837 not.
6838 * gdb.threads/next-bp-other-thread.c: New file.
6839 * gdb.threads/next-bp-other-thread.exp: New file.
6840
d3d4baed
PA
68412014-10-29 Pedro Alves <palves@redhat.com>
6842
6843 PR python/17372
6844 * gdb.python/python.exp: Test a multi-line command that spawns
6845 interactive Python.
6846 * gdb.base/multi-line-starts-subshell.exp: New file.
6847
563e8d85
YQ
68482014-10-29 Yao Qi <yao@codesourcery.com>
6849
6850 * gdb.base/fileio.exp: Make directories on host.
6851
0ea4d52e
YQ
68522014-10-29 Yao Qi <yao@codesourcery.com>
6853
6854 * gdb.base/fileio.c (test_write): Close the file.
6855
7f5ef605
PA
68562014-10-28 Pedro Alves <palves@redhat.com>
6857
6858 PR gdb/12623
6859 * gdb.base/sigstep.c (no_handler): New global.
6860 (main): If 'no_handler is true, set the signal handlers to
6861 SIG_IGN.
6862 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6863 with_sw_watch and no_handler parameters. Handle them.
6864 (top level) <stepping over handler when stopped at a breakpoint
6865 test>: Add a test axis for testing with a software watchpoint, and
6866 another for testing with the signal handler set to SIG_IGN.
6867 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6868 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6869
abbdbd03
PA
68702014-10-28 Pedro Alves <palves@redhat.com>
6871
6872 PR gdb/17511
6873 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6874 * gdb.base/sigstep.exp (other_handler_location): New global.
6875 (advance): Support stepping into the signal handler, and running
6876 commands while in the handler.
6877 (in_handler_map): New global.
6878 (top level): In the advance test, add combinations for getting
6879 into the handler with stepping commands, and for running commands
6880 in the handler. Add comment descripting the advancei tests.
6881
1df4399f
PA
68822014-10-28 Pedro Alves <palves@redhat.com>
6883
6884 * gdb.base/sigstep.exp: Use build_executable instead of
6885 prepare_for_testing.
6886 (top level): Move code that starts GDB, runs to main and creates a
6887 display to ...
6888 (restart): ... this new procedure.
6889 (top level): Move backtrace from signal handler test to ...
6890 (validate_backtrace): ... this new procedure.
6891 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6892 with_test_prefix. Always restart GDB.
6893 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6894 with_test_prefix. Always restart GDB. No need to delete
6895 breakpoints after the test.
6896 (test_skip_handler): Remove prefix parameter.
6897 (skip_over_handler, breakpoint_to_handler)
6898 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6899 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6900 restart GDB. No need to delete breakpoints after the test.
6901 (top level): Use foreach to call the test procedures with
6902 different commands.
6903
a5b6e449
PA
69042014-10-28 Pedro Alves <palves@redhat.com>
6905
6906 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6907 instead of GNATS numbers.
6908 * gdb.base/sigbpt.exp: Likewise.
6909 * gdb.base/siginfo.exp: Likewise.
6910 * gdb.base/sigstep.exp: Likewise.
6911
e5f8a7cc
PA
69122014-10-27 Pedro Alves <palves@redhat.com>
6913
6914 * gdb.base/sigstep.c (dummy): New global.
6915 (main): Issue a couple writes to the new global.
6916 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6917 procedures.
6918 (skip_over_handler): Use test_skip_handler.
6919 (top level): Call skip_over_handler for stepi and nexti too.
6920 (breakpoint_over_handler): Use test_skip_handler.
6921 (top level): Call breakpoint_over_handler for stepi and nexti too.
6922
763905a3
YQ
69232014-10-27 Yao Qi <yao@codesourcery.com>
6924
6925 * gdb.trace/tfile.c (adjust_function_address)
6926 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6927 function descriptor.
6928
6f259a23
DB
69292014-10-24 Don Breazeal <donb@codesourcery.com>
6930
6931 * gdb.base/foll-fork.exp (test_follow_fork,
6932 catch_fork_child_follow): Check for updated fork messages emitted
6933 from infrun.c.
6934 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6935 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6936 vfork_and_exec_child_follow_through_step): Check for updated vfork
6937 messages emitted from infrun.c.
6938
09dd9a69
PA
69392014-10-24 Pedro Alves <palves@redhat.com>
6940
6941 * gdb.base/corefile.exp: Remove references to ultrix.
6942 * gdb.base/interrupt.exp: Likewise.
6943 * gdb.base/whatis.exp: Likewise.
6944 * gdb.gdb/selftest.exp: Likewise.
6945 * gdb.threads/manythreads.exp: Likewise.
6946 * gdb.threads/print-threads.exp: Likewise.
6947 * gdb.threads/pthreads.exp:: Likewise.
6948 * gdb.threads/schedlock.exp: Likewise.
6949
3433cfa5
SC
69502014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6951
6952 * gdb.cp/non-trivial-retval.cc: Add a test case.
6953 * gdb.cp/non-trivial-retval.exp: Add a test.
6954
092f880b
YQ
69552014-10-20 Yao Qi <yao@codesourcery.com>
6956
6957 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6958 * gdb.python/py-objfile-script-gdb.py: New file.
6959 * gdb.python/py-objfile-script.exp: Update reference to
6960 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6961 of remote_download. Remove the dest file.
6962
acbdb7f3
YQ
69632014-10-20 Yao Qi <yao@codesourcery.com>
6964
6965 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6966 * gdb.base/step-line.exp: Likewise.
6967 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6968 * gdb.dwarf2/dw2-basic.exp: Likewise.
6969 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6970 * gdb.dwarf2/dw2-filename.exp: Likewise.
6971 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6972 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6973 * gdb.dwarf2/dw2-producer.exp: Likewise.
6974 * gdb.dwarf2/mac-fileno.exp: Likewise.
6975 * gdb.python/py-frame-args.exp: Likewise.
6976 * gdb.python/py-framefilter.exp: Likewise.
6977 * gdb.python/py-mi.exp: Likewise.
6978 * gdb.python/py-objfile-script.exp: Likewise
6979 * gdb.python/py-pp-integral.exp: Likewise.
6980 * gdb.python/py-pp-re-notag.exp: Likewise.
6981 * gdb.python/py-prettyprint.exp: Likewise.
6982 * gdb.python/py-section-script.exp: Likewise.
6983 * gdb.python/py-typeprint.exp: Likewise.
6984 * gdb.python/py-xmethods.exp: Likewise.
6985 * gdb.stabs/weird.exp: Likewise.
6986 * gdb.xml/tdesc-regs.exp: Likewise.
6987
bd286a29
KCY
69882014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6989
6990 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6991 (out_cu): Use addr_len for the size of addresses.
6992 (out_line): Likewise. Size DW_LNE_set_address instruction
6993 according to addr_len.
6994 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6995 (FUNC): Add START_INSNS to definition.
6996
673dc4a0
YQ
69972014-10-18 Yao Qi <yao@codesourcery.com>
6998
6999 * gdb.base/argv0-symlink.exp: Check argv[0] value if
7000 gdb_has_argv0 return true.
7001 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
7002 check [target_info exists noargs], check [gdb_has_argv0]
7003 instead.
7004 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7005 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
7006 procedures.
7007
4ffbba72
DE
70082014-10-17 Doug Evans <dje@google.com>
7009
7010 * gdb.python/py-events.exp: Update expected output for clear_objfiles
7011 event.
7012 * gdb.python/py-events.py: Add clear_objfiles event.
7013
d096d8c1
DE
70142014-10-17 Doug Evans <dje@google.com>
7015
7016 * gdb.python/py-objfile.exp: Test progspace attribute.
7017
a80db015
LM
70182014-10-17 Luis Machado <lgustavo@codesourcery.com>
7019
7020 * gdb.guile/scm-breakpoint.exp: Do not assume any
7021 directory separators when matching source file paths.
7022 * gdb.python/py-breakpoint.exp: Likewise.
7023 * gdb.reverse/break-precsave.exp: Likewise.
7024 * gdb.reverse/break-reverse.exp: Likewise.
7025 * gdb.reverse/consecutive-precsave.exp: Likewise.
7026 * gdb.reverse/finish-precsave.exp: Likewise.
7027 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7028 * gdb.reverse/finish-reverse.exp: Likewise.
7029 * gdb.reverse/i386-precsave.exp: Likewise.
7030 * gdb.reverse/i387-env-reverse.exp: Likewise.
7031 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7032 * gdb.reverse/machinestate-precsave.exp: Likewise.
7033 * gdb.reverse/machinestate.exp: Likewise.
7034 * gdb.reverse/sigall-precsave.exp: Likewise.
7035 * gdb.reverse/solib-precsave.exp: Likewise.
7036 * gdb.reverse/step-precsave.exp: Likewise.
7037 * gdb.reverse/until-precsave.exp: Likewise.
7038 * gdb.reverse/watch-precsave.exp: Likewise.
7039 * gdb.reverse/watch-reverse.exp: Likewise.
7040
b22089ab
YQ
70412014-10-17 Yao Qi <yao@codesourcery.com>
7042
7043 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
7044 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
7045
6c4486e6
PA
70462014-10-17 Pedro Alves <palves@redhat.com>
7047
7048 PR gdb/17471
7049 * gdb.base/bg-execution-repeat.c: New file.
7050 * gdb.base/bg-execution-repeat.exp: New file.
7051
0ff33695
PA
70522014-10-17 Pedro Alves <palves@redhat.com>
7053
7054 PR gdb/17300
7055 * gdb.base/continue-all-already-running.c: New file.
7056 * gdb.base/continue-all-already-running.exp: New file.
7057
6fdebc3d
PA
70582014-10-17 Pedro Alves <palves@redhat.com>
7059
7060 PR gdb/17472
7061 * gdb.base/annota-input-while-running.c: New file.
7062 * gdb.base/annota-input-while-running.exp: New file.
7063
32a8097b
PA
70642014-10-17 Pedro Alves <palves@redhat.com>
7065
7066 * gdb.base/callfuncs.exp: emove references to osf.
7067 * gdb.base/sigall.exp: Likewise.
7068 * gdb.gdb/selftest.exp: Likewise.
7069 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7070 * gdb.mi/non-stop.c: Likewise.
7071 * gdb.mi/pthreads.c: Likewise.
7072 * gdb.reverse/sigall-precsave.exp: Likewise.
7073 * gdb.reverse/sigall-reverse.exp: Likewise.
7074 * gdb.threads/pthreads.c: Likewise.
7075 * gdb.threads/pthreads.exp: Likewise.
7076
7a3517ff
YQ
70772014-10-17 Yao Qi <yao@codesourcery.com>
7078
7079 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
7080 check 'target_info exists noargs'.
7081 (test_command_prompt_position): Likewise.
7082 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
7083 Remove "set args".
7084 (progvar_simple_while_test): Likewise.
7085 (progvar_complex_if_while_test): Likewise.
7086 (if_while_breakpoint_command_test): Likewise.
7087 (infrun_breakpoint_command_test): Likewise.
7088 (breakpoint_command_test): Likewise.
7089 (watchpoint_command_test): Likewise.
7090 (bp_deleted_in_command_test): Likewise.
7091 (temporary_breakpoint_commands): Likewise.
7092
bb99c472
YQ
70932014-10-16 Yao Qi <yao@codesourcery.com>
7094
7095 * gdb.base/remotetimeout.exp: Remove noargs checking.
7096
7c16b83e
PA
70972014-10-15 Pedro Alves <palves@redhat.com>
7098
7099 PR breakpoints/9649
7100 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
7101 * gdb.base/breakpoint-in-ro-region.exp
7102 (probe_target_hardware_step): New procedure.
7103 (top level): Probe hardware stepping and hardware breakpoint
7104 support. Test stepping through a read-only region, with both
7105 "breakpoint auto-hw" on and off and both "always-inserted" on and
7106 off.
7107
35a49624
IB
71082014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
7109
7110 * gdb.dlang/demangle.exp: Update for demangling changes.
7111
2d1c107c
SC
71122014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7113
7114 * gdb.cp/non-trivial-retval.cc: Add new test cases.
7115 * gdb.cp/non-trivial-retval.exp: Add new tests.
7116
778811d5
SC
71172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
7118
7119 PR c++/13403
7120 PR c++/15154
7121 * gdb.cp/non-trivial-retval.cc: New file.
7122 * gdb.cp/non-trivial-retval.exp: New file.
7123
10c5f0a8
YQ
71242014-10-15 Yao Qi <yao@codesourcery.com>
7125
7126 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
7127 remote host.
7128
65d7b369
YQ
71292014-10-15 Yao Qi <yao@codesourcery.com>
7130
7131 * gdb.python/py-symbol.exp: Match file base name if host is
7132 remote, otherwise match file name with dir name.
7133 * gdb.python/py-symtab.exp: Likewise.
7134 * gdb.python/python.exp: Likewise.
7135
46dc1394
YQ
71362014-10-15 Yao Qi <yao@codesourcery.com>
7137
7138 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
7139 pattern.
7140 * gdb.python/py-symtab.exp: Likewise.
7141 * gdb.python/python.exp: Remove trailing ".*". Fix typo
7142 locationn.
7143
c40cc657
JB
71442014-10-14 Joel Brobecker <brobecker@adacore.com>
7145
7146 * gdb.ada/addr_arith: New testcase.
7147
2abf49e1
MR
71482014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
7149
7150 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
7151 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
7152 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
7153 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
7154
f7088df3
SDJ
71552014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
7156
7157 * gdb.arch/stap-eval-lang-ada.S: Likewise.
7158 * gdb.arch/stap-eval-lang-ada.c: Likewise.
7159 * gdb.arch/stap-eval-lang-ada.exp: New file.
7160
4dc06805
YQ
71612014-10-14 Yao Qi <yao@codesourcery.com>
7162
7163 * gdb.mi/mi-var-child.c (nothing1): New function.
7164 (nothing2): New function.
7165 (do_children_tests): Set function pointers by nothing1 and
7166 nothing2.
7167 * gdb.mi/mi-var-child.exp: Step over new added statements.
7168 Update test to match the new output.
7169 * gdb.mi/var-cmd.c (nothing1): New function.
7170 (nothing2): New function.
7171 (do_children_tests): Set function pointers by nothing1 and
7172 nothing2.
7173 * gdb.mi/mi-var-display.exp: Update test to match output.
7174 Step to the line specified by $line_dct_nothing.
7175 Increase the number of lines to step.
7176
46a93de2
YQ
71772014-10-14 Yao Qi <yao@codesourcery.com>
7178
7179 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
7180 tests.
7181 * gdb.mi/mi2-var-child.exp: Likewise.
7182
14ea52ee
DE
71832014-10-13 Doug Evans <dje@google.com>
7184
7185 * gdb.python/py-objfile.exp: Change name of file name test.
7186
e5c6e92b
DE
71872014-10-13 Doug Evans <dje@google.com>
7188
7189 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
7190 from the start of the CU.
7191
c780cc2f
JK
71922014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7193 Yao Qi <yao@codesourcery.com>
7194
7195 Fix "save breakpoints" for "catch" command.
7196 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
7197 Remove -nonewline. Match also the added "main" line.
7198
99894e11
JK
71992014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7200
7201 Fix "save breakpoints" for "disable $bpnum" command.
7202 * gdb.base/save-bp.c (main): Add label.
7203 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
7204
6e1ac5a3
JK
72052014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7206
7207 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
7208
754dd2b0
YQ
72092014-10-11 Yao Qi <yao@codesourcery.com>
7210
7211 * gdb.server/server-kill.exp: Execute command
7212 "set remote trace-status-packet on" before "tstatus".
7213
f90183d7
YQ
72142014-10-11 Yao Qi <yao@codesourcery.com>
7215
7216 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
7217 (main): Call getppid.
7218 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
7219 and continue to it. Read variable "server_pid".
7220
bf40a607
YQ
72212014-10-11 Yao Qi <yao@codesourcery.com>
7222
7223 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
7224
052ca370
YQ
72252014-10-11 Yao Qi <yao@codesourcery.com>
7226
7227 * gdb.threads/thread-find.exp: Don't execute command
7228 "info threads".
7229 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
7230 * gdb.threads/linux-dp.exp: Don't check the condition
7231 $threads_created equals to zero.
7232
3831839c
PA
72332014-10-10 Pedro Alves <palves@redhat.com>
7234
7235 * gdb.base/bigcore.exp: Remove references to IRIX.
7236 * gdb.base/funcargs.exp: Likewise.
7237 * gdb.base/interrupt.exp: Likewise.
7238 * gdb.base/mips_pro.exp: Likewise.
7239 * gdb.base/nodebug.exp: Likewise.
7240 * gdb.base/setvar.exp: Likewise.
7241 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
7242
8b9a549d
PA
72432014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7244 Pedro Alves <palves@redhat.com>
7245
7246 PR symtab/14466
7247 * gdb.base/vdso-warning.c: New file.
7248 * gdb.base/vdso-warning.exp: New file.
7249
d48ba5e8
DE
72502014-10-02 Doug Evans <dje@google.com>
7251
7252 * gdb.base/structs.c (main): Don't run forever.
7253
2278c276
PA
72542014-10-02 Pedro Alves <palves@redhat.com>
7255
7256 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
7257 (top level) <stop threads 1, stop threads 2>: Use it.
7258
b57bacec
PA
72592014-10-02 Pedro Alves <palves@redhat.com>
7260
7261 * gdb.threads/break-while-running.exp (test): Add new
7262 'update_thread_list' argument. Skip "info threads" if false.
7263 (top level): Add new 'update_thread_list' axis.
7264
13fd3ff3
PA
72652014-10-02 Pedro Alves <palves@redhat.com>
7266
7267 PR breakpoints/17431
7268 * gdb.base/execl-update-breakpoints.c: New file.
7269 * gdb.base/execl-update-breakpoints.exp: New file.
7270
0fec99e8
PA
72712014-10-01 Pedro Alves <palves@redhat.com>
7272
7273 * gdb.base/breakpoint-in-ro-region.c: New file.
7274 * gdb.base/breakpoint-in-ro-region.exp: New file.
7275
2ddf4301
SM
72762014-10-01 Simon Marchi <simon.marchi@ericsson.com>
7277
7278 * gdb.mi/mi-exit-code.exp: New file.
7279 * gdb.mi/mi-exit-code.c: New file.
7280
6a5f3f43
YQ
72812014-09-30 Yao Qi <yao@codesourcery.com>
7282
7283 * lib/prelink-support.exp (build_executable_own_libs): Error if
7284 the target isn't native.
7285
345bcc73
YQ
72862014-09-30 Yao Qi <yao@codesourcery.com>
7287
7288 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
7289 false.
7290
a25a5a45
PA
72912014-09-22 Pedro Alves <palves@redhat.com>
7292
7293 * gdb.threads/break-while-running.exp: New file.
7294 * gdb.threads/break-while-running.c: New file.
7295
00ba3162
YQ
72962014-09-19 Yao Qi <yao@codesourcery.com>
7297
7298 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
7299 Invoke test. Restart GDB with --readnow and invoke test again.
7300
c3b7b696
YQ
73012014-09-19 Yao Qi <yao@codesourcery.com>
7302
7303 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
7304 proc set_breakpoint_on_gcd_function. Invoke
7305 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
7306 invoke set_breakpoint_on_gcd_function again.
7307
2b4fd423
DE
73082014-09-18 Doug Evans <dje@google.com>
7309
7310 * gdb.dwarf2/symtab-producer.exp: New file.
7311
a5947601
SDJ
73122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7313
7314 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
7315 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
7316 * gdb.base/global-var-nested-by-dso.c: Likewise.
7317 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7318
91c19059
SDJ
73192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
7320 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.base/watch-bitfields.exp: Pass string other than test file
7323 name to prepare_for_testing.
7324 (watch): New procedure.
7325 (expect_watchpoint): Use with_test_prefix.
7326 (top level): Factor out tests to ...
7327 (test_watch_location, test_regular_watch): ... these new
7328 procedures, and use with_test_prefix and gdb_continue_to_end.
7329
bb9d5f81
PP
73302014-09-16 Patrick Palka <patrick@parcs.ath.cx>
7331
7332 PR breakpoints/12526
7333 * gdb.base/watch-bitfields.exp: New file.
7334 * gdb.base/watch-bitfields.c: New file.
7335
635856f5
PA
73362014-09-16 Pedro Alves <palves@redhat.com>
7337
7338 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
7339 software and hardware addresses, not software address against
7340 itself.
7341
7280ceea
PA
73422014-09-16 Pedro Alves <palves@redhat.com>
7343
7344 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
7345 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
7346
428b16bd
PA
73472014-09-16 Pedro Alves <palves@redhat.com>
7348
7349 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
7350 files.
7351 * gdb.base/a2-run.exp: Remove all code guarded by istarget
7352 "*-*-vxworks*" throughout.
7353 * gdb.base/break.exp: Likewise.
7354 * gdb.base/default.exp: Likewise.
7355 * gdb.base/scope.exp: Likewise.
7356 * gdb.base/sepdebug.exp: Likewise.
7357 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
7358 throughout.
7359 * gdb.base/run.c: Likewise.
7360 * gdb.base/sepdebug.c: Likewise.
7361 * gdb.hp/gdb.aCC/run.c: Likewise.
7362 * gdb.reverse/until-reverse.c: Likewise.
7363 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
7364
666d413c
YQ
73652014-09-16 Yao Qi <yao@codesourcery.com>
7366
7367 * boards/local-remote-host-native.exp: New file.
7368
57cbd724
DE
73692014-09-14 Doug Evans <xdje42@gmail.com>
7370
7371 * gdb.threads/queue-signal.c (thread_count): New variable.
7372 (thread_count_mutex, thread_count_condvar): New variables.
7373 (incr_thread_count, wait_all_threads_running): New functions.
7374 (main): Wait for all threads to be in their thread functions.
7375
81219e53
DE
73762014-09-13 Doug Evans <xdje42@gmail.com>
7377
7378 * gdb.threads/queue-signal.c: New file.
7379 * gdb.threads/queue-signal.exp: New file.
7380
3714cea7
DE
73812014-09-13 Doug Evans <xdje42@gmail.com>
7382
7383 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
7384 be consistent with what default_gdb_init uses.
7385 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
7386 the plain text of the prompt. Add some logging printfs.
7387 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
7388
fa43b1d7
PA
73892014-09-12 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
7392 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
7393 * gdb.arch/i386-size-overlap.exp: Likewise.
7394 * gdb.arch/i386-size.exp: Likewise.
7395 * gdb.arch/i386-unwind.exp: Likewise.
7396 * gdb.base/a2-run.exp: Likewise.
7397 * gdb.base/break.exp: Likewise.
7398 * gdb.base/charset.exp: Likewise.
7399 * gdb.base/chng-syms.exp: Likewise.
7400 * gdb.base/commands.exp: Likewise.
7401 * gdb.base/dbx.exp: Likewise.
7402 * gdb.base/find.exp: Likewise.
7403 * gdb.base/funcargs.exp: Likewise.
7404 * gdb.base/jit-simple.exp: Likewise.
7405 * gdb.base/reread.exp: Likewise.
7406 * gdb.base/sepdebug.exp: Likewise.
7407 * gdb.base/step-bt.exp: Likewise.
7408 * gdb.cp/mb-inline.exp: Likewise.
7409 * gdb.cp/mb-templates.exp: Likewise.
7410 * gdb.objc/basicclass.exp: Likewise.
7411 * gdb.threads/killed.exp: Likewise.
7412
9d9bf2df
EBM
74132014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7414
7415 PR tdep/17379
7416 * gdb.arch/powerpc-stackless.S: New file.
7417 * gdb.arch/powerpc-stackless.exp: New file.
7418
1cf2f1b0
JK
74192014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7420
7421 * gdb.base/attach.c: Include unistd.h.
7422 (main): Call alarm. Add label postloop.
7423 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
7424 gdb_breakpoint, gdb_continue_to_breakpoint.
7425 (test_command_line_attach_run): Kill ${testpid} in one exit path.
7426
98880d46
PA
74272014-09-11 Pedro Alves <palves@redhat.com>
7428
7429 PR gdb/17347
7430 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
7431 * gdb.base/attach.exp (test_command_line_attach_run): New
7432 procedure.
7433 (top level): Call it.
7434
4c92ff2c
PA
74352014-09-11 Pedro Alves <palves@redhat.com>
7436
7437 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
7438 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
7439 (do_command_attach_tests): Use spawn_wait_for_attach.
7440 * gdb.base/solib-overlap.exp: Likewise.
7441 * gdb.multi/multi-attach.exp: Likewise.
7442 * gdb.python/py-prompt.exp: Likewise.
7443 * gdb.python/py-sync-interp.exp: Likewise.
7444 * gdb.server/ext-attach.exp: Likewise.
7445
3adc1a7d
GKB
74462014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
7447
7448 * gdb.fortran/array-element.exp: Remove unexpected "continue"
7449 command in testcase. Simplify testcase.
7450
96334934
JB
74512014-09-10 Joel Brobecker <brobecker@adacore.com>
7452
7453 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
7454
eb479039
JB
74552014-09-10 Joel Brobecker <brobecker@adacore.com>
7456
7457 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
7458
deede10c
JB
74592014-09-10 Joel Brobecker <brobecker@adacore.com>
7460
7461 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
7462
7828a5f5
JB
74632014-09-10 Joel Brobecker <brobecker@adacore.com>
7464
7465 * gdb.dwarf2/dynarr-ptr.c: New file.
7466 * gdb.dwarf2/dynarr-ptr.exp: New file.
7467
33aeebcf
MR
74682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7469
7470 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
7471 of 30 rather than hardcoding 120 for a slow test case. Take the
7472 `gdb,timeout' target setting into account for this calculation.
7473 Don't extend the timeout for the test cases that don't need it.
7474
7b415901
MR
74752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7476
7477 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
7478 a factor of 2 for a slow test case. Take the `gdb,timeout'
7479 target setting into account for this calculation.
7480 * gdb.reverse/until-precsave.exp: Increase the timeout by
7481 a factor of 15 and 3 respectively rather than adding 120
7482 for a pair of slow test cases. Take the `gdb,timeout'
7483 target setting into account for this calculation.
7484
4a40f85a
MR
74852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7486
7487 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
7488 timeout, don't pass one down to gdb_expect.
7489 (gdb_expect): Rework timeout selection.
7490
09635af7
MR
74912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7492
7493 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
7494 exception on timeout.
7495 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
7496 (gdbserver_start_extended): Catch any `gdbserver_start' error
7497 exceptions.
7498 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
7499 * lib/mi-support.exp (mi_gdb_target_load): Catch any
7500 `gdbserver_gdb_load' error exceptions.
7501
2bdd10b7
MR
75022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7503
7504 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
7505 120 on waiting for the TCP socket to open.
7506
316935f0
DE
75072014-09-09 Doug Evans <xdje42@gmail.com>
7508
7509 * gdb.base/default.exp (show_conv_list): Add _caller_is,
7510 _caller_matches, _any_caller_is, _any_caller_matches.
7511
83740597
DE
75122014-09-09 Doug Evans <xdje42@gmail.com>
7513
7514 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
7515
4c122fc3
YQ
75162014-09-09 Yao Qi <yao@codesourcery.com>
7517
7518 * gdb.mi/mi-var-display.exp: Set print symbol off.
7519
a9f116cb
GKB
75202014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
7521
7522 PR gdb/17035
7523 * gdb.base/commands.exp: Add tests to verify user-defined
7524 commands with empty bodies.
7525 * gdb.python/py-cmd.exp: Test that we don't show user-defined
7526 python commands in `show user command`.
7527 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
7528 scheme commands in `show user command`.
7529
c75bd3a2
JK
75302014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7531
7532 PR python/17355
7533 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
7534 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
7535 * gdb.python/py-framefilter-invalidarg.exp: New file.
7536 * gdb.python/py-framefilter-invalidarg.py: New file.
7537
faa42425
DE
75382014-09-06 Doug Evans <xdje42@gmail.com>
7539
7540 PR 15276
7541 * gdb.python/py-caller-is.c: New file.
7542 * gdb.python/py-caller-is.exp: New file.
7543
474ca4f6
SDJ
75442014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
7545
7546 PR gdb/17235
7547 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
7548 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
7549
eb0b0463
SDJ
75502014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
7551
7552 PR fortran/17237
7553 * gdb.fortran/print-formatted.exp: New file.
7554 * gdb.fortran/print-formatted.f90: Likewise.
7555
5f3b99cf
SS
75562014-09-03 Sasha Smundak <asmundak@google.com>
7557
7558 * gdb.python/py-frame.exp: Test Frame.read_register.
7559
7d793aa9
SDJ
75602014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
7561
7562 PR python/16699
7563 * gdb.python/py-completion.exp: New file.
7564 * gdb.python/py-completion.py: Likewise.
7565
fb0576e9
DE
75662014-08-28 Doug Evans <dje@google.com>
7567
7568 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
7569 eax,etc. are live with values set by gdb and thus the compiler can't
7570 use them.
7571 * gdb.arch/i386-pseudo.c (main): Ditto.
7572
ee92b0dd
DE
75732014-08-27 Doug Evans <dje@google.com>
7574
7575 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
7576
6649db35
DE
75772014-08-25 Doug Evans <dje@google.com>
7578
7579 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
7580 (main): Ditto.
7581
564b7600
DE
75822014-08-25 Doug Evans <dje@google.com>
7583
7584 * gdb.threads/thread-execl.exp: #include <stdio.h>.
7585
3881fb67
YQ
75862014-08-24 Yao Qi <yao@codesourcery.com>
7587
7588 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
7589 symbol off.
7590 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
7591
a05a36a5
DE
75922014-08-22 Doug Evans <dje@google.com>
7593
7594 PR 17276
7595 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
7596 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
7597 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
7598
7c343b48
YQ
75992014-08-22 Yao Qi <yao@codesourcery.com>
7600
7601 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
7602 * gdb.python/py-finish-breakpoint2.exp: Likewise.
7603 * gdb.python/python.exp: Likewise. Use .py file on the host
7604 instead of the build.
7605
22fd09ae
JK
76062014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7607
7608 * gdb.threads/gcore-stale-thread.c: New file.
7609 * gdb.threads/gcore-stale-thread.exp: New file.
7610
a8454a7c
PA
76112014-08-21 Pedro Alves <palves@redhat.com>
7612
7613 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
7614 * gdb.base/gcore-relro-pie.exp: Likewise.
7615 * gdb.base/gcore-relro.exp: Likewise.
7616 * gdb.base/gcore.exp: Likewise.
7617 * gdb.base/print-symbol-loading.exp: Likewise.
7618 * gdb.threads/gcore-thread.exp: Likewise.
7619 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
7620
2a31c623
PA
76212014-08-20 Pedro Alves <palves@redhat.com>
7622 Jan Kratochvil <jan.kratochvil@redhat.com>
7623
7624 * Makefile.in (EXTRA_RULES, CC): New variables, get from
7625 configure.
7626 (EXPECT): Handle READ1 being set.
7627 (all): Depend on EXTRA_RULES.
7628 (check-read1, expect-read1, read1.so, read1): New rules.
7629 * README (Testsuite Parameters): Document the READ1 make variable.
7630 (Race detection): New section.
7631 * configure: Regenerate.
7632 * configure.ac: If build==host==target, and running under a
7633 GNU/glibc system, add read1 to the extra Makefile rules.
7634 (EXTRA_RULES): AC_SUBST it.
7635 * lib/read1.c: New file.
7636
d36430db
JB
76372014-08-20 Joel Brobecker <brobecker@adacore.com>
7638
7639 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
7640 the handling of variables declared as a typedef to an array
7641 which a DW_AT_data_location attribute.
7642
9a0dc9e3
PA
76432014-08-19 Andrew Burgess <aburgess@broadcom.com>
7644 Pedro Alves <palves@redhat.com>
7645
7646 PR symtab/14604
7647 PR symtab/14605
7648 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
7649 gdb_test.
7650
0718a8da
PA
76512014-08-19 Pedro Alves <palves@redhat.com>
7652
7653 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
7654
13b448cd
YQ
76552014-08-19 Yao Qi <yao@codesourcery.com>
7656
7657 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
7658 right line.
7659
1cbf5077
DB
76602014-08-18 David Blaikie <dblaikie@gmail.com>
7661
7662 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
7663
bf0fae19
JB
76642014-08-18 Joel Brobecker <brobecker@adacore.com>
7665
7666 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
7667 attribute in array range.
7668
3c8c5dcc
JB
76692014-08-18 Joel Brobecker <brobecker@adacore.com>
7670
7671 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
7672
e66d4446
SC
76732014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7674
7675 PR c++/17132
7676 * gdb.cp/pr17132.cc: New file.
7677 * gdb.cp/pr17132.exp: New file.
7678
940df408
SC
76792014-08-15 Siva Chandra Reddy <sivachandra@google.com>
7680
7681 * gdb.python/py-xmethods.py (A_getarrayind)
7682 (E_method_char_worker.__call__, E_method_int_worker.__call__):
7683 Use 'print' with function call syntax.
7684 (E_method_matcher.match): Fix tab vs space indentation mixup.
7685
ebcc6c3a
YQ
76862014-08-15 Yao Qi <yao@codesourcery.com>
7687
7688 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
7689 false.
7690
775e0f04
YQ
76912014-08-15 Yao Qi <yao@codesourcery.com>
7692
7693 * gdb.cp/casts.exp: Set print symbol off.
7694 * gdb.cp/class2.exp: Likewise.
7695 * gdb.cp/overload.exp: Likewise.
7696 * gdb.cp/templates.exp: Likewise.
7697
d769e349
DE
76982014-08-11 Doug Evans <dje@google.com>
7699
7700 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7701 (test_load_shlib): Update.
7702
20c6f1e1
YQ
77032014-08-09 Yao Qi <yao@codesourcery.com>
7704
7705 * gdb.base/display.exp: Invoke is_address_zero_readable.
7706 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
7707 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
7708 * gdb.base/hbreak-unmapped.exp: Return if
7709 is_address_zero_readable returns true.
7710 * gdb.base/signest.exp: Likewise.
7711 * gdb.base/signull.exp: Likewise.
7712 * gdb.base/sigbpt.exp: Likewise.
7713 * gdb.guile/scm-disasm.exp: Do the test if
7714 is_address_zero_readable returns false.
7715 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
7716 * gdb.python/py-arch.exp: Likewise.
7717 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
7718 * lib/gdb.exp (is_address_zero_readable): New proc.
7719
5792e8e3
YQ
77202014-08-09 Yao Qi <yao@codesourcery.com>
7721
7722 PR testsuite/13443
7723 * gdb.mi/mi-var-display.exp: Make test messages unique.
7724
3cecbbbe
TT
77252014-08-04 Tom Tromey <tromey@redhat.com>
7726
7727 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
7728 target 0".
7729
00b51ff5
TT
77302014-08-04 Tom Tromey <tromey@redhat.com>
7731
7732 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
7733 "target_resume".
7734
6908c509
JB
77352014-08-01 Joel Brobecker <brobecker@adacore.com>
7736
7737 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
7738 inner_vla_struct_object_size.
7739 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
7740 as xfail.
7741
cc6563d2
PA
77422014-07-30 Pedro Alves <palves@redhat.com>
7743
7744 * gdb.threads/signal-command-handle-nopass.exp (test): Add
7745 comment.
7746
7e09a223
YQ
77472014-07-29 Yao Qi <yao@codesourcery.com>
7748
7749 PR gdb/17206
7750 * gdb.base/until-nodebug.exp: New.
7751
7ebdbe92
DE
77522014-07-28 Doug Evans <xdje42@gmail.com>
7753
7754 PR guile/17203
7755 * gdb.guile/scm-parameter.exp: Add tests for trying to create
7756 previously existing parameter, and previously ambiguously spelled
7757 parameter.
7758
fdb1adc6
WN
77592014-07-28 Will Newton <will.newton@linaro.org>
7760
7761 * gdb.base/varargs.exp: Remove KFAILs for ARM.
7762
186fcde0
DE
77632014-07-26 Ludovic Courtès <ludo@gnu.org>
7764 Doug Evans <xdje42@gmail.com>
7765
7766 PR guile/17146
7767 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
7768
70509625
PA
77692014-07-25 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.threads/signal-command-handle-nopass.c: New file.
7772 * gdb.threads/signal-command-handle-nopass.exp: New file.
7773 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
7774 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
7775 * gdb.threads/signal-delivered-right-thread.c: New file.
7776 * gdb.threads/signal-delivered-right-thread.exp: New file.
7777
c3f814a1
PA
77782014-07-25 Pedro Alves <palves@redhat.com>
7779
7780 * gdb.base/double-prompt-target-event-error.exp
7781 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
7782 match.
7783 (cancel_pagination_in_target_event): Rework double prompt
7784 detection.
7785 * gdb.base/paginate-after-ctrl-c-running.exp
7786 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
7787 <return>' match.
7788 * gdb.base/paginate-bg-execution.exp
7789 (test_bg_execution_pagination_return)
7790 (test_bg_execution_pagination_cancel): Remove '-notransfer
7791 <return>' matches.
7792 * gdb.base/paginate-execution-startup.exp
7793 (test_fg_execution_pagination_return)
7794 (test_fg_execution_pagination_cancel): Remove '-notransfer
7795 <return>' matches.
7796 * gdb.base/paginate-inferior-exit.exp
7797 (test_paginate_inferior_exited): Remove '-notransfer <return>'
7798 match.
7799 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
7800 * lib/gdb.exp (pagination_prompt): Run text through
7801 string_to_regexp.
7802 (gdb_test_multiple): Match $pagination_prompt instead of
7803 "<return>".
7804 (string_to_regexp): Move to lib/gdb-utils.exp.
7805
e214cf6c
JK
78062014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7807
7808 * gdb.arch/amd64-entry-value-paramref.S: New file.
7809 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7810 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7811 * gdb.arch/amd64-optimout-repeat.S: New file.
7812 * gdb.arch/amd64-optimout-repeat.c: New file.
7813 * gdb.arch/amd64-optimout-repeat.exp: New file.
7814
17d0c5c8
JK
78152014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7816
7817 PR gdb/17170
7818 * gdb.base/statistics.exp: New file.
7819
b8b8facf
DE
78202014-07-17 Doug Evans <dje@google.com>
7821
74b49205 7822 PR gdb/17170
b8b8facf
DE
7823 * gdb.base/maint.exp: Update testing of per-command stats.
7824
1b5d0ab3
PA
78252014-07-16 Pedro Alves <palves@redhat.com>
7826
7827 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7828 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7829 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7830 (tfile_write_buf): New functions.
7831 (add_memory_block): Rewrite using the above.
7832 (adjust_function_address): New function.
7833 (FUNCTION_ADDRESS): New macro.
7834 (write_basic_trace_file): Remove short_x local, and use
7835 tfile_write_16. Change type of func_addr local to unsigned long
7836 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7837 here. Cast argument of add_memory_block to char pointer.
7838 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7839 (main): Remove parameters.
7840 * gdb.trace/tfile.exp: Remove nowarnings.
7841
4d974e88
SM
78422014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7843
7844 * gdb.base/debug-expr.exp: Test string evaluation with
7845 "debug expression" on.
7846
41e99568
PA
78472014-07-15 Pedro Alves <palves@redhat.com>
7848
7849 * gdb.base/reread.exp: Use clean_restart.
7850
487d9753
PL
78512014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7852
7853 * gdb.arch/avr-flash-qualifer.c: New.
7854 * gdb.arch/avr-flash-qualifer.exp: New.
7855
cc1c52ad
PA
78562014-07-14 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7859 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7860
1e973570
PA
78612014-07-14 Pedro Alves <palves@redhat.com>
7862
7863 * gdb.base/double-prompt-target-event-error.c: New file.
7864 * gdb.base/double-prompt-target-event-error.exp: New file.
7865
93d6eb10
PA
78662014-07-14 Pedro Alves <palves@redhat.com>
7867
7868 PR gdb/17072
7869 * gdb.base/paginate-inferior-exit.c: New file.
7870 * gdb.base/paginate-inferior-exit.exp: New file.
7871
0017922d
PA
78722014-07-14 Pedro Alves <palves@redhat.com>
7873
7874 PR gdb/17072
7875 * gdb.base/paginate-bg-execution.c: New file.
7876 * gdb.base/paginate-bg-execution.exp: New file.
7877
94696ad3
PA
78782014-07-14 Pedro Alves <palves@redhat.com>
7879
7880 PR gdb/17072
7881 * gdb.base/paginate-execution-startup.c: New file.
7882 * gdb.base/paginate-execution-startup.exp: New file.
7883 * lib/gdb.exp (pagination_prompt): New global.
7884 (default_gdb_spawn): New procedure, factored out from
7885 default_gdb_spawn.
7886 (default_gdb_start): Adjust to call default_gdb_spawn.
7887 (gdb_spawn): New procedure.
7888
bd293940
PA
78892014-07-14 Pedro Alves <palves@redhat.com>
7890
7891 * lib/gdb.exp (gdb_assert): New procedure.
7892 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7893
c933f875
PA
78942014-07-14 Pedro Alves <palves@redhat.com>
7895
7896 * gdb.base/execution-termios.c: New file.
7897 * gdb.base/execution-termios.exp: New file.
7898
d98b7a16
TT
78992014-07-14 Tom Tromey <tromey@redhat.com>
7900
7901 * gdb.cp/vla-cxx.cc: New file.
7902 * gdb.cp/vla-cxx.exp: New file.
7903
548740d6
TT
79042014-07-14 Tom Tromey <tromey@redhat.com>
7905
7906 * gdb.reverse/rerun-prec.c: New file.
7907 * gdb.reverse/rerun-prec.exp: New file.
7908
a25eb028
MR
79092014-07-12 Maciej W. Rozycki <macro@mips.com>
7910 Maciej W. Rozycki <macro@codesourcery.com>
7911
7912 * lib/gdb-utils.exp: New file.
7913 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7914 inline `gdb_init_command' processing.
7915 (gdb_start_cmd): Likewise.
7916 * lib/mi-support.exp (mi_run_cmd): Likewise.
7917 * README: Document `gdb_init_command' and `gdb_init_commands'.
7918
218c2655
JK
79192014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7920
7921 Fix false FAIL running under a very long directory name.
7922 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7923 and "set print elements 10000". Twice.
7924
5401fde3
YQ
79252014-07-11 Yao Qi <yao@codesourcery.com>
7926
7927 * gdb.base/exprs.exp: "set print symbol off".
7928
e76126e8
PA
79292014-07-11 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.threads/kill.c: New file.
7932 * gdb.threads/kill.exp: New file.
7933
2d6f0de6
YQ
79342014-07-10 Yao Qi <yao@codesourcery.com>
7935
7936 * gdb.trace/tfile.c (write_basic_trace_file)
7937 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7938 address written to trace file.
7939
7180e04a
PA
79402014-07-09 Pedro Alves <palves@redhat.com>
7941
7942 * gdb.base/attach-wait-input.exp: New file.
7943 * gdb.base/attach-wait-input.c: New file.
7944
9a9a7608
AB
79452014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7946
7947 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7948 setting up test structures.
7949 (main): Call new test function.
7950 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7951 test function, continue into test function and walk test
7952 structures.
7953
161ac41e
YQ
79542014-07-02 Yao Qi <yao@codesourcery.com>
7955
7956 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7957 'bar_start' at the beginning of functions 'foo' and 'bar'
7958 respectively.
7959 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7960 instead of 'foo' and 'bar'.
7961
1f267ae3
MM
79622014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7963
7964 * gdb.btrace/segv.exp: New.
7965 * gdb.btrace/segv.c: New.
7966
2b239efb
LM
79672014-07-02 Luis Machado <lgustavo@codesourcery.com>
7968
7969 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7970 instruction.
7971
cf363f18
MW
79722014-06-30 Mark Wielaard <mjw@redhat.com>
7973
7974 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7975 vulture, vilify, villar): New volatile array constants.
7976 (vindictive, vegetation): New const volatile array constants.
7977 * gdb.base/volatile.exp: Test volatile and const volatile array
7978 types.
7979
aebf9d24
AA
79802014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7981
7982 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7983 target lacks support for awatch, rwatch, or hbreak.
7984
b67a2c6f
YQ
79852014-06-27 Yao Qi <yao@codesourcery.com>
7986
7987 * gdb.multi/dummy-frame-restore.exp: New.
7988 * gdb.multi/dummy-frame-restore.c: New.
7989
aef92902
MM
79902014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7991
7992 * gdb.btrace/gcore.exp: New.
7993
8e9db26e
PA
79942014-06-23 Pedro Alves <palves@redhat.com>
7995
7996 * gdb.base/watchpoint-reuse-slot.c: New file.
7997 * gdb.base/watchpoint-reuse-slot.exp: New file.
7998
70afc5b7
SC
79992014-06-23 Siva Chandra Reddy <sivachandra@google.com>
8000
8001 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
8002 progspace's filename in 'info', 'enable' and 'disable' command
8003 tests.
8004
b972bd9c
JK
80052014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8006
8007 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
8008 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8009 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
8010
125f8a3d
GB
80112014-06-20 Gary Benson <gbenson@redhat.com>
8012
8013 * gdb.arch/i386-avx.exp: Fix include file location.
8014 * gdb.arch/i386-sse.exp: Likewise.
8015
3ed9baed
IB
80162014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
8017
8018 * gdb.dlang/expression.exp: New file.
8019
034f788c
PA
80202014-06-19 Pedro Alves <palves@redhat.com>
8021
8022 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
8023 out from ...
8024 (top level): ... here. Iterate running tests under different
8025 scheduler-locking settings.
8026
45371d0c
LM
80272014-06-18 Luis Machado <lgustavo@codesourcery.com>
8028
8029 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
8030 to DW_FORM_addr and use non-zero addresses.
8031
5d376983
SC
80322014-06-18 Siva Chandra Reddy <sivachandra@google.com>
8033
8034 PR gdb/17017
8035 * gdb.python/py-xmethods.cc: Add global function call counters and
8036 increment them in their respective functions. Remove "cout"
8037 statements.
8038 * gdb.python/py-xmethods.exp: Make tests check the global function
8039 call counters instead of depending on inferior IO.
8040
a1aa2221
LM
80412014-06-18 Don Breazeal <donb@codesourcery.com>
8042
8043 * gdb.base/foll-fork.exp (default_fork_parent_follow):
8044 Deleted procedure.
8045 (explicit_fork_parent_follow): Deleted procedure.
8046 (explicit_fork_child_follow): Deleted procedure.
8047 (test_follow_fork): New procedure.
8048 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 8049 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
8050 procedure calls.
8051
0fc05997
YQ
80522014-06-17 Yao Qi <yao@codesourcery.com>
8053
8054 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
8055 CP1252.
8056
70795c52
LM
80572014-06-17 Luis Machado <lgustavo@codesourcery.com>
8058
8059 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
8060 Initialize ptr and S explicitly.
8061 (skip_type_update_when_not_use_rtti_test): Likewise.
8062
6be47f0c
KS
80632014-06-16 Keith Seitz <keiths@redhat.com>
8064
8065 PR mi/15863
8066 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
8067 the inferior is started.
8068
d03de421
PA
80692014-06-16 Pedro Alves <palves@redhat.com>
8070
8071 * gdb.base/break-main-file-remove-fail.c: New file.
8072 * gdb.base/break-main-file-remove-fail.exp: New file.
8073 * gdb.base/break-unload-file.exp: Use build_executable instead of
8074 prepare_for_testing.
8075 (test_break): New parameter "initial_load". Handle it.
8076 (top level): Add initial_load cmdline/file axis.
8077
f9579b99
TT
80782014-06-12 Tom Tromey <tromey@redhat.com>
8079
8080 * gdb.base/completion.exp: Don't use directory name in test.
8081
3657956b
GB
80822014-06-09 Gary Benson <gbenson@redhat.com>
8083
8084 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8085 separate the always-available ANSI-standard signals from the
8086 signals that require checking.
8087 (main): Likewise.
8088 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
8089 Likewise.
8090 (main): Likewise.
8091
4186eb54
KS
80922014-06-07 Keith Seitz <keiths@redhat.com>
8093
8094 Revert:
8095 PR c++/16253
8096 * gdb.cp/var-tag.cc: New file.
8097 * gdb.cp/var-tag.exp: New file.
8098 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8099 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8100 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8101 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8102
25326a28 81032014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
8104
8105 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
8106
829155c9
PA
81072014-06-06 Pedro Alves <palves@redhat.com>
8108
8109 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8110 in target debug output instead of looking at RSP packets,
8111 disabling the test on any target that uses hardware stepping.
8112 Update comments.
8113
61c8d22e
PA
81142014-06-06 Pedro Alves <palves@redhat.com>
8115
8116 * gdb.base/break-unload-file.exp: Fix typo.
8117
d9a47287
YQ
81182014-06-06 Yao Qi <yao@codesourcery.com>
8119
8120 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8121 from "jit_function" to "^jit_function".
8122
e5e01dbf
YQ
81232014-06-06 Yao Qi <yao@codesourcery.com>
8124
8125 * gdb.base/async.c (foo): Add one statement.
8126 * gdb.base/async.exp: Get the next instruction address and
8127 match the output of "nexti" by instruction address. Match
8128 the hex address in the output of "finish".
8129
73ba372c
GB
81302014-06-06 Gary Benson <gbenson@redhat.com>
8131
8132 * gdb.base/call-signals.c: Remove preprocessor conditionals
8133 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
8134 SIGSEGV and SIGTERM.
8135 * gdb.base/sigall.c: Likewise.
8136 * gdb.base/unwindonsignal.c: Likewise.
8137 * gdb.reverse/sigall-reverse.c: Likewise.
8138
831517df
YQ
81392014-06-06 Yao Qi <yao@codesourcery.com>
8140
8141 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
8142 readable, skip the test.
8143
b8b91e98
YQ
81442014-06-06 Yao Qi <yao@codesourcery.com>
8145
8146 * gdb.threads/staticthreads.c (thread_function): Move the line
8147 setting breakpoint on forward.
8148 * gdb.threads/staticthreads.exp: Update comments.
8149
fb934770
LC
81502014-06-05 Ludovic Courtès <ludo@gnu.org>
8151
8152 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
8153 "history-append! type error".
8154
6ef284bd
SM
81552014-06-05 Simon Marchi <simon.marchi@ericsson.com>
8156
8157 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
8158 erroneous dprintf expected input.
8159
a872e241
DE
81602014-06-04 Doug Evans <xdje42@gmail.com>
8161
8162 * gdb.guile/scm-generics.exp: Delete.
8163
16f691fb
DE
81642014-06-04 Doug Evans <xdje42@gmail.com>
8165
8166 * gdb.guile/scm-breakpoint.exp: Update.
8167 Add tests for breakpoint registration.
8168
012370f6
TT
81692014-06-04 Tom Tromey <tromey@redhat.com>
8170
8171 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
8172 VLA-in-union.
8173 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
8174 inner_vla_struct, vla_union types. Initialize objects of those
8175 types and compute their sizes.
8176
9f5a4cef
HZ
81772014-06-04 Nathan Sidwell <nathan@codesourcery.com>
8178 Hui Zhu <hui@codesourcery.com>
8179
8180 * gdb.base/fileio.exp: Add test for shell not available as well as
8181 available.
8182 * gdb.base/fileio.c (test_system): Check for shell twice.
8183
90a45c4d
YQ
81842014-06-04 Yao Qi <yao@codesourcery.com>
8185
8186 * gdb.base/auto-connect-native-target.exp: Remove redundant
8187 space from the regexp pattern.
8188
70017e41
YQ
81892014-06-04 Yao Qi <yao@codesourcery.com>
8190
8191 * gdb.base/default.exp: Replace "child" with "native" in
8192 regexp pattern.
8193
883964a7
SC
81942014-06-03 Siva Chandra Reddy <sivachandra@google.com>
8195
8196 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
8197 * gdb.python/py-xmethods.exp: New tests to test xmethods.
8198 * gdb.python/py-xmethods.py: Python script supporting the
8199 new testcase and tests.
8200
ef370185
JB
82012014-06-03 Joel Brobecker <brobecker@adacore.com>
8202 Pedro Alves <palves@redhat.com>
8203
8204 PR breakpoints/17000
8205 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
8206 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
8207
1e2ccb61
BM
82082014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
8209
8210 * gdb.base/subst.exp: Add tests to verify partial path matching
8211 output.
8212
c6ec5ab2
PA
82132014-06-03 Pedro Alves <palves@redhat.com>
8214
8215 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
8216 target that doesn't use software single-stepping.
8217
835c559f
PA
82182014-06-03 Pedro Alves <palves@redhat.com>
8219
8220 PR breakpoints/17000
8221 * gdb.base/sss-bp-on-user-bp-2.c: New file.
8222 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
8223
06eb1586
DE
82242014-06-02 Doug Evans <xdje42@gmail.com>
8225
8226 * gdb.guile/scm-parameter.exp: New file.
8227
e698b8c4
DE
82282014-06-02 Doug Evans <xdje42@gmail.com>
8229
8230 * gdb.guile/scm-cmd.c: New file.
8231 * gdb.guile/scm-cmd.exp: New file.
8232
ded03782
DE
82332014-06-02 Doug Evans <xdje42@gmail.com>
8234
8235 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
8236 pretty-printer lookup.
8237 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
8238 (make-pp_s-printer): Call it.
8239 (make-pretty-printer-from-dict): New function.
8240 (lookup-pretty-printer-maker-from-dict): New function.
8241 (*pretty-printer*): Simplify.
8242 (make-objfile-pp_s-printer): New function.
8243 (install-objfile-pretty-printers!): New function.
8244 (make-progspace-pp_s-printer): New function.
8245 (install-progspace-pretty-printers!): New function.
8246 * gdb.guile/scm-progspace.c: New file.
8247 * gdb.guile/scm-progspace.exp: New file.
8248
41fac0cf
PA
82492014-06-02 Pedro Alves <palves@redhat.com>
8250
8251 * gdb.base/dprintf-bp-same-addr.c: New file.
8252 * gdb.base/dprintf-bp-same-addr.exp: New file.
8253
96ae5695
EBM
82542014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8255
8256 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
8257 * gdb.arch/powerpc-power.s: Likewise.
8258
da02b3a8
JB
82592014-06-02 Joel Brobecker <brobecker@adacore.com>
8260
8261 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
8262
c72b2e7b
YQ
82632014-06-01 Yao Qi <yao@codesourcery.com>
8264
8265 * gdb.base/watchpoint.exp (test_watch_location): Check null
8266 pointer can be dereferenced. If not, do the test, otherwise
8267 skip it.
8268
53e8a631
AB
82692014-05-30 Andrew Burgess <aburgess@broadcom.com>
8270
8271 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
8272 results.
8273 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
8274
938f0e2f
AB
82752014-05-30 Andrew Burgess <aburgess@broadcom.com>
8276
8277 * gdb.arch/amd64-invalid-stack-middle.S: New file.
8278 * gdb.arch/amd64-invalid-stack-middle.c: New file.
8279 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
8280 * gdb.arch/amd64-invalid-stack-top.c: New file.
8281 * gdb.arch/amd64-invalid-stack-top.exp: New file.
8282
9ba6657a
PA
82832014-05-30 Pedro Alves <palves@redhat.com>
8284
8285 PR breakpoints/17000
8286 * gdb.base/sss-bp-on-user-bp.c: New file.
8287 * gdb.base/sss-bp-on-user-bp.exp: New file.
8288
522c09bf
DB
82892014-05-30 David Blaikie <dblaikie@gmail.com>
8290
8291 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
8292 gnu_inline semantics via attribute.
8293 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
8294 source explicitly specifies the required semantics.
8295
bf4ef81e
MR
82962014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
8297
8298 * gdb.reverse/sigall-reverse.exp: Fix a typo.
8299
329ea579
PA
83002014-05-29 Pedro Alves <palves@redhat.com>
8301 Tom Tromey <tromey@redhat.com>
8302
8303 * gdb.base/async-shell.exp: Don't enable target-async.
8304 * gdb.base/async.exp
8305 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
8306 parameter. Adjust.
8307 (top level): Don't test with "target-async".
8308 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
8309 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
8310 * gdb.base/inferior-died.exp: Don't enable target-async.
8311 * gdb.base/interrupt-noterm.exp: Likewise.
8312 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
8313 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8314 * gdb.mi/mi-nonstop.exp: Likewise.
8315 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8316 * gdb.mi/mi-nsintrall.exp: Likewise.
8317 * gdb.mi/mi-nsmoribund.exp: Likewise.
8318 * gdb.mi/mi-nsthrexec.exp: Likewise.
8319 * gdb.mi/mi-watch-nonstop.exp: Likewise.
8320 * gdb.multi/watchpoint-multi.exp: Adjust comment.
8321 * gdb.python/py-evsignal.exp: Don't enable target-async.
8322 * gdb.python/py-evthreads.exp: Likewise.
8323 * gdb.python/py-prompt.exp: Likewise.
8324 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
8325 * gdb.server/solib-list.exp: Don't enable target-async.
8326 * gdb.threads/thread-specific-bp.exp: Likewise.
8327 * lib/mi-support.exp: Adjust to use mi-async.
8328
fd664c91
PA
83292014-05-29 Pedro Alves <palves@redhat.com>
8330
8331 PR gdb/13860
8332 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
8333 reason, even in sync mode.
8334
251bde03
PA
83352014-05-29 Pedro Alves <palves@redhat.com>
8336 Hui Zhu <hui@codesourcery.com>
8337
8338 PR PR15693
8339 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
8340 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
8341 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
8342 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
8343
7f3c0343
JB
83442014-05-28 Joel Brobecker <brobecker@adacore.com>
8345
8346 * config/monitor.exp (gdb_target_monitor): Replace use of
8347 "set remotebaud" by "set serial baud".
8348
b2715b27
AW
83492014-05-26 Andy Wingo <wingo@igalia.com>
8350
8351 * gdb.guile/scm-breakpoint.exp:
8352 * gdb.guile/scm-gsmob.exp: Update to use plain old object
8353 properties instead of gdb-object-properties.
8354
498a4489
YQ
83552014-05-26 Yao Qi <yao@codesourcery.com>
8356
8357 * gdb.server/no-thread-db.exp: Specify source file name
8358 explicitly when setting a breakpoint.
8359
589fdceb
MM
83602014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8361
8362 * gdb.btrace/vdso.c: New.
8363 * gdb.btrace/vdso.exp: New.
8364
e9089e05
MM
83652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8366
8367 * gdb.base/gcore.exp (capture_command_output): Move ...
8368 * lib/gdb.exp (capture_command_output): ... here.
8369
67b5c0c1
MM
83702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
8371
8372 * gdb.btrace/data.exp: Test memory access during btrace replay.
8373
a2199296
SM
83742014-05-22 Simon Marchi <simon.marchi@ericsson.com>
8375
8376 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
8377
17b2616c
PA
83782014-05-21 Pedro Alves <palves@redhat.com>
8379
8380 PR gdb/13860
8381 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
8382 (top level): Test that output related to execution commands is
8383 sent to the console with CLI commands, but not with MI commands.
8384 Test that breakpoint events are always mirrored to the console.
8385 Also expect the new source line to be output after a "next" in
8386 async mode too. Make it a pass/fail test.
8387 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
8388 output.
8389 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
8390
5166082f
PA
83912014-05-21 Pedro Alves <palves@redhat.com>
8392
8393 * gdb.base/list.exp (build_pattern, test_list): New procedures.
8394 Use them to test variations of "list" after reaching a breakpoint.
8395 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
8396 Test "list" with listsize 10 after reaching a breakpoint.
8397 * gdb.python/python.exp (decode_line current location line
8398 number): Adjust expected line number.
8399
2f25d70f
SM
84002014-05-21 Simon Marchi <simon.marchi@ericsson.com>
8401
8402 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
8403 behavior for $args, pass it directly to "run".
8404
ff604a67
MR
84052014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
8406
8407 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
8408 30000 to 65536.
8409
6a3cb8e8
PA
84102014-05-21 Pedro Alves <palves@redhat.com>
8411
8412 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
8413 auto-connect-native-target off".
8414 * gdb.base/auto-connect-native-target.c: New file.
8415 * gdb.base/auto-connect-native-target.exp: New file.
8416
4ebfc96e
PA
84172014-05-21 Pedro Alves <palves@redhat.com>
8418
8419 * gdb.base/default.exp: Test "target native" instead of "target
8420 child".
8421
36d46afb
MW
84222014-05-21 Mark Wielaard <mjw@redhat.com>
8423
8424 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8425
5876f503
JK
84262014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8427
8428 Fix TLS access for -static -pthread.
8429 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
8430 <HAVE_TLS> (thread_function, main): Initialize it.
8431 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
8432 Add clean_restart.
8433 <$have_tls != "">: Check TLSVAR.
8434
0256a6ac
PA
84352014-05-21 Pedro Alves <palves@redhat.com>
8436
8437 * gdb.base/dcache-line-read-error.c: New.
8438 * gdb.base/dcache-line-read-error.exp: New.
8439
936d2992
PA
84402014-05-20 Pedro Alves <palves@redhat.com>
8441
8442 * gdb.base/compare-sections.c: New file.
8443 * gdb.base/compare-sections.exp: New file.
8444
802e8e6d
PA
84452014-05-20 Pedro Alves <palves@redhat.com>
8446
8447 * gdb.base/break-idempotent.c: New file.
8448 * gdb.base/break-idempotent.exp: New file.
8449
e59fa00f
MM
84502014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8451
8452 * gdb.btrace/nohist.exp: New.
8453
8b696e31
YQ
84542014-05-20 Yao Qi <yao@codesourcery.com>
8455
8456 * lib/gdb.exp (gdb_init): Set timeout if test file is under
8457 gdb.reverse directory and gdb_reverse_timeout exists in board
8458 setting.
8459 * README: Document gdb_reverse_timeout.
8460
73c9764f
YQ
84612014-05-20 Yao Qi <yao@codesourcery.com>
8462
8463 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
8464 'test_file_name'. Treat args as a string instead of a list.
8465 (gdb_init): Rename argument 'args' by 'test_file_name'.
8466
f1f4348a
JK
84672014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8468
8469 * gdb.arch/powerpc-power.exp: New file.
8470 * gdb.arch/powerpc-power.s: New file.
8471
0dbe70ce
DE
84722014-05-16 Doug Evans <dje@google.com>
8473
8474 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
8475 * gdb.base/completion.exp: Check that all expected files exist
8476 before doing file completion.
0dbe70ce 8477
8d551b02
DE
84782014-05-16 Doug Evans <dje@google.com>
8479
8480 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
8481 Update.
8482 (do_syscall_tests_without_xml): Update.
8483
73eb7709
PA
84842014-05-16 Pedro Alves <palves@redhat.com>
8485
8486 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
8487 instead of "unknown output after running".
8488
3fae92fc
YQ
84892014-05-16 Yao Qi <yao@codesourcery.com>
8490
8491 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
8492 file1.txt from host at the end.
8493 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8494
c2b2ccc5
DE
84952014-05-15 Doug Evans <dje@google.com>
8496
8497 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
8498 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
8499 loading file. Add test for TU lookup.
8500
8c217a4b
SM
85012014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8502
8503 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
8504 calling "-exec-arguments" or "set args" before running the
8505 inferior.
8506
3deb39c6
SM
85072014-05-15 Simon Marchi <simon.marchi@ericsson.com>
8508
8509 * lib/mi-support.exp (mi_expect_stop): Expect message for
8510 inferiors that exit with non-zero exit code.
8511
71a79f8c
YQ
85122014-05-14 Yao Qi <yao@codesourcery.com>
8513
8514 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
8515 match absolute path on remote host.
8516 (test_file_list_exec_source_files): Remove "/" from the
8517 pattern.
8518
f23fcd46
YQ
85192014-05-14 Yao Qi <yao@codesourcery.com>
8520
8521 * boards/local-remote-host-notty.exp (${board}_file): New
8522 proc.
8523
9404b58f
KM
85242014-05-07 Kyle McMartin <kyle@redhat.com>
8525
8526 Pushed by Joel Brobecker <brobecker@adacore.com>.
8527 * gdb.arch/aarch64-atomic-inst.c: New file.
8528 * gdb.arch/aarch64-atomic-inst.exp: New file.
8529
5e45f04c
YQ
85302014-05-07 Yao Qi <yao@codesourcery.com>
8531
8532 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
8533 in current context" too.
8534
c888a17d
KS
85352014-05-05 Keith Seitz <keiths@redhat.com>
8536
8537 * gdb.linespec/ls-dollar.exp: Add test for linespec
8538 file:convenience_variable.
8539
290a839c
YQ
85402014-05-05 Yao Qi <yao@codesourcery.com>
8541
8542 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
8543 traceframes into tfile and ctf trace files. Read data from
8544 trace file and test collected data.
8545 (gdb_collect_locals_test): Likewise.
8546 (gdb_unavailable_registers_test): Likewise.
8547 (gdb_unavailable_floats): Likewise.
8548 (gdb_collect_globals_test): Likewise.
8549 (top-level): Append "ctf" to trace_file_targets if GDB
8550 supports.
8551
b5262cd0
YQ
85522014-05-05 Yao Qi <yao@codesourcery.com>
8553
8554 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
8555 code to ...
8556 (gdb_collect_args_test_1): ... it. New proc.
8557 (gdb_collect_locals_test): Move some code to ...
8558 (gdb_collect_locals_test_1): ... it. New proc.
8559 (gdb_unavailable_registers_test): Move some code to ...
8560 (gdb_unavailable_registers_test_1): ... it. New proc.
8561 (gdb_unavailable_floats): Move some code to ...
8562 (gdb_unavailable_floats_1): ... it. New proc.
8563
30a1e6cc
SDJ
85642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8565
8566 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
8567 probes to test for bitness recognition.
8568 * gdb.arch/amd64-stap-optional-prefix.exp
8569 (test_probe_value_without_reg): New procedure.
8570 Add code to test for different kinds of bitness.
8571
f33da99a
SDJ
85722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8573
8574 PR breakpoints/16889
8575 * gdb.arch/amd64-stap-optional-prefix.S: New file.
8576 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
8577
5b80f00d
PA
85782014-05-01 Pedro Alves <palves@redhat.com>
8579
8580 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
8581 gdb_file_cmd if no file is specified.
8582 * boards/native-extended-gdbserver.exp (gdb_load): Use the
8583 last_loaded_file to set the remote exec-file.
8584
f8c2a73c
PA
85852014-05-01 Pedro Alves <palves@redhat.com>
8586
8587 * boards/local-remote-host.exp: New file.
8588
be6e8ac7
PA
85892014-05-01 Pedro Alves <palves@redhat.com>
8590
8591 * boards/local-remote-host.exp: Rename to ...
8592 * boards/local-remote-host-notty.exp: ... this.
8593
cac0dc8f
JB
85942014-04-28 Joel Brobecker <brobecker@adacore.com>
8595
8596 * gdb.ada/dyn_arrayidx: New testcase.
8597
9730e6cc
YQ
85982014-04-26 Yao Qi <yao@codesourcery.com>
8599
8600 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
8601 and compute the length of function main. Save it in
8602 $main_length.
8603 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
8604 (top-level): Use gdb_compile to compile objects into
8605 executable and restart GDB. Remove invocation to
8606 prepare_for_testing.
8607
7ae1a6a6
PA
86082014-04-25 Simon Marchi <simon.marchi@ericsson.com>
8609 Pedro Alves <palves@redhat.com>
8610
8611 PR server/16255
8612 * gdb.multi/multi-attach.c: New file.
8613 * gdb.multi/multi-attach.exp: New file.
8614
4082afcc
PA
86152014-04-25 Pedro Alves <palves@redhat.com>
8616
8617 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
8618 user.
8619 (top level): Test that "set remote conditional-breakpoints-packet
8620 off" works as intended.
8621 * gdb.base/dprintf.exp: Test that "set remote
8622 breakpoint-commands-packet off" works as intended.
8623 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
8624 New function.
8625 (top level): Call it.
8626 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
8627 remote fast-tracepoints-packet off" works as intended.
8628 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
8629 * lib/gdb.exp (gdb_is_target_remote): ... here.
8630
2abc3f8d
DB
86312014-04-24 David Blaikie <dblaikie@gmail.com>
8632
8633 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
8634 ensure clang would not discard them.
8635 * gdb.base/gdbvars.c: Ditto.
8636 * gdb.base/memattr.c: Ditto.
8637 * gdb.base/whatis.c: Ditto.
8638 * gdb.python/py-prettyprint.c: Ditto.
8639 * gdb.trace/actions.c: Ditto.
8640 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
8641 ensure clang would not discard it.
8642
bfd39632
DB
86432014-04-24 David Blaikie <dblaikie@gmail.com>
8644
8645 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
8646 clang to emit the full definition of type required by the test
8647 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
8648
22842ff6
DB
86492014-04-24 David Blaikie <dblaikie@gmail.com>
8650
8651 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
8652 coax Clang into emitting the definition of the type.
8653 * gdb.cp/pr10728-x.h (y): Ditto.
8654 * gdb.cp/pr10728-y.cc (y): Ditto.
8655
c2e827ad
DB
86562014-04-24 David Blaikie <dblaikie@gmail.com>
8657
8658 * gdb.base/label.exp: XFAIL label related tests under Clang.
8659 * gdb.cp/cplabel.exp: Ditto.
8660 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
8661 under Clang those using labels.
8662
4c2d33e7
YQ
86632014-04-25 Yao Qi <yao@codesourcery.com>
8664
8665 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
8666 double_label.
8667 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
8668 partial_label and double_label.
8669
56083b99
DB
86702014-04-24 David Blaikie <dblaikie@gmail.com>
8671
8672 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
8673
25d4e99d
DB
86742014-04-24 David Blaikie <dblaikie@gmail.com>
8675
8676 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
8677 of the function to work across GCC and Clang.
8678 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
8679 pointer types (const void ** const V void **).
8680
01f9f808
MS
86812014-04-24 Michael Sturm <michael.sturm@mintel.com>
8682 Walfred Tedeschi <walfred.tedeschi@intel.com>
8683
8684 * Makefile.in (EXECUTABLES): Added i386-avx512.
8685 * gdb.arch/i386-avx512.c: New file.
8686 * gdb.arch/i386-avx512.exp: Likewise.
8687
4b48d439
KS
86882014-04-23 Keith Seitz <keiths@redhat.com>
8689
8690 * lib/mi-support.exp (mi_list_breakpoints): Delete.
8691 (mi_make_breakpoint_table): New procedure.
8692 (mi_create_breakpoint): Use mi_make_breakpoint
8693 and return the result.
8694 (mi_make_breakpoint): New procedure.
8695 (mi_build_kv_pairs): New procedure.
8696
8697 * gdb.mi/mi-break.exp: Remove unused globals,
8698 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
8699 All callers updated.
8700 * gdb.mi/mi-dprintf.exp: Use variable to track command
8701 number.
8702 Update all callers of mi_create_breakpoint and use
8703 mi_make_breakpoint_table.
8704 Remove any unused global variables.
8705 * gdb.mi/mi-nonstop.exp: Likewise.
8706 * gdb.mi/mi-nsintrall.exp: Likewise.
8707 * gdb.mi/mi-nsmoribund.exp: Likewise.
8708 * gdb.mi/mi-nsthrexec.exp: Likewise.
8709 * gdb.mi/mi-reverse.exp: Likewise.
8710 * gdb.mi/mi-simplerun.exp: Likewise.
8711 * gdb.mi/mi-stepn.exp: Likewise.
8712 * gdb.mi/mi-syn-frame.exp: Likewise.
8713 * gdb.mi/mi-until.exp: Likewise.
8714 * gdb.mi/mi-var-cp.exp: Likewise.
8715 * gdb.mi/mi-var-display.exp: Likewise.
8716 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
8717 * gdb.mi/mi2-var-child.exp: Likewise.
8718 * gdb.mi/mi-vla-c99.exp: Likewise.
8719 * lib/mi-support.exp: Likewise.
8720
8721 From Ian Lance Taylor <iant@cygnus.com>:
8722 * lib/gdb.exp (parse_args): New procedure.
8723
08351840
PA
87242014-04-23 Pedro Alves <palves@redhat.com>
8725
8726 * gdb.base/break-unload-file.c: New file.
8727 * gdb.base/break-unload-file.exp: New file.
8728 * gdb.base/sym-file-lib.c (baz): New function.
8729 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
8730 field.
8731 (load): Store the segment's mapped size.
8732 (unload): New function.
8733 (unload_shlib): New function.
8734 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
8735 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
8736 set a breakpoint at baz, and call it.
8737 * gdb.base/sym-file.exp: New tests for stale breakpoint
8738 instructions.
8739
076855f9
PA
87402014-04-23 Pedro Alves <palves@redhat.com>
8741
8742 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
8743 * gdb.base/hbreak-in-shr-unsupported.c: New file.
8744 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
8745 * gdb.base/hbreak-unmapped.c: New file.
8746 * gdb.base/hbreak-unmapped.exp: New file.
8747 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
8748 * lib/gdb.exp (gdb_is_target_remote): ... here.
8749
483805cf
PA
87502014-04-22 Pedro Alves <palves@redhat.com>
8751
8752 * gdb.base/consecutive-step-over.c: New file.
8753 * gdb.base/consecutive-step-over.exp: New file.
8754
06d97543
PA
87552014-04-22 Pedro Alves <palves@redhat.com>
8756
8757 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
8758 instead of send_gdb/gdb_expect.
8759
b4429ea2
YQ
87602014-04-22 Yao Qi <yao@codesourcery.com>
8761
8762 * lib/trace-support.exp (generate_tracefile): New procedure.
8763 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
8764 return 0.
8765 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
8766 if generate_tracefile returns 1.
8767
51d48146
PA
87682014-04-18 Tom Tromey <palves@redhat.com>
8769 Pedro alves <tromey@redhat.com>
8770
8771 PR backtrace/15558
8772 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
8773 with a backtrace limit.
8774 * gdb.python/py-frame-inline.exp: Test running to an inline
8775 function with a backtrace limit, and printing the newest frame.
8776 * gdb.python/py-frame-inline.c (main): Call f.
8777
bd1dce5f
MS
87782014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8779
8780 * gdb.java/jnpe.exp: Drop srcdir from untested path.
8781
40d1a503
MS
87822014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
8783
8784 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
8785 Drop prefix from unsupported source file path.
8786
389b98f7
YQ
87872014-04-17 Yao Qi <yao@codesourcery.com>
8788
8789 * lib/gdb.exp (with_target_charset): New proc.
8790 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
8791 with_target_charset.
8792 (test_print_strings): Likewise.
8793 (test_repeat_bytes): Likewise.
8794 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
8795 for some tests.
8796
22869d73
KS
87972014-04-16 Keith Seitz <keiths@redhat.com>
8798
8799 PR gdb/15827
8800 * gdb.dwarf2/corrupt.c: New file.
8801 * gdb.dwarf2/corrupt.exp: New file.
8802
c4f87ca6
KS
88032014-04-16 Keith Seitz <keiths@redhat.com>
8804
8805 PR c++/16597
8806 * gdb.cp/namelessclass.cc: New file.
8807 * gdb.cp/namelessclass.exp: New file.
8808 * gdb.cp/namelessclass.S: New file.
8809
ab19de87
DE
88102014-04-16 Doug Evans <dje@google.com>
8811
8812 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8813 Add comment.
8814 (gdbserver_default_get_comm_port): New function.
8815 (gdbserver_start): Check if board file provided
8816 "gdbserver,get_comm_port" and use it if so.
8817 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8818 (gdb,socketport): Set to "stdio".
8819 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8820 (stdio_gdbserver_template): Delete.
8821 (${board}_get_remote_address): Update.
8822 (${board}_build_remote_cmd): Delete.
8823 (${board}_get_comm_port): New function.
8824 (${board}_spawn): Update.
8825 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8826 Delete.
8827 (${board}_get_remote_address): Update.
8828 (${board}_get_comm_port): New function.
8829
fc98a809
AB
88302014-04-16 Andrew Burgess <aburgess@broadcom.com>
8831
8832 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8833 appearing in any order.
8834
87fd9e6e
DE
88352014-04-15 Doug Evans <dje@google.com>
8836
8837 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8838 uninitialized value of "description".
8839
099fc3ea
KS
88402014-04-15 Keith Seitz <keiths@redhat.com>
8841
8842 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8843 Remove unused globals.
8844 (test_running_the_program): Likewise.
8845 (test_controlled_execution): Likewise.
8846 (test_controlling_breakpoints): Likewise.
8847 (test_program_termination): Likewise.
8848
5da151d4
KS
88492014-04-15 Keith Seitz <keiths@redhat.com>
8850
8851 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8852 unused globals.
8853 (test_rbreak_creation_and_listing): Likewise.
8854 (test_ignore_count): Likewise.
8855 (test_error): Likewise.
8856
35e5d2f0
PA
88572014-04-15 Pedro Alves <palves@redhat.com>
8858
8859 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8860 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8861 sym-file-loader.c.
8862 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8863 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8864 to sym-file-loader.c.
8865 (struct library): Forward declare.
8866 (load_shlib, lookup_function): Change prototypes.
8867 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8868 (translate_offset): Remove declarations.
8869 (get_text_addr): New declaration.
8870 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8871 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8872 sym-file-loader.h.
8873 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8874 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8875 here from sym-file-loader.h.
8876 (struct library): New structure.
8877 (load_shlib, lookup_function): Change prototypes and adjust to
8878 work with a struct library.
8879 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8880 (translate_offset): Make static.
8881 (get_text_addr): New function.
8882 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8883
eb4c1710
PA
88842014-04-15 Pedro Alves <palves@redhat.com>
8885
8886 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8887
2d1baf52
PA
88882014-04-15 Pedro Alves <palves@redhat.com>
8889
8890 * gdb.base/sym-file-loader.c: Include <limits.h>.
8891 (SELF_LINK): New define.
8892 (get_origin): New function.
8893 (load_shlib): Use it.
8894 * gdb.base/sym-file.exp: Don't early return if the target is
8895 remote. Use runto_main, and issue fail is that fails. Use
8896 gdb_load_shlibs.
8897 (shlib_name): Delete.
8898 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8899
7dd6df01
PA
89002014-04-15 Pedro Alves <palves@redhat.com>
8901
8902 * gdb.base/sym-file.exp: Remove regex characters from test
8903 message. Don't refer to breakpoint numbers in test messages.
8904
b50c8614
KS
89052014-04-14 Keith Seitz <keiths@redhat.com>
8906
8907 PR c++/16253
8908 * gdb.cp/var-tag.cc: New file.
8909 * gdb.cp/var-tag.exp: New file.
8910 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8911 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8912 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8913 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8914
3d567982
TT
89152014-04-14 Tom Tromey <tromey@redhat.com>
8916
8917 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8918 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8919 type.
8920 * gdb.cp/enum-class.exp: New file.
8921 * gdb.cp/enum-class.cc: New file.
8922
0626fc76
TT
89232014-04-14 Tom Tromey <tromey@redhat.com>
8924
8925 * gdb.dwarf2/enum-type.exp: New file.
8926
dca325b3
SA
89272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8928
8929 * gdb.mi/mi-vla-c99.exp: New file.
8930 * gdb.mi/vla.c: New file.
8931
5854b38a
SA
89322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8933
8934 * gdb.base/vla-datatypes.c: New file.
8935 * gdb.base/vla-datatypes.exp: New file.
8936
463bb957
SA
89372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8938
8939 * gdb.base/vla-ptr.c: New file.
8940 * gdb.base/vla-ptr.exp: New file.
8941
3dd170be
SA
89422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8943
8944 * gdb.dwarf2/count.exp: New file.
8945
5ecaaa66
SA
89462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8947
8948 * gdb.base/vla-sideeffect.c: New file.
8949 * gdb.base/vla-sideeffect.exp: New file.
8950
41f1ada5
DB
89512014-04-14 David Blaikie <dblaikie@gmail.com>
8952
8953 * gdb.mi/non-stop.c: Add return value for non-void function return
8954 statement.
8955 * gdb.threads/staticthreads.c: Ditto.
8956
0be03e84
DE
89572014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8958 Doug Evans <xdje42@gmail.com>
8959
8960 * gdb.guile/scm-value.c: Improve test case.
8961 * gdb.guile/scm-value.exp: Add new test.
8962
f180a1fb
DB
89632014-04-11 David Blaikie <dblaikie@gmail.com>
8964
8965 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8966 override Clang's default.
8967
6b662e19
JB
89682014-04-11 Joel Brobecker <brobecker@adacore.com>
8969
8970 Revert the following changes (regressions):
8971
8972 * gdb.base/vla-sideeffect.c: New file.
8973 * gdb.base/vla-sideeffect.exp: New file.
8974
8975 * gdb.dwarf2/count.exp: New file.
8976
8977 * gdb.base/vla-multi.c: New file.
8978 * gdb.base/vla-multi.exp: New file.
8979
8980 * gdb.base/vla-ptr.c: New file.
8981 * gdb.base/vla-ptr.exp: New file.
8982
8983 * gdb.base/vla-datatypes.c: New file.
8984 * gdb.base/vla-datatypes.exp: New file.
8985
8986 * gdb.mi/mi-vla-c99.exp: New file.
8987 * gdb.mi/vla.c: New file.
8988
245a5f0b
KS
89892014-04-11 Keith Seitz <keiths@redhat.com>
8990
8991 PR c++/16675
8992 * gdb.cp/cpsizeof.exp: New file.
8993 * gdb.cp/cpsizeof.cc: New file.
8994
58a84dcf
SA
89952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8996
191a8a90
JB
8997 * gdb.mi/mi-vla-c99.exp: New file.
8998 * gdb.mi/vla.c: New file.
58a84dcf 8999
c8655f75
SA
90002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9001
9002 * gdb.base/vla-datatypes.c: New file.
9003 * gdb.base/vla-datatypes.exp: New file.
9004
024e13b4
SA
90052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9006
9007 * gdb.base/vla-ptr.c: New file.
9008 * gdb.base/vla-ptr.exp: New file.
9009
1a237e0e
SA
90102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9011
9012 * gdb.base/vla-multi.c: New file.
9013 * gdb.base/vla-multi.exp: New file.
9014
504f3432
SA
90152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9016
9017 * gdb.dwarf2/count.exp: New file.
9018
3bce8237
SA
90192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9020
191a8a90
JB
9021 * gdb.base/vla-sideeffect.c: New file.
9022 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 9023
322f9c21
YQ
90242014-04-11 Yao Qi <yao@codesourcery.com>
9025
9026 * gdb.base/completion.exp: Check file exists before running tests
9027 on file completion.
9028
d708bcd1
PA
90292014-04-10 Pedro Alves <palves@redhat.com>
9030
9031 * gdb.base/cond-eval-mode.c: New file.
9032 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
9033 prepare_for_testing to build the new file. Check result of
9034 runto_main.
9035 (test_break, test_watch): New procedures.
9036 (top level): Use them.
9037
ae1d2761
PM
90382014-04-08 Pierre Muller <muller@sourceware.org>
9039
9040 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
9041 Ctrl-V use for mingw hosts.
9042
7af389b8
SC
90432014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9044
9045 * gdb.python/py-value.c: Improve test case.
9046 * gdb.python/py-value.exp: Add new test.
9047
5e703181
DE
90482014-04-07 David Blaikie <dblaikie@gmail.com>
9049
9050 * lib/compiler.c: Identify the clang compiler.
9051 * lib/compiler.cc: Ditto.
9052
9810b410
YQ
90532014-04-03 Yao Qi <yao@codesourcery.com>
9054
9055 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
9056
98d1b8dc
AB
90572014-04-01 Anton Blanchard <anton@samba.org>
9058
9059 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
9060 messages unique.
9061
3114cea1
AB
90622014-04-01 Anton Blanchard <anton@samba.org>
9063
9064 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
9065 prepare_for_testing.
9066
62f7182c
AB
90672014-04-01 Anton Blanchard <anton@samba.org>
9068
9069 * gdb.arch/ppc64-atomic-inst.c: Remove.
9070 * gdb.arch/ppc64-atomic-inst.S: New file.
9071 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
9072
770e7fc7
DE
90732014-03-31 Doug Evans <dje@google.com>
9074
9075 * gdb.base/print-symbol-loading-lib.c: New file.
9076 * gdb.base/print-symbol-loading-main.c: New file.
9077 * gdb.base/print-symbol-loading.exp: New file.
9078
46e2bafa
YQ
90792014-03-31 Yao Qi <yao@codesourcery.com>
9080
9081 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
9082
8776cfe9
JB
90832014-03-28 Joel Brobecker <brobecker@adacore.com>
9084
9085 * gdb.ada/mi_dyn_arr: New testcase.
9086
5d1ef361
DE
90872014-03-27 Doug Evans <dje@google.com>
9088
9089 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
9090
b5bee914
YQ
90912014-03-27 Yao Qi <yao@codesourcery.com>
9092
9093 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
9094 if target is nios2-*-*.
9095
0d4d0e77
YQ
90962014-03-26 Yao Qi <yao@codesourcery.com>
9097
9098 * lib/gdb.exp (readline_is_used): New proc.
9099 * gdb.base/completion.exp: Move tests on command complete up.
9100 Skip the rest of tests if readline is not used.
9101 * gdb.ada/complete.exp: Skp the test if readline is not
9102 used.
9103 * gdb.base/filesym.exp: Likewise.
9104 * gdb.base/macscp.exp: Likewise.
9105 * gdb.base/readline-ask.exp: Likewise.
9106 * gdb.base/readline.exp: Likewise.
9107 * gdb.python/py-cmd.exp: Likewise.
9108 * gdb.trace/tfile.exp: Likewise.
9109
29361eee
YQ
91102014-03-26 Yao Qi <yao@codesourcery.com>
9111
9112 * gdb.base/macscp.exp: Fix code format issues.
9113
bc9a5525
UW
91142014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
9115
9116 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
9117 * gdb.asm/powerpc64le.inc: New file.
9118
d3839ede
PA
91192014-03-25 Pedro Alves <palves@redhat.com>
9120 Doug Evans <dje@google.com>
9121
9122 * gdb.base/source-execution.c: New file.
9123 * gdb.base/source-execution.exp: New file.
9124 * gdb.base/source-execution.gdb: New file.
9125
01672a57
DE
91262014-03-24 Doug Evans <dje@google.com>
9127
9128 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
9129 using fission.
9130
88bbeca9
HZ
91312014-03-24 Hui Zhu <hui@codesourcery.com>
9132 Pedro Alves <palves@redhat.com>
9133
9134 PR breakpoints/16101
9135 * gdb.base/dprintf.exp: Use unsupported rather than changing the
9136 test pass/fail messages. Detect missing support for dprintf when
9137 breakpoints are actually inserted.
9138 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
9139 breakpoints are actually inserted.
9140 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
9141 fails.
9142
d2348791
JK
91432014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9144
9145 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
9146
feef67ab
DE
91472014-03-22 Doug Evans <xdje42@gmail.com>
9148
9149 * gdb.python/python.exp (python not supported): Verify multi-line
9150 python command issues an error.
25d743f9 9151 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 9152 guile command issues an error.
feef67ab 9153
ecebef6a
MR
91542014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
9155
9156 * gdb.threads/thread-specific.exp: Handle the lack of usable
9157 $this_breakpoint and $this_thread.
9158
ccdd1909
HZ
91592014-03-21 Hui Zhu <hui@codesourcery.com>
9160
9161 * gdb.base/attach.exp (do_command_attach_tests): New.
9162
beb460e8
PA
91632014-03-20 Tom Tromey <tromey@redhat.com>
9164 Pedro Alves <palves@redhat.com>
9165
9166 PR cli/15718
9167 * gdb.base/condbreak-call-false.c: New file.
9168 * gdb.base/condbreak-call-false.exp: New file.
9169
40acf43a
PA
91702014-03-20 Pedro Alves <palves@redhat.com>
9171
9172 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
9173 Delete.
9174 (block_signals, unblock_signals): Delete.
9175 (child_function_2, main): Remove references to deleted variable
9176 and functions.
9177
9f5e1e02
PA
91782014-03-20 Pedro Alves <palves@redhat.com>
9179
9180 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
9181 Use pthread_kill to signal thread 2.
9182 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9183 Adjust to make the test send itself a signal rather than using the
9184 host's "kill" command.
9185
99619bea
PA
91862014-03-20 Pedro Alves <palves@redhat.com>
9187
9188 * gdb.threads/multiple-step-overs.c: New file.
9189 * gdb.threads/multiple-step-overs.exp: New file.
9190 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9191 Adjust expected infrun debug output.
9192
2adfaa28
PA
91932014-03-20 Pedro Alves <palves@redhat.com>
9194
9195 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
9196 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
9197
31e77af2
PA
91982014-03-20 Pedro Alves <palves@redhat.com>
9199
9200 PR breakpoints/7143
9201 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
9202 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
9203 of gdb_test_multiple.
9204 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
9205 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
9206
b9f437de
PA
92072014-03-20 Pedro Alves <palves@redhat.com>
9208
9209 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
9210 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
9211
05adc73e
PA
92122014-03-19 Pedro Alves <palves@redhat.com>
9213
9214 * gdb.base/async.exp: Remove early return.
9215
6048b950
PA
92162014-03-19 Pedro Alves <palves@redhat.com>
9217
9218 * gdb.base/async.exp (step& tests): Pass explicit test messages.
9219
8bcfb00a
PA
92202014-03-19 Pedro Alves <palves@redhat.com>
9221
9222 * gdb.base/async.exp (test_background): Expect \r\n after
9223 "completed." in the fail pattern.
9224
884e37dc
PA
92252014-03-19 Pedro Alves <palves@redhat.com>
9226
9227 * gdb.base/async.exp (test_background): New procedure.
9228 Use it for all background execution command tests.
9229
148e57e2
PA
92302014-03-19 Pedro Alves <palves@redhat.com>
9231
9232 * gdb.base/async.exp: Use prepare_for_testing.
9233
f48088c7
PA
92342014-03-19 Pedro Alves <palves@redhat.com>
9235
9236 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
9237 the same line.
9238
e2f6c966
PA
92392014-03-19 Pedro Alves <palves@redhat.com>
9240
9241 * gdb.base/async.c (main): Add "jump here" and "until here" line
9242 marker comments.
9243 * gdb.base/async.exp (jump_here): New global.
9244 (jump& test): Use it.
9245 (until_here): New global.
9246 (until& test): Use it.
9247
c30568d4
PA
92482014-03-19 Pedro Alves <palves@redhat.com>
9249
9250 * gdb.base/async.exp: Don't frob gdb_protocol.
9251
0172b6a7
DE
92522014-03-18 Doug Evans <xdje42@gmail.com>
9253
9254 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
9255 Fix spelling of exec-done-display.
9256
06c868a8
JK
92572014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9258
9259 PR gdb/15358
9260 * gdb.base/gdb-sigterm.c: New file.
9261 * gdb.base/gdb-sigterm.exp: New file.
9262
0c7e1a46
PA
92632014-03-18 Pedro Alves <palves@redhat.com>
9264
9265 PR gdb/13860
9266 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
9267 * lib/mi-support.exp (mi_expect_stop): Add special handling for
9268 solib-event.
9269
f7c77d93
JB
92702014-03-17 Joel Brobecker <brobecker@adacore.com>
9271
9272 * gdb.ada/pckd_arr_ren: New testcase.
9273
5a1e8c7a
DE
92742014-03-13 Doug Evans <xdje42@gmail.com>
9275
9276 PR guile/16612
9277 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
9278 collect after discarding symbols.
9279
350e1a76
DE
92802014-03-13 Ludovic Courtès <ludo@gnu.org>
9281 Doug Evans <xdje42@gmail.com>
9282
9283 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
9284 to history survives a gc.
9285
a69900ae
PA
92862014-03-13 Pedro Alves <palves@redhat.com>
9287
9288 * gdb.base/default.exp: Don't test "target procfs".
9289
5db9f0bd
PA
92902014-03-13 Pedro Alves <palves@redhat.com>
9291
9292 * gdb.base/default.exp: Update "target child" and "target procfs"
9293 tests to not expect "Unix".
9294
b3ccfe11
TT
92952014-03-12 Tom Tromey <tromey@redhat.com>
9296
9297 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
9298 New procs. Add target-async tests.
9299 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
9300 Add target-async tests.
9301
646f4417
AA
93022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9303
9304 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
9305 'func_start' and 'func_end' for the beginning and end of the
9306 function code, respectively.
9307 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
9308 'func_end' instead of 'func' and 'main'.
9309
288c211f
AA
93102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9311
9312 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
9313 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
9314 generate the debug info assembler source.
9315
e0c0f156
AA
93162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9317
9318 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
9319 * gdb.dwarf2/arr-subrange.exp: Likewise.
9320 * gdb.dwarf2/dwz.exp: Likewise.
9321 * gdb.dwarf2/method-ptr.exp: Likewise.
9322 * gdb.dwarf2/missing-sig-type.exp: Likewise.
9323 * gdb.dwarf2/subrange.exp: Likewise.
9324 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
9325 * gdb.dwarf2/implptrpiece.exp: Likewise.
9326 * gdb.dwarf2/nostaticblock.exp: Likewise.
9327
0e5c4555
AA
93282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9329
9330 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
9331 directory to absolute path name arguments.
9332
5ec18f2b
JG
93332014-03-10 Joel Brobecker <brobecker@adacore.com>
9334
9335 * gdb.ada/tagged_access: New testcase.
9336
847fc4f2
MM
93372014-03-07 Markus Metzger <markus.t.metzger@intel.com>
9338
9339 * gdb.btrace/data.exp: Update expected output.
9340
cc3da688
YQ
93412014-03-06 Yao Qi <yao@codesourcery.com>
9342
9343 * gdb.trace/pr16508.exp: New file.
9344
0f26cec1
PA
93452014-03-05 Pedro Alves <palves@redhat.com>
9346
9347 PR gdb/16575
9348 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
9349 procedure.
9350 (top level): Adjust to use it. Add tests that exercise breakpoint
9351 interaction with the code-cache.
9352
7a5a839f
LC
93532014-02-26 Ludovic Courtès <ludo@gnu.org>
9354
9355 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
9356 test for 'history-append!'.
9357
31aa7e4e
JB
93582014-02-26 Joel Brobecker <brobecker@adacore.com>
9359
9360 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
9361 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
9362 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
9363 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
9364 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
9365 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9366
1b588015
JB
93672014-02-26 Joel Brobecker <brobecker@adacore.com>
9368
9369 * testsuite/gdb.python/py-pp-re-notag.c: New file.
9370 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
9371 * testsuite/gdb.python/py-pp-re-notag.p: New file.
9372
55426c9d
JB
93732014-02-26 Joel Brobecker <brobecker@adacore.com>
9374
9375 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
9376
dc53a7ad
JB
93772014-02-26 Joel Brobecker <brobecker@adacore.com>
9378
9379 * gdb.dwarf2/arr-stride.c: New file.
9380 * gdb.dwarf2/arr-stride.exp: New file.
9381
12ab52e9
PA
93822014-02-26 Pedro Alves <palves@redhat.com>
9383
9384 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9385 that won't ever trigger. Make sure that GDB reports the correct
9386 breakpoint that caused the stop.
9387
849c862e
JK
93882014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9389
9390 PR gdb/16626
9391 * gdb.base/auto-load-script: New file.
9392 * gdb.base/auto-load.c: New file.
9393 * gdb.base/auto-load.exp: New file.
9394
71b7d793
JK
9395 PR gdb/16626
9396 * gdb.base/auto-load.exp: Fix out-of-srctree run.
9397
e2f0d509
JK
93982014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9399
9400 Fix dw2-icycle.exp -fsanitize=address GDB crash.
9401 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
9402
50cc37c8
DE
94032014-02-24 Doug Evans <dje@google.com>
9404
9405 * lib/gdb.exp (run_on_host): Log error output if program fails.
9406
ea4758f2
PA
94072014-02-21 Pedro Alves <palves@redhat.com>
9408
9409 * gdb.threads/step-after-sr-lock.c: Rename to ...
9410 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
9411 * gdb.threads/step-after-sr-lock.exp: Rename to ...
9412 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
9413 ... this.
9414
d7b30f67
SDJ
94152014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9416
9417 PR tdep/16397
9418 * gdb.arch/amd64-stap-special-operands.exp: New file.
9419 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
9420 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
9421 * gdb.arch/amd64-stap-triplet.S: Likewise.
9422 * gdb.arch/amd64-stap-triplet.c: Likewise.
9423
83deb43f
JB
94242014-02-20 Joel Brobecker <brobecker@adacore.com>
9425
9426 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
9427 in .section pseudo-op.
9428
adde2bff
DE
94292014-02-20 lin zuojian <manjian2006@gmail.com>
9430 Joel Brobecker <brobecker@adacore.com>
9431 Doug Evans <xdje42@gmail.com>
9432
9433 PR symtab/16581
9434 * gdb.dwarf2/dw2-icycle.S: New file.
9435 * gdb.dwarf2/dw2-icycle.c: New file.
9436 * gdb.dwarf2/dw2-icycle.exp: New file.
9437
f7bd0f78
SC
94382014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9439
9440 * gdb.python/py-value-cc.cc: Improve test case to enable testing
9441 operations on gdb.Value objects.
9442 * gdb.python/py-value-cc.exp: Add new test to test operations on
9443 gdb.Value objects.
9444
c17ef0d5
DE
94452014-02-18 Doug Evans <dje@google.com>
9446
9447 * Makefile.in (TESTS): New variable.
9448 (expanded_tests, expanded_tests_or_none): New variables
9449 (check-single): Pass $(expanded_tests_or_none) to runtest.
9450 (check-parallel): Only run tests in $(TESTS) if non-empty.
9451 (check/no-matching-tests-found): New rule.
9452 * README: Document TESTS makefile variable.
9453
5dd3176f
DE
94542014-02-18 Doug Evans <dje@google.com>
9455
9456 * Makefile.in (check-parallel): rm -rf outputs temp.
9457
0b10be4f
JK
94582014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9459
9460 Fix "ERROR: no fileid for" in the testsuite.
9461 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
9462
85f224e7
DE
94632014-02-12 Doug Evans <dje@google.com>
9464
9465 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
9466 (MISCELLANEOUS): New variable.
9467 (clean): rm -rf $(MISCELLANEOUS).
9468 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
9469 dwp live in the same directory as symlinks, with each symlink pointed
9470 to a differently named file in a different directory.
9471
149b30ff
DE
94722014-02-11 Doug Evans <dje@google.com>
9473
9474 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
9475 of Tcl file commands.
9476
1dfdac32
MK
94772014-02-10 Mark Kettenis <kettenis@gnu.org>
9478
9479 * gdb.threads/step-after-sr-lock.exp: Avoid executing
9480 "kill -SIGUSR1 -1".
9481
aa4fb036
JB
94822014-02-10 Joel Brobecker <brobecker@adacore.com>
9483
9484 * gdb.ada/tick_length_array_enum_idx: New testcase.
9485
ed3ef339
DE
94862014-02-10 Doug Evans <xdje42@gmail.com>
9487
9488 * configure.ac (AC_OUTPUT): Add gdb.guile.
9489 * configure: Regenerate.
9490 * lib/gdb-guile.exp: New file.
9491 * lib/gdb.exp (get_target_charset): New function.
9492 * gdb.base/help.exp: Update expected output from "apropos apropos".
9493 * gdb.guile/Makefile.in: New file.
9494 * gdb.guile/guile.exp: New file.
9495 * gdb.guile/scm-arch.c: New file.
9496 * gdb.guile/scm-arch.exp: New file.
9497 * gdb.guile/scm-block.c: New file.
9498 * gdb.guile/scm-block.exp: New file.
9499 * gdb.guile/scm-breakpoint.c: New file.
9500 * gdb.guile/scm-breakpoint.exp: New file.
9501 * gdb.guile/scm-disasm.c: New file.
9502 * gdb.guile/scm-disasm.exp: New file.
9503 * gdb.guile/scm-equal.c: New file.
9504 * gdb.guile/scm-equal.exp: New file.
9505 * gdb.guile/scm-error.exp: New file.
9506 * gdb.guile/scm-error.scm: New file.
9507 * gdb.guile/scm-frame-args.c: New file.
9508 * gdb.guile/scm-frame-args.exp: New file.
9509 * gdb.guile/scm-frame-args.scm: New file.
9510 * gdb.guile/scm-frame-inline.c: New file.
9511 * gdb.guile/scm-frame-inline.exp: New file.
9512 * gdb.guile/scm-frame.c: New file.
9513 * gdb.guile/scm-frame.exp: New file.
9514 * gdb.guile/scm-generics.exp: New file.
9515 * gdb.guile/scm-gsmob.exp: New file.
9516 * gdb.guile/scm-iterator.c: New file.
9517 * gdb.guile/scm-iterator.exp: New file.
9518 * gdb.guile/scm-math.c: New file.
9519 * gdb.guile/scm-math.exp: New file.
9520 * gdb.guile/scm-objfile-script-gdb.in: New file.
9521 * gdb.guile/scm-objfile-script.c: New file.
9522 * gdb.guile/scm-objfile-script.exp: New file.
9523 * gdb.guile/scm-objfile.c: New file.
9524 * gdb.guile/scm-objfile.exp: New file.
9525 * gdb.guile/scm-ports.exp: New file.
9526 * gdb.guile/scm-pretty-print.c: New file.
9527 * gdb.guile/scm-pretty-print.exp: New file.
9528 * gdb.guile/scm-pretty-print.scm: New file.
9529 * gdb.guile/scm-section-script.c: New file.
9530 * gdb.guile/scm-section-script.exp: New file.
9531 * gdb.guile/scm-section-script.scm: New file.
9532 * gdb.guile/scm-symbol.c: New file.
9533 * gdb.guile/scm-symbol.exp: New file.
9534 * gdb.guile/scm-symtab-2.c: New file.
9535 * gdb.guile/scm-symtab.c: New file.
9536 * gdb.guile/scm-symtab.exp: New file.
9537 * gdb.guile/scm-type.c: New file.
9538 * gdb.guile/scm-type.exp: New file.
9539 * gdb.guile/scm-value-cc.cc: New file.
9540 * gdb.guile/scm-value-cc.exp: New file.
9541 * gdb.guile/scm-value.c: New file.
9542 * gdb.guile/scm-value.exp: New file.
9543 * gdb.guile/source2.scm: New file.
9544 * gdb.guile/types-module.cc: New file.
9545 * gdb.guile/types-module.exp: New file.
9546
7026a7c1
YQ
95472014-02-10 Yao Qi <yao@codesourcery.com>
9548
9549 PR testsuite/16543
9550 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
9551 * configure: Regenerated.
9552 * Makefile.in: New file.
9553
6c466447
AS
95542014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9555
9556 * gdb.python/py-framefilter.exp: Fix typo.
9557
6e854735
YQ
95582014-02-08 Yao Qi <yao@codesourcery.com>
9559
9560 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
9561 that no =breakpoint-modified is emitted when breakpoints are
9562 modified through MI commands.
9563
d137e6dc
PA
95642014-02-07 Pedro Alves <pedro@codesourcery.com>
9565 Pedro Alves <palves@redhat.com>
9566
9567 * gdb.threads/step-after-sr-lock.c: New file.
9568 * gdb.threads/step-after-sr-lock.exp: New file.
9569
b5ee5a50
PA
95702014-02-07 Pedro Alves <palves@redhat.com>
9571
9572 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
9573
3c77faf3
JK
95742014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9575
9576 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
9577 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
9578
6dddc817
DE
95792014-02-06 Doug Evans <xdje42@gmail.com>
9580
9581 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
9582 output.
9583
9584 * gdb.gdb/python-interrupts.exp: New file.
9585
de7b2893
YQ
95862014-02-05 Yao Qi <yao@codesourcery.com>
9587
9588 * gdb.trace/report.exp (use_collected_data): Test the output
9589 of "info threads" and "info inferiors".
9590
66d032ac
YQ
95912014-02-05 Yao Qi <yao@codesourcery.com>
9592
9593 Revert this patch:
9594
9595 2013-05-24 Yao Qi <yao@codesourcery.com>
9596
9597 * gdb.trace/tfile.exp: Test inferior and thread.
9598
591a12a1
UW
95992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9600
9601 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
9602 on a function.
9603 * gdb.base/step-bt.c: Call hello via function pointer to make
9604 sure its first instruction is executed on powerpc64le-linux.
9605
0ff3e01f
UW
96062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9607
9608 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
9609
084ee545
UW
96102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9611
9612 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
9613 of the test patterns for use on little-endian systems.
9614
6ed14ff3
UW
96152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
9616
9617 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
9618 (decimal_vector): Fix for little-endian.
9619
401e27fd
JM
96202014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9621
9622 * gdb.arch/sparc-sysstep.exp: New file.
9623 * gdb.arch/sparc-sysstep.c: Likewise.
9624
9625 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
9626
8b924729
EBM
96272014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9628
9629 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
9630
fb151210
JB
96312014-01-23 Tom Tromey <tromey@redhat.com>
9632
9633 * gdb.ada/array_char_idx: New testcase.
9634
0740f8d8
TT
96352014-01-23 Tom Tromey <tromey@redhat.com>
9636
9637 PR python/16487:
9638 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
9639 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
9640 classes.
9641
21909fa1
TT
96422014-01-23 Tom Tromey <tromey@redhat.com>
9643
9644 PR python/16491:
9645 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
9646 string from an inferior frame.
9647 * gdb.python/py-framefilter-mi.exp: Update.
9648
87ce2a04
DE
96492014-01-22 Doug Evans <dje@google.com>
9650
9651 * gdb.server/server-mon.exp: Add tests for "set debug-format".
9652
237b092b
AA
96532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9654
9655 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
9656
d674a709
AA
96572014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9658
9659 * gdb.trace/entry-values.exp: Remove excess space character from
9660 regex patterns. Handle s390 call instruction.
9661
20fa3390
AA
96622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9663
9664 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
9665 define "*_start" label. Make "name" static.
9666 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
9667 ${name} by references to ${name}_start.
9668
78466714
AA
96692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9670
9671 * gdb.base/info-macros.exp: Remove "debug" from the compile
9672 options.
9673
ec9f644a
IB
96742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9675
9676 * gdb.dlang/demangle.exp: New file.
9677
94b1b47e
IB
96782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9679
9680 * gdb.dlang/primitive-types.exp: New file.
9681
7f420862
IB
96822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9683
9684 * configure.ac: Create gdb.dlang/Makefile.
9685 * configure: Regenerate.
9686 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
9687 * gdb.dlang/Makefile.in: New file.
9688 * lib/d-support.exp: New file.
9689 * lib/gdb.exp (skip_d_tests): New proc.
9690
52834460
MM
96912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9692
9693 * gdb.btrace/delta.exp: Check reverse stepi.
9694 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
9695 * gdb.btrace/finish.exp: New.
9696 * gdb.btrace/next.exp: New.
9697 * gdb.btrace/nexti.exp: New.
9698 * gdb.btrace/record_goto.c: Add comments.
9699 * gdb.btrace/step.exp: New.
9700 * gdb.btrace/stepi.exp: New.
9701 * gdb.btrace/multi-thread-step.c: New.
9702 * gdb.btrace/multi-thread-step.exp: New.
9703 * gdb.btrace/rn-dl-bind.c: New.
9704 * gdb.btrace/rn-dl-bind.exp: New.
9705 * gdb.btrace/data.c: New.
9706 * gdb.btrace/data.exp: New.
9707 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9708
6e07b1d2
MM
97092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9710
9711 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
9712 * gdb.btrace/exception.exp: Update.
9713 * gdb.btrace/instruction_history.exp: Update.
9714 * gdb.btrace/record_goto.exp: Update.
9715 * gdb.btrace/tailcall.exp: Update.
9716 * gdb.btrace/unknown_functions.exp: Update.
9717 * gdb.btrace/delta.exp: New.
9718
0b722aec
MM
97192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9720
9721 * gdb.btrace/record_goto.exp: Add backtrace test.
9722 * gdb.btrace/tailcall.exp: Add backtrace test.
9723
066ce621
MM
97242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9725
9726 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
9727 * gdb.btrace/record_goto.c: New.
9728 * gdb.btrace/record_goto.exp: New.
9729 * gdb.btrace/x86-record_goto.S: New.
9730
0688d04e
MM
97312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9732
9733 * gdb.btrace/function_call_history.exp: Update tests.
9734 * gdb.btrace/instruction_history.exp: Update tests.
9735
8710b709
MM
97362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9737
9738 * gdb.btrace/function_call_history.exp: Fix expected field
9739 order for "record function-call-history".
9740 Add new tests for "record function-call-history /c".
9741 * gdb.btrace/exception.cc: New.
9742 * gdb.btrace/exception.exp: New.
9743 * gdb.btrace/tailcall.exp: New.
9744 * gdb.btrace/x86-tailcall.S: New.
9745 * gdb.btrace/x86-tailcall.c: New.
9746 * gdb.btrace/unknown_functions.c: New.
9747 * gdb.btrace/unknown_functions.exp: New.
9748 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
9749
5de9129b
MM
97502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9751
9752 * gdb.btrace/instruction_history.exp: Update.
9753 * gdb.btrace/function_call_history.exp: Update.
9754
23a7fe75
MM
97552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9756
9757 * gdb.btrace/function_call_history.exp: Fix expected function
9758 trace.
9759 * gdb.btrace/instruction_history.exp: Initialize traced.
9760 Remove traced_functions.
9761
724c7dd8
MM
97622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9763
9764 * gdb.btrace/function_call_history.exp: Update
9765 * gdb.btrace/instruction_history.exp: Update.
9766
6d78d93b
MM
97672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9768
9769 * gdb.btrace/enable.exp: Update expected text.
9770
93a360cc
OJ
97712014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
9772
9773 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
9774 bytes.
9775
3772b53f
MR
97762014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
9777
9778 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
9779
596662fa
OJ
97802014-01-15 Omair Javaid <omair.javaid@linaro.org>
9781
9782 * lib/gdb.exp (supports_process_record): Return true for
9783 arm*-linux*. (supports_reverse): Likewise.
9784
b5b08fb4
SC
97852014-01-13 Siva Chandra Reddy <sivachandra@google.com>
9786
9787 PR python/15464
9788 PR python/16113
9789 * gdb.python/py-type.c: Enhance test case.
9790 * gdb.python/py-value-cc.cc: Likewise
9791 * gdb.python/py-type.exp: Add new tests.
9792 * gdb.python/py-value-cc.exp: Likewise
9793
52d7fb13
AA
97942014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9795 Pedro Alves <palves@redhat.com>
9796
9797 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
9798 Make "name" extern.
9799 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
9800 references to ${name}_start by references to ${name}.
9801
a2cd8cfe
JB
98022014-01-10 Joel Brobecker <brobecker@adacore.com>
9803
9804 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
9805
4e23fced
JB
98062014-01-10 Joel Brobecker <brobecker@adacore.com>
9807
9808 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9809
c6a9e42c
PA
98102014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9811 Pedro Alves <palves@redhat.com>
9812
9813 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 9814 mi_gdb_target_load.
c6a9e42c 9815
b7ea362b
PA
98162014-01-08 Pedro Alves <palves@redhat.com>
9817
9818 * gdb.threads/reconnect-signal.c: New file.
9819 * gdb.threads/reconnect-signal.exp: New file.
9820
5e3f4fab
EBM
98212014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9822
9823 * gdb.base/source-dir.exp: New file.
9824
79301218
JB
98252014-01-07 Joel Brobecker <brobecker@adacore.com>
9826
9827 * gdb.ada/mi_interface: New testcase.
9828
8e355c5d
JB
98292014-01-07 Joel Brobecker <brobecker@adacore.com>
9830
9831 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9832 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9833 gdb.ada/pp-rec-component/pck.ads: New files.
9834
c0d48811
JB
98352014-01-07 Joel Brobecker <brobecker@adacore.com>
9836
9837 * gdb.python/py-pp-integral.c: New file.
9838 * gdb.python/py-pp-integral.py: New file.
9839 * gdb.python/py-pp-integral.exp: New file.
9840
17b609c3 9841For older changes see ChangeLog-1993-2013.
c906108c 9842\f
8d8cb839
EZ
9843;; Local Variables:
9844;; mode: change-log
9845;; left-margin: 8
9846;; fill-column: 74
9847;; version-control: never
9848;; End:
902f2ccb 9849
618f726f 9850 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
9851 Copying and distribution of this file, with or without modification,
9852 are permitted provided the copyright notice and this notice are preserved.